Re: [PATCH] hwspinlock/core: fix kernel-doc warnings

2023-12-15 Thread Bagas Sanjaya
On Tue, Dec 05, 2023 at 09:54:39PM -0800, Randy Dunlap wrote: > diff -- a/drivers/hwspinlock/hwspinlock_core.c > b/drivers/hwspinlock/hwspinlock_core.c > --- a/drivers/hwspinlock/hwspinlock_core.c > +++ b/drivers/hwspinlock/hwspinlock_core.c > @@ -84,8 +84,9 @@ static

Re: [PATCH v5 4/4] vduse: Add LSM hook to check Virtio device type

2023-12-15 Thread Serge E. Hallyn
On Tue, Dec 12, 2023 at 02:55:33PM -0800, Casey Schaufler wrote: > On 12/12/2023 9:59 AM, Michael S. Tsirkin wrote: > > On Tue, Dec 12, 2023 at 08:33:39AM -0800, Casey Schaufler wrote: > >> On 12/12/2023 5:17 AM, Maxime Coquelin wrote: > >>> This patch introduces a LSM hook for devices creation, >

[PATCH v8 3/3] remoteproc: zynqmp: parse TCM from device tree

2023-12-15 Thread Tanmay Shah
ZynqMP TCM information is 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 --- Changes in v8: - parse power-domains property from device-tree and use EEMI calls to power on/off TCM

[PATCH v8 1/3] dt-bindings: remoteproc: add Tightly Coupled Memory (TCM) bindings

2023-12-15 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

[PATCH v8 0/3] add zynqmp TCM bindings

2023-12-15 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

[PATCH v8 2/3] dts: zynqmp: add properties for TCM in remoteproc

2023-12-15 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

Re: [PATCH v2 2/2] ARM: dts: qcom: msm8926-motorola-peregrine: Add initial device tree

2023-12-15 Thread André Apitzsch
Am Freitag, dem 15.12.2023 um 00:37 +0100 schrieb Konrad Dybcio: > > > On 12/14/23 21:59, André Apitzsch wrote: > > This dts adds support for Motorola Moto G 4G released in 2013. > > > > Add a device tree with initial support for: > > > > - GPIO keys > > - Hall sensor > > - SDHCI > > -

Re: [PATCH v6 09/12] x86/sgx: Restructure top-level EPC reclaim function

2023-12-15 Thread Haitao Huang
On Wed, 13 Dec 2023 05:17:11 -0600, Huang, Kai wrote: On Mon, 2023-12-11 at 22:04 -0600, Haitao Huang wrote: Hi Kai On Mon, 27 Nov 2023 03:57:03 -0600, Huang, Kai wrote: > On Mon, 2023-11-27 at 00:27 +0800, Haitao Huang wrote: > > On Mon, 20 Nov 2023 11:45:46 +0800, Huang, Kai > >

Re: [PATCH] tracing: Add disable-filter-buf option

2023-12-15 Thread Mathieu Desnoyers
On 2023-12-15 13:43, Steven Rostedt wrote: On Fri, 15 Dec 2023 13:25:07 -0500 Mathieu Desnoyers wrote: I am not against exposing an ABI that allows userspace to alter the filter behavior. I disagree on the way you plan to expose the ABI. These are no different than the knobs for sched_debug

Re: [PATCH] tracing: Add disable-filter-buf option

2023-12-15 Thread Steven Rostedt
On Fri, 15 Dec 2023 13:25:07 -0500 Mathieu Desnoyers wrote: > > I am not against exposing an ABI that allows userspace to alter the > filter behavior. I disagree on the way you plan to expose the ABI. These are no different than the knobs for sched_debug > > Exposing this option as an ABI in

Re: [PATCH] tracing: Add disable-filter-buf option

2023-12-15 Thread Mathieu Desnoyers
On 2023-12-15 12:34, Steven Rostedt wrote: On Fri, 15 Dec 2023 12:24:14 -0500 Mathieu Desnoyers wrote: On 2023-12-15 12:04, Steven Rostedt wrote: On Fri, 15 Dec 2023 10:53:39 -0500 Mathieu Desnoyers wrote: [...] So rather than stacking tons of "on/off" switches for filter features, how

[PATCH v2] tracing: Add filter-buffer option

