Commit graph

1,399,042 commits

Author SHA1 Message Date
Arnd Bergmann
2c5ef4e0b7 ARM64: DT: HiSilicon ARM64 DT updates for v6.15
- Add property to the ETM nodes for fixing CPU idle states
 -----BEGIN PGP SIGNATURE-----
 
 iQJJBAABCgAzFiEEQeMYD8qOQTc1R/snC8hXbtmJZlwFAmfZYLgVHHh1d2VpNUBo
 aXNpbGljb24uY29tAAoJEAvIV27ZiWZc6MwQAKl4hxLAh79P1XyBOyufHvLlsk2A
 0hOT+TMdEV5hgsAbLcXJ8/940/yNFesPWFGEEJq1IhSgypHPW40B6XKa90yHXW+M
 ZUTmReAyQzzSZBSXQoosBR4YIr/D8Smc8YcIgoPCZjFsK3JQTdsLVZ9TIFJuIrWy
 mXdozNO3+252vr21WUKP+81ulLSgfENJ+7niV2L3uGdovgcjoz4ThLeYcrDpXgWC
 0jvfE3WzPm7C3/GQIZGlJqh7h7nQBcbkUjvtjru79nH92mZeBVoks8ZkSaWBGtqc
 nIoPcDlPmO3h/gsFM6nN8wYvfW8spPG1yQ2mzCZ7wsC6f/YLigGb9UHetc6AhxbN
 dc+QUde72880CBxA4JYJe5GKW7+GmJ2Yxiw0pAOozU9rQbKXd+UEJg+nWRZpiGjE
 QySveJDf4fUMsYFYt6+aIsFl51v6w5P0qLWq4PReM0qrFDzEgVmdZm+0wpW8SfHN
 0CYe2jUD52lXQr+k6oRLtbpBIzd62trWhDnrJaQYDXB4Oa8419LegIqj5RaoIb4h
 8T6pgKxXAzfv7j99EffYl3VS1FmFC1LsPVWaoRWZ3m0xeU4NS2Ps3iZMScca5/lD
 HZqNKWemzIVgVFYRSGN4NPJB+pBp52o4aKQcgOJ4NpmP7lkiq4Zm8K98ZythFAlm
 0aTRnuo8VFY2+Bj4
 =s/8I
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbNDQACgkQYKtH/8kJ
 UichUQ/7BvTE76nueHKRXqvBEzUMZTEf9UjoDGTLlb0uDd3C4XOuLl2Y7SRXjlMQ
 Ti17BK5NvReuNidTtCPSsLX1WFgORpgU7E5q7ch2g6WRQGHDb57EgnmHpFXp2y9F
 a3pugJN4JHCd39s8VqEs15SEpGw1SS69rBluK6LGEQD3/nJFSEJBefJ65lABP4Br
 1oY4VamPybYSmQH+udRYy1VmnRpGufknAsFNh2YI5JWOARv9Q7f9/nlcMgRdwj9F
 0aOkNjY/aWtFl+aHhMsJH6aqeTJ5NW8OeRq2Z5Gz+6UmUPMKGhBtuS4APbcI4YCv
 mxpkVHGbRgrpr3wWky82npaAR9oXJ52MIqklaDKMJPZt2gC9A/HT9yQkfoQvMJiV
 opJdZRATVSce40o5Wa0nmIIpLmEb4d6MfU8s6Yi78lUBQQZzNEs6AFnUaRGRc19d
 2ZpKrsIbVEu05iQnJbCupjTKSdB3bYKELvTAHPRpkNIIQhGEVa9ra+lmsMHK85lV
 /2Oe00cJg8K/d1GT+SvBCxewqkt48lKY1HpLauySj1xlpn+CkDxuXQlXgoFbK1sO
 PGuxt7KLqk+1zUedqZgHygzt05HdQPcU9uptHFlmetZMXOmWCJd75K4kHcvCDRdu
 AdQc4ulwZwJBVFQV14uUgh6sz1ZzOQAk5sGM0jeTMKvcPNIO3UI=
 =YCIx
 -----END PGP SIGNATURE-----

Merge tag 'hisi-arm64-dt-for-6.15' of https://github.com/hisilicon/linux-hisi into soc/dt

ARM64: DT: HiSilicon ARM64 DT updates for v6.15

- Add property to the ETM nodes for fixing CPU idle states

* tag 'hisi-arm64-dt-for-6.15' of https://github.com/hisilicon/linux-hisi:
  arm64: dts: hi3660: Add property for fixing CPUIdle

Link: https://lore.kernel.org/r/67D968A9.7080504@hisilicon.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 22:16:35 +01:00
Arnd Bergmann
519df17cb0 RISC-V Devicetrees for v6.15
Starfive:
 All changes for jh7110-based boards including the removal of a dac
 that does not exist and the addition of usb3 support on the star64 board
 and pcie on the framework mainboard.
 
 Microchip:
 Update pcie reg properties to fix a mistake originally describing them.
 Here rather than in fixes, since the driver maintains support for the
 old format.
 
 Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZ9lfIwAKCRB4tDGHoIJi
 0hoWAQD4bX80fEznTmpFKy5suiljz7v2ePTkOhRFqU9yu7RS9AD/WEZkw4tNU4Y9
 IxS/Znk5i/ECLgQGsi5axHTwYkoMFwQ=
 =V0XH
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbM+AACgkQYKtH/8kJ
 UieHeBAA17sRn2qDBsOVjOY5SU7j1vyWwWUEt5qJh4Ft55wEt2gZ/ay1pWqMST3q
 PpQ5cQQqf+lzhAweVVrmCsXSBwDe4AzArOdDpOxfsWCq8wkiq2/yV0220VD513j/
 qH1BmzO5QNC1rw5a9wvmOzjc/YJwEbnrfAwscBiuePvA+ve/vafngTd0ElJgc6dh
 5Si9OP2OvLZzNEiR3eKWLMd1PFCNwHUiAu8Ug50K0zYWt1p2jT8y+nFYI8bZIUjZ
 pltj1XHZe6h0eItt9w1aM4PY6TygiB5bc8teHWcp2tnoBplj7C+QGVw86M4YFI5D
 neKwiH1+ek8rVLORdAtH0eBG8BvLppZJ7enlY6aFgiYbIH3SYI9AGfM3ntnZhvRi
 Z6VrfhCkB2ddq1uTBgBqRld9ZgmCPQcSoTMVwG3KXbXk01f7JBDwG6bE1OBOeJbS
 cIUHwuxN+bwSPD/QOagUf+wsJt+XYTWv3iJIj46+mSD5qz6yKjmvRAMAotydG130
 G3ftE6I79E3zDYtbNt17d2K3sTJnLjjRk4gHp6g9SLf6QhLNd8SCp1zIVfUk1WoL
 CIUpPlgGgkbtLTmGAEXNW95zVRi+ZeFFDIOcCsahS33hmOkidthd5BzkSUXKa+Zh
 lzMujCh/4JUXToHmugwpi1ZEVl84rk9RLCgPd9PhfFvhCzL1rSA=
 =YiZd
 -----END PGP SIGNATURE-----

Merge tag 'riscv-dt-for-v6.15' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux into soc/dt

RISC-V Devicetrees for v6.15

Starfive:
All changes for jh7110-based boards including the removal of a dac
that does not exist and the addition of usb3 support on the star64 board
and pcie on the framework mainboard.

Microchip:
Update pcie reg properties to fix a mistake originally describing them.
Here rather than in fixes, since the driver maintains support for the
old format.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>

* tag 'riscv-dt-for-v6.15' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux:
  riscv: dts: starfive: jh7110-pine64-star64: enable USB 3.0 port
  riscv: dts: starfive: jh7110: pciephy0 USB 3.0 configuration registers
  riscv: dts: starfive: fml13v01: enable pcie1
  riscv: dts: starfive: remove non-existent dac from jh7110
  riscv: dts: starfive: Unify regulator naming scheme
  riscv: dts: microchip: update pcie reg properties to new format

Link: https://lore.kernel.org/r/20250318-favorite-presuming-bf2fcf55bf6a@spud
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 22:15:12 +01:00
Arnd Bergmann
370ce5aa40 ARM: dts: misc. OMAP updates for v6.15
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEe4dGDhaSf6n1v/EMWTcYmtP7xmUFAmfYaEYACgkQWTcYmtP7
 xmV6Bw/+OSo5cQWJbSLhztQ5hHaw/2EHCFC6A6HCLdaavPv7R+UaogFtg2SF9NbC
 rR4kgTCJzGE+bQ0ory+AA6IrL+dZiOywP4b+eepb+ZRc1a0LDBm5VtXgVaF4CLp3
 BPyLIV7d5OUEX+KD7GTvoQJd1zB0PY5JjorsghrwlD0SVCJslqlfDdiGjUoRFyqC
 E0RKf4HN5TiyMlPegrxp557koLe2FXWxwl+3vajKyr0j3G+VOsiX6x1tH2xYa7+U
 C7bJYL1InY5pMoDC5wtXSEzL29sfbUXphoha8a4ybCC8ecVa5qaEAuMG+mWM58P+
 Ucld+DUYmVw7E8OrEd/VgKfNC/B7U/kMMjf80xQqdX0RhN3+jTw1lJAUg8OYmkQZ
 inJqVf1A06l6QkjG1W0jMYItJLw8nS740SifrOOvqNE2YGnbY3asu3CSiOB6PTHJ
 z1bNwBkNJFG3QeCjhi1YC9lGT0dYn3PUQpfOyPEudH0/gVzOLIxno4Rcs+Y3s8kr
 bgG8mvraRjbrzLCH67qNgaEDE1ADScvpUROe/udvOCci7vJzLvMgHIvJmz295K/Z
 b01A/rfLirIFL2a8QxGxKO3mGubrNMXpeyaKnTDRJWsaYMokxeP+MPjn/DpbarDA
 sy34b8q3Kz3BsMiGx7g64cYF+fUlw/hqtCKBjpVZPOQcEAYvMkI=
 =HgLA
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbM8UACgkQYKtH/8kJ
 UifQbRAAl+/+f01DhxNKL0NPjUGOk23iS3GdvaNLTBpoYAY4qgPKF1sgpl3UrpcS
 QbBTWrZsiB4vY88j4eRxYYqiKVTWx/o1QGW7ZROa4KL8dgCdXRVcpsOdOyrQ0uBI
 2Ly9ys1tOXkpgwoJ1SXA0TQqsDy3WxJY25UJ2Cy3+zxvzpfu88NhJGAnsYwOKxzM
 OwuUBKO0EYnBD7pTB/eQ98MAGshiND2PzFamv0dbS4dyFR9rVG0Qov4LHoMBK0cb
 ki/IVokSXh7zCrN2UTnSwzrLPfEvje6qHEeQb250jlloaWFP3zvs8bP74y77IhkG
 jTXRbLzHWUMi1JCoHNyuj/vGm8nQkgPRj3AVQGLaaTtLdGIJs0OL9rFDw5nZriH6
 1N6FLdYJXCXih4PMchPtBdONUiHwT1pYjYDbavHvPMLWAoraZidrN3A0HbcBZW5c
 pGoLtvy/0qtX+1aoc9Z3SfRWjW/0kvjdS7POOsjrTHdPwly++BHdvaEIq014Wwt5
 hLTYyS9cdglM6PQyXCBJbHcPrIMqee5apXuvBzY6C+llHURuGYZiQSmACc7Ug7EX
 Rf4cVk/CZJLFhzEFyG1SGKJEciqQ2CGrZmr/ys16xate/D5NgC8xLgIh4Ajj2ulU
 FwN7fBJTtAe1l0OzP0rfb24IunAivQyWzuwwUHQ7duPaSpx8AFU=
 =DvON
 -----END PGP SIGNATURE-----

