Re: R: R: [PATCH v5 11/11] PCI: qcom: Add Force GEN1 support

2020-06-09 Thread Bjorn Helgaas
On Tue, Jun 09, 2020 at 04:48:51PM +0200, ansuels...@gmail.com wrote: > > -Messaggio originale- > > Da: Bjorn Helgaas > > Inviato: martedì 2 giugno 2020 19:28 > > A: ansuels...@gmail.com > > Cc: 'Rob Herring' ; 'Sham Muthayyan' > > ; 'Rob Herring' ; 'Andy > > Gross' ; 'Bjorn Andersson' > >

Re: [PATCH RT 1/2] tasklet: Address a race resulting in double-enqueue

2020-06-09 Thread Ramon Fried
On June 9, 2020 7:37:31 PM GMT+03:00, Ramon Fried wrote: > > >On June 9, 2020 7:34:46 PM GMT+03:00, Sebastian Andrzej Siewior > wrote: >>On 2020-06-09 11:17:53 [-0500], Tom Zanussi wrote: >>> Hi Sebastian, >>Hi Tom, >> >>> I did find a problem with the patch when configured as !SMP since in >>>

[PATCH 1/1] tools: testing: ftrace: trigger: fix spelling mistake

2020-06-09 Thread Flavio Suligoi
Fix typo: "tigger" --> "trigger" Signed-off-by: Flavio Suligoi --- tools/testing/selftests/ftrace/test.d/trigger/trigger-hist.tc | 2 +- .../selftests/ftrace/test.d/trigger/trigger-stacktrace.tc | 2 +- .../ftrace/test.d/trigger/trigger-trace-marker-hist.tc | 2 +- .../ftrace/te

Re: [PATCH RT 1/2] tasklet: Address a race resulting in double-enqueue

