[PATCH] of/fdt: don't ignore errors from of_setup_earlycon

2019-09-09 Thread Christoph Hellwig
If of_setup_earlycon we should keep on iterating earlycon options instead of breaking out of the loop. Signed-off-by: Christoph Hellwig --- drivers/of/fdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index

Re: [PATCH] Revert "locking/pvqspinlock: Don't wait if vCPU is preempted"

2019-09-09 Thread Wanpeng Li
On Mon, 9 Sep 2019 at 18:56, Waiman Long wrote: > > On 9/9/19 2:40 AM, Wanpeng Li wrote: > > From: Wanpeng Li > > > > This patch reverts commit 75437bb304b20 (locking/pvqspinlock: Don't wait if > > vCPU is preempted), we found great regression caused by this commit. > > > > Xeon Skylake box, 2

[PATCH v2 2/2] nvmem: sprd: Add Spreadtrum SoCs eFuse support

2019-09-09 Thread Baolin Wang
From: Freeman Liu The Spreadtrum eFuse controller is widely used to dump chip ID, configuration setting, function select and so on, as well as supporting one-time programming. Signed-off-by: Freeman Liu Signed-off-by: Baolin Wang --- Changes from v1: - None --- drivers/nvmem/Kconfig |

[PATCH v2 1/2] dt-bindings: nvmem: Add Spreadtrum eFuse controller documentation

2019-09-09 Thread Baolin Wang
From: Freeman Liu This patch adds the binding documentation for Spreadtrum eFuse controller. Signed-off-by: Freeman Liu Signed-off-by: Baolin Wang Reviewed-by: Rob Herring --- Changes from v1: - Add reviewed tag from Rob. --- .../devicetree/bindings/nvmem/sprd-efuse.txt | 39

Re: [PATCH 1/1] mm/pgtable/debug: Add test validating architecture page table helpers

2019-09-09 Thread Anshuman Khandual
On 09/10/2019 10:15 AM, Christophe Leroy wrote: > > > On 09/10/2019 03:56 AM, Anshuman Khandual wrote: >> >> >> On 09/09/2019 08:43 PM, Kirill A. Shutemov wrote: >>> On Mon, Sep 09, 2019 at 11:56:50AM +0530, Anshuman Khandual wrote: On 09/07/2019 12:33 AM, Gerald Schaefer

Re: [PATCH v6 00/12] implement KASLR for powerpc/fsl_booke/32

2019-09-09 Thread Jason Yan
Hi Scott, On 2019/8/28 12:05, Scott Wood wrote: On Fri, 2019-08-09 at 18:07 +0800, Jason Yan wrote: This series implements KASLR for powerpc/fsl_booke/32, as a security feature that deters exploit attempts relying on knowledge of the location of kernel internals. Since CONFIG_RELOCATABLE has

Re: [PATCH v2] Staging: gasket: Use temporaries to reduce line length.

2019-09-09 Thread Sandro Volery LKML
Wow... I checked, compiled and still sent the wrong thing again. I'm gonna have to give this up soon if i can't get it right. Sandro V > On 10 Sep 2019, at 07:06, Sandro Volery wrote: > > Using temporaries for gasket_page_table entries to remove scnprintf() > statements and reduce line

[PATCH v2] Staging: gasket: Use temporaries to reduce line length.

2019-09-09 Thread Sandro Volery
Using temporaries for gasket_page_table entries to remove scnprintf() statements and reduce line length, as suggested by Joe Perches. Thanks! Signed-off-by: Sandro Volery --- drivers/staging/gasket/apex_driver.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff

Re: [PATCH] Staging: gasket: Use temporaries to reduce line length.

2019-09-09 Thread Sandro Volery
> On 10 Sep 2019, at 00:30, Joe Perches wrote: > > On Mon, 2019-09-09 at 22:28 +0200, Sandro Volery wrote: >> Using temporaries for gasket_page_table entries to remove scnprintf() >> statements and reduce line length, as suggested by Joe Perches. Thanks! > > nak. Slow down. You broke the

Re: [PATCH 1/1] mm/pgtable/debug: Add test validating architecture page table helpers

2019-09-09 Thread Christophe Leroy
On 09/10/2019 03:56 AM, Anshuman Khandual wrote: On 09/09/2019 08:43 PM, Kirill A. Shutemov wrote: On Mon, Sep 09, 2019 at 11:56:50AM +0530, Anshuman Khandual wrote: On 09/07/2019 12:33 AM, Gerald Schaefer wrote: On Fri, 6 Sep 2019 11:58:59 +0530 Anshuman Khandual wrote: On

[PATCH 1/8] x86/platform/uv: Save OEM_ID from ACPI MADT probe

2019-09-09 Thread Mike Travis
Save the OEM_ID and OEM_TABLE_ID passed to the apic driver probe function for later use. Also, convert the char list arg passed from the kernel to a true null-terminated string. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo

[PATCH V2 6/8] x86/platform/uv: Decode UVsystab Info

2019-09-09 Thread Mike Travis
Decode the hubless UVsystab passed from BIOS to the kernel saving pertinent info in a similar manner that hubbed UVsystabs are decoded. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo Molnar To: H. Peter Anvin To: Andrew Morton

[PATCH 3/8] x86/platform/uv: Add return code to UV BIOS Init function

2019-09-09 Thread Mike Travis
Add a return code to the UV BIOS init function that indicates the successful initialization of the kernel/BIOS callback interface. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo Molnar To: H. Peter Anvin To: Andrew Morton To:

[PATCH V2 5/8] x86/platform/uv: Add UV Hubbed/Hubless Proc FS Files

2019-09-09 Thread Mike Travis
Indicate to UV user utilities that UV hubless support is available on this system via the existing /proc infterface. The current interface is maintained with the addition of new /proc leaves ("hubbed", "hubless", and "oemid") that contain the specific type of UV arch this one is. Signed-off-by:

[PATCH V2 2/8] x86/platform/uv: Return UV Hubless System Type

2019-09-09 Thread Mike Travis
Return the type of UV hubless system for UV specific code that depends on that. Use a define to indicate the change in arg type for this function in uv.h. Add a function to convert UV system type to bit pattern needed for is_uv_hubless(). Signed-off-by: Mike Travis Reviewed-by: Steve Wahl

[PATCH 4/8] x86/platform/uv: Setup UV functions for Hubless UV Systems

2019-09-09 Thread Mike Travis
Add more support for UV systems that do not contain a UV Hub (AKA "hubless"). This update adds support for additional functions required: Use PCH NMI handler instead of a UV Hub NMI handler. Initialize the UV BIOS callback interface used to support specific UV functions.

[PATCH 7/8] x86/platform/uv: Check EFI Boot to set reboot type

2019-09-09 Thread Mike Travis
Change to checking for EFI Boot type from previous check on if this is a KDUMP kernel. This allows for KDUMP kernels that can handle EFI reboots. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo Molnar To: H. Peter Anvin To:

[PATCH V2 8/8] x86/platform/uv: Account for UV Hubless in is_uvX_hub Ops

2019-09-09 Thread Mike Travis
The references in the is_uvX_hub() function uses the hub_info pointer which will be NULL when the system is hubless. This change avoids that NULL dereference. It is also an optimization in performance. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To:

[PATCH V2 0/8] x86/platform/UV: Update UV Hubless System Support

2019-09-09 Thread Mike Travis
On 9/5/2019 11:47 AM, Mike Travis wrote: > > These patches support upcoming UV systems that do not have a UV HUB. > > [1/8] Save OEM_ID from ACPI MADT probe > > [2/8] Return UV Hubless System Type V2: Remove is_uv_hubless define Remove leading '_' from _is_uv_hubless > [3/8] Add

[PATCH 4/8] x86/platform/uv: Setup UV functions for Hubless UV Systems

2019-09-09 Thread Mike Travis
Add more support for UV systems that do not contain a UV Hub (AKA "hubless"). This update adds support for additional functions required: Use PCH NMI handler instead of a UV Hub NMI handler. Initialize the UV BIOS callback interface used to support specific UV functions.

[PATCH 3/8] x86/platform/uv: Add return code to UV BIOS Init function

2019-09-09 Thread Mike Travis
Add a return code to the UV BIOS init function that indicates the successful initialization of the kernel/BIOS callback interface. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo Molnar To: H. Peter Anvin To: Andrew Morton To:

[PATCH V2 6/8] x86/platform/uv: Decode UVsystab Info

2019-09-09 Thread Mike Travis
Decode the hubless UVsystab passed from BIOS to the kernel saving pertinent info in a similar manner that hubbed UVsystabs are decoded. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo Molnar To: H. Peter Anvin To: Andrew Morton

[PATCH 7/8] x86/platform/uv: Check EFI Boot to set reboot type

2019-09-09 Thread Mike Travis
Change to checking for EFI Boot type from previous check on if this is a KDUMP kernel. This allows for KDUMP kernels that can handle EFI reboots. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo Molnar To: H. Peter Anvin To:

[PATCH V2 8/8] x86/platform/uv: Account for UV Hubless in is_uvX_hub Ops

2019-09-09 Thread Mike Travis
The references in the is_uvX_hub() function uses the hub_info pointer which will be NULL when the system is hubless. This change avoids that NULL dereference. It is also an optimization in performance. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To:

[PATCH 1/8] x86/platform/uv: Save OEM_ID from ACPI MADT probe

2019-09-09 Thread Mike Travis
Save the OEM_ID and OEM_TABLE_ID passed to the apic driver probe function for later use. Also, convert the char list arg passed from the kernel to a true null-terminated string. Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Dimitri Sivanich To: Thomas Gleixner To: Ingo

[PATCH V2 2/8] x86/platform/uv: Return UV Hubless System Type

2019-09-09 Thread Mike Travis
Return the type of UV hubless system for UV specific code that depends on that. Use a define to indicate the change in arg type for this function in uv.h. Add a function to convert UV system type to bit pattern needed for is_uv_hubless(). Signed-off-by: Mike Travis Reviewed-by: Steve Wahl

[PATCH V2 5/8] x86/platform/uv: Add UV Hubbed/Hubless Proc FS Files

2019-09-09 Thread Mike Travis
Indicate to UV user utilities that UV hubless support is available on this system via the existing /proc infterface. The current interface is maintained with the addition of new /proc leaves ("hubbed", "hubless", and "oemid") that contain the specific type of UV arch this one is. Signed-off-by:

[PATCH V2 0/8] x86/platform/UV: Update UV Hubless System Support

2019-09-09 Thread Mike Travis
On 9/5/2019 11:47 AM, Mike Travis wrote: > > These patches support upcoming UV systems that do not have a UV HUB. > > [1/8] Save OEM_ID from ACPI MADT probe > > [2/8] Return UV Hubless System Type V2: Remove is_uv_hubless define Remove leading '_' from _is_uv_hubless > [3/8] Add

Re: Linux 5.3-rc8

2019-09-09 Thread Ahmed S. Darwish
Hi, On Sun, Sep 08, 2019 at 01:59:27PM -0700, Linus Torvalds wrote: > So we probably didn't strictly need an rc8 this release, but with LPC > and the KS conference travel this upcoming week it just makes > everything easier. > The commit b03755ad6f33 (ext4: make __ext4_get_inode_loc plug), [1]

[PATCH] tty: serial: rda: Fix the link time qualifier of 'rda_uart_exit()'

2019-09-09 Thread Christophe JAILLET
'exit' functions should be marked as __exit, not __init. Fixes: c10b13325ced ("tty: serial: Add RDA8810PL UART driver") Signed-off-by: Christophe JAILLET --- drivers/tty/serial/rda-uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/rda-uart.c

[PATCH] tty: serial: owl: Fix the link time qualifier of 'owl_uart_exit()'

2019-09-09 Thread Christophe JAILLET
'exit' functions should be marked as __exit, not __init. Fixes: fc60a8b675bd ("tty: serial: owl: Implement console driver") Signed-off-by: Christophe JAILLET --- drivers/tty/serial/owl-uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/owl-uart.c

Re: [PATCH] smack: include linux/watch_queue.h

2019-09-09 Thread kbuild test robot
Hi Arnd, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc8 next-20190904] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH] mips: Loongson: Fix the link time qualifier of 'serial_exit()'

