summaryrefslogtreecommitdiff
path: root/arch/arm64
AgeCommit message (Collapse)AuthorFilesLines
2016-07-07Merge tag 'renesas-arm64-dt2-for-v4.8' of ↵Arnd Bergmann5-0/+221
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt64 Merge "Second Round of Renesas ARM64 Based SoC DT Updates for v4.8" from Simon Horman: * Add support for r8a7796/salvator-x (R-Car Gen 3 M3-W) * Add CAN support to r8a7795 (R-Car Gen 3 H3) * tag 'renesas-arm64-dt2-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: arm64: dts: r8a7796/salvator-x: Enable watchdog timer arm64: dts: r8a7796: Add RWDT node arm64: dts: r8a7796: Use SYSC "always-on" PM Domain arm64: dts: r8a7796: Add SYSC PM Domains arm64: dts: salvator-x: add Salvator-X board on R8A7796 SoC arm64: dts: r8a7796: Add Renesas R8A7796 SoC support arm64: dts: r8a7795: Add CAN FD support arm64: dts: r8a7795: Add missing blank lines between cpu nodes clk: renesas: r8a7795: Add THS/TSC clock clk: renesas: r8a7795: Add DRIF clock clk: renesas: r8a7795: Correct lvds clock parent clk: renesas: r8a7795: Provide FDP1 clocks clk: renesas: Add R8A7792 support clk: renesas: mstp: Document R8A7792 support clk: renesas: rcar-gen2: Document R8A7792 support clk: renesas: cpg-mssr: Add support for R-Car M3-W clk: renesas: cpg-mssr: Extract common R-Car Gen3 support code clk: renesas: Add r8a7796 CPG Core Clock Definitions clk: renesas: cpg-mssr: Document r8a7796 support
2016-07-07arm64: amlogic: select gxbb clk driverMichael Turquette1-0/+2
The AmLogic clock controller code is used by both arm and arm64 architectures. Explicitly select the core code for all Meson (arm64) builds, and also select the GXBB driver, since that's the way arm64 does things. Signed-off-by: Michael Turquette <mturquette@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2016-07-07Revert "ARM64: DTS: meson-gxbb: switch ethernet to real clock"Arnd Bergmann1-2/+1
This reverts commit f3abd6296168, which caused a build regression: arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi:48:41: fatal error: dt-bindings/clock/gxbb-clkc.h: No such file or directory We should apply this patch one merge window later, once the clk branch is merged as well. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2016-07-07arm64: kernel: Save and restore UAO and addr_limit on exception entryJames Morse4-3/+22
If we take an exception while at EL1, the exception handler inherits the original context's addr_limit and PSTATE.UAO values. To be consistent always reset addr_limit and PSTATE.UAO on (re-)entry to EL1. This prevents accidental re-use of the original context's addr_limit. Based on a similar patch for arm from Russell King. Cc: <stable@vger.kernel.org> # 4.6- Acked-by: Will Deacon <will.deacon@arm.com> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
2016-07-07Merge tag 'arm-soc/for-4.8/soc-arm64-part2' of ↵Arnd Bergmann2-2/+28
http://github.com/Broadcom/stblinux into next/arm64 Merge "Broadcom ARM64-based SoC changes for 4.8 second part" from Florian Fainelli: - Eric updates the bcm2836 interrupt controller driver not to rely on ARM/Linux specific functions in preparation for using it on ARM64 - Eric also adds a Kconfig entry for the BCM2835 Raspberry Pi family in the ARM64 Kconfig.platforms file - Eric cherry picked a patch from Alexander Graf with Acks from ARM64 maintainers to support different DMA and bus offsets, required for the Raspberry Pi 3 SoC * tag 'arm-soc/for-4.8/soc-arm64-part2' of http://github.com/Broadcom/stblinux: arm64: Add platform selection for BCM2835. arm64: Allow for different DMA and CPU bus offsets irqchip: bcm2835: Avoid arch/arm-specific handle_IRQ
2016-07-07Merge tag 'arm-soc/for-4.8/devicetree-arm64-part2' of ↵Arnd Bergmann3-0/+107
http://github.com/Broadcom/stblinux into next/dt64 Merge "Broadcom ARM64 Device Tree changes for 4.8 (part 2)" from Florian Fainelli: This pull request contains the second part of the Broadcom ARM64-based SoCs changes for 4.8. Please note that this pull request contains changes from the ARM 32-bits port and ARM 64-bits port as well: - Lubomir updates all BCM2835 (Raspberry Pi family) Device Tree source files with their proper information about the on-board USB Ethernet adapter so there is appropriate binding between this USB device and a device_node (useful for MAC address fetching and stuff), this commit is also present for the ARM DT pull request - Eric adds support for the Raspberry Pi 3 aka BCM2837 and provides the binding information and the basic SoC DT include file required to boot to a prompt - Gerd updates the Raspberry Pi 3 DT with Ethernet information based on the earlier change from Lubomir * tag 'arm-soc/for-4.8/devicetree-arm64-part2' of http://github.com/Broadcom/stblinux: ARM: bcm2837: dt: Add the ethernet to the device trees ARM: bcm2835: Add devicetree for the Raspberry Pi 3. dt-bindings: Add root properties for Raspberry Pi 3 ARM: bcm2835: dt: Add the ethernet to the device trees
2016-07-07Merge branch 'clockevents/4.8' of ↵Thomas Gleixner1-0/+8
http://git.linaro.org/people/daniel.lezcano/linux into timers/core Pull the clockevents/clocksource tree from Daniel Lezcano: - Convert the clocksource-probe init functions to return a value in order to prepare the consolidation of the drivers using the DT. It is a big patchset but went through 01.org (kbuild bot), linux next and kernel-ci (continuous integration) (Daniel Lezcano) - Fix a bad error handling by returning the right value for cadence_ttc (Christophe Jaillet) - Fix typo in the Kconfig for the Samsung pwm (Alexandre Belloni) - Change functions to static for armada-370-xp and digicolor (Ben Dooks) - Add support for the rk3399 SoC timer by adding bindings and a slight change in the base address. Take the opportunity to add the DYNIRQ flag (Huang Tao) - Fix endian accessors for the Samsung pwm timer (Matthew Leach) - Add Oxford Semiconductor RPS Dual Timer driver (Neil Armstrong) - Add a kernel parameter to swich on/off the event stream feature of the arch arm timer (Will Deacon)
2016-07-07Merge tag 'amlogic-dt64-2' of ↵Arnd Bergmann1-1/+13
git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt64 Merge "Amlogic 64-bit DT updates" from Kevin Hilman: - add RNG and new clock driver support * tag 'amlogic-dt64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM64: DTS: meson-gxbb: switch ethernet to real clock arm64: dts: gxbb clock controller ARM64: dts: meson-gxbb: Add Hardware Random Generator node dt-bindings: hwrng: Add Amlogic Meson Hardware Random Generator bindings
2016-07-07arm64: dts: hi6220: Add pl031 RTC supportZhangfei Gao1-0/+16
Add pl031 rtc0 and rtc1 support to hi6220 dtsi Cc: Michael Turquette <mturquette@baylibre.com> Cc: Stephen Boyd <sboyd@codeaurora.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Wei Xu <xuwei5@hisilicon.com> Cc: Guodong Xu <guodong.xu@linaro.org> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> [jstultz: Forward ported and tweaked commit description, added rtc1 entry as suggested by Guodong] Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
2016-07-07Merge tag 'mvebu-dt64-4.8-1' of git://git.infradead.org/linux-mvebu into ↵Arnd Bergmann3-4/+57
next/dt64 Merge "mvebu dt64 for 4.8 (part 1)" from Gregory CLEMENT: - update dt with mv-xor-v2 found in the Armada 7K/8K SoCs - update dt with the clocks found in the Armada 3700 SoCs * tag 'mvebu-dt64-4.8-1' of git://git.infradead.org/linux-mvebu: arm64: dts: marvell: add peripherals clocks for Armada 37xx arm64: dts: marvell: add tbg clocks for Armada 37xx arm64: dts: marvell: Add xtal clock support for Armada 3700 arm64: dts: marvell: add XOR engine description for Armada 7K/8K CP arm64: dts: marvell: adjust to the latest mv-xor-v2 DT binding
2016-07-07Merge tag 'mvebu-arm64-4.8-1' of git://git.infradead.org/linux-mvebu into ↵Arnd Bergmann1-0/+1
next/arm64 Merge "mvebu arm64 for 4.8" from Gregory CLEMENT: enable Armada 3700 clock drivers * tag 'mvebu-arm64-4.8-1' of git://git.infradead.org/linux-mvebu: arm64: marvell: enable Armada 3700 clock drivers
2016-07-07Merge tag 'v4.7-next-dts' of https://github.com/mbgg/linux-mediatek into ↵Arnd Bergmann4-0/+407
next/dt64 Merge "ARM: mediatek: dts 64 bit updates for v4.8" from Matthias Brugger: - Add nodes for the DISP function ports - Add dt-bindings for mt6755 - Add basic support for mt6755 SoC * tag 'v4.7-next-dts' of https://github.com/mbgg/linux-mediatek: arm64: dts: mediatek: add mt6755 support Document: DT: Add bindings for mediatek MT6755 SoC Platform arm64: dts: mt8173: Add display subsystem related nodes
2016-07-07arm64: dts: r8a7796/salvator-x: Enable watchdog timerGeert Uytterhoeven1-0/+5
Enable the Watchdog Timer (WDT) controller on the Renesas Salvator-X board equipped with an R-Car M3-W (r8a7796) SoC. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2016-07-07arm64: dts: r8a7796: Add RWDT nodeGeert Uytterhoeven1-0/+9
Add a device node for the Watchdog Timer (WDT) controller on the Renesas R-Car M3-W (r8a7796) SoC. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2016-07-07arm64: dts: r8a7796: Use SYSC "always-on" PM DomainGeert Uytterhoeven1-1/+1
Hook up all devices that are part of the CPG/MSSR Clock Domain to the SYSC "always-on" PM Domain, for a more consistent device-power-area description in DT. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2016-07-07arm64: dts: r8a7796: Add SYSC PM DomainsGeert Uytterhoeven1-0/+9
Add a device node for the System Controller. Hook up the Cortex-A57 CPU core and L2 cache/SCU to their respective PM Domains. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2016-07-07arm64: dts: salvator-x: add Salvator-X board on R8A7796 SoCTakeshi Kihara2-0/+46
This patch adds initial board support for R8A7796 Salvator-X. Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
2016-07-07arm64: dts: r8a7796: Add Renesas R8A7796 SoC supportSimon Horman2-0/+126
Basic support for the Gen 3 R-Car M3-W SoC. Based on work for the r8a7795 and r8a7796 SoCs by Takeshi Kihara, Dirk Behme and Geert Uytterhoeven. Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
2016-07-07arm64: dts: r8a7795: Add CAN FD supportRamesh Shanmugasundaram1-0/+24
Adds CAN FD controller node for r8a7795. Note: CAN FD controller register base address specified in R-Car Gen3 Hardware User Manual v0.5E is incorrect. The correct address is: CAN FD - 0xe66c0000 Signed-off-by: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2016-07-07arm64: dts: r8a7795: Add missing blank lines between cpu nodesGeert Uytterhoeven1-0/+2
For consistency with a57_0/a57_1 cpu nodes, and all other nodes. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2016-07-07Merge branch 'locking/arch-atomic' into locking/core, because the topic is readyIngo Molnar3-106/+342
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-07-07locking/barriers, arch/arm64: Implement LDXR+WFE based smp_cond_load_acquire()Will Deacon2-0/+64
smp_cond_load_acquire() is used to spin on a variable until some expression involving that variable becomes true. On arm64, we can build this using the LDXR and WFE instructions, since clearing of the exclusive monitor as a result of the variable being changed by another CPU generates an event, which will wake us up out of WFE. This patch implements smp_cond_load_acquire() using LDXR and WFE, which themselves are contained in an internal __cmpwait() function. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: catalin.marinas@arm.com Cc: linux-arm-kernel@lists.infradead.org Link: http://lkml.kernel.org/r/1467049434-30451-1-git-send-email-will.deacon@arm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-07-07Merge tag 'v4.8-rockchip-dts64-1' of ↵Olof Johansson4-5/+352
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt64 The rk3399 gets support for its emmc controller as well as thermal, i2c and core io-domain nodes and some reasonable default rates for core clocks. The rk3368 also gets io-domains for its r88 board as well as a small fix for the gic's memory regions. * tag 'v4.8-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: arm64: dts: rockchip: add ap_pwroff and ddrio_pwroff pins for rk3399 arm64: dts: rockchip: Provide emmcclk to PHY for rk3399 arm64: dts: rockchip: Add soc-ctl-syscon to sdhci for rk3399 arm64: dts: rockchip: fixes the gic400 2nd region size for rk3368 arm64: dts: rockchip: add i2c nodes for rk3399 arm64: dts: rockchip: add thermal nodes for rk3399 SoCs arm64: dts: rockchip: add rk3399 io-domain core nodes arm64: dts: rockchip: add rk3368-r88 iodomains arm64: dts: rockchip: add rk3368 io-domain core nodes arm64: dts: rockchip: make rk3368 grf syscons simple-mfds arm64: dts: rockchip: enable eMMC for rk3399 EVB arm64: dts: rockchip: add sdhci/emmc for rk3399 arm64: dts: rockchip: make rk3399's grf a "simple-mfd" arm64: dts: rockchip: assign default rates for core rk3399 clocks Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-07Merge tag 'renesas-arm64-defconfig-for-v4.8' of ↵Olof Johansson1-0/+1
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/arm64 Renesas ARM64 Based SoC Defconfig Updates for v4.8 * Enable Renesas R8A7796 SoC in ARM64 defcnfig * tag 'renesas-arm64-defconfig-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: arm64: defconfig: enable Renesas R8A7796 SoC Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-06arm/xen: add support for vm_assist hypercallJuergen Gross1-0/+1
Add support for the Xen HYPERVISOR_vm_assist hypercall. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reviewed-by: Julien Grall <julien.grall@arm.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
2016-07-06ARM64: XEN: Add a function to initialize Xen specific UEFI runtime servicesShannon Zhao2-0/+7
When running on Xen hypervisor, runtime services are supported through hypercall. Add a Xen specific function to initialize runtime services. Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org> Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Tested-by: Julien Grall <julien.grall@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
2016-07-06ARM: XEN: Move xen_early_init() before efi_init()Shannon Zhao1-2/+1
Move xen_early_init() before efi_init(), then when calling efi_init() could initialize Xen specific UEFI. Check if it runs on Xen hypervisor through the flat dts. Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org> Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Reviewed-by: Julien Grall <julien.grall@arm.com> Tested-by: Julien Grall <julien.grall@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
2016-07-06arm64: dts: exynos: Modify the voltage range for BUCK2 for exynos7Abhilash Kesavan1-1/+1
Change the BUCK2 (vdd_atlas) voltage range to '500 - 1200mv' since CPU DVFS requires it. Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
2016-07-06arm64: defconfig: Enable S2MPS11 clock and S3C RTC driverAlim Akhtar1-0/+2
The S3C RTC controller on Exynos7 platform uses RTC source clock from S2MPS11 PMIC. This patch enables the required drivers to make RTC work on Exynos7 Espresso board. Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
2016-07-06Merge tag 'hi6220-dt-for-4.8' of git://github.com/hisilicon/linux-hisi into ↵Olof Johansson1-0/+143
next/dt64 ARM64: DT: Hisilicon Hi6220 hikey board updates for 4.8 - name the GPIO lines * tag 'hi6220-dt-for-4.8' of git://github.com/hisilicon/linux-hisi: arm64: dts: hikey: name the GPIO lines Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-06Merge tag 'imx-dt64-4.8' of ↵Olof Johansson2-14/+54
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/dt64 The Freescale arm64 device tree updates for 4.8: - Update address-cells and reg properties of cpu nodes, considering MPIDR_EL1[63:32] bits are not used for CPUs identification on ls1043a and ls2080a - Adds the cache nodes and next-level-cache property for ls1043a and ls2080a to get cacheinfo work on these platforms - Add dma-coherent for ls1043a PCI nodes to utilize the hardware capability on data coherency - Add dis_rxdet_inp3_quirk property for USB3 device to disable rx detection in P3 PHY mode * tag 'imx-dt64-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: arm64: dts: ls2080a: Add cache nodes for cacheinfo support arm64: dts: ls1043a: Add cache nodes for cacheinfo support arm64: dts: ls1043a: Add 'dma-coherent' for ls1043a PCI nodes bindings: PCI: layerscape: Add 'dma-coherent' property arm64: dts: ls1043a: Add dis_rxdet_inp3_quirk property to USB3 node arm64: dts: ls2080a: Add dis_rxdet_inp3_quirk property to USB3 node arm64: dts: fsl: Update address-cells and reg properties of cpu nodes Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-06Merge tag 'bcm2835-arm64-next-2016-07-03' into soc-arm64/nextFlorian Fainelli2-2/+28
This pull request brings in the build support for the Raspberry Pi arm64 port. This has an external dependency on Jason Cooper's irqchip/bcm branch, it is a stable branch based on v4.7-rc1, and it has been in -next for a couple of weeks. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-07-06Merge tag 'bcm2835-dt-64-next-2016-07-03' into devicetree-arm64/nextFlorian Fainelli3-0/+107
This pull request brings in the Raspberry Pi 3 DT for its arm64 support. Note that it also merges in the ethernet DT changes so that the Pi3's ethernet can also get the MAC address. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2016-07-05Merge tag 'qcom-arm64-for-4.8' of ↵Olof Johansson4-4/+496
git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/dt64 Qualcomm ARM64 Updates for v4.8 * Enable assorted peripherals on APQ8016 SBC * Update reserved memory on MSM8916 * Add MSM8996 peripheral support * Add SCM firmware node on MSM8916 * Add PMU node on MSM8916 * Add PSCI cpuidle support on MSM8916 * tag 'qcom-arm64-for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: (22 commits) arm64: dts: msm8996: add sdc2 support arm64: dts: msm8996: add sdc2 pinctrl arm64: dts: msm8996: add support to blsp2_spi5 arm64: dts: msm8996: add support to blsp2_spi5 pinctrl arm64: dts: msm8996: add support to blsp1_spi0 arm64: dts: msm8996: add support to blsp1_spi0 pinctrl arm64: dts: msm8996: add support to blsp2_i2c0 arm64: dts: msm8996: add support to blsp2_i2c0 pinctrl arm64: dts: msm8996: add support to blsp2_i2c1 arm64: dts: msm8996: add blsp2_i2c1 pinctrl arm64: dts: msm8996: add support to blsp1_i2c2 device arm64: dts: msm8996: add blsp1_i2c2 pinctrl nodes. arm64: dts: msm8996: add support blsp2_uart2 arm64: dts: msm8996: add blsp2_uart2 pinctrl nodes. arm64: dts: msm8996: add blsp2_uart1 pinctrl arm64: dts: msm8996: add msmgpio label ARM: dts: msm8916: Update reserved-memory arm64: dts: msm8916: Add SCM firmware node arm64: dts: qcom: Add msm8916 PMU node ARM64: dts: Add PSCI cpuidle support for MSM8916 ... Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-05Merge tag 'qcom-arm64-defconfig-for-4.8' of ↵Olof Johansson1-0/+4
git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/arm64 Qualcomm ARM64 Based defconfig Updates for v4.8 * Enable PM8xxx pwrkey support * Enable MSM8996 support * tag 'qcom-arm64-defconfig-for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: arm64: defconfig: enable msm8996 pinctrl support arm64: defconfig: Enable qcom msm8996 clk drivers arm: defconfig: Enable PM8941 pwr key Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-05Merge tag 'xgene-dts-for-v4.8-part1' of ↵Olof Johansson2-61/+51
https://github.com/AppliedMicro/xgene-next into next/dt64 First part of X-Gene DTS changes queued for v4.8 The changes include: + 2 clean-up and style-fix patches from Bjorn + Correct timer interrupt polarity for X-Gene 2 + Remove unused qmlclk node on X-Gene 1 * tag 'xgene-dts-for-v4.8-part1' of https://github.com/AppliedMicro/xgene-next: arm64: dts: apm: Remove unused qmlclk node on X-Gene 1 arm64: dts: apm: Fix timer interrupt polarity for X-Gene 2 SoC arm64: dts: apm: Remove leading '0x' from unit addresses arm64: dts: apm: Use lowercase consistently for hex constants Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-05Merge tag 'juno-defconfig-4.8' of ↵Olof Johansson1-0/+2
git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into next/arm64 ARMv8 Juno/Vexpress defconfig updates for v4.8 1. Enable support for SCPI based sensors(temperature, voltage, current and power) 2. Enable the Generic on-chip SRAM driver. SRAM is used for SCPI based communication with SCP on Juno * tag 'juno-defconfig-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux: arm64: defconfig: enable SENSORS_ARM_SCPI arm64: defconfig: enable Generic on-chip SRAM driver Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-05Merge tag 'mvebu-defconfig64-4.8-1' of git://git.infradead.org/linux-mvebu ↵Olof Johansson1-0/+1
into next/arm64 mvebu defconfig64 for 4.8 (part 1) - Enable the PCIe host controller found on the Armada 7K/8K SoCs * tag 'mvebu-defconfig64-4.8-1' of git://git.infradead.org/linux-mvebu: arm64: configs: enable PCIe driver for Armada 7K/8K Signed-off-by: Olof Johansson <olof@lixom.net>
2016-07-04arm64: dts: marvell: add peripherals clocks for Armada 37xxGregory CLEMENT1-0/+16
Add two new blocks of clocks. The peripheral clocks are the source clocks of the peripheral of the Armada 3700 SoC. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-07-04arm64: dts: marvell: add tbg clocks for Armada 37xxGregory CLEMENT1-0/+7
Add a new block of clocks. The Time Base Generators clocks can be the parent of the peripheral clocks. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-07-04arm64: dts: marvell: Add xtal clock support for Armada 3700Gregory CLEMENT1-0/+12
The configuration of the clock depend of the gpio latch. This information is stored in the gpio block registers. That's why the block is shared using a syscon node. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-07-04arm64: marvell: enable Armada 3700 clock driversGregory CLEMENT1-0/+1
This patch enables the support for the clocks drivers used on the Armada 3700. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-07-04arm/arm64: Get rid of KERN_TO_HYPMarc Zyngier1-1/+0
We have both KERN_TO_HYP and kern_hyp_va, which do the exact same thing. Let's standardize on the latter. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-07-04arm/arm64: KVM: Prune unused #definesMarc Zyngier1-10/+0
We can now remove a number of dead #defines, thanks to the trampoline code being gone. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-07-04arm: KVM: Allow hyp teardownMarc Zyngier1-1/+2
So far, KVM was getting in the way of kexec on 32bit (and the arm64 kexec hackers couldn't be bothered to fix it on 32bit...). With simpler page tables, tearing KVM down becomes very easy, so let's just do it. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-07-04arm/arm64: KVM: Kill free_boot_hyp_pgdMarc Zyngier1-1/+0
There is no way to free the boot PGD, because it doesn't exist anymore as a standalone entity. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-07-04arm/arm64: KVM: Drop boot_pgdMarc Zyngier2-5/+2
Since we now only have one set of page tables, the concept of boot_pgd is useless and can be removed. We still keep it as an element of the "extended idmap" thing. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-07-04arm64: KVM: Simplify HYP init/teardownMarc Zyngier5-92/+26
Now that we only have the "merged page tables" case to deal with, there is a bunch of things we can simplify in the HYP code (both at init and teardown time). Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-07-04arm/arm64: KVM: Always have merged page tablesMarc Zyngier1-24/+7
We're in a position where we can now always have "merged" page tables, where both the runtime mapping and the idmap coexist. This results in some code being removed, but there is more to come. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-07-04arm64: KVM: Runtime detection of lower HYP offsetMarc Zyngier1-0/+19
Add the code that enables the switch to the lower HYP VA range. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>