Merge tag 'omap-for-v6.15/dt-signed' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap into soc/dt

ARM: dts: misc. OMAP updates for v6.15

* tag 'omap-for-v6.15/dt-signed' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap:
  ARM: dts: omap4-panda-a4: Add missing model and compatible properties
  dt-bindings: omap: Add TI Pandaboard A4 variant
  ARM: dts: ti/omap: omap4-serial: fix interrupts syntax
  ARM: dts: ti: omap: Align GPIO hog name with bindings

Link: https://lore.kernel.org/r/7hiko7qzud.fsf@baylibre.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 22:14:45 +01:00
Rik van Riel
0b7eb55cb7 x86/mm: Only do broadcast flush from reclaim if pages were unmapped
Track whether pages were unmapped from any MM (even ones with a currently
empty mm_cpumask) by the reclaim code, to figure out whether or not
broadcast TLB flush should be done when reclaim finishes.

The reason any MM must be tracked, and not only ones contributing to the
tlbbatch cpumask, is that broadcast ASIDs are expected to be kept up to
date even on CPUs where the MM is not currently active.

This change allows reclaim to avoid doing TLB flushes when only clean page
cache pages and/or slab memory were reclaimed, which is fairly common.

( This is a simpler alternative to the code that was in my INVLPGB series
  before, and it seems to capture most of the benefit due to how common
  it is to reclaim only page cache. )

Signed-off-by: Rik van Riel <riel@surriel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250319132520.6b10ad90@fangorn
2025-03-19 21:56:42 +01:00
Jens Axboe
03c90afb21 block/blk-iocost: ensure 'ret' is set on error
In case blkg_conf_open_bdev_frozen() fails, ioc_qos_write() jumps to the
error path without assigning a value to 'ret'. Ensure that it inherits
the error from the passed back error value.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503200454.QWpwKeJu-lkp@intel.com/
Fixes: 9730763f47 ("block: correct locking order for protecting blk-wbt parameters")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-03-19 14:51:36 -06:00
Arnd Bergmann
43adf498e9 RISC-V Devicetrees for v6.15
Sophgo:
 Add pwm controller support for SG2042.
 Add pwm-fan & cooling maps for Milk-V Pioneer.
 Updated MAINTAINERS info for SOPHGO DEVICETREES and DRIVERS.
 
 Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
 -----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCgAdFiEEdoBX2jyDC9ZCTwZjDCzASqG0i0IFAmfX3K0ACgkQDCzASqG0
 i0Ju0AwAogVPQ/u5zG4KVlcsFNUy+u369ZTOLGCv9fWFPqv962bbCAysFEMJmfRj
 tWCUUDDo31P/iLThghSUMAi9A4YOJAHc8RFMscNKqbaRoAPJ2rAsUL67f3VE6L1F
 eXoUUSA8oWYD+MIE75ba7LNxvWQ19Fy6AV8PqRHS6w8vWFh9lW6ghKx/1Yxq4MHq
 OFRrHKcYZfF3Z8T18JtOwbVgSuLAh0U2CZZWZw0LSr7eVie/4YUCjcvQcXR+lK5h
 h0y3zvNlph1vUfz5UxoMXd9w74xjPalxwacMNkA7DnL3uTwo4a8rqY8e0xdMXztD
 vORAj3nUMNgaMVfE6D4E5UF8yEkHd3K1TAMj4mqOZ2YjSjwnzg9ZAVp3itI7TTvs
 S4kAUNwlyOzoFmDOGDAll4k7VIt8GwmvNaDtXXyEAEW6mLHt5ygLC/Cr3N5OwHDR
 k7abl2WIM2VnQRNcZIejGK0BAzAMBas6W+t4Lp6Ax1vRJcC2ArVvc/izH7pDF9NL
 hKl7Bvie
 =UoSS
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbLgkACgkQYKtH/8kJ
 Uic2Lw//R+Iq1JNVwlbbGc/58kjuPOmKXV6jnlHmUVty58a/vZI/nwX8Jkpo7WPw
 4oFkp6p9OiZnsMRLv+OTFCCznIJm2l8glXmQf1xFjsPnJIylqsqSXttfiTutA/oW
 pqmzOwnlzbsXjgPT/O6SxaCkZrcbsj9aSDRJyj+tBbp6+SUF164agpONqa5JQAeA
 byXY3FhTg95aoQBCUrb+x9mLbas3Ei6LcjO9KdGmPHQ8TwyvqTRYhPinuY+DrrE0
 LS/RM/+i5JG9EeCTJdnHLowty7L6qdjXHZQYPMdZASs9JDvtAmbdnKkBeD4Gvbqm
 tLk8sggtoydlbiAAZZBHC+fgo2ZyjgFg/1tuOXEZjSG8obtkLbJjdWKH/OVuxJBb
 uxL00+9wdqS9zLfq1zpRid+Ekwkj5QPcy5g/izIk89BZkZRTMRuTKRY2myePyImU
 vruMli0I8czLRhjzphEVlzFGHIA998EA4m/MYV/rath46k6GnBHCM0/QO+PSq+rt
 l/MdivC68k1QRzNFQ++PPm7D0LYew1V3g2OourXR90SU3DDgAKyfVAoSO7fBXQkP
 /eykGFKZ78Jytfnhp5AbJxstIB4yWfBaKAYsBd2LgngGMhJpD6eDQQKTwYCbBKfH
 f3V+HBAJhxnGfYqjLQfS1y99YdVYQdTHyjBNOE+MMPRsK1lT1Z0=
 =ZMLq
 -----END PGP SIGNATURE-----

Merge tag 'riscv-sophgo-dt-for-v6.15' of https://github.com/sophgo/linux into soc/dt

RISC-V Devicetrees for v6.15

Sophgo:
Add pwm controller support for SG2042.
Add pwm-fan & cooling maps for Milk-V Pioneer.
Updated MAINTAINERS info for SOPHGO DEVICETREES and DRIVERS.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>

* tag 'riscv-sophgo-dt-for-v6.15' of https://github.com/sophgo/linux:
  riscv: sophgo: dts: add cooling maps for Milk-V Pioneer
  riscv: sophgo: dts: add pwm-fan for Milk-V Pioneer
  MAINTAINERS: update info for SOPHGO DEVICETREES and DRIVERS
  riscv: sophgo: dts: add pwm controller for SG2042 SoC

Link: https://lore.kernel.org/r/PN0PR01MB10393CEC71B623E0A779E7393FEDF2@PN0PR01MB10393.INDPRD01.PROD.OUTLOOK.COM
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 21:50:17 +01:00
Arnd Bergmann
5f3b286a69 mvebu dt64 for 6.15 (part 1)
device tree clean-up fomr DT maintainers
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQYqXDMF3cvSLY+g9cLBhiOFHI71QUCZ9cF6wAKCRALBhiOFHI7
 1R/hAJ92ZcGi0GtwZxMVmlrsWzFl27btowCgovQsH2omfuzLkLIPvGQVhqNhAgY=
 =8wUh
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbLbkACgkQYKtH/8kJ
 UicRFxAAuXvuEGPEzpK0BFgmG2ohSWC2WOmGgCiu1i+VfeuNrpe7XzB+qToGRhOr
 XY82gBvwBwq46D5M3FGNdnZbsM/rMyPliwuksMUtFOLZQ+uDR+VeY0JM22/K7Qj9
 D9ZiG2ASCo4O4l+HuR0ou8cxO8e3BxYREbD4PqTWiDmuFJt70b07/gC4ujj3jCvi
 HGPFNh+tCJ5CKrY+uWoJoUOPAilO65yAhgNCd7Wf5HyjXX91HOdhC1FamncXlovI
 pvbkIXoCG2q39AGONYwHeNFqEUvFUUHqZwbLupNhwN6y5HozPkquzbq4qCrZAOy4
 Loa6CzuRLvq+wQ02rWwl3AfA7TaYniOvce57gHKtKOREs/oK6AV3U9bfJjUj08el
 +WkTj1dYI7YbsEucSSKr+jDpuq6W2Z4jotffDgqsXwkavWrZFqsOvzD1e8bVw+Q0
 +lnTZ62HZPnx/WaBvkM6s5kvm3vV2n4nQyPXg+CEppkA71Yzb3KKcQ61pXUNlU9+
 kea+DnEL7avhzNOBFuWbUYjLPKo+NlV6X1U/jDiSutJ7jGbyDPRPVOUYY5mb2R+p
 wH8NCCkb8GzyLiFmGFViGAM6OTZJMGHwaHzuErZIAL1EowoZ+q5YytRjruL1RXl0
 lyvE5ogytY5n+ryRrArz2e3TxbJWJjIsP2C4Rf6IKAIjmOQGbJw=
 =kKpa
 -----END PGP SIGNATURE-----