2019-09-09 Thread Christophe JAILLET
'exit' functions should be marked as __exit, not __init. Fixes: 85cc028817ef ("mips: make loongsoon serial driver explicitly modular") Signed-off-by: Christophe JAILLET --- arch/mips/loongson64/common/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v3 0/3] kernel/notifier.c: avoid duplicate registration

2019-09-09 Thread Xiaoming Ni
On 2019/7/17 19:15, Vasily Averin wrote: > On 7/16/19 5:07 PM, Xiaoming Ni wrote: >> On 2019/7/16 18:20, Vasily Averin wrote: >>> On 7/16/19 5:00 AM, Xiaoming Ni wrote: On 2019/7/15 13:38, Vasily Averin wrote: > On 7/14/19 5:45 AM, Xiaoming Ni wrote: >> On 2019/7/12 22:07,

Re: [PATCH 1/1] mm/pgtable/debug: Add test validating architecture page table helpers

2019-09-09 Thread Anshuman Khandual
On 09/09/2019 08:43 PM, Kirill A. Shutemov wrote: > On Mon, Sep 09, 2019 at 11:56:50AM +0530, Anshuman Khandual wrote: >> >> >> On 09/07/2019 12:33 AM, Gerald Schaefer wrote: >>> On Fri, 6 Sep 2019 11:58:59 +0530 >>> Anshuman Khandual wrote: >>> On 09/05/2019 10:36 PM, Gerald Schaefer

