1333326 Commits

Author SHA1 Message Date
Stephen Rothwell
45db02741d Merge branch 'mtd/next' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git 2025-01-13 12:06:51 +11:00
Stephen Rothwell
e727b5c1ad Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ath/ath.git 2025-01-13 12:04:17 +11:00
Stephen Rothwell
0b3d43f268 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git 2025-01-13 12:04:16 +11:00
Stephen Rothwell
dfad674bb0 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git 2025-01-13 11:42:10 +11:00
Stephen Rothwell
e2ff09ea79 Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git 2025-01-13 11:42:07 +11:00
Stephen Rothwell
c2d168020c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git 2025-01-13 11:42:05 +11:00
Stephen Rothwell
25dcaaf9b3 Merge branch 'main' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git 2025-01-13 11:42:02 +11:00
Stephen Rothwell
644766cd16 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git 2025-01-13 11:42:01 +11:00
Stephen Rothwell
e79b795fd8 Merge branch 'opp/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git 2025-01-13 11:23:06 +11:00
Stephen Rothwell
89b164605a Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git 2025-01-13 11:23:05 +11:00
Stephen Rothwell
5e06916336 Merge branch 'devfreq-next' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git 2025-01-13 11:23:04 +11:00
Stephen Rothwell
9eb1280b18 Merge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git 2025-01-13 11:23:02 +11:00
Stephen Rothwell
6cdf8ecdc7 Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git 2025-01-13 11:23:01 +11:00
Stephen Rothwell
0b7feebf9f Merge branch 'next' of git://linuxtv.org/media-ci/media-pending.git 2025-01-13 11:00:59 +11:00
Stephen Rothwell
6b432139e5 Merge branch 'docs-next' of git://git.lwn.net/linux.git
# Conflicts:
#	scripts/checkpatch.pl
2025-01-13 11:00:58 +11:00
Stephen Rothwell
38fa09ea41 Merge branch 'hwmon-next' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git 2025-01-13 11:00:55 +11:00
Stephen Rothwell
4ff8117aa7 Merge branch 'i3c/next' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux.git 2025-01-13 11:00:54 +11:00
Stephen Rothwell
2ab30519ec Merge branch 'i2c/i2c-host' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git 2025-01-13 11:00:52 +11:00
Stephen Rothwell
fae4bf3b85 Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git 2025-01-13 11:00:51 +11:00
Stephen Rothwell
cdd1c9bf36 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git 2025-01-13 10:48:16 +11:00
Stephen Rothwell
2a713587f3 Merge branch 'for-next/pstore' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git 2025-01-13 10:48:15 +11:00
Stephen Rothwell
1625f3eb6c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git 2025-01-13 10:48:12 +11:00
Stephen Rothwell
61631da7c3 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux.git 2025-01-13 10:48:10 +11:00
Michal Simek
2a388ff22d rtc: zynqmp: Fix optional clock name property
Clock description in DT binding introduced by commit f69060c14431
("dt-bindings: rtc: zynqmp: Add clock information") is talking about "rtc"
clock name but driver is checking "rtc_clk" name instead.
Because clock is optional property likely in was never handled properly by
the driver.

Fixes: 07dcc6f9c762 ("rtc: zynqmp: Add calibration set and get support")
Signed-off-by: Michal Simek <michal.simek@amd.com>
Cc: stable@kernel.org
Reviewed-by: Peter Korsgaard <peter@korsgaard.com>
Link: https://lore.kernel.org/r/cd5f0c9d01ec1f5a240e37a7e0d85b8dacb3a869.1732723280.git.michal.simek@amd.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2025-01-13 00:41:24 +01:00
Ming Wang
09471d8f5b rtc: loongson: clear TOY_MATCH0_REG in loongson_rtc_isr()
The TOY_MATCH0_REG should be cleared to 0 in the RTC interrupt handler,
otherwise the interrupt cannot be cleared, which will cause the
loongson_rtc_isr() to be triggered multiple times.

The previous code cleared TOY_MATCH0_REG in the loongson_rtc_handler(),
which is an ACPI interrupt. This did not prevent loongson_rtc_isr()
from being triggered multiple times.

This commit moves the clearing of TOY_MATCH0_REG to the
loongson_rtc_isr() to ensure that the interrupt is properly cleared.

