Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-05 Thread David Rientjes
On Fri, 5 Oct 2018, Mel Gorman wrote: > > This causes, on average, a 13.9% access latency regression on Haswell, and > > the regression would likely be more severe on Naples and Rome. > > > > That assumes that fragmentation prevents easy allocation which may very > well be the case. While it

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-05 Thread David Rientjes
On Fri, 5 Oct 2018, Mel Gorman wrote: > > This causes, on average, a 13.9% access latency regression on Haswell, and > > the regression would likely be more severe on Naples and Rome. > > > > That assumes that fragmentation prevents easy allocation which may very > well be the case. While it

[PATCH 1/3] x86/extable: Macrofy inline assembly code to work around GCC inlining bugs

2018-10-05 Thread Nadav Amit
As described in: 77b0bf55bc67: ("kbuild/Makefile: Prepare for using macros in inline assembly code to work around asm() related GCC inlining bugs") GCC's inlining heuristics are broken with common asm() patterns used in kernel code, resulting in the effective disabling of inlining. The

[PATCH 0/3] Macrofying inline asm rebased

2018-10-05 Thread Nadav Amit
These are the last 3 patches from the "macrofying inline asm" series after rebasing on TIP, per Ingo's request. For the record: the new commit log was written by Ingo. Link: https://lore.kernel.org/lkml/20181003213100.189959-11-na...@vmware.com/T/#m28ed17da046354dd8d897ff9703561ac3fd71410

[PATCH 1/3] x86/extable: Macrofy inline assembly code to work around GCC inlining bugs

2018-10-05 Thread Nadav Amit
As described in: 77b0bf55bc67: ("kbuild/Makefile: Prepare for using macros in inline assembly code to work around asm() related GCC inlining bugs") GCC's inlining heuristics are broken with common asm() patterns used in kernel code, resulting in the effective disabling of inlining. The

[PATCH 0/3] Macrofying inline asm rebased

2018-10-05 Thread Nadav Amit
These are the last 3 patches from the "macrofying inline asm" series after rebasing on TIP, per Ingo's request. For the record: the new commit log was written by Ingo. Link: https://lore.kernel.org/lkml/20181003213100.189959-11-na...@vmware.com/T/#m28ed17da046354dd8d897ff9703561ac3fd71410

[PATCH 2/3] x86/cpufeature: Macrofy inline assembly code to work around GCC inlining bugs

2018-10-05 Thread Nadav Amit
As described in: 77b0bf55bc67: ("kbuild/Makefile: Prepare for using macros in inline assembly code to work around asm() related GCC inlining bugs") GCC's inlining heuristics are broken with common asm() patterns used in kernel code, resulting in the effective disabling of inlining. The

[PATCH 3/3] x86/jump-labels: Macrofy inline assembly code to work around GCC inlining bugs

2018-10-05 Thread Nadav Amit
As described in: 77b0bf55bc67: ("kbuild/Makefile: Prepare for using macros in inline assembly code to work around asm() related GCC inlining bugs") GCC's inlining heuristics are broken with common asm() patterns used in kernel code, resulting in the effective disabling of inlining. The

[PATCH 2/3] x86/cpufeature: Macrofy inline assembly code to work around GCC inlining bugs

2018-10-05 Thread Nadav Amit
As described in: 77b0bf55bc67: ("kbuild/Makefile: Prepare for using macros in inline assembly code to work around asm() related GCC inlining bugs") GCC's inlining heuristics are broken with common asm() patterns used in kernel code, resulting in the effective disabling of inlining. The

[PATCH 3/3] x86/jump-labels: Macrofy inline assembly code to work around GCC inlining bugs

2018-10-05 Thread Nadav Amit
As described in: 77b0bf55bc67: ("kbuild/Makefile: Prepare for using macros in inline assembly code to work around asm() related GCC inlining bugs") GCC's inlining heuristics are broken with common asm() patterns used in kernel code, resulting in the effective disabling of inlining. The

Re: [PATCH] reset: socfpga: add an early reset driver for SoCFPGA

2018-10-05 Thread Dinh Nguyen
Hi Philipp, I apologize, but I just realized that I forgot to test this patch against the SoCFPGA ARM64 platform. I just tested against that platform and this patch is preventing that board from booting. I need to redo this patch. If its not too late, can you remove this patch from reset/next?

Re: [PATCH] reset: socfpga: add an early reset driver for SoCFPGA

2018-10-05 Thread Dinh Nguyen
Hi Philipp, I apologize, but I just realized that I forgot to test this patch against the SoCFPGA ARM64 platform. I just tested against that platform and this patch is preventing that board from booting. I need to redo this patch. If its not too late, can you remove this patch from reset/next?

Re: [PATCH V10 6/8] dt-bindings: timer: C-SKY Multi-processor timer

2018-10-05 Thread Rob Herring
On Fri, 5 Oct 2018 01:22:26 +0800, Guo Ren wrote: > Dt-bingdings doc for C-SKY SMP system setting. > > Changelog: > - Drop the interrupt-parent. > > Signed-off-by: Guo Ren > --- > .../devicetree/bindings/timer/csky,mptimer.txt | 42 > ++ > 1 file changed, 42

Re: [PATCH V10 6/8] dt-bindings: timer: C-SKY Multi-processor timer

2018-10-05 Thread Rob Herring
On Fri, 5 Oct 2018 01:22:26 +0800, Guo Ren wrote: > Dt-bingdings doc for C-SKY SMP system setting. > > Changelog: > - Drop the interrupt-parent. > > Signed-off-by: Guo Ren > --- > .../devicetree/bindings/timer/csky,mptimer.txt | 42 > ++ > 1 file changed, 42