Re: [PATCH] arm64: fix unreachable code issue with cmpxchg

2019-09-09 Thread Nathan Chancellor
On Mon, Sep 09, 2019 at 10:21:35PM +0200, Arnd Bergmann wrote: > On arm64 build with clang, sometimes the __cmpxchg_mb is not inlined > when CONFIG_OPTIMIZE_INLINING is set. > Clang then fails a compile-time assertion, because it cannot tell at > compile time what the size of the argument is: > >

Re: [PATCH] smack: include linux/watch_queue.h

2019-09-09 Thread kbuild test robot
Hi Arnd, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc8 next-20190904] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

possible deadlock in shmem_fallocate (3)

2019-09-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:6d028043 Add linux-next specific files for 20190830 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=12359ec660 kernel config: https://syzkaller.appspot.com/x/.config?x=82a6bec43ab0cb69

[PATCH 1/2] arm64: dts: imx8mn: Add system counter node

2019-09-09 Thread Anson Huang
Add i.MX8MN system counter node to enable timer-imx-sysctr broadcast timer driver. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi

[PATCH 2/2] arm64: dts: imx8mn: Enable cpu-idle driver

2019-09-09 Thread Anson Huang
Enable i.MX8MN cpu-idle using generic ARM cpu-idle driver, 2 states are supported, details as below: root@imx8mnevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/name WFI root@imx8mnevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/usage 3098 root@imx8mnevk:~# cat

Re: [PATCH 2/4] mmc: Add virtual command queue support

2019-09-09 Thread Baolin Wang
On Mon, 9 Sep 2019 at 20:45, Adrian Hunter wrote: > > On 9/09/19 3:16 PM, Baolin Wang wrote: > > Hi Adrian, > > > > On Mon, 9 Sep 2019 at 20:02, Adrian Hunter wrote: > >> > >> On 6/09/19 6:52 AM, Baolin Wang wrote: > >>> Now the MMC read/write stack will always wait for previous request is > >>>

Re: [RFC PATCH v4 0/9] printk: new ringbuffer implementation

