RE: [PATCH] [repost] Drivers: hv: vmbus: Offload the handling of channels to two workqueues

2018-11-30 Thread KY Srinivasan
> -Original Message- > From: Dexuan Cui > Sent: Thursday, November 29, 2018 12:17 AM > To: gre...@linuxfoundation.org > Cc: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; a...@canonical.com; vkuznets > ;

RE: [PATCH] [repost] Drivers: hv: vmbus: Offload the handling of channels to two workqueues

2018-11-30 Thread KY Srinivasan
> -Original Message- > From: Dexuan Cui > Sent: Thursday, November 29, 2018 12:17 AM > To: gre...@linuxfoundation.org > Cc: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; a...@canonical.com; vkuznets > ;

Re: [RFC PATCH v3] ftrace: support very early function tracing

2018-11-30 Thread Steven Rostedt
On Wed, 24 Oct 2018 19:22:30 + Abderrahmane Benbachir wrote: > --- a/include/linux/ftrace.h > +++ b/include/linux/ftrace.h > @@ -239,6 +239,16 @@ static inline void ftrace_free_init_mem(void) { } > static inline void ftrace_free_mem(struct module *mod, void *start, > void *end) { } >

Re: [RFC PATCH v3] ftrace: support very early function tracing

2018-11-30 Thread Steven Rostedt
On Wed, 24 Oct 2018 19:22:30 + Abderrahmane Benbachir wrote: > --- a/include/linux/ftrace.h > +++ b/include/linux/ftrace.h > @@ -239,6 +239,16 @@ static inline void ftrace_free_init_mem(void) { } > static inline void ftrace_free_mem(struct module *mod, void *start, > void *end) { } >

[GIT PULL] gcc-plugins fix for v4.20-rc5

2018-11-30 Thread Kees Cook
Hi Linus, Please pull this gcc-plugin fix for v4.20-rc5. Thanks! -Kees The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) are available in the Git repository at:

[GIT PULL] gcc-plugins fix for v4.20-rc5

2018-11-30 Thread Kees Cook
Hi Linus, Please pull this gcc-plugin fix for v4.20-rc5. Thanks! -Kees The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) are available in the Git repository at:

[PATCH v2 3/7] arm64: capabilities: Merge duplicate entries for Qualcomm erratum 1003

2018-11-30 Thread Suzuki K Poulose
Remove duplicate entries for Qualcomm erratum 1003. Since the entries are not purely based on generic MIDR checks, use the multi_cap_entry type to merge the entries. Cc: Christopher Covington Cc: Will Deacon Reviewed-by: Vladimiri Murzin Tested-by: Vladimiri Murzin Signed-off-by: Suzuki K

[PATCH v2 6/7] arm64: capabilities: Use linear array for detection and verification

2018-11-30 Thread Suzuki K Poulose
Use the sorted list of capability entries for the detection and verification. Reviewed-by: Vladimiri Murzin Tested-by: Vladimiri Murzin Signed-off-by: Suzuki K Poulose --- arch/arm64/kernel/cpufeature.c | 42 +- 1 file changed, 17 insertions(+), 25

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

2018-11-30 Thread Suzuki K Poulose
We have two entries for ARM64_WORKAROUND_CLEAN_CACHE capability : 1) ARM Errata 826319, 827319, 824069, 819472 on A53 r0p[012] 2) ARM Errata 819472 on A53 r0p[01] Both have the same work around. Merge these entries to avoid duplicate entries for a single capability. Add a new Kconfig entry to

[PATCH v2 4/7] arm64: capabilities: Speed up capability lookup

2018-11-30 Thread Suzuki K Poulose
We maintain two separate tables of capabilities, errata and features, which decide the system capabilities. We iterate over each of these tables for various operations (e.g, detection, verification etc.). We do not have a way to map a system "capability" to its entry, (i.e, cap -> struct

[PATCH v2 7/7] arm64: capabilities: Batch cpu_enable callbacks

2018-11-30 Thread Suzuki K Poulose
We use a stop_machine call for each available capability to enable it on all the CPUs available at boot time. Instead we could batch the cpu_enable callbacks to a single stop_machine() call to save us some time. Reviewed-by: Vladimiri Murzin Tested-by: Vladimiri Murzin Signed-off-by: Suzuki K

[PATCH v2 3/7] arm64: capabilities: Merge duplicate entries for Qualcomm erratum 1003

2018-11-30 Thread Suzuki K Poulose
Remove duplicate entries for Qualcomm erratum 1003. Since the entries are not purely based on generic MIDR checks, use the multi_cap_entry type to merge the entries. Cc: Christopher Covington Cc: Will Deacon Reviewed-by: Vladimiri Murzin Tested-by: Vladimiri Murzin Signed-off-by: Suzuki K

[PATCH v2 6/7] arm64: capabilities: Use linear array for detection and verification

2018-11-30 Thread Suzuki K Poulose
Use the sorted list of capability entries for the detection and verification. Reviewed-by: Vladimiri Murzin Tested-by: Vladimiri Murzin Signed-off-by: Suzuki K Poulose --- arch/arm64/kernel/cpufeature.c | 42 +- 1 file changed, 17 insertions(+), 25

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

2018-11-30 Thread Suzuki K Poulose
We have two entries for ARM64_WORKAROUND_CLEAN_CACHE capability : 1) ARM Errata 826319, 827319, 824069, 819472 on A53 r0p[012] 2) ARM Errata 819472 on A53 r0p[01] Both have the same work around. Merge these entries to avoid duplicate entries for a single capability. Add a new Kconfig entry to

