Re: [GIT PULL] sound updates for 4.19-rc1

2018-08-15 Thread Joe Perches
On Wed, 2018-08-15 at 19:00 -0700, Linus Torvalds wrote: > On Wed, Aug 15, 2018 at 6:27 PM Linus Torvalds > wrote: > > > > I have no idea _why_, but it's consistent, and it bisects down to > > > > c647f806b8c2 "ALSA: hda - Allow multiple ADCs for mic mute LED controls" > > > > where the

Re: AArch64 boot failure on Hikey960 on latest master after "arm64: insn: Don't fallback on nosync path for general insn patching"

2018-08-15 Thread leo . yan
On Thu, Aug 16, 2018 at 02:38:51AM +0300, Tuomas Tynkkynen wrote: > Hello, > > Booting Linus's master of today with the usual arm64 defconfig fails for > me on the Hikey960 board. I've bisected it down to: > > commit 693350a7998018391852c48f68956cf0f855b2b9 (HEAD, refs/bisect/bad) > Author: Will

Re: [PATCH 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe Phy controller

2018-08-15 Thread Hanjie Lin
On 2018/8/15 6:50, Rob Herring wrote: > On Tue, Aug 14, 2018 at 02:12:13AM -0400, Hanjie Lin wrote: >> From: Yue Wang > > Subject should be "dt-bindings: phy: ..." > >> The Meson-PCIE-PHY controller supports the 5-Gbps data rate >> of the PCI Express Gen 2 specification and is

[PATCH] signal: Don't send signals to tasks that don't exist

2018-08-15 Thread Eric W. Biederman
Recently syzbot reported crashes in send_sigio_to_task and send_sigurg_to_task in linux-next. Despite finding a reproducer syzbot apparently did not bisected this or otherwise track down the offending commit in linux-next. I happened to see this report and examined the code because I had

Re: [RFC PATCH 3/5] RISC-V: Add cpu_operatios structure

2018-08-15 Thread Anup Patel
On Thu, Aug 16, 2018 at 5:26 AM, Atish Patra wrote: > Defining cpu_operations now helps adding cpu hotplug > support in proper manner. Moreover, it provides flexibility > in supporting other cpu enable/boot methods can be > supported in future. This patch has been largely inspired from > ARM64.

Re: [PATCH v3 1/3] vmalloc: Add __vmalloc_node_try_addr function

2018-08-15 Thread kbuild test robot
Hi Rick, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18 next-20180815] [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

Re: [BUG][BISECT] NFSv4 root failures after "fs/locks: allow a lock request to block other requests."

2018-08-15 Thread NeilBrown
On Wed, Aug 15 2018, Jeff Layton wrote: > On Wed, 2018-08-15 at 14:28 +0200, Krzysztof Kozlowski wrote: >> Hi, >> >> Bisect pointed commit ce3147990450a68b3f549088b30f087742a08b5d >> ("fs/locks: allow a lock request to block other requests.") to failure >> boot of NFSv4 with root on several

Re: general protection fault in send_sigurg_to_task

2018-08-15 Thread Eric W. Biederman
Dmitry Vyukov writes: > On Tue, Aug 14, 2018 at 12:11 PM, J. Bruce Fields > wrote: >> On Mon, Aug 13, 2018 at 06:33:02AM -0700, syzbot wrote: >>> syzbot has found a reproducer for the following crash on: >>> >>> HEAD commit:5ed5da74de9e Add linux-next specific files for 20180813 >>> git

Re: [RFC PATCH 1/5] RISC-V: Add logical CPU indexing for RISC-V

2018-08-15 Thread Anup Patel
On Thu, Aug 16, 2018 at 5:26 AM, Atish Patra wrote: > Currently, both linux cpu id and hardware cpu id are same. > This is not recommended as it will lead to discontinuous cpu > indexing in Linux. Moreover, kdump kernel will run from CPU0 > which would be absent if we follow existing scheme. > >

Re: [PATCH 4.18 00/79] 4.18.1-stable review

2018-08-15 Thread Byron Stanoszek
On Wed, 15 Aug 2018, Greg Kroah-Hartman wrote: On Wed, Aug 15, 2018 at 01:24:25PM -0400, Byron Stanoszek wrote: Hi Greg & Thomas, I'd like to report a regression in Linux 4.18.1 regarding the L1TF patches. The kernel no longer thinks I have SMT enabled in the BIOS. This works fine in 4.18.0.

Re: /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg

2018-08-15 Thread Masahiro Yamada
Hi Borislav, 2018-06-16 20:10 GMT+09:00 Borislav Petkov : > Hi, > > I'm seeing this when I do > > # make menuconfig > > after a fresh repo clean: git clean -dqfx > > Might wanna silence it... > > /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg > /bin/sh: 1: .: Can't open

Re: Should we split the network filesystem setup into two phases?

2018-08-15 Thread Eric W. Biederman
David Howells writes: > Having just re-ported NFS on top of the new mount API stuff, I find that I > don't really like the idea of superblocks being separated by communication > parameters - especially when it might seem reasonable to be able to adjust > those parameters. > > Does it make sense

Re: [RFC PATCH 1/5] RISC-V: Add logical CPU indexing for RISC-V

2018-08-15 Thread Atish Patra
On 8/15/18 9:06 PM, Anup Patel wrote: On Thu, Aug 16, 2018 at 5:26 AM, Atish Patra wrote: Currently, both linux cpu id and hardware cpu id are same. This is not recommended as it will lead to discontinuous cpu indexing in Linux. Moreover, kdump kernel will run from CPU0 which would be absent

Re: [GIT PULL] sound updates for 4.19-rc1

2018-08-15 Thread Takashi Iwai
On Thu, 16 Aug 2018 04:08:04 +0200, Linus Torvalds wrote: > > On Wed, Aug 15, 2018 at 7:05 PM Joe Perches wrote: > > > > Why does the commit change snd_hda_gen_add_micmute_led > > to return 0; instead of return 1; > > > > That bit looks wrong. > > Well, it changes the comment too, and is

[PATCH] x86/kvm/vmx: Fix coding style in vmx_setup_l1d_flush()

2018-08-15 Thread Yi Wang
Substitute spaces with tab. No functional changes. Signed-off-by: Yi Wang Reviewed-by: Jiang Biao --- arch/x86/kvm/vmx.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 46b428c0..ef712b2 100644 ---

Re: Should we split the network filesystem setup into two phases?

2018-08-15 Thread Steve French
This is worth further detailed discussion re:SMB3 as there are some fascinating protocol features that might help here, but my first thought is just the obvious one - this could help 'DFS' (the global name space feature almost all modern CIFS/SMB3 implement) work a little better in the client. A

Re: [RFC PATCH 2/5] RISC-V: Use Linux logical cpu number instead of hartid

2018-08-15 Thread Anup Patel
On Thu, Aug 16, 2018 at 5:26 AM, Atish Patra wrote: > Setup the cpu_logical_map during boot. Moreover, every SBI call > and PLIC context are based on the physical hartid. Use the logical > cpu to hartid mapping to pass correct hartid to respective functions. > > Signed-off-by: Atish Patra > ---

Re: [PATCH v1 2/3] zinc: Introduce minimal cryptography library

2018-08-15 Thread D. J. Bernstein
Eric Biggers writes: > You'd probably attract more contributors if you followed established > open source conventions. SUPERCOP already has thousands of implementations from hundreds of contributors. New speed records are more likely to appear in SUPERCOP than in any other cryptographic software

[PATCH v6 2/2] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-08-15 Thread Keerthy
Cut down the shutdown time from 2 seconds to 1 sec. In case of roll over try again. Signed-off-by: Keerthy --- drivers/rtc/rtc-omap.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index

[PATCH v6 1/2] rtc: omap: use of_device_is_system_power_controller function

2018-08-15 Thread Keerthy
Use of_device_is_system_power_controller instead of manually reading the system-power-controller property from the device tree node. Reviewed-by: Johan Hovold Signed-off-by: Keerthy --- drivers/rtc/rtc-omap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

linux-next: Tree for Aug 16

2018-08-15 Thread Stephen Rothwell
Hi all, Please do not add any v4.20 material to your linux-next included branches until after v4.19-rc1 has been released. Changes since 20180815: Non-merge commits (relative to Linus' tree): 9298 8206 files changed, 426675 insertions(+), 158863 deletions

Re: [RFC PATCH 2/5] RISC-V: Use Linux logical cpu number instead of hartid

2018-08-15 Thread Anup Patel
On Thu, Aug 16, 2018 at 10:53 AM, Atish Patra wrote: > On 8/15/18 9:24 PM, Anup Patel wrote: >> >> On Thu, Aug 16, 2018 at 5:26 AM, Atish Patra wrote: >>> >>> Setup the cpu_logical_map during boot. Moreover, every SBI call >>> and PLIC context are based on the physical hartid. Use the logical

REPLY AS SOON AS POSSIBLE

2018-08-15 Thread Dr Chien Direktor von Hang Seng
I have important transaction for you as next of kin to claim $16m Dolles email me at ( dray...@gmail.com ) Regards Mr.Fung

Re: [RFC PATCH 2/5] RISC-V: Use Linux logical cpu number instead of hartid

2018-08-15 Thread Atish Patra
On 8/15/18 9:24 PM, Anup Patel wrote: On Thu, Aug 16, 2018 at 5:26 AM, Atish Patra wrote: Setup the cpu_logical_map during boot. Moreover, every SBI call and PLIC context are based on the physical hartid. Use the logical cpu to hartid mapping to pass correct hartid to respective functions.

Re: [PATCH 2/7] x86,tlb: leave lazy TLB mode at page table free time

2018-08-15 Thread Rik van Riel
On Wed, 2018-08-15 at 18:54 -0700, Andy Lutomirski wrote: > On Mon, Jul 16, 2018 at 12:03 PM, Rik van Riel > wrote: > Hi Rik- > > I was looking through this, and I see: > > > -static void tlb_remove_table_one(void *table) > > +static void tlb_remove_table_one(void *table, struct mmu_gather > >

Re: [RFC PATCH 1/5] RISC-V: Add logical CPU indexing for RISC-V

2018-08-15 Thread Anup Patel
On Thu, Aug 16, 2018 at 10:47 AM, Atish Patra wrote: > On 8/15/18 9:06 PM, Anup Patel wrote: >> >> On Thu, Aug 16, 2018 at 5:26 AM, Atish Patra wrote: >>> >>> Currently, both linux cpu id and hardware cpu id are same. >>> This is not recommended as it will lead to discontinuous cpu >>> indexing

Re: [RFC PATCH 3/5] RISC-V: Add cpu_operatios structure

2018-08-15 Thread Atish Patra
On 8/15/18 10:02 PM, Anup Patel wrote: On Thu, Aug 16, 2018 at 5:26 AM, Atish Patra wrote: Defining cpu_operations now helps adding cpu hotplug support in proper manner. Moreover, it provides flexibility in supporting other cpu enable/boot methods can be supported in future. This patch has

Re: [RFC PATCH 2/5] RISC-V: Use Linux logical cpu number instead of hartid

2018-08-15 Thread Atish Patra
On 8/15/18 10:45 PM, Anup Patel wrote: On Thu, Aug 16, 2018 at 10:53 AM, Atish Patra wrote: On 8/15/18 9:24 PM, Anup Patel wrote: On Thu, Aug 16, 2018 at 5:26 AM, Atish Patra wrote: Setup the cpu_logical_map during boot. Moreover, every SBI call and PLIC context are based on the physical

[PATCH v2 3/3] kconfig: improve the recursive dependency report

2018-08-15 Thread Masahiro Yamada
This commit improves the messages of the recursive dependency. Currently, sym->dir_dep.expr is not checked. Hence, any dependency in property visibility is regarded as the dependency of the symbol. [Test Code 1] config A bool "a" depends on B config B bool "b"

[PATCH v2 1/3] kconfig: error out when seeing recursive dependency

2018-08-15 Thread Masahiro Yamada
Originally, recursive dependency was a fatal error for Kconfig because Kconfig cannot compute symbol values in such a situation. Commit d595cea62403 ("kconfig: print more info when we see a recursive dependency") changed it to a warning, which I guess was not intentional. Get it back to an error

Re: [PATCH 4.18 00/79] 4.18.1-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 07:16:19PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.18.1 release. > There are 79 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.17 00/97] 4.17.15-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 07:16:12PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.17.15 release. > There are 97 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.14 000/104] 4.14.63-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 07:16:14PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.63 release. > There are 104 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.9 000/107] 4.9.120-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 07:16:23PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.120 release. > There are 107 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.4 00/43] 4.4.148-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 07:17:36PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.148 release. > There are 43 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[GIT PULL] EDAC pile for 4.19