Merge tag 'mvebu-dt64-6.15-1' of https://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into soc/dt

mvebu dt64 for 6.15 (part 1)

device tree clean-up fomr DT maintainers

* tag 'mvebu-dt64-6.15-1' of https://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu:
  arm64: dts: marvell: Use preferred node names for "simple-bus"
  arm64: dts: marvell: Drop unused CP11X_TYPE define
  arm64: dts: marvell: Move arch timer and pmu nodes to top-level
  ARM: dts: marvell: armada: Align GPIO hog name with bindings
  ARM: dts: marvell: kirkwood-openrd: Align GPIO hog name with bindings
  arm64: dts: marvell: armada-8040: Align GPIO hog name with bindings
  arm64: dts: marvell: Add missing board compatible for IEI-Puzzle-M801
  arm64: dts: marvell: Fix missing/incorrect "marvell,armada3710" compatible
  arm64: dts: marvell: Drop incomplete root compatible/model properties
  dt-bindings: marvell: armada-7k-8k: Add missing 7040 and 8040 board compatibles
  dt-bindings: marvell: armada-7k-8k: Move Armada 8KPlus to schema
  dt-bindings: marvell: armada-37xx: Add glinet,gl-mv1000 compatible

Link: https://lore.kernel.org/r/87wmco99xv.fsf@BLaptop.bootlin.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 21:48:56 +01:00
Arnd Bergmann
c1abbe602b New peripheral the sdhci controller on rk3528. Enablement of hdmi and hdmi
audio on a number of additional boards. Better handling for scmi shared
 memory on rk3568 and a fix for the used SCMI clock ids on rk3576.
 As well as some fixes that were a bit late for trying to stuff them into
 6.14 at this late stage of the cycle.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAmfVoEwQHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgUiYB/9DbZwmkqpkg5l/undLUC2NGKyhadwhCcnW
 h4112pr1ssUObE6YOtv0nfJWHyr8fHSt//R4CIOkPAuCWseLrxsu5F28tbwNbtCB
 FtHuLeAoa3cRdnwP0bdAif7Bzz8UfDlqwCYpPnU4p4tuoYx/xZ7CVOUXWuK1uLQ1
 Fijj2sknWywRG3u6Z3tNFNJJH1ijvc6Tg1Xlog6Ace+BbOLtwP4z0wdckCj0Hi6N
 QHxNHP21m1s1W0eGQ6yEaUbnvxjT8n5iupCEqiAshtpiP3jWfhaGNzQ54vvqoLI7
 EBIOXTFW760a6QuIVn44vlnSYKMgwu7KZRunl7FvcqJRWtEiAvlh
 =8a+w
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbLX8ACgkQYKtH/8kJ
 UiepnBAApGrFdlz6Un8RlTQINRt2eej2W8f3U6kJPwr0H8EuohJFyLS1w4akJcB5
 Ug+9WWbF6lqFyV/tCVuR1dPxN7haI5Acua2rQ9jUPqH38GqUqMXq6HuEE6R6ML7Q
 tGsQnAy2vzQj6cVktypas5ZAEdnzauyKaggtgkUrzHsAL1eiy5V/M0qogfxSTpSs
 uXGixWTdoqUDXfCPVNOFSIa6az8vmZcEvBNdhPH+Zai98UUqf0ULEVPcgtzVV12I
 yGwPFQPkUsv3RlPx9vmgBIbWyH/C35bufcdkXpiuz8OUgsmx5DoJP8WubwdZUIeW
 hwXvIHoYNi7MrVu83HVilZzbb/VhbJAvuJPt9Dd1z8LZrxwnS4qMiDDJvgDT5ntn
 TBGRws/CFbz0GZAB6p2LmT0V7PcmfY/Yg7+NXajkNXHoBwZMclvP7w5sC24Q6Wv/
 gHn11gS4FZBjNRO2ymygniRA42PL6/DvNvp+plzw+CR5usRXaNIq65rNWB1YrceG
 sRWYXTWiewf7iCTpaykkADYvCGkLfz320u+BDIo9G8Y3LSqmPQrfiM/kFqTmS5z+
 Lu6B6yt3Oy92tpkKvKqFSVShA5LA2v0YSbrcz5n/lm5VGeDE0KG0CQ4VU89cVFqY
 T9keWPlmo8SG4LwjOiCJCQHxJEE1vzIt1z8Okv73dhpNYdS1yOE=
 =5tQQ
 -----END PGP SIGNATURE-----

Merge tag 'v6.15-rockchip-dts64-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into soc/dt

New peripheral the sdhci controller on rk3528. Enablement of hdmi and hdmi
audio on a number of additional boards. Better handling for scmi shared
memory on rk3568 and a fix for the used SCMI clock ids on rk3576.
As well as some fixes that were a bit late for trying to stuff them into
6.14 at this late stage of the cycle.

* tag 'v6.15-rockchip-dts64-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  arm64: dts: rockchip: remove ethm0_clk0_25m_out from Sige5 gmac0
  arm64: dts: rockchip: Fix PWM pinctrl names
  arm64: dts: rockchip: fix RK3576 SCMI clock IDs
  dt-bindings: clock: rk3576: add SCMI clocks
  arm64: dts: rockchip: Fix pcie reset gpio on Orange Pi 5 Max
  arm64: dts: rockchip: Enable HDMI audio output for ArmSoM Sige7
  arm64: dts: rockchip: Enable onboard eMMC on Radxa E20C
  arm64: dts: rockchip: Add SDHCI controller for RK3528
  arm64: dts: rockchip: Remove bluetooth node from rock-3a
  arm64: dts: rockchip: Move rk356x scmi SHMEM to reserved memory
  arm64: dts: rockchip: Add AP6275P wireless support to ArmSoM Sige7
  arm64: dts: rockchip: Enable HDMI audio outputs for Orange Pi 5 Plus
  arm64: dts: rockchip: Enable HDMI1 on Orange Pi 5 Plus
  arm64: dts: rockchip: Enable HDMI audio outputs for Orange Pi 5 Max
  arm64: dts: rockchip: Enable HDMI0 audio output for Orange Pi 5/5B

Link: https://lore.kernel.org/r/23866869.6Emhk5qWAg@phil
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 21:47:59 +01:00
Arnd Bergmann
a1b46780e4 arm64: Zynq DT changes for 6.15
- Align platforms with dt-schema
 - Describe QSPI
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQbPNTMvXmYlBPRwx7KSWXLKUoMIQUCZ9RCHgAKCRDKSWXLKUoM
 ITXYAJ49ZX2WRYgFprL6YP94qzcAJtG4JgCfWH3C0J4DzNwWagkogvh8c8EBhwg=
 =nLaL
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbLToACgkQYKtH/8kJ
 UicHIBAAiqq7aekbUvj6W4NCBjUWyKf6TDHVZhXqcRzi1XF0cw0gpJ0cZ4Elk+Rs
 QjgB7YR2Eq6zAKh75o+D/pheuOqkqcB0JNLRgqh4M5wKAIq81el6QsRuJY76qx+l
 PRD25LVmJgDXioB5V53O2n0uFOc7wrtRZM+p9XtUdMsa48vqswvD26tRgrOZfmSa
 hWyV1nK/TmMNDfTSJjQ6GB1kLF4pLJeYMABqhN3PNRhY0pVfOhOOJt5MTJDZUfE9
 KSsilZfst+qBzqtFnv/fAtX1SqCdNH8cMp2HtZ2tUhwhl7yobEI20YTxjTQUPa9v
 ifIwAbwJ5gzswdpd5G1M8/J12cErP7z7xLHnY1DFeZwhp8vW/hymyRAd4SXf7XNy
 yeCd2cxf6Z8u5G075rlvN7n4CYQpJ5/fubHNCz0T23ugykKpeauctVe0/JbL6qST
 peaIKW2ypuZjGxhjSSNQfFVUR9lIYg05Ke5gJk98NrMVwzP7ABKsKjQEcEbHoEME
 EMpLk6TpUB2a8J1uFDVS52bTodan0Qgd8FDi7afRi0zoxymj+B1J9yYcuiIAsOse
 FqwaIRzvV0dIHRM78Qe7YyQJajK3EEyEk6H4c+9Sbkv0Gd+tNWE/LSVvqHfTuGK+
 R7TQvJOZVzm13mYO5xaz5cwPdTT5Il02yWz7yPI5DxeW11Q6ueU=
 =V0YM
 -----END PGP SIGNATURE-----

Merge tag 'zynq-dt-for-6.15' of https://github.com/Xilinx/linux-xlnx into soc/dt

arm64: Zynq DT changes for 6.15

- Align platforms with dt-schema
- Describe QSPI

* tag 'zynq-dt-for-6.15' of https://github.com/Xilinx/linux-xlnx:
  ARM: zynq: Do not define address/size-cells for nand-controller
  ARM: zynq: Remove ethernet0 alias from Microzed
  ARM: zynq: Add sdhci to alias node
  ARM: zynq: Enable QSPIs on platforms
  ARM: zynq: Fix fpga region DT nodes name
  ARM: zynq: Rename i2c?-gpio to i2c?-gpio-grp
  ARM: zynq: Define rtc alias on zc702/zc706
  ARM: zynq: Point via nvmem0 alias to eeprom on zc702/zc706
  ARM: zynq: Define u-boot bootscrip addr via DT
  ARM: zynq: Wire smcc with nand/nor memories on zc770 platform
  ARM: zynq: Mark boot-phase-specific device nodes
  ARM: zynq: DT: List OCM memory for all platforms
  ARM: zynq: Remove deprecated device_type property
  ARM: zynq: Replace 'io-standard' with 'power-source' property

