Commit graph

1,399,042 commits

Author SHA1 Message Date
Arnd Bergmann
f0cba6f523 Amlogic ARM64 DT changes for v6.13:
- Add PWM nodes for Amlogic A1 & C3
 - Addd missing power-domains properties
 - Fix G12 uart node name
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEPVPGJshWBf4d9CyLd9zb2sjISdEFAmcrcasACgkQd9zb2sjI
 SdFYnQ//WJnC0RAlDA2lTLK2VbTkbrjcMzUmZt1dbfIYu8lYbeh0hbBZgXbR0QEn
 4noWnCMKDcVtGJJX88FubpT+Nvh9rbGft3nDMe/9Z+iei544nFczo5p45QO4G2PA
 5sW8YG4hHM2BWtX7uo4ohKwfVf5Vh0QhP5h7SH1uZU/Qoif8tbOCHrN4XoXX16K7
 ejIRp97vuL1QqcOaR5KTm+m970Xp1y2zCvXwWR93AsoEtmQZOIz648cVj9md55Gx
 OUMC7VkQTFn0dWVBOd6e+ANYZWgH7sL5sfiv5VeZBKsCEmG/lLGdR5p7KxbU9Dp5
 xyt+Dz6Tf6oDkW8jpliA/XFiDuKdRjXTVCZK7nbx+Dcw/icWhblTEPToVWLh8fFR
 KK5mZUxrdO8VnjCi35BnzYZDajAO9DUPCWefX6SdNbrDhlI2FmluSLwx3f0xzf1F
 wrqSMB3saHfD8iiTpvU5ehvR/3mXp78TnQG5jcDsFdXR5qbbidsrzJ15sKKj/gwo
 oOn2R6rHG0mTdxbNyJw/w3Z3aVARmF7pMch6KwxYkwjniob+r6+MA4pPNv6NgRgQ
 JT6O3vMprjKEIilLUNYbPh+6pijZtkSUXob34unHTQBJ8HHtKn7WzospytMBFdis
 XIbiy4ZncdLAh+WnIiuMxMCbDChz9O2twe2AdU8jHRuzCISeYeA=
 =wkwh
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczzfoACgkQYKtH/8kJ
 UifpyhAA2JGpiKqGPlHzrmn7FcPYqH5r1RsvSD7sZACEkiWO7CZ/FfP8qZ595RXc
 4ugsBKmfaHg1Y3sZdp6Pa6IHa8xehBOqWhgINduQarabNAhRuV3jIUTj8D6l1wfg
 CZl9sRkNzAnb+0N9s9JO6Cvb5on5/8pgeRz4s+7gRrY0WRImHobUbINwlo2aOmf7
 rmbS1cU8IVxjWfHPg2oDr2z4npMl9POtywO4/xQMnH6W0Jpi7wAJV1nSvsqTEdpo
 uTg3/ioWl/9icp0CAKRBWpGngiy6wkOUOx+bVTPPw7wHQfqyr1cFxl9Vhr6ueDHd
 Z70wH9JRn93KWnQEQM0pzMuQYJ+a4/xpljTpBbTqj06qYRvGk74Bp1o5KCQtW0me
 q6YH+GFASL7S41sGtHow15gb7NiRZzai8OStyi7mTNU5iQDDONgu6q/LcI4WRjWI
 4g8LsmbzFozjawUV6eU1QeFyj8DV9WsC1AROulVgpTJz9tcGDEgNr8YdU6dbYMYa
 2Uo/MQsBtUCsUJQbZQSpwPNIFM7zQFRGaTdli5c4dSPA5owrqaB5iAZUEY28I9f3
 hK8hlXsgKNtMqKB2q5qU72A4OB5IQ2m7UZ0XIkCaMDQG8zUlE9CXv/0Tr1NSe2nd
 c3d0m5UAN1bpPAMQkZYGVjZcQf+cBhj1nQ7ePmMSptdkf56m2OY=
 =s/ur
 -----END PGP SIGNATURE-----

Merge tag 'amlogic-arm64-dt-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into soc/dt

Amlogic ARM64 DT changes for v6.13:
- Add PWM nodes for Amlogic A1 & C3
- Addd missing power-domains properties
- Fix G12 uart node name

* tag 'amlogic-arm64-dt-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  arm64: dts: amlogic: Add Amlogic C3 PWM
  arm64: dts: meson-g12-common: fix uart-ao-a typo
  arm64: dts: meson: a1: bind power domain to temperature sensor
  arm64: dts: meson: a1: add definitions for meson PWM

Link: https://lore.kernel.org/r/6fb3d64a-3913-4db0-9cdc-336af32a88a9@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:51:54 +01:00
Zqiang
2996980e20 rcu/nocb: Fix missed RCU barrier on deoffloading
Currently, running rcutorture test with torture_type=rcu fwd_progress=8
n_barrier_cbs=8 nocbs_nthreads=8 nocbs_toggle=100 onoff_interval=60
test_boost=2, will trigger the following warning:

	WARNING: CPU: 19 PID: 100 at kernel/rcu/tree_nocb.h:1061 rcu_nocb_rdp_deoffload+0x292/0x2a0
	RIP: 0010:rcu_nocb_rdp_deoffload+0x292/0x2a0
	 Call Trace:
	  <TASK>
	  ? __warn+0x7e/0x120
	  ? rcu_nocb_rdp_deoffload+0x292/0x2a0
	  ? report_bug+0x18e/0x1a0
	  ? handle_bug+0x3d/0x70
	  ? exc_invalid_op+0x18/0x70
	  ? asm_exc_invalid_op+0x1a/0x20
	  ? rcu_nocb_rdp_deoffload+0x292/0x2a0
	  rcu_nocb_cpu_deoffload+0x70/0xa0
	  rcu_nocb_toggle+0x136/0x1c0
	  ? __pfx_rcu_nocb_toggle+0x10/0x10
	  kthread+0xd1/0x100
	  ? __pfx_kthread+0x10/0x10
	  ret_from_fork+0x2f/0x50
	  ? __pfx_kthread+0x10/0x10
	  ret_from_fork_asm+0x1a/0x30
	  </TASK>

CPU0                               CPU2                          CPU3
//rcu_nocb_toggle             //nocb_cb_wait                   //rcutorture

// deoffload CPU1             // process CPU1's rdp
rcu_barrier()
    rcu_segcblist_entrain()
        rcu_segcblist_add_len(1);
        // len == 2
        // enqueue barrier
        // callback to CPU1's
        // rdp->cblist
                             rcu_do_batch()
                                 // invoke CPU1's rdp->cblist
                                 // callback
                                 rcu_barrier_callback()
                                                             rcu_barrier()
                                                               mutex_lock(&rcu_state.barrier_mutex);
                                                               // still see len == 2
                                                               // enqueue barrier callback
                                                               // to CPU1's rdp->cblist
                                                               rcu_segcblist_entrain()
                                                                   rcu_segcblist_add_len(1);
                                                                   // len == 3
                                 // decrement len
                                 rcu_segcblist_add_len(-2);
                             kthread_parkme()

// CPU1's rdp->cblist len == 1
// Warn because there is
// still a pending barrier
// trigger warning
WARN_ON_ONCE(rcu_segcblist_n_cbs(&rdp->cblist));
cpus_read_unlock();

                                                                // wait CPU1 to comes online and
                                                                // invoke barrier callback on
                                                                // CPU1 rdp's->cblist
                                                                wait_for_completion(&rcu_state.barrier_completion);
// deoffload CPU4
cpus_read_lock()
  rcu_barrier()
    mutex_lock(&rcu_state.barrier_mutex);
    // block on barrier_mutex
    // wait rcu_barrier() on
    // CPU3 to unlock barrier_mutex
    // but CPU3 unlock barrier_mutex
    // need to wait CPU1 comes online
    // when CPU1 going online will block on cpus_write_lock

The above scenario will not only trigger a WARN_ON_ONCE(), but also
trigger a deadlock.

Thanks to nocb locking, a second racing rcu_barrier() on an offline CPU
will either observe the decremented callback counter down to 0 and spare
the callback enqueue, or rcuo will observe the new callback and keep
rdp->nocb_cb_sleep to false.

Therefore check rdp->nocb_cb_sleep before parking to make sure no
further rcu_barrier() is waiting on the rdp.

Fixes: 1fcb932c8b ("rcu/nocb: Simplify (de-)offloading state machine")
Suggested-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Zqiang <qiang.zhang1211@gmail.com>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 22:51:52 +01:00
Arnd Bergmann
bf7626089a Amlogic ARM DT changes for v6.13:
- DT fixes to pass bindings chedk, including:
  - fixing nodes names
  - dropping meson6 ATV1200 board
  - add missing properties
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEPVPGJshWBf4d9CyLd9zb2sjISdEFAmcrcQ0ACgkQd9zb2sjI
 SdG/0w//eruAQigovZ3UkZmcoxRIWW7kTKk5pQpxFypFIVSrqxGv1VLCzvMBuTyH
 OPYLsD7Di7KJ36og6/JcNw9sRQeqFbrv53NfS8GsBKP+n2w/9Woo+ulKEW0EDAzS
 ZS5EexUeW7mNgA019oBwwnN/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vk5rJI4EyV3yhXsV9ofW7I6WMHyibCgNw3oU+Etnypu1mPIA/85wLM4GG
 RsxDLhu99t7tKUhskTbGBRFtms5EyvdrADZB9wPXOlVSzIldo8+6Td9Ox4OgCYxP
 VY6UkmzSkJKVLeuDzyDbmJPwlqcUpsqIQyW9cc9dMudzMxndrKiq7tF1ija+Yy6d
 TZIEEdOvta+RKr5yTkwuorFan14+q1HRrGoZca5rm6WEedPLHV9Z2Vs32kt1/2b9
 aglYJCXpNgJ3j5PD9qmUkul1kgmoFSGSk6pweyv3mo+s2+SdmaE=
 =PZR6
 -----END PGP SIGNATURE-----

Merge tag 'amlogic-arm-dt-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into soc/dt

Amlogic ARM DT changes for v6.13:
- DT fixes to pass bindings chedk, including:
 - fixing nodes names
 - dropping meson6 ATV1200 board
 - add missing properties

* tag 'amlogic-arm-dt-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  ARM: dts: amlogic: meson8/8b: remove invalid pinctrl reg
  ARM: dts: amlogic: meson8b-ec100: add missing gpio-line-names entry
  ARM: dts: amlogic: meson8b-ec100: add missing clocks property in sound card
  ARM: dts: amlogic: meson8-minix-neo-x8: fix invalid pnictrl-names
  ARM: dts: amlogic: add missing phy-mode in ethmac node
  ARM: dts: amlogic: meson8: use correct pinctrl bank node name
  ARM: dts: amlogic: fix /memory node name
  ARM: dts: amlogic: meson8b-odroidc1: fix invalid reset-gpio
  ARM: dts: amlogic: meson6: remove support for ATV1200 board
  ARM: dts: amlogic: meson8: fix ao_arc_sram node name
  ARM: dts: amlogic: meson8: fix soc thermal-zone node name
  ARM: dts: amlogic: meson6: fix clk81 node name

Link: https://lore.kernel.org/r/ffaa3755-8c5d-4fc3-86bf-9129d3889bff@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:50:58 +01:00
Arnd Bergmann
44533285bd RISC-V Devicetrees for v6.13
Sophgo:
 Add pinctrl support for CV1800B & CV1812H.
 Add SARADC support for CV1800B.
 Add initial LicheeRV-Nano/SG2002.
 Add emmc/sdio support for Huashan-Pi/CV1812H.
 Add power-key support for PioneerBox/SG2042.
 
 Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
 -----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCgAdFiEEdoBX2jyDC9ZCTwZjDCzASqG0i0IFAmcqtTQACgkQDCzASqG0
 i0L1tgv+PWqLxcujgIumXDkUWtT/jXzU5ArTtg3Id0tRyQbP9PpCavscFcw6dVOc
 W7VC/zv1sq3ucHbUpb+V9rzf/lrGDzJxJSKdLAvJ06R0DdQ59jzto9nKnFP8oamI
 +u0Dk39kt1gJuaV134YJnBxS3kgURCgxyipnDGa53vTeo7/Xzf3tsyxNymWbmC59
 BOXXO8IqEqgJhp937UpJlwoGvKkt+9lBWCZa+c6YoRjNAl0aJt5xfzNpJZh+AWnb
 xMvCeMOvFC9FAoNMlQKaAbdWxLMr1a/A/zLGc/rOnZRB6XWTDFQaioyEq40ODNQ0
 Daq/b75jz/c9bjmAykTTOdNNLvZzTgxfzpIlLobdp0XBc5/TO2xOiLgQuwmxS+Uo
 R17HVKiYXW1tRDcTmQFMqUH/C07WtaeZlTleOjLnI4Un2uvujdIEVKgSabNCQ+Ld
 QUJUx56r57dUUcNg+4CHiQN1/tYCEx16DsGIS7T8inpJ49Ib2tIfasckJe8JCW38
 F0WKGVjT
 =x/yY
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczzR4ACgkQYKtH/8kJ
 UidIOQ/8CXNrQ8P5Kc7WyUKOt9zOqWbE3BLp0/gKzknFppIDn+D6fIR+O2PemPfe
 pkRXAqlMTS5Mbh6iXBpWhxb0jlG6MaGpwWjf4N/ymDRqGm0GY9mCjvTs42KCkWLM
 kSudV/HtJwcfdWJZCSxCveMsaiXsQT0DiCLqPmhtgx8q9DQGXuIype/pReHaYYj6
 kCdICU2NXms463wJ9+T+NWq/gCsjEGEq+1/Syt9OFmkoMJOVkQDXi+hn1UD20VVo
 dQV6C6wSPL75cVl+n8DkvrTQN7V7H0wjSFh3ql8cO5RW07qlFC9gZuEuSO7GWvDA
 KwuqVNE9MXZR2FNocCe4+YXA9CBKFt8177Gs5+cSd47D9hzUOqmBz25ci7OhPOYo
 dZDxsGAC5J250wJoQwqctZNMb0Owf5OyvYt2aKh4ez8lWqGmGIqEq/8WwODmrEM3
 ir4FZ6WhsHWfStCeG/gzPTTWWlRBGHBqTrrYkOnblSyz+uVSryWtAS4eAUg9Ivh0
 XwT0Q0+JUH9YymIkyUbQqUX1TmKttU7yCdPVqY9S7lWJuUJGmyVeGFrLvmv+j+Dp
 BhrIMTCLkJ6rmwF93kpO4uPyaHTBY3v4wGGjAkYU7/YOHKuA8MCofwF3lPdWnq/Y
 84EJPbZBc6eT7yLAyLIQGrzg1UM33n9LUhdeqk7mkoU24qaEkS8=
 =RocM
 -----END PGP SIGNATURE-----

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

