summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2017-08-17arm64: dts: salvator-common: Remove extra LVDS port labelLaurent Pinchart
The DU LVDS output is on port 3 on R8A7795 but on port 2 on R8A7796. The lvds_connector label thus can't be defined in salvator-common.dtsi, common to the two SoCs. The lvds_connector label is meant for convenience to be referenced from panel device tree files, such as r8a77xx-aa104xd12-panel.dtsi or r8a77xx-aa121td01-panel.dtsi. As those files are not included in any device tree source, and the label never used elsewhere, we can simply remove it. Out-of-tree patches that include panel device tree files can then add a #define lvds_connector du_out_lvds0 before including the panel device tree file. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-08-17ARM: dts: r8a7791: Use R-Car SATA Gen2 fallback compat stringSimon Horman
Use newly added R-Car SATA Gen2 fallback compat string in the DT of the r8a7791 SoC. This should have no run-time effect as the driver matches against the per-SoC compat string before the fallback compat string is considered. Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
2017-08-17ARM: dts: r8a7790: Use R-Car SATA Gen2 fallback compat stringSimon Horman
Use newly added R-Car SATA Gen2 fallback compat string in the DT of the r8a7790 SoC. This should have no run-time effect as the driver matches against the per-SoC compat string before the fallback compat string is considered. Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
2017-08-17Merge tag 'renesas-fixes4-for-v4.13' of ↵Arnd Bergmann
https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into fixes Pull "Fourth Round of Renesas ARM Based SoC Fixes for v4.13" from Simon Horman: * Avoid audio_clkout naming conflict for salvator boards using Renesas R-Car Gen 3 SoCs Morimoto-san says "The clock name of "audio_clkout" is used by the Renesas sound driver. This duplicated naming breaks its clock registering/unregistering. Especially when unbind/bind it can't handle clkout correctly. This patch renames "audio_clkout" to "audio-clkout" to avoid the naming conflict." * tag 'renesas-fixes4-for-v4.13' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: arm64: renesas: salvator-common: avoid audio_clkout naming conflict
2017-08-17Merge tag 'amlogic-dt' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt Pull "Amlogic 32-bit DT changes for v4.14" from Kevin Hilman: - update clock controler for use as reset controller - misc. updates/fixups/improvements * tag 'amlogic-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM: dts: meson6: use stable UART bindings ARM: dts: meson: mark the clock controller also as reset controller ARM: dts: meson: add a node which describes the SRAM ARM: dts: meson8b: use the existing wdt node to override the compatible ARM: dts: meson8: add the PWM controller nodes ARM: dts: move the pwm_ab and pwm_cd nodes to meson.dtsi
2017-08-17Merge tag 'keystone_dts_for_4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into next/dt Pull "ARM: Keystone DTS for 4.14" from Santosh Shilimkar: Contents: - ti-sci power domain, clock and reset controller support - DSP nodes for k2h/k2l/k2e evms - DSP CMA memory pools for k2h/k2l/k2e/keg evms - MMC/hsmmc suport for k2g - eDMA support for k2g - DCAN support for k2g * tag 'keystone_dts_for_4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone: (22 commits) ARM: dts: keystone-k2g-ice: Add and enable DSP CMA memory pool ARM: dts: keystone-k2g-evm: Add and enable DSP CMA memory pool ARM: dts: keystone-k2g: Add DSP node ARM: dts: k2g: Add DCAN nodes dt-bindings: net: c_can: Update binding for clock and power-domains property ARM: dts: keystone-k2g-evm: Enable MMC0 and MMC1 ARM: dts: keystone-k2g: add MMC0 and MMC1 nodes ARM: dts: keystone-k2g: Add eDMA nodes dt-bindings: ti,omap-hsmmc: Add 66AK2G mmc controller dt-bindings: ti,edma: Add 66AK2G specific information ARM: dts: keystone-k2g: Add gpio nodes ARM: dts: keystone-k2e-evm: Add and enable DSP CMA memory pool ARM: dts: keystone-k2l-evm: Add and enable common DSP CMA memory pool ARM: dts: keystone-k2hk-evm: Add and enable common DSP CMA memory pool ARM: dts: keystone-k2e: Add DSP node ARM: dts: keystone-k2l: Add DSP nodes ARM: dts: keystone-k2hk: Add DSP nodes ARM: dts: keystone-k2g: Add TI SCI reset-controller node ARM: dts: keystone-k2g: Add ti-sci clock provider node ARM: dts: keystone-k2g: Add ti-sci power domain node ...
2017-08-17x86/boot/KASLR: Prefer mirrored memory regions for the kernel physical addressBaoquan He
Currently KASLR will parse all e820 entries of RAM type and add all candidate positions into the slots array. After that we choose one slot randomly as the new position which the kernel will be decompressed into and run at. On systems with EFI enabled, e820 memory regions are coming from EFI memory regions by combining adjacent regions. These EFI memory regions have various attributes, and the "mirrored" attribute is one of them. The physical memory region whose descriptors in EFI memory map has EFI_MEMORY_MORE_RELIABLE attribute (bit: 16) are mirrored. The address range mirroring feature of the kernel arranges such mirrored regions into normal zones and other regions into movable zones. With the mirroring feature enabled, the code and data of the kernel can only be located in the more reliable mirrored regions. However, the current KASLR code doesn't check EFI memory entries, and could choose a new kernel position in non-mirrored regions. This will break the intended functionality of the address range mirroring feature. To fix this, if EFI is detected, iterate EFI memory map and pick the mirrored region to process for adding candidate of randomization slot. If EFI is disabled or no mirrored region found, still process the e820 memory map. Signed-off-by: Baoquan He <bhe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: ard.biesheuvel@linaro.org Cc: fanc.fnst@cn.fujitsu.com Cc: izumi.taku@jp.fujitsu.com Cc: keescook@chromium.org Cc: linux-efi@vger.kernel.org Cc: matt@codeblueprint.co.uk Cc: n-horiguchi@ah.jp.nec.com Cc: thgarnie@google.com Link: http://lkml.kernel.org/r/1502722464-20614-3-git-send-email-bhe@redhat.com [ Rewrote most of the text. ] Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-17efi: Introduce efi_early_memdesc_ptr to get pointer to memmap descriptorBaoquan He
The existing map iteration helper for_each_efi_memory_desc_in_map can only be used after the kernel initializes the EFI subsystem to set up struct efi_memory_map. Before that we also need iterate map descriptors which are stored in several intermediate structures, like struct efi_boot_memmap for arch independent usage and struct efi_info for x86 arch only. Introduce efi_early_memdesc_ptr() to get pointer to a map descriptor, and replace several places where that primitive is open coded. Signed-off-by: Baoquan He <bhe@redhat.com> [ Various improvements to the text. ] Acked-by: Matt Fleming <matt@codeblueprint.co.uk> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: ard.biesheuvel@linaro.org Cc: fanc.fnst@cn.fujitsu.com Cc: izumi.taku@jp.fujitsu.com Cc: keescook@chromium.org Cc: linux-efi@vger.kernel.org Cc: n-horiguchi@ah.jp.nec.com Cc: thgarnie@google.com Link: http://lkml.kernel.org/r/20170816134651.GF21273@x1 Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-17Merge branch 'linus' into x86/boot, to pick up fixesIngo Molnar
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-17locking/refcounts, x86/asm: Implement fast refcount overflow protectionKees Cook
This implements refcount_t overflow protection on x86 without a noticeable performance impact, though without the fuller checking of REFCOUNT_FULL. This is done by duplicating the existing atomic_t refcount implementation but with normally a single instruction added to detect if the refcount has gone negative (e.g. wrapped past INT_MAX or below zero). When detected, the handler saturates the refcount_t to INT_MIN / 2. With this overflow protection, the erroneous reference release that would follow a wrap back to zero is blocked from happening, avoiding the class of refcount-overflow use-after-free vulnerabilities entirely. Only the overflow case of refcounting can be perfectly protected, since it can be detected and stopped before the reference is freed and left to be abused by an attacker. There isn't a way to block early decrements, and while REFCOUNT_FULL stops increment-from-zero cases (which would be the state _after_ an early decrement and stops potential double-free conditions), this fast implementation does not, since it would require the more expensive cmpxchg loops. Since the overflow case is much more common (e.g. missing a "put" during an error path), this protection provides real-world protection. For example, the two public refcount overflow use-after-free exploits published in 2016 would have been rendered unexploitable: http://perception-point.io/2016/01/14/analysis-and-exploitation-of-a-linux-kernel-vulnerability-cve-2016-0728/ http://cyseclabs.com/page?n=02012016 This implementation does, however, notice an unchecked decrement to zero (i.e. caller used refcount_dec() instead of refcount_dec_and_test() and it resulted in a zero). Decrements under zero are noticed (since they will have resulted in a negative value), though this only indicates that a use-after-free may have already happened. Such notifications are likely avoidable by an attacker that has already exploited a use-after-free vulnerability, but it's better to have them reported than allow such conditions to remain universally silent. On first overflow detection, the refcount value is reset to INT_MIN / 2 (which serves as a saturation value) and a report and stack trace are produced. When operations detect only negative value results (such as changing an already saturated value), saturation still happens but no notification is performed (since the value was already saturated). On the matter of races, since the entire range beyond INT_MAX but before 0 is negative, every operation at INT_MIN / 2 will trap, leaving no overflow-only race condition. As for performance, this implementation adds a single "js" instruction to the regular execution flow of a copy of the standard atomic_t refcount operations. (The non-"and_test" refcount_dec() function, which is uncommon in regular refcount design patterns, has an additional "jz" instruction to detect reaching exactly zero.) Since this is a forward jump, it is by default the non-predicted path, which will be reinforced by dynamic branch prediction. The result is this protection having virtually no measurable change in performance over standard atomic_t operations. The error path, located in .text.unlikely, saves the refcount location and then uses UD0 to fire a refcount exception handler, which resets the refcount, handles reporting, and returns to regular execution. This keeps the changes to .text size minimal, avoiding return jumps and open-coded calls to the error reporting routine. Example assembly comparison: refcount_inc() before: .text: ffffffff81546149: f0 ff 45 f4 lock incl -0xc(%rbp) refcount_inc() after: .text: ffffffff81546149: f0 ff 45 f4 lock incl -0xc(%rbp) ffffffff8154614d: 0f 88 80 d5 17 00 js ffffffff816c36d3 ... .text.unlikely: ffffffff816c36d3: 48 8d 4d f4 lea -0xc(%rbp),%rcx ffffffff816c36d7: 0f ff (bad) These are the cycle counts comparing a loop of refcount_inc() from 1 to INT_MAX and back down to 0 (via refcount_dec_and_test()), between unprotected refcount_t (atomic_t), fully protected REFCOUNT_FULL (refcount_t-full), and this overflow-protected refcount (refcount_t-fast): 2147483646 refcount_inc()s and 2147483647 refcount_dec_and_test()s: cycles protections atomic_t 82249267387 none refcount_t-fast 82211446892 overflow, untested dec-to-zero refcount_t-full 144814735193 overflow, untested dec-to-zero, inc-from-zero This code is a modified version of the x86 PAX_REFCOUNT atomic_t overflow defense from the last public patch of PaX/grsecurity, based on my understanding of the code. Changes or omissions from the original code are mine and don't reflect the original grsecurity/PaX code. Thanks to PaX Team for various suggestions for improvement for repurposing this code to be a refcount-only protection. Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Christoph Hellwig <hch@infradead.org> Cc: David S. Miller <davem@davemloft.net> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: Elena Reshetova <elena.reshetova@intel.com> Cc: Eric Biggers <ebiggers3@gmail.com> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Greg KH <gregkh@linuxfoundation.org> Cc: Hans Liljestrand <ishkamiel@gmail.com> Cc: James Bottomley <James.Bottomley@hansenpartnership.com> Cc: Jann Horn <jannh@google.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Manfred Spraul <manfred@colorfullife.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rik van Riel <riel@redhat.com> Cc: Serge E. Hallyn <serge@hallyn.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: arozansk@redhat.com Cc: axboe@kernel.dk Cc: kernel-hardening@lists.openwall.com Cc: linux-arch <linux-arch@vger.kernel.org> Link: http://lkml.kernel.org/r/20170815161924.GA133115@beast Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-17ARM: dts: r8a7743: Add OPP table for frequency scalingBiju Das
Add needed information inside CPU0 for the generic cpufreq-cpu0 driver. - clock-latency = 300 us Approximate worst-case latency to do clock transition for every OPPs. Using an arbitrary safe value similar to r8a7791(R-Car M2) Soc. - operating-points = < kHz - uV > List of 6 operating points. All of them are using the same voltage since DVS is not supported in RZ/G1 Soc. Note:This also fixes the below errors seen on kernel logs [ 0.876877] cpu cpu0: dev_pm_opp_get_opp_count: OPP table not found (-19) [ 0.883727] cpu cpu1: cpufreq_init: failed to get clk: -2 Signed-off-by: Biju Das <biju.das@bp.renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-08-17ARM: dts: r8a7743: Add APMU node and second CPU coreBiju Das
Add DT nodes for the Advanced Power Management Unit (APMU) and the second CPU core. Use the enable-method to point out that the APMU should be used for SMP support. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-08-17x86/mm, mm/hwpoison: Clear PRESENT bit for kernel 1:1 mappings of poison pagesTony Luck
Speculative processor accesses may reference any memory that has a valid page table entry. While a speculative access won't generate a machine check, it will log the error in a machine check bank. That could cause escalation of a subsequent error since the overflow bit will be then set in the machine check bank status register. Code has to be double-plus-tricky to avoid mentioning the 1:1 virtual address of the page we want to map out otherwise we may trigger the very problem we are trying to avoid. We use a non-canonical address that passes through the usual Linux table walking code to get to the same "pte". Thanks to Dave Hansen for reviewing several iterations of this. Also see: http://marc.info/?l=linux-mm&m=149860136413338&w=2 Signed-off-by: Tony Luck <tony.luck@intel.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Borislav Petkov <bp@suse.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: Elliott, Robert (Persistent Memory) <elliott@hpe.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-mm@kvack.org Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/20170816171803.28342-1-tony.luck@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-17x86/build: Fix stack alignment for CLangMatthias Kaehlcke
Commit: d77698df39a5 ("x86/build: Specify stack alignment for clang") intended to use the same stack alignment for clang as with gcc. The two compilers use different options to configure the stack alignment (gcc: -mpreferred-stack-boundary=n, clang: -mstack-alignment=n). The above commit assumes that the clang option uses the same parameter type as gcc, i.e. that the alignment is specified as 2^n. However clang interprets the value of this option literally to use an alignment of n, in consequence the stack remains misaligned. Change the values used with -mstack-alignment to be the actual alignment instead of a power of two. cc-option isn't used here with the typical pattern of KBUILD_CFLAGS += $(call cc-option ...). The reason is that older gcc versions don't support the -mpreferred-stack-boundary option, since cc-option doesn't verify whether the alternative option is valid it would incorrectly select the clang option -mstack-alignment.. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Bernhard.Rosenkranzer@linaro.org Cc: Greg Hackmann <ghackmann@google.com> Cc: Kees Cook <keescook@chromium.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Michael Davidson <md@google.com> Cc: Nick Desaulniers <ndesaulniers@google.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephen Hines <srhines@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: dianders@chromium.org Link: http://lkml.kernel.org/r/20170817004740.170588-1-mka@chromium.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-17ARM: dts: koelsch: Add CEC clock for HDMI transmitterHans Verkuil
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. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-08-17x86/boot/64/clang: Use fixup_pointer() to access 'next_early_pgt'Alexander Potapenko
__startup_64() is normally using fixup_pointer() to access globals in a position-independent fashion. However 'next_early_pgt' was accessed directly, which wasn't guaranteed to work. Luckily GCC was generating a R_X86_64_PC32 PC-relative relocation for 'next_early_pgt', but Clang emitted a R_X86_64_32S, which led to accessing invalid memory and rebooting the kernel. Signed-off-by: Alexander Potapenko <glider@google.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Michael Davidson <md@google.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Fixes: c88d71508e36 ("x86/boot/64: Rewrite startup_64() in C") Link: http://lkml.kernel.org/r/20170816190808.131748-1-glider@google.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-17Merge branch 'linus' into perf/core, to pick up fixesIngo Molnar
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-16Merge tag 'qcom-arm64-for-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/dt64 Pull "Qualcomm ARM64 Updates for v4.14" from Andy Gross: * Force USB host mode on APQ8016 * Update coresight nodes on MSM8916 * Add MSM8996 support for USB, PCIE phy, RPM/GLink, and modem SMP2P * Add db820c PM8994 regulator node * Add PMI8994 gpios * Add assorted MSM8916 nodes including GPU, IOMMU, Venus, and CEC clock. * tag 'qcom-arm64-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: arm64: dts: qcom: msm8916: Add IOMMU support arm64: dts: qcom: msm8916: Add Venus video codec support arm64: dts: qcom: msm8916: Add gpu support arm64: dts: qcom: msm8996: Specify smd-edge for ADSP arm64: dts: msm8996: Add modem smp2p nodes arm64: dts: qcom: db820c: Add pm8994 regulator node arm64: dts: qcom: Add RPM glink nodes to msm8996 arm64: dts: msm8996: Add device node for qcom,dwc3 arm64: dts: msm8996: Add device node for qcom qmp-phy for pcie arm64: dts: msm8996: Add device node for qcom qmp-phy for usb arm64: dts: msm8996: Add device node for qcom qusb2 phy arm64: dts: qcom: add cec clock for apq8016 board arm64: dts: pmi8994: Add device node for pmi8994 gpios arm64: dts: qcom-msm8916: dts: Update coresight replicator arm64: dts: qcom: Force host mode for USB on apq8016-sbc
2017-08-16Merge tag 'hisi-arm64-dt-for-4.14-v2' of ↵Arnd Bergmann
git://github.com/hisilicon/linux-hisi into next/dt64 Pull "ARM64: DT: Hisilicon SoC DT updates for 4.14" from Wei Xu: - Add PCIe node for hip07 - Add acpu_sctrl node and refine the usb tx fifo size for hi6220 - Add cpu idle states, L2 cache, PMU, OP-TEE, reboot, pstore, k3-dma and watchdog nodes for hi3660 and hikey960 - Update mmc and bluetooth nodes for hi3660 and hikey960 * tag 'hisi-arm64-dt-for-4.14-v2' of git://github.com/hisilicon/linux-hisi: arm64: dts: hi3660: enable watchdog arm64: dts: hi3660: add bindings for DMA arm64: dts: hikey960: change bluetooth uart max-speed to 3mbps arm64: dts: hi3660: Reset the mmc hosts arm64: dts: hikey960: Add pstore support arm64: dts: hikey960: Add support for syscon-reboot-mode arm64: dts: hikey960: Add optee node arm64: dts: hi3660: add pmu dt node for hi3660 arm64: dts: hi3660: add L2 cache topology arm64: dts: hi3660: enable idle states arm64: dts: hi6220: improve g-tx-fifo-size setting for usb device arm64: dts: hi6220: add acpu_sctrl arm64: dts: hisi: add PCIe host controller node for hip07 SoC
2017-08-16Merge tag 'uniphier-dt64-v4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into next/dt64 Pull "UniPhier ARM64 SoC DT updates for v4.14" from Masahiro Yamada: - add nodes for NAND, Watchdog - replace /include/ with #include - use #include <arm/...> instead of symlinks * tag 'uniphier-dt64-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier: arm64: dts: uniphier: add Denali NAND controller nodes arm64: dts: uniphier: use cross-arch include instead of symlinks arm64: dts: uniphier: use #include instead of /include/ arm64: dts: uniphier: add watchdog node for LD11 and LD20
2017-08-16Merge tag 'juno-updates-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into next/dt64 Pull "ARMv8 Vexpress/Juno DT updates for v4.14" from Sudeep Holla: 1. Replaces old coresight ATB programmable replicator compatible with new and more generic one 2. Replaces incorrect usage of underscores for device node names in the device tree with hyphen * tag 'juno-updates-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux: arm64: dts: juno: replace underscores with hyphen in device node names arm64: dts: juno: Use the new coresight replicator string
2017-08-16Merge tag 'sunxi-dt64-for-4.14' of ↵Arnd Bergmann
https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into next/dt64 Pull "Allwinner arm64 DT changes for 4.14" from Chen-Yu Tsai: The usual improvement patches: - R_INTC interrupt controller enabled for the A64 SoC - AXP803 PMIC added and enabled on the Pine64 and SoPine boards * tag 'sunxi-dt64-for-4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: arm64: allwinner: a64: add AXP803 PMIC support to SoPine and the baseboard arm64: allwinner: a64: enable AXP803 regulators for Pine64 arm64: allwinner: a64: add DTSI file for AXP803 PMIC arm64: allwinner: a64: add AXP803 node to Pine64 device tree arm64: allwinner: a64: add NMI (R_INTC) controller on A64
2017-08-16Merge tag 'v4.14-rockchip-dts64-1' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt64 Pull "Rockchip dts64 changes for 4.14" from Heiko Stübner: 64bit Rockchip devicetree changes containing fixes for pinctrl typos and the use of keep-power-in-suspend in non-sdio nodes as well as the removal of the deprecated num-slots property from dwmmc nodes. rk3328 gets support for spdif, io-domains and usb (including enablement of usb on the evaluation board), while rk3368 gains support for spdif. The biggest chunk of course aims for the rk3399 with a number of pcie changes, support for the mali gpu, a new power-domain, sdmmc support on the firefly board and dynamic-power-coefficients. The gru family also gets support for their quite central pwm regulators using the newly introduced vctrl regulator types. * tag 'v4.14-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: arm64: dts: rockchip: update dynamic-power-coefficient for rk3399 arm64: dts: rockchip: add rk3328 spdif node arm64: dts: rockchip: add rk3368 spdif node arm64: dts: rockchip: enable sdmmc controller on rk3399-firefly arm64: dts: rockchip: Add rk3328 io-domain node arm64: dts: rockchip: kill pcie_clkreqn and pcie_clkreqnb for rk3399 arm64: dts: rockchip: change clkreq mode for rk3399-firefly arm64: dts: rockchip: enable the GPU for RK3399-GRU arm64: dts: rockchip: add ARM Mali GPU node for RK3399 SoCs dt-bindings: gpu: add the RK3399 mali for rockchip specifics arm64: dts: rockchip: remove abused keep-power-in-suspend arm64: dts: rockchip: remove num-slots from all platforms arm64: dts: rockchip: change clkreq mode for rk3399-evb arm64: dts: rockchip: add SdioAudio pd control for rk3399 arm64: dts: rockchip: enable usb2 for RK3328 evaluation board arm64: dts: rockchip: add usb2 nodes for RK3328 SoCs arm64: dts: rockchip: set rk3399 dynamic CPU power coefficients arm64: dts: rockchip: Use vctrl regulators for dynamic CPU voltages on Gru/Kevin arm64: dts: rockchip: Update CPU regulator voltage ranges for Gru arm64: dts: rockchip: fix typo in mmc pinctrl
2017-08-16Merge tag 'mvebu-dt64-4.14-1' of git://git.infradead.org/linux-mvebu into ↵Arnd Bergmann
next/dt64 Pull "mvebu dt64 for 4.14 (part 1)" from Gregory CLEMENT: For Armada 37xx: - GIC improvement - Add PMUv3 - Enable USB2 on EspressoBin For Armada 7K/8K: - add GPIO interrupts for CP110 - add pinctrl nodes to describe the CPM I2C0 and CPS SPI1 - re-order RTC nodes in Marvell CP110 description - on MacchiatoBin - fix USB3 regulator definition - add support for i2c mux - add support for PCIe - add an stdout-path * tag 'mvebu-dt64-4.14-1' of git://git.infradead.org/linux-mvebu: arm64: dts: marvell: re-order RTC nodes in Marvell CP110 description arm64: dts: marvell: mcbin: add an stdout-path arm64: dts: marvell: mcbin: add support for PCIe arm64: dts: marvell: mcbin: add support for i2c mux arm64: dts: marvell: fix USB3 regulator definition on MacchiatoBin arm64: dts: marvell: mcbin: add pinctrl nodes arm64: dts: marvell: cp110: add GPIO interrupts ARM64: dts: marvell: armada-37xx: Enable USB2 on espressobin ARM64: dts: marvell: armada-37xx: Wire PMUv3 ARM64: dts: marvell: armada-37xx: Enable memory-mapped GIC CPU interface ARM64: dts: marvell: armada-37xx: Fix GIC maintenance interrupt
2017-08-16Merge tag 'renesas-arm64-dt-for-v4.14' of ↵Arnd Bergmann
https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt64 Pull "Renesas ARM64 Based SoC DT Updates for v4.14" from Simon Horman: * Add usb2.0 for R-Car H3 (r8a7795) ES2.0 SoC * Add R-Car D3 (r8a77995) SoC and Draak board support Adds minimal support for the R-Car D3 SoC and the Draak development board, allowing to boot from a ramdisk using a serial console. * Add Add VC6 clock generator to R-Car H3 (r8a7795)/Salvator-XS board The VC6 is an I2C-controlled programmable clock generator, used on the board to provide a display dot clock. Add it to DT. * Add missing second pair of DMA names to MSIOF nodes to R-Car M3-W (r8a7796) SoC MSIOF0 and MSIOF1 are tied to two DMA controllers through two pairs of DMA specifiers. However, the second pair of corresponding DMA names was missing. * Add support for the DU to R-Car H3 (r8a7795) SoC Add a compatible string and VSP links to the DU node. The H3 ES1.x and H3 ES2.0 are compatible save for the links to the VSPs that are described explicitly in DT, so there's no need for a new ES2-specific compatible string. * Enable HDMI on R-Car H3 (r8a7795) and M3-W (r8a7796) ULCB boards * Enable DU on R-Car M3-W (r8a7796) Salvator-X board * Enable I2C for DVFS on R-Car H3 (r8a7795) and M3-W (r8a7796) ULCB boards * Add Add DRIF support to R-Car H3 (r8a7795) and M3-W (r8a7796) SoCs Ramesh Shanmugasundaram says, "R-Car Gen3 DRIF is a SPI like receive only slave device." * Move CPG_AUDIO_CLK_I from board to soc files Geert Uytterhoeven says, "The definition of CPG_AUDIO_CLK_I is SoC-specific, not board-specific." * Add IMR-LX4 support to R-Car H3 (r8a7795) and M3-W (r8a7796) SoCs Sergei Shtylyov says, "The image renderer light extended 4 (IMR-LX4) or the distortion correction engine is a drawing processor with a simple instruction system capable of referencing data on an external memory as 2D texture data and performing texture mapping and drawing with respect to any shape that is split into triangular objects." * tag 'renesas-arm64-dt-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (31 commits) arm64: dts: renesas: r8a7795: add hsusb ch3 device node arm64: dts: renesas: r8a7795: add usb-dmac ch2 and ch3 device nodes arm64: dts: renesas: r8a7795: add usb2.0 host ch3 device nodes arm64: dts: renesas: r8a7795: add usb2_phy ch3 device node arm64: dts: renesas: r8a7795: Add usb companion property in EHCI arm64: dts: renesas: Add Renesas Draak board support arm64: dts: renesas: Add Renesas R8A77995 SoC support arm64: renesas: Add Renesas R8A77995 Kconfig support arm64: dts: r8a7795: salvator-xs: Connect DU dot clocks 0 and 3 arm64: dts: salvator-xs: Add VC6 clock generator arm64: dts: r8a7796: Add missing second pair of DMA names to MSIOF nodes arm64: dts: r8a7795: Add all MSIOF nodes arm64: dts: r8a7795: Add support for the DU arm64: dts: ulcb: Enable HDMI output arm64: dts: ulcb: Add HDMI output connector arm64: dts: r8a7796: m3ulcb: Add DU external dot clocks arm64: dts: r8a7795: h3ulcb: Add DU external dot clocks arm64: dts: ulcb: Add DU external dot clock sources arm64: dts: r8a7796: salvator-x: Enable HDMI output arm64: dts: r8a7796: salvator-x: Add DU external dot clocks ...
2017-08-16Merge tag 'samsung-dt64-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt64 Pull "Samsung DTS ARM64 changes for v4.14" from Krzysztof Kozłowski: 1. Remove deprecated and unneeded properties from Exynos boards. 2. Implement proper (working) support for USB On-The-Go on Exynos5433 TM2/TM2E boards. * tag 'samsung-dt64-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: arm64: dts: exynos: Remove num-slots from exynos platforms arm64: dts: exynos: Add extcon property for TM2 and TM2E arm64: dts: exynos: Fix wrong label for USB 3.0 controller node arm64: dts: exynos: Remove the OF graph from DSI node
2017-08-16Merge tag 'v4.14-rockchip-soc32-1' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/soc Pull "Rockchip soc32 changes for 4.14" from Heiko Stübner: 32bit arch changes for Rockchip socs containing enablement for ZONE_DMA for LPAE builds due to the peripherals only being 32bit capable and conversion to the exclusive reset controls in smp code. * tag 'v4.14-rockchip-soc32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: ARM: rockchip: enable ZONE_DMA for non 64-bit capable peripherals ARM: rockchip: explicitly request exclusive reset control in smp code
2017-08-16Merge tag 'qcom-dts-for-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/dt Pull "Qualcomm Device Tree Changes for v4.14" from Andy Gross: * Fixup XO, timer nodes, and pinctrl on IPQ4019 * Add IPQ4019 RNG and wifi blocks * Update MSM8974 coresight node * Add IPQ8074 bindings * tag 'qcom-dts-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: ARM: dts: qcom: add and enable both wifi blocks on the IPQ4019 ARM: dts: qcom-msm8974: dts: Update coresight replicator ARM: dts: qcom: add pseudo random number generator on the IPQ4019 ARM: dts: ipq4019: Move xo and timer nodes to SoC dtsi ARM: dts: ipq4019: Fix pinctrl node name dt-bindings: qcom: Add IPQ8074 bindings
2017-08-16Merge tag 'uniphier-dt-v4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into next/dt Pull "UniPhier ARM SoC DT updates for v4.14" from Masahiro Yamada: - complete migrating to SPDX License Identifier - remove support for old SoC - add nodes for NAND, Audio pinctrl - replace /include/ with #include * tag 'uniphier-dt-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier: ARM: dts: uniphier: add Denali NAND controller node ARM: dts: uniphier use #include instead of /include/ ARM: dts: uniphier: remove sLD3 SoC support ARM: dts: uniphier: add audio out pin-mux node ARM: dts: uniphier: use SPDX-License-Identifier (2nd)
2017-08-16Merge tag 'omap-for-v4.14/dt-v3-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 merge window" from Tony Lindgren: - A series of changes for dra7 and am572 to use generic MMC vqmmc regulator - Clean-up tps65217 internal interrupts to define them only in tps65217.dtsi - Add dra7 iodelay pinctrl driver configuration - Add buzzer support for am437x-gp-evm - Disable HDMI CEC internal pull-ups as it seems that all boards have an external pull for these - Remove unnecessary interrupt-parent for omap3 - Configure droid 4 vaudio regulator initial mode and add vibrator - Enable NAND dma prefetch for am335x-evm, am437x and dra7 - Add pcie1 dt node for EP mode for am57x and dra7 - Add support for new dra76x SoCs and dra76x-evm * tag 'omap-for-v4.14/dt-v3-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (25 commits) ARM: dts: nokia n900: update dts with camera support ARM: dts: Add support for dra76-evm ARM: dts: Add support for dra76x family of devices ARM: dts: DRA7: Add pcie1 dt node for EP mode ARM: dts: am335x: add support for Moxa UC-8100-ME-T open platform ARM: dts: dra7xx: Enable NAND dma prefetch by default ARM: dts: am437xx: Enable NAND dma prefetch by default ARM: dts: am335x-evm: Enable NAND dma prefetch by default ARM: dts: omap4-droid4: Add vibrator ARM: dts: motorola-cpcap-mapphone: set initial mode for vaudio ARM: dts: omap3: Remove needless interrupt-parent property ARM: dts: Disable HDMI CEC internal pull-ups ARM: dts: am437x-gp-evm: Add support for buzzer ARM: dts: Add dra7 iodelay configuration ARM: dts: tps65217: Add power button interrupt to the common tps65217.dtsi file ARM: dts: tps65217: Add charger interrupts to the common tps65217.dtsi file ARM: dts: omap*: Replace deprecated "vmmc_aux" with "vqmmc" ARM: dts: am572x-idk: Fix GPIO polarity for MMC1 card detect ARM: dts: am571x-idk: Fix GPIO polarity for MMC1 card detect ARM: dts: dra7: Add "max-frequency" property to MMC dt nodes ...
2017-08-16Merge tag 'mvebu-dt-4.14-1' of git://git.infradead.org/linux-mvebu into next/dtArnd Bergmann
Pull "mvebu dt for 4.14 (part 1)" from Gregory CLEMENT: Add arm_global_timer node on Armada 38x Fix PCI bus dtc warnings on mvebu 32 bits device tree files * tag 'mvebu-dt-4.14-1' of git://git.infradead.org/linux-mvebu: ARM: dts: armada-38x: Add arm_global_timer node ARM: dts: marvell: fix PCI bus dtc warnings
2017-08-16Merge tag 'gemini-dts-1' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into next/dt Pull "Gemini DTS updates for ARM SoC take one" from Linus Walleij: * tag 'gemini-dts-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik: ARM: dts: gemini: add pin control set-up for the SoC ARM: dts: Add DTS file for D-Link DIR-685 ARM: dts: gemini: Switch to using macros
2017-08-16Merge tag 'sunxi-dt-for-4.14' of ↵Arnd Bergmann
https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into next/dt Pull "Allwinner dts changes for 4.14" from Chen-Yu Tsai: The usual improvement patches: - R_INTC interrupt controller compatible string update and device node addition - Battery charger enabled on the Cubietruck - New board: Bananapi M2 Magic - Ethernet and USB OTG enabled on the Beelink X2 - MMC enabled for A83T boards * tag 'sunxi-dt-for-4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: ARM: dts: sun8i: a83t: h8homlet: Enable micro-SD card and onboard eMMC ARM: dts: sun8i: a83t: cubietruck-plus: Enable micro-SD card and eMMC ARM: dts: sun8i: a83t: Add pingroup for 8-bit eMMC on mmc2 ARM: dts: sun8i: a83t: Add MMC controller device nodes ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Beelink X2 ARM: dts: sun8i: h3: Enable USB OTG on the Beelink X2 ARM: dts: sun8i: Add BananaPI M2-Magic DTS ARM: dts: sun7i: enable battery power supply subnode on cubietruck ARM: dts: sun8i: a83t: Add device node for R_INTC interrupt controller ARM: dts: sun8i: a23/a33: Use new sun6i-a31-r-intc compatible for NMI/R_INTC ARM: dts: sun6i: a31: Use new sun6i-a31-r-intc compatible for NMI/R_INTC
2017-08-16Merge tag 'v4.14-rockchip-dts32-1' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt Pull "Rockchip dts32 changes for 4.14" from Heiko Stübner: Removal of the deprectated num-slots property from all Rockchip dw-mmc nodes. The rv1108 gains support for sd-cards on the evaluation board and the general nodes get a bit of cosmetic. On rk3288 the evb gains support saradc and the adc-key connected to it while some more boards also get their mali gpu enabled (fennec, evb, tinker). The biggest set of changes can be found on the rk3228/rk3229 combo this time. It gets core support for efuse, sdmmc, sdio, io-domans and spdif as well as a separate rk3229.dtsi that will keep the slight differences between the two brothers rk3228/rk3229. The evaluation board also gets some attention and abled nodes (regulators, io-domains, emmc, tsadc keys) But I think the most interesting change is the cpu enable-method for it. Instead of using the older in-kernel method, we're now also moving to handling this in firmware via the psci interface on 32bit Rockchip socs. In a recently merged pull request [0] support for the rk3228/rk3229 was added to OP-TEE including the psci support and it seems supporting other 32bit Rockchip socs that way is also planned for the future. [0] https://github.com/OP-TEE/optee_os/pull/1666 * tag 'v4.14-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (23 commits) ARM: dts: rockchip: fix property-ordering in rv1108 mmc nodes ARM: dts: rockchip: enable sdmmc for rv1108 evb ARM: dts: rockchip: add efuse device node for rk3228 ARM: dts: rockchip: add gpio power-key for rk3229-evb ARM: dts: rockchip: enable tsadc for rk3229-evb ARM: dts: rockchip: enable eMMC for rk3229-evb ARM: dts: rockchip: enable io-domain for rk3229-evb ARM: dts: rockchip: add cpu-supply property for cpu node of rk3229-evb ARM: dts: rockchip: add regulator nodes for rk3229-evb ARM: dts: rockchip: add sdmmc and sdio nodes for rk3228 SoC ARM: dts: rockchip: fix compatible string for eMMC node of rk3228 SoC ARM: dts: rockchip: add cpu enable method for rk3228 SoC ARM: dts: rockchip: remove num-slots from all platforms ARM: dts: rockchip: Add io-domain node for rk3228 ARM: dts: rockchip: add basic dtsi file for RK3229 SoC ARM: dts: rockchip: enable adc key for rk3288-evb ARM: dts: rockchip: enable saradc for rk3288-evb ARM: dts: rockchip: enable ARM Mali GPU on rk3288-fennec ARM: dts: rockchip: enable ARM Mali GPU on rk3288-evb ARM: dts: rockchip: enable ARM Mali GPU on rk3288-tinker ...
2017-08-16Merge tag 'renesas-dt-for-v4.14' of ↵Arnd Bergmann
https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt Pull "Renesas ARM Based SoC DT Updates for v4.14" from Simon Horman: Changes of note: * Add pin controller support to the RZ/G1M (r8a7743) SoC and RZ/A1 (r7s72100) SoCs now that the driver is available in v4.13-rc1. * Add GPIO support to the RZ/G1M (r8a7743) SoC now that the driver is availabe in v4.13-rc1. * Enable MMCIF0 and Ethernet AVB support on the RZ/G1M (r8a7743) SoC and the iWave-RZG1M-20M Qseven SOM. This depends on newly added pin controller support noted above. * Use R-Car Gen 2 fallback binding for vin nodes This makes binding use consistent across R-Car Gen 2 SoCs. It does not have any run-time effect * Use SMP jump stub SRAM region from DT on R-Car Gen 2 SoCs Geert Uytterhoeven says, "The R-Car Gen2 platform code for CPU core bringup needs to copy a jump stub to on-SoC SRAM. Currently it uses a hardcoded address pointing to ICRAM1." * Add Inter Connect RAM to R-Car Gen 2 and RZ/G1 SoCs Geert Uytterhoeven says, "R-Car Gen2 and RZ/G1 SoCs contain two or three blocks of SRAM, which can be used for several purposes. One such purpose is holding a jump stub for CPU core bringup." * Use generic compatible string for I2C EEPROM for RZ/A1 (r7s72100) SoC and koelsch board. This is part of a tree-wide cleanup by Javier Martinez Canillas * tag 'renesas-dt-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (38 commits) ARM: dts: iwg20m: Correct indentation of mmcif0 properties ARM: dts: rskrza1: Add LED0 pin support ARM: dts: rskrza1: Add SDHI1 pin group ARM: dts: rskrza1: Add Ethernet pin group ARM: dts: rskrza1: Add SCIF2 pin group ARM: dts: genmai: Add ethernet pin group ARM: dts: genmai: Add user led device nodes ARM: dts: genmai: Add RIIC2 pin group ARM: dts: genmai: Add SCIF2 pin group ARM: dts: r7s72100: Add pin controller node ARM: dts: iwg20m: Add MMCIF0 support ARM: dts: r8a7794: Use R-Car Gen 2 fallback binding for vin nodes ARM: dts: r8a7791: Use R-Car Gen 2 fallback binding for vin nodes ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for vin nodes ARM: dts: r8a7743: Add MMCIF0 support ARM: dts: r8a7794: Reserve SRAM for the SMP jump stub ARM: dts: r8a7793: Reserve SRAM for the SMP jump stub ARM: dts: r8a7792: Reserve SRAM for the SMP jump stub ARM: dts: r8a7791: Reserve SRAM for the SMP jump stub ARM: dts: r8a7790: Reserve SRAM for the SMP jump stub ...
2017-08-16Merge tag 'stm32-dt-for-v4.14-1' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into next/dt Pull "STM32 DT updates for v4.14, round 1" from Alexandre Torgue: Highlights: ---------- -Add DMA support on STM32F746 -Add DMA support on STM32H743 -Add DAC support on STM32H743 -Add DAC support on STM32F429 -Add ADC support on STM32H743 -Enable ADC on stm32h743i-eval board -Add CEC support on STM32F7xx MCUs -Enable CEC on stm32f769-disco board -Remove rdinit from stm32f4 boards * tag 'stm32-dt-for-v4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: ARM: dts: stm32: Add DMA support for STM32H743 SoC ARM: dts: stm32: Add DMA support for STM32F746 SoC ARM: dts: stm32: enable ADC on stm32h743i-eval board ARM: dts: stm32: add ADC support on stm32h743 ARM: dts: stm32: Add DAC support on stm32h743 ARM: dts: stm32: Add DAC support on stm32f429 ARM: dts: stm32: enable CEC for stm32f769 discovery ARM: dts: stm32: add CEC for stm32f7 family ARM: dts: stm32: reorder stm32h743 nodes ARM: dts: stm32: Remove rdinit from bootargs on stm32f429-disco ARM: dts: stm32: Remove rdinit from bootargs on stm32f429i-eval ARM: dts: stm32: Remove rdinit from bootargs on stm32f469-disco
2017-08-16Merge tag 'samsung-dt-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt Pull "Samsung DTS ARM changes for v4.13" from Krzysztof Kozłowski: Remove deprecated and unneeded properties from Exynos boards. * tag 'samsung-dt-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: dts: exynos: Remove num-slots from exynos platforms ARM: dts: exynos: Remove the OF graph from DSI node
2017-08-16Merge tag 'omap-for-v4.14/defconfig-signed' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/defconfig Pull "defconfig changes for omaps for v4.14" from Tony Lindgren: Defconfig updates for omaps for v4.14 to enable DP83867 phy driver on dra72x and dra71x evm, and LP87565 that is on dra76-evm. * tag 'omap-for-v4.14/defconfig-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: omap2plus_defconfig: Enable LP87565 ARM: omap2plus_defconfig: enable DP83867 phy driver
2017-08-16Merge tag 'gemini-for-arm-soc-1' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into next/soc Pull "Gemini changes for v4.14" from Linus Walleij: They all deal with fixing up the Kconfig selects for misc stuff that has been merged in different subsystems: - We have a reset controller - We have a clock controller - We need ARM_AMBA for FTDMAC020 which is PL08x - We need to select the pin controller (being merged for v4.14) * tag 'gemini-for-arm-soc-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik: ARM: gemini: select pin controller ARM: gemini: select ARM_AMBA ARM: gemini: select the clock controller ARM: gemini: tag the arch as having reset controller
2017-08-16Merge tag 'mvebu-soc-4.14-1' of git://git.infradead.org/linux-mvebu into ↵Arnd Bergmann
next/soc Pull "mvebu soc for 4.14 (part 1)" from Gregory CLEMENT: Enabling ARM_GLOBAL_TIMER in mvebu_v7_defconfig for Armada 38x * tag 'mvebu-soc-4.14-1' of git://git.infradead.org/linux-mvebu: ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms
2017-08-16Merge tag 'omap-for-v4.14/debug-ll-signed' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc Pull "Updates to for omap debug_ll code to use generic DEBUG_UART_8250 code" from Tony Lindgren: The legacy code to try to detect the debug_ll uart based on machine is no longer needed, and we can remove it. Note that the Kconfig options stay the same, we just need to define the port configuration now. * tag 'omap-for-v4.14/debug-ll-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: debug: Use generic 8250 debug_ll for am3517 and am335x ARM: debug: Use generic 8250 debug_ll for ti81xx ARM: debug: Use generic 8250 debug_ll for omap3/4/5 ARM: debug: Use generic 8250 debug_ll for omap2 and omap3/4/5 common uarts
2017-08-16Merge tag 'omap-for-v4.14/soc-signed' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc Pull "soc changes for omaps for v4.14" from Tony Lindgren: SoC updates for omaps for v4.14. Most of the chages are to add support for new dra762 SoC. The other changes are are for legacy DMA code removal, and MMC quirk and iodelay config for dra7. * tag 'omap-for-v4.14/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: OMAP: dra7: powerdomain data: Register SoC specific powerdomains ARM: dra762: Enable SMP for dra762 ARM: dra7: hwmod: Register dra76x specific hwmod ARM: dra762: Add support for device identification ARM: OMAP2+: board-generic: add support for dra762 family ARM: OMAP2+: Select PINCTRL_TI_IODELAY for SOC_DRA7XX ARM: OMAP2+: Add pdata-quirks for MMC/SD on DRA74x EVM ARM: OMAP2+: Remove unused legacy code for DMA
2017-08-16Merge tag 'renesas-soc-for-v4.14' of ↵Arnd Bergmann
https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc Pull "Renesas ARM Based SoC Updates for v4.14" Simon Horman: * Add debug-ll support to RZ/G1M (r8a7743) SoC Chris Paterson says, "RZ/G1M uses SCIF0 for the debug console, like most of the R-Car Gen2 SoCs." * Remove ARCH_SHMOBILE_MULTI Geert Uytterhoeven says, "The migration from ARCH_SHMOBILE_MULTI to ARCH_RENESAS has been completed in v4.12..." * Correct arch timer frequency on RZ/G1M (r8a7743) SoC Geert Uytterhoeven says, "According to the datasheet, the frequency of the ARM architecture timer on RZ/G1E depends on the frequency of the ZS clock..." * Add support for CPG/MSSR bindings Geert Uytterhoeven says, "When using the new CPG/MSSR bindings, there is no longer a "renesas,rcar-gen2-cpg-clocks" node, and the code to obtain the external clock crystal frequency falls back to a default of 20 MHz. While this is correct for all upstream R-Car Gen2 and RZ/G1 boards, this is not necessarily the case for out-of-tree third party boards. Add support for finding the external clock crystal oscillator on RZ/G1M, and on R-Car H2, M2-W, and M2-N using the new CPG/MSSR bindings, through the corresponding "renesas,r8a77xx-cpg-mssr" nodes." * Obtain jump stub region from DT Geert Uytterhoeven says, "Add support for obtaining from DT the SRAM region to store the jump stub for CPU core bringup, according to the renesas,smp-sram DT bindings." * tag 'renesas-soc-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: shmobile: Remove ARCH_SHMOBILE_MULTI ARM: shmobile: rcar-gen2: Correct arch timer frequency on RZ/G1E ARM: shmobile: rcar-gen2: Add support for CPG/MSSR bindings ARM: shmobile: rcar-gen2: Obtain jump stub region from DT ARM: debug-ll: Add support for r8a7743
2017-08-16ARM: Convert to using %pOF instead of full_nameRob Herring
Now that we have a custom printf format specifier, convert users of full_name to use %pOF instead. This is preparation to remove storing of the full path string for each node. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Acked-by: Simon Horman <horms+renesas@verge.net.au> Cc: Russell King <linux@armlinux.org.uk> Cc: Kukjin Kim <kgene@kernel.org> Cc: Javier Martinez Canillas <javier@osg.samsung.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Cc: Tony Lindgren <tony@atomide.com> Cc: "Benoît Cousson" <bcousson@baylibre.com> Cc: Paul Walmsley <paul@pwsan.com> Cc: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-08-16Merge tag 'omap-for-v4.14/fixes-not-urgent-dt-signed' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/cleanup Pull "non-urgent dts fixes for omaps for v4.14" from Tony Lindgren: Two non-urgent dts fixes for dra7 Ethernet quirk. These are sent separately from the rest of the dts changes to avoid merge conflicts as these depend on earlier fixes sent during v4.13-rc cycle. * tag 'omap-for-v4.14/fixes-not-urgent-dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: dts: dra72-evm-revc: workaround incorrect DP83867 RX_CTRL pin strap ARM: dts: dra71-evm: workaround incorrect DP83867 RX_CTRL pin strap
2017-08-16Merge tag 'hisi-fixes-for-4.14' of git://github.com/hisilicon/linux-hisi ↵Arnd Bergmann
into next/cleanup Pull "ARM: hisi fixes for 4.14" from Wei Xu: - Fix the comment typo of the machine code "0xe51ff004" to avoid confusion. * tag 'hisi-fixes-for-4.14' of git://github.com/hisilicon/linux-hisi: ARM: hisi: Fix typo in comment
2017-08-16Merge tag 'arm-ep93xx-adc' of https://github.com/sverdlin/linux into next/socArnd Bergmann
Pull "ADC device support for Cirrus Logic EP93xx SoC" from Alexander Sverdlin: - Add ADC specific clock - Add ADC device support to EP93xx core - Add ADC instance to EDB93xx boards The above doesn't include a driver for ADC device. * tag 'arm-ep93xx-adc' of https://github.com/sverdlin/linux: ARM: edb93xx: Add ADC platform device ARM: ep93xx: Add ADC platform device support to core ARM: ep93xx: Add ADC clock
2017-08-16Merge tag 'samsung-soc-4.14' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/soc Pull "Samsung mach/soc changes for v4.14" from Krzysztof Kozłowski: Only for S3C24xx platform: 1. Cleanup from non-existent CONFIG entries. 2. Fix unmet NET dependency when H1940 bluetooth chip is selected.. * tag 'samsung-soc-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: s3c24xx: make H1940BT depend on RFKILL ARM: s3c24xx: Do not confuse local define with Kconfig ARM: s3c24xx: Remove non-existing SND_SOC_SMDK2443_WM9710 ARM: s3c24xx: Remove non-existing CONFIG_CPU_S3C2413
2017-08-16x86/nmi: Use raw lockScott Wood
register_nmi_handler() can be called from PREEMPT_RT atomic context (e.g. wakeup_cpu_via_init_nmi() or native_stop_other_cpus()), and thus ordinary spinlocks cannot be used. Signed-off-by: Scott Wood <swood@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Don Zickus <dzickus@redhat.com> Link: http://lkml.kernel.org/r/20170724213242.27598-1-swood@redhat.com
2017-08-16x86/elf: Remove the unnecessary ADDR_NO_RANDOMIZE checksOleg Nesterov
The ADDR_NO_RANDOMIZE checks in stack_maxrandom_size() and randomize_stack_top() are not required. PF_RANDOMIZE is set by load_elf_binary() only if ADDR_NO_RANDOMIZE is not set, no need to re-check after that. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com> Cc: stable@vger.kernel.org Cc: Andy Lutomirski <luto@amacapital.net> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Borislav Petkov <bp@suse.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Link: http://lkml.kernel.org/r/20170815154011.GB1076@redhat.com