2020-06-09 Thread Ramon Fried
On June 9, 2020 7:34:46 PM GMT+03:00, Sebastian Andrzej Siewior wrote: >On 2020-06-09 11:17:53 [-0500], Tom Zanussi wrote: >> Hi Sebastian, >Hi Tom, > >> I did find a problem with the patch when configured as !SMP since in >> that case the RUN flag is never set (will send a patch for that >> s

Re: [4.19 stable-rt PATCH] tasklet: Fix UP case for tasklet CHAINED state

2020-06-09 Thread Sebastian Andrzej Siewior
On 2020-06-09 11:21:44 [-0500], Tom Zanussi wrote: > index 73dae64bfc9c..4f37a6173ab9 100644 > --- a/kernel/softirq.c > +++ b/kernel/softirq.c > @@ -947,10 +947,12 @@ static void __tasklet_schedule_common(struct > tasklet_struct *t, >* is locked before adding it to the list. >*/ >

Re: stress-ng --hrtimers hangs system

2020-06-09 Thread Vladimir Oltean
Hi Kurt, On Fri, 5 Jun 2020 at 16:19, Vladimir Oltean wrote: > > Hi Kurt, > > On Fri, 5 Jun 2020 at 15:57, Kurt Kanzenbach > wrote: > > > > Hi Vladimir, > > > > On Fri Jun 05 2020, Vladimir Oltean wrote: > > > Hi, > > > > > > I was testing stress-ng on an ARM64 box and I found that it can be kil

Re: [PATCH v2] mm/balloon_compaction: Fix trivial spelling

2020-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2020 at 03:34:12PM +0100, Kieran Bingham wrote: > The word 'descriptor' is misspelled throughout the tree. > > Fix it up accordingly: > decriptors -> descriptors > > Signed-off-by: Kieran Bingham > Reviewed-by: David Hildenbrand Acked-by: Michael S. Tsirkin Trivial tree p

Re: [PATCH v2] mm/balloon_compaction: Fix trivial spelling

2020-06-09 Thread Souptick Joarder
On Tue, Jun 9, 2020 at 10:02 PM Souptick Joarder wrote: > > On Tue, Jun 9, 2020 at 8:04 PM Kieran Bingham > wrote: > > > > The word 'descriptor' is misspelled throughout the tree. > > I think, *throughout the tree* is not appropriate* here. This patch > has fixed it within the file. With that, S

Re: [PATCH v3 03/15] PCI: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-09 Thread Logan Gunthorpe
On 2020-06-09 9:51 a.m., Christoph Hellwig wrote: > On Tue, Jun 09, 2020 at 11:16:46AM +0200, Piotr Stankiewicz wrote: >> Seeing as there is shorthand available to use when asking for any type >> of interrupt, or any type of message signalled interrupt, leverage it. >> >> Signed-off-by: Piotr St

Re: [PATCH RT 1/2] tasklet: Address a race resulting in double-enqueue

2020-06-09 Thread Sebastian Andrzej Siewior
On 2020-06-09 11:17:53 [-0500], Tom Zanussi wrote: > Hi Sebastian, Hi Tom, > I did find a problem with the patch when configured as !SMP since in > that case the RUN flag is never set (will send a patch for that > shortly), but that wouldn't be the case here. How? | #if defined(CONFIG_SMP) || de

Re: [PATCH v12 5/6] ndctl/papr_scm,uapi: Add support for PAPR nvdimm specific methods

2020-06-09 Thread kernel test robot
imm-health/20200609-051451 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-randconfig-r031-20200608 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project bc2b70982be8f5250cd0082a7190f8b417bd4dfe) reproduce (this is a

Re: [PATCH v2] mm/balloon_compaction: Fix trivial spelling

2020-06-09 Thread Souptick Joarder
On Tue, Jun 9, 2020 at 8:04 PM Kieran Bingham wrote: > > The word 'descriptor' is misspelled throughout the tree. I think, *throughout the tree* is not appropriate* here. This patch has fixed it within the file. With that, Acked-by: Souptick Joarder > > Fix it up accordingly: > decriptors

Re: [PATCH v2] sample-trace-array: Fix sleeping function called from invalid context

2020-06-09 Thread Divya Indi
On 6/9/20 6:51 AM, Kefeng Wang wrote: > BUG: sleeping function called from invalid context at > kernel/locking/mutex.c:935 > in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/5 > 1 lock held by swapper/5/0: > #0: 80001002bd90 (samples/ftrace/sample-trace-array.c:38){

RE: [PATCH v3 03/15] PCI: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-09 Thread Stankiewicz, Piotr
> -Original Message- > From: Christoph Hellwig > Sent: Tuesday, June 9, 2020 5:51 PM > > On Tue, Jun 09, 2020 at 11:16:46AM +0200, Piotr Stankiewicz wrote: > > Seeing as there is shorthand available to use when asking for any type > > of interrupt, or any type of message signalled interru

Re: [PATCH 3/7] reset: add BCM6345 reset controller driver

2020-06-09 Thread Philipp Zabel
Hi Álvaro, On Tue, 2020-06-09 at 17:14 +0200, Álvaro Fernández Rojas wrote: > Hi Philipp, > > > El 9 jun 2020, a las 17:06, Philipp Zabel escribió: > > > > Hi Álvaro, > > > > On Tue, 2020-06-09 at 15:42 +0200, Álvaro Fernández Rojas wrote: > > > Add support for resetting blocks through the Lin

Re: [PATCH] sample-trace-array: Remove trace_array 'sample-instance'

2020-06-09 Thread Divya Indi
Reviewed-by: Divya Indi On 6/9/20 6:52 AM, Kefeng Wang wrote: > Remove trace_array 'sample-instance' if kthread_run fails > in sample_trace_array_init(). > > Signed-off-by: Kefeng Wang > --- > samples/ftrace/sample-trace-array.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > d

[PATCH 1/1] iio: common: fix spelling mistake

2020-06-09 Thread Flavio Suligoi
Fix typo: "tigger" --> "trigger" Signed-off-by: Flavio Suligoi --- drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c b/drivers/iio/common/cros_ec_sensors/cros_ec

Re: [PATCH v4 01/11] dt-bindings: mfd: Add bindings for sl28cpld

2020-06-09 Thread Rob Herring
On Thu, 04 Jun 2020 23:10:29 +0200, Michael Walle wrote: > Add a device tree bindings for the board management controller found on > the Kontron SMARC-sAL28 board. > > Signed-off-by: Michael Walle > --- > .../bindings/gpio/kontron,sl28cpld-gpio.yaml | 54 +++ > .../hwmon/kontron,sl28cpld-h

Re: [PATCH 2/2] arm-nommu: Add use_reserved_mem() to check if device support reserved memory

2020-06-09 Thread Vladimir Murzin
On 6/9/20 4:43 PM, Vladimir Murzin wrote: > On 6/9/20 4:36 PM, Christoph Hellwig wrote: >> On Tue, Jun 09, 2020 at 11:22:24PM +0800, dillon min wrote: >>> Hi Vladimir, >>> >>> Thanks for reviewing. >>> >>> Hi Christoph Hellwig, >>> >>> I just want to know if kernel dma mapping/direct is focused on

Re: [PATCH] mm/vmalloc: track which page-table levels were modified

2020-06-09 Thread Joerg Roedel
Hi Guenter, On Tue, Jun 09, 2020 at 07:15:42AM -0700, Guenter Roeck wrote: > To build csky images, you have to disable CONFIG_FRAME_POINTER or use a > non-upstream compiler. To build any images reliably, you have to disable > CONFIG_GCC_PLUGIN_RANDSTRUCT or use a version of gcc old enough to not >

[PATCH v3 02/15] PCI: Add macro for message signalled interrupt types

2020-06-09 Thread Piotr Stankiewicz
There are several places in the kernel which check/ask for MSI or MSI-X interrupts. It would make sense to have a macro which defines all types of message signalled interrupts, to use in such situations. Add PCI_IRQ_MSI_TYPES, for this purpose. Signed-off-by: Piotr Stankiewicz Suggested-by: Andy

[4.19 stable-rt PATCH] tasklet: Fix UP case for tasklet CHAINED state

2020-06-09 Thread Tom Zanussi
4.19 stable-rt commit 62d0a2a30cd0 (tasklet: Address a race resulting in double-enqueue) addresses a problem that can result in a tasklet being enqueued on two cpus at the same time by combining the RUN flag with a new CHAINED flag, and relies on the combination to be present in order to zero it ou

Re: [Cocci] [PATCH v2 4/4] coccinelle: api: add selfcheck for memdup_user rule

2020-06-09 Thread Julia Lawall
On Mon, 8 Jun 2020, Denis Efremov wrote: > Check that the rule matches vmemdup_user implementation. > memdup_user is out of scope because we are not matching > kmalloc_track_caller() function. Is this a bit over-enginered? More precisely, even if it is nice to check that the API definition ha

Re: [PATCH 3/6] afs: Fix use of BUG()

2020-06-09 Thread Kees Cook
On Tue, Jun 09, 2020 at 05:13:26PM +0100, David Howells wrote: > Fix afs_compare_addrs() to use WARN_ON(1) instead of BUG() and return 1 > (ie. srx_a > srx_b). > > There's no point trying to put actual error handling in as this should not > occur unless a new transport address type is allowed by A

Re: [PATCH v7 3/3] ARM: dts: qcom: ipq4019: add USB devicetree nodes

2020-06-09 Thread Vinod Koul
Hi Robert, On 09-06-20, 16:45, Robert Marko wrote: > HI, > Vinod can you maybe pick this? Sorry can't do.. this needs to go thru Bjorn.. We are in merge window so it is too late for that. Bjorn can pick this for 5.9... > > It would be great to have nodes in 5.8 along the driver > > Thank > Ro

Re: [PATCH 4/6] afs: Fix debugging statements with %px to be %p

2020-06-09 Thread Kees Cook
On Tue, Jun 09, 2020 at 05:13:33PM +0100, David Howells wrote: > Fix a couple of %px to be %x in debugging statements. > > Fixes: e49c7b2f6de7 ("afs: Build an abstraction around an "operation" > concept") > Fixes: 8a070a964877 ("afs: Detect cell aliases 1 - Cells with root volumes") > Reported-by

Re: [PATCH RT 1/2] tasklet: Address a race resulting in double-enqueue

2020-06-09 Thread Tom Zanussi
Hi Sebastian, On Tue, 2020-06-09 at 17:47 +0200, Sebastian Andrzej Siewior wrote: > On 2020-06-04 15:51:14 [-0500], Tom Zanussi wrote: > > > > > > Hi, This patch introduced a regression in our kernel > > > (v4.19.124-rt53-rebase), It occurs when we're jumping to crush > > > kernel > > > using kex

[PATCH 1/1] kernel: trace: fix spelling mistake

2020-06-09 Thread Flavio Suligoi
Fix typo: "tigger" --> "trigger" Signed-off-by: Flavio Suligoi --- kernel/trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index ec44b0e2a19c..597e19b93165 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@

Re: [PATCH v2 1/3] capabilities: Introduce CAP_CHECKPOINT_RESTORE

2020-06-09 Thread Christian Brauner
On Tue, Jun 09, 2020 at 09:06:27AM -0700, Andrei Vagin wrote: > On Tue, Jun 09, 2020 at 09:44:22AM +0200, Christian Brauner wrote: > > On Mon, Jun 08, 2020 at 08:42:21PM -0700, Andrei Vagin wrote: > > > On Wed, Jun 03, 2020 at 06:23:26PM +0200, Adrian Reber wrote: > > > > This patch introduces CAP_

Re: [PATCH 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-09 Thread Hans de Goede
Hi, On 6/9/20 5:36 PM, mario.limoncie...@dell.com wrote: Loop linux-input mailing list and trim to the relevant conversation. Can you please comment here how you would like to see events like this should come through to userspace? * Wrong power adapter (you have X and should have Y) * You h

[PATCH 5/6] afs: Remove afs_zero_fid as it's not used

2020-06-09 Thread David Howells
Remove afs_zero_fid as it's not used. Signed-off-by: David Howells --- fs/afs/yfsclient.c |2 -- 1 file changed, 2 deletions(-) diff --git a/fs/afs/yfsclient.c b/fs/afs/yfsclient.c index b0a6e40b4da3..52d5af5fcd44 100644 --- a/fs/afs/yfsclient.c +++ b/fs/afs/yfsclient.c @@ -15,8 +15,6 @@

[PATCH 6/6] afs: Make afs_zap_data() static

2020-06-09 Thread David Howells
Make afs_zap_data() static as it's only used in the file in which it is defined. Signed-off-by: David Howells --- fs/afs/inode.c|2 +- fs/afs/internal.h |1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/afs/inode.c b/fs/afs/inode.c index 7dde703df40c..cd0a006095

[PATCH 3/6] afs: Fix use of BUG()

2020-06-09 Thread David Howells
Fix afs_compare_addrs() to use WARN_ON(1) instead of BUG() and return 1 (ie. srx_a > srx_b). There's no point trying to put actual error handling in as this should not occur unless a new transport address type is allowed by AFS. And even if it does, in this particular case, it'll just never match

[PATCH 4/6] afs: Fix debugging statements with %px to be %p

2020-06-09 Thread David Howells
Fix a couple of %px to be %x in debugging statements. Fixes: e49c7b2f6de7 ("afs: Build an abstraction around an "operation" concept") Fixes: 8a070a964877 ("afs: Detect cell aliases 1 - Cells with root volumes") Reported-by: Kees Cook Signed-off-by: David Howells --- fs/afs/dir.c |2 +-

[PATCH 1/6] afs: Fix memory leak in afs_put_sysnames()

2020-06-09 Thread David Howells
From: Zhihao Cheng Fix afs_put_sysnames() to actually free the specified afs_sysnames object after its reference count has been decreased to zero and its contents have been released. Fixes: 6f8880d8e681557 ("afs: Implement @sys substitution handling") Signed-off-by: Zhihao Cheng Signed-off-by:

[PATCH 2/6] afs: Fix file locking

2020-06-09 Thread David Howells
Fix AFS file locking to use the correct vnode pointer and remove a member of the afs_operation struct that is never set, but it is read and followed, causing an oops. This can be triggered by: flock -s /afs/example.com/foo sleep 1 when it calls the kernel to get a file lock. Fixes: e49c

[PATCH 1/1] scsi: mpt3sas: fix spelling mistake

2020-06-09 Thread Flavio Suligoi
Fix typo: "tigger" --> "trigger" Signed-off-by: Flavio Suligoi --- drivers/scsi/mpt3sas/mpt3sas_base.h | 2 +- drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mp

[PATCH 0/6] afs: Fixes

2020-06-09 Thread David Howells
Here's a set of patches to fix some things, most of them minor. (1) Fix a memory leak in afs_put_sysnames(). (2) Fix an oops in AFS file locking. (3) Fix new use of BUG(). (4) Fix debugging statements containing %px. (5) Remove afs_zero_fid as it's unused. (6) Make afs_zap_data() stat

Re: [PATCH v6 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-06-09 Thread Johan Jonker
Hi Yifeng, Just a few comments (part1). This patch doesn't apply without errors. Use linux-next as base. git clone --depth 1 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git linux-next Before submitting use this script and fix all the warnings where possible. ./scripts/check

Re: [PATCH 17/17] scripts/spelling.txt: Add descriptors correction

2020-06-09 Thread Joe Perches
On Tue, 2020-06-09 at 13:46 +0100, Kieran Bingham wrote: > After coming across the s/decriptors/descriptors/ spelling error twice, > a scan of the tree showed it was a pervasive mistake. [] > diff --git a/scripts/spelling.txt b/scripts/spelling.txt [] > @@ -404,6 +404,7 @@ decendants||descendants >

Re: [PATCH v2 1/3] capabilities: Introduce CAP_CHECKPOINT_RESTORE

2020-06-09 Thread Andrei Vagin
On Tue, Jun 09, 2020 at 09:44:22AM +0200, Christian Brauner wrote: > On Mon, Jun 08, 2020 at 08:42:21PM -0700, Andrei Vagin wrote: > > On Wed, Jun 03, 2020 at 06:23:26PM +0200, Adrian Reber wrote: > > > This patch introduces CAP_CHECKPOINT_RESTORE, a new capability > > > facilitating > > > checkpo

Re: [PATCH 1/2] mmc: sunxi-mmc: do not hide address in sunxi_mmc_irq()

2020-06-09 Thread Maxime Ripard
On Mon, Jun 08, 2020 at 08:54:51PM +0800, Frank Lee wrote: > On Fri, Jun 5, 2020 at 11:18 PM Maxime Ripard wrote: > > > > Hi, > > > > On Fri, Jun 05, 2020 at 08:55:44PM +0800, Frank Lee wrote: > > > From: Yangtao Li > > > > > > Using %px to show the actual address in sunxi_mmc_irq() > > > to help

Re: [PATCH v3 0/7] Venus dynamic debug

2020-06-09 Thread Randy Dunlap
On 6/9/20 4:13 AM, Matthew Wilcox wrote: > On Tue, Jun 09, 2020 at 01:45:57PM +0300, Stanimir Varbanov wrote: >> Here is the third version of dynamic debug improvements in Venus >> driver. As has been suggested on previous version by Joe [1] I've >> made the relevant changes in dynamic debug core

[PATCH v2 4/7] mips: bmips: dts: add BCM6328 reset controller support

2020-06-09 Thread Álvaro Fernández Rojas
BCM6328 SoCs have a reset controller for certain components. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes. arch/mips/boot/dts/brcm/bcm6328.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/boot/dts/brcm/bcm6328.dtsi b/arch/mips/boot/dts/brcm/bcm6328.dtsi ind

Re: [PATCH 11/17] drivers: infiniband: Fix trivial spelling

2020-06-09 Thread Kieran Bingham
Ooops, Looks like that should have been part of patch 2/17. Must have got split during the rebase I made or something, not sure. On 09/06/2020 16:54, Dennis Dalessandro wrote: > On 6/9/2020 8:46 AM, Kieran Bingham wrote: >> The word 'descriptor' is misspelled throughout the tree. >> >> Fix it up

[PATCH v2 5/7] mips: bmips: dts: add BCM6358 reset controller support

2020-06-09 Thread Álvaro Fernández Rojas
BCM6358 SoCs have a reset controller for certain components. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes. arch/mips/boot/dts/brcm/bcm6358.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/boot/dts/brcm/bcm6358.dtsi b/arch/mips/boot/dts/brcm/bcm6358.dtsi ind

[PATCH v2 7/7] mips: bmips: dts: add BCM6368 reset controller support

2020-06-09 Thread Álvaro Fernández Rojas
BCM6368 SoCs have a reset controller for certain components. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes. arch/mips/boot/dts/brcm/bcm6368.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/boot/dts/brcm/bcm6368.dtsi b/arch/mips/boot/dts/brcm/bcm6368.dtsi ind

[PATCH v2 6/7] mips: bmips: dts: add BCM6362 reset controller support

2020-06-09 Thread Álvaro Fernández Rojas
BCM6362 SoCs have a reset controller for certain components. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes. arch/mips/boot/dts/brcm/bcm6362.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/boot/dts/brcm/bcm6362.dtsi b/arch/mips/boot/dts/brcm/bcm6362.dtsi ind

[PATCH v2 3/7] drivers: reset: simple: add BCM6345 reset support

2020-06-09 Thread Álvaro Fernández Rojas
Add support for resetting blocks through the Linux reset controller subsystem for BCM63xx SoCs. Signed-off-by: Álvaro Fernández Rojas --- v2: add compatibility to reset-simple instead of adding a new driver. drivers/reset/Kconfig| 3 ++- drivers/reset/reset-simple.c | 1 + 2 files chan

[PATCH v2 1/7] mips: bmips: select ARCH_HAS_RESET_CONTROLLER

2020-06-09 Thread Álvaro Fernández Rojas
This allows to add reset controllers support. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 9dc08ee3d6b9..e82586e7719c 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kco

[PATCH 1/1] tty: fix spelling mistake

2020-06-09 Thread Flavio Suligoi
Fix typo: "tigger" --> "trigger" Signed-off-by: Flavio Suligoi --- drivers/tty/moxa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/moxa.h b/drivers/tty/moxa.h index 563d2dce80b3..f0a4381b6861 100644 --- a/drivers/tty/moxa.h +++ b/drivers/tty/moxa.h @@ -138,7 +1

RE: [PATCH v3 1/3] platform/x86: dell-wmi: add new backlight events

2020-06-09 Thread Mario.Limonciello
> -Original Message- > From: Y Paritcher > Sent: Monday, June 8, 2020 10:53 PM > To: Pali Rohár > Cc: linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; > Matthew Garrett; Limonciello, Mario > Subject: [PATCH v3 1/3] platform/x86: dell-wmi: add new backlight events > >

[PATCH v2 0/7] bmips: add bcm6345 reset controller support

2020-06-09 Thread Álvaro Fernández Rojas
BCM63xx SoCs have a reset controller for certain components. v2: add compatibility to reset-simple instead of adding a new driver. Álvaro Fernández Rojas (7): mips: bmips: select ARCH_HAS_RESET_CONTROLLER dt-bindings: reset: add BCM6345 reset controller bindings drivers: reset: simple: add

[PATCH v2 2/7] dt-bindings: reset: add BCM6345 reset controller bindings

2020-06-09 Thread Álvaro Fernández Rojas
Add support for resetting blocks through the Linux reset controller subsystem for BCM63xx SoCs. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes .../bindings/reset/brcm,bcm6345-reset.yaml| 37 +++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/d

Re: [PATCH 2/2] soc: mediatek: devapc: add devapc-mt6873 driver

2020-06-09 Thread Chun-Kuang Hu
Hi, Neal: Neal Liu 於 2020年6月9日 週二 下午6:25寫道: > > MT6873 bus frabric provides TrustZone security support and data > protection to prevent slaves from being accessed by unexpected > masters. > The security violations are logged and sent to the processor for > further analysis or countermeasures. > >

Re: [PATCH v2] Bluetooth: hci_qca: Bug fix during SSR timeout

2020-06-09 Thread Abhishek Pandit-Subedi
Looks good to me. Reviewed-by: Abhishek Pandit-Subedi On Tue, Jun 9, 2020 at 8:57 AM Venkata Lakshmi Narayana Gubba wrote: > > Due to race conditions between qca_hw_error and qca_controller_memdump > during SSR timeout,the same pointer is freed twice. This results in a > double free. Now a lock

Re: [PATCH 1/2] ARM: dts: stm32: Setup 4M bytes reserved memory for mmap

2020-06-09 Thread dillon min
Hi Christoph Hellwig, This is the patchset. for your reference. thanks, On Mon, Jun 8, 2020 at 4:30 PM wrote: > > From: dillon min > > To mmap a framebuffer or v4l2 buffer from kernel to userspace on > no-mmu platform, we need rely on 'arm_nommu_dma_ops' from > arch/arm/mm/dma-mapping-nommu.c

Re: [PATCH 0/2] Use 'arm_nommu_dma_ops' to handle dma memroy if device offer consistent dma memory region

2020-06-09 Thread dillon min
Hi Christoph Hellwig, This is the patchset. for your reference. thanks, On Mon, Jun 8, 2020 at 4:30 PM wrote: > > From: dillon min > > when do mmap on /dev/fb0, we will get -6 error on cortex-m3/m4 or armv7m > platform without cache support, this is caused by following reason: > > on armv7m pl

Re: [PATCH v3] IMA: Add audit log for failure conditions

2020-06-09 Thread Lakshmi Ramasubramanian
On 6/9/20 8:40 AM, Steve Grubb wrote: On Monday, June 8, 2020 5:53:43 PM EDT Lakshmi Ramasubramanian wrote: The final log statement in process_buffer_measurement() for failure condition is at debug level. This does not log the message unless the system log level is raised which would significan

[PATCH v2] Bluetooth: hci_qca: Bug fix during SSR timeout

2020-06-09 Thread Venkata Lakshmi Narayana Gubba
Due to race conditions between qca_hw_error and qca_controller_memdump during SSR timeout,the same pointer is freed twice. This results in a double free. Now a lock is acquired before checking the stauts of SSR state. Fixes: d841502c79e3 ("Bluetooth: hci_qca: Collect controller memory dump during

Re: Barrier before pushing desc_ring tail: was [PATCH v2 2/3] printk: add lockless buffer

2020-06-09 Thread John Ogness
On 2020-06-09, Petr Mladek wrote: >> --- /dev/null >> +++ b/kernel/printk/printk_ringbuffer.c >> +/* >> + * Advance the desc ring tail. This function advances the tail by one >> + * descriptor, thus invalidating the oldest descriptor. Before advancing >> + * the tail, the tail descriptor is made r

Re: [PATCH v1] Bluetooth: hci_qca: Fix double free during SSR timeout

2020-06-09 Thread gubbaven
Hi Abhishek, On 2020-06-05 10:23, Abhishek Pandit-Subedi wrote: Hi, On Thu, Jun 4, 2020 at 6:59 AM Venkata Lakshmi Narayana Gubba wrote: Due to race conditions between qca_hw_error and qca_controller_memdump during SSR timeout,the same pointer is freed twice. Which results to double free err

Re: [PATCH 11/17] drivers: infiniband: Fix trivial spelling

2020-06-09 Thread Dennis Dalessandro
On 6/9/2020 8:46 AM, Kieran Bingham wrote: The word 'descriptor' is misspelled throughout the tree. Fix it up accordingly: decriptors -> descriptors Signed-off-by: Kieran Bingham --- drivers/infiniband/hw/hfi1/ipoib_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 02/17] drivers: infiniband: Fix trivial spelling

2020-06-09 Thread Dennis Dalessandro
On 6/9/2020 8:45 AM, Kieran Bingham wrote: The word 'descriptor' is misspelled throughout the tree. Fix it up accordingly: decriptors -> descriptors Signed-off-by: Kieran Bingham --- drivers/infiniband/hw/hfi1/iowait.h | 2 +- drivers/infiniband/hw/hfi1/verbs_txreq.h | 2 +- 2 fi

Re: [PATCH] mm: Move p?d_alloc_track to separate header file

2020-06-09 Thread Stephen Rothwell
Hi Christophe, On Tue, 9 Jun 2020 17:24:14 +0200 Christophe Leroy wrote: > > Le 09/06/2020 à 14:05, Joerg Roedel a écrit : > > From: Joerg Roedel > > > > The functions are only used in two source files, so there is no need > > for them to be in the global header. Move them to the new > > hea

Re: [PATCH v3 03/15] PCI: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-09 Thread Christoph Hellwig
On Tue, Jun 09, 2020 at 11:16:46AM +0200, Piotr Stankiewicz wrote: > Seeing as there is shorthand available to use when asking for any type > of interrupt, or any type of message signalled interrupt, leverage it. > > Signed-off-by: Piotr Stankiewicz > Reviewed-by: Andy Shevchenko > Reviewed-by:

Re: [PATCH] Bluetooth: hci_qca: Fix double free during SSR timeout

2020-06-09 Thread gubbaven
Hi Markus, Sure we will update in next patch set. Regards, Lakshmi Narayna. On 2020-06-04 23:54, Markus Elfring wrote: Due to race conditions between qca_hw_error and qca_controller_memdump during SSR timeout,the same pointer is freed twice. This is an unfortunate software situation. Which

Re: [PATCH 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-09 Thread Pali Rohár
On Monday 08 June 2020 20:36:58 mario.limoncie...@dell.com wrote: > Can you please comment here how you would like to see events like this should > come > through to userspace? > > * Wrong power adapter (you have X and should have Y) > * You have plugged a dock into the wrong port > * Fn-lock mod

Re: [PATCH v3 01/15] PCI/MSI: Forward MSI-X vector enable error code in pci_alloc_irq_vectors_affinity()

2020-06-09 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH 1/1] leds: fix spelling mistake

2020-06-09 Thread Flavio Suligoi
Fix typo: "Tigger" --> "Trigger" Signed-off-by: Flavio Suligoi --- drivers/leds/led-triggers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/led-triggers.c b/drivers/leds/led-triggers.c index 79e30d2cb7a5..0836bf7631ea 100644 --- a/drivers/leds/led-triggers.c +

Re: [PATCH v3 01/15] PCI/MSI: Forward MSI-X vector enable error code in pci_alloc_irq_vectors_affinity()

2020-06-09 Thread Logan Gunthorpe
On 2020-06-09 3:14 a.m., Piotr Stankiewicz wrote: > When debugging an issue where I was asking the PCI machinery to enable a > set of MSI-X vectors, without falling back on MSI, I ran across a > behaviour which seems odd. The pci_alloc_irq_vectors_affinity() will > always return -ENOSPC on failu

Re: [PATCH v5 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-06-09 Thread Mathieu Poirier
On Tue, 9 Jun 2020 at 09:29, Ben Levinsky wrote: > > Hi Suman, Mathieu, > > Thank you for your comments. Please see my replies inline. > > Best Regards, > Ben > > -Original Message- > From: Suman Anna > Sent: Monday, June 8, 2020 5:00 PM > To: Mathieu Poirier ; Ben Levinsky > > Cc: o...

Re: [PATCH RT 1/2] tasklet: Address a race resulting in double-enqueue

2020-06-09 Thread Sebastian Andrzej Siewior
On 2020-06-04 15:51:14 [-0500], Tom Zanussi wrote: > > > > Hi, This patch introduced a regression in our kernel > > (v4.19.124-rt53-rebase), It occurs when we're jumping to crush kernel > > using kexec, in the initialization of the emmc driver. > > I'm still debugging the root cause, but I thought

Re: close() on some Intel CNP-LP PCI devices takes up to 2.7 s

2020-06-09 Thread Mika Westerberg
On Tue, Jun 09, 2020 at 05:39:21PM +0200, Paul Menzel wrote: > Dear Linux folks, > > > On the Intel Cannon Point-LP laptop Dell Precision 3540 with a dedicated AMD > graphics card (both graphics devices can be used) with Debian Sid/unstable > with Linux 5.6.14, running lspci takes quite some time

Re: Review Request

2020-06-09 Thread Divya Indi
Thanks Leon, Noted! On 6/9/20 12:03 AM, Leon Romanovsky wrote: > On Mon, Jun 08, 2020 at 07:46:15AM -0700, Divya Indi wrote: >> [PATCH v3] IB/sa: Resolving use-after-free in ib_nl_send_msg >> >> Hi, >> >> Please review the patch that follows. > Please read Documentation/process/submitting-patches.

Re: [PATCH 1/5] media: videodev2: add Compressed Framebuffer pixel formats

2020-06-09 Thread Nicolas Dufresne
Le mardi 09 juin 2020 à 07:28 -0300, Ezequiel Garcia a écrit : > Adding Helen to the discussion. > > On Tue, 9 Jun 2020 at 04:43, Neil Armstrong wrote: > > Hi Nicolas, > > > > On 08/06/2020 20:59, Nicolas Dufresne wrote: > > > Le lundi 08 juin 2020 à 16:43 +0200, Hans Verkuil a écrit : > > > > O

Re: [PATCH] sched: correct SD_flags returned by tl->sd_flags()

2020-06-09 Thread Vincent Guittot
On Tue, 9 Jun 2020 at 17:09, Peng Liu wrote: > > During sched domain init, we check whether non-topological SD_flags are > returned by tl->sd_flags(), if found, fire a waning and correct the > violation, but the code failed to correct the violation. Correct this. > > Fixes: 143e1e28cb40 ("sched: R

Re: [PATCH 2/2] arm-nommu: Add use_reserved_mem() to check if device support reserved memory

2020-06-09 Thread Vladimir Murzin
On 6/9/20 4:36 PM, Christoph Hellwig wrote: > On Tue, Jun 09, 2020 at 11:22:24PM +0800, dillon min wrote: >> Hi Vladimir, >> >> Thanks for reviewing. >> >> Hi Christoph Hellwig, >> >> I just want to know if kernel dma mapping/direct is focused on >> platforms with MMU. >> leave arch code to handle

Re: ipr crashes due to NULL dma_need_drain since cc97923a5bcc ("block: move dma drain handling to scsi")

2020-06-09 Thread Christoph Hellwig
Can you try this patch? --- >From 1c9913360a0494375c5655b133899cb4323bceb4 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 9 Jun 2020 14:07:31 +0200 Subject: scsi: wire up ata_scsi_dma_need_drain for SAS HBA drivers We need ata_scsi_dma_need_drain for all drivers wired up to drive AT

Re: [RFC][PATCH v4 01/32] objtool: Prepare to merge recordmcount

2020-06-09 Thread Matt Helsley
On Tue, Jun 09, 2020 at 09:54:33AM +0100, Julien Thierry wrote: > Hi Matt, > > On 6/2/20 8:49 PM, Matt Helsley wrote: > > Move recordmcount into the objtool directory. We keep this step separate > > so changes which turn recordmcount into a subcommand of objtool don't > > get obscured. > > > > Si

Re: [PATCH v2] overflow.h: Add flex_array_size() helper

2020-06-09 Thread Kees Cook
On Mon, Jun 08, 2020 at 11:47:03PM -0700, Joe Perches wrote: > On Mon, 2020-06-08 at 20:22 -0500, Gustavo A. R. Silva wrote: > > Add flex_array_size() helper for the calculation of the size, in bytes, > > of a flexible array member contained within an enclosing structure. > [] > > diff --git a/incl

Re: Fail to build tftpboot.img

2020-06-09 Thread Corentin Labbe
On Fri, Jun 05, 2020 at 01:05:35PM +0200, Corentin Labbe wrote: > Hello > > For reinstalling an old SPARC machine , I need a netboot image. > I tried to create it via make tftpboot.img but got: > BUILD: sparc to /home/compile/crossbuild/next/sparc/sparc64/defconfig > make[1]: Entering directory '/

Re: [PATCH] sysctl: Delete the code of sys_sysctl

2020-06-09 Thread Kees Cook
On Tue, Jun 09, 2020 at 02:20:05PM +0800, Xiaoming Ni wrote: > Since the commit 61a47c1ad3a4dc ("sysctl: Remove the sysctl system call"), > sys_sysctl has lost its actual role: any input can only return an error. > > Delete the code and return -ENOSYS directly at the function entry > > Signed-off

Re: BUG: kernel NULL pointer dereference from check_preempt_wakeup()

2020-06-09 Thread Paul E. McKenney
On Sun, Jun 07, 2020 at 11:57:32AM -0700, Paul E. McKenney wrote: > On Sat, Jun 06, 2020 at 10:29:42AM -0700, Paul E. McKenney wrote: > > On Fri, Jun 05, 2020 at 05:51:26PM -0700, Paul E. McKenney wrote: > > > On Fri, Jun 05, 2020 at 11:41:59AM -0700, Paul E. McKenney wrote: > > > > On Fri, Jun 05,

[PATCH v2] scsi: ufs: Fix imprecise time in devfreq window

2020-06-09 Thread Stanley Chu
Promise precision of devfreq windows by 1. Align time base of both devfreq_dev_status.total_time and devfreq_dev_status.busy_time to ktime-based time. 2. Align below timelines, - The beginning of devfreq window - The beginning of busy time in new window - The end of busy time in curre

Re: [PATCH v3] IMA: Add audit log for failure conditions

2020-06-09 Thread Steve Grubb
On Monday, June 8, 2020 5:53:43 PM EDT Lakshmi Ramasubramanian wrote: > The final log statement in process_buffer_measurement() for failure > condition is at debug level. This does not log the message unless > the system log level is raised which would significantly increase > the messages in the s

[GIT PULL] power-supply changes for 5.8

2020-06-09 Thread Sebastian Reichel
Hi Linus, Here is the power-supply pull request. As mentioned in my pull request for 5.7, this time there are lots of changes. Quite a few changes to the core, lots of driver changes and one change to kobject core (with Ack from Greg). Please find the details in the signed tag (or below). No merg

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-09 Thread Sai Prakash Ranjan
Hi Mathieu, On 2020-06-09 20:57, Mathieu Poirier wrote: On Mon, 8 Jun 2020 at 08:07, Sai Prakash Ranjan wrote: Hi Mathieu, Mike On 2020-06-04 12:57, Sai Prakash Ranjan wrote: > [...] >> >> Robin has a point - user space is long gone at this time. As such the >> first >> question to ask is

Re: [PATCH 2/2] perf parse-events: fix an old style declaration

2020-06-09 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 08, 2020 at 10:36:10PM -0700, Ian Rogers escreveu: > Fixes: a26e47162d76 (perf tools: Move ALLOC_LIST into a function) > Signed-off-by: Ian Rogers > --- > tools/perf/util/parse-events.y | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/util/parse-eve

Re: [PATCH 1/2] perf parse-events: fix an incompatible pointer

2020-06-09 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 08, 2020 at 10:36:09PM -0700, Ian Rogers escreveu: > Arrays are pointer types and don't need their address taking. > Fixes: 8255718f4bed (perf pmu: Expand PMU events by prefix match) Thanks, applied. - Arnaldo > Signed-off-by: Ian Rogers > --- > tools/perf/util/parse-events.y | 2

Re: [PATCH 2/2] arm-nommu: Add use_reserved_mem() to check if device support reserved memory

2020-06-09 Thread Christoph Hellwig
On Tue, Jun 09, 2020 at 11:22:24PM +0800, dillon min wrote: > Hi Vladimir, > > Thanks for reviewing. > > Hi Christoph Hellwig, > > I just want to know if kernel dma mapping/direct is focused on > platforms with MMU. > leave arch code to handle dma coherent memory management themself for > no-MMU

RE: [PATCH 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

2020-06-09 Thread Mario.Limonciello
Loop linux-input mailing list and trim to the relevant conversation. > > Can you please comment here how you would like to see events like this > should come > > through to userspace? > > > > * Wrong power adapter (you have X and should have Y) > > * You have plugged a dock into the wrong port > >

[PATCH] libbpf: Define __WORDSIZE if not available

2020-06-09 Thread Arnaldo Carvalho de Melo
Some systems, such as Android, don't have a define for __WORDSIZE, do it in terms of __SIZEOF_LONG__, as done in perf since 2012: http://git.kernel.org/torvalds/c/3f34f6c0233ae055b5 For reference: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html I build tested it here and Andri

Re: [PATCH 2/3] arm64: mm: reserve hugetlb CMA after numa_init

2020-06-09 Thread Matthias Brugger
On 08/06/2020 02:50, Song Bao Hua (Barry Song) wrote: > > >> -Original Message- >> From: Matthias Brugger [mailto:matthias@gmail.com] >> Sent: Monday, June 8, 2020 8:15 AM >> To: Roman Gushchin ; Song Bao Hua (Barry Song) >> >> Cc: catalin.mari...@arm.com; John Garry ; >> linux-ke

[PATCH v1] scsi: ufs: Fix imprecise time in devfreq window

2020-06-09 Thread Stanley Chu
Promise precision of devfreq windows by 1. Align time base of both devfreq_dev_status.total_time and devfreq_dev_status.busy_time to ktime-based time. 2. Align below timelines, - The beginning of devfreq window - The beginning of busy time in new window - The end of busy time in curre

Re: [PATCH] uprobes: ensure that uprobe->offset and ->ref_ctr_offset are properly aligned

2020-06-09 Thread Oleg Nesterov
Looks like this patch was forgotten... Should I resend it? On 05/04, Oleg Nesterov wrote: > > uprobe_write_opcode() must not cross page boundary; prepare_uprobe() > relies on arch_uprobe_analyze_insn() which should validate "vaddr" but > some architectures (csky, s390, and sparc) don't do this. >

Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller

2020-06-09 Thread Michael Walle
Am 2020-06-09 17:19, schrieb Lee Jones: On Tue, 09 Jun 2020, Michael Walle wrote: Am 2020-06-09 08:47, schrieb Lee Jones: > On Mon, 08 Jun 2020, Michael Walle wrote: > > > Am 2020-06-08 20:56, schrieb Lee Jones: > > > On Mon, 08 Jun 2020, Michael Walle wrote: > > > > > > > Am 2020-06-08 12:02,

[PATCH] Do not assign in if condition wg_noise_handshake_consume_initiation()

2020-06-09 Thread Frank Werner-Krippendorf
Fixes an error condition reported by checkpatch.pl which caused by assigning a variable in an if condition in wg_noise_handshake_consume_initiation(). Signed-off-by: Frank Werner-Krippendorf --- drivers/net/wireguard/noise.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/d

RE: [PATCH v5 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-06-09 Thread Ben Levinsky
Hi Suman, Mathieu, Thank you for your comments. Please see my replies inline. Best Regards, Ben -Original Message- From: Suman Anna Sent: Monday, June 8, 2020 5:00 PM To: Mathieu Poirier ; Ben Levinsky Cc: o...@wizery.com; bjorn.anders...@linaro.org; Michal Simek ; Jolly Shah ; Raja

Re: [PATCH 1/2] sched/uclamp: Add a new sysctl to control RT default boost value

2020-06-09 Thread Vincent Guittot
H Qais, Sorry for the late reply. On Fri, 5 Jun 2020 at 12:45, Qais Yousef wrote: > > On 06/04/20 14:14, Vincent Guittot wrote: > > I have tried your patch and I don't see any difference compared to > > previous tests. Let me give you more details of my setup: > > I create 3 levels of cgroups an

<    5   6   7   8   9   10   11   12   13   14   >