Re: [patch V2 18/28] x86/speculation: Prepare for per task indirect branch speculation control

2018-11-27 Thread Thomas Gleixner
On Tue, 27 Nov 2018, Thomas Gleixner wrote: > On Tue, 27 Nov 2018, Lendacky, Thomas wrote: > > On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > > > --- a/arch/x86/kernel/process.c > > > +++ b/arch/x86/kernel/process.c > > > @@ -406,6 +406,11 @@ static __always_inline void spec_ctrl_up > > > if

Re: [patch V2 18/28] x86/speculation: Prepare for per task indirect branch speculation control

2018-11-27 Thread Thomas Gleixner
On Tue, 27 Nov 2018, Thomas Gleixner wrote: > On Tue, 27 Nov 2018, Lendacky, Thomas wrote: > > On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > > > --- a/arch/x86/kernel/process.c > > > +++ b/arch/x86/kernel/process.c > > > @@ -406,6 +406,11 @@ static __always_inline void spec_ctrl_up > > > if

Re: [patch V2 18/28] x86/speculation: Prepare for per task indirect branch speculation control

2018-11-27 Thread Thomas Gleixner
On Tue, 27 Nov 2018, Lendacky, Thomas wrote: > On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > > --- a/arch/x86/kernel/process.c > > +++ b/arch/x86/kernel/process.c > > @@ -406,6 +406,11 @@ static __always_inline void spec_ctrl_up > > if (static_cpu_has(X86_FEATURE_SSBD)) > > msr

Re: [patch V2 18/28] x86/speculation: Prepare for per task indirect branch speculation control

2018-11-27 Thread Thomas Gleixner
On Tue, 27 Nov 2018, Lendacky, Thomas wrote: > On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > > --- a/arch/x86/kernel/process.c > > +++ b/arch/x86/kernel/process.c > > @@ -406,6 +406,11 @@ static __always_inline void spec_ctrl_up > > if (static_cpu_has(X86_FEATURE_SSBD)) > > msr

Re: [PATCH v2 2/2] swiotlb: Skip cache maintenance on map error

2018-11-27 Thread Stefano Stabellini
On Wed, 21 Nov 2018, Robin Murphy wrote: > If swiotlb_bounce_page() failed, calling arch_sync_dma_for_device() may > lead to such delights as performing cache maintenance on whatever > address phys_to_virt(SWIOTLB_MAP_ERROR) looks like, which is typically > outside the kernel memory map and goes

Re: [PATCH v2 2/2] swiotlb: Skip cache maintenance on map error

2018-11-27 Thread Stefano Stabellini
On Wed, 21 Nov 2018, Robin Murphy wrote: > If swiotlb_bounce_page() failed, calling arch_sync_dma_for_device() may > lead to such delights as performing cache maintenance on whatever > address phys_to_virt(SWIOTLB_MAP_ERROR) looks like, which is typically > outside the kernel memory map and goes

Re: [PATCH V2] gpio: mt7621: pass mediatek_gpio_bank_probe() failure up the stack

2018-11-27 Thread Sean Wang
Nicholas Mc Guire 於 2018年11月27日 週二 上午9:07寫道: > > The error cases of mediatek_gpio_bank_probe() would go unnoticed (except > for the dev_err() messages). The probe function should return an error > if one of the banks failed to initialize properly indicated by > not returning non-0. > >

Re: [PATCH V2] gpio: mt7621: pass mediatek_gpio_bank_probe() failure up the stack

2018-11-27 Thread Sean Wang
Nicholas Mc Guire 於 2018年11月27日 週二 上午9:07寫道: > > The error cases of mediatek_gpio_bank_probe() would go unnoticed (except > for the dev_err() messages). The probe function should return an error > if one of the banks failed to initialize properly indicated by > not returning non-0. > >

[PATCH 2/2] drm/vkms: Add PRIME support by converting to Noralf's shmem helpers.

2018-11-27 Thread Eric Anholt
This cuts out a tremendous amount of boilerplate. I've used the PRIME support now to test V3D rendering on a STB development board with no KMS driver. v2: Use the DEFINE_DRM_GEM_SHMEM_FOPS for proper mmap setup. Signed-off-by: Eric Anholt Acked-by: Daniel Vetter (v1) ---

[PATCH 2/2] drm/vkms: Add PRIME support by converting to Noralf's shmem helpers.

2018-11-27 Thread Eric Anholt
This cuts out a tremendous amount of boilerplate. I've used the PRIME support now to test V3D rendering on a STB development board with no KMS driver. v2: Use the DEFINE_DRM_GEM_SHMEM_FOPS for proper mmap setup. Signed-off-by: Eric Anholt Acked-by: Daniel Vetter (v1) ---

Re: [PATCH 04/24] dt-bindings: leds: Add function and color properties

