Re: BUG: soft lockup in snd_virmidi_output_trigger

2018-07-26 Thread Dae R. Jeong
On Fri, Jul 27, 2018 at 07:20:30AM +0200, Takashi Iwai wrote: I think there is a mistake on the reported-by tag. The reported-by tag (e4c8abb920ef...) is for WARNING in port_delete. I guess the tag below is correct. Reported-by: syzbot+619d9f40141d826b0...@syzkaller.appspotmail.com Could you

Re: BUG: soft lockup in snd_virmidi_output_trigger

2018-07-26 Thread Dae R. Jeong
On Fri, Jul 27, 2018 at 07:20:30AM +0200, Takashi Iwai wrote: I think there is a mistake on the reported-by tag. The reported-by tag (e4c8abb920ef...) is for WARNING in port_delete. I guess the tag below is correct. Reported-by: syzbot+619d9f40141d826b0...@syzkaller.appspotmail.com Could you

Re: [PATCH v23 2/4] mailbox: mediatek: Add Mediatek CMDQ driver

2018-07-26 Thread CK Hu
Hi, Jassi: In this patch, mediatek mailbox controller implement its own data queue rather than using mailbox framework's queue. I've an idea that could let mediatek mailbox controller use framework's queue but the framework should provide abort function. You could take a look on the sample in

Re: [PATCH v23 2/4] mailbox: mediatek: Add Mediatek CMDQ driver

2018-07-26 Thread CK Hu
Hi, Jassi: In this patch, mediatek mailbox controller implement its own data queue rather than using mailbox framework's queue. I've an idea that could let mediatek mailbox controller use framework's queue but the framework should provide abort function. You could take a look on the sample in

[PATCH 1/2] fs/epoll: loosen irq safety in ep_poll()

2018-07-26 Thread Davidlohr Bueso
Similar to other calls, ep_poll() is not called with interrupts disabled, and we can therefore avoid the irq save/restore dance and just disable local irqs. In fact, the call should never be called in irq context at all, considering that the only path is epoll_wait(2) -> do_epoll_wait() ->

[PATCH 1/2] fs/epoll: loosen irq safety in ep_poll()

2018-07-26 Thread Davidlohr Bueso
Similar to other calls, ep_poll() is not called with interrupts disabled, and we can therefore avoid the irq save/restore dance and just disable local irqs. In fact, the call should never be called in irq context at all, considering that the only path is epoll_wait(2) -> do_epoll_wait() ->

[PATCH 2/2] fs/eventpoll: simplify ep_is_linked callers

2018-07-26 Thread Davidlohr Bueso
Instead of having each caller pass the rdllink explicitly, just have ep_is_linked() pass it while the callers just need the epi pointer. This helper is all about the rdllink, and this change, furthermore, improves the function's self documentation. Signed-off-by: Davidlohr Bueso ---

[PATCH 2/2] fs/eventpoll: simplify ep_is_linked callers

2018-07-26 Thread Davidlohr Bueso
Instead of having each caller pass the rdllink explicitly, just have ep_is_linked() pass it while the callers just need the epi pointer. This helper is all about the rdllink, and this change, furthermore, improves the function's self documentation. Signed-off-by: Davidlohr Bueso ---

[PATCH -next 0/2] epoll: loosen irq safety in ep_poll()

2018-07-26 Thread Davidlohr Bueso
Hi, Along the same lines than the previous work. Details are in patch 1. Patch 2 is an add on while eyeballing the code. Similar to the previous patches, this has survived ltp testcases and various workloads. Thanks, Davidlohr Davidlohr Bueso (2): fs/epoll: loosen irq safety in ep_poll()

[PATCH -next 0/2] epoll: loosen irq safety in ep_poll()

2018-07-26 Thread Davidlohr Bueso
Hi, Along the same lines than the previous work. Details are in patch 1. Patch 2 is an add on while eyeballing the code. Similar to the previous patches, this has survived ltp testcases and various workloads. Thanks, Davidlohr Davidlohr Bueso (2): fs/epoll: loosen irq safety in ep_poll()

[PATCH] timers: fix offset calculation when the expires align with LVL_GRAN

2018-07-26 Thread Xu YiPing
when the expires of timer is align with LVL_GRAN(n), it will be trigged in 'expires + LVL_GRAN(n)'. Some drivers like power runtime use the timer to start a power down of device, it could saves power if the timer is triggerd in time, especially when LEVEL=0 with low expires. Signed-off-by: Xu

[PATCH] timers: fix offset calculation when the expires align with LVL_GRAN

2018-07-26 Thread Xu YiPing
when the expires of timer is align with LVL_GRAN(n), it will be trigged in 'expires + LVL_GRAN(n)'. Some drivers like power runtime use the timer to start a power down of device, it could saves power if the timer is triggerd in time, especially when LEVEL=0 with low expires. Signed-off-by: Xu

Re: [PATCH] mtd: spi-nor: cadence-quadspi: make return type fit wait_for_completion_timeout

