Re: [PATCH v6 1/3] PCI: Add Precision Time Measurement (PTM) support

2016-08-15 Thread Bjorn Helgaas
Hi Jonathan, On Wed, Aug 10, 2016 at 10:58:22AM +0800, Yong, Jonathan wrote: > On 06/14/2016 03:05, Bjorn Helgaas wrote: > > From: Jonathan Yong > > > > Add Precision Time Measurement (PTM) support (see PCIe r3.1, sec 6.22). > > > > Enable PTM on PTM Root devices and

Re: [PATCH v6 1/3] PCI: Add Precision Time Measurement (PTM) support

2016-08-15 Thread Bjorn Helgaas
Hi Jonathan, On Wed, Aug 10, 2016 at 10:58:22AM +0800, Yong, Jonathan wrote: > On 06/14/2016 03:05, Bjorn Helgaas wrote: > > From: Jonathan Yong > > > > Add Precision Time Measurement (PTM) support (see PCIe r3.1, sec 6.22). > > > > Enable PTM on PTM Root devices and switch ports. This does

Re: [PATCH] fjes: Delete owner assignment

2016-08-15 Thread David Miller
From: SF Markus Elfring Date: Mon, 15 Aug 2016 08:44:19 +0200 > From: Markus Elfring > Date: Mon, 15 Aug 2016 08:34:56 +0200 > > The field "owner" is set by core. Thus delete an extra initialisation. > > Generated by:

Re: [PATCH] fjes: Delete owner assignment

2016-08-15 Thread David Miller
From: SF Markus Elfring Date: Mon, 15 Aug 2016 08:44:19 +0200 > From: Markus Elfring > Date: Mon, 15 Aug 2016 08:34:56 +0200 > > The field "owner" is set by core. Thus delete an extra initialisation. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > Signed-off-by: Markus

BUG and WARN kernel log levels

2016-08-15 Thread Kees Cook
Hi, So, I noticed that asm-gemeric/bug.h defines BUG() without a log level: #ifndef HAVE_ARCH_BUG #define BUG() do { \ printk("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __func__); \ Seems like it should have one? Also, I think we might want to examine WARN() a bit... it

BUG and WARN kernel log levels

2016-08-15 Thread Kees Cook
Hi, So, I noticed that asm-gemeric/bug.h defines BUG() without a log level: #ifndef HAVE_ARCH_BUG #define BUG() do { \ printk("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __func__); \ Seems like it should have one? Also, I think we might want to examine WARN() a bit... it

Re: [PATCH v6 0/3] PCI: Precision Time Measurement support

2016-08-15 Thread Bjorn Helgaas
On Wed, Jul 20, 2016 at 07:49:21AM +0800, Yong, Jonathan wrote: > On 07/20/2016 05:19, Bjorn Helgaas wrote: > > On Mon, Jun 13, 2016 at 02:05:26PM -0500, Bjorn Helgaas wrote: > >> This is a slightly different proposal for the PTM support Jonathan > >> proposed here: > >> > >> > >>

Re: [PATCH v6 0/3] PCI: Precision Time Measurement support

2016-08-15 Thread Bjorn Helgaas
On Wed, Jul 20, 2016 at 07:49:21AM +0800, Yong, Jonathan wrote: > On 07/20/2016 05:19, Bjorn Helgaas wrote: > > On Mon, Jun 13, 2016 at 02:05:26PM -0500, Bjorn Helgaas wrote: > >> This is a slightly different proposal for the PTM support Jonathan > >> proposed here: > >> > >> > >>

Re: [PATCH] Map in physical addresses in efi_map_region_fixed

