[PATCH 04/12] MIPS: Malta: Allow PCI devices DMA to lower 2GB physical

2016-09-02 Thread Paul Burton
Set the PCI_BAR0 register in all configurations such that PCI devices can perform DMA to all of the bottom 2GB of the physical address space. This is imperfect if we make use of the legacy Malta memory map, but it is an improvement on the inconsistent values setup before. Signed-off-by: Paul Burto

[PATCH 02/12] irqchip: i8259: Allow platforms to override poll function

2016-09-02 Thread Paul Burton
The default i8259 polling function (i8259_irq) is nicely generic but is fairly costly. Platforms often provide an alternative means of polling for an i8259 interrupt, and when using the i8259 without device tree have typically just chained its parent interrupt to their own handler function. In orde

[PATCH 01/12] irqchip: i8259: Add domain before mapping parent irq

2016-09-02 Thread Paul Burton
Mapping the parent IRQ will use a virq number which may conflict with the hardcoded I8259A_IRQ_BASE..I8259A_IRQ_BASE+15 range that the i8259 driver expects to be free. If this occurs then we'll hit errors when adding the i8259 IRQ domain, since one of its virq numbers will already be in use. Avoid

[PATCH 00/12] Partial MIPS Malta DT conversion

2016-09-02 Thread Paul Burton
This series begins converting the MIPS Malta board to use device tree to probe its various devices & peripherals, with the eventual goal of including Malta support in generic kernels. In terms of use the only change should be that kernels will automatically make use of more than 256MB DDR when bui

[PATCH 06/12] MIPS: Malta: Probe interrupt controllers via DT

2016-09-02 Thread Paul Burton
Probe the CPU, GIC & i8259 interrupt controllers present in the Malta system using device tree. This enables interrupts to be provided to devices using device tree as they are moved over to being probed using it. Since Malta is very configurable it's unknown whether a GIC will be present at compil

[PATCH 03/12] irqchip: i8259: Remove unused i8259A_irq_pending

2016-09-02 Thread Paul Burton
The i8259A_irq_pending function is unused. Remove the dead code. Signed-off-by: Paul Burton --- arch/mips/include/asm/i8259.h | 1 - drivers/irqchip/irq-i8259.c | 18 -- 2 files changed, 19 deletions(-) diff --git a/arch/mips/include/asm/i8259.h b/arch/mips/include/asm/i8259

[PATCH 05/12] MIPS: Malta: Use all available DDR by default

2016-09-02 Thread Paul Burton
Malta boards can have more than 256MB DDR available, but we have previously only made use of up to 256MB (ie. the DDR accessible via kseg0) by default, without the user manually specifying mem= kernel parameters. This patch causes all available DDR, as reported by the bootloader via the ememsize or

Re: [writeback] 8bc4ad9498: INFO: suspicious RCU usage. ]

