[PATCH v5 1/5] Revert "KVM: X86: Fix setup the virt_spin_lock_key before static key get initialized"

2019-10-08 Thread Zhenzhong Duan
This reverts commit 34226b6b70980a8f81fff3c09a2c889f77edeeff. Commit 8990cac6e5ea ("x86/jump_label: Initialize static branching early") adds jump_label_init() call in setup_arch() to make static keys initialized early, so we could use the original simpler code again. The similar change for XEN

[PATCH v5 5/5] x86/hyperv: Mark "hv_nopvspin" parameter obsolete

2019-10-08 Thread Zhenzhong Duan
Map "hv_nopvspin" to "nopvspin". Signed-off-by: Zhenzhong Duan Reviewed-by: Michael Kelley Cc: Jonathan Corbet Cc: "K. Y. Srinivasan" Cc: Haiyang Zhang Cc: Stephen Hemminger Cc: Sasha Levin Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" ---

[PATCH v5 4/5] xen: Mark "xen_nopvspin" parameter obsolete

2019-10-08 Thread Zhenzhong Duan
Map "xen_nopvspin" to "nopvspin", fix stale description of "xen_nopvspin" as we use qspinlock now. Signed-off-by: Zhenzhong Duan Reviewed-by: Boris Ostrovsky Cc: Jonathan Corbet Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Stefano Stabellini Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav

[PATCH] pinctrl: rockchip: add rk3308 SoC support

2019-10-08 Thread Jianqun Xu
This patch do support pinctrl for RK3308 SoCs. Signed-off-by: Jianqun Xu --- .../bindings/pinctrl/rockchip,pinctrl.txt | 1 + drivers/pinctrl/pinctrl-rockchip.c| 420 ++ 2 files changed, 421 insertions(+) diff --git

[PATCH v5 0/5] Add a unified parameter "nopvspin"

2019-10-08 Thread Zhenzhong Duan
There are cases folks want to disable spinlock optimization for debug/test purpose. Xen and hyperv already have parameters "xen_nopvspin" and "hv_nopvspin" to support that, but kvm doesn't. The first patch adds that feature to KVM guest with "nopvspin". For compatibility reason original

[PATCH v5 3/5] x86/kvm: Add "nopvspin" parameter to disable PV spinlocks

2019-10-08 Thread Zhenzhong Duan
There are cases where a guest tries to switch spinlocks to bare metal behavior (e.g. by setting "xen_nopvspin" on XEN platform and "hv_nopvspin" on HYPER_V). That feature is missed on KVM, add a new parameter "nopvspin" to disable PV spinlocks for KVM guest. The new 'nopvspin' parameter will

[GIT PULL] GPIO fixes for the v5.4 series

2019-10-08 Thread Linus Walleij
Hi Linus, some GPIO fixes collected since the merge window, 3 for stable, 2 driver fixes. Details in the signed tag. Please pull them in! Yours, Linus Walleij The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c: Linux 5.4-rc1 (2019-09-30 10:35:40 -0700) are

Re: [PATCH 02/10] iio: imu: adis: add unlocked read/write function versions

2019-10-08 Thread Ardelean, Alexandru
On Tue, 2019-10-08 at 08:47 +, Ardelean, Alexandru wrote: > [External] > > On Tue, 2019-10-08 at 06:54 +, Ardelean, Alexandru wrote: > > [External] > > > > On Mon, 2019-10-07 at 22:16 +0100, Jonathan Cameron wrote: > > > On Sun, 6 Oct 2019 10:12:01 +0100 > > > Jonathan Cameron wrote: >

[RFC v2 0/1] s390/purgatory: Make sure we fail the build if purgatory has missing symbols

2019-10-08 Thread Hans de Goede
Hi s390 maintainers, Here is a second RFC version of my patch for $subject, mirroring the changes in v2 of the x86 patch. As last time this patch is completely UNTESTED. Changes in v2: - Using 2 if_changed lines under a single rule does not work, then 1 of the 2 will always execute each

Re: [PATCH] staging: media: imx: make use devm_platform_ioremap_resource

2019-10-08 Thread Rui Miguel Silva
Hi Hariprasad, Thanks for the patch On Tue 08 Oct 2019 at 07:17, nobody wrote: > From: Hariprasad Kelam > Something went wrong formating the patch email, no To: nor From: > > fix below issue reported by coccicheck > drivers/staging//media/imx/imx7-mipi-csis.c:973:1-12: WARNING: Use >

[RFC v2] s390/purgatory: Make sure we fail the build if purgatory has missing symbols

2019-10-08 Thread Hans de Goede
Since we link purgatory with -r aka we enable "incremental linking" no checks for unresolved symbols are done while linking the purgatory. This commit adds an extra check for unresolved symbols by calling ld without -r before running objcopy to generate purgatory.ro. This will help us catch

Re: [PATCH v7 0/7] Introduce support for Guest CET feature

2019-10-08 Thread Yang Weijiang
On Thu, Oct 03, 2019 at 09:33:45AM -0700, Jim Mattson wrote: > On Thu, Oct 3, 2019 at 5:59 AM Yang Weijiang wrote: > > > > On Wed, Oct 02, 2019 at 03:40:20PM -0700, Jim Mattson wrote: > > > On Thu, Sep 26, 2019 at 7:17 PM Yang Weijiang > > > wrote: > > > > > > > > Control-flow Enforcement

[PATCH] arm64: dts: altera: update QSPI reg addresses for Stratix10

2019-10-08 Thread Joyce Ooi
From: "Ooi, Joyce" This patch updates the reg addresses for QSPI boot and QSPI rootfs in the device tree for Stratix10 Signed-off-by: Ooi, Joyce --- arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2] mm/slub: fix a deadlock in show_slab_objects()

