[Intel-wired-lan] [PATCH v8 12/12] ABI: pps: Add ABI documentation for Intel TIO

2024-05-13 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Document sysfs interface for Intel Timed I/O PPS driver. Signed-off-by: Lakshmi Sowjanya D --- Documentation/ABI/testing/sysfs-platform-pps-tio | 7 +++ MAINTAINERS | 1 + 2 files changed, 8 insertions(+) create mode 100644

[Intel-wired-lan] [PATCH v8 10/12] pps: generators: Add PPS Generator TIO Driver

2024-05-13 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The Intel Timed IO PPS generator driver outputs a PPS signal using dedicated hardware that is more accurate than software actuated PPS. The Timed IO hardware generates output events using the ART timer. The ART timer period varies based on platform type, but is less than

[Intel-wired-lan] [PATCH v8 11/12] Documentation: driver-api: pps: Add Intel Timed I/O PPS generator

2024-05-13 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add Intel Timed I/O PPS usage instructions. Co-developed-by: Pandith N Signed-off-by: Pandith N Signed-off-by: Lakshmi Sowjanya D Reviewed-by: Andy Shevchenko Acked-by: Rodolfo Giometti --- Documentation/driver-api/pps.rst | 22 ++ 1 file

[Intel-wired-lan] [PATCH v8 09/12] timekeeping: Add function to convert realtime to base clock

2024-05-13 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D PPS (Pulse Per Second) generates a hardware pulse every second based on CLOCK_REALTIME. This works fine when the pulse is generated in software from a hrtimer callback function. For hardware which generates the pulse by programming a timer it's required to convert

[Intel-wired-lan] [PATCH v8 08/12] x86/tsc: Remove art to tsc conversion functions which are obsolete

2024-05-13 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The convert_art_to_tsc() and convert_art_ns_to_tsc() interfaces are no longer required. This conversion is internally done in get_device_system_crosststamp() using convert_base_to_cs(). Signed-off-by: Lakshmi Sowjanya D --- arch/x86/include/asm/tsc.h | 3 -- arch/x86

[Intel-wired-lan] [PATCH v8 07/12] ice/ptp: remove convert_art_to_tsc()

2024-05-13 Thread lakshmi . sowjanya . d
. Replace the direct conversion via convert_art_to_tsc() by filling in the required data. No functional change intended. Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/ice/ice_ptp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[Intel-wired-lan] [PATCH v8 06/12] ALSA: hda: remove convert_art_to_tsc()

2024-05-13 Thread lakshmi . sowjanya . d
. Replace the direct conversion via convert_art_to_tsc() by filling in the required data. No functional change intended. Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- sound/pci/hda/hda_controller.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound

[Intel-wired-lan] [PATCH v8 05/12] stmmac: intel: remove convert_art_to_tsc()

2024-05-13 Thread lakshmi . sowjanya . d
. Replace the direct conversion via convert_art_to_tsc() by filling in the required data. No functional change intended. Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[Intel-wired-lan] [PATCH v8 04/12] igc: remove convert_art_ns_to_tsc()

2024-05-13 Thread lakshmi . sowjanya . d
. Replace the direct conversion via convert_art_ns_to_tsc() by filling in the required data. No functional change intended. Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/igc/igc_ptp.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[Intel-wired-lan] [PATCH v8 03/12] e1000e: remove convert_art_to_tsc()

2024-05-13 Thread lakshmi . sowjanya . d
via convert_art_to_tsc() by filling in the required data. No functional change intended. Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/e1000e/ptp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel

[Intel-wired-lan] [PATCH v8 02/12] x86/tsc: Update tsc/art values in the base clock structure

2024-05-13 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add clocksource ID for x86 ART (Always Running Timer). The newly added clocksource ID and conversion parameters are used to convert time in a clocksource domain to base clock and vice versa. Earlier code used architecture specific macros for the conversion, now core

[Intel-wired-lan] [PATCH v8 01/12] timekeeping: Add base clock properties in clocksource structure