2018-07-26 Thread Nicholas Mc Guire
On Thu, Jul 26, 2018 at 10:09:28PM +0200, Boris Brezillon wrote: > On Wed, 25 Jul 2018 06:31:37 + > Nicholas Mc Guire wrote: > > > On Tue, Jul 24, 2018 at 10:46:26PM +0200, Boris Brezillon wrote: > > > On Sat, 21 Jul 2018 18:08:13 +0200 > > > Nicholas Mc Guire wrote: > > > > > > >

Re: [PATCH v12 04/16] powerpc, kexec_file: factor out memblock-based arch_kexec_walk_mem()

2018-07-26 Thread AKASHI Takahiro
On Wed, Jul 25, 2018 at 08:31:29PM +0800, Dave Young wrote: > On 07/24/18 at 03:57pm, AKASHI Takahiro wrote: > > Memblock list is another source for usable system memory layout. > > So move powerpc's arch_kexec_walk_mem() to common code so that other > > memblock-based architectures, particularly

Re: [PATCH] mtd: spi-nor: cadence-quadspi: make return type fit wait_for_completion_timeout

2018-07-26 Thread Nicholas Mc Guire
On Thu, Jul 26, 2018 at 10:09:28PM +0200, Boris Brezillon wrote: > On Wed, 25 Jul 2018 06:31:37 + > Nicholas Mc Guire wrote: > > > On Tue, Jul 24, 2018 at 10:46:26PM +0200, Boris Brezillon wrote: > > > On Sat, 21 Jul 2018 18:08:13 +0200 > > > Nicholas Mc Guire wrote: > > > > > > >

Re: [PATCH v12 04/16] powerpc, kexec_file: factor out memblock-based arch_kexec_walk_mem()

2018-07-26 Thread AKASHI Takahiro
On Wed, Jul 25, 2018 at 08:31:29PM +0800, Dave Young wrote: > On 07/24/18 at 03:57pm, AKASHI Takahiro wrote: > > Memblock list is another source for usable system memory layout. > > So move powerpc's arch_kexec_walk_mem() to common code so that other > > memblock-based architectures, particularly

Re: BUG: soft lockup in snd_virmidi_output_trigger

2018-07-26 Thread Takashi Iwai
On Fri, 27 Jul 2018 06:13:22 +0200, Dae R. Jeong wrote: > > I tested it and it worked. > Thanks a lot! Good to hear. Below is the final patch with a proper comment (and with syzbot reported-by, too) I'm going to queue to sound.git tree. thanks, Takashi -- 8< -- From: Takashi Iwai Subject:

Re: BUG: soft lockup in snd_virmidi_output_trigger

2018-07-26 Thread Takashi Iwai
On Fri, 27 Jul 2018 06:13:22 +0200, Dae R. Jeong wrote: > > I tested it and it worked. > Thanks a lot! Good to hear. Below is the final patch with a proper comment (and with syzbot reported-by, too) I'm going to queue to sound.git tree. thanks, Takashi -- 8< -- From: Takashi Iwai Subject:

Re: [PATCH v3 1/2] leds: core: Introduce generic pattern interface

2018-07-26 Thread Baolin Wang
Hi Pavel, On 24 July 2018 at 19:41, Pavel Machek wrote: > Hi! > >> >> > >Please keep in mind that this is ABI documentation for the pattern file >> >> > >to be exposed by LED core, and not by the pattern trigger, that, as we >> >> > >agreed, will be implemented later. In this case, I'd go for >>

Re: [PATCH v3 1/2] leds: core: Introduce generic pattern interface

2018-07-26 Thread Baolin Wang
Hi Pavel, On 24 July 2018 at 19:41, Pavel Machek wrote: > Hi! > >> >> > >Please keep in mind that this is ABI documentation for the pattern file >> >> > >to be exposed by LED core, and not by the pattern trigger, that, as we >> >> > >agreed, will be implemented later. In this case, I'd go for >>

Re: [PATCH 01/14] thermal: ti-soc-thermal: fix TALERT IRQ handling for DRA752

2018-07-26 Thread Keerthy
On Wednesday 25 July 2018 07:57 PM, Bartlomiej Zolnierkiewicz wrote: > On Wednesday, July 11, 2018 07:49:41 AM J, KEERTHY wrote: >> >> On 5/14/2018 5:12 PM, Bartlomiej Zolnierkiewicz wrote: >>> .report_temperature is not set in dra752_data which >>> results in temperature updates not being

Re: [PATCH 01/14] thermal: ti-soc-thermal: fix TALERT IRQ handling for DRA752

2018-07-26 Thread Keerthy
On Wednesday 25 July 2018 07:57 PM, Bartlomiej Zolnierkiewicz wrote: > On Wednesday, July 11, 2018 07:49:41 AM J, KEERTHY wrote: >> >> On 5/14/2018 5:12 PM, Bartlomiej Zolnierkiewicz wrote: >>> .report_temperature is not set in dra752_data which >>> results in temperature updates not being