RISC-V Devicetrees for v6.13

Sophgo:
Add pinctrl support for CV1800B & CV1812H.
Add SARADC support for CV1800B.
Add initial LicheeRV-Nano/SG2002.
Add emmc/sdio support for Huashan-Pi/CV1812H.
Add power-key support for PioneerBox/SG2042.

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

* tag 'riscv-sophgo-dt-for-v6.13' of https://github.com/sophgo/linux:
  riscv: dts: sophgo: Add emmc support for Huashan Pi
  riscv: dts: sophgo: Add sdio configuration for Huashan Pi
  riscv: dts: sophgo: fix pinctrl base-address
  riscv: sophgo: dts: add power key for pioneer box
  riscv: dts: sophgo: Add SARADC description for Sophgo CV1800B
  riscv: dts: sophgo: Add LicheeRV Nano board device tree
  riscv: dts: sophgo: Add initial SG2002 SoC device tree
  riscv: dts: sophgo: cv1812h: add pinctrl support
  riscv: dts: sophgo: cv1800b: add pinctrl support

Link: https://lore.kernel.org/r/MA0P287MB2822DC23E1EE47A5C7D41476FE532@MA0P287MB2822.INDP287.PROD.OUTLOOK.COM
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:48:14 +01:00
Kuldeep Singh
bdcbb3f8ab
arm64: dts: lg131x: Update spi clock properties
PL022 binding require two clocks to be defined but LG1312 and LG1313
platforms don't comply with bindings and define only one clock.

Update spi clocks and clocks-names property by adding appropriate clock
reference to make it compliant with bindings.

CC: Chanho Min <chanho.min@lge.com>
Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20241105-dts-spi-fixes-v2-2-623501e5d1ca@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:47:47 +01:00
Kuldeep Singh
55d0969c45
arm64: dts: seattle: Update spi clock properties
PL022 binding require two clocks to be defined but AMD seattle platform
does't comply with binding and define only one clock i.e apb_pclk.

Update spi clocks and clocks-names property by adding appropriate clock
reference to make it compliant with bindings.

CC: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20241105-dts-spi-fixes-v2-1-623501e5d1ca@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:47:47 +01:00
Arnd Bergmann
f50f6052c3 Qualcomm Arm64 DeviceTree changes for v6.13
Introduce descriptions of the 8cx Gen3-based Microsoft Surface Pro 9 5G,
 X Elite based Dell XPS 13 9345, the QCS9100 platform and the "Ride"
 development boards thereon, and the SM7325 platform and the Nothing
 Phone 1.
 
 MSM8998 gains support for HDMI. The Lenovo Miix 630 gains support for
 volume keys, audio and sensor DSPs, touchscreen, and its specific WiFi
 calibration variant.
 
 On QCM6490, Fairphone FP5 gains a thermistor adjacent to UFS/RAM, while
 the IDP gains UFS and WiFi support. For QCS6490 changes to Rb3Gen2
 enables WiFi, Venus, PCIe, SD-card, and volume keys. Adreno speedbins
 are adjusted and PMU nodes' compatibles for the two clusters are
 corrected.
 
 The DB845C/RB3 and QRB5165 RB5 vision mezzanines are converted to
 DeviceTree overlays, and both gains CMA heap for libcamera to use.
 
 SA8775P gains GPI DMA support, support for controlling download mode
 (bootloader-assisted ramdump support), additional UARTs, and qcrypto
 support. The "Ride" development board gains WiFi and Bluetooth support.
 
 On SC8280XP (8cx Gen3) another UART is described, used in the
 Microsoft Surface 9 5G. The WiFi/BT combo chip's power management unit
 is described on the CRD and Lenovo ThinkPad X13s.
 
 On SDM630/660 the GPU SMMU and clock controller is added, as is the
 A2Noc and LPASS SMMU, and the DSP-based WiFi device. GPU, modem DSP and
 WiFi is then enabled on the Inforce 6560 development board.
 
 On SM8450 Hardware Development Kit, the WCN6855 is modelled to enable
 WiFi and Bluetooth. A "global" interrupt is defined on SM8450 PCIe RC
 controller, to enable hotplug.
 
 On X Elite, USB Type-C controllers are marked as usb-role-switch
 capable, the GICv3 ITS is enabled for PCIe. TCSR region is described and
 wired up to allow setting and cleaning the download mode
 (bootloader-assisted ramdump) flag, and residency numbers for C4/C5 are
 updated.
 
 USB role switch is enabled on Lenovo ThinkPad T14s and the ASUS Vivobook
 S15. The T14s also gains support for a second source trackpad. The
 Microsoft Surface Laptop gains LID switch and the USB Type-A connector
 attached to the multiport controller is enabled. The CRD has its HID
 device power supplies described.
 
 Application SMMU is flagged as DMA coherent across QDU1000, SC7180,
 SC8180X, SC8280XP, SDM670, SDM845, SM8150, SM8350, SM8450, and X1E80100.
 
 In addition to this, the effort to improve style and binding compliance
 continued.
 -----BEGIN PGP SIGNATURE-----
 
 iQJJBAABCAAzFiEEBd4DzF816k8JZtUlCx85Pw2ZrcUFAmcqTFoVHGFuZGVyc3Nv
 bkBrZXJuZWwub3JnAAoJEAsfOT8Nma3FTLEQALnrquJ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v4ir5blhlMMWFPRif9cxp1msrd+7nLYBKtBW/65+If5Od3aCg0I6H7beMAFRCr
 H2mO0RadU/E7Q00i8pT48/5/vaDFpyEuvdxRdq4LVkfoqOVnIvj+hV7BMrQpudyy
 /0R1+13FNjKrBI/4UcgaZH06N/i0A296Sxj53jEDgoB/hqr4XpzzrrxvApu44BEU
 dJLGr2LEOe7+rfhXcu8kRwtuza6F0gYL5SfL1zNGfcdSeUNyKd/9j1FqTvmJsBSW
 5zZfgHuiuGb86FSOvIXhEIxKyC19aO8El8tiqGOX2e8HsG23pLJTS6yUQqGxlvt6
 2WSwIzgn7XBOAaCePcVDkpau5rpcqNt2X5Ka9+M2ebXdInjRPHXA9G0LBUbrHYvU
 LcCtK0m7wyDkQYIwuDEBg/xsrg4hpRsvCV5DRR6oD9jtixGnWRU=
 =JBWR
 -----END PGP SIGNATURE-----

Merge tag 'qcom-arm64-for-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/dt

Qualcomm Arm64 DeviceTree changes for v6.13

Introduce descriptions of the 8cx Gen3-based Microsoft Surface Pro 9 5G,
X Elite based Dell XPS 13 9345, the QCS9100 platform and the "Ride"
development boards thereon, and the SM7325 platform and the Nothing
Phone 1.

MSM8998 gains support for HDMI. The Lenovo Miix 630 gains support for
volume keys, audio and sensor DSPs, touchscreen, and its specific WiFi
calibration variant.

On QCM6490, Fairphone FP5 gains a thermistor adjacent to UFS/RAM, while
the IDP gains UFS and WiFi support. For QCS6490 changes to Rb3Gen2
enables WiFi, Venus, PCIe, SD-card, and volume keys. Adreno speedbins
are adjusted and PMU nodes' compatibles for the two clusters are
corrected.

The DB845C/RB3 and QRB5165 RB5 vision mezzanines are converted to
DeviceTree overlays, and both gains CMA heap for libcamera to use.

SA8775P gains GPI DMA support, support for controlling download mode
(bootloader-assisted ramdump support), additional UARTs, and qcrypto
support. The "Ride" development board gains WiFi and Bluetooth support.

On SC8280XP (8cx Gen3) another UART is described, used in the
Microsoft Surface 9 5G. The WiFi/BT combo chip's power management unit
is described on the CRD and Lenovo ThinkPad X13s.

On SDM630/660 the GPU SMMU and clock controller is added, as is the
A2Noc and LPASS SMMU, and the DSP-based WiFi device. GPU, modem DSP and
WiFi is then enabled on the Inforce 6560 development board.

On SM8450 Hardware Development Kit, the WCN6855 is modelled to enable
WiFi and Bluetooth. A "global" interrupt is defined on SM8450 PCIe RC
controller, to enable hotplug.

On X Elite, USB Type-C controllers are marked as usb-role-switch
capable, the GICv3 ITS is enabled for PCIe. TCSR region is described and
wired up to allow setting and cleaning the download mode
(bootloader-assisted ramdump) flag, and residency numbers for C4/C5 are
updated.

USB role switch is enabled on Lenovo ThinkPad T14s and the ASUS Vivobook
S15. The T14s also gains support for a second source trackpad. The
Microsoft Surface Laptop gains LID switch and the USB Type-A connector
attached to the multiport controller is enabled. The CRD has its HID
device power supplies described.

Application SMMU is flagged as DMA coherent across QDU1000, SC7180,
SC8180X, SC8280XP, SDM670, SDM845, SM8150, SM8350, SM8450, and X1E80100.

In addition to this, the effort to improve style and binding compliance
continued.

* tag 'qcom-arm64-for-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (120 commits)
  arm64: dts: qcom: sdm845-db845c-navigation-mezzanine: Add cma heap for libcamera softisp support
  arm64: dts: qcom: qrb5165-rb5-vision-mezzanine: Add cma heap for libcamera softisp support
  arm64: dts: qcom: qrb5165-rb5-vision-mezzanine: Drop redundant clock-lanes from camera@1a
  arm64: dts: qcom: sc8280xp-x13s: Drop redundant clock-lanes from camera@10
  arm64: dts: qcom: sdm845-db845c-navigation-mezzanine: Convert mezzanine riser to dtso
  arm64: dts: qcom: qrb5165-rb5-vision-mezzanine: Convert mezzanine riser to dtbo
  arm64: dts: qcom: sm8450-hdk: model the PMU of the on-board wcn6855
  arm64: dts: qcom: sc8280xp-x13s: model the PMU of the on-board wcn6855
  arm64: dts: qcom: sc8280xp-crd: enable bluetooth
  arm64: dts: qcom: sc8280xp-crd: model the PMU of the on-board wcn6855
  arm64: dts: qcom: qcs9100: Add support for the QCS9100 Ride and Ride Rev3 boards
  dt-bindings: arm: qcom: Document qcs9100-ride and qcs9100-ride Rev3
  arm64: dts: qcom: x1e80100: Update C4/C5 residency/exit numbers
  arm64: dts: qcom: x1e80100-crd: describe HID supplies
  arm64: dts: qcom: msm8998-lenovo-miix-630: add WiFi calibration variant
  arm64: dts: qcom: msm8998-clamshell: enable resin/VolDown
  arm64: dts: qcom: msm8998-lenovo-miix-630: enable VolumeUp button
  arm64: dts: qcom: msm8998-lenovo-miix-630: enable aDSP and SLPI
  arm64: dts: qcom: msm8998-lenovo-miix-630: enable touchscreen
  arm64: dts: qcom: qcs6490-rb3gen2: Add PCIe nodes
  ...

Link: https://lore.kernel.org/r/20241105164901.7787-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:45:37 +01:00
Arnd Bergmann
cbfa4e486e ARM: dts: OMAP updates for v6.13
Misc. minor updates for OMAP3, OMAP4, AM3 and DRA7 platforms.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEe4dGDhaSf6n1v/EMWTcYmtP7xmUFAmcpG0wACgkQWTcYmtP7
 xmVAqA/+Mv7F+6LSiDQPMETWJ1N2V/AcFI88fIvsHryx1TaaIiqrsVZ02BJF/gRI
 w2CEBS7ioMmdNWgpT3OB3A1vaaoYNEX7NEYCapVR/loK5xwtnOoG3IZyHSQU7VcF
 np42qkzxnAbnafV2MYuDxadXstKYrU++M1kVshKY4rNo+db85Fk3yopofl4QHSfW
 yLQs1xSXj8Flw11fm0BIehENMYFUYvs0fwy1PJviw9GJhVzlBByd8groeiNBgl0K
 JMKq4/yi4xeI/5ooo7Ltlv+BEzP3UZzwTOjLRdiJYGbO8M6ScTHNmnRjrm5Cv+3o
 EC562u28czaZhhAbX1r9gVLsKvKO4FX5q8GNbYXtjVKGudkwGJKxsQlgqtBDmCJu
 YNvdhZTjgRFVKtFdjzfLyZXSvJX+9mzTSH4n3zncoJ4fbRrtpMrOoxEuadrrNP3X
 UPf1i23j42XjlHxgqzn80/jcZKMnK22JZ8Sd1vg8+Iq+huMGcLcPd5ICYcaP38uc
 UQaHjHt9Youw0PsKWzb0c6+55XotKYi8eHCwgX2uxiFj8XmjJmU/MGDR6Df0NJJZ
 Zjh77lwVptk3tsyddlzfmdx0uw4W1iwa4EMi7M8uxfxqpHIUNnTiTSGXuXovccAR
 IOtQEKhv1hdQXRienXPdkEznuR8o7G//lzb/B+us872qhOSRpKo=
 =tPAO
 -----END PGP SIGNATURE-----

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