2023-12-15 Thread Steven Rostedt
From 62a1de0f0f9d942934565e625a7880fd85ae216a Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (Google)" Date: Fri, 15 Dec 2023 10:26:33 -0500 Subject: [PATCH] tracing: Add filter-buffer option Normally, when the filter is enabled, a temporary buffer is created to copy the event data into it to

Re: [PATCH vhost v2 4/8] vdpa/mlx5: Mark vq addrs for modification in hw vq

2023-12-15 Thread Eugenio Perez Martin
On Fri, Dec 15, 2023 at 3:13 PM Dragos Tatulea wrote: > > On Fri, 2023-12-15 at 12:35 +, Dragos Tatulea wrote: > > On Thu, 2023-12-14 at 19:30 +0100, Eugenio Perez Martin wrote: > > > On Thu, Dec 14, 2023 at 4:51 PM Dragos Tatulea > > > wrote: > > > > > > > > On Thu, 2023-12-14 at 08:45

[PATCH v4 15/15] tracing: Update subbuffer with kilobytes not page order

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Using page order for deciding what the size of the ring buffer sub buffers are is exposing a bit too much of the implementation. Although the sub buffers are only allocated in orders of pages, allow the user to specify the minimum size of each sub-buffer via

[PATCH v4 14/15] ringbuffer/selftest: Add basic selftest to test changing subbuf order

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Add a self test that will write into the trace buffer with differ trace sub buffer order sizes. Signed-off-by: Steven Rostedt (Google) --- .../ftrace/test.d/00basic/ringbuffer_order.tc | 95 +++ 1 file changed, 95 insertions(+) create mode

[PATCH v4 13/15] ring-buffer: Add documentation on the buffer_subbuf_order file

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Add to the documentation how to use the buffer_subbuf_order file to change the size and how it affects what events can be added to the ring buffer. Signed-off-by: Steven Rostedt (Google) --- Documentation/trace/ftrace.rst | 27 +++ 1

[PATCH v4 12/15] ring-buffer: Just update the subbuffers when changing their allocation order

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" The ring_buffer_subbuf_order_set() was creating ring_buffer_per_cpu cpu_buffers with the new subbuffers with the updated order, and if they all successfully were created, then they the ring_buffer's per_cpu buffers would be freed and replaced by them. The problem

[PATCH v4 11/15] ring-buffer: Keep the same size when updating the order

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" The function ring_buffer_subbuf_order_set() just updated the sub-buffers to the new size, but this also changes the size of the buffer in doing so. As the size is determined by nr_pages * subbuf_size. If the subbuf_size is increased without decreasing the

[PATCH v4 09/15] tracing: Update snapshot order along with main buffer order

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" When updating the order of the sub buffers for the main buffer, make sure that if the snapshot buffer exists, that it gets its order updated as well. Signed-off-by: Steven Rostedt (Google) --- kernel/trace/trace.c | 45

[PATCH v4 10/15] tracing: Stop the tracing while changing the ring buffer subbuf size

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Because the main buffer and the snapshot buffer need to be the same for some tracers, otherwise it will fail and disable all tracing, the tracers need to be stopped while updating the sub buffer sizes so that the tracers see the main and snapshot buffers with the

[PATCH v4 08/15] ring-buffer: Make sure the spare sub buffer used for reads has same size

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Now that the ring buffer specifies the size of its sub buffers, they all need to be the same size. When doing a read, a swap is done with a spare page. Make sure they are the same size before doing the swap, otherwise the read will fail. Signed-off-by: Steven

[PATCH v4 06/15] ring-buffer: Clear pages on error in ring_buffer_subbuf_order_set() failure

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" On failure to allocate ring buffer pages, the pointer to the CPU buffer pages is freed, but the pages that were allocated previously were not. Make sure they are freed too. Fixes: TBD ("tracing: Set new size of the ring buffer sub page") Signed-off-by: Steven

[PATCH v4 07/15] ring-buffer: Do no swap cpu buffers if order is different

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" As all the subbuffer order (subbuffer sizes) must be the same throughout the ring buffer, check the order of the buffers that are doing a CPU buffer swap in ring_buffer_swap_cpu() to make sure they are the same. If the are not the same, then fail to do the swap,

[PATCH v4 05/15] ring-buffer: Read and write to ring buffers with custom sub buffer size

