Re: [PATCH] Fix comment for virtio-9p

2025-05-26 Thread Junichi Uekawa
On Tue, 27 May 2025 15:11:36 +0900, Michael Tokarev wrote: > > 27.05.2025 07:11, dan...@debian.org wrote: > > From: Junichi Uekawa > > > > virtio-9p is not a console protocol, it's a file sharing protocol. Seems > > like an artifact of old copy-and-paste error. > > > -#define VIRTIO_ID_9P

[PATCH] Fix comment for virtio-9p

2025-05-26 Thread dancer
From: Junichi Uekawa virtio-9p is not a console protocol, it's a file sharing protocol. Seems like an artifact of old copy-and-paste error. Fixes: 3ca4f5ca7305 ("virtio: add virtio IDs file") Signed-off-by: Junichi Uekawa --- include/uapi/linux/virtio_ids.h | 4 ++-- 1 file changed, 2 insertio

Re: [PATCH] Fix comment for virtio-9p

2025-05-26 Thread Michael Tokarev
27.05.2025 07:11, dan...@debian.org wrote: From: Junichi Uekawa virtio-9p is not a console protocol, it's a file sharing protocol. Seems like an artifact of old copy-and-paste error. -#define VIRTIO_ID_9P 9 /* 9p virtio console */ +#define VIRTIO_ID_9P 9 /

Re: [PATCH v3] media: add virtio-media driver

2025-05-26 Thread Alexandre Courbot
Hi Mauro, On Mon May 26, 2025 at 9:13 PM JST, Mauro Carvalho Chehab wrote: > Hi Michael, > > Em Sat, 12 Apr 2025 13:08:01 +0900 > Alexandre Courbot escreveu: > >> Add the first version of the virtio-media driver. >> >> This driver acts roughly as a V4L2 relay between user-space and the >> virtio

[PATCH net-next] selftests/bpf: Fix bpf selftest build warning

2025-05-26 Thread Saket Kumar Bhaskar
On linux-next, build for bpf selftest displays a warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h'. Commit 8066e388be48 ("net: add UAPI to the header guard in various network headers") changed the header guard

[PATCH] Fix comment for virtio-9p

2025-05-26 Thread dancer
From: Junichi Uekawa virtio-9p is not a console protocol, it's a file sharing protocol. Seems like an artifact of old copy-and-paste error. Fixes: 3ca4f5ca7305 ("virtio: add virtio IDs file") Signed-off-by: Junichi Uekawa --- include/uapi/linux/virtio_ids.h | 2 +- 1 file changed, 1 insertion(

[PATCHv7 RESEND wireguard 1/2] wireguard: selftests: convert iptables to nft

2025-05-26 Thread Hangbin Liu
Convert the selftest to nft as it is the replacement for iptables, which is used by default in most releases. Signed-off-by: Hangbin Liu --- tools/testing/selftests/wireguard/netns.sh | 29 ++ 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/tools/testing/selft

[PATCHv7 RESEND wireguard 0/2] wireguard: selftests: use nftables for testing