Link: https://lore.kernel.org/r/CAHTX3d+DZo3thrakBf=QCq91QFeChoizuhVa6oBBj9E+sdEXAQ@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 21:46:50 +01:00
Arnd Bergmann
32e0c5fe6e arm64: ZynqMP DT changes for 6.15
- Align clock nodes with DT binding
 - Add the first VN-X Versal NET board
 - Move constants out of DT bindings
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQbPNTMvXmYlBPRwx7KSWXLKUoMIQUCZ9RALAAKCRDKSWXLKUoM
 IeXRAJ95wV22J/Jts1AE3fVkslkqbtHxqACeOSWK3xxlS1AR74JUT9LP9jXjGVk=
 =W+cs
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbLPAACgkQYKtH/8kJ
 UifMKA/+KZ7nV5IGf9oXcVo6RSz17ME2cLK5igTdBWNN5uUJE237F18zyIz96Cec
 fii0zGoDeCCxAauN6d47X31wl5Kw87rq1vAZpA250+Nmi3N2BirS9Y95IN/uBzAR
 y2uj9rBRTRW3cK4BtunNf/rVP04kgVGm63GHWG59b/b62bllp4mxo4L9/g+5o7bU
 Oskmb69FBiq4dm78M8IexNOJCFlWUj6i8GV6Zxft6UvXwPEGp6UaFetYsWKKu/cH
 zs8zhT2CbPxOujd2n5tJVP+SgFcQdg084LL+xVqz0kh22AQBEyTPe0lQqGI0OKIv
 NrCP6xOdQa+a0D8jNWBhGZuG5IcKmnrM6b11u9v8Sjj99C2pk1cKFQTKMEX9vN+t
 t8HYaC/jhnu+26GF1JhELbOWyyBIyGolzoHrxcNZJDDbgs6AhZBMpzGZ/FAIeV3P
 LJ0erImPGTp1yTN/uuLjWijBcqkfp9ukCyWj/PS57VAe8dFN2ZSAVlhlGBOgOF58
 E7HHYJAHPTAwbJdTeKXdrlpl/rs4LBi9KsZyvGpoMZkoGkP53jF/qYMtmcl6Yq+B
 oFnhQAGoV2ogdX+/v3wvGcIf/v0nEMUwR6GlcooTgYxVhhIi1+FPV6df9FifatDT
 Qhmd08dYACNtfM/cwze3lbI6uKEqVNZOhLkkz+isDSI3JUH2mAA=
 =DdRO
 -----END PGP SIGNATURE-----

Merge tag 'zynqmp-dt-for-6.14' of https://github.com/Xilinx/linux-xlnx into soc/dt

arm64: ZynqMP DT changes for 6.15

- Align clock nodes with DT binding
- Add the first VN-X Versal NET board
- Move constants out of DT bindings

* tag 'zynqmp-dt-for-6.14' of https://github.com/Xilinx/linux-xlnx:
  dt-bindings: xilinx: Deprecate header with firmware constants
  arm64: zynqmp: Use DT header for firmware constants
  arm64: versal-net: Add description for b2197-00 revA board
  dt-bindings: soc: Add new VN-X board description based on Versal NET
  arm64: zynqmp: add clock-output-names property in clock nodes

Link: https://lore.kernel.org/r/CAHTX3d+u1VmxP4vm0peQS-ST7o0BuCpKUPRVCSLMfAAb=eV3Xg@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 21:45:36 +01:00
Arnd Bergmann
877fb9a3ca Allwinner device tree changes for 6.15
- New board support: NetCube Systems Kumquat
 - Enable USB and LED on Anbernic RG35XX
 - Fix reboot GPIO detection logic on Anbernic RG35XX
 - Disable (non-existent) battery thermistor on Anbernic RG35XX
 - Add CPU OPP table for A100
 -----BEGIN PGP SIGNATURE-----
 
 iQJCBAABCgAsFiEE2nN1m/hhnkhOWjtHOJpUIZwPJDAFAmfSxtYOHHdlbnNAY3Np
 ZS5vcmcACgkQOJpUIZwPJDAZ8g/7BhQDsWmS7CBtl1r0ovRR7t2N/slqoJMwFNix
 5AU4Zpj7XCGPyejq0qxEm1M3apaAJV3JlbF0XTIIE3rKxhfpzalzK1KQhc4oXYDR
 ze432ezkFE/7j8yjrBFQujufdyWpjHKlWs76oykkB7Wo03JKL1Smht2Vhx2bIRQA
 gs2Mb+cBiQuJJFcUF0TNUx/s7ivsjNT7ddNRULwBhvmpeTlROT5Jnd/YOZbUrA2E
 /61F32v+HAJE0eBjmZzVDgivIbi9kSovUzKtAY3ewsh+zytJ69TqRGVk0kH9n7+/
 PoPB2SkyImgnorgxNn1I5sOiMAHlGyQ0XOidQqNfPTZmrL2I0DCLKhcF6ozJ3HmT
 gHRlrcOQErsh4paZKXqkKuwyWJ1aQVveYiEJvqqD4rDR3x7wz+Tcd7XdaiFqV13u
 9x2z4aFkLcGEaPBFuFtWDdIgAeuSLiDGlL9GaAMAcGTBU4UT3pSoC6qKOhtYEMZJ
 qhBHg3PqJw7y/FQiQoHVfkNzMvYdcD5csai4ZgrTyd7xchlAVhHyiLL1aQMX1V1Q
 PBCHMcG3aX0RR9YaFgQwzOgbhCrzrHzbTFI8RukgqDxQAXC1Gjx7n56o1IKsRYmS
 pZCe4gT5BPyVpfjVmBzpYgSaCCnUMi4lSkAlRNC0EnUxtqgZua+Y6TUH8Fp88jQH
 ycuwxDo=
 =Q79O
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbLL0ACgkQYKtH/8kJ
 UidO5A//UN133qnDd+vQEx3cxq15FTMiUd7AkUTRfI6bpEMrXyZNITrXH5TAWsTH
 UKBZVooZ1/AooIHpI59xDgqEZQXzLqesF7OSIkPZ/6LkSUGrO8IFbUcxaf4c+qWa
 np0AjzcKUX44LOi/0iL0II/VpZxr9wIrB/a1nGR8FIfIYlqMegLfXy9J80OR4ov3
 s3BwKIGK8+MTJPEqLQcXXFSOyXvZt12vy9XOALXVTuo5KUL34cMOkGi43CaC7t9Y
 zvQbZQ4EVP6uhOSNlSK8J3vxH7XEDoh46AiEdlyXKKmMbu6tc+FchznBZnjt10Q2
 1dShBuu9G6OL3HD/CtMMlz1taOaTrCNmpgh4gNyKIOUnHKn7ESzpvnoVFtTZMlYT
 0EzqQ+U0jnDAr89tqtclBcc9i4gsit+p6VHaru0Z1+PYfNDQoiAY2rnF2nwa1w/F
 98VLV7ucRMONYWqx3tg0UW2JVEkG0ZJ8qpTrKMdYkTFO9fVab3IOWQCoAC9kjGPZ
 LGVa0T0XEvFE/e/ohpqzP7vset5xSAkjworeRmqUVJ9srbxACB7RAPq4CSZC4LKr
 bM9+pbYKMa7RXjAJ/RGYGZSTS4LNXKZtbsfa8S9q+8p7Ox7qvygdHz0YQQ9n5w6z
 n5sigVRb7Q/dNwFMXfBU5wiEGWg1gMworDoADuLGkr5xy5qVKKw=
 =56ER
 -----END PGP SIGNATURE-----

Merge tag 'sunxi-dt-for-6.15' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into soc/dt

Allwinner device tree changes for 6.15

- New board support: NetCube Systems Kumquat
- Enable USB and LED on Anbernic RG35XX
- Fix reboot GPIO detection logic on Anbernic RG35XX
- Disable (non-existent) battery thermistor on Anbernic RG35XX
- Add CPU OPP table for A100

* tag 'sunxi-dt-for-6.15' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  arm64: dts: allwinner: a100: Add CPU Operating Performance Points table
  arm64: dts: allwinner: rg35xx: Add no-thermistor property for battery
  arm64: dts: allwinner: h700: Add USB Host for RG35XX-H
  arm64: dts: allwinner: h700: Add LED1 for Anbernic RG35XX
  arm64: dts: allwinner: h700: Set cpusldo to always-on for RG35XX
  ARM: dts: sunxi: add support for NetCube Systems Kumquat
  ARM: dts: sunxi: add uart1_pe pinctrl for sun8i-v3s
  dt-bindings: arm: sunxi: Add NetCube Systems Kumquat board
  dt-bindings: vendor-prefixes: Add NetCube Systems Austria name

