Re: [PATCH net] bonding: don't set oif to bond dev when getting NS target destination

2025-08-11 Thread Jakub Kicinski
On Mon, 11 Aug 2025 07:27:19 -0700 Jay Vosburgh wrote: > Generically, I'm wondering if test updates should be separate > patches from the functional changes as a general policy. Yes, not sure if we made it a hard requirement, but I think it's our preference. It is the reason why we don't req

Re: [PATCH] remoteproc: qcom: Update MAX_NUM_OF_SS to 30

2025-08-11 Thread Mukesh Ojha
On Mon, Aug 11, 2025 at 09:49:08AM -0500, Bjorn Andersson wrote: > On Fri, Aug 08, 2025 at 10:14:17PM +0530, Mukesh Ojha wrote: > > In the latest firmware for Qualcomm SoCs, the value of MAX_NUM_OF_SS has > > been increased to 30 to accumulate more subsystems. > > > > Let's update so that we shoul

Re: [PATCH RFC V10 4/7] KVM: guest_memfd: Use guest mem inodes instead of anonymous inodes

2025-08-11 Thread David Hildenbrand
On 11.08.25 11:06, Shivank Garg wrote: From: Ackerley Tng guest_memfd's inode represents memory the guest_memfd is providing. guest_memfd's file represents a struct kvm's view of that memory. Using a custom inode allows customization of the inode teardown process via callbacks. For example, ->

Re: [PATCH] remoteproc: qcom: Update MAX_NUM_OF_SS to 30

2025-08-11 Thread Bjorn Andersson
On Fri, Aug 08, 2025 at 10:14:17PM +0530, Mukesh Ojha wrote: > In the latest firmware for Qualcomm SoCs, the value of MAX_NUM_OF_SS has > been increased to 30 to accumulate more subsystems. > > Let's update so that we should not get array out of bound error when we > test minidump on these SoCs. >

Re: [PATCH] media: i2c: ov8858: Add sensor's pixel matrix size

2025-08-11 Thread Vincent Knecht
Le vendredi 09 mai 2025 à 09:33 +0200, Vincent Knecht via B4 Relay a écrit : > From: Vincent Knecht > > The OV8858 pixel array is composed as: > - vertically: 16 dummy columns, 3264 valid ones and 16 dummy columns for >   a total of 3296 columns > - horizontally: 24 optical black lines, 16 dummy

Re: [PATCH RFC V10 0/7] Add NUMA mempolicy support for KVM guest-memfd

2025-08-11 Thread David Hildenbrand
On 11.08.25 16:34, Sean Christopherson wrote: On Mon, Aug 11, 2025, Shivank Garg wrote: This series introduces NUMA-aware memory placement support for KVM guests with guest_memfd memory backends. It builds upon Fuad Tabba's work (V17) that enabled host-mapping for guest_memfd memory [1]. Is th

Re: [PATCH RFC V10 0/7] Add NUMA mempolicy support for KVM guest-memfd

2025-08-11 Thread Sean Christopherson
On Mon, Aug 11, 2025, Shivank Garg wrote: > This series introduces NUMA-aware memory placement support for KVM guests > with guest_memfd memory backends. It builds upon Fuad Tabba's work (V17) > that enabled host-mapping for guest_memfd memory [1]. Is this still actually an RFC? If so, why? If n

Re: [PATCH net] bonding: don't set oif to bond dev when getting NS target destination

2025-08-11 Thread Jay Vosburgh
Hangbin Liu wrote: >Unlike IPv4, IPv6 routing strictly requires the source address to be valid >on the outgoing interface. If the NS target is set to a remote VLAN interface, >and the source address is also configured on a VLAN over a bond interface, >setting the oif to the bond device will fail

Re: [PATCH v8 08/30] KVM: selftests: TDX: Update load_td_memory_region() for VM memory backed by guest memfd

2025-08-11 Thread Ira Weiny
Sagi Shahar wrote: > From: Ackerley Tng > > If guest memory is backed by restricted memfd ^^ guest_memfd? I'm not sure what a restricted memfd is? > + UPM is being used, hence encrypted memory region has to

Re: [PATCH v19 2/6] remoteproc: Add TEE support

2025-08-11 Thread Sumit Garg
Hi Harshal, On Mon, Aug 04, 2025 at 02:56:18PM +0530, Harshal Dev wrote: > Hi Arnaud, > > On 8/1/2025 12:53 PM, Arnaud POULIQUEN wrote: > > Hello Harshal, > > > > > > On 7/31/25 12:25, Harshal Dev wrote: > >> Hello Arnaud, > >> > >> On 6/25/2025 3:10 PM, Arnaud Pouliquen wrote: > >>> Add a remo

RE: [PATCH v12 5/5] x86/sgx: Enable automatic SVN updates for SGX enclaves

