[PATCH 13/20] dt-bindings: usb: dwc3: Add Frame Length Adj restrictions

2020-10-14 Thread Serge Semin
In accordance with the IP core databook the snps,quirk-frame-length-adjustment property can be set within [0, 0x3F]. Let's make sure the DT schema applies a correct restriction on the property. Signed-off-by: Serge Semin --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 2 ++ 1 file

[PATCH 11/20] dt-bindings: usb: dwc3: Add synopsys,dwc3 compatible string

2020-10-14 Thread Serge Semin
The DWC USB3 driver and some DTS files like Exynos 5250, Keystone k2e, etc expects the DWC USB3 DT node to have the compatible string with the "synopsys" vendor prefix. Let's add the corresponding compatible string to the controller DT schema, but mark it as deprecated seeing the Synopsys, Inc. is

[PATCH 04/20] dt-bindings: usb: usb-hcd: Add "tpl-support" property

2020-10-14 Thread Serge Semin
The host controller device might be designed to work for the particular products or applications. In that case its DT node is supposed to be equipped with the tpl-support property. Signed-off-by: Serge Semin --- Changelog v2: - Grammar fix: "s/it'/its" - Discard '|' from the property

Linux 4.19.151

2020-10-14 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.151 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: Linux 5.4.71

2020-10-14 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index e409fd909560..f342e64c8c1d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 70 +SUBLEVEL = 71 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git

Linux 5.4.71

2020-10-14 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.71 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:

Re: Linux 4.19.151

2020-10-14 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 65485185bec2..f2c9db9b4015 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 150 +SUBLEVEL = 151 EXTRAVERSION = NAME = "People's Front" diff --git

Linux 5.8.15

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

Re: [PATCH 5/6] dt-bindings: media: renesas,vin: Add V3U support

2020-10-14 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. On 2020-10-14 11:44:42 +0200, Jacopo Mondi wrote: > Add compatible string definition for R-Car V3U. > > Signed-off-by: Jacopo Mondi > --- > Documentation/devicetree/bindings/media/renesas,vin.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [ANNOUNCE] libtraceevent.git

2020-10-14 Thread Sudip Mukherjee
Hi Steve, On Tue, Oct 13, 2020 at 2:02 PM Steven Rostedt wrote: > > On Tue, 13 Oct 2020 11:06:16 +0800 > Zamir SUN wrote: > > > On Tue, Oct 13, 2020 at 3:17 AM Steven Rostedt wrote: > > > > > So, for me, there is no more issue for Fedora packaging. > > > > So should I just add that one patch

[PATCH v6 0/3] Adding support for Microchip/Microsemi serial GPIO controller

2020-10-14 Thread Lars Povlsen
The series add support for the serial GPIO controller used by Microchip Sparx5, as well as (MSCC) ocelot/jaguar2 SoCs. v6 changes: - Use "bus-frequency" instead of "microchip,sgpio-frequency". Drop '$ref'. (Robh) - Added "ngpios" description, bumped minimum to 32. (Linus) - Added "#size-cells"

[PATCH v6 2/3] pinctrl: pinctrl-microchip-sgpio: Add pinctrl driver for Microsemi Serial GPIO

2020-10-14 Thread Lars Povlsen
This adds a pinctrl driver for the Microsemi/Microchip Serial GPIO (SGPIO) device used in various SoC's. Signed-off-by: Lars Povlsen --- MAINTAINERS | 1 + drivers/pinctrl/Kconfig | 18 + drivers/pinctrl/Makefile | 1 +

[PATCH v6 1/3] dt-bindings: pinctrl: Add bindings for pinctrl-microchip-sgpio driver

2020-10-14 Thread Lars Povlsen
This adds DT bindings for the Microsemi/Microchip SGPIO controller, bindings microchip,sparx5-sgpio, mscc,ocelot-sgpio and mscc,luton-sgpio. Signed-off-by: Lars Povlsen Reviewed-by: Rob Herring --- .../pinctrl/microchip,sparx5-sgpio.yaml | 145 ++ 1 file changed, 145

[PATCH] KVM: VMX: eVMCS: make evmcs_sanitize_exec_ctrls() work again

2020-10-14 Thread Vitaly Kuznetsov
It was noticed that evmcs_sanitize_exec_ctrls() is not being executed nowadays despite the code checking 'enable_evmcs' static key looking correct. Turns out, static key magic doesn't work in '__init' section (and it is unclear when things changed) but setup_vmcs_config() is called only once per

[PATCH v6 3/3] arm64: dts: sparx5: Add SGPIO devices

2020-10-14 Thread Lars Povlsen
This adds SGPIO devices for the Sparx5 SoC and configures it for the applicable reference boards. Signed-off-by: Lars Povlsen Reviewed-by: Rob Herring --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 91 ++ .../boot/dts/microchip/sparx5_pcb125.dts | 5 +

[PATCH v6 0/3] Adding support for Microchip/Microsemi serial GPIO controller

2020-10-14 Thread Lars Povlsen
The series add support for the serial GPIO controller used by Microchip Sparx5, as well as (MSCC) ocelot/jaguar2 SoCs. v6 changes: - Use "bus-frequency" instead of "microchip,sgpio-frequency". Drop '$ref'. (Robh) - Added "ngpios" description, bumped minimum to 32. (Linus) - Added "#size-cells"

