Re: [v5.15] WARNING in kvm_arch_vcpu_ioctl_run

2023-11-27 Thread Muhammad Usama Anjum
On 11/26/23 8:24 PM, syzbot wrote: > This bug is marked as fixed by commit: > KVM: x86: Remove WARN sanity check on hypervisor timer vs. UNINITIALIZED vCPU > > But I can't find it in the tested trees[1] for more than 90 days. The commit is already in 6.7-rc3: https://git.kernel.org/pub/scm/linux/k

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

2023-11-27 Thread Huang, Kai
On Mon, 2023-11-27 at 00:27 +0800, Haitao Huang wrote: > On Mon, 20 Nov 2023 11:45:46 +0800, Huang, Kai wrote: > > > On Mon, 2023-10-30 at 11:20 -0700, Haitao Huang wrote: > > > From: Sean Christopherson > > > > > > To prepare for per-cgroup reclamation, separate the top-level reclaim > > > fun

Re: [PATCH v3 2/2] arm64: dts: qcom: sm8250-xiaomi-elish: Add pm8150b type-c node and enable usb otg

2023-11-27 Thread Bryan O'Donoghue
On 26/11/2023 02:28, Jianhua Lu wrote: Add type-c node to feature otg function and set usb-role-switch property for usb_1_dwc3 to enable usb otg. Reviewed-by: Konrad Dybcio Signed-off-by: Jianhua Lu --- Changes in v3: 1. squash patch[3/3]. 2. update commit message. 3. add pm8150b_vbus

Re: [PATCH] net: make config lines follow common pattern

2023-11-27 Thread Paolo Abeni
On Thu, 2023-11-23 at 12:12 +0100, Lukas Bulwahn wrote: > The Kconfig parser is quite relaxed when parsing config definition lines. > However, there are just a few config definition lines that do not follow > the common regular expression 'config [0-9A-Z]', i.e., there are only a few > cases where

[PATCH v5] bus: mhi: host: Add tracing support

2023-11-27 Thread Krishna chaitanya chundru
This change adds ftrace support for following functions which helps in debugging the issues when there is Channel state & MHI state change and also when we receive data and control events: 1. mhi_intvec_mhi_states 2. mhi_process_data_event_ring 3. mhi_process_ctrl_ev_ring 4. mhi_gen_tre 5. mhi_upda

Re: [PATCH RFC v2 04/27] mm: migrate/mempolicy: Add hook to modify migration target gfp

2023-11-27 Thread Alexandru Elisei
Hi Mike, I really appreciate you having a look! On Sat, Nov 25, 2023 at 12:03:22PM +0200, Mike Rapoport wrote: > On Sun, Nov 19, 2023 at 04:56:58PM +, Alexandru Elisei wrote: > > It might be desirable for an architecture to modify the gfp flags used to > > allocate the destination page for mi

Re: [PATCH RFC v2 05/27] mm: page_alloc: Add an arch hook to allow prep_new_page() to fail

2023-11-27 Thread Alexandru Elisei
Hi, Thank you so much for your comments, there are genuinely useful. On Fri, Nov 24, 2023 at 08:35:47PM +0100, David Hildenbrand wrote: > On 19.11.23 17:56, Alexandru Elisei wrote: > > Introduce arch_prep_new_page(), which will be used by arm64 to reserve tag > > storage for an allocated page. Re

Re: [PATCH RFC v2 06/27] mm: page_alloc: Allow an arch to hook early into free_pages_prepare()

2023-11-27 Thread Alexandru Elisei
Hi, On Fri, Nov 24, 2023 at 08:36:52PM +0100, David Hildenbrand wrote: > On 19.11.23 17:57, Alexandru Elisei wrote: > > Add arch_free_pages_prepare() hook that is called before that page flags > > are cleared. This will be used by arm64 when explicit management of tag > > storage pages is enabled.

[PATCH v3 00/33] tracing: fprobe: function_graph: Multi-function graph and fprobe on fgraph

2023-11-27 Thread Masami Hiramatsu (Google)
Hi, Here is the 3rd version of the series to re-implement the fprobe on function-graph tracer. The previous version is; https://lore.kernel.org/all/169945345785.55307.5003201137843449313.stgit@devnote2/ In this version, I fixed the implementation issue in the multiple function-graph tracer[12/33

