Hello,
please send the catalog with the minimum quantities.
I have WeChat recently, you can add my ID: kuvve3838
Pozdrawiam / Best regards
Właściciel / Owner
Baig
The .adjphase operation is an operation that is implemented only by certain
PHCs. The sysfs device attribute node for querying the maximum phase
adjustment supported should not be exposed on devices that do not support
.adjphase.
Fixes: c3b60ab7a4df ("ptp: Add .getmaxphase callback to ptp_clock_info")
Signed-off-by: Rahul Rameshbabu <rrameshbabu(a)nvidia.com>
Reported-by: Nathan Chancellor <nathan(a)kernel.org>
Reported-by: Naresh Kamboju <naresh.kamboju(a)linaro.org>
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
Link: https://lore.kernel.org/netdev/20230627162146.GA114473@dev-arch.thelio-3990…
Link: https://lore.kernel.org/all/CA+G9fYtKCZeAUTtwe69iK8Xcz1mOKQzwcy49wd+imZrfj6…
---
drivers/ptp/ptp_sysfs.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/ptp/ptp_sysfs.c b/drivers/ptp/ptp_sysfs.c
index 77219cdcd683..6e4d5456a885 100644
--- a/drivers/ptp/ptp_sysfs.c
+++ b/drivers/ptp/ptp_sysfs.c
@@ -358,6 +358,9 @@ static umode_t ptp_is_attribute_visible(struct kobject *kobj,
attr == &dev_attr_max_vclocks.attr) {
if (ptp->is_virtual_clock)
mode = 0;
+ } else if (attr == &dev_attr_max_phase_adjustment.attr) {
+ if (!info->adjphase || !info->getmaxphase)
+ mode = 0;
}
return mode;
--
2.40.1
Total jobs: 30
Total errors: 3 (10.00%)
LAVA errors: 0 (0.00%)
Test errors: 3 (10.00%)
Job errors: 0 (0.00%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 24
Total errors: 3 (12.50%)
Error type: Test
Error count: 3 (12.50%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 3 (12.50%)
IDs:
db845c-04:
6553063
db845c-05:
6553064
db845c-10:
6553072
Device type: x15
Total jobs: 6
Total errors: 0 (0.00%)