Re: [PATCH v1 5/5] selftests: KVM: SVM: Add Idle HLT intercept test

2024-03-13 Thread Manali Shukla
Hi Sean, Thank you for reviewing my patches. On 3/7/2024 11:52 PM, Sean Christopherson wrote: > On Thu, Mar 07, 2024, Manali Shukla wrote: >> From: Manali Shukla >> >> The Execution of the HLT instruction results in a VMEXIT. Hypervisor >> observes pending V_INTR and V_NMI events just after the

Re: [PATCH v2 12/12] selftests/mm: virtual_address_range: conform to TAP format output

2024-03-13 Thread Dev Jain
On 2/2/24 17:01, Muhammad Usama Anjum wrote: Conform the layout, informational and status messages to TAP. No functional change is intended other than the layout of output messages. Signed-off-by: Muhammad Usama Anjum --- .../selftests/mm/virtual_address_range.c | 44

Re: [Test Failure Report] exec: Test failures in execveat

2024-03-13 Thread Kees Cook
On Mon, Mar 11, 2024 at 10:08:36PM +0500, Muhammad Usama Anjum wrote: > On 3/8/24 1:39 AM, Kees Cook wrote: > > On Thu, Mar 07, 2024 at 02:22:27PM +0500, Muhammad Usama Anjum wrote: > >> I've tested this patch. Still getting same failures. > > > > Okay, thanks for testing! > > > > What

Re: [PATCH v7 0/4] KVM: selftests: Add LoongArch support

2024-03-13 Thread maobibo
Paolo, Sean ping again -:) There is little materials for Loongarch. Can I apply merge privilege for Loongarch kvm if you are not convenient to give the review comments? Regards Bibo Mao On 2024/2/2 下午12:10, Bibo Mao wrote: This patchset adds KVM selftests for LoongArch system, currently

Re: [External] Re: [PATCH bpf-next v2 1/9] bpf: tracing: add support to record and check the accessed args

2024-03-13 Thread Alexei Starovoitov
On Tue, Mar 12, 2024 at 6:53 PM 梦龙董 wrote: > > On Wed, Mar 13, 2024 at 12:42 AM Alexei Starovoitov > wrote: > > > > On Mon, Mar 11, 2024 at 7:42 PM 梦龙董 wrote: > > > > [..] > > > > I see. > > I thought you're sharing the trampoline across attachments. > > (since bpf prog is the same). > >

Re: [PATCH] tools/testing/selftests/bpf/test_tc_tunnel.sh: Prevent client connect before server bind

2024-03-13 Thread Martin KaFai Lau
On 3/10/24 1:45 AM, Alessandro Carminati wrote: Hi Martin, Thanks for the review. Il giorno ven 8 mar 2024 alle ore 02:03 Martin KaFai Lau ha scritto: On 2/29/24 6:00 AM, Alessandro Carminati (Red Hat) wrote: In some systems, the netcat server can incur in delay to start listening. When

Re: [PATCH v3 4/5] selftests/mm: protection_keys: save/restore nr_hugepages settings