[PATCH v3 01/33] tracing: Add a comment about ftrace_regs definition

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) To clarify what will be expected on ftrace_regs, add a comment to the architecture independent definition of the ftrace_regs. Signed-off-by: Masami Hiramatsu (Google) --- Changes in v3: - Add instruction pointer Changes in v2: - newly added. --- include/li

[PATCH v3 02/33] x86: tracing: Add ftrace_regs definition in the header

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Add ftrace_regs definition for x86_64 in the ftrace header to clarify what register will be accessible from ftrace_regs. Signed-off-by: Masami Hiramatsu (Google) --- Changes in v3: - Add rip to be saved. Changes in v2: - Newly added. --- arch/x86/include/a

[PATCH v3 03/33] seq_buf: Export seq_buf_puts()

2023-11-27 Thread Masami Hiramatsu (Google)
From: Christophe JAILLET Mark seq_buf_puts() which is part of the seq_buf API to be exported to kernel loadable GPL modules. Link: https://lkml.kernel.org/r/b9e3737f66ec2450221b492048ce0d9c65c84953.1698861216.git.christophe.jail...@wanadoo.fr Signed-off-by: Christophe JAILLET Signed-off-by: S

[PATCH v3 04/33] function_graph: Convert ret_stack to a series of longs

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) In order to make it possible to have multiple callbacks registered with the function_graph tracer, the retstack needs to be converted from an array of ftrace_ret_stack structures to an array of longs. This will allow to store the list of callbacks on the stack for th

[PATCH v3 05/33] fgraph: Use BUILD_BUG_ON() to make sure we have structures divisible by long

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) Instead of using "ALIGN()", use BUILD_BUG_ON() as the structures should always be divisible by sizeof(long). Link: http://lkml.kernel.org/r/2019052444.gi2...@hirez.programming.kicks-ass.net Suggested-by: Peter Zijlstra Signed-off-by: Steven Rostedt (VMware)

[PATCH v3 06/33] function_graph: Add an array structure that will allow multiple callbacks

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) Add an array structure that will eventually allow the function graph tracer to have up to 16 simultaneous callbacks attached. It's an array of 16 fgraph_ops pointers, that is assigned when one is registered. On entry of a function the entry of the first item in the a

[PATCH v3 07/33] function_graph: Allow multiple users to attach to function graph

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) Allow for multiple users to attach to function graph tracer at the same time. Only 16 simultaneous users can attach to the tracer. This is because there's an array that stores the pointers to the attached fgraph_ops. When a function being traced is entered, each of t

[PATCH v3 08/33] function_graph: Remove logic around ftrace_graph_entry and return

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) The function pointers ftrace_graph_entry and ftrace_graph_return are no longer called via the function_graph tracer. Instead, an array structure is now used that will allow for multiple users of the function_graph infrastructure. The variables are still used by the a

[PATCH v3 09/33] ftrace/function_graph: Pass fgraph_ops to function graph callbacks

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) Pass the fgraph_ops structure to the function graph callbacks. This will allow callbacks to add a descriptor to a fgraph_ops private field that wil be added in the future and use it for the callbacks. This will be useful when more than one callback can be registered

[PATCH v3 10/33] ftrace: Allow function_graph tracer to be enabled in instances

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) Now that function graph tracing can handle more than one user, allow it to be enabled in the ftrace instances. Note, the filtering of the functions is still joined by the top level set_ftrace_filter and friends, as well as the graph and nograph files. Signed-off-by:

[PATCH v3 11/33] ftrace: Allow ftrace startup flags exist without dynamic ftrace

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) Some of the flags for ftrace_startup() may be exposed even when CONFIG_DYNAMIC_FTRACE is not configured in. This is fine as the difference between dynamic ftrace and static ftrace is done within the internals of ftrace itself. No need to have use cases fail to compil

[PATCH v3 12/33] function_graph: Have the instances use their own ftrace_ops for filtering

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) Allow for instances to have their own ftrace_ops part of the fgraph_ops that makes the funtion_graph tracer filter on the set_ftrace_filter file of the instance and not the top instance. This also change how the function_graph handles multiple instances on the shado

[PATCH v3 13/33] function_graph: Add "task variables" per task for fgraph_ops

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) Add a "task variables" array on the tasks shadow ret_stack that is the size of longs for each possible registered fgraph_ops. That's a total of 16, taking up 8 * 16 = 128 bytes (out of a page size 4k). This will allow for fgraph_ops to do specific features on a per

