Re: [PATCH V3 2/3] arm64: dts: qcom: sc7180: Add sleep pin ctrl for BT uart

2020-08-25 Thread Matthias Kaehlcke
On Tue, Aug 25, 2020 at 06:42:28PM +0530, ska...@codeaurora.org wrote: > On 2020-08-21 22:52, Matthias Kaehlcke wrote: > > On Thu, Aug 20, 2020 at 07:21:06PM +0530, satya priya wrote: > > > Add sleep pin ctrl for BT uart, and also change the bias > > > configuration to match Bluetooth module. > > >

Re: [PATCH v2 1/1] mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary

2020-08-25 Thread Eric W. Biederman
Suren Baghdasaryan writes: > Currently __set_oom_adj loops through all processes in the system to > keep oom_score_adj and oom_score_adj_min in sync between processes > sharing their mm. This is done for any task with more that one mm_users, > which includes processes with multiple threads (shari

Re: [PATCH v2 1/2] PM / Domains: Add GENPD_FLAG_NO_SUSPEND/RESUME flags

2020-08-25 Thread Sibi Sankar
On 2020-08-25 12:50, Stephen Boyd wrote: Quoting Bjorn Andersson (2020-08-24 09:42:12) On Fri 21 Aug 14:41 PDT 2020, Stephen Boyd wrote: > Quoting Sibi Sankar (2020-08-21 13:49:20) > > Add GENPD_FLAG_NO_SUSPEND/RESUME flags to instruct genpd to keep the > > status of the PM domain unaltered dur

Re: [net v3 PATCH] net: ethernet: ti: cpsw_new: fix error handling in cpsw_ndo_vlan_rx_kill_vid()

2020-08-25 Thread David Miller
From: Murali Karicheri Date: Mon, 24 Aug 2020 13:01:00 -0400 > + ret = cpsw_ale_del_vlan(cpsw->ale, vid, 0); > + if (ret) > + dev_err(priv->dev, "%s: failed %d: ret %d\n", > + __func__, __LINE__, ret); > + ret = cpsw_ale_del_ucast(cpsw->ale, priv->mac_a

Re: [REGRESSION] x86/cpu fsgsbase breaks TLS in 32 bit rr tracees on a 64 bit system

2020-08-25 Thread Kyle Huey
On Tue, Aug 25, 2020 at 9:12 AM Andy Lutomirski wrote: > I don’t like this at all. Your behavior really shouldn’t depend on > whether the new instructions are available. Also, some day I would > like to change Linux to have the new behavior even if FSGSBASE > instructions are not available, and t

Re: [PATCH 00/13] lib/generic-radix-tree: genradix bug fix and optimisations.

2020-08-25 Thread Kent Overstreet
On Tue, Aug 25, 2020 at 04:00:35PM +, David Laight wrote: > From: 'Marcelo Ricardo Leitner' > > Sent: 25 August 2020 16:41 > > > > On Tue, Aug 25, 2020 at 02:52:34PM +, David Laight wrote: > > > The genradix code is used by SCTP for accessing per-stream data. > > > This means there are qui

Re: [Intel-gfx] 5.9-rc1: graphics regression moved from -next to mainline

2020-08-25 Thread Harald Arnesen
Jani Nikula [25.08.2020 11:55]: > On Fri, 21 Aug 2020, Pavel Machek wrote: >> On Thu 2020-08-20 09:16:18, Linus Torvalds wrote: >>> On Thu, Aug 20, 2020 at 2:23 AM Pavel Machek wrote: >>> > >>> > Yes, it seems they make things work. (Chris asked for new patch to be >>> > tested, so I am switchin

Re: [PATCH] MAINTAINERS: add namespace entry

2020-08-25 Thread Eric W. Biederman
A) If we are going to have this discussion in public we really should include the containers list. B) The challenge is that most of the namespace work has become part of it's upstream subsystem so we really need to list the containers list and ourselves as reviewers, more than maintaine

[PATCH 2/4] ARM: dts: r8a7742-iwg21d-q7: Add SPI NOR support

2020-08-25 Thread Lad Prabhakar
Add support for the SPI NOR device which is connected to MSIOF0 interface on the iWave RainboW-G21d-q7 board. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 31 + 1 file changed, 31 insertions(+) diff --git a/arch/

[PATCH 3/4] ARM: dts: r8a7742-iwg21d-q7: Add can0 support to carrier board

2020-08-25 Thread Lad Prabhakar
This patch enables CAN0 interface exposed through connector J20 on the carrier board. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-

[PATCH 1/4] ARM: dts: r8a7742-iwg21d-q7: Enable PCIe Controller

2020-08-25 Thread Lad Prabhakar
Enable PCIe Controller and set PCIe bus clock frequency. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iw

[PATCH 0/4] iWave G21D-Q7 enable PCIe, flash, CAN and SD2 LED

2020-08-25 Thread Lad Prabhakar
Hi All, This patch series enables PCIe, SPI NOR flash, CAN0 and SD2 LED indication on iWave G21D-Q7 board. Patches apply on top of [1] and also dependent on patch [2] [1] https://git.kernel.org/pub/scm/linux/kernel/git/geert/ renesas-devel.git/log/?h=renesas-arm-dt-for-v5.10 [2] https://patch

[PATCH 4/4] ARM: dts: r8a7742-iwg21d-q7: Enable SD2 LED indication

2020-08-25 Thread Lad Prabhakar
Add support for LED trigger on SD2 interface. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts i

Re: [PATCH] IB/qib: remove superfluous fallthrough statements

2020-08-25 Thread Joe Perches
On Tue, 2020-08-25 at 11:19 -0500, Gustavo A. R. Silva wrote: > > On 8/25/20 10:51, Alex Dewar wrote: > > Commit 36a8f01cd24b ("IB/qib: Add congestion control agent implementation") > > erroneously marked a couple of switch cases as /* FALLTHROUGH */, which > > were later converted to fallthrough

Re: [RESEND PATCH v1 2/4] dt-bindings: power: reset: Add alternate reboot mode format

2020-08-25 Thread Sebastian Reichel
Hi, On Tue, Aug 18, 2020 at 11:54:14AM -0700, Elliot Berman wrote: > Current reboot-mode device tree schema does not support reboot commands > with spaces in them [1]. Add an optional new node "reboot-mode-names" > and "reboot-mode-magic" which add an array of strings and u32s, > respectively whic

Re: [PATCH 6/7] mm: Pass pvec directly to find_get_entries

2020-08-25 Thread Johannes Weiner
On Tue, Aug 25, 2020 at 02:28:14PM +0100, Matthew Wilcox wrote: > On Tue, Aug 25, 2020 at 02:33:24PM +0200, Jan Kara wrote: > > On Mon 24-08-20 18:36:39, Matthew Wilcox wrote: > > > We already have functions in filemap which take a pagevec, eg > > > page_cache_delete_batch() and delete_from_page_ca

Re: [net-next v5 2/2] seg6: Add documentation for seg6_inherit_inner_ipv4_dscp sysctl

2020-08-25 Thread David Miller
From: Ahmed Abdelsalam Date: Tue, 25 Aug 2020 18:01:01 +0200 > patch fixed and resent. You must resubmit the entire patch series when you update any patch in the series. You should also provide a proper header "[PATCH 0/N]" posting for your series which explains what the series does, how does i

Re: [PATCH v2] fs/ceph: use pipe_get_pages_alloc() for pipe

2020-08-25 Thread Jeff Layton
On Mon, 2020-08-24 at 18:20 -0700, John Hubbard wrote: > This reduces, by one, the number of callers of iov_iter_get_pages(). > That's helpful because these calls are being audited and converted over > to use iov_iter_pin_user_pages(), where applicable. And this one here is > already known by the c

Re: [RESEND PATCH v1 1/4] dt-bindings: power: reset: Convert reboot-mode to YAML

2020-08-25 Thread Sebastian Reichel
Hi, Thanks, queued. -- Sebastian On Tue, Aug 18, 2020 at 11:54:13AM -0700, Elliot Berman wrote: > Convert reboot-mode bindings to YAML. > > Signed-off-by: Elliot Berman > --- > .../bindings/power/reset/reboot-mode.txt | 25 > .../bindings/power/reset/reboot-mode.yaml

Re: [PATCH 1/1] dt-bindings: riscv: sifive-l2-cache: convert bindings to json-schema

2020-08-25 Thread Rob Herring
On Tue, Aug 25, 2020 at 2:47 AM Sagar Kadam wrote: > > Hello Rob, > > > -Original Message- > > From: Rob Herring > > Sent: Monday, August 24, 2020 11:06 PM > > To: Sagar Kadam > > Cc: a...@eecs.berkeley.edu; devicet...@vger.kernel.org; Paul Walmsley ( > > Sifive) ; robh...@kernel.org; Ya

Re: [PATCH 0/3] SiFive DDR controller and EDAC support

2020-08-25 Thread Palmer Dabbelt
On Tue, 25 Aug 2020 09:19:58 PDT (-0700), b...@alien8.de wrote: On Tue, Aug 25, 2020 at 09:02:54AM -0700, Palmer Dabbelt wrote: Thanks. These look good to me and I'm happy to take them through the RISC-V tree, but I'm going to wait for a bit to see if there are any comments from the maintainers

Re: [PATCH 0/3] SiFive DDR controller and EDAC support

2020-08-25 Thread Borislav Petkov
On Tue, Aug 25, 2020 at 09:02:54AM -0700, Palmer Dabbelt wrote: > Thanks. These look good to me and I'm happy to take them through the RISC-V > tree, but I'm going to wait for a bit to see if there are any comments from > the > maintainers of the various subsystems before doing so. I'll have a l

[PATCH] USB: core: limit access to rawdescriptors which were not allocated

2020-08-25 Thread yanfei.xu
From: Yanfei Xu When using systemcall to read the rawdescriptors, make sure we won't access to the rawdescriptors never allocated, which are number exceed the USB_MAXCONFIG. Reported-by: syzbot+256e56ddde8b8957e...@syzkaller.appspotmail.com Signed-off-by: Yanfei Xu --- drivers/usb/core/sysfs.c

Re: [PATCH v4 00/10] Function Granular KASLR

2020-08-25 Thread Joe Lawrence
On 8/21/20 7:02 PM, Kristen Carlson Accardi wrote: On Wed, 2020-07-22 at 16:33 -0500, Josh Poimboeuf wrote: On Wed, Jul 22, 2020 at 12:56:10PM -0700, Kristen Carlson Accardi wrote: On Wed, 2020-07-22 at 12:42 -0700, Kees Cook wrote: On Wed, Jul 22, 2020 at 11:07:30AM -0500, Josh Poimboeuf wrot

[PATCH v2] MAINTAINERS: add namespace entry

2020-08-25 Thread Christian Brauner
Namespace maintainership has never been formalized which has led to confusion when people need to determine where to send patches and who should take a look at them. Especially, since we have a dedicated list containers.lists.linuxfoundation.org already for a long time. In preparation of this patch

Re: [PATCH] rcu-tasks: Fix compilation warning with !CONFIG_TASKS_RCU and CONFIG_TINY_RCU

2020-08-25 Thread Paul E. McKenney
On Tue, Aug 25, 2020 at 06:22:49PM +0300, Laurent Pinchart wrote: > Hi Paul, > > On Tue, Aug 25, 2020 at 08:02:22AM -0700, Paul E. McKenney wrote: > > On Sun, Aug 23, 2020 at 06:04:05AM +0300, Laurent Pinchart wrote: > > > Commit 8344496e8b49 ("rcu-tasks: Conditionally compile > > > show_rcu_tasks

Re: [PATCH 3/3] PM / Domains: Add support for PM domain on/off notifiers for genpd

2020-08-25 Thread Lina Iyer
On Wed, Aug 19 2020 at 04:41 -0600, Ulf Hansson wrote: A device may have specific HW constraints that must be obeyed to, before its corresponding PM domain (genpd) can be powered off - and vice verse at power on. These constraints can't be managed through the regular runtime PM based deployment f

Re: [PATCH] IB/qib: remove superfluous fallthrough statements

2020-08-25 Thread Gustavo A. R. Silva
On 8/25/20 10:51, Alex Dewar wrote: > Commit 36a8f01cd24b ("IB/qib: Add congestion control agent implementation") > erroneously marked a couple of switch cases as /* FALLTHROUGH */, which > were later converted to fallthrough statements by commit df561f6688fe > ("treewide: Use fallthrough pseudo

Re: [PATCH v5 1/3] drm/vkms: Decouple crc operations from composer

2020-08-25 Thread Melissa Wen
On Mon, Aug 24, 2020 at 11:31 PM Rodrigo Siqueira wrote: > > In the vkms_composer.c, some of the functions related to CRC and compose > have interdependence between each other. This patch reworks some > functions inside vkms_composer to make crc and composer computation > decoupled. > > This patch

Re: [PATCH v11 8/9] x86/vdso: Insert endbr32/endbr64 to vDSO

2020-08-25 Thread Yu, Yu-cheng
On 8/24/2020 5:33 PM, Andy Lutomirski wrote: On Mon, Aug 24, 2020 at 5:30 PM Yu-cheng Yu wrote: From: "H.J. Lu" When Indirect Branch Tracking (IBT) is enabled, vDSO functions may be called indirectly, and must have ENDBR32 or ENDBR64 as the first instruction. The compiler must support -fcf-

Re: [REGRESSION] x86/cpu fsgsbase breaks TLS in 32 bit rr tracees on a 64 bit system

2020-08-25 Thread Andy Lutomirski
> On Aug 24, 2020, at 5:46 PM, Kyle Huey wrote: > > On Mon, Aug 24, 2020 at 5:31 PM Andy Lutomirski wrote: >> >>> On Mon, Aug 24, 2020 at 4:52 PM H. Peter Anvin wrote: >>> >>> On 2020-08-24 14:10, Andy Lutomirski wrote: PTRACE_READ_SEGMENT_DESCRIPTOR to read a segment descriptor.

Re: [PATCH] iommu: Add support to filter non-strict/lazy mode based on device names

2020-08-25 Thread Doug Anderson
Hi, On Tue, Aug 25, 2020 at 8:43 AM Sai Prakash Ranjan wrote: > > Currently the non-strict or lazy mode of TLB invalidation can only be set > for all or no domains. This works well for development platforms where > setting to non-strict/lazy mode is fine for performance reasons but on > productio

Re: [PATCH v5 3/3] drm/vkms: Add support for writeback

2020-08-25 Thread Melissa Wen
On Tue, Aug 25, 2020 at 12:45 PM Melissa Wen wrote: > > On 08/24, Rodrigo Siqueira wrote: > > This patch implements the necessary functions to add writeback support > > for vkms. This feature is useful for testing compositors if you don't > > have hardware with writeback support. > > > > Change in

DHL

2020-08-25 Thread infodhldelivery...@gmail.com

[PATCH v2] efi/efivars: Create efivars mount point via efivars abstraction

2020-08-25 Thread Lee, Chun-Yi
This patch creates efivars mount point when active efivars abstraction be set. It is useful for userland to determine the availability of efivars filesystem. v2: Using efivars_kobject() helper instead of checking GetVariable or GetNextVariable EFI runtime services. Because the efivarfs code could

Re: [PATCH] MAINTAINERS: add namespace entry

2020-08-25 Thread Christian Brauner
On Tue, Aug 25, 2020 at 09:01:01AM -0700, Joe Perches wrote: > On Tue, 2020-08-25 at 17:41 +0200, Christian Brauner wrote: > > Namespace maintainership has never been formalized which has led to > > confusion > > when people need to determine where to send patches and who should take a > > look >

Re: [PATCH v5 1/3] dt-bindings: mmc: Add Sparx5 SDHCI controller bindings

2020-08-25 Thread Rob Herring
On Tue, 25 Aug 2020 10:13:55 +0200, Lars Povlsen wrote: > The Sparx5 SDHCI controller is based on the Designware controller IP. > > Signed-off-by: Lars Povlsen > --- > .../mmc/microchip,dw-sparx5-sdhci.yaml| 65 +++ > 1 file changed, 65 insertions(+) > create mode 100644

Re: [PATCH] power: supply: bq2515x: Constify static variables

2020-08-25 Thread Sebastian Reichel
Hi, On Tue, Aug 25, 2020 at 01:22:28AM +0200, Rikard Falkeborn wrote: > Constify a number of static variables that are not modified to allow the > compiler to put them in read-only memory. > > Signed-off-by: Rikard Falkeborn > --- Thanks, queued. -- Sebastian > drivers/power/supply/bq2515x_c

Re: [PATCH 0/3] SiFive DDR controller and EDAC support

2020-08-25 Thread Palmer Dabbelt
On Tue, 25 Aug 2020 05:06:19 PDT (-0700), yash.s...@sifive.com wrote: The series add supports for SiFive DDR controller driver. This driver is use to manage the Cadence DDR controller present in SiFive SoCs. Currently it manages only the EDAC feature of the DDR controller. The series also adds Me

Re: [PATCH 3/3] edac: sifive: Add EDAC support for Memory Controller in SiFive SoCs

2020-08-25 Thread Palmer Dabbelt
On Tue, 25 Aug 2020 05:06:22 PDT (-0700), yash.s...@sifive.com wrote: Add Memory controller EDAC support in exisiting SiFive platform EDAC driver. It registers for notifier events from the SiFive DDR controller driver for DDR ECC events. Signed-off-by: Yash Shah --- drivers/edac/Kconfig

Re: [PATCH 1/3] dt-bindings: riscv: Add DT documentation for DDR Controller in SiFive SoCs

2020-08-25 Thread Palmer Dabbelt
On Tue, 25 Aug 2020 05:06:20 PDT (-0700), yash.s...@sifive.com wrote: Add device tree bindings for SiFive FU540 DDR controller driver Signed-off-by: Yash Shah --- .../devicetree/bindings/riscv/sifive-ddr.yaml | 41 ++ 1 file changed, 41 insertions(+) create mode 10064

Re: [PATCH 2/3] soc: sifive: Add SiFive specific Cadence DDR controller driver

2020-08-25 Thread Palmer Dabbelt
On Tue, 25 Aug 2020 05:06:21 PDT (-0700), yash.s...@sifive.com wrote: Add a driver to manage the Cadence DDR controller present on SiFive SoCs At present the driver manages the EDAC feature of the DDR controller. Additional features may be added to the driver in future to control other aspects of

Re: [PATCH v5 0/3] drm/vkms: Introduces writeback support

2020-08-25 Thread Melissa Wen
Hi Rodrigo, Nice work! I tested this on the kms_writeback set of subtests and works fine. I have also checked it on the other IGT tests that I usually uses: - kms_cursor_crc/cursor-alpha-transparent was affected by a small problem in the bitmap_clear of the get_pixel_from_buffer function, th

[net-next v5 1/2] seg6: inherit DSCP of inner IPv4 packets

2020-08-25 Thread Ahmed Abdelsalam
This patch allows SRv6 encapsulation to inherit the DSCP value of the inner IPv4 packet. This allows forwarding packet across the SRv6 fabric based on their original traffic class. The option is controlled through a sysctl (seg6_inherit_inner_ipv4_dscp). The sysctl has to be set to 1 to enable th

Re: [PATCH] MAINTAINERS: add namespace entry

2020-08-25 Thread Joe Perches
On Tue, 2020-08-25 at 17:41 +0200, Christian Brauner wrote: > Namespace maintainership has never been formalized which has led to confusion > when people need to determine where to send patches and who should take a look > at them. Especially, since we have a dedicated list > containers.lists.linux

Re: [net-next v5 2/2] seg6: Add documentation for seg6_inherit_inner_ipv4_dscp sysctl

2020-08-25 Thread Ahmed Abdelsalam
On 25/08/2020 17:51, Jakub Kicinski wrote: On Tue, 25 Aug 2020 12:18:44 + Ahmed Abdelsalam wrote: + Enable the SRv6 encapsulation to inherit the DSCP value of the inner IPv4 packet. + + Default: FALSE (Do not inherit DSCP) + ``conf/default/*``: Change the interface-

RE: [PATCH 00/13] lib/generic-radix-tree: genradix bug fix and optimisations.

2020-08-25 Thread David Laight
From: 'Marcelo Ricardo Leitner' > Sent: 25 August 2020 16:41 > > On Tue, Aug 25, 2020 at 02:52:34PM +, David Laight wrote: > > The genradix code is used by SCTP for accessing per-stream data. > > This means there are quite a lot of lookups but the code wasn't > > really optimised at all. > >

[net-next v5 2/2] seg6: Add documentation for seg6_inherit_inner_ipv4_dscp sysctl

2020-08-25 Thread Ahmed Abdelsalam
This patch adds a documentation for seg6_inherit_inner_ipv4_dscp sysctl into Documentation/networking/ip-sysctl.rst Signed-off-by: Ahmed Abdelsalam --- Documentation/networking/ip-sysctl.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/networking/ip-sysctl.rst b/Docume

Re: [RFC] perf/jevents: Add new structure to pass json fields.

2020-08-25 Thread Andi Kleen
On Tue, Aug 25, 2020 at 01:10:41PM +0530, Kajol Jain wrote: > This patch adds new structure called 'json_event' inside jevents.h > file to improve the callback prototype inside jevent files. > Initially, whenever user want to add new field, they need to update > in all function callback which make

Re: [PATCH v2] checkpatch: Warn if trace_printk and friends are called

2020-08-25 Thread Joe Perches
On Tue, 2020-08-25 at 19:36 +0800, Nicolas Boichat wrote: > trace_printk is meant as a debugging tool, and should not be > compiled into production code without specific debug Kconfig > options enabled, or source code changes, as indicated by the > warning that shows up on boot if any trace_printk

Re: [PATCH v2 2/5] cpufreq: intel_pstate: Always return last EPP value from sysfs

2020-08-25 Thread Rafael J. Wysocki
On Tue, Aug 25, 2020 at 5:27 PM Srinivas Pandruvada wrote: > > On Tue, 2020-08-25 at 17:14 +0200, Rafael J. Wysocki wrote: > > On Tue, Aug 25, 2020 at 5:06 PM Srinivas Pandruvada > > wrote: > > > On Tue, 2020-08-25 at 16:51 +0200, Rafael J. Wysocki wrote: > > > > On Tue, Aug 25, 2020 at 8:20 AM A

Re: [PATCH v3 1/2] dt-bindings: arm: at91: Add GARDENA smart Gateway (Art. 19000) board

2020-08-25 Thread Alexandre Belloni
On Sat, 22 Aug 2020 17:10:20 +0200, Reto Schneider wrote: > Document devicetree's bindings for the GARDENA smart Gateway with > article number 19000, based on the SAM9G25 Atmel SoC. Applied, thanks! I did join back the long line in the device tree documention as I found that clearer. [1/2] dt-bi

Re: [PATCH v3 2/2] dynamic debug: allow printing to trace event

2020-08-25 Thread Joe Perches
On Tue, 2020-08-25 at 17:33 +0200, Vincent Whitchurch wrote: > When debugging device drivers, I've found it very useful to be able to > redirect existing pr_debug()/dev_dbg() prints to the trace buffer > instead of dmesg. Among the many advantages of the trace buffer is that > it can be dynamicall

Re: [PATCH] sched/numa: use runnable_avg to classify node

2020-08-25 Thread Vincent Guittot
On Tue, 25 Aug 2020 at 15:58, Mel Gorman wrote: > > On Tue, Aug 25, 2020 at 02:18:18PM +0200, Vincent Guittot wrote: > > Use runnable_avg to classify numa node state similarly to what is done for > > normal load balancer. This helps to ensure that numa and normal balancers > > use the same view of

[PATCH] IB/qib: remove superfluous fallthrough statements

2020-08-25 Thread Alex Dewar
Commit 36a8f01cd24b ("IB/qib: Add congestion control agent implementation") erroneously marked a couple of switch cases as /* FALLTHROUGH */, which were later converted to fallthrough statements by commit df561f6688fe ("treewide: Use fallthrough pseudo-keyword"). This triggered a Coverity warning a

Re: [net v3 PATCH 1/2] net: ethernet: ti: cpsw: fix clean up of vlan mc entries for host port

2020-08-25 Thread David Miller
From: Murali Karicheri Date: Mon, 24 Aug 2020 11:10:52 -0400 > To flush the vid + mc entries from ALE, which is required when a VLAN > interface is removed, driver needs to call cpsw_ale_flush_multicast() > with ALE_PORT_HOST for port mask as these entries are added only for > host port. Without

Re: [net-next v5 2/2] seg6: Add documentation for seg6_inherit_inner_ipv4_dscp sysctl

2020-08-25 Thread Jakub Kicinski
On Tue, 25 Aug 2020 12:18:44 + Ahmed Abdelsalam wrote: > + Enable the SRv6 encapsulation to inherit the DSCP value of the inner > IPv4 packet. > > + > + Default: FALSE (Do not inhe

Re: [net v3 PATCH 2/2] net: ethernet: ti: cpsw_new: fix clean up of vlan mc entries for host port

2020-08-25 Thread David Miller
From: Murali Karicheri Date: Mon, 24 Aug 2020 11:10:53 -0400 > To flush the vid + mc entries from ALE, which is required when a VLAN > interface is removed, driver needs to call cpsw_ale_flush_multicast() > with ALE_PORT_HOST for port mask as these entries are added only for > host port. Without

[PATCH v2] HID: google: add google vivaldi HID driver

2020-08-25 Thread Sean O'Brien
Add Google vivaldi HID driver. This driver allows us to read and report the top row layout of keyboards which provide a vendor-defined HID usage. Signed-off-by: Sean O'Brien --- drivers/hid/Kconfig | 9 ++ drivers/hid/Makefile | 1 + drivers/hid/hid-core.c

Re: [PATCH v1] thermal/of: Introduce k-po, k-pu and k-i for a thermal zone

2020-08-25 Thread Rob Herring
On Tue, Aug 25, 2020 at 3:44 AM Daniel Lezcano wrote: > > On 25/08/2020 10:25, Lukasz Luba wrote: > > Hi Rob, > > > > On 8/25/20 12:09 AM, Rob Herring wrote: > >> On Tue, Aug 11, 2020 at 08:31:15PM +0800, Finley Xiao wrote: > >>> The default value for k_pu is: > >>> 2 * sustainable_power / (d

Re: [PATCH 1/7] media: sun6i-csi: Fix the bpp for 10-bit bayer formats

2020-08-25 Thread Chen-Yu Tsai
On Fri, Aug 21, 2020 at 11:00 PM Kévin L'hôpital wrote: > > 10-bit bayer formats are aligned to 16 bits in memory, so this is what > needs to be used as bpp for calculating the size of the buffers to > allocate. > > Signed-off-by: Kévin L'hôpital Please add: Fixes: 5cc7522d8965 ("media: sun6i:

Re: INFO: rcu detected stall in smp_call_function

2020-08-25 Thread Paul E. McKenney
On Tue, Aug 25, 2020 at 03:24:11PM +0200, pet...@infradead.org wrote: > > +Cc Paul, who was weirdly forgotten last time > > And one additional question below, which made me remember this thing. > > On Wed, Jul 29, 2020 at 02:58:11PM +0200, pet...@infradead.org wrote: > > > > rcu: INFO: rcu_pree

Re: [PATCH] IMA: Handle early boot data measurement

2020-08-25 Thread Lakshmi Ramasubramanian
On 8/25/20 8:40 AM, Mimi Zohar wrote: On Fri, 2020-08-21 at 16:12 -0700, Lakshmi Ramasubramanian wrote: The current implementation of early boot measurement in the IMA subsystem is very specific to asymmetric keys. It does not handle early boot measurement of data from other subsystems such as L

Re: [PATCH 1/3] dt-bindings: Add support for Broadcom USB pin map driver

2020-08-25 Thread Rob Herring
+Linus W On Tue, Aug 25, 2020 at 6:26 AM Alan Cooper wrote: > > On Mon, Aug 24, 2020 at 7:30 PM Rob Herring wrote: > > > > On Wed, Aug 12, 2020 at 04:20:16PM -0400, Al Cooper wrote: > > > Add DT bindings for the Broadcom USB pin map driver. This driver allows > > > some USB input and output sign

Re: [PATCH v2 7/9] spi: spi-s3c64xx: Ensure cur_speed holds actual clock value

2020-08-25 Thread Lukasz Stelmach
It was <2020-08-25 wto 17:11>, when Tomasz Figa wrote: > On Tue, Aug 25, 2020 at 11:02 AM Lukasz Stelmach > wrote: >> >> It was <2020-08-24 pon 15:21>, when Tomasz Figa wrote: >> > On Mon, Aug 24, 2020 at 3:17 PM Lukasz Stelmach >> > wrote: >> >> >> >> It was <2020-08-22 sob 14:43>, when Krzysz

Re: [PATCH v5 3/3] drm/vkms: Add support for writeback

2020-08-25 Thread Melissa Wen
On 08/24, Rodrigo Siqueira wrote: > This patch implements the necessary functions to add writeback support > for vkms. This feature is useful for testing compositors if you don't > have hardware with writeback support. > > Change in V4 (Emil and Melissa): > - Move signal completion above drm_crtc_

Re: [PATCH v2] kobject: Restore old behaviour of kobject_del(NULL)

2020-08-25 Thread Greg Kroah-Hartman
On Tue, Aug 25, 2020 at 05:41:09PM +0300, Andy Shevchenko wrote: > On Mon, Aug 03, 2020 at 11:46:59AM +0200, Greg Kroah-Hartman wrote: > > On Mon, Aug 03, 2020 at 11:27:06AM +0300, Andy Shevchenko wrote: > > > The commit 079ad2fb4bf9 ("kobject: Avoid premature parent object freeing > > > in > > >

[PATCH] USB: integrate macro definitions into include/linux/usb.h

2020-08-25 Thread yanfei.xu
From: Yanfei Xu include/linux/usb.h also contains 'Hard limit' and 'Arbitrary limit' macro definitions in it, hence we can integrate these from config.c into include/linux/usb.h Signed-off-by: Yanfei Xu --- drivers/usb/core/config.c | 3 --- include/linux/usb.h | 3 +++ 2 files changed,

Re: [PATCH v2 1/1] mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary

2020-08-25 Thread Oleg Nesterov
On 08/25, Michal Hocko wrote: > > Btw. now that the flag is in place we can optimize __oom_kill_process as > well. and zap_threads(). Oleg.

Re: [PATCH] net: usb: Fix uninit-was-stored issue in asix_read_cmd()

2020-08-25 Thread Greg Kroah-Hartman
On Tue, Aug 25, 2020 at 04:44:37PM +0200, Greg Kroah-Hartman wrote: > On Tue, Aug 25, 2020 at 10:39:46AM -0400, Alan Stern wrote: > > On Tue, Aug 25, 2020 at 08:51:35AM +0200, Greg Kroah-Hartman wrote: > > > At first glance, I think this can all be cleaned up, but it will take a > > > bit of tree-w

[PATCH] iommu: Add support to filter non-strict/lazy mode based on device names

2020-08-25 Thread Sai Prakash Ranjan
Currently the non-strict or lazy mode of TLB invalidation can only be set for all or no domains. This works well for development platforms where setting to non-strict/lazy mode is fine for performance reasons but on production devices, we need a more fine grained control to allow only certain perip

Re: [PATCH v5 2/3] drm/vkms: Compute CRC without change input data

2020-08-25 Thread Melissa Wen
On 08/24, Rodrigo Siqueira wrote: > The compute_crc() function is responsible for calculating the > framebuffer CRC value; due to the XRGB format, this function has to > ignore the alpha channel during the CRC computation. Therefore, > compute_crc() set zero to the alpha channel directly in the inp

[PATCH] MAINTAINERS: add namespace entry

2020-08-25 Thread Christian Brauner
Namespace maintainership has never been formalized which has led to confusion when people need to determine where to send patches and who should take a look at them. Especially, since we have a dedicated list containers.lists.linuxfoundation.org already for a long time. In preparation of this patch

Re: [PATCH 00/13] lib/generic-radix-tree: genradix bug fix and optimisations.

2020-08-25 Thread 'Marcelo Ricardo Leitner'
On Tue, Aug 25, 2020 at 02:52:34PM +, David Laight wrote: > The genradix code is used by SCTP for accessing per-stream data. > This means there are quite a lot of lookups but the code wasn't > really optimised at all. My test box is down for the moment and will bring it on later today or tomor

Re: [PATCH] IMA: Handle early boot data measurement

2020-08-25 Thread Mimi Zohar
On Fri, 2020-08-21 at 16:12 -0700, Lakshmi Ramasubramanian wrote: > The current implementation of early boot measurement in > the IMA subsystem is very specific to asymmetric keys. It does not > handle early boot measurement of data from other subsystems such as > Linux Security Module (LSM), Devic

Re: [PATCH v2] dynamic debug: allow printing to trace event

2020-08-25 Thread Vincent Whitchurch
On Fri, Aug 14, 2020 at 07:15:31PM +0200, Steven Rostedt wrote: > On Fri, 14 Aug 2020 15:31:51 +0200 > Vincent Whitchurch wrote: > > index aa9ff9e1c0b3..f599ed21ecc5 100644 > > --- a/include/linux/dynamic_debug.h > > +++ b/include/linux/dynamic_debug.h > > @@ -27,13 +27,16 @@ struct _ddebug { > >

[PATCH net] mwifiex: Increase AES key storage size to 256 bits

2020-08-25 Thread Maximilian Luz
Following commit e18696786548 ("mwifiex: Prevent memory corruption handling keys") the mwifiex driver fails to authenticate with certain networks, specifically networks with 256 bit keys, and repeatedly asks for the password. The kernel log repeats the following lines (id and bssid redacted):

Re: [PATCH 0/7] Allwinner A64 digital audio codec fixes

2020-08-25 Thread Mark Brown
On Mon, Aug 24, 2020 at 04:03:34PM +0200, Maxime Ripard wrote: > > [5/7] ARM: dts: sun8i: a33: Update codec widget names > > (no commit info) > > [6/7] arm64: dts: allwinner: a64: Update codec widget names > > (no commit info) > > [7/7] arm64: dts: allwinner: a64: Update the audio code

Re: [RESEND PATCH v2 0/6] dmaengine: axi-dmac: add support for reading bus attributes from register

2020-08-25 Thread Vinod Koul
On 25-08-20, 18:19, Alexandru Ardelean wrote: > The series adds support for reading the DMA bus attributes from the > INTERFACE_DESCRIPTION (0x10) register. > > The first 5 changes are a bit of rework prior to adding the actual > change in patch 6, as things need to be shifted around a bit, to ena

Re: [PATCH] mm/hugetlb: Fix a race between hugetlb sysctl handlers

2020-08-25 Thread Andi Kleen
> Fixes: e5ff215941d5 ("hugetlb: multiple hstates for multiple page sizes") I don't think the Fixes line is correct. The original patch just used a global variable and didn't have this race. It must have been added later in some other patch that added hugetlb_sysctl_handler_common. -Andi

[PATCH v3 2/2] dynamic debug: allow printing to trace event

2020-08-25 Thread Vincent Whitchurch
When debugging device drivers, I've found it very useful to be able to redirect existing pr_debug()/dev_dbg() prints to the trace buffer instead of dmesg. Among the many advantages of the trace buffer is that it can be dynamically resized, allows these prints to combined with other trace events, a

[PATCH v3 0/2] Dynamic debug trace support

2020-08-25 Thread Vincent Whitchurch
v3: - Split flag rename to a separate patch - Rename event to printk:dyndbg v2: - Remove stack buffer and use code similar to __ftrace_trace_stack() - Use an event with the same class as printk:console Vincent Whitchurch (2): dynamic debug: split enable and printk flags dynamic debug: all

[PATCH v3 1/2] dynamic debug: split enable and printk flags

2020-08-25 Thread Vincent Whitchurch
We're going to add support to allow dynamic debug locations to print to a trace event, and that will make _DPRINTK_FLAGS_PRINT a bit ambiguous. Will it mean printk(), or printing to the trace event, or any of the two? To make it clearer, split _DPRINTK_FLAGS_PRINT into two: (1) _DPRINTK_FLAGS_PR

Re: [PATCH v2] dynamic debug: allow printing to trace event

2020-08-25 Thread Vincent Whitchurch
On Fri, Aug 14, 2020 at 11:30:34PM +0200, Jason Baron wrote: > On 8/14/20 1:15 PM, Steven Rostedt wrote: > > On Fri, 14 Aug 2020 15:31:51 +0200 > > Vincent Whitchurch wrote: > >> index aa9ff9e1c0b3..f599ed21ecc5 100644 > >> --- a/include/linux/dynamic_debug.h > >> +++ b/include/linux/dynamic_debug

Re: [RFC PATCH 1/5] printk: implement pr_cont_t

2020-08-25 Thread Petr Mladek
On Tue 2020-08-25 13:38:57, David Laight wrote: > From: Petr Mladek > > Sent: 25 August 2020 14:11 > > > > On Thu 2020-08-20 12:33:23, David Laight wrote: > > > From: Petr Mladek > > > > Sent: 20 August 2020 11:16 > > > ... > > > > Now that I think about it. This is the biggest problem with any >

Re: [PATCH v2 2/5] cpufreq: intel_pstate: Always return last EPP value from sysfs

2020-08-25 Thread Srinivas Pandruvada
On Tue, 2020-08-25 at 17:14 +0200, Rafael J. Wysocki wrote: > On Tue, Aug 25, 2020 at 5:06 PM Srinivas Pandruvada > wrote: > > On Tue, 2020-08-25 at 16:51 +0200, Rafael J. Wysocki wrote: > > > On Tue, Aug 25, 2020 at 8:20 AM Artem Bityutskiy < > > > dedeki...@gmail.com > > > > wrote: > > > > On Mo

Re: [PATCH v3 05/11] genirq: Shutdown irq chips in suspend/resume during hibernation

2020-08-25 Thread Thomas Gleixner
On Tue, Aug 25 2020 at 14:20, Christoph Hellwig wrote: > On Sat, Aug 22, 2020 at 02:36:37AM +0200, Thomas Gleixner wrote: >> From: Thomas Gleixner >> >> followed by an empty new line before the actual changelog text >> starts. That way the attribution of the patch when applying it will be >> corr

Re: TDX #VE in SYSCALL gap (was: [RFD] x86: Curing the exception and syscall trainwreck in hardware)

2020-08-25 Thread Dave Hansen
On 8/24/20 9:39 PM, Sean Christopherson wrote: > +Andy > > On Mon, Aug 24, 2020 at 02:52:01PM +0100, Andrew Cooper wrote: >> And to help with coordination, here is something prepared (slightly) >> earlier. >> >> https://docs.google.com/document/d/1hWejnyDkjRRAW-JEsRjA5c9CKLOPc6VKJQsuvODlQEI/edit?u

Re: [PATCH 6/7] mm: Pass pvec directly to find_get_entries

2020-08-25 Thread Jan Kara
On Tue 25-08-20 14:28:14, Matthew Wilcox wrote: > On Tue, Aug 25, 2020 at 02:33:24PM +0200, Jan Kara wrote: > > On Mon 24-08-20 18:36:39, Matthew Wilcox wrote: > > > We already have functions in filemap which take a pagevec, eg > > > page_cache_delete_batch() and delete_from_page_cache_batch(). > >

Re: [PATCH] rcu-tasks: Fix compilation warning with !CONFIG_TASKS_RCU and CONFIG_TINY_RCU

2020-08-25 Thread Laurent Pinchart
Hi Paul, On Tue, Aug 25, 2020 at 08:02:22AM -0700, Paul E. McKenney wrote: > On Sun, Aug 23, 2020 at 06:04:05AM +0300, Laurent Pinchart wrote: > > Commit 8344496e8b49 ("rcu-tasks: Conditionally compile > > show_rcu_tasks_gp_kthreads()") introduced conditional compilation of > > several functions,

Re: [PATCH 1/7] media: sun6i-csi: Fix the bpp for 10-bit bayer formats

2020-08-25 Thread Kévin L'hôpital
Hello, Le Mon, 24 Aug 2020 18:55:36 +0200, Maxime Ripard a écrit : > On Fri, Aug 21, 2020 at 04:59:29PM +0200, Kévin L'hôpital wrote: > > 10-bit bayer formats are aligned to 16 bits in memory, so this is > > what needs to be used as bpp for calculating the size of the > > buffers to allocate. >

Re: [PATCH] x86/asm: Replace __force_order with memory clobber

2020-08-25 Thread Sedat Dilek
On Tue, Aug 25, 2020 at 5:19 PM Arvind Sankar wrote: > > On Mon, Aug 24, 2020 at 09:13:34PM +0200, Miguel Ojeda wrote: > > Hi Arvind, > > > > On Sun, Aug 23, 2020 at 11:25 PM Arvind Sankar > > wrote: > > > > > > - Using a dummy input operand with an arbitrary constant address for the > > > rea

Re: [PATCH v4 0/3] io_uring: add restrictions to support untrusted applications and guests

2020-08-25 Thread Stefano Garzarella
Hi Jens, this is a gentle ping. I'll respin, using memdup_user() for restriction registration. I'd like to get some feedback to see if I should change anything else. Do you think it's in good shape? Thanks, Stefano On Thu, Aug 13, 2020 at 5:34 PM Stefano Garzarella wrote: > > v4: > - rebased

Re: [PATCH v2 0/6] dmaengine: axi-dmac: add support for reading bus attributes from register

2020-08-25 Thread Alexandru Ardelean
On Tue, Aug 25, 2020 at 6:14 PM Alexandru Ardelean wrote: > > On Tue, Aug 25, 2020 at 5:46 PM Vinod Koul wrote: > > > > On 25-08-20, 15:48, Alexandru Ardelean wrote: > > > The series adds support for reading the DMA bus attributes from the > > > INTERFACE_DESCRIPTION (0x10) register. > > > > > >

Re: [PATCH 0/7] Support of MIPI CSI-2 for A83T and OV8865 camera

2020-08-25 Thread Kévin L'hôpital
Le Mon, 24 Aug 2020 18:52:44 +0200, Maxime Ripard a écrit : > Hi, > > On Fri, Aug 21, 2020 at 04:59:28PM +0200, Kévin L'hôpital wrote: > > > > Kévin L'hôpital (7): > > media: sun6i-csi: Fix the bpp for 10-bit bayer formats > > dt-bindings: media: i2c: Add documentation for ov8865 > > medi

[RESEND PATCH v2 4/6] dmaengine: axi-dmac: wrap entire dt parse in a function

2020-08-25 Thread Alexandru Ardelean
All these attributes will be read from registers in newer core versions, so just wrap the logic into a function. Signed-off-by: Alexandru Ardelean --- drivers/dma/dma-axi-dmac.c | 40 +++--- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/drivers/d

[PATCH mmotm] x86/numa: fix build when CONFIG_ACPI is not set

2020-08-25 Thread Randy Dunlap
From: Randy Dunlap Fix build errors when CONFIG_ACPI is not set/enabled by adding in the #else (!CONFIG_ACPI) block. ../arch/x86/mm/numa.c: In function ‘numa_setup’: ../arch/x86/mm/numa.c:43:3: error: implicit declaration of function ‘disable_srat’; did you mean ‘disable_irq’? [-Werror=implic

[RESEND PATCH v2 5/6] dmaengine: axi-dmac: wrap channel parameter adjust into function

2020-08-25 Thread Alexandru Ardelean
The channel parameters (which are read from the device-tree) are adjusted for the DMAEngine framework in the axi_dmac_parse_chan_dt() function, after they are read from the device-tree. When we want to read these from registers, we will need to use the same logic, so this change splits the logic i

[RESEND PATCH v2 6/6] dmaengine: axi-dmac: add support for reading bus attributes from registers

2020-08-25 Thread Alexandru Ardelean
Starting with core version 4.3.a the DMA bus attributes can (and should) be read from the INTERFACE_DESCRIPTION (0x10) register. For older core versions, this will still need to be provided from the device-tree. The bus-type values are identical to the ones stored in the device-trees, so we just

[RESEND PATCH v2 3/6] dmaengine: axi-dmac: move clock enable earlier

2020-08-25 Thread Alexandru Ardelean
The clock may also be required to read registers from the IP core (if it is provided and the driver needs to control it). So, move it earlier in the probe. Signed-off-by: Alexandru Ardelean --- drivers/dma/dma-axi-dmac.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) d

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