Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-13 Thread Marek Szyprowski
Hi Vinod, On 2017-02-13 16:47, Vinod Koul wrote: On Mon, Feb 13, 2017 at 04:32:32PM +0100, Ulf Hansson wrote: [...] Although, I don't know of other examples, besides the runtime PM use case, where non-atomic channel prepare/unprepare would make sense. Do you? The primary ask for that has be

Re: [PATCH v3 1/9] llist: Provide a safe version for llist_for_each

2017-02-13 Thread Huang, Ying
Byungchul Park writes: > Sometimes we have to dereference next field of llist node before entering > loop becasue the node might be deleted or the next field might be > modified within the loop. So this adds the safe version of llist_for_each, > that is, llist_for_each_safe. > > Signed-off-by: By

Re: [PATCH v2] tags: honor COMPILED_SOURCE with apart output directory

2017-02-13 Thread Robert Jarzmik
Robert Jarzmik writes: > Robert Jarzmik writes: >> Signed-off-by: Robert Jarzmik >> --- >> Since v1: amended k expression, Marek's comments > Hi Marek, > > Is this version good for you ? Marek, could you take a look please ? -- Robert >> --- >> scripts/tags.sh | 3 ++- >> 1 file changed, 2 i

RE: [tip:locking/core] refcount_t: Introduce a special purpose refcount type

2017-02-13 Thread Reshetova, Elena
> Subject: refcount: Out-of-line everything > From: Peter Zijlstra > Date: Fri Feb 10 16:27:52 CET 2017 > > Linus asked to please make this real C code. Perhaps a completely stupid question, but I am going to ask anyway since only this way I can learn. What a real difference it makes? Or are we

[PATCH v3 8/9] sched: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- kernel/sched/core.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index d01f9d0..8938125 100644 --- a/kernel/

[PATCH v3 7/9] irq_work: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- kernel/irq_work.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/kernel/irq_work.c b/kernel/irq_work.c index bcf107c..e2ebe8c 100644 --- a/kernel/irq_work.c +++ b/k

[PATCH v3 9/9] mm: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- mm/vmalloc.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 3ca82d4..8c0eb45 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@

[PATCH v3 5/9] fput: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- fs/file_table.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/file_table.c b/fs/file_table.c index 6d982b5..3209da2 100644 --- a/fs/file_table.c +++ b/f

[PATCH v3 6/9] namespace.c: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- fs/namespace.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index b5b1259..5cb2229 100644 --- a/fs/namespace.c +++ b/fs/na

[PATCH v3 1/9] llist: Provide a safe version for llist_for_each

2017-02-13 Thread Byungchul Park
Sometimes we have to dereference next field of llist node before entering loop becasue the node might be deleted or the next field might be modified within the loop. So this adds the safe version of llist_for_each, that is, llist_for_each_safe. Signed-off-by: Byungchul Park --- include/linux/lli

[PATCH v3 0/9] Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Change from v2 - replace for_each(wake_list) with the safe version in scheduler. - fix a trivial comment in llist.h Change from v1 - split one patch to several ones, one for each subsystem. - replace for_each with the safe version where it's necessary. Byungchul Park (9): llist: Provide a safe

[PATCH v3 4/9] vhost/scsi: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- drivers/vhost/scsi.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 253310c..a4cb966 100644 --- a/drivers/v

[PATCH v3 3/9] raid5: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- drivers/md/raid5.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 36c13e4..22a0326 100644 --- a/drivers/md/raid5.c ++

[PATCH v3 2/9] bcache: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- drivers/md/bcache/closure.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c index 864e673..18

Re: [PATCH] mm: free reserved area's memmap if possiable

2017-02-13 Thread zhouxianrong
if the reserved area by user were so big which caused the memmap big, and the reserved area's memamp did not be used by kernel, then user could free the the reserved area's memamp by memblock_mark_raw_pfn interface which is added by me. On 2017/2/14 14:53, zhouxianr...@huawei.com wrote: From: zh

Re: [PATCH v7 5/5] usb: doc: add document for USB3 debug port usage

2017-02-13 Thread Lu Baolu
Hi, On 02/14/2017 02:13 PM, Peter Chen wrote: > >> On 02/14/2017 11:45 AM, Peter Chen wrote: >>> On Tue, Feb 14, 2017 at 10:27 AM, Lu Baolu wrote: >>> Add Documentation/usb/usb3-debug-port.rst. This document includes the user guide for USB3 debug port. Cc: linux-...@vger.ker

Re: [PATCH BUGFIX] block: make elevator_get robust against cross blk/blk-mq choice

2017-02-13 Thread Hannes Reinecke
On 02/14/2017 08:07 AM, Omar Sandoval wrote: > On Tue, Feb 14, 2017 at 07:58:22AM +0100, Hannes Reinecke wrote: >> While we're at the topic: >> >> Can't we use the same names for legacy and mq scheduler? >> It's quite an unnecessary complication to have >> 'noop', 'deadline', and 'cfq' for legacy,

linux-next: Tree for Feb 14