2025-08-11 Thread Reshetova, Elena
er.kernel.org; > Mallick, Asit K ; Aktas, Erdem > ; Cai, Chong ; Bondarevska, > Nataliia ; linux-...@vger.kernel.org; Raynor, Scott > > Subject: Re: [PATCH v12 5/5] x86/sgx: Enable automatic SVN updates for SGX > enclaves > > > > > > +/* Mutex to ensure

Re: [PATCH 2/7] i2c: qcom-cci: Add msm8953 compatible

2025-08-11 Thread Wolfram Sang
On Sun, Aug 10, 2025 at 05:37:53PM +0200, Luca Weiss wrote: > Add a config for the v1.2.5 CCI found on msm8953 which has different Given the above version number... > static const struct of_device_id cci_dt_match[] = { > { .compatible = "qcom,msm8226-cci", .data = &cci_v1_data}, > + {

Re: [PATCH v3 0/3] xfs and DAX atomic writes changes

2025-08-11 Thread Carlos Maiolino
On Mon, Aug 11, 2025 at 01:08:59PM +0100, John Garry wrote: > On 11/08/2025 13:06, Carlos Maiolino wrote: > >> I was expecting you to pick these up. > > I did, for -rc1. > > > >> Shall I resend next week after v6.17-rc1 is released? > > No, I already have them queued up for -rc1, no need to send th

Re: [PATCH v3 0/3] xfs and DAX atomic writes changes

2025-08-11 Thread John Garry
On 11/08/2025 13:06, Carlos Maiolino wrote: I was expecting you to pick these up. I did, for -rc1. Shall I resend next week after v6.17-rc1 is released? No, I already have them queued up for -rc1, no need to send them again Great, thanks. I was just prepping to send again :)

Re: [PATCH v3 0/3] xfs and DAX atomic writes changes

2025-08-11 Thread Carlos Maiolino
On Wed, Aug 06, 2025 at 10:15:10AM +0100, John Garry wrote: > On 24/07/2025 09:12, John Garry wrote: > > Hi Carlos, > > I was expecting you to pick these up. I did, for -rc1. > > Shall I resend next week after v6.17-rc1 is released? No, I already have them queued up for -rc1, no need to send

Re: [PATCH 7/7] arm64: dts: qcom: sdm632-fairphone-fp3: Enable CCI and add EEPROM

2025-08-11 Thread Konrad Dybcio
On 8/10/25 5:37 PM, Luca Weiss wrote: > Enable the CCI where the camera modules are connected to, and add a node > for the EEPROM found next to the IMX363 rear camera. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH 6/7] arm64: dts: qcom: sdm632-fairphone-fp3: Add camera fixed regulators

2025-08-11 Thread Konrad Dybcio
On 8/10/25 5:37 PM, Luca Weiss wrote: > Add the definitions for a few fixed regulators found on the Fairphone 3. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH 4/7] arm64: dts: qcom: msm8953: Re-sort tlmm pinctrl states

2025-08-11 Thread Konrad Dybcio
On 8/10/25 5:37 PM, Luca Weiss wrote: > Follow the Devicetree Sources Coding Style and sort the pinctrl nodes by > the pins property. This makes it simpler to add new pinctrl states in > the future. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH 5/7] arm64: dts: qcom: msm8953: Add CCI nodes

2025-08-11 Thread Konrad Dybcio
On 8/10/25 5:37 PM, Luca Weiss wrote: > Add the nodes for the camera I2C bus on the MSM8953 SoC. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad

Re: [RFC v2 5/7] vduse: add vq group asid support

2025-08-11 Thread Eugenio Perez Martin
On Mon, Aug 11, 2025 at 5:21 AM Jason Wang wrote: > > On Thu, Aug 7, 2025 at 7:58 PM Eugenio Pérez wrote: > > > > Add support for assigning Address Space Identifiers (ASIDs) to each VQ > > group. This enables mapping each group into a distinct memory space. > > > > Signed-off-by: Eugenio Pérez

Re: [PATCH v2 0/5] media: i2c: imx214: Add some style improvements

2025-08-11 Thread Sakari Ailus
Hi André, On Sun, Aug 10, 2025 at 11:48:14PM +0200, André Apitzsch wrote: > Am Montag, dem 30.06.2025 um 21:05 +0200 schrieb André Apitzsch via B4 > Relay: > > The following changes have be suggested by Laurent in [1]. But the > > related series had already be applied. That's why they are addresse

Re: [RFC v2 4/7] vduse: return internal vq group struct as map token

2025-08-11 Thread Eugenio Perez Martin
On Mon, Aug 11, 2025 at 5:11 AM Jason Wang wrote: > > On Thu, Aug 7, 2025 at 7:58 PM Eugenio Pérez wrote: > > > > Return the internal struct that represents the vq group as virtqueue map > > token, instead of the device. > > Note that Michael prefers to use the iova domain. This indeed seems to >

Re: [PATCH v12 5/5] x86/sgx: Enable automatic SVN updates for SGX enclaves

2025-08-11 Thread Huang, Kai
> > +/* Mutex to ensure no concurrent EPC accesses during EUPDATESVN */ > +static DEFINE_MUTEX(sgx_svn_lock); > + > int sgx_inc_usage_count(void) > { > + guard(mutex)(&sgx_svn_lock); > + > + if (sgx_usage_count++ == 0) > + return sgx_update_svn(); > + Hmm.. sorry for not n

Re: [PATCH] KVM: loongarch: selftests: Remove common tests built by TEST_GEN_PROGS_COMMON

2025-08-11 Thread Bibo Mao
Hi Dong, Thanks for you patch. On 2025/8/11 下午4:24, Dong Yang wrote: Remove the common KVM test cases already added to TEST_GEN_PROGS_COMMON as following: demand_paging_test dirty_log_test guest_print_test kvm_binary_stats_test kvm_create_max_vcpus

Re: [PATCH v12 3/5] x86/sgx: Define error codes for use by ENCLS[EUPDATESVN]

2025-08-11 Thread Huang, Kai
On Mon, 2025-08-11 at 12:06 +0300, Elena Reshetova wrote: > Add error codes for ENCLS[EUPDATESVN], then SGX CPUSVN update process can > know the execution state of EUPDATESVN and notify userspace. > > EUPDATESVN will be called when no active SGX users is guaranteed. Only add > the error codes that

Re: [PATCH v12 1/5] x86/sgx: Introduce functions to count the sgx_(vepc_)open()

2025-08-11 Thread Huang, Kai
On Mon, 2025-08-11 at 12:06 +0300, Elena Reshetova wrote: > Currently, when SGX is compromised and the microcode update fix is applied, > the machine needs to be rebooted to invalidate old SGX crypto-assets and > make SGX be in an updated safe state. It's not friendly for the cloud. > > To avoid h

Re: [RFC v2 2/7] vduse: add vq group support

2025-08-11 Thread Eugenio Perez Martin
On Mon, Aug 11, 2025 at 5:10 AM Jason Wang wrote: > > On Thu, Aug 7, 2025 at 7:58 PM Eugenio Pérez wrote: > > > > This allows sepparate the different virtqueues in groups that shares the > > same address space. Asking the VDUSE device for the groups of the vq at > > the beginning as they're need

Re: [PATCH 5/8] riscv: hw_breakpoint: Use icount for single stepping

2025-08-11 Thread Anup Patel
Hi Jesse, On Wed, Aug 6, 2025 at 1:10 AM Jesse Taube wrote: > > The Sdtrig RISC-V ISA extension does not have a resume flag for > returning to and executing the instruction at the breakpoint. > To avoid skipping the instruction or looping, it is necessary to remove > the hardware breakpoint and s

Re: [RFC 1/6] vduse: add v1 API definition

2025-08-11 Thread Eugenio Perez Martin
On Mon, Aug 11, 2025 at 4:58 AM Jason Wang wrote: > > On Sun, Aug 10, 2025 at 6:18 PM Eugenio Perez Martin > wrote: > > > > On Fri, Aug 8, 2025 at 2:50 AM Jason Wang wrote: > > > > > > On Thu, Aug 7, 2025 at 6:56 PM Eugenio Perez Martin > > > wrote: > > > > > > > > On Tue, Jun 10, 2025 at 10:3

Re: [PATCH V9 1/7] KVM: guest_memfd: Use guest mem inodes instead of anonymous inodes

2025-08-11 Thread Garg, Shivank
On 8/8/2025 3:04 AM, Ackerley Tng wrote: > David Hildenbrand writes: > >> On 13.07.25 19:43, Shivank Garg wrote: >>> From: Ackerley Tng >>> >>> + ctx->ops = &kvm_gmem_super_operations; >> >> Curious, why is that required? (secretmem doesn't have it, so I wonder) >> > > Good point! pseudo_

Re: [PATCH v2 1/3] mm/huge_memory: add new_order and offset to split_huge_pages*() pr_debug.

2025-08-11 Thread David Hildenbrand
On 08.08.25 21:01, Zi Yan wrote: They are useful information for debugging split huge page tests. Signed-off-by: Zi Yan --- mm/huge_memory.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 2b4ea5a2ce7d..ebf875928bac 100644

RE: [PATCH v11 0/5] Enable automatic SVN updates for SGX enclaves

2025-08-11 Thread Reshetova, Elena
> > > > LGTM > > Reviewed-by: Jarkko Sakkinen > > BR, Jarkko Thank you very much for your review, Jarkko!

Re: [PATCH v2 1/3] mm/huge_memory: add new_order and offset to split_huge_pages*() pr_debug.

2025-08-11 Thread Barry Song
On Sat, Aug 9, 2025 at 3:02 AM Zi Yan wrote: > > They are useful information for debugging split huge page tests. > > Signed-off-by: Zi Yan LGTM. Reviewed-by: Barry Song > --- > mm/huge_memory.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/mm/huge_memory.c

Re: [PATCH v2 1/3] mm/huge_memory: add new_order and offset to split_huge_pages*() pr_debug.

2025-08-10 Thread Baolin Wang
On 2025/8/9 03:01, Zi Yan wrote: They are useful information for debugging split huge page tests. Signed-off-by: Zi Yan --- LGTM. Reviewed-by: Baolin Wang mm/huge_memory.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c

Re: [PATCH RFC 2/5] dt-bindings: power: Add Marvell PXA1908 domains

2025-08-10 Thread Krzysztof Kozlowski
On 08/08/2025 21:46, Duje Mihanović wrote: > On Friday, 8 August 2025 09:34:54 Central European Summer Time Krzysztof > Kozlowski wrote: >> On Wed, Aug 06, 2025 at 07:33:21PM +0200, Duje Mihanović wrote: >>> + A number of phandles to clocks that need to be enabled during >>> domain +

Re: [PATCH net v2] net: ip: order the reuseport socket in __inet_hash

2025-08-10 Thread kernel test robot
Hello, kernel test robot noticed "BUG:KASAN:slab-use-after-free_in__inet_hash" on: commit: 859ca60b71ef223e210d3d003a225d9ca70879fd ("[PATCH net v2] net: ip: order the reuseport socket in __inet_hash") url: https://github.com/intel-lab-lkp/linux/commits/Menglong-Dong/net-ip-order-the-reusepo

Re: [RFC v2 6/7] vduse: send update_iotlb_v2 message

2025-08-10 Thread Jason Wang
On Thu, Aug 7, 2025 at 7:58 PM Eugenio Pérez wrote: > > This message lets the kernel notify userspace VDUSE backends about > updated IOTLB mappings for a specific ASID. > > Signed-off-by: Eugenio Pérez I guess this could be squashed to the previous patch for logic completeness. Thanks > --- >

Re: [RFC v2 5/7] vduse: add vq group asid support

2025-08-10 Thread Jason Wang
On Thu, Aug 7, 2025 at 7:58 PM Eugenio Pérez wrote: > > Add support for assigning Address Space Identifiers (ASIDs) to each VQ > group. This enables mapping each group into a distinct memory space. > > Signed-off-by: Eugenio Pérez > --- > v2: Make iotlb entry the last one of vduse_iotlb_entry_v2

Re: [RFC v2 4/7] vduse: return internal vq group struct as map token

2025-08-10 Thread Jason Wang
On Thu, Aug 7, 2025 at 7:58 PM Eugenio Pérez wrote: > > Return the internal struct that represents the vq group as virtqueue map > token, instead of the device. Note that Michael prefers to use the iova domain. This indeed seems to be better. > This allows the DMA functions to access s/DMA/map/

Re: [RFC v2 2/7] vduse: add vq group support

2025-08-10 Thread Jason Wang
On Thu, Aug 7, 2025 at 7:58 PM Eugenio Pérez wrote: > > This allows sepparate the different virtqueues in groups that shares the > same address space. Asking the VDUSE device for the groups of the vq at > the beginning as they're needed for the DMA API. > > Allocating 3 vq groups as net is the de

Re: [RFC 1/6] vduse: add v1 API definition

2025-08-10 Thread Jason Wang
On Sun, Aug 10, 2025 at 6:18 PM Eugenio Perez Martin wrote: > > On Fri, Aug 8, 2025 at 2:50 AM Jason Wang wrote: > > > > On Thu, Aug 7, 2025 at 6:56 PM Eugenio Perez Martin > > wrote: > > > > > > On Tue, Jun 10, 2025 at 10:36 AM Jason Wang wrote: > > > > > > > > On Mon, Jun 9, 2025 at 2:11 PM

Re: [PATCH v2 1/3] mm/huge_memory: add new_order and offset to split_huge_pages*() pr_debug.

2025-08-10 Thread wang lian
> They are useful information for debugging split huge page tests. > Signed-off-by: Zi Yan > --- Yes. LGTM. Reviewed-by: wang lian Best regards, wang lian

Re: [PATCH v11 1/5] x86/sgx: Introduce functions to count the sgx_(vepc_)open()

2025-08-10 Thread Huang, Kai
On Fri, 2025-08-08 at 10:47 +, Reshetova, Elena wrote: > > > > > diff --git a/arch/x86/kernel/cpu/sgx/encl.c > > > b/arch/x86/kernel/cpu/sgx/encl.c > > > index 308dbbae6c6e..cf149b9f4916 100644 > > > --- a/arch/x86/kernel/cpu/sgx/encl.c > > > +++ b/arch/x86/kernel/cpu/sgx/encl.c > > > @@ -765

Re: [PATCH v11 4/5] x86/sgx: Implement ENCLS[EUPDATESVN]

2025-08-10 Thread Huang, Kai
On Fri, 2025-08-08 at 10:59 +, Reshetova, Elena wrote: > > > + /* > > > + * EPC is guaranteed to be empty when there are no users. > > > + * Ensure we are on our first user before proceeding further. > > > + */ > > > + WARN(sgx_usage_count != 1, "Elevated usage count when calling > > EUPDATE

Re: [PATCH v2 0/5] media: i2c: imx214: Add some style improvements

2025-08-10 Thread André Apitzsch
Am Montag, dem 30.06.2025 um 21:05 +0200 schrieb André Apitzsch via B4 Relay: > The following changes have be suggested by Laurent in [1]. But the > related series had already be applied. That's why they are addressed > in this series. > > [1] > https://lore.kernel.org/linux-media/20250621181751.g

Re: [PATCH v2 1/3] mm/huge_memory: add new_order and offset to split_huge_pages*() pr_debug.

2025-08-10 Thread Donet Tom
On 8/9/25 12:31 AM, Zi Yan wrote: They are useful information for debugging split huge page tests. Signed-off-by: Zi Yan --- mm/huge_memory.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 2b4ea5a2ce7d..ebf875928bac 100

Re: [PATCH v2 3/3] selftests/mm: check after-split folio orders in split_huge_page_test.

2025-08-10 Thread Donet Tom
On 8/9/25 12:31 AM, Zi Yan wrote: Instead of just checking the existence of PMD folios before and after folio split tests, use check_folio_orders() to check after-split folio orders. The following tests are not changed: 1. split_pte_mapped_thp: the test already uses kpageflags to check; 2. spl

Re: [PATCH v2 2/3] selftests/mm: add check_folio_orders() helper.

2025-08-10 Thread Donet Tom
On 8/9/25 12:31 AM, Zi Yan wrote: The helper gathers an folio order statistics of folios within a virtual address range and checks it against a given order list. It aims to provide a more precise folio order check instead of just checking the existence of PMD folios. Signed-off-by: Zi Yan ---

[PATCH 4/7] arm64: dts: qcom: msm8953: Re-sort tlmm pinctrl states

2025-08-10 Thread Luca Weiss
Follow the Devicetree Sources Coding Style and sort the pinctrl nodes by the pins property. This makes it simpler to add new pinctrl states in the future. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 439 +- 1 file changed, 219 insertions(

Re: [PATCH v2 1/2] openrisc: Add text patching API support

2025-08-10 Thread Miao Chen
Stafford Horne 于2025年8月9日周六 16:25写道: > > On Wed, Aug 06, 2025 at 02:05:03AM +, ChenMiao wrote: > > From: chenmiao > > > > We need a text patching mechanism to ensure that in the subsequent > > implementation of jump_label, the code can be modified to the correct > > location. Therefore, FIX_T

Re: [PATCH V2 00/20] Add CXL LSA 2.1 format support in nvdimm and cxl pmem

2025-08-10 Thread Neeraj Kumar
On 30/07/25 05:41PM, Neeraj Kumar wrote: Introduction: = CXL Persistent Memory (Pmem) devices region, namespace and content must be persistent across system reboot. In order to achieve this persistency, it uses Label Storage Area (LSA) to store respective metadata. During system reboo

Re: [RFC 1/6] vduse: add v1 API definition

2025-08-10 Thread Eugenio Perez Martin
On Fri, Aug 8, 2025 at 2:50 AM Jason Wang wrote: > > On Thu, Aug 7, 2025 at 6:56 PM Eugenio Perez Martin > wrote: > > > > On Tue, Jun 10, 2025 at 10:36 AM Jason Wang wrote: > > > > > > On Mon, Jun 9, 2025 at 2:11 PM Eugenio Perez Martin > > > wrote: > > > > > > > > On Mon, Jun 9, 2025 at 3:50

Re: [RFC v2 5/7] vduse: add vq group asid support

2025-08-10 Thread Eugenio Perez Martin
On Fri, Aug 8, 2025 at 9:45 AM Maxime Coquelin wrote: > > > > On 8/7/25 1:57 PM, Eugenio Pérez wrote: > > diff --git a/include/uapi/linux/vduse.h b/include/uapi/linux/vduse.h > > index b4b139dc76bb..d300fd5f867f 100644 > > --- a/include/uapi/linux/vduse.h > > +++ b/include/uapi/linux/vduse.h > > @

Re: [PATCH v2 2/3] selftests/mm: add check_folio_orders() helper.

2025-08-09 Thread Wei Yang
On Fri, Aug 08, 2025 at 03:01:43PM -0400, Zi Yan wrote: >The helper gathers an folio order statistics of folios within a virtual >address range and checks it against a given order list. It aims to provide >a more precise folio order check instead of just checking the existence of >PMD folios. > >Si

Re: [linus:master] [rcu] b41642c877: BUG:kernel_hang_in_boot_stage

2025-08-09 Thread Joel Fernandes
a separate patch/commit (i.e. not just a new version >> of >> the same patch/commit), kindly add following tags >> | Reported-by: kernel test robot >> | Closes: https://lore.kernel.org/oe-lkp/202508071303.c1134cce-...@intel.com > > #syz test > > From a3cc7624

Re: [PATCH v2 1/3] mm/huge_memory: add new_order and offset to split_huge_pages*() pr_debug.

2025-08-09 Thread Wei Yang
On Fri, Aug 08, 2025 at 03:01:42PM -0400, Zi Yan wrote: >They are useful information for debugging split huge page tests. > >Signed-off-by: Zi Yan Reviewed-by: Wei Yang -- Wei Yang Help you, Help me

Re: [PATCH v3 3/7] selftest/mm: Fix ksm_funtional_test failures

2025-08-09 Thread Wei Yang
On Fri, Aug 08, 2025 at 07:55:37PM +0530, Donet Tom wrote: [...] >> Thanks for the detailed analysis. >> >> So the key is child has no ksm_rmap_item which will not clear >> ksm_merging_page >> on ksm_unmerge(). >> >> > So, only processes that performed KSM merging will have their counters >> > u

Re: [PATCH v11 0/5] Enable automatic SVN updates for SGX enclaves

2025-08-09 Thread Jarkko Sakkinen
On Wed, Aug 06, 2025 at 11:11:51AM +0300, Elena Reshetova wrote: > Changes since v10 following reviews by Dave: > > - merge patch 1 and 2 > - patch 1: clarify the comment about the function prototype > - patch 3: clarify the description of SGX_NO_UPDATE > error code, move the definition of EU

Re: [PATCH v2 1/2] openrisc: Add text patching API support

2025-08-09 Thread Stafford Horne
On Wed, Aug 06, 2025 at 02:05:03AM +, ChenMiao wrote: > From: chenmiao > > We need a text patching mechanism to ensure that in the subsequent > implementation of jump_label, the code can be modified to the correct > location. Therefore, FIX_TEXT_POKE0 has been added as a mapping area. > > An

Re: [PATCH v2] selftests/futex: Skip futex_waitv tests if ENOSYS

2025-08-08 Thread André Almeida
Hi Wake Liu, Em 08/08/2025 04:15, Wake Liu escreveu: The futex_waitv() syscall was introduced in Linux 5.16. The existing test in futex_wait_timeout.c will fail on kernels older than 5.16 due to the syscall not being implemented. Modify the test_timeout() function to check if the error returned

Re: [PATCH bpf-next 1/4] bpf: Add overwrite mode for bpf ring buffer

2025-08-08 Thread Alexei Starovoitov
On Sun, Aug 3, 2025 at 7:27 PM Xu Kuohai wrote: > > From: Xu Kuohai > > When the bpf ring buffer is full, new events can not be recorded util > the consumer consumes some events to free space. This may cause critical > events to be discarded, such as in fault diagnostic, where recent events > are

Re: [PATCH RFC 0/5] Marvell PXA1908 power domains

2025-08-08 Thread Duje Mihanović
On Thursday, 7 August 2025 17:40:28 Central European Summer Time Conor Dooley wrote: > On Wed, Aug 06, 2025 at 07:33:19PM +0200, Duje Mihanović wrote: > > Hello, > > > > This series implements support for the power domains found in Marvell's > > PXA1908 SoC. The domains control power for the grap

Re: [PATCH RFC 2/5] dt-bindings: power: Add Marvell PXA1908 domains

2025-08-08 Thread Duje Mihanović
On Friday, 8 August 2025 09:34:54 Central European Summer Time Krzysztof Kozlowski wrote: > On Wed, Aug 06, 2025 at 07:33:21PM +0200, Duje Mihanović wrote: > > + A number of phandles to clocks that need to be enabled during > > domain + power up. > > This does not exist in your

Re: [PATCH v4 3/3] fs/proc/task_mmu: execute PROCMAP_QUERY ioctl under per-vma locks

2025-08-08 Thread Vlastimil Babka
On 8/8/25 17:28, Suren Baghdasaryan wrote: > Utilize per-vma locks to stabilize vma after lookup without taking > mmap_lock during PROCMAP_QUERY ioctl execution. If vma lock is > contended, we fall back to mmap_lock but take it only momentarily > to lock the vma and release the mmap_lock. In a very

Re: [linus:master] [rcu] b41642c877: BUG:kernel_hang_in_boot_stage

2025-08-08 Thread Frederic Weisbecker
lore.kernel.org/oe-lkp/202508071303.c1134cce-...@intel.com #syz test >From a3cc7624264743996d2ad1295741933103a8d63b Mon Sep 17 00:00:00 2001 From: Frederic Weisbecker Date: Fri, 8 Aug 2025 19:03:22 +0200 Subject: [PATCH] rcu: Fix racy re-initialization of irq_work causing hangs RCU re-initial

Re: [PATCH bpf-next v3] selftests/bpf: Add LPM trie microbenchmarks

2025-08-08 Thread Alexei Starovoitov
On Fri, Aug 8, 2025 at 7:21 AM Matt Fleming wrote: > > On Thu, Jul 31, 2025 at 5:41 PM Alexei Starovoitov > wrote: > > > > well, random-key update when the map is full is also quite different from > > random-key update when the map is empty. > > > > Instead doing an update from user space do time

Re: [PATCH v11 4/5] x86/sgx: Implement ENCLS[EUPDATESVN]

2025-08-08 Thread Dave Hansen
On 8/8/25 03:59, Reshetova, Elena wrote: >> I am not sure whether this is needed. Wouldn't the ENCLS_WARN() at the >> end catch this case and the user is able to figure out what went wrong >> from the error code? > Dave has made a suggestion to include this check, so I have added it. If it's imp

Re: [bpf-next 6/6] selftests/bpf: Fix arena_spin_lock selftest failure

2025-08-08 Thread Alexei Starovoitov
On Fri, Aug 8, 2025 at 8:29 AM Saket Kumar Bhaskar wrote: > > On Thu, Aug 07, 2025 at 03:21:42PM -0700, Alexei Starovoitov wrote: > > On Mon, Aug 4, 2025 at 11:29 PM Saket Kumar Bhaskar > > wrote: > > > > > > @@ -60,9 +65,16 @@ static void test_arena_spin_lock_size(int size) > > >

Re: [PATCH bpf-next v3] selftests/bpf: Add LPM trie microbenchmarks

2025-08-08 Thread Jesper Dangaard Brouer
On 22/07/2025 17.01, Matt Fleming wrote: From: Matt Fleming Add benchmarks for the standard set of operations: lookup, update, delete. Also, include a benchmark for trie_free() which is known to have terrible performance for maps with many entries. Benchmarks operate on tries without gaps in

Re: [PATCH 2/4] mm/huge_memory: move to next folio after folio_split() succeeds.

2025-08-08 Thread Zi Yan
On 8 Aug 2025, at 11:24, Zi Yan wrote: > On 7 Aug 2025, at 23:15, Wei Yang wrote: > >> On Thu, Aug 07, 2025 at 01:05:09PM -0400, Zi Yan wrote: >>> On 7 Aug 2025, at 4:55, Wei Yang wrote: >>> On Tue, Aug 05, 2025 at 10:20:43PM -0400, Zi Yan wrote: [...] > > - if (in_folio_

Re: [PATCH 2/4] mm/huge_memory: move to next folio after folio_split() succeeds.

2025-08-08 Thread Zi Yan
On 7 Aug 2025, at 23:15, Wei Yang wrote: > On Thu, Aug 07, 2025 at 01:05:09PM -0400, Zi Yan wrote: >> On 7 Aug 2025, at 4:55, Wei Yang wrote: >> >>> On Tue, Aug 05, 2025 at 10:20:43PM -0400, Zi Yan wrote: >>> [...] - if (in_folio_offset < 0 || - in_folio_offset

Re: [bpf-next 6/6] selftests/bpf: Fix arena_spin_lock selftest failure

2025-08-08 Thread Saket Kumar Bhaskar
On Thu, Aug 07, 2025 at 03:21:42PM -0700, Alexei Starovoitov wrote: > On Mon, Aug 4, 2025 at 11:29 PM Saket Kumar Bhaskar > wrote: > > > > @@ -60,9 +65,16 @@ static void test_arena_spin_lock_size(int size) > > return; > > } > > > > - skel = arena_spin_lock__open_and_

Re: [PATCH v2] Revert "virtio: reject shm region if length is zero"

2025-08-08 Thread Igor Torrente
El vie., 08 ago. 2025 08:26:08 -0300, Michael S. Tsirkin escribió > On Thu, Aug 07, 2025 at 10:03:29AM -0300, Igor Torrente wrote: > > The commit 206cc44588f7 ("virtio: reject shm region if length is zero") > > breaks the Virtio-gpu `host_visible` feature. > > > > Right now in

Re: [PATCH bpf-next v3] selftests/bpf: Add LPM trie microbenchmarks

2025-08-08 Thread Matt Fleming
On Thu, Jul 31, 2025 at 5:41 PM Alexei Starovoitov wrote: > > well, random-key update when the map is full is also quite different from > random-key update when the map is empty. > > Instead doing an update from user space do timed ops: > 1 start with empty map, update (aka insert) all keys sequen

Re: [PATCH v3 3/7] selftest/mm: Fix ksm_funtional_test failures

2025-08-08 Thread Donet Tom
On 8/8/25 8:28 AM, Wei Yang wrote: On Thu, Aug 07, 2025 at 02:56:28PM +0530, Donet Tom wrote: On 8/6/25 8:24 PM, Wei Yang wrote: On Wed, Aug 06, 2025 at 06:30:37PM +0530, Donet Tom wrote: [...] Child process inherit the ksm_merging_pages from parent, which is reasonable to me. But I am confu

Re: [PATCH v3 0/2] fscontext: do not consume log entries when returning -EMSGSIZE

2025-08-08 Thread Christian Brauner
On Thu, 07 Aug 2025 03:55:22 +1000, Aleksa Sarai wrote: > Userspace generally expects APIs that return -EMSGSIZE to allow for them > to adjust their buffer size and retry the operation. However, the > fscontext log would previously clear the message even in the -EMSGSIZE > case. > > Given that it

Re: [PATCH v3 1/2] fscontext: do not consume log entries when returning -EMSGSIZE

2025-08-08 Thread Christian Brauner
On Wed, Aug 06, 2025 at 08:07:51PM +0100, Al Viro wrote: > On Thu, Aug 07, 2025 at 03:55:23AM +1000, Aleksa Sarai wrote: > > > - goto err_free; > > - ret = -EFAULT; > > - if (copy_to_user(_buf, p, n) != 0) > > - goto err_free; > > + if (copy_to_user(_buf, p, n)) > > +

Re: [PATCH 0/2] open_tree_attr: do not allow id-mapping changes without OPEN_TREE_CLONE

2025-08-08 Thread Christian Brauner
On Fri, 08 Aug 2025 03:55:04 +1000, Aleksa Sarai wrote: > As described in commit 7a54947e727b ('Merge patch series "fs: allow > changing idmappings"'), open_tree_attr(2) was necessary in order to > allow for a detached mount to be created and have its idmappings changed > without the risk of any ra

Re: [PATCH v2] selftests: arm64: Check fread return value in exec_target

2025-08-08 Thread Mark Brown
On Fri, Aug 08, 2025 at 01:38:30PM +0530, Bala-Vignesh-Reddy wrote: > Fix -Wunused-result warning generated when compiled with gcc 13.3.0, > by checking fread's return value and handling errors, preventing > potential failures when reading from stdin. > > Fixes compiler warning: > warning: ignorin

Re: [PATCH v2] Revert "virtio: reject shm region if length is zero"

2025-08-08 Thread Michael S. Tsirkin
On Thu, Aug 07, 2025 at 10:03:29AM -0300, Igor Torrente wrote: > The commit 206cc44588f7 ("virtio: reject shm region if length is zero") > breaks the Virtio-gpu `host_visible` feature. > > Right now in the Virtio-gpu code, `host_visible_region.len` is zero because > the struct comes directly from

Re: selftests/futex: issue with -g option help text

2025-08-08 Thread Sebastian Andrzej Siewior
On 2025-08-08 12:01:49 [+0100], Colin King (gmail) wrote: > Hi, Hi, > > > > Test global hash instead instead private hash > > Surely: > Test global hash instead of private hash Thanks. There must be an issue with my keyboard. > > > > ? > > > > > Colin Sebastian

RE: [PATCH v11 5/5] x86/sgx: Enable automatic SVN updates for SGX enclaves

2025-08-08 Thread Reshetova, Elena
er.kernel.org; > Mallick, Asit K ; Aktas, Erdem > ; Cai, Chong ; Bondarevska, > Nataliia ; linux-...@vger.kernel.org; Raynor, Scott > > Subject: Re: [PATCH v11 5/5] x86/sgx: Enable automatic SVN updates for SGX > enclaves > > On Wed, 2025-08-06 at 11:11 +0300, Elena Res

Re: selftests/futex: issue with -g option help text

2025-08-08 Thread Colin King (gmail)
Hi, On 08/08/2025 11:54, Sebastian Andrzej Siewior wrote: On 2025-08-08 11:40:23 [+0100], Colin King (gmail) wrote: Hi, Hi, Namely: static void usage(char *prog) { printf("Usage: %s\n", prog); printf(" -cUse color\n"); printf(" -gTest global hash instead

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

2025-08-08 Thread Reshetova, Elena
er.kernel.org; > Mallick, Asit K ; Aktas, Erdem > ; Cai, Chong ; Bondarevska, > Nataliia ; linux-...@vger.kernel.org; Raynor, Scott > > Subject: Re: [PATCH v11 4/5] x86/sgx: Implement ENCLS[EUPDATESVN] > > On Wed, 2025-08-06 at 11:11 +0300, Elena Reshetova wrote: > > All

Re: selftests/futex: issue with -g option help text

2025-08-08 Thread Sebastian Andrzej Siewior
On 2025-08-08 11:40:23 [+0100], Colin King (gmail) wrote: > Hi, Hi, > Namely: > > static void usage(char *prog) > { > printf("Usage: %s\n", prog); > printf(" -cUse color\n"); > printf(" -gTest global hash instead intead local immutable > \n"); > printf("

RE: [PATCH v11 3/5] x86/sgx: Define error codes for use by ENCLS[EUPDATESVN]

2025-08-08 Thread Reshetova, Elena
er.kernel.org; > Mallick, Asit K ; Aktas, Erdem > ; Cai, Chong ; Bondarevska, > Nataliia ; linux-...@vger.kernel.org; Raynor, Scott > > Subject: Re: [PATCH v11 3/5] x86/sgx: Define error codes for use by > ENCLS[EUPDATESVN] > > On Wed, 2025-08-06 at 11:11 +0300, Elen

RE: [PATCH v11 3/5] x86/sgx: Define error codes for use by ENCLS[EUPDATESVN]

2025-08-08 Thread Reshetova, Elena
er.kernel.org; > Mallick, Asit K ; Aktas, Erdem > ; Cai, Chong ; Bondarevska, > Nataliia ; linux-...@vger.kernel.org; Raynor, Scott > > Subject: Re: [PATCH v11 3/5] x86/sgx: Define error codes for use by > ENCLS[EUPDATESVN] > > On Wed, 2025-08-06 at 11:11 +0300, Elen

RE: [PATCH v11 2/5] x86/cpufeatures: Add X86_FEATURE_SGX_EUPDATESVN feature flag

2025-08-08 Thread Reshetova, Elena
er.kernel.org; > Mallick, Asit K ; Aktas, Erdem > ; Cai, Chong ; Bondarevska, > Nataliia ; linux-...@vger.kernel.org; > dave.han...@linux.intel.com; Raynor, Scott > Subject: Re: [PATCH v11 2/5] x86/cpufeatures: Add > X86_FEATURE_SGX_EUPDATESVN feature flag > > On Wed,

RE: [PATCH v11 1/5] x86/sgx: Introduce functions to count the sgx_(vepc_)open()

2025-08-08 Thread Reshetova, Elena
er.kernel.org; > Mallick, Asit K ; Aktas, Erdem > ; Cai, Chong ; Bondarevska, > Nataliia ; linux-...@vger.kernel.org; Raynor, Scott > > Subject: Re: [PATCH v11 1/5] x86/sgx: Introduce functions to count the > sgx_(vepc_)open() > > > (sorry for back-and-forth and not sayi

Re: BPF selftest: mptcp subtest failing

2025-08-08 Thread Matthieu Baerts
Hi Harshvardhan, On 08/08/2025 09:00, Harshvardhan Jha wrote: > Hi Matthieu, > > On 07/08/25 7:51 PM, Matthieu Baerts wrote: >> Hi Harshvardhan, >> >> On 07/08/2025 05:50, Harshvardhan Jha wrote: >>> Hi there, >>> I have explicitly disabled mptpcp by default on my custom kernel and >>> this seems

Re: [RFC v2 2/7] vduse: add vq group support

2025-08-08 Thread Maxime Coquelin
On 8/7/25 1:57 PM, Eugenio Pérez wrote: diff --git a/include/uapi/linux/vduse.h b/include/uapi/linux/vduse.h index 9a56d0416bfe..b4b139dc76bb 100644 --- a/include/uapi/linux/vduse.h +++ b/include/uapi/linux/vduse.h @@ -31,6 +31,7 @@ * @features: virtio features * @vq_num: the number of v

Re: [RFC v2 5/7] vduse: add vq group asid support

2025-08-08 Thread Maxime Coquelin
On 8/7/25 1:57 PM, Eugenio Pérez wrote: diff --git a/include/uapi/linux/vduse.h b/include/uapi/linux/vduse.h index b4b139dc76bb..d300fd5f867f 100644 --- a/include/uapi/linux/vduse.h +++ b/include/uapi/linux/vduse.h @@ -47,7 +47,8 @@ struct vduse_dev_config { __u32 vq_num; __u32

Re: [PATCH RFC 1/5] dt-bindings: clock: marvell,pxa1908: Add simple-mfd, syscon compatible to apmu

2025-08-08 Thread Krzysztof Kozlowski
properties: >'#clock-cells': > const: 1 > > + power-controller: > +description: | > + Optional power domain controller node. > +type: object > +additionalProperties: true > +properties: > + compatible: > +const

Re: [PATCH RFC 2/5] dt-bindings: power: Add Marvell PXA1908 domains

2025-08-08 Thread Krzysztof Kozlowski
On Wed, Aug 06, 2025 at 07:33:21PM +0200, Duje Mihanović wrote: > Add device tree bindings for Marvell PXA1908's power domains. > > Signed-off-by: Duje Mihanović > --- > .../power/marvell,pxa1908-power-controller.yaml| 105 > + > include/dt-bindings/power/marvell,pxa1908

Re: BPF selftest: mptcp subtest failing

2025-08-08 Thread Harshvardhan Jha
Hi Matthieu, On 07/08/25 7:51 PM, Matthieu Baerts wrote: > Hi Harshvardhan, > > On 07/08/2025 05:50, Harshvardhan Jha wrote: >> Hi there, >> I have explicitly disabled mptpcp by default on my custom kernel and >> this seems to be causing the test case to fail. Even after enabling >> mtpcp via sysc

Re: [GIT PULL] vhost: bugfix

2025-08-07 Thread pr-tracker-bot
The pull request you sent on Thu, 7 Aug 2025 08:47:21 -0400: > https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b1e06c19abd2efbdd080047b2e70195c04ac2139 Thank you! -- Deet-doot-dot, I am a bo

Re: [PATCH 2/4] mm/huge_memory: move to next folio after folio_split() succeeds.

2025-08-07 Thread Wei Yang
On Thu, Aug 07, 2025 at 01:05:09PM -0400, Zi Yan wrote: >On 7 Aug 2025, at 4:55, Wei Yang wrote: > >> On Tue, Aug 05, 2025 at 10:20:43PM -0400, Zi Yan wrote: >> [...] >>> >>> - if (in_folio_offset < 0 || >>> - in_folio_offset >= folio_nr_pages(folio)) { >>> + if (i

Re: [PATCH v3 3/7] selftest/mm: Fix ksm_funtional_test failures

2025-08-07 Thread Wei Yang
On Thu, Aug 07, 2025 at 02:56:28PM +0530, Donet Tom wrote: > >On 8/6/25 8:24 PM, Wei Yang wrote: >> On Wed, Aug 06, 2025 at 06:30:37PM +0530, Donet Tom wrote: >> [...] >> > > Child process inherit the ksm_merging_pages from parent, which is >> > > reasonable >> > > to me. But I am confused why ksm

Re: [RFC 1/6] vduse: add v1 API definition

2025-08-07 Thread Jason Wang
On Thu, Aug 7, 2025 at 6:56 PM Eugenio Perez Martin wrote: > > On Tue, Jun 10, 2025 at 10:36 AM Jason Wang wrote: > > > > On Mon, Jun 9, 2025 at 2:11 PM Eugenio Perez Martin > > wrote: > > > > > > On Mon, Jun 9, 2025 at 3:50 AM Jason Wang wrote: > > > > > > > > On Mon, Jun 9, 2025 at 9:41 AM J

Re: [bpf-next 6/6] selftests/bpf: Fix arena_spin_lock selftest failure

2025-08-07 Thread Alexei Starovoitov
On Mon, Aug 4, 2025 at 11:29 PM Saket Kumar Bhaskar wrote: > > @@ -60,9 +65,16 @@ static void test_arena_spin_lock_size(int size) > return; > } > > - skel = arena_spin_lock__open_and_load(); > - if (!ASSERT_OK_PTR(skel, "arena_spin_lock__open_and_load")) > +

  1   2   3   4   5   6   7   8   9   10   >