Re: next-20190904: build failure in cp210x usb serial, gpio related?

2019-09-10 Thread Linus Walleij
On Sun, Sep 8, 2019 at 9:51 AM Pavel Machek wrote: > I'm getting this compiling the -next: (...) > ./include/linux/gpio/driver.h:722:19: error: static declaration of > ‘gpiochip_lock_as_irq’ follows non-static declaration > 722 | static inline int gpiochip_lock_as_irq(struct gpio_chip >

[PATCH 1/2] powerpc/hw_breakpoint: move instruction stepping out of hw_breakpoint_handler()

2019-09-10 Thread Ravi Bangoria
From: Christophe Leroy On 8xx, breakpoints stop after executing the instruction, so stepping/emulation is not needed. Move it into a sub-function and remove the #ifdefs. Signed-off-by: Christophe Leroy Reviewed-by: Ravi Bangoria --- arch/powerpc/kernel/hw_breakpoint.c | 60

[PATCH 0/2] powerpc/watchpoint: Disable watchpoint hit by larx/stcx instruction

2019-09-10 Thread Ravi Bangoria
I've prepared my patch on top of Christophe's patch as it's easy to change stepping_handler() rather than hw_breakpoint_handler(). 2nd patch is the actual fix. Christophe Leroy (1): powerpc/hw_breakpoint: move instruction stepping out of hw_breakpoint_handler() Ravi Bangoria (1):

RE: [PATCH 2/2] mm: Add a bounds check in devm_memremap_pages()

2019-09-10 Thread Alastair D'Silva
> -Original Message- > From: David Hildenbrand > Sent: Tuesday, 10 September 2019 5:39 PM > To: Alastair D'Silva ; alast...@d-silva.org > Cc: Andrew Morton ; Oscar Salvador > ; Michal Hocko ; Pavel Tatashin > ; Dan Williams ; > Wei Yang ; Qian Cai ; Jason > Gunthorpe ; Logan Gunthorpe ;

Re: [PATCH net] net: sonic: replace dev_kfree_skb in sonic_send_packet

2019-09-10 Thread Sergei Shtylyov
Hello! On 10.09.2019 11:58, Mao Wenan wrote: sonic_send_packet will be processed in irq or none s/none irq/non-irq/? irq context, so it would better use dev_kfree_skb_any instead of dev_kfree_skb. Fixes: d9fb9f384292 ("*sonic/natsemi/ns83829: Move the National Semi-conductor drivers")

Re: [PATCH 0/4] gpio: API boundary cleanups

2019-09-10 Thread Linus Walleij
On Fri, Sep 6, 2019 at 9:45 AM Geert Uytterhoeven wrote: > This patch series contains various API boundary cleanups for gpiolib: > - The first two patches make two functions private, > - The last two patches switch the remaining gpiolib exported functions > from EXPORT_SYMBOL() to

RE: [EXT] Re: [v3,1/2] dt-bindings: rtc: pcf85263/pcf85363: add some properties

2019-09-10 Thread Biwen Li
> Caution: EXT Email > > On Tue, Sep 03, 2019 at 11:37:01AM +0200, Martin Fuzzey wrote: > > On 03/09/2019 08:18, Biwen Li wrote: > > > diff --git a/Documentation/devicetree/bindings/rtc/pcf85363.txt > > > b/Documentation/devicetree/bindings/rtc/pcf85363.txt > > > index 94adc1cf93d9..588f688b30d1

Re: [PATCH v6 11/12] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-09-10 Thread Joe Perches
On Tue, 2019-09-10 at 11:47 +0300, Sakari Ailus wrote: > Add support for %pfw conversion specifier (with "f" and "P" modifiers) to > support printing full path of the node, including its name ("f") and only > the node's name ("P") in the printk family of functions. The two flags > have equivalent

Re: [PATCH] kvm_s390_vm_start_migration: check dirty_bitmap before using it as target for memset()

2019-09-10 Thread Claudio Imbrenda
On Mon, 9 Sep 2019 18:21:47 +0200 Christian Borntraeger wrote: [...] > > diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c > > index f329dcb3f44c..dfba51c9d60c 100644 > > --- a/arch/s390/kvm/kvm-s390.c > > +++ b/arch/s390/kvm/kvm-s390.c > > @@ -1018,6 +1018,10 @@ static int > >

Re: [PATCH 2/5] clk: qcom: apcs-msm8916: get parent clock names from DT

2019-09-10 Thread Stephen Boyd
Quoting Jorge Ramirez (2019-09-10 02:40:34) > On 9/10/19 11:34, Jorge Ramirez wrote: > > On 9/10/19 11:14, Stephen Boyd wrote: > >> > >> This is not a backwards compatible change. > >> > > --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi > > +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi > >

Linux 5.2.14

2019-09-10 Thread Greg KH
I'm announcing the release of the 5.2.14 kernel. All users of the 5.2 kernel series must upgrade. The updated 5.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.2.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.192

