[PATCH] spi: meson: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- Hello, This patch adds the missing MODULE_DEVICE_TABLE() for OF to export that information so modules have the correct aliase

Re: [PATCH 2/6] net: systemport: Fix module autoload for OF platform driver

2015-09-18 Thread Florian Fainelli
On 18/09/15 08:54, Luis de Bethencourt wrote: > This platform driver has a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt Acked-by: Florian Fainelli > --- > drivers/net/ethernet/broadcom/bcmsyspo

Re: [PATCH 1/2] net: phy: mdio-bcm-unimac: Fix module autoload for OF platform driver

2015-09-18 Thread Florian Fainelli
On 18/09/15 09:16, Luis de Bethencourt wrote: > This platform driver has a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt Acked-by: Florian Fainelli > --- > drivers/net/phy/mdio-bcm-unimac.c | 1

Re: [PATCH 3/6] net: bcmgenet: Fix module autoload for OF platform driver

2015-09-18 Thread Florian Fainelli
On 18/09/15 08:55, Luis de Bethencourt wrote: > This platform driver has a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt Acked-by: Florian Fainelli > --- > drivers/net/ethernet/broadcom/genet/bc

[PATCH 3/3] usb: gadget: f_midi: check for error on usb_ep_queue

2015-09-18 Thread eu
From: "Felipe F. Tonello" f_midi is not checking whether there is an error on usb_ep_queue request, ignoring potential problems, such as memory leaks. Signed-off-by: Felipe F. Tonello --- Changes for v2: - Update code style. Changes for v3: - Use ip_ep instead of out_ep. Fixed typo in com

Re: [PATCH 3/3] usb: gadget: f_midi: check for error on usb_ep_queue

2015-09-18 Thread Felipe Tonello
On Fri, Sep 18, 2015 at 6:30 PM, wrote: > From: "Felipe F. Tonello" > > f_midi is not checking weather the is an error on usb_ep_queue > request, ignoring potential problems, such as memory leaks. > > Signed-off-by: Felipe F. Tonello > --- > > Changes for v2: > - Update code style. > > drive

[PATCH] sci: ufs: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- Hello, This patch adds the missing MODULE_DEVICE_TABLE() for OF to export that information so modules have the correct aliase

[PATCH 1/3] usb: chipidea: udc: _ep_queue and _hw_queue cleanup

2015-09-18 Thread eu
From: "Felipe F. Tonello" Update comments to reflect current state of functions. Signed-off-by: Felipe F. Tonello --- Changes for v2: - Introduced this patch. drivers/usb/chipidea/udc.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/usb/chipidea/udc.c b

[PATCH 3/3] usb: gadget: f_midi: check for error on usb_ep_queue

2015-09-18 Thread eu
From: "Felipe F. Tonello" f_midi is not checking weather the is an error on usb_ep_queue request, ignoring potential problems, such as memory leaks. Signed-off-by: Felipe F. Tonello --- Changes for v2: - Update code style. drivers/usb/gadget/function/f_midi.c | 12 +--- 1 file chan

Re: [PATCH 1/2] usb: chipidea: udc: improve error handling on ep_queue

2015-09-18 Thread Felipe Tonello
Hi Felipe, On Fri, Sep 18, 2015 at 6:17 PM, Felipe Balbi wrote: > Hi, > > On Fri, Sep 18, 2015 at 06:12:40PM +0100, e...@felipetonello.com wrote: >> From: "Felipe F. Tonello" >> >> _ep_queue() didn't check for errors when using add_td_to_list() >> which can fail if dma_pool_alloc fails, thus cau

[PATCH 2/3] usb: chipidea: udc: improve error handling on ep_queue

2015-09-18 Thread eu
From: "Felipe F. Tonello" _ep_queue() didn't check for errors when using add_td_to_list() which can fail if dma_pool_alloc fails, thus causing a kernel panic when lastnode->ptr is NULL. Signed-off-by: Felipe F. Tonello --- Changes for v2: - Use separate patch for cleanups. drivers/usb/chip

Re: [PATCH] iommu-common: only compile lib/iommu_common.c for Sparc64

2015-09-18 Thread Andre Przywara
Hi David, On 18/09/15 18:09, David Miller wrote: > From: Andre Przywara > Date: Fri, 18 Sep 2015 10:03:40 +0100 > >> Or do you know of a simpler way to fixing it properly which could make >> it still into 4.3? > > All I worry about is that if you take it out of the build, doing > the proper fix

Re: [PATCH 1/1] PCI/MSI: X-Gene: Remove msi_controller assignment in X-Gene PCIe driver