Re: [PATCH V10 2/8] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-10-05 Thread Rob Herring
On Fri, 5 Oct 2018 01:22:22 +0800, Guo Ren wrote: > Dt-bindings doc about C-SKY Multi-processors interrupt controller. > > Changelog: > - Should be: '#interrupt-cells' not 'interrupt-cells' > > Signed-off-by: Guo Ren > --- > .../bindings/interrupt-controller/csky,mpintc.txt | 40 >

Re: [PATCH V10 2/8] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-10-05 Thread Rob Herring
On Fri, 5 Oct 2018 01:22:22 +0800, Guo Ren wrote: > Dt-bindings doc about C-SKY Multi-processors interrupt controller. > > Changelog: > - Should be: '#interrupt-cells' not 'interrupt-cells' > > Signed-off-by: Guo Ren > --- > .../bindings/interrupt-controller/csky,mpintc.txt | 40 >

Re: [PATCH V10 8/8] dt-bindings: timer: gx6605s SOC timer

2018-10-05 Thread Rob Herring
On Fri, Oct 05, 2018 at 01:22:28AM +0800, Guo Ren wrote: > Dt-bindings doc for gx6605s SOC's system timer. > > Signed-off-by: Guo Ren > --- > .../bindings/timer/csky,gx6605s-timer.txt | 42 > ++ > 1 file changed, 42 insertions(+) > create mode 100644 >

Re: [PATCH V10 8/8] dt-bindings: timer: gx6605s SOC timer

2018-10-05 Thread Rob Herring
On Fri, Oct 05, 2018 at 01:22:28AM +0800, Guo Ren wrote: > Dt-bindings doc for gx6605s SOC's system timer. > > Signed-off-by: Guo Ren > --- > .../bindings/timer/csky,gx6605s-timer.txt | 42 > ++ > 1 file changed, 42 insertions(+) > create mode 100644 >

Re: [PATCH] regulator: fixed: Use more standard GPIO binding

2018-10-05 Thread Rob Herring
On Thu, Oct 4, 2018 at 8:54 AM Mark Brown wrote: > > On Thu, Oct 04, 2018 at 01:32:13PM +0200, Linus Walleij wrote: > > On Thu, Oct 4, 2018 at 12:50 PM Mark Brown wrote: > > > On Thu, Oct 04, 2018 at 11:06:54AM +0200, Linus Walleij wrote: > > > > > Optional properties: > > > > -- gpio: gpio to

Re: [PATCH] regulator: fixed: Use more standard GPIO binding

2018-10-05 Thread Rob Herring
On Thu, Oct 4, 2018 at 8:54 AM Mark Brown wrote: > > On Thu, Oct 04, 2018 at 01:32:13PM +0200, Linus Walleij wrote: > > On Thu, Oct 4, 2018 at 12:50 PM Mark Brown wrote: > > > On Thu, Oct 04, 2018 at 11:06:54AM +0200, Linus Walleij wrote: > > > > > Optional properties: > > > > -- gpio: gpio to

Re: [PATCH RFC] mm: Add an fs-write seal to memfd

2018-10-05 Thread Andrew Morton
On Fri, 5 Oct 2018 12:27:27 -0700 "Joel Fernandes (Google)" wrote: > To support the usecase, this patch adds a new F_SEAL_FS_WRITE seal which > prevents any future mmap and write syscalls from succeeding while > keeping the existing mmap active. The following program shows the seal > working

Re: [PATCH RFC] mm: Add an fs-write seal to memfd

2018-10-05 Thread Andrew Morton
On Fri, 5 Oct 2018 12:27:27 -0700 "Joel Fernandes (Google)" wrote: > To support the usecase, this patch adds a new F_SEAL_FS_WRITE seal which > prevents any future mmap and write syscalls from succeeding while > keeping the existing mmap active. The following program shows the seal > working

Re: [PATCH v2 2/3] mm: introduce put_user_page[s](), placeholder versions

2018-10-05 Thread John Hubbard
On 10/5/18 8:17 AM, Jason Gunthorpe wrote: > On Thu, Oct 04, 2018 at 09:02:24PM -0700, john.hubb...@gmail.com wrote: >> From: John Hubbard >> >> Introduces put_user_page(), which simply calls put_page(). >> This provides a way to update all get_user_pages*() callers, >> so that they call

Re: [PATCH v2 2/3] mm: introduce put_user_page[s](), placeholder versions

2018-10-05 Thread John Hubbard
On 10/5/18 8:17 AM, Jason Gunthorpe wrote: > On Thu, Oct 04, 2018 at 09:02:24PM -0700, john.hubb...@gmail.com wrote: >> From: John Hubbard >> >> Introduces put_user_page(), which simply calls put_page(). >> This provides a way to update all get_user_pages*() callers, >> so that they call

Re: [PATCH] writeback: fix range_cyclic writeback vs writepages deadlock

2018-10-05 Thread Andrew Morton
On Fri, 5 Oct 2018 15:45:26 +1000 Dave Chinner wrote: > From: Dave Chinner > > We've recently seen a workload on XFS filesystems with a repeatable > deadlock between background writeback and a multi-process > application doing concurrent writes and fsyncs to a small range of a > file. > >

Re: [PATCH v3] tools/lib/traceevent: Replace str_error_r() with an open coded implementation

2018-10-05 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 05, 2018 at 09:27:16AM -0700, Colin McCabe escreveu: > Hmm. Did you consider setting the ifdefs you can set to always get the POSIX > version of strerror_r? Yes, didn't work for tools/perf, that uses _GNU_SOURCE, so we would have the headers with that and the .c with an explicit