2018-08-15 Thread Borislav Petkov
Hi Linus, not a lot this time, it being a lazy, vacation time... :-) Please pull, thanks. --- The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the Git repository at:

Re: [PATCH 1/2] kconfig: report recursive dependency involving 'imply'

2018-08-15 Thread Masahiro Yamada
2018-08-14 19:38 GMT+09:00 Dirk Gouders : > Masahiro Yamada writes: > >> Currently, Kconfig does not report anything about the recursive >> dependency where 'imply' keywords are involved. >> >> [Test Code] >> >> config A >> bool "a" >> >> config B >> bool "b" >>

Re: [PATCH 1/2] kconfig: report recursive dependency involving 'imply'

2018-08-15 Thread Masahiro Yamada
2018-08-14 22:44 GMT+09:00 Dirk Gouders : > Dirk Gouders writes: > >> Masahiro Yamada writes: >> >>> Currently, Kconfig does not report anything about the recursive >>> dependency where 'imply' keywords are involved. >>> >>> [Test Code] >>> >>> config A >>> bool "a" >>> >>> config

[PATCH] mtd: m25p80: consider max message size in m25p80_read when use the spi_mem_xx() API

2018-08-15 Thread Chuanhua Han
Consider a message size limit when calculating the maximum amount of data that can be read. Signed-off-by: Chuanhua Han --- drivers/mtd/devices/m25p80.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index