2024-05-13 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add base clock hardware abstraction in clocksource structure. Provide generic functionality in convert_base_to_cs() to convert base clock timestamps to system clocksource without requiring architecture specific parameters. This is intended to replace convert_art_to_tsc

[Intel-wired-lan] [PATCH v8 00/12] Add support for Intel PPS Generator

2024-05-13 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The goal of the PPS (Pulse Per Second) hardware/software is to generate a signal from the system on a wire so that some third-party hardware can observe that signal and judge how close the system's time is to another system or piece of hardware. Existing methods (like

[Intel-wired-lan] [PATCH v7 12/12] ABI: pps: Add ABI documentation for Intel TIO

2024-04-30 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Document sysfs interface for Intel Timed I/O PPS driver. Signed-off-by: Lakshmi Sowjanya D --- Documentation/ABI/testing/sysfs-platform-pps-tio | 7 +++ MAINTAINERS | 1 + 2 files changed, 8 insertions(+) create mode 100644

[Intel-wired-lan] [PATCH v7 11/12] Documentation: driver-api: pps: Add Intel Timed I/O PPS generator

2024-04-30 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add Intel Timed I/O PPS usage instructions. Co-developed-by: Pandith N Signed-off-by: Pandith N Signed-off-by: Lakshmi Sowjanya D Reviewed-by: Andy Shevchenko Acked-by: Rodolfo Giometti --- Documentation/driver-api/pps.rst | 22 ++ 1 file

[Intel-wired-lan] [PATCH v7 10/12] pps: generators: Add PPS Generator TIO Driver

2024-04-30 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The Intel Timed IO PPS generator driver outputs a PPS signal using dedicated hardware that is more accurate than software actuated PPS. The Timed IO hardware generates output events using the ART timer. The ART timer period varies based on platform type, but is less than

[Intel-wired-lan] [PATCH v7 09/12] timekeeping: Add function to convert realtime to base clock

2024-04-30 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D PPS (Pulse Per Second) generates a hardware pulse every second based on CLOCK_REALTIME. This works fine when the pulse is generated in software from a hrtimer callback function. For hardware which generates the pulse by programming a timer it's required to convert

[Intel-wired-lan] [PATCH v7 08/12] x86/tsc: Remove art to tsc conversion functions which are obsolete

2024-04-30 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The convert_art_to_tsc() and convert_art_ns_to_tsc() interfaces are no longer required. This conversion is internally done in get_device_system_crosststamp() using convert_base_to_cs(). Signed-off-by: Lakshmi Sowjanya D --- arch/x86/include/asm/tsc.h | 3 -- arch/x86

[Intel-wired-lan] [PATCH v7 07/12] ice/ptp: remove convert_art_to_tsc()

2024-04-30 Thread lakshmi . sowjanya . d
. Replace the direct conversion via convert_art_to_tsc() by filling in the required data. No functional change intended. Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/ice/ice_ptp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[Intel-wired-lan] [PATCH v7 06/12] ALSA: hda: remove convert_art_to_tsc()

2024-04-30 Thread lakshmi . sowjanya . d
. Replace the direct conversion via convert_art_to_tsc() by filling in the required data. No functional change intended. Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- sound/pci/hda/hda_controller.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound

[Intel-wired-lan] [PATCH v7 05/12] stmmac: intel: remove convert_art_to_tsc()

2024-04-30 Thread lakshmi . sowjanya . d
. Replace the direct conversion via convert_art_to_tsc() by filling in the required data. No functional change intended. Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[Intel-wired-lan] [PATCH v7 04/12] igc: remove convert_art_ns_to_tsc()

2024-04-30 Thread lakshmi . sowjanya . d
. Replace the direct conversion via convert_art_ns_to_tsc() by filling in the required data. No functional change intended. Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/igc/igc_ptp.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[Intel-wired-lan] [PATCH v7 03/12] e1000e: remove convert_art_to_tsc()

