summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-04-04ipaq sleeve updatessa1100Russell King
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04updateRussell King
2025-04-04asoc: sa11x0/h3xxx: add audio supportRussell King
Add support for the UDA1341 on the iPAQ H3600 and H3100 devices. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04h3600 audio gpiosRussell King
2025-04-04clk: add iPAQ audio sysclock driverRussell King
Add clock driver for iPAQ audio sysclock. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04net: 3c589_cs: convert to NAPIRussell King
Convert the 3c589_cs driver to NAPI to ease the interrupt workload. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04pcmcia: convert sa1100_h3600 to support dual-slot sleeve onlyRussell King
2025-04-04ARM: sa1100/h3xxx: sleeve supportRussell King
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04module: add iPAQ sleeve device table and module alias supportRussell King
Add support for iPAQ sleeve device table and module alias support, so that sleeve drivers can be automatically modprobed into the kernel at run time. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04h3xxx: add socket0Russell King
2025-04-04mfd: ipaq-micro: allow SPI reads to workRussell King
2025-04-04add sa11x0 uart clocksRussell King
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04ARM: sa1111: use parent clock rateRussell King
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04ARM: sa1100/assabet: remove PWER initialisationRussell King
Remove the explicit PWER initialisation: gpio-keys already enables wake-up for its keys, and so this setting is redundant. In any case, the conversion of the SA1100 GPIOs to gpiolib has made this setting ineffectual. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04ARM: sa1100/h3xxx: convert to xcvr-enableRussell King
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04ARM: sa1100/assabet: convert to xcvr-enableRussell King
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04ARM: sa1100: const-ify struct sa1100_port_fnsRussell King
Constify the sa1100_port_fns structures in all boards. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04serial: sa1100: constify struct sa1100_port_fnsRussell King
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04serial: sa1100: add support for transceiver enable GPIORussell King
Add support for a transceiver enable GPIO signal, which allows the external RS232 transceiver on several platforms to be force-enabled or force-disabled according to the system state and the hardware capabilities. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04tty: serial: sa1100: fix iPAQ serial port wakeupRussell King
The iPAQ H3xxx platforms used to wake up on DCD or DSR transitions. However, at some point this got broken and fails to work today. Fix this by using the newly added modem control gpio layer's wakeup controls. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04tty: serial_mctrl_gpio: add wakeup support for serial control gpiosRussell King
Allow serial control GPIOs to be used as a wakeup source for the system. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-043c589_cs 16-bit pcmcia fixRussell King
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04ARM: sa1100/assabet: switch to using gpiod APIs for LCD controlRussell King
Switch to using gpiod APIs for controlling the LCD depth and power. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04asoc: sa11x0/assabet: use gpiod APIs for some gpiosRussell King
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04asoc: uda134x: add support for UDA134x QMUTE via gpiolibRussell King
Add support for the UDA134x QMUTE signal via the gpiolib layer. We assert QMUTE when powering up the device, keeping it muted until we are starting up the playback stream. The reverse happens when the playback stream is shut down. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04Revert "ASoC: Delete UDA134x/L3 audio codec"Russell King (Oracle)
This reverts commit 6dd11b945951315ba4986844f20e83a0c27c1d38.
2025-04-04assabet fix/hackRussell King
2025-04-04assabet hackRussell King
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04ARM: sa1100: switch to accurate MPLL calculationRussell King
Switch SA1100 to the more accurate MPLL calculation. Table 8-1 in the SA1110 developers manual gives two sets of frequencies for two different crystals - 3.6864MHz and 3.5795MHz. Calculating the multiplication factor for each entry in the table shows that the clock rates given are are equal to the crystal frequency multiplied by 4(4 + PPCR), rounded to 100kHz. This equation holds for the higher frequencies up to 280.2MHz which have been omitted from the later manuals. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2025-04-04Merge branches 'sa1100-for-next' and 'unstable/sa11x0-asoc' into sa1100Russell King (Oracle)
2025-04-04ALSA: ASoC: convert sa11x0 assabet driver to use generic ASoC dmaengine backendRussell King
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2025-04-04ALSA: ASoC: convert sa11x0 ssp driver to generic ASoC dmaengine supportRussell King
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2025-04-04ALSA: ASoC: add SA-11x0 Assabet platform supportRussell King
Add the support code for the UDA1341 on the Assabet platform, which uses the DMA engine and SA-11x0 SSP drivers. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2025-04-04ALSA: ASoC: add SA-11x0 SSP cpu_dai driverRussell King
Add a SA11x0 SSP SoC audio interface driver, which contains the SoC specifics for handing audio data via the SSP interface. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2025-04-04ALSA: ASoC: add generic slave and cyclic DMA engine supportRussell King
Add a generic DMA engine platform driver to ASoC. This allows a range of DMA engines to be used to transfer data to a CPUs audio interface without having to rewrite this code many times. This driver supports both DMA_SLAVE and DMA_CYCLIC channels, preferring DMA_CYCLIC channels over DMA_SLAVE channels. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2025-04-04ALSA: ASoC: fix generic dmaengine channel requestingRussell King
The ASoC generic dmaengine support takes a filter data parameter via struct snd_dmaengine_dai_dma_data. However, rather than passing the filter data to the DMA engine request function, it passed the struct snd_dmaengine_dai_dma_data itself. Fix this. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2025-03-24Linux 6.14Linus Torvalds
2025-03-22Merge tag 'i2c-for-6.14-rc8' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux Pull i2c fix from Wolfram Sang: "Fix double free of irq in amd-mp2 driver" * tag 'i2c-for-6.14-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: amd-mp2: drop free_irq() of devm_request_irq() allocated irq
2025-03-22Merge tag 'perf-urgent-2025-03-22' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull x86 perf events fix from Ingo Molnar: "Fix an information leak regression in the AMD IBS PMU code" * tag 'perf-urgent-2025-03-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf/amd/ibs: Prevent leaking sensitive data to userspace
2025-03-22Merge tag 'keys-next-6.14-rc8' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd Pull keys fix from Jarkko Sakkinen: "Fix potential use-after-free in key_put()" * tag 'keys-next-6.14-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd: keys: Fix UAF in key_put()
2025-03-22Merge tag 'io_uring-6.14-20250322' of git://git.kernel.dk/linuxLinus Torvalds
Pull io_uring fix from Jens Axboe: "Just a single fix for the commit that went into your tree yesterday, which exposed an issue with not always clearing notifications. That could cause them to be used more than once" * tag 'io_uring-6.14-20250322' of git://git.kernel.dk/linux: io_uring/net: fix sendzc double notif flush
2025-03-22io_uring/net: fix sendzc double notif flushPavel Begunkov
refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 5823 at lib/refcount.c:28 refcount_warn_saturate+0x15a/0x1d0 lib/refcount.c:28 RIP: 0010:refcount_warn_saturate+0x15a/0x1d0 lib/refcount.c:28 Call Trace: <TASK> io_notif_flush io_uring/notif.h:40 [inline] io_send_zc_cleanup+0x121/0x170 io_uring/net.c:1222 io_clean_op+0x58c/0x9a0 io_uring/io_uring.c:406 io_free_batch_list io_uring/io_uring.c:1429 [inline] __io_submit_flush_completions+0xc16/0xd20 io_uring/io_uring.c:1470 io_submit_flush_completions io_uring/io_uring.h:159 [inline] Before the blamed commit, sendzc relied on io_req_msg_cleanup() to clear REQ_F_NEED_CLEANUP, so after the following snippet the request will never hit the core io_uring cleanup path. io_notif_flush(); io_req_msg_cleanup(); The easiest fix is to null the notification. io_send_zc_cleanup() can still be called after, but it's tolerated. Reported-by: syzbot+cf285a028ffba71b2ef5@syzkaller.appspotmail.com Tested-by: syzbot+cf285a028ffba71b2ef5@syzkaller.appspotmail.com Fixes: cc34d8330e036 ("io_uring/net: don't clear REQ_F_NEED_CLEANUP unconditionally") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/e1306007458b8891c88c4f20c966a17595f766b0.1742643795.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-03-22keys: Fix UAF in key_put()David Howells
Once a key's reference count has been reduced to 0, the garbage collector thread may destroy it at any time and so key_put() is not allowed to touch the key after that point. The most key_put() is normally allowed to do is to touch key_gc_work as that's a static global variable. However, in an effort to speed up the reclamation of quota, this is now done in key_put() once the key's usage is reduced to 0 - but now the code is looking at the key after the deadline, which is forbidden. Fix this by using a flag to indicate that a key can be gc'd now rather than looking at the key's refcount in the garbage collector. Fixes: 9578e327b2b4 ("keys: update key quotas in key_put()") Reported-by: syzbot+6105ffc1ded71d194d6d@syzkaller.appspotmail.com Closes: https://lore.kernel.org/all/673b6aec.050a0220.87769.004a.GAE@google.com/ Signed-off-by: David Howells <dhowells@redhat.com> Tested-by: syzbot+6105ffc1ded71d194d6d@syzkaller.appspotmail.com Reviewed-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
2025-03-22perf/amd/ibs: Prevent leaking sensitive data to userspaceNamhyung Kim
Although IBS "swfilt" can prevent leaking samples with kernel RIP to the userspace, there are few subtle cases where a 'data' address and/or a 'branch target' address can fall under kernel address range although RIP is from userspace. Prevent leaking kernel 'data' addresses by discarding such samples when {exclude_kernel=1,swfilt=1}. IBS can now be invoked by unprivileged user with the introduction of "swfilt". However, this creates a loophole in the interface where an unprivileged user can get physical address of the userspace virtual addresses through IBS register raw dump (PERF_SAMPLE_RAW). Prevent this as well. This upstream commit fixed the most obvious leak: 65a99264f5e5 perf/x86: Check data address for IBS software filter Follow that up with a more complete fix. Fixes: d29e744c7167 ("perf/x86: Relax privilege filter restriction on AMD IBS") Suggested-by: Matteo Rizzo <matteorizzo@google.com> Co-developed-by: Ravi Bangoria <ravi.bangoria@amd.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Ravi Bangoria <ravi.bangoria@amd.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20250321161251.1033-1-ravi.bangoria@amd.com
2025-03-21Merge tag 'spi-fix-v6.14-rc7' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi Pull spi fix from Mark Brown: "This is a straightforward fix for a reference count leak in the rarely used SPI device mode functionality" * tag 'spi-fix-v6.14-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: spi: Fix reference count leak in slave_show()
2025-03-21Merge tag 'regulator-fix-v6.14-rc7' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator Pull regulator fixes from Mark Brown: "More fixes than I'd like at this point, some of which is due to me cooking things in -next for a bit and resetting that cooking time as more fixes came in. - Christian Eggers fixed some race conditions with the dummy regulator not being available very early in boot due to the use of asynchronous probing, both the provider side (ensuring that it's availalbe) and consumer side (handling things if that goes wrong) are fixed - Ludvig Pärsson fixed some lockdep issues with the debugfs registration for regulators holding more locks than it really needs causing issues later when looking at the resulting debugfs.boot - Some device specific fixes for incorrect descriptions of the RTQ2208 from ChiYuan Huang" * tag 'regulator-fix-v6.14-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: rtq2208: Fix the LDO DVS capability regulator: rtq2208: Fix incorrect buck converter phase mapping regulator: check that dummy regulator has been probed before using it regulator: dummy: force synchronous probing regulator: core: Fix deadlock in create_regulator()
2025-03-21Merge tag 'pinctrl-v6.14-4' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl Pull pin control fix from Linus Walleij: - A single patch for Spacemit K1 fixing up the Kconfig to not default to "y" * tag 'pinctrl-v6.14-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: pinctrl: spacemit: PINCTRL_SPACEMIT_K1 should not default to y unconditionally
2025-03-21Merge tag 'io_uring-6.14-20250321' of git://git.kernel.dk/linuxLinus Torvalds
Pull io_uring fix from Jens Axboe: "Single fix heading to stable, fixing an issue with io_req_msg_cleanup() sometimes too eagerly clearing cleanup flags" * tag 'io_uring-6.14-20250321' of git://git.kernel.dk/linux: io_uring/net: don't clear REQ_F_NEED_CLEANUP unconditionally
2025-03-21Merge tag 'perf-urgent-2025-03-21' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull x86 perf events fixes from Ingo Molnar: "Two fixes: an RAPL PMU driver error handling fix, and an AMD IBS software filter fix" * tag 'perf-urgent-2025-03-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf/x86/rapl: Fix error handling in init_rapl_pmus() perf/x86: Check data address for IBS software filter
2025-03-21Merge tag 'sched-urgent-2025-03-21' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull scheduler fix from Ingo Molnar: "Revert a scheduler performance optimization that regressed other workloads" * tag 'sched-urgent-2025-03-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: Revert "sched/core: Reduce cost of sched_move_task when config autogroup"