linux-yocto/drivers
Markus Stockhausen 8cc561dd9d clocksource/drivers/timer-rtl-otto: Do not interfere with interrupts
[ Upstream commit c445bffbf2 ]

During normal operation the timers are reprogrammed including an
interrupt acknowledgement. This has no effect as the whole timer
is setup from scratch afterwards. Especially in an interrupt this
has already been done by rttm_timer_interrupt().

Change the behaviour as follows:

- Use rttm_disable_timer() during reprogramming
- Keep rttm_stop_timer() for all other use cases.

Downstream has already tested and confirmed a patch. See
https://github.com/openwrt/openwrt/pull/19468
https://forum.openwrt.org/t/support-for-rtl838x-based-managed-switches/57875/3788

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Stephen Howell <howels@allthatwemight.be>
Tested-by: Bjørn Mork <bjorn@mork.no>
Link: https://lore.kernel.org/r/20250804080328.2609287-4-markus.stockhausen@gmx.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-11-13 15:34:07 -05:00
..
accel accel/qaic: Synchronize access to DBC request queue head & tail pointer 2025-10-23 16:20:36 +02:00
accessibility
acpi ACPI: SPCR: Support Precise Baud Rate field 2025-11-13 15:34:07 -05:00
amba
android binder: remove "invalid inc weak" check 2025-10-29 14:09:00 +01:00
ata ata: libata-scsi: Return aborted command when missing sense and result TF 2025-08-28 16:31:04 +02:00
atm atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control(). 2025-09-04 15:31:47 +02:00
auxdisplay
base regmap: slimbus: fix bus_context pointer in regmap init calls 2025-11-13 15:34:00 -05:00
bcma
block nbd: override creds to kernel when calling sock_{send,recv}msg() 2025-10-29 14:08:59 +01:00
bluetooth Bluetooth: btmtksdio: Add pmctrl handling for BT closed state during reset 2025-11-13 15:33:58 -05:00
bus bus: mhi: host: Do not use uninitialized 'dev' pointer in mhi_init_irq_setup() 2025-10-19 16:33:48 +02:00
cache
cdrom
cdx cdx: Fix device node reference leak in cdx_msi_domain_init 2025-10-23 16:20:23 +02:00
char ipmi: Fix handling of messages with provided receive message pointer 2025-10-19 16:34:04 +02:00
clk clk: qcom: tcsrcc-x1e80100: Set the bi_tcxo as parent to eDP refclk 2025-10-19 16:33:48 +02:00
clocksource clocksource/drivers/timer-rtl-otto: Do not interfere with interrupts 2025-11-13 15:34:07 -05:00
comedi comedi: fix divide-by-zero in comedi_buf_munge() 2025-10-29 14:09:01 +01:00
connector
counter
cpufreq cpufreq: ondemand: Update the efficient idle check for Intel extended Families 2025-11-13 15:34:05 -05:00
cpuidle cpuidle: Fail cpuidle device registration if there is one already 2025-11-13 15:34:06 -05:00
crypto crypto: aspeed - fix double free caused by devm 2025-11-13 15:33:57 -05:00
cxl
dax
dca
devfreq PM / devfreq: rockchip-dfi: double count on RK3588 2025-10-15 11:59:59 +02:00
dio
dma dmaengine: Add missing cleanup on module unload 2025-10-23 16:20:48 +02:00
dma-buf udmabuf: fix a buf size overflow issue during udmabuf creation 2025-11-02 22:15:23 +09:00
dpll
edac EDAC/mc_sysfs: Increase legacy channel support to 16 2025-11-02 22:15:21 +09:00
eisa
extcon
firewire firewire: ohci: move self_id_complete tracepoint after validating register 2025-11-13 15:34:03 -05:00
firmware firmware: qcom: tzmem: disable sc7180 platform 2025-11-13 15:34:05 -05:00
fpga fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable() 2025-08-28 16:31:08 +02:00
fsi
gnss
gpio gpio: idio-16: Define fixed direction of the GPIO lines 2025-11-02 22:15:22 +09:00
gpu drm/sched: Fix race in drm_sched_entity_select_rq() 2025-11-13 15:34:01 -05:00
greybus
hid HID: multitouch: fix name of Stylus input devices 2025-10-23 16:20:37 +02:00
hsi
hte
hv Drivers: hv: Make the sysfs node size for the ring buffer dynamic 2025-08-01 09:48:47 +01:00
hwmon hwmon: sy7636a: add alias 2025-11-13 15:34:04 -05:00
hwspinlock
hwtracing coresight: Fix incorrect handling for return value of devm_kzalloc 2025-10-15 12:00:16 +02:00
i2c i2c: designware: Add disabling clocks when probe fails 2025-10-15 12:00:03 +02:00
i3c i3c: mipi-i3c-hci-pci: Add support for Intel Wildcat Lake-U I3C 2025-11-13 15:34:06 -05:00
idle intel_idle: Allow loading ACPI tables for any family 2025-08-20 18:30:18 +02:00
iio iio: imu: inv_icm42600: Avoid configuring if already pm_runtime suspended 2025-10-23 16:20:40 +02:00
infiniband RDMA/siw: Always report immediate post SQ errors 2025-10-15 12:00:17 +02:00
input Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak 2025-10-15 12:00:24 +02:00
interconnect interconnect: qcom: sc8180x: specify num_nodes 2025-08-15 12:13:38 +02:00
iommu iommu/vt-d: Avoid use of NULL after WARN_ON_ONCE 2025-11-02 22:15:23 +09:00
ipack
irqchip irqchip/loongson-pch-lpc: Use legacy domain for PCH-LPC IRQ controller 2025-11-13 15:34:05 -05:00
isdn mISDN: Fix memory leak in dsp_hwec_enable() 2025-09-09 18:58:08 +02:00
leds leds: leds-lp55xx: Use correct address for memory programming 2025-10-15 11:59:58 +02:00
macintosh
mailbox mailbox: mtk-cmdq: Remove pm_runtime APIs from cmdq_mbox_send_data() 2025-10-19 16:33:41 +02:00
mcb
md md: fix mssing blktrace bio split events 2025-10-23 16:20:42 +02:00
media media: nxp: imx8-isi: m2m: Fix streaming cleanup on release 2025-10-23 16:20:24 +02:00
memory memory: samsung: exynos-srom: Fix of_iomap leak in exynos_srom_probe 2025-10-19 16:33:54 +02:00
memstick memstick: Add timeout to prevent indefinite waiting 2025-11-13 15:34:02 -05:00
message
mfd mfd: kempld: Switch back to earlier ->init() behavior 2025-11-13 15:34:01 -05:00
misc misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup 2025-10-29 14:09:01 +01:00
mmc mmc: sdhci-msm: Enable tuning for SDR50 mode for SD card 2025-11-13 15:34:05 -05:00
most most: usb: hdm_probe: Fix calling put_device() before device initialization 2025-10-29 14:09:01 +01:00
mtd mtd: rawnand: fsmc: Default to autodetect buswidth 2025-10-19 16:33:53 +02:00
mux
net sfc: fix potential memory leak in efx_mae_process_mport() 2025-11-13 15:33:59 -05:00
nfc
ntb
nubus
nvdimm
nvme nvme-fc: use lock accessing port_state and rport state 2025-11-13 15:34:06 -05:00
nvmem nvmem: layouts: fix automatic module loading 2025-10-12 12:57:18 +02:00
of of: unittest: Fix device reference count leak in of_unittest_pci_node_verify 2025-10-19 16:33:51 +02:00
opp
parisc
parport
pci PCI: Test for bit underflow in pcie_set_readrq() 2025-10-29 14:08:52 +01:00
pcmcia pcmcia: omap_cf: Mark driver struct with __refdata to prevent section mismatch 2025-09-25 11:13:42 +02:00
peci
perf drivers/perf: hisi: Relax the event ID check in the framework 2025-10-29 14:08:53 +01:00
phy phy: cadence: cdns-dphy: Update calibration wait time for startup state machine 2025-10-23 16:20:46 +02:00
pinctrl pinctrl: keembay: release allocated memory in detach path 2025-11-13 15:34:04 -05:00
platform platform/x86/amd/hsmp: Ensure sock->metric_tbl_addr is non-NULL 2025-10-29 14:09:00 +01:00
pmdomain pmdomain: apple: Add "apple,t8103-pmgr-pwrstate" 2025-11-13 15:34:06 -05:00
pnp
power power: supply: qcom_battmgr: handle charging state change notifications 2025-11-13 15:34:06 -05:00
powercap powercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw() 2025-08-15 12:13:36 +02:00
pps pps: fix warning in pps_register_cdev when register device fail 2025-10-15 12:00:09 +02:00
ps3
ptp ptp: ocp: Fix typo using index 1 instead of i in SMA initialization loop 2025-10-29 14:08:55 +01:00
pwm pwm: pca9685: Use bulk write to atomicially update registers 2025-11-13 15:34:05 -05:00
rapidio
ras
regulator regulator: scmi: Use int type to store negative error codes 2025-10-15 11:59:57 +02:00
remoteproc remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable() 2025-10-15 12:00:24 +02:00
reset reset: brcmstb: Enable reset drivers for ARCH_BCM2835 2025-08-20 18:30:25 +02:00
rpmsg
rtc rtc: interface: Fix long-standing race when setting alarm 2025-10-19 16:33:54 +02:00
s390 s390/dasd: Return BLK_STS_INVAL for EINVAL from do_dasd_request 2025-10-19 16:33:57 +02:00
sbus
scsi scsi: sd: Fix build warning in sd_revalidate_disk() 2025-10-19 16:33:53 +02:00
sh
siox
slimbus
soc soc/tegra: fuse: Add Tegra114 nvmem cells and fuse lookups 2025-11-13 15:34:05 -05:00
soundwire soundwire: Move handle_nested_irq outside of sdw_dev_lock 2025-08-20 18:30:46 +02:00
spi spi: rpc-if: Add resume support for RZ/G3E 2025-11-13 15:34:07 -05:00
spmi
ssb
staging staging: axis-fifo: flush RX FIFO on read errors 2025-10-12 12:57:19 +02:00
target scsi: target: target_core_configfs: Add length check to avoid buffer overflow 2025-10-06 11:17:52 +02:00
tc
tee tee: allow a driver to allocate a tee_device without a pool 2025-11-13 15:34:06 -05:00
thermal thermal: gov_step_wise: Allow cooling level to be reduced earlier 2025-11-13 15:34:04 -05:00
thunderbolt thunderbolt: Fix copy+paste error in match_service_id() 2025-08-20 18:30:52 +02:00
tty serial: sc16is7xx: remove useless enable of enhanced features 2025-10-29 14:09:02 +01:00
ufs scsi: ufs: core: Initialize value of an attribute returned by uic cmd 2025-11-13 15:33:57 -05:00
uio uio_hv_generic: Let userspace take care of interrupt mask 2025-10-15 12:00:20 +02:00
usb usb: gadget: f_fs: Fix epfile null pointer access after ep enable. 2025-11-13 15:34:01 -05:00
vdpa vdpa: Fix IDR memory leak in VDUSE module exit 2025-08-15 12:13:58 +02:00
vfio vfio/pds: replace bitmap_free with vfree 2025-10-15 12:00:14 +02:00
vhost vhost: vringh: Modify the return value check 2025-10-15 12:00:20 +02:00
video video: backlight: lp855x_bl: Set correct EPROM start for LP8556 2025-11-13 15:34:06 -05:00
virt fix locking in efi_secret_unlink() 2025-08-20 18:30:21 +02:00
virtio virtio_ring: Fix error reporting in virtqueue_resize 2025-08-01 09:48:39 +01:00
w1
watchdog watchdog: mpc8xxx_wdt: Reload the watchdog timer when enabling the watchdog 2025-10-15 12:00:10 +02:00
xen xen/events: Update virq_to_irq on migration 2025-10-19 16:33:45 +02:00
zorro
Kconfig
Makefile