summaryrefslogtreecommitdiff
path: root/drivers/soundwire
diff options
context:
space:
mode:
authorPeter Hilber <peter.hilber@opensynergy.com>2024-02-01 04:04:48 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-02-07 19:05:21 +0300
commita2c1fe72062a5dd69de4dfe892f6436d6c0479dd (patch)
tree4a6f1f7136f96a078e23b881cba855e901b828d2 /drivers/soundwire
parent93630d6df7507fa4e664110b1878c06a0c00b0b9 (diff)
downloadlinux-a2c1fe72062a5dd69de4dfe892f6436d6c0479dd.tar.xz
x86/tsc: Add clocksource ID, set system_counterval_t.cs_id
Add a clocksource ID for TSC and a distinct one for the early TSC. Use distinct IDs for TSC and early TSC, since those also have distinct clocksource structs. This should help to keep existing semantics when comparing clocksources. Also, set the recently added struct system_counterval_t member cs_id to the TSC ID in the cases where the clocksource member is being set to the TSC clocksource. In the future, get_device_system_crosststamp() will compare the clocksource ID in struct system_counterval_t, rather than the clocksource. For the x86 ART related code, system_counterval_t.cs == NULL corresponds to system_counterval_t.cs_id == CSID_GENERIC (0). Signed-off-by: Peter Hilber <peter.hilber@opensynergy.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20240201010453.2212371-4-peter.hilber@opensynergy.com
Diffstat (limited to 'drivers/soundwire')
0 files changed, 0 insertions, 0 deletions