2019-10-08 Thread Michal Hocko
On Mon 07-10-19 14:59:02, Andrew Morton wrote: > On Mon, 7 Oct 2019 10:16:21 +0200 Michal Hocko wrote: > > > On Fri 04-10-19 14:57:01, Michal Hocko wrote: > > > On Fri 04-10-19 08:31:49, Qian Cai wrote: > > > > Long time ago, there fixed a similar deadlock in show_slab_objects() > > > > [1].

Re: [PATCH 02/10] iio: imu: adis: add unlocked read/write function versions

2019-10-08 Thread Ardelean, Alexandru
On Tue, 2019-10-08 at 06:54 +, Ardelean, Alexandru wrote: > [External] > > On Mon, 2019-10-07 at 22:16 +0100, Jonathan Cameron wrote: > > On Sun, 6 Oct 2019 10:12:01 +0100 > > Jonathan Cameron wrote: > > > > > On Thu, 26 Sep 2019 14:18:04 +0300 > > > Alexandru Ardelean wrote: > > > > > >

[PATCH] arm64: dts: agilex: add QSPI support for Intel Agilex

2019-10-08 Thread Joyce Ooi
From: "Ooi, Joyce" This patch adds QSPI flash interface in device tree for Intel Agilex Signed-off-by: Ooi, Joyce --- arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 35 ++ 1 file changed, 35 insertions(+) diff --git

RE: [PATCH] usb:cdns3: Fix for CV CH9 running with g_zero driver.

2019-10-08 Thread Peter Chen
> >> Endpoint can defer transition to Halted state if endpoint has pending > >> requests. > > > >The implementation of halt handling is a little complicated, you may > >consider return -EAGAIN for functional stall through usb_ep_set_halt > >from function driver if the requests are pending, it

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Michal Hocko
On Mon 07-10-19 11:33:27, Qian Cai wrote: > On Mon, 2019-10-07 at 17:12 +0200, Michal Hocko wrote: > > On Mon 07-10-19 10:59:10, Qian Cai wrote: > > [...] > > > It is almost impossible to eliminate all the indirect call chains from > > > console_sem/console_owner_lock to zone->lock because it is

Re: [PATCH] arm64: lse: fix LSE atomics with LLVM's integrated assembler

2019-10-08 Thread Andrew Murray
On Mon, Oct 07, 2019 at 01:28:19PM -0700, Nick Desaulniers wrote: > On Mon, Oct 7, 2019 at 1:14 PM 'Sami Tolvanen' via Clang Built Linux > wrote: > > > > Unlike gcc, clang considers each inline assembly block to be independent > > and therefore, when using the integrated assembler for inline

Re: [PATCH] stop_machine: avoid potential race behaviour

2019-10-08 Thread Peter Zijlstra
On Mon, Oct 07, 2019 at 11:45:36AM +0100, Mark Rutland wrote: > Both multi_cpu_stop() and set_state() access multi_stop_data::state > racily using plain accesses. These are subject to compiler > transformations which could break the intended behaviour of the code, > and this situation is detected

Re: [PATCH 01/10] perf/core, x86: Add PERF_SAMPLE_LBR_TOS

2019-10-08 Thread Peter Zijlstra
On Mon, Oct 07, 2019 at 10:59:01AM -0700, kan.li...@linux.intel.com wrote: > diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h > index 61448c19a132..ee9ef0c4cb08 100644 > --- a/include/linux/perf_event.h > +++ b/include/linux/perf_event.h > @@ -100,6 +100,7 @@ struct

Re: [PATCH][next] netdevsim: fix spelling mistake "forbidded" -> "forbid"

2019-10-08 Thread Maciej W. Rozycki
On Tue, 8 Oct 2019, Colin King wrote: > diff --git a/drivers/net/netdevsim/dev.c b/drivers/net/netdevsim/dev.c > index a3d7d39f231a..ff6ced5487b6 100644 > --- a/drivers/net/netdevsim/dev.c > +++ b/drivers/net/netdevsim/dev.c > @@ -486,7 +486,7 @@ static int nsim_dev_reload_down(struct devlink

Re: [PATCH] proc:fix confusing macro arg name

2019-10-08 Thread linmiaohe
On 2019/10/8 15:05, Aubrey wrote: >> On 2019/10/8 14:44, linmiaohe wrote: >> state_size and ops are in the wrong position, fix it. >> > > Good catch! > > This is interesting, I saw this interface has 50+ callers, How did they work > before? ;) > This confused me too. The args of function

Re: [PATCH][next] crypto: inside-secure: fix spelling mistake "algorithmn" -> "algorithm"