2025-05-26 Thread Hangbin Liu
This patch set convert the wireguard selftest to nftables, as iptables is deparated and nftables is the default framework of most releases. v7: re-post, no update. v6: fix typo in patch 1/2. Update the description (Phil Sutter) v5: remove the counter in nft rules and link nft statically (Jason A.

Re: [PATCH v2 3/3] remoteproc: imx_rproc: add power mode check for remote core attachment

2025-05-26 Thread Peng Fan
On Mon, May 26, 2025 at 09:05:10PM -0300, Hiago De Franco wrote: >On Mon, May 26, 2025 at 12:07:49PM +0200, Ulf Hansson wrote: >> On Fri, 23 May 2025 at 21:17, Hiago De Franco wrote: >> > >> > Hi Ulf, >> > >> > On Wed, May 21, 2025 at 02:11:02PM +0200, Ulf Hansson wrote: >> > > You should not prov

Re: [PATCH 00/19] virtio_ring in order support

2025-05-26 Thread Lei Yang
On Thu, May 22, 2025 at 3:01 PM Lei Yang wrote: > > On Mon, May 19, 2025 at 5:35 AM Michael S. Tsirkin wrote: > > > > On Wed, Mar 26, 2025 at 07:39:47AM +0100, Eugenio Perez Martin wrote: > > > On Mon, Mar 24, 2025 at 3:44 PM Lei Yang wrote: > > > > > > > > QE tested this series of patches with

Re: [PATCH 0/7] Rust KUnit `#[test]` support improvements

2025-05-26 Thread Miguel Ojeda
On Tue, May 27, 2025 at 2:10 AM Miguel Ojeda wrote: > > [ Split from the next commit as suggested by Tamir. - Miguel ] > > [ Split the `CString` simplification into a new commit. - Miguel ] By the way, I kept the tags from David and Danilo in that new commit, since it was really a pure sp

Re: [PATCH 0/7] Rust KUnit `#[test]` support improvements

2025-05-26 Thread Miguel Ojeda
On Fri, May 2, 2025 at 11:51 PM Miguel Ojeda wrote: > > Improvements that build on top of the very basic `#[test]` support merged in > v6.15. > > They are fairly minimal changes, but they allow us to map `assert*!`s back to > KUnit, plus to add support for test functions that return `Result`s. > >

Re: [PATCH 1/7] rust: kunit: support KUnit-mapped `assert!` macros in `#[test]`s

2025-05-26 Thread Miguel Ojeda
On Mon, May 5, 2025 at 8:02 AM David Gow wrote: > > Nice! While I do think there may still be some cases where we might > want to use KUnit-specific macros in the future (particularly if we > have more complex, multithreaded test contexts), this is definitely > better for most cases. > > I also ma

Re: [PATCH v2 3/3] remoteproc: imx_rproc: add power mode check for remote core attachment

2025-05-26 Thread Hiago De Franco
On Mon, May 26, 2025 at 12:07:49PM +0200, Ulf Hansson wrote: > On Fri, 23 May 2025 at 21:17, Hiago De Franco wrote: > > > > Hi Ulf, > > > > On Wed, May 21, 2025 at 02:11:02PM +0200, Ulf Hansson wrote: > > > You should not provide any flag (or attach_data to > > > dev_pm_domain_attach_list()) at al

Re: [PATCH 1/7] rust: kunit: support KUnit-mapped `assert!` macros in `#[test]`s

2025-05-26 Thread Miguel Ojeda
On Sun, May 4, 2025 at 7:42 PM Tamir Duberstein wrote: > > How come this vanished? It doesn't lint anymore -- the lint only appears to be intended to work with the standard `assert_eq!` macro (and related ones), if I am reading its source code correctly. I created an issue upstream and linked it

Re: [PATCH v6 1/5] x86/sgx: Introduce a counter to count the sgx_(vepc_)open()

2025-05-26 Thread Huang, Kai
> > > > > /* > > > diff --git a/arch/x86/kernel/cpu/sgx/main.c > > b/arch/x86/kernel/cpu/sgx/main.c > > > index 2de01b379aa3..a018b01b8736 100644 > > > --- a/arch/x86/kernel/cpu/sgx/main.c > > > +++ b/arch/x86/kernel/cpu/sgx/main.c > > > @@ -917,6 +917,20 @@ int sgx_set_attribute(unsigned long >

Re: [PATCH net-next] vsock/test: Cover more CIDs in transport_uaf test

2025-05-26 Thread Michal Luczaj
On 5/26/25 16:39, Stefano Garzarella wrote: > On Mon, May 26, 2025 at 02:51:18PM +0200, Michal Luczaj wrote: >> On 5/26/25 10:25, Stefano Garzarella wrote: >>> On Fri, May 23, 2025 at 12:31:16AM +0200, Michal Luczaj wrote: Increase the coverage of test for UAF due to socket unbinding, and losi

Re: [PATCH v2 52/62] objtool/klp: Introduce klp diff subcommand for diffing object files

2025-05-26 Thread Peter Zijlstra
On Fri, May 09, 2025 at 01:17:16PM -0700, Josh Poimboeuf wrote: > +#define KLP_RELOC_SEC_PREFIX ".klp.rela." > +#define KLP_SYM_PREFIX ".klp.sym." This max symbol length test is getting more and more broken every day :-)

Re: [PATCH v2 52/62] objtool/klp: Introduce klp diff subcommand for diffing object files

2025-05-26 Thread Peter Zijlstra
On Fri, May 09, 2025 at 01:17:16PM -0700, Josh Poimboeuf wrote: > diff --git a/tools/objtool/include/objtool/elf.h > b/tools/objtool/include/objtool/elf.h > index 4cfd09e66cb5..f62ac8081f27 100644 > --- a/tools/objtool/include/objtool/elf.h > +++ b/tools/objtool/include/objtool/elf.h > @@ -17,6 +1

Re: [PATCH v2 52/62] objtool/klp: Introduce klp diff subcommand for diffing object files

2025-05-26 Thread Peter Zijlstra
Let me hand you a fresh bucket of curlies, you must've run out :-) On Fri, May 09, 2025 at 01:17:16PM -0700, Josh Poimboeuf wrote: > +static struct symbol *first_file_symbol(struct elf *elf) > +{ > + struct symbol *sym; > + > + for_each_sym(elf, sym) { > + if (is_file_sym

Re: [PATCH v2 52/62] objtool/klp: Introduce klp diff subcommand for diffing object files

2025-05-26 Thread Peter Zijlstra
On Fri, May 09, 2025 at 01:17:16PM -0700, Josh Poimboeuf wrote: > +#define SEC_NAME_LEN 512 > #define SYM_NAME_LEN 512 > > +static int validate_ffunction_fdata_sections(struct elf *elf) > +{ > + struct symbol *sym; > + bool found_text = false, found_data = false; > + > +

Re: [PATCH v2 52/62] objtool/klp: Introduce klp diff subcommand for diffing object files

2025-05-26 Thread Peter Zijlstra
On Fri, May 09, 2025 at 01:17:16PM -0700, Josh Poimboeuf wrote: > diff --git a/tools/objtool/arch/x86/decode.c b/tools/objtool/arch/x86/decode.c > index cdf385e54c69..ae4f83fcbadf 100644 > --- a/tools/objtool/arch/x86/decode.c > +++ b/tools/objtool/arch/x86/decode.c > @@ -95,6 +95,46 @@ s64 arch_in

Re: [PATCH v2 52/62] objtool/klp: Introduce klp diff subcommand for diffing object files

2025-05-26 Thread Peter Zijlstra
On Fri, May 09, 2025 at 01:17:16PM -0700, Josh Poimboeuf wrote: > Without '-ffunction-sections -fdata-sections', reliable object diffing > would be infeasible due to toolchain limitations: > > - For intra-file+intra-section references, the compiler might > occasionally generated hard-coded

Re: [PATCH net] vsock/virtio: fix `rx_bytes` accounting for stream sockets

2025-05-26 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Wed, 21 May 2025 14:17:05 +0200 you wrote: > From: Stefano Garzarella > > In `struct virtio_vsock_sock`, we maintain two counters: > - `rx_bytes`: used internally to track how many bytes have been read. > This supports

Re: [PATCH] rust: kunit: use crate-level mapping for `c_void`

2025-05-26 Thread Miguel Ojeda
On Mon, May 26, 2025 at 6:26 PM Jesung Yang wrote: > > Since `kernel::ffi::c_void` is a transparent wrapper around > `core::ffi::c_void`, both are functionally equivalent. However, using Hmm... It is not a transparent wrapper, but a reexport, right? (it is not even a type alias, like the others i

Re: [PATCH v2 2/4] media: qcom: camss: Add support for MSM8939

2025-05-26 Thread Vincent Knecht
Le lundi 26 mai 2025 à 09:20 +0100, Bryan O'Donoghue a écrit : > On 25/05/2025 20:25, Vincent Knecht via B4 Relay wrote: > > From: Vincent Knecht > > > > The camera subsystem for the MSM8939 is the same as MSM8916 except with > > 3 CSID instead of 2, and some higher clock rates. > > > > As a qui

[PATCH] rust: kunit: use crate-level mapping for `c_void`

2025-05-26 Thread Jesung Yang
Use `kernel::ffi::c_void` instead of `core::ffi::c_void` for consistency and to centralize abstraction. Since `kernel::ffi::c_void` is a transparent wrapper around `core::ffi::c_void`, both are functionally equivalent. However, using `kernel::ffi::c_void` improves consistency across the kernel's R

Re: [PATCH v2 1/4] media: qcom: camss: vfe: Add VBIF setting support

2025-05-26 Thread Vincent Knecht
Le lundi 26 mai 2025 à 09:13 +0100, Bryan O'Donoghue a écrit : > On 25/05/2025 20:25, Vincent Knecht via B4 Relay wrote: > > +void vfe_vbif_reg_write(struct vfe_device *vfe, u32 reg, u32 val); > > write_reg() / read_reg() > > --- > bod Do you mean to just rename to vfe_vbif_write_reg(), or that

Re: [PATCH RESEND] selftests: nettest: Fix typo in log and error messages for clarity

2025-05-26 Thread Paolo Abeni
On 5/26/25 5:16 PM, Alok Tiwari wrote: > This patch corrects several logging and error message typos in nettest.c: > - Corrects function name in log messages "setsockopt" -> "getsockopt". > - Closes missing parentheses in "setsockopt(IPV6_FREEBIND)". > - Replaces misleading error text ("Invalid por

[PATCH RESEND] selftests: nettest: Fix typo in log and error messages for clarity

2025-05-26 Thread Alok Tiwari
This patch corrects several logging and error message typos in nettest.c: - Corrects function name in log messages "setsockopt" -> "getsockopt". - Closes missing parentheses in "setsockopt(IPV6_FREEBIND)". - Replaces misleading error text ("Invalid port") with the correct description ("Invalid pr

[PATCH] selftests: nettest: Fix typo in log and error messages for clarity

2025-05-26 Thread Alok Tiwari
This patch corrects several logging and error message typos in nettest.c: - Corrects function name in log messages "setsockopt" -> "getsockopt". - Closes missing parentheses in "setsockopt(IPV6_FREEBIND)". - Replaces misleading error text ("Invalid port") with the correct description ("Invalid pr

Re: [PATCH] fs/dax: Fix "don't skip locked entries when scanning entries"

2025-05-26 Thread Jan Kara
On Fri 23-05-25 14:37:49, Alistair Popple wrote: > Commit 6be3e21d25ca ("fs/dax: don't skip locked entries when scanning > entries") introduced a new function, wait_entry_unlocked_exclusive(), > which waits for the current entry to become unlocked without advancing > the XArray iterator state. > >

Re: [PATCH net-next] vsock/test: Cover more CIDs in transport_uaf test

2025-05-26 Thread Stefano Garzarella
On Mon, May 26, 2025 at 02:51:18PM +0200, Michal Luczaj wrote: On 5/26/25 10:25, Stefano Garzarella wrote: On Fri, May 23, 2025 at 12:31:16AM +0200, Michal Luczaj wrote: Increase the coverage of test for UAF due to socket unbinding, and losing transport in general. It's a follow up to commit 30

Re: [PATCH net v2] vsock/test: Fix occasional failure in SOCK_STREAM SHUT_RD test

2025-05-26 Thread Stefano Garzarella
On Mon, 26 May 2025 at 15:50, Konstantin Shkolnyy wrote: > > The test outputs: > "SOCK_STREAM SHUT_RD...expected send(2) failure, got 1". > > It tests that shutdown(fd, SHUT_RD) on one side causes send() to fail on > the other side. However, sometimes there is a delay in delivery of the > SHUT_RD

[PATCH net v2] vsock/test: Fix occasional failure in SOCK_STREAM SHUT_RD test

2025-05-26 Thread Konstantin Shkolnyy
The test outputs: "SOCK_STREAM SHUT_RD...expected send(2) failure, got 1". It tests that shutdown(fd, SHUT_RD) on one side causes send() to fail on the other side. However, sometimes there is a delay in delivery of the SHUT_RD command, send() succeeds and the test fails, even though the command is

Re: [PATCH] selftests/mm: Deduplicate test names in madv_populate

2025-05-26 Thread David Hildenbrand
On 22.05.25 18:29, Mark Brown wrote: The madv_populate selftest has some repetitive code for several different cases that it covers, included repeated test names used in ksft_test_result() reports. This causes problems for automation, the test name is used to both track the test between runs and

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

2025-05-26 Thread Toke Høiland-Jørgensen
Mina Almasry writes: > From: Jesper Dangaard Brouer > > We frequently consult with Jesper's out-of-tree page_pool benchmark to > evaluate page_pool changes. > > Import the benchmark into the upstream linux kernel tree so that (a) > we're all running the same version, (b) pave the way for shared

Re: [PATCH net-next] vsock/test: Cover more CIDs in transport_uaf test

2025-05-26 Thread Michal Luczaj
On 5/26/25 10:25, Stefano Garzarella wrote: > On Fri, May 23, 2025 at 12:31:16AM +0200, Michal Luczaj wrote: >> Increase the coverage of test for UAF due to socket unbinding, and losing >> transport in general. It's a follow up to commit 301a62dfb0d0 ("vsock/test: >> Add test for UAF due to socket

Re: [PATCH v3] media: add virtio-media driver

2025-05-26 Thread Mauro Carvalho Chehab
Hi Michael, Em Sat, 12 Apr 2025 13:08:01 +0900 Alexandre Courbot escreveu: > Add the first version of the virtio-media driver. > > This driver acts roughly as a V4L2 relay between user-space and the > virtio virtual device on the host, so it is relatively simple, yet > unconventional. It doesn'

RE: [PATCH v6 1/5] x86/sgx: Introduce a counter to count the sgx_(vepc_)open()

2025-05-26 Thread Reshetova, Elena
> -Original Message- > From: Jarkko Sakkinen > Sent: Saturday, May 24, 2025 2:46 AM > To: Hansen, Dave > Cc: Reshetova, Elena ; sea...@google.com; > Huang, Kai ; mi...@kernel.org; linux- > s...@vger.kernel.org; linux-kernel@vger.kernel.org; x...@kernel.org; Mallick, > Asit K ; Scarlata,

RE: [PATCH v6 1/5] x86/sgx: Introduce a counter to count the sgx_(vepc_)open()

2025-05-26 Thread Reshetova, Elena
> -Original Message- > From: Jarkko Sakkinen > Sent: Friday, May 23, 2025 6:54 PM > To: Reshetova, Elena > Cc: Hansen, Dave ; sea...@google.com; Huang, Kai > ; mi...@kernel.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; x...@kernel.org; Mallick, Asit K > ; Scarlata, Vi

Re: [PATCH net-next v8] selftests/vsock: add initial vmtest.sh for vsock

2025-05-26 Thread Stefano Garzarella
On Thu, May 22, 2025 at 09:59:07PM -0700, Bobby Eshleman wrote: This commit introduces a new vmtest.sh runner for vsock. It uses virtme-ng/qemu to run tests in a VM. The tests validate G2H, H2G, and loopback. The testing tools from tools/testing/vsock/ are reused. Currently, only vsock_test is u

RE: [PATCH v6 4/5] x86/sgx: Implement ENCLS[EUPDATESVN]

2025-05-26 Thread Reshetova, Elena
> > + /* > > +* SVN was already up-to-date. This is the most > > +* common case. > > +*/ > > + if (ret == SGX_NO_UPDATE) > > + return 0; > > + > > + /* > > +* SVN update failed due to lack of entropy in DRNG. > > +* Indicate to userspace that it should retry. > >

Re: [PATCH v2 42/62] kbuild,x86: Fix module permissions for __jump_table and __bug_table

2025-05-26 Thread Peter Zijlstra
On Fri, May 09, 2025 at 01:17:06PM -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 v2 32/62] objtool: Suppress section skipping warnings with --dryrun

2025-05-26 Thread Peter Zijlstra
On Fri, May 09, 2025 at 01:16:56PM -0700, Josh Poimboeuf wrote: > It's common to use --dryrun on binaries that have already been > processed. Don't print the section skipping warnings in that case. Ah, I rather like this warning, it gives me an easy check to see if the file has already been proce

Re: [PATCH 3/3] kselftest/arm64: Specify SVE data when testing VL set in sve-ptrace

2025-05-26 Thread Mark Rutland
On Fri, May 23, 2025 at 04:27:14PM +0100, Mark Brown wrote: > Since f916dd32a943 ("arm64/fpsimd: ptrace: Mandate SVE payload for > streaming-mode state") we reject attempts to write to the streaming mode > regset even if there is no register data supplied, causing the tests for > setting vector len

Re: [PATCH 1/3] kselftest/arm64: Fix check for setting new VLs in sve-ptrace

2025-05-26 Thread Dev Jain
On 23/05/25 8:57 pm, Mark Brown wrote: The check that the new vector length we set was the expected one was typoed to an assignment statement which for some reason the compilers didn't spot, most likely due to the macros involved. Fixes: 0dca276ac4d2 ("selftests: arm64: Add test for the SVE pt

Re: [PATCH 2/3] kselftest/arm64: Fix test for streaming FPSIMD write in sve-ptrace

2025-05-26 Thread Mark Rutland
On Fri, May 23, 2025 at 04:27:13PM +0100, Mark Brown wrote: > Since f916dd32a943 ("arm64/fpsimd: ptrace: Mandate SVE payload for > streaming-mode state") we do not support writing FPSIMD payload data when > writing NT_ARM_SSVE but the sve-ptrace test has an explicit test for > this being supported

Re: [PATCH v4 20/38] KVM: x86/pmu: Check if mediated vPMU can intercept rdpmc

2025-05-26 Thread Sandipan Das
On 3/24/2025 11:01 PM, Mingwei Zhang wrote: > From: Dapeng Mi > > Check if rdpmc can be intercepted for mediated vPMU. Simply speaking, > if guest own all PMU counters in mediated vPMU, then rdpmc interception > should be disabled to mitigate the performance impact, otherwise rdpmc > has to be in

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

2025-05-26 Thread Peter Zijlstra
On Fri, May 09, 2025 at 01:16:53PM -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 v2 28/62] objtool: Fix weak symbol hole detection for .cold functions

2025-05-26 Thread Peter Zijlstra
On Fri, May 09, 2025 at 01:16:52PM -0700, Josh Poimboeuf wrote: > When ignore_unreachable_insn() looks for weak function holes which jump > to their .cold functions, it assumes the parent function comes before > the corresponding .cold function in the symbol table. That's not > necessarily the cas

Re: [PATCH v2 1/4] media: qcom: camss: vfe: Add VBIF setting support

2025-05-26 Thread Bryan O'Donoghue
On 25/05/2025 20:25, Vincent Knecht via B4 Relay wrote: From: Vincent Knecht Some devices need writing values to VFE VBIF registers. Add helper functions to do this. Signed-off-by: Vincent Knecht --- drivers/media/platform/qcom/camss/Makefile | 1 + drivers/media/platform/qcom/cam

Re: [PATCH 1/3] kselftest/arm64: Fix check for setting new VLs in sve-ptrace

2025-05-26 Thread Mark Rutland
On Fri, May 23, 2025 at 04:27:12PM +0100, Mark Brown wrote: > The check that the new vector length we set was the expected one was typoed > to an assignment statement which for some reason the compilers didn't spot, > most likely due to the macros involved. > > Fixes: 0dca276ac4d2 ("selftests: arm

Re: [PATCH 0/3] kselftest/arm64: Update sve-ptrace for ABI changes

2025-05-26 Thread Mark Rutland
On Fri, May 23, 2025 at 04:27:11PM +0100, Mark Brown wrote: > Mark Rutland's recent SME fixes updated the SME ABI to reject any > attempt to write FPSIMD register data via the streaming mode SVE > register set but did not update the sve-ptrace test to take account of > this, resulting in spurious f

Re: [PATCH v2 18/62] objtool: Fix x86 addend calculation

2025-05-26 Thread Peter Zijlstra
On Fri, May 09, 2025 at 01:16:42PM -0700, Josh Poimboeuf wrote: > On x86, arch_dest_reloc_offset() hardcodes the addend adjustment to > four, but the actual adjustment depends on the relocation type. Fix > that. > +s64 arch_insn_adjusted_addend(struct instruction *insn, struct reloc *reloc) > {

Re: [PATCH v2 3/3] remoteproc: imx_rproc: add power mode check for remote core attachment

2025-05-26 Thread Ulf Hansson
On Fri, 23 May 2025 at 21:17, Hiago De Franco wrote: > > Hi Ulf, > > On Wed, May 21, 2025 at 02:11:02PM +0200, Ulf Hansson wrote: > > You should not provide any flag (or attach_data to > > dev_pm_domain_attach_list()) at all. In other words just call > > dev_pm_domain_attach_list(dev, NULL, &priv-

Re: [PATCH v2 1/4] media: qcom: camss: vfe: Add VBIF setting support

2025-05-26 Thread Bryan O'Donoghue
On 25/05/2025 20:25, Vincent Knecht via B4 Relay wrote: +void vfe_vbif_reg_write(struct vfe_device *vfe, u32 reg, u32 val); write_reg() / read_reg() --- bod

[PATCH v4 0/6] arm64: dts: qcom: qcs615: enable remoteprocs - ADSP and CDSP

2025-05-26 Thread Lijuan Gao
/qcs615-ride.dts | 12 ++ arch/arm64/boot/dts/qcom/qcs615.dtsi | 144 + 4 files changed, 195 insertions(+), 27 deletions(-) --- base-commit: 176e917e010cb7dcc605f11d2bc33f304292482b change-id: 20250526-add_qcs615_remoteproc_support-25b331e2d126 Best regards

Re: [PATCH v3 1/1] selftests/mm/uffd: Refactor non-composite global vars into struct

2025-05-26 Thread Brendan Jackman
On Sun May 25, 2025 at 7:19 PM UTC, Ujwal Kundur wrote: >> I'm afraid I'm too ignorant of this code to be able to suggest something >> good here. But, can we just remove the comment and plumb the gopts >> through to uffd_poll_thread()->uffd_handle_page_fault()->__copy_page()? >> >> This is not pret

Re: [PATCH] selftests/cpufreq: Fix cpufreq basic read and update testcases

2025-05-26 Thread Sapkal, Swapnil
Hi Shuah, On 5/22/2025 8:47 PM, Shuah Khan wrote: On 5/19/25 01:58, Viresh Kumar wrote: On 30-04-25, 17:14, Swapnil Sapkal wrote: In cpufreq basic selftests, one of the testcases is to read all cpufreq sysfs files and print the values. This testcase assumes all the cpufreq sysfs files have rea

Re: [PATCH] selftests/cpufreq: Fix cpufreq basic read and update testcases

2025-05-26 Thread Sapkal, Swapnil
Hi Viresh, On 5/22/2025 3:15 PM, Viresh Kumar wrote: On 22-05-25, 14:07, Sapkal, Swapnil wrote: Initially I tried the same, but it does not work properly with the root user. Hmm, Tried chatgpt now and it says this should work: if ! cat "$1/$file" 2>/dev/null; then printf "$file is not

Re: [PATCH net-next] vsock/test: Cover more CIDs in transport_uaf test

2025-05-26 Thread Stefano Garzarella
On Fri, May 23, 2025 at 12:31:16AM +0200, Michal Luczaj wrote: Increase the coverage of test for UAF due to socket unbinding, and losing transport in general. It's a follow up to commit 301a62dfb0d0 ("vsock/test: Add test for UAF due to socket unbinding") and discussion in [1]. The idea remains

Re: [PATCH v2 2/4] media: qcom: camss: Add support for MSM8939

2025-05-26 Thread Bryan O'Donoghue
On 25/05/2025 20:25, Vincent Knecht via B4 Relay wrote: From: Vincent Knecht The camera subsystem for the MSM8939 is the same as MSM8916 except with 3 CSID instead of 2, and some higher clock rates. As a quirk, this SoC needs writing values to 2 VFE VBIF registers (see downstream msm8939-camer

Re: [PATCH net] vsock/test: Fix occasional failure in SOCK_STREAM SHUT_RD test

2025-05-26 Thread Stefano Garzarella
On Sun, May 25, 2025 at 11:32:20PM -0500, Konstantin Shkolnyy wrote: The test outputs: "SOCK_STREAM SHUT_RD...expected send(2) failure, got 1". It tests that shutdown(fd, SHUT_RD) on one side causes send() to fail on the other side. However, sometimes there is a delay in delivery of the SHUT_RD

Re: [PATCH v3] selftests: filesystems: Add functional test for the abort file in fusectl

2025-05-26 Thread Amir Goldstein
On Mon, May 26, 2025 at 3:43 AM Chen Linxuan wrote: > > This patch add a simple functional test for the "abort" file > in fusectlfs (/sys/fs/fuse/connections/ID/about). > > A simple fuse daemon is added for testing. > > Related discussion can be found in the link below. > > Link: > https://lore.k