2019-09-09 Thread Sergey Senozhatsky
On (09/06/19 16:01), Peter Zijlstra wrote: > In fact, i've gotten output that is plain impossible with > the current junk. Peter, can you post any of those backtraces? Very curious. -ss

Re: [RFC PATCH v4 9/9] printk: use a new ringbuffer implementation

2019-09-09 Thread Sergey Senozhatsky
On (08/10/19 07:53), Thomas Gleixner wrote: > > Right now we have an implementation for serial only, but that already is > useful. I nicely got (minimaly garbled) crash dumps out of an NMI > handler. With the current mainline console code the machine just hung. > Thomas, any chance you can post

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-09 Thread Sagi Grimberg
Hey Ming, Ok, so the real problem is per-cpu bounded tasks. I share Thomas opinion about a NAPI like approach. We already have that, its irq_poll, but it seems that for this use-case, we get lower performance for some reason. I'm not entirely sure why that is, maybe its because we need to

Zdravstvujte! Vas interesujut klientskie bazy dannyh?

2019-09-09 Thread 128128promteh
Zdravstvujte! Vas interesujut klientskie bazy dannyh?

[PATCH 0/2] Add bounds check for Hotplugged memory

2019-09-09 Thread Alastair D'Silva
From: Alastair D'Silva This series adds bounds checks for hotplugged memory, ensuring that it is within the physically addressable range (for platforms that define MAX_(POSSIBLE_)PHYSMEM_BITS. This allows for early failure, rather than attempting to access bogus section numbers. Alastair

[PATCH 2/2] mm: Add a bounds check in devm_memremap_pages()

2019-09-09 Thread Alastair D'Silva
From: Alastair D'Silva The call to check_hotplug_memory_addressable() validates that the memory is fully addressable. Without this call, it is possible that we may remap pages that is not physically addressable, resulting in bogus section numbers being returned from __section_nr().

[PATCH 1/2] memory_hotplug: Add a bounds check to check_hotplug_memory_range()

2019-09-09 Thread Alastair D'Silva
From: Alastair D'Silva On PowerPC, the address ranges allocated to OpenCAPI LPC memory are allocated from firmware. These address ranges may be higher than what older kernels permit, as we increased the maximum permissable address in commit 4ffe713b7587 ("powerpc/mm: Increase the max addressable

RE: [PATCH] clk: imx: lpcg: write twice when writing lpcg regs

2019-09-09 Thread Anson Huang
> On Sat, Sep 7, 2019 at 9:47 PM Stephen Boyd wrote: > > > > Quoting Peng Fan (2019-08-27 01:17:50) > > > From: Peng Fan > > > > > > There is hardware issue that: > > > The output clock the LPCG cell will not turn back on as expected, > > > even though a read of the IPG registers in the LPCG

Re: [PATCH v1 1/1] ARM: dts: rockchip: set crypto default disabled on rk3288

2019-09-09 Thread Elon Zhang
Hi Heiko, On 9/1/2019 07:04, Heiko Stuebner wrote: Hi Elon, Am Donnerstag, 29. August 2019, 13:31:00 CEST schrieb Elon Zhang: On 8/27/2019 22:28, Heiko Stuebner wrote: Am Dienstag, 27. August 2019, 09:14:39 CEST schrieb Elon Zhang: Not every board needs to enable crypto node, so the node

[PATCH] arm64: dts: imx8mn: Add "fsl,imx8mq-src" as src's fallback compatible

2019-09-09 Thread Anson Huang
i.MX8MN can reuse i.MX8MQ's src driver, add "fsl,imx8mq-src" as src's fallback compatible to enable it. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi

[PATCH] proc:fix confusing macro arg name

2019-09-09 Thread Miaohe Lin
state_size and ops are in the wrong position, fix it. Signed-off-by: Miaohe Lin --- include/linux/proc_fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index a705aa2d03f9..0640be56dcbd 100644 ---

RE: [EXT] Re: [PATCH 3/3] ASoC: fsl_asrc: Fix error with S24_3LE format bitstream in i.MX8

2019-09-09 Thread S.j. Wang
Hi > > On Mon, Sep 09, 2019 at 06:33:21PM -0400, Shengjiu Wang wrote: > > There is error "aplay: pcm_write:2023: write error: Input/output error" > > on i.MX8QM/i.MX8QXP platform for S24_3LE format. > > > > In i.MX8QM/i.MX8QXP, the DMA is EDMA, which don't support 24bit > > sample, but we

Re: [PATCH 1/2] export.h: remove defined(__KERNEL__)

2019-09-09 Thread Nicolas Pitre
On Tue, 10 Sep 2019, Masahiro Yamada wrote: > On Tue, Sep 10, 2019 at 1:06 AM Nicolas Pitre wrote: > > > > On Mon, 9 Sep 2019, Masahiro Yamada wrote: > > > > > Hi Nicolas, > > > > > > On Mon, Sep 9, 2019 at 10:48 PM Nicolas Pitre wrote: > > > > > > > > On Mon, 9 Sep 2019, Masahiro Yamada wrote:

RE: [EXT] Re: [PATCH 1/3] ASoC: fsl_asrc: Use in(out)put_format instead of in(out)put_word_width