Re: [PATCH v1 3/3] ARM: dts: add Van der Laan LANMCU board

2020-10-14 Thread Marco Felsch
Hi Oleksij, pls can you send a patch adding this board to: Documentation/devicetree/bindings/arm/fsl.yaml infront of this patch? On 20-10-14 10:53, Oleksij Rempel wrote: > Van der Laan LANMCU is a module for the food storage rooms to control > proper gas composition. > > Co-Developed-by: Robin

RE: [PATCH] i2c: designware: fix slave omitted IC_INTR_STOP_DET

2020-10-14 Thread Michael.Wu
On 10/14/20 4:53 PM, andriy.shevche...@linux.intel.com wrote: > > Wondering if you compile this at all... I'm very sorry that I did not compile it because I only have ARM SoC with my linux 4.9.170, but I've verified the logic of this patch in my linux. I'll correct these two syntax errors in

Re: [PATCH 5.8 000/124] 5.8.15-rc1 review

2020-10-14 Thread Greg Kroah-Hartman
On Tue, Oct 13, 2020 at 07:21:50PM -0600, Shuah Khan wrote: > On 10/12/20 7:30 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.15 release. > > There are 124 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH v2 5/5] docs: automarkup.py: Allow automatic cross-reference inside C namespace

2020-10-14 Thread Mauro Carvalho Chehab
Em Tue, 13 Oct 2020 23:13:40 + Nícolas F. R. A. Prado escreveu: > Sphinx 3.1 introduced namespaces for C cross-references. With this, > each C domain type/function declaration is put inside the namespace that > was active at the time of its declaration. > > To support automatic

Re: [PATCH 5.8 000/124] 5.8.15-rc1 review

2020-10-14 Thread Greg Kroah-Hartman
On Tue, Oct 13, 2020 at 09:41:31AM -0700, Guenter Roeck wrote: > On Mon, Oct 12, 2020 at 03:30:04PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.15 release. > > There are 124 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 5.8 000/124] 5.8.15-rc1 review

2020-10-14 Thread Greg Kroah-Hartman
On Mon, Oct 12, 2020 at 11:00:07PM +0530, Jeffrin Jose T wrote: > * On Mon, 2020-10-12 at 15:30 +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.15 release. > > There are 124 patches in this series, all will be posted as a > > response > > to this one.

Re: [PATCH 5.8 000/124] 5.8.15-rc1 review

2020-10-14 Thread Greg Kroah-Hartman
On Tue, Oct 13, 2020 at 11:14:36AM +0530, Naresh Kamboju wrote: > On Mon, 12 Oct 2020 at 19:15, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.8.15 release. > > There are 124 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 04/12] mips: Reserve memory for the kernel image resources

2020-10-14 Thread Maciej W. Rozycki
On Wed, 22 May 2019, Serge Semin wrote: > > > The problem might be fixed there by the next patch: > > > --- > > > diff --git a/arch/mips/dec/prom/memory.c b/arch/mips/dec/prom/memory.c > > > index 5073d2ed78bb..5a0c734b5d04 100644 > > > --- a/arch/mips/dec/prom/memory.c > > > +++

Re: [PATCH 2/5] dt-bindings: gpio: Add a binding header for the MSC313 GPIO driver

2020-10-14 Thread Daniel Palmer
Hi Rob, On Tue, 13 Oct 2020 at 01:11, Rob Herring wrote: > > MAINTAINERS| 1 + > > include/dt-bindings/gpio/msc313-gpio.h | 95 ++ > > 2 files changed, 96 insertions(+) > > create mode 100644 include/dt-bindings/gpio/msc313-gpio.h > > This

Re: [PATCH] net: sockmap: Don't call bpf_prog_put() on NULL pointer

2020-10-14 Thread Alex Dewar
On 14/10/2020 10:32, Jakub Sitnicki wrote: On Mon, Oct 12, 2020 at 07:09 PM CEST, Alex Dewar wrote: If bpf_prog_inc_not_zero() fails for skb_parser, then bpf_prog_put() is called unconditionally on skb_verdict, even though it may be NULL. Fix and tidy up error path. Addresses-Coverity-ID:

Re: [LTP] [PATCH] syscalls/ptrace10: Add new regression test

2020-10-14 Thread Cyril Hrubis
Hi! > > I would like to avoid triggering the "your system may be vunerable" > > messages on fixed kernel, hence the separate test. > > Good point, go ahead with a separate test then. Thanks for the review, pushed. -- Cyril Hrubis chru...@suse.cz

[PATCH 4/6] clk: renesas: r8a779a0: Add VIN[00-31] clocks

2020-10-14 Thread Jacopo Mondi
Add clock definitions of the VIN instances for R-Car V3U. Signed-off-by: Jacopo Mondi --- Clocks at indexes 730 and 731 are named 'vin0' and 'vin1'. I assumed it's a typographic error and renamed them 'vin00' and 'vin01' --- drivers/clk/renesas/r8a779a0-cpg-mssr.c | 32

[PATCH 6/6] arm64: dts: r8a779a0: Add VIN nodes