2019-09-10 Thread Greg KH
diff --git a/Makefile b/Makefile index 311e861afb15..946951930f62 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 191 +SUBLEVEL = 192 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/kvm/mmio.c b/arch/arm/kvm/mmio.c index

Linux 4.14.143

2019-09-10 Thread Greg KH
I'm announcing the release of the 4.14.143 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Re: [PATCH] arm64: fix unreachable code issue with cmpxchg

2019-09-10 Thread Masahiro Yamada
On Tue, Sep 10, 2019 at 6:38 PM Arnd Bergmann wrote: > > On Tue, Sep 10, 2019 at 11:23 AM Andrew Murray wrote: > > > > > > arch/arm64/include/asm/cmpxchg.h | 15 --- > > > 1 file changed, 8 insertions(+), 7 deletions(-) > > > > > > diff --git a/arch/arm64/include/asm/cmpxchg.h > >

Re: Linux 4.19.72

2019-09-10 Thread Greg KH
diff --git a/Makefile b/Makefile index f6c9d5757470..ef80b1dfb753 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 71 +SUBLEVEL = 72 EXTRAVERSION = NAME = "People's Front" diff --git

Linux 4.19.72

2019-09-10 Thread Greg KH
I'm announcing the release of the 4.19.72 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web

Re: [PATCH 03/12] media: hantro: Fix H264 motion vector buffer offset

2019-09-10 Thread Ezequiel Garcia
Hi Jonas, Thanks for fixing this, I'm happy we are reducing the amount of black magic here. On Sun, 2019-09-01 at 12:45 +, Jonas Karlman wrote: > A decoded 8-bit 4:2:0 frame need memory for up to 448 macroblocks > and is laid out in memory as follow: > > +---+ > > Y-plane

Re: Linux 4.14.143

2019-09-10 Thread Greg KH
diff --git a/Makefile b/Makefile index ccced427d9de..caa2fba089a5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 142 +SUBLEVEL = 143 EXTRAVERSION = NAME = Petit Gorille diff --git

Linux 4.9.192

2019-09-10 Thread Greg KH
I'm announcing the release of the 4.9.192 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.192

2019-09-10 Thread Greg KH
diff --git a/Makefile b/Makefile index 266c3d7e0120..18889fbbebb1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 191 +SUBLEVEL = 192 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arm/kvm/mmio.c b/arch/arm/kvm/mmio.c index

Linux 4.4.192

2019-09-10 Thread Greg KH
I'm announcing the release of the 4.4.192 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] gpio: fix incorrect merge of linux/gpio/driver.h

2019-09-10 Thread Linus Walleij
On Mon, Sep 9, 2019 at 9:35 PM Arnd Bergmann wrote: > Two otherwise correct patches got merged incorrectly, which leads to > build problems when CONFIG_GPIOLIB is disabled: This has actually been fixed in my for-next branch for days, the problem is that new next releases are not coming out

Re: [RFC PATCH 4/4] docs: Sample driver to demonstrate how to implement virtio-mdev framework

2019-09-10 Thread Michael S. Tsirkin
On Tue, Sep 10, 2019 at 04:19:35PM +0800, Jason Wang wrote: > This sample driver creates mdev device that simulate virtio net device > over virtio mdev transport. The device is implemented through vringh > and workqueue. > > Signed-off-by: Jason Wang > --- > samples/Kconfig| 7 + >

Re: [PATCH 1/2] memory_hotplug: Add a bounds check to check_hotplug_memory_range()

2019-09-10 Thread Kirill A. Shutemov
On Tue, Sep 10, 2019 at 12:52:20PM +1000, Alastair D'Silva wrote: > From: Alastair D'Silva > > On PowerPC, the address ranges allocated to OpenCAPI LPC memory > are allocated from firmware. These address ranges may be higher > than what older kernels permit, as we increased the maximum >

Re: [PATCH 02/12] media: hantro: Do not reorder H264 scaling list

2019-09-10 Thread Ezequiel Garcia
Hi Jonas, Thanks for your patch. On Mon, 2019-09-02 at 16:18 +, Jonas Karlman wrote: [..] > > > > diff --git a/drivers/staging/media/hantro/hantro_h264.c > > > b/drivers/staging/media/hantro/hantro_h264.c > > > index 0d758e0c0f99..e2d01145ac4f 100644 > > > ---

Re: [RFC PATCH v2] mm: initialize struct pages reserved by ZONE_DEVICE driver.

2019-09-10 Thread David Hildenbrand
On 10.09.19 11:21, Dan Williams wrote: > On Mon, Sep 9, 2019 at 5:06 AM David Hildenbrand wrote: >> >> On 09.09.19 13:53, Dan Williams wrote: >>> On Mon, Sep 9, 2019 at 1:11 AM David Hildenbrand wrote: >>> [..] >> It seems that SECTION_IS_ONLINE and SECTION_MARKED_PRESENT can be used to