2019-10-08 Thread Joe Perches
On Tue, 2019-10-08 at 08:15 +, Pascal Van Leeuwen wrote: > > There is a spelling mistake in a dev_err message. Fix it. [] > > diff --git a/drivers/crypto/inside-secure/safexcel_cipher.c > > b/drivers/crypto/inside- [] > > @@ -437,7 +437,7 @@ static int safexcel_aead_setkey(struct crypto_aead

Re: [PATCH v7 1/7] KVM: CPUID: Fix IA32_XSS support in CPUID(0xd,i) enumeration

2019-10-08 Thread Yang Weijiang
On Wed, Oct 02, 2019 at 10:26:10AM -0700, Jim Mattson wrote: > On Thu, Sep 26, 2019 at 7:17 PM Yang Weijiang wrote: > > > > The control bits in IA32_XSS MSR are being used for new features, > > but current CPUID(0xd,i) enumeration code doesn't support them, so > > fix existing code first. > > > >

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Michal Hocko
On Tue 08-10-19 09:43:57, Petr Mladek wrote: > On Mon 2019-10-07 16:49:37, Michal Hocko wrote: > > [Cc s390 maintainers - the lockdep is > > http://lkml.kernel.org/r/1570228005-24979-1-git-send-email-...@lca.pw > > Petr has explained it is a false positive > >

Re: [PATCH] PCI: Enhance the ACS quirk for Cavium devices

2019-10-08 Thread Robert Richter
On 04.10.19 14:48:13, Bjorn Helgaas wrote: > commit 37b22fbfec2d > Author: George Cherian > Date: Thu Sep 19 02:43:34 2019 + > > PCI: Apply Cavium ACS quirk to CN99xx and CN11xxx Root Ports > > Add an array of Cavium Root Port device IDs and apply the quirk only to > the >

[PATCH][next] staging: wfx: fix spelling mistake "hexdecimal" -> "hexadecimal"

2019-10-08 Thread Colin King
From: Colin Ian King There is a spelling mistake in the documentation and a module parameter description. Fix these. Signed-off-by: Colin Ian King --- .../devicetree/bindings/net/wireless/siliabs,wfx.txt| 2 +- drivers/staging/wfx/main.c | 2 +-

Re: [PATCH] cgroup, blkcg: prevent dirty inodes to pin dying memory cgroups

2019-10-08 Thread Jan Kara
On Tue 08-10-19 05:38:59, Roman Gushchin wrote: > On Tue, Oct 08, 2019 at 03:06:31PM +1100, Dave Chinner wrote: > > On Fri, Oct 04, 2019 at 03:11:04PM -0700, Roman Gushchin wrote: > > > This is a RFC patch, which is not intended to be merged as is, > > > but hopefully will start a discussion which

[tip: x86/urgent] x86/asm: Fix MWAITX C-state hint value

2019-10-08 Thread tip-bot2 for Janakarajan Natarajan
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 9b69cab42e5d14b8f0467566e3d97e682365db2d Gitweb: https://git.kernel.org/tip/9b69cab42e5d14b8f0467566e3d97e682365db2d Author:Janakarajan Natarajan AuthorDate:Mon, 07 Oct 2019 19:00:22

[tip: x86/urgent] x86/asm: Fix MWAITX C-state hint value

2019-10-08 Thread tip-bot2 for Janakarajan Natarajan
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 9b69cab42e5d14b8f0467566e3d97e682365db2d Gitweb: https://git.kernel.org/tip/9b69cab42e5d14b8f0467566e3d97e682365db2d Author:Janakarajan Natarajan AuthorDate:Mon, 07 Oct 2019 19:00:22

[PATCH][next] netdevsim: fix spelling mistake "forbidded" -> "forbid"

2019-10-08 Thread Colin King
From: Colin Ian King There is a spelling mistake in a NL_SET_ERR_MSG_MOD message. Fix it. Signed-off-by: Colin Ian King --- drivers/net/netdevsim/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/netdevsim/dev.c b/drivers/net/netdevsim/dev.c index

Re: [PATCH v3 4/6] x86/alternatives: Add and use text_gen_insn() helper

2019-10-08 Thread Peter Zijlstra
On Tue, Oct 08, 2019 at 03:23:49PM +0900, Masami Hiramatsu wrote: > On Mon, 07 Oct 2019 10:17:20 +0200 > Peter Zijlstra wrote: > > > Provide a simple helper function to create common instruction > > encodings. > > Thanks for using correct INSN_OPCODE:) > This looks good to me. > Right, I have

RE: [PATCH][next] crypto: inside-secure: fix spelling mistake "algorithmn" -> "algorithm"

2019-10-08 Thread Pascal Van Leeuwen
> -Original Message- > From: linux-crypto-ow...@vger.kernel.org > On Behalf Of Colin > King > Sent: Tuesday, October 8, 2019 10:14 AM > To: Antoine Tenart ; Herbert Xu > ; David > S . Miller ; linux-cry...@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org;

Re: [PATCH v2] kheaders: making headers archive reproducible

2019-10-08 Thread Masahiro Yamada
On Tue, Oct 8, 2019 at 5:07 PM Dmitry Goldin wrote: > > Hi, > > ‐‐‐ Original Message ‐‐‐ > On Monday, October 7, 2019 2:26 PM, Andreas Schwab > wrote: > > > On Okt 07 2019, Greg KH gre...@linuxfoundation.org wrote: > > > > > On Mon, Oct 07, 2019 at 01:49:47PM +0200, Andreas Schwab

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Petr Mladek
On Mon 2019-10-07 11:33:27, Qian Cai wrote: > On Mon, 2019-10-07 at 17:12 +0200, Michal Hocko wrote: > > On Mon 07-10-19 10:59:10, Qian Cai wrote: > > [...] > > > It is almost impossible to eliminate all the indirect call chains from > > > console_sem/console_owner_lock to zone->lock because it is

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

2019-10-08 Thread Anshuman Khandual
On 10/07/2019 07:30 PM, Kirill A. Shutemov wrote: > On Mon, Oct 07, 2019 at 03:51:58PM +0200, Ingo Molnar wrote: >> >> * Kirill A. Shutemov wrote: >> >>> On Mon, Oct 07, 2019 at 03:06:17PM +0200, Ingo Molnar wrote: * Anshuman Khandual wrote: > This adds a test module which

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

2019-10-08 Thread Anshuman Khandual
On 10/07/2019 06:36 PM, Ingo Molnar wrote: > > * Anshuman Khandual wrote: > >> This adds a test module which will validate architecture page table helpers >> and accessors regarding compliance with generic MM semantics expectations. >> This will help various architectures in validating

Re: [PATCH 2/2] usb: cdns3: gadget: Fix full-speed mode

2019-10-08 Thread Peter Chen
On 19-10-07 15:16:01, Roger Quadros wrote: > We need to disable USB3 PHY for full-speed mode else > gadget mode is broken. > > Signed-off-by: Roger Quadros > Signed-off-by: Sekhar Nori > --- > drivers/usb/cdns3/gadget.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH v2] kheaders: making headers archive reproducible