2020-10-14 Thread Jacopo Mondi
Add VIN nodes to R8A779A0 R-Car V3U SoC. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 320 ++ 1 file changed, 320 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi index

[PATCH 5/6] dt-bindings: media: renesas,vin: Add V3U support

2020-10-14 Thread Jacopo Mondi
Add compatible string definition for R-Car V3U. Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/media/renesas,vin.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/renesas,vin.yaml

[PATCH 0/6] r8a779a0: Add CSI and VIN

2020-10-14 Thread Jacopo Mondi
This series adds the CPG clock definitions, device node entries, and compatible strings for the CSI-2 receivers and VIN instances on R8A779A0 R-Car V3U SoC. A few quircks in the per-patches commit messages. Compile tested only. Jacopo Mondi (6): clk: renesas: r8a779a0: Add CSI4[0-3] clocks

[PATCH 3/6] arm64: dts: renesas: r8a779a0: Add CSI-2 nodes

2020-10-14 Thread Jacopo Mondi
Add CSI-2 nodes to R8A779A0 R-Car V3U SoC. Signed-off-by: Jacopo Mondi --- The chip manual reports that the CSI-2 units are fed with S1D1 and S1D2 clocks. The same applies to other SoCs, but none lists the two additional clocks in the DTS node. So I left them out here as well. ---

[PATCH 2/6] dt-bindings: media: renesas,csi2: Add V3U support

2020-10-14 Thread Jacopo Mondi
Add compatible string definition for R-Car V3U. Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/media/renesas,csi2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/renesas,csi2.yaml

[PATCH 1/6] clk: renesas: r8a779a0: Add CSI4[0-3] clocks

2020-10-14 Thread Jacopo Mondi
Add clock definitions of the CSI-2 receivers for R-Car V3U. Signed-off-by: Jacopo Mondi --- drivers/clk/renesas/r8a779a0-cpg-mssr.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/renesas/r8a779a0-cpg-mssr.c b/drivers/clk/renesas/r8a779a0-cpg-mssr.c index

[PATCH v3] cpufreq: tegra194: get consistent cpuinfo_cur_freq

2020-10-14 Thread Sumit Gupta
Frequency returned by 'cpuinfo_cur_freq' using counters is not fixed and keeps changing slightly. This change returns a consistent value from freq_table. If the reconstructed frequency has acceptable delta from the last written value, then return the frequency corresponding to the last written

Re: [PATCH 1/2] coresight: tmc-etf: Fix NULL ptr dereference in tmc_enable_etf_sink_perf()

2020-10-14 Thread Sai Prakash Ranjan
On 2020-10-13 22:05, Suzuki K Poulose wrote: On 10/07/2020 02:00 PM, Sai Prakash Ranjan wrote: There was a report of NULL pointer dereference in ETF enable path for perf CS mode with PID monitoring. It is almost 100% reproducible when the process to monitor is something very active such as

[PATCH 1/1] ACPI/IORT: Fix doc warnings in iort.c

2020-10-14 Thread Shiju Jose
Fix following warnings caused by mismatch between function parameters and function comments. drivers/acpi/arm64/iort.c:55: warning: Function parameter or member 'iort_node' not described in 'iort_set_fwnode' drivers/acpi/arm64/iort.c:55: warning: Excess function parameter 'node' description in

Re: [PATCH] net: sockmap: Don't call bpf_prog_put() on NULL pointer

2020-10-14 Thread Jakub Sitnicki
On Mon, Oct 12, 2020 at 07:09 PM CEST, Alex Dewar wrote: > If bpf_prog_inc_not_zero() fails for skb_parser, then bpf_prog_put() is > called unconditionally on skb_verdict, even though it may be NULL. Fix > and tidy up error path. > > Addresses-Coverity-ID: 1497799: Null pointer dereferences

[PATCH 1/3] ASoC: sof: imx: fix Kconfig punctuation

2020-10-14 Thread Randy Dunlap
Add periods at the end of sentences in help text. Signed-off-by: Randy Dunlap Cc: Pierre-Louis Bossart Cc: Liam Girdwood Cc: Ranjani Sridharan Cc: Kai Vehmanen Cc: Daniel Baluta Cc: sound-open-firmw...@alsa-project.org Cc: alsa-de...@alsa-project.org --- sound/soc/sof/imx/Kconfig | 10

Re: [PATCH] soc: fsl: dpio: Change 'cpumask_t mask' to global variable

2020-10-14 Thread Laurentiu Tudor
Hi, Thanks for finding this. Comment inline. On 10/14/2020 10:27 AM, Yi Wang wrote: > From: Hao Si > > The local variable 'cpumask_t mask' is in the stack memory, and its address > is assigned to 'desc->affinity' in 'irq_set_affinity_hint()'. > But the memory area where this variable is

Re: [PATCH v2] powerpc/pci: unmap legacy INTx interrupts when a PHB is removed

2020-10-14 Thread Michael Ellerman
Qian Cai writes: > On Wed, 2020-09-23 at 09:06 +0200, Cédric Le Goater wrote: >> On 9/23/20 2:33 AM, Qian Cai wrote: >> > On Fri, 2020-08-07 at 12:18 +0200, Cédric Le Goater wrote: >> > > When a passthrough IO adapter is removed from a pseries machine using >> > > hash MMU and the XIVE interrupt