Link: https://lore.kernel.org/r/Z9LTOHJDY2p0lNG0@wens.tw
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 21:44:45 +01:00
Arnd Bergmann
3ef47a0436 Microchip AT91 device tree updates for v6.15
This update includes:
 - more controllers enabled for SAMA7D65 SoC (DMA, reset controller,
   shutdown controller, RTC, watchdog)
 - power monitor device enabled for SAMA7D65 Curiosity board
 - device tree cleanups
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQTsZ8eserC1pmhwqDmejrg/N2X7/QUCZ9HEvgAKCRCejrg/N2X7
 /ffGAQDtFnvX/D5YyyTAL5uv1qoB94jAasdGdkhfu/MbapVORgD7Bd2POe5m8Rr5
 +aR1ElCHPXBwde1eqcO5QR6mUGEGAQA=
 =t2Xg
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmfbLHwACgkQYKtH/8kJ
 UifyTxAA3CBlzXzTSXMfy28cYatr7jK0ZGHDeu8EyhP2wnLC97eShZoKTmyw2w/7
 ejKw0bKO5t5tqTbcDljDd0iTOnj5QKe3sJniwE5gTKmcfkogBRRfItOnIQAjYOEY
 4vBvPV92xnqmCuR/6oEoNQb3vLEttu9QTrrR21ch4afo6pjwEm7noOpSEwp93KQd
 nIeZ7GJxFNSqpm9UPfuFR39S5YVKHxsnCFsNQZVNCKoXsDlplDIZORJRCrvtCmJs
 prnz9rr9s82f91Sx7v/LKSAYdPM1chz8cnmWf8/80WWFbBytMZIsBSCLpO2zd89h
 iRN8Kh4miUKUATnKdVG/gijBqpl8RqO54FBsrO82/4DmuupVO9yM0uYdPeCs2BDf
 iPaD/+sMN3/yhEIe+hHrGrcNk7Na9zZWIoWTdh59W4+SQg4ldTvSjhfSps6tNSGy
 FgUA8NSKPTAlL/JBLHtzIm3BKji3csGFM6mUgWXcaPYNTwgEzEqD5o8tK4MeGfVp
 g7+/mM+O0FsdqHzAxS41t/PPPx/hgwcwir8DB7Tq3NZQTy6lCB5QURohz+nfKw1O
 P3JuYK5tVJOJfQdZAVuDm7MtsDA2Ok8fgG6ozedIbT8uDPrF/tvjuyQFw55noWVZ
 3LxcI17GP7SHNMg4Cj84YoT2AKhGAsgG43AYPkRNm1n/fELNAXg=
 =77xl
 -----END PGP SIGNATURE-----

Merge tag 'at91-dt-6.15' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into soc/dt

Microchip AT91 device tree updates for v6.15

This update includes:
- more controllers enabled for SAMA7D65 SoC (DMA, reset controller,
  shutdown controller, RTC, watchdog)
- power monitor device enabled for SAMA7D65 Curiosity board
- device tree cleanups

* tag 'at91-dt-6.15' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: microchip: sama7g5: add ADC hw trigger edge type
  ARM: dts: microchip: sama7d65: Add watchdog for sama7d65
  ARM: dts: microchip: sama7d65: Enable shutdown controller
  ARM: dts: microchip: sama7d65: Add SFRBU support to sama7d65
  ARM: dts: microchip: sama7d65: Add RTC support for sama7d65
  ARM: dts: microchip: sama7d65: Add Shutdown controller support
  ARM: dts: microchip: sama7d65: Add Reset Controller to sama7d65 SoC
  ARM: dts: microchip: fix faulty ohci/ehci node names
  ARM: dts: microchip: usb_a9263: fix wrong vendor
  ARM: dts: microchip: sama7d65: Enable DMAs
  ARM: dts: microchip: sama7d65: Add DMAs to sama7d65 SoC
  ARM: dts: microchip: sama7d65: Add chipID for sama7d65
  ARM: dts: microchip: sama7d65_curiosity: Add power monitor support
  ARM: dts: microchip: sama7d65: Add flexcom 10 node
  ARM: dts: at91: usb_a9g20_lpw: use proper mmc node name
  ARM: dts: at91: calao_usb: fix button nodes
  ARM: dts: at91: use correct vendor name for Calao boards
  ARM: dts: at91: calao_usb: remove heartbeat for User LEDs
  ARM: dts: at91: calao_usb: fix wrong polarity for LED

Link: https://lore.kernel.org/r/20250312173755.975074-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 21:43:40 +01:00
Arnd Bergmann
fc7136e149 STM32 DT for v6.15, round 1
Highlights:
 ----------
 
 - MPU:
   - STM32MP13:
     - Add thermal support.
     - Add Priva E-Measuringbox board support based on sTM32MP133C SoC.
       It embeds Ethernet RMII with TI phy, SDCard, eMMC and some
       sensors.
     - Add support for DHCOR SoM and DHSBC rev.200 board:
       TPM interrupts and gpio reset + LDO2/LDO5 support.
 
   - STMP32MP15:
     - Add new Octavo support: LXA FairyTux 2 based on OSD32MP153C SiP.
       It contains eMMC for storage, a gigabit Ethernet, a CAN bus and
       a RS485 transceiver.
     - Add Plymovent AQM board based on STM32MP151 SoC. It embeds:
       ETH RMII, WLAN, BT, Sensors (CO2, PM, pressure), Audio (I2S),
       Storage (SDCard, eMMC).
 
   - STM32MP25:
     - Add STM32MP257F Discovery board: It embeds a STM32MP257FAL SoC,
       with 4GB of LPDDR4, 2*USB typeA, 1*USB3 typeC, 1*ETH,
       wifi/BT combo, DSI HDMI, LVDS connector ...
 
     - Introduce STM32MP23 SoC and add STM32MP235F Discovery board:
       It embeds a STM32MP235FAK SoC, with 4GB of LPDDR4, 2*USB typeA,
       1*USB3 typeC, 1*ETH, wifi/BT combo, DSI HDMI, LVDS connector ...
 
     - Introduce STM32MP21 SoC and STM32MP215F discovery board:
       It embeds a STM32MP235FAN SoC, with 2GB of LPDDR4,
       1*USB2 peripheral bus powered typeC, 1*ETH, wifi/BT combo,
       LCD 18bit connector, CSI camera connector, ...
 -----BEGIN PGP SIGNATURE-----
 
 iQJRBAABCgA7FiEEctl9+nxzUSUqdELdf5rJavIecIUFAmfRrqodHGFsZXhhbmRy
 ZS50b3JndWVAZm9zcy5zdC5jb20ACgkQf5rJavIecIX6Jw/+M+2cLmsaxiRI8My9
 tJMOQqAAURUXxqmHDhD5PSYpMNvkVspJfBKZEWujgkSXHB3MVxwkpat3oirLuS8u
 uyqcwE+wybHHRqDjIy1/jSkldET2xwkY9oVRJ3LKPNlvh/eSX+OgAXWFHQ6X2VZ/
 SAHjXTmJmCTDzzCPh8R/WSSDThdq1Ce0T83BVkbnhq4S20tcYoyWC1RhYSUvFx/R
 rGY9jkXZt//6aaY3Bgifevcf1DAKFguFNL5R16mAg/tJa5CTv4Xyau09fnCZYsUj
 4ldNmGn4o8cku7svtSYwPwygadGOoVbUTjGFQo0CQuhbCM1MocYhcCPFEVTNnzDw
 UaNZ5i1ipq6h5cTz801QOecJEBQdNcrKrB8FcQQm2spA5E5vKZwCSmR4ajtGAr5E
 AhE9BXY8qWDIDPD7Gy5LHGS94juPWGqX3hOYYfBNLVGhEBif39I1Qg8Gbp1H33nX
 eQ3cDaj1QtYSKCv3Da/zXJkreEUzsJRFcVBWPGyuw1yjgMFPzOf74qPESc38fjWP
 nZfqSJVwb5dVpdUgdnouVaBcutyMSobWFh6tFdyycINs9TOGE4YROyq4+74m03D8
 ErUS4cm0bTssXZvA5eDVa8taeKo2U730WNktpRTQNaJ9JQMGDyNmdm/3Tun4C4wU
 8+UllZywmTUM/rwfBrN6Fq9FN1M=
 =C3kj
 -----END PGP SIGNATURE-----

Merge tag 'stm32-dt-for-v6.15-1' of https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into soc/dt

STM32 DT for v6.15, round 1

Highlights:
----------

- MPU:
  - STM32MP13:
    - Add thermal support.
    - Add Priva E-Measuringbox board support based on sTM32MP133C SoC.
      It embeds Ethernet RMII with TI phy, SDCard, eMMC and some
      sensors.
    - Add support for DHCOR SoM and DHSBC rev.200 board:
      TPM interrupts and gpio reset + LDO2/LDO5 support.

  - STMP32MP15:
    - Add new Octavo support: LXA FairyTux 2 based on OSD32MP153C SiP.
      It contains eMMC for storage, a gigabit Ethernet, a CAN bus and
      a RS485 transceiver.
    - Add Plymovent AQM board based on STM32MP151 SoC. It embeds:
      ETH RMII, WLAN, BT, Sensors (CO2, PM, pressure), Audio (I2S),
      Storage (SDCard, eMMC).

  - STM32MP25:
    - Add STM32MP257F Discovery board: It embeds a STM32MP257FAL SoC,
      with 4GB of LPDDR4, 2*USB typeA, 1*USB3 typeC, 1*ETH,
      wifi/BT combo, DSI HDMI, LVDS connector ...

    - Introduce STM32MP23 SoC and add STM32MP235F Discovery board:
      It embeds a STM32MP235FAK SoC, with 4GB of LPDDR4, 2*USB typeA,
      1*USB3 typeC, 1*ETH, wifi/BT combo, DSI HDMI, LVDS connector ...

    - Introduce STM32MP21 SoC and STM32MP215F discovery board:
      It embeds a STM32MP235FAN SoC, with 2GB of LPDDR4,
      1*USB2 peripheral bus powered typeC, 1*ETH, wifi/BT combo,
      LCD 18bit connector, CSI camera connector, ...

