[PATCH] Staging: android: ion: Fix Style Issue

2015-07-13 Thread Craig
Modified style issue in ion.c. Missing empty line after a definition Signed-off-by: Craig --- drivers/staging/android/ion/ion.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 6f48112..e44f5e6 100644 ---

Re: [PATCH v2] usbtouchscreen: adds support for inverting X or Y axis (or both)

2015-07-13 Thread Philippe Coval
On 07/13/2015 12:28 PM, Bastien Nocera wrote: > On Mon, 2015-07-13 at 12:15 +0200, Philippe Coval wrote: >> Invert Y is needed (together with swap XY) for some touchscreens : >> - LeadingTouch screens (at least for some of them) >> - CarTft 8in4 (USB ID=0eef:0001) > > Wouldn't it be useful to

[PATCH] thermal: Add Mediatek thermal support

2015-07-13 Thread Sascha Hauer
This series adds support for the thermal sensors included in the MT8173 SoC. Currently only basic temperature reading is supported without any interrupt support. The cpufreq driver for MT8173 is currently under review, so there's no real cooling device available in mainline. Until this is

[PATCH 3/3] ARM64: dts: mt8173: Add thermal/auxadc device nodes

2015-07-13 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 27237a1..8cd114a 100644 ---

[PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2015-07-13 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- .../bindings/thermal/mediatek-thermal.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/mediatek-thermal.txt diff --git

[PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-07-13 Thread Sascha Hauer
This adds support for the Mediatek thermal controller found on MT8173 and likely other SoCs. The controller is a bit special. It does not have its own ADC, instead it controls the on-SoC AUXADC via AHB bus accesses. For this reason we need the physical address of the AUXADC. Also it controls a mux

Re: [PATCH v2] usbtouchscreen: adds support for inverting X or Y axis (or both)

2015-07-13 Thread Bastien Nocera
On Mon, 2015-07-13 at 12:15 +0200, Philippe Coval wrote: > Invert Y is needed (together with swap XY) for some touchscreens : > - LeadingTouch screens (at least for some of them) > - CarTft 8in4 (USB ID=0eef:0001) Wouldn't it be useful to force those settings for touchscreen devices which you can

Re: [PATCH 4/9] MIPS: MT: Remove "weak" from vpe_run() declaration

2015-07-13 Thread James Hogan
On 13/07/15 00:11, Bjorn Helgaas wrote: > Weak header file declarations are error-prone because they make every > definition weak, and the linker chooses one based on link order (see > 10629d711ed7 ("PCI: Remove __weak annotation from pcibios_get_phb_of_node > decl")). > > That's not a problem

Re: [PATCH v3 00/11] USB: OTG/DRD Core functionality

2015-07-13 Thread Roger Quadros
Hi, On 10/07/15 10:58, Li Jun wrote: > On Wed, Jul 08, 2015 at 01:19:26PM +0300, Roger Quadros wrote: >> Hi, >> >> This series centralizes OTG/Dual-role functionality in the kernel. >> As of now I've got Dual-role functionality working pretty reliably on >> dra7-evm and am437x-gp-evm. xhci side

Re: [PATCH v2] sched: let __sched_period() use rq's nr_running

2015-07-13 Thread Mike Galbraith
On Mon, 2015-07-13 at 17:29 +0900, Byungchul Park wrote: > On Mon, Jul 13, 2015 at 09:07:01AM +0200, Mike Galbraith wrote: > > On Mon, 2015-07-13 at 09:56 +0900, Byungchul Park wrote: > > > > > and i agree with that it makes latency increase for non-grouped tasks. > > > > It's not only a latency

Re: [PATCH v7 4/9] nvmem: Add bindings for simple nvmem framework

2015-07-13 Thread Srinivas Kandagatla
Thanks Rob for quick review, On 10/07/15 20:04, Rob Herring wrote: On Fri, Jul 10, 2015 at 4:45 AM, Srinivas Kandagatla wrote: This patch adds bindings for simple nvmem framework which allows nvmem consumers to talk to nvmem providers to get access to nvmem cell data. Signed-off-by: Maxime

Re: [PATCH v3 07/11] usb: otg: add OTG core

2015-07-13 Thread Roger Quadros
On 13/07/15 05:14, Peter Chen wrote: > On Wed, Jul 08, 2015 at 01:19:33PM +0300, Roger Quadros wrote: >> The OTG core instantiates the OTG Finite State Machine >> per OTG controller and manages starting/stopping the >> host and gadget controllers based on the bus state. >> >> It provides APIs for

Re: [PATCH v5 2/3] pwm: add MediaTek display PWM driver support

2015-07-13 Thread Daniel Kurtz
On Mon, Jul 13, 2015 at 5:04 PM, YH Huang wrote: > Add display PWM driver support to modify backlight for MT8173 and MT6595. > The PWM has one channel to control the brightness of the display. > When the (high_width / period) is closer to 1, the screen is brighter; > otherwise, it is darker. > >

Re: [PATCH v5 1/3] dt-bindings: pwm: add MediaTek display PWM bindings

2015-07-13 Thread Daniel Kurtz
On Mon, Jul 13, 2015 at 5:04 PM, YH Huang wrote: > Document the device-tree binding of MediatTek display PWM. > The PWM has one channel to control the backlight brightness for display. > It supports MT8173 and MT6595. > > Signed-off-by: YH Huang > --- >

Re: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller

2015-07-13 Thread Thomas . Betker
Hello Ranjit: > What is dual parallel mode? > --- > ZynqMP GQSPI controller supports Dual Parallel mode with following > functionalities: > 1) Supporting two SPI flash memories operating in parallel. 8 I/O lines. > 2) Chip selects and clock are shared to both the flash

