linux_dsm_epyc7002/include
Thomas Gleixner 19d0070a27 timekeeping/vsyscall: Provide vdso_update_begin/end()
Architectures can have the requirement to add additional architecture
specific data to the VDSO data page which needs to be updated independent
of the timekeeper updates.

To protect these updates vs. concurrent readers and a conflicting update
through timekeeping, provide helper functions to make such updates safe.

vdso_update_begin() takes the timekeeper_lock to protect against a
potential update from timekeeper code and increments the VDSO sequence
count to signal data inconsistency to concurrent readers. vdso_update_end()
makes the sequence count even again to signal data consistency and drops
the timekeeper lock.

[ Sven: Add interrupt disable handling to the functions ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200804150124.41692-3-svens@linux.ibm.com
2020-08-06 10:57:30 +02:00
..
acpi ACPI updates for 5.9-rc1 2020-08-03 20:37:22 -07:00
asm-generic seccomp updates for v5.9-rc1 2020-08-04 14:11:08 -07:00
clocksource pwm: omap-dmtimer: Drop unused header file 2020-03-30 18:03:06 +02:00
crypto It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00
drm * drm: fix possible use-after-free 2020-07-29 12:46:58 +10:00
dt-bindings Time, timers and related driver updates: 2020-08-04 18:17:37 -07:00
keys It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00
kunit
kvm KVM: arm64: vgic-v3: Take cpu_if pointer directly instead of vcpu 2020-05-28 11:57:10 +01:00
linux It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00
math-emu nds32: Mark expected switch fall-throughs 2019-08-29 11:06:56 -05:00
media docs: fix references for DMA*.txt files 2020-06-26 10:01:32 -06:00
memory memory: add Renesas RPC-IF driver 2020-07-01 22:45:14 +01:00
misc auxdisplay: charlcd: move charlcd.h to drivers/auxdisplay 2019-08-08 19:59:17 +02:00
net seccomp updates for v5.9-rc1 2020-08-04 14:11:08 -07:00
pcmcia
ras RAS: Use consistent types for UUIDs 2019-01-25 16:40:40 +01:00
rdma IB/rdmavt: Fix RQ counting issues causing use of an invalid RWQE 2020-07-29 15:54:36 -03:00
scsi SCSI misc on 20200605 2020-06-05 15:11:50 -07:00
soc Time, timers and related driver updates: 2020-08-04 18:17:37 -07:00
sound ASoC: Fixes for v5.8 2020-07-17 18:19:02 +02:00
target scsi: target: Rename target_setup_cmd_from_cdb() to target_cmd_parse_cdb() 2020-06-09 21:57:26 -04:00
trace ARM: SoC driver updates for v5.9 2020-08-03 19:30:59 -07:00
uapi close-range-v5.9 2020-08-04 15:12:02 -07:00
vdso timekeeping/vsyscall: Provide vdso_update_begin/end() 2020-08-06 10:57:30 +02:00
video video: Replace zero-length array with flexible-array member 2020-03-02 16:32:17 +01:00
xen xen: Move xen_setup_callback_vector() definition to include/xen/hvm.h 2020-06-11 15:15:19 +02:00