ARM: dts: OMAP updates for v6.13

Misc. minor updates for OMAP3, OMAP4, AM3 and DRA7 platforms.

* tag 'omap-for-v6.13/dt-signed-1' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap:
  ARM: dts: omap4-kc1: fix twl6030 power node
  ARM: dts: am335x-bone-common: Increase MDIO reset deassert delay to 50ms
  ARM: dts: ti/omap: omap4-epson-embt2ws: add charger
  ARM: dts: omap36xx: declare 1GHz OPP as turbo again
  ARM: ti/omap: omap3-gta04a5: add Bluetooth
  ARM: dts: ti/omap: dra7: fix redundant clock divider definition
  ARM: dts: ti/omap: use standard node name for twl4030 charger
  ARM: dts: omap: omap4-epson-embt2ws: add GPIO expander
  ARM: dts: omap: omap4-epson-embt2ws: add unknown gpio outputs
  ARM: dts: omap: omap4-epson-embt2ws: wire up regulators
  ARM: dts: omap: omap4-epson-embt2ws: define GPIO regulators
  ARM: dts: ti: dra7: Remove double include of clock bindings
  ARM: dts: ti: omap3434-sdp: drop linux,mtd-name from onenand node
  ARM: dts: ti: omap: am335x-baltos: drop "gpmc,device-nand" from NAND node
  ARM: dts: ti: drop linux,mtd-name from NAND nodes
  ARM: dts: ti/omap: Fix at24 EEPROM node names
2024-11-12 22:44:07 +01:00
Arnd Bergmann
8cd0d9b997 Renesas DTS updates for v6.13 (take two)
- Add a CPU Operating Performance Points table for the RZ/V2H SoC,
   - Add Battery Backup Function (VBATTB) and RTC support for the RZ/G3S
     SoC and the RZ/G3S SMARC SoM,
   - Add DMAC support for MMC on the RZ/A1H SoC and the Genmai
     development board,
   - Miscellaneous fixes and improvements.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCZyjGagAKCRCKwlD9ZEnx
 cHrRAPsETRczaN2vpy+9m0EJuN+QhlX980jiLYndIx8YUvMG3QD/XdLdG4MnGQtg
 2x8u2BfbbXOIrV2YWErVIVn/bQNAMgk=
 =FjWC
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczy8sACgkQYKtH/8kJ
 UiewXw//cs/9vlIVVRkS/BUR3O2cMDvkbKqqoAuQjMHUXWyK4QR4e7+DiWm5LSeQ
 XPn4ny+Aaq1W3Xms6fn5axiW0F34/RoyPDjYLfX9vikAfhPM+tX6MOkxF3hi+ZAw
 laxl8vYjFe+NBXBB8MLF1ULRT8FViA/ND90QrDBRK9EIVM7B3YoDDTxwuG0eaCJj
 inMRwvLQlxyHaspl4SLaiE1MfhkYe85203SWh6//7d1ZVTF9SKqMA7YjDqJ5Y32b
 +SgDIyMALbOso7uZVaB7PkPVCQwWdrqf494eukROC+pJPvPkmnAiNox7aEBF0IOa
 aBU3kMYUQ/VUUj8D7w3gD2ywYDcKG8tdWBpAGqe+XmJ2OmvQnpFzKZPkRL7EheAH
 edR3Jd6XMi/9cGOxf3iSpWG/nE4ilKuDtz0QUHnpf6mqBLDeJxMoaq8a4F5HKb6x
 upKm7rdVShbU5HCHnO/SANgXYt63IisO9KCoQkvEwEsxx3Yz6/xmjnX01x32HG94
 FDQYizN6ZtJdjTJQQV0wLV8KMVlhRVtFsYwNSxwbCT172uyoUWqM9PdA2eQZciDQ
 YtFBl1b+Qn0c77eN5dAbrbM2RmzmJ/dGjMreDwBB4gTh1NJanw8kzO940INXbVkz
 41DvH2mqMQG8z/Z/8j7sVxJFPXJJrsDDlZLxhatY4lSa2X4gFjc=
 =7QOY
 -----END PGP SIGNATURE-----

Merge tag 'renesas-dts-for-v6.13-tag2' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.13 (take two)

  - Add a CPU Operating Performance Points table for the RZ/V2H SoC,
  - Add Battery Backup Function (VBATTB) and RTC support for the RZ/G3S
    SoC and the RZ/G3S SMARC SoM,
  - Add DMAC support for MMC on the RZ/A1H SoC and the Genmai
    development board,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.13-tag2' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: rzg3s-smarc-som: Enable RTC
  arm64: dts: renesas: rzg3s-smarc-som: Enable VBATTB
  arm64: dts: renesas: r9a08g045: Add RTC node
  arm64: dts: renesas: r9a08g045: Add VBATTB node
  arm64: dts: renesas: white-hawk-cpu-common: Add pin control for DSI-eDP IRQ
  ARM: dts: renesas: r7s72100: Add DMA support to MMCIF
  ARM: dts: renesas: r7s72100: Add DMAC node
  arm64: dts: renesas: hihope: Drop #sound-dai-cells
  dt-bindings: clock: renesas,r9a08g045-vbattb: Document VBATTB
  dt-bindings: clock: r9a08g045-cpg: Add power domain ID for RTC
  arm64: dts: renesas: r9a09g057: Add OPP table

Link: https://lore.kernel.org/r/cover.1730726155.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:42:35 +01:00
Christoph Hellwig
6975c1a486 block: remove the ioprio field from struct request
The request ioprio is only initialized from the first attached bio,
so requests without a bio already never set it.  Directly use the
bio field instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241112170050.1612998-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-11-12 14:42:02 -07:00
Christoph Hellwig
61952bb734 block: remove the write_hint field from struct request
The write_hint is only used for read/write requests, which must have a
bio attached to them.  Just use the bio field instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241112170050.1612998-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-11-12 14:42:02 -07:00
Arnd Bergmann
dc2fe29c88 MediaTek ARM64 DeviceTree updates for v6.13
MT8195 (also called MT8395)
  - Enabled GPU support on Genio 1200 EVK
  - Added sound-dai-cells for audio codec on MT8195 Cherry Chromebooks
 
 MT8192:
  - Added support Asurada Chromebook variants with Synaptics trackpad
 
 MT8188 (also called MT8390):
  - Added support for CPU DVFS, IOMMU, PWM hardware, SPMI bus,
    Audio, socinfo, PCI-Express, DisplayPort, MIPI DSI, Ethernet,
    Video HW Encoders (Stateful) and HW Decoders (Stateless),
    JPEG HW Encoder/Decoder.
  - Enabled GPU support on Genio 700 EVK
 
 MT8183:
  - Added support for Video HW Encoders (Stateful)
  - Added HDMI support on MT8183 Pumpkin board
  - Fixed some regulators to provide the actual description of the
    power rails in MT8183 Kukui Chromebooks
  - Disabled DPI display interface on MT8183 Kukui Chromebooks
    to fix internal display probing
  - Fixed address of EEPROM found on MT8183 Kakadu/Kodama Chromebooks
  - Added SCL internal delay on I2C2 bus for improved I2C-HID devices
    reliability on MT8183 Jacuzzi Chromebooks
 
 MT7988:
  - Added support for eFuses and UART controllers
 
 Plus, addition of OF Graph support in MediaTek MMSYS and some cleanups
 and dtbs_check fixes for MT8195 and for all machines using the MT6358
 PMIC.
 -----BEGIN PGP SIGNATURE-----
 
 iJ4EABYKAEYWIQQn3Xxr56ypAcSHzXSaNgTPrZeEeAUCZyirxygcYW5nZWxvZ2lv
 YWNjaGluby5kZWxyZWdub0Bjb2xsYWJvcmEuY29tAAoJEJo2BM+tl4R4k6sBAMmV
 tJACZuinOzG29f+XCE9xNsQt2y73J6fYt9mfFda4AP9/R2tN4WboZeEiQu5kL3Ky
 RT+b39DO3r6/PScwxifGAw==
 =Uxfa
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczy30ACgkQYKtH/8kJ
 UifRSg/9FErCfPdgY3XeF+Dg/1Da3dfiIpUk7p+PAdqLsqGeLd+5O8PMSxlxaZ9U
 Z+Rowu2dHnzfaOLGMg+syxAGHGrVLWzNrPYfMbR/dRLWhiVP8/CslBsc0BvKKiBy
 efq+S9lmm90BtaY2W6i5+Gldfevo1XCtcR/LczOw+SbykwYfAa8McIVsn4TGLmcA
 3OCFauGRJG2/WylIkMS8VDqei0wXXBfdRDs21gn/xK3fJgrU+dJY4xbYFwmghDpD
 dZz1DaiZ5txyFXF814PnEing32wtEWESn9CtZ8QXLVeI7bpkgPfGVKvfbjfyNuZX
 +oFD0aqQVQ2Hj9mUQQHjFLOm1qvmAor3yFfESma4BpHO0TgOhf2EPc44eMEtucfd
 Ck5sL3y9uQdjil8rl8NVL9IsX42tI7xhUQ6UJp/wmf5vwGTmhz/ekq/ARA2Wv/MC
 TwY9LMJVUu8iYN26Yev9/E8lPRNpgG218y3HHfiDMG+qf7gN/Cqms81VwSITcU79
 dBQghJ9r8zcEo6BTnUeqX6VNucR60Ni+fDt7CQd41I/NUY555jzESJRi8EQ45Eja
 /LxG/XW56sZkBwrp9qI1febMAYvqS6KjJ3Z0mgcO/PWzz5IDStpFjSnfxEhCh3+y
 yCwaS+mRaSt/6ZMW+uvhYKZT2eb1udY2vPaPEu7HaMkbVkQ+UfU=
 =dpjb
 -----END PGP SIGNATURE-----

Merge tag 'mtk-dts64-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux into soc/dt

MediaTek ARM64 DeviceTree updates for v6.13

MT8195 (also called MT8395)
 - Enabled GPU support on Genio 1200 EVK
 - Added sound-dai-cells for audio codec on MT8195 Cherry Chromebooks

MT8192:
 - Added support Asurada Chromebook variants with Synaptics trackpad

MT8188 (also called MT8390):
 - Added support for CPU DVFS, IOMMU, PWM hardware, SPMI bus,
   Audio, socinfo, PCI-Express, DisplayPort, MIPI DSI, Ethernet,
   Video HW Encoders (Stateful) and HW Decoders (Stateless),
   JPEG HW Encoder/Decoder.
 - Enabled GPU support on Genio 700 EVK

MT8183:
 - Added support for Video HW Encoders (Stateful)
 - Added HDMI support on MT8183 Pumpkin board
 - Fixed some regulators to provide the actual description of the
   power rails in MT8183 Kukui Chromebooks
 - Disabled DPI display interface on MT8183 Kukui Chromebooks
   to fix internal display probing
 - Fixed address of EEPROM found on MT8183 Kakadu/Kodama Chromebooks
 - Added SCL internal delay on I2C2 bus for improved I2C-HID devices
   reliability on MT8183 Jacuzzi Chromebooks

MT7988:
 - Added support for eFuses and UART controllers

Plus, addition of OF Graph support in MediaTek MMSYS and some cleanups
and dtbs_check fixes for MT8195 and for all machines using the MT6358
PMIC.

* tag 'mtk-dts64-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux: (55 commits)
  arm64: dts: mediatek: mt8183-kukui: Drop bogus fixed regulators
  arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add supplies for fixed regulators
  arm64: dts: mediatek: mt8183-kukui-jacuzzi: Fix DP bridge supply names
  arm64: dts: mediatek: mt6358: fix dtbs_check error
  arm64: dts: mediatek: mt8186-corsola: Fix IT6505 reset line polarity
  arm64: dts: mt8183: Damu: add i2c2's i2c-scl-internal-delay-ns
  arm64: dts: mt8183: cozmo: add i2c2's i2c-scl-internal-delay-ns
  arm64: dts: mt8183: burnet: add i2c2's i2c-scl-internal-delay-ns
  arm64: dts: mt8183: fennel: add i2c2's i2c-scl-internal-delay-ns
  dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path
  arm64: dts: mediatek: mt8186-corsola: Fix GPU supply coupling max-spread
  arm64: dts: mediatek: mt8195-cherry: Use correct audio codec DAI
  arm64: dts: mediatek: mt8188: Fix USB3 PHY port default status
  arm64: dts: mediatek: mt8173-elm-hana: Add vdd-supply to second source trackpad
  arm64: dts: mediatek: mt8186-corsola-voltorb: Merge speaker codec nodes
  arm64: dts: mediatek: mt8390-genio-700-evk: Enable ethernet
  arm64: dts: mediatek: mt8188: Add ethernet node
  arm64: dts: mediatek: mt8188: Add eDP and DP TX nodes
  arm64: dts: mediatek: mt8188: Add DP-INTF nodes
  arm64: dts: mediatek: mt8188: Add display nodes for vdosys1
  ...