[PATCH v3 14/33] function_graph: Move set_graph_function tests to shadow stack global var

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) The use of the task->trace_recursion for the logic used for the set_graph_funnction was a bit of an abuse of that variable. Now that there exists global vars that are per stack for registered graph traces, use that instead. Signed-off-by: Steven Rostedt (VMware) Si

[PATCH v3 15/33] function_graph: Move graph depth stored data to shadow stack global var

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) The use of the task->trace_recursion for the logic used for the function graph depth was a bit of an abuse of that variable. Now that there exists global vars that are per stack for registered graph traces, use that instead. Signed-off-by: Steven Rostedt (VMware) S

[PATCH v3 16/33] function_graph: Move graph notrace bit to shadow stack global var

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) The use of the task->trace_recursion for the logic used for the function graph no-trace was a bit of an abuse of that variable. Now that there exists global vars that are per stack for registered graph traces, use that instead. Signed-off-by: Steven Rostedt (VMware)

[PATCH v3 17/33] function_graph: Implement fgraph_reserve_data() and fgraph_retrieve_data()

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) Added functions that can be called by a fgraph_ops entryfunc and retfunc to store state between the entry of the function being traced to the exit of the same function. The fgraph_ops entryfunc() may call fgraph_reserve_data() to store up to 32 words onto the task's

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

2023-11-27 Thread Tobias Huschle
On Wed, Nov 22, 2023 at 11:00:16AM +0100, Peter Zijlstra wrote: > On Tue, Nov 21, 2023 at 02:17:21PM +0100, Tobias Huschle wrote: > > The below should also work for internal entities, but last time I poked > around with it I had some regressions elsewhere -- you know, fix one, > wreck another type

[PATCH v3 18/33] function_graph: Add selftest for passing local variables

2023-11-27 Thread Masami Hiramatsu (Google)
From: Steven Rostedt (VMware) Add boot up selftest that passes variables from a function entry to a function exit, and make sure that they do get passed around. Signed-off-by: Steven Rostedt (VMware) Signed-off-by: Masami Hiramatsu (Google) --- Changes in v2: - Add reserved size test. - U

[PATCH v3 20/33] function_graph: Add a new exit handler with parent_ip and ftrace_regs

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Add a new return handler to fgraph_ops as 'retregfunc' which takes parent_ip and ftrace_regs instead of ftrace_graph_ret. This handler is available only if the arch support CONFIG_HAVE_FUNCTION_GRAPH_FREGS. Note that the 'retfunc' and 'reregfunc' are mutual exclus

[PATCH v3 19/33] function_graph: Add a new entry handler with parent_ip and ftrace_regs

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Add a new entry handler to fgraph_ops as 'entryregfunc' which takes parent_ip and ftrace_regs. Note that the 'entryfunc' and 'entryregfunc' are mutual exclusive. You can set only one of them. Signed-off-by: Masami Hiramatsu (Google) --- Changes in v3: - Updat

[PATCH v3 21/33] x86/ftrace: Enable HAVE_FUNCTION_GRAPH_FREGS

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Support HAVE_FUNCTION_GRAPH_FREGS on x86-64, which saves ftrace_regs on the stack in ftrace_graph return trampoline so that the callbacks can access registers via ftrace_regs APIs. Note that this only recovers 'rax' and 'rdx' registers because other registers are

[PATCH v3 22/33] tracing: Rename ftrace_regs_return_value to ftrace_regs_get_return_value

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Rename ftrace_regs_return_value to ftrace_regs_get_return_value as same as other ftrace_regs_get/set_* APIs. Signed-off-by: Masami Hiramatsu (Google) --- Changes in v3: - Newly added. --- arch/loongarch/include/asm/ftrace.h |2 +- arch/powerpc/include/asm

[PATCH v3 23/33] arm64: ftrace: Enable HAVE_FUNCTION_GRAPH_FREGS

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Enable CONFIG_HAVE_FUNCTION_GRAPH_FREGS on arm64. Note that this depends on HAVE_DYNAMIC_FTRACE_WITH_ARGS which is enabled if the compiler supports "-fpatchable-function-entry=2". If not, it continue to use ftrace_ret_regs. Signed-off-by: Masami Hiramatsu (Google)