2015-09-18 Thread Duc Dang
On Fri, Sep 18, 2015 at 1:59 AM, Marc Zyngier wrote: > On Wed, 16 Sep 2015 17:31:40 -0700 > Duc Dang wrote: > >> With commit 8d63bc7beaee ("PCI/MSI: pci-xgene-msi: Get rid of >> struct msi_controller"), it is no longer required to assign >> msi_controller for X-Gene PCIe host bridge to support MS

Re: [PATCH 2/2] usb: gadget: f_midi: check for error on usb_ep_queue

2015-09-18 Thread Felipe Balbi
On Fri, Sep 18, 2015 at 06:12:41PM +0100, e...@felipetonello.com wrote: > From: "Felipe F. Tonello" > > f_midi is not checking weather the is an error on usb_ep_queue > request, ignoring potential problems, such as memory leaks. > > Signed-off-by: Felipe F. Tonello > --- > drivers/usb/gadget/f

Re: [PATCH v9 12/18] vfio: Register/unregister irq_bypass_producer

2015-09-18 Thread Alex Williamson
On Fri, 2015-09-18 at 22:29 +0800, Feng Wu wrote: > This patch adds the registration/unregistration of an > irq_bypass_producer for MSI/MSIx on vfio pci devices. > > Signed-off-by: Feng Wu On nit, Paolo could you please fix the spelling of "registration" in the dev_info, otherwise: Acked-by: Al

Re: [PATCH 1/2] usb: chipidea: udc: improve error handling on ep_queue

2015-09-18 Thread Felipe Balbi
Hi, On Fri, Sep 18, 2015 at 06:12:40PM +0100, e...@felipetonello.com wrote: > From: "Felipe F. Tonello" > > _ep_queue() didn't check for errors when using add_td_to_list() > which can fail if dma_pool_alloc fails, thus causing a kernel > panic when lastnode->ptr is NULL. > > Signed-off-by: Feli

Re: [PATCH] gpio: mention in DT binding doc that -gpio is also supported

2015-09-18 Thread Javier Martinez Canillas
Hello Alexandre, On 09/18/2015 05:44 PM, Alexandre Courbot wrote: > On Thu, Sep 17, 2015 at 10:33 AM, Javier Martinez Canillas > wrote: >> The GPIO DT binding doc mentions that GPIO are mapped by defining >> a -gpios property in the consumer device's node but a -gpio >> sufix is also supported af

[PATCH 2/2] usb: gadget: f_midi: check for error on usb_ep_queue

2015-09-18 Thread eu
From: "Felipe F. Tonello" f_midi is not checking weather the is an error on usb_ep_queue request, ignoring potential problems, such as memory leaks. Signed-off-by: Felipe F. Tonello --- drivers/usb/gadget/function/f_midi.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff

[PATCH 1/2] usb: chipidea: udc: improve error handling on ep_queue

2015-09-18 Thread eu
From: "Felipe F. Tonello" _ep_queue() didn't check for errors when using add_td_to_list() which can fail if dma_pool_alloc fails, thus causing a kernel panic when lastnode->ptr is NULL. Signed-off-by: Felipe F. Tonello --- drivers/usb/chipidea/udc.c | 26 +++--- 1 file chan

[PATCH 0/2] improve error handling on chipidea/udc.c and f_midi.c

2015-09-18 Thread eu
From: "Felipe F. Tonello" Felipe F. Tonello (2): usb: chipidea: udc: improve error handling on ep_queue usb: gadget: f_midi: check for error on usb_ep_queue drivers/usb/chipidea/udc.c | 26 +++--- drivers/usb/gadget/function/f_midi.c | 10 -- 2 files ch

Re: [PATCH] iommu-common: only compile lib/iommu_common.c for Sparc64

2015-09-18 Thread David Miller
From: Andre Przywara Date: Fri, 18 Sep 2015 10:03:40 +0100 > Or do you know of a simpler way to fixing it properly which could make > it still into 4.3? All I worry about is that if you take it out of the build, doing the proper fix will suddenly become very low priority and be forgotten about c

[PATCH 3/3] regulator: vexpress: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/regulator/vexpress.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/vexpress.c b/drivers/regula

[PATCH 1/3] regulator: anatop: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/regulator/anatop-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/anatop-regulator.c

[PATCH 2/3] regulator: gpio: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/regulator/gpio-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/gpio-regulator.c b/d

[PATCH 0/3] regulator: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
Hi, These patches add the missing MODULE_DEVICE_TABLE() for OF to export the information so modules have the correct aliases built-in and autoloading works correctly. A longer explanation by Javier Canillas can be found here: https://lkml.org/lkml/2015/7/30/519 Thanks, Luis Luis de Bethencourt

