Re: [PATCH v8 0/3] KVM: x86: Enable user wait instructions

2019-07-20 Thread Tao Xu
On 7/20/2019 1:18 AM, Paolo Bonzini wrote: On 19/07/19 08:31, Tao Xu wrote: Ping for comments :) Hi, I'll look at it for 5.4, right after the merge window. Paolo Thank you Paolo! On 7/16/2019 2:55 PM, Tao Xu wrote: UMONITOR, UMWAIT and TPAUSE are a set of user wait instructions. UMONITO

Re: [PATCH 3/3] arm64: debug: Remove rcu_read_lock from debug exception

2019-07-20 Thread Masami Hiramatsu
Hi James, On Fri, 19 Jul 2019 09:42:05 +0100 James Morse wrote: > Hi, > > On 7/18/19 3:31 PM, Masami Hiramatsu wrote: > > On Thu, 18 Jul 2019 10:20:23 +0100 > > Mark Rutland wrote: > > > >> On Wed, Jul 17, 2019 at 11:22:15PM -0700, Paul E. McKenney wrote: > >>> On Thu, Jul 18, 2019 at 02:43:5

Re: [v5 2/2] gpio: aspeed: Add SGPIO driver

2019-07-20 Thread Linus Walleij
Hi Hongwei, thanks for your patch! some comments and nitpicking below: On Fri, Jul 19, 2019 at 9:25 PM Hongwei Zhang wrote: > Add SGPIO driver support for Aspeed AST2500 SoC. > > Signed-off-by: Hongwei Zhang > +// SPDX-License-Identifier: GPL-2.0+ I think the SPDX people prefer GPL-2.0-or-l

Re: [PATCH 3/3] arm64: debug: Remove rcu_read_lock from debug exception

2019-07-20 Thread Masami Hiramatsu
Hi Mark, On Fri, 19 Jul 2019 10:59:59 +0100 Mark Rutland wrote: > On Thu, Jul 18, 2019 at 11:31:33PM +0900, Masami Hiramatsu wrote: > > On Thu, 18 Jul 2019 10:20:23 +0100 > > Mark Rutland wrote: > > > > > On Wed, Jul 17, 2019 at 11:22:15PM -0700, Paul E. McKenney wrote: > > > > On Thu, Jul 18,

[PATCH v2 1/2] mtd: spi-nor: Move m25p80 code in spi-nor.c

2019-07-20 Thread Vignesh Raghavendra
From: Boris Brezillon The m25p80 driver is actually a generic wrapper around the spi-mem layer. Not only the driver name is misleading, but we'd expect such a common logic to be directly available in the core. Another reason for moving this code is that SPI NOR controller drivers should progressi

[PATCH v2 0/2] ] Merge m25p80 into spi-nor

2019-07-20 Thread Vignesh Raghavendra
This is repost of patch 6 and 7 split from from Boris Brezillon's X-X-X mode support series[1] Background from cover letter for RFC[1]: m25p80 is just a simple SPI NOR controller driver (a wrapper around the SPI mem API). Not only it shouldn't be named after a specific SPI NOR chip, but it also do

[PATCH v2 2/2] mtd: spi-nor: Rework hwcaps selection for the spi-mem case

2019-07-20 Thread Vignesh Raghavendra
From: Boris Brezillon The spi-mem layer provides a spi_mem_supports_op() function to check whether a specific operation is supported by the controller or not. This is much more accurate than the hwcaps selection logic based on SPI_{RX,TX}_ flags. Rework the hwcaps selection logic to use spi_mem_

Re: [PATCH -next] infiniband: siw: remove set but not used variables 'rv'

2019-07-20 Thread Bernard Metzler
-"Mao Wenan" wrote: - >To: , , >From: "Mao Wenan" >Date: 07/19/2019 03:24AM >Cc: , , >, "Mao Wenan" >Subject: [EXTERNAL] [PATCH -next] infiniband: siw: remove set but not >used variables 'rv' > >Fixes gcc '-Wunused-but-set-variable' warning: > >drivers/infiniband/sw/siw/siw_cm.c: In fu

Re: [v5 1/2] dt-bindings: gpio: aspeed: Add SGPIO support

2019-07-20 Thread Linus Walleij
Hi Hongwei, after looking close at the driver and bindings I have this feeback: On Fri, Jul 19, 2019 at 9:25 PM Hongwei Zhang wrote: +- reg : Address and length of the register set for the device This 0x100 range may look simple but in the driver it looks like this: +static c

Re: [PATCH 3/3] media: Add support for Cadence CSI2TX 2.1

2019-07-20 Thread Maxime Ripard
Hi, On Thu, Jul 18, 2019 at 12:15:09PM +0100, Jan Kotas wrote: > This patch adds support for CSI2TX v2.1 version of the controller. > > Signed-off-by: Jan Kotas > --- > drivers/media/platform/cadence/cdns-csi2tx.c | 142 > +-- > 1 file changed, 112 insertions(+), 30 dele

Re: [PATCH 2/3] media: Add lane checks for Cadence CSI2TX

2019-07-20 Thread Maxime Ripard
65;5603;1c On Thu, Jul 18, 2019 at 12:15:08PM +0100, Jan Kotas wrote: > This patch adds line checks for CSI2TX, to prevent > clock lane being used as a data lane. > > Signed-off-by: Jan Kotas Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https:/