[PATCH v3 24/33] fprobe: Use ftrace_regs in fprobe entry handler

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) This allows fprobes to be available with CONFIG_DYNAMIC_FTRACE_WITH_ARGS instead of CONFIG_DYNAMIC_FTRACE_WITH_REGS, then we can enable fprobe on arm64. Signed-off-by: Masami Hiramatsu (Google) Acked-by: Florent Revest --- Changes from previous series: NOTHING,

[PATCH v3 25/33] fprobe: Use ftrace_regs in fprobe exit handler

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Change the fprobe exit handler to use ftrace_regs structure instead of pt_regs. This also introduce HAVE_PT_REGS_TO_FTRACE_REGS_CAST which means the ftrace_regs's memory layout is equal to the pt_regs so that those are able to cast. Fprobe introduces a new dependen

[PATCH v3 26/33] tracing: Add ftrace_partial_regs() for converting ftrace_regs to pt_regs

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Add ftrace_partial_regs() which converts the ftrace_regs to pt_regs. If the architecture defines its own ftrace_regs, this copies partial registers to pt_regs and returns it. If not, ftrace_regs is the same as pt_regs and ftrace_partial_regs() will return ftrace_re

[PATCH v3 27/33] tracing: Add ftrace_fill_perf_regs() for perf event

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Add ftrace_fill_perf_regs() which should be compatible with the perf_fetch_caller_regs(). In other words, the pt_regs returned from the ftrace_fill_perf_regs() must satisfy 'user_mode(regs) == false' and can be used for stack tracing. Signed-off-by: Masami Hiramat

[PATCH v3 28/33] fprobe: Rewrite fprobe on function-graph tracer

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Rewrite fprobe implementation on function-graph tracer. Major API changes are: - 'nr_maxactive' field is deprecated. - This depends on CONFIG_DYNAMIC_FTRACE_WITH_ARGS or !CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS, and CONFIG_HAVE_FUNCTION_GRAPH_FREGS. So cur

[PATCH v3 29/33] tracing/fprobe: Remove nr_maxactive from fprobe

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Remove depercated fprobe::nr_maxactive. This involves fprobe events to rejects the maxactive number. Signed-off-by: Masami Hiramatsu (Google) --- Changes in v2: - Newly added. --- include/linux/fprobe.h |2 -- kernel/trace/trace_fprobe.c | 44 +

[PATCH v3 30/33] tracing/fprobe: Enable fprobe events with CONFIG_DYNAMIC_FTRACE_WITH_ARGS

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Allow fprobe events to be enabled with CONFIG_DYNAMIC_FTRACE_WITH_ARGS. With this change, fprobe events mostly use ftrace_regs instead of pt_regs. Note that if the arch doesn't enable HAVE_PT_REGS_COMPAT_FTRACE_REGS, fprobe events will not be able to be used from p

[PATCH v3 31/33] bpf: Enable kprobe_multi feature if CONFIG_FPROBE is enabled

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Enable kprobe_multi feature if CONFIG_FPROBE is enabled. The pt_regs is converted from ftrace_regs by ftrace_partial_regs(), thus some registers may always returns 0. But it should be enough for function entry (access arguments) and exit (access return value). Sig

