summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2017-08-18kernel/watchdog: fix Kconfig constraints for perf hardlockup watchdogNicholas Piggin
Commit 05a4a9527931 ("kernel/watchdog: split up config options") lost the perf-based hardlockup detector's dependency on PERF_EVENTS, which can result in broken builds with some powerpc configurations. Restore the dependency. Add it in for x86 too, despite x86 always selecting PERF_EVENTS it seems reasonable to make the dependency explicit. Link: http://lkml.kernel.org/r/20170810114452.6673-1-npiggin@gmail.com Fixes: 05a4a9527931 ("kernel/watchdog: split up config options") Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Acked-by: Don Zickus <dzickus@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-08-19Merge tag 'omap-for-v4.14/fixes-not-urgent-v2-signed' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup Pull "non-urgent fixes for omaps for v4.14" from Tony Lindgren: Non-urgent fixes for omaps for v4.14 merge window. These all can wait for the merge window as we have not seemed to hit any of these so far: - Fix error handling in omap_ocp2scp_probe affecting runtime PM error path - Drop broken RPM status update for omap_device - Two fixes for of_irq_get() usage that can return 0 * tag 'omap-for-v4.14/fixes-not-urgent-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: OMAP4+: PRM: fix of_irq_get() result checks ARM: OMAP3+: PRM: fix of_irq_get() result check ARM: OMAP2+: omap_device: drop broken RPM status update from suspend_noirq bus: omap-ocp2scp: Fix error handling in omap_ocp2scp_probe
2017-08-19Merge tag 'qcom-arm64-defconfig-for-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/arm64 Pull "Qualcomm ARM64 Based defconfig Updates for v4.14" from Andy Gross: * Enable Qualcomm IPQ8074 clocks and pinctrl * tag 'qcom-arm64-defconfig-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: arm64: defconfig: Enable QCOM IPQ8074 clock and pinctrl
2017-08-19Merge tag 'zte-soc-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/arm64 Pull "ZTE SoC updates for 4.14" from Shawn Guo: - Select PINCTRL for ZTE platform, so that pinctrl driver for ZX296718 can be enabled. * tag 'zte-soc-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: arm64: select PINCTRL for ZTE platform
2017-08-18Merge tag 'arm-soc/for-4.14/defconfig-arm64' of ↵Arnd Bergmann
http://github.com/Broadcom/stblinux into next/arm64 Pull "Broadcom defconfig-arm64 changes for 4.14" from Florian Fainelli: This pull request contains ARM64 defconfig changes for Broadcom ARM64-based SoCs for 4.14, please pull the following: - Markus enables the Broadcom STB AVS thermal monitoring driver as a module which is currently queued in Rui Zhang's tree * tag 'arm-soc/for-4.14/defconfig-arm64' of http://github.com/Broadcom/stblinux: arm64: defconfig: add CONFIG_BRCMSTB_THERMAL
2017-08-18Merge tag 'tegra-for-4.14-arm-core' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/soc Pull "ARM: tegra: Changes for v4.14-rc1" from Thierry Reding: Contains a single fix for platforms with more than 2 GiB of memory running on a kernel with LPAE enabled. * tag 'tegra-for-4.14-arm-core' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: ARM: tegra: Select appropriate DMA options for LPAE
2017-08-18Merge tag 'tegra-for-4.14-soc' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/drivers Pull "soc/tegra: Changes for v4.14-rc1" from Thierry Reding: Contains a fix for unbalanced reference counting of device tree nodes in the PMC-based generic power domains code. A second change moves the SoC device registration code from its old location in arch/arm/mach-tegra to drivers/soc/tegra so that it can be shared between 32-bit and 64-bit ARM Tegra SoCs. * tag 'tegra-for-4.14-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: soc/tegra: Register SoC device soc/tegra: Fix bad of_node_put() in powergate init
2017-08-18Merge tag 'v4.13-next-soc' of https://github.com/mbgg/linux-mediatek into ↵Arnd Bergmann
next/drivers Pull "arm: mediatek: soc updates for v4.14" from Matthias Brugger: - add mt7623a smp support - scpsys: reduce code duplication - scpsys: add mt7622 support - pmic wrapper: make of_device_ids constant * tag 'v4.13-next-soc' of https://github.com/mbgg/linux-mediatek: soc: mediatek: add SCPSYS power domain driver for MediaTek MT7622 SoC soc: mediatek: add header files required for MT7622 SCPSYS dt-binding soc: mediatek: reduce code duplication of scpsys_probe across all SoCs dt-bindings: soc: update the binding document for SCPSYS on MediaTek MT7622 SoC soc: mtk-pmic-wrap: make of_device_ids const. ARM: mediatek: add MT7623a smp bringup code
2017-08-18Merge tag 'mvebu-dt64-4.14-2' of git://git.infradead.org/linux-mvebu into ↵Arnd Bergmann
next/dt64 Pull "mvebu dt64 for 4.14 (part 2)" from Gregory CLEMENT: - Enable uSD on ESPRESSObin (Armada 37xx based board) - Add NAND support on Armada 7K/8K SoCs - Enable USB host on Armada-7040-DB and Armada-8040-DB boards * tag 'mvebu-dt64-4.14-2' of git://git.infradead.org/linux-mvebu: ARM64: dts: marvell: enable USB host on Armada-8040-DB ARM64: dts: marvell: enable USB host on Armada-7040-DB ARM64: dts: marvell: add NAND support on the CP110 ARM64: dts: marvell: armada-37xx: Enable uSD on ESPRESSObin arm64: dts: marvell: Fully re-order nodes in Marvell CP110 dtsi files
2017-08-18arm64: dts: apm: fix PCI bus dtc warningsRob Herring
dtc recently added PCI bus checks. Fix these warnings. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Duc Dang <dhdang@apm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-08-18ARM: dts: versatile: fix PCI bus dtc warningsRob Herring
dtc recently added PCI bus checks. Fix these warnings. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Russell King <linux@armlinux.org.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-08-18ARM: dts: spear13xx: fix PCI bus dtc warningsRob Herring
dtc recently added PCI bus checks. Fix these warnings. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Cc: Shiraz Hashim <shiraz.linux.kernel@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-08-18Merge tag 'renesas-arm64-dt2-for-v4.14' of ↵Arnd Bergmann
https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt64 Pull "Second Round of Renesas ARM64 Based SoC DT Updates for v4.14" from Simon Horman: * Add PFC device node to R-Car D3 (r8a77995) This is a step towards enabling devices that use multiplexed pins - including ethernet - on boards that use the r8a7796 SoC. * Add USB nodes to R-Car M3-W (r8a7796) This is a step towards enabling USB devices on boards that use the r8a7796 SoC. * Use newly added Gen-3 fallback compat string This is consistent with ongoing efforts to use per-generation fallback strings where appropriate across devices found on R-Car SoCs. The aim of the effort being to strike a balance between the limited information available about the compatibility of devices found on different SoCs and the desire to ease enabling devices on new SoCs. This has no run-time effect due to the presence of a per-SoC compat string. * Cleanup whitespace and extra LVDS port label Minor cleanups, no run-time effect. * tag 'renesas-arm64-dt2-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: arm64: dts: r8a77995: add pfc device node arm64: dts: r8a7796: Add HSUSB device node arm64: dts: r8a7796: Add USB-DMAC device nodes arm64: dts: r8a7796: Add USB3.0 host device node arm64: dts: r8a7796: add USB2.0 Host (EHCI/OHCI) device nodes arm64: dts: r8a7796: add usb2_phy device nodes arm64: dts: r8a7795: correct whitespace of companion property arm64: dts: r8a7795: Use R-Car SATA Gen3 fallback compat string arm64: dts: salvator-common: Remove extra LVDS port label
2017-08-18Merge tag 'renesas-dt2-for-v4.14' of ↵Arnd Bergmann
https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt Pull "Second Round of Renesas ARM Based SoC DT Updates for v4.14" from Simon Horman: * Use newly added Gen-3 fallback compat string This is consistent with ongoing efforts to use per-generation fallback strings where appropriate across devices found on R-Car SoCs. The aim of the effort being to strike a balance between the limited information available about the compatibility of devices found on different SoCs and the desire to ease enabling devices on new SoCs. This has no run-time effect due to the presence of a per-SoC compat string. * Enable second CPU core on RZ/G1M (r8a7743) The RZ/G1M has two CA15 cores running at up to 1.5GHz * Enable frequency scaling on RZ/G1M (r8a7743) * Add six I2C cores to RZ/G1M (r8a7743) SoC DT This is a step towards enabling these cores on boards that use this SoC * Add CEC clock for HDMI transmitter to R-Car M2-W (r8a7791) Koelsch Hans Verkuil says "The adv7511 on the Koelsch board has a 12 MHz fixed clock for the CEC block. Specify this in the dts to enable CEC support." * Add PFC support to RZ/G1E (r8a7745) SoC and add Ethernet and SCIF2 pins to SK-RZG1E board. This allows the kernel to control multiplexed pins for Ethernet and SCIF2 rather than relying on setup inherited at boot. * tag 'renesas-dt2-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: dts: r8a7791: Use R-Car SATA Gen2 fallback compat string ARM: dts: r8a7790: Use R-Car SATA Gen2 fallback compat string ARM: dts: r8a7743: Add OPP table for frequency scaling ARM: dts: r8a7743: Add APMU node and second CPU core ARM: dts: koelsch: Add CEC clock for HDMI transmitter ARM: dts: sk-rzg1e: add Ether pins ARM: dts: sk-rzg1e: add SCIF2 pins ARM: dts: r8a7745: add PFC support ARM: dts: r8a7743: Add I2C DT support
2017-08-18Merge tag 'qcom-arm64-for-4.14-2' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/dt64 Pull "Qualcomm ARM64 Updates for v4.14 Part 2" from Andy Gross: * Add IPQ8074 SoC and HK01 board support * tag 'qcom-arm64-for-4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: arm64: dts: Add ipq8074 SoC and HK01 board support
2017-08-18Merge tag 'tegra-for-4.14-arm-dt' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/dt Pull "ARM: tegra: Device tree changes for v4.14-rc1" from Thierry Reding: One fix for Tegra124 to hook the host1x device up with the SMMU. The remainder of this enables USB device mode on a couple of boards where the port is currently unused. * tag 'tegra-for-4.14-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: ARM: tegra: Enable UDC on AC100 ARM: tegra: Enable UDC on Jetson TK1 ARM: tegra: Enable UDC on Dalmore ARM: tegra: Enable UDC on Beaver ARM: tegra: Register host1x node with IOMMU binding on Tegra124
2017-08-18Merge tag 'zte-dt-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/dt Pull "ZTE device tree updates for 4.14" from Shawn Guo: - A clean up patch from Shawn Lin to remove the deprecated dwmmc property 'num-slots'. * tag 'zte-dt-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: ARM: dts: zte: remove num-slots from zx296702-ad1
2017-08-18Merge tag 'imx-dt-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/dt Pull "i.MX device tree updates for 4.14" from Shawn Guo: - A series from Andrew Lunn updating imx6-rdu2 board to enable on-board Marvell switch support. - A series from Jagan Teki updating imx6ul-isiot and imx6ul-geam to enable audio card and FEC support. - Add support for Toradex Ixora V1.1 and Apalis Evaluation Board along with some cleanups. - Enable DRM display support for imx6ul-evk and imx7d-sdb board. - Add i.MX53 based Beckhoff CX9020 board support. - Add GPMI NAND and APBH DMA devices for i.MX7 and enables NAND support for imx7-colibri board. - Enables the ADV7180 analog video decoder sensor connected to the IMX6 IPU on various Gateworks Ventana boards. - Minor updates on misc boards and some random cleanups. * tag 'imx-dt-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (47 commits) ARM: dts: imx6q-bx50v3: Enable i2c recovery mechanism ARM: dts: imx6q-apalis-eval: add support for Apalis Evaluation Board ARM: dts: imx6: add support for Toradex Ixora V1.1 carrier board ARM: dts: imx6qdl-apalis: imx6q-apalis-ixora: use i2c from dwc hdmi ARM: dts: imx6q-apalis-ixora: add camera i2c bus definition ARM: dts: imx6q-apalis-ixora: get rid of obsolete fusion comment ARM: dts: imx6qdl-apalis: reword cam i2c comment ARM: dts: imx6qdl-apalis: imx6q-apalis-ixora: get rid of tegra legacy gen1_i2c comment ARM: dts: imx6q-apalis-ixora: combine aliases ARM: dts: imx6qdl-apalis: split usdhc1 pinctrl to support 4- and 8-bit ARM: dts: imx6q-apalis-ixora: fix usdhc2 pinctrl property ARM: dts: imx6ul-liteboard: Support poweroff ARM: dts: imx: add CX9020 Embedded PC device tree ARM: dts: imx53: add alternative UART2 configuration ARM: dts: imx53: add srtc node dt-bindings: arm: Add entry for Beckhoff CX9020 ARM: dts: i.MX25: add RNGB node to dtsi ARM: dts: imx6ul-14x14-evk: Remove unrelated pin from ENET group ARM: dts: imx7d-sdb: Add flexcan support ARM: dts: imx7-colibri: add NAND support ...
2017-08-18Merge tag 'arm-soc/for-4.14/devicetree' of ↵Arnd Bergmann
http://github.com/Broadcom/stblinux into next/dt Pull "Broadcom devicetree changes for 4.14" from Florian Fainelli: This pull request contains Broadcom ARM-based SoCs Device Tree changes for 4.14, please pull the following: - Eric moves the bcm2837 DT file from arm64 to arm because it created a maintenance problem and would have required either duplication or cross merges - Stefan changes how the pinmuxing is defined and pushes it at the board level to support Raspberry Pi Zero Wireless. He then adds supports for the actual Raspberry Pi Zero Wireless board along with binding documentation. Stefan also defines a proper SMP enable-method property and binding for BCM2836 (Raspbery Pi 2) - Rafal describes the BCM5301X USB ports correctly in Device Tree such that it becomes possible to assign them to specific LED triggers (e.g: USB activity). He does the same thing for BCM53573 and defines default LED triggers for USB. - Jon provides a fix for Northstar Plus which consists in correctly defining the "dma-coherent" property for peripherals which are DMA coherent. He also does a bit of re-arrangement of the USB DT nodes and finally adds USB 3 PHY and host controller support for NorthStar Plus - Florian adds support for Broadcom's BCM947189ACDBMR reference board which is based on BCM47182/53573 and which supports external MoCA (BCM6802) - Ray fixes the wrong UART2 base address for Cygnus - Scott moves the v3d node in the proper unit address order and defines the correct UART alias for the BCM91130_entphn reference board to be UART3 - Jason adds the DT node for the Cygnus Cortex-A9 Performance Monitoring Unit - Jonathan adds a bunch of additional peripherals to the Cygnus DTS include file: SDHCI, Keypad, SPI, DMA and pinmux configurations - Raveendra adds the Cygnus OHCI and EHCI Device Tree nodes * tag 'arm-soc/for-4.14/devicetree' of http://github.com/Broadcom/stblinux: ARM: BCM53573: Specify ports for USB LED for Tenda AC9 ARM: dts: cygnus: Add generic-ehci/ohci nodes ARM: dts: cygnus: add serial0 alias for uart3 on bcm91130_entphn ARM: dts: cygnus: Add additional peripherals to dtsi ARM: dts: cygnus: Enable Performance Monitoring Unit ARM: dts: cygnus: place v3d in proper address ordered location ARM: dts: cygnus: Fix incorrect UART2 register base ARM: dts: bcm283x: Add 32-bit enable method for SMP dt-bindings: arm: add SMP enable-method for BCM2836 ARM: dts: BCM53573: Add Broadcom BCM947189ACDBMR board support ARM: dts: BCM5301X: Specify USB ports for USB LEDs of few devices ARM: dts: NSP: Add USB3 and USB3 PHY to NSP ARM: dts: NSP: Rearrage USB entries ARM: dts: NSP: Add dma-coherent to relevant DT entries ARM: dts: bcm2835: Add Raspberry Pi Zero W dt-bindings: bcm: Add Raspberry Pi Zero W ARM: bcm283x: Define UART pinmuxing on board level ARM: dts: BCM5301X: Specify USB ports for each controller ARM: dts: bcm283x: Move the BCM2837 DT contents from arm64 to arm.
2017-08-18Merge tag 'omap-for-v4.14/dt-v3-pt2-signed' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/dt Pull "device tree changes for omaps for v4.14, part2" from Tony Lindgren: Second set of device tree changes for omaps for v4.14 merge window. These got delayed a bit because the iodelay changes had to be reworked for a missing Signed-off-by. And the beagleboard-x15 wants to use iodelay too for mmc: - A series of changes to add dra7 iodelay data used for mmc - Add support for new beagleBoard-x15 revision c - Fix logicpd-torpedo-37xx-devkit mmc card detect direction * tag 'omap-for-v4.14/dt-v3-pt2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio ARM: dts: am57xx-beagle-x15: Add support for rev C ARM: dts: dra71-evm: Add pinmux configuration for MMC ARM: dts: dra72-evm-revc: Add pinmux configuration for MMC ARM: dts: dra72-evm: Add pinmux configuration for MMC ARM: dts: am572x-idk: Add pinmux configuration for MMC ARM: dts: am571x-idk: Add pinmux configuration for MMC ARM: dts: am57xx-idk: Move common MMC/SD properties to common file ARM: dts: am57xx-beagle-x15: Add pinmux configuration for MMC ARM: dts: dra7-evm: Add pinmux configuration for MMC ARM: dts: dra74x: Create a common file with MMC/SD IOdelay data ARM: dts: dra72x: Create a common file with MMC/SD IOdelay data
2017-08-18arm64: defconfig: Enable QCOM IPQ8074 clock and pinctrlAbhishek Sahu
These configs are required for booting kernel in QCOM IPQ8074 boards. Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> Signed-off-by: Varadarajan Narayanan <varada@codeaurora.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-08-18Merge tag 'zte-dt64-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/dt64 Pull "ZTE arm64 device tree updates for 4.14" from Shawn Guo: - A clean up patch from Shawn Lin to remove the deprecated dwmmc property 'num-slots' from ZX296718 device tree. - Enable various devices for ZX296718 SoC support, VGA display, I2S audio, pinctrl, GPIO, PWM and IRDEC. - Update zx296718-evb support to use audio-graph-card for HDMI audio and add I2S sound card. - Add initial zx296718-pcbox board support with storage, audio, display devices enabled. * tag 'zte-dt64-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: arm64: dts: zte: add initial zx296718-pcbox board support arm64: dts: zx296718-evb: add I2S sound card support arm64: dts: zx296718-evb: use audio-graph-card for HDMI audio arm64: dts: zx296718: add irdec device for remote control arm64: dts: zx296718: add PWM device support arm64: dts: zx296718: add voltage data into OPP table arm64: dts: zx296718: set a better parent clock for I2S0 arm64: dts: zx296718: add pinctrl and gpio devices arm64: dts: zx296718: add I2S and I2C audio codec arm64: dts: zx296718: add VGA device support arm64: dts: zte: remove num-slots from zx296718
2017-08-18Merge tag 'imx-dt64-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/dt64 Pull "Freescale arm64 device tree updates for 4.14" from Shawn Guo: - Correct the typo in fsl-ls1088a-rdb board name. - A series from Horia Geantă to consolidate aliases node and enable crypto support for ls208xa and ls1088a. - Enable USB host support for ls1012a. - Enable cpuidle support for ls1088a and ls208xa. * tag 'imx-dt64-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: arm64: dts: ls1088: Correction in Board name from "L1088A" to "LS1088A" arm64: dts: ls208xa: add cpu idle support arm64: dts: ls1088a: add cpu idle support arm64: dts: freescale: ls1088a: add crypto node arm64: dts: freescale: ls208xa: add crypto node arm64: dts: freescale: ls208xa: share aliases node arm64: dts: ls1012a: add USB host controller nodes
2017-08-18Merge tag 'arm-soc/for-4.14/devicetree-arm64' of ↵Arnd Bergmann
http://github.com/Broadcom/stblinux into next/dt64 Pull "Broadcom devicetree-arm64 changes for 4.14" from Florian Fainelli: This pull request contains Broadcom ARM64-based SoCs Device Tree changes for 4.14, please pull the following: - Scott moves all the Northstar 2 DTS files into a sub-directory to be consistent with what was done for stingray and to future proof the addition of new board DTS files - Velibor adds the ARM CCN-502 interconnect DT node to the Stingray SoC DTS include file - Srinath adds the MDIO multiplexer and SATA nodes to the Stingray DTS include files - Anup adds the SP804 timers, FlexRM (mailbox) and RAID engine DT nodes to the Stingray DTS include files - Abishek adds the BGMAC (Ethernet controller) node to the Stingray DTS files * tag 'arm-soc/for-4.14/devicetree-arm64' of http://github.com/Broadcom/stblinux: arm64: dts: Add SBA-RAID DT nodes for Stingray SoC arm64: dts: Add FlexRM DT nodes for Stingray arm64: dts: Add SATA DT nodes for Stingray SoC arm64: dts: Add DT node to enable BGMAC driver on Stingray arm64: dts: Add sp804 DT nodes for Stingray SoC arm64: dts: Add MDIO multiplexer DT node for Stingray arm64: dts: Enable stats for CCN-502 interconnect on Stingray arm64: dts: move ns2 into northstar2 directory
2017-08-18Merge tag 'v4.13-next-dts64' of https://github.com/mbgg/linux-mediatek into ↵Arnd Bergmann
next/dt64 Pull "arm: mediatek: dts64 updates for v4.14" from Matthias Brugger: - add SoC mt7622 and its reference board - cleanup of dts bindings - mt6797: add watchdog and delete unused clock - add support for SoC mt2701 and it's eval board * tag 'v4.13-next-dts64' of https://github.com/mbgg/linux-mediatek: arm64: dts: Add Mediatek SoC MT2712 and evaluation board dts and Makefile dt-bindings: arm: Add bindings for Mediatek MT2712 SoC Platform arm64: dts: mediatek: Delete unused dummy clock for MT6797 arm64: dts: mediatek: add watchdog to MT6797 ARM: mediatek: dts: Add MT6797 binding ARM: mediatek: dts: Cleanup bindings documentation arm64: dts: mt7622: add dts file for MT7622 reference board variant 1 arm64: dts: mt7622: add basic nodes to the mt7622.dtsi file
2017-08-18Merge tag 'tegra-for-4.14-arm-defconfig' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/defconfig Pull "ARM: tegra: Default configuration updates for v4.14-rc1" from Thierry Reding: Enables the ChipIdea UDC driver and selects some symbols that were previously being selected by other drivers but will no longer be in v4.14. * tag 'tegra-for-4.14-arm-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: ARM: defconfig: tegra: Enable ChipIdea UDC driver ARM: configs: Add Tegra I2S interfaces to multi_v7_defconfig ARM: tegra: Add Tegra I2S interfaces to defconfig ARM: tegra: Update default configuration for v4.13-rc1
2017-08-18Merge tag 'imx-defconfig-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/defconfig Pull "i.MX defconfig updates for 4.14" from Shawn Guo: - Enable SPI_GPIO and GPIO_74X164 support which are useful for some boards like imx7d-sabresd. - Enable build of CODA video codec and staging video4linux drivers. * tag 'imx-defconfig-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: ARM: imx_v6_v7_defconfig: Enable staging video4linux drivers ARM: imx_v6_v7_defconfig: Select the coda driver as module ARM: imx_v6_v7_defconfig: Enable GPIO_74X164 ARM: imx_v6_v7_defconfig: Enable SPI_GPIO
2017-08-18Merge tag 'arm-soc/for-4.14/defconfig' of ↵Arnd Bergmann
http://github.com/Broadcom/stblinux into next/defconfig Pull "Broadcom defconfig changes for 4.14" from Florian Fainelli: This pull request contains defconfig file changes for Broadcom ARM-based SoCs for 4.14, please pull the following: - Markus enables the Broadcom STB AVS thermal monitoring driver as a module which is currently queued in Rui Zhang's tree - Stefan updates the bcm2835_defconfig to contain a few useful changes: the RPI mini UART is enabled by default, the default CMA pool is bumped up to 32MB to support VC4 usages and finally BRCMFMAC is enabled as module since this is the wireless driver used on Raspberry Pi Zero Wireless. * tag 'arm-soc/for-4.14/defconfig' of http://github.com/Broadcom/stblinux: ARM: multi_v7_defconfig: add CONFIG_BRCMSTB_THERMAL ARM: bcm2835_defconfig: Enable wifi driver for RPi Zero W ARM: bcm2835_defconfig: Increase CMA for VC4 ARM: bcm2835_defconfig: Enable Mini UART console support
2017-08-18Merge tag 'renesas-defconfig2-for-v4.14' of ↵Arnd Bergmann
https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/defconfig Pull "Second Round of Renesas ARM Based SoC Defconfig Updates for v4.14" from Simon Horman: * Enable BQ32000 rtc in shmobile_defconfig Biju Das says "The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000). To increase hardware support enable the driver in the shmobile_defconfig multiplatform configuration." * tag 'renesas-defconfig2-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: shmobile: Enable BQ32000 rtc in shmobile_defconfig
2017-08-18arm64: dts: Add ipq8074 SoC and HK01 board supportVaradarajan Narayanan
Add initial device tree support for the Qualcomm IPQ8074 SoC and HK01 evaluation board. Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org> Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> Signed-off-by: Varadarajan Narayanan <varada@codeaurora.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-08-18Merge tag 'powerpc-4.13-7' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux Pull powerpc fixes from Michael Ellerman: "A bug in the VSX register saving that could cause userspace FP/VMX register corruption. Never seen to happen (that we know of), was found by code inspection, but still tagged for stable given the consequences" * tag 'powerpc-4.13-7' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: powerpc: Fix VSX enabling/flushing to also test MSR_FP and MSR_VEC
2017-08-18Merge tag 'armsoc-fixes' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM SoC fixes from Arnd Bergmann: "A small number of bugfixes, nothing serious this time. Here is a full list. 4.13 regression fix: - imx7d-sdb pinctrl support regressed in 4.13 due to an incomplete patch DT fixes for recently added devices: - badly copied DT entries on imx6qdl-nitrogen6_som broke PCI reset - sama5d2 memory controller had the wrong ID and registers - imx7 power domains did not work correctly with deferred probing (driver added in 4.12) - Allwinner H5 pinctrl (added in 4.12) did not work right with GPIO interrupts Fixes for older bugs that just got noticed: - i.MX25 ADC support (added in 4.6) apparently never worked right due to a missing 'ranges' property in DT. - Renesas Salvador Audio support (added in v4.5) was broken for device repeated bind/unbind due to a naming conflict. - Various allwinner boards are missing an 'ethernet' alias in DT, leading to unstable device naming. Preventive bugfix: - TI Keystone needs a fix to prevent a NULL pointer dereference with an upcoming PM change" * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: soc: ti: ti_sci_pm_domains: Populate name for genpd ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset arm64: allwinner: h5: fix pinctrl IRQs arm64: allwinner: a64: sopine: add missing ethernet0 alias arm64: allwinner: a64: pine64: add missing ethernet0 alias arm64: allwinner: a64: bananapi-m64: add missing ethernet0 alias arm64: renesas: salvator-common: avoid audio_clkout naming conflict ARM: dts: i.MX25: add ranges to tscadc soc: imx: gpcv2: fix regulator deferred probe ARM: dts: at91: sama5d2: fix EBI/NAND controllers declaration ARM: dts: at91: sama5d2: use sama5d2 compatible string for SMC ARM: dts: imx7d-sdb: Put pinctrl_spi4 in the correct location
2017-08-18Merge branch 'for-next/kernel-mode-neon' into for-next/coreCatalin Marinas
* for-next/kernel-mode-neon: arm64: neon/efi: Make EFI fpsimd save/restore variables static arm64: neon: Forbid when irqs are disabled arm64: neon: Export kernel_neon_busy to loadable modules arm64: neon: Temporarily add a kernel_mode_begin_partial() definition arm64: neon: Remove support for nested or hardirq kernel-mode NEON arm64: neon: Allow EFI runtime services to use FPSIMD in irq context arm64: fpsimd: Consistently use __this_cpu_ ops where appropriate arm64: neon: Add missing header guard in <asm/neon.h> arm64: neon: replace generic definition of may_use_simd()
2017-08-18Merge branch 'for-next/perf' of ↵Catalin Marinas
git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into for-next/core * 'for-next/perf' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux: arm64: perf: add support for Cortex-A35 arm64: perf: add support for Cortex-A73 arm64: perf: Remove redundant entries from CPU-specific event maps arm64: perf: Connect additional events to pmu counters arm64: perf: Allow standard PMUv3 events to be extended by the CPU type perf: xgene: Remove unnecessary managed resources cleanup arm64: perf: Allow more than one cycle counter to be used
2017-08-18arm64: neon/efi: Make EFI fpsimd save/restore variables staticDave Martin
The percpu variables efi_fpsimd_state and efi_fpsimd_state_used, used by the FPSIMD save/restore routines for EFI calls, are unintentionally global. There's no reason for anything outside fpsimd.c to touch these, so this patch makes them static (as they should have been in the first place). Signed-off-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2017-08-19ARM: sun8i: a83t: h8homlet-v2: Enable USB portsChen-Yu Tsai
The h8homlet board has the A83T's standard USB 1.1/2.0 host pair routed to a USB host port on the board. The other USB host port is routed to USB OTG controller. Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2017-08-19ARM: sun8i: a83t: cubietruck-plus: Enable onboard USB peripheralsChen-Yu Tsai
The Cubietruck-plus has a GL830 USB-to-SATA bridge connected to EHCI0, and a USB3503 HSIC USB 2.0 hub connected to EHCI1. The USB3503's I2C control interface is not connected. This patch enables both EHCI controllers, adds a device node for the USB hub, and includes sunxi-common-regulators.dtsi for the VBUS regulators. The existing reg_vcc3v3 is dropped as it is also available in the set of common regulators. Other unused regulators are disabled. Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2017-08-19ARM: sun8i: a83t: Add device node for USB OTG controllerChen-Yu Tsai
The USB OTG controller found on the A83T is compatible with the one found on the A33. Add a device node for it. Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2017-08-19ARM: sun8i: a83t: Add USB PHY and host device nodesChen-Yu Tsai
The A83T has 3 USB PHYs, 1 for USB OTG, 1 for standard USB 2.0, 1 for USB HSIC. EHCI0/OHCI0 are the standard USB host pair, while EHCI1 is the host controller for HSIC. OTG is not added yet. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Tested-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-08-18KVM: VMX: always require WB memory type for EPTDavid Hildenbrand
We already always set that type but don't check if it is supported. Also for nVMX, we only support WB for now. Let's just require it. Signed-off-by: David Hildenbrand <david@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-08-18KVM: VMX: cleanup EPTP definitionsDavid Hildenbrand
Don't use shifts, tag them correctly as EPTP and use better matching names (PWL vs. GAW). Signed-off-by: David Hildenbrand <david@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-08-18KVM: SVM: delete avic_vm_id_bitmap (2 megabyte static array)Denys Vlasenko
With lightly tweaked defconfig: text data bss dec hex filename 11259661 5109408 2981888 19350957 12745ad vmlinux.before 11259661 5109408 884736 17253805 10745ad vmlinux.after Only compile-tested. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: pbonzini@redhat.com Cc: rkrcmar@redhat.com Cc: tglx@linutronix.de Cc: mingo@redhat.com Cc: hpa@zytor.com Cc: x86@kernel.org Cc: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-08-18KVM: x86: fix use of L1 MMIO areas in nested guestsPaolo Bonzini
There is currently some confusion between nested and L1 GPAs. The assignment to "direct" in kvm_mmu_page_fault tries to fix that, but it is not enough. What this patch does is fence off the MMIO cache completely when using shadow nested page tables, since we have neither a GVA nor an L1 GPA to put in the cache. This also allows some simplifications in kvm_mmu_page_fault and FNAME(page_fault). The EPT misconfig likewise does not have an L1 GPA to pass to kvm_io_bus_write, so that must be skipped for guest mode. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> [Changed comment to say "GPAs" instead of "L1's physical addresses", as per David's review. - Radim] Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-08-18KVM: x86: Avoid guest page table walk when gpa_available is setBrijesh Singh
When a guest causes a page fault which requires emulation, the vcpu->arch.gpa_available flag is set to indicate that cr2 contains a valid GPA. Currently, emulator_read_write_onepage() makes use of gpa_available flag to avoid a guest page walk for a known MMIO regions. Lets not limit the gpa_available optimization to just MMIO region. The patch extends the check to avoid page walk whenever gpa_available flag is set. Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> [Fix EPT=0 according to Wanpeng Li's fix, plus ensure VMX also uses the new code. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> [Moved "ret < 0" to the else brach, as per David's review. - Radim] Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-08-18KVM: x86: simplify ept_misconfigPaolo Bonzini
Calling handle_mmio_page_fault() has been unnecessary since commit e9ee956e311d ("KVM: x86: MMU: Move handle_mmio_page_fault() call to kvm_mmu_page_fault()", 2016-02-22). handle_mmio_page_fault() can now be made static. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-08-18kernel/watchdog: Prevent false positives with turbo modesThomas Gleixner
The hardlockup detector on x86 uses a performance counter based on unhalted CPU cycles and a periodic hrtimer. The hrtimer period is about 2/5 of the performance counter period, so the hrtimer should fire 2-3 times before the performance counter NMI fires. The NMI code checks whether the hrtimer fired since the last invocation. If not, it assumess a hard lockup. The calculation of those periods is based on the nominal CPU frequency. Turbo modes increase the CPU clock frequency and therefore shorten the period of the perf/NMI watchdog. With extreme Turbo-modes (3x nominal frequency) the perf/NMI period is shorter than the hrtimer period which leads to false positives. A simple fix would be to shorten the hrtimer period, but that comes with the side effect of more frequent hrtimer and softlockup thread wakeups, which is not desired. Implement a low pass filter, which checks the perf/NMI period against kernel time. If the perf/NMI fires before 4/5 of the watchdog period has elapsed then the event is ignored and postponed to the next perf/NMI. That solves the problem and avoids the overhead of shorter hrtimer periods and more frequent softlockup thread wakeups. Fixes: 58687acba592 ("lockup_detector: Combine nmi_watchdog and softlockup detector") Reported-and-tested-by: Kan Liang <Kan.liang@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: dzickus@redhat.com Cc: prarit@redhat.com Cc: ak@linux.intel.com Cc: babu.moger@oracle.com Cc: peterz@infradead.org Cc: eranian@google.com Cc: acme@redhat.com Cc: stable@vger.kernel.org Cc: atomlin@redhat.com Cc: akpm@linux-foundation.org Cc: torvalds@linux-foundation.org Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1708150931310.1886@nanos
2017-08-18Merge tag 'imx-fixes-4.13-3' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into fixes Pull "i.MX fixes for 4.13, round 3" from Shawn Guo: - Fix PCIe reset GPIO of imx6qdl-nitrogen6_som2 board, which was a bad copy from nitrogen6_max device tree. * tag 'imx-fixes-4.13-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset
2017-08-18Merge tag 'sunxi-fixes-for-4.13-2' of ↵Arnd Bergmann
https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into fixes Pull "Allwinner fixes for 4.13, round 2" from Chen-Yu Tsai: Three fixes adding a missing alias for the Ethernet controller on A64 boards. One adding a missing interrupt for the pin controller. * tag 'sunxi-fixes-for-4.13-2' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: arm64: allwinner: h5: fix pinctrl IRQs arm64: allwinner: a64: sopine: add missing ethernet0 alias arm64: allwinner: a64: pine64: add missing ethernet0 alias arm64: allwinner: a64: bananapi-m64: add missing ethernet0 alias
2017-08-18x86: Constify attribute_group structuresArvind Yadav
attribute_groups are not supposed to change at runtime and none of the groups is modified. Mark the non-const structs as const. [ tglx: Folded into one big patch ] Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: tony.luck@intel.com Cc: bp@alien8.de Link: http://lkml.kernel.org/r/1500550238-15655-2-git-send-email-arvind.yadav.cs@gmail.com
2017-08-18arm64: dts: rockchip: disable tx ipgap linecheck for rk3399 dwc3William Wu
RK3399 USB DWC3 controller has a issue that FS/LS devices not recognized if inserted through USB 3.0 HUB. It's because that the inter-packet delay between the SSPLIT token to SETUP token is about 566ns, more then the USB spec requirement. This patch adds a quirk "snps,dis-tx-ipgap-linecheck-quirk" to disable the u2mac linestate check to decrease the SSPLIT token to SETUP token inter-packet delay from 566ns to 466ns. Signed-off-by: William Wu <william.wu@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>