drivers/gpio/gpiolib.c:3215: undefined reference to `of_get_named_gpiod_flags'

2016-09-17 Thread kbuild test robot
Hi Linus, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d4690f1e1cdabb4d61207b6787b1605a0dc0aeab commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 4 weeks

drivers/gpio/gpiolib.c:3215: undefined reference to `of_get_named_gpiod_flags'

2016-09-17 Thread kbuild test robot
Hi Linus, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d4690f1e1cdabb4d61207b6787b1605a0dc0aeab commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 4 weeks

Re: [PATCH 4/5] ipc/msg: Lockless security checks for msgsnd

2016-09-17 Thread Manfred Spraul
Hi Davidlohr, Just as with msgrcv (along with the rest of sysvipc since a few years ago), perform the security checks without holding the ipc object lock. Thinking about it: isn't this wrong? CPU1: * msgrcv() * ipcperms() CPU2: * msgctl(), change permissions ** msgctl() returns, new

Re: [PATCH 4/5] ipc/msg: Lockless security checks for msgsnd

2016-09-17 Thread Manfred Spraul
Hi Davidlohr, Just as with msgrcv (along with the rest of sysvipc since a few years ago), perform the security checks without holding the ipc object lock. Thinking about it: isn't this wrong? CPU1: * msgrcv() * ipcperms() CPU2: * msgctl(), change permissions ** msgctl() returns, new

Re: Possible code defects: macros and precedence

2016-09-17 Thread Julia Lawall
On Sat, 17 Sep 2016, Joe Perches wrote: > On Sat, 2016-09-17 at 22:24 +0200, Julia Lawall wrote: > > diff -u -p a/lib/sha1.c b/lib/sha1.c > [] > > @@ -49,18 +49,18 @@ > >   * the input data, the next mix it from the 512-bit array. > >   */ > >  #define SHA_SRC(t) get_unaligned_be32((__u32

Re: Possible code defects: macros and precedence

2016-09-17 Thread Julia Lawall
On Sat, 17 Sep 2016, Joe Perches wrote: > On Sat, 2016-09-17 at 22:24 +0200, Julia Lawall wrote: > > diff -u -p a/lib/sha1.c b/lib/sha1.c > [] > > @@ -49,18 +49,18 @@ > >   * the input data, the next mix it from the 512-bit array. > >   */ > >  #define SHA_SRC(t) get_unaligned_be32((__u32

Re: [PATCH v2 2/2] usb: dwc3: Wait for control tranfer completed when stopping gadget

2016-09-17 Thread Baolin Wang
Hi Felipe, On 9 September 2016 at 19:03, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c >> index 057739d..22787b6 100644 >> --- a/drivers/usb/dwc3/core.c >> +++

Re: [PATCH v2 2/2] usb: dwc3: Wait for control tranfer completed when stopping gadget

2016-09-17 Thread Baolin Wang
Hi Felipe, On 9 September 2016 at 19:03, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c >> index 057739d..22787b6 100644 >> --- a/drivers/usb/dwc3/core.c >> +++ b/drivers/usb/dwc3/core.c >> @@ -999,6 +999,7 @@ static int

Re: Possible code defects: macros and precedence