Re: [Xen-devel] [PATCH] xen/pci: try to reserve MCFG areas earlier

2019-09-10 Thread Igor Druzhinin
On 10/09/2019 10:55, Jan Beulich wrote: > On 10.09.2019 11:46, Igor Druzhinin wrote: >> On 10/09/2019 02:47, Boris Ostrovsky wrote: >>> On 9/9/19 5:48 PM, Igor Druzhinin wrote: Actually, pci_mmcfg_late_init() that's called out of acpi_init() - that's where MCFG areas are properly sized.

Applied "regulator: uniphier: Add Pro5 USB3 VBUS support" to the regulator tree

2019-09-10 Thread Mark Brown
The patch regulator: uniphier: Add Pro5 USB3 VBUS support has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regulator: s2mps11: Consistently use local variable" to the regulator tree

2019-09-10 Thread Mark Brown
The patch regulator: s2mps11: Consistently use local variable has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Re: [PATCH V40 03/29] security: Add a static lockdown policy LSM

2019-09-10 Thread Matthew Garrett
On Wed, Sep 4, 2019 at 12:51 PM Matthew Garrett wrote: > On Fri, Aug 30, 2019 at 9:28 AM David Howells wrote: > > > +static int lock_kernel_down(const char *where, enum lockdown_reason > > > level) > > > > Is the last parameter the reason or the level? You're mixing the terms. > > Fair.

[PATCH 2/2] kexec: Fix file verification on S390

2019-09-10 Thread Matthew Garrett
I accidentally typoed this #ifdef, so verification would always be disabled. Signed-off-by: Matthew Garrett Reported-by: Philipp Rudo --- arch/s390/kernel/kexec_elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/kernel/kexec_elf.c b/arch/s390/kernel/kexec_elf.c

[PATCH] dmaengine: milbeaut-hdmac: fix devm_platform_ioremap_resource.cocci warnings

2019-09-10 Thread Julia Lawall
beaut platforms") CC: Jassi Brar Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- url: https://github.com/0day-ci/linux/commits/jassisinghbrar-gmail-com/Add-support-for-AHB-DMA-controller-on-Milbeaut-series/20190910-142047 :: branch date: 2 hours ago :: commit dat

[PATCH 0/2] Minor lockdown fixups

2019-09-10 Thread Matthew Garrett
Constify some arrays and fix an #ifdef that I typoed.

[PATCH 1/2] security: constify some arrays in lockdown LSM

2019-09-10 Thread Matthew Garrett
No reason for these not to be const. Signed-off-by: Matthew Garrett Suggested-by: David Howells --- security/lockdown/lockdown.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/lockdown/lockdown.c b/security/lockdown/lockdown.c index 0068cec77c05..8a10b43daf74

[PATCH] dmaengine: milbeaut-hdmac: fix returnvar.cocci warnings

2019-09-10 Thread Julia Lawall
-by: Julia Lawall --- url: https://github.com/0day-ci/linux/commits/jassisinghbrar-gmail-com/Add-support-for-AHB-DMA-controller-on-Milbeaut-series/20190910-142047 :: branch date: 2 hours ago :: commit date: 2 hours ago Please take the patch only if it's a positive warning. Thanks!

Re: [RFC PATCH 3/4] virtio: introudce a mdev based transport

2019-09-10 Thread Michael S. Tsirkin
On Tue, Sep 10, 2019 at 04:19:34PM +0800, Jason Wang wrote: > This path introduces a new mdev transport for virtio. This is used to > use kernel virtio driver to drive the mediated device that is capable > of populating virtqueue directly. > > A new virtio-mdev driver will be registered to the

Re: [PATCH] arch/riscv: disable too many harts before pick main boot hart

2019-09-10 Thread Anup Patel
On Fri, Sep 6, 2019 at 12:26 PM Xiang Wang wrote: > > From 12300865d1103618c9d4c375f7d7fbe601b6618c Mon Sep 17 00:00:00 2001 > From: Xiang Wang > Date: Fri, 6 Sep 2019 11:56:09 +0800 > Subject: [PATCH] arch/riscv: disable too many harts before pick main boot hart > > These harts with id greater

Re: [PATCH 1/3] rpmsg: core: add API to get message length

2019-09-10 Thread Arnaud Pouliquen
On 9/5/19 6:18 PM, Jeffrey Hugo wrote: On Thu, Sep 5, 2019 at 10:02 AM Arnaud Pouliquen wrote: Hi Jeffrey, On 9/5/19 4:42 PM, Jeffrey Hugo wrote: On Thu, Sep 5, 2019 at 8:35 AM Arnaud Pouliquen wrote: Return the rpmsg buffer size for sending message, so rpmsg users can split a long

Re: [Xen-devel] [PATCH] xen/pci: try to reserve MCFG areas earlier