2018-11-27 Thread Jacek Anaszewski
On 11/13/2018 09:57 PM, Jacek Anaszewski wrote: > On 11/12/2018 07:27 PM, Rob Herring wrote: >> On Tue, Nov 06, 2018 at 11:07:12PM +0100, Jacek Anaszewski wrote: >>> Introduce dedicated properties for conveying information about >>> LED function and color. Mark old "label" property as deprecated.

Re: [PATCH 04/24] dt-bindings: leds: Add function and color properties

2018-11-27 Thread Jacek Anaszewski
On 11/13/2018 09:57 PM, Jacek Anaszewski wrote: > On 11/12/2018 07:27 PM, Rob Herring wrote: >> On Tue, Nov 06, 2018 at 11:07:12PM +0100, Jacek Anaszewski wrote: >>> Introduce dedicated properties for conveying information about >>> LED function and color. Mark old "label" property as deprecated.

Re: [PATCH v2 03/11] clk: mediatek: Disable tuner_en before change PLL rate

2018-11-27 Thread Sean Wang
Weiyi Lu 於 2018年11月26日 週一 下午7:45寫道: > > From: Owen Chen > > PLLs with tuner_en bit, such as APLL1, need to disable > tuner_en before apply new frequency settings, or the new frequency > settings (pcw) will not be applied. > The tuner_en bit will be disabled during changing PLL rate > and be

Re: [Xen-devel] [PATCH] pvcalls-front: fixes incorrect error handling

2018-11-27 Thread Stefano Stabellini
On Tue, 27 Nov 2018, PanBian wrote: > On Mon, Nov 26, 2018 at 03:31:39PM -0500, Boris Ostrovsky wrote: > > On 11/21/18 9:07 PM, Pan Bian wrote: > > > kfree() is incorrectly used to release the pages allocated by > > > __get_free_page() and __get_free_pages(). Use the matching deallocators > > >

Re: [PATCH v2 03/11] clk: mediatek: Disable tuner_en before change PLL rate

2018-11-27 Thread Sean Wang
Weiyi Lu 於 2018年11月26日 週一 下午7:45寫道: > > From: Owen Chen > > PLLs with tuner_en bit, such as APLL1, need to disable > tuner_en before apply new frequency settings, or the new frequency > settings (pcw) will not be applied. > The tuner_en bit will be disabled during changing PLL rate > and be

Re: [Xen-devel] [PATCH] pvcalls-front: fixes incorrect error handling

2018-11-27 Thread Stefano Stabellini
On Tue, 27 Nov 2018, PanBian wrote: > On Mon, Nov 26, 2018 at 03:31:39PM -0500, Boris Ostrovsky wrote: > > On 11/21/18 9:07 PM, Pan Bian wrote: > > > kfree() is incorrectly used to release the pages allocated by > > > __get_free_page() and __get_free_pages(). Use the matching deallocators > > >

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

2018-11-27 Thread Stephen Rothwell
Hi Shuah, Commit 623ea0df7083 ("selftests: firmware: remove use of non-standard diff -Z option") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgp7ZaLoM8wMr.pgp Description: OpenPGP digital signature

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

2018-11-27 Thread Stephen Rothwell
Hi Shuah, Commit 623ea0df7083 ("selftests: firmware: remove use of non-standard diff -Z option") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgp7ZaLoM8wMr.pgp Description: OpenPGP digital signature

Re: [PATCH v2] mm/zsmalloc.c: Fix zsmalloc 32-bit PAE support

2018-11-27 Thread Rafael David Tinoco
On 11/20/18 10:18 PM, Rafael David Tinoco wrote: > > Russell, > > I have tried to place MAX_POSSIBLE_PHYSMEM_BITS in the best available > header for each architecture, considering different paging levels, PAE > existence, and existing similar definitions. Also, I have only > considered those

Re: [PATCH v2] mm/zsmalloc.c: Fix zsmalloc 32-bit PAE support

2018-11-27 Thread Rafael David Tinoco
On 11/20/18 10:18 PM, Rafael David Tinoco wrote: > > Russell, > > I have tried to place MAX_POSSIBLE_PHYSMEM_BITS in the best available > header for each architecture, considering different paging levels, PAE > existence, and existing similar definitions. Also, I have only > considered those

Re: [patch V2 24/28] x86/speculation: Prepare arch_smt_update() for PRCTL mode

2018-11-27 Thread Thomas Gleixner
On Tue, 27 Nov 2018, Lendacky, Thomas wrote: > On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > > +/* Update x86_spec_ctrl_base in case SMT state changed. */ > > +static void update_stibp_strict(void) > > { > > - wrmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); > > + u64 mask =

Re: [patch V2 24/28] x86/speculation: Prepare arch_smt_update() for PRCTL mode

2018-11-27 Thread Thomas Gleixner
On Tue, 27 Nov 2018, Lendacky, Thomas wrote: > On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > > +/* Update x86_spec_ctrl_base in case SMT state changed. */ > > +static void update_stibp_strict(void) > > { > > - wrmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); > > + u64 mask =

Re: [RFC PATCH 0/1] support ftrace and -ffunction-sections