2024-04-30 Thread lakshmi . sowjanya . d
via convert_art_to_tsc() by filling in the required data. No functional change intended. Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/e1000e/ptp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel

[Intel-wired-lan] [PATCH v7 02/12] x86/tsc: Update tsc/art values in the base clock structure

2024-04-30 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add clocksource ID for x86 ART (Always Running Timer). The newly added clocksource ID and conversion parameters are used to convert time in a clocksource domain to base clock and vice versa. Earlier code used architecture specific macros for the conversion, now core

[Intel-wired-lan] [PATCH v7 01/12] timekeeping: Add base clock properties in clocksource structure

2024-04-30 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add base clock hardware abstraction in clocksource structure. Provide generic functionality in convert_base_to_cs() to convert base clock timestamps to system clocksource without requiring architecture specific parameters. This is intended to replace convert_art_to_tsc

[Intel-wired-lan] [PATCH v7 00/12] Add support for Intel PPS Generator

2024-04-30 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The goal of the PPS (Pulse Per Second) hardware/software is to generate a signal from the system on a wire so that some third-party hardware can observe that signal and judge how close the system's time is to another system or piece of hardware. Existing methods (like

[Intel-wired-lan] [PATCH v6 11/11] ABI: pps: Add ABI documentation for Intel TIO

2024-04-10 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Document sysfs interface for Intel Timed I/O PPS driver. Signed-off-by: Lakshmi Sowjanya D --- Documentation/ABI/testing/sysfs-platform-pps-tio | 7 +++ MAINTAINERS | 1 + 2 files changed, 8 insertions(+) create mode 100644

[Intel-wired-lan] [PATCH v6 10/11] Documentation: driver-api: pps: Add Intel Timed I/O PPS generator

2024-04-10 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add Intel Timed I/O PPS usage instructions. Co-developed-by: Pandith N Signed-off-by: Pandith N Signed-off-by: Lakshmi Sowjanya D Reviewed-by: Andy Shevchenko Acked-by: Rodolfo Giometti --- Documentation/driver-api/pps.rst | 22 ++ 1 file

[Intel-wired-lan] [PATCH v6 09/11] pps: generators: Add PPS Generator TIO Driver

2024-04-10 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The Intel Timed IO PPS generator driver outputs a PPS signal using dedicated hardware that is more accurate than software actuated PPS. The Timed IO hardware generates output events using the ART timer. The ART timer period varies based on platform type, but is less than

[Intel-wired-lan] [PATCH v6 08/11] timekeeping: Add function to convert realtime to base clock

2024-04-10 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D PPS(Pulse Per Second) generates signals in realtime, but Timed IO hardware understands time in base clock reference. Add an interface, ktime_real_to_base_clock() to convert realtime to base clock. Add the helper function timekeeping_clocksource_has_base(), to check

[Intel-wired-lan] [PATCH v6 07/11] x86/tsc: Remove art to tsc conversion functions which are obsolete

2024-04-10 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The convert_art_to_tsc() and convert_art_ns_to_tsc() interfaces are no longer required. This conversion is internally done in get_device_system_crosststamp() using convert_base_to_cs(). Signed-off-by: Lakshmi Sowjanya D --- arch/x86/include/asm/tsc.h | 3 -- arch/x86

[Intel-wired-lan] [PATCH v6 06/11] ice/ptp: remove convert_art_to_tsc()

2024-04-10 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/ice/ice_ptp.c | 3 ++- 1 file changed, 2

[Intel-wired-lan] [PATCH v6 05/11] ALSA: hda: remove convert_art_to_tsc()

2024-04-10 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- sound/pci/hda/hda_controller.c | 3 ++- 1 file changed, 2 insertions

[Intel-wired-lan] [PATCH v6 04/11] stmmac: intel: remove convert_art_to_tsc()

2024-04-10 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 3 ++- 1 file

[Intel-wired-lan] [PATCH v6 03/11] igc: remove convert_art_to_tsc()

2024-04-10 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/igc/igc_ptp.c | 6 +- 1 file changed