2016-09-17 Thread Julia Lawall
On Sat, 17 Sep 2016, Joe Perches wrote: > On Sat, 2016-09-17 at 22:24 +0200, Julia Lawall wrote: > > (A 2.2MB message that (perhaps thankfully) didn't get through to lkml) > > > Below is the Coccinelle output for the case where the definition of the > > macro is a single expression.  There is

Re: Possible code defects: macros and precedence

2016-09-17 Thread Julia Lawall
On Sat, 17 Sep 2016, Joe Perches wrote: > On Sat, 2016-09-17 at 22:24 +0200, Julia Lawall wrote: > > (A 2.2MB message that (perhaps thankfully) didn't get through to lkml) > > > Below is the Coccinelle output for the case where the definition of the > > macro is a single expression.  There is

Re: [PATCH v2 1/2] usb: dwc3: gadget: Add disconnect checking when changing function dynamically

2016-09-17 Thread Baolin Wang
Hi Felipe, Sorry for late reply due to my holiday. On 9 September 2016 at 18:47, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> When system has stpped the gadget, we should avoid queuing any requests >> which will cause tranfer failed. Thus

Re: [PATCH v2 1/2] usb: dwc3: gadget: Add disconnect checking when changing function dynamically

2016-09-17 Thread Baolin Wang
Hi Felipe, Sorry for late reply due to my holiday. On 9 September 2016 at 18:47, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> When system has stpped the gadget, we should avoid queuing any requests >> which will cause tranfer failed. Thus adding some disconnect checking to >> avoid

Re: Runtime failure running sh:qemu in -next due to 'sh: fix copy_from_user()'

2016-09-17 Thread Rob Landley
On 09/16/2016 09:23 PM, Guenter Roeck wrote: > On 09/16/2016 04:32 PM, Rich Felker wrote: >>> 4.6.3 from kernel.org. >> >> That is utterly ancient and probaby very buggy. I would recommend 5.x+ >> or at the very least 4.7 or 4.8. >> > Unfortunately that is the latest one available from

Re: Runtime failure running sh:qemu in -next due to 'sh: fix copy_from_user()'

2016-09-17 Thread Rob Landley
On 09/16/2016 09:23 PM, Guenter Roeck wrote: > On 09/16/2016 04:32 PM, Rich Felker wrote: >>> 4.6.3 from kernel.org. >> >> That is utterly ancient and probaby very buggy. I would recommend 5.x+ >> or at the very least 4.7 or 4.8. >> > Unfortunately that is the latest one available from

Re: [PATCH 2/8] drm/rockchip: Get rid of some unnecessary code

2016-09-17 Thread Tomasz Figa
Hi Mark, On Sun, Sep 18, 2016 at 10:50 AM, Mark yao wrote: > On 2016年09月14日 20:54, Tomasz Figa wrote: >> >> Current code implements prepare_fb and cleanup_fb callbacks only to >> grab/release fb references, which is already done by atomic framework >> when

Re: [PATCH 2/8] drm/rockchip: Get rid of some unnecessary code

2016-09-17 Thread Tomasz Figa
Hi Mark, On Sun, Sep 18, 2016 at 10:50 AM, Mark yao wrote: > On 2016年09月14日 20:54, Tomasz Figa wrote: >> >> Current code implements prepare_fb and cleanup_fb callbacks only to >> grab/release fb references, which is already done by atomic framework >> when creating/destryoing plane state. Let's

Re: [PATCH V3 1/4] ARM64 LPC: Indirect ISA port IO introduced

2016-09-17 Thread zhichang
Hi, Arnd, On 2016年09月14日 22:23, Arnd Bergmann wrote: > On Wednesday, September 14, 2016 10:16:28 PM CEST zhichang.yuan wrote: >>> >>> No need to guard includes with an #ifdef. >> If remove #ifdef here, extio.h should not contain any function external >> declarations whose definitions are in >>

Re: [PATCH V3 1/4] ARM64 LPC: Indirect ISA port IO introduced

2016-09-17 Thread zhichang
Hi, Arnd, On 2016年09月14日 22:23, Arnd Bergmann wrote: > On Wednesday, September 14, 2016 10:16:28 PM CEST zhichang.yuan wrote: >>> >>> No need to guard includes with an #ifdef. >> If remove #ifdef here, extio.h should not contain any function external >> declarations whose definitions are in >>

RE: [PATCH v5 3/3] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode

2016-09-17 Thread Po Liu
Hi Shawn, > -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Sunday, September 18, 2016 8:52 AM > To: Po Liu > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; Roy Zang; Arnd >

RE: [PATCH v5 3/3] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode

2016-09-17 Thread Po Liu
Hi Shawn, > -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Sunday, September 18, 2016 8:52 AM > To: Po Liu > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; Roy Zang; Arnd >

Re: [PATCH] jbd2: move more common code into journal_init_common()

2016-09-17 Thread Geliang Tang
On Thu, Sep 15, 2016 at 03:58:18PM -0400, Theodore Ts'o wrote: > On Thu, Sep 15, 2016 at 12:03:09PM -0400, Theodore Ts'o wrote: > > On Wed, Sep 07, 2016 at 03:16:24PM +0200, Jan Kara wrote: > > > On Wed 07-09-16 20:41:13, Geliang Tang wrote: > > > > There are some repetitive code in

Re: [PATCH] jbd2: move more common code into journal_init_common()

2016-09-17 Thread Geliang Tang
On Thu, Sep 15, 2016 at 03:58:18PM -0400, Theodore Ts'o wrote: > On Thu, Sep 15, 2016 at 12:03:09PM -0400, Theodore Ts'o wrote: > > On Wed, Sep 07, 2016 at 03:16:24PM +0200, Jan Kara wrote: > > > On Wed 07-09-16 20:41:13, Geliang Tang wrote: > > > > There are some repetitive code in

Hello

2016-09-17 Thread Hasher Al Maktoum
Dear Friend, Your contact details came to me by recommendation, I am interested in investing in your country and I believe you have the capabilities of providing the needed assistance, solutions and advise in actualizing this, Let me know if you are willing to understake this task for me so we

Hello

2016-09-17 Thread Hasher Al Maktoum
Dear Friend, Your contact details came to me by recommendation, I am interested in investing in your country and I believe you have the capabilities of providing the needed assistance, solutions and advise in actualizing this, Let me know if you are willing to understake this task for me so we

Your payment Released

2016-09-17 Thread First Mile Consulting Inc.
Hello We want to let you know that record available to us states that sometime ago, you were contacted by some people who said they wanted to wire some money into your account and you people share at an agreed ratio. You opened communication with the consulting company then but after sometime,

Your payment Released

2016-09-17 Thread First Mile Consulting Inc.
Hello We want to let you know that record available to us states that sometime ago, you were contacted by some people who said they wanted to wire some money into your account and you people share at an agreed ratio. You opened communication with the consulting company then but after sometime,

Re: [PATCH linux-firmware 10/12] WHENCE: List new radeon CI and SI smc firmware

2016-09-17 Thread Ben Hutchings
On Sun, Sep 18, 2016 at 03:03:43AM +0100, Ben Hutchings wrote: [...] > @@ -2957,6 +2964,7 @@ File: qat_c3xxx.bin > File: qat_c3xxx_mmp.bin > File: qat_c62x.bin > File: qat_c62x_mmp.bin > +Link: qat_mmp.bin -> qat_895xcc_mmp.bin > > Licence: Redistributable. See LICENCE.qat_firmware for

Re: [PATCH linux-firmware 10/12] WHENCE: List new radeon CI and SI smc firmware

2016-09-17 Thread Ben Hutchings
On Sun, Sep 18, 2016 at 03:03:43AM +0100, Ben Hutchings wrote: [...] > @@ -2957,6 +2964,7 @@ File: qat_c3xxx.bin > File: qat_c3xxx_mmp.bin > File: qat_c62x.bin > File: qat_c62x_mmp.bin > +Link: qat_mmp.bin -> qat_895xcc_mmp.bin > > Licence: Redistributable. See LICENCE.qat_firmware for

Re: [PATCH v4] stop_machine: Avoid a sleep and wakeup in the stop_one_cpu()

2016-09-17 Thread Cheng Chao
Hi Peter, What should I do next? Thanks. Cheng on 09/14/2016 10:01 AM, Cheng Chao wrote: > In case @cpu == smp_proccessor_id(), we can avoid a sleep+wakeup > by doing a preemption. > > the caller such as sched_exec can benefit from this change. > > Signed-off-by: Cheng Chao

Re: [PATCH v4] stop_machine: Avoid a sleep and wakeup in the stop_one_cpu()

2016-09-17 Thread Cheng Chao
Hi Peter, What should I do next? Thanks. Cheng on 09/14/2016 10:01 AM, Cheng Chao wrote: > In case @cpu == smp_proccessor_id(), we can avoid a sleep+wakeup > by doing a preemption. > > the caller such as sched_exec can benefit from this change. > > Signed-off-by: Cheng Chao > Cc: Oleg

[PATCH linux-firmware 12/12] README: Say that files must be listed in WHENCE, and how to check it

2016-09-17 Thread Ben Hutchings
- Say that new files must, not 'should', be listed in WHENCE - State the expected form of a reference to a separate licence file - Mention 'make check' Signed-off-by: Ben Hutchings --- README | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

[PATCH linux-firmware 11/12] WHENCE: Add reference to 'qca/NOTICE.txt'

2016-09-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- WHENCE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WHENCE b/WHENCE index 64fea97a20dc..aafd503f9447 100644 --- a/WHENCE +++ b/WHENCE @@ -3144,7 +3144,7 @@ File: qca/rampatch_usb_0302.bin File:

[PATCH linux-firmware 12/12] README: Say that files must be listed in WHENCE, and how to check it

2016-09-17 Thread Ben Hutchings
- Say that new files must, not 'should', be listed in WHENCE - State the expected form of a reference to a separate licence file - Mention 'make check' Signed-off-by: Ben Hutchings --- README | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README b/README index

[PATCH linux-firmware 11/12] WHENCE: Add reference to 'qca/NOTICE.txt'

2016-09-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- WHENCE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WHENCE b/WHENCE index 64fea97a20dc..aafd503f9447 100644 --- a/WHENCE +++ b/WHENCE @@ -3144,7 +3144,7 @@ File: qca/rampatch_usb_0302.bin File: qca/rampatch_00130300.bin File:

[PATCH linux-firmware 10/12] WHENCE: List new radeon CI and SI smc firmware

2016-09-17 Thread Ben Hutchings
These were added in commits 406964300821, 9693ff6d749d. Signed-off-by: Ben Hutchings --- WHENCE | 8 1 file changed, 8 insertions(+) diff --git a/WHENCE b/WHENCE index df69dd8cbc75..64fea97a20dc 100644 --- a/WHENCE +++ b/WHENCE @@ -1743,36 +1743,42 @@ File:

[PATCH linux-firmware 08/12] WHENCE: Adjust some licence file references to satisfy check_whence.py

2016-09-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- WHENCE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WHENCE b/WHENCE index 93927fcfe627..17dda3bfb16f 100644 --- a/WHENCE +++ b/WHENCE @@ -469,8 +469,7 @@ Version: 1.4.0 File: ath9k_htc/htc_9271-1.4.0.fw

[PATCH linux-firmware 09/12] WHENCE: Fix metadata for snd-soc-skl firmware

2016-09-17 Thread Ben Hutchings
Fix filename 'intel/dsp_fw_bxtn.bin'. List all the files and their versions, not just the symlinks. Delete the non-standard 'md5sum' fields. Signed-off-by: Ben Hutchings --- WHENCE | 30 -- 1 file changed, 24 insertions(+), 6 deletions(-)

[PATCH linux-firmware 08/12] WHENCE: Adjust some licence file references to satisfy check_whence.py

2016-09-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- WHENCE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WHENCE b/WHENCE index 93927fcfe627..17dda3bfb16f 100644 --- a/WHENCE +++ b/WHENCE @@ -469,8 +469,7 @@ Version: 1.4.0 File: ath9k_htc/htc_9271-1.4.0.fw Version: 1.4.0 -Licence:

[PATCH linux-firmware 09/12] WHENCE: Fix metadata for snd-soc-skl firmware

2016-09-17 Thread Ben Hutchings
Fix filename 'intel/dsp_fw_bxtn.bin'. List all the files and their versions, not just the symlinks. Delete the non-standard 'md5sum' fields. Signed-off-by: Ben Hutchings --- WHENCE | 30 -- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/WHENCE

[PATCH linux-firmware 10/12] WHENCE: List new radeon CI and SI smc firmware

2016-09-17 Thread Ben Hutchings
These were added in commits 406964300821, 9693ff6d749d. Signed-off-by: Ben Hutchings --- WHENCE | 8 1 file changed, 8 insertions(+) diff --git a/WHENCE b/WHENCE index df69dd8cbc75..64fea97a20dc 100644 --- a/WHENCE +++ b/WHENCE @@ -1743,36 +1743,42 @@ File: radeon/MULLINS_pfp.bin

[PATCH linux-firmware 07/12] Remove unused 'LICENCE.mwl8335'

2016-09-17 Thread Ben Hutchings
This was the licence text for mwl8335_duplex.fw which has already been removed. Signed-off-by: Ben Hutchings --- LICENCE.mwl8335 | 52 1 file changed, 52 deletions(-) delete mode 100644 LICENCE.mwl8335 diff --git

[PATCH linux-firmware 06/12] WHENCE: Remove references to two nvidia firmware files that were never added

2016-09-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- WHENCE | 2 -- 1 file changed, 2 deletions(-) diff --git a/WHENCE b/WHENCE index 60028347b443..93927fcfe627 100644 --- a/WHENCE +++ b/WHENCE @@ -3227,10 +3227,8 @@ File: nvidia/gm20b/gr/fecs_bl.bin File: nvidia/gm20b/gr/fecs_data.bin

[PATCH linux-firmware 07/12] Remove unused 'LICENCE.mwl8335'

2016-09-17 Thread Ben Hutchings
This was the licence text for mwl8335_duplex.fw which has already been removed. Signed-off-by: Ben Hutchings --- LICENCE.mwl8335 | 52 1 file changed, 52 deletions(-) delete mode 100644 LICENCE.mwl8335 diff --git a/LICENCE.mwl8335

[PATCH linux-firmware 06/12] WHENCE: Remove references to two nvidia firmware files that were never added

2016-09-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- WHENCE | 2 -- 1 file changed, 2 deletions(-) diff --git a/WHENCE b/WHENCE index 60028347b443..93927fcfe627 100644 --- a/WHENCE +++ b/WHENCE @@ -3227,10 +3227,8 @@ File: nvidia/gm20b/gr/fecs_bl.bin File: nvidia/gm20b/gr/fecs_data.bin File:

[PATCH linux-firmware 03/12] Add copy of GPL v2 and references to the GPL-2 and GPL-3 files

2016-09-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- GPL-2 | 339 + WHENCE | 16 ++-- 2 files changed, 347 insertions(+), 8 deletions(-) create mode 100644 GPL-2 diff --git a/GPL-2 b/GPL-2 new file mode 100644 index

[PATCH linux-firmware 05/12] WHENCE: Remove references to source for emi62 firmware

2016-09-17 Thread Ben Hutchings
The 'sources' appear to be the names of ihex files, not actual source code, and in any case those files are not included in this repository. Signed-off-by: Ben Hutchings --- WHENCE | 3 --- 1 file changed, 3 deletions(-) diff --git a/WHENCE b/WHENCE index

[PATCH linux-firmware 04/12] WHENCE: Specify source directories for cis, isci, and usbdux firmware

2016-09-17 Thread Ben Hutchings
This stops check_whence.py complaining about Makefiles etc. Signed-off-by: Ben Hutchings --- WHENCE | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/WHENCE b/WHENCE index 6ca42394eeb7..372f111c1b01 100644 --- a/WHENCE +++ b/WHENCE @@

[PATCH linux-firmware 03/12] Add copy of GPL v2 and references to the GPL-2 and GPL-3 files

2016-09-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- GPL-2 | 339 + WHENCE | 16 ++-- 2 files changed, 347 insertions(+), 8 deletions(-) create mode 100644 GPL-2 diff --git a/GPL-2 b/GPL-2 new file mode 100644 index ..d159169d1050 ---

[PATCH linux-firmware 05/12] WHENCE: Remove references to source for emi62 firmware

2016-09-17 Thread Ben Hutchings
The 'sources' appear to be the names of ihex files, not actual source code, and in any case those files are not included in this repository. Signed-off-by: Ben Hutchings --- WHENCE | 3 --- 1 file changed, 3 deletions(-) diff --git a/WHENCE b/WHENCE index 372f111c1b01..60028347b443 100644 ---

[PATCH linux-firmware 04/12] WHENCE: Specify source directories for cis, isci, and usbdux firmware

2016-09-17 Thread Ben Hutchings
This stops check_whence.py complaining about Makefiles etc. Signed-off-by: Ben Hutchings --- WHENCE | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/WHENCE b/WHENCE index 6ca42394eeb7..372f111c1b01 100644 --- a/WHENCE +++ b/WHENCE @@ -1074,13 +1074,7 @@

[PATCH linux-firmware 02/12] WHENCE: Correct filename of LICENCE.moxa

2016-09-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- WHENCE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WHENCE b/WHENCE index d7feede2b4da..5abdd8d3f49f 100644 --- a/WHENCE +++ b/WHENCE @@ -2889,7 +2889,7 @@ File: moxa/moxa-1131.fw File: moxa/moxa-1150.fw File:

[PATCH linux-firmware 02/12] WHENCE: Correct filename of LICENCE.moxa

2016-09-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- WHENCE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WHENCE b/WHENCE index d7feede2b4da..5abdd8d3f49f 100644 --- a/WHENCE +++ b/WHENCE @@ -2889,7 +2889,7 @@ File: moxa/moxa-1131.fw File: moxa/moxa-1150.fw File: moxa/moxa-1151.fw

Re: [PATCH v2] sched/core: remove unnecessary initialization in sched_init()

2016-09-17 Thread Cheng Chao
Hi Peter, Would you please review this patch? thanks. Cheng on 09/14/2016 10:23 AM, Cheng Chao wrote: > init_idle() is called immediately after current->sched_class > = _sched_class, init_idle() sets current->sched_class > = _sched_class. > > Signed-off-by: Cheng Chao

Re: [PATCH v2] sched/core: remove unnecessary initialization in sched_init()

2016-09-17 Thread Cheng Chao
Hi Peter, Would you please review this patch? thanks. Cheng on 09/14/2016 10:23 AM, Cheng Chao wrote: > init_idle() is called immediately after current->sched_class > = _sched_class, init_idle() sets current->sched_class > = _sched_class. > > Signed-off-by: Cheng Chao > Cc:

[PATCH linux-firmware 01/12] Add a metadata consistency check script

2016-09-17 Thread Ben Hutchings
The script compares the files listed in WHENCE (or otherwise expected) and the files known to git, and reports all differences as errors. Add a 'check' rule to the Makefile that runs this. Signed-off-by: Ben Hutchings --- Makefile| 3 +++ check_whence.py | 56

[PATCH linux-firmware 01/12] Add a metadata consistency check script

2016-09-17 Thread Ben Hutchings
The script compares the files listed in WHENCE (or otherwise expected) and the files known to git, and reports all differences as errors. Add a 'check' rule to the Makefile that runs this. Signed-off-by: Ben Hutchings --- Makefile| 3 +++ check_whence.py | 56

[PATCH linux-firmware 00/12] Fix metadata for linux-firmware

2016-09-17 Thread Ben Hutchings
This series adds a metadata consistency check script, fixes all the errors it found, and adds a reference to it in README. If I don't hear any objections, I'll apply these changes next week. Ben. Ben Hutchings (12):   Add a metadata consistency check script   WHENCE: Correct filename of

[PATCH linux-firmware 00/12] Fix metadata for linux-firmware

2016-09-17 Thread Ben Hutchings
This series adds a metadata consistency check script, fixes all the errors it found, and adds a reference to it in README. If I don't hear any objections, I'll apply these changes next week. Ben. Ben Hutchings (12):   Add a metadata consistency check script   WHENCE: Correct filename of

Re: [PATCH -v3 00/10] THP swap: Delay splitting THP during swapping out

2016-09-17 Thread Huang, Ying
Minchan Kim writes: > On Tue, Sep 13, 2016 at 04:53:49PM +0800, Huang, Ying wrote: >> Minchan Kim writes: >> > On Tue, Sep 13, 2016 at 02:40:00PM +0800, Huang, Ying wrote: >> >> Minchan Kim writes: >> >> >> >> > Hi Huang, >> >> > >>

Re: [PATCH -v3 00/10] THP swap: Delay splitting THP during swapping out

2016-09-17 Thread Huang, Ying
Minchan Kim writes: > On Tue, Sep 13, 2016 at 04:53:49PM +0800, Huang, Ying wrote: >> Minchan Kim writes: >> > On Tue, Sep 13, 2016 at 02:40:00PM +0800, Huang, Ying wrote: >> >> Minchan Kim writes: >> >> >> >> > Hi Huang, >> >> > >> >> > On Fri, Sep 09, 2016 at 01:35:12PM -0700, Huang, Ying

Re: [PATCH 2/8] drm/rockchip: Get rid of some unnecessary code

2016-09-17 Thread Mark yao
On 2016年09月14日 20:54, Tomasz Figa wrote: Current code implements prepare_fb and cleanup_fb callbacks only to grab/release fb references, which is already done by atomic framework when creating/destryoing plane state. Let's remove these unused bits. Signed-off-by: Tomasz Figa

Re: [PATCH 2/8] drm/rockchip: Get rid of some unnecessary code

2016-09-17 Thread Mark yao
On 2016年09月14日 20:54, Tomasz Figa wrote: Current code implements prepare_fb and cleanup_fb callbacks only to grab/release fb references, which is already done by atomic framework when creating/destryoing plane state. Let's remove these unused bits. Signed-off-by: Tomasz Figa ---

Re: [PATCH] clk: hisilicon: add CRG driver for Hi3798CV200 SoC

2016-09-17 Thread Jiancheng Xue
On 2016/9/15 5:01, Stephen Boyd wrote: > On 09/12, Jiancheng Xue wrote: >> Add CRG driver for Hi3798CV200 SoC. CRG(Clock and Reset >> Generator) module generates clock and reset signals used >> by other module blocks on SoC. >> >> Signed-off-by: Jiancheng Xue > >

Re: [PATCH] clk: hisilicon: add CRG driver for Hi3798CV200 SoC

2016-09-17 Thread Jiancheng Xue
On 2016/9/15 5:01, Stephen Boyd wrote: > On 09/12, Jiancheng Xue wrote: >> Add CRG driver for Hi3798CV200 SoC. CRG(Clock and Reset >> Generator) module generates clock and reset signals used >> by other module blocks on SoC. >> >> Signed-off-by: Jiancheng Xue > > Overall looks fine. Just a few

Re: Cannot load linux after recent efi-related changes

2016-09-17 Thread Mike Krinkin
On Sat, Sep 17, 2016 at 07:23:57PM +0300, Mike Krinkin wrote: > Hello, > > after commit 3dad6f7f6975 ("x86/efi: Defer efi_esrt_init until after > memblock_x86_fill") kernel hits BUG_ON __efi_enter_virtual_mode because > efi.systab is NULL. With older kernel versions i face the problem with >

Re: Cannot load linux after recent efi-related changes

2016-09-17 Thread Mike Krinkin
On Sat, Sep 17, 2016 at 07:23:57PM +0300, Mike Krinkin wrote: > Hello, > > after commit 3dad6f7f6975 ("x86/efi: Defer efi_esrt_init until after > memblock_x86_fill") kernel hits BUG_ON __efi_enter_virtual_mode because > efi.systab is NULL. With older kernel versions i face the problem with >

[PATCH] perf, tools: Handle events including .c and .o

2016-09-17 Thread Andi Kleen
From: Andi Kleen This is a generic bug fix, but it helps with Sukadev's JSON event tree where such events can happen. Any event inclduing a .c/.o/.bpf currently triggers BPF compilation or loading and then an error. This can happen for some Intel JSON events, which cannot

[PATCH] perf, tools: Handle events including .c and .o

2016-09-17 Thread Andi Kleen
From: Andi Kleen This is a generic bug fix, but it helps with Sukadev's JSON event tree where such events can happen. Any event inclduing a .c/.o/.bpf currently triggers BPF compilation or loading and then an error. This can happen for some Intel JSON events, which cannot be used. Fix the

Re: Crashing 'kzm' target in next-20160913 due to 'gpio: mxc: shift gpio_mxc_init() to subsys_initcall level'

2016-09-17 Thread Guenter Roeck
On 09/17/2016 05:08 PM, Shawn Guo wrote: Hi Guenter, On Thu, Sep 15, 2016 at 04:35:04PM +0300, Vladimir Zapolskiy wrote: The proper fix in this particular case should be like this one: Does Vladimir's patch below fix your problem? Yes, it does. Feel free to add Tested-by: Guenter Roeck

Re: Crashing 'kzm' target in next-20160913 due to 'gpio: mxc: shift gpio_mxc_init() to subsys_initcall level'

2016-09-17 Thread Guenter Roeck
On 09/17/2016 05:08 PM, Shawn Guo wrote: Hi Guenter, On Thu, Sep 15, 2016 at 04:35:04PM +0300, Vladimir Zapolskiy wrote: The proper fix in this particular case should be like this one: Does Vladimir's patch below fix your problem? Yes, it does. Feel free to add Tested-by: Guenter Roeck

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

2016-09-17 Thread Shawn Guo
On Tue, Sep 13, 2016 at 12:40:59PM +0800, Po Liu wrote: > On some platforms, root port doesn't support MSI/MSI-X/INTx in RC mode. > When chip support the aer interrupt with none MSI/MSI-X/INTx mode, > maybe there is interrupt line for aer pme etc. Search the interrupt > number in the fdt file.

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

2016-09-17 Thread Shawn Guo
On Tue, Sep 13, 2016 at 12:40:59PM +0800, Po Liu wrote: > On some platforms, root port doesn't support MSI/MSI-X/INTx in RC mode. > When chip support the aer interrupt with none MSI/MSI-X/INTx mode, > maybe there is interrupt line for aer pme etc. Search the interrupt > number in the fdt file.

Re: [PATCH 1/1] ARM: imx5: Add clocks configuration

2016-09-17 Thread Shawn Guo
On Sun, Sep 18, 2016 at 08:21:59AM +0800, Shawn Guo wrote: > On Thu, Sep 15, 2016 at 08:42:33PM +0300, Alexander Shiyan wrote: > > >Четверг, 15 сентября 2016, 13:13 +03:00 от Fabien Lahoudere > > >: > > > > > >From: Kalle Kankare < kalle.kank...@vincit.fi > > > >

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3000' requires '-mfp32'

2016-09-17 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d4690f1e1cdabb4d61207b6787b1605a0dc0aeab commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier

Re: [PATCH 1/1] ARM: imx5: Add clocks configuration

2016-09-17 Thread Shawn Guo
On Sun, Sep 18, 2016 at 08:21:59AM +0800, Shawn Guo wrote: > On Thu, Sep 15, 2016 at 08:42:33PM +0300, Alexander Shiyan wrote: > > >Четверг, 15 сентября 2016, 13:13 +03:00 от Fabien Lahoudere > > >: > > > > > >From: Kalle Kankare < kalle.kank...@vincit.fi > > > > > > >Add clocks configuration for

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3000' requires '-mfp32'

2016-09-17 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d4690f1e1cdabb4d61207b6787b1605a0dc0aeab commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier

Re: [PATCH 1/1] ARM: imx5: Add clocks configuration

2016-09-17 Thread Shawn Guo
On Thu, Sep 15, 2016 at 08:42:33PM +0300, Alexander Shiyan wrote: > >Четверг, 15 сентября 2016, 13:13 +03:00 от Fabien Lahoudere > >: > > > >From: Kalle Kankare < kalle.kank...@vincit.fi > > > > >Add clocks configuration for CSI, FIRI and IEEE1588. > > >

Re: [PATCH 1/1] ARM: imx5: Add clocks configuration

2016-09-17 Thread Shawn Guo
On Thu, Sep 15, 2016 at 08:42:33PM +0300, Alexander Shiyan wrote: > >Четверг, 15 сентября 2016, 13:13 +03:00 от Fabien Lahoudere > >: > > > >From: Kalle Kankare < kalle.kank...@vincit.fi > > > > >Add clocks configuration for CSI, FIRI and IEEE1588. > > > >Signed-off-by: Fabien Lahoudere <

arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

2016-09-17 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d4690f1e1cdabb4d61207b6787b1605a0dc0aeab commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 10 months ago

arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

2016-09-17 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d4690f1e1cdabb4d61207b6787b1605a0dc0aeab commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 10 months ago

Re: Crashing 'kzm' target in next-20160913 due to 'gpio: mxc: shift gpio_mxc_init() to subsys_initcall level'

2016-09-17 Thread Shawn Guo
Hi Guenter, On Thu, Sep 15, 2016 at 04:35:04PM +0300, Vladimir Zapolskiy wrote: > The proper fix in this particular case should be like this one: > Does Vladimir's patch below fix your problem? Shawn > diff --git a/arch/arm/mach-imx/mach-kzm_arm11_01.c >

Re: Crashing 'kzm' target in next-20160913 due to 'gpio: mxc: shift gpio_mxc_init() to subsys_initcall level'

2016-09-17 Thread Shawn Guo
Hi Guenter, On Thu, Sep 15, 2016 at 04:35:04PM +0300, Vladimir Zapolskiy wrote: > The proper fix in this particular case should be like this one: > Does Vladimir's patch below fix your problem? Shawn > diff --git a/arch/arm/mach-imx/mach-kzm_arm11_01.c >

Re: [PATCH] sched: Fix SCHED_HRTICK bug leading to late preemption of tasks

2016-09-17 Thread Wanpeng Li
2016-09-17 9:28 GMT+08:00 Joonwoo Park : > From: Srivatsa Vaddagiri > > SCHED_HRTICK feature is useful to preempt SCHED_FAIR tasks on-the-dot > (just when they would have exceeded their ideal_runtime). It makes use > of a per-cpu hrtimer resource and

Re: [PATCH] sched: Fix SCHED_HRTICK bug leading to late preemption of tasks

2016-09-17 Thread Wanpeng Li
2016-09-17 9:28 GMT+08:00 Joonwoo Park : > From: Srivatsa Vaddagiri > > SCHED_HRTICK feature is useful to preempt SCHED_FAIR tasks on-the-dot > (just when they would have exceeded their ideal_runtime). It makes use > of a per-cpu hrtimer resource and hence alarming that hrtimer should > be based

[PATCH net-next 00/11] rxrpc: Tracepoint addition and improvement

2016-09-17 Thread David Howells
/dhowells/linux-fs.git rxrpc-rewrite-20160917-2 David --- David Howells (11): rxrpc: Print the packet type name in the Rx packet trace rxrpc: Add some additional call tracing rxrpc: Add connection tracepoint and client conn state tracepoint rxrpc: Add a tracepoint

[PATCH net-next 01/11] rxrpc: Print the packet type name in the Rx packet trace

2016-09-17 Thread David Howells
Print a symbolic packet type name for each valid received packet in the trace output, not just a number. Signed-off-by: David Howells --- include/trace/events/rxrpc.h |5 +++-- net/rxrpc/ar-internal.h |6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-)

[PATCH net-next 00/11] rxrpc: Tracepoint addition and improvement

2016-09-17 Thread David Howells
/dhowells/linux-fs.git rxrpc-rewrite-20160917-2 David --- David Howells (11): rxrpc: Print the packet type name in the Rx packet trace rxrpc: Add some additional call tracing rxrpc: Add connection tracepoint and client conn state tracepoint rxrpc: Add a tracepoint

[PATCH net-next 01/11] rxrpc: Print the packet type name in the Rx packet trace

2016-09-17 Thread David Howells
Print a symbolic packet type name for each valid received packet in the trace output, not just a number. Signed-off-by: David Howells --- include/trace/events/rxrpc.h |5 +++-- net/rxrpc/ar-internal.h |6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git

[PATCH net-next 04/11] rxrpc: Add a tracepoint to follow the life of a packet in the Tx buffer

2016-09-17 Thread David Howells
Add a tracepoint to follow the insertion of a packet into the transmit buffer, its transmission and its rotation out of the buffer. Signed-off-by: David Howells --- include/trace/events/rxrpc.h | 26 ++ net/rxrpc/ar-internal.h | 12

[PATCH net-next 04/11] rxrpc: Add a tracepoint to follow the life of a packet in the Tx buffer

2016-09-17 Thread David Howells
Add a tracepoint to follow the insertion of a packet into the transmit buffer, its transmission and its rotation out of the buffer. Signed-off-by: David Howells --- include/trace/events/rxrpc.h | 26 ++ net/rxrpc/ar-internal.h | 12

[PATCH net-next 03/11] rxrpc: Add connection tracepoint and client conn state tracepoint

2016-09-17 Thread David Howells
Add a pair of tracepoints, one to track rxrpc_connection struct ref counting and the other to track the client connection cache state. Signed-off-by: David Howells --- include/trace/events/rxrpc.h | 60 +++ net/rxrpc/ar-internal.h | 76

[PATCH net-next 03/11] rxrpc: Add connection tracepoint and client conn state tracepoint

2016-09-17 Thread David Howells
Add a pair of tracepoints, one to track rxrpc_connection struct ref counting and the other to track the client connection cache state. Signed-off-by: David Howells --- include/trace/events/rxrpc.h | 60 +++ net/rxrpc/ar-internal.h | 76

[PATCH net-next 09/11] rxrpc: Remove printks from rxrpc_recvmsg_data() to fix uninit var

2016-09-17 Thread David Howells
Remove _enter/_debug/_leave calls from rxrpc_recvmsg_data() of which one uses an uninitialised variable. Signed-off-by: David Howells --- net/rxrpc/recvmsg.c |8 1 file changed, 8 deletions(-) diff --git a/net/rxrpc/recvmsg.c b/net/rxrpc/recvmsg.c index

[PATCH net-next 11/11] rxrpc: Add config to inject packet loss

2016-09-17 Thread David Howells
Add a configuration option to inject packet loss by discarding approximately every 8th packet received and approximately every 8th DATA packet transmitted. Note that no locking is used, but it shouldn't really matter. Signed-off-by: David Howells --- net/rxrpc/Kconfig |

[PATCH net-next 08/11] rxrpc: Add a tracepoint to follow what recvmsg does

2016-09-17 Thread David Howells
Add a tracepoint to follow what recvmsg does within AF_RXRPC. Signed-off-by: David Howells --- include/trace/events/rxrpc.h | 34 ++ net/rxrpc/ar-internal.h | 17 + net/rxrpc/misc.c | 14 ++

[PATCH net-next 10/11] rxrpc: Improve skb tracing

2016-09-17 Thread David Howells
Improve sk_buff tracing within AF_RXRPC by the following means: (1) Use an enum to note the event type rather than plain integers and use an array of event names rather than a big multi ?: list. (2) Distinguish Rx from Tx packets and account them separately. This requires the call

[PATCH net-next 09/11] rxrpc: Remove printks from rxrpc_recvmsg_data() to fix uninit var

2016-09-17 Thread David Howells
Remove _enter/_debug/_leave calls from rxrpc_recvmsg_data() of which one uses an uninitialised variable. Signed-off-by: David Howells --- net/rxrpc/recvmsg.c |8 1 file changed, 8 deletions(-) diff --git a/net/rxrpc/recvmsg.c b/net/rxrpc/recvmsg.c index b62a08151895..79e65668bc58

[PATCH net-next 11/11] rxrpc: Add config to inject packet loss

2016-09-17 Thread David Howells
Add a configuration option to inject packet loss by discarding approximately every 8th packet received and approximately every 8th DATA packet transmitted. Note that no locking is used, but it shouldn't really matter. Signed-off-by: David Howells --- net/rxrpc/Kconfig |7 +++

[PATCH net-next 08/11] rxrpc: Add a tracepoint to follow what recvmsg does

2016-09-17 Thread David Howells
Add a tracepoint to follow what recvmsg does within AF_RXRPC. Signed-off-by: David Howells --- include/trace/events/rxrpc.h | 34 ++ net/rxrpc/ar-internal.h | 17 + net/rxrpc/misc.c | 14 ++ net/rxrpc/recvmsg.c

[PATCH net-next 10/11] rxrpc: Improve skb tracing

2016-09-17 Thread David Howells
Improve sk_buff tracing within AF_RXRPC by the following means: (1) Use an enum to note the event type rather than plain integers and use an array of event names rather than a big multi ?: list. (2) Distinguish Rx from Tx packets and account them separately. This requires the call

  1   2   3   4   5   >