2019-09-10 Thread Jan Beulich
On 10.09.2019 11:46, Igor Druzhinin wrote: > On 10/09/2019 02:47, Boris Ostrovsky wrote: >> On 9/9/19 5:48 PM, Igor Druzhinin wrote: >>> Actually, pci_mmcfg_late_init() that's called out of acpi_init() - >>> that's where MCFG areas are properly sized. >> >> pci_mmcfg_late_init() reads the

[PATCH] ath9k: remove unneeded variable

2019-09-10 Thread Ding Xiang
"len" is unneeded,just return 0 Signed-off-by: Ding Xiang --- drivers/net/wireless/ath/ath9k/gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/gpio.c b/drivers/net/wireless/ath/ath9k/gpio.c index b457e52..f3d1bc0 100644 ---

Re: [PATCH v2 0/2] mm/kasan: dump alloc/free stack for page allocator

2019-09-10 Thread Walter Wu
On Mon, 2019-09-09 at 16:24 +0800, walter-zh...@mediatek.com wrote: > From: Walter Wu > > This patch is KASAN report adds the alloc/free stacks for page allocator > in order to help programmer to see memory corruption caused by page. > > By default, KASAN doesn't record alloc and free stack for

Re: [PATCH] riscv: dts: Add DT support for SiFive FU540 PWM driver

2019-09-10 Thread Yash Shah
Hi, Any comments on this patch? - Yash On Wed, Aug 21, 2019 at 2:53 PM Yash Shah wrote: > > Add the PWM DT node in SiFive FU540 soc-specific DT file. > Enable the PWM nodes in HiFive Unleashed board-specific DT file. > > Signed-off-by: Yash Shah > --- >

[GIT PULL] ipc: fix regressions from y2038 patches