[PATCH v3 32/33] selftests: ftrace: Remove obsolate maxactive syntax check

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Since the fprobe event does not support maxactive anymore, stop testing the maxactive syntax error checking. Signed-off-by: Masami Hiramatsu (Google) --- .../ftrace/test.d/dynevent/fprobe_syntax_errors.tc |4 +--- 1 file changed, 1 insertion(+), 3 deletions(

[PATCH v3 33/33] Documentation: probes: Update fprobe on function-graph tracer

2023-11-27 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Update fprobe documentation for the new fprobe on function-graph tracer. This includes some bahvior changes and pt_regs to ftrace_regs interface change. Signed-off-by: Masami Hiramatsu (Google) --- Changes in v2: - Update @fregs parameter explanation. --- Doc

Re: [PATCH net] bpf: test_run: fix WARNING in format_decode

2023-11-27 Thread Daniel Borkmann
On 11/22/23 6:28 AM, Yonghong Song wrote: On 11/21/23 7:50 PM, Edward Adam Davis wrote: Confirm that skb->len is not 0 to ensure that skb length is valid. Fixes: 114039b34201 ("bpf: Move skb->len == 0 checks into __bpf_redirect") Reported-by: syzbot+e2c932aec5c8a6e1d...@syzkaller.appspotmail.co

Re: [PATCH] dt-bindings: correct white-spaces in examples

2023-11-27 Thread Geert Uytterhoeven
On Fri, Nov 24, 2023 at 10:21 AM Krzysztof Kozlowski wrote: > Use only one and exactly one space around '=' in DTS example. > > Signed-off-by: Krzysztof Kozlowski > .../bindings/pinctrl/renesas,rzg2l-pinctrl.yaml | 6 +++--- Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeve

Re: [PATCH RFC v2 12/27] arm64: mte: Add tag storage pages to the MIGRATE_CMA migratetype

2023-11-27 Thread Alexandru Elisei
Hi David, On Fri, Nov 24, 2023 at 08:40:55PM +0100, David Hildenbrand wrote: > On 19.11.23 17:57, Alexandru Elisei wrote: > > Add the MTE tag storage pages to the MIGRATE_CMA migratetype, which allows > > the page allocator to manage them like regular pages. > > > > Ths migratype lends the pages

Re: [PATCH RFC v2 13/27] arm64: mte: Make tag storage depend on ARCH_KEEP_MEMBLOCK

2023-11-27 Thread Alexandru Elisei
Hi, On Fri, Nov 24, 2023 at 08:51:38PM +0100, David Hildenbrand wrote: > On 19.11.23 17:57, Alexandru Elisei wrote: > > Tag storage memory requires that the tag storage pages used for data are > > always migratable when they need to be repurposed to store tags. > > > > If ARCH_KEEP_MEMBLOCK is en

Re: [PATCH RFC v2 14/27] arm64: mte: Disable dynamic tag storage management if HW KASAN is enabled

2023-11-27 Thread Alexandru Elisei
Hi, On Fri, Nov 24, 2023 at 08:54:12PM +0100, David Hildenbrand wrote: > On 19.11.23 17:57, Alexandru Elisei wrote: > > To be able to reserve the tag storage associated with a page requires that > > the tag storage page can be migrated. > > > > When HW KASAN is enabled, the kernel allocates pages

Re: [PATCH RFC v2 15/27] arm64: mte: Check that tag storage blocks are in the same zone

2023-11-27 Thread Alexandru Elisei
Hi, On Fri, Nov 24, 2023 at 08:56:59PM +0100, David Hildenbrand wrote: > On 19.11.23 17:57, Alexandru Elisei wrote: > > alloc_contig_range() requires that the requested pages are in the same > > zone. Check that this is indeed the case before initializing the tag > > storage blocks. > > > > Signe

[PATCH 0/2] tracing: Simplify and fix "buffered event" synchronization

2023-11-27 Thread Petr Pavlu
Rework the maintenance synchronization for buffered events to simplify it and to address several found problems. Petr Pavlu (2): tracing: Simplify and fix "buffered event" synchronization tracing: Disable events in reverse order of their enable operation kernel/trace/trace.c| 66

[PATCH 1/2] tracing: Simplify and fix "buffered event" synchronization

2023-11-27 Thread Petr Pavlu
The following warning appears when using buffered events: [ 203.556451] WARNING: CPU: 53 PID: 10220 at kernel/trace/ring_buffer.c:3912 ring_buffer_discard_commit+0x2eb/0x420 [...] [ 203.670690] CPU: 53 PID: 10220 Comm: stress-ng-sysin Tainted: GE 6.7.0-rc2-default #4 56e6d0fcf5

[PATCH 2/2] tracing: Disable events in reverse order of their enable operation

2023-11-27 Thread Petr Pavlu
Make the disable operation in __ftrace_event_enable_disable() use the reverse order of the respective enable operation. This has two minor benefits: * Disabling of buffered events via trace_buffered_event_disable() is done after unregistering the trace event. It closes a small window where an

Re: [PATCH v7 3/4] remoteproc: zynqmp: add pm domains support

2023-11-27 Thread Tanmay Shah
On 11/23/23 12:11 PM, Mathieu Poirier wrote: > On Wed, Nov 22, 2023 at 03:00:36PM -0600, Tanmay Shah wrote: > > Hi Mathieu, > > > > Please find my comments below. > > > > On 11/21/23 4:59 PM, Mathieu Poirier wrote: > > > Hi, > > > > > > On Fri, Nov 17, 2023 at 09:42:37AM -0800, Tanmay Shah wrot

Re: [PATCH] dt-bindings: correct white-spaces in examples

2023-11-27 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2023-11-24 01:21:21) > Use only one and exactly one space around '=' in DTS example. > > Signed-off-by: Krzysztof Kozlowski > > --- Acked-by: Stephen Boyd