* tag 'stm32-dt-for-v6.15-1' of https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: (26 commits)
  arm64: dts: st: add stm32mp215f-dk board support
  dt-bindings: stm32: document stm32mp215f-dk board
  arm64: dts: st: introduce stm32mp21 SoCs family
  arm64: dts: st: add stm32mp235f-dk board support
  dt-bindings: stm32: document stm32mp235f-dk board
  arm64: dts: st: introduce stm32mp23 SoCs family
  dt-bindings: stm32: add STM32MP21 and STM32MP23 compatibles for syscon
  arm64: Kconfig: expand STM32 Armv8 SoC with STM32MP21/STM32MP23 SoCs family
  arm64: dts: st: add stm32mp257f-dk board support
  dt-bindings: stm32: document stm32mp257f-dk board
  ARM: dts: stm32: Add Plymovent AQM devicetree
  ARM: dts: stm32: Add pinmux groups for Plymovent AQM board
  dt-bindings: arm: stm32: Add Plymovent AQM board
  dt-bindings: sound: convert ICS-43432 binding to YAML
  ARM: dts: stm32: Add support for STM32MP13xx DHCOR SoM and DHSBC rev.200 board
  ARM: dts: stm32: use IRQ_TYPE_EDGE_FALLING on stm32mp157c-dk2
  ARM: dts: stm32: add usr3 LED node to stm32f769-disco
  ARM: dts: stm32: rename LEDs nodes for stm32f769-disco
  ARM: dts: stm32: add push button to stm32f746 Discovery board
  ARM: dts: stm32: add led to stm32f746 Discovery board
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 21:42:19 +01:00
Sohil Mehta
de844ef582 perf/x86/intel, x86/cpu: Replace Pentium 4 model checks with VFM ones
Introduce a name for an old Pentium 4 model and replace the x86_model
checks with VFM ones. This gets rid of one of the last remaining
Intel-specific x86_model checks.

Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250318223828.2945651-3-sohil.mehta@intel.com
2025-03-19 21:34:10 +01:00
Sohil Mehta
8b70c7436f perf/x86/intel, x86/cpu: Simplify Intel PMU initialization
Architectural Perfmon was introduced on the Family 6 "Core" processors
starting with Yonah. Processors before Yonah need their own customized
PMU initialization.

p6_pmu_init() is expected to provide that initialization for early
Family 6 processors. But, currently, it could get called for any Family
6 processor if the architectural perfmon feature is disabled on that
processor. To simplify, restrict the P6 PMU initialization to early
Family 6 processors that do not have architectural perfmon support and
truly need the special handling.

As a result, the "unsupported" console print becomes practically
unreachable because all the released P6 processors are covered by the
switch cases. Move the console print to a common location where it can
cover all modern processors (including Family >15) that may not have
architectural perfmon support enumerated.

Also, use this opportunity to get rid of the unnecessary switch cases in
P6 initialization. Only the Pentium Pro processor needs a quirk, and the
rest of the processors do not need any special handling. The gaps in the
case numbers are only due to no processor with those model numbers being
released.

Use decimal numbers to represent Intel Family numbers. Also, convert one
of the last few Intel x86_model comparisons to a VFM-based one.

Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250318223828.2945651-2-sohil.mehta@intel.com
2025-03-19 21:34:09 +01:00
Michael Jeanson
d047e32b8d rseq/selftests: Fix namespace collision with rseq UAPI header
When the rseq UAPI header is included, 'union rseq' clashes with 'struct
rseq'. It's not the case in the rseq selftests but it does break the KVM
selftests that also include this file.

Rename 'union rseq' to 'union rseq_tls' to fix this.

Fixes: e6644c967d ("rseq/selftests: Ensure the rseq ABI TLS is actually 1024 bytes")
Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/r/20250319202144.1141542-1-mjeanson@efficios.com
2025-03-19 21:26:24 +01:00
Victor Skvortsov
9c05636ca7 drm/amdgpu: Skip pcie_replay_count sysfs creation for VF
VFs cannot read the NAK_COUNTER register. This information is only
available through PMFW metrics.

Signed-off-by: Victor Skvortsov <victor.skvortsov@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:56:27 -04:00
Candice Li
a5f7e90fe0 drm/amdgpu: Add active_umc_mask to ras init_flags
Add active_umc_mask to ras init_flags.

Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:56:23 -04:00
Lijo Lazar
a7818b15cf Documentation/amdgpu: Add debug_mask documentation
Add description for debug_mask bit options.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:56:19 -04:00
Lijo Lazar
ab6893402a drm/amd/pm: Add debug bit for smu pool allocation
In certain cases, it's desirable to avoid PMFW log transactions to
system memory. Add a mask bit to decide whether to allocate smu pool in
device memory or system memory.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:56:13 -04:00
Alex Deucher
3b669df92c drm/amdgpu/vcn: adjust workload profile handling
No need to make the workload profile setup dependent
on the results of cancelling the delayed work thread.
We have all of the necessary checking in place for the
workload profile reference counting, so separate the
two.  As it is now, we can theoretically end up with
the call from begin_use happening while the worker
thread is executing which would result in the profile
not getting set for that submission.  It should not
affect the reference counting.

v2: bail early if the the profile is already active (Lijo)

Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:56:09 -04:00
Alex Deucher
9e34d8d1a1 drm/amdgpu/gfx: adjust workload profile handling
No need to make the workload profile setup dependent
on the results of cancelling the delayed work thread.
We have all of the necessary checking in place for the
workload profile reference counting, so separate the
two.  As it is now, we can theoretically end up with
the call from begin_use happening while the worker
thread is executing which would result in the profile
not getting set for that submission.  It should not
affect the reference counting.

v2: bail early if the the profile is already active (Lijo)

Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:56:04 -04:00
Candice Li
5762f9dcf7 drm/amdgpu: Add EEPROM I2C address support for smu v13_0_12
Add EEPROM I2C address support for smu v13_0_12.

Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:56:00 -04:00
Alex Deucher
ca6575a32a drm/amdgpu/vcn: fix ref counting for ring based profile handling
We need to make sure the workload profile ref counts are
balanced.  This isn't currently the case because we can
increment the count on submissions, but the decrement may
be delayed as work comes in.  Track when we enable the
workload profile so the references are balanced.

v2: switch to a mutex and active flag
v3: fix mutex init

Fixes: 1443dd3c67 ("drm/amd/pm: fix and simplify workload handling")
Cc: Yang Wang <kevinyang.wang@amd.com>
Cc: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:54:36 -04:00
Alex Deucher
553673a3e1 drm/amdgpu/gfx: fix ref counting for ring based profile handling
We need to make sure the workload profile ref counts are
balanced.  This isn't currently the case because we can
increment the count on submissions, but the decrement may
be delayed as work comes in.  Track when we enable the
workload profile so the references are balanced.

v2: switch to a mutex and active flag
v3: fix mutex init

Fixes: 8fdb3958e3 ("drm/amdgpu/gfx: add ring helpers for setting workload profile")
Cc: Yang Wang <kevinyang.wang@amd.com>
Cc: Kenneth Feng <kenneth.feng@amd.com>
Tested-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:52:56 -04:00
Harish Kasiviswanathan
fed7efbb43 drm/amdkfd: Fix bug in config_dequeue_wait_counts
For certain ASICs where dequeue_wait_count don't need to be initialized,
pm_config_dequeue_wait_counts_v9 return without filling in the packet
information. However, the calling function interprets this as a success
and sends the uninitialized packet to firmware causing hang.

Fix the above bug by not calling pm_config_dequeue_wait_counts_v9 for
ASICs that don't need the value to be initialized.

v2: Removed redudant code.
    Tidy up code based on review comments
v3: Don't call pm_config_dequeue_wait_counts_v9 for certain ASICs

Fixes: ed962f8d06 ("drm/amdkfd: Add pm_config_dequeue_wait_counts API")
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:51:44 -04:00
FengWei
5199e8ac07 drm/radeon/uvd: Replace nested max() with single max3()
Use max3() macro instead of nesting max() to simplify the return
statement.

Signed-off-by: FengWei <feng.wei8@zte.com.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:51:40 -04:00
Christian König
0d9a95099d drm/amdgpu: grab an additional reference on the gang fence v2
We keep the gang submission fence around in adev, make sure that it
stays alive.

v2: fix memory leak on retry

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-03-19 15:51:31 -04:00
David Thompson
f30dab9d88 MAINTAINERS: Add a secondary maintainer for bluefield_edac
Add David as a secondary maintainer.

  [ bp: Rewrite commit message. ]

Signed-off-by: David Thompson <davthompson@nvidia.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20250319181630.2673-1-davthompson@nvidia.com
2025-03-19 20:33:31 +01:00
Eric Biggers
acf9f8da5e x86/crc: drop the avx10_256 functions and rename avx10_512 to avx512
Intel made a late change to the AVX10 specification that removes support
for a 256-bit maximum vector length and enumeration of the maximum
vector length.  AVX10 will imply a maximum vector length of 512 bits.
I.e. there won't be any such thing as AVX10/256 or AVX10/512; there will
just be AVX10, and it will essentially just consolidate AVX512 features.

As a result of this new development, my strategy of providing both
*_avx10_256 and *_avx10_512 functions didn't turn out to be that useful.
The only remaining motivation for the 256-bit AVX512 / AVX10 functions
is to avoid downclocking on older Intel CPUs.  But I already wrote
*_avx2 code too (primarily to support CPUs without AVX512), which
performs almost as well as *_avx10_256.  So we should just use that.

Therefore, remove the *_avx10_256 CRC functions, and rename the
*_avx10_512 CRC functions to *_avx512.  Make Ice Lake and Tiger Lake use
the *_avx2 functions instead of *_avx10_256 which they previously used.

