Re: [PATCH 8/9] rpmsg: virtio: use rpmsg_ns driver to manage ns announcement

2020-08-25 Thread Mathieu Poirier
Hi Arnaud, On Fri, Jul 31, 2020 at 01:47:31PM +0200, Arnaud Pouliquen wrote: > Use the new rpmsg_ns API to send the name service announcements if > the VIRTIO_RPMSG_F_NS is set, else just not implement the ops. > > Signed-off-by: Arnaud Pouliquen > --- > drivers/rpmsg/virtio_rpmsg_bus.c | 94

[PATCH v2 2/8] rpmsg: core: add channel creation internal API

2020-08-25 Thread 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 --- drivers/rpmsg/rpmsg_core.c | 45 ++ drivers/rpmsg/rpmsg_internal.h |

[PATCH v2 0/8] introduce name service announcement rpmsg driver

2020-08-25 Thread Arnaud Pouliquen
The NS announcement is implemented by several backends, but could be considered as part the RPMsg protocol. In this case it should be managed as a reserved rpmsg service and so implemented on top of the rpmsg protocol. This series introduces the rpmsg_ns driver that handles the name service

[PATCH v2 8/8] rpmsg: virtio: use rpmsg_ns driver to manage ns announcement

2020-08-25 Thread Arnaud Pouliquen
Use the new rpmsg_ns API to send the name service announcements if the VIRTIO_RPMSG_F_NS is set, else just not implement the ops. Signed-off-by: Arnaud Pouliquen --- drivers/rpmsg/virtio_rpmsg_bus.c | 94 +--- 1 file changed, 13 insertions(+), 81 deletions(-) diff

[PATCH v2 4/8] rpmsg: define the name service announcement as reserved address

2020-08-25 Thread Arnaud Pouliquen
The address 53 is reserved for the dynamic RPMsg device management on name service announcement. Define this address in a reserved enum list. Signed-off-by: Arnaud Pouliquen --- drivers/rpmsg/virtio_rpmsg_bus.c | 3 --- include/linux/rpmsg.h| 9 + 2 files changed, 9

[PATCH v2 7/8] rpmsg: ns: add name service announcement service

2020-08-25 Thread Arnaud Pouliquen
As the RPMsg driver is in charge of the name service announcement, create an API to send channel creation and destruction to the remote processor. Notice that the source address of the message sent is now RPMSG_NS_ADDR. Legacy implementation was to send the message with source address

[PATCH v2 6/8] rpmsg: virtio: use rpmsg ns device for the ns announcement

2020-08-25 Thread Arnaud Pouliquen
As generic NS driver is available, rely on it for NS management instead of managing it in RPMsg virtio bus. Signed-off-by: Arnaud Pouliquen --- drivers/rpmsg/Kconfig| 1 + drivers/rpmsg/virtio_rpmsg_bus.c | 86 2 files changed, 21 insertions(+), 66

[PATCH v2 3/8] rpmsg: virtio: add rpmsg channel device ops

2020-08-25 Thread Arnaud Pouliquen
Implement the create and release of the RPMsg channel for the RPMsg virtio bus. Signed-off-by: Arnaud Pouliquen --- drivers/rpmsg/virtio_rpmsg_bus.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c

[PATCH v2 5/8] rpmsg: introduce reserved rpmsg driver for ns announcement

2020-08-25 Thread Arnaud Pouliquen
The name service announcement should not be linked to the RPMsg virtio bus but to the RPMsg protocol itself. This patch proposes to break the dependency with the RPmsg virtio bus by the introduction of the reserved RPMsg name service driver which will be in charge of managing the RPMsg name

[PATCH v2 1/8] rpmsg: virtio: rename rpmsg_create_channel

2020-08-25 Thread Arnaud Pouliquen
Rename the internal function as it is internal, and as the name will be used in rpmsg_core. Signed-off-by: Arnaud Pouliquen --- drivers/rpmsg/virtio_rpmsg_bus.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c

Re: [Nouveau] [PATCH 1/2] drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps

2020-08-25 Thread Lyude Paul
On Tue, 2020-08-25 at 08:28 +1000, Ben Skeggs wrote: > On Tue, 25 Aug 2020 at 04:33, Lyude Paul wrote: > > Not entirely sure why this never came up when I originally tested this > > (maybe some BIOSes already have this setup?) but the ->caps_init vfunc > > appears to cause the display engine to

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

2020-08-25 Thread Andy Lutomirski
On Mon, Aug 24, 2020 at 9:40 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. > > > >

Re: [PATCH 15/16] vc_screen: extract vcs_read_buf_header

2020-08-25 Thread Peilin Ye
Hi all, Link: https://syzkaller.appspot.com/bug?id=f332576321998d36cd07d09c9c1268cfed1895c9 As reported by syzbot, vcs_read_buf() is overflowing `con_buf16`, since this patch removed the following check: - if (count > CON_BUF_SIZE) { - count = CON_BUF_SIZE;

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

