[PATCH 7/9] lockdep: __always_inline more for noinstr

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: debug_locks_off()+0xd: call to __debug_locks_off() leaves .noinstr.text section vmlinux.o: warning: objtool: match_held_lock()+0x6a: call to look_up_lock_class.isra.0() leaves .noinstr.text section vmlinux.o: warning: objtool: lock_is_held_type()+0x90: call to lockde

[PATCH 8/9] x86/entry: __always_inline CR2 for noinstr

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: exc_page_fault()+0x9: call to read_cr2() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_page_fault()+0x24: call to prefetchw() leaves .noinstr.text section vmlinux.o: warning: objtool: exc_page_fault()+0x21: call to kvm_handle_async_pf.isra.0() leaves

Re: [PATCH] ASoC: max98390: Fix potential crash during param fw loading

2020-06-03 Thread Mark Brown
On Wed, Jun 03, 2020 at 11:37:44AM +, Steve Lee wrote: > > This is now reading the size out of the header of the file which is good > > but it > > should also validate that the file is big enough to have this much data in > > it, > > otherwise it's possible to read beyond the end of the firm

[PATCH 9/9] x86/entry, cpumask: Provide non-instrumented variant of cpu_is_offline()

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: exc_nmi()+0x12: call to cpumask_test_cpu.constprop.0() leaves .noinstr.text section vmlinux.o: warning: objtool: mce_check_crashing_cpu()+0x12: call to cpumask_test_cpu.constprop.0()leaves .noinstr.text section cpumask_test_cpu() test_bit() instrument_ato

Re: [PATCH v5 4/4] kdb: Switch to use safer dbg_io_ops over console APIs

2020-06-03 Thread Daniel Thompson
On Wed, Jun 03, 2020 at 03:02:02PM +0530, Sumit Garg wrote: > On Wed, 3 Jun 2020 at 13:55, Petr Mladek wrote: > > > > On Wed 2020-06-03 12:52:15, Sumit Garg wrote: > > > In kgdb context, calling console handlers aren't safe due to locks used > > > in those handlers which could in turn lead to a de

[PATCH 5/9] x86/entry: __always_inline arch_atomic_* for noinstr

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit()+0x33: call to arch_atomic_and.constprop.0() leaves .noinstr.text section Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/atomic.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) --- a/arch/x86/include/as

[PATCH 1/9] x86/entry: Fix irq_exit()

2020-06-03 Thread Peter Zijlstra
Because if you rename a function, you should also rename the users. Fixes: b614345f52bc ("x86/entry: Clarify irq_{enter,exit}_rcu()") Reported-by: Qian Cai Signed-off-by: Peter Zijlstra (Intel) Tested-by: Qian Cai Link: https://lkml.kernel.org/r/20200602150511.gh706...@hirez.programming.kicks-

[PATCH 4/9] x86/entry: __always_inline irqflags for noinstr

2020-06-03 Thread Peter Zijlstra
vmlinux.o: warning: objtool: lockdep_hardirqs_on()+0x65: call to arch_local_save_flags() leaves .noinstr.text section vmlinux.o: warning: objtool: lockdep_hardirqs_off()+0x5d: call to arch_local_save_flags() leaves .noinstr.text section vmlinux.o: warning: objtool: lock_is_held_type()+0x35: call

Re: [PATCH] usb: host: xhci-mtk: avoid runtime suspend when removing hcd

2020-06-03 Thread Mathias Nyman
On 29.5.2020 7.29, Macpaul Lin wrote: > When runtime suspend was enabled, runtime suspend might happened > when xhci is removing hcd. This might cause kernel panic when hcd > has been freed but runtime pm suspend related handle need to > reference it. > > Change-Id: I70a5dc8006207caeecbac6955ce8e5

Re: [PATCH v5 0/4] Introduce TEE based Trusted Keys support

2020-06-03 Thread Sumit Garg
On Wed, 3 Jun 2020 at 14:20, Luke Hinds wrote: > > > > On Wed, Jun 3, 2020 at 9:08 AM Sumit Garg wrote: >> >> On Tue, 2 Jun 2020 at 20:14, James Bottomley wrote: >> > >> > On Tue, 2020-06-02 at 19:48 +0530, Sumit Garg wrote: >> > > Add support for TEE based trusted keys where TEE provides the >>

[PATCH v2 01/15] PCI/MSI: Forward MSI-X vector enable error code in pci_alloc_irq_vectors_affinity()

2020-06-03 Thread Piotr Stankiewicz
When debugging an issue where I was asking the PCI machinery to enable a set of MSI-X vectors, without falling back on MSI, I ran across a behaviour which seems odd. The pci_alloc_irq_vectors_affinity() will always return -ENOSPC on failure, when allocating MSI-X vectors only, whereas with MSI fall