[PATCH v2 1/9] rpmsg: Move rpmsg_endpoint_ops to rpmsg.h

2020-10-14 Thread Mathieu Poirier
Move structure rpmsg_endpoint_ops to header rpmsg.h so that it can be used by other entities. Signed-off-by: Mathieu Poirier --- drivers/rpmsg/rpmsg_internal.h | 19 --- include/linux/rpmsg.h | 24 +--- 2 files changed, 21 insertions(+), 22

Re: [PATCH 5.8 000/124] 5.8.15-rc1 review

2020-10-14 Thread Shuah Khan
On 10/12/20 7:30 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.8.15 release. There are 124 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 should be

Re: [PATCH 3/4] kernel: add support for TIF_NOTIFY_SIGNAL

2020-10-14 Thread Jens Axboe
On 10/13/20 5:42 PM, Thomas Gleixner wrote: > On Thu, Oct 08 2020 at 09:27, Jens Axboe wrote: >> This adds TIF_NOTIFY_SIGNAL handling in the generic code, which if set, >> will return true if signal_pending() is used in a wait loop. That causes >> an exit of the loop so that notify_signal

[PATCH v2 2/3] Revert "i2c: i2c-qcom-geni: Fix DMA transfer race"

2020-10-14 Thread Douglas Anderson
This reverts commit 02b9aec59243c6240fc42884acc958602146ddf6. As talked about in the patch ("soc: qcom: geni: More properly switch to DMA mode"), swapping the order of geni_se_setup_m_cmd() and geni_se_xx_dma_prep() can sometimes cause corrupted transfers. Thus we traded one problem for another.

[PATCH v2 0/9] rpmsg: Make RPMSG name service modular

2020-10-14 Thread Mathieu Poirier
Good afternoon, This set starts by making the RPMSG protocol transport agnostic by moving the headers it uses to generic types and using those in the current implementation. From there it re-uses the work that Arnaud published[1] to make the name service modular. Tested on stm32mp157 with the

Re: [PATCHSET RFC v3 0/6] Add support for TIF_NOTIFY_SIGNAL

2020-10-14 Thread Jens Axboe
On 10/13/20 5:34 PM, Thomas Gleixner wrote: > Jens, > > On Tue, Oct 13 2020 at 13:39, Jens Axboe wrote: >> On 10/12/20 11:27 AM, Miroslav Benes wrote: >> I'm continuing to hone the series, what's really missing so far is arch >> review. Most conversions are straight forward, some I need folks to

Re: For review: seccomp_user_notif(2) manual page

2020-10-14 Thread Michael Kerrisk (man-pages)
On 10/1/20 7:12 PM, Christian Brauner wrote: > On Thu, Oct 01, 2020 at 10:58:50AM -0600, Tycho Andersen wrote: >> On Thu, Oct 01, 2020 at 05:47:54PM +0200, Jann Horn via Containers wrote: >>> On Thu, Oct 1, 2020 at 2:54 PM Christian Brauner >>> wrote: On Wed, Sep 30, 2020 at 05:53:46PM

[PATCH 1/2] x86/kexec: Use up-to-dated screen_info copy to fill boot params

2020-10-14 Thread Kairui Song
kexec_file_load now just reuse the old boot_params.screen_info. But if drivers have change the hardware state, boot_param.screen_info could contain invalid info. For example, the video type might be no longer VGA, or frame buffer address changed. If kexec kernel keep using the old screen_info,

[PATCH v2 8/9] rpmsg: Make rpmsg_{register|unregister}_device() public

2020-10-14 Thread Mathieu Poirier
Make function rpmsg_register_device() and rpmsg_unregister_device() functions public so that they can be used by other clients. While doing so get rid of two obsolete function, i.e register_rpmsg_device() and unregister_rpmsg_device(), to prevent confusion. Signed-off-by: Mathieu Poirier ---

[PATCH v2 0/3] i2c: i2c-qcom-geni: More properly fix the DMA race

2020-10-14 Thread Douglas Anderson
Previously I landed commit 02b9aec59243 ("i2c: i2c-qcom-geni: Fix DMA transfer race") to fix a race we were seeing. While that most definitely fixed the race we were seeing, it looks like it causes problems in the TX path, which we didn't stress test until we started trying to update firmware on

[PATCH 0/2] x86/hyperv: fix kexec/kdump hang on some VMs

2020-10-14 Thread Kairui Song
On some HyperV machines, if kexec_file_load is used to load the kexec kernel, second kernel could hang with following stacktrace: [0.591705] efifb: probing for efifb [0.596869] efifb: framebuffer at 0xf800, using 3072k, total 3072k [0.605894] efifb: mode is 1024x768x32,

[PATCH 2/2] hyperv_fb: Update screen_info after removing old framebuffer

2020-10-14 Thread Kairui Song
On gen2 HyperV VM, hyperv_fb will remove the old framebuffer, the new allocated framebuffer address could be at a differnt location, and it's no longer VGA framebuffer. Update screen_info so that after kexec, kernel won't try to reuse the old invalid framebuffer address as VGA. Signed-off-by:

Re: [PATCH 1/2] arm64: dts: broadcom: remove an unused property dma-ranges