Re: possible reason: unannotated irqs-off

2015-09-18 Thread Russell King - ARM Linux
On Fri, Sep 18, 2015 at 12:02:15PM -0400, Murali Karicheri wrote: > While chasing a fix for a deadlock in netcp driver with debug options > enabled, i bumped on another warning shown below.. Looks like I need to > enable CONFIG_IRQSOFF_TRACER as well to get rid of this. Have anyone seen > this? My

Re: [PATCH] usb: chipidea: udc: improve error handling on ep_queue and f_midi

2015-09-18 Thread Felipe Balbi
Hi, On Fri, Sep 18, 2015 at 05:48:45PM +0100, e...@felipetonello.com wrote: > From: "Felipe F. Tonello" > > _ep_queue() didn't check for errors when using add_td_to_list() > which can fail if dma_pool_alloc fails, thus causing a kernel > panic when lastnode->ptr is NULL. > > Also f_midi is not

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-18 Thread Christoph Lameter
On Fri, 18 Sep 2015, Oleg Nesterov wrote: > To simplify the discussion lets ignore PF_FROZEN, this is another issue. Ok. Subject: Allow multiple kills from the OOM killer The OOM killer currently aborts if it finds a process that already is having access to the reserve memory pool for exit proc

Re: [PATCH 2/3] PCI: Add quirks for devices found on Cavium ThunderX SoCs.

2015-09-18 Thread David Daney
On 09/18/2015 12:19 AM, Arnd Bergmann wrote: On Thursday 17 September 2015 15:41:33 David Daney wrote: From: David Daney The on-chip devices all have fixed bars. So, fix them up. Signed-off-by: David Daney You should be able to just mark the BARs as fixed in DT In the case of ACPI, the

Re: [RFC v2 3/7] powerpc: atomic: Implement atomic{,64}_{add,sub}_return_* variants

2015-09-18 Thread Will Deacon
On Wed, Sep 16, 2015 at 04:49:31PM +0100, Boqun Feng wrote: > On powerpc, we don't need a general memory barrier to achieve acquire and > release semantics, so __atomic_op_{acquire,release} can be implemented > using "lwsync" and "isync". I'm assuming isync+ctrl isn't transitive, so we need to get

[PATCH] pwm: atmel-hlcdc: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- Hello, This patch adds the missing MODULE_DEVICE_TABLE() for OF to export that information so modules have the correct alias

Docs-next tree move

2015-09-18 Thread Jonathan Corbet
Hi, Stephen, So I've been waiting patiently for years, but it seems that the 2.6.x days just aren't coming back. So I'm moving the docs tree to a repo that doesn't seem quite so dated. At your convenience, could you move over from my linux-2.6.git repo to: git://git.lwn.net/linux.git do

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-18 Thread Oleg Nesterov
On 09/19, Tetsuo Handa wrote: > > Oleg Nesterov wrote: > > To simplify the discussion lets ignore PF_FROZEN, this is another issue. > > > > I am not sure this change is enough, we need to ensure that > > select_bad_process() won't pick the same task (or its sub-thread) again. > > SysRq-f is sometim

Re: ATL1E 0000:02:00.0: swiotlb buffer is full (sz: 529461 bytes)

2015-09-18 Thread Markus Trippelsdorf
On 2015.09.18 at 16:42 +, Chris Snook wrote: > I think atl1e is the victim here, not the cause. It's probably the last > device being brought up that wants to use the swiotlb, so you haven't seen > other devices failing for the same reason. Can you post your dmesg or boot > log from both a boot

Re: [RFC][PATCH] Add spurious wakeup quirk for Lynxpoint controllers

2015-09-18 Thread Laura Abbott
On 09/18/2015 03:18 AM, Mathias Nyman wrote: On 10.09.2015 20:27, Laura Abbott wrote: We received several reports of systems rebooting and powering on after an attempted shutdown. Testing showed that setting XHCI_SPURIOUS_WAKEUP quirk in addition to the XHCI_SPURIOUS_REBOOT quirk allowed the sy