Re: [PATCH v3] phy: rcar-gen2 usb: Add Host/Function switching for USB0

2015-07-13 Thread Sergei Shtylyov
Hello. On 7/13/2015 12:04 PM, Phil Edworthy wrote: Instead of statically selecting the PHY connection to either the USBHS (Function) or PCI0 (Host) IP blocks, this change allows the dts to specifiy gpio pins for the vbus and id signals. Additional These GPIOs don't have anything to do

[PATCH v2] usbtouchscreen: adds support for inverting X or Y axis (or both)

2015-07-13 Thread Philippe Coval
Invert Y is needed (together with swap XY) for some touchscreens : - LeadingTouch screens (at least for some of them) - CarTft 8in4 (USB ID=0eef:0001) Signed-off-by: Ondrej Zary Bug-Link: https://bugs.tizen.org/jira/browse/TC-2522 Cc: linux-in...@vger.kernel.org Cc: linux-kernel@vger.kernel.org

Re: [PATCH v3 04/11] otg-fsm: move usb_bus_start_enum into otg-fsm->ops

2015-07-13 Thread Roger Quadros
Peter, On 13/07/15 04:58, Peter Chen wrote: > On Wed, Jul 08, 2015 at 01:19:30PM +0300, Roger Quadros wrote: >> This is to prevent missing symbol build error if OTG is >> enabled (built-in) and HCD core (CONFIG_USB) is module. >> > > We may let the OTG-DRD/OTG-FSM depends on CONFIG_USB to fix

Re: [PATCH] arm64: Remove clk-provider.h include

2015-07-13 Thread Catalin Marinas
On Fri, Jul 10, 2015 at 03:50:57PM -0700, Stephen Boyd wrote: > This file doesn't use the clk provider APIs. Remove the include. > > Cc: Catalin Marinas > Cc: Will Deacon > Signed-off-by: Stephen Boyd > --- > > Please ack if you want this to go through the clk-tree (along > with quite a few

Re: [PATCH 9/9] MIPS: Remove "__weak" definition from arch-specific linkage.h

2015-07-13 Thread James Hogan
On 13/07/15 00:12, Bjorn Helgaas wrote: > "__weak" is defined in include/linux/compiler-gcc.h. We shouldn't need an > arch-specific definition. > > Remove the "__weak" definition from arch/mips/include/asm/linkage.h. > > Signed-off-by: Bjorn Helgaas asm/linkage.h is only included from

Re: [PATCH v3 01/11] usb: otg-fsm: Add documentation for struct otg_fsm

2015-07-13 Thread Roger Quadros
On 13/07/15 04:21, Peter Chen wrote: > On Wed, Jul 08, 2015 at 01:19:27PM +0300, Roger Quadros wrote: >> struct otg_fsm is the interface to the OTG state machine. >> >> Document the input, output and internal state variables. >> Definations are taken from Table 7-2 and Table 7-4 of >> the USB OTG

Re: [PATCH 03/12] mtd: nand: omap: Move IRQ handling from GPMC to NAND driver

2015-07-13 Thread Roger Quadros
Tony, On 13/07/15 10:10, Tony Lindgren wrote: > * Roger Quadros [150710 05:26]: >> Since the Interrupt Events are used only by the NAND driver, >> there is no point in managing the Interrupt registers >> in the GPMC driver and complicating it with irqchip modeling. > > I don't think it's a good

[v5 06/19] KVM: Make struct kvm_irq_routing_table accessible

2015-07-13 Thread Feng Wu
Move struct kvm_irq_routing_table from irqchip.c to kvm_host.h, so we can use it outside of irqchip.c. Signed-off-by: Feng Wu --- include/linux/kvm_host.h | 15 +++ virt/kvm/irqchip.c | 11 --- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git

[v5 02/19] KVM: Add some helper functions for Posted-Interrupts

2015-07-13 Thread Feng Wu
This patch adds some helper functions to manipulate the Posted-Interrupts Descriptor. Signed-off-by: Feng Wu --- arch/x86/kvm/vmx.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 765539e..1e815b6 100644 ---

[v5 07/19] KVM: make kvm_set_msi_irq() public

2015-07-13 Thread Feng Wu
Make kvm_set_msi_irq() public, we can use this function outside. Signed-off-by: Feng Wu --- arch/x86/include/asm/kvm_host.h | 4 arch/x86/kvm/irq_comm.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/kvm_host.h

[v5 05/19] KVM: Add interfaces to control PI outside vmx

2015-07-13 Thread Feng Wu
This patch adds pi_clear_sn and pi_set_sn to struct kvm_x86_ops, so we can set/clear SN outside vmx. Signed-off-by: Feng Wu --- arch/x86/include/asm/kvm_host.h | 3 +++ arch/x86/kvm/vmx.c | 13 + 2 files changed, 16 insertions(+) diff --git

