Re: [rtc] Re: BUG: workqueue lockup (4)

2019-06-11 Thread Alexandre Belloni
On 10/06/2019 16:49:59-0700, Eric Biggers wrote: > On Sun, Oct 07, 2018 at 09:39:18PM +0200, Alexandre Belloni wrote: > > Hi, > > > > On 07/10/2018 14:18:31+0200, Dmitry Vyukov wrote: > > > On Sun, Oct 7, 2018 at 2:15 PM, syzbot > > > wrote: > > > > Hello, > > > > > > > > syzbot found the followi

Re: general protection fault in mm_update_next_owner

2019-06-11 Thread Dmitry Vyukov
On Mon, Jun 10, 2019 at 11:27 PM Eric W. Biederman wrote: > > syzbot writes: > > > syzbot has bisected this bug to: > > > > commit e9db4ef6bf4ca9894bb324c76e01b8f1a16b2650 > > Author: John Fastabend > > Date: Sat Jun 30 13:17:47 2018 + > > > > bpf: sockhash fix omitted bucket lock in s

Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-11 Thread Benjamin Herrenschmidt
On Tue, 2019-06-11 at 16:58 +1000, Benjamin Herrenschmidt wrote: > On Tue, 2019-06-11 at 08:08 +0200, Christoph Hellwig wrote: > > On Tue, Jun 11, 2019 at 03:56:33PM +1000, Benjamin Herrenschmidt > > wrote: > > > The reason I think it sort-of-mostly-worked is that to get more > > > than > > > 1GB o

Re: [PATCH v2] kasan: add memory corruption identification for software tag-based mode

2019-06-11 Thread Walter Wu
On Mon, 2019-06-10 at 13:46 +0200, Dmitry Vyukov wrote: > On Mon, Jun 10, 2019 at 9:28 AM Walter Wu wrote: > > > > On Fri, 2019-06-07 at 21:18 +0800, Dmitry Vyukov wrote: > > > > diff --git a/include/linux/kasan.h b/include/linux/kasan.h > > > > index b40ea104dd36..be0667225b58 100644 > > > > ---

WARNING: locking bug in icmp6_send (2)

2019-06-11 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8d94a873 Merge branch 'PTP-support-for-the-SJA1105-DSA-dri.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=137ca32ea0 kernel config: https://syzkaller.appspot.com/x/.config?x=f7a0e5816ab80450 da

Re: [PATCH] i2c: mux: Use struct_size() in devm_kzalloc()