Re: [PATCH 2/5] arm64: dts: mt7622: add a bluetooth 5 device node

2018-08-15 Thread Sean Wang
On Wed, 2018-08-15 at 13:18 +0800, Ryder Lee wrote: > Add a built-in bluetooth 5 support for MT7622. > > Signed-off-by: Ryder Lee > --- > arch/arm64/boot/dts/mediatek/mt7622.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi >

[PATCH 2/2] fix potential memory leak in function "register_bcache"

2018-08-15 Thread Dongbo Cao
if register_cache get error, memory pointed by ca should be released. and also, blkdev_put should be called I think. Signed-off-by: Dongbo Cao --- drivers/md/bcache/super.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/md/bcache/super.c

Re: [RFC][PATCH 00/24] tools lib traceevent: Rename pevent to tep for preparation for library

2018-08-15 Thread Jiri Olsa
On Tue, Aug 14, 2018 at 10:54:35PM -0400, Steven Rostedt wrote: > On Fri, 10 Aug 2018 13:57:06 -0300 > Arnaldo Carvalho de Melo wrote: > > > > Arnaldo takes care of that, but I guess pulling from branch is the > > > prefered way > > > > I'll try pulling and building it automatically patch by

Re: [PATCH v3] spi: orion: cosmetics - alias long direct_access variables