2023-12-15 Thread Steven Rostedt
From: "Tzvetomir Stoyanov (VMware)" As the size of the ring sub buffer page can be changed dynamically, the logic that reads and writes to the buffer should be fixed to take that into account. Some internal ring buffer APIs are changed: ring_buffer_alloc_read_page()

[PATCH v4 04/15] ring-buffer: Set new size of the ring buffer sub page

2023-12-15 Thread Steven Rostedt
From: "Tzvetomir Stoyanov (VMware)" There are two approaches when changing the size of the ring buffer sub page: 1. Destroying all pages and allocating new pages with the new size. 2. Allocating new pages, copying the content of the old pages before destroying them. The first approach is

[PATCH v4 03/15] ring-buffer: Add interface for configuring trace sub buffer size

2023-12-15 Thread Steven Rostedt
From: "Tzvetomir Stoyanov (VMware)" The trace ring buffer sub page size can be configured, per trace instance. A new ftrace file "buffer_subbuf_order" is added to get and set the size of the ring buffer sub page for current trace instance. The size must be an order of system page size, that's

[PATCH v4 02/15] ring-buffer: Page size per ring buffer

2023-12-15 Thread Steven Rostedt
From: "Tzvetomir Stoyanov (VMware)" Currently the size of one sub buffer page is global for all buffers and it is hard coded to one system page. In order to introduce configurable ring buffer sub page size, the internal logic should be refactored to work with sub page size per ring buffer.

[PATCH v4 01/15] ring-buffer: Refactor ring buffer implementation

2023-12-15 Thread Steven Rostedt
From: "Tzvetomir Stoyanov (VMware)" In order to introduce sub-buffer size per ring buffer, some internal refactoring is needed. As ring_buffer_print_page_header() will depend on the trace_buffer structure, it is moved after the structure definition. Link:

[PATCH v4 00/15] ring-buffer/tracing: Allow ring buffer to have bigger sub buffers

2023-12-15 Thread Steven Rostedt
[ Nothing changed since v3, just a rebase on trace/core ] Note, this has been on my todo list since the ring buffer was created back in 2008. Tzvetomir last worked on this in 2021 and I need to finally get it in. His last series was:

Re: [PATCH v6 2/4] dax/bus: Use guard(device) in sysfs attribute helpers

2023-12-15 Thread gre...@linuxfoundation.org
On Fri, Dec 15, 2023 at 05:32:50PM +, Verma, Vishal L wrote: > On Fri, 2023-12-15 at 09:15 -0800, Dan Williams wrote: > > Greg Kroah-Hartman wrote: > > > On Thu, Dec 14, 2023 at 10:25:27PM -0700, Vishal Verma wrote: > > > > Use the guard(device) macro to lock a 'struct device', and unlock it >

Re: [PATCH] tracing: Add disable-filter-buf option

2023-12-15 Thread Steven Rostedt
On Fri, 15 Dec 2023 12:24:14 -0500 Mathieu Desnoyers wrote: > On 2023-12-15 12:04, Steven Rostedt wrote: > > On Fri, 15 Dec 2023 10:53:39 -0500 > > Mathieu Desnoyers wrote: > [...] > >> > >> So rather than stacking tons of "on/off" switches for filter > >> features, how about you let users

Re: [PATCH v6 2/4] dax/bus: Use guard(device) in sysfs attribute helpers

2023-12-15 Thread Verma, Vishal L
On Fri, 2023-12-15 at 09:15 -0800, Dan Williams wrote: > Greg Kroah-Hartman wrote: > > On Thu, Dec 14, 2023 at 10:25:27PM -0700, Vishal Verma wrote: > > > Use the guard(device) macro to lock a 'struct device', and unlock it > > > automatically when going out of scope using Scope Based Resource > >

Re: [PATCH] tracing: Add disable-filter-buf option

2023-12-15 Thread Mathieu Desnoyers
On 2023-12-15 12:04, Steven Rostedt wrote: On Fri, 15 Dec 2023 10:53:39 -0500 Mathieu Desnoyers wrote: [...] So rather than stacking tons of "on/off" switches for filter features, how about you let users express the mechanism they want to use for filtering with a string instead ? e.g.

Re: [PATCH v6 2/4] dax/bus: Use guard(device) in sysfs attribute helpers

2023-12-15 Thread Dan Williams
Greg Kroah-Hartman wrote: > On Thu, Dec 14, 2023 at 10:25:27PM -0700, Vishal Verma wrote: > > Use the guard(device) macro to lock a 'struct device', and unlock it > > automatically when going out of scope using Scope Based Resource > > Management semantics. A lot of the sysfs attribute writes in >