[Intel-wired-lan] [PATCH v6 02/11] e1000e: remove convert_art_to_tsc()

2024-04-10 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/e1000e/ptp.c | 3 ++- 1 file changed, 2

[Intel-wired-lan] [PATCH v6 00/11] Add support for Intel PPS Generator

2024-04-10 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The goal of the PPS (Pulse Per Second) hardware/software is to generate a signal from the system on a wire so that some third-party hardware can observe that signal and judge how close the system's time is to another system or piece of hardware. Existing methods (like

[Intel-wired-lan] [PATCH v6 01/11] x86/tsc: Add base clock properties in clocksource structure

2024-04-10 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add base clock hardware abstraction in clocksource structure. Add clocksource ID for x86 ART(Always Running Timer). The newly added clocksource ID and conversion parameters are used to convert time in a clocksource domain to base clock and vice versa. Convert the base

[Intel-wired-lan] [PATCH v5 11/11] ABI: pps: Add ABI documentation for Intel TIO

2024-03-19 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Document sysfs interface for Intel Timed I/O PPS driver. Signed-off-by: Lakshmi Sowjanya D --- Documentation/ABI/testing/sysfs-platform-pps-tio | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-platform-pps-tio diff

[Intel-wired-lan] [PATCH v5 10/11] Documentation: driver-api: pps: Add Intel Timed I/O PPS generator

2024-03-19 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add Intel Timed I/O PPS usage instructions. Co-developed-by: Pandith N Signed-off-by: Pandith N Signed-off-by: Lakshmi Sowjanya D Reviewed-by: Andy Shevchenko --- Documentation/driver-api/pps.rst | 22 ++ 1 file changed, 22 insertions(+) diff

[Intel-wired-lan] [PATCH v5 09/11] pps: generators: Add PPS Generator TIO Driver

2024-03-19 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The Intel Timed IO PPS generator driver outputs a PPS signal using dedicated hardware that is more accurate than software actuated PPS. The Timed IO hardware generates output events using the ART timer. The ART timer period varies based on platform type, but is less than

[Intel-wired-lan] [PATCH v5 08/11] x86/tsc: Remove art to tsc conversion functions which are obsolete

2024-03-19 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The convert_art_to_tsc() and convert_art_ns_to_tsc() interfaces are no longer required. This conversion is internally done in get_device_system_crosststamp() using convert_base_to_cs(). Signed-off-by: Lakshmi Sowjanya D --- arch/x86/include/asm/tsc.h | 3 -- arch/x86

[Intel-wired-lan] [PATCH v5 07/11] ice/ptp: remove convert_art_to_tsc()

2024-03-19 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/ice/ice_ptp.c | 3 ++- 1 file changed, 2

[Intel-wired-lan] [PATCH v5 06/11] ALSA: hda: remove convert_art_to_tsc()

2024-03-19 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- sound/pci/hda/hda_controller.c | 3 ++- 1 file changed, 2 insertions

[Intel-wired-lan] [PATCH v5 05/11] stmmac: intel: remove convert_art_to_tsc()

2024-03-19 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 3 ++- 1 file

[Intel-wired-lan] [PATCH v5 04/11] igc: remove convert_art_to_tsc()

2024-03-19 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/igc/igc_ptp.c | 6 +- 1 file changed

[Intel-wired-lan] [PATCH v5 03/11] e1000e: remove convert_art_to_tsc()

2024-03-19 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/e1000e/ptp.c | 3 ++- 1 file changed, 2

[Intel-wired-lan] [PATCH v5 02/11] timekeeping: Add function to convert realtime to base clock

2024-03-19 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D PPS(Pulse Per Second) generates signals in realtime, but Timed IO hardware understands time in base clock reference. Add an interface, ktime_real_to_base_clock() to convert realtime to base clock. Convert the base clock to the system clock using convert_base_to_cs

[Intel-wired-lan] [PATCH v5 01/11] x86/tsc: Add base clock properties in clocksource structure