2018-08-15 Thread Stefan Roese
On 13.08.2018 22:54, Kosta Zertsekel wrote: This change increases the source code readability. Instead of using `spi->child[cs].direct_access.XXX` use `dir_acc->XXX`. Instead of using `orion_spi->child[cs].direct_access.vaddr` use `vaddr`. Signed-off-by: Kosta Zertsekel Reviewed-by: Andrew

Re: [RFC PATCH 1/2] mm: rework memcg kernel stack accounting

2018-08-15 Thread Michal Hocko
On Tue 14-08-18 17:36:19, Roman Gushchin wrote: > If CONFIG_VMAP_STACK is set, kernel stacks are allocated > using __vmalloc_node_range() with __GFP_ACCOUNT. So kernel > stack pages are charged against corresponding memory cgroups > on allocation and uncharged on releasing them. > > The problem

Re: [PATCH 1/2] rtc:rtc-digicolor: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-15 Thread zhong jiang
On 2018/8/15 0:15, Alexandre Belloni wrote: > Hi, > > On 13/08/2018 19:31:24+0800, zhong jiang wrote: >> PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So >> just replace them rather than duplicating its implement. >> >> Signed-off-by: zhong jiang >> --- >>

[PATCH v2 3/3] kconfig: improve the recursive dependency report

2018-08-15 Thread Masahiro Yamada
This commit improves the messages of the recursive dependency. Currently, sym->dir_dep.expr is not checked. Hence, any dependency in property visibility is regarded as the dependency of the symbol. [Test Code 1] config A bool "a" depends on B config B bool "b"

[PATCH v2 1/3] kconfig: error out when seeing recursive dependency

2018-08-15 Thread Masahiro Yamada
Originally, recursive dependency was a fatal error for Kconfig because Kconfig cannot compute symbol values in such a situation. Commit d595cea62403 ("kconfig: print more info when we see a recursive dependency") changed it to a warning, which I guess was not intentional. Get it back to an error

Re: [PATCH 4.18 00/79] 4.18.1-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 07:16:19PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.18.1 release. > There are 79 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.17 00/97] 4.17.15-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 07:16:12PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.17.15 release. > There are 97 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.14 000/104] 4.14.63-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 07:16:14PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.63 release. > There are 104 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.9 000/107] 4.9.120-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 07:16:23PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.120 release. > There are 107 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.4 00/43] 4.4.148-stable review

2018-08-15 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 07:17:36PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.148 release. > There are 43 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[GIT PULL] EDAC pile for 4.19

2018-08-15 Thread Borislav Petkov
Hi Linus, not a lot this time, it being a lazy, vacation time... :-) Please pull, thanks. --- The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the Git repository at:

Re: [PATCH 1/2] kconfig: report recursive dependency involving 'imply'

2018-08-15 Thread Masahiro Yamada
2018-08-14 19:38 GMT+09:00 Dirk Gouders : > Masahiro Yamada writes: > >> Currently, Kconfig does not report anything about the recursive >> dependency where 'imply' keywords are involved. >> >> [Test Code] >> >> config A >> bool "a" >> >> config B >> bool "b" >>

Re: [PATCH 1/2] kconfig: report recursive dependency involving 'imply'

2018-08-15 Thread Masahiro Yamada
2018-08-14 22:44 GMT+09:00 Dirk Gouders : > Dirk Gouders writes: > >> Masahiro Yamada writes: >> >>> Currently, Kconfig does not report anything about the recursive >>> dependency where 'imply' keywords are involved. >>> >>> [Test Code] >>> >>> config A >>> bool "a" >>> >>> config

[PATCH] mtd: m25p80: consider max message size in m25p80_read when use the spi_mem_xx() API

