[PATCH] vhost: correct misleading printing information

2024-03-11 Thread Xianting Tian
Guest moved avail idx not used idx when we need to print log if '(vq->avail_idx - last_avail_idx) > vq->num', so fix it. Signed-off-by: Xianting Tian --- drivers/vhost/vhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index

Re: [RFC PATCH v3 4/5] input: add onkey driver for Marvell 88PM886 PMIC

2024-03-11 Thread Karel Balej
Krzysztof Kozlowski, 2024-03-10T21:35:36+01:00: > On 10/03/2024 12:35, Karel Balej wrote: > > Dmitry Torokhov, 2024-03-04T17:10:59-08:00: > >> On Mon, Mar 04, 2024 at 09:28:45PM +0100, Karel Balej wrote: > >>> Dmitry, > >>> > >>> Dmitry Torokhov, 2024-03-03T12:39:46-08:00: > On Sun, Mar 03, 20

Re: [RFC PATCH v3 4/5] input: add onkey driver for Marvell 88PM886 PMIC

2024-03-11 Thread Krzysztof Kozlowski
On 11/03/2024 11:26, Karel Balej wrote: > Krzysztof Kozlowski, 2024-03-10T21:35:36+01:00: >> On 10/03/2024 12:35, Karel Balej wrote: >>> Dmitry Torokhov, 2024-03-04T17:10:59-08:00: On Mon, Mar 04, 2024 at 09:28:45PM +0100, Karel Balej wrote: > Dmitry, > > Dmitry Torokhov, 2024-03-0

Re: [PATCH 1/3] remoteproc: Add Arm remoteproc driver

