[PATCH v2 1/4] dt-bindings: arm: hisilicon: add binding for SD5203 SoC

2020-09-19 Thread Zhen Lei
Add devicetree binding for Hisilicon SD5203 SoC. Signed-off-by: Zhen Lei --- Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt

[PATCH v2 3/4] ARM: debug: add UART early console support for SD5203

2020-09-19 Thread Zhen Lei
From: Kefeng Wang Add support of early console for SD5203. Signed-off-by: Kefeng Wang Signed-off-by: Zhen Lei --- arch/arm/Kconfig.debug | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index

[PATCH v2 4/4] ARM: dts: add SD5203 dts

2020-09-19 Thread Zhen Lei
From: Kefeng Wang Add sd5203.dts for Hisilicon SD5203 SoC platform. Signed-off-by: Kefeng Wang Signed-off-by: Zhen Lei --- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/sd5203.dts | 96 2 files changed, 98 insertions(+) create mode

Re: [PATCH] ubsan: introducing CONFIG_UBSAN_BOUNDS_LOCAL for Clang

2020-09-19 Thread Marco Elver
On Fri, 18 Sep 2020 at 15:36, George-Aurelian Popescu wrote: > > From: George Popescu > [...] > Suggested-by: Marco Elver > Reviewed-by: David Brazdil > Signed-off-by: George Popescu There's a mismatch between From/Author and Signed-off-by email address. > --- > lib/Kconfig.ubsan | 14

[PATCH v2] objtool: ignore unreachable trap after call to noreturn functions

2020-09-19 Thread Ilie Halip
With CONFIG_UBSAN_TRAP enabled, the compiler may insert a trap instruction after a call to a noreturn function. In this case, objtool warns that the ud2 instruction is unreachable. This is a behavior seen with clang, from the oldest version capable of building the mainline x64_64 kernel (9.0), to

Re: [PATCH v3 00/14] Adding GAUDI NIC code to habanalabs driver

2020-09-19 Thread Greg Kroah-Hartman
On Fri, Sep 18, 2020 at 03:19:05PM +0300, Leon Romanovsky wrote: > > So we do have an open-source library called hl-thunk, which uses our > > driver and indeed that was part of the requirement. > > It is similar to libdrm. > > Here is the link: > > https://github.com/HabanaAI/hl-thunk > > Are you

[PATCH -next v2] tty: hvc: fix link error with CONFIG_SERIAL_CORE_CONSOLE=n

2020-09-19 Thread Yang Yingliang
aarch64-linux-gnu-ld: drivers/tty/hvc/hvc_dcc.o: in function `dcc_early_write': hvc_dcc.c:(.text+0x164): undefined reference to `uart_console_write' The driver uses the uart_console_write(), but SERIAL_CORE_CONSOLE is not selected, so uart_console_write is not defined, then we get the error. Fix

[PATCH] rtlwifi: Use ffs in _phy_calculate_bit_shift

2020-09-19 Thread Joe Perches
Remove the loop and use the generic ffs instead. Signed-off-by: Joe Perches --- Just saw one by happenstance, might as well fix them all. drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c | 18 ++ .../net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c | 8 ++--

[PATCH -next v2] tty: serial: imx: fix link error with CONFIG_SERIAL_CORE_CONSOLE=n

2020-09-19 Thread Yang Yingliang
aarch64-linux-gnu-ld: drivers/tty/serial/imx_earlycon.o: in function `imx_uart_console_early_write': imx_earlycon.c:(.text+0x84): undefined reference to `uart_console_write' The driver uses the uart_console_write(), but SERIAL_CORE_CONSOLE is not selected, so uart_console_write is not defined,

Re: [PATCH] i2c: Switch to using the new API kobj_to_dev()

2020-09-19 Thread wsa
On Sat, Sep 19, 2020 at 09:01:12AM +0800, tiantao (H) wrote: > > > 在 2020/9/19 5:09, w...@kernel.org 写道: > > > > > static inline struct i2c_client *kobj_to_i2c_client(struct kobject > > > *kobj) > > > { > > > - struct device * const dev = container_of(kobj, struct device, kobj); > > > +

Re: [PATCH] modpost: allow modpost to fail on warnings

2020-09-19 Thread Masahiro Yamada
On Sat, Sep 19, 2020 at 6:50 AM Pierre-Louis Bossart wrote: > > From: Filipe Brandenburger > > Set KBUILD_MODPOST_FAIL_ON_WARNINGS to a non-empty value to make the > kbuild fail when modpost generates any warnings. This will avoid > misses such as [1] where the SOF CI did not catch a missing

Re: [PATCH V3 6/8] mm: and drivers core: Convert hugetlb_report_node_meminfo to sysfs_emit

2020-09-19 Thread Greg Kroah-Hartman
On Wed, Sep 16, 2020 at 01:40:43PM -0700, Joe Perches wrote: > Convert the unbound sprintf in hugetlb_report_node_meminfo to use > sysfs_emit_at so that no possible overrun of a PAGE_SIZE buf can occur. > > Signed-off-by: Joe Perches > --- > drivers/base/node.c | 2 +- >

Re: [PATCH 4/4] erofs: add REQ_RAHEAD flag to readahead requests

2020-09-19 Thread Chao Yu
On 2020/9/18 21:54, Gao Xiang wrote: Let's add REQ_RAHEAD flag so it'd be easier to identify readahead I/O requests in blktrace. Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,

Re: [PATCH 2/4] erofs: fold in should_decompress_synchronously()

2020-09-19 Thread Chao Yu
On 2020/9/18 21:54, Gao Xiang wrote: should_decompress_synchronously() has one single condition for now, so fold it instead. Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,

Re: [PATCH 1/4] erofs: avoid unnecessary variable `err'

2020-09-19 Thread Chao Yu
On 2020/9/18 21:54, Gao Xiang wrote: variable `err' in z_erofs_submit_queue() isn't useful here, remove it instead. Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,

Re: [PATCH v6 4/4] bus: mhi: Add userspace client interface driver

2020-09-19 Thread Greg KH
On Fri, Sep 18, 2020 at 11:14:08AM -0700, Hemant Kumar wrote: > Hi Greg, > > On 9/17/20 9:44 AM, Greg KH wrote: > > On Wed, Sep 16, 2020 at 12:56:07PM -0700, Hemant Kumar wrote: > ... > ... > > > + > > > +static int mhi_uci_open(struct inode *inode, struct file *filp) > > > +{ > > > + struct

<    1   2   3   4