2018-11-27 Thread Joe Lawrence
On 11/20/2018 03:19 PM, Joe Lawrence wrote: > Hi Steve, > > I noticed that ftrace does not currently support functions built with > the -ffunction-sections option as they end up in .text. > ELF sections, never making into the __mcount_loc section. > > I modified the recordmcount scripts to

Re: [RFC PATCH 0/1] support ftrace and -ffunction-sections

2018-11-27 Thread Joe Lawrence
On 11/20/2018 03:19 PM, Joe Lawrence wrote: > Hi Steve, > > I noticed that ftrace does not currently support functions built with > the -ffunction-sections option as they end up in .text. > ELF sections, never making into the __mcount_loc section. > > I modified the recordmcount scripts to

Re: [Bug] SD card reader in Acer Aspire S5 broken in 4.20-rc

2018-11-27 Thread Bjorn Helgaas
On Mon, Nov 26, 2018 at 11:37:20PM +0100, Rafael J. Wysocki wrote: > On Monday, November 26, 2018 7:03:58 PM CET Rafael J. Wysocki wrote: > > Hi Bjorn, > > > > The SD card reader in my Acer Aspire S5 doesn't work with 4.20-rc. > > > > Here's what lspci -v says about it (in a bad kernel): > > >

Re: [Bug] SD card reader in Acer Aspire S5 broken in 4.20-rc

2018-11-27 Thread Bjorn Helgaas
On Mon, Nov 26, 2018 at 11:37:20PM +0100, Rafael J. Wysocki wrote: > On Monday, November 26, 2018 7:03:58 PM CET Rafael J. Wysocki wrote: > > Hi Bjorn, > > > > The SD card reader in my Acer Aspire S5 doesn't work with 4.20-rc. > > > > Here's what lspci -v says about it (in a bad kernel): > > >

Re: [RFC PATCH v4 11/13] mm: parallelize deferred struct page initialization within each node