2019-10-08 Thread Dmitry Goldin
Hi, ‐‐‐ Original Message ‐‐‐ On Monday, October 7, 2019 2:26 PM, Andreas Schwab wrote: > On Okt 07 2019, Greg KH gre...@linuxfoundation.org wrote: > > > On Mon, Oct 07, 2019 at 01:49:47PM +0200, Andreas Schwab wrote: > > > > > GEN kernel/kheaders_data.tar.xz > > > tar: unrecognized

[RFC v4] zswap: Add CONFIG_ZSWAP_IO_SWITCH to handle swap IO issue

2019-10-08 Thread Hui Zhu
This is the fourth version of this patch. The perious versions are in [1], [2] and [3]. The parameters read_in_flight_limit and write_in_flight_limit were replaced by io_switch_enabled_enabled in this verion to make this function more clear. Currently, I use a VM that has 1 CPU, 4G memory and

Re: [PATCH 2/2] clk: meson: a1: add support for Amlogic A1 clock driver

2019-10-08 Thread Jian Hu
Hi, Jerome PLL clocks and peripheral clocks rely on each other. for fixed_pll, we can describe its parent like this: xtal-->xtal_fixpll-->fixed_dco-->fixed_pll xtal fixpll is belong to peripheral region. fixed_pll/fclk_div2/fclk_div3 is belong to PLL region. if PLL clocks probe first, it

Re: [PATCH v2 3/4] drm/meson: Enable DRM InfoFrame support on GXL, GXM and G12A

2019-10-08 Thread Neil Armstrong
Hi Jonas, On 07/10/2019 21:21, Jonas Karlman wrote: > This patch enables Dynamic Range and Mastering InfoFrame on GXL, GXM and G12A. > > Cc: Neil Armstrong > Signed-off-by: Jonas Karlman > Reviewed-by: Neil Armstrong > --- > drivers/gpu/drm/meson/meson_dw_hdmi.c | 5 + > 1 file changed,

RE: [PATCH] arm64: dts: ls1028a: Add FlexSPI support for NXP LS1028

2019-10-08 Thread Xiaowei Bao
> -Original Message- > From: Shawn Guo > Sent: 2019年10月6日 11:20 > To: Ashish Kumar > Cc: devicet...@vger.kernel.org; r...@kernel.org; mark.rutl...@arm.com; > linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Xiaowei > Bao > Subject: Re: [PATCH] arm64: dts: ls1028a:

Re: [PATCH] usb: cdns3: Fix for incorrect DMA mask.

2019-10-08 Thread Peter Chen
On 19-10-07 13:03:23, Pawel Laszczak wrote: > This patch restores the correct DMA mask after switching back to device > mode. > The issue occurred because Device part of controller use 32 bits DMA and > Host side use 64 bits DMA. During loading XHCI driver the DMA mask > used by driver is

RE: [PATCH] usb: cdns3: Fix dequeue implementation.

2019-10-08 Thread Pawel Laszczak
>-Original Message- >From: Peter Chen >Sent: Tuesday, October 8, 2019 9:34 AM >To: Pawel Laszczak >Cc: felipe.ba...@linux.intel.com; gre...@linuxfoundation.org; >linux-...@vger.kernel.org; rog...@ti.com; linux- >ker...@vger.kernel.org; jbergsa...@ti.com; nsek...@ti.com; n...@ti.com;

RE: [PATCH -next] clk: imx: clk-pll14xx: Make two variables static

2019-10-08 Thread Anson Huang
Hi, > Fix sparse warnings: > > drivers/clk/imx/clk-pll14xx.c:44:37: > warning: symbol 'imx_pll1416x_tbl' was not declared. Should it be static? > drivers/clk/imx/clk-pll14xx.c:57:37: > warning: symbol 'imx_pll1443x_tbl' was not declared. Should it be static? > > Reported-by: Hulk Robot >

Re: Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5

2019-10-08 Thread Tero Kristo
On 07/10/2019 22:24, H. Nikolaus Schaller wrote: Hi Tero, Am 07.10.2019 um 21:18 schrieb Tero Kristo : On 07/10/2019 18:52, Tony Lindgren wrote: Hi, * H. Nikolaus Schaller [191005 16:59]: Please try with Tero's current github branch at github.com/t-kristo/linux-pm.git 5.4-rc1-ipc from few

RE: [PATCH -next] crypto: inside-secure - Fix randbuild error

2019-10-08 Thread Pascal Van Leeuwen
> -Original Message- > From: Ard Biesheuvel > Sent: Tuesday, October 8, 2019 9:35 AM > To: Pascal Van Leeuwen > Cc: YueHaibing ; herb...@gondor.apana.org.au; > da...@davemloft.net; > pascalv...@gmail.com; antoine.ten...@bootlin.com; > linux-cry...@vger.kernel.org; linux- >

RE: [PATCH] usb:cdns3: Fix for CV CH9 running with g_zero driver.

2019-10-08 Thread Pawel Laszczak
Hi Peter, > >EXTERNAL MAIL > > >On 19-10-07 07:39:11, Pawel Laszczak wrote: >> Patch fixes issue with Halt Endnpoint Test observed > >%s/Endnpoint/Endpoint > >> >> during using g_zero >> driver as DUT. Bug occurred only on some testing board. > >g_zero is legacy, please use configfs function

Re: [PATCH v3 3/3] linux/bits.h: Add compile time sanity check of GENMASK inputs