2020-10-14 Thread Florian Fainelli
On 10/12/2020 11:06 PM, Zhen Lei wrote: stingray-usb.dtsi is finally included by three dts files: bcm958802a802x.dts, bcm958742k.dts and bcm958742t.dts. I searched all these three entire expanded dts files, and each of them contains only one dma-ranges. No conversion range is specified, so it

[PATCH v2 1/3] soc: qcom: geni: More properly switch to DMA mode

2020-10-14 Thread Douglas Anderson
On geni-i2c transfers using DMA, it was seen that if you program the command (I2C_READ) before calling geni_se_rx_dma_prep() that it could cause interrupts to fire. If we get unlucky, these interrupts can just keep firing (and not be handled) blocking further progress and hanging the system. In

[PATCH v2 3/3] soc: qcom: geni: Optimize/comment select fifo/dma mode

2020-10-14 Thread Douglas Anderson
The functions geni_se_select_fifo_mode() and geni_se_select_fifo_mode() are a little funny. They read/write a bunch of memory mapped registers even if they don't change or aren't relevant for the current protocol. Let's make them a little more sane. We'll also add a comment explaining why we

[PATCH v2 6/9] rpmsg: core: Add channel creation internal API

2020-10-14 Thread Mathieu Poirier
From: Arnaud Pouliquen Add the channel creation API as a first step to be able to define the name service announcement as a rpmsg driver independent from the RPMsg virtio bus. Signed-off-by: Arnaud Pouliquen Signed-off-by: Mathieu Poirier --- drivers/rpmsg/rpmsg_core.c | 44

Re: [PATCH 4/5] RISC-V: Protect .init.text & .init.data

2020-10-14 Thread Atish Patra
On Mon, Oct 12, 2020 at 8:08 PM Greentime Hu wrote: > > Atish Patra 於 2020年10月13日 週二 上午9:28寫道: > > > > On Mon, Oct 12, 2020 at 4:26 PM Atish Patra wrote: > > > > > > On Mon, Oct 12, 2020 at 6:15 AM Greentime Hu > > > wrote: > > > > > > > > Atish Patra 於 2020年10月10日 週六 上午5:13寫道: > > > > > > >

[PATCH v5 1/2] PCI/ERR: Call pci_bus_reset() before calling ->slot_reset() callback

2020-10-14 Thread Kuppuswamy Sathyanarayanan
Currently if report_error_detected() or report_mmio_enabled() functions requests PCI_ERS_RESULT_NEED_RESET, current pcie_do_recovery() implementation does not do the requested explicit device reset, but instead just calls the report_slot_reset() on all affected devices. Notifying about the reset

Re: [PATCH v3 00/11] Introduce Simple atomic counters

2020-10-14 Thread Shuah Khan
On 10/10/20 5:09 AM, Peter Zijlstra wrote: On Fri, Oct 09, 2020 at 01:45:43PM -0700, Kees Cook wrote: On Fri, Oct 09, 2020 at 09:37:46PM +0200, Peter Zijlstra wrote: On Fri, Oct 09, 2020 at 09:55:55AM -0600, Shuah Khan wrote: Simple atomic counters api provides interfaces for simple atomic

Re: [PATCH v0] clk: qcom: lpasscc: Re-configure the PLL in case lost

2020-10-14 Thread Doug Anderson
Hi, On Tue, Oct 13, 2020 at 11:33 AM Taniya Das wrote: > > In the case where the PLL configuration is lost, then the pm runtime > resume will reconfigure before usage. > > Fixes: edab812d802d ("clk: qcom: lpass: Add support for LPASS clock > controller for SC7180") > Signed-off-by: Taniya Das

Re: [PATCH] arm/build: Always handle .ARM.exidx and .ARM.extab sections

2020-10-14 Thread Nick Desaulniers
On Mon, Oct 12, 2020 at 8:26 PM Nathan Chancellor wrote: > > On Mon, Oct 12, 2020 at 02:26:52PM -0700, Kees Cook wrote: > > On Mon, Oct 12, 2020 at 02:22:03PM -0700, Fāng-ruì Sòng wrote: > > > On Mon, Oct 12, 2020 at 2:11 PM 'Nick Desaulniers' via Clang Built > > > Linux wrote: > > > > > > > >

[PATCH] bpfilter: Fix build error with CONFIG_BPFILTER_UMH

2020-10-14 Thread YueHaibing
IF CONFIG_BPFILTER_UMH is set, building fails: In file included from /usr/include/sys/socket.h:33:0, from net/bpfilter/main.c:6: /usr/include/bits/socket.h:390:10: fatal error: asm/socket.h: No such file or directory #include ^~ compilation terminated.

[PATCH v2 9/9] rpmsg: Turn name service into a stand alone driver

2020-10-14 Thread Mathieu Poirier
From: Arnaud Pouliquen Make the RPMSG name service announcement a stand alone driver so that it can be reused by other subsystems. It is also the first step in making the functionatlity transport independent, i.e that is not tied to virtIO. Co-developed-by: Mathieu Poirier Signed-off-by:

[PATCH v2 4/9] rpmsg: Move rpmsg_hr and rpmsg_ns_msg to header file