Re: m68k allmodconfig build errors

2018-07-26 Thread Finn Thain
On Thu, 26 Jul 2018, Randy Dunlap wrote: > > > > The untested patch below may work. It seems that it may be relevant to > > both arc and m68k: > > > I got back to looking at the build errors. I agree with Andreas that > all of the fields in question are null-terminated, so Finn's patch

Re: m68k allmodconfig build errors

2018-07-26 Thread Finn Thain
On Thu, 26 Jul 2018, Randy Dunlap wrote: > > > > The untested patch below may work. It seems that it may be relevant to > > both arc and m68k: > > > I got back to looking at the build errors. I agree with Andreas that > all of the fields in question are null-terminated, so Finn's patch

Re: [PATCH v6 5/6] Uprobes/sdt: Prevent multiple reference counter for same uprobe

2018-07-26 Thread Ravi Bangoria
Hi Oleg, On 07/25/2018 04:38 PM, Oleg Nesterov wrote: > No, I can't understand this patch... > > On 07/16, Ravi Bangoria wrote: >> >> --- a/kernel/events/uprobes.c >> +++ b/kernel/events/uprobes.c >> @@ -63,6 +63,8 @@ static struct percpu_rw_semaphore dup_mmap_sem; >> >> /* Have a copy of

Re: [PATCH v6 5/6] Uprobes/sdt: Prevent multiple reference counter for same uprobe

2018-07-26 Thread Ravi Bangoria
Hi Oleg, On 07/25/2018 04:38 PM, Oleg Nesterov wrote: > No, I can't understand this patch... > > On 07/16, Ravi Bangoria wrote: >> >> --- a/kernel/events/uprobes.c >> +++ b/kernel/events/uprobes.c >> @@ -63,6 +63,8 @@ static struct percpu_rw_semaphore dup_mmap_sem; >> >> /* Have a copy of

Re: BUG: soft lockup in snd_virmidi_output_trigger