2017-02-13 Thread Stephen Rothwell
Hi all, Changes since 20170213: Removed trees: rdma-leon, rdma-leon-test (at owner's request) The net tree gained a build failure for which I applied a fix patch. The mfd tree gained a conflict against the input tree. The kvm tree gained conflicts against the powerpc tree. The akpm-cu

Re: net/xfrm: stack out-of-bounds in xfrm_flowi_sport

2017-02-13 Thread Steffen Klassert
On Mon, Feb 13, 2017 at 03:46:56PM +0100, Dmitry Vyukov wrote: > > On commit 7089db84e356562f8ba737c29e472cc42d530dbc. > > > struct flowi4 fl4_stack allocated on stack in udp_sendmsg is being > casted to larger struct flowi and then accessed. Looks like the problem is when using IPv4-mapped IPv

Re: [PATCH BUGFIX] block: make elevator_get robust against cross blk/blk-mq choice

2017-02-13 Thread Omar Sandoval
On Tue, Feb 14, 2017 at 07:58:22AM +0100, Hannes Reinecke wrote: > While we're at the topic: > > Can't we use the same names for legacy and mq scheduler? > It's quite an unnecessary complication to have > 'noop', 'deadline', and 'cfq' for legacy, but 'none' and 'mq-deadline' > for mq. If we could

[PATCH] mm: free reserved area's memmap if possiable

2017-02-13 Thread zhouxianrong
From: zhouxianrong just like freeing no-map area's memmap (gaps of memblock.memory) we could free reserved area's memmap (areas of memblock.reserved) as well only when user of reserved area indicate that we can do this in drivers. that is, user of reserved area know how to use the reserved area w

Re: [PATCH v2 1/9] llist: Provide a safe version for llist_for_each

2017-02-13 Thread Huang, Ying
Byungchul Park writes: > On Mon, Feb 13, 2017 at 04:58:05PM +0900, Byungchul Park wrote: >> On Mon, Feb 13, 2017 at 03:52:44PM +0800, Huang, Ying wrote: >> > Byungchul Park writes: >> > >> > > On Mon, Feb 13, 2017 at 03:36:33PM +0800, Huang, Ying wrote: >> > >> Byungchul Park writes: >> > >>

Re: [PATCH BUGFIX] block: make elevator_get robust against cross blk/blk-mq choice

2017-02-13 Thread Hannes Reinecke
On 02/13/2017 11:28 PM, Jens Axboe wrote: > On 02/13/2017 03:09 PM, Omar Sandoval wrote: >> On Mon, Feb 13, 2017 at 10:01:07PM +0100, Paolo Valente wrote: >>> If, at boot, a legacy I/O scheduler is chosen for a device using blk-mq, >>> or, viceversa, a blk-mq scheduler is chosen for a device using

Re: [PATCH V2 0/3] Define coherent device memory node

2017-02-13 Thread Anshuman Khandual
On 02/13/2017 09:04 PM, Vlastimil Babka wrote: > On 02/10/2017 11:06 AM, Anshuman Khandual wrote: >> This three patches define CDM node with HugeTLB & Buddy allocation >> isolation. Please refer to the last RFC posting mentioned here for details. >> The series has been split for easier review

[PATCH v4 3/4] dmaengine: Add Broadcom SBA RAID driver

2017-02-13 Thread Anup Patel
The Broadcom stream buffer accelerator (SBA) provides offloading capabilities for RAID operations. This SBA offload engine is accessible via Broadcom SoC specific ring manager. This patch adds Broadcom SBA RAID driver which provides one DMA device with RAID capabilities using one or more Broadcom

[PATCH v4 4/4] dt-bindings: Add DT bindings document for Broadcom SBA RAID driver

2017-02-13 Thread Anup Patel
This patch adds the DT bindings document for newly added Broadcom SBA RAID driver. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../devicetree/bindings/dma/brcm,iproc-sba.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644

[PATCH v4 0/4] Broadcom SBA RAID support

2017-02-13 Thread Anup Patel
The Broadcom SBA RAID is a stream-based device which provides RAID5/6 offload. It requires a SoC specific ring manager (such as Broadcom FlexRM ring manager) to provide ring-based programming interface. Due to this, the Broadcom SBA RAID driver (mailbox client) implements DMA device having one DMA

[PATCH v4 2/4] async_tx: Fix DMA_PREP_FENCE usage in do_async_gen_syndrome()

2017-02-13 Thread Anup Patel
The DMA_PREP_FENCE is to be used when preparing Tx descriptor if output of Tx descriptor is to be used by next/dependent Tx descriptor. The DMA_PREP_FENSE will not be set correctly in do_async_gen_syndrome() when calling dma->device_prep_dma_pq() under following conditions: 1. ASYNC_TX_FENCE not s

[PATCH v4 1/4] lib/raid6: Add log-of-2 table for RAID6 HW requiring disk position

2017-02-13 Thread Anup Patel
The raid6_gfexp table represents {2}^n values for 0 <= n < 256. The Linux async_tx framework pass values from raid6_gfexp as coefficients for each source to prep_dma_pq() callback of DMA channel with PQ capability. This creates problem for RAID6 offload engines (such as Broadcom SBA) which take dis

Re: [PATCH v2 1/9] llist: Provide a safe version for llist_for_each

2017-02-13 Thread Byungchul Park
On Mon, Feb 13, 2017 at 04:58:05PM +0900, Byungchul Park wrote: > On Mon, Feb 13, 2017 at 03:52:44PM +0800, Huang, Ying wrote: > > Byungchul Park writes: > > > > > On Mon, Feb 13, 2017 at 03:36:33PM +0800, Huang, Ying wrote: > > >> Byungchul Park writes: > > >> > > >> > Sometimes we have to der

[tip:perf/core] perf tests record: No need to test an array against NULL

2017-02-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 9ef6839bcce7ca944c1ace4a7247cf13ca92a28f Gitweb: http://git.kernel.org/tip/9ef6839bcce7ca944c1ace4a7247cf13ca92a28f Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 13 Feb 2017 17:04:05 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 17:22:34 -0300 pe

[tip:perf/core] perf symbols: dso->name is an array, no need to check it against NULL

2017-02-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5eae7d842510d33d4410c062280eda6c935403dd Gitweb: http://git.kernel.org/tip/5eae7d842510d33d4410c062280eda6c935403dd Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 13 Feb 2017 17:11:03 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 17:22:35 -0300 pe

[tip:perf/core] perf evsel: Inform how to make a sysctl setting permanent

2017-02-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d6195a6a2c247515d5832debb51c03a74dc3f8f6 Gitweb: http://git.kernel.org/tip/d6195a6a2c247515d5832debb51c03a74dc3f8f6 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 13 Feb 2017 16:45:24 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 17:22:33 -0300 pe

[tip:perf/core] perf symbols: No need to check if sym->name is NULL

2017-02-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a7c3899c06865c75f8887f33d9043f6e8e780e71 Gitweb: http://git.kernel.org/tip/a7c3899c06865c75f8887f33d9043f6e8e780e71 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 13 Feb 2017 16:52:15 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 17:22:34 -0300 pe

Re: linux-next: build failure after merge of the net tree

2017-02-13 Thread Ingo Molnar
* Stephen Rothwell wrote: > Hi all, > > After merging the net tree, today's linux-next build (powerpc64le perf) > failed like this: > > Warning: tools/include/uapi/linux/bpf.h differs from kernel > bpf.c: In function 'bpf_prog_attach': > bpf.c:180:6: error: 'union bpf_attr' has no member named

[tip:perf/core] tools lib traceevent plugin function: Initialize 'index' variable

2017-02-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e8c6f437fd12d39e462962eaed2315bac597d34c Gitweb: http://git.kernel.org/tip/e8c6f437fd12d39e462962eaed2315bac597d34c Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 13 Feb 2017 13:33:57 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 17:22:33 -0300 to

[tip:perf/core] tools lib traceevent: Initialize lenght on OLD_RING_BUFFER_TYPE_TIME_STAMP

2017-02-13 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 14e4d7e0abfdefabea2b8796c5a8b2b9c77b5326 Gitweb: http://git.kernel.org/tip/14e4d7e0abfdefabea2b8796c5a8b2b9c77b5326 Author: Steven Rostedt (VMware) AuthorDate: Mon, 13 Feb 2017 12:11:44 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 17:22:32 -0300 too

[tip:perf/core] perf diff: Change default setting to "delta-abs"

2017-02-13 Thread tip-bot for Namhyung Kim
Commit-ID: be57b3fd218ad4a19725ac4bd53e67b2ede42a9d Gitweb: http://git.kernel.org/tip/be57b3fd218ad4a19725ac4bd53e67b2ede42a9d Author: Namhyung Kim AuthorDate: Sat, 11 Feb 2017 01:18:56 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 14:29:38 -0300 perf diff: Cha

[tip:perf/core] perf scripting perl: Fix compile error with some perl5 versions

2017-02-13 Thread tip-bot for Wang YanQing
Commit-ID: d7dd112ea5cacf91ae72c0714c3b911eb6016fea Gitweb: http://git.kernel.org/tip/d7dd112ea5cacf91ae72c0714c3b911eb6016fea Author: Wang YanQing AuthorDate: Sun, 12 Feb 2017 10:46:55 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 17:22:32 -0300 perf scripting

[tip:perf/core] perf diff: Add diff.compute config option

2017-02-13 Thread tip-bot for Namhyung Kim
Commit-ID: 4b35994abe459f08f58b4b3855abf4ba80308680 Gitweb: http://git.kernel.org/tip/4b35994abe459f08f58b4b3855abf4ba80308680 Author: Namhyung Kim AuthorDate: Fri, 10 Feb 2017 16:36:13 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 14:29:37 -0300 perf diff: Add

[tip:perf/core] tools include: Introduce linux/compiler-gcc.h

2017-02-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 192614010a5052fe92611c7076ef664fd9bb60e8 Gitweb: http://git.kernel.org/tip/192614010a5052fe92611c7076ef664fd9bb60e8 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 10 Feb 2017 11:41:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 14:29:29 -0300 to

[tip:perf/core] perf diff: Add diff.order config option

2017-02-13 Thread tip-bot for Namhyung Kim
Commit-ID: d49dd15d69731589de4436a6dcfca59567320fdf Gitweb: http://git.kernel.org/tip/d49dd15d69731589de4436a6dcfca59567320fdf Author: Namhyung Kim AuthorDate: Fri, 10 Feb 2017 16:36:12 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 14:29:37 -0300 perf diff: Add

[tip:perf/core] perf diff: Add 'delta-abs' compute method

2017-02-13 Thread tip-bot for Namhyung Kim
Commit-ID: a1668c25a8e1b53d00b2997ef5bc5e25c7a77235 Gitweb: http://git.kernel.org/tip/a1668c25a8e1b53d00b2997ef5bc5e25c7a77235 Author: Namhyung Kim AuthorDate: Fri, 10 Feb 2017 16:36:11 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Feb 2017 14:29:36 -0300 perf diff: Add

Re: [PATCH] seccomp: Only dump core when single-threaded

2017-02-13 Thread Andrei Vagin
On Tue, Feb 07, 2017 at 03:18:51PM -0800, Kees Cook wrote: > The SECCOMP_RET_KILL filter return code has always killed the current > thread, not the entire process. Changing this as a side-effect of dumping > core isn't a safe thing to do (a few test suites have already flagged this > behavioral ch

Re: linux-next: build failure after merge of the net tree

2017-02-13 Thread Ingo Molnar
* Stephen Rothwell wrote: > --- a/tools/include/uapi/linux/bpf.h > +++ b/tools/include/uapi/linux/bpf.h > @@ -116,6 +116,12 @@ enum bpf_attach_type { > > #define MAX_BPF_ATTACH_TYPE __MAX_BPF_ATTACH_TYPE > > +/* If BPF_F_ALLOW_OVERRIDE flag is used in BPF_PROG_ATTACH command > + * to the gi

Re: [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors

2017-02-13 Thread Sekhar Nori
On Tuesday 14 February 2017 02:31 AM, Kevin Hilman wrote: > Kevin Hilman writes: > >> Bartosz Golaszewski writes: >> >>> Signed-off-by: Bartosz Golaszewski >> >> I'll fold this one into the original since it's not yet merged. > > Oops, Sekhar has already merged this one to his v4.11/dt branch,

[PATCH v5] drivers/misc: Add Aspeed LPC control driver

2017-02-13 Thread Cyril Bur
In order to manage server systems, there is typically another processor known as a BMC (Baseboard Management Controller) which is responsible for powering the server and other various elements, sometimes fans, often the system flash. The Aspeed BMC family which is what is used on OpenPOWER machine

Re: [GIT PULL 00/15] perf/core improvements and fixes

2017-02-13 Thread Ingo Molnar
Kaby Lake support (2017-02-11 21:28:23 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-4.11-20170213 > > for you to fetch changes up to a734fb5d60067a73dd7099a58756847c07f9cd68:

[PATCH v2] drm/amd/dc: resource: fix semicolon.cocci warnings (fwd)

2017-02-13 Thread Julia Lawall
Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Harry Wentland Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- v2: make subject line unique tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9 head: 79d2de1bcb650296adff1cb0

[PATCH v2] drm/amd/dc: dm_types: fix semicolon.cocci warnings

2017-02-13 Thread Julia Lawall
Remove unneeded semicolons. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Harry Wentland Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- v2: make subject line unique tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9 head: 79d2de1bcb650296adff1cb0

[PATCH linux v3 1/1] Documentation: dt-bindings: Document bindings for ASPEED AST2400/AST2500 PWM and Fan tach controller device driver

2017-02-13 Thread Jaghathiswari Rankappagounder Natarajan
This binding provides interface for adding values related to ASPEED AST2400/2500 PWM and Fan tach controller support. The PWM controller can support upto 8 PWM output ports. The Fan tach controller can support upto 16 tachometer inputs. Signed-off-by: Jaghathiswari Rankappagounder Natarajan --- v

[PATCH] drm/amd/dc: hw_sequencer: fix semicolon.cocci warnings

2017-02-13 Thread Julia Lawall
Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Harry Wentland Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9 head: 79d2de1bcb650296adff1cb08bfbf1501a6e6e14 commit: bad4c1

[PATCH linux v3 0/1] Devicetree binding for ASPEED PWM/Fan Tach

2017-02-13 Thread Jaghathiswari Rankappagounder Natarajan
I received comments regarding devicetree documentation for ASPEED AST2400/AST2500 PWM/Fan Tach controller driver. I have addressed the comments in this patch. I want to work towards a common devicetree structure and then proceed with implementation of the corresponding hwmon driver. Jaghathiswari

[PATCH] drm/amd/dc: fix semicolon.cocci warnings

2017-02-13 Thread Julia Lawall
Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Harry Wentland Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9 head: 79d2de1bcb650296adff1cb08bfbf1501a6e6e14 commit: bad4c1

RE: [PATCH v7 5/5] usb: doc: add document for USB3 debug port usage

2017-02-13 Thread Peter Chen
> >On 02/14/2017 11:45 AM, Peter Chen wrote: >> On Tue, Feb 14, 2017 at 10:27 AM, Lu Baolu wrote: >> >>> Add Documentation/usb/usb3-debug-port.rst. This document includes the >>> user guide for USB3 debug port. >>> >>> Cc: linux-...@vger.kernel.org >>> Signed-off-by: Lu Baolu >>> --- >>> Docum

[PATCH] drm/amd/dc: fix semicolon.cocci warnings

2017-02-13 Thread Julia Lawall
Remove unneeded semicolons. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Harry Wentland Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9 head: 79d2de1bcb650296adff1cb08bfbf1501a6e6e14 commit: bad4c

Re: [PATCH linux v2 1/2] Documentation: dt-bindings: Document bindings for ASPEED AST2400/AST2500 PWM and Fan tach controller device driver

2017-02-13 Thread Jaghathiswari Rankappagounder Natarajan
On Wed, Feb 1, 2017 at 6:58 AM, Rob Herring wrote: > On Fri, Jan 27, 2017 at 01:33:59AM -0800, Jaghathiswari Rankappagounder > Natarajan wrote: >> This binding provides interface for adding values related to ASPEED >> AST2400/2500 PWM and Fan tach controller support. >> The PWM controller can sup

Re: [PATCH v4 1/1] DM: inplace compressed DM target (fwd)

2017-02-13 Thread Julia Lawall
-Reply-To: <1487018545-5061-2-git-send-email-linux...@us.ibm.com> Hi Ram, [auto build test WARNING on dm/for-next] [also build test WARNING on v4.10-rc8 next-20170213] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://gith

linux-next: build failure after merge of the akpm-current tree

2017-02-13 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: arch/powerpc/lib/code-patching.c:61:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'is_conditional_branch' bool __kprobes is_conditional_branch(unsigned int i

Re: [PATCH V2 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte.

2017-02-13 Thread Aneesh Kumar K.V
On Tuesday 14 February 2017 11:19 AM, Michael Ellerman wrote: "Aneesh Kumar K.V" writes: Autonuma preserves the write permission across numa fault to avoid taking a writefault after a numa fault (Commit: b191f9b106ea " mm: numa: preserve PTE write permissions across a NUMA hinting fault"). A

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-13 Thread Rask Ingemann Lambertsen
Let me just answer the questions about the regulator names and get back to you about your other points. On Fri, Feb 10, 2017 at 05:22:21PM +0800, Chen-Yu Tsai wrote: > On Fri, Feb 10, 2017 at 4:59 PM, Maxime Ripard > wrote: > > Hi, > > > > On Thu, Feb 09, 2017 at 12:34:06AM +0100, Rask Ingemann L

Re: [PATCH V2 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte.

2017-02-13 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > Autonuma preserves the write permission across numa fault to avoid taking > a writefault after a numa fault (Commit: b191f9b106ea " mm: numa: preserve PTE > write permissions across a NUMA hinting fault"). Architecture can implement > protnone in different ways and so

Re: Applied "spi: s3c64xx: fix inconsistency between binding and driver" to the spi tree

2017-02-13 Thread Andi Shyti
Hi Mark, On Mon, Feb 13, 2017 at 06:54:19PM +, Mark Brown wrote: > The patch > >spi: s3c64xx: fix inconsistency between binding and driver > > has been applied to the spi tree at > >git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git you picked the v1 of the patch instea

Re: [PATCH v13 06/12] usb: xhci: use bus->sysdev for DMA configuration

2017-02-13 Thread Vivek Gautam
On 02/11/2017 06:57 AM, Peter Chen wrote: From: Arnd Bergmann For xhci-hcd platform device, all the DMA parameters are not configured properly, notably dma ops for dwc3 devices. So, set the dma for xhci from sysdev. sysdev is pointing to device that is known to the system firmware or hardware

[PATCH V2 0/2] Numabalancing preserve write fix

2017-02-13 Thread Aneesh Kumar K.V
This patch series address an issue w.r.t THP migration and autonuma preserve write feature. migrate_misplaced_transhuge_page() cannot deal with concurrent modification of the page. It does a page copy without following the migration pte sequence. IIUC, this was done to keep the migration simpler an

[PATCH V2 2/2] powerpc/mm/autonuma: Switch ppc64 to its own implementeation of saved write

2017-02-13 Thread Aneesh Kumar K.V
With this our protnone becomes a present pte with READ/WRITE/EXEC bit cleared. By default we also set _PAGE_PRIVILEGED on such pte. This is now used to help us identify a protnone pte that as saved write bit. For such pte, we will clear the _PAGE_PRIVILEGED bit. The pte still remain non-accessible

[PATCH V2 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte.

2017-02-13 Thread Aneesh Kumar K.V
Autonuma preserves the write permission across numa fault to avoid taking a writefault after a numa fault (Commit: b191f9b106ea " mm: numa: preserve PTE write permissions across a NUMA hinting fault"). Architecture can implement protnone in different ways and some may choose to implement that by cl

Re: [PATCH v3 3/4] dmaengine: Add Broadcom SBA RAID driver

2017-02-13 Thread Anup Patel
On Fri, Feb 10, 2017 at 11:20 PM, Dan Williams wrote: > On Fri, Feb 10, 2017 at 1:07 AM, Anup Patel wrote: >> The Broadcom stream buffer accelerator (SBA) provides offloading >> capabilities for RAID operations. This SBA offload engine is >> accessible via Broadcom SoC specific ring manager. >> >

Re: [PATCH v2] usb: gadget: udc: remove pointer dereference after free

2017-02-13 Thread Gustavo A. R. Silva
Hi Michal, Quoting Michal Nazarewicz : On Sat, Feb 11 2017, Gustavo A. R. Silva wrote: Remove pointer dereference after free and set pointer to NULL after free. Addresses-Coverity-ID: 1091173 Signed-off-by: Gustavo A. R. Silva Acked-by: Michal Nazarewicz --- Changes in v2: Move pointe

Re: [PATCH] mtd: spi-nor: intel: use ERR_CAST in return statement

2017-02-13 Thread Marek Vasut
base > > Patch was compile tested with: multi_v7_defconfig (implies > CONFIG_MTD_SPI_NOR=y) Was this driver even enabled with multi_v7 and MTD_SPI_NOR=y ? Nonetheless, the patch is correct: Acked-by: Marek Vasut > Patch is against 4.10-rc7 (localversion-next is next-20170213) > > dr

Re: [PATCH] mtd: spi-nor: add support for GD25Q256

2017-02-13 Thread Marek Vasut
On 02/14/2017 01:36 AM, Andy Yan wrote: > GD25Q256 is a 32MiB SPI Nor flash from Gigadevice. That's great, and what is this patch doing with it ? Adding support for it, right? Then it should be in the commit message. > Signed-off-by: Andy Yan > --- > drivers/mtd/spi-nor/spi-nor.c | 8 ++-- >

Re: [PATCH V2] mtd: spi-nor: intel: use true/false for boolean

2017-02-13 Thread Marek Vasut
/mtd/spi-nor/intel-spi.c:707:3-18: WARNING: Assignment of bool to > 0/1 > > Patch was compile tested with: multi_v7_defconfig (implies > CONFIG_MTD_SPI_NOR=y) > > Patch is against 4.10-rc7 (localversion-next is next-20170213) > > drivers/mtd/spi-nor/intel-spi.c | 2

Re: [PATCH] Input: pwm-beeper: support customized freq for SND_BELL

2017-02-13 Thread Heiko Schocher
Hello Dmitry, Am 14.02.2017 um 05:27 schrieb Dmitry Torokhov: On Wed, Feb 08, 2017 at 10:11:21AM +, Jonas Mark (ST-FIR/ENG1) wrote: Hello Dmitry, extend the pwm-beeper driver to support customized frequency for SND_BELL from device tree. No, SND_BELL is literally SND_TONE @1000Hz. There

Re: [PATCH 4/4] ARM64: dts: Prepare Realtek RTD1295 and Zidoo X9S

2017-02-13 Thread Andreas Färber
Am 14.02.2017 um 04:34 schrieb Andreas Färber: > A list of memory reservations is adopted from v1.2.11 vendor device tree: > 0x0220 can be used for an initrd, 0x01b0 is audio-related; > ion-related 0x0260, 0x02c0 and 0x1100 are left out; others > remain to be investigated. [...]

[PATCH v3] usb: gadget: udc: remove pointer dereference after free

2017-02-13 Thread Gustavo A. R. Silva
Remove pointer dereference after free. Addresses-Coverity-ID: 1091173 Acked-by: Michal Nazarewicz Signed-off-by: Gustavo A. R. Silva --- Changes in v2: Move pointer dereference before pci_pool_free() Set pointer to NULL after free Changes in v3: Remove 'td->next = 0x00' inside for loop. Re

[RESEND PATCH v4 1/2] mailbox: Add driver for Broadcom FlexRM ring manager

2017-02-13 Thread Anup Patel
Some of the Broadcom iProc SoCs have FlexRM ring manager which provides a ring-based programming interface to various offload engines (e.g. RAID, Crypto, etc). This patch adds a common mailbox driver for Broadcom FlexRM ring manager which can be shared by various offload engine drivers (implemente

[RESEND PATCH v4 2/2] dt-bindings: Add DT bindings info for FlexRM ring manager

2017-02-13 Thread Anup Patel
This patch adds device tree bindings document for the FlexRM ring manager found on Broadcom iProc SoCs. Acked-by: Rob Herring Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Anup Patel --- .../bindings/mailbox/brcm,iproc-flexrm-mbox.txt| 59 ++ 1 file ch

[RESEND PATCH v4 0/2] Broadcom FlexRM ring manager support

2017-02-13 Thread Anup Patel
The Broadcom FlexRM ring manager provides producer-consumer style ring interface for offload engines on Broadcom iProc SoCs. We can have one or more instances of Broadcom FlexRM ring manager in a SoC. This patchset adds a mailbox driver for Broadcom FlexRM ring manager which can be used by offload

Re: [PATCH] PCI: Add cavium acs pci quirk

2017-02-13 Thread Alex Williamson
On Sat, 30 Jan 2016 01:33:58 +0530 Manish Jaggi wrote: > Cavium devices matching this quirk do not perform > peer-to-peer with other functions, allowing masking out > these bits as if they were unimplemented in the ACS capability. > > Acked-by: Tirumalesh Chalamarla > Signed-off-by: Manish Jagg

Re: [PATCH v7 5/5] usb: doc: add document for USB3 debug port usage

2017-02-13 Thread Lu Baolu
Hi, On 02/14/2017 11:45 AM, Peter Chen wrote: > On Tue, Feb 14, 2017 at 10:27 AM, Lu Baolu wrote: > >> Add Documentation/usb/usb3-debug-port.rst. This document includes >> the user guide for USB3 debug port. >> >> Cc: linux-...@vger.kernel.org >> Signed-off-by: Lu Baolu >> --- >> Documentation/

Re: [PATCH 1/6] clocksource: sh_cmt: compute rate before registration again

2017-02-13 Thread John Stultz
On Mon, Feb 6, 2017 at 1:11 PM, Nicolai Stange wrote: > With the upcoming NTP correction related rate adjustments to be implemented > in the clockevents core, the latter needs to get informed about every rate > change of a clockevent device made after its registration. > > Currently, sh_cmt violat

Re: [PATCH] Input: pwm-beeper: support customized freq for SND_BELL

2017-02-13 Thread Dmitry Torokhov
On Wed, Feb 08, 2017 at 10:11:21AM +, Jonas Mark (ST-FIR/ENG1) wrote: > Hello Dmitry, > > > > extend the pwm-beeper driver to support customized frequency > > > for SND_BELL from device tree. > > > > No, SND_BELL is literally SND_TONE @1000Hz. There should be no > > customizing. If applicatio

Re: [PATCH] Input: trackpoint: add new trackpoint firmware ID

2017-02-13 Thread Dmitry Torokhov
On Mon, Feb 13, 2017 at 04:30:02PM -0800, Andrew Duggan wrote: > On 02/12/2017 02:38 PM, Dmitry Torokhov wrote: > >On Fri, Feb 10, 2017 at 11:02:21AM +0800, Aaron Ma wrote: > >>Synaptics add new TP firmware ID: 0x2 and 0x3, for now both lower 2 bits > >>are indicated as TP. Change the constant to b

Re: [PATCH 1/2] driver core: emit uevents when device is bound to a driver

2017-02-13 Thread Dmitry Torokhov
On Mon, Feb 13, 2017 at 04:52:07PM -0800, Greg Kroah-Hartman wrote: > On Mon, Feb 13, 2017 at 10:46:16AM -0800, Dmitry Torokhov wrote: > > On Mon, Feb 13, 2017 at 04:07:01AM -0800, Greg Kroah-Hartman wrote: > > > On Sun, Feb 12, 2017 at 04:36:18PM -0800, Dmitry Torokhov wrote: > > > > Majority of s

Re: [PATCH v2] tools/power/x86: Debug utility for intel_pstate driver

2017-02-13 Thread Srinivas Pandruvada
On Mon, 2017-02-13 at 15:19 -0800, Doug Smythies wrote: > This utility can be used to debug and tune the performance of the > intel_pstate driver. > This utility can be used in two ways: > - If there is Linux trace file with pstate_sample events enabled, > then > this utility can parse the trace fi

Re: [PATCH v4 2/2] procfs/tasks: add a simple per-task procfs hidepid= field

2017-02-13 Thread Christian Kujau
On Mon, 13 Feb 2017, Kees Cook wrote: > Okay, cool. Thanks. (Also, where does "setpriv" live? I must need a > new set of util-linux or something?) Indeed, a newer version of util-linux[0] should do, although Debian/testing appears to have an extra package just for "setpriv": https://packages.d

[RFC][PATCH] usb: dwc2: Make sure we disconnect the gadget state

2017-02-13 Thread John Stultz
Just wanted to get some early feedback on this before I submit it for real for the 4.12 timeframe. This is the last patch, that isn't already queued, which I need to get hikey's USB working properly. Feedback would be greatly appreciated! thanks -john I had seen some odd behavior with HiKey's u

Re: [PATCH v6 3/3] i2c: zx2967: add i2c controller driver for ZTE's zx2967 family

2017-02-13 Thread Jun Nie
On 2017年02月09日 17:32, Baoyou Xie wrote: This patch adds i2c controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie Reviewed-by: Shawn Guo --- drivers/i2c/busses/Kconfig | 9 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-zx2967.c | 676 +

[PATCH v2] i2c: designwear: Fix clk warning on suspend/resume

2017-02-13 Thread John Stultz
On my HiKey board, I'm seeing clk warnings on suspend/resume, which seem to be caused by runtime pm suspending the device, then the same suspend hook being called again on suspend time. This patch fixes this by setting the SYSTEM_SLEEP_PM_OPS to using pm_runtime_force_suspend and pm_runtime_force

[PATCH] Documentation: Fix linux-api list typo

2017-02-13 Thread Tyler Hicks
A Japanese translation file contained the incorrect email address for the linux-api list. Signed-off-by: Tyler Hicks --- I was unlucky enough to copy and paste this invalid address from `git grep linux-api Documentation` output, resulting in a patch set that bounced. Documentation/translations

Re: [PATCH v2 2/2] arm: dts: mt2701: add nor flash node

2017-02-13 Thread Guochun Mao
On Sun, 2017-02-12 at 07:35 +0800, Matthias Brugger wrote: > > On 02/06/2017 08:45 AM, Boris Brezillon wrote: > > Hi Guochun, > > > > On Sun, 5 Feb 2017 12:00:49 +0800 > > Guochun Mao wrote: > > > > > >>> > >>> + nor_flash: spi@11014000 { > >>> + compatible = "mediatek,mt2701-nor", >

Re: [PATCH v4 1/1] DM: inplace compressed DM target

2017-02-13 Thread kbuild test robot
Hi Ram, [auto build test WARNING on dm/for-next] [also build test WARNING on v4.10-rc8 next-20170213] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ram-Pai/DM-inplace-compressed-DM-target

Re: [PATCH v3 3/4] dmaengine: Add Broadcom SBA RAID driver

2017-02-13 Thread Anup Patel
On Mon, Feb 13, 2017 at 2:43 PM, Anup Patel wrote: > On Fri, Feb 10, 2017 at 11:20 PM, Dan Williams > wrote: >> On Fri, Feb 10, 2017 at 1:07 AM, Anup Patel wrote: >>> The Broadcom stream buffer accelerator (SBA) provides offloading >>> capabilities for RAID operations. This SBA offload engine i

Re: [PATCH 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte.

2017-02-13 Thread Michael Neuling
On Thu, 2017-02-09 at 08:30 +0530, Aneesh Kumar K.V wrote: > Autonuma preserves the write permission across numa fault to avoid taking > a writefault after a numa fault (Commit: b191f9b106ea " mm: numa: preserve PTE > write permissions across a NUMA hinting fault"). Architecture can implement > pro

Re: [PATCH 2/2] powerpc/mm/autonuma: Switch ppc64 to its own implementeation of saved write

2017-02-13 Thread Michael Neuling
On Thu, 2017-02-09 at 08:30 +0530, Aneesh Kumar K.V wrote: > With this our protnone becomes a present pte with READ/WRITE/EXEC bit cleared. > By default we also set _PAGE_PRIVILEGED on such pte. This is now used to help > us identify a protnone pte that as saved write bit. For such pte, we will > c

[PATCH v4 4/4] seccomp: Add tests for SECCOMP_RET_LOG

2017-02-13 Thread Tyler Hicks
Extend the kernel selftests for seccomp to test the newly added SECCOMP_RET_LOG action. The added tests follow the example of existing tests. Unfortunately, the tests are not capable of inspecting the audit log to verify that the syscall was logged. Signed-off-by: Tyler Hicks --- tools/testing/

[PATCH v4 1/4] seccomp: Add sysctl to display available actions

2017-02-13 Thread Tyler Hicks
This patch creates a read-only sysctl containing an ordered list of seccomp actions that the kernel supports. The ordering, from left to right, is the lowest action value (kill) to the highest action value (allow). Currently, a read of the sysctl file would return "kill trap errno trace allow". The

[PATCH v4 3/4] seccomp: Create an action to log before allowing

2017-02-13 Thread Tyler Hicks
Add a new action, SECCOMP_RET_LOG, that logs a syscall before allowing the syscall. At the implementation level, this action is identical to the existing SECCOMP_RET_ALLOW action. However, it can be very useful when initially developing a seccomp filter for an application. The developer can set the

[PATCH v4 2/4] seccomp: Add sysctl to configure actions that should be logged

2017-02-13 Thread Tyler Hicks
Administrators can write to this sysctl to set the maximum seccomp action that should be logged. Any actions with values greater than what's written to the sysctl will not be logged. For example, all SECCOMP_RET_KILL, SECCOMP_RET_TRAP, and SECCOMP_RET_ERRNO actions would be logged if "errno" were

[PATCH v4 0/4] Improved seccomp logging

2017-02-13 Thread Tyler Hicks
This patch set is the fourth revision of the following two previously submitted patch sets: v1: http://lkml.kernel.org/r/1483375990-14948-1-git-send-email-tyhi...@canonical.com v1: http://lkml.kernel.org/r/1483377999-15019-2-git-send-email-tyhi...@canonical.com v2: http://lkml.kernel.org/r/148

  1   2   3   4   5   6   7   8   9   10   >