2019-09-09 Thread S.j. Wang
Hi > > On Mon, Sep 09, 2019 at 06:33:19PM -0400, Shengjiu Wang wrote: > > snd_pcm_format_t is more formal than enum asrc_word_width, which > has > > two property, width and physical width, which is more accurate than > > enum asrc_word_width. So it is better to use in(out)put_format instead > >

Re: [PATCH] mm: avoid slub allocation while holding list_lock

2019-09-09 Thread Yu Zhao
On Tue, Sep 10, 2019 at 10:41:31AM +0900, Tetsuo Handa wrote: > Yu Zhao wrote: > > I think we can safely assume PAGE_SIZE is unsigned long aligned and > > page->objects is non-zero. But if you don't feel comfortable with these > > assumptions, I'd be happy to ensure them explicitly. > > I know

Re: [PATCH 1/2] export.h: remove defined(__KERNEL__)

2019-09-09 Thread Masahiro Yamada
On Tue, Sep 10, 2019 at 1:06 AM Nicolas Pitre wrote: > > On Mon, 9 Sep 2019, Masahiro Yamada wrote: > > > Hi Nicolas, > > > > On Mon, Sep 9, 2019 at 10:48 PM Nicolas Pitre wrote: > > > > > > On Mon, 9 Sep 2019, Masahiro Yamada wrote: > > > > > > > This line was touched by commit f235541699bc

Re: [PATCH 2/3] ASoC: fsl_asrc: update supported sample format

2019-09-09 Thread S.j. Wang
Hi > > On Mon, Sep 09, 2019 at 06:33:20PM -0400, Shengjiu Wang wrote: > > The ASRC support 24bit/16bit/8bit input width, so S20_3LE format > > should not be supported, it is word width is 20bit. > > I thought 3LE used 24-bit physical width. And the driver assigns > ASRC_WIDTH_24_BIT to "width"

[PATCH] reset: uniphier-glue: Add Pro5 USB3 support

2019-09-09 Thread Kunihiko Hayashi
Pro5 SoC has same scheme of USB3 reset as Pro4, so the data for Pro5 is equivalent to Pro4. Signed-off-by: Kunihiko Hayashi --- Documentation/devicetree/bindings/reset/uniphier-reset.txt | 5 +++-- drivers/reset/reset-uniphier-glue.c| 4 2 files changed, 7

Re: [PATCH 3/3] ASoC: fsl_asrc: Fix error with S24_3LE format bitstream in i.MX8

2019-09-09 Thread Nicolin Chen
On Mon, Sep 09, 2019 at 06:33:21PM -0400, Shengjiu Wang wrote: > There is error "aplay: pcm_write:2023: write error: Input/output error" > on i.MX8QM/i.MX8QXP platform for S24_3LE format. > > In i.MX8QM/i.MX8QXP, the DMA is EDMA, which don't support 24bit > sample, but we didn't add any

Re: [RFC PATCH untested] vhost: block speculation of translated descriptors

2019-09-09 Thread Jason Wang
On 2019/9/9 下午10:45, Michael S. Tsirkin wrote: On Mon, Sep 09, 2019 at 03:19:55PM +0800, Jason Wang wrote: On 2019/9/8 下午7:05, Michael S. Tsirkin wrote: iovec addresses coming from vhost are assumed to be pre-validated, but in fact can be speculated to a value out of range. Userspace

[PATCH] regulator: uniphier: Add Pro5 USB3 VBUS support

2019-09-09 Thread Kunihiko Hayashi
Pro5 SoC has same scheme of USB3 VBUS as Pro4, so the data for Pro5 is equivalent to Pro4. Signed-off-by: Kunihiko Hayashi --- Documentation/devicetree/bindings/regulator/uniphier-regulator.txt | 5 +++-- drivers/regulator/uniphier-regulator.c | 4 2 files

[PATCH v3 1/2] dt-bindings: milbeaut-m10v-hdmac: Add Socionext Milbeaut HDMAC bindings

2019-09-09 Thread jassisinghbrar
From: Jassi Brar Document the devicetree bindings for Socionext Milbeaut HDMAC controller. Controller has upto 8 floating channels, that need a predefined slave-id to work from a set of slaves. Reviewed-by: Rob Herring Signed-off-by: Jassi Brar --- .../bindings/dma/milbeaut-m10v-hdmac.txt

[PATCH v3 2/2] dmaengine: milbeaut-hdmac: Add HDMAC driver for Milbeaut platforms

2019-09-09 Thread jassisinghbrar
From: Jassi Brar Driver for Socionext Milbeaut HDMAC controller. The controller has upto 8 floating channels, that need a predefined slave-id to work from a set of slaves. Signed-off-by: Jassi Brar --- drivers/dma/Kconfig | 10 + drivers/dma/Makefile | 1 +

Re: [Xen-devel] [PATCH] xen/pci: try to reserve MCFG areas earlier

2019-09-09 Thread Boris Ostrovsky
On 9/9/19 5:48 PM, Igor Druzhinin wrote: > On 09/09/2019 20:19, Boris Ostrovsky wrote: >> On 9/8/19 7:37 PM, Igor Druzhinin wrote: >>> On 09/09/2019 00:30, Boris Ostrovsky wrote: On 9/8/19 5:11 PM, Igor Druzhinin wrote: > On 08/09/2019 19:28, Boris Ostrovsky wrote: >> On 9/6/19 7:00