[v5 08/19] vfio: Select IRQ_BYPASS_MANAGER for vfio PCI devices

2015-07-13 Thread Feng Wu
Enable irq bypass manager for vfio PCI devices. Signed-off-by: Feng Wu --- drivers/vfio/pci/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/vfio/pci/Kconfig b/drivers/vfio/pci/Kconfig index 579d83b..02912f1 100644 --- a/drivers/vfio/pci/Kconfig +++ b/drivers/vfio/pci/Kconfig

[v5 03/19] KVM: Define a new interface kvm_intr_is_single_vcpu()

2015-07-13 Thread Feng Wu
This patch defines a new interface kvm_intr_is_single_vcpu(), which can returns whether the interrupt is for single-CPU or not. It is used by VT-d PI, since now we only support single-CPU interrupts, For lowest-priority interrupts, if user configures it via /proc/irq or uses irqbalance to make it

[v5 04/19] KVM: Get Posted-Interrupts descriptor address from struct kvm_vcpu

2015-07-13 Thread Feng Wu
Define an interface to get PI descriptor address from the vCPU structure. Signed-off-by: Feng Wu --- arch/x86/include/asm/kvm_host.h | 2 ++ arch/x86/kvm/vmx.c | 11 +++ 2 files changed, 13 insertions(+) diff --git a/arch/x86/include/asm/kvm_host.h

[v5 14/19] KVM: x86: Add arch specific routines for irqbypass manager

2015-07-13 Thread Feng Wu
Add the following x86 specific routines for irqbypass manger: - kvm_arch_irq_bypass_add_producer - kvm_arch_irq_bypass_del_producer Signed-off-by: Feng Wu --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/x86.c | 40

Re: [PATCH 0/4] enable migration of driver pages

2015-07-13 Thread Gioh Kim
2015-07-13 오후 6:24에 Konstantin Khlebnikov 이(가) 쓴 글: On Mon, Jul 13, 2015 at 11:35 AM, Gioh Kim wrote: From: Gioh Kim Hello, This series try to enable migration of non-LRU pages, such as driver's page. My ARM-based platform occured severe fragmentation problem after long-term (several

[v5 09/19] vfio: Register/unregister irq_bypass_producer

2015-07-13 Thread Feng Wu
This patch adds the registration/unregistration of an irq_bypass_producer for MSI/MSIx on vfio pci devices. Signed-off-by: Feng Wu --- drivers/vfio/pci/vfio_pci_intrs.c | 19 +++ drivers/vfio/pci/vfio_pci_private.h | 2 ++ 2 files changed, 21 insertions(+) diff --git

[v5 10/19] KVM, x86: Select IRQ_BYPASS_MANAGER for KVM_INTEL

2015-07-13 Thread Feng Wu
Enable irq bypass manager for kvm-intel. Signed-off-by: Feng Wu --- arch/x86/kvm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 921a8f9..be125bc 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -61,6 +61,7 @@ config

[v5 11/19] KVM: create kvm_irqfd.h

2015-07-13 Thread Feng Wu
From: Eric Auger Move _irqfd_resampler and _irqfd struct declarations in a new public header: kvm_irqfd.h. They are respectively renamed into kvm_kernel_irqfd_resampler and kvm_kernel_irqfd. Those datatypes will be used by architecture specific code, in the context of IRQ bypass manager

[v5 12/19] KVM: eventfd: add irq bypass information in irqfd

2015-07-13 Thread Feng Wu
From: Eric Auger This patch adds the following new members in 'struct kvm_kernel_irqfd' - struct irq_bypass_consumer consumer - struct irq_bypass_producer *producer Signed-off-by: Eric Auger Signed-off-by: Feng Wu --- include/linux/kvm_irqfd.h | 3 +++ 1 file changed, 3 insertions(+)

[v5 13/19] KVM: x86: Update IRTE for posted-interrupts

2015-07-13 Thread Feng Wu
This patch adds the routine to update IRTE for posted-interrupts when guest changes the interrupt configuration. Signed-off-by: Feng Wu --- arch/x86/kvm/x86.c | 73 ++ 1 file changed, 73 insertions(+) diff --git a/arch/x86/kvm/x86.c

[v5 16/19] KVM: Add an arch specific hooks in 'struct kvm_kernel_irqfd'

2015-07-13 Thread Feng Wu
This patch adds an arch specific hooks 'arch_update' in 'struct kvm_kernel_irqfd'. On Intel side, it is used to update the IRTE when VT-d posted-interrupts is used. Signed-off-by: Feng Wu --- arch/x86/kvm/x86.c| 5 + include/linux/kvm_host.h | 3 +++ include/linux/kvm_irqfd.h |

[v5 15/19] KVM: eventfd: add irq bypass consumer management

2015-07-13 Thread Feng Wu
From: Eric Auger This patch adds the registration/unregistration of an irq_bypass_consumer on irqfd assignment/deassignment. Signed-off-by: Eric Auger Signed-off-by: Feng Wu --- virt/kvm/eventfd.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/virt/kvm/eventfd.c

[v5 18/19] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-07-13 Thread Feng Wu
This patch updates the Posted-Interrupts Descriptor when vCPU is blocked. pre-block: - Add the vCPU to the blocked per-CPU list - Set 'NV' to POSTED_INTR_WAKEUP_VECTOR post-block: - Remove the vCPU from the per-CPU list Signed-off-by: Feng Wu --- arch/x86/include/asm/kvm_host.h | 3 +