2018-07-26 Thread Dae R. Jeong
On Thu, Jul 26, 2018 at 02:50:25PM +0200, Takashi Iwai wrote: > On Thu, 26 Jul 2018 07:53:26 +0200, > Dae R. Jeong wrote: > > > > Reporting the crash: BUG: soft lockup in snd_virmidi_output_trigger > > > > This crash has been found in v4.18-rc3 using RaceFuzzer (a modified > > version of

Re: BUG: soft lockup in snd_virmidi_output_trigger

2018-07-26 Thread Dae R. Jeong
On Thu, Jul 26, 2018 at 02:50:25PM +0200, Takashi Iwai wrote: > On Thu, 26 Jul 2018 07:53:26 +0200, > Dae R. Jeong wrote: > > > > Reporting the crash: BUG: soft lockup in snd_virmidi_output_trigger > > > > This crash has been found in v4.18-rc3 using RaceFuzzer (a modified > > version of

[PATCH] serial: 8250_dw: Add ACPI support for uart on Broadcom SoC

2018-07-26 Thread Srinath Mannam
Add ACPI identifier HID for UART DW 8250 on Broadcom SoCs to match the HID passed through ACPI tables to enable UART controller. Signed-off-by: Srinath Mannam Reviewed-by: Vladimir Olovyannikov Tested-by: Vladimir Olovyannikov Reviewed-by: Ray Jui --- drivers/tty/serial/8250/8250_dw.c | 1 +

[PATCH] serial: 8250_dw: Add ACPI support for uart on Broadcom SoC

2018-07-26 Thread Srinath Mannam
Add ACPI identifier HID for UART DW 8250 on Broadcom SoCs to match the HID passed through ACPI tables to enable UART controller. Signed-off-by: Srinath Mannam Reviewed-by: Vladimir Olovyannikov Tested-by: Vladimir Olovyannikov Reviewed-by: Ray Jui --- drivers/tty/serial/8250/8250_dw.c | 1 +

Request for Partnership!

2018-07-26 Thread Richard
Sir/Madam, I have access to very vital information that can be used to move huge amount of money. I have done my homework very well and i have the machineries in place to get it done since I am still in active service. If it was possible for me to do it alone I would not have bothered

Request for Partnership!

2018-07-26 Thread Richard
Sir/Madam, I have access to very vital information that can be used to move huge amount of money. I have done my homework very well and i have the machineries in place to get it done since I am still in active service. If it was possible for me to do it alone I would not have bothered

Re: [PATCH RT v3] arm64: fpsimd: use preemp_disable in addition to local_bh_disable()

2018-07-26 Thread Mike Galbraith
On Thu, 2018-07-26 at 17:06 +0200, Sebastian Andrzej Siewior wrote: > > @@ -1115,6 +1139,7 @@ void kernel_neon_begin(void) > > BUG_ON(!may_use_simd()); > > + preempt_disable(); > local_bh_disable(); > > __this_cpu_write(kernel_neon_busy, true); > @@ -1131,6 +1156,7 @@

Re: [PATCH RT v3] arm64: fpsimd: use preemp_disable in addition to local_bh_disable()

2018-07-26 Thread Mike Galbraith
On Thu, 2018-07-26 at 17:06 +0200, Sebastian Andrzej Siewior wrote: > > @@ -1115,6 +1139,7 @@ void kernel_neon_begin(void) > > BUG_ON(!may_use_simd()); > > + preempt_disable(); > local_bh_disable(); > > __this_cpu_write(kernel_neon_busy, true); > @@ -1131,6 +1156,7 @@

Re: [LKP] [rcutorture] 3b745c8969: WARNING:at_mm/slab_common.c:#kmalloc_slab

2018-07-26 Thread Paul E. McKenney
On Thu, Jul 26, 2018 at 04:34:36PM -0700, Joel Fernandes wrote: > On Thu, Jul 26, 2018 at 04:53:25AM -0700, Paul E. McKenney wrote: > > On Thu, Jul 26, 2018 at 04:50:15PM +0800, kernel test robot wrote: > > > > > > FYI, we noticed the following commit (built with gcc-5): > > > > > > commit:

Re: [LKP] [rcutorture] 3b745c8969: WARNING:at_mm/slab_common.c:#kmalloc_slab

2018-07-26 Thread Paul E. McKenney
On Thu, Jul 26, 2018 at 04:34:36PM -0700, Joel Fernandes wrote: > On Thu, Jul 26, 2018 at 04:53:25AM -0700, Paul E. McKenney wrote: > > On Thu, Jul 26, 2018 at 04:50:15PM +0800, kernel test robot wrote: > > > > > > FYI, we noticed the following commit (built with gcc-5): > > > > > > commit:

[PATCH 00/10] staging: gasket: logging cleanups

2018-07-26 Thread Todd Poynor
From: Todd Poynor Kill off gasket logging functions, convert to standard. Fixup a few formatting/style problems in the process. Todd Poynor (10): staging: gasket: save struct device for a gasket device staging: gasket: core: convert to standard logging staging: gasket: interrupt: convert

[PATCH 00/10] staging: gasket: logging cleanups

2018-07-26 Thread Todd Poynor
From: Todd Poynor Kill off gasket logging functions, convert to standard. Fixup a few formatting/style problems in the process. Todd Poynor (10): staging: gasket: save struct device for a gasket device staging: gasket: core: convert to standard logging staging: gasket: interrupt: convert

[PATCH 05/10] staging: gasket: page table: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Replace gasket logging calls with standard logging calls. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_page_table.c | 131 + 1 file changed, 54 insertions(+), 77 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c

[PATCH 10/10] staging: gasket: don't print device addresses as kernel pointers

2018-07-26 Thread Todd Poynor
From: Todd Poynor Print device addresses as unsigned long, not as kernel pointers. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_page_table.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c

[PATCH 03/10] staging: gasket: interrupt: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Convert gasket logging calls to standard functions. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_interrupt.c | 67 +++ 1 file changed, 32 insertions(+), 35 deletions(-) diff --git a/drivers/staging/gasket/gasket_interrupt.c

[PATCH 04/10] staging: gasket: ioctl: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Replace gasket logging calls with standard logging calls. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_ioctl.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers/staging/gasket/gasket_ioctl.c

[PATCH 07/10] staging: gasket: apex: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Drop gasket logging calls in favor of standard logging. Signed-off-by: Todd Poynor --- drivers/staging/gasket/apex_driver.c | 61 1 file changed, 26 insertions(+), 35 deletions(-) diff --git a/drivers/staging/gasket/apex_driver.c

[PATCH 05/10] staging: gasket: page table: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Replace gasket logging calls with standard logging calls. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_page_table.c | 131 + 1 file changed, 54 insertions(+), 77 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c

[PATCH 10/10] staging: gasket: don't print device addresses as kernel pointers

2018-07-26 Thread Todd Poynor
From: Todd Poynor Print device addresses as unsigned long, not as kernel pointers. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_page_table.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c

[PATCH 03/10] staging: gasket: interrupt: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Convert gasket logging calls to standard functions. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_interrupt.c | 67 +++ 1 file changed, 32 insertions(+), 35 deletions(-) diff --git a/drivers/staging/gasket/gasket_interrupt.c

[PATCH 04/10] staging: gasket: ioctl: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Replace gasket logging calls with standard logging calls. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_ioctl.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers/staging/gasket/gasket_ioctl.c

[PATCH 07/10] staging: gasket: apex: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Drop gasket logging calls in favor of standard logging. Signed-off-by: Todd Poynor --- drivers/staging/gasket/apex_driver.c | 61 1 file changed, 26 insertions(+), 35 deletions(-) diff --git a/drivers/staging/gasket/apex_driver.c

[PATCH 08/10] staging: gasket: remove gasket logging header

2018-07-26 Thread Todd Poynor
From: Todd Poynor Gasket logging functions no longer used. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_logging.h | 64 - 1 file changed, 64 deletions(-) delete mode 100644 drivers/staging/gasket/gasket_logging.h diff --git

[PATCH 06/10] staging: gasket: sysfs: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Drop gasket logging calls in favor of standard logging. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_sysfs.c | 73 +-- 1 file changed, 35 insertions(+), 38 deletions(-) diff --git a/drivers/staging/gasket/gasket_sysfs.c

[PATCH 08/10] staging: gasket: remove gasket logging header

2018-07-26 Thread Todd Poynor
From: Todd Poynor Gasket logging functions no longer used. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_logging.h | 64 - 1 file changed, 64 deletions(-) delete mode 100644 drivers/staging/gasket/gasket_logging.h diff --git

[PATCH 06/10] staging: gasket: sysfs: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Drop gasket logging calls in favor of standard logging. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_sysfs.c | 73 +-- 1 file changed, 35 insertions(+), 38 deletions(-) diff --git a/drivers/staging/gasket/gasket_sysfs.c

[PATCH 09/10] staging: gasket: TODO: remove entry for convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Gasket/apex drivers now use standard logging, remove TODO entry for this. Signed-off-by: Todd Poynor --- drivers/staging/gasket/TODO | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/gasket/TODO b/drivers/staging/gasket/TODO index

[PATCH 09/10] staging: gasket: TODO: remove entry for convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Gasket/apex drivers now use standard logging, remove TODO entry for this. Signed-off-by: Todd Poynor --- drivers/staging/gasket/TODO | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/gasket/TODO b/drivers/staging/gasket/TODO index

[PATCH 02/10] staging: gasket: core: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Use standard logging functions, drop use of gasket log functions. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 295 --- 1 file changed, 134 insertions(+), 161 deletions(-) diff --git a/drivers/staging/gasket/gasket_core.c

[PATCH 01/10] staging: gasket: save struct device for a gasket device

2018-07-26 Thread Todd Poynor
From: Todd Poynor Save the struct device pointer to a gasket device in gasket's metadata, to facilitate use of standard logging calls and in anticipation of non-PCI gasket devices in the future. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 5 +++--

[PATCH 02/10] staging: gasket: core: convert to standard logging

2018-07-26 Thread Todd Poynor
From: Todd Poynor Use standard logging functions, drop use of gasket log functions. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 295 --- 1 file changed, 134 insertions(+), 161 deletions(-) diff --git a/drivers/staging/gasket/gasket_core.c

[PATCH 01/10] staging: gasket: save struct device for a gasket device

2018-07-26 Thread Todd Poynor
From: Todd Poynor Save the struct device pointer to a gasket device in gasket's metadata, to facilitate use of standard logging calls and in anticipation of non-PCI gasket devices in the future. Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 5 +++--

[PATCH] ASoC: uniphier: change functions to static

2018-07-26 Thread Katsuhiro Suzuki
This patch changes some functions that are not used by other objects to static. Signed-off-by: Katsuhiro Suzuki --- sound/soc/uniphier/aio-core.c | 6 +++--- sound/soc/uniphier/aio.h | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/sound/soc/uniphier/aio-core.c

[PATCH] ASoC: uniphier: add support for multichannel output

2018-07-26 Thread Katsuhiro Suzuki
This patch adds multichannel PCM output support for LD11/LD20. Currently driver tested and supported only 2ch, 6ch, and 8ch. Signed-off-by: Katsuhiro Suzuki --- sound/soc/uniphier/aio-core.c | 78 --- sound/soc/uniphier/aio-ld11.c | 2 +-

[PATCH] ASoC: uniphier: change functions to static

2018-07-26 Thread Katsuhiro Suzuki
This patch changes some functions that are not used by other objects to static. Signed-off-by: Katsuhiro Suzuki --- sound/soc/uniphier/aio-core.c | 6 +++--- sound/soc/uniphier/aio.h | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/sound/soc/uniphier/aio-core.c

[PATCH] ASoC: uniphier: add support for multichannel output

2018-07-26 Thread Katsuhiro Suzuki
This patch adds multichannel PCM output support for LD11/LD20. Currently driver tested and supported only 2ch, 6ch, and 8ch. Signed-off-by: Katsuhiro Suzuki --- sound/soc/uniphier/aio-core.c | 78 --- sound/soc/uniphier/aio-ld11.c | 2 +-

[PATCH] input: touchscreen: wdt87xx_i2c: Replace mdelay() with msleep() in wdt87xx_resume()

2018-07-26 Thread Jia-Ju Bai
wdt87xx_resume() is never called in atomic context. It calls mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/input/touchscreen/wdt87xx_i2c.c | 2

[PATCH] input: touchscreen: wdt87xx_i2c: Replace mdelay() with msleep() in wdt87xx_resume()

2018-07-26 Thread Jia-Ju Bai
wdt87xx_resume() is never called in atomic context. It calls mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/input/touchscreen/wdt87xx_i2c.c | 2

[PATCH] input: tablet: aiptek: Replace GFP_ATOMIC with GFP_KERNEL in aiptek_probe()

2018-07-26 Thread Jia-Ju Bai
aiptek_probe() is never called in atomic context. It calls usb_alloc_coherent() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replaced with GFP_KERNEL. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/input/tablet/aiptek.c

[PATCH] input: tablet: aiptek: Replace GFP_ATOMIC with GFP_KERNEL in aiptek_probe()

2018-07-26 Thread Jia-Ju Bai
aiptek_probe() is never called in atomic context. It calls usb_alloc_coherent() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replaced with GFP_KERNEL. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/input/tablet/aiptek.c

[PATCH] input: mouse: appletouch: Replace GFP_ATOMIC with GFP_KERNEL

2018-07-26 Thread Jia-Ju Bai
atp_open(), atp_recover() and atp_resume() are never called in atomic context. They call usb_submit_urb() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replaced with GFP_KERNEL. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai ---

[PATCH] input: mouse: appletouch: Replace GFP_ATOMIC with GFP_KERNEL

2018-07-26 Thread Jia-Ju Bai
atp_open(), atp_recover() and atp_resume() are never called in atomic context. They call usb_submit_urb() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replaced with GFP_KERNEL. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai ---

[PATCH] input: misc: yealink: Replace GFP_ATOMIC with GFP_KERNEL in usb_probe()

2018-07-26 Thread Jia-Ju Bai
usb_probe() is never called in atomic context. It calls usb_alloc_coherent() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replaced with GFP_KERNEL. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/input/misc/yealink.c | 4

[PATCH] input: misc: yealink: Replace GFP_ATOMIC with GFP_KERNEL in usb_probe()

2018-07-26 Thread Jia-Ju Bai
usb_probe() is never called in atomic context. It calls usb_alloc_coherent() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replaced with GFP_KERNEL. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/input/misc/yealink.c | 4

[PATCH] input: misc: powermate: Replace GFP_ATOMIC with GFP_KERNEL in powermate_alloc_buffers()

2018-07-26 Thread Jia-Ju Bai
powermate_alloc_buffers() is never called in atomic context. It calls usb_alloc_coherent() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replaced with GFP_KERNEL. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai ---

[PATCH] input: misc: powermate: Replace GFP_ATOMIC with GFP_KERNEL in powermate_alloc_buffers()

2018-07-26 Thread Jia-Ju Bai
powermate_alloc_buffers() is never called in atomic context. It calls usb_alloc_coherent() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replaced with GFP_KERNEL. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai ---

[PATCH] input: misc: keyspan_remote: Replace GFP_ATOMIC with GFP_KERNEL in keyspan_probe()

2018-07-26 Thread Jia-Ju Bai
keyspan_probe() is never called in atomic context. It calls usb_alloc_coherent() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replace with GFP_KERNEL. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai ---

[PATCH] input: misc: keyspan_remote: Replace GFP_ATOMIC with GFP_KERNEL in keyspan_probe()

2018-07-26 Thread Jia-Ju Bai
keyspan_probe() is never called in atomic context. It calls usb_alloc_coherent() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replace with GFP_KERNEL. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai ---

Re: [PATCH] linux/bitmap.h: fix BITMAP_LAST_WORD_MASK

2018-07-26 Thread Wei Wang
On 07/26/2018 08:10 PM, Yury Norov wrote: On Thu, Jul 26, 2018 at 06:15:59PM +0800, Wei Wang wrote: External Email On 07/26/2018 05:37 PM, Yury Norov wrote: On Thu, Jul 26, 2018 at 04:07:51PM +0800, Wei Wang wrote: The existing BITMAP_LAST_WORD_MASK macro returns 0x if nbits is 0.

Re: [PATCH] linux/bitmap.h: fix BITMAP_LAST_WORD_MASK

2018-07-26 Thread Wei Wang
On 07/26/2018 08:10 PM, Yury Norov wrote: On Thu, Jul 26, 2018 at 06:15:59PM +0800, Wei Wang wrote: External Email On 07/26/2018 05:37 PM, Yury Norov wrote: On Thu, Jul 26, 2018 at 04:07:51PM +0800, Wei Wang wrote: The existing BITMAP_LAST_WORD_MASK macro returns 0x if nbits is 0.

RE: [PATCH v8 1/6] ARM: imx6q: provide documentation for new fsl,pmic-stby-poweroff property

2018-07-26 Thread Robin Gong
> -Original Message- > From: Oleksij Rempel [mailto:o.rem...@pengutronix.de] > Sent: 2018年7月26日 19:38 > To: Robin Gong ; Shawn Guo ; > Mark Brown ; Rafael J. Wysocki > > Cc: ker...@pengutronix.de; devicet...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org;

RE: [PATCH v8 1/6] ARM: imx6q: provide documentation for new fsl,pmic-stby-poweroff property

2018-07-26 Thread Robin Gong
> -Original Message- > From: Oleksij Rempel [mailto:o.rem...@pengutronix.de] > Sent: 2018年7月26日 19:38 > To: Robin Gong ; Shawn Guo ; > Mark Brown ; Rafael J. Wysocki > > Cc: ker...@pengutronix.de; devicet...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org;

linux-next: build failure after merge of the v4l-dvb tree

2018-07-26 Thread Stephen Rothwell
Hi Mauro, After merging the v4l-dvb tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/compat_ioctl.c: In function 'do_video_set_spu_palette': fs/compat_ioctl.c:218:45: error: invalid application of 'sizeof' to incomplete type 'struct video_spu_palette' up_native =

linux-next: build failure after merge of the v4l-dvb tree

2018-07-26 Thread Stephen Rothwell
Hi Mauro, After merging the v4l-dvb tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/compat_ioctl.c: In function 'do_video_set_spu_palette': fs/compat_ioctl.c:218:45: error: invalid application of 'sizeof' to incomplete type 'struct video_spu_palette' up_native =

Re: include architecture Kconfig files from top-level Kconfig v3

2018-07-26 Thread Masahiro Yamada
2018-07-27 2:21 GMT+09:00 Christoph Hellwig : > On Wed, Jul 25, 2018 at 01:30:24PM +0900, Masahiro Yamada wrote: >> Could you check the difference of CONFIG_PREEMPT_COUNT, please? >> >> >> For alpha, hexagon, um, >> CONFIG_PREEMPT_COUNT was previously never enabled >> because

Re: include architecture Kconfig files from top-level Kconfig v3

2018-07-26 Thread Masahiro Yamada
2018-07-27 2:21 GMT+09:00 Christoph Hellwig : > On Wed, Jul 25, 2018 at 01:30:24PM +0900, Masahiro Yamada wrote: >> Could you check the difference of CONFIG_PREEMPT_COUNT, please? >> >> >> For alpha, hexagon, um, >> CONFIG_PREEMPT_COUNT was previously never enabled >> because

Re: [PATCH] checkpatch: Warn when a patch doesn't have a description

2018-07-26 Thread Joe Perches
On Thu, 2018-07-26 at 15:08 -0700, Andrew Morton wrote: > On Wed, 25 Jul 2018 19:22:47 -0700 Joe Perches wrote: > > > Potential patches should have a commit description. > > Emit a warning when there isn't one. [] > I did this: > > --- >

Re: [PATCH] checkpatch: Warn when a patch doesn't have a description

2018-07-26 Thread Joe Perches
On Thu, 2018-07-26 at 15:08 -0700, Andrew Morton wrote: > On Wed, 25 Jul 2018 19:22:47 -0700 Joe Perches wrote: > > > Potential patches should have a commit description. > > Emit a warning when there isn't one. [] > I did this: > > --- >

Re: [PATCH v2 1/1] remoteproc: correct rproc_free_vring() to avoid invalid kernel paging

2018-07-26 Thread Suman Anna
On 07/26/2018 06:51 PM, Suman Anna wrote: > Hi Loic, > > On 07/26/2018 02:48 AM, Loic PALLARDY wrote: >> Hi Suman, >>> >>> Hi Loic, >>> >>> On 07/06/2018 02:46 AM, Loic Pallardy wrote: If rproc_start() failed, rproc_resource_cleanup() is called to clean debugfs entries, then associated

Re: [PATCH v2 1/1] remoteproc: correct rproc_free_vring() to avoid invalid kernel paging

2018-07-26 Thread Suman Anna
On 07/26/2018 06:51 PM, Suman Anna wrote: > Hi Loic, > > On 07/26/2018 02:48 AM, Loic PALLARDY wrote: >> Hi Suman, >>> >>> Hi Loic, >>> >>> On 07/06/2018 02:46 AM, Loic Pallardy wrote: If rproc_start() failed, rproc_resource_cleanup() is called to clean debugfs entries, then associated

[PATCH] remoteproc: Reset table_ptr in rproc_start() failure paths

2018-07-26 Thread Suman Anna
Unwind the modified table_ptr and restore it to the local copy upon any subsequent failures in the rproc_start() function. This keeps the function to remain balanced on failures without the need to balance any modified variables elsewhere. While at this, do some minor cleanup of the extra lines

[PATCH] remoteproc: Reset table_ptr in rproc_start() failure paths

2018-07-26 Thread Suman Anna
Unwind the modified table_ptr and restore it to the local copy upon any subsequent failures in the rproc_start() function. This keeps the function to remain balanced on failures without the need to balance any modified variables elsewhere. While at this, do some minor cleanup of the extra lines

Re: [NOMERGE] [RFC PATCH 00/12] erofs: introduce erofs file system

2018-07-26 Thread Joey Pabalinas
On Thu, Jul 26, 2018 at 02:55:11PM -1000, Joey Pabalinas wrote: > I thought the exact same thing; opened the thread and was a bit confused > at first. In my opinion the name feels slightly misleading. Oooh, reading more of the thread I see there is some fun wordplay going on which I didn't catch

Re: [NOMERGE] [RFC PATCH 00/12] erofs: introduce erofs file system

2018-07-26 Thread Joey Pabalinas
On Thu, Jul 26, 2018 at 02:55:11PM -1000, Joey Pabalinas wrote: > I thought the exact same thing; opened the thread and was a bit confused > at first. In my opinion the name feels slightly misleading. Oooh, reading more of the thread I see there is some fun wordplay going on which I didn't catch

Re: [PATCH] get_maintainer: Allow usage outside of kernel tree

2018-07-26 Thread Joe Perches
On Thu, 2018-07-26 at 15:39 -0700, Andrew Morton wrote: > On Tue, 26 Jun 2018 11:07:03 +0100 Antonio Nino Diaz > wrote: > > > Add option '--no-tree' to get_maintainer.pl script to allow using this > > script in projects that aren't the Linux kernel if they use the same > > format for their

Re: [PATCH] get_maintainer: Allow usage outside of kernel tree

2018-07-26 Thread Joe Perches
On Thu, 2018-07-26 at 15:39 -0700, Andrew Morton wrote: > On Tue, 26 Jun 2018 11:07:03 +0100 Antonio Nino Diaz > wrote: > > > Add option '--no-tree' to get_maintainer.pl script to allow using this > > script in projects that aren't the Linux kernel if they use the same > > format for their

Re: [NOMERGE] [RFC PATCH 00/12] erofs: introduce erofs file system

2018-07-26 Thread Joey Pabalinas
On Fri, Jun 01, 2018 at 11:28:07AM +0200, Richard Weinberger wrote: > > We also think of other candidate full names, such as > > Enhanced / Extented Read-only File System, all the names short for "erofs" > > are okay. > > TBH, I read "erofs" as "error fs". ;-) I thought the exact same thing;

Re: [NOMERGE] [RFC PATCH 00/12] erofs: introduce erofs file system

2018-07-26 Thread Joey Pabalinas
On Fri, Jun 01, 2018 at 11:28:07AM +0200, Richard Weinberger wrote: > > We also think of other candidate full names, such as > > Enhanced / Extented Read-only File System, all the names short for "erofs" > > are okay. > > TBH, I read "erofs" as "error fs". ;-) I thought the exact same thing;