2018-08-15 Thread Chuanhua Han
Consider a message size limit when calculating the maximum amount of data that can be read. Signed-off-by: Chuanhua Han --- drivers/mtd/devices/m25p80.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index

Re: [PATCH 2/5] arm64: dts: mt7622: add a bluetooth 5 device node

2018-08-15 Thread Sean Wang
On Wed, 2018-08-15 at 13:18 +0800, Ryder Lee wrote: > Add a built-in bluetooth 5 support for MT7622. > > Signed-off-by: Ryder Lee > --- > arch/arm64/boot/dts/mediatek/mt7622.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi >

Re: [RFC][PATCH 00/24] tools lib traceevent: Rename pevent to tep for preparation for library

2018-08-15 Thread Jiri Olsa
On Tue, Aug 14, 2018 at 10:54:35PM -0400, Steven Rostedt wrote: > On Fri, 10 Aug 2018 13:57:06 -0300 > Arnaldo Carvalho de Melo wrote: > > > > Arnaldo takes care of that, but I guess pulling from branch is the > > > prefered way > > > > I'll try pulling and building it automatically patch by

[PATCH 2/2] fix potential memory leak in function "register_bcache"

2018-08-15 Thread Dongbo Cao
if register_cache get error, memory pointed by ca should be released. and also, blkdev_put should be called I think. Signed-off-by: Dongbo Cao --- drivers/md/bcache/super.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/md/bcache/super.c

Re: [PATCH v3] spi: orion: cosmetics - alias long direct_access variables

2018-08-15 Thread Stefan Roese
On 13.08.2018 22:54, Kosta Zertsekel wrote: This change increases the source code readability. Instead of using `spi->child[cs].direct_access.XXX` use `dir_acc->XXX`. Instead of using `orion_spi->child[cs].direct_access.vaddr` use `vaddr`. Signed-off-by: Kosta Zertsekel Reviewed-by: Andrew

Re: [RFC PATCH 1/2] mm: rework memcg kernel stack accounting

2018-08-15 Thread Michal Hocko
On Tue 14-08-18 17:36:19, Roman Gushchin wrote: > If CONFIG_VMAP_STACK is set, kernel stacks are allocated > using __vmalloc_node_range() with __GFP_ACCOUNT. So kernel > stack pages are charged against corresponding memory cgroups > on allocation and uncharged on releasing them. > > The problem

Re: [PATCH 1/2] rtc:rtc-digicolor: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-15 Thread zhong jiang
On 2018/8/15 0:15, Alexandre Belloni wrote: > Hi, > > On 13/08/2018 19:31:24+0800, zhong jiang wrote: >> PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So >> just replace them rather than duplicating its implement. >> >> Signed-off-by: zhong jiang >> --- >>

Re: [RFC PATCH 2/2] mm: drain memcg stocks on css offlining

2018-08-15 Thread Michal Hocko
On Tue 14-08-18 17:36:20, Roman Gushchin wrote: > Memcg charge is batched using per-cpu stocks, so an offline memcg > can be pinned by a cached charge up to a moment, when a process > belonging to some other cgroup will charge some memory on the same > cpu. In other words, cached charges can

Re: [PATCH] perf: disable parallelism for 'make clean'

2018-08-15 Thread Rasmus Villemoes
On 2018-07-05 15:49, Jiri Olsa wrote: > On Thu, Jul 05, 2018 at 03:15:27PM +0200, Rasmus Villemoes wrote: >> this only happens in combination with a O=... parameter. In any case, we >> don't lose much by explicitly disabling the parallelism for the clean >> target, and it makes automated builds

Re: [PATCH mmc-next v3 1/3] mmc: sdhci: add adma_table_num member to struct sdhci_host

2018-08-15 Thread Adrian Hunter
On 30/07/18 05:44, Jisheng Zhang wrote: > This patch adds adma_table_num member to struct sdhci_host to give more > flexibility to drivers to control the ADMA table number. > > Default value of adma_table_num is set to (SDHCI_MAX_SEGS * 2 + 1). > > Signed-off-by: Jisheng Zhang > --- >

Re: [PATCHv5 19/19] x86: Introduce CONFIG_X86_INTEL_MKTME

2018-08-15 Thread Pavel Machek
Hi! > Add new config option to enabled/disable Multi-Key Total Memory > Encryption support. > > MKTME uses MEMORY_PHYSICAL_PADDING to reserve enough space in per-KeyID > direct mappings for memory hotplug. > > Signed-off-by: Kirill A. Shutemov > --- > arch/x86/Kconfig | 19 ++-

Re: [PATCH v3 1/3] fuse: add max_pages option

2018-08-15 Thread Miklos Szeredi
On Tue, Aug 14, 2018 at 11:17 PM, Constantine Shulyupin wrote: > Replace FUSE_MAX_PAGES_PER_REQ with the configurable > mount parameter max_pages to improve performance. > > Old RFC with detailed description of the problem and > many fixes by Mitsuo Hayasaka (mitsuo.hayasaka...@hitachi.com): > -

