Re: [PATCH v2 0/3] replace `allow(...)` lints with `expect(...)`

2025-06-27 Thread Onur
On Fri, 27 Jun 2025 17:55:41 +0200 Miguel Ojeda wrote: > On Fri, Jun 27, 2025 at 8:54 AM Onur Özkan wrote: > > > > The `#[allow(clippy::non_send_fields_in_send_ty)]` removal was > > tested on 1.81 and clippy was still happy with it. I couldn't test > > it on 1.78 because when I go below 1.81 `me

Re: [PATCH V2 net-next 2/2] vhost-net: reduce one userspace copy when building XDP buff

2025-06-27 Thread Jakub Kicinski
On Thu, 26 Jun 2025 10:14:45 +0800 Jason Wang wrote: > --- a/drivers/vhost/net.c > +++ b/drivers/vhost/net.c > @@ -690,13 +690,13 @@ static int vhost_net_build_xdp(struct > vhost_net_virtqueue *nvq, > if (unlikely(!buf)) > return -ENOMEM; > > - copied = copy_from_iter(buf

Re: [PATCH RFT v17 4/8] fork: Add shadow stack support to clone3()

2025-06-27 Thread Mark Brown
On Fri, Jun 27, 2025 at 06:19:33PM +0100, Catalin Marinas wrote: > On Mon, Jun 09, 2025 at 01:54:05PM +0100, Mark Brown wrote: > > + /* Ensure that a token written as a result of a pivot is visible */ > > + gcsb_dsync(); > > + gcspr_el0 = args->shadow_stack_token; > > + if (!gcs_consume_to

Re: [PATCH 4/4] clk: qcom: tcsrcc-sm8650: Add support for SM7635 SoC

2025-06-27 Thread Konrad Dybcio
On 6/25/25 11:12 AM, Luca Weiss wrote: > The SM7635 has a very similar tcsrcc block, only TCSR_UFS_CLKREF_EN uses > different regs, and both TCSR_USB2_CLKREF_EN and TCSR_USB3_CLKREF_EN are > not present. > > Modify these resources at probe if we're probing for sm7635. > > Signed-off-by: Luca Weis

Re: [PATCH v3 2/3] dt-bindings: arm: qcom: Add Billion Capture+

2025-06-27 Thread Rob Herring (Arm)
On Thu, 26 Jun 2025 00:04:27 +0200, Cristian Cozzolino wrote: > Billion Capture+ (flipkart,rimob) is a smartphone based on Qualcomm > Snapdragon 625 (MSM8953). > > Signed-off-by: Cristian Cozzolino > --- > Documentation/devicetree/bindings/arm/qcom.yaml | 1 + > 1 file changed, 1 insertion(+)

Re: [PATCH v3 1/3] dt-bindings: vendor-prefixes: Add Flipkart

2025-06-27 Thread Rob Herring (Arm)
On Thu, 26 Jun 2025 00:04:26 +0200, Cristian Cozzolino wrote: > Add Flipkart to the vendor prefixes. > > Signed-off-by: Cristian Cozzolino > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring (Arm)

Re: [PATCH 1/2] dt-bindings: pinctrl: document the SM7635 Top Level Mode Multiplexer

2025-06-27 Thread Rob Herring
On Wed, Jun 25, 2025 at 11:12:01AM +0200, Luca Weiss wrote: > Document the Top Level Mode Multiplexer on the SM7635 Platform. > > Signed-off-by: Luca Weiss > --- > .../bindings/pinctrl/qcom,sm7635-tlmm.yaml | 133 > + > 1 file changed, 133 insertions(+) > > diff --g

Re: [PATCH] selftests: harness: Rework is_signed_type() to avoid collision with overflow.h

2025-06-27 Thread Kees Cook
On Tue, Jun 24, 2025 at 04:19:30PM -0700, Sean Christopherson wrote: > Rename is_signed_type() to is_signed_var() to avoid colliding with a macro > of the same name defined by linux/overflow.h. Note, overflow.h's version > takes a type as the input, whereas the harness's version takes a variable!

Re: [PATCH v5 1/7] selftests/futex: Add ASSERT_ macros

2025-06-27 Thread André Almeida
Em 26/06/2025 19:07, Thomas Gleixner escreveu: On Thu, Jun 26 2025 at 14:11, André Almeida wrote: Create ASSERT_{EQ, NE, TRUE, FALSE} macros to make test creation easier. What's so futex special about this that it can't use the same muck in tools/testing/selftests/kselftest_harness.h My p

Re: [PATCH 2/4] clk: qcom: rpmh: Add support for RPMH clocks on SM7635

2025-06-27 Thread Konrad Dybcio
On 6/25/25 11:12 AM, Luca Weiss wrote: > Add support for RPMH clocks on SM7635 SoCs. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH net-next v3 3/3] selftests: net: add netpoll basic functionality test

2025-06-27 Thread Jakub Kicinski
On Fri, 27 Jun 2025 10:03:11 -0700 Breno Leitao wrote: > +raise KsftSkipEx("netpoll_poll_dev() was not called. Skipping test") As discussed offline SKIPing is not an option for SW tests. -- pw-bot: cr

Re: [RFC PATCH v1 0/2] kselftest/resctrl: CAT functional tests

2025-06-27 Thread Reinette Chatre
Hi Ilpo, On 6/16/25 1:24 AM, Ilpo Järvinen wrote: > Hi all, > > In the last Fall Reinette mentioned functional tests of resctrl would > be preferred over selftests that are based on performance measurement. > This series tries to address that shortcoming by adding some functional > tests for resc

Re: [PATCH v3 42/64] kbuild,x86: Fix special section module permissions

2025-06-27 Thread Josh Poimboeuf
Clang (and the makefile) by leaving the code untouched and instead strip SHF_WRITE before the link and re-add it afterwards. Then we can tie this horrible hack to specific Clang versions when it gets fixed. Something like so: diff --git a/arch/Kconfig b/arch/Kconfig index a3308a220f86..350ea

Re: [PATCH RFT v17 4/8] fork: Add shadow stack support to clone3()

2025-06-27 Thread Catalin Marinas
On Mon, Jun 09, 2025 at 01:54:05PM +0100, Mark Brown wrote: > +int arch_shstk_validate_clone(struct task_struct *tsk, > + struct vm_area_struct *vma, > + struct page *page, > + struct kernel_clone_args *args) > +{ > +

Re: [PATCH 08/16] MAINTAINERS: Include GDB scripts under MEMORY MANAGEMENT entry

2025-06-27 Thread David Hildenbrand
On 26.06.25 01:10, Florian Fainelli wrote: Include the GDB scripts file under scripts/gdb/linux/ that deal with memory mamagenement code under the MEMORY MANAGEMENT subsystem since they parses internal data structures that depend upon that subsystem. Signed-off-by: Florian Fainelli --- MAINTA

Re: [PATCH v3 44/64] x86/jump_label: Define ELF section entry size for jump labels

2025-06-27 Thread Josh Poimboeuf
On Fri, Jun 27, 2025 at 12:48:18PM +0200, Peter Zijlstra wrote: > > +#define JUMP_TABLE_ENTRY(key, label) \ > > + ".pushsection __jump_table, \"aM\", @progbits, " \ > > + __stringify(JUMP_ENTRY_SIZE) "\n\t" \ > > Argh, can you please not

Re: [PATCH v3 29/64] objtool: Mark prefix functions

2025-06-27 Thread Josh Poimboeuf
On Fri, Jun 27, 2025 at 12:31:58PM +0200, Peter Zijlstra wrote: > > +static inline bool is_prefix_func(struct symbol *sym) > > +{ > > + return is_func_sym(sym) && sym->prefix; > > +} > > func_is_prefix() ? is the function a prefix though? > Also, since we only ever set sym->prefix when is_func

Re: [PATCH v2] selftests: cachestat: Refactor test to remove duplication

2025-06-27 Thread Nhat Pham
On Tue, Jun 24, 2025 at 9:58 PM Suresh Chandrappa wrote: > > Hi @nphamcs > Can you please check the modified change Is this supposed to be on top of the earlier patch you sent out? In that case, you should send both together as a patch series. > > Thanks > Suresh K C > > > On Wed, 11 Jun 2025, 2

Re: [PATCH v3 26/64] objtool: Add section/symbol type helpers

2025-06-27 Thread Josh Poimboeuf
On Fri, Jun 27, 2025 at 12:29:30PM +0200, Peter Zijlstra wrote: > Naming seems inconsistent, there are: > > sym_has_sec(), sec_changed() and sec_size() > > which have the object first, but then most new ones are: > > is_foo_sym() and is_foo_sec() > > which have the object last. For the "is_(

Re: [PATCH 00/16] MAINTAINERS: Include GDB scripts under their relevant subsystems

2025-06-27 Thread Florian Fainelli
On 6/27/25 00:55, Jan Kara wrote: On Thu 26-06-25 09:39:36, Florian Fainelli wrote: On 6/26/25 09:17, Liam R. Howlett wrote: * Florian Fainelli [250625 19:13]: Linux has a number of very useful GDB scripts under scripts/gdb/linux/* that provide OS awareness for debuggers and allows for debugg

Re: [PATCH v2 0/3] replace `allow(...)` lints with `expect(...)`

2025-06-27 Thread Miguel Ojeda
On Fri, Jun 27, 2025 at 8:54 AM Onur Özkan wrote: > > The `#[allow(clippy::non_send_fields_in_send_ty)]` removal was tested > on 1.81 and clippy was still happy with it. I couldn't test it on 1.78 > because when I go below 1.81 `menuconfig` no longer shows the Rust option. > And any manual changes

Re: [PATCH v3 17/64] objtool: Fix weak symbol detection

2025-06-27 Thread Josh Poimboeuf
On Fri, Jun 27, 2025 at 11:13:10AM +0200, Peter Zijlstra wrote: > On Thu, Jun 26, 2025 at 04:55:04PM -0700, Josh Poimboeuf wrote: > > find_symbol_hole_containing() fails to find a symbol hole (aka stripped > > weak symbol) if its section has no symbols before the hole. This breaks > > weak symbol

Re: [PATCH v6 0/3] remoteproc: imx_rproc: allow attaching to running core kicked by the bootloader

2025-06-27 Thread Mathieu Poirier
On Fri, 27 Jun 2025 at 08:50, Hiago De Franco wrote: > > On Fri, Jun 27, 2025 at 08:31:20AM -0600, Mathieu Poirier wrote: > > On Thu, 26 Jun 2025 at 15:59, Hiago De Franco wrote: > > > > > > From: Hiago De Franco > > > > > > This patch series depends on Ulf's patches that are currently under > >

Re: [PATCH net-next v2 4/4] selftests: net: add netpoll basic functionality test

2025-06-27 Thread Breno Leitao
On Thu, Jun 26, 2025 at 09:25:05AM +0100, Simon Horman wrote: > On Wed, Jun 25, 2025 at 04:39:49AM -0700, Breno Leitao wrote: > > Add a basic selftest for the netpoll polling mechanism, specifically > > targeting the netpoll poll() side. > > > > The test creates a scenario where network transmissi

Re: [PATCH 00/10] Add clock drivers for SM7635

2025-06-27 Thread Luca Weiss
On Fri Jun 27, 2025 at 5:10 PM CEST, Konrad Dybcio wrote: > On 6/25/25 11:12 AM, Luca Weiss wrote: >> Document and add the clock drivers for GCC, CAMCC, DISPCC, GPUCC and >> VIDEOCC on the SM7635 SoC. >> >> Signed-off-by: Luca Weiss >> --- >> Luca Weiss (10): >> dt-bindings: clock: qcom: do

Re: [PATCH 00/10] Add clock drivers for SM7635

2025-06-27 Thread Konrad Dybcio
On 6/25/25 11:12 AM, Luca Weiss wrote: > Document and add the clock drivers for GCC, CAMCC, DISPCC, GPUCC and > VIDEOCC on the SM7635 SoC. > > Signed-off-by: Luca Weiss > --- > Luca Weiss (10): > dt-bindings: clock: qcom: document the SM7635 Global Clock Controller > clk: qcom: Add Gl

Re: [PATCH v6 0/3] remoteproc: imx_rproc: allow attaching to running core kicked by the bootloader

2025-06-27 Thread Hiago De Franco
On Fri, Jun 27, 2025 at 08:31:20AM -0600, Mathieu Poirier wrote: > On Thu, 26 Jun 2025 at 15:59, Hiago De Franco wrote: > > > > From: Hiago De Franco > > > > This patch series depends on Ulf's patches that are currently under > > review, "pmdomain: Add generic ->sync_state() support to genpd" [1]

Re: [PATCH v6 0/3] remoteproc: imx_rproc: allow attaching to running core kicked by the bootloader

2025-06-27 Thread Mathieu Poirier
On Thu, 26 Jun 2025 at 15:59, Hiago De Franco wrote: > > From: Hiago De Franco > > This patch series depends on Ulf's patches that are currently under > review, "pmdomain: Add generic ->sync_state() support to genpd" [1]. > Without them, this series is not going to work. > I thought we agreed to

Re: [PATCH 3/3] arm64: dts: qcom: Add PMXR2230 PMIC

2025-06-27 Thread Luca Weiss
On Wed Jun 25, 2025 at 3:20 PM CEST, Konrad Dybcio wrote: > On 6/25/25 11:18 AM, Luca Weiss wrote: >> Add a dts for the PMIC used e.g. with SM7635 devices. >> >> Signed-off-by: Luca Weiss >> --- >> arch/arm64/boot/dts/qcom/pmxr2230.dtsi | 63 >> ++ >> 1 file chan

Re: [PATCH 3/3] arm64: dts: qcom: Add PMXR2230 PMIC

2025-06-27 Thread Konrad Dybcio
On 6/27/25 2:54 PM, Luca Weiss wrote: > On Wed Jun 25, 2025 at 3:20 PM CEST, Konrad Dybcio wrote: >> On 6/25/25 11:18 AM, Luca Weiss wrote: >>> Add a dts for the PMIC used e.g. with SM7635 devices. >>> >>> Signed-off-by: Luca Weiss >>> --- >>> arch/arm64/boot/dts/qcom/pmxr2230.dtsi | 63 >>>

Re: [PATCH 3/3] arm64: dts: qcom: Add PMXR2230 PMIC

2025-06-27 Thread Dmitry Baryshkov
On Fri, Jun 27, 2025 at 02:54:20PM +0200, Luca Weiss wrote: > On Wed Jun 25, 2025 at 3:20 PM CEST, Konrad Dybcio wrote: > > On 6/25/25 11:18 AM, Luca Weiss wrote: > >> Add a dts for the PMIC used e.g. with SM7635 devices. > >> > >> Signed-off-by: Luca Weiss > >> --- > >> arch/arm64/boot/dts/qcom

Re: [PATCH 0/3] Add support for PMXR2230 PMIC

2025-06-27 Thread Dmitry Baryshkov
On Fri, Jun 27, 2025 at 12:05:08PM +0200, Luca Weiss wrote: > On Wed Jun 25, 2025 at 11:03 PM CEST, Dmitry Baryshkov wrote: > > On Wed, Jun 25, 2025 at 05:01:29PM +0200, Luca Weiss wrote: > >> On Wed Jun 25, 2025 at 4:25 PM CEST, Dmitry Baryshkov wrote: > >> > On Wed, Jun 25, 2025 at 11:18:36AM +02

Re: [PATCH 2/2] interconnect: qcom: Add SM7635 interconnect provider driver

2025-06-27 Thread Konrad Dybcio
On 6/25/25 11:13 AM, Luca Weiss wrote: > Add driver for the Qualcomm interconnect buses found in SM7635 based > platforms. The topology consists of several NoCs that are controlled by > a remote processor that collects the aggregated bandwidth for each > master-slave pairs. > > Signed-off-by: Luca

Re: [PATCH v5 7/7] selftests: futex: Expand robust list test for the new interface

2025-06-27 Thread Thomas Gleixner
On Thu, Jun 26 2025 at 14:11, André Almeida wrote: > Expand the current robust list test for the new set_robust_list2 > syscall. Create an option to make it possible to run the same tests > using the new syscall, and also add two new relevant test: test long > lists (bigger than ROBUST_LIST_LIMIT)

Re: [PATCH v6 0/3] remoteproc: imx_rproc: allow attaching to running core kicked by the bootloader

2025-06-27 Thread Hiago De Franco
On Thu, Jun 26, 2025 at 06:59:08PM -0300, Hiago De Franco wrote: > From: Hiago De Franco > > This patch series depends on Ulf's patches that are currently under > review, "pmdomain: Add generic ->sync_state() support to genpd" [1]. > Without them, this series is not going to work. > > For the i.

Re: [PATCH v5 5/7] futex: Remove the limit of elements for sys_set_robust_list2 lists

2025-06-27 Thread Thomas Gleixner
On Thu, Jun 26 2025 at 14:11, André Almeida wrote: > Remove the limit of ROBUST_LIST_LIMIT elements that a robust list can > have, for the ones created with the new interface. This is done by With which new interface? > overwritten the list as it's proceeded in a way that we avoid circular overw

Re: [PATCH v5 4/7] futex: Create set_robust_list2

2025-06-27 Thread Thomas Gleixner
t's linked list (the > naming starts to get confusing, I reckon). Yes > If `index == -1`, that means that user wants to set a new robust_list, > and the kernel will append it in the end of the list, assign a new > index and return this index to the user. If `index >= 0`, that me

Re: [PATCH] selftests/arm64: Prevent build warnings from -Wmaybe-uninitialized

2025-06-27 Thread Mark Brown
On Fri, Jun 27, 2025 at 04:15:09PM +0530, Anshuman Khandual wrote: > On 25/06/25 3:54 PM, Mark Brown wrote: > >> - int status; > >> + int status = 0; > > This will shut the warnings up, but it's a bit of a heavy hammer that > > means that the warning can never trigger warnings for that variable

Re: [PATCH v3 42/64] kbuild,x86: Fix special section module permissions

2025-06-27 Thread Peter Zijlstra
On Thu, Jun 26, 2025 at 04:55:29PM -0700, Josh Poimboeuf wrote: > An upcoming patch will add the SHF_MERGE flag to x86 __jump_table and > __bug_table so their entry sizes can be defined in inline asm. > > However, those sections have SHF_WRITE, which the Clang linker (lld) > explicitly forbids com

Re: [PATCH 0/5] vsock/virtio: SKB allocation improvements

2025-06-27 Thread Stefano Garzarella
On Wed, Jun 25, 2025 at 02:15:38PM +0100, Will Deacon wrote: Hi folks, We're using vsock extensively in Android as a channel over which we can route binder transactions to/from virtual machines managed by the Android Virtualisation Framework. However, we have been observing some issues in produc

Re: [PATCH v3 46/64] x86/extable: Define ELF section entry size for exception table

2025-06-27 Thread Peter Zijlstra
On Thu, Jun 26, 2025 at 04:55:33PM -0700, Josh Poimboeuf wrote: > @@ -193,7 +193,8 @@ static __always_inline __pure void *rip_rel_ptr(void *p) > ".purgem extable_type_reg\n" > > # define _ASM_EXTABLE_TYPE(from, to, type) \ > - " .pushsection \"__ex_table\",\"a\"\n"

Re: [PATCH v3 45/64] x86/static_call: Define ELF section entry size of static calls

2025-06-27 Thread Peter Zijlstra
On Thu, Jun 26, 2025 at 04:55:32PM -0700, Josh Poimboeuf wrote: > In preparation for the objtool klp diff subcommand, define the entry > size for the .static_call_sites section in its ELF header. This will > allow tooling to extract individual entries. > > Signed-off-by: Josh Poimboeuf > --- >

Re: [PATCH 5/5] vhost/vsock: Allocate nonlinear SKBs for handling large transmit buffers

2025-06-27 Thread Stefano Garzarella
nit: I'd use `vsock/virtio: ` prefix since we are touching the virtio transport common code. Maybe we can mention that this will affect both virtio and vhost transports. On Wed, Jun 25, 2025 at 02:15:43PM +0100, Will Deacon wrote: When transmitting a vsock packet, virtio_transport_send_pkt_info

Re: [PATCH v3 44/64] x86/jump_label: Define ELF section entry size for jump labels

2025-06-27 Thread Peter Zijlstra
On Thu, Jun 26, 2025 at 04:55:31PM -0700, Josh Poimboeuf wrote: > In preparation for the objtool klp diff subcommand, define the entry > size for the __jump_table section in its ELF header. This will allow > tooling to extract individual entries. > > Signed-off-by: Josh Poimboeuf > --- > arch/x

Re: [PATCH 4/5] vsock/virtio: Rename virtio_vsock_skb_rx_put() to virtio_vsock_skb_put()

2025-06-27 Thread Stefano Garzarella
On Wed, Jun 25, 2025 at 02:15:42PM +0100, Will Deacon wrote: In preparation for using virtio_vsock_skb_rx_put() when populating SKBs on the vsock TX path, rename virtio_vsock_skb_rx_put() to virtio_vsock_skb_put(). No functional change. Signed-off-by: Will Deacon --- drivers/vhost/vsock.c

Re: [PATCH 3/5] vhost/vsock: Allocate nonlinear SKBs for handling large receive buffers

2025-06-27 Thread Stefano Garzarella
On Wed, Jun 25, 2025 at 02:15:41PM +0100, Will Deacon wrote: When receiving a packet from a guest, vhost_vsock_handle_tx_kick() calls vhost_vsock_alloc_skb() to allocate and fill an SKB with the receive data. Unfortunately, these are always linear allocations and can therefore result in significa

Re: [PATCH] selftests/arm64: Prevent build warnings from -Wmaybe-uninitialized

2025-06-27 Thread Anshuman Khandual
On 25/06/25 3:54 PM, Mark Brown wrote: > On Wed, Jun 25, 2025 at 03:01:38AM +0100, Anshuman Khandual wrote: > >> @@ -96,7 +96,7 @@ static int write_sleep_read(void) >> static int write_fork_read(void) >> { >> pid_t newpid, waiting, oldpid; >> -int status; >> +int status = 0; >>

Re: [PATCH 2/5] vsock/virtio: Resize receive buffers so that each SKB fits in a page

2025-06-27 Thread Stefano Garzarella
On Wed, Jun 25, 2025 at 02:15:40PM +0100, Will Deacon wrote: When allocating receive buffers for the vsock virtio RX virtqueue, an SKB is allocated with a 4140 data payload (the 44-byte packet header + VIRTIO_VSOCK_DEFAULT_RX_BUF_SIZE). Even when factoring in the SKB overhead, the resulting 8KiB

Re: [PATCH 1/5] vhost/vsock: Avoid allocating arbitrarily-sized SKBs

2025-06-27 Thread Stefano Garzarella
On Wed, Jun 25, 2025 at 02:15:39PM +0100, Will Deacon wrote: vhost_vsock_alloc_skb() returns NULL for packets advertising a length larger than VIRTIO_VSOCK_MAX_PKT_BUF_SIZE in the packet header. However, this is only checked once the SKB has been allocated and, if the length in the packet header

Re: [PATCH v3 29/64] objtool: Mark prefix functions

2025-06-27 Thread Peter Zijlstra
On Thu, Jun 26, 2025 at 04:55:16PM -0700, Josh Poimboeuf wrote: > In preparation for the objtool klp diff subcommand, introduce a flag to > identify __pfx_*() and __cfi_*() functions in advance so they don't need > to be manually identified every time a check is needed. > > Signed-off-by: Josh Poi

Re: [PATCH v3 26/64] objtool: Add section/symbol type helpers

2025-06-27 Thread Peter Zijlstra
On Thu, Jun 26, 2025 at 04:55:13PM -0700, Josh Poimboeuf wrote: > @@ -177,11 +178,71 @@ static inline unsigned int elf_text_rela_type(struct > elf *elf) > return elf_addr_size(elf) == 4 ? R_TEXT32 : R_TEXT64; > } > > +static inline bool sym_has_sec(struct symbol *sym) > +{ > + return

Re: [PATCH 0/3] Add support for PMXR2230 PMIC

2025-06-27 Thread Luca Weiss
On Wed Jun 25, 2025 at 11:03 PM CEST, Dmitry Baryshkov wrote: > On Wed, Jun 25, 2025 at 05:01:29PM +0200, Luca Weiss wrote: >> On Wed Jun 25, 2025 at 4:25 PM CEST, Dmitry Baryshkov wrote: >> > On Wed, Jun 25, 2025 at 11:18:36AM +0200, Luca Weiss wrote: >> >> The PMXR2230 PMIC is used in conjuction

Re: [PATCH v3 01/64] s390/vmlinux.lds.S: Prevent thunk functions from getting placed with normal text

2025-06-27 Thread Heiko Carstens
On Thu, Jun 26, 2025 at 04:54:48PM -0700, Josh Poimboeuf wrote: > The s390 indirect thunks are placed in the .text.__s390_indirect_jump_* > sections. > > Certain config options which enable -ffunction-sections have a custom > version of the TEXT_TEXT macro: > > .text.[0-9a-zA-Z_]* > > That uni

Re: [RFC PATCH 15/20] cxl: Add a routine to find cxl root decoder on cxl bus

2025-06-27 Thread Neeraj Kumar
On 26/06/25 12:19PM, Alison Schofield wrote: On Tue, Jun 17, 2025 at 06:09:39PM +0530, Neeraj Kumar wrote: Add cxl_find_root_decoder to find root decoder on cxl bus. It is used to find root decoder during region creation Does the existing to_cxl_root_decoder() provide what you need here? Hi

Re: [PATCH v3 17/64] objtool: Fix weak symbol detection

2025-06-27 Thread Peter Zijlstra
On Thu, Jun 26, 2025 at 04:55:04PM -0700, Josh Poimboeuf wrote: > find_symbol_hole_containing() fails to find a symbol hole (aka stripped > weak symbol) if its section has no symbols before the hole. This breaks > weak symbol detection if -ffunction-sections is enabled. > > Fix that by allowing t

Re: [PATCH v13 2/6] rust: introduce module_param module

2025-06-27 Thread Benno Lossin
On Fri Jun 27, 2025 at 9:57 AM CEST, Andreas Hindborg wrote: > Andreas Hindborg writes: >> "Benno Lossin" writes: >>> That's good to know, then let's try to go for something simple. >>> >>> I don't think that we can just use a `Mutex`, because we don't have a >>> way to create it at const time...

Re: [PATCH v13 2/6] rust: introduce module_param module

2025-06-27 Thread Andreas Hindborg
Andreas Hindborg writes: > "Benno Lossin" writes: > >> On Mon Jun 23, 2025 at 4:31 PM CEST, Andreas Hindborg wrote: >>> "Benno Lossin" writes: >>> On Mon Jun 23, 2025 at 11:44 AM CEST, Andreas Hindborg wrote: > "Benno Lossin" writes: > >> On Fri Jun 20, 2025 at 1:29 PM CEST, A

Re: [PATCH RFC net v2 3/3] vsock: Fix IOCTL_VM_SOCKETS_GET_LOCAL_CID to check also `transport_local`

2025-06-27 Thread Stefano Garzarella
On Wed, Jun 25, 2025 at 11:23:54PM +0200, Michal Luczaj wrote: On 6/25/25 10:54, Stefano Garzarella wrote: On Fri, Jun 20, 2025 at 09:52:45PM +0200, Michal Luczaj wrote: Support returning VMADDR_CID_LOCAL in case no other vsock transport is available. Fixes: 0e12190578d0 ("vsock: add local tra

Re: [PATCH RFC net v2 2/3] vsock: Fix transport_* TOCTOU

2025-06-27 Thread Stefano Garzarella
On Fri, Jun 20, 2025 at 09:52:44PM +0200, Michal Luczaj wrote: Transport assignment may race with module unload. Protect new_transport from becoming a stale pointer. This also takes care of an insecure call in vsock_use_local_transport(); add a lockdep assert. BUG: unable to handle page fault f

Re: [PATCH RFC net v2 1/3] vsock: Fix transport_{g2h,h2g} TOCTOU

2025-06-27 Thread Stefano Garzarella
On Wed, Jun 25, 2025 at 11:23:30PM +0200, Michal Luczaj wrote: On 6/25/25 10:43, Stefano Garzarella wrote: On Fri, Jun 20, 2025 at 09:52:43PM +0200, Michal Luczaj wrote: vsock_find_cid() and vsock_dev_do_ioctl() may race with module unload. transport_{g2h,h2g} may become NULL after the NULL che

Re: [PATCH 00/16] MAINTAINERS: Include GDB scripts under their relevant subsystems

2025-06-27 Thread Jan Kara
On Thu 26-06-25 09:39:36, Florian Fainelli wrote: > On 6/26/25 09:17, Liam R. Howlett wrote: > > * Florian Fainelli [250625 19:13]: > > > Linux has a number of very useful GDB scripts under scripts/gdb/linux/* > > > that provide OS awareness for debuggers and allows for debugging of a > > > variet

Re: [PATCH v3 1/5] dt-bindings: remoteproc: fsl,imx-rproc: Add support for i.MX95

2025-06-27 Thread Krzysztof Kozlowski
On Wed, Jun 25, 2025 at 10:23:27AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Add compatible string for the Cortex-M7 core in i.MX95 > > Signed-off-by: Peng Fan > --- > Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml | 1 + > 1 file changed, 1 insertion(+) Acked-by: Krz

Re: [RFC 00/19] Kernel API Specification Framework

2025-06-26 Thread Dmitry Vyukov
On Thu, 26 Jun 2025 at 18:23, Sasha Levin wrote: > > On Thu, Jun 26, 2025 at 10:37:33AM +0200, Dmitry Vyukov wrote: > >On Thu, 26 Jun 2025 at 10:32, Dmitry Vyukov wrote: > >> > >> On Wed, 25 Jun 2025 at 17:55, Sasha Levin wrote: > >> > > >> > On Wed, Jun 25, 2025 at 10:52:46AM +0200, Dmitry Vyuk

RE: [PATCH v3 5/5] arm64: dts: imx95-19x19-evk: Add CM7 nodes and vdev related memory regions

2025-06-26 Thread Peng Fan
> Subject: Re: [PATCH v3 5/5] arm64: dts: imx95-19x19-evk: Add CM7 > nodes and vdev related memory regions > > On Wed, Jun 25, 2025 at 10:23:31AM +0800, Peng Fan (OSS) wrote: > > From: Peng Fan > > > > Add CM7 nodes, vdev related memory regions for remoteproc. >

Re: [PATCH 0/8] Introduce simple hazard pointers for lockdep

2025-06-26 Thread Paul E. McKenney
On Thu, Jun 26, 2025 at 08:47:25AM -0700, Boqun Feng wrote: > On Thu, Jun 26, 2025 at 03:16:49AM -0700, Christoph Hellwig wrote: > > On Wed, Jun 25, 2025 at 07:08:57AM -0700, Boqun Feng wrote: > > > Sure, I will put one for the future version, here is the gist: > > > > Thanks a lot! > > > > > The

Re: [PATCH net 3/4] virtio-net: create a helper to check received mergeable buffer's length

2025-06-26 Thread Jason Wang
On Thu, Jun 26, 2025 at 11:38 PM Bui Quang Minh wrote: > > On 6/26/25 09:38, Jason Wang wrote: > > On Thu, Jun 26, 2025 at 12:10 AM Bui Quang Minh > > wrote: > >> Currently, we have repeated code to check the received mergeable buffer's > >> length with allocated size. This commit creates a helpe

Re: [PATCH net 1/4] virtio-net: ensure the received length does not exceed allocated size

2025-06-26 Thread Jason Wang
On Thu, Jun 26, 2025 at 11:34 PM Bui Quang Minh wrote: > > On 6/26/25 09:34, Jason Wang wrote: > > On Thu, Jun 26, 2025 at 12:10 AM Bui Quang Minh > > wrote: > >> In xdp_linearize_page, when reading the following buffers from the ring, > >> we forget to check the received length with the true all

Re: [PATCH 2/2] interconnect: qcom: Add SM7635 interconnect provider driver

2025-06-26 Thread Dmitry Baryshkov
On Wed, Jun 25, 2025 at 11:13:48AM +0200, Luca Weiss wrote: > Add driver for the Qualcomm interconnect buses found in SM7635 based > platforms. The topology consists of several NoCs that are controlled by > a remote processor that collects the aggregated bandwidth for each > master-slave pairs. >

Re: [PATCH 3/3] remoteproc: qcom: pas: Add SM7635 remoteproc support

2025-06-26 Thread Dmitry Baryshkov
On Thu, Jun 26, 2025 at 09:20:28PM +0200, Konrad Dybcio wrote: > On 6/25/25 11:15 AM, Luca Weiss wrote: > > Add the different remoteprocs found on SM7635: ADSP, CDSP, MPSS and > > WPSS. > > > > Signed-off-by: Luca Weiss > > --- > > drivers/remoteproc/qcom_q6v5_pas.c | 24

Re: [PATCH v2 59/62] livepatch/klp-build: Introduce klp-build script for generating livepatch modules

2025-06-26 Thread Josh Poimboeuf
On Wed, Jun 18, 2025 at 05:38:07PM -0500, Dylan Hatch wrote: > On Fri, May 9, 2025 at 1:30 PM Josh Poimboeuf wrote: > > > > + > > +# Make sure git re-stats the changed files > > +git_refresh() { > > + local patch="$1" > > + lo

Re: [PATCH v2 54/62] objtool/klp: Add post-link subcommand to finalize livepatch modules

2025-06-26 Thread Josh Poimboeuf
On Fri, May 09, 2025 at 01:17:18PM -0700, Josh Poimboeuf wrote: > Livepatch needs some ELF magic which linkers don't like: > > - Two relocation sections (.rela*, .klp.rela*) for the same text > section. > > - Use of SHN_LIVEPATCH to mark livepatch symbols. > > Unfortunately linkers tend

Re: [PATCH v5 3/7] futex: Use explicit sizes for compat_exit_robust_list

2025-06-26 Thread Thomas Gleixner
On Thu, Jun 26 2025 at 14:11, André Almeida wrote: $subject lacks a () function notation > There are two functions for handling robust lists during the task during a tasks exit > exit: exit_robust_list() and compat_exit_robust_list(). The first one > handles either 64bit or 32bit lists, de

Re: [PATCH v2 29/62] objtool: Mark prefix functions

2025-06-26 Thread Josh Poimboeuf
On Wed, Jun 04, 2025 at 05:04:33PM -0700, Josh Poimboeuf wrote: > On Mon, May 26, 2025 at 12:43:55PM +0200, Peter Zijlstra wrote: > > > +++ b/tools/objtool/elf.c > > > @@ -442,6 +442,11 @@ static void elf_add_symbol(struct elf *elf, struct > > > symbol *sym) > > > elf_hash_add(symbol, &sym->hash

Re: [PATCH v5 2/7] selftests/futex: Create test for robust list

2025-06-26 Thread Thomas Gleixner
On Thu, Jun 26 2025 at 14:11, André Almeida wrote: > + > +int set_robust_list(struct robust_list_head *head, size_t len) This function and the get() counterpart are global because they can? > +{ > + return syscall(SYS_set_robust_list, head, len); > +} > +/* > + * Basic lock struct, contains j

Re: [PATCH v5 1/7] selftests/futex: Add ASSERT_ macros

2025-06-26 Thread Thomas Gleixner
On Fri, Jun 27 2025 at 00:07, Thomas Gleixner wrote: > On Thu, Jun 26 2025 at 14:11, André Almeida wrote: > >> Create ASSERT_{EQ, NE, TRUE, FALSE} macros to make test creation easier. > > What's so futex special about this that it can't use the same muck in > > tools/testing/selftests/kselftest_ha

Re: [PATCH v5 1/7] selftests/futex: Add ASSERT_ macros

2025-06-26 Thread Thomas Gleixner
On Thu, Jun 26 2025 at 14:11, André Almeida wrote: > Create ASSERT_{EQ, NE, TRUE, FALSE} macros to make test creation easier. What's so futex special about this that it can't use the same muck in tools/testing/selftests/kselftest_harness.h or at least share the implementation in some way? Than

Re: [PATCH] selftests: futex: define SYS_futex on 32-bit architectures with 64-bit time_t

2025-06-26 Thread Thomas Gleixner
On Tue, May 27 2025 at 17:35, Ben Zong-You Xie wrote: > glibc does not define SYS_futex for 32-bit architectures using 64-bit > time_t e.g. riscv32, therefore this test fails to compile since it does not > find SYS_futex in C library headers. Define SYS_futex as SYS_futex_time64 > in this situation

Re: [PATCH v1 1/1] libnvdimm: Don't use "proxy" headers

2025-06-26 Thread Andy Shevchenko
Thu, Jun 26, 2025 at 04:39:07PM -0500, Ira Weiny kirjoitti: > Andy Shevchenko wrote: ... > > +#include > > If we are going in this direction why include ioport vs forward declaring > struct resource? I don't know where I looked when added this. This should be io.h. And yes, we need forward d

Re: [PATCH] selftests/futex: Convert 32bit timespec struct to 64bit version for 32bit compatibility mode

2025-06-26 Thread Thomas Gleixner
On Mon, Jun 09 2025 at 14:10, Terry Tritton wrote: > Futex_waitv can not accept old_timespec32 struct, so userspace should > convert it from 32bit to 64bit before syscall in 32bit compatible mode. > > This fix is based off [1] > > Link: https://lore.kernel.org/all/20231203235117.29677-1-we...@sus

Re: [PATCH v1 1/1] libnvdimm: Don't use "proxy" headers

2025-06-26 Thread Ira Weiny
Andy Shevchenko wrote: > Update header inclusions to follow IWYU (Include What You Use) > principle. > > Note that kernel.h is discouraged to be included as it's written > at the top of that file. > > While doing that, sort headers alphabetically. > > Signed-off-by: Andy Shevchenko > --- > inc

Re: [PATCH v3 0/3] Add initial device tree for Billion Capture+

2025-06-26 Thread Rob Herring (Arm)
On Thu, 26 Jun 2025 00:04:25 +0200, Cristian Cozzolino wrote: > Billion Capture+ is a handset using the MSM8953 SoC released in 2017 > and sold by Flipkart. > > Add a device tree with initial support for: > > - GPIO keys > - SDHCI (internal and external storage) > - USB Device Mode > - Regulato

Re: [PATCH 3/3] remoteproc: qcom: pas: Add SM7635 remoteproc support

2025-06-26 Thread Konrad Dybcio
On 6/25/25 11:15 AM, Luca Weiss wrote: > Add the different remoteprocs found on SM7635: ADSP, CDSP, MPSS and > WPSS. > > Signed-off-by: Luca Weiss > --- > drivers/remoteproc/qcom_q6v5_pas.c | 24 > 1 file changed, 24 insertions(+) > > diff --git a/drivers/remoteproc/qco

Re: [RFC PATCH 15/20] cxl: Add a routine to find cxl root decoder on cxl bus

2025-06-26 Thread Alison Schofield
On Tue, Jun 17, 2025 at 06:09:39PM +0530, Neeraj Kumar wrote: > Add cxl_find_root_decoder to find root decoder on cxl bus. It is used to > find root decoder during region creation Does the existing to_cxl_root_decoder() provide what you need here? > > Signed-off-by: Neeraj Kumar > --- > driver

Re: [PATCH v3 5/5] arm64: dts: imx95-19x19-evk: Add CM7 nodes and vdev related memory regions

2025-06-26 Thread Frank Li
On Wed, Jun 25, 2025 at 10:23:31AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Add CM7 nodes, vdev related memory regions for remoteproc. > Enable MU7. > > Signed-off-by: Peng Fan > --- > arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 45 > +++ > 1 file changed, 4

Re: [PATCH v3 4/5] arm64: dts: imx95: Add SCMI LMM/CPU nodes

2025-06-26 Thread Frank Li
On Wed, Jun 25, 2025 at 10:23:30AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Add SCMI LMM/CPU nodes which is for remoteproc to handle remote cores. > > Signed-off-by: Peng Fan Reviewed-by: Frank Li > --- > arch/arm64/boot/dts/freescale/imx95.dtsi | 8 > 1 file changed, 8 inser

Re: [PATCH v3 3/5] remoteproc: imx_rproc: Add support for i.MX95

2025-06-26 Thread Frank Li
On Wed, Jun 25, 2025 at 10:23:29AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Add imx_rproc_cfg_imx95_m7 and address(TCM and DDR) mapping. nit: generally, need empty line between two segments > Add i.MX95 of_device_id entry. > > Reviewed-by: Daniel Baluta > Signed-off-by: Peng Fan > ---

Re: [PATCH v3 2/5] remoteproc: imx_rproc: Add support for System Manager API

2025-06-26 Thread Frank Li
On Wed, Jun 25, 2025 at 10:23:28AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > i.MX95 features a Cortex-M33 core, six Cortex-A55 cores, and > one Cortex-M7 core. The System Control Management Interface(SCMI) > firmware runs on the M33 core. The i.MX95 SCMI firmware named System > Manager(SM)

Re: [PATCH v3 1/5] dt-bindings: remoteproc: fsl,imx-rproc: Add support for i.MX95

2025-06-26 Thread Frank Li
On Wed, Jun 25, 2025 at 10:23:27AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Add compatible string for the Cortex-M7 core in i.MX95 > > Signed-off-by: Peng Fan Reviewed-by: Frank Li > --- > Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml | 1 + > 1 file changed, 1 inse

Re: [PATCH 1/2] membarrier: allow cpu_id to be set on more commands

2025-06-26 Thread Dylan
On Thu, Jun 26, 2025 at 5:07 PM Mathieu Desnoyers wrote: > > On 2025-06-26 11:52, Dylan Yudaken wrote: > > No reason to not allow MEMBARRIER_CMD_FLAG_CPU on > > MEMBARRIER_CMD_PRIVATE_EXPEDITED or > > MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE. > > > > If it is known specifically what cpu you want

Re: [PATCH] kunit: Make default kunit_test timeout configurable via both a module parameter and a Kconfig option

2025-06-26 Thread David Gow
On Fri, 27 Jun 2025 at 01:17, Marie Zhussupova wrote: > > To accommodate varying hardware performance and use cases, > the default kunit test case timeout (currently 300 seconds) > is now configurable. Users can adjust the timeout by > either setting the 'timeout' module parameter or the > KUNIT_D

Re: [PATCH 00/16] MAINTAINERS: Include GDB scripts under their relevant subsystems

2025-06-26 Thread Florian Fainelli
On 6/26/25 09:17, Liam R. Howlett wrote: * Florian Fainelli [250625 19:13]: Linux has a number of very useful GDB scripts under scripts/gdb/linux/* that provide OS awareness for debuggers and allows for debugging of a variety of data structures (lists, timers, radix tree, mapletree, etc.) as we

Re: [PATCH net-next v2 4/4] selftests: net: add netpoll basic functionality test

2025-06-26 Thread Breno Leitao
On Thu, Jun 26, 2025 at 12:31:10PM -0400, Willem de Bruijn wrote: > Breno Leitao wrote: > > Add a basic selftest for the netpoll polling mechanism, specifically > > targeting the netpoll poll() side. > > > > The test creates a scenario where network transmission is running at > > maximum speed, an

Re: [RFC 00/19] Kernel API Specification Framework

2025-06-26 Thread Sasha Levin
On Thu, Jun 26, 2025 at 10:37:33AM +0200, Dmitry Vyukov wrote: On Thu, 26 Jun 2025 at 10:32, Dmitry Vyukov wrote: On Wed, 25 Jun 2025 at 17:55, Sasha Levin wrote: > > On Wed, Jun 25, 2025 at 10:52:46AM +0200, Dmitry Vyukov wrote: > >On Tue, 24 Jun 2025 at 22:04, Sasha Levin wrote: > > > >> >

Re: [PATCH 00/16] MAINTAINERS: Include GDB scripts under their relevant subsystems

2025-06-26 Thread Jan Kiszka
On 26.06.25 18:17, Liam R. Howlett wrote: > * Florian Fainelli [250625 19:13]: >> Linux has a number of very useful GDB scripts under scripts/gdb/linux/* >> that provide OS awareness for debuggers and allows for debugging of a >> variety of data structures (lists, timers, radix tree, mapletree, et

Re: [PATCH net-next v2 4/4] selftests: net: add netpoll basic functionality test

2025-06-26 Thread Willem de Bruijn
Breno Leitao wrote: > Add a basic selftest for the netpoll polling mechanism, specifically > targeting the netpoll poll() side. > > The test creates a scenario where network transmission is running at > maximum speed, and netpoll needs to poll the NIC. This is achieved by: > > 1. Configuring a

Re: [PATCH v2] rpmsg: char: Export alias for RPMSG ID rpmsg-raw from table

2025-06-26 Thread Mathieu Poirier
On Wed, Jun 25, 2025 at 12:12:03PM -0500, Andrew Davis wrote: > On 6/25/25 11:13 AM, Mathieu Poirier wrote: > > Good day, > > > > On Thu, Jun 19, 2025 at 03:57:22PM -0500, Andrew Davis wrote: > > > Module aliases are used by userspace to identify the correct module to > > > load for a detected har

Re: [PATCH net-next v5] page_pool: import Jesper's page_pool benchmark

2025-06-26 Thread Mina Almasry
On Thu, Jun 26, 2025 at 8:23 AM Jakub Kicinski wrote: > > On Wed, 25 Jun 2025 17:22:56 -0700 Mina Almasry wrote: > > What I'm hoping to do is: > > > > 1. Have nipa run the benchmark always (or at least on patches that > > touch pp code, if that's possible), and always succeed. > > 2. The pp review

Re: [PATCH 00/16] MAINTAINERS: Include GDB scripts under their relevant subsystems

2025-06-26 Thread Liam R. Howlett
* Florian Fainelli [250625 19:13]: > Linux has a number of very useful GDB scripts under scripts/gdb/linux/* > that provide OS awareness for debuggers and allows for debugging of a > variety of data structures (lists, timers, radix tree, mapletree, etc.) > as well as subsystems (clocks, devices, c

Re: [PATCH net 3/4] virtio-net: create a helper to check received mergeable buffer's length

2025-06-26 Thread Bui Quang Minh
On 6/26/25 09:38, Jason Wang wrote: On Thu, Jun 26, 2025 at 12:10 AM Bui Quang Minh wrote: Currently, we have repeated code to check the received mergeable buffer's length with allocated size. This commit creates a helper to do that and converts current code to use it. Signed-off-by: Bui Quang

Re: [PATCH 1/2] membarrier: allow cpu_id to be set on more commands

2025-06-26 Thread Mathieu Desnoyers
On 2025-06-26 11:52, Dylan Yudaken wrote: No reason to not allow MEMBARRIER_CMD_FLAG_CPU on MEMBARRIER_CMD_PRIVATE_EXPEDITED or MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE. If it is known specifically what cpu you want to interrupt then there is a decent efficiency saving in not interrupting all

  1   2   3   4   5   6   7   8   9   10   >