Link: https://lore.kernel.org/r/20241104112625.161365-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:41:17 +01:00
Arnd Bergmann
cdc9f8bdf7 i.MX arm64 device tree changes for 6.13:
- New device support: Boundary Device Nitrogen8MP, Kontron OSM-S i.MX8MP
   SoM and BL carrier board, Verdin Ivy carrier board, DHCOM SoM on DRC02
   and PicoITX, Gateworks GW82XX-2X, etc.
 - A series from Carlos Song to add LPSPI alias for i.MX8 and i.MX9 SoCs
 - A couple of changes from Ciprian Marian Costea to improve S32G uSDHC
   and SD/eMMC support
 - A couple of changes from Francesco Dolcini to improve SD regulator
   startup delay for Verdin devices
 - A bunch of changes from Frank Li to add I3C overlay for imx93-9x9-qsb,
   enable PCIe and SATA for imx8qm-mek, add various devices for imx8qxp-mek,
   fix dt-schema warnings, etc.
 - A series from João Paulo Gonçalves to improve i.MX8 Apalis and i.MX8M
   Verdin board support
 - A set of changes from Laurentiu Mihalcea to enable dsp node for rproc
   usage in audio subsystem
 - A set of changes from Peng Fan to improve i.MX95 support, adding SCMI,
   thermal zone, cooling device, idle states, etc.
 - A series from Richard Zhu to add PCIe and SATA support for imx8dxl-evk
 - A series from Shengjiu Wang to enable audio features on imx93-9x9-qsb
   and imx8ulp-evk board
 - Other small and random changes
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEFmJXigPl4LoGSz08UFdYWoewfM4F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EFXkDbthyAEnROPxlS3kts5S5VoAMkOlNJq0N/px
 Z/Hng8mdEha2z7l2uFUqJDblXsGM3WyBZflsQ9CaejXgIYBI/DTupyfv8+t94AG6
 R65X068ZWsrX157O6gUG495FaTCMLNYcXzxz0HHGNwC5I0lQKFo=
 =Frdo
 -----END PGP SIGNATURE-----

Merge tag 'imx-dt64-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into soc/dt

i.MX arm64 device tree changes for 6.13:

- New device support: Boundary Device Nitrogen8MP, Kontron OSM-S i.MX8MP
  SoM and BL carrier board, Verdin Ivy carrier board, DHCOM SoM on DRC02
  and PicoITX, Gateworks GW82XX-2X, etc.
- A series from Carlos Song to add LPSPI alias for i.MX8 and i.MX9 SoCs
- A couple of changes from Ciprian Marian Costea to improve S32G uSDHC
  and SD/eMMC support
- A couple of changes from Francesco Dolcini to improve SD regulator
  startup delay for Verdin devices
- A bunch of changes from Frank Li to add I3C overlay for imx93-9x9-qsb,
  enable PCIe and SATA for imx8qm-mek, add various devices for imx8qxp-mek,
  fix dt-schema warnings, etc.
- A series from João Paulo Gonçalves to improve i.MX8 Apalis and i.MX8M
  Verdin board support
- A set of changes from Laurentiu Mihalcea to enable dsp node for rproc
  usage in audio subsystem
- A set of changes from Peng Fan to improve i.MX95 support, adding SCMI,
  thermal zone, cooling device, idle states, etc.
- A series from Richard Zhu to add PCIe and SATA support for imx8dxl-evk
- A series from Shengjiu Wang to enable audio features on imx93-9x9-qsb
  and imx8ulp-evk board
- Other small and random changes

* tag 'imx-dt64-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (92 commits)
  arm64: dts: freescale: imx8mp-verdin: Fix SD regulator startup delay
  arm64: dts: freescale: imx8mm-verdin: Fix SD regulator startup delay
  arm64: dts: imx8mp-verdin: add single-master property to all i2c nodes
  arm64: dts: imx8mm-verdin: add single-master property to all i2c nodes
  arm64: dts: imx95: Add missing vendor string to SCMI property
  arm64: dts: imx8mp-navqp: Add HDMI support
  arm64: dts: imx8qm-ss-hsio: fix PCI and SATA clock indices
  arm64: dts: imx8qm-ss-hsio: fix interrupt-map indent under pci* nodes
  arm64: dts: imx8qxp-mek: replace hardcode 0 with IMX_LPCG_CLK_0
  arm64: dts: imx8mn-tqma8mqnl-mba8mx-usbot: fix coexistence of output-low and output-high in GPIO
  arm64: dts: layerscape: remove en25s64 and only keep jedec,spi-nor compatible string
  arm64: dts: imx8mp-kontron-dl: change touchscreen power-supply to AVDD28-supply
  arm64: dts: imx8mp: Add Boundary Device Nitrogen8MP Universal SMARC Carrier Board
  arm64: dts: imx8: move samsung,burst-clock-frequency to imx8mn and imx8mm mba8mx board file
  arm64: dts: mba8mx: remove undocumented 'data-lanes' at panel
  arm64: dts: imx: Add i.MX8M Plus Gateworks GW82XX-2X support
  arm64: dts: imx8ulp-evk: Add spdif sound card support
  arm64: dts: imx8ulp-evk: Add bt-sco sound card support
  arm64: dts: imx8ulp: Add audio device nodes
  arm64: dts: imx8qm-mek: enable dsp node for rproc usage
  ...

Link: https://lore.kernel.org/r/20241104090055.1881860-5-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:39:17 +01:00
Arnd Bergmann
430851a9de i.MX ARM device tree changes for 6.13:
- New device support: Kobo Clara 2E, Comvetia LXR board, i.MX6DL DHCOM
   SoM on PDK2 carrier
 - A bunch of dt-schema warning fixes from Fabio Estevam
 - A set of changes from Hiago De Franco to update audio card for Apalis
   and Colibri devices
 - A series from Marek Vasut to improve pin config nodes according to
   bindings
 - A couple of changes from Sean Nyekjaer to add DMA support i.MX6UL
   UART ports
 - Other small and random changes
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEFmJXigPl4LoGSz08UFdYWoewfM4FAmcog3gUHHNoYXduZ3Vv
 QGtlcm5lbC5vcmcACgkQUFdYWoewfM7rYAf+IAD92c4ybmxaG5OmhNapvIla9DhE
 97ag0d7otHmT2NVj8tWlvbyuA3Yioxqk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YOup7xe141VMwMaY6z85qXjsQ6d+FllE41gdWyviE=
 =WHOI
 -----END PGP SIGNATURE-----

Merge tag 'imx-dt-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into soc/dt

i.MX ARM device tree changes for 6.13:

- New device support: Kobo Clara 2E, Comvetia LXR board, i.MX6DL DHCOM
  SoM on PDK2 carrier
- A bunch of dt-schema warning fixes from Fabio Estevam
- A set of changes from Hiago De Franco to update audio card for Apalis
  and Colibri devices
- A series from Marek Vasut to improve pin config nodes according to
  bindings
- A couple of changes from Sean Nyekjaer to add DMA support i.MX6UL
  UART ports
- Other small and random changes

* tag 'imx-dt-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (39 commits)
  ARM: dts: imx: Add devicetree for Kobo Clara 2E
  ARM: dts: imx6sll: Improve gpc description
  ARM: dts: imx6sl: Pass tempmon #thermal-sensor-cells
  ARM: dts: imx6sx: Fix tempmon description
  ARM: dts: imx6sll: Remove regulator-3p0 unit address
  ARM: dts: imx6sll: Fix the last SPDIF clock name
  ARM: dts: imx7ulp: Remove incorrect mmc fallback compatible
  ARM: dts: imx6sl: Remove incorrect mmc fallback compatible
  ARM: dts: imx6sx: Remove incorrect mmc fallback compatible
  ARM: dts: imx6sl/sll: Add the "fsl,imx6dl-gpt" fallback
  ARM: dts: imx6ul: Drop duplicate space in iomux node groups
  ARM: dts: imx6sx: Align pin config nodes with bindings
  ARM: dts: imx6sl: imx6sll: Align pin config nodes with bindings
  ARM: dts: imx6qp: Align pin config nodes with bindings
  ARM: dts: imx6qdl: Align pin config nodes with bindings
  ARM: dts: imx6q: Align pin config nodes with bindings
  ARM: dts: imx6dl: Align pin config nodes with bindings
  ARM: dts: imx53: Align pin config nodes with bindings
  ARM: dts: imx51: Align pin config nodes with bindings
  ARM: dts: imx50: Align pin config nodes with bindings
  ...

Link: https://lore.kernel.org/r/20241104090055.1881860-4-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:38:04 +01:00
Arnd Bergmann
3a4188025a i.MX dt-bindings changes for 6.13:
- Add vendor prefix for ComVetia AG
 - Add new board compatibles for Kobo Clara 2E, Boundary Device Nitrogen8MP,
   Comvetia LXR, Kontron i.MX8MP OSM-S, Verdin i.MX8MM/P Ivy, DH Electronics
   DHCOM, IOTA2 Lumpy, Gateworks GW82XX-2x
 - A couple changes from Fabio Estevam to improve imx-anatop and imx-gpc
   bindings
 - A fsl,dsp bindings update from Laurentiu Mihalcea to correct power domain
   count
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEFmJXigPl4LoGSz08UFdYWoewfM4FAmcofugUHHNoYXduZ3Vv
 QGtlcm5lbC5vcmcACgkQUFdYWoewfM7n6wf+O8ZaFUREgqFQ3wNCWS43oGii5V/N
 EawwnOQzZQWESf5U2HpX2elZ24WhAzyppeLgMJr+RDPuK4iOml3yQ/2Qdtn3lpkn
 VbBMxaOimPXsefd2mGe4G5Bd91ycRjAVD+SNBzbTRnmJG4eJR5t0jxOMioLlv8hp
 DXQFnYcy4aiXOc3/wLsYw5xSYpD669FjrMopKt7C9KuiJFpN3Vkm1Demhv3tJzyC
 i8M48eZBOs3HVNL+Moe8tLMm/15m5TYfnYrBWEIGxPBlxt+1knPrcFcQVKov9wSf
 hmsK4n7xpeyizAFel/OsGNcGYDc8A9OSE2IJU5Nq4A3vUvwFxv93glTo2g==
 =OH8g
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczyqEACgkQYKtH/8kJ
 UieXgQ//Szmwjmx13dR9wIFCZg/etp9FF7MnLcauKuqzjDu+kS9OClciWx70VsvV
 xEFYA1RQS8BPz4DYg3nHzB9frTfZOq4g980mu06T7415k9HD9do2qTULBi7r50KO
 2SJ2hqVXaoGDwT6CkfDXN2F03+qzIM9xe3+AebSW65Hj2/RNmfkgOTCMN38uxASP
 AW9mQfubDm6xpNX/ROl4K6NEqKpcNh3/uIJt+Nbqwe9Vk6Jb2CKCf+2nKoWY0zZ/
 bS5gTLhNeSKMnP6V0LIbWT8t1Di26xqqWLGC5321RtwyZaAvgezsrvC+7jxZUOlO
 IzuPxTD1MWPh6j0+hqRYzXkJl22GS9YZTSGM8g72f0qtu2Gb/9XtzTAAUbNO7sMA
 sM+M/iw3xkN7JheyMd/EYgnC65VvYne29OGkg1IYBL4zsnDyaBsxEc0pLAYf0jaV
 Yz1gtniI1xy3cbNfc4Z+nPgrTHYHd6+cFEwygS8FntddhbxAD6GOCmo5xJ+fZDln
 hHjCyM+FtZM/qgALYqLDfThuOOdc5VHPaN4t3nqaQnBrM7386+cZO2BdZE38jl/Z
 HdgFpjwNjcrQ0RPja/1BVIL0K5TRRBojpLGSx+deD6AQp1Y79xApCJjO031jpaV9
 MeSkK8MvjOFEs0W/wqbvfk+pqDbHg6HtVUsxxfxAxJDNKoXI32k=
 =Ev7Q
 -----END PGP SIGNATURE-----

Merge tag 'imx-bindings-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into soc/dt

i.MX dt-bindings changes for 6.13:

- Add vendor prefix for ComVetia AG
- Add new board compatibles for Kobo Clara 2E, Boundary Device Nitrogen8MP,
  Comvetia LXR, Kontron i.MX8MP OSM-S, Verdin i.MX8MM/P Ivy, DH Electronics
  DHCOM, IOTA2 Lumpy, Gateworks GW82XX-2x
- A couple changes from Fabio Estevam to improve imx-anatop and imx-gpc
  bindings
- A fsl,dsp bindings update from Laurentiu Mihalcea to correct power domain
  count

* tag 'imx-bindings-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  dt-bindings: arm: fsl: add compatible strings for Kobo Clara 2E
  dt-bindings: power: fsl,imx-gpc: Document fsl,imx6sll-gpc
  dt-bindings: soc: imx: fsl,imx-anatop: Add additional regulators
  dt-bindings: soc: imx: fsl,imx-anatop: Fix the i.MX7 irq number
  dt-bindings: arm: fsl: Add Boundary Device Nitrogen8MP Universal SMARC Carrier Board
  dt-bindings: arm: fsl: Add Gateworks GW82XX-2x dev kit
  dt-bindings: dsp: fsl,dsp: fix power domain count
  dt-bindings: arm: fsl: Document i.MX6DL DHCOM SoM on PDK2 carrier board
  dt-bindings: arm: fsl: Document DH electronics i.MX8M Plus DHCOM PicoITX
  dt-bindings: arm: fsl: Document DH i.MX8MP DHCOM SoM on DRC02 carrier board
  dt-bindings: arm: Add i.MX8MP IOTA2 Lumpy board
  dt-bindings: arm: freescale: Add verdin imx8mp ivy board
  dt-bindings: arm: freescale: Add verdin imx8mm ivy board
  dt-bindings: arm: fsl: Document the Comvetia LXR board
  dt-bindings: vendor-prefixes: Add an entry for ComVetia AG
  dt-bindings: arm: fsl: Add Kontron i.MX8MP OSM-S based boards