2020-10-14 Thread Mathieu Poirier
Move structures rpmsg_hdr and rpmsg_ns_msg to their own header file so that they can be used by other entities. Signed-off-by: Mathieu Poirier --- drivers/rpmsg/virtio_rpmsg_bus.c | 58 ++ include/linux/rpmsg_ns.h | 62

Re: [PATCH 4/4] task_work: use TIF_NOTIFY_SIGNAL if available

2020-10-14 Thread Thomas Gleixner
On Thu, Oct 08 2020 at 09:27, Jens Axboe wrote: > +/* > + * TWA_SIGNAL signaling - use TIF_NOTIFY_SIGNAL, if available, as it's faster > + * than TIF_SIGPENDING as there's no dependency on ->sighand. The latter is > + * shared for threads, and can cause contention on sighand->lock. Even for > + *

Use after free in bcm2835_spi_remove()

2020-10-14 Thread Florian Fainelli
Hi Lukas, With KASAN now working on ARM 32-bit, I was able to get the following trace upon reboot which invokes bcm2835_spi_shutdown() calling bcm2835_spi_remove(), the same can be triggered by doing a driver unbind: # pwd /sys/devices/platform/rdb/47e204800.spi/driver # echo 47e204800.spi >

[PATCH v4 2/5] arm64: mremap speedup - Enable HAVE_MOVE_PMD

2020-10-14 Thread Kalesh Singh
HAVE_MOVE_PMD enables remapping pages at the PMD level if both the source and destination addresses are PMD-aligned. HAVE_MOVE_PMD is already enabled on x86. The original patch [1] that introduced this config did not enable it on arm64 at the time because of performance issues with flushing the

[PATCH v4 3/5] mm: Speedup mremap on 1GB or larger regions

2020-10-14 Thread Kalesh Singh
Android needs to move large memory regions for garbage collection. The GC requires moving physical pages of multi-gigabyte heap using mremap. During this move, the application threads have to be paused for correctness. It is critical to keep this pause as short as possible to avoid jitters during

Re: [2/2] drm/msm: Add support for GPU cooling

2020-10-14 Thread mka
On Wed, Oct 14, 2020 at 12:51:55AM +0530, Akhil P Oommen wrote: > On 10/13/2020 11:10 PM, m...@chromium.org wrote: > > On Tue, Oct 13, 2020 at 07:23:34PM +0530, Akhil P Oommen wrote: > > > On 10/12/2020 11:10 PM, m...@chromium.org wrote: > > > > On Mon, Oct 12, 2020 at 07:03:51PM +0530, Akhil P

[PATCH 3/3] ASoC: sof: Kconfig: fix Kconfig punctuation and wording

2020-10-14 Thread Randy Dunlap
Add periods at the end of sentences in help text. Drop "a" in one place where it is not needed. Fix a verb. Add some capitalization. Signed-off-by: Randy Dunlap Cc: Pierre-Louis Bossart Cc: Liam Girdwood Cc: Ranjani Sridharan Cc: Kai Vehmanen Cc: Daniel Baluta Cc:

Re: [PATCH] net: sockmap: Don't call bpf_prog_put() on NULL pointer

2020-10-14 Thread Jakub Sitnicki
On Mon, Oct 12, 2020 at 07:09 PM CEST, Alex Dewar wrote: > If bpf_prog_inc_not_zero() fails for skb_parser, then bpf_prog_put() is > called unconditionally on skb_verdict, even though it may be NULL. Fix > and tidy up error path. > > Addresses-Coverity-ID: 1497799: Null pointer dereferences

Re: [RFC PATCH 13/22] x86/fpu/xstate: Expand dynamic user state area on first use

2020-10-14 Thread Andy Lutomirski
> On Oct 13, 2020, at 3:31 PM, Brown, Len wrote: > >  >> >> From: Andy Lutomirski > >>> diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c >>> @@ -518,3 +518,40 @@ int fpu__exception_code(struct fpu *fpu, int trap_nr) > .. >>> +bool xfirstuse_event_handler(struct fpu

Re: [PATCH v2] i2c: npcm7xx: Support changing bus speed using debugfs.

2020-10-14 Thread Alex Qiu
Tested again, and the updated patch is still working. On Tue, Oct 13, 2020 at 4:49 AM Andy Shevchenko wrote: > > On Tue, Oct 13, 2020 at 01:03:14PM +0300, Tali Perry wrote: > > Systems that can dynamically add and remove slave devices > > often need to change the bus speed in runtime. > > This

Re: [PATCH v3 5/5] arm64: dts: r8a77965: Add DRIF support

2020-10-14 Thread Lad, Prabhakar
Hi Fabrizio, Thank you for the patch. On Tue, Oct 13, 2020 at 6:25 PM Fabrizio Castro wrote: > > Add the DRIF controller nodes for r8a77965 (a.k.a. R-Car M3-N). > > Signed-off-by: Fabrizio Castro > --- > v2->v3: > * New patch > > arch/arm64/boot/dts/renesas/r8a77965.dtsi | 120

[PATCH 1/3] Bluetooth: hci_bcm: Add compatible string for BCM4389

2020-10-14 Thread Amitesh Chandra
From: Amitesh Chandra Add compatible string match to the serdev driver for the BCM4389 Bluetooth controller Signed-off-by: Amitesh Chandra --- drivers/bluetooth/hci_bcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index

[PATCH v2 7/9] rpmsg: virtio: Add rpmsg channel device ops

2020-10-14 Thread Mathieu Poirier
From: Arnaud Pouliquen Implement the create and release of the RPMsg channel for the RPMsg virtio bus. Signed-off-by: Arnaud Pouliquen Signed-off-by: Mathieu Poirier --- drivers/rpmsg/virtio_rpmsg_bus.c | 22 ++ 1 file changed, 22 insertions(+) diff --git

Re: FW: [PATCH] RDMA/rxe: Fix possible NULL pointer dereference

2020-10-14 Thread Zhu Yanjun
On Wed, Oct 14, 2020 at 8:34 AM Yanjun Zhu wrote: > > > > -Original Message- > From: Alex Dewar > Sent: Tuesday, October 13, 2020 12:53 AM > Cc: Alex Dewar ; Yanjun Zhu ; > Doug Ledford ; Jason Gunthorpe ; Bob > Pearson ; linux-r...@vger.kernel.org; > linux-kernel@vger.kernel.org >

Re: [f2fs-dev] [PATCH 1/2] f2fs: add F2FS_IOC_GET_COMPRESS_OPTION ioctl

2020-10-14 Thread Daeho Jeong
Randy, I'll talk with F2FS maintainers about this. Eric, Sure, I'll add it in the commit message. 2020년 10월 13일 (화) 오후 3:13, Eric Biggers 님이 작성: > > On Tue, Oct 13, 2020 at 11:24:28AM +0900, Daeho Jeong wrote: > > From: Daeho Jeong > > > > Added a new F2FS_IOC_GET_COMPRESS_OPTION ioctl to get

[PATCH v2] nvmet: fix uninitialized work for zero kato

2020-10-14 Thread zhenwei pi
Hit a warning: WARNING: CPU: 1 PID: 241 at kernel/workqueue.c:1627 __queue_delayed_work+0x6d/0x90 with trace: mod_delayed_work_on+0x59/0x90 nvmet_update_cc+0xee/0x100 [nvmet] nvmet_execute_prop_set+0x72/0x80 [nvmet] nvmet_tcp_try_recv_pdu+0x2f7/0x770 [nvmet_tcp]

Re: [PATCH v2] powerpc/pci: unmap legacy INTx interrupts when a PHB is removed

2020-10-14 Thread Alexey Kardashevskiy
On 23/09/2020 17:06, Cédric Le Goater wrote: On 9/23/20 2:33 AM, Qian Cai wrote: On Fri, 2020-08-07 at 12:18 +0200, Cédric Le Goater wrote: When a passthrough IO adapter is removed from a pseries machine using hash MMU and the XIVE interrupt mode, the POWER hypervisor expects the guest OS

[PATCH] fs: btrfs: Fix incorrect printf qualifier

2020-10-14 Thread Pujin Shi
This patch addresses a compile warning: fs/btrfs/extent-tree.c: In function '__btrfs_free_extent': fs/btrfs/extent-tree.c:3187:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'unsigned int' [-Wformat=] Fixes: 3b7b6ffa4f8f ("btrfs: extent-tree: kill

Re: [PATCH] arm64: vdso32: Allow ld.lld to properly link the VDSO

2020-10-14 Thread Nick Desaulniers
On Mon, Oct 12, 2020 at 8:41 PM Nathan Chancellor wrote: > > As it stands now, the vdso32 Makefile hardcodes the linker to ld.bfd > using -fuse-ld=bfd with $(CC). This was taken from the arm vDSO > Makefile, as the comment notes, done in commit d2b30cd4b722 ("ARM: > 8384/1: VDSO: force use of BFD

Re: [PATCH 4.14 00/70] 4.14.201-rc1 review

2020-10-14 Thread Shuah Khan
On 10/12/20 7:26 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.201 release. There are 70 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 should be

Re: [PATCH 4/5] RISC-V: Protect .init.text & .init.data

2020-10-14 Thread Jim Wilson
On Tue, Oct 13, 2020 at 3:25 PM Atish Patra wrote: > This happens only when copy_from_user is called from function that is > annotated with __init. > Adding Kito & Jim for their input > > @kito, @Jim: Please let me know if I should create a issue in > riscv-gnu-toolchain repo or somewhere else.

WARNING: at net/netfilter/nf_tables_api.c:622 lockdep_nfnl_nft_mutex_not_held+0x28/0x38 [nf_tables]

2020-10-14 Thread Naresh Kamboju
While running kselftest netfilter on arm64 hikey device on Linux next 20201013 the following kernel warning noticed. metadata: git branch: master git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git commit: f2fb1afc57304f9dd68c20a08270e287470af2eb git

[PATCH v4 5/5] x86: mremap speedup - Enable HAVE_MOVE_PUD

2020-10-14 Thread Kalesh Singh
HAVE_MOVE_PUD enables remapping pages at the PUD level if both the source and destination addresses are PUD-aligned. With HAVE_MOVE_PUD enabled it can be inferred that there is approximately a 13x improvement in performance on x86. (See data below). --- Test Results - The following

Re: [PATCH 4.4 00/39] 4.4.239-rc1 review

2020-10-14 Thread Shuah Khan
On 10/12/20 7:26 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.239 release. There are 39 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 should be

[PATCH v5 2/2] PCI/ERR: Split the fatal and non-fatal error recovery handling

2020-10-14 Thread Kuppuswamy Sathyanarayanan
Commit bdb5ac85777d ("PCI/ERR: Handle fatal error recovery") merged fatal and non-fatal error recovery paths, and also made recovery code depend on hotplug handler for "remove affected device + rescan" support. But this change also complicated the error recovery path and which in turn led to the

[PATCH v2 2/9] rpmsg: Introduce __rpmsg{16|32|64} types

2020-10-14 Thread Mathieu Poirier
Introduce __rpmsg{16|32|64} types along with byte order conversion functions based on an rpmsg_device operation as a foundation to make RPMSG modular and transport agnostic. Suggested-by: Guennadi Liakhovetski Signed-off-by: Mathieu Poirier --- include/linux/rpmsg.h| 51

Re: [PATCH v3 2/2] arm64: dts: rockchip: Add basic support for Kobol's Helios64

2020-10-14 Thread Johan Jonker
Hi Uwe, On 10/13/20 10:22 PM, Uwe Kleine-König wrote: > Hello Johan, > > On 10/13/20 7:34 PM, Johan Jonker wrote: >> Part 1 of 2 missing here. > > Please complain to gmail then, given that patch 1 can be found on >

Re: [PATCH v2 2/2] [RFC] CPUFreq: Add support for cpu-perf-dependencies

2020-10-14 Thread Viresh Kumar
On 13-10-20, 14:53, Lukasz Luba wrote: > I've started wondering based on the OPP code if this is a good solution. > We would end up with one (?) instance of opp_table and list of devices > pinned to it, in: opp_table->dev_list > It can be seen e.g. in function dev_pm_opp_get_sharing_cpus(), >

Re: [PATCH 1/2] fs, close_range: add flag CLOSE_RANGE_CLOEXEC

2020-10-14 Thread Rasmus Villemoes
On 13/10/2020 23.09, Al Viro wrote: > On Tue, Oct 13, 2020 at 04:06:08PM +0200, Giuseppe Scrivano wrote: >> +spin_lock(_fds->file_lock); >> +fdt = files_fdtable(cur_fds); >> +cur_max = fdt->max_fds - 1; >> +max_fd = min(max_fd, cur_max); >> +

Re: [RFC PATCH 13/22] x86/fpu/xstate: Expand dynamic user state area on first use

2020-10-14 Thread Andy Lutomirski
> On Oct 13, 2020, at 3:44 PM, Dave Hansen wrote: > > On 10/13/20 3:31 PM, Brown, Len wrote: >> vmalloc() does not fail, and does not return an error, and so there is no >> concept >> of returning a signal. > > Well, the order-0 allocations are no-fail, as are the vmalloc kernel >

Re: [PATCH 4.9 00/54] 4.9.239-rc1 review

2020-10-14 Thread Shuah Khan
On 10/12/20 7:26 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.239 release. There are 54 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 should be

[PATCH v2 3/9] rpmsg: virtio: Move from virtio to rpmsg byte conversion

2020-10-14 Thread Mathieu Poirier
Use rpmsg byte conversion functions in order for the RPMSG headers and generic functions to be used by external entities. Signed-off-by: Mathieu Poirier --- drivers/rpmsg/virtio_rpmsg_bus.c | 60 +++- 1 file changed, 35 insertions(+), 25 deletions(-) diff --git

[PATCH] firmware: arm_scmi: Fix duplicate workqueue name

2020-10-14 Thread Florian Fainelli
When more than a single SCMI device are present in the system, the creation of the notification workqueue with the WQ_SYSFS flag will lead to the following sysfs duplicate node warning: [9.259990] sysfs: cannot create duplicate filename '/devices/virtual/workqueue/scmi_notify' [9.260024]

Re: [PATCH 3/4] kernel: add support for TIF_NOTIFY_SIGNAL

2020-10-14 Thread Jens Axboe
On 10/13/20 5:45 PM, Thomas Gleixner wrote: > On Fri, Oct 09 2020 at 09:13, Jens Axboe wrote: >>> Hmm. I just noticed that only x86 uses arch_do_signal(), so perhaps you can >>> add this change to this patch right now? Up to you. >> >> Sure, we can do that. Incremental on top then looks like the

[PATCH v4 0/5] Speed up mremap on large regions

2020-10-14 Thread Kalesh Singh
This is a repost of the mremap speed up patches, adding Kirill's Acked-by's (from a separate discussion). The previous versions are posted at: v1 - https://lore.kernel.org/r/20200930222130.4175584-1-kaleshsi...@google.com v2 -

using one gpio for multiple dht22 sensors

2020-10-14 Thread Rasmus Villemoes
Hi Peter Since you're the author of io-channel-mux.txt, gpio-mux.txt and mux-controller.txt, I hope you don't mind me asking some perhaps silly questions. I'm going to hook up a bunch of dht22 humidity (and temperature) sensors [1] (drivers/iio/humidity/dht11.c), but partly due to limited number

<    5   6   7   8   9   10   11   12   13   >