[PATCH net-next 16/24] net: netkit, veth, tun, virt*: Use nested-BH locking for XDP redirect.

2023-12-15 Thread Sebastian Andrzej Siewior
The per-CPU variables used during bpf_prog_run_xdp() invocation and later during xdp_do_redirect() rely on disabled BH for their protection. Without locking in local_bh_disable() on PREEMPT_RT these data structure require explicit locking. This is a follow-up on the previous change which

Re: [PATCH] tracing: Add disable-filter-buf option

2023-12-15 Thread Steven Rostedt
On Fri, 15 Dec 2023 10:53:39 -0500 Mathieu Desnoyers wrote: > > > I'm not convinced that a boolean state is what you need here. I will admit the biggest motivation for this was to allow for debugging ;-) > > Yes, today you are in a position where you have two options: > > a) use the filter

Re: [PATCH V2] remoteproc: virtio: Fix wdg cannot recovery remote processor

2023-12-15 Thread Arnaud POULIQUEN
Hello Joakim, On 12/15/23 15:50, joakim.zh...@cixtech.com wrote: > From: Joakim Zhang > > Recovery remote processor failed when wdg irq received: > [0.842574] remoteproc remoteproc0: crash detected in cix-dsp-rproc: type > watchdog > [0.842750] remoteproc remoteproc0: handling crash

[PATCH 1/2] ring-buffer: Replace rb_time_cmpxchg() with rb_time_cmp_and_update()

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" There's only one place that performs a 64-bit cmpxchg for the timestamp processing. The cmpxchg is only to set the write_stamp equal to the before_stamp, and if it doesn't get set, then the next event will simply be forced to add an absolute timestamp. Given that