Link: https://lore.kernel.org/r/20241104090055.1881860-3-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:37:37 +01:00
Arnd Bergmann
7e2574fafd Qualcomm Arm32 DeviceTree updates for v6.13
IPQ4019 flash partition scheme is moved to nvmem-layout. SDX55 and SDX65
 PCIe EP controllers gain missing linux,pci-domain properties.
 
 Stylistic improvements across a range of platforms and devices.
 -----BEGIN PGP SIGNATURE-----
 
 iQJJBAABCAAzFiEEBd4DzF816k8JZtUlCx85Pw2ZrcUFAmcoQ6YVHGFuZGVyc3Nv
 bkBrZXJuZWwub3JnAAoJEAsfOT8Nma3FREcP/R6myVgG1NmZQT6J/mViqlVdNq+e
 rSo0/+RDQhtHp+05wn7IoHd1jf9GTuPskZ1NwZ4c2m2CSCkInywkUJj7S21mFUXx
 relHhzNSX12umBOndLWEqPzKblo4N4iRluSouZtJ2WlOT/SZ32facMNJ/WbyzTY2
 l9uhmj6p5iWqm+Oggb/S1V78PyQ/OVVV7C3vLQLDdCINuSOl8M4MIcsKkPtimWJf
 3ulS62IGWISpLZ4ivEb6E+005DImAE/PxtnWOihREtCMwEa9A83OwBccRSMNkAFM
 m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LagQuEr1sw5cdJM7Nc36tmvzU678dFVy1tHHbi7uj3wAlYnveyeSJw1MpjQZaQzW
 OCu1atP4vJltDvottaDE8jrIQHWJ986zbDhllewIVgw9aAHpFz+y2g0bYz3VA0a+
 w8idVfwk7hYCvGy2AidpdxgAtrPlwQefBu2X6ytBQ0a3FB/etOQ=
 =dKCF
 -----END PGP SIGNATURE-----

Merge tag 'qcom-arm32-for-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/dt

Qualcomm Arm32 DeviceTree updates for v6.13

IPQ4019 flash partition scheme is moved to nvmem-layout. SDX55 and SDX65
PCIe EP controllers gain missing linux,pci-domain properties.

Stylistic improvements across a range of platforms and devices.

* tag 'qcom-arm32-for-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
  ARM: dts: qcom: ipq4019: use nvmem-layout
  ARM: dts: qcom: change labels to lower-case
  ARM: dts: qcom: sdx65: Add 'linux,pci-domain' to PCIe EP controller node
  ARM: dts: qcom: sdx55: Add 'linux,pci-domain' to PCIe EP controller node
  ARM: dts: qcom: minor whitespace cleanup
  ARM: dts: qcom: drop underscore in node names

Link: https://lore.kernel.org/r/20241104034744.14378-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:36:51 +01:00
Arnd Bergmann
2ffd61e39e SoCFPGA DTS updates for v6.13
- Fix dts warning for at24 EEPROM node names
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEoHhMeiyk5VmwVMwNGZQEC4GjKPQFAmclI/QACgkQGZQEC4Gj
 KPScFg//frhCSFcnzjhv5Cgd2U+ax1lv433na6P7ssqvVS4fW5e/6JUSV16c5nfP
 QZ/M8dU7TwqtAO7vdUyIqCp6VXHmEaYhZLpIREWwkdqHZChxFCvgIqsetIOA+W46
 Ax7ctV3bmaLutw95LmC4nwdVykOWZhrQZmkmu76qbSm0cGTvY/u9i73q5B4Z3Vpt
 AD9QLN1sgBmCNdUiWcD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5lUrTREhPMA3QKmaCwgHDOnNFtAPhFXBtwmLc1J3Qbb0fj3tfxrAs0eqZv3
 O6hh17O4Gpdx7eue1BZZpfyb3M6vL0u04br+Arqi42OcQ/BQ95DHU17TCwXE5PFh
 pG44QOhAOUDtK7OG8DamjleIpNm+NxoAMU10Yoqn/N1FDQnQ4rPjEELZJxcXIhjF
 IzrbCDU3MC2ryT5Ujw/ZgTivRtJbE9SCKuKQZE2BsKw9xdgceuo=
 =qSqI
 -----END PGP SIGNATURE-----

Merge tag 'socfpga_dts_updates_for_v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into soc/dt

SoCFPGA DTS updates for v6.13
- Fix dts warning for at24 EEPROM node names

* tag 'socfpga_dts_updates_for_v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  ARM: dts: socfpga: Fix at24 EEPROM node names