2019-06-11 Thread Peter Rosin
On 2019-05-29 18:20, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo { > int stuff;

Re: bcachefs status update (it's done cooking; let's get this sucker merged)

2019-06-11 Thread Dave Chinner
On Mon, Jun 10, 2019 at 06:39:00PM -1000, Linus Torvalds wrote: > On Mon, Jun 10, 2019 at 6:11 PM Dave Chinner wrote: > > > > Please, no, let's not make the rwsems even more fragile than they > > already are. I'm tired of the ongoing XFS customer escalations that > > end up being root caused to ye

[PATCH v6] mfd: cros_ec_dev: Register cros_ec_accel_legacy driver as a subdevice

2019-06-11 Thread Gwendal Grignou
With this patch, the cros_ec_ctl driver will register the legacy accelerometer driver (named cros_ec_accel_legacy) if it fails to register sensors through the usual path cros_ec_sensors_register(). This legacy device is present on Chromebook devices with older EC firmware only supporting deprecated

KASAN: null-ptr-deref Read in x25_connect

2019-06-11 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f4cfcfbd net: dsa: sja1105: Fix link speed not working at .. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=16815cd2a0 kernel config: https://syzkaller.appspot.com/x/.config?x=4f721a391cd46ea dashboar

Re: [RFC PATCH 01/16] x86/xen: add xenhost_t interface

2019-06-11 Thread Ankur Arora
On 2019-06-07 8:04 a.m., Juergen Gross wrote: On 09.05.19 19:25, Ankur Arora wrote: Add xenhost_t which will serve as an abstraction over Xen interfaces. It co-exists with the PV/HVM/PVH abstractions (x86_init, hypervisor_x86, pv_ops etc) and is meant to capture mechanisms for communication with

general protection fault in x25_connect

2019-06-11 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8d94a873 Merge branch 'PTP-support-for-the-SJA1105-DSA-dri.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1065a26aa0 kernel config: https://syzkaller.appspot.com/x/.config?x=f7a0e5816ab80450 da

Re: [PATCH] perf script/intel-pt: set synth_opts.callchain for use_browser > 0

2019-06-11 Thread Song Liu
> On Jun 10, 2019, at 11:45 PM, Adrian Hunter wrote: > > On 11/06/19 2:42 AM, Song Liu wrote: >> Currently, intel_pt_process_auxtrace_info() sets synth_opts.callchain for >> use_browser != -1, which is not accurate after we set use_browser to 0 in >> cmd_script(). As a result, the following co

Re: [PATCH v3 3/5] brcmfmac: sdio: Disable auto-tuning around commands expected to fail

2019-06-11 Thread Adrian Hunter
On 10/06/19 7:50 PM, Doug Anderson wrote: > Hi, > > On Mon, Jun 10, 2019 at 1:56 AM Hunter, Adrian > wrote: >> >>> --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c >>> +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c >>> @@ -16,6 +16,7 @@ >>> #include >>> #include >

[PATCH] pinctrl: xway: Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- drivers/pinctrl/pinctrl-xway.c | 5 + 1 file changed, 1 insertion(+), 4 deletion

[PATCH] hwmon: (ads7871) Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- drivers/hwmon/ads7871.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions

[PATCH] arm64: dts: hisilicon: Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- arch/arm64/boot/dts/hisilicon/hi6220-coresight.dtsi | 5 + arch/arm64/boot/dts/h

Re: [PATCH 4.4 041/241] cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()

2019-06-11 Thread Greg Kroah-Hartman
On Mon, Jun 10, 2019 at 07:13:24PM +, Pavel Shilovskiy wrote: > > -Original Message- > From: Greg Kroah-Hartman > Sent: Sunday, June 9, 2019 9:40 AM > To: linux-kernel@vger.kernel.org > Cc: Greg Kroah-Hartman ; sta...@vger.kernel.org; > Christoph Probst ; Pavel Shilovskiy > ; Steve

[PATCH] pinctrl: lantiq: Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- drivers/pinctrl/pinctrl-lantiq.c | 5 + drivers/pinctrl/pinctrl-lantiq.h | 5 +--

[PATCH] MIPS: ralink: Switch pinmux.h to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- arch/mips/include/asm/mach-ralink/pinmux.h | 5 + 1 file changed, 1 insertion(+)

[PATCH] misc: lis3lv02d: Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- drivers/misc/lis3lv02d/lis3lv02d_spi.c | 5 + 1 file changed, 1 insertion(+), 4

Re: [PATCH] i2c: mux: pinctrl: use flexible-array member and struct_size() helper

2019-06-11 Thread Peter Rosin
On 2019-06-03 16:53, Gustavo A. R. Silva wrote: > Update the code to use a flexible array member instead of a pointer in > structure i2c_mux_pinctrl and use the struct_size() helper. > > Also, make use of the struct_size() helper instead of an open-coded > version in order to avoid any potential t

Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC

2019-06-11 Thread Benjamin Herrenschmidt
On Tue, 2019-06-11 at 15:50 +1000, Benjamin Herrenschmidt wrote: > On Sat, 2019-06-08 at 11:05 +0200, Borislav Petkov wrote: > > On Sat, Jun 08, 2019 at 10:16:11AM +1000, Benjamin Herrenschmidt wrote: > > > Those IP blocks don't need any SW coordination at runtime. The drivers > > > don't share dat

Re: [PATCH 5.1 00/70] 5.1.9-stable review

2019-06-11 Thread Greg Kroah-Hartman
On Mon, Jun 10, 2019 at 04:01:41PM -0600, shuah wrote: > On 6/9/19 10:41 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.9 release. > > There are 70 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with th

Re: [PATCH] PCI: altera: Allow building as module

2019-06-11 Thread Ley Foon Tan
On Tue, Jun 4, 2019 at 9:18 PM Bjorn Helgaas wrote: > > On Wed, Apr 24, 2019 at 12:57:14PM +0800, Ley Foon Tan wrote: > > Altera PCIe Rootport IP is a soft IP and is only available after > > FPGA image is programmed. > > > > Make driver modulable to support use case FPGA image is programmed > > af

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-11 Thread Pali Rohár
On Tuesday 11 June 2019 12:32:33 Hui Wang wrote: > On 2019/6/11 上午11:23, Hui Wang wrote: > > On 2019/6/11 上午11:05, Xiaoxiao Liu wrote: > > > Hi Pali, > > > > > > I discussed with our FW team about this problem. > > > We think the V8 method means a touchpad feature  and does not fit > > > the CS19

[PATCH 0/6] ARM: A couple of SoC license header fixes

2019-06-11 Thread Lubomir Rintel
Hi, There's one particular typo in the license header ("publishhed") that seems to have spread through the tree by copy-pasting. This patch set fixes the occurences within mach-*/ and dts/ by replacing the header with a SPDX identifier. Lubo

[PATCH 3/6] ARM: dts: mmp2: Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp2-brownstone.dts | 5 + arch/arm/boot/dts/mmp2.dtsi

[PATCH 4/6] ARM: mmp: Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- arch/arm/mach-mmp/aspenite.c | 5 + arch/arm/mach-mmp/avengers_lite.c | 5 +

[PATCH 2/6] ARM: dts: pxa: Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/pxa168-aspenite.dts | 5 + arch/arm/boot/dts/pxa168.dtsi

[PATCH 6/6] ARM: hisilicon: DT: Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/hi3620-hi4511.dts | 5 + arch/arm/boot/dts/hi3620.dtsi

[PATCH 5/6] ARM: pxa: Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- arch/arm/mach-pxa/littleton.c | 5 + arch/arm/mach-pxa/pxa-dt.c| 5 + ar

[PATCH 1/6] ARM: dts: STi: Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/stih407-family.dtsi | 5 + arch/arm/boot/dts/stih407-pinctrl.

Re: [PATCH] misc: lis3lv02d: Switch to SPDX header

2019-06-11 Thread Greg Kroah-Hartman
On Tue, Jun 11, 2019 at 09:20:18AM +0200, Lubomir Rintel wrote: > The original license text had a typo ("publishhed") which would be > likely to confuse automated licensing auditing tools. Let's just switch > to SPDX instead of fixing the wording. > > Signed-off-by: Lubomir Rintel > --- > driver

Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC

2019-06-11 Thread Hawa, Hanna
Hi Ben, Boris On 6/11/2019 8:50 AM, Benjamin Herrenschmidt wrote: Anyway, let's get back to the specific case of our Amazon platform here since it's a concrete example. Hanna, can you give us a reasonably exhaustive list of how many such "drivers" we'll want in the EDAC subsystem and whether y

[PATCH v2 3/5] KVM: X86: setup residency msrs during vCPU creation

2019-06-11 Thread Wanpeng Li
From: Wanpeng Li To setup core residency msrs during vCPU creation. Allowing guest reads CORE cstate when exposing host CPU power management capabilities to the guest. PKG cstate is restricted currently to avoid a guest to get the whole package information in multi-tenant scenario. Cc: Paolo

[PATCH v2 4/5] KVM: VMX: Add get/set residency msrs logic

2019-06-11 Thread Wanpeng Li
From: Wanpeng Li Add logic to get/set the residency msrs. Then current idle power-state residency statistics can be consult by guest, and be save/restore during live migration. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- arch/x86/kvm/vmx/vmx.c | 8 1 file chang

[PATCH v2 5/5] KVM: X86: Save/restore residency values when vCPU migrations

2019-06-11 Thread Wanpeng Li
From: Wanpeng Li To save/restore residency values when vCPU migrates between mulitple pCPUs. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- arch/arm/include/asm/kvm_host.h | 1 + arch/arm64/include/asm/kvm_host.h | 1 + arch/mips/include/asm/kvm_host.h| 1 + a

[PATCH v2 2/5] KVM: X86: Introduce residency msrs read/write operations

2019-06-11 Thread Wanpeng Li
From: Wanpeng Li Both live migration and vCPU migrates between pCPUs possibly to set the MSRs in the host to change the delta between the host and guest values. This patch introduces msrs read/write operations in the host. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- ar

[PATCH v2 1/5] KVM: X86: Dynamic allocate core residency msr state

2019-06-11 Thread Wanpeng Li
From: Wanpeng Li Dynamic allocate core residency msr state. MSR_CORE_C1_RES is unreadable except for ATOM platform, so it is ignore here. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- arch/x86/include/asm/kvm_host.h | 11 +++ arch/x86/kvm/vmx/vmx.c | 5 +

[PATCH v2 0/5] KVM: X86: Add virtual C-states residency msrs support

2019-06-11 Thread Wanpeng Li
After exposing some host CPU power management capabilities to dedicated instances, there is a requirement to consult current idle power-state residency statistics by turbostat. This patchset adds virtual C-states residency msrs emulation. Allowing guest reads CORE cstate when exposing host CPU

Re: [PATCH-next 00/20] gpio: gpio-omap: set of fixes and big clean-up

2019-06-11 Thread Tony Lindgren
Hi, * Grygorii Strashko [190610 10:11]: > Hi Linus, Russell, Tony, All, > > This series contains set of patches from Russell King which were circulated > internally for quite some time already and I fill it's reasonable to move > future discussion upstream (and also avoid rebasing). > Fisrt two

Re: [PATCH 04/15] binfmt_flat: remove flat_old_ram_flag

2019-06-11 Thread Christoph Hellwig
On Tue, Jun 11, 2019 at 04:04:39PM +1000, Greg Ungerer wrote: >> index c0e4535dc1ec..18d82fd5f57c 100644 >> --- a/fs/binfmt_flat.c >> +++ b/fs/binfmt_flat.c >> @@ -488,7 +488,8 @@ static int load_flat_file(struct linux_binprm *bprm, >> * fix up the flags for the older format, there were all

Re: binfmt_flat cleanups and RISC-V support

2019-06-11 Thread Christoph Hellwig
On Tue, Jun 11, 2019 at 04:51:02PM +1000, Greg Ungerer wrote: > Hi Christoph, > > On 11/6/19 7:20 am, Christoph Hellwig wrote: >> below is a larger stash of cleanups for the binfmt_misc code, >> preparing for the last patch that now trivially adds RISC-V >> support, which will be used for the RISC-

Re: [PATCH v2 2/3] KVM: X86: Provide a capability to disable cstate msr read intercepts

2019-06-11 Thread Wanpeng Li
On Wed, 5 Jun 2019 at 00:53, Paolo Bonzini wrote: > > On 21/05/19 08:06, Wanpeng Li wrote: > > From: Wanpeng Li > > > > Allow guest reads CORE cstate when exposing host CPU power management > > capabilities > > to the guest. PKG cstate is restricted to avoid a guest to get the whole > > package

Re: [PATCH V4 6/6] i2c: tegra: remove BUG, BUG_ON

2019-06-11 Thread Bitan Biswas
On 6/10/19 2:00 PM, Dmitry Osipenko wrote: 10.06.2019 22:41, Bitan Biswas пишет: On 6/10/19 11:12 AM, Dmitry Osipenko wrote: 10.06.2019 20:08, Bitan Biswas пишет: Remove redundant BUG_ON calls or replace with WARN_ON_ONCE as needed. Remove BUG() and make Rx and Tx case handling similar.

Re: [PATCH 4/3] x86/fpu: don't use current->mm to check for a kthread

2019-06-11 Thread Sebastian Andrzej Siewior
On 2019-06-04 19:54:12 [+0200], Christoph Hellwig wrote: > current->mm can be non-NULL if a kthread calls use_mm. Check for > PF_KTHREAD instead to decide when to store user mode FP state. > > Fixes: 2722146eb784 ("x86/fpu: Remove fpu->initialized") > Reported-by: Peter Zijlstra > Signed-off-by:

Re: [RFC PATCH 2/2] imx: mailbox: Introduce TX doorbell with ACK

2019-06-11 Thread Daniel Baluta
Hi Oleksij, On Tue, Jun 11, 2019 at 8:56 AM Oleksij Rempel wrote: > > Hi Daniel, > > On Mon, Jun 10, 2019 at 10:16:09PM +0800, daniel.bal...@nxp.com wrote: > > From: Daniel Baluta > > > > TX doorbell with ACK will allow us to push the doorbell ring button > > (trigger GIR) and also will allow us

Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-11 Thread Christoph Hellwig
On Tue, Jun 11, 2019 at 04:58:12PM +1000, Benjamin Herrenschmidt wrote: > ... which b43legacy doesn't set to the best of my knowledge ... > > Which makes me wonder how come it didn't work even with your patches ? > AFAIK, we have less than 1GB of lowmem unless the config has been > tweaked I

Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-11 Thread Christoph Hellwig
On Tue, Jun 11, 2019 at 04:59:54PM +1000, Benjamin Herrenschmidt wrote: > Ah stupid me ... it's dma_set_mask that failed, since it has no idea > that the calling driver is limited to lowmem. > > That's also why the "wrong" patch worked. > > So yes, a ZONE_DMA at 30-bits will work, though it's som

Re: [PATCH 8/8] habanalabs: enable 64-bit DMA mask in POWER9

2019-06-11 Thread Greg KH
On Tue, Jun 11, 2019 at 08:50:45AM +0300, Oded Gabbay wrote: > --- a/drivers/misc/habanalabs/habanalabs_drv.c > +++ b/drivers/misc/habanalabs/habanalabs_drv.c > @@ -28,6 +28,7 @@ static DEFINE_MUTEX(hl_devs_idr_lock); > > static int timeout_locked = 5; > static int reset_on_lockup = 1; > +stati

Re: [PATCH 08/15] x86/alternatives: Teach text_poke_bp() to emulate instructions

2019-06-11 Thread Peter Zijlstra
On Fri, Jun 07, 2019 at 11:10:19AM -0700, Andy Lutomirski wrote: > > > > On Jun 7, 2019, at 10:34 AM, Peter Zijlstra wrote: > > > > On Sat, Jun 08, 2019 at 12:47:08AM +0900, Masami Hiramatsu wrote: > > > >>> This fits almost all text_poke_bp() users, except > >>> arch_unoptimize_kprobe() which

Re: binfmt_flat cleanups and RISC-V support

2019-06-11 Thread Vladimir Murzin
Hi Christoph, On 6/10/19 10:20 PM, Christoph Hellwig wrote: > Hi Greg, > > below is a larger stash of cleanups for the binfmt_misc code, > preparing for the last patch that now trivially adds RISC-V > support, which will be used for the RISC-V nommu series I am > about to post. I'm wondering if

Re: [PATCH 8/8] habanalabs: enable 64-bit DMA mask in POWER9

2019-06-11 Thread Oded Gabbay
On Tue, Jun 11, 2019 at 10:59 AM Greg KH wrote: > > On Tue, Jun 11, 2019 at 08:50:45AM +0300, Oded Gabbay wrote: > > --- a/drivers/misc/habanalabs/habanalabs_drv.c > > +++ b/drivers/misc/habanalabs/habanalabs_drv.c > > @@ -28,6 +28,7 @@ static DEFINE_MUTEX(hl_devs_idr_lock); > > > > static int ti

Re: [PATCH bpf v3] xdp: fix hang while unregistering device bound to xdp socket

2019-06-11 Thread Björn Töpel
On Mon, 10 Jun 2019 at 22:49, Jonathan Lemon wrote: > > On 10 Jun 2019, at 9:15, Ilya Maximets wrote: > > > Device that bound to XDP socket will not have zero refcount until the > > userspace application will not close it. This leads to hang inside > > 'netdev_wait_allrefs()' if device unregisteri

Re: binfmt_flat cleanups and RISC-V support

2019-06-11 Thread Christoph Hellwig
On Tue, Jun 11, 2019 at 09:05:45AM +0100, Vladimir Murzin wrote: > I'm wondering if you have a branch with these changes so I can give > it a try on ARM NOMMU platforms? git://git.infradead.org/users/hch/riscv.git riscv-flat

Re: [PATCH v8 1/1] f2fs: ioctl for removing a range from F2FS

2019-06-11 Thread Chao Yu
On 2019/6/5 11:33, sunqiuyang wrote: > From: Qiuyang Sun > > This ioctl shrinks a given length (aligned to sections) from end of the > main area. Any cursegs and valid blocks will be moved out before > invalidating the range. > > This feature can be used for adjusting partition sizes online. > -

[PATCH 2/2] i2c: mediatek: Add i2c AC timing adjust support

2019-06-11 Thread Qii Wang
This patch adds some I2C timing registers to meet I2C spec, it configures these registers according to information passed via DT. Signed-off-by: Qii Wang --- drivers/i2c/busses/i2c-mt65xx.c | 94 ++- 1 file changed, 82 insertions(+), 12 deletions(-) diff --

[PATCH 0/2] Add support for AC timing adjustment

2019-06-11 Thread Qii Wang
This series are based on 5.2-rc1, we provide two patches to support AC timing adjustment. Qii Wang (2): dt-bindings: i2c: Add MediaTek i2c AC timing binding i2c: mediatek: Add i2c AC timing adjust support .../devicetree/bindings/i2c/i2c-mt65xx.txt | 11 +++ drivers/i2c/busses/i2c-m

[PATCH 1/2] dt-bindings: i2c: Add MediaTek i2c AC timing binding

2019-06-11 Thread Qii Wang
Add i2c AC timing binding to binding file. It can give the AC timing parameters to meet I2C specification at different speed. Signed-off-by: Qii Wang --- .../devicetree/bindings/i2c/i2c-mt65xx.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree

Re: [PATCH 03/15] x86/kprobes: Fix frame pointer annotations

2019-06-11 Thread Peter Zijlstra
On Fri, Jun 07, 2019 at 09:36:02AM -0400, Josh Poimboeuf wrote: > On Fri, Jun 07, 2019 at 10:02:10PM +0900, Masami Hiramatsu wrote: > > On Wed, 05 Jun 2019 15:07:56 +0200 > > Peter Zijlstra wrote: > > > > > The kprobe trampolines have a FRAME_POINTER annotation that makes no > > > sense. It marks

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-11 Thread Johannes Berg
Hi Alex, all, > > Exactly correct. This is what Johannes is discussing in his "cellular > > modem APIs - take 2" thread about how this should all be organized at > > the driver level and I think we should figure that out before we commit > > to IPA-with-a-useless-netdev that requires rmnets to be

Re: [PATCH] fmc: Delete the FMC subsystem

2019-06-11 Thread Alessandro Rubini
Acked-by: Alessandro Rubini

Re: [PATCH 05/15] x86_32: Provide consistent pt_regs

2019-06-11 Thread Peter Zijlstra
On Fri, Jun 07, 2019 at 03:32:15PM -0400, Josh Poimboeuf wrote: > On Wed, Jun 05, 2019 at 03:07:58PM +0200, Peter Zijlstra wrote: > > Currently pt_regs on x86_32 has an oddity in that kernel regs > > (!user_mode(regs)) are short two entries (esp/ss). This means that any > > code trying to use them

Re: [PATCH v2 1/2] mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails

2019-06-11 Thread Anshuman Khandual
On 06/11/2019 06:27 AM, Naoya Horiguchi wrote: > On Mon, Jun 10, 2019 at 05:19:45PM -0700, Mike Kravetz wrote: >> On 6/10/19 1:18 AM, Naoya Horiguchi wrote: >>> The pass/fail of soft offline should be judged by checking whether the >>> raw error page was finally contained or not (i.e. the result

Re: [PATCH 15/15] riscv: add binfmt_flat support

2019-06-11 Thread Vladimir Murzin
On 6/10/19 10:20 PM, Christoph Hellwig wrote: > Use the generic support with arguments are on the stack. Same as arm > and m68k. Out of curiosity, what is reason for keeping arguments on the stack? ARM port of uClibc has following comment around manipulating of argv/argc: /* *

Re: [PATCH v2 2/3] media: imx7-media-csi: add i.MX6UL support

2019-06-11 Thread Sébastien Szymanski
Hi Rui, thanks for the review! On 6/10/19 12:28 PM, Rui Miguel Silva wrote: > Hi Sebastien, > Thanks for the patch. > > On Thu 06 Jun 2019 at 16:38, Sébastien Szymanski wrote: >> i.MX7 and i.MX6UL/L have the same CSI controller. So add i.MX6UL/L support >> to imx7-media-csi driver. >> >> Signed-

Re: [PATCH v2 2/3] KVM: LAPIC: lapic timer interrupt is injected by posted interrupt

2019-06-11 Thread Wanpeng Li
On Tue, 11 Jun 2019 at 00:51, Radim Krčmář wrote: > > 2019-06-06 13:31+0800, Wanpeng Li: > > From: Wanpeng Li > > > > Dedicated instances are currently disturbed by unnecessary jitter due > > to the emulated lapic timers fire on the same pCPUs which vCPUs resident. > > There is no hardware virtua

Re: [PATCH 07/15] x86: Add int3_emulate_call() selftest

2019-06-11 Thread Peter Zijlstra
On Mon, Jun 10, 2019 at 09:57:58AM -0700, Andy Lutomirski wrote: > On Mon, Jun 10, 2019 at 9:53 AM Josh Poimboeuf wrote: > > > > On Wed, Jun 05, 2019 at 03:08:00PM +0200, Peter Zijlstra wrote: > > > Given that the entry_*.S changes for this functionality are somewhat > > > tricky, make sure the pa

Re: [PATCH 07/15] binfmt_flat: use __be32 for the on-disk format

2019-06-11 Thread Geert Uytterhoeven
Hi Christoph, On Mon, Jun 10, 2019 at 11:21 PM Christoph Hellwig wrote: > So far binfmt_flat has onl been supported on 32-bit platforms, so the > variable size of the fields didn't matter. But the upcoming RISC-V > nommu port supports 64-bit CPUs, and we now have a conflict between > the elf2flt

linux-next: build failure after merge of the net-next tree

2019-06-11 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/net/ethernet/ti/cpts.c: In function 'cpts_of_mux_clk_setup': drivers/net/ethernet/ti/cpts.c:567:2: error: implicit declaration of function 'of_clk_parent_fill'; did you mean 'of_clk

Re: [PATCH v3 6/7] arm64: dts: allwinner: h6: Add DMA node

2019-06-11 Thread Maxime Ripard
Hi, I tried applying this patch, and it conflicts. There's also a minor issue that sohuld be fixed On Mon, May 27, 2019 at 10:14:58PM +0200, Clément Péron wrote: > From: Jernej Skrabec > > H6 has DMA controller which supports 16 channels. > > Add a node for it. > > Signed-off-by: Jernej Skrabec

Re: [PATCH v3 7/7] arm64: defconfig: enable Allwinner DMA drivers

2019-06-11 Thread Maxime Ripard
On Mon, May 27, 2019 at 10:14:59PM +0200, Clément Péron wrote: > Allwinner sun6i DMA drivers is used on A64 and H6 boards. > > Enable it as a module. > > Signed-off-by: Clément Péron Applied, thanks Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com sign

Re: [PATCHv4 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-06-11 Thread Hans Verkuil
On 6/10/19 9:54 PM, Nicolas Dufresne wrote: > Hi Hans, > > I went through it, and I think we are close to ready. Unfortunately, I > believe the SOURCE_CHANGE event is still under specified. There was a > post recently to try and add a new flag for changes in color space > which is not included her

Re: [PATCH 14/15] static_call: Simple self-test module

2019-06-11 Thread Peter Zijlstra
On Mon, Jun 10, 2019 at 12:24:28PM -0500, Josh Poimboeuf wrote: > On Wed, Jun 05, 2019 at 03:08:07PM +0200, Peter Zijlstra wrote: > > > > Signed-off-by: Peter Zijlstra (Intel) > > --- > > lib/Kconfig.debug |8 > > lib/Makefile |1 + > > lib/test_static_call.c |

Re: [PATCH v2 1/3] KVM: LAPIC: Make lapic timer unpinned when timer is injected by posted-interrupt

2019-06-11 Thread Wanpeng Li
On Tue, 11 Jun 2019 at 01:11, Radim Krčmář wrote: > > 2019-06-06 13:31+0800, Wanpeng Li: > > From: Wanpeng Li > > > > Make lapic timer unpinned when timer is injected by posted-interrupt, > > the emulated timer can be offload to the housekeeping cpus. > > > > The host admin should fine tuned, e.g

Re: [PATCH] mtd: spi-nor: use 16-bit WRR command when QE is set on spansion flashes

2019-06-11 Thread Geert Uytterhoeven
Hi Tudor, On Mon, Jun 10, 2019 at 8:24 AM wrote: > From: Tudor Ambarus > > SPI memory devices from different manufacturers have widely > different configurations for Status, Control and Configuration > registers. JEDEC 216C defines a new map for these common register > bits and their functions,

Re: [PATCHv4 0/2] Document memory-to-memory video codec interfaces

2019-06-11 Thread Hans Verkuil
On 6/10/19 5:57 PM, Nicolas Dufresne wrote: > Le lundi 03 juin 2019 à 13:28 +0200, Hans Verkuil a écrit : >> Since Thomasz was very busy with other things, I've taken over this >> patch series. This v4 includes his draft changes and additional changes >> from me. >> >> This series attempts to add t

RE: linux-next: Fixes tag needs some work in the imx-mxs tree

2019-06-11 Thread Peng Fan
Hi Shawn, Stephen > Subject: Re: linux-next: Fixes tag needs some work in the imx-mxs tree > > On Fri, Jun 07, 2019 at 07:46:52AM +1000, Stephen Rothwell wrote: > > Hi all, > > > > In commit > > > > f6a8ff82ce68 ("clk: imx: imx8mm: correct audio_pll2_clk to > > audio_pll2_out") > > > > Fixes tag

Re: [PATCH -next] HID: logitech-dj: fix return value of logi_dj_recv_query_hidpp_devices

2019-06-11 Thread Hans de Goede
Hi, On 11-06-19 05:00, Yuehaibing wrote: Hi all, Friendly ping... On 2019/5/25 22:09, YueHaibing wrote: We should return 'retval' as the correct return value instead of always zero. Fixes: 74808f9115ce ("HID: logitech-dj: add support for non unifying receivers") Signed-off-by: YueHaibing

Re: [PATCH] PCI: PM: Avoid possible suspend-to-idle issue

2019-06-11 Thread Kai-Heng Feng
Hi Rafael, at 19:02, Rafael J. Wysocki wrote: On Friday, May 17, 2019 11:08:50 AM CEST Rafael J. Wysocki wrote: From: Rafael J. Wysocki If a PCI driver leaves the device handled by it in D0 and calls pci_save_state() on the device in its ->suspend() or ->suspend_late() callback, it can expe

Re: [RFC PATCH 2/2] imx: mailbox: Introduce TX doorbell with ACK

2019-06-11 Thread Oleksij Rempel
On Tue, Jun 11, 2019 at 10:52:47AM +0300, Daniel Baluta wrote: > Hi Oleksij, > > On Tue, Jun 11, 2019 at 8:56 AM Oleksij Rempel > wrote: > > > > Hi Daniel, > > > > On Mon, Jun 10, 2019 at 10:16:09PM +0800, daniel.bal...@nxp.com wrote: > > > From: Daniel Baluta > > > > > > TX doorbell with ACK w

Re: [PATCH 0/5] isdn: deprecate non-mISDN drivers

2019-06-11 Thread Simon Ehlen
Hi, Am 23.04.2019 um 17:11 schrieb Arnd Bergmann: > It turns out that the suggestion from Karsten Keil wa to remove I4L > in 2018 after the last public ISDN networks are shut down. This has > happened now (with a very small number of exceptions), so I guess it's > time to try again. There are stil

Re: [PATCH v2] mm: hwpoison: disable memory error handling on 1GB hugepage

2019-06-11 Thread Wanpeng Li
On Tue, 11 Jun 2019 at 07:51, Naoya Horiguchi wrote: > > On Wed, May 29, 2019 at 04:31:01PM -0700, Mike Kravetz wrote: > > On 5/28/19 2:49 AM, Wanpeng Li wrote: > > > Cc Paolo, > > > Hi all, > > > On Wed, 14 Feb 2018 at 06:34, Mike Kravetz > > > wrote: > > >> > > >> On 02/12/2018 06:48 PM, Micha

Re: [PATCH bpf v3] xdp: fix hang while unregistering device bound to xdp socket

2019-06-11 Thread Ilya Maximets
On 11.06.2019 11:09, Björn Töpel wrote: > On Mon, 10 Jun 2019 at 22:49, Jonathan Lemon wrote: >> >> On 10 Jun 2019, at 9:15, Ilya Maximets wrote: >> >>> Device that bound to XDP socket will not have zero refcount until the >>> userspace application will not close it. This leads to hang inside >>>

Re: [PATCH] HID: input: fix a4tech horizontal wheel custom usage id

2019-06-11 Thread Benjamin Tissoires
Hi Nicolas, On Mon, Jun 10, 2019 at 8:54 PM Nicolas Saenz Julienne wrote: > > Some a4tech mice use the 'GenericDesktop.00b8' usage id to inform > whether the previous wheel report was horizontal or vertical. Before > c01908a14bf73 ("HID: input: add mapping for "Toggle Display" key") this > usage

[PATCH v7 00/10] add USB Type-B GPIO connector driver

2019-06-11 Thread Chunfeng Yun
Because the USB Connector is introduced and the requirement of usb-connector.txt binding, the old way using extcon to support USB Dual-Role switch is now deprecated, meanwhile there is no available common driver when use Type-B connector, typically using an input GPIO to detect USB ID pin. This pat

[PATCH v7 01/10] dt-binding: usb: add usb-role-switch property

2019-06-11 Thread Chunfeng Yun
Add a property usb-role-switch to tell the driver that use USB Role Switch framework to handle the role switch, it's useful when the driver has already supported other ways, such as extcon framework etc. Cc: Biju Das Cc: Yu Chen Signed-off-by: Chunfeng Yun Reviewed-by: Rob Herring Reviewed-by:

[PATCH v7 02/10] dt-bindings: connector: add optional properties for Type-B

2019-06-11 Thread Chunfeng Yun
Add id-gpios, vbus-gpios, vbus-supply and pinctrl properties for usb-b-connector Signed-off-by: Chunfeng Yun Reviewed-by: Rob Herring --- v7 no changes v6 no changes v5 changes: 1. add reviewed by Rob v4 no changes v3 changes: 1. add GPIO direction, and use fixed-regulator for GPIO controll

Re: [PATCH] wlcore/wl18xx: Add invert-irq OF property for physically inverted IRQ

2019-06-11 Thread Geert Uytterhoeven
CC irqchip Original thread at https://lore.kernel.org/lkml/20190607172958.20745-1-ero...@de.adit-jv.com/ On Mon, Jun 10, 2019 at 10:30 AM Tony Lindgren wrote: > * Kalle Valo [190610 07:01]: > > Eugeniu Rosca writes: > > > > > The wl1837mod datasheet [1] says about the WL_IRQ pin: > > > > > >

[PATCH v7 03/10] dt-bindings: usb: add binding for Type-B GPIO connector driver

2019-06-11 Thread Chunfeng Yun
It's used to support dual role switch via GPIO when use Type-B receptacle, typically the USB ID pin is connected to an input GPIO, and also used to enable/disable device when the USB Vbus pin is connected to an input GPIO. Signed-off-by: Chunfeng Yun --- v7 changes: 1. add description for device

[PATCH v7 05/10] usb: roles: Introduce stubs for the exiting functions in role.h.

2019-06-11 Thread Chunfeng Yun
From: Yu Chen This patch adds stubs for the exiting functions while CONFIG_USB_ROLE_SWITCH does not enabled. Cc: Greg Kroah-Hartman Cc: Heikki Krogerus Cc: Hans de Goede Cc: Andy Shevchenko Cc: John Stultz Reviewed-by: Heikki Krogerus Signed-off-by: Yu Chen Signed-off-by: Chunfeng Yun --

[PATCH v7 09/10] usb: roles: add USB Type-B GPIO connector driver

2019-06-11 Thread Chunfeng Yun
Due to the requirement of usb-connector.txt binding, the old way using extcon to support USB Dual-Role switch is now deprecated when use Type-B connector. This patch introduces a driver of Type-B connector which typically uses an input GPIO to detect USB ID pin, and try to replace the function prov

[PATCH v7 07/10] usb: roles: Add fwnode_usb_role_switch_get() function

2019-06-11 Thread Chunfeng Yun
From: Heikki Krogerus The fwnode_usb_role_switch_get() function is exactly the same as usb_role_switch_get(), except that it takes struct fwnode_handle as parameter instead of struct device. Signed-off-by: Heikki Krogerus Signed-off-by: Chunfeng Yun Tested-by: Biju Das --- v7: add signed-of

[PATCH v7 08/10] usb: roles: get usb-role-switch from parent

2019-06-11 Thread Chunfeng Yun
when the USB host controller is the parent of the connector, usually type-B, sometimes don't need the graph, so we should check whether it's parent registers usb-role-switch or not firstly, and get it if exists. Signed-off-by: Heikki Krogerus Signed-off-by: Chunfeng Yun --- v7 no changes v6:

[PATCH v7 10/10] usb: mtu3: register a USB Role Switch for dual role mode

2019-06-11 Thread Chunfeng Yun
Because extcon is not allowed for new bindings, and the dual role switch is supported by USB Role Switch, especially for Type-C drivers, so register a USB Role Switch to support the new way Signed-off-by: Chunfeng Yun --- v7 no changes v6 no changes v5 no changes v4 changes: 1. assign fwnode m

[PATCH v7 06/10] device connection: Add fwnode_connection_find_match()

2019-06-11 Thread Chunfeng Yun
From: Heikki Krogerus The fwnode_connection_find_match() function is exactly the same as device_connection_find_match(), except it takes struct fwnode_handle as parameter instead of struct device. That allows locating device connections before the device entries have been created. Signed-off-by:

[PATCH v7 04/10] dt-bindings: usb: mtu3: add properties about USB Role Switch

2019-06-11 Thread Chunfeng Yun
Now the USB Role Switch is supported, so add properties about it, and modify some description related. Signed-off-by: Chunfeng Yun Reviewed-by: Rob Herring --- v7 no changes v6 no changes v5 changes: 1. modify decription about extcon and vbus-supply properties 2. make this patch depend on [1]

Re: [PATCH v3 2/3] KVM: X86: Implement PV sched yield hypercall

2019-06-11 Thread Wanpeng Li
On Mon, 10 Jun 2019 at 22:17, Radim Krčmář wrote: > > 2019-05-30 09:05+0800, Wanpeng Li: > > From: Wanpeng Li > > > > The target vCPUs are in runnable state after vcpu_kick and suitable > > as a yield target. This patch implements the sched yield hypercall. > > > > 17% performance increasement of

Re: [PATCH v2] kasan: add memory corruption identification for software tag-based mode

2019-06-11 Thread Dmitry Vyukov
On Tue, Jun 11, 2019 at 9:05 AM Walter Wu wrote: > > On Mon, 2019-06-10 at 13:46 +0200, Dmitry Vyukov wrote: > > On Mon, Jun 10, 2019 at 9:28 AM Walter Wu wrote: > > > > > > On Fri, 2019-06-07 at 21:18 +0800, Dmitry Vyukov wrote: > > > > > diff --git a/include/linux/kasan.h b/include/linux/kasan.

Re: [PATCH 8/8] habanalabs: enable 64-bit DMA mask in POWER9

2019-06-11 Thread Oded Gabbay
On Tue, Jun 11, 2019 at 11:08 AM Oded Gabbay wrote: > > On Tue, Jun 11, 2019 at 10:59 AM Greg KH wrote: > > > > On Tue, Jun 11, 2019 at 08:50:45AM +0300, Oded Gabbay wrote: > > > --- a/drivers/misc/habanalabs/habanalabs_drv.c > > > +++ b/drivers/misc/habanalabs/habanalabs_drv.c > > > @@ -28,6 +28

  1   2   3   4   5   6   7   8   9   10   >