linux_dsm_epyc7002/drivers
Arnd Bergmann 44a2d56429 drm/via: use monotonic time for VIA_WAIT_IRQ
The normal DRM vblank interrupt events started using monotonic times in
commit c61eef726a ("drm: add support for monotonic vblank timestamps"),
which is useful for a number of reasons, including the possible y2038
overflow.

The VIA_WAIT_IRQ ioctl uses the same drm_wait_vblank_reply as
DRM_IOCTL_WAIT_VBLANK, but still uses wall-clock time.

This converts it to using monotonic time as well, which is more
consistent, and avoids problems with the y2038 overflow as well
as synchronization issues when the real time skips.

I could not find the matching user space that calls the VIA_WAIT_IRQ
ioctl to verify that this is safe, but it very likely is. Please
either test or review the user space side before applying this.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20171127111728.1710742-1-arnd@arndb.de
2017-11-27 17:24:52 +01:00
..
accessibility
acpi
amba
android android: binder: Fix null ptr dereference in debug msg 2017-10-21 10:14:20 +02:00
ata
atm
auxdisplay
base dma-buf/fence: Fix lock inversion within dma-fence-array 2017-11-21 22:37:05 +05:30
bcma
block nbd: handle interrupted sendmsg with a sndtimeo set 2017-10-24 18:50:59 -06:00
bluetooth
bus
cdrom
char
clk
clocksource
connector
cpufreq
cpuidle PM / QoS: Fix device resume latency PM QoS 2017-10-24 15:20:45 +02:00
crypto
dax
dca
devfreq
dio
dma
dma-buf dma-buf: Fix ifnullfree.cocci warnings 2017-11-23 16:15:13 +05:30
edac
eisa
extcon
firewire
firmware efi/libstub/arm: Don't randomize runtime regions when CONFIG_HIBERNATION=y 2017-10-25 12:10:59 +02:00
fmc
fpga
fsi
gpio
gpu drm/via: use monotonic time for VIA_WAIT_IRQ 2017-11-27 17:24:52 +01:00
hid
hsi
hv vmbus: hvsock: add proper sync for vmbus_hvsock_device_unregister() 2017-10-20 14:56:25 +02:00
hwmon hwmon: (tmp102) Fix first temperature reading 2017-10-24 06:17:14 -07:00
hwspinlock
hwtracing
i2c
ide
idle
iio
infiniband RDMA/netlink: OOPs in rdma_nl_rcv_msg() from misinterpreted flag 2017-10-25 14:54:43 -04:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2017-10-28 10:56:13 -07:00
iommu
ipack
irqchip
isdn
leds
lightnvm
macintosh
mailbox
mcb
md
media Linux 4.14-rc7 2017-11-02 12:40:41 +10:00
memory
memstick
message
mfd
misc
mmc
mtd
mux
net tap: reference to KVA of an unloaded module causes kernel panic 2017-10-28 19:17:21 +09:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-21 22:44:48 -04:00
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl
platform platform/x86: intel_pmc_ipc: Use spin_lock to protect GCR updates 2017-10-23 20:16:36 +03:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio Linux 4.14-rc7 2017-11-02 12:40:41 +10:00
ras
regulator Merge remote-tracking branches 'regulator/fix/axp20x' and 'regulator/fix/rn5t618' into regulator-linus 2017-10-23 11:46:30 +02:00
remoteproc
reset
rpmsg
rtc
s390 SCSI fixes on 20171027 2017-10-28 10:46:20 -07:00
sbus
scsi SCSI fixes on 20171027 2017-10-28 10:46:20 -07:00
sfi
sh
sn
soc
spi Merge remote-tracking branches 'spi/fix/armada', 'spi/fix/idr', 'spi/fix/qspi', 'spi/fix/stm32' and 'spi/fix/uapi' into spi-linus 2017-10-25 14:06:34 +02:00
spmi
ssb
staging Linux 4.14-rc7 2017-11-02 12:40:41 +10:00
target
tc
tee
thermal
thunderbolt
tty
uio
usb
uwb
vfio
vhost
video video/hdmi: Allow "empty" HDMI infoframes 2017-11-22 16:55:35 +02:00
virt
virtio
vlynq
vme
w1
watchdog
xen xen: fixes for 4.14-rc7 2017-10-27 20:41:05 -07:00
zorro
Kconfig
Makefile