Re: [PATCH 2/2] power: supply: Add Spreadtrum SC2731 charger support

2018-08-30 Thread Baolin Wang
Hi Sebastian, On 31 August 2018 at 05:27, Sebastian Reichel wrote: > Hi, > > On Thu, Aug 30, 2018 at 11:08:59AM +0800, Baolin Wang wrote: >> >> +static int sc2731_charger_hw_init(struct sc2731_charger_info *info) >> >> +{ >> >> + int ret; >> >> + >> >> + /* Enable charger module */

Re: [PATCH 2/2] power: supply: Add Spreadtrum SC2731 charger support

2018-08-30 Thread Baolin Wang
Hi Sebastian, On 31 August 2018 at 05:27, Sebastian Reichel wrote: > Hi, > > On Thu, Aug 30, 2018 at 11:08:59AM +0800, Baolin Wang wrote: >> >> +static int sc2731_charger_hw_init(struct sc2731_charger_info *info) >> >> +{ >> >> + int ret; >> >> + >> >> + /* Enable charger module */

Re: [PATCH 5/8] RISC-V: Rename im_okay_therefore_i_am to found_boot_cpu

2018-08-30 Thread Christoph Hellwig
On Thu, Aug 30, 2018 at 09:11:11AM -0700, Atish Patra wrote: > On 8/30/18 7:41 AM, Christoph Hellwig wrote: > > > struct device_node *dn = NULL; > > > - int hart, im_okay_therefore_i_am = 0; > > > + int hart, found_boot_cpu = 0; > > > > If you rename this anyway please switch to use a

Re: [PATCH 5/8] RISC-V: Rename im_okay_therefore_i_am to found_boot_cpu

2018-08-30 Thread Christoph Hellwig
On Thu, Aug 30, 2018 at 09:11:11AM -0700, Atish Patra wrote: > On 8/30/18 7:41 AM, Christoph Hellwig wrote: > > > struct device_node *dn = NULL; > > > - int hart, im_okay_therefore_i_am = 0; > > > + int hart, found_boot_cpu = 0; > > > > If you rename this anyway please switch to use a

Re: [PATCH v6 1/2] leds: core: Introduce LED pattern trigger

2018-08-30 Thread Baolin Wang
Hi Jacek, On 31 August 2018 at 03:55, Jacek Anaszewski wrote: > Hi Baolin, > > On 08/30/2018 09:40 AM, Baolin Wang wrote: >> Some LED controllers have support for autonomously controlling >> brightness over time, according to some preprogrammed pattern or >> function. > > I think that this

Re: [PATCH v6 1/2] leds: core: Introduce LED pattern trigger

2018-08-30 Thread Baolin Wang
Hi Jacek, On 31 August 2018 at 03:55, Jacek Anaszewski wrote: > Hi Baolin, > > On 08/30/2018 09:40 AM, Baolin Wang wrote: >> Some LED controllers have support for autonomously controlling >> brightness over time, according to some preprogrammed pattern or >> function. > > I think that this

[PATCH V6 3/4] clk: add managed version of clk_bulk_get_all

2018-08-30 Thread Dong Aisheng
This patch introduces the managed version of clk_bulk_get_all. Cc: Michael Turquette Cc: Stephen Boyd Tested-by: Thor Thayer Signed-off-by: Dong Aisheng --- v3->v4: * improve 'devres->clks = *clks' according to Stephen's suggestion v2->v3: * a minor fix of build warning on PowerPC platform.

[PATCH V6 3/4] clk: add managed version of clk_bulk_get_all

2018-08-30 Thread Dong Aisheng
This patch introduces the managed version of clk_bulk_get_all. Cc: Michael Turquette Cc: Stephen Boyd Tested-by: Thor Thayer Signed-off-by: Dong Aisheng --- v3->v4: * improve 'devres->clks = *clks' according to Stephen's suggestion v2->v3: * a minor fix of build warning on PowerPC platform.

[PATCH V6 2/4] clk: add new APIs to operate on all available clocks

2018-08-30 Thread Dong Aisheng
This patch introduces of_clk_bulk_get_all and clk_bulk_x_all APIs to users who just want to handle all available clocks from device tree without need to know the detailed clock information likes clock numbers and names. This is useful in writing some generic drivers to handle clock part. Cc:

Re: v4.17 regression: PowerMac G3 won't boot, was Re: [PATCH v5 1/3] of: cache phandle nodes to reduce cost of of_find_node_by_phandle()

2018-08-30 Thread Benjamin Herrenschmidt
On Fri, 2018-08-31 at 14:35 +1000, Benjamin Herrenschmidt wrote: > > > If I force output with "-f", the resulting file has no occurrences > > of "phandle". > > Are you booting with BootX or Open Firmware ? Assuming you are using BootX (or miBoot), can you try this patch ? ---

[PATCH V6 2/4] clk: add new APIs to operate on all available clocks

2018-08-30 Thread Dong Aisheng
This patch introduces of_clk_bulk_get_all and clk_bulk_x_all APIs to users who just want to handle all available clocks from device tree without need to know the detailed clock information likes clock numbers and names. This is useful in writing some generic drivers to handle clock part. Cc:

Re: v4.17 regression: PowerMac G3 won't boot, was Re: [PATCH v5 1/3] of: cache phandle nodes to reduce cost of of_find_node_by_phandle()

2018-08-30 Thread Benjamin Herrenschmidt
On Fri, 2018-08-31 at 14:35 +1000, Benjamin Herrenschmidt wrote: > > > If I force output with "-f", the resulting file has no occurrences > > of "phandle". > > Are you booting with BootX or Open Firmware ? Assuming you are using BootX (or miBoot), can you try this patch ? ---

[PATCH V6 4/4] video: simplefb: switch to use clk_bulk API to simplify clock operations

2018-08-30 Thread Dong Aisheng
Switching to use clk_bulk API to simplify clock operations. Cc: Hans de Goede Cc: Bartlomiej Zolnierkiewicz Cc: linux-fb...@vger.kernel.org Cc: Masahiro Yamada Cc: Stephen Boyd Tested-by: Thor Thayer Signed-off-by: Dong Aisheng --- v5->v6: * address Hans's comments v4->v5: * fix wrong

[PATCH V6 4/4] video: simplefb: switch to use clk_bulk API to simplify clock operations

2018-08-30 Thread Dong Aisheng
Switching to use clk_bulk API to simplify clock operations. Cc: Hans de Goede Cc: Bartlomiej Zolnierkiewicz Cc: linux-fb...@vger.kernel.org Cc: Masahiro Yamada Cc: Stephen Boyd Tested-by: Thor Thayer Signed-off-by: Dong Aisheng --- v5->v6: * address Hans's comments v4->v5: * fix wrong

[PATCH V6 0/4] clk: new APIs to handle all available clocks

2018-08-30 Thread Dong Aisheng
This patch series is a continue of discussion from here, https://patchwork.kernel.org/patch/9986293/ that some users may want to handle all available clocks from device tree without need to know the detailed clock information likes clock numbers and names. This is useful in writing some generic

[PATCH V6 1/4] clk: bulk: add of_clk_bulk_get()

2018-08-30 Thread Dong Aisheng
'clock-names' property is optional in DT, so of_clk_bulk_get() is introduced here to handle this for DT users without 'clock-names' specified. Later clk_bulk_get_all() will be implemented on top of it and this API will be kept private until someone proves they need it because they don't have a

Re: [PATCH 0/6] x86/alternatives: text_poke() fixes

2018-08-30 Thread Masami Hiramatsu
On Fri, 31 Aug 2018 13:46:35 +0900 Masami Hiramatsu wrote: > On Thu, 30 Aug 2018 10:32:12 -0700 > Nadav Amit wrote: > > > This patch-set addresses some issues that were raised in a recent > > correspondence and might affect the security and the correctness of code > > patching. (Note that

[PATCH V6 0/4] clk: new APIs to handle all available clocks

2018-08-30 Thread Dong Aisheng
This patch series is a continue of discussion from here, https://patchwork.kernel.org/patch/9986293/ that some users may want to handle all available clocks from device tree without need to know the detailed clock information likes clock numbers and names. This is useful in writing some generic

[PATCH V6 1/4] clk: bulk: add of_clk_bulk_get()

2018-08-30 Thread Dong Aisheng
'clock-names' property is optional in DT, so of_clk_bulk_get() is introduced here to handle this for DT users without 'clock-names' specified. Later clk_bulk_get_all() will be implemented on top of it and this API will be kept private until someone proves they need it because they don't have a

Re: [PATCH 0/6] x86/alternatives: text_poke() fixes

2018-08-30 Thread Masami Hiramatsu
On Fri, 31 Aug 2018 13:46:35 +0900 Masami Hiramatsu wrote: > On Thu, 30 Aug 2018 10:32:12 -0700 > Nadav Amit wrote: > > > This patch-set addresses some issues that were raised in a recent > > correspondence and might affect the security and the correctness of code > > patching. (Note that

Re: [PATCH 0/6] x86/alternatives: text_poke() fixes

2018-08-30 Thread Masami Hiramatsu
On Thu, 30 Aug 2018 10:32:12 -0700 Nadav Amit wrote: > This patch-set addresses some issues that were raised in a recent > correspondence and might affect the security and the correctness of code > patching. (Note that patching performance is not addressed by this > patch-set). > > The main

Re: [PATCH 0/6] x86/alternatives: text_poke() fixes

2018-08-30 Thread Masami Hiramatsu
On Thu, 30 Aug 2018 10:32:12 -0700 Nadav Amit wrote: > This patch-set addresses some issues that were raised in a recent > correspondence and might affect the security and the correctness of code > patching. (Note that patching performance is not addressed by this > patch-set). > > The main

Re: [RFC PATCH 2/6] x86/mm: temporary mm struct

2018-08-30 Thread Masami Hiramatsu
On Wed, 29 Aug 2018 18:59:52 -0700 Andy Lutomirski wrote: > > > > On Aug 29, 2018, at 6:38 PM, Masami Hiramatsu wrote: > > > > On Wed, 29 Aug 2018 08:41:00 -0700 > > Andy Lutomirski wrote: > > > >>> On Wed, Aug 29, 2018 at 2:49 AM, Masami Hiramatsu > >>> wrote: > >>> On Wed, 29 Aug 2018

Re: [RFC PATCH 2/6] x86/mm: temporary mm struct

2018-08-30 Thread Masami Hiramatsu
On Wed, 29 Aug 2018 18:59:52 -0700 Andy Lutomirski wrote: > > > > On Aug 29, 2018, at 6:38 PM, Masami Hiramatsu wrote: > > > > On Wed, 29 Aug 2018 08:41:00 -0700 > > Andy Lutomirski wrote: > > > >>> On Wed, Aug 29, 2018 at 2:49 AM, Masami Hiramatsu > >>> wrote: > >>> On Wed, 29 Aug 2018

Re: [PATCH] x86/mce: Fix set_mce_nospec() to avoid #GP fault

2018-08-30 Thread Linus Torvalds
On Thu, Aug 30, 2018 at 6:49 PM Tony Luck wrote: > > Just checking "do we have a non-canonical address" at the bottom of that > call stack and flipping bit 63 back on again seems like a bad idea. You could literally do something like /* Make it canonical in case we flipped the high bit */

Re: [PATCH] x86/mce: Fix set_mce_nospec() to avoid #GP fault

2018-08-30 Thread Linus Torvalds
On Thu, Aug 30, 2018 at 6:49 PM Tony Luck wrote: > > Just checking "do we have a non-canonical address" at the bottom of that > call stack and flipping bit 63 back on again seems like a bad idea. You could literally do something like /* Make it canonical in case we flipped the high bit */

Re: 32-bit PTI with THP = userspace corruption

2018-08-30 Thread Meelis Roos
> > I am seeing userland corruption and application crashes on multiple > > 32-bit machines with 4.19-rc1+git. The machines vary: PII, PIII, P4. > > They are all Intel. AMD Duron/Athlon/AthlonMP have been fine in my tests > > so far (may be configuration dependent). > > Thanks for the report!

Re: 32-bit PTI with THP = userspace corruption

2018-08-30 Thread Meelis Roos
> > I am seeing userland corruption and application crashes on multiple > > 32-bit machines with 4.19-rc1+git. The machines vary: PII, PIII, P4. > > They are all Intel. AMD Duron/Athlon/AthlonMP have been fine in my tests > > so far (may be configuration dependent). > > Thanks for the report!

Re: [PATCH v3] rpmsg: qcom_smd: Access APCS through mailbox framework

2018-08-30 Thread Bjorn Andersson
On Thu 30 Aug 20:57 PDT 2018, Frank Rowand wrote: > Hi Bjorn, > > > On 04/19/18 18:17, Bjorn Andersson wrote: > > Attempt to acquire the APCS IPC through the mailbox framework and fall > > back to the old syscon based approach, to allow us to move away from > > using the syscon. > > > >

Re: [PATCH v3] rpmsg: qcom_smd: Access APCS through mailbox framework

2018-08-30 Thread Bjorn Andersson
On Thu 30 Aug 20:57 PDT 2018, Frank Rowand wrote: > Hi Bjorn, > > > On 04/19/18 18:17, Bjorn Andersson wrote: > > Attempt to acquire the APCS IPC through the mailbox framework and fall > > back to the old syscon based approach, to allow us to move away from > > using the syscon. > > > >

Re: [PATCH v3] rpmsg: qcom_smd: Access APCS through mailbox framework

2018-08-30 Thread Frank Rowand
On 08/30/18 20:57, Frank Rowand wrote: > Hi Bjorn, > > > On 04/19/18 18:17, Bjorn Andersson wrote: >> Attempt to acquire the APCS IPC through the mailbox framework and fall >> back to the old syscon based approach, to allow us to move away from >> using the syscon. >> >> Reviewed-by: Arun Kumar

Re: [PATCH v3] rpmsg: qcom_smd: Access APCS through mailbox framework

2018-08-30 Thread Frank Rowand
On 08/30/18 20:57, Frank Rowand wrote: > Hi Bjorn, > > > On 04/19/18 18:17, Bjorn Andersson wrote: >> Attempt to acquire the APCS IPC through the mailbox framework and fall >> back to the old syscon based approach, to allow us to move away from >> using the syscon. >> >> Reviewed-by: Arun Kumar

Re: [PATCH v3] rpmsg: qcom_smd: Access APCS through mailbox framework

2018-08-30 Thread Frank Rowand
On 08/30/18 20:57, Frank Rowand wrote: > Hi Bjorn, > > > On 04/19/18 18:17, Bjorn Andersson wrote: >> Attempt to acquire the APCS IPC through the mailbox framework and fall >> back to the old syscon based approach, to allow us to move away from >> using the syscon. >> >> Reviewed-by: Arun Kumar

Re: [PATCH v3] rpmsg: qcom_smd: Access APCS through mailbox framework

2018-08-30 Thread Frank Rowand
On 08/30/18 20:57, Frank Rowand wrote: > Hi Bjorn, > > > On 04/19/18 18:17, Bjorn Andersson wrote: >> Attempt to acquire the APCS IPC through the mailbox framework and fall >> back to the old syscon based approach, to allow us to move away from >> using the syscon. >> >> Reviewed-by: Arun Kumar

Re: [PATCH v3] rpmsg: qcom_smd: Access APCS through mailbox framework

2018-08-30 Thread Frank Rowand
Hi Bjorn, On 04/19/18 18:17, Bjorn Andersson wrote: > Attempt to acquire the APCS IPC through the mailbox framework and fall > back to the old syscon based approach, to allow us to move away from > using the syscon. > > Reviewed-by: Arun Kumar Neelakantam > Signed-off-by: Bjorn Andersson >

Re: [PATCH v3] rpmsg: qcom_smd: Access APCS through mailbox framework

2018-08-30 Thread Frank Rowand
Hi Bjorn, On 04/19/18 18:17, Bjorn Andersson wrote: > Attempt to acquire the APCS IPC through the mailbox framework and fall > back to the old syscon based approach, to allow us to move away from > using the syscon. > > Reviewed-by: Arun Kumar Neelakantam > Signed-off-by: Bjorn Andersson >

Re: VirtIO console hangs

2018-08-30 Thread Nicholas Piggin
On Tue, 28 Aug 2018 15:00:14 + Matteo Croce wrote: > On Tue, Aug 28, 2018 at 2:35 PM Nicholas Piggin wrote: > > > > On Tue, 28 Aug 2018 12:54:08 + > > Matteo Croce wrote: > > > > > With kernel 4.19.0-rc1 virtio_console hangs very often. > > > I can always trigger the bug by pasting

Re: VirtIO console hangs

2018-08-30 Thread Nicholas Piggin
On Tue, 28 Aug 2018 15:00:14 + Matteo Croce wrote: > On Tue, Aug 28, 2018 at 2:35 PM Nicholas Piggin wrote: > > > > On Tue, 28 Aug 2018 12:54:08 + > > Matteo Croce wrote: > > > > > With kernel 4.19.0-rc1 virtio_console hangs very often. > > > I can always trigger the bug by pasting

linux-next: Signed-off-by missing for commit in the arc-current tree

2018-08-30 Thread Stephen Rothwell
Hi Vineet, Commit c0a7bc6e5585 ("ARC: atomics: unbork atomic_fetch_##op()") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgp8axos1HTI4.pgp Description: OpenPGP digital signature

Re: [PATCH 0/2] ARM: dts: socfpga: Add support for PMU on Arria5/Cyclone5

2018-08-30 Thread Marek Vasut
On 03/08/2017 04:19 PM, Dinh Nguyen wrote: > > > On 02/28/2017 09:52 AM, Florian Vaussard wrote: >> Hi, >> >> These patches add suport for ARM Performance Monitor Units on Arria5 and >> Cyclone5 SoCFPGA. This was tested on a Cyclone 5 SoC DK board. >> >> Side note: the same change can be

linux-next: Signed-off-by missing for commit in the arc-current tree

2018-08-30 Thread Stephen Rothwell
Hi Vineet, Commit c0a7bc6e5585 ("ARC: atomics: unbork atomic_fetch_##op()") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgp8axos1HTI4.pgp Description: OpenPGP digital signature

Re: [PATCH 0/2] ARM: dts: socfpga: Add support for PMU on Arria5/Cyclone5

2018-08-30 Thread Marek Vasut
On 03/08/2017 04:19 PM, Dinh Nguyen wrote: > > > On 02/28/2017 09:52 AM, Florian Vaussard wrote: >> Hi, >> >> These patches add suport for ARM Performance Monitor Units on Arria5 and >> Cyclone5 SoCFPGA. This was tested on a Cyclone 5 SoC DK board. >> >> Side note: the same change can be

Re: [PATCH] remoteproc: qcom: Rename Hexagon v5 PAS driver

2018-08-30 Thread Bjorn Andersson
On Wed 29 Aug 02:25 PDT 2018, Niklas Cassel wrote: > On Mon, Aug 27, 2018 at 10:12:03PM -0700, Bjorn Andersson wrote: > > The Hexagon v5 ADSP driver is used for more than only the ADSP and > > there's an upcoming non-PAS ADSP PIL for SDM845, so rename the driver to > > qcom_q6v5_pas in order to

Re: [PATCH] remoteproc: qcom: Rename Hexagon v5 PAS driver

2018-08-30 Thread Bjorn Andersson
On Wed 29 Aug 02:25 PDT 2018, Niklas Cassel wrote: > On Mon, Aug 27, 2018 at 10:12:03PM -0700, Bjorn Andersson wrote: > > The Hexagon v5 ADSP driver is used for more than only the ADSP and > > there's an upcoming non-PAS ADSP PIL for SDM845, so rename the driver to > > qcom_q6v5_pas in order to

Re: [PATCH] x86/pkeys: Explicitly treat PK #PF on kernel address as a bad area

2018-08-30 Thread Andy Lutomirski
> On Aug 30, 2018, at 7:38 PM, Jann Horn wrote: > >> On Tue, 7 Aug 2018 Dave Hansen wrote: >> >>> On 08/07/2018 10:29 AM, Sean Christopherson wrote: >>> if (unlikely(fault_in_kernel_space(address))) { >>> + /* >>> + * We should never encounter a protection keys

Re: [PATCH] x86/pkeys: Explicitly treat PK #PF on kernel address as a bad area

2018-08-30 Thread Andy Lutomirski
> On Aug 30, 2018, at 7:38 PM, Jann Horn wrote: > >> On Tue, 7 Aug 2018 Dave Hansen wrote: >> >>> On 08/07/2018 10:29 AM, Sean Christopherson wrote: >>> if (unlikely(fault_in_kernel_space(address))) { >>> + /* >>> + * We should never encounter a protection keys

linux-next: Tree for Aug 31

2018-08-30 Thread Stephen Rothwell
Hi all, Changes since 20180830: Dropped trees: xarray, ida (temporarily) Non-merge commits (relative to Linus' tree): 1248 1497 files changed, 48772 insertions(+), 16144 deletions(-) I have created today's linux

linux-next: Tree for Aug 31

2018-08-30 Thread Stephen Rothwell
Hi all, Changes since 20180830: Dropped trees: xarray, ida (temporarily) Non-merge commits (relative to Linus' tree): 1248 1497 files changed, 48772 insertions(+), 16144 deletions(-) I have created today's linux

Re: [PATCH 2/2] mm: zero remaining unavailable struct pages

2018-08-30 Thread Naoya Horiguchi
On Wed, Aug 29, 2018 at 11:16:30AM -0400, Masayoshi Mizuma wrote: > Hi Horiguchi-san and Pavel > > Thank you for your comments! > The Pavel's additional patch looks good to me, so I will add it to this > series. > > However, unfortunately, the movable_node option has something wrong yet... >

Re: [PATCH 2/2] mm: zero remaining unavailable struct pages

2018-08-30 Thread Naoya Horiguchi
On Wed, Aug 29, 2018 at 11:16:30AM -0400, Masayoshi Mizuma wrote: > Hi Horiguchi-san and Pavel > > Thank you for your comments! > The Pavel's additional patch looks good to me, so I will add it to this > series. > > However, unfortunately, the movable_node option has something wrong yet... >

tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h

2018-08-30 Thread kbuild test robot
Hi Alexei, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 217c3e0196758662aa0429863b09d1c13da1c5d6 commit: 819dd92b9c0bc7bce9097d8c1f14240f471bb386 bpfilter: switch to CC from HOSTCC date: 3 months ago config:

tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h

2018-08-30 Thread kbuild test robot
Hi Alexei, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 217c3e0196758662aa0429863b09d1c13da1c5d6 commit: 819dd92b9c0bc7bce9097d8c1f14240f471bb386 bpfilter: switch to CC from HOSTCC date: 3 months ago config:

Re: [PATCH] x86/pkeys: Explicitly treat PK #PF on kernel address as a bad area

2018-08-30 Thread Jann Horn
On Tue, 7 Aug 2018 Dave Hansen wrote: > > On 08/07/2018 10:29 AM, Sean Christopherson wrote: > > if (unlikely(fault_in_kernel_space(address))) { > > + /* > > + * We should never encounter a protection keys fault on a > > + * kernel address as kernel

Re: [PATCH] x86/pkeys: Explicitly treat PK #PF on kernel address as a bad area

2018-08-30 Thread Jann Horn
On Tue, 7 Aug 2018 Dave Hansen wrote: > > On 08/07/2018 10:29 AM, Sean Christopherson wrote: > > if (unlikely(fault_in_kernel_space(address))) { > > + /* > > + * We should never encounter a protection keys fault on a > > + * kernel address as kernel

import from China/safe transport & good price

2018-08-30 Thread 949713...@qq.com
Dear Sir: Good day Simon greeting from Everbright international logistics co.,ltd,and we specialize in overseas international logistics for 15 years,our major core business scope cover: International sea freight International air freight International courier service Local logistics

import from China/safe transport & good price

2018-08-30 Thread 949713...@qq.com
Dear Sir: Good day Simon greeting from Everbright international logistics co.,ltd,and we specialize in overseas international logistics for 15 years,our major core business scope cover: International sea freight International air freight International courier service Local logistics

Re: [PATCH tip/core/rcu 01/19] rcu: Refactor rcu_{nmi,irq}_{enter,exit}()

2018-08-30 Thread Byungchul Park
On Thu, Aug 30, 2018 at 02:10:32PM -0400, Steven Rostedt wrote: > On Wed, 29 Aug 2018 15:20:29 -0700 > "Paul E. McKenney" wrote: > > > This commit also changes order of execution from this: > > > > rcu_dynticks_task_exit(); > > rcu_dynticks_eqs_exit(); > > trace_rcu_dyntick(); > >

Re: [PATCH tip/core/rcu 01/19] rcu: Refactor rcu_{nmi,irq}_{enter,exit}()

2018-08-30 Thread Byungchul Park
On Thu, Aug 30, 2018 at 02:10:32PM -0400, Steven Rostedt wrote: > On Wed, 29 Aug 2018 15:20:29 -0700 > "Paul E. McKenney" wrote: > > > This commit also changes order of execution from this: > > > > rcu_dynticks_task_exit(); > > rcu_dynticks_eqs_exit(); > > trace_rcu_dyntick(); > >

Re: [PATCH 20/23] mm: percpu: remove unnecessary unlikely()

2018-08-30 Thread Dennis Zhou
On Fri, Aug 31, 2018 at 01:34:26AM +0300, Igor Stoppa wrote: > WARN_ON() already contains an unlikely(), so it's not necessary to > wrap it into another. > > Signed-off-by: Igor Stoppa > Cc: zijun_hu > Cc: Tejun Heo > Cc: Christoph Lameter > Cc: Dennis Zhou > --- > mm/percpu.c | 2 +- > 1

Re: [PATCH 20/23] mm: percpu: remove unnecessary unlikely()

2018-08-30 Thread Dennis Zhou
On Fri, Aug 31, 2018 at 01:34:26AM +0300, Igor Stoppa wrote: > WARN_ON() already contains an unlikely(), so it's not necessary to > wrap it into another. > > Signed-off-by: Igor Stoppa > Cc: zijun_hu > Cc: Tejun Heo > Cc: Christoph Lameter > Cc: Dennis Zhou > --- > mm/percpu.c | 2 +- > 1

Re: [PATCH] x86/mce: Fix set_mce_nospec() to avoid #GP fault

2018-08-30 Thread Tony Luck
On Thu, Aug 30, 2018 at 6:30 PM Linus Torvalds wrote: > > On Thu, Aug 30, 2018 at 2:45 PM Tony Luck wrote: > > > > Fix is to move one step at a time. First mark the page not present > > (using the decoy address). Then it is safe to use the actual address > > of the 1:1 mapping to mark it "uc",

Re: [PATCH] x86/mce: Fix set_mce_nospec() to avoid #GP fault

2018-08-30 Thread Tony Luck
On Thu, Aug 30, 2018 at 6:30 PM Linus Torvalds wrote: > > On Thu, Aug 30, 2018 at 2:45 PM Tony Luck wrote: > > > > Fix is to move one step at a time. First mark the page not present > > (using the decoy address). Then it is safe to use the actual address > > of the 1:1 mapping to mark it "uc",

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

2018-08-30 Thread Hanjie Lin
On 2018/8/30 21:59, Rob Herring wrote: > On Thu, Aug 30, 2018 at 2:37 AM Hanjie Lin wrote: >> >> >> >> On 2018/8/29 8:41, Rob Herring wrote: >>> On Mon, Aug 27, 2018 at 04:55:20PM +0800, Hanjie Lin wrote: On 2018/8/24 16:22, Jerome Brunet wrote: > On Fri, 2018-08-24 at 15:36

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

2018-08-30 Thread Hanjie Lin
On 2018/8/30 21:59, Rob Herring wrote: > On Thu, Aug 30, 2018 at 2:37 AM Hanjie Lin wrote: >> >> >> >> On 2018/8/29 8:41, Rob Herring wrote: >>> On Mon, Aug 27, 2018 at 04:55:20PM +0800, Hanjie Lin wrote: On 2018/8/24 16:22, Jerome Brunet wrote: > On Fri, 2018-08-24 at 15:36

RE: [PATCH 2/2] clk: imx: imx7d: remove clks_init_on array

2018-08-30 Thread Anson Huang
Hi, Stephen Anson Huang Best Regards! > -Original Message- > From: Stephen Boyd > Sent: Friday, August 31, 2018 9:29 AM > To: ker...@pengutronix.de; linux-arm-ker...@lists.infradead.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > mturque...@baylibre.com;

RE: [PATCH 2/2] clk: imx: imx7d: remove clks_init_on array

2018-08-30 Thread Anson Huang
Hi, Stephen Anson Huang Best Regards! > -Original Message- > From: Stephen Boyd > Sent: Friday, August 31, 2018 9:29 AM > To: ker...@pengutronix.de; linux-arm-ker...@lists.infradead.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > mturque...@baylibre.com;

Re: [PATCH] staging: android: ion: check for kref overflow

2018-08-30 Thread Daniel Rosenberg
On 08/30/2018 05:41 PM, Greg Kroah-Hartman wrote: On Thu, Aug 30, 2018 at 04:09:46PM -0700, Daniel Rosenberg wrote: This patch is against 4.9. It does not apply to master due to a large rework of ion in 4.12 which removed the affected functions altogther. 4c23cbff073f3b9b ("staging: android:

Re: [PATCH] staging: android: ion: check for kref overflow

2018-08-30 Thread Daniel Rosenberg
On 08/30/2018 05:41 PM, Greg Kroah-Hartman wrote: On Thu, Aug 30, 2018 at 04:09:46PM -0700, Daniel Rosenberg wrote: This patch is against 4.9. It does not apply to master due to a large rework of ion in 4.12 which removed the affected functions altogther. 4c23cbff073f3b9b ("staging: android:

WARNING in enter_vmx_operation

2018-08-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3f16503b7d22 Merge branch 'fixes' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16c7df6a40 kernel config: https://syzkaller.appspot.com/x/.config?x=49927b422dcf0b29

WARNING in enter_vmx_operation

2018-08-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3f16503b7d22 Merge branch 'fixes' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16c7df6a40 kernel config: https://syzkaller.appspot.com/x/.config?x=49927b422dcf0b29

Re: [PATCH] clk: mediatek: remove unused array audio_parents

2018-08-30 Thread Stephen Boyd
Quoting Colin King (2018-08-06 06:44:02) > From: Colin Ian King > > Array audio_parents is declared but never used, hence it is redundant > and can be removed. > > Cleans up clang warning: > warning: 'audio_parents' defined but not used [-Wunused-const-variable=] > > Signed-off-by: Colin Ian

Re: [PATCH] clk: mediatek: remove unused array audio_parents

2018-08-30 Thread Stephen Boyd
Quoting Colin King (2018-08-06 06:44:02) > From: Colin Ian King > > Array audio_parents is declared but never used, hence it is redundant > and can be removed. > > Cleans up clang warning: > warning: 'audio_parents' defined but not used [-Wunused-const-variable=] > > Signed-off-by: Colin Ian

RE: [PATCH 2/2] clk: imx: imx7d: remove clks_init_on array

2018-08-30 Thread Stephen Boyd
Quoting Peng Fan (2018-08-12 18:15:41) > Hi Anson, > > > > > -Original Message- > > > > From: Anson Huang > > > > Sent: 2018年8月8日 12:39 > > > > To: shawn...@kernel.org; s.ha...@pengutronix.de; > > > > ker...@pengutronix.de; Fabio Estevam ; > > > > mturque...@baylibre.com;

Re: [PATCH] x86/mce: Fix set_mce_nospec() to avoid #GP fault

2018-08-30 Thread Linus Torvalds
On Thu, Aug 30, 2018 at 2:45 PM Tony Luck wrote: > > Fix is to move one step at a time. First mark the page not present > (using the decoy address). Then it is safe to use the actual address > of the 1:1 mapping to mark it "uc", and finally as present. Can't we do it in one step, but make sure

RE: [PATCH 2/2] clk: imx: imx7d: remove clks_init_on array

2018-08-30 Thread Stephen Boyd
Quoting Peng Fan (2018-08-12 18:15:41) > Hi Anson, > > > > > -Original Message- > > > > From: Anson Huang > > > > Sent: 2018年8月8日 12:39 > > > > To: shawn...@kernel.org; s.ha...@pengutronix.de; > > > > ker...@pengutronix.de; Fabio Estevam ; > > > > mturque...@baylibre.com;

Re: [PATCH] x86/mce: Fix set_mce_nospec() to avoid #GP fault

2018-08-30 Thread Linus Torvalds
On Thu, Aug 30, 2018 at 2:45 PM Tony Luck wrote: > > Fix is to move one step at a time. First mark the page not present > (using the decoy address). Then it is safe to use the actual address > of the 1:1 mapping to mark it "uc", and finally as present. Can't we do it in one step, but make sure

Re: [PATCH v3] clk: qcom: Add camera clock controller driver for SDM845

2018-08-30 Thread Stephen Boyd
Quoting Amit Nischal (2018-08-08 03:47:19) > Add support for the camera clock controller found on SDM845 > based devices. This would allow camera drivers to probe and > control their clocks. > > Signed-off-by: Amit Nischal > --- Applied to clk-next

Re: [PATCH v3] clk: qcom: Add camera clock controller driver for SDM845

2018-08-30 Thread Stephen Boyd
Quoting Amit Nischal (2018-08-08 03:47:19) > Add support for the camera clock controller found on SDM845 > based devices. This would allow camera drivers to probe and > control their clocks. > > Signed-off-by: Amit Nischal > --- Applied to clk-next

Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-30 Thread Benjamin Herrenschmidt
On Mon, 2018-08-27 at 19:02 +1000, Nicholas Piggin wrote: > > More tlbies ? With the cost of the broadasts on the fabric ? I don't > > think so.. or I'm not understanding your point... > > More tlbies are no good, but there will be some places where it works > out much better (and fewer tlbies).

Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-30 Thread Benjamin Herrenschmidt
On Mon, 2018-08-27 at 19:02 +1000, Nicholas Piggin wrote: > > More tlbies ? With the cost of the broadasts on the fabric ? I don't > > think so.. or I'm not understanding your point... > > More tlbies are no good, but there will be some places where it works > out much better (and fewer tlbies).

Re: [PATCH 09/12] asm-generic/tlb: Track which levels of the page tables have been cleared

2018-08-30 Thread Nicholas Piggin
On Thu, 30 Aug 2018 17:15:43 +0100 Will Deacon wrote: > It is common for architectures with hugepage support to require only a > single TLB invalidation operation per hugepage during unmap(), rather than > iterating through the mapping at a PAGE_SIZE increment. Currently, > however, the level in

Re: [PATCH 09/12] asm-generic/tlb: Track which levels of the page tables have been cleared

2018-08-30 Thread Nicholas Piggin
On Thu, 30 Aug 2018 17:15:43 +0100 Will Deacon wrote: > It is common for architectures with hugepage support to require only a > single TLB invalidation operation per hugepage during unmap(), rather than > iterating through the mapping at a PAGE_SIZE increment. Currently, > however, the level in

Re: [PATCH 0/3] firmware: qcom: scm: Improve clock handling

2018-08-30 Thread Bjorn Andersson
On Thu 30 Aug 18:07 PDT 2018, Stephen Boyd wrote: > Quoting Bjorn Andersson (2018-08-29 16:15:02) > > We're currently facing the issue that every new platform requires the > > addition > > of a compatible to the DT binding as well as the driver. > > > > The DT binding patch to allow us to use

Re: [PATCH 0/3] firmware: qcom: scm: Improve clock handling

2018-08-30 Thread Bjorn Andersson
On Thu 30 Aug 18:07 PDT 2018, Stephen Boyd wrote: > Quoting Bjorn Andersson (2018-08-29 16:15:02) > > We're currently facing the issue that every new platform requires the > > addition > > of a compatible to the DT binding as well as the driver. > > > > The DT binding patch to allow us to use

Re: linux-next: disabling -Wstringop-truncation

2018-08-30 Thread Linus Torvalds
On Thu, Aug 30, 2018 at 3:07 PM Stephen Rothwell wrote: > > I am now mainly using gcc v8.2 for my builds and -Wstringop-truncation > causes so many warnings that I am sure to miss others, so I have > applied the below to my fixes tree until the noise reduces. Applied. If people want the warning

Re: linux-next: disabling -Wstringop-truncation

2018-08-30 Thread Linus Torvalds
On Thu, Aug 30, 2018 at 3:07 PM Stephen Rothwell wrote: > > I am now mainly using gcc v8.2 for my builds and -Wstringop-truncation > causes so many warnings that I am sure to miss others, so I have > applied the below to my fixes tree until the noise reduces. Applied. If people want the warning

Re: [PATCH v8 0/5] Support for Qualcomm UFS QMP PHY on SDM845

2018-08-30 Thread Bjorn Andersson
On Thu 30 Aug 03:44 PDT 2018, Vivek Gautam wrote: > On Thu, Aug 30, 2018 at 11:46 AM Bjorn Andersson > wrote: > > > > On Tue 31 Jul 03:09 PDT 2018, Can Guo wrote: > > > > > This patch series adds support for UFS QMP PHY on SDM845 and the > > > compatible string for it. This patch series depends

Re: [PATCH v8 0/5] Support for Qualcomm UFS QMP PHY on SDM845

2018-08-30 Thread Bjorn Andersson
On Thu 30 Aug 03:44 PDT 2018, Vivek Gautam wrote: > On Thu, Aug 30, 2018 at 11:46 AM Bjorn Andersson > wrote: > > > > On Tue 31 Jul 03:09 PDT 2018, Can Guo wrote: > > > > > This patch series adds support for UFS QMP PHY on SDM845 and the > > > compatible string for it. This patch series depends

Re: [PATCH 0/3] firmware: qcom: scm: Improve clock handling

2018-08-30 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-08-29 16:15:02) > We're currently facing the issue that every new platform requires the addition > of a compatible to the DT binding as well as the driver. > > The DT binding patch to allow us to use qcom,scm for all these new platforms > that doesn't require any

Re: [PATCH 0/3] firmware: qcom: scm: Improve clock handling

2018-08-30 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-08-29 16:15:02) > We're currently facing the issue that every new platform requires the addition > of a compatible to the DT binding as well as the driver. > > The DT binding patch to allow us to use qcom,scm for all these new platforms > that doesn't require any

Re: [PATCH 3/3] dt-bindings: firmware: scm: Add MSM8998 and SDM845

2018-08-30 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-08-29 16:15:05) > Now that the compatible/clock handling is reworked add compatibles for > MSM8998 and SDM845 to the SCM binding. > > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd

Re: [PATCH 2/3] firmware: qcom: scm: Refactor clock handling

2018-08-30 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-08-29 16:15:04) > At one point in time all "future" platforms required three clocks, so > the binding and driver was written to treat this as the default case. > But new platforms has no clock requirements, which currently makes them > all a special case, causing the

Re: [PATCH 1/3] dt-bindings: firmware: scm: Refactor compatibles and clocks

2018-08-30 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-08-29 16:15:03) > When the binding was written all "future" platforms required three > clocks, so the default compatible (qcom,scm) was defined to require > this. But as history shows all "future" platforms actually lack required > clocks. Given how the binding is

Re: [PATCH 3/3] dt-bindings: firmware: scm: Add MSM8998 and SDM845

2018-08-30 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-08-29 16:15:05) > Now that the compatible/clock handling is reworked add compatibles for > MSM8998 and SDM845 to the SCM binding. > > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd

Re: [PATCH 2/3] firmware: qcom: scm: Refactor clock handling

2018-08-30 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-08-29 16:15:04) > At one point in time all "future" platforms required three clocks, so > the binding and driver was written to treat this as the default case. > But new platforms has no clock requirements, which currently makes them > all a special case, causing the

Re: [PATCH 1/3] dt-bindings: firmware: scm: Refactor compatibles and clocks

2018-08-30 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-08-29 16:15:03) > When the binding was written all "future" platforms required three > clocks, so the default compatible (qcom,scm) was defined to require > this. But as history shows all "future" platforms actually lack required > clocks. Given how the binding is

Re: [PATCH 00/12] Avoid synchronous TLB invalidation for intermediate page-table entries on arm64

2018-08-30 Thread Linus Torvalds
On Thu, Aug 30, 2018 at 6:01 PM Nicholas Piggin wrote: > > Well it would help if powerpc say wanted to start using them without a > merge cycle lag. Not a huge issue because powerpc already does > reasonably well here and there's other work that can be done. Sure. If somebody wants to send the

Re: [PATCH 00/12] Avoid synchronous TLB invalidation for intermediate page-table entries on arm64

2018-08-30 Thread Linus Torvalds
On Thu, Aug 30, 2018 at 6:01 PM Nicholas Piggin wrote: > > Well it would help if powerpc say wanted to start using them without a > merge cycle lag. Not a huge issue because powerpc already does > reasonably well here and there's other work that can be done. Sure. If somebody wants to send the

Re: [PATCH 00/12] Avoid synchronous TLB invalidation for intermediate page-table entries on arm64

2018-08-30 Thread Nicholas Piggin
On Thu, 30 Aug 2018 09:39:38 -0700 Linus Torvalds wrote: > On Thu, Aug 30, 2018 at 9:15 AM Will Deacon wrote: > > > > It's also had a lot more testing, but has held up nicely so far on arm64. > > I haven't figured out how to merge this yet, but I'll probably end up > > pulling > > the core

Re: [PATCH 00/12] Avoid synchronous TLB invalidation for intermediate page-table entries on arm64

2018-08-30 Thread Nicholas Piggin
On Thu, 30 Aug 2018 09:39:38 -0700 Linus Torvalds wrote: > On Thu, Aug 30, 2018 at 9:15 AM Will Deacon wrote: > > > > It's also had a lot more testing, but has held up nicely so far on arm64. > > I haven't figured out how to merge this yet, but I'll probably end up > > pulling > > the core

  1   2   3   4   5   6   7   8   9   10   >