linux-next: manual merge of the akpm-current tree with Linus' tree

2018-08-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: include/asm-generic/pgtable.h between commits: 42e4089c7890 ("x86/speculation/l1tf: Disallow non privileged high MMIO PROT_NONE mappings") 6c26fcd2abfe ("x86/speculation/l1tf: Unbreak

KASAN: slab-out-of-bounds Read in _autofs_dev_ioctl

2018-08-15 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f313b43be461 Merge branch 'i2c/for-current' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16c1da3c40 kernel config: https://syzkaller.appspot.com/x/.config?x=152cb8ccd35b1f70

Re: [PATCH 1/2] rtc:rtc-digicolor: Use PTR_ERR_OR_ZERO to replace the open code

2018-08-15 Thread Alexandre Belloni
On 15/08/2018 15:16:56+0800, zhong jiang wrote: > On 2018/8/15 0:15, Alexandre Belloni wrote: > > Hi, > > > > On 13/08/2018 19:31:24+0800, zhong jiang wrote: > >> PTR_ERR_OR_ZERO has implemented the if(IS_ERR(...)) + PTR_ERR, So > >> just replace them rather than duplicating its implement. > >> >

[PATCH 3/3] fix some potential memory leak in bcache_device_init

2018-08-15 Thread Dongbo Cao
add some goto label to release memory in case we got wrong return value. Signed-off-by: Dongbo Cao --- drivers/md/bcache/super.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index

Re: [PATCH] mm: migration: fix migration of huge PMD shared pages

2018-08-15 Thread Kirill A. Shutemov
On Tue, Aug 14, 2018 at 05:15:57PM -0700, Mike Kravetz wrote: > On 08/14/2018 01:48 AM, Kirill A. Shutemov wrote: > > On Mon, Aug 13, 2018 at 11:21:41PM +, Mike Kravetz wrote: > >> On 08/13/2018 03:58 AM, Kirill A. Shutemov wrote: > >>> On Sun, Aug 12, 2018 at 08:41:08PM -0700, Mike Kravetz

Undefined reference to `l1tf_vmx_mitigation' without CONFIG_KVM_INTEL

2018-08-15 Thread Dmitrii Tcvetkov
By build testing 4.18.1-rc2 from git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.18.y with my custom kernel config I got build error: CHK include/generated/autoksyms.h GEN .version CHK include/generated/compile.h AR built-in.a LD

Re: [PATCH] perf tools: Add struct ordered_events_buffer layer

2018-08-15 Thread Jiri Olsa
On Tue, Aug 14, 2018 at 12:14:19AM -0700, Stephane Eranian wrote: SNIP > > @@ -104,11 +110,12 @@ static struct ordered_event *alloc_event(struct > > ordered_events *oe, > > new = list_entry(cache->next, struct ordered_event, list); > > list_del(>list); > >

[PATCH] linux/bitmap.h: (buildbot-only) check if we have any compile-time zero-size bitmaps

2018-08-15 Thread Rasmus Villemoes
Most of the inline bitmap functions are buggy if passed a compile-time constant nbits==0. The convention is that the caller only guarantees BITS_TO_LONGS(nbits) words can be accessed, which for nbits==0 is of course 0. However, all the small_const_nbits() cases proceed to dereferencing the passed

Re: Undefined reference to `l1tf_vmx_mitigation' without CONFIG_KVM_INTEL

2018-08-15 Thread Dmitrii Tcvetkov
On Wed, 15 Aug 2018 11:42:00 +0300 Dmitrii Tcvetkov wrote: > By build testing 4.18.1-rc2 from > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-4.18.y with my custom kernel config I got build error: > CHK include/generated/autoksyms.h > GEN .version >

Re: [PATCH v3 1/3] fuse: add max_pages option

2018-08-15 Thread kbuild test robot
/linux/commits/Constantine-Shulyupin/fuse-add-max_pages-option/20180815-132537 base: https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-next config: x86_64-rhel (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux

Re: [PATCH V2] i2c: ismt: fix wrong device address when unmap the data buffer

2018-08-15 Thread Andy Shevchenko
On Wed, Aug 15, 2018 at 5:26 AM, Dmitry Safonov <0x7f454...@gmail.com> wrote: > +Cc: stable > > Hi Greg, JFI: > This one has hit a couple of times on autotests on v4.9 stable. > The fix for BUG() is trivial, so probably worth to ship it to v4.9/v4.4/v3.18. > JFYI: commit

Re: [PATCH v3 1/2] platform/x86: asus-wmi: Call led hw_changed API on kbd brightness change

2018-08-15 Thread Chris Chiu
On Mon, Jul 2, 2018 at 8:10 PM, Andy Shevchenko wrote: > On Wed, Jun 27, 2018 at 1:27 PM, Chris Chiu wrote: >> On Wed, Jun 20, 2018 at 10:46 PM, Chris Chiu wrote: >>> Make asus-wmi notify on hotkey kbd brightness changes, listen for >>> brightness events and update the brightness directly in

[PATCH 0/6] Support ftrace on NDS32 architecture

2018-08-15 Thread Zong Li
This patch set implements the ftrace function and function graph tracer on NDS32 architecture. We try to use C code to do everything, so we don't need to separate the implementation to assembly code and C code, we just need one ftrace.c file. In mcount function, we use the prologue/epilogue which

[PATCH 1/6] nds32/ftrace: Support static function tracer

2018-08-15 Thread Zong Li
This patch support the static function tracer. On nds32 ABI, we need to always push return address to stack for __builtin_return_address can work correctly, otherwise, it will get the wrong value of $lp at leaf function. Signed-off-by: Zong Li --- arch/nds32/Kconfig | 1 +

[PATCH 6/6] nds32/stack: Get real return address by using ftrace_graph_ret_addr

2018-08-15 Thread Zong Li
Function graph tracer has modified the return address to 'return_to_handler' on stack, and provide the 'ftrace_graph_ret_addr' to get the real return address. Signed-off-by: Zong Li --- arch/nds32/kernel/stacktrace.c | 4 arch/nds32/kernel/traps.c | 30 ++

[PATCH 4/6] nds32/ftrace: Support dynamic function tracer

2018-08-15 Thread Zong Li
This patch contains the implementation of dynamic function tracer. The mcount call is composed of three instructions, so there are three nop for enough placeholder. Signed-off-by: Zong Li --- arch/nds32/Kconfig | 1 + arch/nds32/include/asm/ftrace.h | 26 +++

[PATCH 5/6] nds32/ftrace: Support dynamic function graph tracer

2018-08-15 Thread Zong Li
This patch contains the implementation of dynamic function graph tracer. Signed-off-by: Zong Li --- arch/nds32/kernel/ftrace.c | 36 1 file changed, 36 insertions(+) diff --git a/arch/nds32/kernel/ftrace.c b/arch/nds32/kernel/ftrace.c index 3ca676b..a646a83

[PATCH 2/6] nds32/ftrace: Support static function graph tracer

2018-08-15 Thread Zong Li
This patch contains implementation of static function graph tracer. Signed-off-by: Zong Li --- arch/nds32/Kconfig | 1 + arch/nds32/kernel/ftrace.c | 69 ++ 2 files changed, 70 insertions(+) diff --git a/arch/nds32/Kconfig

[PATCH 3/6] nds32/ftrace: Add RECORD_MCOUNT support

2018-08-15 Thread Zong Li
Recognize NDS32 object files in recordmcount.pl. Signed-off-by: Zong Li --- arch/nds32/Kconfig | 1 + scripts/recordmcount.pl | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig index ae1a94ca..66d507d 100644 --- a/arch/nds32/Kconfig +++

Re: [PATCH v3 03/14] sched/core: uclamp: add CPU's clamp groups accounting

2018-08-15 Thread Dietmar Eggemann
On 08/14/2018 06:49 PM, Patrick Bellasi wrote: Hi Dietmar! On 14-Aug 17:44, Dietmar Eggemann wrote: On 08/06/2018 06:39 PM, Patrick Bellasi wrote: [...] This one indicates that there are some holes in your ref-counting. Not really, this has been added not because I've detected a refcount

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-15 Thread Will Deacon
On Tue, Aug 14, 2018 at 01:42:27PM -0600, Mathieu Poirier wrote: > On Tue, 14 Aug 2018 at 11:09, Kim Phillips wrote: > > The other thing that's going on here is that I'm becoming numb to the > > loathsome "failed to mmap with 12 (Cannot allocate memory)" being > > returned no matter what the

Re: [PATCH v3 1/2] platform/x86: asus-wmi: Call led hw_changed API on kbd brightness change

2018-08-15 Thread Andy Shevchenko
On Wed, Aug 15, 2018 at 12:34 PM, Chris Chiu wrote: > On Mon, Jul 2, 2018 at 8:10 PM, Andy Shevchenko > wrote: >> On Wed, Jun 27, 2018 at 1:27 PM, Chris Chiu wrote: >>> On Wed, Jun 20, 2018 at 10:46 PM, Chris Chiu wrote: Make asus-wmi notify on hotkey kbd brightness changes, listen for

Re: [PATCH v3 1/2] platform/x86: asus-wmi: Call led hw_changed API on kbd brightness change

2018-08-15 Thread Chris Chiu
On Wed, Aug 15, 2018 at 5:45 PM, Andy Shevchenko wrote: > On Wed, Aug 15, 2018 at 12:34 PM, Chris Chiu wrote: >> On Mon, Jul 2, 2018 at 8:10 PM, Andy Shevchenko >> wrote: >>> On Wed, Jun 27, 2018 at 1:27 PM, Chris Chiu wrote: On Wed, Jun 20, 2018 at 10:46 PM, Chris Chiu wrote: > Make

Re: [PATCH v9 10/22] s390: vfio-ap: sysfs interfaces to configure adapters

2018-08-15 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:07 -0400 Tony Krowiak wrote: > +/** > + * assign_adapter_store > + * > + * @dev: the matrix device > + * @attr: a mediated matrix device attribute > + * @buf: a buffer containing the adapter ID (APID) to be assigned > + * @count: the number of bytes in @buf > + * > + *

Re: [PATCH v2] platform/x86: acer-wmi: refactor function has_cap

2018-08-15 Thread Andy Shevchenko
On Thu, Aug 9, 2018 at 3:44 AM, joeyli wrote: > Hi Gustavo, > > Sorry for my delay! > > On Mon, Aug 06, 2018 at 03:38:32PM -0500, Gustavo A. R. Silva wrote: >> Refactor function has_cap in order to avoid returning integer >> values, when instead it should return booleans. >> >> This code was

[PATCH 4.4.y] tcp: Fix missing range_truesize enlargement in the backport

2018-08-15 Thread Takashi Iwai
The 4.4.y stable backport dc6ae4dffd65 for the upstream commit 3d4bf93ac120 ("tcp: detect malicious patterns in tcp_collapse_ofo_queue()") missed a line that enlarges the range_truesize value, which broke the whole check. Fixes: dc6ae4dffd65 ("tcp: detect malicious patterns in

[PATCH 4/4] dt-bindings: phy-rockchip-inno-usb2: add new rockchip,force-bvalid property.

2018-08-15 Thread Enric Balletbo i Serra
This property is used when the otg-id pin is not connected. When this property is set it forces to set the B-Device Session Valid bit when the port works as device and clears that bit when the port works as host. Signed-off-by: Enric Balletbo i Serra ---

[PATCH 3/4] phy: rockchip-inno-usb2: allow to force the B-Device Session Valid bit.

2018-08-15 Thread Enric Balletbo i Serra
The OTG disconnection event is generated after the presence/abscense of an ID connection, but some platforms doesn't have the ID pin connected, so the event is not generated. In such case, for detecting the disconnection event, we can get the cable state from an extcon driver. We need, though, to

[PATCH 1/4] phy: rockchip-inno-usb2: fix misspelling and kernel-doc documentation.

2018-08-15 Thread Enric Balletbo i Serra
Fix the typo flase -> false and clean up the kernel-doc documentation in phy-rockchip-inno.usb2.c and fix the following warnings when documentation is built. :58: warning: missing initial short description :69: warning: cannot understand function prototype: 'enum usb_chg_state ' :97:

[PATCH 0/4] phy: rockchip-inno-usb2: document improvements and allow to force B-device valid session bit.

2018-08-15 Thread Enric Balletbo i Serra
Hi all, The main purpose of this patchset is have the Type-C port on the Samsung Chromebook Plus work as a device or in OTG mode. While doing it I spent some time to fix some documentation issues. So, the first and the second patch are not really related to the topic and can be picked

[PATCH 2/4] dt-bindings: phy-rockchip-inno-usb2: add documentation for extcon and utmi-avalid properties.

2018-08-15 Thread Enric Balletbo i Serra
Commit 98898f3bc83c8 ("phy: rockchip-inno-usb2: support otg-port for rk3399") introduces two new properties. The extcon property is used to detect the cable-state, and the rockchip,utmi-avalid is used to indicate which register should be used to detect the vbus state. Document these properties in

Re: [PATCH 1/2] perf tools: Make check-headers.sh check based on kernel dir

2018-08-15 Thread Michael Ellerman
Jiri Olsa writes: > On Tue, Aug 14, 2018 at 03:06:44PM -0300, Arnaldo Carvalho de Melo wrote: >> Em Tue, Aug 14, 2018 at 09:27:26AM +0200, Jiri Olsa escreveu: >> > On Tue, Aug 14, 2018 at 11:47:39AM +1000, Michael Ellerman wrote: >> > > Jiri Olsa writes: >> > > > diff --git

[PATCH] Fix kexec forbidding kernels signed with custom platform keys to boot

2018-08-15 Thread Yannik Sembritzki
--- arch/x86/kernel/kexec-bzimage64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/kexec-bzimage64.c b/arch/x86/kernel/kexec-bzimage64.c index 7326078e..eaaa125d 100644 --- a/arch/x86/kernel/kexec-bzimage64.c +++ b/arch/x86/kernel/kexec-bzimage64.c @@

<    1   2   3   4   5   6   7   8   9   >