[v5 17/19] KVM: Update Posted-Interrupts Descriptor when vCPU is preempted

2015-07-13 Thread Feng Wu
This patch updates the Posted-Interrupts Descriptor when vCPU is preempted. sched out: - Set 'SN' to suppress furture non-urgent interrupts posted for the vCPU. sched in: - Clear 'SN' - Change NDST if vCPU is scheduled to a different CPU - Set 'NV' to POSTED_INTR_VECTOR Signed-off-by: Feng Wu

Re: [PATCH v2 0/2] net: enable inband link state negotiation only when explicitly requested

2015-07-13 Thread Stas Sergeev
13.07.2015 12:54, Sebastien Rannou пишет: > Hi Stas, > > On Fri, 10 Jul 2015, Stas Sergeev wrote: > >> Those who were affected by the change, please send your Tested-by, >> Thanks! > > I also confirm that this version of the patch solves the issue: > > Tested-by: Sebastien Rannou Thanks

[v5 19/19] KVM: Warn if 'SN' is set during posting interrupts by software

2015-07-13 Thread Feng Wu
Currently, we don't support urgent interrupt, all interrupts are recognized as non-urgent interrupt, so we cannot post interrupts when 'SN' is set. If the vcpu is in guest mode, it cannot have been scheduled out, and that's the only case when SN is set currently, warning if SN is set.

[v5 01/19] KVM: Extend struct pi_desc for VT-d Posted-Interrupts

2015-07-13 Thread Feng Wu
Extend struct pi_desc for VT-d Posted-Interrupts. Signed-off-by: Feng Wu --- arch/x86/kvm/vmx.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index e11dd59..765539e 100644 --- a/arch/x86/kvm/vmx.c +++

[v5 00/19] Add VT-d Posted-Interrupts support

2015-07-13 Thread Feng Wu
VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt. With VT-d Posted-Interrupts enabled, external interrupts from direct-assigned devices can be delivered to guests without VMM intervention when guest is running in non-root mode. You can find the VT-d Posted-Interrtups Spec. in

Re: [Ksummit-discuss] [CORE TOPIC] lightweight per-cpu locks / restartable sequences

2015-07-13 Thread Peter Zijlstra
On Fri, Jul 10, 2015 at 12:26:21PM -0500, Christoph Lameter wrote: > On Thu, 9 Jul 2015, Chris Mason wrote: > > > I think the topic is really interesting and we'll be able to get numbers > > from production workloads to help justify and compare different > > approaches. > > Ok that would be

[PATCH v3] xen/blkfront: convert to blk-mq APIs

2015-07-13 Thread Bob Liu
Note: This patch is based on original work of Arianna's internship for GNOME's Outreach Program for Women. Only one hardware queue is used now, so there is no performance change. The legacy non-mq code is deleted completely which is the same as other drivers like virtio, mtip, and nvme. Also

Re: [PATCH v2 0/2] net: enable inband link state negotiation only when explicitly requested

2015-07-13 Thread Sebastien Rannou
Hi Stas, On Fri, 10 Jul 2015, Stas Sergeev wrote: > Those who were affected by the change, please send your Tested-by, > Thanks! I also confirm that this version of the patch solves the issue: Tested-by: Sebastien Rannou -- Sébastien

Re: Build regressions/improvements in v4.2-rc2

2015-07-13 Thread Geert Uytterhoeven
On Mon, Jul 13, 2015 at 11:28 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.2-rc2[1] to v4.2-rc1[3], the summaries are: > - build errors: +7/-5 + /home/kisskb/slave/src/fs/dax.c: error: implicit declaration of function 'copy_user_page' [-Werror=implicit-function-declaration]: =>

[PATCH] fs: dax: do not build on ARC or SH

2015-07-13 Thread Geert Uytterhoeven
From: Arnd Bergmann The DAX implementation relies on the architecture to provide a working copy_user_page() function, as reported by Michael Ellerman's kisskb build bot: fs/dax.c: error: implicit declaration of function 'copy_user_page' [-Werror=implicit-function-declaration]: => 266:2 We

Re: [PATCH 2/9] MIPS: Remove "weak" from platform_maar_init() declaration

2015-07-13 Thread James Hogan
On 13/07/15 00:11, Bjorn Helgaas wrote: > Weak header file declarations are error-prone because they make every > definition weak, and the linker chooses one based on link order (see > 10629d711ed7 ("PCI: Remove __weak annotation from pcibios_get_phb_of_node > decl")). > > platform_maar_init() is

RE: [PATCH] parisc: mm: Fix a memory leak related to pmd not attached to the pgd

2015-07-13 Thread Kirill A. Shutemov
Christophe JAILLET wrote: > Commit 0e0da48dee8d ("parisc: mm: don't count preallocated pmds") > introduced a memory leak. > > After this commit, the 'return' statement in pmd_free is executed in all > cases. Even for pmd that are not attached to the pgd. > So 'free_pages' can never be called

[PATCH 4/4] f2fs: correct return value of ->setxattr