[PATCH 2/2] ring-buffer: Remove 32bit timestamp logic

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Each event has a 27 bit timestamp delta that is used to hold the delta from the last event. If the time between events is greater than 2^27, then a timestamp is added that holds a 59 bit absolute timestamp. Until a389d86f7fd09 ("ring-buffer: Have nested events

[PATCH 0/2] tracing: Replace final 64-bit cmpxchg with compare and update if available

2023-12-15 Thread Steven Rostedt
With the introduction of a389d86f7fd09 ("ring-buffer: Have nested events still record running time stamp"), the timestamps required needing 64-bit cmpxchg. As some architectures do no even have a 64-bit cmpxchg, the code for 32-bit architectures used 3 32-bit words that represented the 64-bit

Re: [PATCH] [v2] nvdimm-btt: fix several memleaks

2023-12-15 Thread Ira Weiny
Ira Weiny wrote: > Dinghao Liu wrote: [snip] > > > > -static int btt_maplocks_init(struct arena_info *arena) > > +static int btt_maplocks_init(struct device *dev, struct arena_info *arena) > > { > > u32 i; > > > > - arena->map_locks = kcalloc(arena->nfree, sizeof(struct aligned_lock),

Re: [PATCH v6 2/4] dax/bus: Use guard(device) in sysfs attribute helpers

2023-12-15 Thread gre...@linuxfoundation.org
On Fri, Dec 15, 2023 at 06:33:58AM +, Verma, Vishal L wrote: > On Fri, 2023-12-15 at 05:56 +, Matthew Wilcox wrote: > > On Thu, Dec 14, 2023 at 10:25:27PM -0700, Vishal Verma wrote: > > > @@ -294,13 +294,10 @@ static ssize_t available_size_show(struct device > > > *dev, > > >  

Re: [PATCH 2/4] sched: Take cpufreq feedback into account

2023-12-15 Thread Lukasz Luba
On 12/12/23 14:27, Vincent Guittot wrote: Aggregate the different pressures applied on the capacity of CPUs and create a new function that returns the actual capacity of the CPU: get_actual_cpu_capacity() Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 43

Re: [PATCH] tracing: Add disable-filter-buf option

2023-12-15 Thread Mathieu Desnoyers
On 2023-12-15 10:26, Steven Rostedt wrote: From: "Steven Rostedt (Google)" Normally, when the filter is enabled, a temporary buffer is created to copy the event data into it to perform the filtering logic. If the filter passes and the event should be recorded, then the event is copied from the

Re: [PATCH 0/5] Rework system pressure interface to the scheduler

2023-12-15 Thread Lukasz Luba
On 12/14/23 08:32, Lukasz Luba wrote: On 12/14/23 08:29, Vincent Guittot wrote: On Thu, 14 Dec 2023 at 09:21, Lukasz Luba wrote: Hi Vincent, I've been waiting for this feature, thanks! On 12/12/23 14:27, Vincent Guittot wrote: Following the consolidation and cleanup of CPU capacity

Re: [PATCH 3/4] thermal/cpufreq: Remove arch_update_thermal_pressure()

2023-12-15 Thread Lukasz Luba
On 12/12/23 14:27, Vincent Guittot wrote: arch_update_thermal_pressure() aims to update fast changing signal which should be averaged using PELT filtering before being provided to the scheduler which can't make smart use of fast changing signal. cpufreq now provides the maximum freq_qos

[PATCH] tracing: Add disable-filter-buf option

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Normally, when the filter is enabled, a temporary buffer is created to copy the event data into it to perform the filtering logic. If the filter passes and the event should be recorded, then the event is copied from the temporary buffer into the ring buffer. If

Re: ARM64 Livepatch based on SFrame

2023-12-15 Thread Madhavan T. Venkataraman
On 12/15/23 07:04, Mark Rutland wrote: > On Thu, Dec 14, 2023 at 02:49:29PM -0600, Madhavan T. Venkataraman wrote: >> Hi Mark, > > Hi Madhavan, > >> I attended your presentation in the LPC. You mentioned that you could use >> some help with some pre-requisites for the Livepatch feature. >> I

[PATCH V2] remoteproc: virtio: Fix wdg cannot recovery remote processor

2023-12-15 Thread joakim . zhang
From: Joakim Zhang Recovery remote processor failed when wdg irq received: [0.842574] remoteproc remoteproc0: crash detected in cix-dsp-rproc: type watchdog [0.842750] remoteproc remoteproc0: handling crash #1 in cix-dsp-rproc [0.842824] remoteproc remoteproc0: recovering

Re: [PATCH vhost v2 4/8] vdpa/mlx5: Mark vq addrs for modification in hw vq

2023-12-15 Thread Dragos Tatulea
On Fri, 2023-12-15 at 12:35 +, Dragos Tatulea wrote: > On Thu, 2023-12-14 at 19:30 +0100, Eugenio Perez Martin wrote: > > On Thu, Dec 14, 2023 at 4:51 PM Dragos Tatulea wrote: > > > > > > On Thu, 2023-12-14 at 08:45 -0500, Michael S. Tsirkin wrote: > > > > On Thu, Dec 14, 2023 at 01:39:55PM

Re: [PATCH vhost v3 0/6] vdpa/mlx5: Add support for resumable vqs

2023-12-15 Thread Dragos Tatulea
On Fri, 2023-12-15 at 16:01 +0200, Dragos Tatulea wrote: > Add support for resumable vqs in the driver. This is a firmware feature > that can be used for the following benefits: > - Full device .suspend/.resume. > - .set_map doesn't need to destroy and create new vqs anymore just to > update the

[PATCH vhost v3 6/6] vdpa/mlx5: Add mkey leak detection

2023-12-15 Thread Dragos Tatulea
Track allocated mrs in a list and show warning when leaks are detected on device free or reset. Reviewed-by: Gal Pressman Acked-by: Eugenio Pérez Signed-off-by: Dragos Tatulea --- drivers/vdpa/mlx5/core/mlx5_vdpa.h | 2 ++ drivers/vdpa/mlx5/core/mr.c| 23 +++

[PATCH vhost v3 5/6] vdpa/mlx5: Introduce reference counting to mrs

2023-12-15 Thread Dragos Tatulea
Deleting the old mr during mr update (.set_map) and then modifying the vqs with the new mr is not a good flow for firmware. The firmware expects that mkeys are deleted after there are no more vqs referencing them. Introduce reference counting for mrs to fix this. It is the only way to make sure

[PATCH vhost v3 4/6] vdpa/mlx5: Use vq suspend/resume during .set_map

2023-12-15 Thread Dragos Tatulea
Instead of tearing down and setting up vq resources, use vq suspend/resume during .set_map to speed things up a bit. The vq mr is updated with the new mapping while the vqs are suspended. If the device doesn't support resumable vqs, do the old teardown and setup dance. Reviewed-by: Gal Pressman

[PATCH vhost v3 3/6] vdpa/mlx5: Introduce per vq and device resume

2023-12-15 Thread Dragos Tatulea
Implement vdpa vq and device resume if capability detected. Add support for suspend -> ready state change. Reviewed-by: Gal Pressman Acked-by: Eugenio Pérez Signed-off-by: Dragos Tatulea --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 69 +++ 1 file changed, 62

[PATCH vhost v3 2/6] vdpa/mlx5: Allow modifying multiple vq fields in one modify command

2023-12-15 Thread Dragos Tatulea
Add a bitmask variable that tracks hw vq field changes that are supposed to be modified on next hw vq change command. This will be useful to set multiple vq fields when resuming the vq. Reviewed-by: Gal Pressman Signed-off-by: Dragos Tatulea --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 48

[PATCH mlx5-vhost v3 1/6] vdpa/mlx5: Expose resumable vq capability

2023-12-15 Thread Dragos Tatulea
Necessary for checking if resumable vqs are supported by the hardware. Actual support will be added in a downstream patch. Reviewed-by: Gal Pressman Acked-by: Eugenio Pérez Signed-off-by: Dragos Tatulea --- include/linux/mlx5/mlx5_ifc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH vhost v3 0/6] vdpa/mlx5: Add support for resumable vqs

2023-12-15 Thread Dragos Tatulea
Add support for resumable vqs in the driver. This is a firmware feature that can be used for the following benefits: - Full device .suspend/.resume. - .set_map doesn't need to destroy and create new vqs anymore just to update the map. When resumable vqs are supported it is enough to suspend

[PATCH] ring-buffer: Have rb_time_cmpxchg() set the msb counter too

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" The rb_time_cmpxchg() on 32-bit architectures requires setting three 32-bit words to represent the 64-bit timestamp, with some salt for synchronization. Those are: msb, top, and bottom The issue is, the rb_time_cmpxchg() did not properly salt the msb portion, and

[PATCH v2] ring-buffer: Remove useless update to write_stamp in rb_try_to_discard()

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" When filtering is enabled, a temporary buffer is created to place the content of the trace event output so that the filter logic can decide from the trace event output if the trace event should be filtered out or not. If it is to be filtered out, the content in

Re: [PATCH] ring-buffer: Remove useless update to write_stamp in rb_try_to_discard()

2023-12-15 Thread Steven Rostedt
On Fri, 15 Dec 2023 07:41:51 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > When filtering is enabled, a temporary buffer is created to place the > content of the trace event output so that the filter logic can decide > from the trace event output if the trace event should

Re: ARM64 Livepatch based on SFrame

2023-12-15 Thread Mark Rutland
On Thu, Dec 14, 2023 at 02:49:29PM -0600, Madhavan T. Venkataraman wrote: > Hi Mark, Hi Madhavan, > I attended your presentation in the LPC. You mentioned that you could use > some help with some pre-requisites for the Livepatch feature. > I would like to lend a hand. Cool! I've been meaning

[PATCH] ring-buffer: Remove useless update to write_stamp in rb_try_to_discard()

2023-12-15 Thread Steven Rostedt
From: "Steven Rostedt (Google)" When filtering is enabled, a temporary buffer is created to place the content of the trace event output so that the filter logic can decide from the trace event output if the trace event should be filtered out or not. If it is to be filtered out, the content in

Re: [PATCH vhost v2 4/8] vdpa/mlx5: Mark vq addrs for modification in hw vq

2023-12-15 Thread Dragos Tatulea
On Thu, 2023-12-14 at 19:30 +0100, Eugenio Perez Martin wrote: > On Thu, Dec 14, 2023 at 4:51 PM Dragos Tatulea wrote: > > > > On Thu, 2023-12-14 at 08:45 -0500, Michael S. Tsirkin wrote: > > > On Thu, Dec 14, 2023 at 01:39:55PM +, Dragos Tatulea wrote: > > > > On Tue, 2023-12-12 at 15:44

Re: [PATCH net-next v10 0/3] send credit update during setting SO_RCVLOWAT

2023-12-15 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (main) by David S. Miller : On Thu, 14 Dec 2023 15:52:27 +0300 you wrote: > Hello, > >DESCRIPTION > > This patchset fixes old problem with hungup of both rx/tx sides and adds > test for it. This happens due