2019-10-08 Thread Masahiro Yamada
rom asm files, > > > + * disable the input check if that is the case. > > > + */ > > > +#define GENMASK_INPUT_CHECK(h, l) 0 > > > +#endif > > > + > > > +#define __GENMASK(h, l) \ > > > (((~UL(0)) - (UL(1) << (l)) + 1) & \ >

Re: [PATCH 1/2] leds: Add flag to keep trigger always

2019-10-08 Thread Pavel Machek
Hi! > > > > I don't understand. The original commit broke userspace operations. > > > > Shouldn't it be reverted, or fixed this way in order to have userspace > > > > work properly again? > > > > > > So, what it is exactly that is not working? :-). Yes, root can > > > disconnect LED from v4l2

Re: e1000e regression - 5.4rc1

2019-10-08 Thread Kai-Heng Feng
Hi Tobias, > On Oct 5, 2019, at 03:52, Tobias Klausmann > wrote: > > Hello, > > On 04.10.19 19:36, Kai-Heng Feng wrote: >> Hi Tobias >> >>> On Oct 4, 2019, at 18:34, Tobias Klausmann >>> wrote: >>> >>> Hello all, >>> >>> While testing the 5.4rc1 release, i noticed my Ethernet never

Re: [PATCH v10 2/3] arm64: mm: implement arch_faults_on_old_pte() on arm64

2019-10-08 Thread Marc Zyngier
On Tue, 8 Oct 2019 01:55:04 + "Justin He (Arm Technology China)" wrote: > Hi Will and Marc > > > -Original Message- > > From: Marc Zyngier > > Sent: 2019年10月1日 21:32 > > To: Will Deacon > > Cc: Justin He (Arm Technology China) ; Catalin > > Marinas ; Mark Rutland > > ; James Morse

Re: [PATCH v2 3/3] phy: qcom-qmp: Add SM8150 QMP UFS PHY support

2019-10-08 Thread Jack Pham
Hi Vinod, On Fri, Sep 06, 2019 at 10:40:17AM +0530, Vinod Koul wrote: > SM8150 UFS PHY is v4 of QMP phy. Add support for V4 QMP phy register > defines and support for SM8150 QMP UFS PHY. > > Signed-off-by: Vinod Koul > Reviewed-by: Bjorn Andersson > --- > drivers/phy/qualcomm/phy-qcom-qmp.c |

Re: [PATCH v3 3/3] linux/bits.h: Add compile time sanity check of GENMASK inputs

2019-10-08 Thread Masahiro Yamada
gt; + > > +#define __GENMASK(h, l) \ > > (((~UL(0)) - (UL(1) << (l)) + 1) & \ > > (~UL(0) >> (BITS_PER_LONG - 1 - (h > > +#define GENMASK(h, l) \ > > + (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) > > > > -

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Petr Mladek
On Mon 2019-10-07 16:49:37, Michal Hocko wrote: > [Cc s390 maintainers - the lockdep is > http://lkml.kernel.org/r/1570228005-24979-1-git-send-email-...@lca.pw > Petr has explained it is a false positive > http://lkml.kernel.org/r/20191007143002.l37bt2lzqtnqj...@pathway.suse.cz] > On Mon

Re: [PATCH v2 1/2] x86,sched: Add support for frequency invariance

2019-10-08 Thread Giovanni Gherdovich
On Thu, 2019-10-03 at 19:53 +0200, Rafael J. Wysocki wrote: > On Thursday, October 3, 2019 2:15:37 PM CEST Peter Zijlstra wrote: > > On Thu, Oct 03, 2019 at 12:27:52PM +0200, Rafael J. Wysocki wrote: > > > On Wednesday, October 2, 2019 2:29:25 PM CEST Giovanni Gherdovich wrote: > > > > +static

[PATCH v2 1/2] clk: sprd: Use IS_ERR() to validate the return value of syscon_regmap_lookup_by_phandle()

2019-10-08 Thread Baolin Wang
The syscon_regmap_lookup_by_phandle() will never return NULL, thus use IS_ERR() to validate the return value instead of IS_ERR_OR_NULL(). Fixes: d41f59fd92f2 ("clk: sprd: Add common infrastructure") Signed-off-by: Baolin Wang --- Changes from v1: - Add fixes tag. --- drivers/clk/sprd/common.c

[PATCH v2 2/2] clk: sprd: Change to use devm_platform_ioremap_resource()

2019-10-08 Thread Baolin Wang
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together, which can simpify the code. Signed-off-by: Baolin Wang --- Changes from v1: - None. --- drivers/clk/sprd/common.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH v5 05/18] watchdog: cpwd: use generic compat_ptr_ioctl

2019-10-08 Thread Arnd Bergmann
On Tue, Oct 8, 2019 at 1:30 AM Guenter Roeck wrote: > > On Wed, Aug 14, 2019 at 10:42:32PM +0200, Arnd Bergmann wrote: > > The cpwd_compat_ioctl() contains a bogus mutex that dates > > back to a leftover BKL instance. > > > > Simplify the implementation by using the new compat_ptr_ioctl() > >

Re: [PATCH 02/11] iomap: copy the xfs writeback code to iomap.c