2024-03-13 Thread Muhammad Usama Anjum
On 3/13/24 7:58 PM, Joey Gouly wrote: > Hi Muhammad, > > On Thu, Jan 25, 2024 at 08:46:07PM +0500, Muhammad Usama Anjum wrote: >> Save and restore nr_hugepages before changing it during the test. A test >> should not change system wide settings. >> >> Fixes: 5f23f6d082a9 ("x86/pkeys: Add

Re: [PATCH 1/3] selftests/exec: Add the overall result line accourding to TAP

2024-03-13 Thread Kees Cook
On Mon, Mar 11, 2024 at 10:10:21PM +0500, Muhammad Usama Anjum wrote: > Soft reminder! Ah yes! Thanks for the reminder on these. I will get them into -next shortly. -- Kees Cook

[PATCH] selftests/exec: execveat: Improve debug reporting

2024-03-13 Thread Kees Cook
Children processes were reporting their status, duplicating the parent's. Remove that, and add some additional details about the test execution. Signed-off-by: Kees Cook --- Cc: Eric Biederman Cc: Shuah Khan Cc: Mark Brown Cc: Muhammad Usama Anjum Cc: linux...@kvack.org Cc:

Re: [PATCH v2 08/15] selftests/sched: Migrate cs_prctl_test to kselfttest

2024-03-13 Thread Chris Hyser
On 3/12/24 21:24, Joel Fernandes (Google) wrote: This test begs to be a kselftest, is in the kselftest hierarchy and does not even use a single kselftest API. Convert it. It simplifies some of the code and the output also looks much nicer now: Totals: pass:17 fail:0 xfail:0 xpass:0 skip:0

Re: [PATCH v3 4/5] selftests/mm: protection_keys: save/restore nr_hugepages settings

2024-03-13 Thread Joey Gouly
Hi Muhammad, On Thu, Jan 25, 2024 at 08:46:07PM +0500, Muhammad Usama Anjum wrote: > Save and restore nr_hugepages before changing it during the test. A test > should not change system wide settings. > > Fixes: 5f23f6d082a9 ("x86/pkeys: Add self-tests") > Signed-off-by: Muhammad Usama Anjum >

Re: [PATCH v2 08/13] selftests/resctrl: Add ->init() callback into resctrl_val_param

2024-03-13 Thread Ilpo Järvinen
On Wed, 13 Mar 2024, Maciej Wieczor-Retman wrote: > On 2024-03-13 at 13:37:51 +0200, Ilpo Järvinen wrote: > >On Wed, 13 Mar 2024, Maciej Wieczor-Retman wrote: > >> On 2024-03-13 at 11:15:30 +0100, Maciej Wieczor-Retman wrote: > >> >On 2024-03-11 at 15:52:25 +0200, Ilpo Järvinen wrote: > >> >>diff

Re: [PATCH v2 08/13] selftests/resctrl: Add ->init() callback into resctrl_val_param

2024-03-13 Thread Maciej Wieczor-Retman
On 2024-03-13 at 13:37:51 +0200, Ilpo Järvinen wrote: >On Wed, 13 Mar 2024, Maciej Wieczor-Retman wrote: >> On 2024-03-13 at 11:15:30 +0100, Maciej Wieczor-Retman wrote: >> >On 2024-03-11 at 15:52:25 +0200, Ilpo Järvinen wrote: >> >>diff --git a/tools/testing/selftests/resctrl/cmt_test.c >>

Re: [PATCH v2 08/13] selftests/resctrl: Add ->init() callback into resctrl_val_param

2024-03-13 Thread Ilpo Järvinen
On Wed, 13 Mar 2024, Maciej Wieczor-Retman wrote: > On 2024-03-13 at 11:15:30 +0100, Maciej Wieczor-Retman wrote: > >On 2024-03-11 at 15:52:25 +0200, Ilpo Järvinen wrote: > >>diff --git a/tools/testing/selftests/resctrl/cmt_test.c > >>b/tools/testing/selftests/resctrl/cmt_test.c > >>index

Re: [PATCH v2 08/13] selftests/resctrl: Add ->init() callback into resctrl_val_param

2024-03-13 Thread Maciej Wieczor-Retman
On 2024-03-13 at 11:15:30 +0100, Maciej Wieczor-Retman wrote: >Hi, > >On 2024-03-11 at 15:52:25 +0200, Ilpo Järvinen wrote: >>diff --git a/tools/testing/selftests/resctrl/cmt_test.c >>b/tools/testing/selftests/resctrl/cmt_test.c >>index 241c0b129b58..e79eca9346f3 100644 >>---

Re: [PATCH 3/4] selftests/resctrl: SNC support for MBM

2024-03-13 Thread Maciej Wieczor-Retman
On 2024-03-08 at 16:07:05 +0200, Ilpo Järvinen wrote: >On Wed, 6 Mar 2024, Maciej Wieczor-Retman wrote: >> @@ -697,12 +700,16 @@ int resctrl_val(const struct resctrl_test *test, >> struct resctrl_val_param *param) >> { >> char *resctrl_val = param->resctrl_val; >> -unsigned

Re: [PATCH 2/4] selftests/resctrl: SNC support for CMT

2024-03-13 Thread Maciej Wieczor-Retman
On 2024-03-08 at 15:59:02 +0200, Ilpo Järvinen wrote: >On Fri, 8 Mar 2024, Ilpo Järvinen wrote: > >> On Wed, 6 Mar 2024, Maciej Wieczor-Retman wrote: >> >> > Cache Monitoring Technology (CMT) works by measuring how much data in L3 >> > cache is occupied by a given process identified by its

Re: [PATCH v2 08/13] selftests/resctrl: Add ->init() callback into resctrl_val_param

2024-03-13 Thread Maciej Wieczor-Retman
Hi, On 2024-03-11 at 15:52:25 +0200, Ilpo Järvinen wrote: >diff --git a/tools/testing/selftests/resctrl/cmt_test.c >b/tools/testing/selftests/resctrl/cmt_test.c >index 241c0b129b58..e79eca9346f3 100644 >--- a/tools/testing/selftests/resctrl/cmt_test.c >+++

Re: [PATCH 1/8] iommu: Introduce a replace API for device pasid

2024-03-13 Thread Yi Liu
On 2024/3/13 11:13, Baolu Lu wrote: On 2024/3/12 11:07, Yi Liu wrote: On 2024/3/11 17:26, Tian, Kevin wrote: From: Liu, Yi L Sent: Sunday, March 10, 2024 9:06 PM On 2024/1/16 01:19, Jason Gunthorpe wrote: On Sun, Nov 26, 2023 at 10:34:21PM -0800, Yi Liu wrote: +int

Re: [PATCH 00/14] Add support for suppressing warning backtraces

2024-03-13 Thread Dan Carpenter
Thanks! Acked-by: Dan Carpenter regards, dan carpenter