aboutsummaryrefslogtreecommitdiffstats
path: root/arch
AgeCommit message (Collapse)AuthorFilesLines
2017-12-31arm64: dts: msm8916: Add missing #phy-cellsBjorn Andersson1-0/+1
Add a missing #phy-cells to the dsi-phy, to silence dtc warning. Cc: Archit Taneja <architt@codeaurora.org> Fixes: 305410ffd1b2 ("arm64: dts: msm8916: Add display support") Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-01-01ARM: sa1100/neponset: add GPIO drivers for control and modem registersRussell King1-60/+93
The NCR, MDM_CTL* and AUD registers manipulate the state of external signals (eg, the RTS, DTR signals and the ethernet oscillator enable signal) or indicate the state of external signals (eg, CTS, DSR). Where these registers can be written, the current value can be read back, which relieves us from having to maintain a software copy of the current state. Model these registers as fixed-direction GPIO registers. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2018-01-01ARM: sa1100/assabet: add BCR/BSR GPIO driverRussell King2-17/+55
Add a GPIO driver for the board control register/board status register for the sa1100/assabet platform. This allows us to transition a range of drivers to use the gpiod APIs rather than the platform private ASSABET_BCR_* interfaces. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2017-12-31Merge branch 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tipLinus Torvalds12-32/+35
Pull x86 fixes from Thomas Gleixner: "A couple of fixlets for x86: - Fix the ESPFIX double fault handling for 5-level pagetables - Fix the commandline parsing for 'apic=' on 32bit systems and update documentation - Make zombie stack traces reliable - Fix kexec with stack canary - Fix the delivery mode for APICs which was missed when the x86 vector management was converted to single target delivery. Caused a regression due to the broken hardware which ignores affinity settings in lowest prio delivery mode. - Unbreak modules when AMD memory encryption is enabled - Remove an unused parameter of prepare_switch_to" * 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/apic: Switch all APICs to Fixed delivery mode x86/apic: Update the 'apic=' description of setting APIC driver x86/apic: Avoid wrong warning when parsing 'apic=' in X86-32 case x86-32: Fix kexec with stack canary (CONFIG_CC_STACKPROTECTOR) x86: Remove unused parameter of prepare_switch_to x86/stacktrace: Make zombie stack traces reliable x86/mm: Unbreak modules that use the DMA API x86/build: Make isoimage work on Debian x86/espfix/64: Fix espfix double-fault handling on 5-level systems
2017-12-31Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tipLinus Torvalds3-16/+16
Pull x86 page table isolation fixes from Thomas Gleixner: "Four patches addressing the PTI fallout as discussed and debugged yesterday: - Remove stale and pointless TLB flush invocations from the hotplug code - Remove stale preempt_disable/enable from __native_flush_tlb() - Plug the memory leak in the write_ldt() error path" * 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/ldt: Make LDT pgtable free conditional x86/ldt: Plug memory leak in error path x86/mm: Remove preempt_disable/enable() from __native_flush_tlb() x86/smpboot: Remove stale TLB flush invocations
2017-12-31Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tipLinus Torvalds2-1/+6
Pull perf fixes from Thomas Gleixner: - plug a memory leak in the intel pmu init code - clang fixes - tooling fix to avoid including kernel headers - a fix for jvmti to generate correct debug information for inlined code - replace backtick with a regular shell function - fix the build in hardened environments * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf/x86/intel: Plug memory leak in intel_pmu_init() x86/asm: Allow again using asm.h when building for the 'bpf' clang target tools arch s390: Do not include header files from the kernel sources perf jvmti: Generate correct debug information for inlined code perf tools: Fix up build in hardened environments perf tools: Use shell function for perl cflags retrieval
2017-12-31Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tipLinus Torvalds6-16/+30
Pull irq fixes from Thomas Gleixner: "A rather large update after the kaisered maintainer finally found time to handle regression reports. - The larger part addresses a regression caused by the x86 vector management rework. The reservation based model does not work reliably for MSI interrupts, if they cannot be masked (yes, yet another hw engineering trainwreck). The reason is that the reservation mode assigns a dummy vector when the interrupt is allocated and switches to a real vector when the interrupt is requested. If the MSI entry cannot be masked then the initialization might raise an interrupt before the interrupt is requested, which ends up as spurious interrupt and causes device malfunction and worse. The fix is to exclude MSI interrupts which do not support masking from reservation mode and assign a real vector right away. - Extend the extra lockdep class setup for nested interrupts with a class for the recently added irq_desc::request_mutex so lockdep can differeniate and does not emit false positive warnings. - A ratelimit guard for the bad irq printout so in case a bad irq comes back immediately the system does not drown in dmesg spam" * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: genirq/msi, x86/vector: Prevent reservation mode for non maskable MSI genirq/irqdomain: Rename early argument of irq_domain_activate_irq() x86/vector: Use IRQD_CAN_RESERVE flag genirq: Introduce IRQD_CAN_RESERVE flag genirq/msi: Handle reactivation only on success gpio: brcmstb: Make really use of the new lockdep class genirq: Guard handle_bad_irq log messages kernel/irq: Extend lockdep class for request mutex
2017-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparcLinus Torvalds1-2/+2
Pull sparc bugfix from David Miller. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: sparc64: repair calling incorrect hweight function from stubs
2017-12-31x86/ldt: Make LDT pgtable free conditionalThomas Gleixner1-1/+2
Andy prefers to be paranoid about the pagetable free in the error path of write_ldt(). Make it conditional and warn whenever the installment of a secondary LDT fails. Requested-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2017-12-31ARM: dts: at91: sama5d2_ptc_ek: use TCB0 as timersNicolas Ferre1-0/+12
Use tcb0 for timers as selected in sama5_defconfig. Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sama5d27_som1_ek: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in sama5_defconfig. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sama5d2 Xplained: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in sama5_defconfig. Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sama5d2: TC blocks are also simple-mfd and syscon devicesAlexandre Belloni1-2/+6
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: vinco: use TCB2 as timersAlexandre Belloni1-0/+12
As TCB2 doesn't have any output pins, use it for timers Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: ma5d4: use TCB2 as timersAlexandre Belloni1-0/+12
As TCB2 doesn't have any output pins, use it for timers Cc: Marek Vasut <marex@denx.de> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sama5d4 Xplained: use TCB2 as timersAlexandre Belloni1-0/+12
As TCB2 doesn't have any output pins, use for timers. Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sama5d4ek: use TCB2 as timersAlexandre Belloni1-0/+12
As TCB2 doesn't have any output pins, use it for timers. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sama5d4: Add TCB2Alexandre Belloni1-0/+10
The third TC block is missing from the dtsi. It has no output pins but can still be used for timers as the IRQ is wired. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sama5d4: TC blocks are also simple-mfd and syscon devicesAlexandre Belloni1-2/+6
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: linea/tse850-3: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in sama5_defconfig. Tested-by: Peter Rosin <peda@axentia.se> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sama5d3xek_cmp: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in sama5_defconfig. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: kizbox2: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in sama5_defconfig. Cc: Antoine Aubert <a.aubert@overkiz.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sama5d3 Xplained: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in sama5_defconfig. Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sama5d3xek: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in sama5_defconfig. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sama5d3: TC blocks are also simple-mfd and syscon devicesAlexandre Belloni2-2/+6
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: kizboxmini: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Antoine Aubert <a.aubert@overkiz.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: cosino: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Rodolfo Giometti <giometti@linux.it> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: acme/g25: use TCB0 as timersAlexandre Belloni2-0/+24
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Sergio Tanzilli <tanzilli@acmesystems.it> Cc: Douglas Gilbert <dgilbert@interlog.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9x5cm: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. [tested on at91sam9x25ek and at91sam9x35ek] Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9x5: TC blocks are also simple-mfd and syscon devicesAlexandre Belloni1-2/+6
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9n12ek: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9n12: TC blocks are also simple-mfd and syscon devicesAlexandre Belloni1-2/+6
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9rlek: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9rl: TC blocks are also simple-mfd and syscon devicesAlexandre Belloni1-1/+3
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: pm9g45: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9m10g45ek: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9g45: TC blocks are also simple-mfd and syscon devicesAlexandre Belloni1-2/+6
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: calao: use TCB0 as timersAlexandre Belloni5-0/+60
Use tcb0 for timers as selected in at91_dt_defconfig. [tested on usb_a9g20 and usb_a9263] Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9263ek: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9263: TC blocks are also simple-mfd and syscon devicesAlexandre Belloni1-1/+3
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9261ek: use TCB0 as timersAlexandre Belloni1-0/+20
Use tcb0 for timers as selected in at91_dt_defconfig. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9261: TC blocks are also simple-mfd and syscon devicesAlexandre Belloni1-1/+3
Add simple-mfd and syscon to the TC blocks to allow to register one of the channels as clocksource properly at boot time and free up the remaining channels for other use. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: ge863-pro3: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Fabio Porcedda <fabio.porcedda@gmail.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9g20ek: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: kizbox: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Antoine Aubert <a.aubert@overkiz.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: animeo_ip: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: foxg20: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Sergio Tanzilli <tanzilli@acmesystems.it> Cc: Douglas Gilbert <dgilbert@interlog.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: ethernut5: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Martin Reimann <martin.reimann@egnite.de> Cc: Tim Schendekehl <tim.schendekehl@egnite.de> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: sam9_l9260: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Cc: Raashid Muhammed <raashidmuhammed@zilogic.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-31ARM: dts: at91: at91sam9260ek: use TCB0 as timersAlexandre Belloni1-0/+12
Use tcb0 for timers as selected in at91_dt_defconfig. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>