[PATCH v2 2/2] dmaengine: milbeaut-xdmac: Add XDMAC driver for Milbeaut platforms

2019-09-09 Thread jassisinghbrar
From: Jassi Brar Driver for Socionext Milbeaut XDMAC controller. The controller only supports Mem-To-Mem transfers over upto 8 configurable channels. Signed-off-by: Jassi Brar --- drivers/dma/Kconfig | 10 + drivers/dma/Makefile | 1 + drivers/dma/milbeaut-xdmac.c | 426

[PATCH v3 0/2] Add support for AHB DMA controller on Milbeaut series

2019-09-09 Thread jassisinghbrar
From: Jassi Brar The following series adds AHB DMA (HDMAC) controller support on Milbeaut series. This controller is capable of Mem<->MEM and DEV<->MEM transfer. But only DEV<->MEM is currently supported. Changes since v2: # Spelling mistake fix # Bug fix prep_slave - made local copy of sgl

[PATCH v2 1/2] dt-bindings: milbeaut-m10v-xdmac: Add Socionext Milbeaut XDMAC bindings

2019-09-09 Thread jassisinghbrar
From: Jassi Brar Document the devicetree bindings for Socionext Milbeaut XDMAC controller. Controller only supports Mem->Mem transfers. Number of physical channels are determined by the number of irqs registered. Reviewed-by: Rob Herring Signed-off-by: Jassi Brar ---

[PATCH v2 0/2] Add support for AXI DMA controller on Milbeaut series

2019-09-09 Thread jassisinghbrar
From: Jassi Brar The following series adds AXI DMA (XDMAC) controller support on Milbeaut series. This controller is capable of only Mem<->MEM transfers. Number of channels is configurable {2,4,8} Changes Since v1: # Spelling mistake fix Jassi Brar (2): dt-bindings: milbeaut-m10v-xdmac:

RE: [EXT] Re: [v3,1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-09 Thread Biwen Li
> > On 03/09/2019 08:18, Biwen Li wrote: > > diff --git a/Documentation/devicetree/bindings/rtc/pcf85363.txt > > b/Documentation/devicetree/bindings/rtc/pcf85363.txt > > index 94adc1cf93d9..588f688b30d1 100644 > > --- a/Documentation/devicetree/bindings/rtc/pcf85363.txt > > +++

Re: [PATCH] mm: avoid slub allocation while holding list_lock

2019-09-09 Thread Tetsuo Handa
Yu Zhao wrote: > I think we can safely assume PAGE_SIZE is unsigned long aligned and > page->objects is non-zero. But if you don't feel comfortable with these > assumptions, I'd be happy to ensure them explicitly. I know PAGE_SIZE is unsigned long aligned. If someone by chance happens to change

[PATCH v3 2/2] mmc: sdhci-milbeaut: add Milbeaut SD controller driver

2019-09-09 Thread Takao Orito
SD Host controller on Milbeaut consists of two controller parts. One is core controller F_SDH30, this is similar to sdhci-fujitsu controller. Another is bridge controller. This bridge controller is not compatible with sdhci-fujitsu controller. This is special for Milbeaut series. This has some

[PATCH v3 1/2] dt-bindings: mmc: add DT bindings for Milbeaut SD controller

2019-09-09 Thread Takao Orito
Add the device-tree binding documentation for Milbeaut SDHCI driver. Signed-off-by: Takao Orito Reviewed-by: Rob Herring --- .../devicetree/bindings/mmc/sdhci-milbeaut.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644

[PATCH v3 0/2] mmc: sdhci-milbeaut: add Milbeaut SD driver

2019-09-09 Thread Takao Orito
The following patches add driver for SD Host controller on Socionext's Milbeaut M10V platforms. SD Host controller on Milbeaut consists of two controller parts. One is core controller F_SDH30, this is similar to sdhci-fujitsu controller. Another is bridge controller. This bridge controller is not

[PATCH v3 4/4] mm, slab_common: Make the loop for initializing KMALLOC_DMA start from 1

2019-09-09 Thread Pengfei Li
KMALLOC_DMA will be initialized only if KMALLOC_NORMAL with the same index exists. And kmalloc_caches[KMALLOC_NORMAL][0] is always NULL. Therefore, the loop that initializes KMALLOC_DMA should start at 1 instead of 0, which will reduce 1 meaningless attempt. Signed-off-by: Pengfei Li ---

[PATCH v3 1/4] mm, slab: Make kmalloc_info[] contain all types of names

2019-09-09 Thread Pengfei Li
There are three types of kmalloc, KMALLOC_NORMAL, KMALLOC_RECLAIM and KMALLOC_DMA. The name of KMALLOC_NORMAL is contained in kmalloc_info[].name, but the names of KMALLOC_RECLAIM and KMALLOC_DMA are dynamically generated by kmalloc_cache_name(). This patch predefines the names of all types of

[PATCH v3 0/4] mm, slab: Make kmalloc_info[] contain all types of names

2019-09-09 Thread Pengfei Li
Changes in v3 -- 1. restore __initconst (patch 1/4) 2. rename patch 3/4 3. add more clarification for patch 4/4 Changes in v2 -- 1. remove __initconst (patch 1/5) 2. squash patch 2/5 3. add ack tag from Vlastimil Babka There are three types of kmalloc, KMALLOC_NORMAL, KMALLOC_RECLAIM and

[PATCH v3 2/4] mm, slab: Remove unused kmalloc_size()

2019-09-09 Thread Pengfei Li
The size of kmalloc can be obtained from kmalloc_info[], so remove kmalloc_size() that will not be used anymore. Signed-off-by: Pengfei Li Acked-by: Vlastimil Babka Acked-by: Roman Gushchin --- include/linux/slab.h | 20 mm/slab.c| 5 +++-- mm/slab_common.c

[PATCH v3 3/4] mm, slab_common: use enum kmalloc_cache_type to iterate over kmalloc caches

2019-09-09 Thread Pengfei Li
The type of local variable *type* of new_kmalloc_cache() should be enum kmalloc_cache_type instead of int, so correct it. Signed-off-by: Pengfei Li Acked-by: Vlastimil Babka Acked-by: Roman Gushchin --- mm/slab_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2 1/2] mm/page_ext: support to record the last stack of page