2020-08-25 Thread Joe Perches
On Tue, 2020-08-25 at 11:49 -0500, Gustavo A. R. Silva wrote: > > On 8/25/20 11:26, Joe Perches wrote: > > 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 > > > >

Re: [linux-sunxi] [PATCH] clk: sunxi-ng: sun8i: r40: Use sigma delta modulation for audio PLL

2020-08-25 Thread Chen-Yu Tsai
On Wed, Aug 26, 2020 at 12:45 AM Jernej Škrabec wrote: > > Dne torek, 25. avgust 2020 ob 16:46:31 CEST je Chen-Yu Tsai napisal(a): > > On Tue, Aug 25, 2020 at 9:11 PM Jernej Skrabec > wrote: > > > Audio cores need specific clock rates which can't be simply obtained by > > > adjusting integer

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

2020-08-25 Thread Andy Lutomirski
On Tue, Aug 25, 2020 at 9:32 AM Kyle Huey wrote: > > 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

[PATCH] VMCI: check return value of get_user_pages_fast() for errors

2020-08-25 Thread Alex Dewar
In a couple of places in qp_host_get_user_memory(), get_user_pages_fast() is called without properly checking for errors. If e.g. -EFAULT is returned, this negative value will then be passed on to qp_release_pages(), which expects a u64 as input. Fix this by only calling qp_release_pages() when

Re: [linux-sunxi] [PATCH] clk: sunxi-ng: sun8i: r40: Use sigma delta modulation for audio PLL

2020-08-25 Thread Jernej Škrabec
Dne torek, 25. avgust 2020 ob 16:46:31 CEST je Chen-Yu Tsai napisal(a): > On Tue, Aug 25, 2020 at 9:11 PM Jernej Skrabec wrote: > > Audio cores need specific clock rates which can't be simply obtained by > > adjusting integer multipliers and dividers. HW for such cases supports > > delta-sigma

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

2020-08-25 Thread David Ahern
On 8/25/20 10:02 AM, Ahmed Abdelsalam wrote: > 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

Re: [PATCH v36 11/24] x86/sgx: Add SGX enclave driver

2020-08-25 Thread Borislav Petkov
On Thu, Jul 16, 2020 at 04:52:50PM +0300, Jarkko Sakkinen wrote: Just minor things below - I'm not even going to pretend I fully understand what's going on but FWICT, it looks non-threateningly ok to me. > diff --git a/arch/x86/kernel/cpu/sgx/driver.c > b/arch/x86/kernel/cpu/sgx/driver.c > new

RE: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-25 Thread Luck, Tony
> These 2 variables are accessed in 2 hot call stacks (for this 288 CPU > Xeon Phi platform): This might be the key element of "weirdness" for this system. It has 288 CPUs ... cache alignment problems are often not too bad on "small" systems. The as you scale up to bigger machines you suddenly

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

2020-08-25 Thread Gustavo A. R. Silva
On 8/25/20 11:26, Joe Perches wrote: > 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 */,

Re: [PATCH v3] perf parse-events: Set exclude_guest=1 for user-space counting

2020-08-25 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 25, 2020 at 03:54:37PM +0800, Jin, Yao escreveu: > Hi Arnaldo, > > On 8/19/2020 11:05 AM, Like Xu wrote: > > Hi Arnaldo, > > > > On 2020/8/17 10:32, Jin, Yao wrote: > > > Hi Arnaldo, > > > > > > On 8/14/2020 8:47 PM, Arnaldo Carvalho de Melo wrote: > > > > Em Fri, Aug 14, 2020 at

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

2020-08-25 Thread Sagar Kadam
Hi Rob, > -Original Message- > From: Rob Herring > Sent: Tuesday, August 25, 2020 9:51 PM > To: Sagar Kadam > Cc: a...@eecs.berkeley.edu; devicet...@vger.kernel.org; Paul Walmsley ( > Sifive) ; Yash Shah ; > pal...@dabbelt.com; linux-kernel@vger.kernel.org; linux- >

Re: [PATCH] MAINTAINERS: add namespace entry

2020-08-25 Thread Christian Brauner
On Tue, Aug 25, 2020 at 11:26:07AM -0500, Eric W. Biederman wrote: > > A) If we are going to have this discussion in public we really should >include the containers list. Ah, just used the output from get_maintainers.pl. > > B) The challenge is that most of the namespace work has become

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

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

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,

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

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

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

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

[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

[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

[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

[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]

[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

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

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

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

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

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;

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

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

[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 ---

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

[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

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 > > >

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

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

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

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

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 >

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

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

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 >

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

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

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

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,

[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

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 >

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

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

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

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]

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

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

[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

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

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 /

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:

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

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

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

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

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

[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

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

[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

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

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),

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