2016-08-15 Thread Alex Thorlton
On Mon, Aug 15, 2016 at 05:07:09PM +0200, Borislav Petkov wrote: > On Mon, Aug 15, 2016 at 01:42:58PM +0100, Matt Fleming wrote: > > (Cc'ing Boris and Dave) > > > > On Fri, 05 Aug, at 06:59:35PM, Alex Thorlton wrote: > > > This is a simple change to add in the physical mappings as well as the > >

Re: [PATCH] Map in physical addresses in efi_map_region_fixed

2016-08-15 Thread Alex Thorlton
On Mon, Aug 15, 2016 at 05:07:09PM +0200, Borislav Petkov wrote: > On Mon, Aug 15, 2016 at 01:42:58PM +0100, Matt Fleming wrote: > > (Cc'ing Boris and Dave) > > > > On Fri, 05 Aug, at 06:59:35PM, Alex Thorlton wrote: > > > This is a simple change to add in the physical mappings as well as the > >

Re: [PATCH] USB: core: of: Check device_node before parsing in usb_of_get_child_node()

2016-08-15 Thread Greg KH
On Mon, Aug 15, 2016 at 11:31:10AM -0700, Vaibhav Hiremath wrote: > In case of HUB devices connected to USB ports, we may not have DT > node representing it inside USB, and when devices connected to hub > gets enumerated, call to usb_of_get_child_node() leads to NULL pointer > dereference.

Re: [PATCH] USB: core: of: Check device_node before parsing in usb_of_get_child_node()

2016-08-15 Thread Greg KH
On Mon, Aug 15, 2016 at 11:31:10AM -0700, Vaibhav Hiremath wrote: > In case of HUB devices connected to USB ports, we may not have DT > node representing it inside USB, and when devices connected to hub > gets enumerated, call to usb_of_get_child_node() leads to NULL pointer > dereference.

[PATCH] USB: core: of: Check device_node before parsing in usb_of_get_child_node()

2016-08-15 Thread Vaibhav Hiremath
In case of HUB devices connected to USB ports, we may not have DT node representing it inside USB, and when devices connected to hub gets enumerated, call to usb_of_get_child_node() leads to NULL pointer dereference. In the usecase we have, where EHCI port is connected to USB HUB device, and

[PATCH] USB: core: of: Check device_node before parsing in usb_of_get_child_node()

2016-08-15 Thread Vaibhav Hiremath
In case of HUB devices connected to USB ports, we may not have DT node representing it inside USB, and when devices connected to hub gets enumerated, call to usb_of_get_child_node() leads to NULL pointer dereference. In the usecase we have, where EHCI port is connected to USB HUB device, and

Re: [PATCH v3 16/51] x86/32: put real return address on stack in entry code

2016-08-15 Thread Josh Poimboeuf
On Mon, Aug 15, 2016 at 11:04:42AM -0700, H. Peter Anvin wrote: > On 08/15/16 08:09, Josh Poimboeuf wrote: > > On Sun, Aug 14, 2016 at 12:31:47AM -0700, Andy Lutomirski wrote: > >> On Fri, Aug 12, 2016 at 7:28 AM, Josh Poimboeuf > >> wrote: > >>> This standardizes the stacks

Re: [PATCH v3 16/51] x86/32: put real return address on stack in entry code

2016-08-15 Thread Josh Poimboeuf
On Mon, Aug 15, 2016 at 11:04:42AM -0700, H. Peter Anvin wrote: > On 08/15/16 08:09, Josh Poimboeuf wrote: > > On Sun, Aug 14, 2016 at 12:31:47AM -0700, Andy Lutomirski wrote: > >> On Fri, Aug 12, 2016 at 7:28 AM, Josh Poimboeuf > >> wrote: > >>> This standardizes the stacks of idle tasks to be

Re: [PATCH v3] block: make sure big bio is splitted into at most 256 bvecs

2016-08-15 Thread Christoph Hellwig
On Mon, Aug 15, 2016 at 11:11:22PM +0800, Ming Lei wrote: > After arbitrary bio size is supported, the incoming bio may > be very big. We have to split the bio into small bios so that > each holds at most BIO_MAX_PAGES bvecs for safety reason, such > as bio_clone(). I still think working around a

Re: [PATCH v3] block: make sure big bio is splitted into at most 256 bvecs

2016-08-15 Thread Christoph Hellwig
On Mon, Aug 15, 2016 at 11:11:22PM +0800, Ming Lei wrote: > After arbitrary bio size is supported, the incoming bio may > be very big. We have to split the bio into small bios so that > each holds at most BIO_MAX_PAGES bvecs for safety reason, such > as bio_clone(). I still think working around a

[PATCH] Documentation/x86_64: Fix a thread stack size

2016-08-15 Thread Alexander Kuleshov
current information about THREAD_SIZE value is obsoleted. This patch fixes this. Signed-off-by: Alexander Kuleshov --- Documentation/x86/kernel-stacks | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/x86/kernel-stacks

[PATCH] Documentation/x86_64: Fix a thread stack size

2016-08-15 Thread Alexander Kuleshov
current information about THREAD_SIZE value is obsoleted. This patch fixes this. Signed-off-by: Alexander Kuleshov --- Documentation/x86/kernel-stacks | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/x86/kernel-stacks b/Documentation/x86/kernel-stacks index

Re: [PATCH v7 1/2] mtd: nand_bbt: Move BBT block selection logic out of write_bbt()

2016-08-15 Thread Kyle Roeschley
On Sat, Aug 13, 2016 at 12:37:03AM +0200, Boris Brezillon wrote: > On Fri, 12 Aug 2016 16:58:22 -0500 > Kyle Roeschley wrote: > [...] > > + while (chip < nrchips) { > > I'm probably missing something, but why are you turning the for loop > into a while loop in this

Re: [PATCH v7 1/2] mtd: nand_bbt: Move BBT block selection logic out of write_bbt()

2016-08-15 Thread Kyle Roeschley
On Sat, Aug 13, 2016 at 12:37:03AM +0200, Boris Brezillon wrote: > On Fri, 12 Aug 2016 16:58:22 -0500 > Kyle Roeschley wrote: > [...] > > + while (chip < nrchips) { > > I'm probably missing something, but why are you turning the for loop > into a while loop in this patch? The commit message

[PATCH v2] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Krzysztof Kozlowski
Change my email address to kernel.org account instead of Samsung one. Also switch Maxim MUIC charger drivers from supported to maintained mode. Signed-off-by: Krzysztof Kozlowski Cc: Kukjin Kim Cc: linux-samsung-...@vger.kernel.org --- Changes since v1: 1.

[PATCH v2] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Krzysztof Kozlowski
Change my email address to kernel.org account instead of Samsung one. Also switch Maxim MUIC charger drivers from supported to maintained mode. Signed-off-by: Krzysztof Kozlowski Cc: Kukjin Kim Cc: linux-samsung-...@vger.kernel.org --- Changes since v1: 1. Update also mailmap after Joe

Re: [PATCH] block: Fix secure erase

2016-08-15 Thread Christoph Hellwig
On Mon, Aug 15, 2016 at 12:16:30PM -0600, Jens Axboe wrote: >> This really should be a: >> >> if (req_op(rq) != req_op(pos)) >> >> I'l lleave it up to Jens if he wants that in this patch or not, otherwise >> I'll send an incremental patch. > > Let's get a v2 with that fixed up, it makes a big

Re: [PATCH] block: Fix secure erase

2016-08-15 Thread Christoph Hellwig
On Mon, Aug 15, 2016 at 12:16:30PM -0600, Jens Axboe wrote: >> This really should be a: >> >> if (req_op(rq) != req_op(pos)) >> >> I'l lleave it up to Jens if he wants that in this patch or not, otherwise >> I'll send an incremental patch. > > Let's get a v2 with that fixed up, it makes a big

[PATCH RFC] perf tools: Adding event type for HW tracers

2016-08-15 Thread Mathieu Poirier
It is now possible to use the kernel's perf filter framework to reduce the amount of trace collected by IntelPT and CoreSight tracers. To collect address filter specifics from the perf tool command line function parse_filter() is used, which in turn calls set_filter(). In the latter only events

[PATCH RFC] perf tools: Adding event type for HW tracers

2016-08-15 Thread Mathieu Poirier
It is now possible to use the kernel's perf filter framework to reduce the amount of trace collected by IntelPT and CoreSight tracers. To collect address filter specifics from the perf tool command line function parse_filter() is used, which in turn calls set_filter(). In the latter only events

Re: [ANNOUNCE] git-series: track changes to a patch series over time

2016-08-15 Thread Simon Glass
Hi Josh, On 1 August 2016 at 12:37, Josh Triplett wrote: > On Mon, Aug 01, 2016 at 09:14:54AM -0600, Stephen Warren wrote: >> On 07/29/2016 12:40 AM, Josh Triplett wrote: >> > I'd like to announce a project I've been working on for a while: >> > >> > git-series provides a

Re: [ANNOUNCE] git-series: track changes to a patch series over time

2016-08-15 Thread Simon Glass
Hi Josh, On 1 August 2016 at 12:37, Josh Triplett wrote: > On Mon, Aug 01, 2016 at 09:14:54AM -0600, Stephen Warren wrote: >> On 07/29/2016 12:40 AM, Josh Triplett wrote: >> > I'd like to announce a project I've been working on for a while: >> > >> > git-series provides a tool for managing patch

Re: [PATCH] block: Fix secure erase

2016-08-15 Thread Jens Axboe
On 08/15/2016 12:13 PM, Christoph Hellwig wrote: --- a/block/elevator.c +++ b/block/elevator.c @@ -366,7 +366,10 @@ void elv_dispatch_sort(struct request_queue *q, struct request *rq) list_for_each_prev(entry, >queue_head) { struct request *pos = list_entry_rq(entry); -

Re: [PATCH] block: Fix secure erase

2016-08-15 Thread Jens Axboe
On 08/15/2016 12:13 PM, Christoph Hellwig wrote: --- a/block/elevator.c +++ b/block/elevator.c @@ -366,7 +366,10 @@ void elv_dispatch_sort(struct request_queue *q, struct request *rq) list_for_each_prev(entry, >queue_head) { struct request *pos = list_entry_rq(entry); -

Re: [PATCH v9 06/10] clk: mediatek: Add MT2701 clock support

2016-08-15 Thread Stephen Boyd
On 08/15, James Liao wrote: > On Fri, 2016-08-12 at 17:44 -0700, Stephen Boyd wrote: > > On 06/22, Erin Lo wrote: > > > + > > > +static void mtk_bdpsys_init(struct device_node *node) > > > +{ > > > + struct clk_onecell_data *clk_data; > > > + int r; > > > + > > > + clk_data =

Re: [PATCH v9 06/10] clk: mediatek: Add MT2701 clock support

2016-08-15 Thread Stephen Boyd
On 08/15, James Liao wrote: > On Fri, 2016-08-12 at 17:44 -0700, Stephen Boyd wrote: > > On 06/22, Erin Lo wrote: > > > + > > > +static void mtk_bdpsys_init(struct device_node *node) > > > +{ > > > + struct clk_onecell_data *clk_data; > > > + int r; > > > + > > > + clk_data =

[PATCH] soc: qcom: smd: Represent smd edges as devices

2016-08-15 Thread Bjorn Andersson
By representing each edge as its own device the channels are no longer tied to being parented by the same smd device and as such an edge can live as children of e.g. remoteproc instances. Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/smd.c | 197

[PATCH] soc: qcom: smd: Represent smd edges as devices

2016-08-15 Thread Bjorn Andersson
By representing each edge as its own device the channels are no longer tied to being parented by the same smd device and as such an edge can live as children of e.g. remoteproc instances. Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/smd.c | 197

[PATCH 21/22] IB/ipoib_verbs: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "wq" queues mulitple work items viz >restart_task, >cm.rx_reap_task, >cm.skb_task, >neigh_reap_task, >ah_reap_task, >mcast_task and

[PATCH 21/22] IB/ipoib_verbs: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "wq" queues mulitple work items viz >restart_task, >cm.rx_reap_task, >cm.skb_task, >neigh_reap_task, >ah_reap_task, >mcast_task and

Re: [PATCH] block: Fix secure erase

2016-08-15 Thread Christoph Hellwig
On Mon, Aug 15, 2016 at 11:43:12AM -0500, Shaun Tancheff wrote: > Hmm ... Since REQ_SECURE implied REQ_DISCARD doesn't this > mean that we should include REQ_OP_SECURE_ERASE checking > wherever REQ_OP_DISCARD is being checked now in drivers/scsi/sd.c ? > > (It's only in 3 spots so it's a quickie

[PATCH 22/22] IB/mlx4/alias_GUID: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "wq" queues work item that maps to alias_guid_work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under

Re: [PATCH] block: Fix secure erase

2016-08-15 Thread Christoph Hellwig
On Mon, Aug 15, 2016 at 11:43:12AM -0500, Shaun Tancheff wrote: > Hmm ... Since REQ_SECURE implied REQ_DISCARD doesn't this > mean that we should include REQ_OP_SECURE_ERASE checking > wherever REQ_OP_DISCARD is being checked now in drivers/scsi/sd.c ? > > (It's only in 3 spots so it's a quickie

[PATCH 22/22] IB/mlx4/alias_GUID: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "wq" queues work item that maps to alias_guid_work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under

[PATCH 19/22] IB/nes: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() replaces deprecated create_singlethread_workqueue(). The workqueue "event_wq" queues work item >event_work and the workqueue "disconn_wq" queues work item work (maps to g_cm_core->disconn_wq). WQ_MEM_RECLAIM has not been set since the workqueues are not being used on a

[PATCH 19/22] IB/nes: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() replaces deprecated create_singlethread_workqueue(). The workqueue "event_wq" queues work item >event_work and the workqueue "disconn_wq" queues work item work (maps to g_cm_core->disconn_wq). WQ_MEM_RECLAIM has not been set since the workqueues are not being used on a

[PATCH 20/22] IB/ipoib: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() replaces deprecated create_singlethread_workqueue(). The workqueue "ipoib_workqueue" that is used for all flush operstions for the device. WQ_MEM_RECLAIM has not been set since it is not being used on a memory reclaim path. Signed-off-by: Bhaktipriya Shridhar

[PATCH 20/22] IB/ipoib: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() replaces deprecated create_singlethread_workqueue(). The workqueue "ipoib_workqueue" that is used for all flush operstions for the device. WQ_MEM_RECLAIM has not been set since it is not being used on a memory reclaim path. Signed-off-by: Bhaktipriya Shridhar ---

[PATCH 18/22] IB/mlx4/mcg: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "mcg_wq" queues work items >work and >timeout_work. The workqueue "clean_wq" queues work item mcg_clean_task. Both have been identity converted.

[PATCH 18/22] IB/mlx4/mcg: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "mcg_wq" queues work items >work and >timeout_work. The workqueue "clean_wq" queues work item mcg_clean_task. Both have been identity converted.

Re: [PATCH] block: Fix secure erase

2016-08-15 Thread Christoph Hellwig
> --- a/block/elevator.c > +++ b/block/elevator.c > @@ -366,7 +366,10 @@ void elv_dispatch_sort(struct request_queue *q, struct > request *rq) > list_for_each_prev(entry, >queue_head) { > struct request *pos = list_entry_rq(entry); > > - if ((req_op(rq) ==

[PATCH 17/22] IB/mlx4/mad: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "wq" queues work item >work and the workqueue "ud_wq" queues work item [i]->work. Both the workqueues have been identity converted.

Re: [PATCH] block: Fix secure erase

2016-08-15 Thread Christoph Hellwig
> --- a/block/elevator.c > +++ b/block/elevator.c > @@ -366,7 +366,10 @@ void elv_dispatch_sort(struct request_queue *q, struct > request *rq) > list_for_each_prev(entry, >queue_head) { > struct request *pos = list_entry_rq(entry); > > - if ((req_op(rq) ==

[PATCH 17/22] IB/mlx4/mad: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "wq" queues work item >work and the workqueue "ud_wq" queues work item [i]->work. Both the workqueues have been identity converted.

[PATCH 16/22] IB/mlx4: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "wq" queues work items [i]->work, >work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory

[PATCH 16/22] IB/mlx4: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "wq" queues work items [i]->work, >work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory

[PATCH 15/22] IB/mlx5/odp: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "mlx5_ib_page_fault_wq" queues work item _pfault->work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress

[PATCH 15/22] IB/mlx5/odp: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "mlx5_ib_page_fault_wq" queues work item _pfault->work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress

[PATCH v2 0/8] devicetree cleanup for i2c muxes/arbs/gates

2016-08-15 Thread Peter Rosin
Hi! The nxp pca9541 chip does not have any devicetree bindings. When trying to write such bindings matching the implementation, I stumbled upon something which I did not like. I had to give the node holding the i2c child bus a 'reg' property that is left unused and is really odd to explain from a

[PATCH v2 0/8] devicetree cleanup for i2c muxes/arbs/gates

2016-08-15 Thread Peter Rosin
Hi! The nxp pca9541 chip does not have any devicetree bindings. When trying to write such bindings matching the implementation, I stumbled upon something which I did not like. I had to give the node holding the i2c child bus a 'reg' property that is left unused and is really odd to explain from a

[PATCH 14/22] IB/mlx5: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "cache->wq" queues work items >work (maps to cache_work_func) and >dwork(maps to delayed_cache_work_func). It has been identity converted.

[PATCH 14/22] IB/mlx5: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "cache->wq" queues work items >work (maps to cache_work_func) and >dwork(maps to delayed_cache_work_func). It has been identity converted.

[PATCH 13/22] i40iw_cm: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "event_wq" is involved in event handling and queues i40iw_cm_event_handler. The workqueue "disconn_wq" is involved in closing connection and

[PATCH 13/22] i40iw_cm: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "event_wq" is involved in event handling and queues i40iw_cm_event_handler. The workqueue "disconn_wq" is involved in closing connection and

Re: [PATCH v2 4/5] clk: sunxi-ng: Add A31/A31s clocks

2016-08-15 Thread Jean-Francois Moine
On Mon, 15 Aug 2016 16:13:14 +0800 Chen-Yu Tsai wrote: > +/* > + * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from > + * the base (2x, 4x and 8x), and one variable divider (the one true > + * pll audio). > + * > + * We don't have any need for the variable divider

Re: [PATCH v2 4/5] clk: sunxi-ng: Add A31/A31s clocks

2016-08-15 Thread Jean-Francois Moine
On Mon, 15 Aug 2016 16:13:14 +0800 Chen-Yu Tsai wrote: > +/* > + * The Audio PLL is supposed to have 4 outputs: 3 fixed factors from > + * the base (2x, 4x and 8x), and one variable divider (the one true > + * pll audio). > + * > + * We don't have any need for the variable divider for now, so we

[PATCH 12/22] i40iw_main: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "virtchnl_wq" queues work items i40iw_cqp_generic_worker and i40iw_cqp_manage_hmc_fcn_worker. It has been identity converted. WQ_MEM_RECLAIM has

[PATCH 12/22] i40iw_main: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "virtchnl_wq" queues work items i40iw_cqp_generic_worker and i40iw_cqp_manage_hmc_fcn_worker. It has been identity converted. WQ_MEM_RECLAIM has

[PATCH 10/22] iw_cxgb4: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "workq" queues work item _work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure.

[PATCH 10/22] iw_cxgb4: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "workq" queues work item _work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure.

[PATCH 11/22] IB/mthca: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "catas_wq" in triggering a device remove and causing a device reset when a catastrophic error occurs. It has been identity converted.

[PATCH 11/22] IB/mthca: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "catas_wq" in triggering a device remove and causing a device reset when a catastrophic error occurs. It has been identity converted.

[PATCH 09/22] IB/qib: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "qib" queues work item >s_work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure.

[PATCH 09/22] IB/qib: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "qib" queues work item >s_work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure.

[PATCH 08/22] iw_cxgb3: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "workq" queues work item _work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure.

[PATCH 08/22] iw_cxgb3: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "workq" queues work item _work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure.

[PATCH 07/22] IB/iwcm: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "iwcm_wq" queues work item (maps to cm_work_handler). It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress

[PATCH 07/22] IB/iwcm: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "iwcm_wq" queues work item (maps to cm_work_handler). It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress

Re: [PATCH v3 16/51] x86/32: put real return address on stack in entry code

2016-08-15 Thread H. Peter Anvin
On 08/15/16 08:09, Josh Poimboeuf wrote: > On Sun, Aug 14, 2016 at 12:31:47AM -0700, Andy Lutomirski wrote: >> On Fri, Aug 12, 2016 at 7:28 AM, Josh Poimboeuf wrote: >>> This standardizes the stacks of idle tasks to be consistent with other >>> tasks on 32-bit. >> >> It might

Re: [PATCH v3 16/51] x86/32: put real return address on stack in entry code

2016-08-15 Thread H. Peter Anvin
On 08/15/16 08:09, Josh Poimboeuf wrote: > On Sun, Aug 14, 2016 at 12:31:47AM -0700, Andy Lutomirski wrote: >> On Fri, Aug 12, 2016 at 7:28 AM, Josh Poimboeuf wrote: >>> This standardizes the stacks of idle tasks to be consistent with other >>> tasks on 32-bit. >> >> It might be nice to stick a

Re: [RFC PATCH v7 7/7] Restartable sequences: self-tests

2016-08-15 Thread Mathieu Desnoyers
- On Aug 14, 2016, at 8:56 PM, Boqun Feng boqun.f...@gmail.com wrote: > On Sun, Aug 14, 2016 at 03:02:20PM +, Mathieu Desnoyers wrote: >> - On Aug 12, 2016, at 9:28 PM, Boqun Feng boqun.f...@gmail.com wrote: >> >> > On Fri, Aug 12, 2016 at 06:11:45PM +, Mathieu Desnoyers wrote:

Re: [RFC PATCH v7 7/7] Restartable sequences: self-tests

2016-08-15 Thread Mathieu Desnoyers
- On Aug 14, 2016, at 8:56 PM, Boqun Feng boqun.f...@gmail.com wrote: > On Sun, Aug 14, 2016 at 03:02:20PM +, Mathieu Desnoyers wrote: >> - On Aug 12, 2016, at 9:28 PM, Boqun Feng boqun.f...@gmail.com wrote: >> >> > On Fri, Aug 12, 2016 at 06:11:45PM +, Mathieu Desnoyers wrote:

Re: [PATCH] iio: orientation: Add BNO055 9-axis Absolute Orientation Sensor driver

2016-08-15 Thread Jonathan Cameron
On 27/07/16 01:22, navin patidar wrote: > Oh, I didn't know that Vlad already have submitted a patch for BNO055. > My patch doesn't do any thing new so please drop my patch. > > regards, > --navin-patidar You have my utmost sympathies! Sadly this happens to us all from time to time. Jonathan >

Re: [PATCH] iio: orientation: Add BNO055 9-axis Absolute Orientation Sensor driver

2016-08-15 Thread Jonathan Cameron
On 27/07/16 01:22, navin patidar wrote: > Oh, I didn't know that Vlad already have submitted a patch for BNO055. > My patch doesn't do any thing new so please drop my patch. > > regards, > --navin-patidar You have my utmost sympathies! Sadly this happens to us all from time to time. Jonathan >

Re: [PATCH] iio: adc: rockchip_saradc: Explicitly disable ADC on probe

2016-08-15 Thread Jonathan Cameron
On 26/07/16 04:22, Guenter Roeck wrote: > On 07/25/2016 07:51 PM, Caesar Wang wrote: >> Hi Guenter, >> >> Thanks for fixing it. >> >> On 2016年07月26日 03:39, Guenter Roeck wrote: >>> If the ADC is read for the first time, the caller gets a timeout error, >>> and the kernel log shows >>> >>> read

Re: [PATCH] iio: adc: rockchip_saradc: Explicitly disable ADC on probe

2016-08-15 Thread Jonathan Cameron
On 26/07/16 04:22, Guenter Roeck wrote: > On 07/25/2016 07:51 PM, Caesar Wang wrote: >> Hi Guenter, >> >> Thanks for fixing it. >> >> On 2016年07月26日 03:39, Guenter Roeck wrote: >>> If the ADC is read for the first time, the caller gets a timeout error, >>> and the kernel log shows >>> >>> read

Re: [PATCH v2 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-08-15 Thread Li Yang
On Fri, Apr 22, 2016 at 1:39 AM, Yunhui Cui wrote: > From: Yunhui Cui > > With the physical sectors combination, S25FS-S family flash > requires some special operations for read/write functions. > > Signed-off-by: Yunhui Cui > --- >

Re: [PATCH v2 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-08-15 Thread Li Yang
On Fri, Apr 22, 2016 at 1:39 AM, Yunhui Cui wrote: > From: Yunhui Cui > > With the physical sectors combination, S25FS-S family flash > requires some special operations for read/write functions. > > Signed-off-by: Yunhui Cui > --- > drivers/mtd/spi-nor/spi-nor.c | 59 >

Re: [V4 PATCH 2/2] mips/panic: Replace smp_send_stop() with kdump friendly version in panic path

2016-08-15 Thread Corey Minyard
On 08/15/2016 12:06 PM, Corey Minyard wrote: On 08/15/2016 06:35 AM, 河合英宏 / KAWAI,HIDEHIRO wrote: Hi Corey, From: Corey Minyard [mailto:cminy...@mvista.com] Sent: Friday, August 12, 2016 10:56 PM I'll try to test this, but I have one comment inline... Thank you very much! On 08/11/2016

Re: [V4 PATCH 2/2] mips/panic: Replace smp_send_stop() with kdump friendly version in panic path

2016-08-15 Thread Corey Minyard
On 08/15/2016 12:06 PM, Corey Minyard wrote: On 08/15/2016 06:35 AM, 河合英宏 / KAWAI,HIDEHIRO wrote: Hi Corey, From: Corey Minyard [mailto:cminy...@mvista.com] Sent: Friday, August 12, 2016 10:56 PM I'll try to test this, but I have one comment inline... Thank you very much! On 08/11/2016

Re: [PATCHv2 3/4] pci: Determine actual VPD size on first access

2016-08-15 Thread Rustad, Mark D
Benjamin Herrenschmidt wrote: We may want some kind of "strict" vs. "relaxed" model here to differenciate the desktop user wanting to give a function to his/her windows partition and doesn't care about strict isolation vs. the cloud data center. I don't think

Re: [PATCHv2 3/4] pci: Determine actual VPD size on first access

2016-08-15 Thread Rustad, Mark D
Benjamin Herrenschmidt wrote: We may want some kind of "strict" vs. "relaxed" model here to differenciate the desktop user wanting to give a function to his/her windows partition and doesn't care about strict isolation vs. the cloud data center. I don't think desktop users appreciate hangs

[PATCH 06/22] IB/addr: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
The workqueue "addr_wq" queues a single work item and hence doesn't require ordering. Also, it is being used on a memory reclaim path. Hence, it has been converted to use alloc_workqueue with WQ_MEM_RECLAIM set. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure.

[PATCH 06/22] IB/addr: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
The workqueue "addr_wq" queues a single work item and hence doesn't require ordering. Also, it is being used on a memory reclaim path. Hence, it has been converted to use alloc_workqueue with WQ_MEM_RECLAIM set. WQ_MEM_RECLAIM has been set to ensure forward progress under memory pressure.

[PATCH 04/22] IB/ucma: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "close_wq" queues work items >close_work (maps to ucma_close_id) and _req_eve->close_work (maps to ucma_close_event_id). It has been identity

[PATCH 04/22] IB/ucma: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "close_wq" queues work items >close_work (maps to ucma_close_id) and _req_eve->close_work (maps to ucma_close_event_id). It has been identity

Re: [PATCH] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Krzysztof Kozlowski
On Mon, Aug 15, 2016 at 10:51:07AM -0700, Joe Perches wrote: > On Mon, 2016-08-15 at 19:46 +0200, Krzysztof Kozlowski wrote: > > On Mon, Aug 15, 2016 at 10:36:45AM -0700, Joe Perches wrote: > > > > > > On Mon, 2016-08-15 at 19:17 +0200, Krzysztof Kozlowski wrote: > > > > > > > > Change my email

[PATCH 05/22] IB/cma: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "cma_wq" queues work item cma_work_handler. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory

Re: [PATCH] MAINTAINERS: Switch to kernel.org account for Krzysztof Kozlowski

2016-08-15 Thread Krzysztof Kozlowski
On Mon, Aug 15, 2016 at 10:51:07AM -0700, Joe Perches wrote: > On Mon, 2016-08-15 at 19:46 +0200, Krzysztof Kozlowski wrote: > > On Mon, Aug 15, 2016 at 10:36:45AM -0700, Joe Perches wrote: > > > > > > On Mon, 2016-08-15 at 19:17 +0200, Krzysztof Kozlowski wrote: > > > > > > > > Change my email

[PATCH 05/22] IB/cma: Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "cma_wq" queues work item cma_work_handler. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory

[PATCH 01/22] IB/sa : Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "ib_nl" queues work item _nl_timed_work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory

[PATCH 01/22] IB/sa : Remove deprecated create_singlethread_workqueue

2016-08-15 Thread Bhaktipriya Shridhar
alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces deprecated create_singlethread_workqueue(). This is the identity conversion. The workqueue "ib_nl" queues work item _nl_timed_work. It has been identity converted. WQ_MEM_RECLAIM has been set to ensure forward progress under memory

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