Re: [PATCH] dt-bindings: correct white-spaces in examples

2023-11-27 Thread Mathieu Poirier
On Fri, Nov 24, 2023 at 10:21:21AM +0100, Krzysztof Kozlowski wrote: > Use only one and exactly one space around '=' in DTS example. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Merging idea: Rob's DT. > Should apply cleanly on Rob's for-next. > --- > .../devicetree/bindings/auxdisplay/h

Re: [PATCH 1/2] tracing: Simplify and fix "buffered event" synchronization

2023-11-27 Thread Steven Rostedt
On Mon, 27 Nov 2023 16:12:47 +0100 Petr Pavlu wrote: > The following warning appears when using buffered events: > [ 203.556451] WARNING: CPU: 53 PID: 10220 at kernel/trace/ring_buffer.c:3912 > ring_buffer_discard_commit+0x2eb/0x420 Hmm, I don't have a waring on line 3912, do you have extra co

Re: [PATCH 2/2] tracing: Disable events in reverse order of their enable operation

2023-11-27 Thread Steven Rostedt
On Mon, 27 Nov 2023 16:12:48 +0100 Petr Pavlu wrote: > Make the disable operation in __ftrace_event_enable_disable() use the > reverse order of the respective enable operation. > > This has two minor benefits: > * Disabling of buffered events via trace_buffered_event_disable() is > done after

Re: [PATCH v2 0/5] MODVERSIONS + RUST Redux

2023-11-27 Thread Matthew Maurer
> > > > > > > With regards to future directions that likely won't work for loosening > > > > it: > > > > Unfortunately, the .rmeta format itself is not stable, so I wouldn't > > > > want to > > > > teach genksyms to open it up and split out the pieces for specific > > > > functions. > > > > Exte

Re: [PATCH 1/4] dt-bindings: remoteproc: qcom: wcnss: Add WCN3680B compatible

2023-11-27 Thread Stephan Gerhold
On Sat, Nov 25, 2023 at 01:25:22PM +0100, Luca Weiss wrote: > On Montag, 16. Oktober 2023 16:44:28 CET Stephan Gerhold wrote: > > On Mon, Oct 16, 2023 at 03:16:14PM +0200, Loic Poulain wrote: > > > On Mon, 16 Oct 2023 at 07:35, Krzysztof Kozlowski > > > > > > wrote: > > > > On 15/10/2023 22:03, L

Re: [PATCH 1/4] dt-bindings: remoteproc: qcom: wcnss: Add WCN3680B compatible

2023-11-27 Thread Luca Weiss
On Montag, 27. November 2023 21:07:28 CET Stephan Gerhold wrote: > On Sat, Nov 25, 2023 at 01:25:22PM +0100, Luca Weiss wrote: > > On Montag, 16. Oktober 2023 16:44:28 CET Stephan Gerhold wrote: > > > On Mon, Oct 16, 2023 at 03:16:14PM +0200, Loic Poulain wrote: > > > > On Mon, 16 Oct 2023 at 07:35

Re: [RFC][PATCH] tracing: Allow creating instances with specified system events

2023-11-27 Thread Steven Rostedt
On Mon, 27 Nov 2023 17:41:08 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > A trace instance may only need to enable specific events. As the eventfs > directory of an instance currently creates all events which adds overhead, > allow internal instances to be created with just

Re: [PATCH] rethook: Use __rcu pointer for rethook::handler

2023-11-27 Thread Google
On Fri, 24 Nov 2023 23:40:57 +0800 kernel test robot wrote: > Hi Masami, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on linus/master] > [also build test WARNING on v6.7-rc2 next-20231124] > [If your patch is applied to the wrong git tree, kindly drop

Re: [PATCH RFC v2 04/27] mm: migrate/mempolicy: Add hook to modify migration target gfp

2023-11-27 Thread Mike Rapoport
On Mon, Nov 27, 2023 at 11:52:56AM +, Alexandru Elisei wrote: > Hi Mike, > > I really appreciate you having a look! > > On Sat, Nov 25, 2023 at 12:03:22PM +0200, Mike Rapoport wrote: > > On Sun, Nov 19, 2023 at 04:56:58PM +, Alexandru Elisei wrote: > > > It might be desirable for an archi