2019-10-08 Thread Dave Chinner
On Tue, Oct 08, 2019 at 08:34:36AM +0200, Christoph Hellwig wrote: > On Tue, Oct 08, 2019 at 08:43:53AM +1100, Dave Chinner wrote: > > > +static int > > > +iomap_ioend_compare(void *priv, struct list_head *a, struct list_head *b) > > > +{ > > > + struct iomap_ioend *ia, *ib; > > > + > > > + ia =

[PATCH] watchdog: cpwd: fix build regression

2019-10-08 Thread Arnd Bergmann
The compat_ptr_ioctl() infrastructure did not make it into linux-5.4, so cpwd now fails to build. Fix it by using an open-coded version. Fixes: 68f28b01fb9e ("watchdog: cpwd: use generic compat_ptr_ioctl") Signed-off-by: Arnd Bergmann --- drivers/watchdog/cpwd.c | 8 +++- 1 file changed, 7

Re: [PATCH v3 0/7] clk: meson: axg-audio: add sm1 support

2019-10-08 Thread Jerome Brunet
On Wed 02 Oct 2019 at 11:15, Jerome Brunet wrote: > The purpose of this patchset is to add the sm1 support to the amlogic audio > clock controller. The line count is lot higher than what I hoped for. Even > if extremely similar, there is a shift in the register address on the sm1 > which makes

[tip: x86/cpu] x86/cpufeatures: Add feature bit RDPRU on AMD

2019-10-08 Thread tip-bot2 for Babu Moger
The following commit has been merged into the x86/cpu branch of tip: Commit-ID: 9d40b85bb46a99bc95dad3a07787da93b0a018e9 Gitweb: https://git.kernel.org/tip/9d40b85bb46a99bc95dad3a07787da93b0a018e9 Author:Babu Moger AuthorDate:Mon, 07 Oct 2019 15:48:39 -05:00 Committer:

Re: [PATCH] usb: cdns3: Fix dequeue implementation.

2019-10-08 Thread Peter Chen
On 19-10-07 13:06:18, Pawel Laszczak wrote: > Dequeuing implementation in cdns3_gadget_ep_dequeu gets first request from %s/cdns3_gadget_ep_dequeu/cdns3_gadget_ep_dequeue > deferred_req_list and changed TRB associated with it to LINK TRB. > This approach is incorrect because deferred_req_list

Re: ehci-pci breakage with dma-mapping changes in 5.4-rc2

2019-10-08 Thread Christoph Hellwig
On Mon, Oct 07, 2019 at 07:54:02PM -0400, Arvind Sankar wrote: > > Do you want me to resend the patch as its own mail, or do you just take > > it with a Tested-by: from me? If the former, I assume you're ok with me > > adding your Signed-off-by? > > > > Thanks > > A question on the original

Re: checkpatch error

2019-10-08 Thread Joe Perches
On Tue, 2019-10-08 at 12:02 +0800, Zhenzhong Duan wrote: > Hi, > > When I run checkpatch.pl with a patch doing reverting operation, it > reports a false positive error, Should I ignore the error or it's a bug? Ignore it.

Re: ehci-pci breakage with dma-mapping changes in 5.4-rc2

2019-10-08 Thread Christoph Hellwig
On Mon, Oct 07, 2019 at 06:10:55PM -0400, Arvind Sankar wrote: > > Acked-by: Christoph Hellwig > > Do you want me to resend the patch as its own mail, or do you just take > it with a Tested-by: from me? If the former, I assume you're ok with me > adding your Signed-off-by? Either way is fine

Re: [PATCH RFC 3/3] mtd: rawnand: Add support Macronix power down mode

2019-10-08 Thread Boris Brezillon
On Tue, 8 Oct 2019 10:06:50 +0800 masonccy...@mxic.com.tw wrote: > > > + nand_select_target(chip, 0); > > > > On several NAND controllers there is no way to act on the CS line > > without actually writing bytes to the NAND chip. So basically this > > is very likely to not work. > > any

Re: Build regressions/improvements in v5.4-rc2

2019-10-08 Thread Geert Uytterhoeven
Hi Randy, On Tue, Oct 8, 2019 at 1:41 AM Randy Dunlap wrote: > On 10/7/19 2:04 PM, Geert Uytterhoeven wrote: > > On Mon, Oct 7, 2019 at 10:48 PM Randy Dunlap wrote: > >> On 10/7/19 12:18 AM, Geert Uytterhoeven wrote: > >>> Below is the list of build error/warning regressions/improvements in >

Re: [PATCH] proc:fix confusing macro arg name

2019-10-08 Thread Aleksa Sarai
On 2019-10-08, linmiaohe wrote: > Add suitable additional cc's as Andrew Morton suggested. > Get cc list from get_maintainer script: > [root@localhost mm]# ./scripts/get_maintainer.pl > 0001-proc-fix-confusing-macro-arg-name.patch > Alexey Dobriyan (reviewer:PROC FILESYSTEM) >

Re: [RESEND PATCH v5 4/4] mailbox: imx: add support for imx v1 mu

2019-10-08 Thread Daniel Baluta
Hi Richard, Can you please rebase and resend this patch series? On Mon, Aug 5, 2019 at 10:21 PM Daniel Baluta wrote: > > On Mon, Aug 5, 2019 at 8:16 AM Richard Zhu wrote: > > > > There is a version 1.0 MU on i.MX7ULP platform. > > One new version ID register is added, and it's offset is 0. > >

Re: [PATCH v3 3/3] linux/bits.h: Add compile time sanity check of GENMASK inputs

2019-10-08 Thread Geert Uytterhoeven
) > +#define GENMASK(h, l) \ > + (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l)) > > -#define GENMASK_ULL(h, l) \ > +#define __GENMASK_ULL(h, l) \ > (((~ULL(0)) - (ULL(1) << (l)) + 1) & \ > (~ULL(0) >> (BITS_PER_LONG_LONG - 1 - (h > +#define

Re: [PATCH] mm, hugetlb: allow hugepage allocations to excessively reclaim

2019-10-08 Thread Vlastimil Babka
On 10/7/19 9:55 AM, Michal Hocko wrote: > From: David Rientjes Nit: the subject is still somewhat misleading IMHO, especially in light of Mike's responses. I would say "reclaim as needed" instead of "excessively reclaim". The excessive reclaim behavior in hugetlb nr_pages setting was a bug that