2019-09-09 Thread Walter Wu
On Mon, 2019-09-09 at 12:57 +0200, David Hildenbrand wrote: > On 09.09.19 10:53, Walter Wu wrote: > > KASAN will record last stack of page in order to help programmer > > to see memory corruption caused by page. > > > > What is difference between page_owner and our patch? > > page_owner records

Re: [PATCH v2 3/4] mm, slab_common: Make 'type' is enum kmalloc_cache_type

2019-09-09 Thread Pengfei Li
On Tue, Sep 10, 2019 at 4:00 AM Roman Gushchin wrote: > > On Tue, Sep 10, 2019 at 01:07:14AM +0800, Pengfei Li wrote: > > Hi Pengfei! > > > The 'type' of the function new_kmalloc_cache should be > > enum kmalloc_cache_type instead of int, so correct it. > > I think you mean type of the 'i'

Re: [PATCH 1/5] mm, slab: Make kmalloc_info[] contain all types of names

2019-09-09 Thread Pengfei Li
On Tue, Sep 10, 2019 at 2:30 AM Rasmus Villemoes wrote: > > On 09/09/2019 18.53, Pengfei Li wrote: > > On Mon, Sep 9, 2019 at 10:59 PM Vlastimil Babka wrote: > > >>> /* > >>>* kmalloc_info[] is to make slub_debug=,kmalloc-xx option work at boot > >>> time. > >>>* kmalloc_index()

Re: [PATCH 3/3] iio: adc: hx711: remove unnecessary returns

2019-09-09 Thread Joe Perches
On Sat, 2019-09-07 at 12:18 +0200, Andreas Klinger wrote: > Optimize use of return in hx711_set_gain_for_channel(). I believe this change is not an optimization but this change does make the code harder to read. > diff --git a/drivers/iio/adc/hx711.c b/drivers/iio/adc/hx711.c [] > @@ -213,7

Re: [PATCH v2] ftrace: simplify ftrace hash lookup code

2019-09-09 Thread Changbin Du
On Mon, Sep 09, 2019 at 10:54:24AM -0400, Steven Rostedt wrote: > On Mon, 9 Sep 2019 08:31:59 +0800 > Changbin Du wrote: > > > Function ftrace_lookup_ip() will check empty hash table. So we don't > > need extra check outside. > > > > Signed-off-by: Changbin Du > > > > --- > > v2: fix

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-09 Thread Ming Lei
On Sat, Sep 07, 2019 at 06:19:20AM +0800, Ming Lei wrote: > On Fri, Sep 06, 2019 at 05:50:49PM +, Long Li wrote: > > >Subject: Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism > > > > > >On Fri, Sep 06, 2019 at 09:48:21AM +0800, Ming Lei wrote: > > >> When one IRQ flood happens

Re: [PATCH v2 02/19] MIPS: Loongson64: separate loongson2ef/loongson64 code

2019-09-09 Thread Paul Burton
Hi Jiaxun & Huacai, On Thu, Sep 05, 2019 at 10:42:59PM +0800, Jiaxun Yang wrote: > As later model of GSx64 family processors including 2-series-soc have > similar design with initial loongson3a while loongson2e/f seems less > identical, we separate loongson2e/f support code out of mach-loongson64

Re: [Virtio-fs] [PATCH 00/18] virtiofs: Fix various races and cleanups round 1

2019-09-09 Thread piaojun
On 2019/9/10 0:14, Stefan Hajnoczi wrote: > On Sun, Sep 08, 2019 at 07:53:55PM +0800, piaojun wrote: >> >> >> On 2019/9/6 19:52, Miklos Szeredi wrote: >>> On Fri, Sep 6, 2019 at 12:36 PM Stefan Hajnoczi wrote: On Fri, Sep 06, 2019 at 10:15:14AM +0200, Miklos Szeredi wrote: > On

Re: pivot_root(".", ".") and the fchdir() dance

2019-09-09 Thread Eric W. Biederman
"Michael Kerrisk (man-pages)" writes: > Hello Eric, > > Thanks for chiming in; I should have thought to CC you at the start. I > have a question or two, below. > > On Mon, 9 Sep 2019 at 12:40, Eric W. Biederman wrote: >> >> "Michael Kerrisk (man-pages)" writes: >> >> > Hello Philipp, >> > >> >

Re: [PATCH v2] ftrace: simplify ftrace hash lookup code

2019-09-09 Thread Changbin Du
On Mon, Sep 09, 2019 at 10:54:24AM -0400, Steven Rostedt wrote: > On Mon, 9 Sep 2019 08:31:59 +0800 > Changbin Du wrote: > > > Function ftrace_lookup_ip() will check empty hash table. So we don't > > need extra check outside. > > > > Signed-off-by: Changbin Du > > > > --- > > v2: fix

Re: [RFC][PATCH 1/1] Carry ima measurement log for arm64 via kexec_file_load

2019-09-09 Thread prsriva
On 9/8/19 4:31 PM, Mimi Zohar wrote: Hi Prakhar, "Carrying over the ima log during kexec_file_load" was originally posted on 5/10 and 5/31 without a cover letter. On 8/29 it was reposted as an RFC with a cover letter.  The cover letter was v1, but the patch itself was not.  In the future,

Re: general protection fault in qdisc_put

2019-09-09 Thread Cong Wang
On Sun, Sep 8, 2019 at 10:19 AM Linus Torvalds wrote: > I see two solutions: > > (a) move the > > q->qdisc = _qdisc; > > up earlier in sfb_init(), so that qdisc is always initialized > after sfb_init(), even on failure. > > (b) just make qdisc_put(NULL) just silently work as a

[RFC PATCH v1 0/1] Add support for arm64 to carry ima measurement log in kexec_file_load

2019-09-09 Thread Prakhar Srivastava
Add support for arm64 to carry ima measurement log to the next kexec'ed session triggered via kexec_file_load. - Top of Linux 5.3-rc6 Currently during kexec the kernel file signatures are/can be validated prior to actual load, the information(PE/ima signature) is not carried to the next session.

[RFC PATCH v1 1/1] Add support for arm64 to carry ima measurement log in kexec_file_load

2019-09-09 Thread Prakhar Srivastava
During kexec_file_load, carrying forward the ima measurement log allows a verifying party to get the entire runtime event log since the last full reboot since that is when PCRs were last reset. Signed-off-by: Prakhar Srivastava --- arch/arm64/Kconfig | 7 +

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

2019-09-09 Thread Haiyang Zhang
> -Original Message- > From: Lorenzo Pieralisi > Sent: Wednesday, August 21, 2019 5:03 AM > To: Stephen Rothwell > Cc: Bjorn Helgaas ; Linux Next Mailing List n...@vger.kernel.org>; Linux Kernel Mailing List ker...@vger.kernel.org>; Sasha Levin ; Haiyang Zhang > > Subject: Re:

Re: [PATCH v2] net: enable wireless core features with LEGACY_WEXT_ALLCONFIG

2019-09-09 Thread Greg KH
On Mon, Sep 09, 2019 at 07:24:29AM -0700, Mark Salyzyn wrote: > On 9/6/19 4:30 PM, Greg KH wrote: > > On Fri, Sep 06, 2019 at 12:24:00PM -0700, Mark Salyzyn wrote: > > > In embedded environments the requirements are to be able to pick and > > > chose which features one requires built into the

Fw:Na. wie geht es dir?

2019-09-09 Thread Bernd Weber
Das ist unvorstellbar! http://dvcvhksp.Sefton158.xyz/index ___ Wiederschauen Bernd Weber

Re: [PATCH] media: vimc: fla: Add virtual flash subdevice

2019-09-09 Thread Lucas Magalhães
Hi Hans, Thanks for the review. I fixed most of the issues you found. Just have the question below. On Mon, Sep 2, 2019 at 9:04 AM Hans Verkuil wrote: > > > + > > +int vimc_fla_add(struct vimc_device *vimc, struct vimc_ent_config *vcfg) > > +{ > > + struct v4l2_device *v4l2_dev = >v4l2_dev;

Re: [PATCH] gpio: fix incorrect merge of linux/gpio/driver.h

2019-09-09 Thread Brian Masney
On Mon, Sep 09, 2019 at 10:34:59PM +0200, Arnd Bergmann wrote: > Two otherwise correct patches got merged incorrectly, which leads to > build problems when CONFIG_GPIOLIB is disabled: > > include/linux/gpio/driver.h:722:19: error: static declaration of > 'gpiochip_lock_as_irq' follows non-static

Re: [PATCH 4.19 19/57] Bluetooth: hidp: Let hidp_send_message return number of queued bytes

2019-09-09 Thread Greg Kroah-Hartman
On Mon, Sep 09, 2019 at 03:00:46PM +0200, Fabian Henneke wrote: > Hi, > > On Mon, Sep 9, 2019 at 2:15 PM Pavel Machek wrote: > > > Hi! > > > > > [ Upstream commit 48d9cc9d85dde37c87abb7ac9bbec6598ba44b56 ] > > > > > > Let hidp_send_message return the number of successfully queued bytes > > >

Re: [PATCH 5.2 00/94] 5.2.14-stable review

2019-09-09 Thread Greg Kroah-Hartman
On Mon, Sep 09, 2019 at 12:40:07PM -0700, Guenter Roeck wrote: > On Sun, Sep 08, 2019 at 01:40:56PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.14 release. > > There are 94 patches in this series, all will be posted as a response > > to this one.

  1   2   3   4   5   6   7   8   >