summaryrefslogtreecommitdiff
path: root/arch/arm64
AgeCommit message (Collapse)Author
2017-09-25Add dspi node for fsl-ls1046a-qds-sdk dtsGao Guanhua
Signed-Off-by: Guanhua Gao <guanhua.gao@nxp.com>
2017-09-25dts: ls1046aqds: add "simple-bus" and ranges to fpgaZhao Qiang
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
2017-09-25arm64: dts: ls1012a: add cpu idle supportYuantian Tang
Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
2017-09-25arm64: dts: ls1043a: add cpu idle supportYuantian Tang
Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
2017-09-25arm64: dts: ls1012a: add USB host controller nodesRan Wang
LS1012A has one USB 3.0(DWC3) controller and one USB 2.0 controller. Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
2017-09-25arm64: dts: ls1046a: Add dis_rxdet_inp3_quirk property to USB3 nodeRan Wang
Add "dis_rxdet_inp3_quirk" bollean property to USB3 node. This property is used to disable rx detection in P3 PHY mode Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
2017-09-25arm64: dts: ls2088ardb: Update nodes for QSPISantan Kumar
-As per board design, different QSPI flash is connected on boards, hence change QSPI flash node from s25fl256s1 to s25fs512ss in device tree. -Enable fast-read support in QSPI node. Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
2017-09-25arm64: dts: ls2081ardb: Update nodes for QSPI, SATA, INA220Santan Kumar
Update ls2081ardb.dts for below nodes: -As per updated board design, different QSPI flash is connected on boards, hence change QSPI flash node from n25q512a to s25fs512ss in device tree. -Enable dual flash support in QSPI node. -Add DTS node for INA220. -Enable SATA node. Signed-off-by: Santan Kumar <santan.kumar@nxp.com> Signed-off-by: Tao Yang <b31903@freescale.com> Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
2017-09-25arm64: dts: ls1088: Add Reboot node in dtsiAshish Kumar
Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
2017-09-25arm64:dts: Add LS1043/46 USDPAA dts files in MakefileAkhil Goyal
Modification required for fsl,dpaa node placement. Now the node is part of soc node. Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
2017-09-25arm64: dts: add OH ports on LS1043/46Iordache Florinel-R70177
Signed-off-by: Iordache Florinel-R70177 <florinel.iordache@nxp.com> Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
2017-09-25arm64: dts: ls1021/ls1043/ls1046: add qdma nodesjiaheng.fan
Signed-off-by: jiaheng.fan <jiaheng.fan@nxp.com>
2017-09-25arm64: dts: ls1088a: Add flash node for ls1088a qds and rdbPrabhakar Kushwaha
LS1088AQDS consist of NOR, NAND and FPGA connected over IFC LS1088ARDB consist of NAND and FPGA connected over IFC. So add flash information in ifc node of device tree. Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
2017-09-25arm64: dts: ls208xa: Add QSPI Flash node for RDBSuresh Gupta
This is temporary patch, will rewrite for open source Signed-off-by: Suresh Gupta <suresh.gupta@nxp.com>
2017-09-25arm64: dts: ls2081ardb: Add DTS support for NXP LS2081ARDBPriyanka Jain
This patch add support for NXP LS2081ARDB board which has LS2081A SoC. LS2081A SoC is 40-pin derivative of LS2088A SoC So, from functional perspective both are same. Hence,ls2088a SoC dtsi files are included from ls2081ARDB dts Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
2017-09-25arm64: dts: add iommu-map property in fsl-mc nodeNipun Gupta
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
2017-09-25arm64: dts: ls2088a: add cpu idle supportYuantian Tang
Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
2017-09-25arm64: dts: ls1088a: add cpu idle supportYuantian Tang
Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
2017-09-25arm64: dts: ls1088a: Add USB supportyinbo.zhu
Fix the issue that usb is not detected on ls1088ardb Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com> Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
2017-09-25config: enable support for lxd and lxd-bridgeIoana Ciornei
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
2017-09-25lsdk.config: added config options required to run dockerIoana Ciornei
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
2017-09-25arm64: configs: Remove CONFIG_MTD_CFI_BE_BYTE_SWAP in lsdk.configAlison Wang
For the patch to update struct map_info's swap field based on device characteristics defined in device tree, CONFIG_MTD_CFI_BE_BYTE_SWAP is not used. This patch will remove it in lsdk.config. Signed-off-by: Alison Wang <alison.wang@nxp.com>
2017-09-25arm64:configs: Enable CEPH_FS and XFS_FS in lsdk.configShengzhou Liu
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
2017-09-25arm64: lsdk.config: Enable CONFIG_OVERLAY_FS in kernelShengzhou Liu
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
2017-09-25arm64: defconfig: Enable CONFIG_FHANDLEShengzhou Liu
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
2017-09-25vfio: fsl-mc: enable CONFIG_VFIO_FSL_MC for arm64 defconfigZhao Qiang
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
2017-09-25arm64: defconfig: Enable SAI and eDMA supportAlison Wang
This patch adds SAI and eDMA support in the defconfig. Signed-off-by: Alison Wang <alison.wang@nxp.com>
2017-09-25export arch_setup_dma_ops()Madalin Bucur
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
2017-09-25ARM64/PCI: Allow userspace to mmap PCI resourcesBharat Bhushan
This patch allows user-space to mmap PCI resources. This patch is inline to arm32 bit implementation. Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com>
2017-09-25armv8: dts: Add big-endian for IFC on LS1043A/LS1046AAlison Wang
For the patch to update struct map_info's swap field based on device characteristics defined in device tree, big-endian parameter is added for LS1043A/LS1046A. Signed-off-by: Alison Wang <alison.wang@nxp.com>
2017-09-14 Merge tag 'v4.9.50' into linux-linaro-lsk-v4.9Alex Shi
This is the 4.9.50 stable release
2017-09-13ARM64: dts: marvell: armada-37xx: Fix GIC maintenance interruptMarc Zyngier
commit 95696d292e204073433ed2ef3ff4d3d8f42a8248 upstream. The GIC-500 integrated in the Armada-37xx SoCs is compliant with the GICv3 architecture, and thus provides a maintenance interrupt that is required for hypervisors to function correctly. With the interrupt provided in the DT, KVM now works as it should. Tested on an Espressobin system. Fixes: adbc3695d9e4 ("arm64: dts: add the Marvell Armada 3700 family and a development board") Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-04ARM64: add lsk_defconfigAlex Shi
This's a new defconfig for kernelci auto testing. It's copied from arch/arm64/configs/defconfig plus TEE, OPTEE config. The kexec/kdump config was enabled as default already. Signed-off-by: Alex Shi <alex.shi@linaro.org>
2017-09-03 Merge tag 'v4.9.47' into linux-linaro-lsk-v4.9Alex Shi
This is the 4.9.47 stable release
2017-09-02arm64: fpsimd: Prevent registers leaking across execDave Martin
commit 096622104e14d8a1db4860bd557717067a0515d2 upstream. There are some tricky dependencies between the different stages of flushing the FPSIMD register state during exec, and these can race with context switch in ways that can cause the old task's regs to leak across. In particular, a context switch during the memset() can cause some of the task's old FPSIMD registers to reappear. Disabling preemption for this small window would be no big deal for performance: preemption is already disabled for similar scenarios like updating the FPSIMD registers in sigreturn. So, instead of rearranging things in ways that might swap existing subtle bugs for new ones, this patch just disables preemption around the FPSIMD state flushing so that races of this type can't occur here. This brings fpsimd_flush_thread() into line with other code paths. Fixes: 674c242c9323 ("arm64: flush FP/SIMD state correctly after execve()") Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-02arm64: mm: abort uaccess retries upon fatal signalMark Rutland
commit 289d07a2dc6c6b6f3e4b8a62669320d99dbe6c3d upstream. When there's a fatal signal pending, arm64's do_page_fault() implementation returns 0. The intent is that we'll return to the faulting userspace instruction, delivering the signal on the way. However, if we take a fatal signal during fixing up a uaccess, this results in a return to the faulting kernel instruction, which will be instantly retried, resulting in the same fault being taken forever. As the task never reaches userspace, the signal is not delivered, and the task is left unkillable. While the task is stuck in this state, it can inhibit the forward progress of the system. To avoid this, we must ensure that when a fatal signal is pending, we apply any necessary fixup for a faulting kernel instruction. Thus we will return to an error path, and it is up to that code to make forward progress towards delivering the fatal signal. Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Laura Abbott <labbott@redhat.com> Reviewed-by: Steve Capper <steve.capper@arm.com> Tested-by: Steve Capper <steve.capper@arm.com> Reviewed-by: James Morse <james.morse@arm.com> Tested-by: James Morse <james.morse@arm.com> Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-09-01 Merge tag 'v4.9.46' into linux-linaro-lsk-v4.9Alex Shi
This is the 4.9.46 stable release
2017-08-25mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changesKees Cook
commit c715b72c1ba406f133217b509044c38d8e714a37 upstream. Moving the x86_64 and arm64 PIE base from 0x555555554000 to 0x000100000000 broke AddressSanitizer. This is a partial revert of: eab09532d400 ("binfmt_elf: use ELF_ET_DYN_BASE only for PIE") 02445990a96e ("arm64: move ELF_ET_DYN_BASE to 4GB / 4MB") The AddressSanitizer tool has hard-coded expectations about where executable mappings are loaded. The motivation for changing the PIE base in the above commits was to avoid the Stack-Clash CVEs that allowed executable mappings to get too close to heap and stack. This was mainly a problem on 32-bit, but the 64-bit bases were moved too, in an effort to proactively protect those systems (proofs of concept do exist that show 64-bit collisions, but other recent changes to fix stack accounting and setuid behaviors will minimize the impact). The new 32-bit PIE base is fine for ASan (since it matches the ET_EXEC base), so only the 64-bit PIE base needs to be reverted to let x86 and arm64 ASan binaries run again. Future changes to the 64-bit PIE base on these architectures can be made optional once a more dynamic method for dealing with AddressSanitizer is found. (e.g. always loading PIE into the mmap region for marked binaries.) Link: http://lkml.kernel.org/r/20170807201542.GA21271@beast Fixes: eab09532d400 ("binfmt_elf: use ELF_ET_DYN_BASE only for PIE") Fixes: 02445990a96e ("arm64: move ELF_ET_DYN_BASE to 4GB / 4MB") Signed-off-by: Kees Cook <keescook@chromium.org> Reported-by: Kostya Serebryany <kcc@google.com> Acked-by: Will Deacon <will.deacon@arm.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-07 Merge tag 'v4.9.41' into linux-linaro-lsk-v4.9Alex Shi
This is the 4.9.41 stable release
2017-08-07arm64: mm: fix show_pte KERN_CONT falloutMark Rutland
[ Upstream commit 6ef4fb387d50fa8f3bffdffc868b57e981cdd709 ] Recent changes made KERN_CONT mandatory for continued lines. In the absence of KERN_CONT, a newline may be implicit inserted by the core printk code. In show_pte, we (erroneously) use printk without KERN_CONT for continued prints, resulting in output being split across a number of lines, and not matching the intended output, e.g. [ff000000000000] *pgd=00000009f511b003 , *pud=00000009f4a80003 , *pmd=0000000000000000 Fix this by using pr_cont() for all the continuations. Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-07ARM64: zynqmp: Fix i2c node's compatible stringMoritz Fischer
[ Upstream commit c415f9e8304a1d235ef118d912f374ee2e46c45d ] The Zynq Ultrascale MP uses version 1.4 of the Cadence IP core which fixes some silicon bugs that needed software workarounds in Version 1.0 that was used on Zynq systems. Signed-off-by: Moritz Fischer <mdf@kernel.org> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Sören Brinkmann <soren.brinkmann@xilinx.com> Cc: Rob Herring <robh+dt@kernel.org> Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-07ARM64: zynqmp: Fix W=1 dtc 1.4 warningsMichal Simek
[ Upstream commit 4ea2a6be9565455f152c12f80222af1582ede0c7 ] The patch removes these warnings reported by dtc 1.4: Warning (unit_address_vs_reg): Node /amba_apu has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-22Merge remote-tracking branch 'lts/linux-4.9.y' into linux-linaro-lsk-v4.9Alex Shi
2017-07-21ARM64: dts: marvell: armada37xx: Fix timer interrupt specifiersMarc Zyngier
commit 88cda00733f0731711c76e535d4972c296ac512e upstream. Contrary to popular belief, PPIs connected to a GICv3 to not have an affinity field similar to that of GICv2. That is consistent with the fact that GICv3 is designed to accomodate thousands of CPUs, and fitting them as a bitmap in a byte is... difficult. Fixes: adbc3695d9e4 ("arm64: dts: add the Marvell Armada 3700 family and a development board") Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-21arm64: move ELF_ET_DYN_BASE to 4GB / 4MBKees Cook
commit 02445990a96e60a67526510d8b00f7e3d14101c3 upstream. Now that explicitly executed loaders are loaded in the mmap region, we have more freedom to decide where we position PIE binaries in the address space to avoid possible collisions with mmap or stack regions. For 64-bit, align to 4GB to allow runtimes to use the entire 32-bit address space for 32-bit pointers. On 32-bit use 4MB, to match ARM. This could be 0x8000, the standard ET_EXEC load address, but that is needlessly close to the NULL address, and anyone running arm compat PIE will have an MMU, so the tight mapping is not needed. Link: http://lkml.kernel.org/r/1498251600-132458-4-git-send-email-keescook@chromium.org Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-14arm64/pgtable: add support to map cacheable and non shareable memoryHaiying Wang
Signed-off-by: Haiying Wang <Haiying.wang@freescale.com> Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
2017-07-14arm64: add ioremap for normal cacheable non-shareable memoryHaiying Wang
Signed-off-by: Haiying Wang <Haiying.Wang@nxp.com>
2017-07-14pci:add support aer/pme interrupts with none MSI/MSI-X/INTx modePo Liu
[arch part] On some platforms, root port doesn't support MSI/MSI-X/INTx in RC mode. When chip support the aer/pme interrupts with none MSI/MSI-X/INTx mode, maybe there is interrupt line for aer pme etc. Search the interrupt number in the fdt file. Then fixup the dev->irq with it. Signed-off-by: Po Liu <po.liu@nxp.com> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Integrated-by: Zhao Qiang <qiang.zhao@nxp.com>
2017-07-14Add USDPAA DTS files for LS1043 and LS1046Roy Pledge
Add USDPAA device trees for LS1043/LS1046 RDB boards Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
2017-07-14arm64: dts: add DPAA 1.x SDK qds dts filesMadalin Bucur
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com> Integrated-by: Zhao Qiang <qiang.zhao@nxp.com>