Link: https://lore.kernel.org/r/20250319181316.91271-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
2025-03-19 12:22:00 -07:00
Jonathan Corbet
323cc36ef6 Chinese translation docs for 6.15-rc1
This is the Chinese translation subtree for 6.15-rc1. It just
 includes few changes:
         - Chinese disclaimer change
         - add a new translation doc: snp-tdx-threat-model
         - fix a typo
 Above patches are tested by 'make htmldocs/pdfdocs'
 
 Signed-off-by: Alex Shi <alexs@kernel.org>
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCgAvFiEEZFWMuCq1F2HcVvoPesqFB/fkdOYFAmfaPLMRHGFsZXhzQGtl
 cm5lbC5vcmcACgkQesqFB/fkdOaptxAAghWMGl4Sag8rNkK9iF3Wl1eNfHPkagNd
 TlYMn3BmcYo3E3ytN0rLsn3kVbkKfET/eiKDX/hSt8YfY6fszYrRHclZDQeFaxmH
 r+ZryfGqD13cD7JkjClR4ptilhlCW22wNTiML0FnwR0R9v4zjCJZkyyNn1vdyQyH
 oGhX7Xzgiz2If1BCH2rHWw9vuvaJXDQJtrLTh9wFj1T9k05fSvCpzPKWWNVXDmns
 N/BHpDtLy9dNON2UWw9QIFPWi2kfaZqpSo9JvuJroWMnQwWSgOAn4pNt2lNMC3oo
 AMUQpB4RQZVqq5SuEYBdxC+dxnNBVoCk4C661mJ8dgBkgyToQBZHLkYWRF9WYrk6
 UeZDOsbpOFqZBbzsplcYo0WIrgmujwv0QmSgR6rTgsDprqwnJ0/cnzqSCjI88/fp
 CKJYhORIybDv2gT1JWyBohepTCRXCsquCdnYs1243w3bUZ6bI2fYU4fg8AePd+Uo
 KiD7T+UqrqM9P5uZQWz2IDpuU+4FInYyMGH8YUACRLaaoJ94lloyxGkyydZPQnmg
 fjuaBb+9ku0F10YyndVPn/ZhLU4HXTsEzJ4Hj60qzb8mK7LUTUXxlXIrYzHnir1s
 ZgQJf7FBwu4Hk8+tnj5xyfu6JMkm+J7rB/AdyzNrrjoSRKPpaM5tp3XywDI1tEO+
 eFXYWN6M0Yg=
 =lEYN
 -----END PGP SIGNATURE-----

Merge tag 'chinese-doc-6.15-rc1' of gitolite.kernel.org:pub/scm/linux/kernel/git/alexs/linux into docs-mw

Chinese translation docs for 6.15-rc1

This is the Chinese translation subtree for 6.15-rc1. It just
includes few changes:
        - Chinese disclaimer change
        - add a new translation doc: snp-tdx-threat-model
        - fix a typo
Above patches are tested by 'make htmldocs/pdfdocs'

Signed-off-by: Alex Shi <alexs@kernel.org>
2025-03-19 13:10:23 -06:00
Johannes Berg
1794d7ab34 wifi: mt76: mt7996: fix locking in mt7996_mac_sta_rc_work()
The 'continue' statements need to be under spinlock, since
the spinlock needs to be held as a loop invariant.

Fixes: 0762bdd302 ("wifi: mt76: mt7996: rework mt7996_mac_sta_rc_work to support MLO")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-03-19 19:44:25 +01:00
Paolo Abeni
a0aff75e15 bluetooth pull request for net:
- hci_event: Fix connection regression between LE and non-LE adapters
  - Fix error code in chan_alloc_skb_cb()
 -----BEGIN PGP SIGNATURE-----
 
 iQJNBAABCAA3FiEE7E6oRXp8w05ovYr/9JCA4xAyCykFAmfUWpAZHGx1aXoudm9u
 LmRlbnR6QGludGVsLmNvbQAKCRD0kIDjEDILKVf5D/9sOWdQHyD5O3JUmG9Z9RP5
 CWsuJMHIqNlx+DWo//rxjD5iyzMozIutW8DS7zEW+Ndct++hn2VnM2BVqmLN5c81
 QqTRPJzULOTz1wpckCZ5dfpEAliXL57YUrtrsefWNEVGooBSNblkCvNjsa1Xq6BQ
 FmQ49avxxs4lxNBxA5vLqNBuWKqH1oeH6Q2shL350iX8qYiCk1+1cozA4LvDP+lE
 2qiOirYjRaarql7rcU+SC9PSt+cVQ/0OCRsOu2n0dbrjRn5KAWsq2+zEh36dP0Ks
 x+tmyYQWJk6Cyb+z/N2VN2NWpIIl9OiY3PSOCfNVD43MZ/RIk8QZgW+UjapbXShO
 1dDFOA4LLI5c2gNg4Px/lnNTd7bBU0smrv0AQ+CD/9zlDd0TJtbvtFCx/rYPEH8n
 sY2tzplfYeBLbbrHeaN0RHR0GQW1IYHcNTjctNeFcJBewKAAX2m7JnylWsG/ZCw9
 qW+c5qv6L+sGCHi92AQrxc0GU3/Pdl6t1YUow0nHFPu+7Elb3T/KOkaIWRauiAA1
 C6cKkp+iMyTb0Q6beh3s3FgF24MmEIBSwGAUrworvQm5+tzC5l75cv7mSQtwGMR0
 8V7x0e77zaTZ9ncgvloAwu5M472TvM/HdVkG/oODH5ab19kTiUOPHN2CtNeLpFo4
 pI8fKTzFtNSQISpVyARw5A==
 =+VUv
 -----END PGP SIGNATURE-----

Merge tag 'for-net-2025-03-14' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth

Luiz Augusto von Dentz says:

====================
bluetooth pull request for net:

 - hci_event: Fix connection regression between LE and non-LE adapters
 - Fix error code in chan_alloc_skb_cb()

* tag 'for-net-2025-03-14' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth:
  Bluetooth: hci_event: Fix connection regression between LE and non-LE adapters
  Bluetooth: Fix error code in chan_alloc_skb_cb()
====================

Link: https://patch.msgid.link/20250314163847.110069-1-luiz.dentz@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 19:44:05 +01:00
Johannes Berg
90c8021155 mt76 patches for 6.15
- preparation for mt7996 mlo support
 - fixes
 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - http://gpgtools.org
 
 iF0EABECAB0WIQR10Rp9kadxD0kAQu/XfRQdAqdu9QUCZ9rK6QAKCRDXfRQdAqdu
 9WA9AKCTVeaXEtZN3ORdnFKhz5CpLBWo7QCcDb6PRaSE/jazna7/yc6KKpmiU4c=
 =9Kaf
 -----END PGP SIGNATURE-----

Merge tag 'mt76-next-2025-03-19' of https://github.com/nbd168/wireless

Felix Fietkau says:
====================
mt76 patches for 6.15

- preparation for mt7996 mlo support
- fixes
====================

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-03-19 19:38:07 +01:00
Kees Cook
3d97da0ee6 net: macb: Add __nonstring annotations for unterminated strings
When a character array without a terminating NUL character has a static
initializer, GCC 15's -Wunterminated-string-initialization will only
warn if the array lacks the "nonstring" attribute[1]. Mark the arrays
with __nonstring to correctly identify the char array as "not a C string"
and thereby eliminate the warning:

In file included from ../drivers/net/ethernet/cadence/macb_main.c:42:
../drivers/net/ethernet/cadence/macb.h:1070:35: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (33 chars into 32 available) [-Wunterminated-string-initialization]
 1070 |         GEM_STAT_TITLE(TX1519CNT, "tx_greater_than_1518_byte_frames"),
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ethernet/cadence/macb.h:1050:24: note: in definition of macro 'GEM_STAT_TITLE_BITS'
 1050 |         .stat_string = title,                           \
      |                        ^~~~~
../drivers/net/ethernet/cadence/macb.h:1070:9: note: in expansion of macro 'GEM_STAT_TITLE'
 1070 |         GEM_STAT_TITLE(TX1519CNT, "tx_greater_than_1518_byte_frames"),
      |         ^~~~~~~~~~~~~~
../drivers/net/ethernet/cadence/macb.h:1097:35: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (33 chars into 32 available) [-Wunterminated-string-initialization]
 1097 |         GEM_STAT_TITLE(RX1519CNT, "rx_greater_than_1518_byte_frames"),
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/ethernet/cadence/macb.h:1050:24: note: in definition of macro 'GEM_STAT_TITLE_BITS'
 1050 |         .stat_string = title,                           \
      |                        ^~~~~
../drivers/net/ethernet/cadence/macb.h:1097:9: note: in expansion of macro 'GEM_STAT_TITLE'
 1097 |         GEM_STAT_TITLE(RX1519CNT, "rx_greater_than_1518_byte_frames"),
      |         ^~~~~~~~~~~~~~

Since these strings are copied with memcpy() they do not need to be
NUL terminated, and can use __nonstring:

                        memcpy(p, gem_statistics[i].stat_string,
                               ETH_GSTRING_LEN);

Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 [1]
Signed-off-by: Kees Cook <kees@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250312200700.make.521-kees@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 19:32:04 +01:00
Paolo Abeni
8904eeb9de Merge branch 'netconsole-allow-selection-of-egress-interface-via-mac-address'
Uday Shankar says:

====================
netconsole: allow selection of egress interface via MAC address

This series adds support for selecting a netconsole egress interface by
specifying the MAC address (in place of the interface name) in the
boot/module parameter.

Signed-off-by: Uday Shankar <ushankar@purestorage.com>
====================

Link: https://patch.msgid.link/20250312-netconsole-v6-0-3437933e79b8@purestorage.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 19:18:00 +01:00
Uday Shankar
f8a10bed32 netconsole: allow selection of egress interface via MAC address
Currently, netconsole has two methods of configuration - module
parameter and configfs. The former interface allows for netconsole
activation earlier during boot (by specifying the module parameter on
the kernel command line), so it is preferred for debugging issues which
arise before userspace is up/the configfs interface can be used. The
module parameter syntax requires specifying the egress interface name.
This requirement makes it hard to use for a couple reasons:
- The egress interface name can be hard or impossible to predict. For
  example, installing a new network card in a system can change the
  interface names assigned by the kernel.
- When constructing the module parameter, one may have trouble
  determining the original (kernel-assigned) name of the interface
  (which is the name that should be given to netconsole) if some stable
  interface naming scheme is in effect. A human can usually look at
  kernel logs to determine the original name, but this is very painful
  if automation is constructing the parameter.

For these reasons, allow selection of the egress interface via MAC
address when configuring netconsole using the module parameter. Update
the netconsole documentation with an example of the new syntax.
Selection of egress interface by MAC address via configfs is far less
interesting (since when this interface can be used, one should be able
to easily convert between MAC address and interface name), so it is left
unimplemented.

Signed-off-by: Uday Shankar <ushankar@purestorage.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Tested-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250312-netconsole-v6-2-3437933e79b8@purestorage.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 19:17:58 +01:00
Uday Shankar
6d6c1ba782 net, treewide: define and use MAC_ADDR_STR_LEN
There are a few places in the tree which compute the length of the
string representation of a MAC address as 3 * ETH_ALEN - 1. Define a
constant for this and use it where relevant. No functionality changes
are expected.