Re: [PATCH 1/3] media: dt-bindings: Update bindings for Cadence CSI2TX version 2.1

2019-07-20 Thread Maxime Ripard
On Thu, Jul 18, 2019 at 12:15:07PM +0100, Jan Kotas wrote: > This patch adds a DT bindings documentation for > Cadence CSI2TX v2.1 controller. > > Signed-off-by: Jan Kotas Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com signa

Re: [PATCH v8 13/19] locking/rwsem: Make rwsem->owner an atomic_long_t

2019-07-20 Thread Luis Henriques
"Linus Torvalds" writes: > On Fri, Jul 19, 2019 at 12:32 PM Waiman Long wrote: >> >> This patch shouldn't change the behavior of the rwsem code. The code >> only access data within the rw_semaphore structures. I don't know why it >> will cause a KASAN error. I will have to reproduce it and figur

Re: [PATCH] x86/stacktrace: Do not access user space memory unnecessarily

2019-07-20 Thread Thomas Gleixner
On Sat, 20 Jul 2019, Thomas Gleixner wrote: > On Sat, 20 Jul 2019, Thomas Gleixner wrote: > > On Fri, 19 Jul 2019, Sean Christopherson wrote: > > > [0.680477] Run /sbin/init as init process > > > [0.682116] init[1]: segfault at 2926a7ef ip 7f98a49d9c30 sp > > > 7fffd83e6af0 error 1

[PATCH] x86/entry/64: Prevent clobbering of saved CR2 value

2019-07-20 Thread Thomas Gleixner
The recent fix for CR2 corruption introduced a new way to reliably corrupt the saved CR2 value. CR2 is saved early in the entry code in RDX, which is the third argument to the fault handling functions. But it missed that between saving and invoking the fault handler enter_from_user_mode() can be c

Re: [PATCH v2] kbuild: Fail if gold linker is detected

2019-07-20 Thread Mike Lothian
On Wed, 17 Jul 2019 at 08:57, Thomas Gleixner wrote: > > On Wed, 17 Jul 2019, Masahiro Yamada wrote: > > On Wed, Jul 17, 2019 at 4:47 AM Thomas Gleixner wrote: > > > So instead of dealing with attempts to duct tape gold support without > > > understanding the root cause and without support from t

Re: network problems with r8169

2019-07-20 Thread Heiner Kallweit
On 19.07.2019 23:12, Thomas Voegtle wrote: > On Fri, 19 Jul 2019, Heiner Kallweit wrote: > >> On 18.07.2019 20:50, Thomas Voegtle wrote: >>> >>> Hello, >>> >>> I'm having network problems with the commits on r8169 since v5.2. There are >>> ping packet loss, sometimes 100%, sometimes 50%. In the e

Re: network problems with r8169

2019-07-20 Thread Heiner Kallweit
On 19.07.2019 23:12, Thomas Voegtle wrote: > On Fri, 19 Jul 2019, Heiner Kallweit wrote: > >> On 18.07.2019 20:50, Thomas Voegtle wrote: >>> >>> Hello, >>> >>> I'm having network problems with the commits on r8169 since v5.2. There are >>> ping packet loss, sometimes 100%, sometimes 50%. In the e

Re: [PATCH v4 1/8] pinctrl: sunxi: v3s: introduce support for V3

2019-07-20 Thread Maxime Ripard
On Sat, Jul 13, 2019 at 11:46:27AM +0800, Icenowy Zheng wrote: > Introduce the GPIO pins that is only available on V3 (not on V3s) to the > V3s pinctrl driver. > > Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https:

[tip:smp/urgent] smp: Warn on function calls from softirq context

2019-07-20 Thread tip-bot for Peter Zijlstra
Commit-ID: 19dbdcb8039cff16669a05136a29180778d16d0a Gitweb: https://git.kernel.org/tip/19dbdcb8039cff16669a05136a29180778d16d0a Author: Peter Zijlstra AuthorDate: Thu, 18 Jul 2019 11:20:09 +0200 Committer: Thomas Gleixner CommitDate: Sat, 20 Jul 2019 11:27:16 +0200 smp: Warn on functio

Re: [PATCH v8 13/19] locking/rwsem: Make rwsem->owner an atomic_long_t

2019-07-20 Thread Luis Henriques
Luis Henriques writes: > "Linus Torvalds" writes: > >> On Fri, Jul 19, 2019 at 12:32 PM Waiman Long wrote: >>> >>> This patch shouldn't change the behavior of the rwsem code. The code >>> only access data within the rw_semaphore structures. I don't know why it >>> will cause a KASAN error. I wi

Re: [PATCH v2] kbuild: Fail if gold linker is detected

2019-07-20 Thread Thomas Gleixner
On Sat, 20 Jul 2019, Mike Lothian wrote: > On Wed, 17 Jul 2019 at 08:57, Thomas Gleixner wrote: > I've done a bit more digging, I had a second machine that was building > Linus's tree just fine with ld.gold > > I tried forcing ld.bfd on the problem machine and got this: > > ld.bfd: arch/x86/boot

Re: [PATCH v4 2/8] clk: sunxi-ng: v3s: add the missing PLL_DDR1

