summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2026-08-31arm64: dts: imx8mm: imx8mp: Add FIO1-Audio DTOs for Data Modul i.MX8M Mini ↵Marek Vasut
and Plus eDM SBC Add DT overlay for feature connector expansion module eDM-MOD-iMX8Mm-FIO1-Audio providing additional UARTs, CAN, PWM Beeper, I2C, SPI, GPIO breakout and SGTL5000 codec. This adapter can be optionally populated onto the eDM SBC. Signed-off-by: Marek Vasut <marex@nabladev.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: imx8mm: imx8mp: Add FIO1 DTOs for Data Modul i.MX8M Mini and ↵Marek Vasut
Plus eDM SBC Add DT overlay for feature connector expansion module eDM-MOD-iMX8Mm-FIO1 providing additional UARTs, CAN, PWM Beeper, I2C, SPI and GPIO breakout. This adapter can be optionally populated onto the eDM SBC. Signed-off-by: Marek Vasut <marex@nabladev.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: imx8mm: imx8mp: Add CM DTOs for Data Modul i.MX8M Mini and Plus ↵Marek Vasut
eDM SBC Add DT overlay which adds CM4/CM7 extras so that CM4/CM7 firmware could be used with remoteproc and rpmsg, but without imposing the overhead on every user of the platform. The CM4 variant applies to i.MX8M Mini, while the CM7 variant applies to i.MX8M Plus . Signed-off-by: Marek Vasut <marex@nabladev.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: imx8mm: imx8mp: Add HDMI DTOs for Data Modul i.MX8M Mini and ↵Marek Vasut
Plus eDM SBC Add DT overlay for the DSI-to-HDMI adapter eDM-MOD-iMX8Mm-HDMI populated with Lontium LT9611 bridge. This adapter can be optionally populated onto the eDM SBC. Signed-off-by: Marek Vasut <marex@nabladev.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: imx8mm: imx8mp: Add legacy board DTOs for Data Modul i.MX8M Mini ↵Marek Vasut
and Plus eDM SBC Add legacy board revision compatibility DT overlays for both i.MX8M Mini and Plus eDM SBC boards. This adds adjustments to support legacy board revisions. Signed-off-by: Marek Vasut <marex@nabladev.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: qcom: glymur-crd: Mark the EC reset gpio as reservedAbel Vesa
GPIO 65 from TLMM is used by the Embedded Controller as its reset line. Reserve it to prevent Linux from requesting or reconfiguring it. Fixes: 9314c6ecace1 ("arm64: dts: qcom: glymur: Enable Glymur CRD board support") Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260831-dts-qcom-glymur-crd-reserve-ec-reset-gpio-v1-1-4a9da88755d4@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2026-08-31arm64: dts: imx8mm: imx8mp: Add LVDS DTOs for Data Modul i.MX8M Mini and ↵Marek Vasut
Plus eDM SBC Add DT overlay for the DSI-to-LVDS adapter eDM-MOD-iMX8Mm-LVDS populated with Lontium LT9211 bridge. This adapter can be optionally populated onto the eDM SBC. This adapter can be extended with multiple panels, currently supported are the following: - AUO G215HVN011 - Innolux G070Y2-L01 - Innolux G101ICE-L01 - Innolux G121XCE-L01 - Innolux G156HCE-L01 - Multi-Inno Technology MI0700A2T-30 - Multi-Inno Technology MI1010Z1T-1CP11 Note that in case of the i.MX8M Plus eDM SBC, the adapter name containing iMX8Mm is not a typo, this is the adapter model string. The adapter was originally developed for the iMX8Mm eDM SBC. Signed-off-by: Marek Vasut <marex@nabladev.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: imx8mp: Add DT label to SPBA5 busMarek Vasut
Add DT label to SPBA5 bus for usage in board DTs. No functional change. Signed-off-by: Marek Vasut <marex@nabladev.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: imx95-15x15-frdm: fix duplicated can-phy node namesHaibo Chen
Both the flexcan2 and flexcan5 CAN transceiver PHY nodes use the same node name "can-phy", which results in a node name collision. Distinguish them by using unit-less unique names "can-phy0" and "can-phy1". These two CAN PHYs share their silent pin, this shared GPIO can be handled by GPIO shared proxy. Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Fixes: 9bdfeed989b1 ("arm64: dts: freescale: imx95: Add support for i.MX95 15x15 FRDM board") Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: freescale: Correct white-space styleKrzysztof Kozlowski
Correct a few white-space issues, like missing space before bracket '{' character or spurious space, which will be flagged by dt-check-style ("redundant-whitespace" warning). No functional changes. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: imx93: Add i.MX93 Wireless FRDM board supportJoseph Guo
i.MX93 Wireless FRDM board(FRDM-IMX93W) is a low-cost and compact board featuring the i.MX93W applications processor. FRDM-IMX93W board basically reuse the FRDM-IMX93 board, with some minor functional and pin connection differences. Reuse the imx93-11x11-frdm-common.dtsi and add the board-specific changes. Here are the detailed differences between FRDM-IMX93 and FRDM-IMX93W board. Function differences: Function FRDM-IMX93W FRDM-IMX93 WIFI/BT IW610 in i.MX93W IW612 M.2 module MQS N Y M.2 N Y RPi 40-pin HDR Limited support(pin conflict) Y Pin connection differences: Function Signal name i.MX93W EVK i.MX93 EVK WIFI/BT SPI_FRM SAI1_TXFS (spi1.PCS0) GPIO_IO08 (spi3.PCS0) SPI_TXD SAI1_TXC (spi1.SIN) GPIO_IO09 (spi3.SIN) SPI_RXD SAI1_RXD0 (spi1.SOUT) GPIO_IO10 (spi3.SOUT) SPI_CLK SAI1_TXD0 (spi1.SCK) GPIO_IO11 (spi3.SCK) SPI_INT CCM_CLKO1 on-board IO expander NB_WAKE_IN PDM_CLK on-module IO expander WL_WAKE_IN PDM_BIT_STREAM0 on-module IO expander IND_RST_WL PDM_BIT_STREAM1 on-module IO expander IND_RST_NB GPIO_IO28 on-module IO expander PDn GPIO_IO29 on-module IO expander NB_WAKE_OUT GPIO_IO14 on-board IO expander WL_WAKE_OUT GPIO_IO15 CCM_CLKO1 I2C3 I2C3_SDA GPIO_IO00 GPIO_IO28 I2C3_SCL GPIO_IO01 GPIO_IO29 Signed-off-by: Joseph Guo <qijian.guo@nxp.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: imx93-11x11-frdm: factor out common parts into dtsiJoseph Guo
The i.MX93 Wireless FRDM board reuses most of the i.MX93 FRDM board. To avoid duplication and DTS-to-DTS includes, extract common hardware definitions from imx93-11x11-frdm.dts into imx93-11x11-frdm-common.dtsi to allow the common description shared by both boards. The FRDM-IMX93 board-specific .dts now includes the common dtsi and only contains board-specific overrides. Signed-off-by: Joseph Guo <qijian.guo@nxp.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: imx8qm-ss-conn: Add HSIC usb@5b0e0000 nodeFrank Li
Add usb@5b0e0000 and related node for i.MX8QM. Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: imx8qm-ss-conn: add usbotg3 iommu informationFrank Li
Add usbotg3 iommu information. Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-08-31arm64: dts: apple: t6032: Fix cpus node indentationSven Peter
Drop the extra space indentation of the closing brace of the cpus node. Fixes: 67d9574cf8ed ("arm64: dts: apple: Initial T603[124] (M3 Max and Ultra) device trees") Reviewed-by: Janne Grunau <j@jannau.net> Link: https://patch.msgid.link/20260830-b4-apple-dts-fixes-v1-3-cc20f8445754@kernel.org Signed-off-by: Sven Peter <sven@kernel.org>
2026-08-31arm64: dts: apple: t6030: Fix cpus node indentationSven Peter
Drop the extra space indentation of the closing brace of the cpus node. Fixes: e81af013dbdd ("arm64: dts: apple: Initial T6030 (M3 Pro) device trees") Reviewed-by: Janne Grunau <j@jannau.net> Link: https://patch.msgid.link/20260830-b4-apple-dts-fixes-v1-2-cc20f8445754@kernel.org Signed-off-by: Sven Peter <sven@kernel.org>
2026-08-31arm64: dts: apple: t602x: Fix cpus node indentationSven Peter
Drop the extra space indentation of the closing brace of the cpus node. Fixes: e1514f9b3755 ("arm64: dts: apple: Add initial t602x device trees") Reviewed-by: Janne Grunau <j@jannau.net> Link: https://patch.msgid.link/20260830-b4-apple-dts-fixes-v1-1-cc20f8445754@kernel.org Signed-off-by: Sven Peter <sven@kernel.org>
2026-08-31ARM: dts: allwinner: sun7i-a20: Replace spaces indentation with tabsKrzysztof Kozlowski
Replace excessive spaces for aligning indentation into tabs. This will be reported by dt-style-check ("[mixed-indent-chars] too many space characters in indent (more than 7)"). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20260829194131.108039-2-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
2026-08-31arm64: dts: rockchip: fix an error and a typo in the CM5-IO commentJiaxing Hu
Two mistakes in the CM5-IO header comment. The USB-C line names combphy0, but combphy0 is the M.2 PCIe lane, as the comment above &combphy0_ps says. The USB-C SuperSpeed path is the USBDP PHY. The USB-A count is also wrong: the carrier has four ports, not two. The RTS5411S USB 3.0 hub fans the single USB3 lane out to four downstream USB-A ports. Comment only, no functional change. Signed-off-by: Jiaxing Hu <gahing@gahingwoo.com> Link: https://patch.msgid.link/20260819064707.1667292-1-gahing@gahingwoo.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2026-08-31arm64: dts: rockchip: correct rk3576 SDGMAC GRF reg sizeAmin Gattout
The RK3576 TRM lists the SDGMAC_GRF register file as 8KB. Adjust the reg property size accordingly. Signed-off-by: Amin Gattout <amin.gattout@gmail.com> Link: https://patch.msgid.link/20260820-fix-sdgmac-v1-1-38e8d222b933@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2026-08-31arm64: tegra: Enable DMA Support on Tegra194 QSPIAaron Kling
Without dma enabled pio mode is used and flash storage such as the one on the p3668 module times out and cannot complete any transfers. In some cases, these timeouts cause hangs and cbb faults. Signed-off-by: Aaron Kling <webgeek1234@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
2026-08-31arm64: tegra: Add PCIe root ports on Tegra264Thierry Reding
The bindings have been updated to use the PCIe root port bindings, so the nodes for the root ports must be added. Signed-off-by: Thierry Reding <treding@nvidia.com>
2026-08-31arm64: tegra: Reorder reg and reg-names to match bindingsThierry Reding
The ECAM region cannot be the first entry in the "reg" property, because in that case the unit-address wouldn't match the first entry. The order of the nodes can also not be changed to match the ECAM entry because the ECAM region is global and outside of any of the control busses. Acked-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
2026-08-31arm64: tegra: Add PWM fan on Jetson AGX Thor DevKitThierry Reding
Without a PWM fan device node to actively control the PWM, the fan will either stop or run at full speed, depending on the state of the PWM when the controller's clock gets turned off during boot. One is bad for the system's lifetime and the other is very annoying for anyone in close proximity to the device, so add the PWM fan in device tree to fix this. Signed-off-by: Thierry Reding <treding@nvidia.com>
2026-08-31arm64: tegra: Add PWM controllers on Tegra264Thierry Reding
Tegra264 has a number of PWM controllers that are similar but incompatible with those found on earlier chips. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
2026-08-31Merge branch 'v7.4/arm64-dt' into for-nextNeil Armstrong
2026-08-31arm64: dts: amlogic: Replace spaces indentation with tabsKrzysztof Kozlowski
Replace excessive spaces for aligning indentation into tabs. This will be reported by dt-style-check ("[mixed-indent-chars] too many space characters in indent (more than 7)"). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260829193939.107564-2-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2026-08-31arm64: dts: amlogic: t7: fix the pin groups of the vsync PWMLucas Tanure
The vsync PWM output can appear on either of two pins, but the description named a single group that does not exist, so anything using it would refuse to start. Name the real groups instead, one entry per pin. No board describes this output yet, so nothing changes today. Fixes: 2a2a7b9701a7 ("arm64: dts: amlogic: t7: Add PWM pinctrl nodes") Assisted-by: Claude:claude-opus-5 Signed-off-by: Lucas Tanure <tanure@linux.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260829094758.23248-5-tanure@linux.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2026-08-31arm64: dts: amlogic: t7: khadas-vim4: add the PWM-driven suppliesLucas Tanure
The board powers its two CPU clusters, the GPU, the NPU, the memory and the always-on domain from regulators steered by PWM outputs. None of them were described, so Linux treated those outputs as unused and switched them off part way through boot. The supplies then drifted away from the levels the bootloader had set, which showed up as random hangs and memory corruption. Describe each supply so it has an owner and is left alone. The voltage ranges are read off the feedback networks on the board schematic. VDDNPU is deliberately not the range in Amlogic's own device tree: this board fits a different feedback resistor, which puts it about 40mV higher at both ends. Fixes: 8c45bf9ae4ef ("arm64: dts: amlogic: t7: khadas-vim4: Add power regulators") Assisted-by: Claude:claude-opus-5 Signed-off-by: Lucas Tanure <tanure@linux.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260829094758.23248-4-tanure@linux.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2026-08-31arm64: dts: amlogic: t7: fix the pin groups of two PWM outputsLucas Tanure
Two of the PWM outputs can each appear on more than one pin, but the description named a single group that does not exist, so anything using it refused to start. Name the real groups instead, one entry per pin, the same way the other multi-pin PWM output is already described. Fixes: 2a2a7b9701a7 ("arm64: dts: amlogic: t7: Add PWM pinctrl nodes") Assisted-by: Claude:claude-opus-5 Signed-off-by: Lucas Tanure <tanure@linux.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260829094758.23248-3-tanure@linux.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2026-08-31arm64: dts: amlogic: t7: khadas-vim4: allow the SD card to be power cycledLucas Tanure
SD cards start at 3.3V and switch to 1.8V to reach UHS-I speeds. Some cards refuse that switch, and the SD specification says the only way to recover is to power the card off and start again. SD_3V3 is marked regulator-always-on, so the supply never goes off, the card stays stuck half way through the switch, and the MMC core retries forever: mmc1: error -95 whilst initialising SD card Drop regulator-always-on. regulator-boot-on still turns the supply on at boot, and a card that refuses the switch now falls back to high speed instead of failing to initialise. Fixes: 8c45bf9ae4ef ("arm64: dts: amlogic: t7: khadas-vim4: Add power regulators") Signed-off-by: Lucas Tanure <tanure@linux.com> Assisted-by: Claude:claude-fable-5 Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260823115335.102219-3-tanure@linux.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2026-08-31arm64: dts: amlogic: t7: use the real UART pclkLucas Tanure
uart_a listed the 24MHz crystal for all three of its clocks because the T7 clock controller driver did not exist when these boards were added. That leaves the real UART bus clock without a user, so the kernel turns it off when it disables unused clocks at the end of boot, and the board hangs. Update the board DTS files to point uart_a's pclk to CLKID_SYS_UART_A instead of the dummy crystal clock. Fixes: 4fef056588f5 ("arm64: dts: amlogic-t7-a311d2-khadas-vim4: add initial device-tree") Fixes: 6f048cc7a635 ("arm64: dts: add board AN400") Signed-off-by: Lucas Tanure <tanure@linux.com> Assisted-by: Claude:claude-fable-5 Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260823115335.102219-2-tanure@linux.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2026-08-31ARM: dts: marvell: Replace spaces indentation with tabsKrzysztof Kozlowski
Replace excessive spaces for aligning indentation into tabs. This will be reported by dt-style-check ("[mixed-indent-chars] too many space characters in indent (more than 7)"). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2026-08-31ARM: dts: helios4: fix spi1 locationRosen Penev
This spi node is specified in armada-38x.dtsi with proper compatible strings whereas they are not present here. Instead of copy and pasting various lines, just reference the node in the dtsi. This dts seems to predate the move of spi from internal-regs to the soc node so this moves it in line there. Allows proper probing of SPI at runtime. Remove the microsom_spi1_cs_pins pinctrl group and its reference in &spi1. The group only muxed mpp59 to the "spi1" function, but that pin (SPI1 cs0) is already covered by spi1_pins, which selects the same function for mpp56-59 in armada-38x.dtsi. Fixes: ced8025b569e ("ARM: dts: armada388-helios4") Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2026-08-31ARM: dts: helios4: fix vbus-supply for USB2 PHYRosen Penev
The usb-nop-xceiv binding and driver use "vbus-supply"; the driver acquires the VBUS regulator via devm_regulator_get_exclusive("vbus") (phy-generic.c). The stale "vbus-regulator" name is never read by the driver and dtbs_check rejects it as an unknown property. Rename the property so reg_5p0v_usb is honored. Fixes: ced8025b569e ("ARM: dts: armada388-helios4") Assisted-by: opencode:big-pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2026-08-31ARM: dts: armada-388-helios4: fix vmmc property nameRosen Penev
The sdhci@d8000 node references the 3.3V regulator through a bare "vmmc" property, which is not part of the mmc controller DT binding. The binding requires supply properties in the form "vmmc-supply", so the current entry is ignored by the driver. Rename the property to "vmmc-supply" so the fixed regulator is correctly wired up as the card power supply. Fixes: ced8025b569e ("ARM: dts: armada388-helios4") Assisted-by: opencode:big-pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2026-08-31ARM: dts: armada-395-gp: drop unsupported SDHCI clock-frequencyRosen Penev
The SDHCI node carries a "clock-frequency" property, but the marvell,armada-380-sdhci binding does not define it and dtbs_check rejects the node as a result. No driver consumes it either: only a few other sdhci-pltfm based drivers (imx, mcf, iproc, arasan, dwcmshc, xenon) read that property, while sdhci-pxav3 derives the maximum clock from the io clock rate. Remove the property. Fixes: 356645123581 ("ARM: dts: mvebu: armada-395-gp: add support for the Armada 395 GP Board") Assisted-by: opencode:big-pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2026-08-31ARM: dts: marvell: add missing SDHCI clock-namesRosen Penev
The marvell,armada-380-sdhci binding requires "clock-names", and the sdhci-pxav3 driver requests its io clock by name before falling back to an unnamed lookup. Both Armada 38x and 39x nodes only carry an unnamed clocks reference, so dtbs_check reports "'clock-names' is a required property" on every board. Add clock-names = "io" to both nodes. No functional change: the driver already obtains the clock through its fallback. Assisted-by: opencode:big-pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2026-08-31ARM: dts: armada-385-clearfog-gtr: fix vmmc property nameRosen Penev
The SDHCI node references the 3.3V regulator through a bare "vmmc" property, which is not part of the mmc controller DT binding; the correct property is "vmmc-supply". Fixes: aecc313490ae ("ARM: dts: mvebu: add support for SolidRun Clearfog GTR") Assisted-by: opencode:big-pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2026-08-31ARM: dts: helios4: fix lm75 supply nameRosen Penev
The lm75 driver requests a regulator named "vs" (the +VS power pin of the chip). The Helios4 DTS incorrectly used vcc-supply instead of vs-supply, causing the regulator core to emit: lm75 0-004c: supply vs not found, using dummy regulator Fix the property name to match the binding and the driver. Fixes: ced8025b569e ("ARM: dts: armada388-helios4") Assisted-by: opencode:big-pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2026-08-31microblaze: drop unneeded semicolonJulia Lawall
When a function-like macro expands to an expression, that expression doesn't need a semicolon after it. All uses have been verified to have their own semicolons. This was found using the following Coccinelle semantic patch: @r@ identifier i : script:ocaml() { String.lowercase_ascii i = i }; expression e; @@ *#define i(...) e; Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Link: https://patch.msgid.link/20260801191002.1383835-2-Julia.Lawall@inria.fr Signed-off-by: Michal Simek <michal.simek@amd.com>
2026-08-31microblaze: Fix MB_MANAGER build with older binutilsKarl Mehltretter
Commit 88707ebe77e2 ("microblaze: Add custom break vector handler for mb manager") added the suspend mnemonic to the MB Manager break handler. GNU as only learned this mnemonic in binutils 2.42. Linux supports binutils 2.30, where enabling CONFIG_MB_MANAGER fails: arch/microblaze/kernel/entry.S:946: Error: unknown opcode "suspend" The suspend mnemonic is an alias for mbar 24, and both encode as 0xbb020004. Use the underlying instruction, which GNU as 2.30 already supports. Fixes: 88707ebe77e2 ("microblaze: Add custom break vector handler for mb manager") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202310310151.UhB396Qs-lkp@intel.com/ Suggested-by: Michal Simek <monstr@monstr.eu> Cc: stable@vger.kernel.org Assisted-by: Codex:gpt-5.6-sol Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com> Link: https://patch.msgid.link/20260813024026.5402-1-kmehltretter@gmail.com Signed-off-by: Michal Simek <michal.simek@amd.com>
2026-08-31ARM: dts: xilinx: Replace spaces indentation with tabsKrzysztof Kozlowski
Replace excessive spaces for aligning indentation into tabs. This will be reported by dt-style-check ("[mixed-indent-chars] too many space characters in indent (more than 7)"). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Michal Simek <michal.simek@amd.com>
2026-08-30x86/amd_node: Avoid divide by zero on virtualized systemsJason Andryuk
On a virtualized system, the number of nodes does not have a relationship to the number of roots. A Xen PVH dom0 can calculate roots_per_node as 0, which crashes with a divide by zero in: if (count++ % roots_per_node) because the underlying topology code on Xen ends up making num_nodes 2 and num_roots 1 and the integer division result is 0. The issue is seen with Xen, but it could affect other systems. Set roots_per_node to 1 in this case. Print a firmware bug when this is performed for non-virtualized systems. [ bp: Massage commit message. ] Fixes: 0a4b61d9c2e4 ("x86/amd_node: Fix AMD root device caching") Suggested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Jason Andryuk <jason.andryuk@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20260825214805.39148-2-jason.andryuk@amd.com
2026-08-30Merge tag 'timers-urgent-2026-08-30' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull timer fix from Ingo Molnar: - Fix UM build regression caused by the removal of the UM specific timex.h header (Thomas Weißschuh) * tag 'timers-urgent-2026-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: um: Use asm-generic/timex.h over the host architecture one
2026-08-30Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rmk/linuxLinus Torvalds
Pull arm updates from Russell King: "Updates for 7.3: - add module description for kprobes testing module - remove references to CONFIG_CPU_ARM92x_CPU_IDLE options - expand comment in ARM's __switch_to() Also a number of fixes that missed 7.2: - disable broken eBPF on RiscPC - more BKPT fixes (guys, it's a *very* bad idea when everyone uses the BKPT instruction for their own differing purposes) - another preempt-rt fix, this time for siglock / CPU timers - fix another path where we try to send signals to processes with interrupts disabled - acquire mmap write lock for show_pte() with user faults" * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rmk/linux: ARM: 9480/1: entry: expand comment in __switch_to ARM: 9478/1: Remove references to removed CONFIG_CPU_ARM92x_CPU_IDLE options ARM: 9485/1: mm: acquire mmap write lock around show_pte() for user faults ARM: 9484/1: enable interrupts when unhandled user faults are triggered ARM: 9483/1: select HAVE_POSIX_CPU_TIMERS_TASK_WORK ARM: 9481/2: breakpoint: CFI breakpoints only on demand ARM: 9477/1: Disable broken eBPF JIT on the Risc PC ARM: 9473/1: kprobes: test: add MODULE_DESCRIPTION
2026-08-30Merge tag 'for-linus' of https://github.com/openrisc/linuxLinus Torvalds
Pull OpenRISC updates from Stafford Horne: "One small trivial macro cleanup and one bug fix. The bug fix is to fix an unchecked access in our or1k_atomic syscall, I am debating if we should just deprecate this as there is minimal need for it" * tag 'for-linus' of https://github.com/openrisc/linux: openrisc: fix arbitrary kernel memory access via or1k_atomic syscall openrisc: drop unneeded semicolon
2026-08-30Merge branches 'fixes' and 'misc' into for-linusRussell King (Oracle)
2026-08-29openrisc: fix arbitrary kernel memory access via or1k_atomic syscallAli Ahmet Memis
sys_or1k_atomic() (syscall 244 in the "or1k" ABI) takes two user pointers, v1 and v2, and swaps the words they point to in hand-written assembly. l.lwz r29,0(r4) l.lwz r27,0(r5) l.sw 0(r4),r27 l.sw 0(r5),r29 The pointers are not checked with access_ok(). The four memory accesses also have no exception table entries. A caller passes a kernel address as either pointer, and the syscall reads from and writes to it directly. This gives an unprivileged process a kernel read/write primitive. It overwrites kernel data such as the sys_call_table, gaining code execution in kernel context. Check both pointers before entering the critical section. Add fixups for the four memory accesses so faults on valid but unmapped user addresses return -EFAULT. [shorne@gmail.com: fix comment style] Fixes: 9d02a4283e9c ("OpenRISC: Boot code") Cc: stable@vger.kernel.org Signed-off-by: Ali Ahmet Memis <ali@iusegentoo.com> Signed-off-by: Stafford Horne <shorne@gmail.com>
2026-08-28Merge tag 'arm64-fixes' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux Pull arm64 fixes from Will Deacon: "A mixture of ptdump, compat and MTE fixes that came in during the merge window: - Fix address handling of final memory region in ptdump - Fix emulation of decrementing load/store multiple from 32-bit task - Fix SCTLR context-switching for store-only MTE mode - Fix numerous issues in MTE selftests" * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: selftests/arm64: Add MTE test config fragment selftests/arm64: Fix MTE prctl TAP plan selftests/arm64: Treat KSM merge_across_nodes as optional selftests/arm64: Print missing MTE TAP headers arm64: compat: Fix decrementing LDM/STM alignment emulation arm64: process: Fix context switching MTE store-only tag check KVM: arm64: ptdump: Flush the last region arm64: ptdump: Make note_page_flush() range aware