[PATCH 1/2] HID: input: make sure the wheel high resolution multiplier is set

2019-04-23 Thread Benjamin Tissoires
Some old mice have a tendency to not accept the high resolution multiplier. They reply with a -EPIPE which was previously ignored. Force the call to resolution multiplier to be synchronous and actually check for the answer. If this fails, consider the mouse like a normal one. Fixes:

Re: mmotm 2019-04-19-14-53 uploaded (objtool)

2019-04-23 Thread Randy Dunlap
On 4/23/19 1:24 AM, Peter Zijlstra wrote: > On Fri, Apr 19, 2019 at 09:36:46PM -0700, Randy Dunlap wrote: >> On 4/19/19 2:53 PM, a...@linux-foundation.org wrote: >>> The mm-of-the-moment snapshot 2019-04-19-14-53 has been uploaded to >>> >>>http://www.ozlabs.org/~akpm/mmotm/ >>> >>>

Re: [PATCH v2 12/12] thermal: tegra: enable OC hw throttle

2019-04-23 Thread Eduardo Valentin
On Thu, Feb 21, 2019 at 06:18:47PM +0800, Wei Ni wrote: > Parse Over Current settings from DT and program them to > generate interrupts. Also enable hw throttling whenever > there are OC events. Log the OC events as debug messages. > > Signed-off-by: Wei Ni I applied this series except for this

Re: [PATCH 3/6] y2038: linux: Provide __clock_settime64 implementation

2019-04-23 Thread Lukasz Majewski
Hi Arnd and Stepan, > On Mon, Apr 22, 2019 at 11:07 AM Stepan Golosunov > wrote: > > 20.04.2019 в 13:21:12 +0200 Lukasz Majewski написал: > > Is it? The kernel (5.1-rc6) code looks to me like > > > > /* Zero out the padding for 32 bit systems or in compat > > mode */ if (false && false)

Re: [PATCH] thermal/drivers/of: Add a get_temp_id callback function

2019-04-23 Thread Eduardo Valentin
Hello, On Tue, Apr 16, 2019 at 07:22:03PM +0200, Daniel Lezcano wrote: > Currently when we register a sensor, we specify the sensor id and a data > pointer to be passed when the get_temp function is called. However the > sensor_id is not passed to the get_temp callback forcing the driver to > do

[PATCH v2] memcg: refill_stock for kmem uncharging too

2019-04-23 Thread Shakeel Butt
The commit 475d0487a2ad ("mm: memcontrol: use per-cpu stocks for socket memory uncharging") added refill_stock() for skmem uncharging path to optimize workloads having high network traffic. Do the same for the kmem uncharging as well. Though we can bypass the refill for the offlined memcgs but it

Re: [PATCH] soc: add aspeed folder and misc drivers

2019-04-23 Thread Patrick Venture
On Tue, Apr 23, 2019 at 8:33 AM Arnd Bergmann wrote: > > On Tue, Apr 23, 2019 at 4:24 PM Patrick Venture wrote: > > > > On Tue, Apr 23, 2019 at 1:08 AM Arnd Bergmann wrote: > > > > > > On Mon, Apr 22, 2019 at 7:38 PM Patrick Venture > > > wrote: > > > > > > > > Create a SoC folder for the

Re: [PATCH v3 14/28] userfaultfd: wp: handle COW properly for uffd-wp

2019-04-23 Thread Jerome Glisse
On Tue, Apr 23, 2019 at 11:00:30AM +0800, Peter Xu wrote: > On Mon, Apr 22, 2019 at 10:54:02AM -0400, Jerome Glisse wrote: > > On Mon, Apr 22, 2019 at 08:20:10PM +0800, Peter Xu wrote: > > > On Fri, Apr 19, 2019 at 11:02:53AM -0400, Jerome Glisse wrote: > > > > > > [...] > > > > > > > > > > +

Re: [PATCH] PCI/LINK: Account for BW notification in vector calculation

2019-04-23 Thread Alex Williamson
On Tue, 23 Apr 2019 09:33:53 -0500 Alex G wrote: > On 4/22/19 7:33 PM, Alex Williamson wrote: > > On Mon, 22 Apr 2019 19:05:57 -0500 > > Alex G wrote: > >> echo :07:00.0:pcie010 | > >> sudo tee /sys/bus/pci_express/drivers/pcie_bw_notification/unbind > > > > That's a bad solution for

Re: [PATCH] soc: add aspeed folder and misc drivers

2019-04-23 Thread Arnd Bergmann
On Tue, Apr 23, 2019 at 4:24 PM Patrick Venture wrote: > > On Tue, Apr 23, 2019 at 1:08 AM Arnd Bergmann wrote: > > > > On Mon, Apr 22, 2019 at 7:38 PM Patrick Venture wrote: > > > > > > Create a SoC folder for the ASPEED parts and place the misc drivers > > > currently present into this

Re: [PATCH v2] soc: add aspeed folder and misc drivers

2019-04-23 Thread Patrick Venture
On Tue, Apr 23, 2019 at 8:22 AM Patrick Venture wrote: > > On Tue, Apr 23, 2019 at 7:26 AM Patrick Venture wrote: > > > > Create a SoC folder for the ASPEED parts and place the misc drivers > > currently present into this folder. These drivers are not generic part > > drivers, but rather only

Re: [PATCH v2 7/8] s390: vfio-ap: handle bind and unbind of AP queue device