arm64 build issue and mainline crash (was Re: linux-next: Tree for Jun 3)

2020-06-03 Thread John Garry
On 03/06/2020 12:06, Stephen Rothwell wrote: JFYI, I am finding the vanilla defconfig build broken for arm64: LD vmlinux.o /home/john/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld: cannot find ./drivers/firmware/efi/libstub/lib.abuilt-in.a: No such file or

[PATCH v2 04/15] ahci: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/ata/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH v2 05/15] crypto: inside-secure - Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko Reviewed-by: Antoine Tenart Acked-by: Herbert Xu --- drivers/crypto/inside-secure/safexce

[PATCH v2 03/15] PCI: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko Reviewed-by: Logan Gunthorpe --- drivers/pci/msi.c | 3 +-- drivers/pci/pcie

Re: [PATCH v8 0/5] support reserving crashkernel above 4G on arm64 kdump

2020-06-03 Thread Prabhakar Kushwaha
Hi Chen, On Tue, Jun 2, 2020 at 8:12 PM John Donnelly wrote: > > > > > On Jun 2, 2020, at 12:38 AM, Prabhakar Kushwaha > > wrote: > > > > On Tue, Jun 2, 2020 at 3:29 AM John Donnelly > > wrote: > >> > >> Hi . See below ! > >> > >>> On Jun 1, 2020, at 4:02 PM, Bhupesh Sharma wrote: > >>> > >

[PATCH v2 06/15] dmaengine: dw-edma: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/dma/dw-edma/dw-edma-pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[PATCH v2 07/15] drm/amdgpu: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 9 ++--- 1 file changed, 2 insertions(+),

[PATCH v2 08/15] IB/qib: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/infiniband/hw/qib/qib_pcie.c | 6 -- 1 file changed, 4 insertions(+), 2 del

[PATCH v2 09/15] media: ddbridge: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/media/pci/ddbridge/ddbridge-main.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[GIT PULL REQUEST] watchdog - v5.8 Merge window

2020-06-03 Thread Wim Van Sebroeck
Hi Linus, Please pull the watchdog changes for the v5.8 release cycle. This series contains: * Add new arm_smc_wdt watchdog driver * da9062 and da9063 improvements * Clarify documentation about stop() that became optional * Document r8a7742 support * some overall fixes and improvements Please al

[PATCH v2 10/15] vmw_vmci: Use PCI_IRQ_ALL_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/misc/vmw_vmci/vmci_guest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions

[PATCH v2 12/15] amd-xgbe: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

[PATCH v2 11/15] mmc: sdhci: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko Acked-by: Ulf Hansson Acked-by: Adrian Hunter --- drivers/mmc/host/sdhci-pci-gli.c |

[PATCH v2 14/15] net: hns3: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 3 +-- drivers/net/ethernet

Re: [PATCH v8 00/13] add ecspi ERR009165 for i.mx6/7 soc family

2020-06-03 Thread Matthias Schiffer
On Wed, 2020-06-03 at 09:50 +, Robin Gong wrote: > On 2020/06/03 Matthias Schiffer > wrote: > > On Thu, 2020-05-21 at 04:34 +0800, Robin Gong wrote: > > > There is ecspi ERR009165 on i.mx6/7 soc family, which cause FIFO > > > transfer to be send twice in DMA mode. Please get more > > > inform

[PATCH v2 13/15] aquantia: atlantic: Use PCI_IRQ_ALL_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c | 4 +--- 1 file changed, 1 insert

[PATCH v2 15/15] scsi: Use PCI_IRQ_MSI_TYPES and PCI_IRQ_ALL_TYPES where appropriate

2020-06-03 Thread Piotr Stankiewicz
Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko --- drivers/scsi/ipr.c| 5 +++-- drivers/scsi/vmw_pvscsi.c | 2 +- 2 files changed,

Re: sys/sysinfo.h clash with linux/kernel.h

2020-06-03 Thread Szabolcs Nagy
i think the linux-api list is the right place for this so adding it on cc. * Rich Felker [2020-06-02 17:37:05 -0400]: > linux/kernel.h is a uapi header that does almost nothing but define > some internal-use alignment macros and -- oddly -- include > linux/sysinfo.h to provide a definition of s

Re: [PATCH v4 3/4] mm/util.c: remove the VM_WARN_ONCE for vm_committed_as underflow check

2020-06-03 Thread Qian Cai
> On Jun 3, 2020, at 5:48 AM, Feng Tang wrote: > > This check was added by 82f71ae4a2b8 ("mm: catch memory commitment underflow") > in 2014 to have a safety check for issues which have been fixed. > And there has been few report caught by it, as described in its > commit log: > > : This shoul

