diff options
author | Wojtek Wasko <wwasko@nvidia.com> | 2025-03-03 18:13:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2025-03-05 12:43:54 +0000 |
commit | 76868642e42795353106197abf9c607ad80f4c9e (patch) | |
tree | 026d00dfc472150b7680404ecade3fd715c20d0a /scripts/gdb/linux/utils.py | |
parent | b4e53b15c04e3852949003752f48f7a14ae39e86 (diff) |
testptp: Add option to open PHC in readonly mode
PTP Hardware Clocks no longer require WRITE permission to perform
readonly operations, such as listing device capabilities or listening to
EXTTS events once they have been enabled by a process with WRITE
permissions.
Add '-r' option to testptp to open the PHC in readonly mode instead of
the default read-write mode. Skip enabling EXTTS if readonly mode is
requested.
Acked-by: Richard Cochran <richardcochran@gmail.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Signed-off-by: Wojtek Wasko <wwasko@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions