Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

2019-09-09 Thread Andreas Schwab
On Sep 10 2019, Christoph Hellwig wrote: > The sifive serial driver implements earlycon support, It should probably be documented in admin-guide/kernel-parameters.txt. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D

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

2019-09-09 Thread Hans Verkuil
On 9/10/19 1:00 AM, Lucas Magalhães wrote: > 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) >>> +{

[tip: core/objtool] objtool: Clobber user CFLAGS variable

2019-09-09 Thread tip-bot2 for Josh Poimboeuf
The following commit has been merged into the core/objtool branch of tip: Commit-ID: f73b3cc39c84220e6dccd463b5c8279b03514646 Gitweb: https://git.kernel.org/tip/f73b3cc39c84220e6dccd463b5c8279b03514646 Author:Josh Poimboeuf AuthorDate:Thu, 29 Aug 2019 18:28:49 -05:00 Commi

[PATCH net 2/2] sctp: destroy bucket if failed to bind addr

2019-09-09 Thread Mao Wenan
There is one memory leak bug report: BUG: memory leak unreferenced object 0x8881dc4c5ec0 (size 40): comm "syz-executor.0", pid 5673, jiffies 4298198457 (age 27.578s) hex dump (first 32 bytes): 02 00 00 00 81 88 ff ff 00 00 00 00 00 00 00 00 f8 63 3d c1 81 88 ff ff

[PATCH net 0/2] fix memory leak for sctp_do_bind

2019-09-09 Thread Mao Wenan
First patch is to do cleanup, remove redundant assignment, second patch is to fix memory leak for sctp_do_bind if failed to bind address. Mao Wenan (2): sctp: remove redundant assignment when call sctp_get_port_local sctp: destroy bucket if failed to bind addr net/sctp/socket.c | 13 +++-

[PATCH net 1/2] sctp: remove redundant assignment when call sctp_get_port_local

2019-09-09 Thread Mao Wenan
There are more parentheses in if clause when call sctp_get_port_local in sctp_do_bind, and redundant assignment to 'ret'. This patch is to do cleanup. Signed-off-by: Mao Wenan --- net/sctp/socket.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/sctp/socket.c b/net/sctp

[PATCH v3][RESEND] scripts: use pkg-config to locate libcrypto

2019-09-09 Thread Rolf Eike Beer
Otherwise build fails if the headers are not in the default location. While at it also ask pkg-config for the libs, with fallback to the existing value. Signed-off-by: Rolf Eike Beer Cc: sta...@vger.kernel.org --- scripts/Makefile | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) d

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

2019-09-09 Thread Michael S. Tsirkin
On Tue, Sep 10, 2019 at 09:52:10AM +0800, Jason Wang wrote: > > 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

Re: [PATCH] lib/Kconfig: fix OBJAGG in lib/ menu structure

2019-09-09 Thread Ido Schimmel
On Mon, Sep 09, 2019 at 02:54:21PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Keep the "Library routines" menu intact by moving OBJAGG into it. > Otherwise OBJAGG is displayed/presented as an orphan in the > various config menus. > > Fixes: 0a020d416d0a ("lib: introduce initial implemen

Re: [PATCH] ocfs2: Fix passing zero to 'PTR_ERR' warning

2019-09-09 Thread Joseph Qi
On 19/9/9 18:04, Ding Xiang wrote: > Fix a static code checker warning: > fs/ocfs2/acl.c:331 > ocfs2_acl_chmod() warn: passing zero to 'PTR_ERR' > > Fixes: 5ee0fbd50fd ("ocfs2: revert using ocfs2_acl_chmod to avoid inode > cluster lock hang") > Signed-off-by: Ding Xiang Reviewed-by: Jos

Re: [PATCH] driver core: ensure a device has valid node id in device_add()

2019-09-09 Thread Yunsheng Lin
On 2019/9/9 17:53, Greg KH wrote: > On Mon, Sep 09, 2019 at 02:04:23PM +0800, Yunsheng Lin wrote: >> Currently a device does not belong to any of the numa nodes >> (dev->numa_node is NUMA_NO_NODE) when the node id is neither >> specified by fw nor by virtual device layer and the device has >> no pa

[tip: x86/asm] x86/umip: Add emulation (spoofing) for UMIP covered instructions in 64-bit processes as well

2019-09-09 Thread tip-bot2 for Brendan Shanks
The following commit has been merged into the x86/asm branch of tip: Commit-ID: e86c2c8b9380440bbe761b8e2f63ab6b04a45ac2 Gitweb: https://git.kernel.org/tip/e86c2c8b9380440bbe761b8e2f63ab6b04a45ac2 Author:Brendan Shanks AuthorDate:Thu, 05 Sep 2019 16:22:21 -07:00 Committer:

[PATCH v2] x86/umip: Add emulation for 64-bit processes

2019-09-09 Thread Ingo Molnar
* h...@zytor.com wrote: > On September 10, 2019 7:28:28 AM GMT+01:00, Ingo Molnar > wrote: > > > >* h...@zytor.com wrote: > > > >> I would strongly suggest that we change the term "emulation" to > >> "spoofing" for these instructions. We need to explain that we do > >*not* > >> execute the

Re: [PATCH] KVM: x86: Manually calculate reserved bits when loading PDPTRS

2019-09-09 Thread Peter Xu
On Tue, Sep 03, 2019 at 04:36:45PM -0700, Sean Christopherson wrote: > Manually generate the PDPTR reserved bit mask when explicitly loading > PDPTRs. The reserved bits that are being tracked by the MMU reflect the > current paging mode, which is unlikely to be PAE paging in the vast > majority of

Re: [PATCH] x86/umip: Add emulation for 64-bit processes

2019-09-09 Thread hpa
On September 10, 2019 7:28:28 AM GMT+01:00, Ingo Molnar wrote: > >* h...@zytor.com wrote: > >> I would strongly suggest that we change the term "emulation" to >> "spoofing" for these instructions. We need to explain that we do >*not* >> execute these instructions the was the CPU would have, an

Re: [PATCH v6 0/3] genirq/vfio: Introduce irq_update_devid() and optimize VFIO irq ops

2019-09-09 Thread Ben Luo
A friendly reminder. Thanks,     Ben 在 2019/9/2 下午12:01, Ben Luo 写道: Currently, VFIO takes a free-then-request-irq way to do interrupt affinity setting and masking/unmasking for a VM with device passthru via VFIO. Sometimes it only changes the cookie data of irqaction or even changes nothing.

Re: [vfs] 8bb3c61baf: vm-scalability.median -23.7% regression

2019-09-09 Thread Hugh Dickins
On Mon, 9 Sep 2019, Al Viro wrote: > > Anyway, see vfs.git#uncertain.shmem for what I've got with those folded in. > Do you see any problems with that one? That's the last 5 commits in there... It's mostly fine, I've no problem with going your way instead of what we had in mmotm; but I have seen

Re: [PATCH] x86/umip: Add emulation for 64-bit processes

2019-09-09 Thread Ingo Molnar
* h...@zytor.com wrote: > I would strongly suggest that we change the term "emulation" to > "spoofing" for these instructions. We need to explain that we do *not* > execute these instructions the was the CPU would have, and unlike the > native instructions do not leak kernel information. Ok

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

2019-09-09 Thread Fabian Henneke
On 10.09.19 00:59, Greg Kroah-Hartman wrote: > 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

Re: [RFC PATCH 0/2] Fix SEV user-space mapping of unencrypted coherent memory

2019-09-09 Thread VMware
On 9/10/19 8:11 AM, Christoph Hellwig wrote: On Thu, Sep 05, 2019 at 04:23:11AM -0700, Christoph Hellwig wrote: This looks fine from the DMA POV. I'll let the x86 guys comment on the rest. Do we want to pick this series up for 5.4? Should I queue it up in the dma-mapping tree? Hi, Christoph

[PATCH v2 1/3] regulator: fixed: add possibility to enable by clock

2019-09-09 Thread Philippe Schenker
This commit adds the possibility to choose the compatible "regulator-fixed-clock" in devicetree. This is a special regulator-fixed that has to have a clock, from which the regulator gets switched on and off. Signed-off-by: Philippe Schenker --- Changes in v2: - return priv->clk_enable_counter

[PATCH v2 0/3] Add new binding regulator-fixed-clock to regulator-fixed

2019-09-09 Thread Philippe Schenker
Our hardware has a FET that is switching power rail of the ethernet PHY on and off. This switching enable signal is a clock from the SoC. There is no possibility in regulator subsystem to have this hardware reflected in software. I already discussed with Mark Brown about possible solutions and

[PATCH v2 2/3] ARM: dts: imx6ull-colibri: add phy-supply and respective regulator

2019-09-09 Thread Philippe Schenker
This adds regulator-fixed-clock, a fixed-regulator that turns on and off with a clock and add it to the phy. Signed-off-by: Philippe Schenker --- Changes in v2: None arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6u

Re: [PATCH 2/3] soc: amazon: al-pos: Introduce Amazon's Annapurna Labs POS driver

2019-09-09 Thread Shenhar, Talel
On 9/9/2019 6:16 PM, Arnd Bergmann wrote: On Mon, Sep 9, 2019 at 4:11 PM Shenhar, Talel wrote: On 9/9/2019 4:41 PM, Arnd Bergmann wrote: In current implementation of v1, I am not doing any read barrier, Hence, using the non-relaxed will add unneeded memory barrier. I have no strong objectio

[PATCH v2 3/3] dt-bindings: regulator: add regulator-fixed-clock binding

2019-09-09 Thread Philippe Schenker
This adds the documentation to the compatible regulator-fixed-clock. This binding is a special binding of regulator-fixed and adds the ability to add a clock to regulator-fixed, so the regulator can be enabled and disabled with that clock. If the special compatible regulator-fixed-clock is used it

[PATCH v3] 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 --- v3: Fixed faulty copy/paste of function v2: Attempt to fix v1: Original patch drivers/staging/gasket/apex_driver.c | 20

Re: [PATCH 3/3] arm64: alpine: select AL_POS

2019-09-09 Thread Shenhar, Talel
On 9/9/2019 6:08 PM, Arnd Bergmann wrote: On Mon, Sep 9, 2019 at 3:59 PM Shenhar, Talel wrote: On 9/9/2019 4:45 PM, Arnd Bergmann wrote: Its not that something will get broken. its error event detector for POS events which allows seeing bad accesses to registers. What is the general rule of

Re: [PATCH] x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel area.

2019-09-09 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Fri, Sep 06, 2019 at 04:29:50PM -0500, Steve Wahl wrote: > > Our hardware (UV aka Superdome Flex) has address ranges marked > > reserved by the BIOS. These ranges can cause the system to halt if > > accessed. > > > > During kernel initialization, the processor

Re: [PATCH v3] KVM: x86: Disable posted interrupts for odd IRQs

2019-09-09 Thread Christoph Hellwig
And what about even ones? :) Sorry, just joking, but the "odd" qualifier here looks a little weird, maybe something like "non-standard develiry modes" might make sense here.

Re: [RFC 02/19] ktf: Introduce the main part of the kernel side of ktf

2019-09-09 Thread Knut Omang
On Sun, 2019-09-08 at 18:23 -0700, Brendan Higgins wrote: > On Tue, Aug 13, 2019 at 08:09:17AM +0200, Knut Omang wrote: > > Sorry, it's taken me way too long to get down to a proper code review on > this. I was hoping to send you something a couple weeks ago in > preparation for Tuesday, but I hav

Re: [PATCH 1/3] regulator: fixed: add possibility to enable by clock

2019-09-09 Thread Philippe Schenker
On Tue, 2019-09-10 at 06:08 +, Philippe Schenker wrote: > On Thu, 2019-09-05 at 19:06 +0100, Mark Brown wrote: > > On Tue, Sep 03, 2019 at 08:03:46AM +, Philippe Schenker wrote: > > > This commit adds the possibility to choose the compatible > > > "regulator-fixed-clock" in devicetree. > >

Re: [PATCH] riscv: dts: sifive: Add ethernet0 to the aliases node

2019-09-09 Thread Christoph Hellwig
On Thu, Sep 05, 2019 at 05:46:14AM -0700, Bin Meng wrote: > U-Boot expects this alias to be in place in order to fix up the mac > address of the ethernet node. > > Signed-off-by: Bin Meng Looks good: Reviewed-by: Christoph Hellwig

Re: [PATCH v2] riscv: dts: sifive: Drop "clock-frequency" property of cpu nodes

2019-09-09 Thread Christoph Hellwig
On Thu, Sep 05, 2019 at 05:45:53AM -0700, Bin Meng wrote: > The "clock-frequency" property of cpu nodes isn't required. Drop it. > > Signed-off-by: Bin Meng Looks good: Reviewed-by: Christoph Hellwig

Re: [RFC PATCH 0/2] Fix SEV user-space mapping of unencrypted coherent memory

2019-09-09 Thread Christoph Hellwig
On Thu, Sep 05, 2019 at 04:23:11AM -0700, Christoph Hellwig wrote: > This looks fine from the DMA POV. I'll let the x86 guys comment on the > rest. Do we want to pick this series up for 5.4? Should I queue it up in the dma-mapping tree?

Re: [PATCH 1/3] regulator: fixed: add possibility to enable by clock

2019-09-09 Thread Philippe Schenker
On Thu, 2019-09-05 at 19:06 +0100, Mark Brown wrote: > On Tue, Sep 03, 2019 at 08:03:46AM +, Philippe Schenker wrote: > > This commit adds the possibility to choose the compatible > > "regulator-fixed-clock" in devicetree. > > > > This is a special regulator-fixed that has to have a clock, fro

Re: [PATCH AUTOSEL 5.2 06/12] configfs_register_group() shouldn't be (and isn't) called in rmdirable parts

2019-09-09 Thread Christoph Hellwig
Please stop selectively backporting parts of random series. We'll need to the full series from Al in -stable instead.

[PATCH] serial/sifive: select SERIAL_EARLYCON

2019-09-09 Thread Christoph Hellwig
The sifive serial driver implements earlycon support, but unless another driver is built in that supports earlycon support it won't be usable. Explicitly select SERIAL_EARLYCON instead. Signed-off-by: Christoph Hellwig --- drivers/tty/serial/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -

Re: [v5 PATCH] RISC-V: Fix unsupported isa string info.

2019-09-09 Thread h...@infradead.org
On Fri, Sep 06, 2019 at 11:27:57PM +, Atish Patra wrote: > > Agreed. May be something like this ? > > > > Let's say f/d is enabled in kernel but cpu doesn't support it. > > "unsupported isa" will only appear if there are any unsupported isa. > > > > processor : 3 > > hart: 4

[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 9cdf14b9aaab..2f6bd03d8e2

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 so

[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 wrote:

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 a

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 length

[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 c

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 09/05/201

[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 Molna

[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 T

[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: B

[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: M

[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 Revi

[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. Signed-off-

[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: Andre

[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: Thomas

[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

[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. Signed-off-

[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: B

[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 T

[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: Andre

[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: Thomas

[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 Molna

[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 Revi

[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: M

[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

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] wh

[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 b/drivers/

[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 b/driv

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: https://github.com/0day-ci/linux/commits/Arnd-Bergma

[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 a/arch/mips/loongson

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, gre...@lin

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 wrot

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: https://github.com/0day-ci/linux/commits/Arnd-Bergma

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 dashboard

[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 b/arch/arm64/boot/dts/freescale/imx8m

[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 /sys/devices/system/cpu

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 mas

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 D'Silv

[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(). Signed-off-b

[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 in

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 sho

[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 b/arch/a

[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 --- a/include/linux/proc_f

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 didn'

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 > > o

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 PAG

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 ("ex

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" f

[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 insertions

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 constraint

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 address

[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 change

  1   2   3   4   5   6   7   8   >