Re: [RFC] Restrict the untrusted devices, to bind to only a set of "whitelisted" drivers

2020-06-03 Thread Rajat Jain
Hello, > > > Thanks for the pointer! I'm still looking at the details yet, but a > > quick look (usb_dev_authorized()) seems to suggest that this API is > > "device based". The multiple levels of "authorized" seem to take shape > > from either how it is wired or from userspace choice. Once authori

Re: [PATCH V1 1/2] mmc: sdhci-msm: Add interconnect bandwidth scaling support

2020-06-03 Thread Sibi Sankar
Hey Pradeep, Thanks for the patch. On 2020-06-03 14:39, Pradeep P V K wrote: Interconnect bandwidth scaling support is now added as a part of OPP [1]. So, make sure interconnect driver is ready before handling interconnect scaling. This change is based on [1] [Patch v8] Introduce OPP bandwidth

Re: [PATCH 0/4] sched: Remove some redundancy

2020-06-03 Thread Peter Zijlstra
On Wed, Jun 03, 2020 at 10:03:00AM +0200, Dietmar Eggemann wrote: > Remove redundant functions, parameters and macros from the task > scheduler code. > > Dietmar Eggemann (4): > sched/pelt: Remove redundant cap_scale() definition > sched/core: Remove redundant 'preempt' param from > sched_

RE: [PATCH v2 06/15] dmaengine: dw-edma: Use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Gustavo Pimentel
On Wed, Jun 3, 2020 at 12:47:42, Piotr Stankiewicz wrote: > Seeing as there is shorthand available to use when asking for any type > of interrupt, or any type of message signalled interrupt, leverage it. > > Signed-off-by: Piotr Stankiewicz > Reviewed-by: Andy Shevchenko > --- > drivers/dma/

[PATCH] media: omap3isp: Add missed v4l2_ctrl_handler_free() for preview_init_entities()

2020-06-03 Thread Chuhong Yuan
preview_init_entities() does not call v4l2_ctrl_handler_free() when it fails. Add the missed function to fix it. Fixes: de1135d44f4f ("[media] omap3isp: CCDC, preview engine and resizer]") Signed-off-by: Chuhong Yuan --- drivers/media/platform/omap3isp/isppreview.c | 4 +++- 1 file changed, 3 in

[PATCH] media: marvell-ccic: Add missed v4l2_async_notifier_cleanup()

2020-06-03 Thread Chuhong Yuan
mccic_register() forgets to cleanup the notifier in its error handler. Add the missed call to fix it. Fixes: 3eefe36cc00c ("media: marvell-ccic: use async notifier to get the sensor") Signed-off-by: Chuhong Yuan --- drivers/media/platform/marvell-ccic/mcam-core.c | 1 + 1 file changed, 1 insert

Re: [PATCH] cxl: Fix kobject memleak

2020-06-03 Thread wanghai (M)
在 2020/6/3 19:33, Andrew Donnellan 写道: On 2/6/20 10:07 pm, Wang Hai wrote: Currently the error return path from kobject_init_and_add() is not followed by a call to kobject_put() - which means we are leaking the kobject. Fix it by adding a call to kobject_put() in the error path of kobject_ini

[PATCH] dt-bindings: rtc: Convert imxdi rtc to json-schema

2020-06-03 Thread Anson Huang
Convert the i.MXDI RTC binding to DT schema format using json-schema Signed-off-by: Anson Huang --- .../devicetree/bindings/rtc/imxdi-rtc.txt | 20 --- .../devicetree/bindings/rtc/imxdi-rtc.yaml | 42 ++ 2 files changed, 42 insertions(+), 20 deletions

Re: [PATCH v5 4/4] kdb: Switch to use safer dbg_io_ops over console APIs

2020-06-03 Thread Petr Mladek
On Wed 2020-06-03 10:18:30, Daniel Thompson wrote: > On Wed, Jun 03, 2020 at 10:25:04AM +0200, Petr Mladek wrote: > > On Wed 2020-06-03 12:52:15, Sumit Garg wrote: > > > In kgdb context, calling console handlers aren't safe due to locks used > > > in those handlers which could in turn lead to a dea

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-03 Thread Sai Prakash Ranjan
Hi Robin, Mathieu On 2020-06-03 17:07, Robin Murphy wrote: On 2020-06-01 22:28, Mathieu Poirier wrote: That being said I'm sure that dependencies on an IOMMU isn't a problem confined to coresight. I am adding Robin Murphy, who added this commit [1], to the thread in the hope that he can provi

Re: [PATCH] kgdb: Avoid suspicious RCU usage warning

2020-06-03 Thread Daniel Thompson
On Tue, Jun 02, 2020 at 03:56:33PM -0700, Doug Anderson wrote: > > > 2. Perhaps remove the whole irq saving / restoring in kgdb_cpu_enter(). > > > > Are you feeling lucky? > > > > I think there will come a time when bravery is called for but I'd rather > > see this as part of a bigger rewrite inste