2016-09-02 Thread Jens Axboe
On 09/02/2016 09:36 AM, Paul E. McKenney wrote: On Fri, Sep 02, 2016 at 10:56:22AM -0400, Tejun Heo wrote: (cc'ing Paul, hi!) Hello, On Thu, Sep 01, 2016 at 02:13:34PM -0600, Jens Axboe wrote: On 09/01/2016 04:21 AM, kernel test robot wrote: [7.323356] cdrom: Uniform CD-ROM driver Revisi

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-09-02 Thread Marc Zyngier
On 02/09/16 14:08, Thomas Gleixner wrote: > On Thu, 1 Sep 2016, Marc Zyngier wrote: >> On 01/09/16 09:15, majun (F) wrote: >> Well, this issue goes way beyond the hack you wanted to add to the >> generic code, and it should probably be addressed in the GIC code >> itself, as an implementation speci

Re: [PATCH v5 2/4] ARM: dts: rockchip: update compatible strings for Rockchip efuse

2016-09-02 Thread Heiko Stübner
Am Donnerstag, 1. September 2016, 20:16:55 schrieb Finley Xiao: > Signed-off-by: Finley Xiao > Reviewed-by: Heiko Stuebner due to the new compatible values, this would cause a regression (existing functionality breaking) when used without the efuse change, so I've put this patch into a branch

Re: [GIT PULL 4/4] ARM: defconfig: Exynos for v4.9

2016-09-02 Thread Arnd Bergmann
On Tuesday, August 30, 2016 11:18:56 AM CEST Krzysztof Kozlowski wrote: > Expected conflict in multi_v7 - take all the changes: > > --- a/arch/arm/configs/multi_v7_defconfig > +++ b/arch/arm/configs/multi_v7_defconfig > @@@ -135,8 -136,7 +136,8 @@@ CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND= > CONFIG_

Re: [PATCH] ath10k: fix memory leak on caldata on error exit path

2016-09-02 Thread Valo, Kalle
Colin King writes: > From: Colin Ian King > > caldata is not being free'd on the error exit path, causing > a memory leak. kfree it to fix the leak. > > Signed-off-by: Colin Ian King > --- > drivers/net/wireless/ath/ath10k/pci.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/

Re: [PATCH v5 3/4] arm64: dts: rockchip: add efuse0 device node for rk3399

2016-09-02 Thread Heiko Stübner
Am Donnerstag, 1. September 2016, 20:16:56 schrieb Finley Xiao: > Add a efuse0 node in the device tree for the ARM64 rk3399 SoC. > > Signed-off-by: Finley Xiao applied to my dts64 branch for 4.9 with Doug's Review Thanks Heiko

Re: [v10,2/2] PCI: Rockchip: Add Rockchip PCIe controller support

2016-09-02 Thread Bjorn Helgaas
On Thu, Sep 01, 2016 at 12:48:52PM -0500, Bjorn Helgaas wrote: > On Thu, Sep 01, 2016 at 10:14:01AM -0700, Brian Norris wrote: > > The use of HIWORD_UPDATE can indeed be a bit confusing, IMO, but this is > > really a common Rockchip-ism that, once you read several of their > > drivers, can make a

Re: [PATCH 2/2] genirq: Generic chip: factorise code using irq_get_domain_generic_chip()

2016-09-02 Thread Thomas Gleixner
On Mon, 1 Aug 2016, Sebastian Frias wrote: > @@ -350,10 +350,10 @@ irq_get_domain_generic_chip(struct irq_domain *d, > unsigned int hw_irq) > int idx; > > if (!dgc) > - return NULL; > + return ERR_PTR(-ENODEV); > idx = hw_irq / dgc->irqs_per_chip; >

Re: [PATCH] trivial treewide: Convert dev_set_uevent_suppress argument to bool

2016-09-02 Thread Joe Perches
On Fri, 2016-09-02 at 13:41 +, Bart Van Assche wrote: > On 09/01/16 17:51, Joe Perches wrote: > > On Fri, 2016-09-02 at 00:47 +, Bart Van Assche wrote: > > > On 09/01/16 13:11, Joe Perches wrote: > > > > Assigning an int to a bitfield:1 can lose precision. > > > > Change the caller argument

Re: linux-next: Tree for Jun 6 (scsi_debug.c)

2016-09-02 Thread Randy Dunlap
On 08/23/16 16:22, Masanari Iida wrote: > This one still exist on linus's tree (as of v4.8-rc3). > > CALLscripts/checksyscalls.sh > CHK kernel/config_data.h > Building modules, stage 2. > MODPOST 720 modules > ERROR: "ip_compute_csum" [drivers/scsi/scsi_debug.ko] undefined! > script

Re: [PATCH 3/4] KVM: x86: introduce get_kvmclock_ns

2016-09-02 Thread Roman Kagan
On Thu, Sep 01, 2016 at 05:26:14PM +0200, Paolo Bonzini wrote: > Introduce a function that reads the exact nanoseconds value that is > provided to the guest in kvmclock. This crystallizes the notion of > kvmclock as a thin veneer over a stable TSC, that the guest will > (hopefully) convert with NT

Re: [RESEND PATCH] ARM: multi_v7_defconfig: Build Atmel maXTouch driver as a module

2016-09-02 Thread Arnd Bergmann
On Tuesday, August 16, 2016 11:08:14 AM CEST Javier Martinez Canillas wrote: > The driver is for a trackpad device so is not needed for booting and > makes more sense to have it as module to reduce the kernel image size. > > It was probably enabled as built-in because module autoload was not > wor

Re: [PATCH v15 04/13] task_isolation: add initial support

2016-09-02 Thread Chris Metcalf
On 8/30/2016 3:50 PM, Andy Lutomirski wrote: On Tue, Aug 30, 2016 at 12:37 PM, Chris Metcalf wrote: On 8/30/2016 2:43 PM, Andy Lutomirski wrote: What if we did it the other way around: set a percpu flag saying "going quiescent; disallow new deferred work", then finish all existing work and ret

Re: [RFC PATCH V5 1/5] PCI: Embed pci_ecam_ops in pci_config_window structure

2016-09-02 Thread Lorenzo Pieralisi
On Thu, Sep 01, 2016 at 01:23:45PM -0500, Bjorn Helgaas wrote: > On Mon, Aug 08, 2016 at 03:05:37PM +0200, Tomasz Nowicki wrote: > > pci_config_window keeps pointer to pci_ecam_ops and every time > > we want to deallocate pci_config_window (pci_ecam_free()) we need to make > > sure to free pci_ecam

Re: [PATCH 1/2] genirq: Generic chip: add irq_unmap_generic_chip

2016-09-02 Thread Sebastian Frias
Hi Thomas, On 09/02/2016 05:12 PM, Thomas Gleixner wrote: > On Mon, 1 Aug 2016, Sebastian Frias wrote: >> NOTE: While the proposed unmap() function attempts to undo as much things >> as done by the map() function, I did not find a way to undo the following: >> >> a) irq_gc_init_mask_cache(gc, dgc-

Re: [PATCH 1/1 linux-next RESEND] ARM: multi_v7_defconfig: update XILINX_VDMA

2016-09-02 Thread Arnd Bergmann
On Monday, August 15, 2016 7:34:44 PM CEST Fabian Frederick wrote: > Commit fde57a7c4474 > ("dmaengine: xilinx: Rename driver and config") > > renamed config XILINX_VDMA to config XILINX_DMA > Update defconfig accordingly. > > Signed-off-by: Fabian Frederick > --- > Sending to arm-soc (suggested

[PATCH v3 1/9] Documentation: dt-bindings: Document STM32 EXTI controller bindings

2016-09-02 Thread Alexandre TORGUE
Signed-off-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE diff --git a/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt b/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt new file mode 100644 index 000..6e7703d --- /dev/null +++ b/Docume

[PATCH v3 3/9] ARM: STM32: Select external interrupts controller

2016-09-02 Thread Alexandre TORGUE
Signed-off-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2d601d7..157cea9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -877,6 +877,7 @@ config ARCH_STM32 select CLKSRC_STM32 select PINCTRL select RESE

[PATCH v3 2/9] drivers: irqchip: Add STM32 external interrupts support

2016-09-02 Thread Alexandre TORGUE
The STM32 external interrupt controller consists of edge detectors that generate interrupts requests or wake-up events. Each line can be independently configured as interrupt or wake-up source, and triggers either on rising, falling or both edges. Each line can also be masked independently. Signe

[PATCH v3 8/9] ARM: dts: Declare push button as GPIO key on stm32f429 boards

2016-09-02 Thread Alexandre TORGUE
Signed-off-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 6bfc595..0fd78e4 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/arch/arm/boot/dts/stm32429i-eval.dts @@ -47,6 +47,7 @@ /dts-v

Re: [writeback] 8bc4ad9498: INFO: suspicious RCU usage. ]

2016-09-02 Thread Paul E. McKenney
On Fri, Sep 02, 2016 at 10:56:22AM -0400, Tejun Heo wrote: > (cc'ing Paul, hi!) > > Hello, > > On Thu, Sep 01, 2016 at 02:13:34PM -0600, Jens Axboe wrote: > > On 09/01/2016 04:21 AM, kernel test robot wrote: > > > [7.323356] cdrom: Uniform CD-ROM driver Revision: 3.20 > > > [7.334239] > >

[PATCH v3 7/9] ARM: dts: Add GPIO irq support to STM2F429

2016-09-02 Thread Alexandre TORGUE
Signed-off-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index 1a189d4..6824762 100644 --- a/arch/arm/boot/dts/stm32f429.dtsi +++ b/arch/arm/boot/dts/stm32f429.dtsi @@ -189,6 +189,8 @@

[PATCH v3 5/9] Documentation: dt-bindings: Add IRQ related properties of STM32 pinctrl

2016-09-02 Thread Alexandre TORGUE
Signed-off-by: Maxime Coquelin Acked-by: Rob Herring Signed-off-by: Alexandre TORGUE diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt index 587bffb..a0eed99 100644 --- a/Documentation/devicetree/binding

[PATCH v3 6/9] pinctrl: Add IRQ support to STM32 gpios

2016-09-02 Thread Alexandre TORGUE
This patch adds IRQ support to STM32 gpios. The EXTI controller has 16 lines dedicated to GPIOs. EXTI line n can be connected to only line n of one of the GPIO ports, for example EXTI0 can be connected to either PA0, or PB0, or PC0... This port selection is done by specifying the port number into

[PATCH v3 9/9] ARM: config: Enable GPIO Key driver in stm32_defconfig

2016-09-02 Thread Alexandre TORGUE
Signed-off-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index 1e5ec2a..e7b56d4 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @@ -38,7 +38,11 @@ CONFIG_DEVTMPFS_MOUNT=y

[PATCH v3 4/9] ARM: dts: Add EXTI controller node to stm32f429

2016-09-02 Thread Alexandre TORGUE
Signed-off-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index 35df462..1a189d4 100644 --- a/arch/arm/boot/dts/stm32f429.dtsi +++ b/arch/arm/boot/dts/stm32f429.dtsi @@ -176,6 +176,14 @@

Re: [PATCH v2] mfd: arizona: Add DT options for max_channels_clocked and PDM speaker config

2016-09-02 Thread Rob Herring
On Wed, Aug 31, 2016 at 10:25:43AM +0100, Richard Fitzgerald wrote: > This patch adds DT settings for the max_channels_clocked, spk_fmt and > spk_mute pdata. > > Signed-off-by: Richard Fitzgerald > --- > Documentation/devicetree/bindings/mfd/arizona.txt | 11 Binding looks fine, but...

[PATCH v3 0/9] Add STM32 EXTI interrupt controller support

2016-09-02 Thread Alexandre TORGUE
Hi, According to Maxime, I send this V3 patch set. I took into account Maxime and Linus discussion about pinctrl-stm32 ("gpio_to_irq" issue). So main changes are related to add an irq_chip in pinctrl-stm32 and to define a hierarchical domain for it. The series adds support to EXTI interrupt cont

Re: [PATCH] drm/tegra: Expose color key and plane blending controls to userspace

2016-09-02 Thread Thierry Reding
On Fri, Sep 02, 2016 at 12:33:42PM +0300, Dmitry Osipenko wrote: > Chromakey is a simple way of video overlay overlap implementation. This > patch adds 2 new IOCTL's: first - sets color key and is common across of > all Tegra SoC's, second - sets plane blending controls and allows to > utilize the

Re: [PATCH linux v3 3/9] xen: introduce xen_vcpu_id mapping

2016-09-02 Thread Julien Grall
Hi Vitaly, On 26/07/16 13:30, Vitaly Kuznetsov wrote: It may happen that Xen's and Linux's ideas of vCPU id diverge. In particular, when we crash on a secondary vCPU we may want to do kdump and unlike plain kexec where we do migrate_to_reboot_cpu() we try booting on the vCPU which crashed. This

Re: [PATCH v3] power: bq24735-charger: Request status GPIO with initial input setup

2016-09-02 Thread Sebastian Reichel
Hi Paul, This looks mostly fine now. I have a few more comments, that I missed last time: On Thu, Sep 01, 2016 at 11:27:00PM +0200, Paul Kocialkowski wrote: > This requests the status GPIO with initial input setup. it is required > to read the GPIO status at probe time and thus correctly avoid se

[PATCH] ASoC: ux500: fix spelling mistake "Unsopported" -> "Unsupported"

2016-09-02 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistakes in dev_err messages Signed-off-by: Colin Ian King --- sound/soc/ux500/ux500_msp_dai.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/ux500/ux500_msp_dai.c b/sound/soc/ux500/ux500_msp_dai.c index 6d5698b.

Re: [PATCH 3/4] KVM: x86: introduce get_kvmclock_ns

2016-09-02 Thread Roman Kagan
On Fri, Sep 02, 2016 at 04:09:42PM +0200, Paolo Bonzini wrote: > On 02/09/2016 15:52, Roman Kagan wrote: > > On Thu, Sep 01, 2016 at 05:26:14PM +0200, Paolo Bonzini wrote: > >> --- a/arch/x86/kvm/hyperv.c > >> +++ b/arch/x86/kvm/hyperv.c > >> @@ -386,7 +386,7 @@ static void synic_init(struct kvm_vc

Re: [PATCH net-next 3/3] net: dsa: mv88e6xxx: make global2 code optional

2016-09-02 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > On Fri, Sep 02, 2016 at 08:08:19AM -0400, Vivien Didelot wrote: >> Since not every chip has a Global2 set of registers, make its support >> optional, in which case the related functions will return -EOPNOTSUPP. >> >> This also allows to reduce the size of the mv

Re: [PATCH] iscsi-target: fix spelling mistake "Unsolicitied" -> "Unsolicited"

2016-09-02 Thread Bart Van Assche
On 09/02/2016 07:32 AM, Colin King wrote: Trivial fix to spelling mistakes in pr_debug message and comments Reviewed-by: Bart Van Assche

Re: [PATCH 1/3] arm64: dts: rockchip: add the PCIe PHY for RK3399

2016-09-02 Thread Heiko Stübner
Am Freitag, 19. August 2016, 11:24:27 schrieb Shawn Lin: > This patch adds PCIe node for RK3399 to support > PCIe controller. > > Signed-off-by: Shawn Lin with both the pcie-controller and -phy now being in maintainer trees, I've applied all 3 dts patches to my dts64 branch for 4.9 Thanks Hei

Re: [PATCH v4 3/4] drm/i915: Use new CRC debugfs API

2016-09-02 Thread Emil Velikov
Hi Tomeu, IMHO it would be better to split out the refactoring into preparatory patch. It brings a minor change which (not 100% sure on that) should not cause issues but is worth pointing out. On 5 August 2016 at 11:45, Tomeu Vizoso wrote: > +static int do_set_crc_source(struct drm_device *dev,

Re: [PATCH v2 4/4] pwm: sunxi: Add H3 support

2016-09-02 Thread Rob Herring
On Wed, Aug 31, 2016 at 05:25:20PM +0900, Milo Kim wrote: > H3 PWM controller has same register layout as sun4i driver, so it works > by adding H3 specific data. > > Cc: Thierry Reding > Cc: Rob Herring > Cc: Maxime Ripard > Cc: Alexandre Belloni > Cc: Chen-Yu Tsai > Cc: linux-...@vger.kernel

Re: [PATCH v4 2/2] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode

2016-09-02 Thread Rob Herring
On Wed, Aug 31, 2016 at 02:37:22PM +0800, Po Liu wrote: > On some platforms, root port doesn't support MSI/MSI-X/INTx in RC mode. > When chip support the aer interrupt with none MSI/MSI-X/INTx mode, > maybe there is interrupt line for aer pme etc. Search the interrupt > number in the fdt file. Then

Re: [PATCH] fs/proc/kcore.c: Omit kernel text area for hardened usercopy feature

2016-09-02 Thread Andi Kleen
On Fri, Sep 02, 2016 at 02:25:45PM +0200, Jiri Olsa wrote: > One of the bullets for hardened usercopy feature is: > - object must not overlap with kernel text > > which is what we expose via /proc/kcore. We can hit > this check and crash the system very easily just by > reading the text area in

Re: [PATCH v10 1/2] printk: Make printk() completely async

2016-09-02 Thread Petr Mladek
On Fri 2016-09-02 16:58:08, Sergey Senozhatsky wrote: > On (09/01/16 10:58), Petr Mladek wrote: > > On Wed 2016-08-31 21:52:24, Sergey Senozhatsky wrote: > > > a console_unlock() doing > > > wake_up_process(printk_kthread) would make it better. > > > > I am not sure what you mean by this. > > I m

Re: [PATCH 1/2] genirq: Generic chip: add irq_unmap_generic_chip

2016-09-02 Thread Thomas Gleixner
On Mon, 1 Aug 2016, Sebastian Frias wrote: > NOTE: While the proposed unmap() function attempts to undo as much things > as done by the map() function, I did not find a way to undo the following: > > a) irq_gc_init_mask_cache(gc, dgc->gc_flags) You can't undo that. Because that represents the mas

Re: [PATCH v3 1/2] regulator: pwm: Add support for a fixed delay after duty cycle changes

2016-09-02 Thread Rob Herring
On Fri, Sep 02, 2016 at 10:11:51AM -0500, Rob Herring wrote: > On Tue, Aug 30, 2016 at 09:21:15PM -0700, Douglas Anderson wrote: > > From: Matthias Kaehlcke > > > > A change of the duty cycle doesn't necessarily cause an immediate switch > > to the target voltage. On many PWM regulators there is

Re: [PATCH v3 1/2] regulator: pwm: Add support for a fixed delay after duty cycle changes

2016-09-02 Thread Rob Herring
On Tue, Aug 30, 2016 at 09:21:15PM -0700, Douglas Anderson wrote: > From: Matthias Kaehlcke > > A change of the duty cycle doesn't necessarily cause an immediate switch > to the target voltage. On many PWM regulators there is a fixed "settle > time" (irrespective of the jump size) that we need t

[PATCH] MIPS: Malta: Cleanup DMA coherence #ifdefs

2016-09-02 Thread Paul Burton
DMA coherence is not user-selectable in Kconfig, and Malta selects CONFIG_DMA_MAYBE_COHERENT which in turn selects CONFIG_DMA_NONCOHERENT. Remove #ifdefs on CONFIG_DMA_COHERENT which is not set for Malta. This removes a significant amount of code from bonito_quirks_setup(), but the code is duplicat

[PATCH] MIPS: Malta: Fix IOCU disable switch read for MIPS64

2016-09-02 Thread Paul Burton
Malta boards used with CPU emulators feature a switch to disable use of an IOCU. Software has to check this switch & ignore any present IOCU if the switch is closed. The read used to do this was unsafe for 64 bit kernels, as it simply casted the address 0xbf403000 to a pointer & dereferenced it. Wh

Re: [PATCH 2/2] ARM: dts: am57xx-beagle-x15: Add support for rev B1

2016-09-02 Thread Tony Lindgren
* Robert Nelson [160902 06:52]: > On Fri, Sep 2, 2016 at 5:41 AM, Sekhar Nori wrote: > > Instead, it seems to be easier for maintenance and safer overall if the > > older version has a file of its own which can be kept alone. > > > > Also, how about renaming the existing dts to am57xx-beagle-x15-

Re: [PATCH V2 1/5] Documentation: Add support for TI System Control Interface (TI-SCI) protocol

2016-09-02 Thread Rob Herring
On Tue, Aug 30, 2016 at 08:06:43AM -0500, Nishanth Menon wrote: > Texas Instrument's System Control Interface (TI-SCI) Message Protocol > is used in Texas Instrument's System on Chip (SoC) such as those in > newer SoCs in the keystone processor family starting with K2G. > > This message protocol i

Re: [PATCH] Force processes to non-realtime before mm_exit

2016-09-02 Thread Thomas Gleixner
On Thu, 14 Jul 2016, Peter Zijlstra wrote: > On Fri, Jun 03, 2016 at 04:18:44PM -0700, Brian Silverman wrote: > > Without this, a realtime process which has called mlockall exiting > > causes large latencies for other realtime processes at the same or > > lower priorities. This seems like a fairly

RE: [tip:irq/urgent] genirq/msi: Make sure PCI MSIs are activated early

2016-09-02 Thread Bharat Kumar Gogada
Thanks Marc and Thomas for addressing the issue. > -Original Message- > From: tip tree robot [mailto:tip...@zytor.com] > Sent: Tuesday, August 09, 2016 12:59 PM > To: linux-tip-comm...@vger.kernel.org > Cc: Bharat Kumar Gogada ; bhelg...@google.com; > h...@zytor.com; li...@matthiasprager.d

Re: [PATCH ] drivers/base: cacheinfo: remove warning in resume

2016-09-02 Thread Sudeep Holla
On 02/09/16 13:58, Sumit Gupta wrote: Hi Sudeep, Thank you for your comments. I understand the warning we get but the patch is completely wrong. One it removes the feature of adding/removing the cache devices on cpu hotplug events. Have you tested your patch with simple cpu hotplug and seen

Re: [PATCH 2/2] ARM: dts: am57xx-beagle-x15: Add support for rev B1

2016-09-02 Thread Nishanth Menon
+ x15 list ( see https://patchwork.kernel.org/patch/9310617/) On 09/02/2016 08:52 AM, Robert Nelson wrote: On Fri, Sep 2, 2016 at 5:41 AM, Sekhar Nori wrote: + Robert Nelson On Friday 02 September 2016 02:36 PM, Nishanth Menon wrote: I understand that there are existing users of A2 boards and

Re: [PATCH RESEND] genirq: Machine-parsable version of /proc/interrupts

2016-09-02 Thread Thomas Gleixner
On Tue, 26 Jul 2016, Craig Gallek wrote: > /* > * Core internal functions to deal with irq descriptors > @@ -92,6 +93,7 @@ struct irq_desc { > int parent_irq; > struct module *owner; > const char *name; > + struct kobject

Re: [PATCH v3 4/8] gpio: dt-bindings: Add documentation for Aspeed GPIO controllers

2016-09-02 Thread Rob Herring
On Tue, Aug 30, 2016 at 05:24:23PM +0930, Andrew Jeffery wrote: > Signed-off-by: Andrew Jeffery > Acked-by: Joel Stanley > --- > .../devicetree/bindings/gpio/gpio-aspeed.txt | 36 > ++ > 1 file changed, 36 insertions(+) > create mode 100644 Documentation/devicetree/bi

Re: RFC: Backport HID-logitech to 3.10?

2016-09-02 Thread Simon Wood
On Fri, September 2, 2016 3:32 am, Benjamin Tissoires wrote: > On Thu, Sep 1, 2016 at 2:56 AM, Simon Wood wrote: >> After copying the HEAD 'hid-lg.[ch]' and 'hid-lg4ff.[ch]' from 4.7, >> there is a minimal patch (example attached) required to get the build >> working. > > Don't you need hid-logite

Re: [PATCH v4 2/4] drm: Add API for capturing frame CRCs

2016-09-02 Thread Emil Velikov
Hi Tomeu, On 5 August 2016 at 11:45, Tomeu Vizoso wrote: > +#ifdef CONFIG_DEBUG_FS > + spin_lock_init(&crtc->crc.lock); > + init_waitqueue_head(&crtc->crc.wq); > + crtc->crc.source = kstrdup("auto", GFP_KERNEL); Pedantic: kstrdup() can never fail ? > +#endif > + > if (

Re: [writeback] 8bc4ad9498: INFO: suspicious RCU usage. ]

2016-09-02 Thread Tejun Heo
(cc'ing Paul, hi!) Hello, On Thu, Sep 01, 2016 at 02:13:34PM -0600, Jens Axboe wrote: > On 09/01/2016 04:21 AM, kernel test robot wrote: > > [7.323356] cdrom: Uniform CD-ROM driver Revision: 3.20 > > [7.334239] > > [7.337256] === > > [7.340532] [ INFO:

Re: [PATCH net-next 3/3] net: dsa: mv88e6xxx: make global2 code optional

2016-09-02 Thread Andrew Lunn
On Fri, Sep 02, 2016 at 08:08:19AM -0400, Vivien Didelot wrote: > Since not every chip has a Global2 set of registers, make its support > optional, in which case the related functions will return -EOPNOTSUPP. > > This also allows to reduce the size of the mv88e6xxx driver for devices > such as hom

[PATCH] serial: earlycon: Extend earlycon command line option to support 64-bit addresses

2016-09-02 Thread Alexander Sverdlin
earlycon implementation used "unsigned long" internally, but there are systems (ARM with LPAE) where sizeof(unsigned long) == 4 and uart is mapped beyond 4GiB address range. Switch to resource_size_t internally and replace obsoleted simple_strtoul() with kstrtoull(). Signed-off-by: Alexander Sver

Re: [git pull] drm fixes for rc5

2016-09-02 Thread Linus Torvalds
On Thu, Sep 1, 2016 at 10:59 PM, Dave Airlie wrote: > > I've tried using a signed tag, let's see if works. Worked fine. But your email was once again marked as spam. Google hates you, and your email habits. Linus

Re: [PATCH 2/5] irqtime: Remove needless IRQs disablement on kcpustat update

2016-09-02 Thread Paolo Bonzini
On 02/09/2016 16:03, Frederic Weisbecker wrote: > The callers of the functions performing irqtime kcpustat updates have > IRQS disabled, no need to disable them again. They do, but perhaps this should be annotated through some sparse magic. It's starting to be hairy, with the requirement spanni

Re: [PATCH 1/2] ARM: dts: am57xx-beagle-x15: Remove pinmux configurations

2016-09-02 Thread Nishanth Menon
On 09/02/2016 05:18 AM, Sekhar Nori wrote: On Friday 02 September 2016 02:35 PM, Nishanth Menon wrote: pinmuxing for DRA7x/AM57x family of processors need to be done in IO isolation as part of initial bootloader executed from SRAM. This is done as part of iodelay configuration sequence and is re

Re: [PATCH v3 2/4] dt-bindings: arm: Add Sierra Wireless modules bindings

2016-09-02 Thread Rob Herring
On Tue, Aug 23, 2016 at 01:39:04PM +0200, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/arm/swir.txt | 12 > 1 file changed, 12 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/swir.txt Acked-by: Rob Herring

[PATCH v2 2/2] crypto: qat - fix resource release omissions

2016-09-02 Thread Quentin Lambert
In certain cases qat_uclo_parse_uof_obj used to return with an error code before releasing all resources. This patch add a jump to the appropriate label ensuring that the resources are properly released before returning. This issue was found with Hector. Signed-off-by: Quentin Lambert --- drive

[PATCH v2 1/2] crypto: qat - introduces a variable to handle error codes

2016-09-02 Thread Quentin Lambert
Most error code used to jump to a label that lead to a "return -EFAULT" statement. This patch introduces a variable that stores the error code so that other error branches can use the same label to exit. Signed-off-by: Quentin Lambert --- drivers/crypto/qat/qat_common/qat_uclo.c | 13

[PATCH v2 0/2] add omitted release in qat_common

2016-09-02 Thread Quentin Lambert
The first patch introduces a variable to handle different error codes and be able to reuse the same clean up code. The second add an omitted release by jumping to the clean code having set the returned value to the proper error code. -changes since v1 I failed to send the first version properly an

Re: [PATCH] x86/paravirt: Do not trace _paravirt_ident_*() functions

2016-09-02 Thread Steven Rostedt
I just spent half a day bisecting function tracing because I tripped over this again. I thought this was merged, but I guess it was missed again. Can someone please pull this in. And mark it for stable, it goes probably as far back as 2.6.32. Thanks! -- Steve On Wed, 25 May 2016 13:47:26 -0400

Re: [PATCH 1/2] sdhci-of-arasan: Add device tree parameter fails-without-test-cd bit

2016-09-02 Thread Rob Herring
On Mon, Aug 29, 2016 at 06:20:56PM -0500, Zach Brown wrote: > The sdhci controller on xilinx zynq devices will not function unless > the CD bit is provided. http://www.xilinx.com/support/answers/61064.html > In cases where it is impossible to provide the CD bit in hardware, > setting the controller

[PATCH 1/2] crypto: qat - introduces a variable to handle error codes

2016-09-02 Thread Quentin Lambert
Most error code used to jump to a label that lead to a "return -EFAULT" statement. This patch introduces a variable that stores the error code so that other error branches can use the same label to exit. Signed-off-by: Quentin Lambert --- drivers/crypto/qat/qat_common/qat_uclo.c | 13

[PATCH 2/2] crypto: qat - fix resource release omissions

2016-09-02 Thread Quentin Lambert
This issue was found with Hector. Signed-off-by: Quentin Lambert --- drivers/crypto/qat/qat_common/qat_uclo.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/crypto/qat/qat_common/qat_uclo.c +++ b/drivers/crypto/qat/qat_common/qat_uclo.c @@ -981,7 +981,8 @@ static int q

[PATCH 1/2][RESEND] crypto: qat - introduces a variable to handle error codes

2016-09-02 Thread Quentin Lambert
Most error code used to jump to a label that lead to a "return -EFAULT" statement. This patch introduces a variable that stores the error code so that other error branches can use the same label to exit. Signed-off-by: Quentin Lambert --- drivers/crypto/qat/qat_common/qat_uclo.c | 13

[PATCH 0/2][RESEND] add omitted release in qat_common

2016-09-02 Thread Quentin Lambert
The first patch introduces a variable to handle different error codes and be able to reuse the same clean up code. The second add an omitted release by jumping to the clean code having set the returned value to the proper error code. --- drivers/crypto/qat/qat_common/qat_uclo.c | 16 +++

[PATCH 2/2] crypto: qat - fix resource release omissions

2016-09-02 Thread Quentin Lambert
In certain cases qat_uclo_parse_uof_obj used to return with an error code before releasing all resources. This patch add a jump to the appropriate label ensuring that the resources are properly released before returning. This issue was found with Hector. Signed-off-by: Quentin Lambert --- drive

Re: [PATCH 6/6] Documentation: devicetree: dwc2: Deprecate g-tx-fifo-size

2016-09-02 Thread Rob Herring
On Mon, Aug 29, 2016 at 01:39:03PM -0700, John Youn wrote: > This property is not needed because the periodic fifos are not > configurable. So it was incorrect to add this property in the first > place. > > Signed-off-by: John Youn > --- > Documentation/devicetree/bindings/usb/dwc2.txt | 5 -

Re: [PATCH V4] leds: trigger: Introduce an USB port trigger

2016-09-02 Thread Alan Stern
On Fri, 2 Sep 2016, Jacek Anaszewski wrote: > >>> I'm pretty sure noone ever planned to have more than 1 trigger > >>> assigned to a single LED. I just realized there will be a problem with > >>> proposed solution: sysfs files conflict. ... > >> Currently we support only triggers dedicated to sp

Re: [PATCH 3/5] u64_stats: Introduce IRQs disabled helpers

2016-09-02 Thread Paolo Bonzini
On 02/09/2016 16:03, Frederic Weisbecker wrote: > static inline unsigned int u64_stats_fetch_begin(const struct u64_stats_sync > *syncp) > { > -#if BITS_PER_LONG==32 && defined(CONFIG_SMP) > - return read_seqcount_begin(&syncp->seq); > -#else > -#if BITS_PER_LONG==32 > +#if BITS_PER_LONG==

Re: [PATCH 1/2] IB/hfi1: Fix a parameter of find_first_bit.

2016-09-02 Thread Doug Ledford
On 8/28/2016 2:06 AM, Leon Romanovsky wrote: > On Fri, Aug 26, 2016 at 03:34:48PM -0400, Doug Ledford wrote: >> On 8/26/2016 3:29 PM, Leon Romanovsky wrote: >>> On Fri, Aug 26, 2016 at 02:01:55PM -0400, Doug Ledford wrote: On 8/26/2016 9:35 AM, Doug Ledford wrote: > On 8/26/2016 12:49 AM,

[PATCH 0/2] add omitted release in qat_common

2016-09-02 Thread Quentin Lambert
The first patch introduces a variable to handle different error codes and be able to reuse the same clean up code. The second add an omitted release by jumping to the clean code having set the returned value to the proper error code. --- drivers/crypto/qat/qat_common/qat_uclo.c | 16 +++

Re: [PATCH 1/3] Documentation: dt: Add TI-SCI PM Domains

2016-09-02 Thread Rob Herring
On Fri, Aug 19, 2016 at 06:56:51PM -0500, Nishanth Menon wrote: > From: Dave Gerlach > > Add a generic power domain implementation, TI SCI PM Domains, that > will hook into the genpd framework and allow each PD, which will be > created one per device, to be managed over the TI-SCI protocol. > >

[PATCH] iscsi-target: fix spelling mistake "Unsolicitied" -> "Unsolicited"

2016-09-02 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistakes in pr_debug message and comments Signed-off-by: Colin Ian King --- drivers/target/iscsi/iscsi_target.c | 2 +- drivers/target/iscsi/iscsi_target_login.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/

[PATCH] net: lantiq_etop: Remove unused 'i' variable

2016-09-02 Thread Paul Burton
Commit e7f4dc3536a4 ("mdio: Move allocation of interrupts into core") removed the only use of the 'i' variable from ltq_etop_mdio_init() but left the variable declaration behind, leading to the following compiler warning: drivers/net/ethernet/lantiq_etop.c: In function 'ltq_etop_mdio_init': dr

Re: [PATCH 3/4] KVM: x86: introduce get_kvmclock_ns

2016-09-02 Thread Roman Kagan
On Thu, Sep 01, 2016 at 05:26:14PM +0200, Paolo Bonzini wrote: > Introduce a function that reads the exact nanoseconds value that is > provided to the guest in kvmclock. This crystallizes the notion of > kvmclock as a thin veneer over a stable TSC, that the guest will > (hopefully) convert with NT

Re: Block-level access

2016-09-02 Thread Alex Austin
My access is almost purely sequential and primarily writing, so read-ahead doesn't help me. What's problematic with pread/pwrite is the lack of error channel from media errors. BSG looks very interesting. I'll look further into that today. On Thu, Sep 1, 2016 at 5:16 PM, Bart Van Assche wrote: >

[PATCH] net: ti: cpmac: Fix compiler warning due to type confusion

2016-09-02 Thread Paul Burton
cpmac_start_xmit() used the max() macro on skb->len (an unsigned int) and ETH_ZLEN (a signed int literal). This led to the following compiler warning: In file included from include/linux/list.h:8:0, from include/linux/module.h:9, from drivers/net/ethernet/ti

Re: [PATCH 2/2] arm64: dts: rockchip: add eMMC's power domain support for rk3399

2016-09-02 Thread Ziyuan Xu
Hi Ulf, On 2016年09月02日 18:24, Ulf Hansson wrote: On 1 September 2016 at 23:50, Doug Anderson wrote: >Hi, > >On Thu, Sep 1, 2016 at 6:45 AM, Ulf Hansson wrote: >>I was reading the discussion regarding this change and browsing the DT >>documentation around this... Can you guys explain what re

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-02 Thread Alan Stern
On Fri, 2 Sep 2016, Felipe Balbi wrote: > Hi, > > Russell King - ARM Linux writes: > > On Fri, Sep 02, 2016 at 12:43:39PM +0200, Arnd Bergmann wrote: > >> On Thursday, September 1, 2016 5:14:28 PM CEST Leo Li wrote: > >> > > >> > Hi Felipe and Arnd, > >> > > >> > It has been a while since the

Re: [Question] about patch: don't use [delayed_]work_pending()

2016-09-02 Thread Tejun Heo
On Fri, Sep 02, 2016 at 09:50:07AM -0400, Tejun Heo wrote: > Hello, > > On Fri, Sep 02, 2016 at 09:17:04AM +0800, qiaozhou wrote: > > > > I don't know whether it's meaningful to still check pending work here, > > > > or > > > > it's not suggested to use pm_qos_update_request in this early boot up

[PATCH] MIPS: dec: Avoid la pseudo-instruction in delay slots

2016-09-02 Thread Paul Burton
When expanding the la or dla pseudo-instruction in a delay slot the GNU assembler will complain should the pseudo-instruction expand to multiple actual instructions, since only the first of them will be in the delay slot leading to the pseudo-instruction being only partially executed if the branch

Re: [PATCH v15 04/13] task_isolation: add initial support

2016-09-02 Thread Chris Metcalf
On 9/1/2016 6:06 AM, Peter Zijlstra wrote: On Tue, Aug 30, 2016 at 11:32:16AM -0400, Chris Metcalf wrote: On 8/30/2016 3:58 AM, Peter Zijlstra wrote: What !? I really don't get this, what are you waiting for? Why is rescheduling making things better. We need to wait for the last dyntick to fir

[PATCH] MIPS: netlogic: Fix assembler warning from smpboot.S

2016-09-02 Thread Paul Burton
The netlogic platform can be built for either MIPS32 or MIPS64, and when built for MIPS32 (as by nlm_xlr_defconfig) the use of the dla pseudo-instruction leads to warnings such as the following from recent versions of the GNU assembler: arch/mips/netlogic/common/smpboot.S: Assembler messages:

Re: [PATCH 1/6] irqchip: mips-gic: Add context saving for MIPS_REMOTEPROC

2016-09-02 Thread Matt Redfearn
Hi Marc, Thanks for the review! On 02/09/16 11:54, Marc Zyngier wrote: Hi Matt, On 02/09/16 10:59, Matt Redfearn wrote: The MIPS remote processor driver allows non-Linux firmware to take control of and execute on one of the systems VPEs. If that VPE is brought back under Linux, it is necessa

[PATCH] MIPS: Fix detection of unsupported highmem with cache aliases

2016-09-02 Thread Paul Burton
The paging_init() function contains code which detects that highmem is in use but unsupported due to dcache aliasing. However this code was ineffective because it was being run before the caches are probed, meaning that cpu_has_dc_aliases would always evaluate to false (unless a platform overrides

Re: [PATCH 4/4] kvm: x86: export TSC offset to user-space

2016-09-02 Thread Steven Rostedt
On Fri, 2 Sep 2016 09:43:01 -0400 Stefan Hajnoczi wrote: > Can TSC offset changes occur at runtime? > > One example is vcpu hotplug where the tracing tool would need to fetch > the new vcpu's TSC offset after tracing has already started. > > Another example is if QEMU or the guest change the TS

<    1   2   3   4   5   6   7   >