Re: [PATCH 1/2 v2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-18 Thread Dan Williams
On Tue, 2015-09-15 at 17:18 +0200, Ondrej Zary wrote: > IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as > wpa_supplicant uses it for both no encryption and WEP open system. > Cache the last mode set (only of these two) and use it here. > > This allows wpa_supplicant to work with unencr

[PATCH] tps65090-charger: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- Hello, This patch adds the missing MODULE_DEVICE_TABLE() for OF to export that information so modules have the correct aliase

[PATCH] Staging: comedi: Fix coding style issues

2015-09-18 Thread Punit Vara
This patch is to comedidev.h file that fixes up following warnings reported by checkpatch.pl : -Block comments use a trailing */ on a separate line -Block comments use * on subsequent lines Signed-off-by: Punit Vara --- drivers/staging/comedi/comedidev.h | 62 ---

[PATCH] PM / AVS: rockchip-io: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- Hello, This patch adds the missing MODULE_DEVICE_TABLE() for OF to export that information so modules have the correct aliase

Re: [PATCHv2] SUNRPC: Fix a race in xs_reset_transport

2015-09-18 Thread Trond Myklebust
On Fri, 2015-09-18 at 12:19 +0100, Suzuki K. Poulose wrote: > On 16/09/15 12:17, Jeff Layton wrote: > > On Wed, 16 Sep 2015 10:35:49 +0100 > > "Suzuki K. Poulose" wrote: > > > > > From: "Suzuki K. Poulose" > > > > > ... > > > > + write_unlock_bh(&sk->sk_callback_lock); > > > +

Re: sync issues in 4.3-rc1?

2015-09-18 Thread Bityutskiy, Artem
On Fri, 2015-09-18 at 19:46 +0300, Artem Bityutskiy wrote: > Hi, > > I observe a problem in 4.3-rc1 which looks like there are issues with > sync - it does not really sync all. The FS is ext4, a plain partition mounted (no lvm, no encryption, etc). The disk is SATA SSD, but I believe I observed t

[PATCH] usb: chipidea: udc: improve error handling on ep_queue and f_midi

2015-09-18 Thread eu
From: "Felipe F. Tonello" _ep_queue() didn't check for errors when using add_td_to_list() which can fail if dma_pool_alloc fails, thus causing a kernel panic when lastnode->ptr is NULL. Also f_midi is not checking weather the is an error on usb_ep_queue request, ignoring potential problems, such

sync issues in 4.3-rc1?

2015-09-18 Thread Artem Bityutskiy
Hi, I observe a problem in 4.3-rc1 which looks like there are issues with sync - it does not really sync all. It is Firday night here, and I am dropping a quick report, I did not spend much time investigating it. Symptoms: 1. I Run v4.3-rc1 + Fedora 22, most FC22 services disabled, no GUI, min

[PATCH v2] ARM: pxa: mioa701: add wm9713 codec

2015-09-18 Thread Robert Jarzmik
The mioa701 is using the wm9713 for audio, battery and touchscreen. Add the missing audio part, which disappeared. Signed-off-by: Robert Jarzmik --- Since v1: Igor's catch of subject prefix issue --- arch/arm/mach-pxa/mioa701.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-

Re: [PATCH v2 1/3] net: irda: pxaficp_ir: use sched_clock() for time management

2015-09-18 Thread Robert Jarzmik
David Miller writes: >> My understanding is that the flow will be : >> sched_clock() >>rd->read_sched_clock() (cyc_to_ns() transformed for return) >> pxa_read_sched_clock() >>readl_relaxed(OSCR) >> >> I didn't see any timings issue, as the flow looks equivalent to the >> readl

Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-18 Thread Chen-Yu Tsai
On Fri, Sep 18, 2015 at 4:48 PM, Maxime Ripard wrote: > The C.H.I.P. is a small SBC with an Allwinner R8, 8GB of NAND, 512MB of > RAM, USB host and OTG, a wifi / bluetooth combo chip, an audio/video jack > and two connectors to plug additional boards on top of it. > > Signed-off-by: Maxime Ripard

Re: [PATCH] pramdisk: new block disk driver to perform persistent storage

2015-09-18 Thread Dan Williams
On Fri, Sep 18, 2015 at 9:18 AM, Ross Zwisler wrote: > On Fri, Sep 18, 2015 at 03:46:30PM +0800, Lin Yongting wrote: >> In embed devices, user space applications will use reserved memory >> (i.e. persistent memory) to store business data, the data is kept >> in this memory region after system rebo

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-18 Thread Tetsuo Handa
Oleg Nesterov wrote: > To simplify the discussion lets ignore PF_FROZEN, this is another issue. > > I am not sure this change is enough, we need to ensure that > select_bad_process() won't pick the same task (or its sub-thread) again. SysRq-f is sometimes unusable because it continues choosing th

[RFC PATCH 02/20] coresight: etm3x: implementing 'is_enabled()' API

2015-09-18 Thread Mathieu Poirier
Adding an interface to lookup the status of a tracer along with a source operation allowing external customers to access it. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm3x.c | 13 + include/linux/coresight.h | 2 ++ 2 files changed

[RFC PATCH 03/20] coresight: etm3x: implementing 'cpu_id()' API

2015-09-18 Thread Mathieu Poirier
Adding an interface to lookup the CPU a tracer has been affined to along with a source operation allowing external customers to access it. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm3x.c | 14 ++ include/linux/coresight.h | 3 +++

[RFC PATCH 00/20] Coresight integration with perf

2015-09-18 Thread Mathieu Poirier
This patchset aims to integrate configuration and control of the Coresight tracers with the perf sub-system. The goal is to use PMUs to represent tracers and the auxiliary buffer enhancement to collect processor traces. As such a lot of work is done to move the current Coresight sysFS oriented co

[RFC PATCH 04/20] coresight: etm3x: using chip logic to start/stop traces

2015-09-18 Thread Mathieu Poirier
Driving the external ETMEN pins to start and stop trace collection isn't reliable when doing rapid, successive trace collection runs. Using the internal event enable register logic to control tracing is much more dependable. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresig

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Paul E. McKenney
On Fri, Sep 18, 2015 at 10:57:32AM +0200, Peter Zijlstra wrote: > On Fri, Sep 18, 2015 at 10:51:56AM +0200, Peter Zijlstra wrote: > > That would upgrade the atomic_read() path to a full READ_ONCE_CTRL(), > > and thereby avoid any of the kmem_cache_free() stores from leaking out. > > That said, on

[RFC PATCH 07/20] coresight: etb10: implementing the setup_aux() API

2015-09-18 Thread Mathieu Poirier
Adding an ETB10 specific auxiliary area setup operation to be used by the perf framework when events are initialised. Part of this operation involves modeling the mmap'ed area based on the specific ways a sink buffer gathers information. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/core

[RFC PATCH 01/20] coresight: etm3x: splitting 'etm_enable_hw()' operations

2015-09-18 Thread Mathieu Poirier
When dealing with other kernel subsystems or automated tools it is desirable to split the current etm_enable_hw() operation in three: power up, configuration and enabling of the tracer. That way it is possible to have more control on the operations done by a tracer. Signed-off-by: Mathieu Poirier

Linux 2.6.32.68

2015-09-18 Thread Willy Tarreau
I've just released Linux 2.6.32.68. As a reminder users are urged to upgrade to a more recent LTS branch as 2.6.32 support will end in a few months. Check here to find all currently maintained LTS branches : https://www.kernel.org/category/releases.html The patch and changelog will appear soon

[RFC PATCH 05/20] coresight: etm3x: adapting default tracer setting for perf

2015-09-18 Thread Mathieu Poirier
The perf command line tool has options to trace in kernel or user space mode. As such configuring tracers to trace the entire address range, leaving to the perf mechanic the task of collecting traces in accordance with the requested mode. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/cor

[RFC PATCH 08/20] coresight: etb10: implementing buffer set and unset APIs

2015-09-18 Thread Mathieu Poirier
Implementing perf related APIs to activate and terminate a trace session. More specifically dealing with the sink buffer's internal mechanic along with perf's API to start and stop interactions with the ring buffers. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etb10

Re: [PATCH 3.12 00/33] 3.12.48-stable review

2015-09-18 Thread Rustad, Mark D
> On Sep 18, 2015, at 1:11 AM, Jiri Slaby wrote: > > On 09/15/2015, 06:12 PM, Shuah Khan wrote: >> >> >> Jiri, >> >> I am seeing problems during PCI scans with this patch. I had >> to boot it in recovery mode once and it is booting fine after >> that, however, this is a concern >> >> Could th

[RFC PATCH 09/20] coresight: etb10: implementing buffer update API

2015-09-18 Thread Mathieu Poirier
Implementing buffer API to update the location of the ETB internal ring buffer once a trace session has ended. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etb10.c | 113 ++ include/linux/coresight.h | 3 + 2 files changed

[RFC PATCH 10/20] coresight: etb10: adding snapshot mode feature

2015-09-18 Thread Mathieu Poirier
Snapshot mode works by accumulating traces in the ring buffer until a user-space controlled event occurs. Traces are allowed to wrap around when the end of the ring buffer has been reached, providing the latest and greatest information at all time. This patch implements this feature by not checki

[RFC PATCH 11/20] coresight: making coresight_build_paths() public

2015-09-18 Thread Mathieu Poirier
That way a path can be built outside of the core framework, something useful when a PMU is initialised from the perf sub system. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-priv.h | 3 +++ drivers/hwtracing/coresight/coresight.c | 5 ++--- 2 files changed, 5 ins

[RFC PATCH 14/20] coresight: etm-perf: implementing 'event_init()' API

2015-09-18 Thread Mathieu Poirier
Enhancing skeleton PMU with event initialisation. The function makes sure tracers aren't already enabled before going through with the powe up and configuration sequences. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etm-perf.c | 176 +++ 1 file c

[RFC PATCH 12/20] coresight: keeping track of enabled sink buffers

2015-09-18 Thread Mathieu Poirier
Keep track of enabled sink buffers as paths between source and sinks are being built. That way sinks associated to a source can be accessed quickly. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-priv.h | 3 ++- drivers/hwtracing/coresight/coresight.c | 11 ++

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-18 Thread Oleg Nesterov
On 09/18, Christoph Lameter wrote: > > > But yes, such a deadlock is possible. I would really like to see the > > comments > > from maintainers. In particular, I seem to recall that someone suggested to > > try to kill another !TIF_MEMDIE process after timeout, perhaps this is what > > we should a

[RFC PATCH 13/20] coresight: etm-perf: new PMU driver for ETM tracers

2015-09-18 Thread Mathieu Poirier
Perf is a well known and used tool for performance monitoring and much more. A such it is an ideal condaditate for integration with coresight based HW tracing. This patch introduce a minimal PMU that represent a coresight tracer to the Perf core. Signed-off-by: Mathieu Poirier --- MAINTAINERS

[RFC PATCH 15/20] coresight: etm-perf: implementing 'setup_aux()' API

2015-09-18 Thread Mathieu Poirier
Before trace can be collected the PMU needs to get a handle on the mmpap'ed memory that was granted. Since the collection of traces can be done by sink buffers of various types, representation of the memory layout is done at the sink level rather than the tracer PMU driver. Signed-off-by: Mathieu

[RFC PATCH 20/20] coresight: updating documentation to reflect integration with perf

2015-09-18 Thread Mathieu Poirier
Adding a new section giving information on how coresight has been integrated with the perf subsystem along with a general idea of how to control tracing from the perf tool cmd line. Signed-off-by: Mathieu Poirier --- Documentation/trace/coresight.txt | 116 +-

[RFC PATCH 19/20] coresight: etm3x: implementing perf's user/kernel mode

2015-09-18 Thread Mathieu Poirier
Configure tracers in accordance with the specification conveyed by the perf cmd line tool. For example if only user space is requested, configure the address range comparator with the kerne's address range and set the 'exclude' bit, which will result in tracing everything except the kernel. Signe

[RFC PATCH 17/20] coresight: etm-perf: adding symbolic link for CPUs

2015-09-18 Thread Mathieu Poirier
Other than probing each device entry under /sys/bus/coresight/devices/, there is no way for user space to know which CPU is associated to which tracer. But knowing those association is important to discover tracer specifics and configuration options. As such introducing a symbolic link under /sys

[RFC PATCH 18/20] coresight: etm3x: pushing down perf configuration to tracer

2015-09-18 Thread Mathieu Poirier
The perf command line tool supports configuration for cycle accurate and timestamps. Configuration for those field is found in the 'config' field of the event configuration attributes. Since the bit fields were organised to match, the only thing that is needed is to make sure no extra fields were

[RFC PATCH 06/20] coresight: etm3x: unlocking tracer in default arch init

2015-09-18 Thread Mathieu Poirier
Calling function 'smp_call_function_single()' to unlock the tracer and calling it right after to perform the default initialisation doesn't make sense. Moving 'etm_os_unlock()' just before making the default initialisation results in the same outcome while saving one call to 'smp_call_function_sin

[RFC PATCH 16/20] coresight: etm-perf: implementing trace related APIs

2015-09-18 Thread Mathieu Poirier
Implementing the API that connect trace control, i.e initiation and termination, to the Perf core. That way trace collection can be started when the process it is associated to is executed by a CPU, and stopped when yanked away. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/cor

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Paul E. McKenney
On Fri, Sep 18, 2015 at 03:46:30PM +0200, Peter Zijlstra wrote: > On Fri, Sep 18, 2015 at 03:28:44PM +0200, Oleg Nesterov wrote: > > On 09/18, Peter Zijlstra wrote: > > > > > > On Thu, Sep 17, 2015 at 08:09:19PM +0200, Oleg Nesterov wrote: > > > > > > > I need to recheck, but afaics this is not pos

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Peter Zijlstra
On Fri, Sep 18, 2015 at 09:15:34AM -0700, Eric Dumazet wrote: > On Fri, 2015-09-18 at 13:22 +0200, Peter Zijlstra wrote: > > +static inline int atomic_read_ctrl(atomic_t *v) > > const atomic_t *v Good point, lemme also fix up ATOMIC_LONG_READ_OP(). -- To unsubscribe from this list: send the line

Re: [linux-sunxi] [PATCH 3/4] ARM: dts: sun8i: Enable PWM controller on A23/A33 Q8 format tablets

2015-09-18 Thread Chen-Yu Tsai
On Fri, Sep 18, 2015 at 11:32 PM, Hans de Goede wrote: > Hi, > > On 09/18/2015 03:35 AM, Chen-Yu Tsai wrote: >> >> A23/A33 based Q8 format tablets use channel 0 of the PWM controller for >> backlight dimming. >> >> Signed-off-by: Chen-Yu Tsai >> --- >> arch/arm/boot/dts/sun8i-q8-common.dtsi | 6

[PATCH] Staging: Comedi: Fix coding style issue in comedi_pcmcia.h

2015-09-18 Thread Punit Vara
This patch is to comedi_pcmcia.h that fixes up warning related character limitation given by checkpatch.pl. Warning " line over 80 characters" is removed now. Signed-off-by: Punit Vara --- drivers/staging/comedi/comedi_pcmcia.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: problem with "serial" driver in kernel 3.16.0

2015-09-18 Thread Greg KH
On Fri, Sep 18, 2015 at 11:24:05AM +0200, Wolfgang Wilhelm wrote: > Thankyou very much for your quick answers. I searched now > in the linux sources for the problem and I think I could find it > in the file linux-source-3.16/drivers/tty/serial/8250/8250_pci.c > > There is a function serial_pci_g

Re: [PATCH v2 4/7] hwrng: st: Provide DT bindings for ST's Random Number Generator

2015-09-18 Thread Lee Jones
On 18 September 2015 at 17:21, Stephen Boyd wrote: > On 09/17/2015 06:45 AM, Lee Jones wrote: >> Signed-off-by: Lee Jones >> --- >> Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++ >> 1 file changed, 15 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/

[PATCH] phy: berlin-sata: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- Hello, This patch adds the missing MODULE_DEVICE_TABLE() for OF to export that information so modules have the correct aliase

Re: [PATCH v2 4/7] hwrng: st: Provide DT bindings for ST's Random Number Generator

2015-09-18 Thread Stephen Boyd
On 09/17/2015 06:45 AM, Lee Jones wrote: > Signed-off-by: Lee Jones > --- > Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++ > 1 file changed, 15 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt > > diff --git a/Documentation/devicetree/bi

Re: [PATCH v2 5/8] lib: introduce sg_nents_len_chained

2015-09-18 Thread Tony Battersby
On 09/18/2015 08:57 AM, LABBE Corentin wrote: > + for (nents = 0, total = 0; sg; sg = sg_next(sg)) { > + nents++; > + total += sg->length; > + if (!sg_is_last(sg) && (sg + 1)->length == 0 && chained) > + *chained = true; > + if

Re: [linux-sunxi] [PATCH 2/4] ARM: dts: sun8i: Add PWM channel 0 pinmux setting for A23/A33

2015-09-18 Thread Chen-Yu Tsai
On Fri, Sep 18, 2015 at 11:30 PM, Hans de Goede wrote: > Hi, > > On 09/18/2015 03:35 AM, Chen-Yu Tsai wrote: >> >> The PWM controller has 2 outputs, with one usable pin for each. >> >> Add a pinmux setting for the first channel. This is often used >> for backlight dimming on tablets. >> >> Signed-

Re: [PATCH] pramdisk: new block disk driver to perform persistent storage

2015-09-18 Thread Ross Zwisler
On Fri, Sep 18, 2015 at 03:46:30PM +0800, Lin Yongting wrote: > In embed devices, user space applications will use reserved memory > (i.e. persistent memory) to store business data, the data is kept > in this memory region after system rebooting or panic. > > pramdisk is a block disk driver based

Re: [PATCH v8 03/13] KVM: Define a new interface kvm_intr_is_single_vcpu()

2015-09-18 Thread Paolo Bonzini
On 18/09/2015 18:16, Radim Krčmář wrote: >>> >> Ok, I was wondering whether this was the correct interpretation. Thanks! >> > >> > Paolo, I don't think Radim clarify your concern, right? Since mda is >> > 8-bit, it >> > is wrong with mda >> 16, this is your concern, right? > In case it was: m

[PATCH 2/2] net: phy: mdio-gpio: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/net/phy/mdio-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/

[PATCH 1/2] net: phy: mdio-bcm-unimac: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/net/phy/mdio-bcm-unimac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/mdio-bcm-unimac.c b/dri

RE: [PATCH] infiniband:core:Fix error handling in the function cm_lap_handler

2015-09-18 Thread Hefty, Sean
> diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c > index ea4db9c..8fab3a7 100644 > --- a/drivers/infiniband/core/cm.c > +++ b/drivers/infiniband/core/cm.c > @@ -2812,7 +2812,12 @@ static int cm_lap_handler(struct cm_work *work) > cm_init_av_for_response(work->port, w

Re: [PATCH v8 03/13] KVM: Define a new interface kvm_intr_is_single_vcpu()

2015-09-18 Thread Radim Krčmář
2015-09-17 23:18+, Wu, Feng: >> From: Paolo Bonzini [mailto:pbonz...@redhat.com] >> On 17/09/2015 17:58, Radim Krčmář wrote: >>> xAPIC address are only 8 bit long so they always get delivered to x2APIC >>> cluster 0, where first 16 bits work like xAPIC flat logical mode. >> >> Ok, I was wonder

[PATCH 0/2] net: phy: Fix module autoload for OF platform drivers

2015-09-18 Thread Luis de Bethencourt
Hi, These patches add the missing MODULE_DEVICE_TABLE() for OF to export the information so modules have the correct aliases built-in and autoloading works correctly. A longer explanation by Javier Canillas can be found here: https://lkml.org/lkml/2015/7/30/519 Sorry if these two patches should'

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Eric Dumazet
On Fri, 2015-09-18 at 13:22 +0200, Peter Zijlstra wrote: ... > > +#ifndef atomic_read_ctrl > +static inline int atomic_read_ctrl(atomic_t *v) const atomic_t *v > +{ > + int val = atomic_read(v); > + smp_read_barrier_depends(); /* Enforce control dependency. */ > + return val; > +}

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-18 Thread Linus Torvalds
On Fri, Sep 18, 2015 at 8:59 AM, Peter Zijlstra wrote: > > See PREEMPT_ACTIVE being a recursion flag, we set it there so we won't > preempt while we're already scheduling. PREEMPT_ACTIVE does more than that. It really is a sign that "this is not synchronous". It causes the scheduler to ignore the

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-18 Thread Peter Zijlstra
On Fri, Sep 18, 2015 at 05:59:56PM +0200, Peter Zijlstra wrote: > > - if it's not an actual PREEMPT_ACTIVE (ie in a random place) > > PREEMPT_ACTIVE is actually a recursion flag, 'random place' does not > factor into it. That is, most 'random places' will not have > PREEMPT_ACTIVE set. Ah, _not_

[PATCH] irq_remapping: move structs outside #ifdef

2015-09-18 Thread Paolo Bonzini
This is friendlier to clients of the code, who are going to prepare vcpu_data structs unconditionally, even if CONFIG_IRQ_REMAP is not defined. Signed-off-by: Paolo Bonzini --- Please ack, I'd like to include it in the 4.4 pull request. arch/x86/include/asm/irq_remapping.h | 10 +---

Re: [PATCH v9 17/18] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-09-18 Thread Paolo Bonzini
On 18/09/2015 16:29, Feng Wu wrote: > 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: F

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-18 Thread Peter Zijlstra
On Fri, Sep 18, 2015 at 08:32:15AM -0700, Linus Torvalds wrote: > Actually, even a *full* schedule doesn't unplug, unless the process is > going to sleep. See sched_submit_work(), which will only call the > unplugging if the process is actually going to sleep (ok, so it's a > bit subtle if you do

Re: [PATCH] README: Add ARC architecture

2015-09-18 Thread Jonathan Corbet
On Mon, 14 Sep 2015 09:05:42 -0700 Vineet Gupta wrote: > ARC support was added back in 2013 but I missed updating here Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCH] Doc:misc-devices: Fix typo in Documentation/misc-devices

2015-09-18 Thread Jonathan Corbet
On Thu, 17 Sep 2015 00:54:58 +0900 Masanari Iida wrote: > This patch fix spelling typos in Documentation/misc-devices. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCH 2/5] cgroup, memcg, cpuset: implement cgroup_taskset_for_each_leader()

2015-09-18 Thread Tejun Heo
On Mon, Sep 14, 2015 at 04:49:07PM -0400, Tejun Heo wrote: > Michal, if you're okay with this patch, I'll apply the patchset in > cgroup/for-4.4. Michal? -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[PATCH 2/6] net: systemport: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/net/ethernet/broadcom/bcmsysport.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/broadcom/b

<    1   2   3   4   5   6   7   8   9   >