Re: [PATCH 1/1] blk-mq: get ctx in order to handle BLK_MQ_S_INACTIVE in blk_mq_get_tag()

2020-06-03 Thread John Garry
On 02/06/2020 07:17, Dongli Zhang wrote: When scheduler is set, we hit below page fault when we offline cpu. [ 1061.007725] BUG: kernel NULL pointer dereference, address: 0040 [ 1061.008710] #PF: supervisor read access in kernel mode [ 1061.009492] #PF: error_code(0x) - not-prese

Re: [PATCH 0/9] x86/entry fixes

2020-06-03 Thread Peter Zijlstra
On Wed, Jun 03, 2020 at 01:40:14PM +0200, Peter Zijlstra wrote: > The first patch is a fix for x86/entry, I'm quicky runing out of brown paper > bags again :/ > > The rest goes on top of these: > > https://lkml.kernel.org/r/20200602173103.931412...@infradead.org > https://lkml.kernel.org/r/2

Re: Linux 4.9.226

2020-06-03 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index d17a2ad3cc4d..b0e1162fddfa 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 225 +SUBLEVEL = 226 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/boot/dts/imx6q-b450v3.dts b/arch/arm/boot/dts/imx6q-b45

Re: Linux 4.4.226

2020-06-03 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 4e5362707405..1b8bc1f294db 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 225 +SUBLEVEL = 226 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index 63741f2e8d0

Linux 4.9.226

2020-06-03 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.9.226 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: [PATCH v6 01/13] tools/libperf: introduce notion of static polled file descriptors

2020-06-03 Thread Alexey Budankov
Hi, On 03.06.2020 14:38, Adrian Hunter wrote: > On 1/06/20 11:05 pm, Alexey Budankov wrote: >> >> Implement adding of file descriptors by fdarray__add_stat() to >> fix-sized (currently 1) stat_entries array located at struct fdarray. >> Append added file descriptors to the array used by poll() sys

Re: [PATCH v8 04/10] drm: bridge: dw_mipi_dsi: allow bridge daisy chaining

2020-06-03 Thread Adrian Ratiu
On Wed, 03 Jun 2020, Laurent Pinchart wrote: Hi Adrian, Hi Laurent, Thank you for the patch. On Mon, Apr 27, 2020 at 11:19:46AM +0300, Adrian Ratiu wrote: Up until now the assumption was that the synopsis dsi bridge will directly connect to an encoder provided by the platform driver, b

Linux 4.4.226

2020-06-03 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.4.226 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:

Linux 4.19.126

2020-06-03 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.126 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 browser

Re: Linux 4.19.126

2020-06-03 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 93c63bda7115..f8da10c40271 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 125 +SUBLEVEL = 126 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/arm/boot/compressed/v

Linux 4.14.183

2020-06-03 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.183 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 browser

Linux 5.4.44

2020-06-03 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.44 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

Linux 5.6.16

2020-06-03 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.6.16 kernel. All users of the 5.6 kernel series must upgrade. The updated 5.6.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.6.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.14.183

2020-06-03 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 591582e26a57..aa9d8c79bff0 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 182 +SUBLEVEL = 183 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/arm/boot/dts/bcm2835-rpi

Re: [PATCH] tcp: fix TCP socks unreleased in BBR mode

2020-06-03 Thread Neal Cardwell
On Wed, Jun 3, 2020 at 1:44 AM Eric Dumazet wrote: > > On Tue, Jun 2, 2020 at 10:05 PM Jason Xing wrote: > > > > Hi Eric, > > > > I'm still trying to understand what you're saying before. Would this > > be better as following: > > 1) discard the tcp_internal_pacing() function. > > 2) remove where

[RELEASE] LTTng-modules 2.12.1 and 2.11.4 (Linux kernel tracer)

2020-06-03 Thread Mathieu Desnoyers
Hi, This is a release announcement of the LTTng kernel tracer for both maintained LTTng stable branches. The main change integrated within the new versions 2.12.1 and 2.11.4 is support for the newly released 5.7 Linux kernel. If you followed the news lately [1], you will notice that LTTng had to

Re: [PATCH] sched/debug: Add new tracepoints to track util_est

2020-06-03 Thread Valentin Schneider
On 27/05/20 17:39, vincent.donnef...@arm.com wrote: > From: Vincent Donnefort > > The util_est signals are key elements for EAS task placement and > frequency selection. Having tracepoints to track these signals enables > load-tracking and schedutil testing and/or debugging by a toolkit. > > Sig

Re: [PATCH RFC 01/13] vhost: option to fetch descriptors through an independent struct

2020-06-03 Thread Jason Wang
On 2020/6/3 下午5:48, Michael S. Tsirkin wrote: On Wed, Jun 03, 2020 at 03:13:56PM +0800, Jason Wang wrote: On 2020/6/2 下午9:05, Michael S. Tsirkin wrote: [...] + +static int fetch_indirect_descs(struct vhost_virtqueue *vq, + struct vhost_desc *indirect, +

Re: [PATCH 1/4] sched/pelt: Remove redundant cap_scale() definition

2020-06-03 Thread Vincent Guittot
On Wed, 3 Jun 2020 at 10:03, Dietmar Eggemann wrote: > > Besides in PELT cap_scale() is used in the Deadline scheduler class for > scale-invariant bandwidth enforcement. > Remove the cap_scale() definition in kernel/sched/pelt.c and keep the > one in kernel/sched/sched.h. > > Signed-off-by: Dietma

Re: [PATCH glibc 1/3] glibc: Perform rseq registration at C startup and thread creation (v20)

2020-06-03 Thread Florian Weimer
* Mathieu Desnoyers: > +#ifdef __cplusplus > +# if __cplusplus >= 201103L > +# define __rseq_static_assert(expr, diagnostic) static_assert (expr, > diagnostic) > +# define __rseq_alignof(type) alignof (type) > +# define __rseq_alignas(x) alignas (x) > +#

[PATCH] fsi: master-ast-cf: fix spelling mistake "firwmare" -> "firmware"

2020-06-03 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_err error message. Fix it. Signed-off-by: Colin Ian King --- drivers/fsi/fsi-master-ast-cf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c index 04d

Re: [PATCH v4 10/10] perf record: introduce --ctl-fd[-ack] options

2020-06-03 Thread Adrian Hunter
On 25/05/20 5:23 pm, Alexey Budankov wrote: > > Introduce --ctl-fd[-ack] options to pass open file descriptors numbers > from command line. Extend perf-record.txt file with --ctl-fd[-ack] > options description. Document possible usage model introduced by > --ctl-fd[-ack] options by providing examp

Re: [PATCH 4/4] sched/fair: Remove unused 'sd' parameter from scale_rt_capacity()

2020-06-03 Thread Vincent Guittot
On Wed, 3 Jun 2020 at 10:03, Dietmar Eggemann wrote: > > Since commit 8ec59c0f5f49 ("sched/topology: Remove unused 'sd' > parameter from arch_scale_cpu_capacity()") it is no longer needed. > > Signed-off-by: Dietmar Eggemann > --- > kernel/sched/fair.c | 4 ++-- > 1 file changed, 2 insertions(+)

Re: [PATCH 0/9] x86/entry fixes

2020-06-03 Thread Peter Zijlstra
On Wed, Jun 03, 2020 at 02:00:37PM +0200, Peter Zijlstra wrote: > On Wed, Jun 03, 2020 at 01:40:14PM +0200, Peter Zijlstra wrote: > > The first patch is a fix for x86/entry, I'm quicky runing out of brown > > paper bags again :/ > > > > The rest goes on top of these: > > > > https://lkml.kerne

Re: [PATCH 0/9] x86/entry fixes

2020-06-03 Thread Marco Elver
On Wed, 3 Jun 2020 at 14:08, Peter Zijlstra wrote: > > On Wed, Jun 03, 2020 at 02:00:37PM +0200, Peter Zijlstra wrote: > > On Wed, Jun 03, 2020 at 01:40:14PM +0200, Peter Zijlstra wrote: > > > The first patch is a fix for x86/entry, I'm quicky runing out of brown > > > paper bags again :/ > > > >

[PATCH v2] usb: dwc3: Add support for VBUS power control

2020-06-03 Thread Mike Looijmans
Support VBUS power control using regulator framework. Enables the regulator while the port is in host mode. Signed-off-by: Mike Looijmans --- v2: Add missing devm_regulator_get call which got lost during rebase .../devicetree/bindings/usb/dwc3.txt | 1 + drivers/usb/dwc3/core.c

Re: [PATCH] fsi: master-ast-cf: fix spelling mistake "firwmare" -> "firmware"

2020-06-03 Thread Andrew Jeffery
On Wed, 3 Jun 2020, at 21:35, Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in a dev_err error message. Fix it. > > Signed-off-by: Colin Ian King Reviewed-by: Andrew Jeffery

Re: [PATCH 14/15] dt-bindings: pinctrl: stm32: Add missing interrupts property

2020-06-03 Thread Linus Walleij
On Wed, May 13, 2020 at 5:00 PM Benjamin Gaignard wrote: > Driver use interrupt-parent field so update the bindings to allow it. > > Signed-off-by: Benjamin Gaignard Patch applied. Yours, Linus Walleij

[PATCH][next] usb: xhci: fix spelling mistake in Kconfig "firwmare" -> "firmware"

2020-06-03 Thread Colin King
From: Colin Ian King There are two spelling mistakes in the Kconfig text. Fix these. Signed-off-by: Colin Ian King --- drivers/usb/host/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 62c348062e48..5f4b6c

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-03 Thread Sai Prakash Ranjan
Hi Mike, On 2020-06-03 16:57, Mike Leach wrote: Hi, On Wed, 3 Jun 2020 at 11:24, Sai Prakash Ranjan wrote: Hi Mike, Thanks again for looking at this. On 2020-06-03 03:42, Mike Leach wrote: [...] >> >> SMMU/IOMMU won't be able to do much here as it is the client's >> responsiblity to >> pr

Re: [PATCH] sched/debug: Add new tracepoints to track util_est

2020-06-03 Thread Peter Zijlstra
On Wed, Jun 03, 2020 at 01:04:26PM +0100, Valentin Schneider wrote: > > On 27/05/20 17:39, vincent.donnef...@arm.com wrote: > > From: Vincent Donnefort > > > > The util_est signals are key elements for EAS task placement and > > frequency selection. Having tracepoints to track these signals enabl

NAK: [PATCH][next] usb: xhci: fix spelling mistake in Kconfig "firwmare" -> "firmware"

2020-06-03 Thread Colin Ian King
On 03/06/2020 13:11, Colin King wrote: > From: Colin Ian King > > There are two spelling mistakes in the Kconfig text. Fix these. > > Signed-off-by: Colin Ian King > --- > drivers/usb/host/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/host/Kc

Re: [RFC] Restrict the untrusted devices, to bind to only a set of "whitelisted" drivers

2020-06-03 Thread Greg Kroah-Hartman
On Wed, Jun 03, 2020 at 04:51:18AM -0700, Rajat Jain wrote: > Hello, > > > > > > Thanks for the pointer! I'm still looking at the details yet, but a > > > quick look (usb_dev_authorized()) seems to suggest that this API is > > > "device based". The multiple levels of "authorized" seem to take shap

[no subject]

2020-06-03 Thread Coulibaly Kone
-- Contact me for your family inheritance valued at seven million united states contact my private email here for more details: coulibalyk...@yahoo.com Many thanks in advance. Barrister Coulibaly Kone

Re: [PATCH v3 0/4] pinctrl: bcm2835: Add support for wake-up interrupts

2020-06-03 Thread Linus Walleij
On Sun, May 31, 2020 at 2:11 AM Florian Fainelli wrote: > This patch series updates the bcm2835 pinctrl driver to support > the BCM7211 SoC which is quite similar to 2711 (Raspberry Pi 4) > except that it also supports wake-up interrupts. > > Thanks! > > Changes in v3: > > - added Rob's Acked-by

Re: [PATCH 0/9] x86/entry fixes

2020-06-03 Thread Peter Zijlstra
On Wed, Jun 03, 2020 at 02:08:57PM +0200, Marco Elver wrote: > What is the .config you used? I somehow can't reproduce. I've applied > the patches on top of -tip/master. So tip/master, my patches, your patches, this series. $ make CC=/opt/llvm/bin/clang O=defconfig-build/ -j80 -s bzImage is wha

Re: NAK: [PATCH][next] usb: xhci: fix spelling mistake in Kconfig "firwmare" -> "firmware"

2020-06-03 Thread Colin Ian King
On 03/06/2020 13:15, Colin Ian King wrote: > On 03/06/2020 13:11, Colin King wrote: >> From: Colin Ian King >> >> There are two spelling mistakes in the Kconfig text. Fix these. >> >> Signed-off-by: Colin Ian King >> --- >> drivers/usb/host/Kconfig | 4 ++-- >> 1 file changed, 2 insertions(+), 2

Re: arm64 build issue and mainline crash (was Re: linux-next: Tree for Jun 3)

2020-06-03 Thread Stephen Rothwell
Hi all, Just resending to get past the infradead.org mail filters (hopefully). On Wed, 3 Jun 2020 22:13:41 +1000 Stephen Rothwell wrote: > > Hi John, > > On Wed, 3 Jun 2020 12:45:18 +0100 John Garry wrote: > > > > On 03/06/2020 12:06, Stephen Rothwell wrote: > > > > JFYI, I am finding the va

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-03 Thread Robin Murphy
On 2020-06-03 13:00, Sai Prakash Ranjan wrote: Hi Robin, Mathieu On 2020-06-03 17:07, Robin Murphy wrote: On 2020-06-01 22:28, Mathieu Poirier wrote: That being said I'm sure that dependencies on an IOMMU isn't a problem confined to coresight. I am adding Robin Murphy, who added this commit [1

Re: [PATCH glibc 1/3] glibc: Perform rseq registration at C startup and thread creation (v20)

2020-06-03 Thread Mathieu Desnoyers
- On Jun 3, 2020, at 8:05 AM, Florian Weimer fwei...@redhat.com wrote: > * Mathieu Desnoyers: > >> +#ifdef __cplusplus >> +# if __cplusplus >= 201103L >> +# define __rseq_static_assert(expr, diagnostic) static_assert (expr, >> diagnostic) >> +# define __rseq_alignof(type)

Re: [PATCH v6 13/13] perf record: introduce --ctl-fd[-ack] options

2020-06-03 Thread Adrian Hunter
On 1/06/20 11:20 pm, Alexey Budankov wrote: > > Introduce --ctl-fd[-ack] options to pass open file descriptors numbers > from command line. Extend perf-record.txt file with --ctl-fd[-ack] perf-record.txt change seems to be missing. > options description. Document possible usage model introduced

Re: [PATCH v6 01/13] tools/libperf: introduce notion of static polled file descriptors

2020-06-03 Thread Adrian Hunter
On 3/06/20 3:01 pm, Alexey Budankov wrote: > Hi, > > On 03.06.2020 14:38, Adrian Hunter wrote: >> On 1/06/20 11:05 pm, Alexey Budankov wrote: >>> >>> Implement adding of file descriptors by fdarray__add_stat() to >>> fix-sized (currently 1) stat_entries array located at struct fdarray. >>> Append

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-03 Thread Sai Prakash Ranjan
Hi Robin, On 2020-06-03 17:51, Robin Murphy wrote: On 2020-06-03 13:00, Sai Prakash Ranjan wrote: Hi Robin, Mathieu On 2020-06-03 17:07, Robin Murphy wrote: On 2020-06-01 22:28, Mathieu Poirier wrote: That being said I'm sure that dependencies on an IOMMU isn't a problem confined to coresigh

Re: [PATCH v2 1/4] gpio: gpiolib: Allow GPIO IRQs to lazy disable

2020-06-03 Thread Linus Walleij
On Fri, May 29, 2020 at 12:27 AM Stephen Boyd wrote: > Quoting Linus Walleij (2020-05-28 14:33:36) > > On Sat, May 23, 2020 at 7:11 PM Maulik Shah wrote: > > > > > With 'commit 461c1a7d4733 ("gpiolib: override irq_enable/disable")' > > > gpiolib > > > overrides irqchip's irq_enable and irq_disab

RE: [PATCH v6 01/13] tools/libperf: introduce notion of static polled file descriptors

2020-06-03 Thread Hunter, Adrian
> -Original Message- > From: Hunter, Adrian > Sent: Wednesday, June 3, 2020 3:24 PM > To: Alexey Budankov > Cc: Arnaldo Carvalho de Melo ; Jiri Olsa > ; Namhyung Kim ; Alexander > Shishkin ; Peter Zijlstra > ; Ingo Molnar ; Andi Kleen > ; linux-kernel > Subject: Re: [PATCH v6 01/13] to

Re: [PATCH v2 0/3] More frequency invariance fixes for x86

2020-06-03 Thread Peter Zijlstra
On Sun, May 31, 2020 at 08:24:50PM +0200, Giovanni Gherdovich wrote: > changes wrt v1: > > - add Peter Zijlstra's code to check for multiplication overflow, see > > https://lore.kernel.org/lkml/20200501133042.ge3...@hirez.programming.kicks-ass.net/ > - put all frequence invariant code behind CO

Re: [PATCH] pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'

2020-06-03 Thread Linus Walleij
On Sat, May 30, 2020 at 10:20 PM Christophe JAILLET wrote: > When 'pinctrl_register()' has been turned into 'devm_pinctrl_register()', > an error handling path has not been updated. > > Axe a now unneeded 'pinctrl_unregister()'. > > Fixes: e55e025d1687 ("pinctrl: imxl: Use devm_pinctrl_register()

Re: [PATCH net] net: mvpp2: Enable autoneg bypass for 1000BaseX/2500BaseX ports

2020-06-03 Thread Russell King - ARM Linux admin
On Tue, Jun 02, 2020 at 11:50:16PM +0100, Russell King - ARM Linux admin wrote: > On Fri, May 29, 2020 at 06:33:40PM +0200, Andrew Lunn wrote: > > Given the current code, you cannot. Now we understand the > > requirements, we can come up with some ideas how to do this properly. > > Okay, I've been

linux-next: arm64 build failed - aarch64-linux-gnu-ld: cannot find ./drivers/firmware/efi/libstub/lib.abuilt-in.a: No such file or directory

2020-06-03 Thread Naresh Kamboju
arm64 build failed on Linux-next 20200603. make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache aarch64-linux-gnu-gcc" O=build Image # aarch64-linux-gnu-ld: cannot find ./drivers/firmware/efi/libstub/lib.abuilt-in.a: No su

Re: [PATCH glibc 1/3] glibc: Perform rseq registration at C startup and thread creation (v20)

2020-06-03 Thread Florian Weimer
* Mathieu Desnoyers: > - On Jun 3, 2020, at 8:05 AM, Florian Weimer fwei...@redhat.com wrote: > >> * Mathieu Desnoyers: >> >>> +#ifdef __cplusplus >>> +# if __cplusplus >= 201103L >>> +# define __rseq_static_assert(expr, diagnostic) static_assert (expr, >>> diagnostic) >>> +# define __rseq

drivers/soundwire/intel_init.c:192:7: warning: no previous prototype for 'sdw_intel_init'

2020-06-03 Thread kernel test robot
-20200603 (attached as .config) compiler: ia64-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout

Re: [PATCH V2] pinctrl: sirf: add missing put_device() call in sirfsoc_gpio_probe()

2020-06-03 Thread Linus Walleij
On Wed, Jun 3, 2020 at 3:36 AM yu kuai wrote: > A coccicheck run provided information like the following: > > drivers/pinctrl/sirf/pinctrl-sirf.c:798:2-8: ERROR: missing put_device; > call of_find_device_by_node on line 792, but without a corresponding > object release within this function. > > G

arch/x86/crypto/curve25519-x86_64.c:518:3: error: inline assembly requires more registers than available

2020-06-03 Thread kernel test robot
implementation date: 4 months ago config: x86_64-randconfig-r012-20200603 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 16437992cac249f6fe1efd392d20e3469b47e39e) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests

Re: [PATCH 1/5] drm/omap: Fix suspend resume regression after platform data removal

2020-06-03 Thread Tomi Valkeinen
Hi Tony, On 31/05/2020 22:39, Tony Lindgren wrote: When booting without legacy platform data, we no longer have omap_device calling PM runtime suspend for us on suspend. This causes the driver context not be saved as we have no suspend and resume functions defined. Let's fix the issue by switch

Re: [PATCH] pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'

2020-06-03 Thread Linus Walleij
On Sat, May 30, 2020 at 10:49 PM Christophe JAILLET wrote: > 'pinctrl_unregister()' should not be called to undo > 'devm_pinctrl_register_and_init()', it is already handled by the framework. > > This simplifies the error handling paths of the probe function. > The 'imx_free_resources()' can be re

Re: linux-next: arm64 build failed - aarch64-linux-gnu-ld: cannot find ./drivers/firmware/efi/libstub/lib.abuilt-in.a: No such file or directory

2020-06-03 Thread Ard Biesheuvel
On Wed, 3 Jun 2020 at 14:31, Naresh Kamboju wrote: > > arm64 build failed on Linux-next 20200603. > > make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm64 > CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache > aarch64-linux-gnu-gcc" O=build Image > #

Re: arm64 build issue and mainline crash (was Re: linux-next: Tree for Jun 3)

2020-06-03 Thread Ard Biesheuvel
On Wed, 3 Jun 2020 at 14:20, Stephen Rothwell wrote: > > Hi all, > > Just resending to get past the infradead.org mail filters (hopefully). > > On Wed, 3 Jun 2020 22:13:41 +1000 Stephen Rothwell > wrote: > > > > Hi John, > > > > On Wed, 3 Jun 2020 12:45:18 +0100 John Garry wrote: > > > > > > On

Re: [PATCH] sound: usb: pcm: fix incorrect power state when playing sound after PM_AUTO suspend

2020-06-03 Thread Macpaul Lin
On Wed, 2020-06-03 at 10:45 +0200, Takashi Iwai wrote: > On Wed, 03 Jun 2020 08:54:51 +0200, > Takashi Iwai wrote: > > > > On Wed, 03 Jun 2020 08:28:09 +0200, > > Takashi Iwai wrote: > > > > > > And, the most suspicious case is the last one, > > > chip->num_suspended-intf. It means that the devi

Re: [PATCH glibc 1/3] glibc: Perform rseq registration at C startup and thread creation (v20)

2020-06-03 Thread Mathieu Desnoyers
- On Jun 3, 2020, at 8:31 AM, Florian Weimer fwei...@redhat.com wrote: > * Mathieu Desnoyers: > >> - On Jun 3, 2020, at 8:05 AM, Florian Weimer fwei...@redhat.com wrote: >> >>> * Mathieu Desnoyers: >>> +#ifdef __cplusplus +# if __cplusplus >= 201103L +# define __rseq_

<    1   2   3   4   5   6   7   8   9   10   >