[PATCH -next] clk: imx: clk-pll14xx: Make two variables static

2019-10-08 Thread YueHaibing
Fix sparse warnings: drivers/clk/imx/clk-pll14xx.c:44:37: warning: symbol 'imx_pll1416x_tbl' was not declared. Should it be static? drivers/clk/imx/clk-pll14xx.c:57:37: warning: symbol 'imx_pll1443x_tbl' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing

Re: [RESEND PATCH] ARM/hw_breakpoint: add ARMv8.1/ARMv8.2 debug architecutre versions support in enable_monitor_mode()

2019-10-08 Thread Candle Sun
Hi Will, Sorry for not instant respond. On Mon, Sep 30, 2019 at 11:34 PM Will Deacon wrote: > > On Thu, Sep 26, 2019 at 03:38:28PM +0800, Candle Sun wrote: > > From: Candle Sun > > > > When ARMv8.1/ARMv8.2 cores are used in AArch32 mode, > > arch_hw_breakpoint_init() in

Re: [PATCH v22 07/24] x86/sgx: Add wrappers for ENCLS leaf functions

2019-10-08 Thread Borislav Petkov
On Mon, Oct 07, 2019 at 09:04:05PM -0700, Sean Christopherson wrote: > > BIT(30) > > This is intentionally open coded so that it can be stringified in asm. It stringifies just fine with the BIT() macro too: # 187 "arch/x86/kernel/cpu/sgx/encls.h" 1 1: .byte 0x0f, 0x01, 0xcf; 2:

Re: [PATCH] iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 29

2019-10-08 Thread Luciano Coelho
On Tue, 2019-10-08 at 14:05 +0800, You-Sheng Yang wrote: > Follow-up for commit fddbfeece9c7 ("iwlwifi: fw: don't send > GEO_TX_POWER_LIMIT command to FW version 36"). There is no > GEO_TX_POWER_LIMIT command support for all revisions of FW version > 29, either. > > Bugzilla:

[PATCH -next] soc: qcom: Fix llcc-qcom definitions to include