Link: https://lore.kernel.org/r/20241101190046.912598-1-dinguyen@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:36:20 +01:00
Linus Torvalds
14b6320953 KVM x86 and selftests fixes for 6.12:
x86:
 
 - When emulating a guest TLB flush for a nested guest, flush vpid01, not
   vpid02, if L2 is active but VPID is disabled in vmcs12, i.e. if L2 and
   L1 are sharing VPID '0' (from L1's perspective).
 
 - Fix a bug in the SNP initialization flow where KVM would return '0' to
   userspace instead of -errno on failure.
 
 - Move the Intel PT virtualization (i.e. outputting host trace to host
   buffer and guest trace to guest buffer) behind CONFIG_BROKEN.
 
 - Fix memory leak on failure of KVM_SEV_SNP_LAUNCH_START
 
 - Fix a bug where KVM fails to inject an interrupt from the IRR after
   KVM_SET_LAPIC.
 
 Selftests:
 
 - Increase the timeout for the memslot performance selftest to avoid false
   failures on arm64 and nested x86 platforms.
 
 - Fix a goof in the guest_memfd selftest where a for-loop initialized a
   bit mask to zero instead of BIT(0).
 
 - Disable strict aliasing when building KVM selftests to prevent the
   compiler from treating things like "u64 *" to "uint64_t *" cases as
   undefined behavior, which can lead to nasty, hard to debug failures.
 
 - Force -march=x86-64-v2 for KVM x86 selftests if and only if the uarch
   is supported by the compiler.
 
 - Fix broken compilation of kvm selftests after a header sync in tools/
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmczm1QUHHBib256aW5p
 QHJlZGhhdC5jb20ACgkQv/vSX3jHroOLKwf+IjkJHZ/LS95HuP/0QLM17Sc4MmiZ
 Pk5gLd5un7BBSLA98RvALR/YPnsA7emEJ34bE/8lQ6R5VSZ5PrIzF+29f60HzRFe
 EDi1/24dqnzdWn50na5nk7A2QhFpfnLQQTl7vMqPFsrU7gfLuHQI6ABp9kloEwP/
 xnjAT683IWNX9v0N2A8kNemy9NNMGssJk1ssDTGzNflSyRNL8cLPGlPkZqAIMsM6
 fHjkDRg0UxasUDkL5CjwnTSdBGoz+/Myyz4unFlYGJB9D3+ev2qDlMqATO4Jfik/
 peJMZ65i8/8/7MgKCTn8qQuT0FLLEvxTuzDHUSGzjMZl0DGaZi2BPETNqg==
 =nW8/
 -----END PGP SIGNATURE-----

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull kvm fixes from Paolo Bonzini:
 "x86 and selftests fixes.

  x86:

   - When emulating a guest TLB flush for a nested guest, flush vpid01,
     not vpid02, if L2 is active but VPID is disabled in vmcs12, i.e. if
     L2 and L1 are sharing VPID '0' (from L1's perspective).

   - Fix a bug in the SNP initialization flow where KVM would return '0'
     to userspace instead of -errno on failure.

   - Move the Intel PT virtualization (i.e. outputting host trace to
     host buffer and guest trace to guest buffer) behind CONFIG_BROKEN.

   - Fix memory leak on failure of KVM_SEV_SNP_LAUNCH_START

   - Fix a bug where KVM fails to inject an interrupt from the IRR after
     KVM_SET_LAPIC.

  Selftests:

   - Increase the timeout for the memslot performance selftest to avoid
     false failures on arm64 and nested x86 platforms.

   - Fix a goof in the guest_memfd selftest where a for-loop initialized
     a bit mask to zero instead of BIT(0).

   - Disable strict aliasing when building KVM selftests to prevent the
     compiler from treating things like "u64 *" to "uint64_t *" cases as
     undefined behavior, which can lead to nasty, hard to debug
     failures.

   - Force -march=x86-64-v2 for KVM x86 selftests if and only if the
     uarch is supported by the compiler.

   - Fix broken compilation of kvm selftests after a header sync in
     tools/"

* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
  KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN
  KVM: x86: Unconditionally set irr_pending when updating APICv state
  kvm: svm: Fix gctx page leak on invalid inputs
  KVM: selftests: use X86_MEMTYPE_WB instead of VMX_BASIC_MEM_TYPE_WB
  KVM: SVM: Propagate error from snp_guest_req_init() to userspace
  KVM: nVMX: Treat vpid01 as current if L2 is active, but with VPID disabled
  KVM: selftests: Don't force -march=x86-64-v2 if it's unsupported
  KVM: selftests: Disable strict aliasing
  KVM: selftests: fix unintentional noop test in guest_memfd_test.c
  KVM: selftests: memslot_perf_test: increase guest sync timeout
2024-11-12 13:35:13 -08:00
Arnd Bergmann
8b474333fc arm64: ZynqMP DT changes for 6.13
- Enable AMS for all boards including HWMON
 - Add thermal zones
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQbPNTMvXmYlBPRwx7KSWXLKUoMIQUCZyTMGAAKCRDKSWXLKUoM
 IdTfAJ4s92Fjw8aMGtU8YJKAPQf+pIrfFgCfYDZHyQD2uJ5SguUnt1cOa4N62NI=
 =4sHM
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczyhAACgkQYKtH/8kJ
 UieLMA/+I53NfCaYlwDpvg1G6GYiXceJNiL1pWerIrKg5bLRCFa+HnF9khtC80Vb
 Pyxqts66yGmMhVWELjsZtYo7iNGV2TDBiuJvTiNY20Zoxz0oX/V8CHWLI+nhQLDJ
 DtcQPRO+sZ18K4wkRNQMA6JAipZCwmyXJOkA3qUfEba5LW8gRnFWcx7yyl1VdrqQ
 hLm4mmGKJFjsyFTfaT2Zp5wsbtYBgMXAADyqfSoVXPyIMvyFWKcRpvV/x31I6upT
 UigUGf7myVTiNLVCWnutL+X5k/api83ifg8jrat+VkwW4aLxsFpE+NURgvwQOnD/
 JtAzO7o2zKPGC+kfo+Qqun+WDNg2Cx4T4HangHLueXPUyv09kZTg0sCFwvuqm51E
 TN2pCtratXBzCIAhrzGCHaSGPARR9rS0Ql6KqSCTIurtzexjBU3aA3tIgJmkLZrY
 kFpYzlGiqGJF5oN+Drz8k3Uru65hvykOgK2r84b73337wgIKbJ2rILDdOReSBuVt
 x0jYJPKpVBrYWr8j5gzwnKys5VvAY6YDn0ZNEUPjClqUeMXtPLLPtTeP9GluOiwc
 K4ST+0LtMpPR6HbUhGsfI6QlHIGQ+LUOh9o3635QD60HBkLl4qRioTijSje+1IAR
 WCnHYxzAHVHSvseMFvwV8B7K2ZaVolkjqNucRebbYoalfZXfkQU=
 =54Pa
 -----END PGP SIGNATURE-----

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

arm64: ZynqMP DT changes for 6.13

- Enable AMS for all boards including HWMON
- Add thermal zones

* tag 'zynqmp-dt-for-6.13' of https://github.com/Xilinx/linux-xlnx:
  arm64: zynqmp: Add thermal zones
  arm64: zynqmp: Expose AMS to userspace as HWMON
  arm64: zynqmp: Enable AMS for all boards

Link: https://lore.kernel.org/r/CAHTX3d+x1WrXhsp6+PQbo-B3T9q21tqE1RkhVsh0r7my3vH37g@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:35:11 +01:00
Arnd Bergmann
9edd162c92 New SoCs: basic RK3528 support, RK3399S - a variant made specifically
for the Pinephone Pro and for consistencies sake it gets its own SoC
 dtsi to not hide the specifics in the Pinephone Pro devicetree.
 
 New boards: OrangePi-5b, NanoPi R3S, ArmSom Sige 5 (first rk3576 board),
 Radxa e20c (first rk3528 board), Powkiddy RGB20SX, RK3588S-EVB1 and
 the ArmSoM LM7 SoM with W3 carrier board.
 
 HDMI support for rk3588 brings the first graphical output capability
 there. This includes of course needed changes to a number of boards.
 
 And finally a bunch of newly enabled peripherals on different boards,
 as well as changes to adhere better to bindings and removal/change of
 deprecated properties.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAmchMHMQHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgWZRB/0a236rKxhltu2TqhZjElxGBwtUoIYvBDRL
 iLL/WAltN2qbdUHbojzltsM2GDMDCmA6SJmbiY2p8colN+t/qTRY3vgnr1R7gpvU
 QILcSHFVVI9inutLpfy+vq95gRafDSQ7YxyB4gLllokwIspJLPN4PL/7Wj1X8UWb
 wipzaNiPUsmtWmFU/HWyrB7Msg1kqP80jhNeEv/khPvIRFfj7PhuL1+B00rozqaf
 Aknqzded2eCTvqQLo7LH0o3bAchjIVvzSA7yxt/gQP0E+PerKp4xuFisGXjToo71
 xrGpeU3j9cN6prglo1A92Lfpgbegk1IJGCzuxO+zL4uuIO6JRjYt
 =7Um9
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczyVYACgkQYKtH/8kJ
 UiewmxAAuIBnrRWnDIlb/9lcsr96FIVoi9p3HSikK2b4XID5iDzlVTCWNDHS7rcX
 8aE5Tjy8WdElbGLdd6pQ8FLOOsbEbbuhKmlMu7FQn0dGLOJ2N9gzb+Ocdt266oie
 8CcyFQk9lfCQmdLQk+If0atPVrQO4y1Rf6TGCUAGy3Gr175NpGcgZQXJqYHZT918
 oEg+BqyfOdICfS0DGXWmRQHCiJns/csFa9bvPlG3T0ruOocRsKLj8cAJRYqNel5q
 Elt0R6YI1oadvuJlYir5g4Vm1EZH2hlCYAfWAtzoErTY4KlxyuvdnrgsVau/jyd9
 v5z0iMcvSCePfyQ1xfasJwgnvOxm1ac7U0ktN/0evsatb5f9rhoW/dxrsioB/ZpH
 a25FYKOig6RZqZU96rOueQSZqmhqTH9IKikkITGWd9ggaMbEYD5PpJ5noCRvzb+7
 CTUl7b/GKG0oR48JkH3tLLar/QgZlZ+dNyGOxoKfmUPjeWkzfFs65NoG6Yhg927c
 1F2tj/iul5kOH1V9ZhLe3sZ1cCSlc4YgH09sgqPcrsHL8tu/gkqUZneqv1KdgZsB
 ug+tvPMWHNO8p2OPY2S30o34LUOWXem0BjZjSRrzMC0sPF1dlehfNDPcsOq2Bz29
 o5OHOtzEu5ezdvsZOuXZE53BMKkFud/tgNbDSMrBJetX87D/0jc=
 =RMLZ
 -----END PGP SIGNATURE-----

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

New SoCs: basic RK3528 support, RK3399S - a variant made specifically
for the Pinephone Pro and for consistencies sake it gets its own SoC
dtsi to not hide the specifics in the Pinephone Pro devicetree.

New boards: OrangePi-5b, NanoPi R3S, ArmSom Sige 5 (first rk3576 board),
Radxa e20c (first rk3528 board), Powkiddy RGB20SX, RK3588S-EVB1 and
the ArmSoM LM7 SoM with W3 carrier board.

HDMI support for rk3588 brings the first graphical output capability
there. This includes of course needed changes to a number of boards.

And finally a bunch of newly enabled peripherals on different boards,
as well as changes to adhere better to bindings and removal/change of
deprecated properties.

* tag 'v6.13-armsoc/dts64-1' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (64 commits)
  arm64: dts: rockchip: Add rk3588-orangepi-5b device tree
  dt-bindings: arm: rockchip: Add Orange Pi 5b enum to Orange Pi 5 entry
  arm64: dts: rockchip: refactor common Orange Pi 5 board
  arm64: dts: rockchip: Remove 'enable-active-low' from two boards
  arm64: dts: rockchip: add HDMI support to rk3588-jaguar
  arm64: dts: rockchip: add HDMI support to rk3588-tiger-haikou
  arm64: dts: rockchip: add HDMI pinctrl to rk3588-tiger SoM
  arm64: dts: rockchip: reorder mmc aliases for NanoPi R3S
  arm64: dts: rockchip: enable eMMC HS200 mode for NanoPi R3S
  arm64: dts: rockchip: sort props in pmu_io_domains node for NanoPi R3S
  arm64: dts: rockchip: replace deprecated snps,reset props for NanoPi R3S
  arm64: dts: rockchip: fix model name for FriendlyElec NanoPi R3S
  arm64: dts: rockchip: Enable HDMI0 on rock-5a
  arm64: dts: rockchip: Enable HDMI0 on rk3588-nanopc-t6
  arm64: dts: rockchip: pwm-leds for Orange Pi 5
  arm64: dts: rockchip: reorder audio/hdmi nodes in Orange Pi 5
  arm64: dts: rockchip: analog audio on Orange Pi 5
  arm64: dts: rockchip: Add dtsi file for RK3399S SoC variant
  arm64: dts: rockchip: Convert dts files used as parents to dtsi files
  arm64: dts: rockchip: fix the pcie refclock oscillator on Rock 5 ITX
  ...

Link: https://lore.kernel.org/r/12542111.O9o76ZdvQC@phil
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:32:06 +01:00
Arnd Bergmann
c78a5066ff Samsung DTS ARM64 changes for v6.13
1. Add new SoC Samsung Exynos8895 and new board using it: Samsung
    Galaxy S8 (SM-G950F) mobile phone.  Only small support so far:
    CPUs (Samsung Mongoose M2), main clock controllers (FSYS, PERIC,
    TOP), pin controllers, SPI for cameras, timers.
 
 2. Add new SoC Samsung Exynos990 and new board using it: Samsung
    Galaxy Note20 5G (c1s/SM-N981B) mobile phone.  Only minimal support
    so far: CPUs (Samsung Mongoose M5), pin controllers, timers.
 
 3. Prepare for adding new SoC Samsung Exynos9810 - add bindings.  The
    SoC DTSI was not yet ready, but it is posted on the mailing lists so
    should come soon.
 
 4. ExynosAutov920: Add several clock controllers.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmcglxgQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD1wU/D/42+9JlJtXtBLG3Woxm732hW9hxWJs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XE9ln9NRJnrQ7a9Q8OnuVaidLyugVoL4qWyBmbpHspIp6Bk+94+8msWf
 mEUqq8ZjYn7UOLhFi5JtiW1hGKNlDZYd5ye75aRN3TwczVn6Y8VyOM8Vqcg89cvK
 V+Vlj6jsc+7znHcihNOr7WBEXomcGWNo9GBBV/H997NHRYvZ6dY+nqQcvBvXoCRh
 MLSQ58Mca1eHBLjyMN+izB5Ae+09i6+0ceh0bCry2WGoKnbp+avmpD/crUiD7qXA
 OiV4BLNEkbi4rhmw1LM5AC5615Rlv3N171I755YuOcDIfwDADTLklTX95Zniq401
 /JaUlk3XDWEM5ocgH1+5ui/2QxammM2jUNvXQLIb884z5MzeEl0QXOlTDkxOO139
 rdkyh3na0ZrCQCWPNxRdW6alPgpUdICdxlj0yRErLpsbHXNO2G4=
 =Rz3L
 -----END PGP SIGNATURE-----

Merge tag 'samsung-dt64-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM64 changes for v6.13

1. Add new SoC Samsung Exynos8895 and new board using it: Samsung
   Galaxy S8 (SM-G950F) mobile phone.  Only small support so far:
   CPUs (Samsung Mongoose M2), main clock controllers (FSYS, PERIC,
   TOP), pin controllers, SPI for cameras, timers.

2. Add new SoC Samsung Exynos990 and new board using it: Samsung
   Galaxy Note20 5G (c1s/SM-N981B) mobile phone.  Only minimal support
   so far: CPUs (Samsung Mongoose M5), pin controllers, timers.

3. Prepare for adding new SoC Samsung Exynos9810 - add bindings.  The
   SoC DTSI was not yet ready, but it is posted on the mailing lists so
   should come soon.

4. ExynosAutov920: Add several clock controllers.

* tag 'samsung-dt64-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding
  dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible
  dt-bindings: arm: cpus: Add Samsung Mongoose M3
  arm64: dts: exynos8895: Add spi_0/1 nodes
  arm64: dts: exynos8895: Add Multi Core Timer (MCT) node
  arm64: dts: exynos8895: Add clock management unit nodes
  dt-bindings: timer: exynos4210-mct: Add samsung,exynos8895-mct compatible
  dt-bindings: clock: samsung: Add Exynos8895 SoC
  arm64: dts: exynos: Add initial support for Samsung Galaxy Note20 5G (c1s)
  arm64: dts: exynos: Add initial support for the Exynos 990 SoC
  dt-bindings: arm: samsung: samsung-boards: Add bindings for Exynos 990 boards
  dt-bindings: arm: cpus: Add Samsung Mongoose M5
  arm64: dts: exynosautov920: add peric1, misc and hsi0/1 clock DT nodes
  dt-bindings: clock: exynosautov920: add peric1, misc and hsi0/1 clock definitions
  arm64: dts: exynos: Add initial support for Samsung Galaxy S8
  arm64: dts: exynos: Add initial support for exynos8895 SoC
  dt-bindings: soc: samsung: exynos-pmu: Add exynos8895 compatible
  dt-bindings: arm: samsung: Document dreamlte board binding
  dt-bindings: arm: cpus: Add Samsung Mongoose M2

Link: https://lore.kernel.org/r/20241029081002.21106-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:30:59 +01:00
Arnd Bergmann
03bf4af272 arm64: tegra: Device tree changes for v6.13-rc1
Changes in this batch add an device tree file for the industrial module
 version of the Jetson AGX Orin Developer Kit. There are also some fixes
 for the Jetson TX1 and new features such as touchscreen, temperature
 sensor and USB-C extcon support for Smaug (a.k.a. Pixel C).
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmcbs0wACgkQ3SOs138+
 s6HCzw//R1YypAZnwxmyaBVaVIIpclZB5rpKTdhoB2FcM4S95gIIZ9ZZidm3S+FG
 /Rs70XqSQXNRNEJ5Jp56Q7LaFfWdiWaZwRpNPI+T1gbt2amBKpX3+M845GGzZppa
 ojSqNbODW4q5gQCYf/DAUVPWDe4vt6Zj14jk68i6RZmU3cmaUNx7m5KvveNl/mky
 aLWksdDlsCqCiOzGtGD/0RPI8oa9UjrGJ/5FbeOPt97nnKMfgFmmWV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RQLvFrjuinTn+hn/HuprvtTob1t/n
 EQReSd+1PAi1PE6NQTmc39IgTi9hOimeFTF0TSNPJfNVtIeg+UHr2M6sSOsEOqUE
 tfLuIMjxMCLiAh5ZkDipd3NPVSWSKO8Gv3XlYzwnNSdoh3ZfYxE//LOwwqjJthRS
 ReEzoSTHfrA3JzCr0+T2TQXdPBMyFWb/yIQqAbERZCo7N0Os5G0=
 =BaL9
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-6.13-arm64-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/dt

arm64: tegra: Device tree changes for v6.13-rc1

Changes in this batch add an device tree file for the industrial module
version of the Jetson AGX Orin Developer Kit. There are also some fixes
for the Jetson TX1 and new features such as touchscreen, temperature
sensor and USB-C extcon support for Smaug (a.k.a. Pixel C).

* tag 'tegra-for-6.13-arm64-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  arm64: tegra: smaug: Declare cros-ec extcon
  arm64: tegra: Add SDMMC sdr104-offsets for Tegra X1
  arm64: dts: nvidia: tegra210-smaug: Add TMP451 temperature sensor node
  arm64: dts: nvidia: tegra210-smaug: Add touchscreen node
  arm64: tegra: p2180: Add mandatory compatible for WiFi node
  arm64: tegra: Create SKU8 AGX Orin board file

Link: https://lore.kernel.org/r/20241025150555.2558582-3-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:29:28 +01:00
Arnd Bergmann
a96b9264f2 dt-bindings: Changes for v6.13-rc1
This adds documentation for the AGX Orin industrial module.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmcbsksACgkQ3SOs138+
 s6G5iA/+P3ZW8aX1PURVcOFyyfXeoE2UZLq5j/i7nPS9cXTMbps0RC70l/p5EtM4
 W6uJtTq5Gz/0X7Tx1QEuWbcFNoHo91kEQjdZEwKhvpzPe16YTlOloDcF85yahTOb
 BtezHLh2tP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gvImhQnLlS2alug
 3bZph2cuwM4qsjCS0ph94NR4LfcCOXMxSL7frlqilfEi6ghNlGr6VqkVkbukO5mV
 nbrvUer71ECwQDpWlE7LpssWfJ8/x8H+6NW4m/jS+wkxBD2SlA8jvNQNlWTh2XE+
 0YmBvcVeaVZqXJzOVsDvb5kRRpkstY3tOdzBwe3MekH/d0sA6Pwfc2nwPG4yw0qa
 j+5w9FL8o+DUtuEHgVdLa0MH3iRyDxChKnMJ7p3r4fEViO29vZ6t3i+HWO7ZySAs
 0BxeaXPYe8ry4US3ymryNCUhQ+GfN///c1MegxLU4qvubBd1MA0=
 =ADfo
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-6.13-dt-bindings' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into soc/dt

dt-bindings: Changes for v6.13-rc1

This adds documentation for the AGX Orin industrial module.

* tag 'tegra-for-6.13-dt-bindings' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt-bindings: arm: Tegra234 Industrial Module

Link: https://lore.kernel.org/r/20241025150555.2558582-2-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:28:45 +01:00
Arnd Bergmann
98354868cf Ux500 DTS file updates for the v6.13 kernel cycle:
- Add touchkeys to the Samsung Codina variants
 - Re-work the Codina device tree for eMMC
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEElDRnuGcz/wPCXQWMQRCzN7AZXXMFAmcWO+QACgkQQRCzN7AZ
 XXO2kQ/+K4nkqiTevunRbLO7T/Et0+OEf860swhelWluRdG3uF/W+XiW8fm9VNsv
 TaVob2E5KZE9RwBwCyWRblMLYD1NVRGlQV8LiTBUS2I2D5k9lOb0zxg3yzIlpxUj
 v3w8FFhV0wqOY4BSiC02bjSN0bvSXjcVg2MnH1P8HrWbPZ6AxQaZWunPRV/HO3GC
 /kLCcIAuzqdL5kAkLifDySpissaUgByCYRyuQkxRfPEaeWVJmrKULi8OuyrWT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zUfkRqdbyEk9wHMMyJxVRqFR8E3ofY
 S2vakKHLSCipmcskbxvL1jC67qW1YOENwuGAqDbxhADRi1QFfNpI6r+DtdsRJ/an
 6tyjDgTl1q06BfqQzKY8pBDu/GOSLMnug1moXc3Bgz9LL22JBFQLKSBN5oqyWfLX
 XnhznpavQX8FahohngxNa1Sk/F5wW8N/16CPwS239tL2F5MO9sM=
 =XL5S
 -----END PGP SIGNATURE-----

Merge tag 'ux500-dts-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into soc/dt

Ux500 DTS file updates for the v6.13 kernel cycle:
- Add touchkeys to the Samsung Codina variants
- Re-work the Codina device tree for eMMC

* tag 'ux500-dts-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: Reconfigure the MC2 eMMC interface
  ARM: dts: ux500: Add touchkeys to Codinas

Link: https://lore.kernel.org/r/CACRpkda5rix2JLYpexXTeGqKBcHeWxZx7A49jYCCmDPU7CFLSA@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:28:08 +01:00
Arnd Bergmann
735ac12ee8 Renesas DTS updates for v6.13
- Add support for PCIe on the R-Car V4M SoC and the Gray Hawk
     development board,
   - Add support for watchdog, OS timer, keyboard switch, SDHI, and MMCIF
     on the Genmai development board,
   - Add support for watchdog on the RSK+RZA1 development board,
   - Add support for QSPI NOR FLASH on the RZ/G2UL SMARC SoM,
   - Add support for E-FUSE on the R-Car V3U, S4-8, V4H, and V4M SoCs,
   - Use interrupts-extended where it makes sense,
   - Miscellaneous fixes and improvements.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCZxJK7wAKCRCKwlD9ZEnx
 cIc9AP9qfjKj9dER6XolPiFCNTVkQ4mUwXWSfw2tfcF7c14lQQEArTm1rPjJFnE6
 ov1fEylEw6cf/lX63RAx1cO3b2RYOwQ=
 =d+VK
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczyE4ACgkQYKtH/8kJ
 UiezOQ//VR2Hkzcr6q3DQLolO6p+DmbXCWmkj/q+xlRBSE+JUsPIE9TqK4Ajb+wa
 b/EenZ1wLNtbtqjBuhKDH40Y0Qs2dbUTENBW0nJAegYouiTmFnJAvznOe4nyhKgT
 3U8FDnW0Bh+rF078zNG1tsnJ4sO4SL4/ZHBHh4bPVMgyoeCovzofwdw7fu9UMlrV
 zXzIPuroPfttgErJfLv7IxjXkQIeLXZn/Bf7Ezqn8RZTbtJOfku8xdwMkhhix4za
 FFsECfehEBI/we2bUSxAKSd2z5/RynNbH/a6Zjsbwj+QytesL0e8qWfRZCURjsUF
 KJWOpnKZ4ueTSeZdCzxZ1prt9OjJEY8Eh/pzcJWSHk9gYPnllQO7ma6NYaY6qklZ
 pMoEfdPEN/VsNs68kq2OC89afb2R5hkbmPv0whj3PBNTbN5PC+G8fjKATe3jHMKr
 1aXpP3f79hBIjGF817KioXPVRP6J1A18TYh0c0hHqDgvlC1MiHLW6Va5BTDibWNn
 JiQgkYz+7lrJNS5ll8LiUVzUKxLF6gjcsMMCQqLuJfHDmyKGYKcJkZNGzJr7Mp9N
 6w+4rYrIiKFzESXRFQPeeRRFOZtLmbuPIw6SzA8VvpY0VvueuYw5xXlXIUfCZYIn
 hFsIk10LYPKi2V6d7LjjjbJZw9ic2IXzcwbkv1qEqlxML/WWMhQ=
 =XVt1
 -----END PGP SIGNATURE-----

Merge tag 'renesas-dts-for-v6.13-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.13

  - Add support for PCIe on the R-Car V4M SoC and the Gray Hawk
    development board,
  - Add support for watchdog, OS timer, keyboard switch, SDHI, and MMCIF
    on the Genmai development board,
  - Add support for watchdog on the RSK+RZA1 development board,
  - Add support for QSPI NOR FLASH on the RZ/G2UL SMARC SoM,
  - Add support for E-FUSE on the R-Car V3U, S4-8, V4H, and V4M SoCs,
  - Use interrupts-extended where it makes sense,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.13-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: (53 commits)
  arm64: dts: renesas: rzg3s-smarc: Use interrupts-extended for gpio-keys
  arm64: dts: renesas: beacon-renesom: Use interrupts-extended for touchscreen
  arm64: dts: renesas: Use interrupts-extended for WLAN
  arm64: dts: renesas: Use interrupts-extended for video decoders
  arm64: dts: renesas: Use interrupts-extended for USB muxes
  arm64: dts: renesas: Use interrupts-extended for PMICs
  arm64: dts: renesas: Use interrupts-extended for I/O expanders
  arm64: dts: renesas: Use interrupts-extended for HDMI bridges
  arm64: dts: renesas: Use interrupts-extended for Ethernet PHYs
  arm64: dts: renesas: Use interrupts-extended for DisplayPort bridges
  ARM: dts: renesas: kzm9g: Use interrupts-extended for sensors
  ARM: dts: renesas: kzm9g: Use interrupts-extended for I/O expander
  ARM: dts: renesas: r8a7742-iwg21m: Use interrupts-extended for RTC
  ARM: dts: renesas: iwg22d-sodimm: Use interrupts-extended for port expander
  ARM: dts: renesas: Use interrupts-extended for video decoders
  ARM: dts: renesas: Use interrupts-extended for touchpanels
  ARM: dts: renesas: Use interrupts-extended for PMICs
  ARM: dts: renesas: Use interrupts-extended for HDMI bridges
  ARM: dts: renesas: Use interrupts-extended for Ethernet PHYs
  ARM: dts: renesas: Use interrupts-extended for Ethernet MACs
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:27:41 +01:00
Arnd Bergmann
dc60889cfa T-HEAD Devicetrees for v6.13, part 2
Add gmac, mdio, and phy nodes to enable the gigabit Ethernet ports on
 the TH1520 SoC-based BeagleV Ahead and Sipeed Lichee Pi 4a boards.
 
 The dwmac-thead driver and dt binding have been accepted by netdev and
 are in linux-next as well as the dts patch in this pull request. I have
 tested next-20241108 on the Ahead and LPi4a boards, and Ethernet works
 correctly.
 
 Signed-off-by: Drew Fustini <drew@pdp7.com>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQSy8G7QpEpV9aCf6Lbb7CzD2SixDAUCZy7HegAKCRDb7CzD2Six
 DFKlAP0bQEEODS17qnQ5o08MtzB7oi5zCbgCj5Dv9o4AMKd/VwD/SQftL0u53DR/
 6/uaNCXcjlxVflOR7queyUexSu2TmAs=
 =n4l7
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmczyBwACgkQYKtH/8kJ
 Uicjvw/+KVKkZTOwpLDxxCOD2c4wqJ6Nydd/bMJQSavgAZ8Wd4oUdholAQaDxUfs
 brQTSFZHmMxDdmVvb1roLZK48yYok8aq2S39dTAmqS+pXZT58aHtUn+V4m+v5U7h
 viPLJBas29IuxM+bgbp4D7sH/bJ/HspXmNBkcQoqxQ0PDed0prPVqnlYZ6IdmHTS
 5CWXXjqyx5fm50OOzaxHFR/0K1ErqD9T505Iv//DTKTL3kmMnpj6Qy+4tInc6gFa
 S7DU2Of5cQmcNutQlKOJ8xXogFeQoeOSvTRcLNmRc1rm6i3O7SFpvCx1ccgHGKWU
 59Oo4Xe31qjI6SFYDkcLsogIOK8ffeUm48ttLrbAGWRRI2SUOhAVDHwd37Hgkbyj
 H+d2k8LBl9jGFTGilBR8/VMeXVRw5h21RUAXuEEfvc1/j2GVUcfToWXLu1yJ8MD9
 FnSkeFyCq/t+n/8XNXvfH4ku4kk9JG4CrzTH/XuQ1VorM8dN3atJy0c/hKhPsBrB
 IWgftNaQrkQ+kDEbOajIIBB4AtE1RHV3DCe1+YRvujxhiMGuMlYKj/7HkA167eLk
 5qpdpWVvFBAiUJl8K0Up5CWvyIKk2/cZ5BUrdzAsPcliAcOCTKJwJcjFoh6WzBAy
 QxdSKXhsklIxiT4W90gIXs/38juutzyxkMQixARRG0qEMnnM5LQ=
 =qfiW
 -----END PGP SIGNATURE-----

Merge tag 'thead-dt-for-v6.13-p2' of https://github.com/pdp7/linux into soc/dt

T-HEAD Devicetrees for v6.13, part 2

Add gmac, mdio, and phy nodes to enable the gigabit Ethernet ports on
the TH1520 SoC-based BeagleV Ahead and Sipeed Lichee Pi 4a boards.

The dwmac-thead driver and dt binding have been accepted by netdev and
are in linux-next as well as the dts patch in this pull request. I have
tested next-20241108 on the Ahead and LPi4a boards, and Ethernet works
correctly.

Signed-off-by: Drew Fustini <drew@pdp7.com>

* tag 'thead-dt-for-v6.13-p2' of https://github.com/pdp7/linux:
  riscv: dts: thead: Add TH1520 ethernet nodes

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-11-12 22:26:51 +01:00
Arnd Bergmann
fce30430a4 T-HEAD Devicetrees for v6.13
Add nodes for pin controllers on the T-Head TH1520 RISC-V SoC. The
 yaml binding and pinctrl-th1520 driver has been merged into next by
 Linus W and will be included in the 6.13 pinctrl PR.
 
 The TH1520 GPIO controllers are already supported by the gpio-dwapb
 driver. This PR improves GPIO support by adding GPIO ranges and GPIO
 line names for the BeagleV Ahead and LicheePi 4A boards. Support is
 added for the built-in LEDs on the Ahead board.
 
 Signed-off-by: Drew Fustini <drew@pdp7.com>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQSy8G7QpEpV9aCf6Lbb7CzD2SixDAUCZxURbgAKCRDb7CzD2Six
 DDMiAQD+joKsLCYlTe36dOFjgpZ5/K8tbjcXXoLe/3/HpFjG0wEArvUquuDjcxSa
 op9RWVYs+TM9Xheyfgf+cMqL/XQynQ8=
 =Ao5X
 -----END PGP SIGNATURE-----

Merge tag 'thead-dt-for-v6.13' of https://github.com/pdp7/linux into soc/dt

T-HEAD Devicetrees for v6.13

Add nodes for pin controllers on the T-Head TH1520 RISC-V SoC. The
yaml binding and pinctrl-th1520 driver has been merged into next by
Linus W and will be included in the 6.13 pinctrl PR.

The TH1520 GPIO controllers are already supported by the gpio-dwapb
driver. This PR improves GPIO support by adding GPIO ranges and GPIO
line names for the BeagleV Ahead and LicheePi 4A boards. Support is
added for the built-in LEDs on the Ahead board.

Signed-off-by: Drew Fustini <drew@pdp7.com>

* tag 'thead-dt-for-v6.13' of https://github.com/pdp7/linux:
  riscv: dts: thead: remove enabled property for spi0
  riscv: dts: thead: Add missing GPIO clock-names
  riscv: dtb: thead: Add BeagleV Ahead LEDs
  riscv: dts: thead: Add TH1520 pinctrl settings for UART0
  riscv: dts: thead: Add Lichee Pi 4M GPIO line names
  riscv: dts: thead: Adjust TH1520 GPIO labels
  riscv: dts: thead: Add TH1520 GPIO ranges
  riscv: dts: thead: Add TH1520 pin control nodes
2024-11-12 22:25:27 +01:00
Longfang Liu
1962920689 hisi_acc_vfio_pci: create subfunction for data reading
This patch generates the code for the operation of reading data from
the device into a sub-function.
Then, it can be called during the device status data saving phase of
the live migration process and the device status data reading function
in debugfs.
Thereby reducing the redundant code of the driver.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Link: https://lore.kernel.org/r/20241112073322.54550-3-liulongfang@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2024-11-12 14:23:10 -07:00
Longfang Liu
ece8a2c77b hisi_acc_vfio_pci: extract public functions for container_of
In the current driver, vdev is obtained from struct
hisi_acc_vf_core_device through the container_of function.
This method is used in many places in the driver. In order to
reduce this repetitive operation, It was extracted into
a public function.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Link: https://lore.kernel.org/r/20241112073322.54550-2-liulongfang@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2024-11-12 14:23:10 -07:00
Linus Torvalds
5456ec9dab - fix warnings about duplicate slab cache names
-----BEGIN PGP SIGNATURE-----
 
 iIoEABYIADIWIQRnH8MwLyZDhyYfesYTAyx9YGnhbQUCZzItHBQcbXBhdG9ja2FA
 cmVkaGF0LmNvbQAKCRATAyx9YGnhbRzaAQD0c/ERvaahr7yR3fD7b1pyT6g6LpwE
 e2P80QUQRKhCPAD9EXwZo1DdpCNQX7g6eU3jtof9oQoAggAdMjJRc4SF+g4=
 =W477
 -----END PGP SIGNATURE-----

Merge tag 'for-6.12/dm-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm

Pull device mapper fixes from Mikulas Patocka:

 - fix warnings about duplicate slab cache names

* tag 'for-6.12/dm-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
  dm-cache: fix warnings about duplicate slab caches
  dm-bufio: fix warnings about duplicate slab caches
2024-11-12 13:21:07 -08:00
Linus Torvalds
93db202ce0 integrity-v6.12
-----BEGIN PGP SIGNATURE-----
 
 iIoEABYKADIWIQQdXVVFGN5XqKr1Hj7LwZzRsCrn5QUCZzNj9BQcem9oYXJAbGlu
 dXguaWJtLmNvbQAKCRDLwZzRsCrn5QKDAQCkbTcWVTnMrdz/0hV9JVmoLCFs6GWZ
 cTjaBApOQge1pgD/bTQGJ0fYP6sWEzMPSTMXr6uJaJtlmpsGdPNoOmKUTQU=
 =+K7B
 -----END PGP SIGNATURE-----

Merge tag 'integrity-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity

Pull integrity fixes from Mimi Zohar:
 "One bug fix, one performance improvement, and the use of
  static_assert:

   - The bug fix addresses "only a cosmetic change" commit, which didn't
     take into account the original 'ima' template definition.

  - The performance improvement limits the atomic_read()"

* tag 'integrity-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
  integrity: Use static_assert() to check struct sizes
  evm: stop avoidably reading i_writecount in evm_file_release
  ima: fix buffer overrun in ima_eventdigest_init_common
2024-11-12 13:06:31 -08:00
Linus Torvalds
92dda329e3 Landlock fix for v6.12-rc7
-----BEGIN PGP SIGNATURE-----
 
 iIYEABYKAC4WIQSVyBthFV4iTW/VU1/l49DojIL20gUCZy+y6BAcbWljQGRpZ2lr
 b2QubmV0AAoJEOXj0OiMgvbSXcAA/jrpBdfMi6MXbZkOXHw2H46j2jpBpOq67pND
 LqC2LA8bAP9JyiGdFF8ETch59zSa3mpKp4C/k8g/F3XwmSsqLOh3BA==
 =pF7T
 -----END PGP SIGNATURE-----

Merge tag 'landlock-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux

Pull landlock fixes from Mickaël Salaün:
 "This fixes issues in the Landlock's sandboxer sample and
  documentation, slightly refactors helpers (required for ongoing patch
  series), and improve/fix a feature merged in v6.12 (signal and
  abstract UNIX socket scoping)"

* tag 'landlock-6.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux:
  landlock: Optimize scope enforcement
  landlock: Refactor network access mask management
  landlock: Refactor filesystem access mask management
  samples/landlock: Clarify option parsing behaviour
  samples/landlock: Refactor help message
  samples/landlock: Fix port parsing in sandboxer
  landlock: Fix grammar issues in documentation
  landlock: Improve documentation of previous limitations
2024-11-12 13:01:09 -08:00
Uladzislau Rezki (Sony)
a23da88c6c rcu/kvfree: Fix data-race in __mod_timer / kvfree_call_rcu
KCSAN reports a data race when access the krcp->monitor_work.timer.expires
variable in the schedule_delayed_monitor_work() function:

<snip>
BUG: KCSAN: data-race in __mod_timer / kvfree_call_rcu

read to 0xffff888237d1cce8 of 8 bytes by task 10149 on cpu 1:
 schedule_delayed_monitor_work kernel/rcu/tree.c:3520 [inline]
 kvfree_call_rcu+0x3b8/0x510 kernel/rcu/tree.c:3839
 trie_update_elem+0x47c/0x620 kernel/bpf/lpm_trie.c:441
 bpf_map_update_value+0x324/0x350 kernel/bpf/syscall.c:203
 generic_map_update_batch+0x401/0x520 kernel/bpf/syscall.c:1849
 bpf_map_do_batch+0x28c/0x3f0 kernel/bpf/syscall.c:5143
 __sys_bpf+0x2e5/0x7a0
 __do_sys_bpf kernel/bpf/syscall.c:5741 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5739 [inline]
 __x64_sys_bpf+0x43/0x50 kernel/bpf/syscall.c:5739
 x64_sys_call+0x2625/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:322
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

write to 0xffff888237d1cce8 of 8 bytes by task 56 on cpu 0:
 __mod_timer+0x578/0x7f0 kernel/time/timer.c:1173
 add_timer_global+0x51/0x70 kernel/time/timer.c:1330
 __queue_delayed_work+0x127/0x1a0 kernel/workqueue.c:2523
 queue_delayed_work_on+0xdf/0x190 kernel/workqueue.c:2552
 queue_delayed_work include/linux/workqueue.h:677 [inline]
 schedule_delayed_monitor_work kernel/rcu/tree.c:3525 [inline]
 kfree_rcu_monitor+0x5e8/0x660 kernel/rcu/tree.c:3643
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3310
 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3391
 kthread+0x1d1/0x210 kernel/kthread.c:389
 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 56 Comm: kworker/u8:4 Not tainted 6.12.0-rc2-syzkaller-00050-g5b7c893ed5ed #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_unbound kfree_rcu_monitor
<snip>

kfree_rcu_monitor() rearms the work if a "krcp" has to be still
offloaded and this is done without holding krcp->lock, whereas
the kvfree_call_rcu() holds it.

Fix it by acquiring the "krcp->lock" for kfree_rcu_monitor() so
both functions do not race anymore.

Reported-by: syzbot+061d370693bdd99f9d34@syzkaller.appspotmail.com
Link: https://lore.kernel.org/lkml/ZxZ68KmHDQYU0yfD@pc636/T/
Fixes: 8fc5494ad5 ("rcu/kvfree: Move need_offload_krc() out of krcp->lock")
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:51:34 +01:00
Rafael J. Wysocki
9782dd101f thermal: testing: Simplify tt_get_tt_zone()
Notice that tt_get_tt_zone() need not use the ret variable in
the tt_thermal_zones list walk and make it return right after
incrementing the reference counter of the matching entry.

No functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/6120304.lOV4Wx5bFT@rjwysocki.net
2024-11-12 21:47:18 +01:00
Michal Schmidt
0ea3acbc80 rcu/srcutiny: don't return before reenabling preemption
Code after the return statement is dead. Enable preemption before
returning from srcu_drive_gp().

This will be important when/if PREEMPT_AUTO (lazy resched) gets merged.

Fixes: 65b4a59557 ("srcu: Make Tiny SRCU explicitly disable preemption")
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:45:20 +01:00
Paul E. McKenney
d4e287d7ca rcu-tasks: Remove open-coded one-byte cmpxchg() emulation
This commit removes the open-coded one-byte cmpxchg() emulation from
rcu_trc_cmpxchg_need_qs(), replacing it with just cmpxchg() given the
latter's new-found ability to handle single-byte arguments across all
architectures.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:45:14 +01:00
Paul E. McKenney
0a116dc86d doc: Remove kernel-parameters.txt entry for rcutorture.read_exit
There is only ever the one read-exit task, and there is no module
parameter named rcutorture.read_exit, so remove the bogus documentation.
Instead, use rcutorture.read_exit_burst to enable/disable read-exit
race testing.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: <bpf@vger.kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:45:06 +01:00
Paul E. McKenney
de2ad0e72c rcutorture: Test start-poll primitives with interrupts disabled
This commit tests the ->start_poll() and ->start_poll_full() functions
with interrupts disabled, but only for RCU variants setting the
->start_poll_irqsoff flag.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:44:59 +01:00
Paul E. McKenney
a30763800b rcu: Permit start_poll_synchronize_rcu*() with interrupts disabled
The header comment for both start_poll_synchronize_rcu() and
start_poll_synchronize_rcu_full() state that interrupts must be enabled
when calling these two functions, and there is a lockdep assertion in
start_poll_synchronize_rcu_common() enforcing this restriction.  However,
there is no need for this restrictions, as can be seen in call_rcu(),
which does wakeups when interrupts are disabled.

This commit therefore removes the lockdep assertion and the comments.

Reported-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:44:30 +01:00
Paul E. McKenney
481aa5fca0 rcu: Allow short-circuiting of synchronize_rcu_tasks_rude()
There are now architectures for which all deep-idle and entry-exit
functions are properly inlined or marked noinstr.  Such architectures do
not need synchronize_rcu_tasks_rude(), or will not once RCU Tasks has
been modified to pay attention to idle tasks.  This commit therefore
allows a CONFIG_ARCH_HAS_NOINSTR_MARKINGS Kconfig option to turn
synchronize_rcu_tasks_rude() into a no-op.

To facilitate testing, kernels built by rcutorture scripting will enable
RCU Tasks Trace even on systems that do not need it.

[ paulmck: Apply Peter Zijlstra feedback. ]

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:44:24 +01:00
Paul E. McKenney
4fa7f729ce doc: Add rcuog kthreads to kernel-per-CPU-kthreads.rst
This commit adds the rcuog kthreads to the list of callback-offloading
kthreads that can be affinitied away from worker CPUs.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:44:19 +01:00
Chang S. Bae
b35ea78a47 cpufreq: ACPI: Simplify MSR read on the boot CPU
Replace the 32-bit MSR access function with a 64-bit variant to simplify
the call site, eliminating unnecessary 32-bit value manipulations.

Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Link: https://patch.msgid.link/20241106182313.165297-1-chang.seok.bae@intel.com
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2024-11-12 21:42:29 +01:00
Paul E. McKenney
f30e2582a7 rcu: Add rcuog kthreads to RCU_NOCB_CPU help text
The RCU_NOCB_CPU help text currently fails to mention rcuog kthreads,
so this commit adds this information.

Reported-by: Olivier Langlois <olivier@trillion01.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:41:08 +01:00
Jinjie Ruan
5d2501f42c rcu: Use the BITS_PER_LONG macro
sizeof(unsigned long) * 8 is the number of bits in an unsigned long
variable, replace it with BITS_PER_LONG macro to make it simpler.

Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:41:04 +01:00
Hongbo Li
c329120696 rcu: Use bitwise instead of arithmetic operator for flags
This silences the following coccinelle warning:
  WARNING: sum of probable bitmasks, consider |

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Reviewed-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:40:53 +01:00
Baruch Siach
4a09e35892 doc: rcu: update printed dynticks counter bits
The stall warning prints 16 bits since commit 171476775d
("context_tracking: Convert state to atomic_t").

Fixes: 171476775d ("context_tracking: Convert state to atomic_t")
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
2024-11-12 21:40:24 +01:00
Christian Loehle
70d8b6485b sched/cpufreq: Ensure sd is rebuilt for EAS check
Ensure sugov_eas_rebuild_sd() is always called when sugov_init()
succeeds. The out goto initialized sugov without forcing the rebuild.

Previously the missing call to sugov_eas_rebuild_sd() could lead to EAS
not being enabled on boot when it should have been, because it requires
all policies to be controlled by schedutil while they might not have
been initialized yet.

Fixes: e7a1b32e43 ("cpufreq: Rebuild sched-domains when removing cpufreq driver")
Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Link: https://patch.msgid.link/35e572d9-1152-406a-9e34-2525f7548af9@arm.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2024-11-12 21:36:51 +01:00
Uwe Kleine-König
927df4cae3 ACPI: Switch back to struct platform_driver::remove()
After commit 0edb555a65 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.

Convert all platform drivers below drivers/acpi to use .remove(), with
the eventual goal to drop struct platform_driver::remove_new(). As
.remove() and .remove_new() have the same prototypes, conversion is done
by just changing the structure member name in the driver initializer.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/9ee1a9813f53698be62aab9d810b2d97a2a9f186.1731397722.git.u.kleine-koenig@baylibre.com
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2024-11-12 21:30:30 +01:00
Miguel Ojeda
b2603f8ac8 rust: warn on bindgen < 0.69.5 and libclang >= 19.1
When testing a `clang` upgrade with Rust Binder, Alice encountered [1] a
build failure caused by `bindgen` not translating some symbols related to
tracepoints. This was caused by commit 2e770edd8ce1 ("[libclang] Compute
the right spelling location") changing the behavior of a function exposed
by `libclang`. `bindgen` fixed the regression in commit 600f63895f73
("Use clang_getFileLocation instead of clang_getSpellingLocation").

However, the regression fix is only available in `bindgen` versions
0.69.5 or later (it was backported for 0.69.x). This means that when
older bindgen versions are used with new versions of `libclang`, `bindgen`
may do the wrong thing, which could lead to a build failure.

Alice encountered the bug with some header files related to tracepoints,
but it could also cause build failures in other circumstances. Thus,
always emit a warning when using an old `bindgen` with a new `libclang`
so that other people do not have to spend time chasing down the same
bug.

However, testing just the version is inconvenient, since distributions
do patch their packages without changing the version, so I reduced the
issue into the following piece of code that can trigger the issue:

    #define F(x) int x##x
    F(foo);

In particular, an unpatched `bindgen` will ignore the macro expansion
and thus not provide a declaration for the exported `int`.

Thus add a build test to `rust_is_available.sh` using the code above
(that is only triggered if the versions appear to be affected), following
what we did for the 0.66.x issue.

Moreover, I checked the status in the major distributions we have
instructions for:

  - Fedora 41 was affected but is now OK, since it now ships `bindgen`
    0.69.5.

    Thanks Ben for the quick reply on the updates that were ongoing.

    Fedora 40 and earlier are OK (older `libclang`, and they also now
    carry `bindgen` 0.69.5).

  - Debian Sid was affected but is now OK, since they now ship a patched
    `bindgen` binary (0.66.1-7+b3). The issue was reported to Debian by
    email and then as a bug report [2].

    Thanks NoisyCoil and Matthias for the quick replies. NoisyCoil handled
    the needed updates. Debian may upgrade to `bindgen` 0.70.x, too.

    Debian Testing is OK (older `libclang` so far).

  - Ubuntu non-LTS (oracular) is affected. The issue was reported to Ubuntu
    by email and then as a bug report [3].

    Ubuntu LTS is not affected (older `libclang` so far).

  - Arch Linux, Gentoo Linux and openSUSE should be OK (newer `bindgen` is
    provided). Nix as well (older `libclang` so far).

This issue was also added to our "live list" that tracks issues around
distributions [4].

Cc: Ben Beasley <code@musicinmybrain.net>
Cc: NoisyCoil <noisycoil@tutanota.com>
Cc: Matthias Geiger <werdahias@riseup.net>
Link: https://lore.kernel.org/rust-for-linux/20241030-bindgen-libclang-warn-v1-1-3a7ba9fedcfe@google.com/ [1]
Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086510 [2]
Link: https://bugs.launchpad.net/ubuntu/+source/rust-bindgen-cli/+bug/2086639 [3]
Link: https://github.com/Rust-for-Linux/linux/issues/1127 [4]
Co-developed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20241111201607.653149-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-11-12 21:26:54 +01:00
Abhinav Saxena
623e5747c6 docs: fix typos and whitespace in Documentation/process/backporting.rst
- Fix repeated word "when" in backporting documentation
- Remove trailing whitespace after '$' character

These issues were reported by checkpatch.pl. No functional changes.

Signed-off-by: Abhinav Saxena <xandfury@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20241107061911.106040-1-xandfury@gmail.com
2024-11-12 13:22:16 -07:00