2024-03-19 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add base clock hardware abstraction in clocksource structure. Add clocksource ID for x86 ART(Always Running Timer). Co-developed-by: Thomas Gleixner Signed-off-by: Thomas Gleixner Co-developed-by: Christopher S. Hall Signed-off-by: Christopher S. Hall Signed-off

[Intel-wired-lan] [PATCH v5 00/11] Add support for Intel PPS Generator

2024-03-19 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The goal of the PPS(Pulse Per Second) hardware/software is to generate a signal from the system on a wire so that some third-party hardware can observe that signal and judge how close the system's time is to another system or piece of hardware. Existing methods (like

[Intel-wired-lan] [PATCH v4 11/11] ABI: pps: Add ABI documentation for Intel TIO

2024-02-06 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Document sysfs interface for Intel Timed I/O PPS driver. Signed-off-by: Lakshmi Sowjanya D --- Documentation/ABI/testing/sysfs-platform-pps-tio | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-platform-pps-tio diff

[Intel-wired-lan] [PATCH v4 10/11] Documentation: driver-api: pps: Add Intel Timed I/O PPS generator

2024-02-06 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add Intel Timed I/O PPS usage instructions. Co-developed-by: Pandith N Signed-off-by: Pandith N Signed-off-by: Lakshmi Sowjanya D Reviewed-by: Andy Shevchenko --- Documentation/driver-api/pps.rst | 22 ++ 1 file changed, 22 insertions(+) diff

[Intel-wired-lan] [PATCH v4 09/11] pps: generators: Add PPS Generator TIO Driver

2024-02-06 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The Intel Timed IO PPS generator driver outputs a PPS signal using dedicated hardware that is more accurate than software actuated PPS. The Timed IO hardware generates output events using the ART timer. The ART timer period varies based on platform type, but is less than

[Intel-wired-lan] [PATCH v4 08/11] x86/tsc: Remove art to tsc conversion functions which are obsolete

2024-02-06 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The convert_art_to_tsc() and convert_art_ns_to_tsc() interfaces are no longer required. This conversion is internally done in get_device_system_crosststamp() using convert_base_to_cs(). Signed-off-by: Lakshmi Sowjanya D --- arch/x86/include/asm/tsc.h | 3 -- arch/x86

[Intel-wired-lan] [PATCH v4 07/11] ice/ptp: remove convert_art_to_tsc()

2024-02-06 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/ice/ice_ptp.c | 2 +- 1 file changed, 1

[Intel-wired-lan] [PATCH v4 06/11] ALSA: hda: remove convert_art_to_tsc()

2024-02-06 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- sound/pci/hda/hda_controller.c | 3 ++- 1 file changed, 2 insertions

[Intel-wired-lan] [PATCH v4 05/11] stmmac: intel: remove convert_art_to_tsc()

2024-02-06 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 3 ++- 1 file

[Intel-wired-lan] [PATCH v4 04/11] igc: remove convert_art_to_tsc()

2024-02-06 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/igc/igc_ptp.c | 6 +- 1 file changed

[Intel-wired-lan] [PATCH v4 03/11] e10002: remove convert_art_to_tsc()

2024-02-06 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/e1000e/ptp.c | 3 ++- 1 file changed, 2

[Intel-wired-lan] [PATCH v4 02/11] timekeeping: Add function to convert realtime to base clock

2024-02-06 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Introduce an interface, ktime_real_to_base_clock() to convert realtime to base clock. Convert the base clock to the system clock using convert_base_to_cs() in get_device_system_crosststamp(). Add the helper function timekeeping_clocksource_has_base(), to check whether

[Intel-wired-lan] [PATCH v4 01/11] x86/tsc: Add base clock properties in clocksource structure

2024-02-06 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add base clock hardware abstraction in clocksource structure. Add clocksource ID for x86 ART(Always Running Timer). Co-developed-by: Thomas Gleixner Signed-off-by: Thomas Gleixner Co-developed-by: Christopher S. Hall Signed-off-by: Christopher S. Hall Signed-off