[PATCH v2 4/7] arm64: capabilities: Speed up capability lookup

2018-11-30 Thread Suzuki K Poulose
We maintain two separate tables of capabilities, errata and features, which decide the system capabilities. We iterate over each of these tables for various operations (e.g, detection, verification etc.). We do not have a way to map a system "capability" to its entry, (i.e, cap -> struct

[PATCH v2 7/7] arm64: capabilities: Batch cpu_enable callbacks

2018-11-30 Thread Suzuki K Poulose
We use a stop_machine call for each available capability to enable it on all the CPUs available at boot time. Instead we could batch the cpu_enable callbacks to a single stop_machine() call to save us some time. Reviewed-by: Vladimiri Murzin Tested-by: Vladimiri Murzin Signed-off-by: Suzuki K

[PATCH v2 2/7] arm64: capabilities: Merge duplicate Cavium erratum entries

2018-11-30 Thread Suzuki K Poulose
Merge duplicate entries for a single capability using the midr range list for Cavium errata 30115 and 27456. Cc: Andrew Pinski Cc: David Daney Cc: Will Deacon Cc: Catalin Marinas Reviewed-by: Vladimiri Murzin Tested-by: Vladimiri Murzin Signed-off-by: Suzuki K Poulose ---

[PATCH v2 5/7] arm64: capabilities: Optimize this_cpu_has_cap

2018-11-30 Thread Suzuki K Poulose
Make use of the sorted capability list to access the capability entry in this_cpu_has_cap() to avoid iterating over the two tables. Reviewed-by: Vladimiri Murzin Tested-by: Vladimiri Murzin Signed-off-by: Suzuki K Poulose --- arch/arm64/kernel/cpufeature.c | 31 +--

[PATCH v2 5/7] arm64: capabilities: Optimize this_cpu_has_cap

2018-11-30 Thread Suzuki K Poulose
Make use of the sorted capability list to access the capability entry in this_cpu_has_cap() to avoid iterating over the two tables. Reviewed-by: Vladimiri Murzin Tested-by: Vladimiri Murzin Signed-off-by: Suzuki K Poulose --- arch/arm64/kernel/cpufeature.c | 31 +--

[PATCH v2 2/7] arm64: capabilities: Merge duplicate Cavium erratum entries

2018-11-30 Thread Suzuki K Poulose
Merge duplicate entries for a single capability using the midr range list for Cavium errata 30115 and 27456. Cc: Andrew Pinski Cc: David Daney Cc: Will Deacon Cc: Catalin Marinas Reviewed-by: Vladimiri Murzin Tested-by: Vladimiri Murzin Signed-off-by: Suzuki K Poulose ---

[PATCH v2 0/7] arm64: capabilities: Optimize checking and enabling

2018-11-30 Thread Suzuki K Poulose
We maintain two separate tables (i.e, arm64_features and arm64_errata) of struct arm64_cpu_capabilities which decide the capabilities of the system. We iterate over the two tables for detecting/verifying/enabling the capabilities. e.g, this_cpu_has_cap() needs to iterate over the two tables one

[PATCH v2 0/7] arm64: capabilities: Optimize checking and enabling

2018-11-30 Thread Suzuki K Poulose
We maintain two separate tables (i.e, arm64_features and arm64_errata) of struct arm64_cpu_capabilities which decide the capabilities of the system. We iterate over the two tables for detecting/verifying/enabling the capabilities. e.g, this_cpu_has_cap() needs to iterate over the two tables one

[PATCH 1/2] bus: imx-weim: support multiple address ranges per child node

2018-11-30 Thread thesven73
From: Sven Van Asbroeck Ensure that timing values for the child node are applied to all chip selects in the child's address ranges. Note that this does not support multiple timing settings per child; this can be added in the future if required. Example: { acme@0 {

[PATCH 0/2] bus: imx-weim

2018-11-30 Thread thesven73
From: Sven Van Asbroeck Support multiple address ranges per child node on imx-weim. While we're at it, insert some code which guards against common config conflicts. Sven Van Asbroeck (2): bus: imx-weim: support multiple address ranges per child node bus: imx-weim: guard against timing

[PATCH 2/2] bus: imx-weim: guard against timing configuration conflicts

2018-11-30 Thread thesven73
From: Sven Van Asbroeck When adding weim child devices, there is a risk that the developer will (by mistake) specify more than one timing setting for the same chip select. The driver cannot support such a configuration. In case of conflict, this patch will print a warning to the log, and will

[PATCH 2/2] bus: imx-weim: guard against timing configuration conflicts

2018-11-30 Thread thesven73
From: Sven Van Asbroeck When adding weim child devices, there is a risk that the developer will (by mistake) specify more than one timing setting for the same chip select. The driver cannot support such a configuration. In case of conflict, this patch will print a warning to the log, and will

[PATCH 1/2] bus: imx-weim: support multiple address ranges per child node

2018-11-30 Thread thesven73
From: Sven Van Asbroeck Ensure that timing values for the child node are applied to all chip selects in the child's address ranges. Note that this does not support multiple timing settings per child; this can be added in the future if required. Example: { acme@0 {

[PATCH 0/2] bus: imx-weim

2018-11-30 Thread thesven73
From: Sven Van Asbroeck Support multiple address ranges per child node on imx-weim. While we're at it, insert some code which guards against common config conflicts. Sven Van Asbroeck (2): bus: imx-weim: support multiple address ranges per child node bus: imx-weim: guard against timing

[PATCH] ACPI, APEI, EINJ: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-30 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/acpi/apei/einj.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/acpi/apei/einj.c b/drivers/acpi/apei/einj.c index b38737c83a24..fcccbfdbdd1a 100644 ---

[PATCH] ACPI, APEI, EINJ: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-30 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/acpi/apei/einj.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/acpi/apei/einj.c b/drivers/acpi/apei/einj.c index b38737c83a24..fcccbfdbdd1a 100644 ---

Re: RFC: script to convert vsprintf uses of %pf to %ps and %pF to %pS

2018-11-30 Thread Petr Mladek
On Sun 2018-11-25 01:13:51, Joe Perches wrote: > commit 04b8eb7a4ccd ("symbol lookup: introduce > dereference_symbol_descriptor()}" > > deprecated vsprintf extension %pf and %pF. > > so a script to convert all the %pf uses to %ps and %pF uses to %pS > could be useful. > > There are a few files

Re: RFC: script to convert vsprintf uses of %pf to %ps and %pF to %pS

2018-11-30 Thread Petr Mladek
On Sun 2018-11-25 01:13:51, Joe Perches wrote: > commit 04b8eb7a4ccd ("symbol lookup: introduce > dereference_symbol_descriptor()}" > > deprecated vsprintf extension %pf and %pF. > > so a script to convert all the %pf uses to %ps and %pF uses to %pS > could be useful. > > There are a few files

Re: Regression: very quiet speakers on Thinkpad T570s

2018-11-30 Thread Jeremy Cline
On 11/30/18 11:00 AM, Takashi Iwai wrote: > On Fri, 30 Nov 2018 15:49:17 +0100, > Jeremy Cline wrote: >> >> Hi, >> >> Some folks have reported on the Fedora bug tracker[0] that the laptop >> speaker volume is very low on the Thinkpad T570 when running a kernel >> that includes commit 61fcf8ece9b6

Re: Regression: very quiet speakers on Thinkpad T570s

2018-11-30 Thread Jeremy Cline
On 11/30/18 11:00 AM, Takashi Iwai wrote: > On Fri, 30 Nov 2018 15:49:17 +0100, > Jeremy Cline wrote: >> >> Hi, >> >> Some folks have reported on the Fedora bug tracker[0] that the laptop >> speaker volume is very low on the Thinkpad T570 when running a kernel >> that includes commit 61fcf8ece9b6

Re: rcu_preempt caused oom

2018-11-30 Thread Paul E. McKenney
On Fri, Nov 30, 2018 at 03:18:58PM +, He, Bo wrote: > Here is the kernel cmdline: Thank you! > Kernel command line: androidboot.acpio_idx=0 > androidboot.bootloader=efiwrapper-02_03-userdebug_kernelflinger-06_03-userdebug > androidboot.diskbus=00.0 androidboot.verifiedbootstate=green >

Re: rcu_preempt caused oom

2018-11-30 Thread Paul E. McKenney
On Fri, Nov 30, 2018 at 03:18:58PM +, He, Bo wrote: > Here is the kernel cmdline: Thank you! > Kernel command line: androidboot.acpio_idx=0 > androidboot.bootloader=efiwrapper-02_03-userdebug_kernelflinger-06_03-userdebug > androidboot.diskbus=00.0 androidboot.verifiedbootstate=green >

Re: [PATCH v2 4/4] x86/static_call: Add inline static call implementation for x86-64

2018-11-30 Thread Andy Lutomirski
On Thu, Nov 29, 2018 at 12:24 PM Josh Poimboeuf wrote: > > > Alternatively, we could actually emulate call instructions like this: > > > > void __noreturn jump_to_kernel_pt_regs(struct pt_regs *regs, ...) > > { > > struct pt_regs ptregs_copy = *regs; > > barrier(); > > *(unsigned long

Re: [PATCH v2 4/4] x86/static_call: Add inline static call implementation for x86-64

2018-11-30 Thread Andy Lutomirski
On Thu, Nov 29, 2018 at 12:24 PM Josh Poimboeuf wrote: > > > Alternatively, we could actually emulate call instructions like this: > > > > void __noreturn jump_to_kernel_pt_regs(struct pt_regs *regs, ...) > > { > > struct pt_regs ptregs_copy = *regs; > > barrier(); > > *(unsigned long

Re: [RFC PATCH 3/6] char: fastrpc: Add support for context Invoke method

2018-11-30 Thread Srinivas Kandagatla
On 30/11/18 16:19, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 5:03 PM Srinivas Kandagatla wrote: On 30/11/18 15:08, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 4:01 PM Srinivas Kandagatla wrote: Thanks Arnd for the review comments! On 30/11/18 13:41, Arnd Bergmann wrote: On Fri, Nov

Re: [RFC PATCH 3/6] char: fastrpc: Add support for context Invoke method

2018-11-30 Thread Srinivas Kandagatla
On 30/11/18 16:19, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 5:03 PM Srinivas Kandagatla wrote: On 30/11/18 15:08, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 4:01 PM Srinivas Kandagatla wrote: Thanks Arnd for the review comments! On 30/11/18 13:41, Arnd Bergmann wrote: On Fri, Nov

[PATCH] pinctrl: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-30 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/pinctrl/pinconf.c | 29 - drivers/pinctrl/pinmux.c | 29 - 2 files changed, 8 insertions(+), 50 deletions(-) diff --git

[PATCH] pinctrl: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-30 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/pinctrl/pinconf.c | 29 - drivers/pinctrl/pinmux.c | 29 - 2 files changed, 8 insertions(+), 50 deletions(-) diff --git

Re: [PATCH v2] signal: add procfd_signal() syscall

2018-11-30 Thread Andy Lutomirski
On Fri, Nov 30, 2018 at 3:41 AM Arnd Bergmann wrote: > siginfo_t as it is now still has a number of other downsides, and Andy in > particular didn't like the idea of having three new variants on x86 > (depending on how you count). His alternative suggestion of having > a single syscall entry

Re: [PATCH v2] signal: add procfd_signal() syscall

2018-11-30 Thread Andy Lutomirski
On Fri, Nov 30, 2018 at 3:41 AM Arnd Bergmann wrote: > siginfo_t as it is now still has a number of other downsides, and Andy in > particular didn't like the idea of having three new variants on x86 > (depending on how you count). His alternative suggestion of having > a single syscall entry

Re: [PATCH 00/12 v6] fs/locks: avoid thundering-herd wake-ups

2018-11-30 Thread Jeff Layton
On Fri, 2018-11-30 at 10:04 +1100, NeilBrown wrote: > This series has the fixes for the recently reported performance > regressions merged into the patches which caused them. > It also has a couple of little fixes that have been mentioned on the > list, and that Jeff had merged into his copy. > >

Re: [PATCH 00/12 v6] fs/locks: avoid thundering-herd wake-ups

2018-11-30 Thread Jeff Layton
On Fri, 2018-11-30 at 10:04 +1100, NeilBrown wrote: > This series has the fixes for the recently reported performance > regressions merged into the patches which caused them. > It also has a couple of little fixes that have been mentioned on the > list, and that Jeff had merged into his copy. > >

Re: dcache_readdir NULL inode oops

2018-11-30 Thread Will Deacon
On Fri, Nov 30, 2018 at 04:08:52PM +, Al Viro wrote: > On Fri, Nov 30, 2018 at 09:16:49AM -0600, Eric W. Biederman wrote: > > >> > + inode_lock(parent->d_inode); > > >> > dentry->d_fsdata = NULL; > > >> > drop_nlink(dentry->d_inode); > > >> > d_delete(dentry); > >

Re: dcache_readdir NULL inode oops

2018-11-30 Thread Will Deacon
On Fri, Nov 30, 2018 at 04:08:52PM +, Al Viro wrote: > On Fri, Nov 30, 2018 at 09:16:49AM -0600, Eric W. Biederman wrote: > > >> > + inode_lock(parent->d_inode); > > >> > dentry->d_fsdata = NULL; > > >> > drop_nlink(dentry->d_inode); > > >> > d_delete(dentry); > >

Re: [PATCH v2 4/4] x86/static_call: Add inline static call implementation for x86-64

2018-11-30 Thread Josh Poimboeuf
On Thu, Nov 29, 2018 at 03:04:20PM -0800, Linus Torvalds wrote: > On Thu, Nov 29, 2018 at 12:25 PM Josh Poimboeuf wrote: > > > > On Thu, Nov 29, 2018 at 11:27:00AM -0800, Andy Lutomirski wrote: > > > > > > I propose a different solution: > > > > > > As in this patch set, we have a direct and an

Re: [PATCH v2 4/4] x86/static_call: Add inline static call implementation for x86-64

2018-11-30 Thread Josh Poimboeuf
On Thu, Nov 29, 2018 at 03:04:20PM -0800, Linus Torvalds wrote: > On Thu, Nov 29, 2018 at 12:25 PM Josh Poimboeuf wrote: > > > > On Thu, Nov 29, 2018 at 11:27:00AM -0800, Andy Lutomirski wrote: > > > > > > I propose a different solution: > > > > > > As in this patch set, we have a direct and an

[PATCH] gpio: ks8695: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-30 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/gpio/gpio-ks8695.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/gpio/gpio-ks8695.c b/drivers/gpio/gpio-ks8695.c index 55d562e1278e..d6d6140ffc40 100644 ---

[PATCH] gpio: ks8695: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-30 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/gpio/gpio-ks8695.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/gpio/gpio-ks8695.c b/drivers/gpio/gpio-ks8695.c index 55d562e1278e..d6d6140ffc40 100644 ---

Re: [PATCH 0/4] x86/mm/cpa: Fix cpa-array TLB invalidation

2018-11-30 Thread StDenis, Tom
On 2018-11-30 10:31 a.m., Peter Zijlstra wrote: > On Fri, Nov 30, 2018 at 04:23:47PM +0100, Peter Zijlstra wrote: > >> Hurm.. no. They apply cleanly to Linus' tree here. >> >> linux-2.6$ git describe >> v4.20-rc4-156-g94f371cb7394 >> linux-2.6$ quilt push 4 >> Applying patch

Re: [PATCH 0/4] x86/mm/cpa: Fix cpa-array TLB invalidation

2018-11-30 Thread StDenis, Tom
On 2018-11-30 10:31 a.m., Peter Zijlstra wrote: > On Fri, Nov 30, 2018 at 04:23:47PM +0100, Peter Zijlstra wrote: > >> Hurm.. no. They apply cleanly to Linus' tree here. >> >> linux-2.6$ git describe >> v4.20-rc4-156-g94f371cb7394 >> linux-2.6$ quilt push 4 >> Applying patch

[PATCH v5] arm64: implement ftrace with regs

2018-11-30 Thread Torsten Duwe
Use -fpatchable-function-entry (gcc8) to add 2 NOPs at the beginning of each function. Replace the first NOP thus generated with a quick LR saver (move it to scratch reg x9), so the 2nd replacement insn, the call to ftrace, does not clobber the value. Ftrace will then generate the standard stack

Re: [RFC PATCH 3/6] char: fastrpc: Add support for context Invoke method

2018-11-30 Thread Arnd Bergmann
On Fri, Nov 30, 2018 at 5:03 PM Srinivas Kandagatla wrote: > On 30/11/18 15:08, Arnd Bergmann wrote: > > On Fri, Nov 30, 2018 at 4:01 PM Srinivas Kandagatla > > wrote: > >> Thanks Arnd for the review comments! > >> On 30/11/18 13:41, Arnd Bergmann wrote: > >>> On Fri, Nov 30, 2018 at 11:48 AM

Re: [RFC PATCH 3/6] char: fastrpc: Add support for context Invoke method

2018-11-30 Thread Arnd Bergmann
On Fri, Nov 30, 2018 at 5:03 PM Srinivas Kandagatla wrote: > On 30/11/18 15:08, Arnd Bergmann wrote: > > On Fri, Nov 30, 2018 at 4:01 PM Srinivas Kandagatla > > wrote: > >> Thanks Arnd for the review comments! > >> On 30/11/18 13:41, Arnd Bergmann wrote: > >>> On Fri, Nov 30, 2018 at 11:48 AM

[PATCH v5] arm64: implement ftrace with regs

2018-11-30 Thread Torsten Duwe
Use -fpatchable-function-entry (gcc8) to add 2 NOPs at the beginning of each function. Replace the first NOP thus generated with a quick LR saver (move it to scratch reg x9), so the 2nd replacement insn, the call to ftrace, does not clobber the value. Ftrace will then generate the standard stack

Re: [PATCH] PCI: Mark NXP LS1088 to avoid bus reset bus

2018-11-30 Thread Alex Williamson
On Fri, 30 Nov 2018 06:24:16 + Bharat Bhushan wrote: > Hi Alex, > > > -Original Message- > > From: Alex Williamson > > Sent: Friday, November 30, 2018 11:26 AM > > To: Bharat Bhushan > > Cc: Bjorn Helgaas ; Bjorn Helgaas > > ; linux-...@vger.kernel.org; Linux Kernel Mailing List >

Re: [PATCH] PCI: Mark NXP LS1088 to avoid bus reset bus

2018-11-30 Thread Alex Williamson
On Fri, 30 Nov 2018 06:24:16 + Bharat Bhushan wrote: > Hi Alex, > > > -Original Message- > > From: Alex Williamson > > Sent: Friday, November 30, 2018 11:26 AM > > To: Bharat Bhushan > > Cc: Bjorn Helgaas ; Bjorn Helgaas > > ; linux-...@vger.kernel.org; Linux Kernel Mailing List >

Re: [RFC PATCH 2/6] char: fastrpc: Add Qualcomm fastrpc basic driver model

2018-11-30 Thread Srinivas Kandagatla
Thanks for the comments! On 30/11/18 16:13, Greg KH wrote: + "sdsp", "cdsp"}; +static dev_t fastrpc_major; Why do you need a whole major number for this? Why not just use the Not really! misc interface instead? Sure, I will give that a go!

Re: [RFC PATCH 2/6] char: fastrpc: Add Qualcomm fastrpc basic driver model

2018-11-30 Thread Srinivas Kandagatla
Thanks for the comments! On 30/11/18 16:13, Greg KH wrote: + "sdsp", "cdsp"}; +static dev_t fastrpc_major; Why do you need a whole major number for this? Why not just use the Not really! misc interface instead? Sure, I will give that a go!

Re: [RFC PATCH 2/6] char: fastrpc: Add Qualcomm fastrpc basic driver model

2018-11-30 Thread Greg KH
On Fri, Nov 30, 2018 at 10:46:53AM +, Srinivas Kandagatla wrote: > This patch adds basic driver model for qualcomm fastrpc. > Each DSP rpmsg channel is represented as fastrpc channel context and > is exposed as a character driver for userspace interface. > Each compute context bank is

Re: [RFC PATCH 2/6] char: fastrpc: Add Qualcomm fastrpc basic driver model

2018-11-30 Thread Greg KH
On Fri, Nov 30, 2018 at 10:46:53AM +, Srinivas Kandagatla wrote: > This patch adds basic driver model for qualcomm fastrpc. > Each DSP rpmsg channel is represented as fastrpc channel context and > is exposed as a character driver for userspace interface. > Each compute context bank is

Re: dcache_readdir NULL inode oops

2018-11-30 Thread Al Viro
On Fri, Nov 30, 2018 at 09:16:49AM -0600, Eric W. Biederman wrote: > >> > + inode_lock(parent->d_inode); > >> > dentry->d_fsdata = NULL; > >> > drop_nlink(dentry->d_inode); > >> > d_delete(dentry); > >> > + inode_unlock(parent->d_inode); > >> > + > >> >

Re: dcache_readdir NULL inode oops

2018-11-30 Thread Al Viro
On Fri, Nov 30, 2018 at 09:16:49AM -0600, Eric W. Biederman wrote: > >> > + inode_lock(parent->d_inode); > >> > dentry->d_fsdata = NULL; > >> > drop_nlink(dentry->d_inode); > >> > d_delete(dentry); > >> > + inode_unlock(parent->d_inode); > >> > + > >> >

[GIT PULL] Driver core fix for 4.20-rc5

2018-11-30 Thread Greg KH
The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-4.20-rc5 for you to fetch changes up to

[GIT PULL] Driver core fix for 4.20-rc5

2018-11-30 Thread Greg KH
The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-4.20-rc5 for you to fetch changes up to

[GIT PULL] Char/Misc driver fixes for 4.20-rc5

2018-11-30 Thread Greg KH
The following changes since commit 2e6e902d185027f8e3cb8b7305238f7e35d6a436: Linux 4.20-rc4 (2018-11-25 14:19:31 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-4.20-rc5 for you to fetch changes up to

[GIT PULL] Char/Misc driver fixes for 4.20-rc5

2018-11-30 Thread Greg KH
The following changes since commit 2e6e902d185027f8e3cb8b7305238f7e35d6a436: Linux 4.20-rc4 (2018-11-25 14:19:31 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-4.20-rc5 for you to fetch changes up to

[GIT PULL] Staging/IIO driver fixes for 4.20-rc5

2018-11-30 Thread Greg KH
The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-4.20-rc5 for you to fetch changes up to

[GIT PULL] Staging/IIO driver fixes for 4.20-rc5

2018-11-30 Thread Greg KH
The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-4.20-rc5 for you to fetch changes up to

Re: [RFC PATCH 3/6] char: fastrpc: Add support for context Invoke method

2018-11-30 Thread Srinivas Kandagatla
On 30/11/18 15:08, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 4:01 PM Srinivas Kandagatla wrote: Thanks Arnd for the review comments! On 30/11/18 13:41, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 11:48 AM Srinivas Kandagatla wrote: +static long fastrpc_device_ioctl(struct file

Re: [RFC PATCH 3/6] char: fastrpc: Add support for context Invoke method

2018-11-30 Thread Srinivas Kandagatla
On 30/11/18 15:08, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 4:01 PM Srinivas Kandagatla wrote: Thanks Arnd for the review comments! On 30/11/18 13:41, Arnd Bergmann wrote: On Fri, Nov 30, 2018 at 11:48 AM Srinivas Kandagatla wrote: +static long fastrpc_device_ioctl(struct file

Re: [PATCH] ARM: dts: socfpga: remove incorrect 0x leading

2018-11-30 Thread Dinh Nguyen
On 11/29/18 6:56 AM, Clément Péron wrote: > unit-address does not have a leading "0x" (the number is assumed to be > hexadecimal). > > Signed-off-by: Clément Péron > --- > arch/arm/boot/dts/socfpga.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied! Thanks, Dinh

Re: [PATCH] ARM: dts: socfpga: remove incorrect 0x leading

2018-11-30 Thread Dinh Nguyen
On 11/29/18 6:56 AM, Clément Péron wrote: > unit-address does not have a leading "0x" (the number is assumed to be > hexadecimal). > > Signed-off-by: Clément Péron > --- > arch/arm/boot/dts/socfpga.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied! Thanks, Dinh

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-30 Thread Petr Mladek
On Thu 2018-11-29 19:09:26, Tetsuo Handa wrote: > On 2018/11/28 22:29, David Laight wrote: > > I also spent a week trying to work out why a customer kernel was > > locking up - only to finally find out that the distro they were > > using set 'panic on opps' - making it almost impossible to find >

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-30 Thread Petr Mladek
On Thu 2018-11-29 19:09:26, Tetsuo Handa wrote: > On 2018/11/28 22:29, David Laight wrote: > > I also spent a week trying to work out why a customer kernel was > > locking up - only to finally find out that the distro they were > > using set 'panic on opps' - making it almost impossible to find >

Re: Regression: very quiet speakers on Thinkpad T570s

2018-11-30 Thread Takashi Iwai
On Fri, 30 Nov 2018 15:49:17 +0100, Jeremy Cline wrote: > > Hi, > > Some folks have reported on the Fedora bug tracker[0] that the laptop > speaker volume is very low on the Thinkpad T570 when running a kernel > that includes commit 61fcf8ece9b6 ("ALSA: hda/realtek - Enable Thinkpad > Dock

Re: Regression: very quiet speakers on Thinkpad T570s

2018-11-30 Thread Takashi Iwai
On Fri, 30 Nov 2018 15:49:17 +0100, Jeremy Cline wrote: > > Hi, > > Some folks have reported on the Fedora bug tracker[0] that the laptop > speaker volume is very low on the Thinkpad T570 when running a kernel > that includes commit 61fcf8ece9b6 ("ALSA: hda/realtek - Enable Thinkpad > Dock

Re: [PATCH] dmaengine: remove DBGFS_FUNC_DECL()

2018-11-30 Thread Sinan Kaya
On 11/30/2018 10:42 AM, Yangtao Li wrote: We already have the DEFINE_SHOW_ATTRIBUTE,There is no need to define such a macro,so remove DBGFS_FUNC_DECL.Also use macro to simplify some code. Signed-off-by: Yangtao Li --- drivers/dma/amba-pl08x.c | 14 ++

Re: [PATCH] dmaengine: remove DBGFS_FUNC_DECL()

2018-11-30 Thread Sinan Kaya
On 11/30/2018 10:42 AM, Yangtao Li wrote: We already have the DEFINE_SHOW_ATTRIBUTE,There is no need to define such a macro,so remove DBGFS_FUNC_DECL.Also use macro to simplify some code. Signed-off-by: Yangtao Li --- drivers/dma/amba-pl08x.c | 14 ++

Re: [PATCH v2] mm: page_mapped: don't assume compound page is huge or THP

2018-11-30 Thread David Hildenbrand
On 30.11.18 13:06, Jan Stancek wrote: > LTP proc01 testcase has been observed to rarely trigger crashes > on arm64: > page_mapped+0x78/0xb4 > stable_page_flags+0x27c/0x338 > kpageflags_read+0xfc/0x164 > proc_reg_read+0x7c/0xb8 > __vfs_read+0x58/0x178 > vfs_read+0x90/0x14c >

Re: [PATCH v2] mm: page_mapped: don't assume compound page is huge or THP

2018-11-30 Thread David Hildenbrand
On 30.11.18 13:06, Jan Stancek wrote: > LTP proc01 testcase has been observed to rarely trigger crashes > on arm64: > page_mapped+0x78/0xb4 > stable_page_flags+0x27c/0x338 > kpageflags_read+0xfc/0x164 > proc_reg_read+0x7c/0xb8 > __vfs_read+0x58/0x178 > vfs_read+0x90/0x14c >

[PATCH v5 2/4] perf: add arm64 smmuv3 pmu driver

2018-11-30 Thread Shameer Kolothum
From: Neil Leeder Adds a new driver to support the SMMUv3 PMU and add it into the perf events framework. Each SMMU node may have multiple PMUs associated with it, each of which may support different events. SMMUv3 PMCG devices are named as smmuv3_pmcg_ where is the physical page address of

[PATCH v5 2/4] perf: add arm64 smmuv3 pmu driver

2018-11-30 Thread Shameer Kolothum
From: Neil Leeder Adds a new driver to support the SMMUv3 PMU and add it into the perf events framework. Each SMMU node may have multiple PMUs associated with it, each of which may support different events. SMMUv3 PMCG devices are named as smmuv3_pmcg_ where is the physical page address of

[PATCH v5 1/4] acpi: arm64: add iort support for PMCG

2018-11-30 Thread Shameer Kolothum
From: Neil Leeder Add support for the SMMU Performance Monitor Counter Group information from ACPI. This is in preparation for its use in the SMMUv3 PMU driver. Signed-off-by: Neil Leeder Signed-off-by: Hanjun Guo Signed-off-by: Shameer Kolothum --- drivers/acpi/arm64/iort.c | 97

[PATCH v5 1/4] acpi: arm64: add iort support for PMCG

2018-11-30 Thread Shameer Kolothum
From: Neil Leeder Add support for the SMMU Performance Monitor Counter Group information from ACPI. This is in preparation for its use in the SMMUv3 PMU driver. Signed-off-by: Neil Leeder Signed-off-by: Hanjun Guo Signed-off-by: Shameer Kolothum --- drivers/acpi/arm64/iort.c | 97

[PATCH v5 0/4] arm64 SMMUv3 PMU driver with IORT support

2018-11-30 Thread Shameer Kolothum
This adds a driver for the SMMUv3 PMU into the perf framework. It includes an IORT update to support PM Counter Groups. This is based on the initial work done by Neil Leeder[1] SMMUv3 PMCG devices are named as smmuv3_pmcg_ where is the physical page address of the SMMU PMCG. For example, the

[PATCH v5 0/4] arm64 SMMUv3 PMU driver with IORT support

2018-11-30 Thread Shameer Kolothum
This adds a driver for the SMMUv3 PMU into the perf framework. It includes an IORT update to support PM Counter Groups. This is based on the initial work done by Neil Leeder[1] SMMUv3 PMCG devices are named as smmuv3_pmcg_ where is the physical page address of the SMMU PMCG. For example, the

[PATCH v5 3/4] perf/smmuv3: Add MSI irq support

2018-11-30 Thread Shameer Kolothum
This adds support for MSI-based counter overflow interrupt. Signed-off-by: Shameer Kolothum --- drivers/perf/arm_smmuv3_pmu.c | 58 +++ 1 file changed, 58 insertions(+) diff --git a/drivers/perf/arm_smmuv3_pmu.c b/drivers/perf/arm_smmuv3_pmu.c index

[PATCH v5 4/4] perf/smmuv3_pmu: Enable HiSilicon Erratum 162001800 quirk

2018-11-30 Thread Shameer Kolothum
HiSilicon erratum 162001800 describes the limitation of SMMUv3 PMCG implementation on HiSilicon Hip08 platforms. On these platforms, the PMCG event counter registers (SMMU_PMCG_EVCNTRn) are read only and as a result it is not possible to set the initial counter period value on event monitor

[PATCH v5 3/4] perf/smmuv3: Add MSI irq support

2018-11-30 Thread Shameer Kolothum
This adds support for MSI-based counter overflow interrupt. Signed-off-by: Shameer Kolothum --- drivers/perf/arm_smmuv3_pmu.c | 58 +++ 1 file changed, 58 insertions(+) diff --git a/drivers/perf/arm_smmuv3_pmu.c b/drivers/perf/arm_smmuv3_pmu.c index

[PATCH v5 4/4] perf/smmuv3_pmu: Enable HiSilicon Erratum 162001800 quirk

2018-11-30 Thread Shameer Kolothum
HiSilicon erratum 162001800 describes the limitation of SMMUv3 PMCG implementation on HiSilicon Hip08 platforms. On these platforms, the PMCG event counter registers (SMMU_PMCG_EVCNTRn) are read only and as a result it is not possible to set the initial counter period value on event monitor

[PATCH 1/9] tools/lib/traceevent: Implemented new API tep_get_ref()

2018-11-30 Thread Steven Rostedt
From: Tzvetomir Stoyanov This patch implements a new API of the tracevent library: int tep_get_ref(struct tep_handle *tep); The API returns the reference counter "ref_count" of the tep handler. As "struct tep_handle" is internal only, its members cannot be accessed by the library users, the

[PATCH 1/9] tools/lib/traceevent: Implemented new API tep_get_ref()

2018-11-30 Thread Steven Rostedt
From: Tzvetomir Stoyanov This patch implements a new API of the tracevent library: int tep_get_ref(struct tep_handle *tep); The API returns the reference counter "ref_count" of the tep handler. As "struct tep_handle" is internal only, its members cannot be accessed by the library users, the

[PATCH 5/9] tools/lib/traceevent: Rename tep_free_format() to tep_free_event()

2018-11-30 Thread Steven Rostedt
From: Tzvetomir Stoyanov In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. This renames tep_free_format() to tep_free_event(), which describes more closely the purpose of the function.

[PATCH 5/9] tools/lib/traceevent: Rename tep_free_format() to tep_free_event()

2018-11-30 Thread Steven Rostedt
From: Tzvetomir Stoyanov In order to make libtraceevent into a proper library, variables, data structures and functions require a unique prefix to prevent name space conflicts. This renames tep_free_format() to tep_free_event(), which describes more closely the purpose of the function.

[PATCH 2/9] tools/lib/traceevent: Added support for pkg-config

2018-11-30 Thread Steven Rostedt
From: Tzvetomir Stoyanov This patch implements integration with pkg-config framework. pkg-config can be used by the library users to determine required CFLAGS and LDFLAGS in order to use the library Signed-off-by: Tzvetomir Stoyanov Signed-off-by: Steven Rostedt (VMware) ---

[PATCH 0/9] tools/lib/traceevent: More udpates to make libtraceevent into a library

2018-11-30 Thread Steven Rostedt
Arnaldo and Jiri, Here's more patches to get us a step closer to having a legitimate standalone library for libtraceevent. I'm currently reviewing man pages, which I want finished before we call it done. Please pull this tree (based on current tip/perf/core) or apply the patches. Thanks! --

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