Signed-off-by: Uday Shankar <ushankar@purestorage.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@verge.net.au>
Link: https://patch.msgid.link/20250312-netconsole-v6-1-3437933e79b8@purestorage.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 19:17:58 +01:00
Linus Torvalds
a7f2e10ecd hwmon fixes for v6.14-rc8/v6.14
- Fix an entry in MAINTAINERS to avoid sending hwmon review requests
   to the i2c mailing list.
 
 - Fix an out-of-bounds access in nct6775 driver
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEiHPvMQj9QTOCiqgVyx8mb86fmYEFAmfa2LYACgkQyx8mb86f
 mYEClg/+P9yFn9EWd3FbXB5ESuzrIuUsch97KLGxyJ/UF8aAdElLermByXFv59kd
 VpQq2eKHlOr9eZic0UwNabW7XQI2GbGoz76uTOEXwvt4bIiO92lm9MJn+Ig0g5Gr
 ejRu6HXvT6Iw3MfmAE4Z0EguVNbwVZB6SwEM8Quz3yQ1POnZ+Nu1ljiEX3J90Rrh
 PdJlcdhVi2cgNMpakTcWsDZLByv8FYAw1zXRfUogLi1F/EDUo1/XrOkRXwrGKJ0C
 VpaZNq5VMR/Zjuf7TZxq74AI71v47cv3cBT5cWZpHS2WHaZElJadOScU6CH6nE/w
 1N25Ij3syBfFGJ+sVcGhb3J1PDOh6AQ9aR6ZhJlG0bxaxrX9G+dFdCr9bNXxJBWB
 w9o6isaWtY9NHM0FMYbaAJ+CVTIP2SO5V304IcUvd1w94MC9n5WghnVgXo8XCyis
 zDhBX55E3rFH51PrK28sP42IcVFLA+Eb+2qTOuPmaMvZ6qS89gHkl6cuttU/fu1l
 9weuef8U4mDLHmYMPb2qsw+OjTI/78tzotv3WVV0Bnle69ZNZVn449ByfWN4WpEm
 m8AxZY24f4t0BUxNXWvKQp1uBADagqsEiOfEBrM7T9wnjSrIEqhStdnqMHioluwo
 lNJ8pFsowaR5DKMp0NP8xc7oKjB7xBrGF1+rc0/OCW/KjWktytc=
 =aD6V
 -----END PGP SIGNATURE-----

Merge tag 'hwmon-fixes-for-v6.14-rc8/6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull hwmon fixes from Guenter Roeck:

 - Fix an entry in MAINTAINERS to avoid sending hwmon review requests to
   the i2c mailing list

 - Fix an out-of-bounds access in nct6775 driver

* tag 'hwmon-fixes-for-v6.14-rc8/6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
  hwmon: (nct6775-core) Fix out of bounds access for NCT679{8,9}
  MAINTAINERS: correct list and scope of LTC4286 HARDWARE MONITOR
2025-03-19 11:12:18 -07:00
Russell King (Oracle)
c9cb135bc6 net: stmmac: dwc-qos-eth: use devm_kzalloc() for AXI data
Everywhere else in the driver uses devm_kzalloc() when allocating the
AXI data, so there is no kfree() of this structure. However,
dwc-qos-eth uses kzalloc(), which leads to this memory being leaked.
Switch to use devm_kzalloc().

Fixes: d8256121a9 ("stmmac: adding new glue driver dwmac-dwc-qos-eth")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1tsRyv-0064nU-O9@rmk-PC.armlinux.org.uk
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 19:08:29 +01:00
Jason Gunthorpe
cb83f4b965 gpu: host1x: Do not assume that a NULL domain means no DMA IOMMU
Previously with tegra-smmu, even with CONFIG_IOMMU_DMA, the default domain
could have been left as NULL. The NULL domain is specially recognized by
host1x_iommu_attach() as meaning it is not the DMA domain and
should be replaced with the special shared domain.

This happened prior to the below commit because tegra-smmu was using the
NULL domain to mean IDENTITY.

Now that the domain is properly labled the test in DRM doesn't see NULL.
Check for IDENTITY as well to enable the special domains.

This is the same issue and basic fix as seen in
commit fae6e669cd ("drm/tegra: Do not assume that a NULL domain means no
DMA IOMMU").

Fixes: c8cc2655cc ("iommu/tegra-smmu: Implement an IDENTITY domain")
Reported-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Closes: https://lore.kernel.org/all/c6a6f114-3acd-4d56-a13b-b88978e927dc@tecnico.ulisboa.pt/
Tested-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/0-v1-10dcc8ce3869+3a7-host1x_identity_jgg@nvidia.com
2025-03-19 19:05:40 +01:00
Heiner Kallweit
34e5ededf4 r8169: switch away from deprecated pcim_iomap_table
Avoid using deprecated pcim_iomap_table by switching to
pcim_iomap_region.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/a36b4cf3-c792-40fa-8164-5dc9d5f14dd0@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 19:03:31 +01:00
Arnd Bergmann
eb6a0803c9 mips: export pci_iounmap()
I added this function in an earlier patch, but the missing export caused
a build failure

Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2025-03-19 18:59:13 +01:00
Charles Keepax
502a668fad
ASoC: ops: Apply platform_max after deciding control type
It doesn't really make sense for the type of a control to change based
on the platform_max field. platform_max allows a specific system to
limit values of a control for safety but it seems reasonable the
control type should remain the same between different systems, even
if it is restricted down to just two values. Move the application of
platform_max to after control type determination in soc_info_volsw().

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250319175123.3835849-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-03-19 17:56:36 +00:00
Charles Keepax
94dfe71f0a
ASoC: ops: Remove some unnecessary local variables
Remove some local variables that aren't adding much in terms of clarity
or space saving.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250319175123.3835849-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-03-19 17:56:35 +00:00
Charles Keepax
1e3cd64a29
ASoC: ops: Factor out common code from get callbacks
There are only two differences between snd_soc_get_volsw() and
snd_soc_get_volsw_sx(). The maximum field is handled differently, and
snd_soc_get_volsw() supports double controls with both values in the
same register.

Factor out the common code into a new helper and pass in the
appropriate max value such that it is handled correctly for each
control.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250319175123.3835849-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-03-19 17:56:34 +00:00
Paolo Abeni
05b815fc50 Merge branch 'net-bring-back-dev_addr_sem'
Stanislav Fomichev says:

====================
net: bring back dev_addr_sem

Kohei reports an issue with dev_addr_sem conversion to netdev instance
lock in [0]. Based on the discussion, switching to netdev instance
lock to protect the address might not work for the devices that
are not using netdev ops lock.
Bring dev_addr_sem instance lock back but fix the ordering.

0: https://lore.kernel.org/netdev/20250308203835.60633-2-enjuk@amazon.com
====================

Link: https://patch.msgid.link/20250312190513.1252045-1-sdf@fomichev.me
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 18:52:03 +01:00
Stanislav Fomichev
6dd132516f net: reorder dev_addr_sem lock
Lockdep complains about circular lock in 1 -> 2 -> 3 (see below).

Change the lock ordering to be:
- rtnl_lock
- dev_addr_sem
- netdev_ops (only for lower devices!)
- team_lock (or other per-upper device lock)

1. rtnl_lock -> netdev_ops -> dev_addr_sem

rtnl_setlink
  rtnl_lock
    do_setlink IFLA_ADDRESS on lower
      netdev_ops
        dev_addr_sem

2. rtnl_lock -> team_lock -> netdev_ops

rtnl_newlink
  rtnl_lock
    do_setlink IFLA_MASTER on lower
      do_set_master
        team_add_slave
          team_lock
            team_port_add
	      dev_set_mtu
	        netdev_ops

3. rtnl_lock -> dev_addr_sem -> team_lock

rtnl_newlink
  rtnl_lock
    do_setlink IFLA_ADDRESS on upper
      dev_addr_sem
        netif_set_mac_address
          team_set_mac_address
            team_lock

4. rtnl_lock -> netdev_ops -> dev_addr_sem

rtnl_lock
  dev_ifsioc
    dev_set_mac_address_user

__tun_chr_ioctl
  rtnl_lock
    dev_set_mac_address_user

tap_ioctl
  rtnl_lock
    dev_set_mac_address_user

dev_set_mac_address_user
  netdev_lock_ops
    netif_set_mac_address_user
      dev_addr_sem

v2:
- move lock reorder to happen after kmalloc (Kuniyuki)

Cc: Kohei Enju <enjuk@amazon.com>
Fixes: df43d8bf10 ("net: replace dev_addr_sem with netdev instance lock")
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250312190513.1252045-3-sdf@fomichev.me
Tested-by: Lei Yang <leiyang@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 18:52:00 +01:00
Stanislav Fomichev
8033d2aef5 Revert "net: replace dev_addr_sem with netdev instance lock"
This reverts commit df43d8bf10.

Cc: Kohei Enju <enjuk@amazon.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Fixes: df43d8bf10 ("net: replace dev_addr_sem with netdev instance lock")
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250312190513.1252045-2-sdf@fomichev.me
Tested-by: Lei Yang <leiyang@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 18:52:00 +01:00
Jonathan Lennox
756f88ff9c tc-tests: Update tc police action tests for tc buffer size rounding fixes.
Before tc's recent change to fix rounding errors, several tests which
specified a burst size of "1m" would translate back to being 1048574
bytes (2b less than 1Mb).  sprint_size prints this as "1024Kb".

With the tc fix, the burst size is instead correctly reported as
1048576 bytes (precisely 1Mb), which sprint_size prints as "1Mb".

This updates the expected output in the tests' matchPattern values
to accept either the old or the new output.

Signed-off-by: Jonathan Lennox <jonathan.lennox@8x8.com>
Link: https://patch.msgid.link/20250312174804.313107-1-jonathan.lennox@8x8.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-19 18:40:24 +01:00