[Intel-wired-lan] [PATCH v4 00/11] Add support for Intel PPS Generator

2024-02-06 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The goal of the PPS(Pulse Per Second) hardware/software is to generate a signal from the system on a wire so that some third-party hardware can observe that signal and judge how close the system's time is to another system or piece of hardware. Existing methods (like

[Intel-wired-lan] [RFC PATCH v3 11/11] ABI: pps: Add ABI documentation for Intel TIO

2024-01-03 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Document sysfs interface for Intel Timed I/O PPS driver Signed-off-by: Lakshmi Sowjanya D --- Documentation/ABI/testing/sysfs-platform-pps-tio | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-platform-pps-tio diff --git

[Intel-wired-lan] [RFC PATCH v3 10/11] Documentation: driver-api: pps: Add Intel Timed I/O PPS generator

2024-01-03 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add Intel Timed I/O PPS usage instructions. Co-developed-by: Pandith N Signed-off-by: Pandith N Signed-off-by: Lakshmi Sowjanya D Reviewed-by: Andy Shevchenko --- Documentation/driver-api/pps.rst | 22 ++ 1 file changed, 22 insertions(+) diff

[Intel-wired-lan] [RFC PATCH v3 09/11] pps: generators: Add PPS Generator TIO Driver

2024-01-03 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The Intel Timed IO PPS generator driver outputs a PPS signal using dedicated hardware that is more accurate than software actuated PPS. The Timed IO hardware generates output events using the ART timer. The ART timer period varies based on platform type, but is less than

[Intel-wired-lan] [RFC PATCH v3 08/11] x86/tsc: Remove art to tsc conversion functions which are obsolete

2024-01-03 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The convert_art_to_tsc() and convert_art_ns_to_tsc() interfaces are no longer required. This conversion is internally done in get_device_system_crosststamp() using convert_base_to_cs(). Signed-off-by: Lakshmi Sowjanya D --- arch/x86/include/asm/tsc.h | 3 -- arch/x86

[Intel-wired-lan] [RFC PATCH v3 07/11] ice/ptp: remove convert_art_to_tsc()

2024-01-03 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/ice/ice_ptp.c | 2 +- 1 file changed, 1

[Intel-wired-lan] [RFC PATCH v3 06/11] ALSA: hda: remove convert_art_to_tsc()

2024-01-03 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- sound/pci/hda/hda_controller.c | 3 ++- 1 file changed, 2 insertions

[Intel-wired-lan] [RFC PATCH v3 03/11] e10002: remove convert_art_to_tsc()

2024-01-03 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/e1000e/ptp.c | 3 ++- 1 file changed, 2

[Intel-wired-lan] [RFC PATCH v3 05/11] stmmac: intel: remove convert_art_to_tsc()

2024-01-03 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 3 ++- 1 file

[Intel-wired-lan] [RFC PATCH v3 02/11] timekeeping: Add function to convert realtime to base clock

2024-01-03 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Introduce an interface ktime_real_to_base_clock(), to convert realtime to base clock. Convert base clock to system clock using convert_base_to_cs() in get_device_system_crosststamp(). Add a helper function to check whether the current clocksource has same base clock

[Intel-wired-lan] [RFC PATCH v3 04/11] igc: remove convert_art_to_tsc()

2024-01-03 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/igc/igc_ptp.c | 6 +- 1 file changed

[Intel-wired-lan] [RFC PATCH v3 01/11] x86/tsc: Add base clock properties in clocksource structure

2024-01-03 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add hardware abstraction, struct clocksource_base in clocksource. Add clocksource ID for x86 ART(Always Running Timer). Co-developed-by: Thomas Gleixner Signed-off-by: Thomas Gleixner Co-developed-by: Christopher S. Hall Signed-off-by: Christopher S. Hall Signed

[Intel-wired-lan] [RFC PATCH v3 00/11] Add support for Intel PPS Generator