Fixes: 1b733a9ebc3d ("rtc: Add rtc driver for the Loongson family chips")
Signed-off-by: Ming Wang <wangming01@loongson.cn>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Reviewed-by: Keguang Zhang <keguang.zhang@gmail.com> # on LS1B
Tested-by: Keguang Zhang <keguang.zhang@gmail.com>
Link: https://lore.kernel.org/r/20241205114307.1891418-1-wangming01@loongson.cn
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2025-01-13 00:39:36 +01:00
Oleksij Rempel
3ab8c5ed4f rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read
The nvmem interface supports variable buffer sizes, while the regmap
interface operates with fixed-size storage. If an nvmem client uses a
buffer size less than 4 bytes, regmap_read will write out of bounds
as it expects the buffer to point at an unsigned int.

Fix this by using an intermediary unsigned int to hold the value.

Fixes: fadfd092ee91 ("rtc: pcf85063: add nvram support")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.kernel.org/r/20241218-rtc-pcf85063-stack-corruption-v1-1-12fd0ee0f046@pengutronix.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2025-01-13 00:26:54 +01:00
Stephen Rothwell
4f2961328d Merge branch 'fs-next' of linux-next 2025-01-13 10:26:14 +11:00
Dan Carpenter
09c4a61015 rtc: tps6594: Fix integer overflow on 32bit systems
The problem is this multiply in tps6594_rtc_set_offset()

	tmp = offset * TICKS_PER_HOUR;

The "tmp" variable is an s64 but "offset" is a long in the
(-277774)-277774 range.  On 32bit systems a long can hold numbers up to
approximately two billion.  The number of TICKS_PER_HOUR is really large,
(32768 * 3600) or roughly a hundred million.  When you start multiplying
by a hundred million it doesn't take long to overflow the two billion
mark.

Probably the safest way to fix this is to change the type of
TICKS_PER_HOUR to long long because it's such a large number.

Fixes: 9f67c1e63976 ("rtc: tps6594: Add driver for TPS6594 RTC")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/1074175e-5ecb-4e3d-b721-347d794caa90@stanley.mountain
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2025-01-13 00:20:55 +01:00
Stephen Rothwell
d4e60e456f Merge branch 'xtensa-for-next' of git://github.com/jcmvbkbc/linux-xtensa.git 2025-01-13 10:20:07 +11:00
Stephen Rothwell
63eeb99d0f Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux.git 2025-01-13 10:20:04 +11:00
Stephen Rothwell
da0d5443c4 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git 2025-01-13 10:20:03 +11:00
Stephen Rothwell
a9b54a78e1 Merge branch 'riscv-soc-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git 2025-01-13 10:20:02 +11:00
Stephen Rothwell
49c8cf7eb6 Merge branch 'riscv-dt-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git 2025-01-13 10:20:00 +11:00
Stephen Rothwell
be4dc85110 Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git 2025-01-13 10:19:59 +11:00
Stephen Rothwell
1ad79c8a1e Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git 2025-01-13 10:19:58 +11:00
Stephen Rothwell
79a8908b06 Merge branch 'for-next' of git://github.com/openrisc/linux.git 2025-01-13 10:19:55 +11:00
Stephen Rothwell
d33b6583a6 Merge branch 'mips-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git 2025-01-13 10:19:54 +11:00
Stephen Rothwell
1563ccccc6 Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze.git 2025-01-13 10:19:53 +11:00
Stephen Rothwell
43ff5f55e7 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git 2025-01-13 10:19:52 +11:00
Stephen Rothwell
eddf80196f Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git 2025-01-13 10:19:51 +11:00
Stephen Rothwell
0d0708a337 Merge branch 'linux-next' of git://github.com/c-sky/csky-linux.git 2025-01-13 10:19:49 +11:00
Stephen Rothwell
435091688c Merge branch 'clk-next' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git 2025-01-13 10:19:46 +11:00
Stephen Rothwell
51aeb10f0d Merge branch 'for-next' of git://github.com/Xilinx/linux-xlnx.git 2025-01-13 10:19:45 +11:00
Stephen Rothwell
e3c88c5ecc Merge branch 'ti-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git 2025-01-13 10:19:43 +11:00
Stephen Rothwell
8e66a5e0d1 Merge branch 'thead-dt-for-next' of https://github.com/pdp7/linux.git 2025-01-13 10:19:42 +11:00
Stephen Rothwell
34483dff11 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git 2025-01-13 10:19:40 +11:00
Stephen Rothwell
e1bfe8182d Merge branch 'next' of https://git.linaro.org/people/jens.wiklander/linux-tee.git 2025-01-13 10:19:39 +11:00
Stephen Rothwell
e788423f00 Merge branch 'sunxi/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git 2025-01-13 10:19:38 +11:00
Stephen Rothwell
d01290ec49 Merge branch 'stm32-next' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git 2025-01-13 10:19:37 +11:00
Stephen Rothwell
aff1c272fc Merge branch 'for-next' of https://github.com/spacemit-com/linux 2025-01-13 10:19:35 +11:00