Re: [PATCH v2 08/12] sched/core: uclamp: extend cpu's cgroup controller

2018-07-26 Thread Joel Fernandes
On Tue, Jul 24, 2018 at 06:29:02AM -0700, Tejun Heo wrote: > Hello, Patrick. > > On Mon, Jul 23, 2018 at 06:22:15PM +0100, Patrick Bellasi wrote: > > However, the "best effort" bandwidth control we have for CFS and RT > > can be further improved if, instead of just looking at time spent on > >

Re: [PATCH v2 08/12] sched/core: uclamp: extend cpu's cgroup controller

2018-07-26 Thread Joel Fernandes
On Tue, Jul 24, 2018 at 06:29:02AM -0700, Tejun Heo wrote: > Hello, Patrick. > > On Mon, Jul 23, 2018 at 06:22:15PM +0100, Patrick Bellasi wrote: > > However, the "best effort" bandwidth control we have for CFS and RT > > can be further improved if, instead of just looking at time spent on > >

Re: [PATCH 00/25] staging: erofs: introduce erofs file system

2018-07-26 Thread Christian Kujau
On Thu, 26 Jul 2018, Gao Xiang wrote: > EROFS file system is a read-only file system with compression > support designed for certain devices (especially embeded > devices) with very limited physical memory and lots of memory Out of curiousity, and as Richard already asked[0] - what about existing

Re: [PATCH 00/25] staging: erofs: introduce erofs file system

2018-07-26 Thread Christian Kujau
On Thu, 26 Jul 2018, Gao Xiang wrote: > EROFS file system is a read-only file system with compression > support designed for certain devices (especially embeded > devices) with very limited physical memory and lots of memory Out of curiousity, and as Richard already asked[0] - what about existing

[PATCH 2/2] android: binder: Rate-limit debug and userspace triggered err msgs

2018-07-26 Thread Sherry Yang
Use rate-limited debug messages where userspace can trigger excessive log spams. Acked-by: Arve Hjønnevåg Signed-off-by: Sherry Yang --- drivers/android/binder.c | 5 +++-- drivers/android/binder_alloc.c | 41 +- 2 files changed, 29 insertions(+), 17

[PATCH 0/2] android: binder: debug message improvements

2018-07-26 Thread Sherry Yang
This patch set includes extra_buffers_size in trace so that the total transaction size can be inferred. It also ratelimits debug messages to avoid excessive log spams reported by sysbot. android: binder: Show extra_buffers_size in trace android: binder: Rate-limit debug and userspace

  1   2   3   4   5   6   7   8   9   10   >