2024-01-03 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The goal of the PPS(Pulse Per Second) hardware/software is to generate a signal from the system on a wire so that some third-party hardware can observe that signal and judge how close the system's time is to another system or piece of hardware. Existing methods (like

[Intel-wired-lan] [RFC PATCH v2 10/10] ABI: pps: Add ABI documentation for Intel TIO

2023-12-21 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Document sysfs interface for Intel Timed I/O PPS driver Signed-off-by: Lakshmi Sowjanya D --- Documentation/ABI/testing/sysfs-platform-pps-tio | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-platform-pps-tio diff --git

[Intel-wired-lan] [RFC PATCH v2 09/10] Documentation: driver-api: pps: Add Intel Timed I/O PPS generator

2023-12-21 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Add Intel Timed I/O PPS usage instructions. Co-developed-by: Pandith N Signed-off-by: Pandith N Signed-off-by: Lakshmi Sowjanya D Reviewed-by: Andy Shevchenko --- Documentation/driver-api/pps.rst | 22 ++ 1 file changed, 22 insertions(+) diff

[Intel-wired-lan] [RFC PATCH v2 08/10] pps: generators: Add PPS Generator TIO Driver

2023-12-21 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The Intel Timed IO PPS generator driver outputs a PPS signal using dedicated hardware that is more accurate than software actuated PPS. The Timed IO hardware generates output events using the ART timer. The ART timer period varies based on platform type, but is less than

[Intel-wired-lan] [RFC PATCH v2 07/10] ice/ptp: remove convert_art_to_tsc()

2023-12-21 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/ice/ice_ptp.c | 2 +- 1 file changed, 1

[Intel-wired-lan] [RFC PATCH v2 06/10] ALSA: hda: remove convert_art_to_tsc()

2023-12-21 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- sound/pci/hda/hda_controller.c | 3 ++- 1 file changed, 2 insertions

[Intel-wired-lan] [RFC PATCH v2 05/10] stmmac: intel: remove convert_art_to_tsc()

2023-12-21 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 3 ++- 1 file

[Intel-wired-lan] [RFC PATCH v2 04/10] igc: remove convert_art_to_tsc()

2023-12-21 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/igc/igc_ptp.c | 6 +- 1 file changed

[Intel-wired-lan] [RFC PATCH v2 03/10] e10002: remove convert_art_to_tsc()

2023-12-21 Thread lakshmi . sowjanya . d
From: Thomas Gleixner Remove convert_art_to_tsc() function call, Pass system clock cycles and clocksource ID as input to get_device_system_crosststamp(). Signed-off-by: Thomas Gleixner Signed-off-by: Lakshmi Sowjanya D --- drivers/net/ethernet/intel/e1000e/ptp.c | 3 ++- 1 file changed, 2

[Intel-wired-lan] [RFC PATCH v2 02/10] timekeeping: Add function to convert realtime to base clock

2023-12-21 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Introduce an interface ktime_real_to_base_clock(), to convert realtime to base clock. Convert base clock to system clock using convert_base_to_cs() in get_device_system_crosststamp(). Add a helper function to check whether the current clocksource has same base clock

[Intel-wired-lan] [RFC PATCH v2 00/10] Add support for Intel PPS Generator

2023-12-21 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D The goal of the PPS(Pulse Per Second) hardware/software is to generate a signal from the system on a wire so that some third-party hardware can observe that signal and judge how close the system's time is to another system or piece of hardware. Existing methods (like

[Intel-wired-lan] [RFC PATCH v2 01/10] x86/tsc: Add base clock properties in clocksource structure

2023-12-21 Thread lakshmi . sowjanya . d
From: Lakshmi Sowjanya D Remove convert_art_to_tsc() and convert_art_ns_to_tsc(), as this patch series introduces a generic function ktime_real_to_base_clock() to convert realtime to base clock domain. Add hardware abstraction, struct clocksource_base in clocksource. Add clocksource ID for x86