2019-07-20 Thread Maxime Ripard
On Sat, Jul 13, 2019 at 11:46:28AM +0800, Icenowy Zheng wrote: > The user manual of V3/V3s/S3 declares a PLL_DDR1, however it's forgot > when developing the V3s CCU driver. > > Add back the missing PLL_DDR1. > > Fixes: d0f11d14b0bc ("clk: sunxi-ng: add support for V3s CCU") > Signed-off-by: Icenowy

Re: [PATCH v4 3/8] dt-bindings: clk: sunxi-ccu: add compatible string for V3 CCU

2019-07-20 Thread Maxime Ripard
On Sat, Jul 13, 2019 at 11:46:29AM +0800, Icenowy Zheng wrote: > Despite Allwinner V3 and V3s shares the same die, one peripheral (I2S) > is only available on V3, and thus the clocks is not declared for V3s > CCU. > > Add a V3 CCU compatible string to the binding to prepare for a CCU > driver that

Re: [PATCH v4 4/8] clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks

2019-07-20 Thread Maxime Ripard
On Sat, Jul 13, 2019 at 11:46:30AM +0800, Icenowy Zheng wrote: > The MMC2 clock slices are currently not defined in V3s CCU driver, which > makes MMC2 not working. > > Fix this issue. > > Fixes: d0f11d14b0bc ("clk: sunxi-ng: add support for V3s CCU") > Signed-off-by: Icenowy Zheng > --- > New patc

Re: [PATCH v4 4/8] clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks

2019-07-20 Thread Icenowy Zheng
于 2019年7月20日 GMT+08:00 下午5:44:49, Maxime Ripard 写到: >On Sat, Jul 13, 2019 at 11:46:30AM +0800, Icenowy Zheng wrote: >> The MMC2 clock slices are currently not defined in V3s CCU driver, >which >> makes MMC2 not working. >> >> Fix this issue. >> >> Fixes: d0f11d14b0bc ("clk: sunxi-ng: add suppor

Re: [PATCH v8 13/19] locking/rwsem: Make rwsem->owner an atomic_long_t

2019-07-20 Thread Luis Henriques
Luis Henriques writes: > Luis Henriques writes: > >> "Linus Torvalds" writes: >> >>> On Fri, Jul 19, 2019 at 12:32 PM Waiman Long wrote: This patch shouldn't change the behavior of the rwsem code. The code only access data within the rw_semaphore structures. I don't know why it

Re: [PATCH v4 5/8] clk: sunxi-ng: v3s: add Allwinner V3 support

2019-07-20 Thread Maxime Ripard
On Sat, Jul 13, 2019 at 11:46:31AM +0800, Icenowy Zheng wrote: > + [CLK_MMC1] = &mmc1_clk.common.hw, > + [CLK_MMC1_SAMPLE] = &mmc1_sample_clk.common.hw, > + [CLK_MMC1_OUTPUT] = &mmc1_output_clk.common.hw, > + [CLK_MMC2]

Re: [PATCH v4 6/8] ARM: sunxi: dts: s3/s3l/v3: add DTSI files for S3/S3L/V3 SoCs

2019-07-20 Thread Maxime Ripard
On Sat, Jul 13, 2019 at 11:46:32AM +0800, Icenowy Zheng wrote: > The Allwinner S3/S3L/V3 SoCs all share the same die with the V3s SoC, > but with more GPIO wired out of the package. > > Add DTSI files for these SoCs. The DTSI file for V3 just replaces the > pinctrl compatible string, and the S3/S3L

Re: [PATCH v4 6/8] ARM: sunxi: dts: s3/s3l/v3: add DTSI files for S3/S3L/V3 SoCs

2019-07-20 Thread Icenowy Zheng
于 2019年7月20日 GMT+08:00 下午5:48:14, Maxime Ripard 写到: >On Sat, Jul 13, 2019 at 11:46:32AM +0800, Icenowy Zheng wrote: >> The Allwinner S3/S3L/V3 SoCs all share the same die with the V3s SoC, >> but with more GPIO wired out of the package. >> >> Add DTSI files for these SoCs. The DTSI file for V3

Re: WARNING in __mmdrop

2019-07-20 Thread syzbot
syzbot has bisected this bug to: commit 7f466032dc9e5a61217f22ea34b2df932786bbfc Author: Jason Wang Date: Fri May 24 08:12:18 2019 + vhost: access vq metadata through kernel virtual address bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=149a8a2060 start commit: 6d

Re: [PATCH 4.19 30/47] genirq: Delay deactivation in free_irq()

2019-07-20 Thread Greg Kroah-Hartman
On Fri, Jul 19, 2019 at 09:58:53PM +0200, Pavel Machek wrote: > Hi! > > Something went wrong in this mail: > > On Thu 2019-07-18 12:01:44, Greg Kroah-Hartman wrote: > > From: Thomas Gleixner t...@linutronix.de > > > > normally there should be <> around the email address. And they are in > the g

Re: [PATCH v4 8/8] ARM: dts: sun8i: s3: add devicetree for Lichee zero plus w/ S3

2019-07-20 Thread Maxime Ripard
On Sat, Jul 13, 2019 at 11:46:34AM +0800, Icenowy Zheng wrote: > Lichee zero plus is a core board made by Sipeed, which includes on-board > TF slot or SMT SD NAND, and optional SPI NOR or eMMC, a UART debug > header, a microUSB slot and a gold finger connector for expansion. It > can use either Soc

Re: [PATCH v4 7/8] dt-bindings: arm: sunxi: add binding for Lichee Zero Plus core board

2019-07-20 Thread Maxime Ripard
On Sat, Jul 13, 2019 at 11:46:33AM +0800, Icenowy Zheng wrote: > The Lichee Zero Plus is a core board made by Sipeed, with a microUSB > connector on it, TF slot or WSON8 SD chip, optional eMMC or SPI Flash. > It has a gold finger connector for expansion, and UART is available from > reserved pins w

Re: [PATCH v2] kbuild: Fail if gold linker is detected

2019-07-20 Thread Mike Lothian
On Sat, 20 Jul 2019 at 10:34, Thomas Gleixner wrote: > > On Sat, 20 Jul 2019, Mike Lothian wrote: > > On Wed, 17 Jul 2019 at 08:57, Thomas Gleixner wrote: > > I've done a bit more digging, I had a second machine that was building > > Linus's tree just fine with ld.gold > > > > I tried forcing ld.

[PATCH] trace: fix header include guards

2019-07-20 Thread Masahiro Yamada
These include guards are broken. Match the #if !define() and #define lines so that they work correctly. Signed-off-by: Masahiro Yamada --- include/trace/events/dma_fence.h | 2 +- include/trace/events/napi.h | 4 ++-- include/trace/events/qdisc.h | 4 ++-- include/trace/ev

Re: [PATCH v2] kbuild: Fail if gold linker is detected

2019-07-20 Thread Thomas Gleixner
On Sat, 20 Jul 2019, Mike Lothian wrote: > Here is my config > > https://github.com/FireBurn/KernelStuff/blob/9b7e96581598d50b266f9df258e7de764949147a/dot_config_tip > Builds perfectly fine.

Re: [PATCH v2] kbuild: Fail if gold linker is detected

2019-07-20 Thread Mike Lothian
On Sat, 20 Jul 2019 at 11:54, Thomas Gleixner wrote: > > On Sat, 20 Jul 2019, Mike Lothian wrote: > > Here is my config > > > > https://github.com/FireBurn/KernelStuff/blob/9b7e96581598d50b266f9df258e7de764949147a/dot_config_tip > > > > Builds perfectly fine. Sorry top posted from my phone Are y

Re: [PATCH v8 13/19] locking/rwsem: Make rwsem->owner an atomic_long_t

2019-07-20 Thread Peter Zijlstra
On Sat, Jul 20, 2019 at 09:41:05AM +0100, Luis Henriques wrote: > [ 39.801179] > == > [ 39.801973] BUG: KASAN: use-after-free in rwsem_down_write_slowpath > (/home/miguel/kernel/linux/kernel/locking/rwsem.c:669 > /home/miguel/ke

Re: [PATCH] x86/entry/64: Prevent clobbering of saved CR2 value

2019-07-20 Thread Peter Zijlstra
On Sat, Jul 20, 2019 at 10:56:41AM +0200, Thomas Gleixner wrote: > The recent fix for CR2 corruption introduced a new way to reliably corrupt > the saved CR2 value. > > CR2 is saved early in the entry code in RDX, which is the third argument to > the fault handling functions. But it missed that be

Re: [PATCH 3/5] sched/fair: rework load_balance

2019-07-20 Thread Peter Zijlstra
On Fri, Jul 19, 2019 at 04:02:15PM +0200, Vincent Guittot wrote: > On Fri, 19 Jul 2019 at 14:54, Peter Zijlstra wrote: > > > > On Fri, Jul 19, 2019 at 09:58:23AM +0200, Vincent Guittot wrote: > > > -void fix_small_imbalance(struct lb_env *env, struct sd_lb_stats *sds) > > Maybe strip this out fi

Re: [PATCH v4 7/8] dt-bindings: arm: sunxi: add binding for Lichee Zero Plus core board

2019-07-20 Thread Icenowy Zheng
于 2019年7月20日 GMT+08:00 下午6:13:18, Maxime Ripard 写到: >On Sat, Jul 13, 2019 at 11:46:33AM +0800, Icenowy Zheng wrote: >> The Lichee Zero Plus is a core board made by Sipeed, with a microUSB >> connector on it, TF slot or WSON8 SD chip, optional eMMC or SPI >Flash. >> It has a gold finger connecto

[GIT PULL] Second batch of KVM changes for 5.3 merge window

2019-07-20 Thread Paolo Bonzini
Linus, The following changes since commit 964a4eacef67503a1154f7e0a75f52fbdce52022: Merge tag 'dlm-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm (2019-07-12 17:37:53 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git

[PATCH] pinctrl: pinctrl-single: add header include guard

2019-07-20 Thread Masahiro Yamada
Add a header include guard just in case. Signed-off-by: Masahiro Yamada --- include/linux/platform_data/pinctrl-single.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/platform_data/pinctrl-single.h b/include/linux/platform_data/pinctrl-single.h index 1cf36fdf9510..747

Re: [PATCH] ARM: Fix null die() string for unhandled data and prefetch abort cases

2019-07-20 Thread Russell King - ARM Linux admin
On Fri, Jul 19, 2019 at 10:32:55PM -0400, George G. Davis wrote: > When an unhandled data or prefetch abort occurs, the die() string > is empty resulting in backtrace messages similar to the following: > > Internal error: : 1 [#1] PREEMPT SMP ARM > > Replace the null string with the name of

[tip:x86/urgent] x86/entry/64: Prevent clobbering of saved CR2 value

2019-07-20 Thread tip-bot for Thomas Gleixner
Commit-ID: 6879298bd0673840cadd1fb36d7225485504ceb4 Gitweb: https://git.kernel.org/tip/6879298bd0673840cadd1fb36d7225485504ceb4 Author: Thomas Gleixner AuthorDate: Sat, 20 Jul 2019 10:56:41 +0200 Committer: Thomas Gleixner CommitDate: Sat, 20 Jul 2019 14:28:41 +0200 x86/entry/64: Preve

Re: [GIT PULL] final round of SCSI updates for the 5.2+ merge window

2019-07-20 Thread Martin K. Petersen
Hi Ming! >> Christoph Hellwig (8): >> scsi: megaraid_sas: set an unlimited max_segment_size >> scsi: mpt3sas: set an unlimited max_segment_size for SAS 3.0 HBAs >> scsi: IB/srp: set virt_boundary_mask in the scsi host >> scsi: IB/iser: set virt_boundary_mask in the scsi h

Re: [PATCH v3 0/6] Tracing vs CR2

2019-07-20 Thread Andy Lutomirski
On Fri, Jul 19, 2019 at 8:59 PM Eiichi Tsukata wrote: > > > On 2019/07/19 5:27, Andy Lutomirski wrote: > > Hi all- > > > > I suspect that a bunch of the bugs you're all finding boil down to: > > > > - Nested debug exceptions could corrupt the outer exception's DR6. > > - Nested debug exceptions

[GIT pull] smp/urgent for 5.3-rc1

2019-07-20 Thread Thomas Gleixner
Linus, please pull the latest smp-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-urgent-for-linus up to: 19dbdcb8039c: smp: Warn on function calls from softirq context Add warnings to the smp function calls so callers from wrong contexts get d

[GIT pull] core/urgent for 5.3-rc1

2019-07-20 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus up to: b68b9907069a: objtool: Support conditional retpolines This update contains: - A collection of objtool fixes which address recent fal

[GIT pull] sched/urgent for 5.3-rc1

2019-07-20 Thread Thomas Gleixner
Linus, please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus up to: a50a3f4b6a31: sched/rt, Kconfig: Introduce CONFIG_PREEMPT_RT The real-time preemption patch set exists for almost 15 years now and whi

[GIT pull] x86/urgent for 5.3-rc1

2019-07-20 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus up to: 6879298bd067: x86/entry/64: Prevent clobbering of saved CR2 value A set of x86 specific fixes and updates: - The CR2 corruption fixes wh

[GIT pull] perf/urgent for 5.3-rc1

2019-07-20 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus up to: e0c5c5e308ee: Merge tag 'perf-core-for-mingo-5.3-20190715' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent

Re: [PATCH] mtd: hyperbus: Kconfig: Fix HBMC_AM654 dependencies

2019-07-20 Thread Randy Dunlap
On 7/19/19 1:29 AM, Vignesh Raghavendra wrote: > On x86_64, when CONFIG_OF is not disabled: > > WARNING: unmet direct dependencies detected for MUX_MMIO > Depends on [n]: MULTIPLEXER [=y] && (OF [=n] || COMPILE_TEST [=n]) > Selected by [y]: > - HBMC_AM654 [=y] && MTD [=y] && MTD_HYPERBUS [=y

Re: [Question] orphan platform data header

2019-07-20 Thread Arnd Bergmann
On Sat, Jul 20, 2019 at 5:26 AM Masahiro Yamada wrote: > > masahiro@grover:~/ref/linux$ git grep netxbig_led_platform_data > drivers/leds/leds-netxbig.c: struct > netxbig_led_platform_data *pdata, > drivers/leds/leds-netxbig.c: struct > netx

Re: [PATCH v3 5/9] x86/mm/tlb: Privatize cpu_tlbstate

2019-07-20 Thread Andy Lutomirski
On Fri, Jul 19, 2019 at 11:54 AM Nadav Amit wrote: > > > On Jul 19, 2019, at 11:48 AM, Dave Hansen wrote: > > > > On 7/19/19 11:43 AM, Nadav Amit wrote: > >> Andy said that for the lazy tlb optimizations there might soon be more > >> shared state. If you prefer, I can move is_lazy outside of tlb_

.r.sallm Salif,.,

2019-07-20 Thread Mr __,
Good Day I am Mr.sallm Salif,, a regional managing director (CORIS BANK INTERNATIONAL) Ouagadougou Burkina Faso, in my department we have US$9,500. million united state dollars, to transfer into your account as a dormant fund.If you are interested to use this fund to help the orphans around th

Re: [PATCH v1 2/2] auxadc: mediatek: support efuse calibration in auxadc driver

2019-07-20 Thread Nicolas Boichat
On Thu, Jul 18, 2019 at 4:01 PM Zhiyong Tao wrote: > > This patch support efuse calibration in auxadc driver > > Signed-off-by: Zhiyong Tao > Signed-off-by: jg_poxu > --- > drivers/iio/adc/mt6577_auxadc.c | 71 > + > 1 file changed, 71 insertions(+) > >

Re: network problems with r8169

2019-07-20 Thread Thomas Voegtle
On Sat, 20 Jul 2019, Heiner Kallweit wrote: On 19.07.2019 23:12, Thomas Voegtle wrote: On Fri, 19 Jul 2019, Heiner Kallweit wrote: On 18.07.2019 20:50, Thomas Voegtle wrote: Hello, I'm having network problems with the commits on r8169 since v5.2. There are ping packet loss, sometimes 100%

Re: [PATCH v3 0/6] Tracing vs CR2

2019-07-20 Thread Eiichi Tsukata
On 2019/07/20 21:49, Andy Lutomirski wrote: > On Fri, Jul 19, 2019 at 8:59 PM Eiichi Tsukata wrote: >> ... >> >> >> >> debug() // dr6: 0x4ff0, user_mode: 1 >> TRACE_IRQS_OFF >> arch_stack_user_walk() >> debug() // dr6: 0x4ff1 == 0x4ff0 | 0x0ff1 ... (*) >>

[PATCH v3] module: add link_flag pram in ref_module func to decide whether add usage link

2019-07-20 Thread Zhiqiang Liu
Users can call ref_module func in their modules to construct relationships with other modules. However, the holders '/sys/module//holders' of the target module donot include the users` module. So lsmod command misses detailed info of 'Used by'. When load module, the process is given as follows, lo

Re: [PATCH v8 13/19] locking/rwsem: Make rwsem->owner an atomic_long_t

2019-07-20 Thread Waiman Long
On 7/20/19 4:41 AM, Luis Henriques wrote: > "Linus Torvalds" writes: > >> On Fri, Jul 19, 2019 at 12:32 PM Waiman Long wrote: >>> This patch shouldn't change the behavior of the rwsem code. The code >>> only access data within the rw_semaphore structures. I don't know why it >>> will cause a KASA

[PATCH v3 0/2] Support for buttons on newer MS Surface devices

2019-07-20 Thread Maximilian Luz
This series adds support for power and volume buttons on 5th and 6th generation Microsoft Surface devices. Specifically, it adds support for the power-button on the Surface Laptop 1 and Laptop 2, as well as support for power- and (on-device) volume-buttons on the Surface Pro 5 (2017), Pro 6, and Bo

[PATCH v3 2/2] Input: soc_button_array - Add support for newer surface devices

2019-07-20 Thread Maximilian Luz
Power and volume button support for 5th and 6th generation Microsoft Surface devices via soc_button_array. Note that these devices use the same MSHW0040 device as on the Surface Pro 4, however the implementation is different (GPIOs vs. ACPI notifications). Thus some checking is required to ensure

[PATCH v3 1/2] platform/x86: surfacepro3_button: Fix device check

2019-07-20 Thread Maximilian Luz
Do not use the surfacepro3_button driver on newer Microsoft Surface models, only use it on the Surface Pro 3 and 4. Newer models (5th, 6th and possibly future generations) use the same device as the Surface Pro 4 to represent their volume and power buttons (MSHW0040), but their actual implementatio

workqueue: possible deadlock when setting sysfs "debug_force_rr_cpu"

2019-07-20 Thread Eiichi Tsukata
Hello This is just a report for someone who hit the same problem. When setting 1 to sysfs debug_force_rr_cpu can trigger the following LOCKDEP WARNING. Reproducer: # ssh localhost // to use pty # echo 1 > /sys/module/workqueue/parameters/debug_force_rr_cpu This problem is similar to the on

Re: [PATCH v5 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M

2019-07-20 Thread Fabio Estevam
Hi Andra, Just realized one minor issue: On Fri, Jul 19, 2019 at 9:14 AM andradanciu1997 wrote: > +&i2c1 { > + clock-frequency = <10>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_i2c1>; > + status = "okay"; > + > + pmic: pmic@4b { > +

Re: [PATCH 0/2] Support for buttons on newer MS Surface devices

2019-07-20 Thread Maximilian Luz
I have updated the patches with the requested changes and sent a v3. Best, Maximilian

Re: [PATCH] knfsd: add nfs-export support to ramfs

2019-07-20 Thread Barry Song
the subject is unsuitable? i mean the prefix should be fs/ramfs rather than knfsd? 2019-05-22 3:25 GMT+12:00, Haodong Wong : > Refer to tmpfs, use inode number and generation number > to construct the filehandle for nfs-export would you like to describe what is happening without this patch? BTW,

Re: [TRIVIAL PATCH] of: per-file dtc preprocessor flags

2019-07-20 Thread Eugeniy Paltsev
Hi Masahiro, On Sat, 2019-07-20 at 11:40 +0900, Masahiro Yamada wrote: > On Sat, Jul 20, 2019 at 4:28 AM Eugeniy Paltsev > wrote: > > As of today we are able to pass custom flags to dtc compiler but not > > to dtc preprocessor. > > This ability is required for including some board-specific header

[PATCH 2/3] kbuild: make bison create C file and header in a single pattern rule

2019-07-20 Thread Masahiro Yamada
We generally expect bison to create not only a C file, but also a header, which will be included from the lexer. Currently, Kbuild generates them in separate rules. So, for instance, when building Kconfig, you will notice bison is invoked twice: HOSTCC scripts/kconfig/conf.o HOSTCC scripts/

[PATCH 3/3] kbuild: move flex and bison rules to Makefile.host

2019-07-20 Thread Masahiro Yamada
Flex and bison are used for kconfig, dtc, genksyms, all of which are host programs. I never imagine the kernel embeds a parser or a lexer. Move the flex and bison rules to scripts/Makefile.host. This file is included only when hostprogs-y etc. is present in the Makefile in the directory. So, parsi

[PATCH 1/3] kbuild: use $(basename ...) for cmd_asn1_compiler

2019-07-20 Thread Masahiro Yamada
$(basename ...) trims the last suffix. Using it is more intuitive in my opinion. This pattern rule makes %.asn1.c and %.asn1.h at the same time. Previously, the short log showed only either of them, depending on the target file in question. To clarify that two files are being generated by the sin

Re: network problems with r8169

2019-07-20 Thread Heiner Kallweit
On 20.07.2019 16:22, Thomas Voegtle wrote: > On Sat, 20 Jul 2019, Heiner Kallweit wrote: > >> On 19.07.2019 23:12, Thomas Voegtle wrote: >>> On Fri, 19 Jul 2019, Heiner Kallweit wrote: >>> On 18.07.2019 20:50, Thomas Voegtle wrote: > > Hello, > > I'm having network problems wi

linux-headers-5.2 and proper use of SIOCGSTAMP

2019-07-20 Thread Sergei Trofimovich
Commit https://github.com/torvalds/linux/commit/0768e17073dc527ccd18ed5f96ce85f9985e9115 ("net: socket: implement 64-bit timestamps") caused a bit of userspace breakage for existing programs: - firefox: https://bugs.gentoo.org/689808 - qemu: https://lists.sr.ht/~philmd/qemu/%3C20190604071915.2880

Re: [PATCH v3] staging: kpc2000: Convert put_page to put_user_page*()

2019-07-20 Thread Bharath Vedartham
On Fri, Jul 19, 2019 at 02:28:39PM -0700, John Hubbard wrote: > On 7/19/19 1:02 PM, Bharath Vedartham wrote: > > There have been issues with coordination of various subsystems using > > get_user_pages. These issues are better described in [1]. > > > > An implementation of tracking get_user_pages i

[PATCH v4] staging: kpc2000: Convert put_page to put_user_page*()

2019-07-20 Thread Bharath Vedartham
For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder versions"). Cc: Ira Weiny Cc: John Hub

Re: [PATCH v3] staging: kpc2000: Convert put_page to put_user_page*()

2019-07-20 Thread Bharath Vedartham
On Fri, Jul 19, 2019 at 08:59:02PM +, Matt Sickler wrote: > >From: Bharath Vedartham > >Changes since v2 > >- Added back PageResevered check as suggested by John Hubbard. > > > >The PageReserved check needs a closer look and is not worth messing > >around with for now. > > > >Matt, Cou

[PATCH] rat_cs: Remove duplicate code

2019-07-20 Thread Hariprasad Kelam
Code is same if translate is true/false in case invalid packet is received.So remove else part. Issue identified with coccicheck Signed-off-by: Hariprasad Kelam --- drivers/net/wireless/ray_cs.c | 29 - 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/d

Re: [PATCH] gpio: don't WARN() on NULL descs if gpiolib is disabled

2019-07-20 Thread Bartosz Golaszewski
wt., 16 lip 2019 o 23:46 Linus Walleij napisał(a): > > On Tue, Jul 9, 2019 at 4:20 PM Bartosz Golaszewski wrote: > > wt., 9 lip 2019 o 15:30 Linus Walleij napisał(a): > > > > I was thinking something like this in the stubs: > > > > > > gpiod_get[_index]() { > > > return POISON; > > > } > > >

Re: linux-headers-5.2 and proper use of SIOCGSTAMP

2019-07-20 Thread Florian Weimer
* Sergei Trofimovich: > Should #include always be included by user app? > Or should glibc tweak it's definition of '#include ' > to make it available on both old and new version of linux headers? What is the reason for dropping SIOCGSTAMP from ? If we know that, it will be much easier to decide

Re: [GIT pull] sched/urgent for 5.3-rc1

2019-07-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jul 2019 12:50:00 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > sched-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/70e6e1b971e46f5c1c2d72217ba62401a2edc22b Thank you! -- Deet-doot-dot, I

Re: [git pull] vfs.git - dcache and mountpoint stuff

2019-07-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jul 2019 04:02:18 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.dcache2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/18253e034d2aeee140f82fc9fe89c4bce5c81799 Thank you! -- Deet-doot-dot, I am a bot. h

Re: [GIT pull] x86/urgent for 5.3-rc1

2019-07-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jul 2019 12:50:00 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c6dd78fcb8eefa15dd861889e0f59d301cb5230c Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Second batch of KVM changes for 5.3 merge window

2019-07-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jul 2019 13:43:07 +0200: > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/07ab9d5bc53d7fe84047be1d403566123ab9cfaa Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [GIT pull] perf/urgent for 5.3-rc1

2019-07-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jul 2019 12:50:00 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/46f5c0cc3af0ecb76224a91d2997d74e35ff7821 Thank you! -- Deet-doot-dot, I

Re: [GIT pull] smp/urgent for 5.3-rc1

2019-07-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jul 2019 12:50:00 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4b01f5a4c9c4f0c502875c1fb31dcd5d0df86475 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] final round of SCSI updates for the 5.2+ merge window

2019-07-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jul 2019 08:33:21 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f65420df914a85e33b2c8b1cab310858b2abb7c0 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [GIT PULL] More Kbuild updates for v5.3-rc1

2019-07-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jul 2019 11:31:01 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-v5.3-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/168c79971b4a7be7011e73bf488b740a8e1135c8 Thank you! -- Deet-

Re: [GIT pull] core/urgent for 5.3-rc1

2019-07-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jul 2019 12:50:00 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > core-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e6023adc5c6af79ac8ac5b17939f58091fa0d870 Thank you! -- Deet-doot-dot, I

Re: linux-headers-5.2 and proper use of SIOCGSTAMP

2019-07-20 Thread Arnd Bergmann
On Sat, Jul 20, 2019 at 8:10 PM Florian Weimer wrote: > > * Sergei Trofimovich: > > > Should #include always be included by user app? > > Or should glibc tweak it's definition of '#include ' > > to make it available on both old and new version of linux headers? > > What is the reason for dropping

[git pull] Input updates for v5.3-rc0

2019-07-20 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will get: - Apple SPI keyboard and trackpad driver for newer Macs - ALPS driver will ignore trackpoint-only devices to give chance trackpo

Re: linux-headers-5.2 and proper use of SIOCGSTAMP

2019-07-20 Thread Florian Weimer
* Arnd Bergmann: > On Sat, Jul 20, 2019 at 8:10 PM Florian Weimer wrote: >> >> * Sergei Trofimovich: >> >> > Should #include always be included by user app? >> > Or should glibc tweak it's definition of '#include ' >> > to make it available on both old and new version of linux headers? >> >> Wha

Re: [git pull] Input updates for v5.3-rc0

2019-07-20 Thread pr-tracker-bot
The pull request you sent on Sat, 20 Jul 2019 22:10:36 +0300: > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f1a3b43cc1f50c6ee5ba582f2025db3dea891208 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [PATCH] gpio: don't WARN() on NULL descs if gpiolib is disabled

2019-07-20 Thread Linus Walleij
On Sat, Jul 20, 2019 at 8:03 PM Bartosz Golaszewski wrote: > I'll apply it to my local tree and send it for v5.3-rc2. OK! Do you see it as bug fix so it should go in the rcs? It pretty much needs to be a regression to go in there, because this stub stuff blew up in my face before :/ Thanks, Li

Re: [PATCH] rtc: snvs: fix possible race condition

2019-07-20 Thread Alexandre Belloni
On 19/07/2019 19:04:21+, Trent Piepho wrote: > On Fri, 2019-07-19 at 02:57 +, Anson Huang wrote: > > > > > I do worry that handling the irq before the rtc device is registered > > > could still > > > result in a crash. From what I saw, the irq path in snvs only uses > > > driver state >

[PATCH] rtl8192_init_priv_variable: null check is missing for kzalloc

2019-07-20 Thread Navid Emamdoost
Allocation for priv->pFirmware may fail, so a null check is necessary. priv->pFirmware is accessed at line 2743. I added the check and made appropriate changes to propagate the errno to the caller. Signed-off-by: Navid Emamdoost --- drivers/staging/rtl8192u/r8192U_core.c | 13 +++-- 1 fi

Re: linux-headers-5.2 and proper use of SIOCGSTAMP

2019-07-20 Thread Arnd Bergmann
On Sat, Jul 20, 2019 at 9:34 PM Florian Weimer wrote: > * Arnd Bergmann: > > On Sat, Jul 20, 2019 at 8:10 PM Florian Weimer wrote: > > As far as I can tell, nobody thought it would be a problem to move it > > from asm/sockios.h to linux/sockios.h, as the general rule is that one > > should use th

Re: Regression with the latest iwlwifi-9260-*-46.ucode

2019-07-20 Thread Takashi Iwai
On Fri, 19 Jul 2019 20:07:46 +0200, Takashi Iwai wrote: > > On Fri, 19 Jul 2019 18:36:53 +0200, > Luciano Coelho wrote: > > > > Adding Dor. > > > > Hi Takashi, > > > > Do you have full logs of the crash? We can't see much from the log > > snippet pasted in the bug report. > > OK, I'll ask repo

Re: Regression with the latest iwlwifi-9260-*-46.ucode

2019-07-20 Thread Luca Coelho
On Sat, 2019-07-20 at 22:42 +0200, Takashi Iwai wrote: > On Fri, 19 Jul 2019 20:07:46 +0200, > Takashi Iwai wrote: > > On Fri, 19 Jul 2019 18:36:53 +0200, > > Luciano Coelho wrote: > > > Adding Dor. > > > > > > Hi Takashi, > > > > > > Do you have full logs of the crash? We can't see much from the

  1   2   >