2019-04-23 Thread Tony Krowiak
On 4/23/19 9:54 AM, Halil Pasic wrote: On Sat, 20 Apr 2019 17:49:39 -0400 Tony Krowiak wrote: +void vfio_ap_mdev_probe_queue(unsigned long apid, unsigned long apqi) +{ + struct ap_matrix_mdev *matrix_mdev; + + matrix_mdev = vfio_ap_mdev_find_matrix_mdev(apid, apqi); + + /* +

Re: [PATCH] memstick: mark expected switch fall-throughs

2019-04-23 Thread Gustavo A. R. Silva
On 4/23/19 10:15 AM, Kees Cook wrote: > On Tue, Feb 12, 2019 at 6:57 PM Gustavo A. R. Silva > wrote: >> >> In preparation to enabling -Wimplicit-fallthrough, mark switch >> cases where we are expecting to fall through. >> >> This patch fixes the following warnings: >> >>

Re: [PATCH 1/3] perf, tools: Add support for recording and printing XMM registers

2019-04-23 Thread Liang, Kan
Hi Arnaldo and Jirka, Have you got a chance to review this patch series? This series is user space tool support for Icelake and Tremont. Thanks, Kan On 4/16/2019 11:24 AM, kan.li...@linux.intel.com wrote: From: Andi Kleen Icelake and later platforms support collecting XMM registers with

Re: Alleged fix for writer stall on -rcu branch dev

2019-04-23 Thread Sebastian Andrzej Siewior
On 2019-04-15 13:04:03 [+0200], To Paul E. McKenney wrote: > > good so nothing important so far. I hope the box gets to TREE08 soon. test completed. Nothing new. > > > > Thanx, Paul > Sebastian

Re: [PATCH v4 09/12] soc: mediatek: cmdq: add polling function

2019-04-23 Thread Dennis-YC Hsieh
Hi Bibby, On Mon, 2019-04-15 at 20:58 +0800, Bibby Hsieh wrote: > add polling function in cmdq helper functions > > Signed-off-by: Bibby Hsieh > --- > drivers/soc/mediatek/mtk-cmdq-helper.c | 30 > include/linux/mailbox/mtk-cmdq-mailbox.h | 1 + >

Re: [PATCH v2] soc: add aspeed folder and misc drivers

2019-04-23 Thread Patrick Venture
On Tue, Apr 23, 2019 at 7:26 AM Patrick Venture wrote: > > Create a SoC folder for the ASPEED parts and place the misc drivers > currently present into this folder. These drivers are not generic part > drivers, but rather only apply to the ASPEED SoCs. > > Signed-off-by: Patrick Venture

[PATCH] uprobes: use DEFINE_STATIC_PERCPU_RWSEM() to initialize dup_mmap_sem

2019-04-23 Thread Oleg Nesterov
Use DEFINE_STATIC_PERCPU_RWSEM() to initialize dup_mmap_sem. Signed-off-by: Oleg Nesterov --- kernel/events/uprobes.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c index c5cde87..76c7380 100644 ---

Re: [PATCH] dmaengine: stm32-dma: fix residue calculation in stm32-dma

2019-04-23 Thread Arnaud Pouliquen
Hello Vinod, Just a gentle reminder, if you could take a moment to review this patch. FYI, the patch has already been internally reviewed by Pierre Yves mordret... His sign-off is in the commit message. Thanks, Arnaud On 3/27/19 1:21 PM, Arnaud Pouliquen wrote: > During residue calculation.

Re: [PATCH] x86/mm/mem_encrypt: fix a crash with kmemleak_scan

2019-04-23 Thread Borislav Petkov
On Tue, Apr 23, 2019 at 10:16:46AM -0400, Qian Cai wrote: > In reality, this is only the second place that needs this kmemleak_free_part() > call for all those years since kmemleak was born. And? Which place warrants doing it right? The third? Fourth? -- Regards/Gruss, Boris. Good mailing

Re: [PATCH] x86/mm/mem_encrypt: fix a crash with kmemleak_scan

2019-04-23 Thread Borislav Petkov
On Tue, Apr 23, 2019 at 03:02:56PM +0100, Catalin Marinas wrote: > The .bss/.data used to be root until recently when commit 298a32b13208 > ("kmemleak: powerpc: skip scanning holes in the .bss section") changed > this to accommodate a similar problem on powerpc. With this commit, > .bss/.data are

Re: [PATCH] memstick: mark expected switch fall-throughs

2019-04-23 Thread Kees Cook
On Tue, Feb 12, 2019 at 6:57 PM Gustavo A. R. Silva wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > This patch fixes the following warnings: > > drivers/memstick/host/jmb38x_ms.c: In function ‘jmb38x_ms_write_data’: >

Re: [PATCH] reiserfs: Force type conversion in xattr_hash

2019-04-23 Thread Al Viro
On Tue, Apr 23, 2019 at 08:22:37PM +0530, Bharath Vedartham wrote: > > ISTR some discussions of reiserfs layout endianness problems, but > > that had been many years ago and I could be wrong; I _think_ > > the conclusion had been "it sucks, but we can't do anything > > without breaking existing

Reply to this e-mail:mr.mikemo...@post.com

2019-04-23 Thread office payment
-- Did you authorize her? Did you ask Lynn hardy to claim your $3.215,995 on your behalf? Reply to this e-mail:mr.mikemo...@post.com --

Re: [PATCH] fuse: Add ioctl flag for compat ioctl with 64-bit time_t

2019-04-23 Thread Ian Abbott
On 23/04/2019 13:55, Miklos Szeredi wrote: On Fri, Mar 1, 2019 at 6:08 PM Ian Abbott wrote: Currently, a CUSE server running on a 64-bit kernel can tell when an ioctl request comes from a process running a 32-bit ABI, but cannot tell whether the requesting process is using legacy IA32

Re: [PATCH 1/3] remap: Add I3C bus support

2019-04-23 Thread Boris Brezillon
On Tue, 23 Apr 2019 14:58:06 + Vitor Soares wrote: > Hi Mark, > > From: Mark Brown > Date: Tue, Apr 16, 2019 at 16:39:48 > > > On Mon, Apr 15, 2019 at 09:19:39PM +0200, Vitor Soares wrote: > > > > > +++ b/drivers/base/regmap/regmap-i3c.c > > > @@ -0,0 +1,62 @@ > > > +//

Re: [PATCH] memstick: mark expected switch fall-throughs

2019-04-23 Thread Gustavo A. R. Silva
Hi all, If no one cares, I'll add this to my tree for 5.2. Thanks -- Gustavo On 3/20/19 12:40 PM, Gustavo A. R. Silva wrote: > Hi, > > Friendly ping: > > Who can take this? > > Thanks > -- > Gustavo > > On 2/12/19 8:57 PM, Gustavo A. R. Silva wrote: >> In preparation to enabling

Re: PING: Re: [PATCH] perf annotate: Fix build on 32 bit for BPF annotation

2019-04-23 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 23, 2019 at 11:58:48AM -0300, Thadeu Lima de Souza Cascardo escreveu: > On Wed, Apr 03, 2019 at 09:34:02PM +, Song Liu wrote: > > > > > > > On Apr 3, 2019, at 12:44 PM, Thadeu Lima de Souza Cascardo > > > wrote: > > > > > > Commit 6987561c9e86 ("perf annotate: Enable

Re: [rcu:dev.2019.04.16a 38/72] kernel/rcu/tree.c:2408:36: sparse: sparse: incorrect type in initializer (different address spaces)

2019-04-23 Thread Sebastian Andrzej Siewior
On 2019-04-23 05:46:19 [-0700], Paul E. McKenney wrote: > On Tue, Apr 23, 2019 at 06:33:33PM +0800, kbuild test robot wrote: > > tree: > > https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > > dev.2019.04.16a > > head: ca8714f549be5a186d086a223184095759eb7094 > > commit:

Re: [PATCH] ext4: bad mount opts in no journal mode

2019-04-23 Thread Banerjee, Debabrata
ping? On 4/11/19, 5:49 PM, "Debabrata Banerjee" wrote: Fixes: commit 1e381f60dad9 ("ext4: do not allow journal_opts for fs w/o journal") Instead of removing EXT4_MOUNT_JOURNAL_CHECKSUM from s_def_mount_opt as I assume was intended, all other options were blown away leading

Re: [PATCH v7 2/2] power_supply: platform/chrome: wilco_ec: Add charging config driver

2019-04-23 Thread Enric Balletbo i Serra
Sebastian, On 22/4/19 20:07, Nick Crews wrote: > Add control of the charging algorithm used on Wilco devices. > See Documentation/ABI/testing/sysfs-class-power-wilco for the > userspace interface and other info. > > Signed-off-by: Nick Crews Reviewed-by: Enric Balletbo i Serra > --- > v6

RE: [PATCH 1/3] remap: Add I3C bus support

2019-04-23 Thread Vitor Soares
Hi Mark, From: Mark Brown Date: Tue, Apr 16, 2019 at 16:39:48 > On Mon, Apr 15, 2019 at 09:19:39PM +0200, Vitor Soares wrote: > > > +++ b/drivers/base/regmap/regmap-i3c.c > > @@ -0,0 +1,62 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Copyright (c) 2018 Synopsys, Inc. and/or its

PING: Re: [PATCH] perf annotate: Fix build on 32 bit for BPF annotation

2019-04-23 Thread Thadeu Lima de Souza Cascardo
On Wed, Apr 03, 2019 at 09:34:02PM +, Song Liu wrote: > > > > On Apr 3, 2019, at 12:44 PM, Thadeu Lima de Souza Cascardo > > wrote: > > > > Commit 6987561c9e86 ("perf annotate: Enable annotation of BPF programs") > > adds > > support for BPF programs annotations but the new code does not

Re: [RESEND1, PATCH 1/2] fuse: convert printk -> pr_*

2019-04-23 Thread Miklos Szeredi
On Wed, Mar 27, 2019 at 10:15 AM Kirill Smelkov wrote: > > Functions, like pr_err, are a more modern variant of printing compared to > printk. They could be used to denoise sources by using needed level in > the print function name, and by automatically inserting per-driver / > function / ...

[PATCH] Input: walkera0701 - Fix possible NULL pointer dereference in walkera0701_detach

2019-04-23 Thread Yue Haibing
From: YueHaibing KASAN report this: walkera0701: failed to allocate input device kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: [#1] SMP KASAN PTI CPU: 1 PID: 5324 Comm: syz-executor.0 Tainted: G C

Re: [PATCH v3 1/2] thermal: rcar_gen3_thermal: fix interrupt type

2019-04-23 Thread Eugeniu Rosca
Hi Jiada, On Tue, Apr 23, 2019 at 11:14:13PM +0900, Jiada Wang wrote: > Currently IRQF_SHARED type interrupt line is allocated, but it > is not appropriate, as the interrupt line isn't shared between > different devices, instead IRQF_ONESHOT is the proper type. > > By changing interrupt type to

Re: [PATCH] reiserfs: Force type conversion in xattr_hash

2019-04-23 Thread Bharath Vedartham
On Mon, Apr 22, 2019 at 12:27:05PM -0700, Andrew Morton wrote: > On Sun, 21 Apr 2019 18:02:35 +0100 Al Viro wrote: > > > IOW, what sparse has caught here is a genuine endianness bug; images > > created on little-endian host and mounted on big-endian (or vice > > versa) will see csum mismatches

Re: [PATCH 06/12] perf tools: Do not erase uncovered maps by kcore

2019-04-23 Thread Jiri Olsa
On Tue, Apr 23, 2019 at 12:32:12PM +0300, Adrian Hunter wrote: > On 16/04/19 7:01 PM, Jiri Olsa wrote: > > Maps in kcore do not cover bpf maps, so we can't just > > remove everything. Keeping all kernel maps, which are > > not covered by kcore maps. > > Memory for jited-bpf is allocated from the

Re: [PATCH v2 7/8] s390: vfio-ap: handle bind and unbind of AP queue device

2019-04-23 Thread Tony Krowiak
On 4/23/19 9:38 AM, Pierre Morel wrote: On 20/04/2019 23:49, Tony Krowiak wrote: There is an implied guarantee that when an AP queue device is bound to a device driver, that driver will have exclusive control over the device. When an AP queue device is unbound from the vfio_ap driver while the

Re: [PATCH] reiserfs: Force type conversion in xattr_hash

2019-04-23 Thread Bharath Vedartham
On Sun, Apr 21, 2019 at 06:02:35PM +0100, Al Viro wrote: > On Thu, Apr 18, 2019 at 03:50:19PM -0700, Andrew Morton wrote: > > On Wed, 17 Apr 2019 17:22:00 +0530 Bharath Vedartham > > wrote: > > > > > This patch fixes the sparse warning: > > > > > > fs/reiserfs//xattr.c:453:28: warning:

[PATCH] Bluetooth: hci_h5: fix spelling mistake "sliped" -> "slipped"

2019-04-23 Thread Colin King
From: Colin Ian King There is a spelling mistake in a BT_DBG debug message. Fix it. Signed-off-by: Colin Ian King --- drivers/bluetooth/hci_h5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c index

[PATCH v3] Staging: vc04_services: Cleanup in ctrl_set_bitrate()

2019-04-23 Thread Madhumitha Prabakaran
Remove unnecessary variable from the function and make a corresponding change w.r.t the variable. In addition to that align the parameters in the parentheses to maintain Linux kernel coding style Issue suggested by Coccinelle. Signed-off-by: Madhumitha Prabakaran --- Changes in v2 - 1) Fix my

Re: [PATCH v3 2/2] thermal: rcar_gen3_thermal: disable interrupt in .remove

2019-04-23 Thread Sergei Shtylyov
On 04/23/2019 05:14 PM, Jiada Wang wrote: > Currently IRQ is remain enabled after .remove, later if device is probed, IRQ remains enabled. > IRQ is requested before .thermal_init, this may cause IRQ function be > called before device is initialized. > > this patch by disable interrupt in

Re: [PATCH v7 1/2] platform/chrome: wilco_ec: Add property helper library

2019-04-23 Thread Enric Balletbo i Serra
On 22/4/19 20:07, Nick Crews wrote: > A Property is typically a data item that is stored to NVRAM > by the EC. Each of these data items has an index associated > with it, known as the Property ID (PID). Properties may have > variable lengths, up to a max of WILCO_EC_PROPERTY_MAX_SIZE > bytes.

Re: clk/clk-next boot bisection: v5.1-rc1-142-ga55b079c961b on panda

2019-04-23 Thread Tony Lindgren
* Stephen Boyd [691231 23:00]: > Quoting kernelci.org bot (2019-04-22 17:16:44) > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > * This automated bisection report was sent to you on the basis * > > * that you may be involved with the breaking commit it has * > > *

Re: [PATCH v4 05/12] soc: mediatek: cmdq: move the CMDQ_IRQ_MASK into cmdq driver data

2019-04-23 Thread Matthias Brugger
Subject should be: mailbox: mediatek: cmdq: move the CMDQ_IRQ_MASK into cmdq driver data Regards, Matthias On 15/04/2019 14:58, Bibby Hsieh wrote: > The interrupt mask and thread number has positive correlation, > so we move the CMDQ_IRQ_MASK into cmdq driver data and calculate > it by thread

[PATCH -next] agp/uninorth: remove set but not used variable 'size'

2019-04-23 Thread Yue Haibing
From: YueHaibing Fixes gcc '-Wunused-but-set-variable' warning: drivers/char/agp/uninorth-agp.c: In function 'uninorth_create_gatt_tablei': drivers/char/agp/uninorth-agp.c:371:6: warning: variable 'size' set but not used [-Wunused-but-set-variable] drivers/char/agp/frontend.c: In function

Re: [PATCH 2/2] ARM: errata: add support for A12/A17 errata CR711784

2019-04-23 Thread Doug Anderson
Hi, On Tue, Apr 23, 2019 at 3:19 AM Robin Murphy wrote: > > Hi Doug, > > On 19/04/2019 23:18, Douglas Anderson wrote: > > This adds a code for turning on chicken bit 11, which appears to avoid > > a potential CPU deadlock that could occur. The exact set of > > instruction needed to trigger this

Re: [PATCH 1/2] dt-bindings: mt8183: Add watchdog dt-binding

2019-04-23 Thread Matthias Brugger
On 22/04/2019 08:08, Yong Liang wrote: > From: "yong.liang" > > This patch add watchdog binding documentation for > watchdog on MTK Socs. > > Signed-off-by: yong.liang Reviewed-by: Matthias Brugger > --- > .../devicetree/bindings/watchdog/mtk-wdt.txt |1 + > 1 file changed, 1

Re: [PATCH 1/2] dt-bindings: adc: mt8183: add binding document

2019-04-23 Thread Matthias Brugger
On 22/04/2019 13:54, Zhiyong Tao wrote: > The commit adds mt8183 compatible node in binding document. > > Signed-off-by: Zhiyong Tao > --- > Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH 1/2] mm/page_alloc: avoid potential NULL pointer dereference

2019-04-23 Thread Mel Gorman
On Tue, Apr 23, 2019 at 03:08:05PM +0300, Andrey Ryabinin wrote: > ac.preferred_zoneref->zone passed to alloc_flags_nofragment() can be NULL. > 'zone' pointer unconditionally derefernced in alloc_flags_nofragment(). > Bail out on NULL zone to avoid potential crash. > Currently we don't see any

Re: [PATCH 2/2] mm/page_alloc: fix never set ALLOC_NOFRAGMENT flag

2019-04-23 Thread Mel Gorman
On Tue, Apr 23, 2019 at 03:08:06PM +0300, Andrey Ryabinin wrote: > Commit 0a79cdad5eb2 ("mm: use alloc_flags to record if kswapd can wake") > removed setting of the ALLOC_NOFRAGMENT flag. Bring it back. > > Fixes: 0a79cdad5eb2 ("mm: use alloc_flags to record if kswapd can wake") > Signed-off-by:

Re: [PATCH] PCI/LINK: Account for BW notification in vector calculation

2019-04-23 Thread Alex G
On 4/22/19 7:33 PM, Alex Williamson wrote: On Mon, 22 Apr 2019 19:05:57 -0500 Alex G wrote: echo :07:00.0:pcie010 | sudo tee /sys/bus/pci_express/drivers/pcie_bw_notification/unbind That's a bad solution for users, this is meaningless tracking of a device whose driver is actively

[PATCH 3/4] EDAC, altera: Add Stratix10 SDMMC support

2019-04-23 Thread thor . thayer
From: Thor Thayer Addition of SDMMC EDAC for Stratix10 which has IRQ differences from Arria10. Update comment accordingly. Signed-off-by: Thor Thayer --- drivers/edac/altera_edac.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/edac/altera_edac.c

[PATCH 4/4] arm64: dts: stratix10: Add SDMMC EDAC node

2019-04-23 Thread thor . thayer
From: Thor Thayer Add the Stratix10 SDMMC EDAC node. Signed-off-by: Thor Thayer --- arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts

[PATCH 0/4] Add Stratix10 OCRAM & SDMMC EDAC Support

2019-04-23 Thread thor . thayer
From: Thor Thayer This patch series adds EDAC support for the Stratix10 OCRAM and SDMMC peripherals. Thor Thayer (4): EDAC, altera: Add Stratix10 OCRAM ECC support arm64: dts: stratix10: Add OCRAM EDAC node EDAC, altera: Add Stratix10 SDMMC support arm64: dts: stratix10: Add SDMMC EDAC

[PATCH 2/4] arm64: dts: stratix10: Add OCRAM EDAC node

2019-04-23 Thread thor . thayer
From: Thor Thayer Add the OCRAM ECC node with Stratix10 compatible string. Signed-off-by: Thor Thayer --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

[PATCH 1/4] EDAC, altera: Add Stratix10 OCRAM ECC support

2019-04-23 Thread thor . thayer
From: Thor Thayer Use the newer ECC error injection method for Arria10 and Stratix10 OCRAM. If OCRAM has already been initialized during the boot and OCRAM ECC is enabled, ensure the Single Bit Error IRQ is enabled. Signed-off-by: Thor Thayer --- drivers/edac/altera_edac.c | 27

Re: [PATCH v20 16/28] x86/sgx: Add provisioning

2019-04-23 Thread Jarkko Sakkinen
On Fri, Apr 19, 2019 at 03:06:48AM +, Huang, Kai wrote: > On Wed, 2019-04-17 at 13:39 +0300, Jarkko Sakkinen wrote: > > In order to provide a mechanism for devilering provisoning rights: > > > > 1. Add a new device file /dev/sgx/provision that works as a token for > >allowing an enclave

[PATCH] driver core: Fix use-after-free and double free on glue directory

2019-04-23 Thread Muchun Song
There is a race condition between removing glue directory and adding a new device under the glue directory. It can be reproduced in following test: path 1: Add the child device under glue dir device_add() get_device_parent() mutex_lock(_mutex); /*find parent from

Re: [PATCH v4 14/16] locking/rwsem: Guard against making count negative

2019-04-23 Thread Waiman Long
On 4/23/19 10:17 AM, Peter Zijlstra wrote: > On Sun, Apr 21, 2019 at 05:07:56PM -0400, Waiman Long wrote: > >> How about the following chunks to disable preemption temporarily for the >> increment-check-decrement sequence? >> >> diff --git a/include/linux/preempt.h b/include/linux/preempt.h >>

Re: [PATCH v2] ARM: dts: aspeed: Adding Lenovo Hr630 BMC

2019-04-23 Thread Patrick Venture
On Tue, Apr 23, 2019 at 4:55 AM Andrew Peng wrote: > > Initial introduction of Lenovo Hr630 family equipped with > Aspeed 2500 BMC SoC. Hr630 is a x86 server development kit > with a ASPEED ast2500 BMC manufactured by Lenovo. > Specifically, This adds the Hr630 platform device tree file > used by

Re: [PATCH] fs: Fix ovl_i_mutex_dir_key/p->lock/cred cred_guard_mutex deadlock

2019-04-23 Thread Miklos Szeredi
Cc: linux-unionfs On Thu, Apr 11, 2019 at 6:48 PM Mina Almasry wrote: > > These 3 locks are acquired simultaneously in different order causing > deadlock: > > https://syzkaller.appspot.com/bug?id=00f119b8bb35a3acbcfafb9d36a2752b364e8d66 > > ==

Re: [PATCH 00/20] drm: Split out the formats API and move it to a common place

2019-04-23 Thread Nicolas Dufresne
Le mardi 23 avril 2019 à 14:33 +0200, Paul Kocialkowski a écrit : > Hi, > > On Tue, 2019-04-23 at 09:30 +0200, Daniel Vetter wrote: > > On Sun, Apr 21, 2019 at 01:40:45AM +0300, Laurent Pinchart wrote: > > > Hi Paul, > > > > > > On Thu, Apr 18, 2019 at 01:49:54PM +0200, Paul Kocialkowski wrote:

[PATCH] sched: Provide a pointer to the valid CPU mask

2019-04-23 Thread Sebastian Andrzej Siewior
In commit 4b53a3412d66 ("sched/core: Remove the tsk_nr_cpus_allowed() wrapper") the tsk_nr_cpus_allowed() wrapper was removed. There was not much difference in !RT but in RT we used this to implement migrate_disable(). Within a migrate_disable() section the CPU mask is restricted to single CPU

[PATCH v2] soc: add aspeed folder and misc drivers

2019-04-23 Thread Patrick Venture
Create a SoC folder for the ASPEED parts and place the misc drivers currently present into this folder. These drivers are not generic part drivers, but rather only apply to the ASPEED SoCs. Signed-off-by: Patrick Venture --- v2: Added configuration option for ASPEED to soc/Makefile ---

Re: [PATCH v3] signal: trace_signal_deliver when signal_group_exit

2019-04-23 Thread weizhenliang
On 04/23, Greg KH wrote: >On Mon, Apr 22, 2019 at 10:59:50PM +0800, Zhenliang Wei wrote: >> In the fixes commit, removing SIGKILL from each thread signal mask and >> executing "goto fatal" directly will skip the call to >> "trace_signal_deliver". At this point, the delivery tracking of the >>

Re: [PATCH 15/24] dt-bindings: pinctrl: pinctrl-mt65xx: add support for MT8516

2019-04-23 Thread Matthias Brugger
On 23/04/2019 13:01, Linus Walleij wrote: > On Tue, Apr 16, 2019 at 11:12 AM Matthias Brugger > wrote: > >> Hi Linus, >> >> On 08/04/2019 22:44, Linus Walleij wrote: >>> On Sat, Mar 23, 2019 at 10:17 PM Fabien Parent wrote: >>> Add binding documentation of pinctrl-mt65xx for MT8516 SoC.

Re: [PATCH] soc: add aspeed folder and misc drivers

2019-04-23 Thread Patrick Venture
On Tue, Apr 23, 2019 at 1:08 AM Arnd Bergmann wrote: > > On Mon, Apr 22, 2019 at 7:38 PM Patrick Venture wrote: > > > > Create a SoC folder for the ASPEED parts and place the misc drivers > > currently present into this folder. These drivers are not generic part > > drivers, but rather only

Re: [PATCH v2 06/06] sound: isa: gus: fix misuse of %x

2019-04-23 Thread Takashi Iwai
On Sun, 21 Apr 2019 13:48:44 +0200, Fuqian Huang wrote: > > Pointers should be printed with %p or %px rather than > cast to long type and printed with %lx. > Change %lx to %p to print the pointer. > > Signed-off-by: Fuqian Huang IMO, it's better to drop the address printing itself. We don't

Re: [RESEND PATCH 0/7] Introduce bus domains controller framework

2019-04-23 Thread Benjamin GAIGNARD
On 4/23/19 3:55 PM, Sudeep Holla wrote: > On Tue, Apr 23, 2019 at 01:33:19PM +, Benjamin GAIGNARD wrote: >> On 4/23/19 3:21 PM, Sudeep Holla wrote: >>> On Mon, Mar 18, 2019 at 12:05:54PM +0100, Benjamin Gaignard wrote: Le lun. 18 mars 2019 à 11:43, Sudeep Holla a écrit : > On Mon,

Re: [PATCH v4 14/16] locking/rwsem: Guard against making count negative

2019-04-23 Thread Peter Zijlstra
On Sun, Apr 21, 2019 at 05:07:56PM -0400, Waiman Long wrote: > How about the following chunks to disable preemption temporarily for the > increment-check-decrement sequence? > > diff --git a/include/linux/preempt.h b/include/linux/preempt.h > index dd92b1a93919..4cc03ac66e13 100644 > ---

Re: [PATCH] x86/mm/mem_encrypt: fix a crash with kmemleak_scan

2019-04-23 Thread Qian Cai
On Tue, 2019-04-23 at 15:25 +0200, Borislav Petkov wrote: > So I guess free_init_pages() should be somehow telling kmemleak, "hey, > just freed that object, pls adjust your tracking lists" no? > > Because, otherwise, if we start sprinkling those kmemleak_free_part() > calls everywhere, that'll

[PATCH v3 1/2] thermal: rcar_gen3_thermal: fix interrupt type

2019-04-23 Thread Jiada Wang
Currently IRQF_SHARED type interrupt line is allocated, but it is not appropriate, as the interrupt line isn't shared between different devices, instead IRQF_ONESHOT is the proper type. By changing interrupt type to IRQF_ONESHOT, now irq handler is no longer needed, as clear of interrupt status

[PATCH v3 2/2] thermal: rcar_gen3_thermal: disable interrupt in .remove

2019-04-23 Thread Jiada Wang
Currently IRQ is remain enabled after .remove, later if device is probed, IRQ is requested before .thermal_init, this may cause IRQ function be called before device is initialized. this patch by disable interrupt in .remove, to ensure irq function only be called after device is fully initialized.

[PATCH v3 0/2] thermal: rcar_gen3_thermal: fix IRQ issues

2019-04-23 Thread Jiada Wang
There are issues with interrupt handling in rcar_gen3_thermal driver. Currently IRQ is remain enabled after .remove, later if device is probed, IRQ is requested before .thermal_init, this may cause IRQ function be triggered but not able to clear IRQ status, thus cause system to hang. Since the

Re: [PATCH v3] signal: trace_signal_deliver when signal_group_exit

2019-04-23 Thread weizhenliang
On 04/23, Oleg wrote: >On 04/23, weizhenliang wrote: >> >> Last time Oleg suggested using SIG_DFL as the third parameter, but its type >> is 'void (*)(int)', but not expected 'struct k_sigaction *'. > >Yes I misread the signature of TRACE_EVENT(signal_deliver), and I thought you >at least

Re: [PATCH v3] arm64: sysreg: make mrs_s and msr_s macros work with Clang and LTO

2019-04-23 Thread Mark Rutland
On Mon, Apr 22, 2019 at 10:44:10AM -0700, Nick Desaulniers wrote: > On Tue, Apr 16, 2019 at 9:03 PM Kees Cook wrote: > > > > On Tue, Apr 16, 2019 at 12:08 PM Mark Rutland wrote: > > > > > > On Mon, Apr 15, 2019 at 10:22:27AM -0700, Nick Desaulniers wrote: > > > > On Mon, Apr 15, 2019 at 10:06 AM

Re: [PATCH v1 09/15] dmaengine: imx-sdma: remove ERR009165 on i.mx6ul

2019-04-23 Thread Fabio Estevam
On Tue, Apr 23, 2019 at 10:51 AM Robin Gong wrote: > > ECSPI issue fixed from i.mx6ul at hardware level, no need > ERR009165 anymore on those chips such as i.mx8mq. Add i.mx6sx > from where i.mx6ul source. > > Signed-off-by: Robin Gong > --- > drivers/dma/imx-sdma.c | 43

Re: next-20190408..0418: Suspend/resume problems on Thinkpad X60

2019-04-23 Thread Bart Van Assche
On 4/23/19 3:22 AM, Pavel Machek wrote: >>> It boots ok (unlike mainline -- I'm debugging that), and I can suspend >>> and resume... but then cursor in X is moving and I can talk to >>> applications cached in memory, but any access to disk hangs. >> >> Mainline problem was identified. >> >> But

Re: [PATCH RESEND v3 4/4] pinctrl: add drive for I2C related pins on MT8183

2019-04-23 Thread Matthias Brugger
On 23/04/2019 12:59, Linus Walleij wrote: > On Tue, Apr 16, 2019 at 10:08 AM Matthias Brugger > wrote: >> On 25/03/2019 13:41, Zhiyong Tao wrote: >>> This patch provides the advanced drive for I2C used pins on MT8183. >>> The detail strength specification description of the I2C pin: >>> When

Re: [PATCH v2 3/3] iio: Add PAT9125 optical tracker sensor

2019-04-23 Thread Alexandre
Hi Peter, On 4/23/19 13:33, Peter Meerwald-Stadler wrote: how is this thing different from a mouse device? I developed this driver to detect the board movement which can't be detected by accelerometer (very slow motion). I admit this use case can be handled by an input, and I'm agree with

Re: [PATCH v1 02/15] Revert "ARM: dts: imx6: Use correct SDMA script for SPI cores"

2019-04-23 Thread Fabio Estevam
On Tue, Apr 23, 2019 at 10:50 AM Robin Gong wrote: > > This reverts commit dd4b487b32a3571fdcc66062e661e3a3e360e35b. Same here.

Re: [PATCH v1 01/15] Revert "ARM: dts: imx6q: Use correct SDMA script for SPI5 core"

2019-04-23 Thread Fabio Estevam
Hi Robin, On Tue, Apr 23, 2019 at 10:50 AM Robin Gong wrote: > > This reverts commit df07101e1c4a29e820df02f9989a066988b160e6. You need to provide a detailed explanation in the commit log as to why the revert is needed.

Re: [PATCH] x86/mm/mem_encrypt: fix a crash with kmemleak_scan

2019-04-23 Thread Catalin Marinas
Hi Boris, On Tue, Apr 23, 2019 at 03:25:18PM +0200, Borislav Petkov wrote: > On Thu, Apr 18, 2019 at 10:50:15AM +0100, Catalin Marinas wrote: > > Kmemleak is basically a tri-colour marking tracing garbage collector [1] > > Thanks for that - interesting read. > > > but without automatic freeing.

Re: [PATCH v3] signal: trace_signal_deliver when signal_group_exit

2019-04-23 Thread weizhenliang
On Tue, Apr 23, 2019 at 09:41 PM Christian wrote: >On Tue, Apr 23, 2019 at 01:10:52PM +, weizhenliang wrote: >> On Mon, Apr 22, 2019 at 11:25 PM Oleg Nesterov wrote: >> >On 04/22, Zhenliang Wei wrote: >> >> >> >> --- a/kernel/signal.c >> >> +++ b/kernel/signal.c >> >> @@ -2441,6 +2441,7 @@

Re: [PATCH v2] x86: kvm: hyper-v: deal with buggy TLB flush requests from WS2012

2019-04-23 Thread Sean Christopherson
On Tue, Apr 23, 2019 at 03:15:37PM +0200, Vitaly Kuznetsov wrote: > It was reported that with some special Multi Processor Group configuration, > e.g: > bcdedit.exe /set groupsize 1 > bcdedit.exe /set maxgroup on > bcdedit.exe /set groupaware on > for a 16-vCPU guest WS2012 shows BSOD on boot

[PATCH v3 1/3] arm64/fpsimd: Remove the prototype for sve_flush_cpu_state()

2019-04-23 Thread Julien Grall
The function sve_flush_cpu_state() has been removed in commit 21cdd7fd76e3 ("KVM: arm64: Remove eager host SVE state saving"). So remove the associated prototype in asm/fpsimd.h. Signed-off-by: Julien Grall Reviewed-by: Dave Martin --- Changes in v3: - Add Dave's reviewed-by

[PATCH v3 2/3] arch/arm64: fpsimd: Introduce fpsimd_save_and_flush_cpu_state() and use it

2019-04-23 Thread Julien Grall
The only external user of fpsimd_save() and fpsimd_flush_cpu_state() is the KVM FPSIMD code. A following patch will introduce a mechanism to acquire owernship of the FPSIMD/SVE context for performing context management operations. Rather than having to export the new helpers to get/put the

[PATCH v3 0/3] arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state

2019-04-23 Thread Julien Grall
Hi all, This patch series keeps softirqs enabled while touching FPSIMD/SVE state. For more details on the impact see patch #3. This patch series has been benchmarked on Linux 5.1-rc4 with defconfig. On Juno2: * hackbench 100 process 1000 (10 times) * .7% quicker On ThunderX 2: *

[PATCH v3 3/3] arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state

2019-04-23 Thread Julien Grall
When the kernel is compiled with CONFIG_KERNEL_MODE_NEON, some part of the kernel may be able to use FPSIMD/SVE. This is for instance the case for crypto code. Any use of FPSIMD/SVE in the kernel are clearly marked by using the function kernel_neon_{begin, end}. Furthermore, this can only be used

Re: [PATCH v5 3/3] power_supply: Add missing documentation for CHARGE_CONTROL_* properties

2019-04-23 Thread Enric Balletbo i Serra
On 18/4/19 18:43, Nick Crews wrote: > The existing POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT and > POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT_MAX properties > don't have documentation. I add that documentation here. > > v5 changes: > - Split this commit out from the previous two commits. > >

Re: [PATCH v5 2/3] power_supply: Add CHARGE_CONTROL_{START_THRESHOLD,END_THRESHOLD} properties

2019-04-23 Thread Enric Balletbo i Serra
On 18/4/19 18:43, Nick Crews wrote: > Add POWER_SUPPLY_PROP_CHARGE_CONTROL_START_THRESHOLD > and POWER_SUPPLY_PROP_CHARGE_CONTROL_END_THRESHOLD properties, to expand > the existing CHARGE_CONTROL_* properties. I am adding them in order > to support a new Chrome OS device, but these properties

Re: [PATCH v5 1/3] power_supply: Add Standard, Adaptive, and Custom charge types

2019-04-23 Thread Enric Balletbo i Serra
On 18/4/19 18:43, Nick Crews wrote: > Add "Standard", "Adaptive", and "Custom" modes to the charge_type > property, to expand the existing "Trickle" and "Fast" modes. > I am adding them in order to support a new Chrome OS device, > but these properties should be general enough that they can be

Re: [RESEND PATCH 0/7] Introduce bus domains controller framework

2019-04-23 Thread Sudeep Holla
On Tue, Apr 23, 2019 at 01:33:19PM +, Benjamin GAIGNARD wrote: > > On 4/23/19 3:21 PM, Sudeep Holla wrote: > > On Mon, Mar 18, 2019 at 12:05:54PM +0100, Benjamin Gaignard wrote: > >> Le lun. 18 mars 2019 à 11:43, Sudeep Holla a écrit : > >>> On Mon, Mar 18, 2019 at 11:05:58AM +0100, Benjamin

Re: [PATCH v2 7/8] s390: vfio-ap: handle bind and unbind of AP queue device

2019-04-23 Thread Halil Pasic
On Sat, 20 Apr 2019 17:49:39 -0400 Tony Krowiak wrote: > +void vfio_ap_mdev_probe_queue(unsigned long apid, unsigned long apqi) > +{ > + struct ap_matrix_mdev *matrix_mdev; > + > + matrix_mdev = vfio_ap_mdev_find_matrix_mdev(apid, apqi); > + > + /* > + * If the queue is assigned

Re: next-20190408..0418: Suspend/resume problems on Thinkpad X60

2019-04-23 Thread Jens Axboe
On 4/23/19 4:22 AM, Pavel Machek wrote: > Hi! > >>> It boots ok (unlike mainline -- I'm debugging that), and I can suspend >>> and resume... but then cursor in X is moving and I can talk to >>> applications cached in memory, but any access to disk hangs. >> >> Mainline problem was identified. >>

[PATCH v1 15/15] arm64: defconfig: Enable SDMA on i.mx8mq/8mm

2019-04-23 Thread Robin Gong
Enable SDMA support on i.mx8mq/8mm chips, including enabling CONFIG_FW_LOADER_USER_HELPER/CONFIG_FW_LOADER_USER_HELPER_FALLBACK for firmware loaded by udev. Signed-off-by: Robin Gong --- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v1 13/15] ARM: dts: imx6ul: add dma support on ecspi

2019-04-23 Thread Robin Gong
Add dma support on ecspi. Signed-off-by: Robin Gong --- arch/arm/boot/dts/imx6ul.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index bbf010c..880b9ee 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++

[PATCH v1 14/15] ARM: dts: imx6sll: correct ecspi/sdma compatible

2019-04-23 Thread Robin Gong
Correct ecspi/sdma compatible since ecspi errata ERR009165 not fixed on i.mx6sll chip. Signed-off-by: Robin Gong --- arch/arm/boot/dts/imx6sll.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/imx6sll.dtsi b/arch/arm/boot/dts/imx6sll.dtsi

<    1   2   3   4   5   6   7   8   9   >