summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2016-11-18x86: Remove x86_test_and_clear_bit_percpu()Len Brown
Upon removal of the "is_idle" flag, x86_test_and_clear_bit_percpu() is no longer used. Signed-off-by: Len Brown <len.brown@intel.com> Acked-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: http://lkml.kernel.org/r/b334ae6819507e3dfc0a4b33ed974714d067eb4a.1479449716.git.len.brown@intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2016-11-18x86/idle: Remove is_idle flagLen Brown
Upon removal of the idle_notifier, all accesses to the "is_idle" flag serve no purpose. Signed-off-by: Len Brown <len.brown@intel.com> Acked-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: http://lkml.kernel.org/r/e4a24197cf9c227fcd1ca2df09999eaec9052f49.1479449716.git.len.brown@intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2016-11-18x86/idle: Remove idle_notifierLen Brown
Upon removal of the i7300_idle driver, the idle_notifer is unused. Signed-off-by: Len Brown <len.brown@intel.com> Acked-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: http://lkml.kernel.org/r/f15385a82ec4bf51f4f06777193d83f03b28cfdd.1479449716.git.len.brown@intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2016-11-18x86/tsc: Finalize the split of the TSC_RELIABLE flagThomas Gleixner
All places which used the TSC_RELIABLE to skip the delayed calibration have been converted to use the TSC_KNOWN_FREQ flag. Make the immeditate clocksource registration, which skips the long term calibration, solely depend on TSC_KNOWN_FREQ. The TSC_RELIABLE now merily removes the requirement for a watchdog clocksource. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Bin Gao <bin.gao@intel.com> Cc: Peter Zijlstra <peterz@infradead.org>
2016-11-18x86/tsc: Set TSC_KNOWN_FREQ and TSC_RELIABLE flags on Intel Atom SoCsBin Gao
TSC on Intel Atom SoCs capable of determining TSC frequency by MSR is reliable and the frequency is known (provided by HW). On these platforms PIT/HPET is generally not available so calibration won't work at all and there is no other clocksource to act as a watchdog for the TSC, so we have no other choice than to trust it. Set both X86_FEATURE_TSC_KNOWN_FREQ and X86_FEATURE_TSC_RELIABLE flags to make sure the calibration is skipped and no watchdog is required. Signed-off-by: Bin Gao <bin.gao@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1479241644-234277-5-git-send-email-bin.gao@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2016-11-18x86/tsc: Mark Intel ATOM_GOLDMONT TSC reliableBin Gao
On Intel GOLDMONT Atom SoC TSC is the only available clocksource, so there is no way to do software calibration or have a watchdog clocksource for it. Software calibration is already disabled via the TSC_KNOWN_FREQ flag, but the watchdog requirement still persists, so such systems cannot switch to high resolution/nohz mode. Mark it reliable, so it becomes usable. Hardware teams confirmed that this is safe on that SoC. Signed-off-by: Bin Gao <bin.gao@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1479241644-234277-4-git-send-email-bin.gao@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2016-11-18x86/tsc: Mark TSC frequency determined by CPUID as knownBin Gao
CPUs/SoCs with CPUID leaf 0x15 come with a known frequency and will report the frequency to software via CPUID instruction. This hardware provided frequency is the "real" frequency of TSC. Set the X86_FEATURE_TSC_KNOWN_FREQ flag for such systems to skip the software calibration process. A 24 hours test on one of the CPUID 0x15 capable platforms was conducted. PIT calibrated frequency resulted in more than 3 seconds drift whereas the CPUID determined frequency showed less than 0.5 second drift. Signed-off-by: Bin Gao <bin.gao@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1479241644-234277-3-git-send-email-bin.gao@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2016-11-18x86/tsc: Add X86_FEATURE_TSC_KNOWN_FREQ flagBin Gao
The X86_FEATURE_TSC_RELIABLE flag in Linux kernel implies both reliable (at runtime) and trustable (at calibration). But reliable running and trustable calibration independent of each other. Add a new flag X86_FEATURE_TSC_KNOWN_FREQ, which denotes that the frequency is known (via MSR/CPUID). This flag is only meant to skip the long term calibration on systems which have a known frequency. Add X86_FEATURE_TSC_KNOWN_FREQ to the skip the delayed calibration and leave X86_FEATURE_TSC_RELIABLE in place. After converting the existing users of X86_FEATURE_TSC_RELIABLE to use either both flags or just X86_FEATURE_TSC_KNOWN_FREQ we can seperate the functionality. Suggested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Bin Gao <bin.gao@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1479241644-234277-2-git-send-email-bin.gao@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2016-11-18KVM: arm64: Fix the issues when guest PMCCFILTR is configuredWei Huang
KVM calls kvm_pmu_set_counter_event_type() when PMCCFILTR is configured. But this function can't deals with PMCCFILTR correctly because the evtCount bits of PMCCFILTR, which is reserved 0, conflits with the SW_INCR event type of other PMXEVTYPER<n> registers. To fix it, when eventsel == 0, this function shouldn't return immediately; instead it needs to check further if select_idx is ARMV8_PMU_CYCLE_IDX. Another issue is that KVM shouldn't copy the eventsel bits of PMCCFILTER blindly to attr.config. Instead it ought to convert the request to the "cpu cycle" event type (i.e. 0x11). To support this patch and to prevent duplicated definitions, a limited set of ARMv8 perf event types were relocated from perf_event.c to asm/perf_event.h. Cc: stable@vger.kernel.org # 4.6+ Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Wei Huang <wei@redhat.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2016-11-18arm64: KVM: pmu: Fix AArch32 cycle counter accessWei Huang
We're missing the handling code for the cycle counter accessed from a 32bit guest, leading to unexpected results. Cc: stable@vger.kernel.org # 4.6+ Signed-off-by: Wei Huang <wei@redhat.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2016-11-18perf/x86: Add perf support for AMD family-17h processorsJanakarajan Natarajan
This patch enables perf core PMU support for the new AMD family-17h processors. In family-17h, there is no PMC-event constraint. All events, irrespective of the type, can be measured using any of the six generic performance counters. Signed-off-by: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com> Acked-by: Borislav Petkov <bp@suse.de> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Link: http://lkml.kernel.org/r/1479399306-13375-1-git-send-email-Janakarajan.Natarajan@amd.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-11-18x86/dumpstack: Prevent KASAN false positive warningsJosh Poimboeuf
The oops stack dump code scans the entire stack, which can cause KASAN "stack-out-of-bounds" false positive warnings. Tell KASAN to ignore it. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Cc: davej@codemonkey.org.uk Cc: dvyukov@google.com Link: http://lkml.kernel.org/r/5f6e80c4b0c7f7f0b6211900847a247cdaad753c.1479398226.git.jpoimboe@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-11-18x86/unwind: Prevent KASAN false positive warnings in guess unwinderJosh Poimboeuf
The guess unwinder scans the entire stack, which can cause KASAN "stack-out-of-bounds" false positive warnings. Tell KASAN to ignore it. Reported-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Stephane Eranian <eranian@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Cc: davej@codemonkey.org.uk Cc: dvyukov@google.com Link: http://lkml.kernel.org/r/61939c0b2b2d63ce97ba59cba3b00fd47c2962cf.1479398226.git.jpoimboe@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-11-17Merge tag 'v4.9-next-kconfig' of https://github.com/mbgg/linux-mediatek into ↵Olof Johansson
next/soc - clean up mach-mediatek Makefile as kbuild only descends into the folder if ARCH_MEDIATEK is enabled * tag 'v4.9-next-kconfig' of https://github.com/mbgg/linux-mediatek: ARM: mediatek: clean up mach-mediatek/Makefile Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'v4.9-next-dts' of https://github.com/mbgg/linux-mediatek into next/dtOlof Johansson
- Add bindings for mtk-scpsys for mt2701 - Add clocks for auxadc on mt8173-evb - Add nodes needed by clock controller for mt2701 - Use clocks from the clock controller for the uart of mt2701 * tag 'v4.9-next-dts' of https://github.com/mbgg/linux-mediatek: arm: dts: mt2701: Use real clock for UARTs arm: dts: mt2701: Add clock controller device nodes arm64: dts: mt8173: Fix auxadc node soc: mediatek: Add MT2701 power dt-bindings Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'qcom-soc-for-4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/arm64 Qualcomm ARM Based SoC Updates for v4.10 * Enable GPIOLIB for QCOM ARM64 platforms * tag 'qcom-soc-for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: arm64: qcom: enable GPIOLIB in Kconfig Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'qcom-defconfig-for-4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/defconfig Qualcomm ARM Based defconfig Updates for v4.10 * Fixup MDM9615 option names * tag 'qcom-defconfig-for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: ARM: qcom_defconfig: Fix MDM9515 LCC and GCC config Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'qcom-arm64-defconfig-for-4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/arm64 Qualcomm ARM64 Based defconfig Updates for v4.10 * Enable defconfig options for MSM8992/8994 * tag 'qcom-arm64-defconfig-for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: arm64: configs: enable configs for msm899(2/4) basic support Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'v4.10-rockchip-dts64-1' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt64 64bit devicetree changes including the px5 evaluation board a fix for wrong i2c registers on rk3368 a new nvmem cell and power-domain on rk3399 as well as moving mmc frequency properties to the more generic max-frequency one. * tag 'v4.10-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: arm64: dts: rockchip: replace to "max-frequency" instead of "clock-freq-min-max" arm64: dts: rockchip: add cpu-id nvmem cell node for rk3399 arm64: dts: rockchip: add sdmmc support for px5-evb arm64: dts: rockchip: Add more properties for emmc on px5-evb arm64: dts: rockchip: Add PX5 Evaluation board arm64: dts: rockchip: add powerdomain for typec on rk3399 arm64: dts: rockchip: fix i2c resource error of rk3368 Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'v4.10-rockchip-dts32-1' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt 32bit devicetree changes for Rockchip including removal of skeleton.dtsi inclusion, missing unit names for memory nodes, various frequency optimizations allowing for better performance on rk3066, the usage of pin constants to bridge between the two numbering schemes used (gpio controllers using 0-31 and pins being labeled A0-A7,..., D0-D7) and UHS/HS modes for the mmc controllers on the popmetal board. Two new boards, the PX3-based evaluation board, with the PX3 being an industrial variant of the rk3188 soc and the Rikomagic MK808 board based around the rk3066 are also added. * tag 'v4.10-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (21 commits) ARM: dts: rockchip: replace to "max-frequency" instead of "clock-freq-min-max" ARM: dts: rockchip: Set sdmmc frequency at boot time for rk3066a ARM: dts: rockchip: use pin constants to describe gpios on Popmetal-RK3288 include: dt-bindings: Add GPIO pin index definition for rockchip pinctrl ARM: dts: rockchip: Add rk3066 MK808 board devicetree: Add vendor prefix for Rikomagic ARM: dts: rockchip: initialize rk3066 PLL clock rate clk: rockchip: Add binding ids for cpu and peri clocks on rk3066 ARM: dts: rockchip: enable HS200/DDR52 mode for emmc on rk3288-popmetal ARM: dts: rockchip: Support UHS mode for SD card on PopMetal-RK3288 board ARM: dts: rockchip: remove always-on and boot-on from vcc_sd for px3-evb ARM: dts: rockchip: update compatible strings for Rockchip efuse ARM: dts: rockchip: add rockchip PX3 Evaluation board ARM: dts: rockchip: Add missing unit name to memory nodes in rk3xxx boards ARM: dts: rockchip: Add missing unit name to memory nodes in rk3288 boards ARM: dts: rockchip: Add missing unit name to memory nodes in rk322x boards ARM: dts: rockchip: Add missing unit name to memory nodes in rk3036 boards ARM: dts: rockchip: Remove skeleton.dtsi inclusion in rk3xxx.dtsi ARM: dts: rockchip: Remove skeleton.dtsi inclusion in rk3288.dtsi ARM: dts: rockchip: Remove skeleton.dtsi inclusion in rk322x.dtsi ... Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'socfpga_defconfig_updates_for_v4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into next/defconfig SoCFPGA defconfig updates for v4.10 - enable QSPI, HIGHMEM, FPGA bridge and device-tree overlays - enable AUTOFS4 and NFS file system support * tag 'socfpga_defconfig_updates_for_v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux: ARM: socfpga_defconfig: enable FS configs to support Angstrom filesystem ARM: socfpga: updates for socfpga_defconfig ARM: socfpga_defconfig: Enable HIGHMEM ARM: socfpga: defconfig: enable qspi Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'socfpga_dts_for_v4.10_part_2' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into next/dt SoCFPGA DTS update for v4.10, part 2 - Add specific compatible strings for variants of Cyclone5 boards - Add QSPI node on Arria10 - Enable QSPI on Arria5 and Arria10 devkit, and Cyclone5 SoCKit - Add NAND controller node on Cyclone5 * tag 'socfpga_dts_for_v4.10_part_2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux: ARM: dts: socfpga: add nand controller nodes ARM: dts: socfpga: Enable QSPI on the Arria5 devkit ARM: dts: socfpga: Enable QSPI on the Cyclone5 sockit ARM: dts: socfpga: Enable QSPI in Arria10 devkit ARM: dts: socfpga: Add QSPI node for the Arria10 ARM: dts: socfpga: enable qspi on the Cyclone5 devkit ARM: dts: socfpga: add specific compatible strings for boards Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'sti-dt-for-4.10-round2' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti into next/dt STi dts update: Change sound card name for B2120 Enable sound card for B2260 Remove stih415-clks.h Identify critical clocks for STiH407 Fix typo in stih407-pinctrl.dtsi * tag 'sti-dt-for-4.10-round2' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti: ARM: dts: STiHxxx-b2120: change sound card name ARM: dts: STiH410-B2260: enable sound card ARM: dts: remove stih415-clks.h ARM: dts: stih407-clocks: Identify critical clocks ARM: dts: STiH407: DT fix s/interrupts-names/interrupt-names/ Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge branch 'sti-defconfig-for-4.10-round2' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti into next/defconfig * 'sti-defconfig-for-4.10-round2' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti: ARM: multi_v7_defconfig: Remove ST_THERMAL_SYSCFG Kconfig symbol Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17ARM: integrator: drop EBI access use sysconLinus Walleij
The EBI lookup is not longer in use: this has been moved to the NAND chip driver. The syscon node is better accessed indirectly using the regmap like the NAND chip driver does, so let's use the syscon to set the modem control signals RTS/CTS through the dedicated syscon register. We also migrate the decoder status "SC_DEC" register that enumerate the logic modules using syscon. Cc: Russell King <linux@armlinux.org.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'pxa-for-4.10' of https://github.com/rjarzmik/linux into next/socOlof Johansson
This is the pxa changes for v4.10 cycle. This cycle is covering : - some clock fixes common with sa1100 architecture - the consequence of the pxa_camera conversion to v4l2 - a small irq related fix for pxa25x device-tree only * tag 'pxa-for-4.10' of https://github.com/rjarzmik/linux: ARM: pxa: fix pxa25x interrupt init ARM: pxa: remove duplicated include from spitz.c ARM: pxa: em-x270: use the new pxa_camera platform_data ARM: pxa: ezx: use the new pxa_camera platform_data ARM: pxa: mioa701: use the new pxa_camera platform_data ARM: pxa: pxa_cplds: honor probe deferral ARM: sa11x0/pxa: get rid of get_clock_tick_rate watchdog: sa11x0/pxa: get rid of get_clock_tick_rate ARM: sa11x0/pxa: acquire timer rate from the clock rate clk: pxa25x: OSTIMER0 clocks from the main oscillator Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-18powerpc/mm/radix: Invalidate ERAT on tlbiel for POWER9 DD1Michael Neuling
On POWER9 DD1, when we do a local TLB invalidate we also need to explicitly invalidate the ERAT. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-11-17Merge tag 'samsung-dt64-4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt64 Finally, I am really pleased to announce adding support for Exynos5433 ARMv8 SoC along with two boards. A lot of Samsung people contributed into this but the final work and commits were done by Chanwoo Choi. This means that for v4.10 we got: 1. Exynos5433 DTSI. 2. Two boards: TM2 and TM2E. These are (almost fully) working mobile phones. * tag 'samsung-dt64-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: arm64: dts: exynos: Add dts file for Exynos5433-based TM2E board arm64: dts: exynos: Add dts file for Exynos5433-based TM2 board arm64: dts: exynos: Add dtsi files for Samsung Exynos5433 64bit SoC Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'samsung-dt-4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt Samsung DeviceTree update for v4.10: 1. Add TOPEET itop core and Elite boards, based on Exynos4412. 2. Remove the Exynos4415 DTSI. We did not have any mainlined boards using it. I am also not aware of any popular out-of-tree boards using it. 3. Add Snoop Control Unit node for Exynos4. 4. Minor cleanups. * tag 'samsung-dt-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: dts: exynos: Add SCU device node to exynos4.dtsi ARM: dts: exynos: Remove exynos4415.dtsi ARM: dts: exynos: Document eMMC/SD/SDIO devices in Snow and Peach boards ARM: dts: exynos: Add TOPEET itop elite based board ARM: dts: exynos: Add TOPEET itop core board SCP package version ARM: dts: exynos: Add entries for sound support on Odroid-XU board ARM: dts: exynos: Remove "simple-bus" compatible from fimc-is node Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'samsung-defconfig-4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/defconfig Samsung defconfig update for v4.10: 1. Enable the Exynos gscaler driver on multi_v7 and exynos defconfigs. * tag 'samsung-defconfig-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: multi_v7_defconfig: Enable exynos-gsc driver as module ARM: exynos_defconfig: Enable exynos-gsc driver as module Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'lpc32xx-dt-v4.10' of https://github.com/sylemieux/linux-lpc32xx ↵Olof Johansson
into next/dt NXP LPC32xx ARM SoC device tree updates for v4.10 This includes a single functional change: * set default parent clock for PWM1 & PWM2. * tag 'lpc32xx-dt-v4.10' of https://github.com/sylemieux/linux-lpc32xx: ARM: dts: lpc32xx: set default parent clock for pwm1 & pwm2 Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'lpc32xx-cleanup-v4.10' of ↵Olof Johansson
https://github.com/sylemieux/linux-lpc32xx into next/soc NXP LPC32xx ARM SoC cleanup for v4.10 This includes a few cleanup changes: * remove unused header file mach/irqs.h; * remove unused header file clock.h. * tag 'lpc32xx-cleanup-v4.10' of https://github.com/sylemieux/linux-lpc32xx: ARM: lpc32xx: remove unused header file clock.h ARM: lpc32xx: remove unused header file mach/irqs.h Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'uniphier-dt64-v4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into next/dt64 UniPhier ARM64 SoC DT updates for v4.10 - Switch CPU enable-method from spin-table to PSCI - Add OPP tables to support generic cpufreq driver - Misc fixes * tag 'uniphier-dt64-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier: arm64: dts: uniphier: make compatible of syscon nodes SoC-specific arm64: dts: uniphier: add CPU clocks and OPP tables for LD20 SoC arm64: dts: uniphier: add CPU clock and OPP table for LD11 SoC arm64: dts: uniphier: increase register region size of sysctrl node arm64: dts: uniphier: switch over to PSCI enable method Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'v4.9-rc3' into next/dt64Olof Johansson
Linux 4.9-rc3 * tag 'v4.9-rc3': (292 commits) Linux 4.9-rc3 x86/smpboot: Init apic mapping before usage ACPICA: Dispatcher: Fix interpreter locking around acpi_ev_initialize_region() ACPICA: Dispatcher: Fix an unbalanced lock exit path in acpi_ds_auto_serialize_method() ACPICA: Dispatcher: Fix order issue of method termination ARC: module: print pretty section names ARC: module: elide loop to save reference to .eh_frame ARC: mm: retire ARC_DBG_TLB_MISS_COUNT... ARC: build: retire old toggles ARC: boot log: refactor cpu name/release printing ARC: boot log: remove awkward space comma from MMU line ARC: boot log: don't assume SWAPE instruction support ARC: boot log: refactor printing abt features not captured in BCRs ARCv2: boot log: print IOC exists as well as enabled status ubifs: Fix regression in ubifs_readdir() ubi: fastmap: Fix add_vol() return value test in ubi_attach_fastmap() MAINTAINERS: Add entry for genwqe driver VMCI: Doorbell create and destroy fixes GenWQE: Fix bad page access during abort of resource allocation vme: vme_get_size potentially returning incorrect value on failure ...
2016-11-17Merge tag 'uniphier-dt-v4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into next/dt UniPhier ARM SoC DT updates for v4.10 - Add OPP tables to support generic cpufreq driver - Use more clocks/resets properties - Misc fixes and cleanups * tag 'uniphier-dt-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier: ARM: dts: uniphier: make compatible of syscon nodes SoC-specific ARM: dts: uniphier: add clocks/resets to EHCI nodes of sLD3 SoC ARM: dts: uniphier: remove redundant serial fifo-size properties ARM: dts: uniphier: make 32bit SoC DTSI linear ARM: dts: uniphier: add CPU clocks and OPP table for PXs2 SoC ARM: dts: uniphier: add CPU clocks and OPP table for Pro5 SoC ARM: dts: uniphier: increase register region size of sysctrl node Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'v4.9-rc3' into next/dtOlof Johansson
Linux 4.9-rc3 * tag 'v4.9-rc3': (292 commits) Linux 4.9-rc3 x86/smpboot: Init apic mapping before usage ACPICA: Dispatcher: Fix interpreter locking around acpi_ev_initialize_region() ACPICA: Dispatcher: Fix an unbalanced lock exit path in acpi_ds_auto_serialize_method() ACPICA: Dispatcher: Fix order issue of method termination ARC: module: print pretty section names ARC: module: elide loop to save reference to .eh_frame ARC: mm: retire ARC_DBG_TLB_MISS_COUNT... ARC: build: retire old toggles ARC: boot log: refactor cpu name/release printing ARC: boot log: remove awkward space comma from MMU line ARC: boot log: don't assume SWAPE instruction support ARC: boot log: refactor printing abt features not captured in BCRs ARCv2: boot log: print IOC exists as well as enabled status ubifs: Fix regression in ubifs_readdir() ubi: fastmap: Fix add_vol() return value test in ubi_attach_fastmap() MAINTAINERS: Add entry for genwqe driver VMCI: Doorbell create and destroy fixes GenWQE: Fix bad page access during abort of resource allocation vme: vme_get_size potentially returning incorrect value on failure ...
2016-11-17Merge tag 'stm32-dt-for-v4.10-1' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into next/dt STM32 DT updates for v4.10, round 1. Highlights: ---------- - Add LSI and LSE clocks support for STM32F429 - Add GPIO IRQ support for STM32F429 - Declare push button as GPIO keys on STM32F429 boards - Add DMA supports on USART1 & USART3 on STM32F429 - Add Ethernet fixes * tag 'stm32-dt-for-v4.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: ARM: dts: stm32f429: add LSI and LSE clocks ARM: dts: stm32f429: remove Ethernet wake on Lan support ARM: dts: stm32f429: Fix Ethernet node on Eval Board ARM: dts: stm32f429: Align Ethernet node with new bindings properties ARM: DT: stm32: move dma translation to board files ARM: DT: STM32: add dma for usart3 on F429 ARM: DT: STM32: add dma for usart1 on F429 ARM: dts: Declare push button as GPIO key on stm32f429 boards ARM: dts: Add GPIO irq support to STM32F429 Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'renesas-soc-for-v4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc Renesas ARM Based SoC Updates for v4.10 Enhancements: * Basic support for r8a7743 SoC; only SoC code so far * Select errata 798181 for SoCs with CA15 cores Clean-up: * Consolidate R8A7743 and R8A779[234] machine definitions Documentation: * Add Marzen, Gose and Alt board part numbers to DT bindings * Document SK-RZG1M board * tag 'renesas-soc-for-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: shmobile: r8a7779/marzen: Add board part number to DT bindings ARM: shmobile: select errata 798181 for SoCs with CA15 cores ARM: shmobile: Consolidate R8A7743 and R8A779[234] machine definitions ARM: shmobile: r8a7793/gose: Add board part number to DT bindings ARM: shmobile: r8a7794/alt: Add board part number to DT bindings ARM: shmobile: document SK-RZG1M board ARM: shmobile: r8a7743: basic SoC support ARM: shmobile: only call rcar_gen2_clocks_init() if present ARM: shmobile: Sort Kconfig selections Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'renesas-dt-for-v4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt Renesas ARM Based SoC DT Updates for v4.10 Clean-Ups and Corrections: * Removed Z clock from r8a7794 SoC; it is not present in hardware * Use generic pinctrl properties in SDHI nodes in gose board * Correct W=1 dtc warnings on r8a7794 SoC * Correct DU reg property on r8a7779 SoC * Correct SCIFB reg properties to cover all registers Enhancements: * Configure pinmuxing for the DU0 input clock on the Marzen board * Enable VIN 0 - 2 on r8a7793 SoC * Enable HDMI input on Koelsch and Lager boards * Enable SDHI1 on rskrza1 board * Add MMCIF nodes to r7s72100 SoC * Add MSIOF clocks to r8a7792 SoC * Enable UHS for SDHI 0 & 1 on koelsch and alt boards * tag 'renesas-dt-for-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (29 commits) ARM: dts: r8a7794: remove Z clock ARM: dts: r8a7779: marzen: Configure pinmuxing for the DU0 input clock ARM: dts: sh73a0: Remove skeleton.dtsi inclusion ARM: dts: r8a7740: Remove skeleton.dtsi inclusion ARM: dts: r8a7779: Remove skeleton.dtsi inclusion ARM: dts: r8a7778: Remove skeleton.dtsi inclusion ARM: dts: emev2: Remove skeleton.dtsi inclusion ARM: dts: r8a7779: Fix DU reg property ARM: dts: r8a7793: Enable VIN0-VIN2 ARM: dts: koelsch: add HDMI input ARM: dts: lager: Add entries for VIN HDMI input support ARM: dts: rskrza1: add sdhi1 DT support ARM: dts: r7s72100: add sdhi to device tree ARM: dts: r8a7794: Fix W=1 dtc warnings ARM: dts: gose: use generic pinctrl properties in SDHI nodes ARM: dts: r7s72100: add sdhi clock to device tree ARM: dts: r7s72100: add mmcif to device tree ARM: dts: r8a7792: add MSIOF support ARM: dts: r8a7792: add MSIOF clocks ARM: dts: wheat: add DU support ... Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'renesas-arm64-dt-for-v4.10' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt64 Renesas ARM64 Based SoC DT Updates for v4.10 Enablement: * Enable On-board eMMC * Enable SDHI 0 & 3 with UHS * Add SYS-DMAC controller nodes to r8a7796 SoC * Populate EXTALR on r8a7796/salvator-x board; used by watchdog * Add DU LVDS output endpoint on r8a7795/salvator-x board * Add bias setting for USB1 pins on r8a7795/salvator-x board Clean-Up: * Remove FCP SoC-specific compatible strings * tag 'renesas-arm64-dt-for-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: arm64: renesas: r8a7796: add SYS-DMAC controller nodes arm64: dts: r8a7795: salvator-x: add bias setting for usb1_pins arm64: dts: r8a7796: salvator: enable on board eMMC arm64: dts: r8a7795: salvator: enable on-board eMMC arm64: dts: r8a7796: salvator-x: enable UHS for SDHI 0 & 3 arm64: dts: r8a7796: salvator-x: enable SDHI0 & 3 arm64: dts: r8a7796: add SDHI nodes arm64: dts: r8a7795: Remove FCP SoC-specific compatible strings dt-bindings: media: renesas-fcp: Remove SoC-specific compatible strings arm64: dts: r8a7795: salvator-x: Add DU LVDS output endpoint arm64: dts: r8a7796: salvator-x: Populate EXTALR arm64: dts: r8a7795: salvator-x: enable UHS for SDHI 0 & 3 Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17ARM: dts: am335x-boneblack: Add blue-and-red-wiring -property to LCDC nodeJyri Sarha
Add blue-and-red-wiring -property to LCDC node. Also adds comments on how to get support 24 bit RGB mode. After this patch am335x-boneblack support RGB565, BGR888, and XBGR8888 color formats. See details in Documentation/devicetree/bindings/display/tilcdc/tilcdc.txt. The BBB has straight color wiring from am335x to tda19988, however the tda19988 can be configured to cross the blue and red wires. The comments show how to do that with video-ports property of tda19988 node and how to tell LCDC that blue and red wires are crossed, with blue-and-red-wiring LCDC node property. This changes supported color formats from 16 bit RGB and 24 bit BGR to 16 bit BGR and 24 bit RGB. Signed-off-by: Jyri Sarha <jsarha@ti.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2016-11-17Merge tag 'sunxi-fixes-for-4.9' of ↵Olof Johansson
https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux into fixes Allwinner fixes for 4.9 A fix to reintroduce missing pinmux options that turned out not to be optional. * tag 'sunxi-fixes-for-4.9' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux: ARM: dts: sun8i: fix the pinmux for UART1 Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'sti-dt-for-v4.9-rc' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti into fixes STi DT fix: Fix typo cs-gpio to cs-gpios * tag 'sti-dt-for-v4.9-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti: ARM: dts: STiH410-b2260: Fix typo in spi0 chipselect definition Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'imx-fixes-4.9-2' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into fixes i.MX fixes for 4.9, 2nd round: It fixes a boot failure on imx53-qsb board with a DA9053 PMIC, which is caused by the regulator core change, commit fa93fd4ecc9c ("regulator: core: Ensure we are at least in bounds for our constraints"). * tag 'imx-fixes-4.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: ARM: dts: imx53-qsb: Fix regulator constraints Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'omap-for-v4.9/fixes-for-rc-cycle' of ↵Olof Johansson
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes Fixes for omaps for v4.9-rc cycle. Except for the omap3 fix for the SoC features printed, all these are quite trivial and tiny. The omap5 jack detection and gpadc patches are not strictly fixes, but I wanted to get binding document typo fixed before it pops up on other boards. The gpadc one liner was in the same series and I applied and pushed it out already before noticing it could have waited. The list of changes is: - Fix omap3 SoC features printed - Make sure OMAP_INTERCONNECT is selected for am43xx only configurations - Add missing memory node for torpedo - Initialize uart4_mask properly to avoid writing garbage to PRM registers - Fix NULL pointer dereference for omap4 volt_data - Add alias for omap5 gpadc needed by iio drivers - Enable omap5 jack headset jack detection and fix it's binding typo - Add missing memory node for logicpd-som-lv - Fix wrong SMPS6 voltage for VDD-DDR3 for omap5 * tag 'omap-for-v4.9/fixes-for-rc-cycle' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: dts: omap5: board-common: fix wrong SMPS6 (VDD-DDR3) voltage ARM: omap3: Add missing memory node in SOM-LV ASoC: omap-abe-twl6040: fix typo in bindings documentation dts: omap5: board-common: enable twl6040 headset jack detection dts: omap5: board-common: add phandle to reference Palmas gpadc ARM: OMAP2+: avoid NULL pointer dereference ARM: OMAP2+: PRM: initialize en_uart4_mask and grpsel_uart4_mask ARM: dts: omap3: Fix memory node in Torpedo board ARM: AM43XX: Select OMAP_INTERCONNECT in Kconfig ARM: OMAP3: Fix formatting of features printed Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17Merge tag 'mvebu-fixes-4.9-1' of git://git.infradead.org/linux-mvebu into fixesOlof Johansson
mvebu fixes for 4.9 (part 1) All of them are fixes for arm64 device tree - 2 for the SPI node on the Armada 7K/8K - 1 for the clock node on the Armada 37xx * tag 'mvebu-fixes-4.9-1' of git://git.infradead.org/linux-mvebu: arm64: dts: marvell: add unique identifiers for Armada A8k SPI controllers arm64: dts: marvell: fix clocksource for CP110 slave SPI0 arm64: dts: marvell: Fix typo in label name on Armada 37xx Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-17arm64: defconfig: allow rk3399-based boards to boot from mmc and usbHeiko Stuebner
Enable additional options necessary to boot rk3399-based boards to boot from either emmc or usb devices, like the arasan sdhci and its phy as well as the usb2 phy and general rockchip power-domain support. Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2016-11-17arm64: defconfig: enable RK808 componentsAndy Yan
Many rockchip based arm64 boards use RK808 as PMIC, so enabe it here let the board bootup normally. Signed-off-by: Andy Yan <andy.yan@rock-chips.com> [added rk808-rtc as module and rk808-clk output built in] Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2016-11-17arm64: defconfig: enable I2C and DW MMC controller on rockchip platformAndy Yan
I2C and MMC are very basic modules for a board to bootup, as I2C always used to configure PMIC and MMC devices often used to store filesytem. So enable them here to let the rockchip based arm64 boards can bootup. Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2016-11-17ARM: dts: omap5: replace gpio-key,wakeup with wakeup-source propertySudeep Holla
Though the keyboard driver for GPIO buttons(gpio-keys) will continue to check for/support the legacy "gpio-key,wakeup" boolean property to enable gpio buttons as wakeup source, "wakeup-source" is the new standard binding. This patch replaces the legacy "gpio-key,wakeup" with the unified "wakeup-source" property in order to avoid any further copy-paste duplication. Cc: "Benoît Cousson" <bcousson@baylibre.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Tony Lindgren <tony@atomide.com>