Re: [PATCH] writeback: fix range_cyclic writeback vs writepages deadlock

2018-10-05 Thread Andrew Morton
On Fri, 5 Oct 2018 15:45:26 +1000 Dave Chinner wrote: > From: Dave Chinner > > We've recently seen a workload on XFS filesystems with a repeatable > deadlock between background writeback and a multi-process > application doing concurrent writes and fsyncs to a small range of a > file. > >

Re: [PATCH v3] tools/lib/traceevent: Replace str_error_r() with an open coded implementation

2018-10-05 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 05, 2018 at 09:27:16AM -0700, Colin McCabe escreveu: > Hmm. Did you consider setting the ifdefs you can set to always get the POSIX > version of strerror_r? Yes, didn't work for tools/perf, that uses _GNU_SOURCE, so we would have the headers with that and the .c with an explicit

Re: [PATCH v3 8/9] x86/kvm/mmu: check if tdp/shadow MMU reconfiguration is needed

2018-10-05 Thread Sean Christopherson
On Mon, Oct 01, 2018 at 04:20:09PM +0200, Vitaly Kuznetsov wrote: > MMU reconfiguration in init_kvm_tdp_mmu()/kvm_init_shadow_mmu() can be > avoided if the source data used to configure it didn't change; enhance > MMU extended role with the required fields and consolidate common code in >

Re: [PATCH v3 8/9] x86/kvm/mmu: check if tdp/shadow MMU reconfiguration is needed

2018-10-05 Thread Sean Christopherson
On Mon, Oct 01, 2018 at 04:20:09PM +0200, Vitaly Kuznetsov wrote: > MMU reconfiguration in init_kvm_tdp_mmu()/kvm_init_shadow_mmu() can be > avoided if the source data used to configure it didn't change; enhance > MMU extended role with the required fields and consolidate common code in >

Re: [PATCH v3 7/9] x86/kvm/nVMX: introduce source data cache for kvm_init_shadow_ept_mmu()

2018-10-05 Thread Sean Christopherson
On Mon, Oct 01, 2018 at 04:20:08PM +0200, Vitaly Kuznetsov wrote: > MMU re-initialization is expensive, in particular, > update_permission_bitmask() and update_pkru_bitmask() are. > > Cache the data used to setup shadow EPT MMU and avoid full re-init when > it is unchanged. > > Signed-off-by:

Re: [PATCH v3 7/9] x86/kvm/nVMX: introduce source data cache for kvm_init_shadow_ept_mmu()

2018-10-05 Thread Sean Christopherson
On Mon, Oct 01, 2018 at 04:20:08PM +0200, Vitaly Kuznetsov wrote: > MMU re-initialization is expensive, in particular, > update_permission_bitmask() and update_pkru_bitmask() are. > > Cache the data used to setup shadow EPT MMU and avoid full re-init when > it is unchanged. > > Signed-off-by:

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-05 Thread Boris Brezillon
On Fri, 5 Oct 2018 20:12:43 +0200 Ricardo Ribalda Delgado wrote: > > I think I know what might be the issue. on cfi_cmdset_002.c > cfi_amdstd_reset can be called in parrallel to cfi_amdstd_destroy. > > maybe we should call > unregister_reboot_notifier(>reboot_notifier); > before >

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-05 Thread Boris Brezillon
On Fri, 5 Oct 2018 20:12:43 +0200 Ricardo Ribalda Delgado wrote: > > I think I know what might be the issue. on cfi_cmdset_002.c > cfi_amdstd_reset can be called in parrallel to cfi_amdstd_destroy. > > maybe we should call > unregister_reboot_notifier(>reboot_notifier); > before >

[GIT PULL v2] for-next updates for soc/fsl drivers for v4.20 take 2