2018-11-27 Thread Daniel Jordan
On Tue, Nov 27, 2018 at 12:12:28AM +, Elliott, Robert (Persistent Memory) wrote: > I ran a short test with: > * HPE ProLiant DL360 Gen9 system > * Intel Xeon E5-2699 CPU with 18 physical cores (0-17) and > 18 hyperthreaded cores (36-53) > * DDR4 NVDIMM-Ns (which run at regular DRAM DIMM

Re: [RFC PATCH v4 11/13] mm: parallelize deferred struct page initialization within each node

2018-11-27 Thread Daniel Jordan
On Tue, Nov 27, 2018 at 12:12:28AM +, Elliott, Robert (Persistent Memory) wrote: > I ran a short test with: > * HPE ProLiant DL360 Gen9 system > * Intel Xeon E5-2699 CPU with 18 physical cores (0-17) and > 18 hyperthreaded cores (36-53) > * DDR4 NVDIMM-Ns (which run at regular DRAM DIMM

Re: [RFC PATCH] smack: fix access permissions for keyring

2018-11-27 Thread Casey Schaufler
On 10/17/2018 4:25 PM, Zoran Markovic wrote: > Function smack_key_permission() only issues smack requests for the > following operations: > - KEY_NEED_READ (issues MAY_READ) > - KEY_NEED_WRITE (issues MAY_WRITE) > - KEY_NEED_LINK (issues MAY_WRITE) > - KEY_NEED_SETATTR (issues MAY_WRITE) > A

Re: [RFC PATCH] smack: fix access permissions for keyring

2018-11-27 Thread Casey Schaufler
On 10/17/2018 4:25 PM, Zoran Markovic wrote: > Function smack_key_permission() only issues smack requests for the > following operations: > - KEY_NEED_READ (issues MAY_READ) > - KEY_NEED_WRITE (issues MAY_WRITE) > - KEY_NEED_LINK (issues MAY_WRITE) > - KEY_NEED_SETATTR (issues MAY_WRITE) > A

Re: [patch V2 24/28] x86/speculation: Prepare arch_smt_update() for PRCTL mode

2018-11-27 Thread Lendacky, Thomas
On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > The upcoming fine grained per task STIBP control needs to be updated on CPU > hotplug as well. > > Split out the code which controls the strict mode so the prctl control code > can be added later. Mark the SMP function call argument __unused while

Re: [patch V2 24/28] x86/speculation: Prepare arch_smt_update() for PRCTL mode

2018-11-27 Thread Lendacky, Thomas
On 11/25/2018 12:33 PM, Thomas Gleixner wrote: > The upcoming fine grained per task STIBP control needs to be updated on CPU > hotplug as well. > > Split out the code which controls the strict mode so the prctl control code > can be added later. Mark the SMP function call argument __unused while

Re: [PATCH] tracing: Fix an off by one in __next()

2018-11-27 Thread Dan Carpenter
On Tue, Nov 27, 2018 at 01:44:12PM -0500, Steven Rostedt wrote: > > Doing the sweep of my INBOX, I came across this patch (it was sent > while I was in the Alps :-) > > > On Wed, 20 Jun 2018 14:08:00 +0300 > Dan Carpenter wrote: > > > The > should be >= to prevent an off by one bug. > >

Re: [PATCH] tracing: Fix an off by one in __next()

2018-11-27 Thread Dan Carpenter
On Tue, Nov 27, 2018 at 01:44:12PM -0500, Steven Rostedt wrote: > > Doing the sweep of my INBOX, I came across this patch (it was sent > while I was in the Alps :-) > > > On Wed, 20 Jun 2018 14:08:00 +0300 > Dan Carpenter wrote: > > > The > should be >= to prevent an off by one bug. > >

Re: overlayfs access checks on underlying layers

2018-11-27 Thread Miklos Szeredi
[resending with fixed email address for Paul Moore] Moving discussion from github[1] to here. To summarize: commit 007ea44892e6 ("ovl: relax permission checking on underlying layers") was added in 4.20-rc1 to make overlayfs access checks on underlying "real" filesystems more consistent. The

Re: overlayfs access checks on underlying layers

2018-11-27 Thread Miklos Szeredi
[resending with fixed email address for Paul Moore] Moving discussion from github[1] to here. To summarize: commit 007ea44892e6 ("ovl: relax permission checking on underlying layers") was added in 4.20-rc1 to make overlayfs access checks on underlying "real" filesystems more consistent. The

Re: [PATCH RESEND] tty/sysrq: Do not call sync directly from sysrq_do_reset()

2018-11-27 Thread Mark Tomlinson
On 27/11/18 11:11 PM, Greg KH wrote: > On Tue, Nov 27, 2018 at 09:57:23AM +1300, Mark Tomlinson wrote: >> sysrq_do_reset() is called in softirq context, so it cannot call >> sync() directly. Instead, call orderly_reboot(), which creates a work >> item to run /sbin/reboot, or do emergency_sync

Re: [PATCH RESEND] tty/sysrq: Do not call sync directly from sysrq_do_reset()

2018-11-27 Thread Mark Tomlinson
On 27/11/18 11:11 PM, Greg KH wrote: > On Tue, Nov 27, 2018 at 09:57:23AM +1300, Mark Tomlinson wrote: >> sysrq_do_reset() is called in softirq context, so it cannot call >> sync() directly. Instead, call orderly_reboot(), which creates a work >> item to run /sbin/reboot, or do emergency_sync

overlayfs access checks on underlying layers

2018-11-27 Thread Miklos Szeredi
Moving discussion from github[1] to here. To summarize: commit 007ea44892e6 ("ovl: relax permission checking on underlying layers") was added in 4.20-rc1 to make overlayfs access checks on underlying "real" filesystems more consistent. The discussion leading up to this commit can be found at

overlayfs access checks on underlying layers

2018-11-27 Thread Miklos Szeredi
Moving discussion from github[1] to here. To summarize: commit 007ea44892e6 ("ovl: relax permission checking on underlying layers") was added in 4.20-rc1 to make overlayfs access checks on underlying "real" filesystems more consistent. The discussion leading up to this commit can be found at

Re: [PATCH v2] x86: modernize sync_bitops.h

2018-11-27 Thread Sean Christopherson
On Wed, Nov 21, 2018 at 03:53:05PM +, David Laight wrote: > > > > -Original Message- > > From: Jan Beulich [mailto:jbeul...@suse.com] > > Sent: 21 November 2018 14:42 > > To: David Laight > > Cc: mi...@elte.hu; t...@linutronix.de; Boris Ostrovsky; Juergen Gross; > >

Re: [PATCH v2] x86: modernize sync_bitops.h

2018-11-27 Thread Sean Christopherson
On Wed, Nov 21, 2018 at 03:53:05PM +, David Laight wrote: > > > > -Original Message- > > From: Jan Beulich [mailto:jbeul...@suse.com] > > Sent: 21 November 2018 14:42 > > To: David Laight > > Cc: mi...@elte.hu; t...@linutronix.de; Boris Ostrovsky; Juergen Gross; > >

Re: [patch V2 18/28] x86/speculation: Prepare for per task indirect branch speculation control

2018-11-27 Thread Tim Chen
On 11/27/2018 09:25 AM, Lendacky, Thomas wrote: >> --- a/arch/x86/kernel/cpu/bugs.c >> +++ b/arch/x86/kernel/cpu/bugs.c >> @@ -148,6 +148,10 @@ x86_virt_spec_ctrl(u64 guest_spec_ctrl, >> static_cpu_has(X86_FEATURE_AMD_SSBD)) >> hostval |=

Re: [patch V2 18/28] x86/speculation: Prepare for per task indirect branch speculation control

2018-11-27 Thread Tim Chen
On 11/27/2018 09:25 AM, Lendacky, Thomas wrote: >> --- a/arch/x86/kernel/cpu/bugs.c >> +++ b/arch/x86/kernel/cpu/bugs.c >> @@ -148,6 +148,10 @@ x86_virt_spec_ctrl(u64 guest_spec_ctrl, >> static_cpu_has(X86_FEATURE_AMD_SSBD)) >> hostval |=

Re: [RFC][PATCH 03/14] arm64: function_graph: Remove use of FTRACE_NOTRACE_DEPTH

2018-11-27 Thread Steven Rostedt
On Tue, 27 Nov 2018 19:31:50 + Will Deacon wrote: > Hi Steve, > > On Wed, Nov 21, 2018 at 08:27:11PM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > The curr_ret_stack is no longer set to -1 when not tracing a function. It is > > now done differently, and the

Re: [RFC][PATCH 03/14] arm64: function_graph: Remove use of FTRACE_NOTRACE_DEPTH

2018-11-27 Thread Steven Rostedt
On Tue, 27 Nov 2018 19:31:50 + Will Deacon wrote: > Hi Steve, > > On Wed, Nov 21, 2018 at 08:27:11PM -0500, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > The curr_ret_stack is no longer set to -1 when not tracing a function. It is > > now done differently, and the

Re: [RFC PATCH v4 01/13] ktask: add documentation

2018-11-27 Thread Pavel Machek
Hi! > Motivates and explains the ktask API for kernel clients. > > Signed-off-by: Daniel Jordan > --- > Documentation/core-api/index.rst | 1 + > Documentation/core-api/ktask.rst | 213 +++ > 2 files changed, 214 insertions(+) > create mode 100644

Re: [RFC PATCH v4 01/13] ktask: add documentation

2018-11-27 Thread Pavel Machek
Hi! > Motivates and explains the ktask API for kernel clients. > > Signed-off-by: Daniel Jordan > --- > Documentation/core-api/index.rst | 1 + > Documentation/core-api/ktask.rst | 213 +++ > 2 files changed, 214 insertions(+) > create mode 100644

[tip:x86/cache] x86/resctrl: Use rdt_last_cmd_puts() where possible

2018-11-27 Thread tip-bot for Reinette Chatre
Commit-ID: 456824896de2b68df40b3ea5777ef49dc6cc8fda Gitweb: https://git.kernel.org/tip/456824896de2b68df40b3ea5777ef49dc6cc8fda Author: Reinette Chatre AuthorDate: Tue, 27 Nov 2018 11:19:36 -0800 Committer: Borislav Petkov CommitDate: Tue, 27 Nov 2018 20:39:02 +0100 x86/resctrl: Use

[tip:x86/cache] x86/resctrl: Use rdt_last_cmd_puts() where possible

2018-11-27 Thread tip-bot for Reinette Chatre
Commit-ID: 456824896de2b68df40b3ea5777ef49dc6cc8fda Gitweb: https://git.kernel.org/tip/456824896de2b68df40b3ea5777ef49dc6cc8fda Author: Reinette Chatre AuthorDate: Tue, 27 Nov 2018 11:19:36 -0800 Committer: Borislav Petkov CommitDate: Tue, 27 Nov 2018 20:39:02 +0100 x86/resctrl: Use

[PATCH 0/2] arm64: Only call into preempt_schedule() if need_resched()

2018-11-27 Thread Will Deacon
Hi all, This pair of patches improves our preempt_enable() implementation slightly on arm64 by making the resulting call to preempt_schedule() conditional on need_resched(), which is tracked in bit 32 of the preempt count. The logic is inverted so that we can detect the preempt count going to

[PATCH 0/2] arm64: Only call into preempt_schedule() if need_resched()

2018-11-27 Thread Will Deacon
Hi all, This pair of patches improves our preempt_enable() implementation slightly on arm64 by making the resulting call to preempt_schedule() conditional on need_resched(), which is tracked in bit 32 of the preempt count. The logic is inverted so that we can detect the preempt count going to

[PATCH 2/2] arm64: preempt: Provide our own implementation of asm/preempt.h

2018-11-27 Thread Will Deacon
The asm-generic/preempt.h implementation doesn't make use of the PREEMPT_NEED_RESCHED flag, since this can interact badly with load/store architectures which rely on the preempt_count word being unchanged across an interrupt. However, since we're a 64-bit architecture and the preempt count is

[PATCH 2/2] arm64: preempt: Provide our own implementation of asm/preempt.h

2018-11-27 Thread Will Deacon
The asm-generic/preempt.h implementation doesn't make use of the PREEMPT_NEED_RESCHED flag, since this can interact badly with load/store architectures which rely on the preempt_count word being unchanged across an interrupt. However, since we're a 64-bit architecture and the preempt count is

[PATCH 1/2] preempt: Move PREEMPT_NEED_RESCHED definition into arch code

2018-11-27 Thread Will Deacon
PREEMPT_NEED_RESCHED is never used directly, so move it into the arch code where it can potentially be implemented using either a different bit in the preempt count or as an entirely separate entity. Cc: Robert Love Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Martin Schwidefsky Signed-off-by:

[PATCH 1/2] preempt: Move PREEMPT_NEED_RESCHED definition into arch code

2018-11-27 Thread Will Deacon
PREEMPT_NEED_RESCHED is never used directly, so move it into the arch code where it can potentially be implemented using either a different bit in the preempt count or as an entirely separate entity. Cc: Robert Love Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Martin Schwidefsky Signed-off-by:

Re: [PATCH V2] clk: tegra: Return the exact clock rate from clk_round_rate

2018-11-27 Thread Dmitry Osipenko
On 17.10.2018 1:47, Stephen Boyd wrote: > Quoting Robert Yang (2018-09-25 14:49:40) >> The current behavior is that clk_round_rate would return the same clock >> rate passed to it for valid PLL configurations. This change will return >> the exact rate the PLL will provide in accordance with clk

Re: [PATCH V2] clk: tegra: Return the exact clock rate from clk_round_rate

2018-11-27 Thread Dmitry Osipenko
On 17.10.2018 1:47, Stephen Boyd wrote: > Quoting Robert Yang (2018-09-25 14:49:40) >> The current behavior is that clk_round_rate would return the same clock >> rate passed to it for valid PLL configurations. This change will return >> the exact rate the PLL will provide in accordance with clk

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-11-27 Thread Vlastimil Babka
On 11/27/18 8:05 PM, Vlastimil Babka wrote: > On 11/27/18 6:08 PM, Linus Torvalds wrote: >> On Mon, Nov 26, 2018 at 10:24 PM kernel test robot >> wrote: >>> >>> FYI, we noticed a -61.3% regression of vm-scalability.throughput due >>> to commit ac5b2c18911f ("mm: thp: relax __GFP_THISNODE for >>>

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-11-27 Thread Vlastimil Babka
On 11/27/18 8:05 PM, Vlastimil Babka wrote: > On 11/27/18 6:08 PM, Linus Torvalds wrote: >> On Mon, Nov 26, 2018 at 10:24 PM kernel test robot >> wrote: >>> >>> FYI, we noticed a -61.3% regression of vm-scalability.throughput due >>> to commit ac5b2c18911f ("mm: thp: relax __GFP_THISNODE for >>>

Re: [RFC][PATCH 03/14] arm64: function_graph: Remove use of FTRACE_NOTRACE_DEPTH

2018-11-27 Thread Will Deacon
Hi Steve, On Wed, Nov 21, 2018 at 08:27:11PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > The curr_ret_stack is no longer set to -1 when not tracing a function. It is > now done differently, and the FTRACE_NOTRACE_DEPTH value is no longer used. > Remove the reference to

Re: [PATCH 1/7] arm64: capabilities: Merge entries for ARM64_WORKAROUND_CLEAN_CACHE

2018-11-27 Thread Will Deacon
On Mon, Nov 26, 2018 at 03:09:56PM +, Suzuki K Poulose wrote: > On Mon, Nov 26, 2018 at 02:06:04PM +, Will Deacon wrote: > > On Mon, Nov 05, 2018 at 11:55:11AM +, Suzuki K Poulose wrote: > > > We have two entries for ARM64_WORKAROUND_CLEAN_CACHE capability : > > > > > > 1) ARM Errata

Re: [RFC][PATCH 03/14] arm64: function_graph: Remove use of FTRACE_NOTRACE_DEPTH

2018-11-27 Thread Will Deacon
Hi Steve, On Wed, Nov 21, 2018 at 08:27:11PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > The curr_ret_stack is no longer set to -1 when not tracing a function. It is > now done differently, and the FTRACE_NOTRACE_DEPTH value is no longer used. > Remove the reference to

Re: [PATCH 1/7] arm64: capabilities: Merge entries for ARM64_WORKAROUND_CLEAN_CACHE

2018-11-27 Thread Will Deacon
On Mon, Nov 26, 2018 at 03:09:56PM +, Suzuki K Poulose wrote: > On Mon, Nov 26, 2018 at 02:06:04PM +, Will Deacon wrote: > > On Mon, Nov 05, 2018 at 11:55:11AM +, Suzuki K Poulose wrote: > > > We have two entries for ARM64_WORKAROUND_CLEAN_CACHE capability : > > > > > > 1) ARM Errata

Re: [PATCH v2] perf: tests: Disable breakpoint tests on ARM (32-bit)

2018-11-27 Thread Will Deacon
On Mon, Nov 26, 2018 at 04:31:23PM -0800, Florian Fainelli wrote: > breakpoint tests on the ARM 32-bit kernel are broken in several ways. > > The breakpoint length requested does not necessarily match whether the > function address has the Thumb bit (bit 0) set or not, and this does > matter to

Re: [PATCH v2] perf: tests: Disable breakpoint tests on ARM (32-bit)

2018-11-27 Thread Will Deacon
On Mon, Nov 26, 2018 at 04:31:23PM -0800, Florian Fainelli wrote: > breakpoint tests on the ARM 32-bit kernel are broken in several ways. > > The breakpoint length requested does not necessarily match whether the > function address has the Thumb bit (bit 0) set or not, and this does > matter to

Re: [PATCH v3 05/13] i2c: acpi: Return error pointers from i2c_acpi_new_device()

2018-11-27 Thread Hans de Goede
Hi, On 27-11-18 20:27, Andy Shevchenko wrote: On Tue, Nov 27, 2018 at 05:14:06PM +0100, Hans de Goede wrote: On 27-11-18 16:37, Andy Shevchenko wrote: The caller would like to know the reason why the i2c_acpi_new_device() fails. For example, if adapter is not available, it might be in the

Re: [PATCH v3 05/13] i2c: acpi: Return error pointers from i2c_acpi_new_device()

2018-11-27 Thread Hans de Goede
Hi, On 27-11-18 20:27, Andy Shevchenko wrote: On Tue, Nov 27, 2018 at 05:14:06PM +0100, Hans de Goede wrote: On 27-11-18 16:37, Andy Shevchenko wrote: The caller would like to know the reason why the i2c_acpi_new_device() fails. For example, if adapter is not available, it might be in the

Re: [PATCH v5 0/2] media: platform: Add Aspeed Video Engine Driver

2018-11-27 Thread Eddie James
On 11/15/2018 03:20 AM, Hans Verkuil wrote: On 11/12/2018 10:00 PM, Eddie James wrote: From: Eddie James The Video Engine (VE) embedded in the Aspeed AST2400 and AST2500 SOCs can capture and compress video data from digital or analog sources. With the Aspeed chip acting as a service

Re: [PATCH v5 0/2] media: platform: Add Aspeed Video Engine Driver

2018-11-27 Thread Eddie James
On 11/15/2018 03:20 AM, Hans Verkuil wrote: On 11/12/2018 10:00 PM, Eddie James wrote: From: Eddie James The Video Engine (VE) embedded in the Aspeed AST2400 and AST2500 SOCs can capture and compress video data from digital or analog sources. With the Aspeed chip acting as a service

Re: [PATCH v3 05/13] i2c: acpi: Return error pointers from i2c_acpi_new_device()

2018-11-27 Thread Andy Shevchenko
On Tue, Nov 27, 2018 at 05:14:06PM +0100, Hans de Goede wrote: > On 27-11-18 16:37, Andy Shevchenko wrote: > > The caller would like to know the reason why the i2c_acpi_new_device() > > fails. > > For example, if adapter is not available, it might be in the future and we > > would like to

Re: [PATCH v3 05/13] i2c: acpi: Return error pointers from i2c_acpi_new_device()

2018-11-27 Thread Andy Shevchenko
On Tue, Nov 27, 2018 at 05:14:06PM +0100, Hans de Goede wrote: > On 27-11-18 16:37, Andy Shevchenko wrote: > > The caller would like to know the reason why the i2c_acpi_new_device() > > fails. > > For example, if adapter is not available, it might be in the future and we > > would like to

Re: [PATCH] arm64: dts: sdm845: Add videocc node

2018-11-27 Thread Doug Anderson
Hi, On Mon, Nov 26, 2018 at 10:57 PM Stephen Boyd wrote: > > > > + videocc: clock-controller@ab0 { > > > + compatible = "qcom,sdm845-videocc"; > > > + reg = <0xab0 0x1>; > > > + #clock-cells = <1>; > > >

Re: [PATCH] arm64: dts: sdm845: Add videocc node

2018-11-27 Thread Doug Anderson
Hi, On Mon, Nov 26, 2018 at 10:57 PM Stephen Boyd wrote: > > > > + videocc: clock-controller@ab0 { > > > + compatible = "qcom,sdm845-videocc"; > > > + reg = <0xab0 0x1>; > > > + #clock-cells = <1>; > > >

[PATCH] dt-bindings: clock: Require #reset-cells in sdm845-videocc

2018-11-27 Thread Douglas Anderson
The #reset-cells was listed as optional in the bindings for qcom,sdm845-videocc. There's no reason for it to be optional. As per Stephen [1]: > We should update the binding to make it a required property. It > doesn't make any sense why that property would be optional given > that the hardware

[PATCH] dt-bindings: clock: Require #reset-cells in sdm845-videocc

2018-11-27 Thread Douglas Anderson
The #reset-cells was listed as optional in the bindings for qcom,sdm845-videocc. There's no reason for it to be optional. As per Stephen [1]: > We should update the binding to make it a required property. It > doesn't make any sense why that property would be optional given > that the hardware

Linux 4.4.165

2018-11-27 Thread Greg KH
I'm announcing the release of the 4.4.165 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 3.18.127

2018-11-27 Thread Greg KH
I'm announcing the release of the 3.18.127 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Re: [PATCH] docs/memory-barriers.txt: Enforce heavy ordering for port I/O accesses

2018-11-27 Thread Matthew Wilcox
On Tue, Nov 27, 2018 at 10:40:21AM -0800, Paul E. McKenney wrote: > On Mon, Nov 26, 2018 at 08:33:49PM +0100, Andrea Parri wrote: > > On Mon, Nov 26, 2018 at 04:52:14PM +, Will Deacon wrote: > > > David Laight explains: > > > > > > | A long time ago there was a document from Intel that said

Linux 4.4.165

2018-11-27 Thread Greg KH
I'm announcing the release of the 4.4.165 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 3.18.127

2018-11-27 Thread Greg KH
I'm announcing the release of the 3.18.127 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Re: [PATCH] docs/memory-barriers.txt: Enforce heavy ordering for port I/O accesses

2018-11-27 Thread Matthew Wilcox
On Tue, Nov 27, 2018 at 10:40:21AM -0800, Paul E. McKenney wrote: > On Mon, Nov 26, 2018 at 08:33:49PM +0100, Andrea Parri wrote: > > On Mon, Nov 26, 2018 at 04:52:14PM +, Will Deacon wrote: > > > David Laight explains: > > > > > > | A long time ago there was a document from Intel that said

Re: Linux 4.4.165

2018-11-27 Thread Greg KH
diff --git a/.gitignore b/.gitignore index fd3a35592543..34fe1346aa87 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ *.lzo *.patch *.gcno +*.ll modules.builtin Module.symvers *.dwo diff --git a/Kbuild b/Kbuild index f55cefd9bf29..f56ed561a284 100644 --- a/Kbuild +++ b/Kbuild @@

Re: Linux 4.4.165

2018-11-27 Thread Greg KH
diff --git a/.gitignore b/.gitignore index fd3a35592543..34fe1346aa87 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ *.lzo *.patch *.gcno +*.ll modules.builtin Module.symvers *.dwo diff --git a/Kbuild b/Kbuild index f55cefd9bf29..f56ed561a284 100644 --- a/Kbuild +++ b/Kbuild @@

Re: Linux 3.18.127

2018-11-27 Thread Greg KH
diff --git a/Makefile b/Makefile index 14472990c4bd..7c78eb797de8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 126 +SUBLEVEL = 127 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/s390/kernel/vdso32/Makefile

Re: Linux 3.18.127

2018-11-27 Thread Greg KH
diff --git a/Makefile b/Makefile index 14472990c4bd..7c78eb797de8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 126 +SUBLEVEL = 127 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/s390/kernel/vdso32/Makefile

Re: Linux 4.9.141

2018-11-27 Thread Greg KH
diff --git a/Makefile b/Makefile index a9aed2326233..8eba73521a7f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 140 +SUBLEVEL = 141 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm64/include/asm/percpu.h

Re: Linux 4.9.141

2018-11-27 Thread Greg KH
diff --git a/Makefile b/Makefile index a9aed2326233..8eba73521a7f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 140 +SUBLEVEL = 141 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm64/include/asm/percpu.h

Linux 4.9.141

2018-11-27 Thread Greg KH
I'm announcing the release of the 4.9.141 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.9.141

2018-11-27 Thread Greg KH
I'm announcing the release of the 4.9.141 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

[PATCH V2] x86/resctrl: Fix rdt_last_cmd_printf() usage and typos within

2018-11-27 Thread Reinette Chatre
The last_cmd_status seq_buf contains user visible messages (accessed via /sys/fs/resctrl/info/last_cmd_status) that details any errors encountered while interacting with the resctrl filesystem. rdt_last_cmd_puts() and rdt_last_cmd_printf() are the two calls available to respectively print an

[PATCH V2] x86/resctrl: Fix rdt_last_cmd_printf() usage and typos within

2018-11-27 Thread Reinette Chatre
The last_cmd_status seq_buf contains user visible messages (accessed via /sys/fs/resctrl/info/last_cmd_status) that details any errors encountered while interacting with the resctrl filesystem. rdt_last_cmd_puts() and rdt_last_cmd_printf() are the two calls available to respectively print an

Linux 4.19.5

2018-11-27 Thread Greg KH
I'm announcing the release of the 4.19.5 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

Linux 4.19.5

2018-11-27 Thread Greg KH
I'm announcing the release of the 4.19.5 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.19.5

2018-11-27 Thread Greg KH
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 92eb1f42240d..fa4eec22816d 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -1063,7 +1063,7 @@

Re: Linux 4.19.5

2018-11-27 Thread Greg KH
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 92eb1f42240d..fa4eec22816d 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -1063,7 +1063,7 @@

Re: Linux 4.14.84

2018-11-27 Thread Greg KH
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 9841bad6f271..99a08722124d 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -1011,7 +1011,7 @@

Re: Linux 4.14.84

2018-11-27 Thread Greg KH
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 9841bad6f271..99a08722124d 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -1011,7 +1011,7 @@

Linux 4.14.84

2018-11-27 Thread Greg KH
I'm announcing the release of the 4.14.84 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Linux 4.14.84

2018-11-27 Thread Greg KH
I'm announcing the release of the 4.14.84 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

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