2015-07-13 Thread Chao Yu
This patch fixes to return correct error number of ->setxattr, which is reported by xfstest tests/generic/026 as below: generic/026 - output mismatch --- tests/generic/026.out +++ results/generic/026.out.bad @@ -4,6 +4,6 @@ 1 below acl max acl max 1 above acl max

[PATCH 3/4] f2fs: cleanup write_orphan_inodes

2015-07-13 Thread Chao Yu
Previously, since 'commit 4531929e3922 ("f2fs: move grabing orphan pages out of protection region")' was committed, in write_orphan_inodes(), we will grab all meta page in a batch before we use them under spinlock, so that we can avoid large time delay of grabbing meta pages under spinlock. Now,

[PATCH 2/4] f2fs: warm up cold page after mmaped write

2015-07-13 Thread Chao Yu
With cost-benifit method, background gc will consider old section with fewer valid blocks as candidate victim, these old blocks in section will be treated as cold data, and laterly will be moved into cold segment. But if the gcing page is attached by user through buffered or mmaped write, we

Re: [PATCH] acpi/apei: free lists of resources in einj and erst

2015-07-13 Thread Konstantin Khlebnikov
On Fri, Jul 10, 2015 at 9:14 PM, Luck, Tony wrote: > --- a/drivers/acpi/apei/einj.c > +++ b/drivers/acpi/apei/einj.c > @@ -379,10 +379,9 @@ static int __einj_error_trigger(u64 trigger_paddr, u32 > type, > rc = apei_resources_add(_resources, >

Re: [PATCH 5/9] MIPS: Remove "weak" from get_c0_perfcount_int() declaration

2015-07-13 Thread James Hogan
On 13/07/15 00:11, Bjorn Helgaas wrote: > Weak header file declarations are error-prone because they make every > definition weak, and the linker chooses one based on link order (see > 10629d711ed7 ("PCI: Remove __weak annotation from pcibios_get_phb_of_node > decl")). > > get_c0_perfcount_int()

[PATCH 1/4] f2fs: expose f2fs_write_cache_pages

2015-07-13 Thread Chao Yu
If there are gced dirty pages and normal dirty pages in the mapping of one inode, we might writeback them alternately with discontinuous block address, resulting in low performance. This patch introduces f2fs_write_cache_pages with codes copied from write_cache_pages in mm/page-writeback.c. In

Re: [PATCH -tip 0/2] futex: Fault/error injection capabilities

2015-07-13 Thread Davidlohr Bueso
Ingo, any thoughts about this? Thanks. On Mon, 2015-06-29 at 23:26 -0700, Davidlohr Bueso wrote: > Hello, > > I've been wanting this for a while to improve overall futex > testing. I must say that I checked rather late when I was > nearly finished with patch 2 if something similar for futexes >

Re: [PATCH] pwm-backlight: Avoid backlight flicker when probed from DT

2015-07-13 Thread Philipp Zabel
Hi, Am Freitag, den 12.06.2015, 18:26 +0200 schrieb Philipp Zabel: > If the driver is probed from the device tree, and there is a phandle > property set on it, and the enable GPIO is already configured as output, > and the backlight is currently disabled, keep it disabled. > If all these

Re: [PATCH 34/45] clk: ti: Include clk.h

2015-07-13 Thread Tero Kristo
On 07/11/2015 02:33 AM, Stephen Boyd wrote: This clock provider uses the consumer API, so include clk.h explicitly. Cc: Tero Kristo Signed-off-by: Stephen Boyd Acked-by: Tero Kristo --- drivers/clk/ti/apll.c| 1 + drivers/clk/ti/clk-33xx.c| 1 +

Re: [PATCH 43/45] clk: ti: Switch clk-provider.h include to clk.h

2015-07-13 Thread Tero Kristo
On 07/11/2015 02:33 AM, Stephen Boyd wrote: This file isn't a clock provider but uses the consumer API, so include clk.h instead of clk-provider.h. Cc: Tero Kristo Signed-off-by: Stephen Boyd Acked-by: Tero Kristo --- drivers/clk/ti/clk-2xxx.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 7/7] ARM: OMAP2+: Include clk.h

2015-07-13 Thread Tero Kristo
On 07/11/2015 01:45 AM, Stephen Boyd wrote: These files use the consumer API, so include clk.h explicitly. Cc: Tero Kristo Cc: Tony Lindgren Signed-off-by: Stephen Boyd --- Please ack so this can be routed through clk-tree. Otherwise when clk.h is removed from clk-provider.h these files

Re: [PATCH 6/9] MIPS: Remove "weak" from get_c0_compare_int() declaration

2015-07-13 Thread James Hogan
On 13/07/15 00:11, Bjorn Helgaas wrote: > Weak header file declarations are error-prone because they make every > definition weak, and the linker chooses one based on link order (see > 10629d711ed7 ("PCI: Remove __weak annotation from pcibios_get_phb_of_node > decl")). > > get_c0_compare_int() is

Re: [PATCH v2 1/4] tools: iio: Move printf failure messages to stderr

2015-07-13 Thread Jonathan Cameron
On 12 July 2015 14:07:15 BST, Hartmut Knaack wrote: >Cristina Georgiana Opriceana schrieb am 12.07.2015 um 13:38: >> On Sat, Jul 11, 2015 at 12:42 AM, Hartmut Knaack >wrote: >>> Cristina Opriceana schrieb am 10.07.2015 um 12:56: Replace printf error messages with fprintf(stderr, ...) in

Re: [PATCH 0/2] mm/shrinker: make unregister_shrinker() less fragile

2015-07-13 Thread Sergey Senozhatsky
On (07/13/15 02:03), Christoph Hellwig wrote: > On Mon, Jul 13, 2015 at 03:52:53PM +0900, Sergey Senozhatsky wrote: > > Why? In some sense, shrinker callbacks are just a way to be nice. > > No one writes a driver just to be able to handle shrinker calls. An > > ability to react to those calls is

[PATCH 5/5] arm64: dts: mt8173: add timer node

2015-07-13 Thread Yingjoe Chen
From: Daniel Kurtz Add device node to enable GPT timer. This timer will be used as sched clock source. Signed-off-by: Daniel Kurtz Signed-off-by: Eddie Huang Signed-off-by: Yingjoe Chen --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH 4/5] clk: mediatek: add 13mhz clock for MT8173

2015-07-13 Thread Yingjoe Chen
Add 13mhz clock used by GPT timer in infracfg. Signed-off-by: Yingjoe Chen --- drivers/clk/mediatek/clk-mt8173.c | 5 + include/dt-bindings/clock/mt8173-clk.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/clk/mediatek/clk-mt8173.c

[PATCH 0/5] add GPT timer support for mt8173

2015-07-13 Thread Yingjoe Chen
This series add GPT timer support for mt8173. This is based on v4.2-rc1 and Matthias' next branch (for dts parts). The first 2 patches comes from 'Add SMP bringup support for mt65xx socs' series [1]. I decide to move these 2 patches to this series, since it is more relevent here. They are changed

[PATCH 2/5] clocksource: mediatek: Use GPT as sched clock source

2015-07-13 Thread Yingjoe Chen
When cpu is in deep idle, arch timer will stop counting. Setup GPT as sched clock source so it can keep counting in idle. Signed-off-by: Yingjoe Chen --- drivers/clocksource/mtk_timer.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/clocksource/mtk_timer.c

[PATCH] parisc: mm: Fix a memory leak related to pmd not attached to the pgd

2015-07-13 Thread Christophe JAILLET
Commit 0e0da48dee8d ("parisc: mm: don't count preallocated pmds") introduced a memory leak. After this commit, the 'return' statement in pmd_free is executed in all cases. Even for pmd that are not attached to the pgd. So 'free_pages' can never be called anymore, leading to a memory leak.

[PATCH 3/5] arm64: mediatek: enable MTK_TIMER

2015-07-13 Thread Yingjoe Chen
Enable MTK_TIMER for MediaTek plaform, which will be used as schedule clock. Signed-off-by: Yingjoe Chen --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 0f6edb1..5934f51 100644 --- a/arch/arm64/Kconfig +++

[PATCH 1/5] clocksource: mediatek: do not enable GPT_CLK_EVT when setup

2015-07-13 Thread Yingjoe Chen
Spurious mtk timer interrupt is noticed at boot and cause kernel crash. It seems if GPT is enabled, it will latch irq status even when its IRQ is disabled. When irq is enabled afterward, we see spurious interrupt. Change init flow to only enable GPT_CLK_SRC at mtk_timer_init. Signed-off-by:

Re: [PATCH 7/9] MIPS: Remove "weak" from get_c0_fdc_int() declaration

2015-07-13 Thread James Hogan
On 13/07/15 00:11, Bjorn Helgaas wrote: > Weak header file declarations are error-prone because they make every > definition weak, and the linker chooses one based on link order (see > 10629d711ed7 ("PCI: Remove __weak annotation from pcibios_get_phb_of_node > decl")). > > get_c0_fdc_int() is

Re: [RFC][PATCH 04/24] arm64: Provide atomic_{or,xor,and}

2015-07-13 Thread Will Deacon
On Fri, Jul 10, 2015 at 05:23:56PM +0100, Peter Zijlstra wrote: > On Fri, Jul 10, 2015 at 09:42:59AM +0100, Will Deacon wrote: > > On Thu, Jul 09, 2015 at 06:28:59PM +0100, Peter Zijlstra wrote: > > > Implement atomic logic ops -- atomic_{or,xor,and}. > > > > > > These will replace the

Re: [PATCH] KVM: Add Kconfig option to signal cross-endian guests

2015-07-13 Thread Greg Kurz
On Thu, 9 Jul 2015 09:49:05 +0200 Thomas Huth wrote: > The option for supporting cross-endianness legacy guests in > the vhost and tun code should only be available on systems > that support cross-endian guests. > > Signed-off-by: Thomas Huth Acked-by: Greg Kurz -- To unsubscribe from this

Re: [PATCH v2 1/4] tools: iio: Move printf failure messages to stderr

2015-07-13 Thread Jonathan Cameron
On 12 July 2015 13:20:45 BST, Julia Lawall wrote: >> Yes, I could have included all in a single patch, but I tried to >> automatize this task and build a rather generic semantic patch in >> coccinelle for the substitutions. Had I included all in one patch, >the >> changes with coccinelle

Build regressions/improvements in v4.2-rc2

2015-07-13 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.2-rc2[1] compared to v4.1[2]. Summarized: - build errors: +13/-53 - build warnings: +164/-278 JFYI, when comparing v4.2-rc2[1] to v4.2-rc1[3], the summaries are: - build errors: +7/-5 - build warnings: +55/-48 As I

Re: [PATCH v2] sched: let __sched_period() use rq's nr_running

2015-07-13 Thread Byungchul Park
On Mon, Jul 13, 2015 at 10:26:09AM +0200, Peter Zijlstra wrote: > On Fri, Jul 10, 2015 at 05:11:30PM +0900, byungchul.p...@lge.com wrote: > > From: Byungchul Park > > > > __sched_period() returns a period which a rq can have. the period has to be > > stretched by the number of task *the rq has*,

Re: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time

2015-07-13 Thread Jonathan Cameron
On 12 July 2015 07:47:53 BST, maitysancha...@gmail.com wrote: >Hello Jonathan, > >On 15-07-11 18:39:10, Jonathan Cameron wrote: >> On 10/07/15 19:06, maitysancha...@gmail.com wrote: >> > Hello Shawn, >> > >> > On 15-07-10 16:53:24, Shawn Guo wrote: >> >> On Wed, Jun 24, 2015 at 02:03:41PM

Re: [PATCH 0/4] enable migration of driver pages

2015-07-13 Thread Konstantin Khlebnikov
On Mon, Jul 13, 2015 at 11:35 AM, Gioh Kim wrote: > From: Gioh Kim > > Hello, > > This series try to enable migration of non-LRU pages, such as driver's page. > > My ARM-based platform occured severe fragmentation problem after long-term > (several days) test. Sometimes even order-3 page

Re: [PATCH RESEND] iio: adc: rockchip_saradc: add missing MODULE_* data

2015-07-13 Thread Jonathan Cameron
On 11 July 2015 19:59:31 BST, "Heiko Stübner" wrote: >Hi Jonathan, > >Am Samstag, 11. Juli 2015, 18:32:42 schrieb Jonathan Cameron: >> On 08/07/15 15:17, Heiko Stuebner wrote: >> > The module-data is currently missing. This includes the >> > license-information >> > which makes the driver taint

Re: [PATCH v4 0/8] iio:mma8452: improve driver and support more chips

2015-07-13 Thread Jonathan Cameron
On 13 July 2015 09:07:55 BST, Martin Kepplinger wrote: >Am 2015-07-09 um 10:51 schrieb Martin Kepplinger: >> Am 2015-07-06 um 14:34 schrieb Martin Kepplinger: >>> This is version 4 of the mma8452 driver improvements. This version >removes >>> one patch that changed the iio event type for

[PATCH] mfd: arizona: Fixup some formatting/white space errors

2015-07-13 Thread Charles Keepax
Clear out a few checkpatch warnings and white space errors. Signed-off-by: Charles Keepax --- drivers/mfd/arizona-core.c | 33 - 1 files changed, 16 insertions(+), 17 deletions(-) diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c index

Re: [alsa-devel] [PATCH v3] ASoC: Add support for NAU8825 codec to ASoC

2015-07-13 Thread Liam Girdwood
On Mon, 2015-07-13 at 15:33 +0800, Chih-Chiang Chang wrote: > +static void set_sys_clk(struct snd_soc_codec *codec, int sys_clk) > +{ > +struct nau8825_priv *nau8825 = snd_soc_codec_get_drvdata(codec); > + > +pr_debug("%s :: sys_clk=%x\n", __func__, sys_clk); > +switch (sys_clk) { > +

[3.16.y-ckt stable] Patch "stmmac: troubleshoot unexpected bits in des0 & des1" has been added to staging queue

2015-07-13 Thread Luis Henriques
This is a note to let you know that I have just added a patch titled stmmac: troubleshoot unexpected bits in des0 & des1 to the linux-3.16.y-queue branch of the 3.16.y-ckt extended stable tree which can be found at:

Re: [Patch v3 1/1] media: am437x-vpfe: Fix a race condition during release

2015-07-13 Thread Hans Verkuil
On 06/29/2015 11:18 PM, Benoit Parrot wrote: > There was a race condition where during cleanup/release operation > on-going streaming would cause a kernel panic because the hardware > module was disabled prematurely with IRQ still pending. > > Fixes: 417d2e507edc ("[media] media: platform: add

Re: [Patch v3 1/1] media: am437x-vpfe: Requested frame size and fmt overwritten by current sensor setting

2015-07-13 Thread Hans Verkuil
On 06/29/2015 11:19 PM, Benoit Parrot wrote: > Upon a S_FMT the input/requested frame size and pixel format is > overwritten by the current sub-device settings. > Fix this so application can actually set the frame size and format. > > Fixes: 417d2e507edc ("[media] media: platform: add VPFE

Re: [PATCH 8/9] MIPS: Remove "weak" from mips_cdmm_phys_base() declaration

2015-07-13 Thread James Hogan
Hi Bjorn, On 13/07/15 00:11, Bjorn Helgaas wrote: > Weak header file declarations are error-prone because they make every > definition weak, and the linker chooses one based on link order (see > 10629d711ed7 ("PCI: Remove __weak annotation from pcibios_get_phb_of_node > decl")). > >

[RFCv2 PATCH 8/8] pci: acpi: Bind GICv2m MSI frame to PCI host bridge

2015-07-13 Thread Suravee Suthikulpanit
This patch introduces pci_set_phb_acpi_msi_domain(), which looks for GIC MSI frame and bind the corresponded GICv2m irq_domain to the PCI host-bridge. Signed-off-by: Suravee Suthikulpanit --- drivers/pci/pci-acpi.c | 35 +++ drivers/pci/probe.c | 2 ++

[RFCv2 PATCH 5/8] arm64: Adding arch-specific acpi_init_irq_alloc_info

2015-07-13 Thread Suravee Suthikulpanit
This patch addes ARM64-specific hook for calling arch-specific irq_domain_ops.ini_alloc_info() before allocating irqs. Signed-off-by: Suravee Suthikulpanit --- arch/arm64/kernel/acpi.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/kernel/acpi.c

[RFCv2 PATCH 6/8] gic: acpi: Introduce GIC MSI frame handle and helper functions

2015-07-13 Thread Suravee Suthikulpanit
This patch introdues struct gic_msi_frame_handle, which can be used as a reference to GIC MSI frame in MADT. It also provides helper functions to help parsing and getting reference to each MSI frame. This avoids having to map and parse MADT multiple times. Signed-off-by: Suravee Suthikulpanit

[RFCv2 PATCH 3/8] gicv2m: Convert to use GIC irq_domain_ops.init_alloc_info

2015-07-13 Thread Suravee Suthikulpanit
This patch converts the current call to irq_domain_alloc_irqs_parent() to use structure initilized by irq_domain_ops.init_alloc_info() instead of of_phandle_args. Signed-off-by: Suravee Suthikulpanit --- drivers/irqchip/irq-gic-v2m.c | 23 +++ 1 file changed, 15

[RFCv2 PATCH 7/8] gicv2m: Introducing gicv2m_acpi_init()

2015-07-13 Thread Suravee Suthikulpanit
This patch introduces gicv2m_acpi_init(), which parse MADT GIC MSI frames, and use information to initialize GICv2m. It also refactors gicv2m_init_one() to handle both DT and ACPI initialization path. Signed-off-by: Suravee Suthikulpanit --- NOTE: Now that we are setting v2m->domain->bus_token

[RFCv2 PATCH 4/8] acpi: gsi: Adding acpi_init_irq_alloc_info() hook

2015-07-13 Thread Suravee Suthikulpanit
This patch adds acpi_init_irq_alloc_info(), which is declared as a weak symbol. This would allow arch-specific code to hook into acpi_register_gsi(). Signed-off-by: Suravee Suthikulpanit --- drivers/acpi/gsi.c | 36 +++- 1 file changed, 31 insertions(+), 5

[RFCv2 PATCH 2/8] gic: Introduce gic_init_irq_alloc_info()

2015-07-13 Thread Suravee Suthikulpanit
Currently, gic_irq_domain_alloc assumes that the arg parameter must be a pointer to of_phandle_args. This is not appropriate for using with ACPI. Furthermore, there are several irq mappings (i.e. SPI, PPI, and GSI), which can be used when allocating GIC irqs. This can be confusing when used in

[RFCv2 PATCH 1/8] irqdomain: Introduce irq_domain_ops.init_alloc_info

2015-07-13 Thread Suravee Suthikulpanit
Currently, when calling irq_domain_alloc_irqs() on ARM64, it uses struct of_phandle_args to pass irq information. However, this is not appropriate for ACPI since of_phandle_args is specific to DT. Therefore, this patch introduces a new function pointer, irq_domain_ops.init_alloc_info, which can

[RFCv2 PATCH 0/8] Introducing ACPI support for GICv2m

2015-07-13 Thread Suravee Suthikulpanit
ACPI core patches for ARM64 are now upstreamed in 4.1. The PCI support patches for ARM64 ACPI are also in progress. I am sending out this RFC to introduce ACPI support for GICv2m. This would allow MSI to work when booting ACPI. There are some modifications to the irq_domain and acpi/gsi code.

Re: [PATCH v6 0/8] Watchdog: introduce ARM SBSA watchdog driver

2015-07-13 Thread Fu Wei
Hi Guenter, If you get some time, could you help me on this patchset again? Great thanks for your help! On 30 June 2015 at 03:16, Guenter Roeck wrote: > On 06/29/2015 09:53 AM, Fu Wei wrote: >> >> Hi Guenter, >> >> Any suggestion on this v6 patchset, for now , I only got : > > > Problem is that

[PATCH v5 1/3] dt-bindings: pwm: add MediaTek display PWM bindings

2015-07-13 Thread YH Huang
Document the device-tree binding of MediatTek display PWM. The PWM has one channel to control the backlight brightness for display. It supports MT8173 and MT6595. Signed-off-by: YH Huang --- .../devicetree/bindings/pwm/pwm-mtk-disp.txt | 29 ++ 1 file changed, 29

[PATCH v3 3/5] usb: isp1760: udc: add missing usb_ep_set_maxpacket_limit()

2015-07-13 Thread Robert Baldyga
Since maxpacket_limit was introduced all UDC drivers should use usb_ep_set_maxpacket_limit() function instead of setting maxpacket value manually. ep.maxpacket_limit contains actual maximum maxpacket value supported by hardware which is needed by epautoconf. Signed-off-by: Robert Baldyga

<    3   4   5   6   7   8   9   10   11   12   >