2019-10-08 Thread YueHaibing
commit 99356b03b431 ("soc: qcom: Make llcc-qcom a generic driver") move these out of llcc-qcom.h, make the building fails: drivers/edac/qcom_edac.c:86:40: error: array type has incomplete element type struct llcc_edac_reg_data static const struct llcc_edac_reg_data edac_reg_data[] = {

RE: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support

2019-10-08 Thread Xiaowei Bao
> -Original Message- > From: Shawn Guo > Sent: 2019年10月3日 17:11 > To: Xiaowei Bao > Cc: robh...@kernel.org; mark.rutl...@arm.com; Leo Li > ; M.h. Lian ; Mingkai Hu > ; Roy Zang ; > lorenzo.pieral...@arm.com; linux-...@vger.kernel.org; > devicet...@vger.kernel.org;

Re: [PATCH] staging: media: sunxi: make use of devm_platform_ioremap_resource

2019-10-08 Thread Paul Kocialkowski
Hi, On Tue 08 Oct 19, 12:29, hariprasadkelamhariprasad.ke...@gmail.com wrote: > From: Hariprasad Kelam > > fix below issue reported by coccicheck > drivers/staging//media/sunxi/cedrus/cedrus_hw.c:229:1-10: WARNING: Use > devm_platform_ioremap_resource for dev -> base Looks good, thanks!

Re: [PATCH] mm, hugetlb: allow hugepage allocations to excessively reclaim

2019-10-08 Thread Michal Hocko
On Mon 07-10-19 12:03:30, Mike Kravetz wrote: > On 10/7/19 12:55 AM, Michal Hocko wrote: > > From: David Rientjes > > > > b39d0ee2632d ("mm, page_alloc: avoid expensive reclaim when compaction > > may not succeed") has chnaged the allocator to bail out from the > > allocator early to prevent

[PATCH v1 0/5] perf report: Support sorting all blocks by cycles

2019-10-08 Thread Jin Yao
It would be useful to support sorting for all blocks by the sampled cycles percent per block. This is useful to concentrate on the globally busiest/slowest blocks. This patch series implements a new sort option "total_cycles" which sorts all blocks by 'Sampled Cycles%'. The 'Sampled Cycles%' is

[PATCH v1 2/5] perf util: Count the total cycles of all samples

2019-10-08 Thread Jin Yao
We can get the per sample cycles by hist__account_cycles(). It's also useful to know the total cycles of all samples in order to get the cycles coverage for a single program block in further. For example, coverage = per block sampled cycles / total sampled cycles This patch creates a new

[PATCH v1 3/5] perf report: Sort by sampled cycles percent per block for stdio

2019-10-08 Thread Jin Yao
It would be useful to support sorting for all blocks by the sampled cycles percent per block. This is useful to concentrate on the globally busiest/slowest blocks. This patch implements a new sort option "total_cycles" which sorts all blocks by 'Sampled Cycles%'. The 'Sampled Cycles%' is block

[PATCH v1 1/5] perf util: Create new block.h/block.c for block related functions

2019-10-08 Thread Jin Yao
We have already implemented some block related functions. Now it's time to do some cleanup, and move the functions and structures to the new block.h/block.c. Signed-off-by: Jin Yao --- tools/perf/builtin-diff.c | 38 ++- tools/perf/util/Build | 1 +

[PATCH v1 5/5] perf report: Sort by sampled cycles percent per block for tui

2019-10-08 Thread Jin Yao
Previous patch has implemented a new sort option "total_cycles". But there was only stdio mode supported. This patch supports the tui mode and support '--percent-limit' as well. For example, perf record -b ./div perf report -s total_cycles --percent-limit 1 # Samples: 2753248 of event

[PATCH v1 4/5] perf report: Support --percent-limit for total_cycles

2019-10-08 Thread Jin Yao
We have already supported the 'total_cycles' option in previous patch. It's also useful to show entries only above a threshold percent. This patch enables '--percent-limit' for not showing entries under that percent. For example, perf report -s total_cycles --stdio --percent-limit 1 # To

Re: [PATCH] proc:fix confusing macro arg name

2019-10-08 Thread Li, Aubrey
On 2019/10/8 14:44, linmiaohe wrote: > Add suitable additional cc's as Andrew Morton suggested. > Get cc list from get_maintainer script: > [root@localhost mm]# ./scripts/get_maintainer.pl > 0001-proc-fix-confusing-macro-arg-name.patch > Alexey Dobriyan (reviewer:PROC FILESYSTEM) >

Re: [Patch v3 1/3] media: ov5640: add PIXEL_RATE control

2019-10-08 Thread Sakari Ailus
On Mon, Oct 07, 2019 at 10:17:03AM -0500, Benoit Parrot wrote: > Sakari Ailus wrote on Mon [2019-Oct-07 > 11:03:20 +0300]: > > On Fri, Oct 04, 2019 at 12:24:16PM -0500, Benoit Parrot wrote: > > > @@ -2657,6 +2669,12 @@ static int ov5640_init_controls(struct ov5640_dev > > > *sensor) > > > /*

Re: [PATCH] usb:cdns3: Fix for CV CH9 running with g_zero driver.

2019-10-08 Thread Peter Chen
On 19-10-07 07:39:11, Pawel Laszczak wrote: > Patch fixes issue with Halt Endnpoint Test observed %s/Endnpoint/Endpoint > > during using g_zero > driver as DUT. Bug occurred only on some testing board. g_zero is legacy, please use configfs function source_sink or loopback instead. > >

Re: [PATCH 11/16] x86/cpu: Print VMX features as separate line item in /proc/cpuinfo

2019-10-08 Thread Paolo Bonzini
On 07/10/19 21:56, Sean Christopherson wrote: > On Mon, Oct 07, 2019 at 07:12:37PM +0200, Paolo Bonzini wrote: >> On 04/10/19 23:56, Sean Christopherson wrote: >>> diff --git a/arch/x86/kernel/cpu/proc.c b/arch/x86/kernel/cpu/proc.c >>> index cb2e49810d68..4eec8889b0ff 100644 >>> ---

Re: [PATCH 10/16] x86/cpu: Detect VMX features on Intel, Centaur and Zhaoxin CPUs

2019-10-08 Thread Paolo Bonzini
On 07/10/19 21:54, Sean Christopherson wrote: >> For QEMU, we're defining a feature as supported if a feature can be >> turned both on and off. Since msr_low and msr_high can be defined >> respectively as must-be-one and can-be-one, the features become >> "msr_high & ~msr_low". > > That makes

Re: [PATCH 02/10] iio: imu: adis: add unlocked read/write function versions

2019-10-08 Thread Ardelean, Alexandru
On Mon, 2019-10-07 at 22:16 +0100, Jonathan Cameron wrote: > On Sun, 6 Oct 2019 10:12:01 +0100 > Jonathan Cameron wrote: > > > On Thu, 26 Sep 2019 14:18:04 +0300 > > Alexandru Ardelean wrote: > > > > > This will allow more flexible control to group reads & writes into a > > > single > > > lock

Re: [PATCH 2/2] iio: light: Add support for ADUX1020 sensor

2019-10-08 Thread Ardelean, Alexandru
On Mon, 2019-10-07 at 15:40 +0530, Manivannan Sadhasivam wrote: > [External] > Hey, Comments inline. I thought I sent an initial review, but seems to have gotten lost [maybe in my email client]. Oh well. I managed to re-do it anyway. I tried to group them this time. The more prominent part

[PATCH] MAINTAINERS: csky: Add mailing list for csky

2019-10-08 Thread guoren
From: Guo Ren Add mailing list and it's convenient for maintain C-SKY subsystem. Signed-off-by: Guo Ren --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 55199ef..d8fc16d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3556,6 +3556,7 @@ F:

Re: [PATCH] proc:fix confusing macro arg name

2019-10-08 Thread linmiaohe
Add suitable additional cc's as Andrew Morton suggested. Get cc list from get_maintainer script: [root@localhost mm]# ./scripts/get_maintainer.pl 0001-proc-fix-confusing-macro-arg-name.patch Alexey Dobriyan (reviewer:PROC FILESYSTEM) linux-kernel@vger.kernel.org (open list:PROC FILESYSTEM)

Re: [PATCH -next] misc: watch_queue: Fix build error

2019-10-08 Thread Yuehaibing
On 2019/9/4 20:20, David Howells wrote: > Thanks, I've folded that in. This issue still occur in linux-next 20191008 : drivers/misc/watch_queue.c: In function ‘watch_queue_account_mem’: drivers/misc/watch_queue.c:315:38: error: ‘struct user_struct’ has no member named ‘locked_vm’; did you m

Re: [PATCH 08/11] xfs: use a struct iomap in xfs_writepage_ctx

2019-10-08 Thread Christoph Hellwig
On Tue, Oct 08, 2019 at 08:54:24AM +1100, Dave Chinner wrote: > > + if (whichfork == XFS_COW_FORK) > > + flags |= IOMAP_F_SHARED; > > That seems out of place - I don't see anywhere in this patch that > moves/removes setting the IOMAP_F_SHARED flag. i.e this looks like a > change of

<    4   5   6   7   8   9   10   >