2019-09-10 Thread Arnd Bergmann
The following changes since commit 089cf7f6ecb266b6a4164919a2e69bd2f938374a: Linux 5.3-rc7 (2019-09-02 09:57:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/ipc-fixes for you to fetch changes up to

Re: [RFC PATCH 4/4] Fix: sched/membarrier: p->mm->membarrier_state racy load (v2)

2019-09-10 Thread Mathieu Desnoyers
- On Sep 8, 2019, at 5:51 PM, Linus Torvalds torva...@linux-foundation.org wrote: > On Sun, Sep 8, 2019 at 6:49 AM Mathieu Desnoyers > wrote: >> >> +static void sync_runqueues_membarrier_state(struct mm_struct *mm) >> +{ >> + int membarrier_state = atomic_read(>membarrier_state); >> +

Re: [Xen-devel] [PATCH] xen/pci: try to reserve MCFG areas earlier

2019-09-10 Thread Igor Druzhinin
On 10/09/2019 02:47, Boris Ostrovsky wrote: > On 9/9/19 5:48 PM, Igor Druzhinin wrote: >> On 09/09/2019 20:19, Boris Ostrovsky wrote: >>> On 9/8/19 7:37 PM, Igor Druzhinin wrote: On 09/09/2019 00:30, Boris Ostrovsky wrote: > On 9/8/19 5:11 PM, Igor Druzhinin wrote: >> On 08/09/2019

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-09-10 Thread Sakari Ailus
Hi Luca, On Tue, Jul 23, 2019 at 10:37:20PM +0200, Luca Ceresoli wrote: ... > +Device node example > +--- > + > + { > + deser: deser@3d { > + compatible = "ti,ds90ub954-q1"; > + reg-names = "main", "rxport0", "rxport1", "ser0", "ser1"; > +

Re: [PATCH v2 1/2] mm/page_ext: support to record the last stack of page

2019-09-10 Thread Walter Wu
On Tue, 2019-09-10 at 12:31 +0300, Kirill A. Shutemov wrote: > On Tue, Sep 10, 2019 at 09:07:49AM +0800, Walter Wu wrote: > > On Mon, 2019-09-09 at 12:57 +0200, David Hildenbrand wrote: > > > On 09.09.19 10:53, Walter Wu wrote: > > > > KASAN will record last stack of page in order to help

Re: [PATCH 2/5] clk: qcom: apcs-msm8916: get parent clock names from DT

2019-09-10 Thread Jorge Ramirez
On 9/10/19 11:34, Jorge Ramirez wrote: > On 9/10/19 11:14, Stephen Boyd wrote: >> Quoting Jorge Ramirez-Ortiz, Linaro (2019-09-09 09:54:08) >>> On 09/09/19 09:17:03, Stephen Boyd wrote: But now the binding is different for the same compatible. I'd prefer we keep using devm_clk_get() and

Re: [PATCH] arm64: fix unreachable code issue with cmpxchg

2019-09-10 Thread Arnd Bergmann
On Tue, Sep 10, 2019 at 11:23 AM Andrew Murray wrote: > > > arch/arm64/include/asm/cmpxchg.h | 15 --- > > 1 file changed, 8 insertions(+), 7 deletions(-) > > > > diff --git a/arch/arm64/include/asm/cmpxchg.h > > b/arch/arm64/include/asm/cmpxchg.h > > index

Re: [PATCH 2/5] clk: qcom: apcs-msm8916: get parent clock names from DT

2019-09-10 Thread Jorge Ramirez
On 9/10/19 11:14, Stephen Boyd wrote: > Quoting Jorge Ramirez-Ortiz, Linaro (2019-09-09 09:54:08) >> On 09/09/19 09:17:03, Stephen Boyd wrote: >>> But now the binding is different for the same compatible. I'd prefer we >>> keep using devm_clk_get() and use a device pointer here and reorder the >>>

$1,000,000.00 dollars has been donated to you

2019-09-10 Thread Jorge Cardenas

Re: [PATCH] driver core: ensure a device has valid node id in device_add()

2019-09-10 Thread Greg KH
On Tue, Sep 10, 2019 at 02:43:32PM +0800, Yunsheng Lin wrote: > On 2019/9/9 17:53, Greg KH wrote: > > On Mon, Sep 09, 2019 at 02:04:23PM +0800, Yunsheng Lin wrote: > >> Currently a device does not belong to any of the numa nodes > >> (dev->numa_node is NUMA_NO_NODE) when the node id is neither >

Re: [PATCH v2 1/2] mm/page_ext: support to record the last stack of page

2019-09-10 Thread Kirill A. Shutemov
On Tue, Sep 10, 2019 at 09:07:49AM +0800, Walter Wu wrote: > On Mon, 2019-09-09 at 12:57 +0200, David Hildenbrand wrote: > > On 09.09.19 10:53, Walter Wu wrote: > > > KASAN will record last stack of page in order to help programmer > > > to see memory corruption caused by page. > > > > > > What

Re: [PATCH v2] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-10 Thread Kirill A. Shutemov
On Fri, Sep 06, 2019 at 09:57:47PM +0800, Jia He wrote: > When we tested pmdk unit test [1] vmmalloc_fork TEST1 in arm64 guest, there > will be a double page fault in __copy_from_user_inatomic of cow_user_page. > > Below call trace is from arm64 do_page_fault for debugging purpose > [

Re: [PATCH 5.2 00/94] 5.2.14-stable review

2019-09-10 Thread Greg Kroah-Hartman
On Tue, Sep 10, 2019 at 10:20:23AM +0100, Jon Hunter wrote: > > On 08/09/2019 13:40, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.14 release. > > There are 94 patches in this series, all will be posted as a response > > to this one. If anyone has any

[PATCH] i2c: tegra: Move suspend handling to NOIRQ phase

2019-09-10 Thread Jon Hunter
Commit acc8abcb2a9c ("i2c: tegra: Add suspend-resume support") added suspend support for the Tegra I2C driver and following this change on Tegra30 the following WARNING is seen on entering suspend ... WARNING: CPU: 2 PID: 689 at

Re: [PATCH 4.19 19/57] Bluetooth: hidp: Let hidp_send_message return number of queued bytes

2019-09-10 Thread Greg Kroah-Hartman
On Tue, Sep 10, 2019 at 08:27:10AM +0200, Fabian Henneke wrote: > > > On 10.09.19 00:59, Greg Kroah-Hartman wrote: > > On Mon, Sep 09, 2019 at 03:00:46PM +0200, Fabian Henneke wrote: > >> Hi, > >> > >> On Mon, Sep 9, 2019 at 2:15 PM Pavel Machek wrote: > >> > >>> Hi! > >>> > [ Upstream

Re: [PATCH 4.19 00/57] 4.19.72-stable review

2019-09-10 Thread Jack Wang
Greg Kroah-Hartman 于2019年9月9日周一 下午12:19写道: > > This is the start of the stable review cycle for the 4.19.72 release. > There are 57 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH v2] ftrace: simplify ftrace hash lookup code

2019-09-10 Thread Steven Rostedt
On Tue, 10 Sep 2019 08:33:23 +0800 Changbin Du wrote: > > > > bool ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip, bool > > empty_result) > > { > > if (ftrace_hash_empty(hash)) > > return empty_result; > > > > return __ftrace_lookup_ip(hash, ip); > > } > > >

Re: [PATCH v5 0/4] Raspberry Pi 4 DMA addressing support

2019-09-10 Thread Matthias Brugger
On 09/09/2019 21:33, Stefan Wahren wrote: > Hi Nicolas, > > Am 09.09.19 um 11:58 schrieb Nicolas Saenz Julienne: >> Hi all, >> this series attempts to address some issues we found while bringing up >> the new Raspberry Pi 4 in arm64 and it's intended to serve as a follow >> up of these

[PATCH] fpga: remove redundant dev_err message

2019-09-10 Thread Ding Xiang
devm_ioremap_resource already contains error message, so remove the redundant dev_err message Signed-off-by: Ding Xiang --- drivers/fpga/ts73xx-fpga.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/fpga/ts73xx-fpga.c b/drivers/fpga/ts73xx-fpga.c index

[PATCH] net/mlx5: Declare 'rt' as corresponding enum type

2019-09-10 Thread Austin Kim
When building kernel with clang, we can observe below warning message: drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c:1080:9: warning: implicit conversion from enumeration type 'enum mlx5_reformat_ctx_type' to different enumeration type 'enum mlx5dr_action_type' [-

Re: [PATCH] arm64: fix unreachable code issue with cmpxchg

2019-09-10 Thread Andrew Murray
On Mon, Sep 09, 2019 at 10:21:35PM +0200, Arnd Bergmann wrote: > On arm64 build with clang, sometimes the __cmpxchg_mb is not inlined > when CONFIG_OPTIMIZE_INLINING is set. > Clang then fails a compile-time assertion, because it cannot tell at > compile time what the size of the argument is: > >

Re: [PATCH v6 01/12] tools lib traceevent: Convert remaining %p[fF] users to %p[sS]

2019-09-10 Thread Andy Shevchenko
On Tue, Sep 10, 2019 at 11:46:56AM +0300, Sakari Ailus wrote: > There are no in-kernel %p[fF] users left. Convert the traceevent tool, > too, to align with the kernel. > function. The _tep_ argument is the trace event parser context. The _name_ is > -the name of the function, the string is

[PATCH v7 7/7] nfc: pn532_uart: Make use of pn532 autopoll

2019-09-10 Thread Lars Poeschel
This switches the pn532 UART phy driver from manually polling to the new autopoll mechanism. Cc: Johan Hovold Signed-off-by: Lars Poeschel --- Changes in v6: - Rebased the patch series on v5.3-rc5 drivers/nfc/pn533/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC PATCH v2] mm: initialize struct pages reserved by ZONE_DEVICE driver.

2019-09-10 Thread Dan Williams
On Mon, Sep 9, 2019 at 5:06 AM David Hildenbrand wrote: > > On 09.09.19 13:53, Dan Williams wrote: > > On Mon, Sep 9, 2019 at 1:11 AM David Hildenbrand wrote: > > [..] > It seems that SECTION_IS_ONLINE and SECTION_MARKED_PRESENT can be used to > distinguish uninitialized struct pages

Re: [PATCH 5.2 00/94] 5.2.14-stable review

2019-09-10 Thread Jon Hunter
On 08/09/2019 13:40, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.2.14 release. > There are 94 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH v4 10/17] arm64: trans_pgd: make trans_pgd_map_page generic

2019-09-10 Thread Pavel Tatashin
> > +/* > > + * Add map entry to trans_pgd for a base-size page at PTE level. > > + * page: page to be mapped. > > + * dst_addr: new VA address for the pages > > + * pgprot: protection for the page. > > For consistency please describe all function parameters. From my experience > function

[PATCH] objdump: restore quiet build output

2019-09-10 Thread Arnd Bergmann
After a recent sync-check.sh update, a 'make -s' build prints a single line of output from the 'cd -' command: /git/linux/tools/objtool This is clearly unintended, so revert back to a completely quiet build by redirecting the cd output to /dev/null. Fixes: 2ffd84ae973b ("objtool: Update

[PATCH v7 5/7] nfc: pn533: add UART phy driver

2019-09-10 Thread Lars Poeschel
This adds the UART phy interface for the pn533 driver. The pn533 driver can be used through UART interface this way. It is implemented as a serdev device. Cc: Johan Hovold Cc: Claudiu Beznea Signed-off-by: Lars Poeschel --- Changes in v7: - Add comment at send_wakeup variable to document a

[PATCH v7 6/7] nfc: pn533: Add autopoll capability

2019-09-10 Thread Lars Poeschel
pn532 devices support an autopoll command, that lets the chip automatically poll for selected nfc technologies instead of manually looping through every single nfc technology the user is interested in. This is faster and less cpu and bus intensive than manually polling. This adds this autopoll

Re: [PATCH AUTOSEL 5.2 06/12] configfs_register_group() shouldn't be (and isn't) called in rmdirable parts

2019-09-10 Thread Greg KH
On Tue, Sep 10, 2019 at 08:01:35AM +0200, Christoph Hellwig wrote: > Please stop selectively backporting parts of random series. We'll > need to the full series from Al in -stable instead. Yeah, I'll pick this whole series up soon. Sasha, can you drop this from your queues please? thanks,

Re: [PATCH 4.14 00/40] 4.14.143-stable review

2019-09-10 Thread Jon Hunter
On 08/09/2019 13:41, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.143 release. > There are 40 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[PATCH v7 2/7] nfc: pn532_uart: Add NXP PN532 to devicetree docs

2019-09-10 Thread Lars Poeschel
Add a simple binding doc for the pn532. Cc: Johan Hovold Signed-off-by: Lars Poeschel --- Changes in v6: - Rebased the patch series on v5.3-rc5 - Picked up Rob's Reviewed-By Changes in v4: - Add documentation about reg property in case of i2c Changes in v3: - seperate binding doc instead of

[PATCH v7 4/7] nfc: pn533: Split pn533 init & nfc_register

2019-09-10 Thread Lars Poeschel
There is a problem in the initialisation and setup of the pn533: It registers with nfc too early. It could happen, that it finished registering with nfc and someone starts using it. But setup of the pn533 is not yet finished. Bad or at least unintended things could happen. So I split out nfc

Re: [PATCH 4.19 00/57] 4.19.72-stable review

2019-09-10 Thread Jon Hunter
On 08/09/2019 13:41, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.72 release. > There are 57 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[PATCH v7 3/7] nfc: pn533: Add dev_up/dev_down hooks to phy_ops

2019-09-10 Thread Lars Poeschel
This adds hooks for dev_up and dev_down to the phy_ops. They are optional. The idea is to inform the phy driver when the nfc chip is really going to be used. When it is not used, the phy driver can suspend it's interface to the nfc chip to save some power. The nfc chip is considered not in use

Re: [PATCH 4.9 00/26] 4.9.192-stable review

2019-09-10 Thread Jon Hunter
On 08/09/2019 13:41, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.192 release. > There are 26 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.4 00/23] 4.4.192-stable review

2019-09-10 Thread Jon Hunter
On 08/09/2019 13:41, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.192 release. > There are 23 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[PATCH v7 1/7] nfc: pn533: i2c: "pn532" as dt compatible string

2019-09-10 Thread Lars Poeschel
It is favourable to have one unified compatible string for devices that have multiple interfaces. So this adds simply "pn532" as the devicetree binding compatible string and makes a note that the old ones are deprecated. Cc: Johan Hovold Signed-off-by: Lars Poeschel --- Changes in v6: - Rebased

[PATCH v3 00/15] Enable CONFIG_VMAP_STACK on PPC32

2019-09-10 Thread Christophe Leroy
The purpose of this serie is to enable CONFIG_VMAP_STACK on PPC32. rfc v1: initial support on 8xx rfc v2: added stack overflow detection. v3: - Stack overflow detection works, tested with LKDTM STACK_EXHAUST test - Support for book3s32 added Christophe Leroy (15): powerpc/32: replace

[PATCH v3 03/15] powerpc/32: save DEAR/DAR before calling handle_page_fault

2019-09-10 Thread Christophe Leroy
handle_page_fault() is the only function that save DAR/DEAR itself. Save DAR/DEAR before calling handle_page_fault() to prepare for VMAP stack which will require to save even before. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_32.S | 1 - arch/powerpc/kernel/head_32.S

[PATCH v3 06/15] powerpc/32: prepare for CONFIG_VMAP_STACK

2019-09-10 Thread Christophe Leroy
To support CONFIG_VMAP_STACK, the kernel has to activate Data MMU Translation for accessing the stack. Before doing that it must save SRR0, SRR1 and also DAR and DSISR when relevant, in order to not loose them in case there is a Data TLB Miss once the translation is reactivated. This patch adds

[PATCH v3 08/15] powerpc/32: Add early stack overflow detection with VMAP stack.

2019-09-10 Thread Christophe Leroy
To avoid recursive faults, stack overflow detection has to be performed before writing in the stack in exception prologs. Do it by checking the alignment. If the stack pointer alignment is wrong, it means it is pointing to the following or preceding page. Without VMAP stack, a stack overflow is

[PATCH v3 12/15] powerpc/8xx: split breakpoint exception

2019-09-10 Thread Christophe Leroy
Breakpoint exception is big. Split it to support future growth on exception prolog. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S

[PATCH v3 05/15] powerpc/32: add a macro to get and/or save DAR and DSISR on stack.

2019-09-10 Thread Christophe Leroy
Refactor reading and saving of DAR and DSISR in exception vectors. This will ease the implementation of VMAP stack. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_32.S | 5 + arch/powerpc/kernel/head_32.h | 11 +++ arch/powerpc/kernel/head_8xx.S | 23

[PATCH v3 11/15] powerpc/8xx: move DataStoreTLBMiss perf handler

2019-09-10 Thread Christophe Leroy
Move DataStoreTLBMiss perf handler in order to cope with future growing exception prolog. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S

[PATCH v3 07/15] powerpc: align stack to 2 * THREAD_SIZE with VMAP_STACK

2019-09-10 Thread Christophe Leroy
In order to ease stack overflow detection, align stack to 2 * THREAD_SIZE when using VMAP_STACK. This allows overflow detection using a single bit check. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/thread_info.h | 13 + arch/powerpc/kernel/setup_32.c | 2 +-

[PATCH v3 13/15] powerpc/8xx: Enable CONFIG_VMAP_STACK

2019-09-10 Thread Christophe Leroy
This patch enables CONFIG_VMAP_STACK. For that, a few changes are done in head_8xx.S. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 34 -- arch/powerpc/platforms/Kconfig.cputype | 1 + 2 files changed, 29 insertions(+), 6

[PATCH v3 15/15] powerpc/32s: Activate CONFIG_VMAP_STACK

2019-09-10 Thread Christophe Leroy
A few changes to retrieve DAR and DSISR from struct regs instead of retrieving them directly, as they may have changed due to a TLB miss. Also modifies hash_page() and friends to work with virtual data addresses instead of physical ones. Signed-off-by: Christophe Leroy ---

[PATCH v3 09/15] powerpc/8xx: Use alternative scratch registers in DTLB miss handler

2019-09-10 Thread Christophe Leroy
In preparation of handling CONFIG_VMAP_STACK, DTLB miss handler need to use different scratch registers than other exception handlers in order to not jeopardise exception entry on stack DTLB misses. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 27

[PATCH v3 01/15] powerpc/32: replace MTMSRD() by mtmsr

2019-09-10 Thread Christophe Leroy
On PPC32, MTMSRD() is simply defined as mtmsr. Replace MTMSRD(reg) by mtmsr reg in files dedicated to PPC32, this makes the code less obscure. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_32.S | 18 +- arch/powerpc/kernel/head_32.h | 4 ++-- 2 files changed,

[PATCH v3 14/15] powerpc/32s: reorganise DSI handler.

2019-09-10 Thread Christophe Leroy
The part decidated to handling hash_page() is fully unneeded for processors not having real hash pages like the 603. Lets enlarge the content of the feature fixup, and provide an alternative which jumps directly instead of getting NIPs. Also, in preparation of VMAP stacks, the end of DSI handler

[PATCH v3 04/15] powerpc/32: move MSR_PR test into EXCEPTION_PROLOG_0

2019-09-10 Thread Christophe Leroy
In order to simplify VMAP stack implementation, move MSR_PR test into EXCEPTION_PROLOG_0. This requires to not modify cr0 between EXCEPTION_PROLOG_0 and EXCEPTION_PROLOG_1. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_32.h | 4 ++-- arch/powerpc/kernel/head_8xx.S | 39

[PATCH v3 02/15] powerpc/32: Add EXCEPTION_PROLOG_0 in head_32.h

2019-09-10 Thread Christophe Leroy
This patch creates a macro for the very first part of exception prolog, this will help when implementing CONFIG_VMAP_STACK Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_32.S | 4 +--- arch/powerpc/kernel/head_32.h | 9 ++--- arch/powerpc/kernel/head_8xx.S | 9 ++--- 3

[PATCH v3 10/15] powerpc/8xx: drop exception entries for non-existing exceptions

2019-09-10 Thread Christophe Leroy
head_8xx.S has entries for all exceptions from 0x100 to 0x1f00. Several of them do not exist and are never generated by the 8xx in accordance with the documentation. Remove those entry points to make some room for future growing exception code. Signed-off-by: Christophe Leroy ---

Re: [PATCH] mm: avoid slub allocation while holding list_lock

2019-09-10 Thread Kirill A. Shutemov
On Mon, Sep 09, 2019 at 03:39:38PM -0600, Yu Zhao wrote: > On Tue, Sep 10, 2019 at 05:57:22AM +0900, Tetsuo Handa wrote: > > On 2019/09/10 1:00, Kirill A. Shutemov wrote: > > > On Mon, Sep 09, 2019 at 12:10:16AM -0600, Yu Zhao wrote: > > >> If we are already under list_lock, don't call kmalloc().

Re: [PATCH v2 7/7] bug: Move WARN_ON() "cut here" into exception handler

2019-09-10 Thread Sergey Senozhatsky
On (09/10/19 01:59), Kees Cook wrote: > On Tue, Sep 10, 2019 at 01:05:39AM +0900, Sergey Senozhatsky wrote: > > On (08/20/19 09:47), Kees Cook wrote: > > [..] > > > + /* > > > + * BUG() and WARN_ON() families don't print a custom debug message > > > + * before triggering the exception handler,

Re: [GIT PULL] compiler-attributes for v5.3-rc8

2019-09-10 Thread Miguel Ojeda
On Tue, Sep 10, 2019 at 10:58 AM Sedat Dilek wrote: > > Sorry, I was not precise enough and didn't remember correctly. > > I have re-tested with Linux v5.3-rc8. All OK. No worries at all! I just wanted to clarify it :) Thanks a lot for confirming it works. Cheers, Miguel

Re: [PATCH v2] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-10 Thread Catalin Marinas
On Fri, Sep 06, 2019 at 07:57:42AM -0700, Matthew Wilcox wrote: > On Fri, Sep 06, 2019 at 09:57:47PM +0800, Jia He wrote: > > * This really shouldn't fail, because the page is there > > * in the page tables. But it might just be unreadable, > > * in which

<    2   3   4   5   6   7   8   9   >