2018-10-05 Thread Li Yang
Hi arm-soc maintainers, Please merge the following updates for next. v2: updated tree to include dependency patches by merging soc-fsl-fix-v4.19-2 Regards, Leo The following changes since commit 56740a7167cbbbda99ebfd3e8b4e4d51ae39bd06: Merge tag 'soc-fsl-fix-v4.19-2' into HEAD (2018-10-05

[GIT PULL v2] for-next updates for soc/fsl drivers for v4.20 take 2

2018-10-05 Thread Li Yang
Hi arm-soc maintainers, Please merge the following updates for next. v2: updated tree to include dependency patches by merging soc-fsl-fix-v4.19-2 Regards, Leo The following changes since commit 56740a7167cbbbda99ebfd3e8b4e4d51ae39bd06: Merge tag 'soc-fsl-fix-v4.19-2' into HEAD (2018-10-05

[PATCH v3] spi: spi-ep93xx: Use dma_data_direction for ep93xx_spi_dma_{finish,prepare}

2018-10-05 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another. drivers/spi/spi-ep93xx.c:342:62: warning: implicit conversion from enumeration type 'enum dma_transfer_direction' to different enumeration type 'enum dma_data_direction' [-Wenum-conversion] nents =

[PATCH v3] spi: spi-ep93xx: Use dma_data_direction for ep93xx_spi_dma_{finish,prepare}

2018-10-05 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another. drivers/spi/spi-ep93xx.c:342:62: warning: implicit conversion from enumeration type 'enum dma_transfer_direction' to different enumeration type 'enum dma_data_direction' [-Wenum-conversion] nents =

[PATCH RFC] mm: Add an fs-write seal to memfd

2018-10-05 Thread Joel Fernandes (Google)
Android uses ashmem for sharing memory regions. We are looking forward to migrating all usecases of ashmem to memfd so that we can possibly remove the ashmem driver in the future from staging while also benefiting from using memfd and contributing to it. Note staging drivers are also not ABI and

[PATCH RFC] mm: Add an fs-write seal to memfd

2018-10-05 Thread Joel Fernandes (Google)
Android uses ashmem for sharing memory regions. We are looking forward to migrating all usecases of ashmem to memfd so that we can possibly remove the ashmem driver in the future from staging while also benefiting from using memfd and contributing to it. Note staging drivers are also not ABI and

Re: [PATCH v3 4/9] x86/kvm/mmu: introduce guest_mmu

2018-10-05 Thread Sean Christopherson
On Mon, Oct 01, 2018 at 04:20:05PM +0200, Vitaly Kuznetsov wrote: > When EPT is used for nested guest we need to re-init MMU as shadow > EPT MMU (nested_ept_init_mmu_context() does that). When we return back > from L2 to L1 kvm_mmu_reset_context() in nested_vmx_load_cr3() resets > MMU back to

Re: [PATCH v3 4/9] x86/kvm/mmu: introduce guest_mmu

2018-10-05 Thread Sean Christopherson
On Mon, Oct 01, 2018 at 04:20:05PM +0200, Vitaly Kuznetsov wrote: > When EPT is used for nested guest we need to re-init MMU as shadow > EPT MMU (nested_ept_init_mmu_context() does that). When we return back > from L2 to L1 kvm_mmu_reset_context() in nested_vmx_load_cr3() resets > MMU back to

Re: [PATCH V3 1/4] rpmsg: core: Add signal API support

2018-10-05 Thread Bjorn Andersson
On Thu 04 Oct 23:59 PDT 2018, Arun Kumar Neelakantam wrote: > diff --git a/drivers/rpmsg/rpmsg_core.c b/drivers/rpmsg/rpmsg_core.c [..] > +/** > + * rpmsg_get_signals() - get the signals for this endpoint > + * @ept: the rpmsg endpoint > + * > + * Returns 0 on success and an appropriate error

Re: [PATCH V3 1/4] rpmsg: core: Add signal API support

2018-10-05 Thread Bjorn Andersson
On Thu 04 Oct 23:59 PDT 2018, Arun Kumar Neelakantam wrote: > diff --git a/drivers/rpmsg/rpmsg_core.c b/drivers/rpmsg/rpmsg_core.c [..] > +/** > + * rpmsg_get_signals() - get the signals for this endpoint > + * @ept: the rpmsg endpoint > + * > + * Returns 0 on success and an appropriate error

Re: [PATCH v3 2/2] dmaengine: uniphier-mdmac: add UniPhier MIO DMAC driver

2018-10-05 Thread Masahiro Yamada
Hi Vinod, Thanks for looking at this closely. On Fri, Oct 5, 2018 at 11:57 PM Vinod wrote: > > On 13-09-18, 09:51, Masahiro Yamada wrote: > > > +#define UNIPHIER_MDMAC_CH_IRQ_STAT 0x010 // current hw status (RO) > > +#define UNIPHIER_MDMAC_CH_IRQ_REQ0x014 // latched STAT (WOC) > >

Re: [PATCH v3 2/2] dmaengine: uniphier-mdmac: add UniPhier MIO DMAC driver

2018-10-05 Thread Masahiro Yamada
Hi Vinod, Thanks for looking at this closely. On Fri, Oct 5, 2018 at 11:57 PM Vinod wrote: > > On 13-09-18, 09:51, Masahiro Yamada wrote: > > > +#define UNIPHIER_MDMAC_CH_IRQ_STAT 0x010 // current hw status (RO) > > +#define UNIPHIER_MDMAC_CH_IRQ_REQ0x014 // latched STAT (WOC) > >

Re: [PATCH] arm64: dts: k3-am65-wakeup: Fix wakeup_uart reg address

2018-10-05 Thread Nishanth Menon
On 05:01-20180927, Vignesh R wrote: > cbass_wakeup interconnect which is the parent of wakeup_uart node > defines address-cells=1 and size-cells=1, therefore fix up reg property > of wakeup_uart node accordingly. Otherwise, this UART instance fails to > probe if enabled. > > Fixes: 4201af2544b3

Re: [PATCH] arm64: dts: k3-am65-wakeup: Fix wakeup_uart reg address

2018-10-05 Thread Nishanth Menon
On 05:01-20180927, Vignesh R wrote: > cbass_wakeup interconnect which is the parent of wakeup_uart node > defines address-cells=1 and size-cells=1, therefore fix up reg property > of wakeup_uart node accordingly. Otherwise, this UART instance fails to > probe if enabled. > > Fixes: 4201af2544b3

[tip:x86/vdso] x86/vdso: Rearrange do_hres() to improve code generation

2018-10-05 Thread tip-bot for Andy Lutomirski
Commit-ID: 99c19e6a8fe4a95fa0dac191207a1d40461b1604 Gitweb: https://git.kernel.org/tip/99c19e6a8fe4a95fa0dac191207a1d40461b1604 Author: Andy Lutomirski AuthorDate: Fri, 5 Oct 2018 11:02:43 -0700 Committer: Thomas Gleixner CommitDate: Fri, 5 Oct 2018 21:03:23 +0200 x86/vdso: Rearrange

[tip:x86/vdso] x86/vdso: Rearrange do_hres() to improve code generation

2018-10-05 Thread tip-bot for Andy Lutomirski
Commit-ID: 99c19e6a8fe4a95fa0dac191207a1d40461b1604 Gitweb: https://git.kernel.org/tip/99c19e6a8fe4a95fa0dac191207a1d40461b1604 Author: Andy Lutomirski AuthorDate: Fri, 5 Oct 2018 11:02:43 -0700 Committer: Thomas Gleixner CommitDate: Fri, 5 Oct 2018 21:03:23 +0200 x86/vdso: Rearrange

Re: [PATCH v2 0/3] mm: Fix for movable_node boot option

2018-10-05 Thread Pavel Tatashin
I have not reviewed them yet. I am waiting for Masayoshi to send a new series with correct order as Ingo requested. Pavel On 10/2/18 10:01 AM, Michal Hocko wrote: > On Thu 27-09-18 22:41:36, Thomas Gleixner wrote: >> On Tue, 25 Sep 2018, Masayoshi Mizuma wrote: >> >>> This patch series are the

Re: [PATCH v2 0/3] mm: Fix for movable_node boot option

2018-10-05 Thread Pavel Tatashin
I have not reviewed them yet. I am waiting for Masayoshi to send a new series with correct order as Ingo requested. Pavel On 10/2/18 10:01 AM, Michal Hocko wrote: > On Thu 27-09-18 22:41:36, Thomas Gleixner wrote: >> On Tue, 25 Sep 2018, Masayoshi Mizuma wrote: >> >>> This patch series are the

[PATCH v2] cpufreq: dt-platdev: allow RK3399 to have separate tunables per cluster

2018-10-05 Thread Dmitry Torokhov
RK3899 has one cluster with 4 small cores, and another one with 2 big cores, with cores in different clusters having different OPPs and thus needing separate set of tunables. Let's enable this via "have_governor_per_policy" platform data. Signed-off-by: Dmitry Torokhov --- v2 changes: commit

[PATCH v2] cpufreq: dt-platdev: allow RK3399 to have separate tunables per cluster

2018-10-05 Thread Dmitry Torokhov
RK3899 has one cluster with 4 small cores, and another one with 2 big cores, with cores in different clusters having different OPPs and thus needing separate set of tunables. Let's enable this via "have_governor_per_policy" platform data. Signed-off-by: Dmitry Torokhov --- v2 changes: commit

Re: [PATCH v2 0/3] mm: Fix for movable_node boot option

2018-10-05 Thread Pavel Tatashin
On 10/2/18 10:01 AM, Michal Hocko wrote: > On Thu 27-09-18 22:41:36, Thomas Gleixner wrote: >> On Tue, 25 Sep 2018, Masayoshi Mizuma wrote: >> >>> This patch series are the fix for movable_node boot option >>> issue which was introduced by commit 124049decbb1 ("x86/e820: >>> put !E820_TYPE_RAM

Re: [PATCH v2 0/3] mm: Fix for movable_node boot option

2018-10-05 Thread Pavel Tatashin
On 10/2/18 10:01 AM, Michal Hocko wrote: > On Thu 27-09-18 22:41:36, Thomas Gleixner wrote: >> On Tue, 25 Sep 2018, Masayoshi Mizuma wrote: >> >>> This patch series are the fix for movable_node boot option >>> issue which was introduced by commit 124049decbb1 ("x86/e820: >>> put !E820_TYPE_RAM

Re: [PATCH] ALSA: hda/sigmatel - Disable automute for Elo VuPoint

2018-10-05 Thread Michael Pobega
On Thu, Oct 04, 2018 at 09:23:50PM +0200, Takashi Iwai wrote: > On Thu, 04 Oct 2018 20:58:21 +0200, > Michael Pobega wrote: > > > > The Elo VuPoint 15MX has two headphone jacks of which neither work by > > default. Disabling automute allows ALSA to work normally with the > > speakers & left

Re: [PATCH] ALSA: hda/sigmatel - Disable automute for Elo VuPoint

2018-10-05 Thread Michael Pobega
On Thu, Oct 04, 2018 at 09:23:50PM +0200, Takashi Iwai wrote: > On Thu, 04 Oct 2018 20:58:21 +0200, > Michael Pobega wrote: > > > > The Elo VuPoint 15MX has two headphone jacks of which neither work by > > default. Disabling automute allows ALSA to work normally with the > > speakers & left

Re: [PATCH] input: st1232: set INPUT_PROP_DIRECT property

2018-10-05 Thread Dmitry Torokhov
On Fri, Oct 05, 2018 at 10:14:07AM +0200, Martin Kepplinger wrote: > This is how userspace checks for touchscreen devices most reliably. > > Signed-off-by: Martin Kepplinger Applied, thank you. > --- > drivers/input/touchscreen/st1232.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH] input: st1232: set INPUT_PROP_DIRECT property

2018-10-05 Thread Dmitry Torokhov
On Fri, Oct 05, 2018 at 10:14:07AM +0200, Martin Kepplinger wrote: > This is how userspace checks for touchscreen devices most reliably. > > Signed-off-by: Martin Kepplinger Applied, thank you. > --- > drivers/input/touchscreen/st1232.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [Patch v2 4/4] x86/speculation: Add prctl to control indirect branch speculation per process

2018-10-05 Thread Thomas Gleixner
On Fri, 5 Oct 2018, Tim Chen wrote: > On 10/02/2018 10:58 AM, Thomas Gleixner wrote: > > On Tue, 25 Sep 2018, Tim Chen wrote: > >> > >> +void arch_set_dumpable(struct task_struct *tsk, struct mm_struct *mm, int > >> value) > >> +{ > >> + if (!static_branch_unlikely(_v2_app_lite)) > >> +

Re: [Patch v2 4/4] x86/speculation: Add prctl to control indirect branch speculation per process

2018-10-05 Thread Thomas Gleixner
On Fri, 5 Oct 2018, Tim Chen wrote: > On 10/02/2018 10:58 AM, Thomas Gleixner wrote: > > On Tue, 25 Sep 2018, Tim Chen wrote: > >> > >> +void arch_set_dumpable(struct task_struct *tsk, struct mm_struct *mm, int > >> value) > >> +{ > >> + if (!static_branch_unlikely(_v2_app_lite)) > >> +

[PATCH] KVM: X86: Add missing KVM_AMD dependency

2018-10-05 Thread Guenter Roeck
Building an image with KVM_AMD=y, CRYPTO_DEV_SP_PSP=y, and CRYPTO_DEV_CCP_DD=m fails with the following error messages. arch/x86/kvm/svm.c:6287: undefined reference to `sev_issue_cmd_external_user' arch/x86/kvm/svm.o: In function `sev_unbind_asid': arch/x86/kvm/svm.c:1747: undefined reference to

[PATCH] KVM: X86: Add missing KVM_AMD dependency

2018-10-05 Thread Guenter Roeck
Building an image with KVM_AMD=y, CRYPTO_DEV_SP_PSP=y, and CRYPTO_DEV_CCP_DD=m fails with the following error messages. arch/x86/kvm/svm.c:6287: undefined reference to `sev_issue_cmd_external_user' arch/x86/kvm/svm.o: In function `sev_unbind_asid': arch/x86/kvm/svm.c:1747: undefined reference to

Re: [PATCH v3 0/6] Add support for PDC Global on SDM845 SoCs

2018-10-05 Thread Bjorn Andersson
On Fri 05 Oct 01:46 PDT 2018, Philipp Zabel wrote: > Hi Sibi, Bjorn, > > On Thu, 2018-10-04 at 23:57 +0530, Sibi Sankar wrote: > > On 09/04/2018 01:06 AM, Bjorn Andersson wrote: > [...] > > > Philipp, there's no compile time dependencies between the PDC and > > > remoteproc patches in this

Re: [PATCH v3 0/6] Add support for PDC Global on SDM845 SoCs

2018-10-05 Thread Bjorn Andersson
On Fri 05 Oct 01:46 PDT 2018, Philipp Zabel wrote: > Hi Sibi, Bjorn, > > On Thu, 2018-10-04 at 23:57 +0530, Sibi Sankar wrote: > > On 09/04/2018 01:06 AM, Bjorn Andersson wrote: > [...] > > > Philipp, there's no compile time dependencies between the PDC and > > > remoteproc patches in this

[PATCH v2 1/2] mfd: cros: add "base attached" MKBP switch definition

2018-10-05 Thread Dmitry Torokhov
This adds a "base attached" switch definition to the MKBP protocol that is used by Whiskers driver to properly determine device state (clamshell vs tablet mode). Signed-off-by: Dmitry Torokhov --- v2 changes: None Lee, I was wondering if it would be OK for cros_ec_commands.h to be merged

[PATCH v2 2/2] HID: google: add support tablet mode switch for Whiskers

2018-10-05 Thread Dmitry Torokhov
Whiskers is a foldable base, and thus requires combining "base presence" signal coming from EC with base state signal (folded/unfolded) coming from USB/HID interface to produce proper SW_TABLET_MODE event. Signed-off-by: Nicolas Boichat Signed-off-by: Dmitry Torokhov --- v2 changes (addressing

[PATCH v2 1/2] mfd: cros: add "base attached" MKBP switch definition

2018-10-05 Thread Dmitry Torokhov
This adds a "base attached" switch definition to the MKBP protocol that is used by Whiskers driver to properly determine device state (clamshell vs tablet mode). Signed-off-by: Dmitry Torokhov --- v2 changes: None Lee, I was wondering if it would be OK for cros_ec_commands.h to be merged

[PATCH v2 2/2] HID: google: add support tablet mode switch for Whiskers

2018-10-05 Thread Dmitry Torokhov
Whiskers is a foldable base, and thus requires combining "base presence" signal coming from EC with base state signal (folded/unfolded) coming from USB/HID interface to produce proper SW_TABLET_MODE event. Signed-off-by: Nicolas Boichat Signed-off-by: Dmitry Torokhov --- v2 changes (addressing

[PATCH] MAINTAINERS: fix bad pattern in ARM/NUVOTON NPCM

2018-10-05 Thread Brendan Higgins
In the process of upstreaming architecture support for ARM/NUVOTON NPCM include/dt-bindings/clock/nuvoton,npcm7xx-clks.h was renamed include/dt-bindings/clock/nuvoton,npcm7xx-clock.h without updating MAINTAINERS. This updates the MAINTAINERS pattern to match the new name of this file. Fixes:

[PATCH] MAINTAINERS: fix bad pattern in ARM/NUVOTON NPCM

2018-10-05 Thread Brendan Higgins
In the process of upstreaming architecture support for ARM/NUVOTON NPCM include/dt-bindings/clock/nuvoton,npcm7xx-clks.h was renamed include/dt-bindings/clock/nuvoton,npcm7xx-clock.h without updating MAINTAINERS. This updates the MAINTAINERS pattern to match the new name of this file. Fixes:

Re: [RFC] x86/cpu_entry_area: move part of it back to fixmap

2018-10-05 Thread Nadav Amit
at 10:02 AM, Andy Lutomirski wrote: > On Thu, Oct 4, 2018 at 9:31 AM Nadav Amit wrote: >> at 7:11 AM, Andy Lutomirski wrote: >> >>> On Oct 3, 2018, at 9:59 PM, Nadav Amit wrote: >>> This RFC proposes to return part of the entry-area back to the fixmap to improve system-call

Re: [RFC] x86/cpu_entry_area: move part of it back to fixmap

2018-10-05 Thread Nadav Amit
at 10:02 AM, Andy Lutomirski wrote: > On Thu, Oct 4, 2018 at 9:31 AM Nadav Amit wrote: >> at 7:11 AM, Andy Lutomirski wrote: >> >>> On Oct 3, 2018, at 9:59 PM, Nadav Amit wrote: >>> This RFC proposes to return part of the entry-area back to the fixmap to improve system-call

[workqueue/driver-core PATCH 4/5] driver core: Attach devices on CPU local to device node

2018-10-05 Thread Alexander Duyck
This change makes it so that we call the asynchronous probe routines on a CPU local to the device node. By doing this we should be able to improve our initialization time significantly as we can avoid having to access the device from a remote node which may introduce higher latency.

[workqueue/driver-core PATCH 3/5] driver core: Probe devices asynchronously instead of the driver

2018-10-05 Thread Alexander Duyck
This change makes it so that we probe devices asynchronously instead of the driver. This results in us seeing the same behavior if the device is registered before the driver or after. This way we can avoid serializing the initialization should the driver not be loaded until after the devices have

[workqueue/driver-core PATCH 5/5] PM core: Use new async_schedule_dev command

2018-10-05 Thread Alexander Duyck
This change makes it so that we use the device specific version of the async_schedule commands to defer various tasks related to power management. By doing this we should see a slight improvement in performance as any device that is sensitive to latency/locality in the setup will now be

[workqueue/driver-core PATCH 4/5] driver core: Attach devices on CPU local to device node

2018-10-05 Thread Alexander Duyck
This change makes it so that we call the asynchronous probe routines on a CPU local to the device node. By doing this we should be able to improve our initialization time significantly as we can avoid having to access the device from a remote node which may introduce higher latency.

[workqueue/driver-core PATCH 3/5] driver core: Probe devices asynchronously instead of the driver

2018-10-05 Thread Alexander Duyck
This change makes it so that we probe devices asynchronously instead of the driver. This results in us seeing the same behavior if the device is registered before the driver or after. This way we can avoid serializing the initialization should the driver not be loaded until after the devices have

[workqueue/driver-core PATCH 5/5] PM core: Use new async_schedule_dev command

2018-10-05 Thread Alexander Duyck
This change makes it so that we use the device specific version of the async_schedule commands to defer various tasks related to power management. By doing this we should see a slight improvement in performance as any device that is sensitive to latency/locality in the setup will now be

[workqueue/driver-core PATCH 0/5] Add NUMA aware async_schedule calls

2018-10-05 Thread Alexander Duyck
This patch set provides functionality that will help to improve the locality of the async_schedule calls used to provide deferred initialization. This patch set originally started out with me focused on just the one call to async_schedule_domain in the nvdimm tree that was being used to defer the

[workqueue/driver-core PATCH 1/5] workqueue: Provide queue_work_near to queue work near a given NUMA node

2018-10-05 Thread Alexander Duyck
This patch provides a new function queue_work_near which is meant to schedule work on a "random" CPU of the requested NUMA node. The main motivation for this is to help assist asynchronous init to better improve boot times for devices that are local to a specific node. For now we just default to

[workqueue/driver-core PATCH 0/5] Add NUMA aware async_schedule calls

2018-10-05 Thread Alexander Duyck
This patch set provides functionality that will help to improve the locality of the async_schedule calls used to provide deferred initialization. This patch set originally started out with me focused on just the one call to async_schedule_domain in the nvdimm tree that was being used to defer the

[workqueue/driver-core PATCH 1/5] workqueue: Provide queue_work_near to queue work near a given NUMA node

2018-10-05 Thread Alexander Duyck
This patch provides a new function queue_work_near which is meant to schedule work on a "random" CPU of the requested NUMA node. The main motivation for this is to help assist asynchronous init to better improve boot times for devices that are local to a specific node. For now we just default to

[workqueue/driver-core PATCH 2/5] async: Add support for queueing on specific NUMA node

2018-10-05 Thread Alexander Duyck
This patch introduces four new variants of the async_schedule_ functions that allow scheduling on a specific NUMA node. The first two functions are async_schedule_near and async_schedule_near_domain which end up mapping to async_schedule and async_schedule_domain but provide NUMA node specific

[workqueue/driver-core PATCH 2/5] async: Add support for queueing on specific NUMA node

2018-10-05 Thread Alexander Duyck
This patch introduces four new variants of the async_schedule_ functions that allow scheduling on a specific NUMA node. The first two functions are async_schedule_near and async_schedule_near_domain which end up mapping to async_schedule and async_schedule_domain but provide NUMA node specific

Re: linux-next: manual merge of the akpm-current tree with the btrfs-kdave tree

2018-10-05 Thread Omar Sandoval
On Fri, Oct 05, 2018 at 03:47:21PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > include/linux/swap.h > > between commit: > > 0f83d16b8f1f ("mm: split SWP_FILE into SWP_ACTIVATED and SWP_FS") > > from the btrfs-kdave

Re: linux-next: manual merge of the akpm-current tree with the btrfs-kdave tree

2018-10-05 Thread Omar Sandoval
On Fri, Oct 05, 2018 at 03:47:21PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > include/linux/swap.h > > between commit: > > 0f83d16b8f1f ("mm: split SWP_FILE into SWP_ACTIVATED and SWP_FS") > > from the btrfs-kdave

Re: [PATCH 4/4] power: supply: add AXP803/AXP813 AC and battery power supply support

2018-10-05 Thread Oskari Lemmelä
Hi Quentin, On 05.10.2018 11:29, Quentin Schulz wrote: > Hi Oskari, > > On Thu, Oct 04, 2018 at 10:34:10PM +0300, Oskari Lemmela wrote: >> AXP803 PMIC is register compatible with AXP813. >> >> Added support for AXP803/AXP813 AC power supply. >> AXP8x3 is capable to limit input current and minimum

Re: [PATCH 4/4] power: supply: add AXP803/AXP813 AC and battery power supply support

2018-10-05 Thread Oskari Lemmelä
Hi Quentin, On 05.10.2018 11:29, Quentin Schulz wrote: > Hi Oskari, > > On Thu, Oct 04, 2018 at 10:34:10PM +0300, Oskari Lemmela wrote: >> AXP803 PMIC is register compatible with AXP813. >> >> Added support for AXP803/AXP813 AC power supply. >> AXP8x3 is capable to limit input current and minimum

[PATCH] STAGING/EMXX_UDC: emxx_udc.c: Fixed all meaningful sparse errors: 1. Added static to udc_controller 2. Added mising __iomem modifier to handle p_regs 3. Added missing le16_to_cpu

2018-10-05 Thread Carmeli Tamir
Signed-off-by: Tamir Carmeli --- drivers/staging/emxx_udc/Makefile | 2 +- drivers/staging/emxx_udc/emxx_udc.c | 69 +++-- drivers/staging/emxx_udc/emxx_udc.h | 2 +- 3 files changed, 38 insertions(+), 35 deletions(-) diff --git

[PATCH] STAGING/EMXX_UDC: emxx_udc.c: Fixed all meaningful sparse errors: 1. Added static to udc_controller 2. Added mising __iomem modifier to handle p_regs 3. Added missing le16_to_cpu

2018-10-05 Thread Carmeli Tamir
Signed-off-by: Tamir Carmeli --- drivers/staging/emxx_udc/Makefile | 2 +- drivers/staging/emxx_udc/emxx_udc.c | 69 +++-- drivers/staging/emxx_udc/emxx_udc.h | 2 +- 3 files changed, 38 insertions(+), 35 deletions(-) diff --git

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-05 Thread Alan Jenkins
On 21/09/2018 17:30, David Howells wrote: From: Al Viro Allow a detached tree created by open_tree(..., OPEN_TREE_CLONE) to be attached by move_mount(2). If by the time of final fput() of OPEN_TREE_CLONE-opened file its tree is not detached anymore, it won't be dissolved. move_mount(2) is

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-05 Thread Alan Jenkins
On 21/09/2018 17:30, David Howells wrote: From: Al Viro Allow a detached tree created by open_tree(..., OPEN_TREE_CLONE) to be attached by move_mount(2). If by the time of final fput() of OPEN_TREE_CLONE-opened file its tree is not detached anymore, it won't be dissolved. move_mount(2) is

Re: [PATCH 05/22] KEYS: Provide software public key query function

2018-10-05 Thread James Morris
On Sat, 6 Oct 2018, James Morris wrote: > On Fri, 5 Oct 2018, David Howells wrote: > > > James Morris wrote: > > > > > > + if (strcmp(encoding, "raw") == 0) { > > > > + strcpy(alg_name, pkey->pkey_algo); > > > > + return 0; > > > > + } > > > > > > Can

Re: [PATCH 05/22] KEYS: Provide software public key query function

2018-10-05 Thread James Morris
On Sat, 6 Oct 2018, James Morris wrote: > On Fri, 5 Oct 2018, David Howells wrote: > > > James Morris wrote: > > > > > > + if (strcmp(encoding, "raw") == 0) { > > > > + strcpy(alg_name, pkey->pkey_algo); > > > > + return 0; > > > > + } > > > > > > Can

Re: [GIT PULL] tpmdd updates for Linux 4.20

2018-10-05 Thread James Morris
On Fri, 5 Oct 2018, Jarkko Sakkinen wrote: > Hi James, > > These are the updates to v4.20. The only new feature is non-blocking > operation for /dev/tpm0. Thanks, pulled to next-tpm and next-testing. -- James Morris

Re: [GIT PULL] tpmdd updates for Linux 4.20

2018-10-05 Thread James Morris
On Fri, 5 Oct 2018, Jarkko Sakkinen wrote: > Hi James, > > These are the updates to v4.20. The only new feature is non-blocking > operation for /dev/tpm0. Thanks, pulled to next-tpm and next-testing. -- James Morris

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-05 Thread Ricardo Ribalda Delgado
Hi Boris On Fri, Oct 5, 2018 at 6:29 PM Boris Brezillon wrote: > > On Fri, 5 Oct 2018 17:40:44 +0200 > Ricardo Ribalda Delgado wrote: > > > Hi Boris > > On Fri, Oct 5, 2018 at 4:52 PM Boris Brezillon > > wrote: > > > > > > On Fri, 5 Oct 2018 16:06:57 +0200 > > > Ricardo Ribalda Delgado wrote:

Re: [PATCH v10 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-05 Thread Ricardo Ribalda Delgado
Hi Boris On Fri, Oct 5, 2018 at 6:29 PM Boris Brezillon wrote: > > On Fri, 5 Oct 2018 17:40:44 +0200 > Ricardo Ribalda Delgado wrote: > > > Hi Boris > > On Fri, Oct 5, 2018 at 4:52 PM Boris Brezillon > > wrote: > > > > > > On Fri, 5 Oct 2018 16:06:57 +0200 > > > Ricardo Ribalda Delgado wrote:

<    1   2   3   4   5   6   7   8   9   10   >