2024-03-11 Thread Abdellatif El Khlifi
Hi Mathieu, On Fri, Mar 08, 2024 at 09:44:26AM -0700, Mathieu Poirier wrote: > On Thu, 7 Mar 2024 at 12:40, Abdellatif El Khlifi > wrote: > > > > Hi Mathieu, > > > > > > + do { > > > > + state_reg = readl(priv->reset_cfg.state_reg); > > > > + *rst_ack = EXTSYS_RST_ST_RST_ACK

Re: [RFC PATCH v3 4/5] input: add onkey driver for Marvell 88PM886 PMIC

2024-03-11 Thread Karel Balej
Krzysztof Kozlowski, 2024-03-11T11:41:53+01:00: > On 11/03/2024 11:26, Karel Balej wrote: > > Krzysztof Kozlowski, 2024-03-10T21:35:36+01:00: > >> On 10/03/2024 12:35, Karel Balej wrote: > >>> Dmitry Torokhov, 2024-03-04T17:10:59-08:00: > On Mon, Mar 04, 2024 at 09:28:45PM +0100, Karel Balej w

RE: [PATCH net-next v2 3/3] tun: AF_XDP Tx zero-copy support

2024-03-11 Thread wangyunjian
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Monday, March 11, 2024 12:01 PM > To: wangyunjian > Cc: Michael S. Tsirkin ; Paolo Abeni ; > willemdebruijn.ker...@gmail.com; k...@kernel.org; bj...@kernel.org; > magnus.karls...@intel.com; maciej.fijalkow...@in

Re: [DMARC Error] Re: [RFC PATCH] riscv: Implement HAVE_DYNAMIC_FTRACE_WITH_CALL_OPS

2024-03-11 Thread Evgenii Shatokhin
Hi, On 07.03.2024 03:17, Puranjay Mohan wrote: Hi Alex, On Wed, Mar 6, 2024 at 9:35 PM Alexandre Ghiti wrote: Hi Puranjay, On 06/03/2024 17:59, Puranjay Mohan wrote: This patch enables support for DYNAMIC_FTRACE_WITH_CALL_OPS on RISC-V. This allows each ftrace callsite to provide an ftrac

Re: [PATCH 0/2] Add Samsung Galaxy Note 3 support

2024-03-11 Thread Rob Herring
On Sun, 10 Mar 2024 15:13:35 +0100, Luca Weiss wrote: > Add the dts for "hlte" which is a phablet from 2013. > > Signed-off-by: Luca Weiss > --- > Adam Honse (1): > ARM: dts: qcom: msm8974: Add Samsung Galaxy Note 3 > > Luca Weiss (1): > dt-bindings: arm: qcom: Add Samsung Galaxy N

Re: [PATCH] remoteproc: make rproc_class constant

2024-03-11 Thread Mathieu Poirier
Hi Ricardo, On Tue, Mar 05, 2024 at 04:40:23PM -0300, Ricardo B. Marliere wrote: > Since commit 43a7206b0963 ("driver core: class: make class_register() take > a const *"), the driver core allows for struct class to be in read-only > memory, so move the rproc_class structure to be declared at buil

[RFC PATCH v4 1/5] dt-bindings: mfd: add entry for Marvell 88PM886 PMIC

2024-03-11 Thread Karel Balej
From: Karel Balej Marvell 88PM886 is a PMIC with several subdevices such as onkey, regulators or battery and charger. It comes in at least two revisions, A0 and A1 -- only A1 is described here at the moment. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Karel Balej --- Notes: RFC v4:

[RFC PATCH v4 0/5] initial support for Marvell 88PM886 PMIC

2024-03-11 Thread Karel Balej
From: Karel Balej Hello, the following implements basic support for Marvell's 88PM886 PMIC which is found for instance as a component of the samsung,coreprimevelte smartphone which inspired this and also serves as a testing platform. The code for the MFD is based primarily on this old series [1

[RFC PATCH v4 2/5] mfd: add driver for Marvell 88PM886 PMIC

2024-03-11 Thread Karel Balej
From: Karel Balej Marvell 88PM886 is a PMIC which provides various functions such as onkey, battery, charger and regulators. It is found for instance in the samsung,coreprimevelte smartphone with which this was tested. Implement basic support to allow for the use of regulators and onkey. Signed-

[RFC PATCH v4 3/5] regulator: add regulators driver for Marvell 88PM886 PMIC

2024-03-11 Thread Karel Balej
From: Karel Balej Support the LDO and buck regulators of the Marvell 88PM886 PMIC. Signed-off-by: Karel Balej --- Please note that most of the regulators are not yet described: the descriptions will be added to pm886_regulators in the same manner as the already present ones before the series le

[RFC PATCH v4 4/5] input: add onkey driver for Marvell 88PM886 PMIC

2024-03-11 Thread Karel Balej
From: Karel Balej Marvell 88PM886 PMIC provides onkey among other things. Add client driver to handle it. The driver currently only provides a basic support omitting additional functions found in the vendor version, such as long onkey and GPIO integration. Acked-by: Dmitry Torokhov Signed-off-b

[RFC PATCH v4 5/5] MAINTAINERS: add myself for Marvell 88PM886 PMIC

2024-03-11 Thread Karel Balej
From: Karel Balej Add an entry to MAINTAINERS for the Marvell 88PM886 PMIC MFD, onkey and regulator drivers. Signed-off-by: Karel Balej --- Notes: RFC v3: - Remove onkey bindings file. RFC v2: - Only mention 88PM886 in the commit message. - Add regulator driver. - Renam

Re: [PATCH 3/3] sh: Call paging_init() earlier in the init sequence

2024-03-11 Thread Rob Herring
On Fri, Feb 9, 2024 at 5:29 PM Oreoluwa Babatunde wrote: > > The unflatten_device_tree() function contains a call to > memblock_alloc(). This is a problem because this allocation is done > before any of the reserved memory is set aside in paging_init(). > This means that there is a possibility for

Re: [RFC PATCH v3 4/5] input: add onkey driver for Marvell 88PM886 PMIC

2024-03-11 Thread Dmitry Torokhov
On Mon, Mar 11, 2024 at 11:26:16AM +0100, Karel Balej wrote: > Krzysztof Kozlowski, 2024-03-10T21:35:36+01:00: > > On 10/03/2024 12:35, Karel Balej wrote: > > > Dmitry Torokhov, 2024-03-04T17:10:59-08:00: > > >> On Mon, Mar 04, 2024 at 09:28:45PM +0100, Karel Balej wrote: > > >>> Dmitry, > > >>> >

Re: [PATCH v12 2/4] dt-bindings: remoteproc: add Tightly Coupled Memory (TCM) bindings

2024-03-11 Thread Tanmay Shah
Hello Krzysztof, Thanks for reviews. Please find my comments below. On 3/9/24 7:25 AM, Krzysztof Kozlowski wrote: > On 01/03/2024 19:16, Tanmay Shah wrote: > > From: Radhey Shyam Pandey > > > > Introduce bindings for TCM memory address space on AMD-xilinx Zynq > > UltraScale+ platform. It will

Re: [PATCH 0/2] Add Samsung Galaxy Note 3 support

2024-03-11 Thread Luca Weiss
On Montag, 11. März 2024 15:23:30 CET Rob Herring wrote: > > On Sun, 10 Mar 2024 15:13:35 +0100, Luca Weiss wrote: > > Add the dts for "hlte" which is a phablet from 2013. > > > > Signed-off-by: Luca Weiss > > --- > > Adam Honse (1): > > ARM: dts: qcom: msm8974: Add Samsung Galaxy Note 3 >

Re: Re: Re: EEVDF/vhost regression (bisected to 86bfbb7ce4f6 sched/fair: Add lag based placement)

2024-03-11 Thread Michael S. Tsirkin
On Thu, Feb 01, 2024 at 12:47:39PM +0100, Tobias Huschle wrote: > On Thu, Feb 01, 2024 at 03:08:07AM -0500, Michael S. Tsirkin wrote: > > On Thu, Feb 01, 2024 at 08:38:43AM +0100, Tobias Huschle wrote: > > > On Sun, Jan 21, 2024 at 01:44:32PM -0500, Michael S. Tsirkin wrote: > > > > On Mon, Jan 08,

[PATCH v13 0/4] add zynqmp TCM bindings

2024-03-11 Thread Tanmay Shah
Tightly-Coupled Memories(TCMs) are low-latency memory that provides predictable instruction execution and predictable data load/store timing. Each Cortex-R5F processor contains exclusive two 64 KB memory banks on the ATCM and BTCM ports, for a total of 128 KB of memory. In lockstep mode, both 128KB

[PATCH v13 1/4] remoteproc: zynqmp: fix lockstep mode memory region

2024-03-11 Thread Tanmay Shah
In lockstep mode, r5 core0 uses TCM of R5 core1. Following is lockstep mode memory region as per hardware reference manual. | *TCM* | *R5 View* | *Linux view* | | R5_0 ATCM (128 KB) | 0x_ | 0xFFE0_ | | R5_0 BTCM (128 KB) | 0x0002_ | 0xFFE2_ | Howev

[PATCH v13 2/4] dt-bindings: remoteproc: add Tightly Coupled Memory (TCM) bindings

2024-03-11 Thread Tanmay Shah
From: Radhey Shyam Pandey Introduce bindings for TCM memory address space on AMD-xilinx Zynq UltraScale+ platform. It will help in defining TCM in device-tree and make it's access platform agnostic and data-driven. Tightly-coupled memories(TCMs) are low-latency memory that provides predictable i

[PATCH v13 3/4] dts: zynqmp: add properties for TCM in remoteproc

2024-03-11 Thread Tanmay Shah
Add properties as per new bindings in zynqmp remoteproc node to represent TCM address and size. This patch also adds alternative remoteproc node to represent remoteproc cluster in split mode. By default lockstep mode is enabled and users should disable it before using split mode dts. Both device-t

[PATCH v13 4/4] remoteproc: zynqmp: parse TCM from device tree

2024-03-11 Thread Tanmay Shah
ZynqMP TCM information was fixed in driver. Now ZynqMP TCM information is available in device-tree. Parse TCM information in driver as per new bindings. Signed-off-by: Tanmay Shah --- drivers/remoteproc/xlnx_r5_remoteproc.c | 112 ++-- 1 file changed, 107 insertions(+), 5 del

Re: [RFC PATCH v3 7/7] virtio_rtc: Add RTC class driver

2024-03-11 Thread Peter Hilber
On 08.03.24 18:03, Alexandre Belloni wrote: > Hello, > > I'll start by saying that I'm sorry, I have a very very high level > knowledge about what virtio is. > > On 18/12/2023 08:38:45+0100, Peter Hilber wrote: >> Expose the virtio-rtc UTC clock as an RTC clock to userspace, if it is >> present.

Re: [RFC PATCH v3 0/7] Add virtio_rtc module and related changes

2024-03-11 Thread Peter Hilber
On 08.03.24 13:33, David Woodhouse wrote: > On Fri, 2024-03-08 at 11:32 +0100, Peter Hilber wrote: >> On 07.03.24 15:02, David Woodhouse wrote: >>> On Mon, 2023-12-18 at 08:38 +0100, Peter Hilber wrote: RFC v3 updates -- This series implements a driver for a virtio-r

Re: [PATCH v12 2/4] dt-bindings: remoteproc: add Tightly Coupled Memory (TCM) bindings

2024-03-11 Thread Tanmay Shah
On 3/9/24 7:25 AM, Krzysztof Kozlowski wrote: > On 01/03/2024 19:16, Tanmay Shah wrote: > > From: Radhey Shyam Pandey > > > > Introduce bindings for TCM memory address space on AMD-xilinx Zynq > > UltraScale+ platform. It will help in defining TCM in device-tree > > and make it's access platfor

Re: [RFC PATCH v3 7/7] virtio_rtc: Add RTC class driver

2024-03-11 Thread Alexandre Belloni
On 11/03/2024 19:28:50+0100, Peter Hilber wrote: > >> Perhaps this might be handled by the driver also setting a virtio-rtc > >> monotonic alarm (which uses a clock similar to CLOCK_BOOTTIME_ALARM). > >> The > >> virtio-rtc monotonic alarm would just be used to wake up in case it was > >> a > >> CL

Re: [PATCHv2 1/2] dt-bindings: usb: typec: anx7688: start a binding document

2024-03-11 Thread Pavel Machek
Hi! > Add binding for anx7688 usb type-c bridge. I don't have a datasheet, > but I did best I could. > > Signed-off-by: Pavel Machek Any more comments here? Automatic system told me I need to replace one character... Best regards,

Re: [PATCHv2 2/2] usb: typec: anx7688: Add driver for ANX7688 USB-C HDMI bridge

2024-03-11 Thread Pavel Machek
Hi! > From: Ondrej Jirman > > This is driver for ANX7688 USB-C HDMI, with flashing and debugging > features removed. ANX7688 is rather criticial piece on PinePhone, > there's no display and no battery charging without it. > > There's likely more work to be done here, but having basic support >

[ANNOUNCE] 5.10.211-rt103

2024-03-11 Thread Luis Claudio R. Goncalves
Hello RT-list! I'm pleased to announce the 5.10.211-rt103 stable release. This release is an update to the new stable 5.10.211 version, with no extra changes. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v5.10-rt

Re: [PATCH net-next v2 3/3] tun: AF_XDP Tx zero-copy support

2024-03-11 Thread Jason Wang
On Mon, Mar 11, 2024 at 9:28 PM wangyunjian wrote: > > > > > -Original Message- > > From: Jason Wang [mailto:jasow...@redhat.com] > > Sent: Monday, March 11, 2024 12:01 PM > > To: wangyunjian > > Cc: Michael S. Tsirkin ; Paolo Abeni ; > > willemdebruijn.ker...@gmail.com; k...@kernel.org;

[PATCH v2 0/1] Improved Memory Tier Creation for CPUless NUMA Nodes

2024-03-11 Thread Ho-Ren (Jack) Chuang
When a memory device, such as CXL1.1 type3 memory, is emulated as normal memory (E820_TYPE_RAM), the memory device is indistinguishable from normal DRAM in terms of memory tiering with the current implementation. The current memory tiering assigns all detected normal memory nodes to the same DRAM t

[PATCH v2 1/1] memory tier: acpi/hmat: create CPUless memory tiers after obtaining HMAT info

2024-03-11 Thread Ho-Ren (Jack) Chuang
The current implementation treats emulated memory devices, such as CXL1.1 type3 memory, as normal DRAM when they are emulated as normal memory (E820_TYPE_RAM). However, these emulated devices have different characteristics than traditional DRAM, making it important to distinguish them. Thus, we mod