Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2024-01-14 Thread Baolu Lu
On 2024/1/13 5:56, Joel Granados wrote: On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: Hi folks, This series implements the functionality of delivering IO page faults to user space through the IOMMUFD framework for nested translation. Nested translation is a hardware feature that sup

Re: [PATCH v11 5/5] ring-buffer/selftest: Add ring-buffer mapping test

2024-01-14 Thread Google
Hi Vincent, On Sat, 13 Jan 2024 22:39:46 +0900 Masami Hiramatsu (Google) wrote: > On Thu, 11 Jan 2024 16:17:12 + > Vincent Donnefort wrote: > > > This test maps a ring-buffer and validate the meta-page after reset and > > after emitting few events. > > > > Cc: Shuah Khan > > Cc: Shuah Kh

Re: [PATCH v11 5/5] ring-buffer/selftest: Add ring-buffer mapping test

2024-01-14 Thread Steven Rostedt
On Sun, 14 Jan 2024 23:17:11 +0900 Masami Hiramatsu (Google) wrote: > > > > Looks good to me and tested. > > > > Reviewed-by: Masami Hiramatsu (Google) > > Tested-by: Masami Hiramatsu (Google) > > Sorry, I should cancel these. I found this test did not pass if I set > the function tracer on

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2024-01-14 Thread Joel Granados
On Sun, Jan 14, 2024 at 09:13:19PM +0800, Baolu Lu wrote: > On 2024/1/13 5:56, Joel Granados wrote: > > On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: > >> Hi folks, > >> > >> This series implements the functionality of delivering IO page faults to > >> user space through the IOMMUFD fra

[PATCH net] selftests: netdevsim: sprinkle more udevadm settle

2024-01-14 Thread Jakub Kicinski
Number of tests are failing when netdev renaming is active on the system. Add udevadm settle in logic determining the names. Fixes: 242aaf03dc9b ("selftests: add a test for ethtool pause stats") Signed-off-by: Jakub Kicinski --- CC: sh...@kernel.org CC: sae...@nvidia.com CC: linux-kselftest@vger.

[PATCH net] selftests: netdevsim: correct expected FEC strings

2024-01-14 Thread Jakub Kicinski
ethtool CLI has changed its output. Make the test compatible. Signed-off-by: Jakub Kicinski --- CC: sh...@kernel.org CC: linux-kselftest@vger.kernel.org --- .../drivers/net/netdevsim/ethtool-fec.sh | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/tool

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2024-01-14 Thread Baolu Lu
On 1/15/24 1:18 AM, Joel Granados wrote: On Sun, Jan 14, 2024 at 09:13:19PM +0800, Baolu Lu wrote: On 2024/1/13 5:56, Joel Granados wrote: On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: Hi folks, This series implements the functionality of delivering IO page faults to user space th

Re: [PATCH v3] selftests/landlock:Fix two build issues

2024-01-14 Thread kernel test robot
Hi Hu, kernel test robot noticed the following build errors: [auto build test ERROR on shuah-kselftest/next] [also build test ERROR on shuah-kselftest/fixes linus/master v6.7 next-20240112] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we sugge

Re: [PATCH v2 5/7] selftests/mm: hugetlb-read-hwpoison: conform test to TAP format output

2024-01-14 Thread Muhammad Usama Anjum
On 1/13/24 6:08 AM, Jiaqi Yan wrote: > On Thu, Jan 11, 2024 at 11:21 PM 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 >> ---

Re: [PATCH v2 5/7] selftests/mm: hugetlb-read-hwpoison: conform test to TAP format output

2024-01-14 Thread Jiaqi Yan
On Sun, Jan 14, 2024 at 10:32 PM Muhammad Usama Anjum wrote: > > On 1/13/24 6:08 AM, Jiaqi Yan wrote: > > On Thu, Jan 11, 2024 at 11:21 PM Muhammad Usama Anjum > > wrote: > >> > >> Conform the layout, informational and status messages to TAP. No > >> functional change is intended other than the l

Re: [PATCH v2 5/7] selftests/mm: hugetlb-read-hwpoison: conform test to TAP format output

2024-01-14 Thread Muhammad Usama Anjum
On 1/15/24 11:52 AM, Jiaqi Yan wrote: > On Sun, Jan 14, 2024 at 10:32 PM Muhammad Usama Anjum > wrote: >> >> On 1/13/24 6:08 AM, Jiaqi Yan wrote: >>> On Thu, Jan 11, 2024 at 11:21 PM Muhammad Usama Anjum >>> wrote: Conform the layout, informational and status messages to TAP. No fu

[PATCH v3 1/7] selftests/mm: hugepage-shm: conform test to TAP format output

2024-01-14 Thread Muhammad Usama Anjum
Conform the layout, informational and status messages to TAP. No functional change is intended other than the layout of output messages. The "." was being printed inside for loop to indicate the writes progress. This was extraneous and hence removed in the patch. Signed-off-by: Muhammad Usama Anj

[PATCH v3 2/7] selftests/mm: hugepage-vmemmap: conform test to TAP format output

2024-01-14 Thread Muhammad Usama Anjum
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 --- tools/testing/selftests/mm/hugepage-vmemmap.c | 36 +-- 1 file changed, 17 insertions(+), 19 deletions(

[PATCH v3 3/7] selftests/mm: hugetlb-madvise: conform test to TAP format output

2024-01-14 Thread Muhammad Usama Anjum
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 --- tools/testing/selftests/mm/hugetlb-madvise.c | 209 +++ 1 file changed, 81 insertions(+), 128 deletions

[PATCH v3 4/7] selftests/mm: khugepaged: conform test to TAP format output

2024-01-14 Thread Muhammad Usama Anjum
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 --- Changes since v1: - Remove commented out lines of code --- tools/testing/selftests/mm/khugepaged.c | 381 ++

[PATCH v3 5/7] selftests/mm: hugetlb-read-hwpoison: conform test to TAP format output

2024-01-14 Thread Muhammad Usama Anjum
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 --- Changes in v3: - Use ksft_perror as short hand instead of missing strerror(errno) at one place Tested this by reverti

[PATCH v3 6/7] selftests/mm: ksm_tests: conform test to TAP format output

2024-01-14 Thread Muhammad Usama Anjum
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 --- tools/testing/selftests/mm/ksm_tests.c | 682 ++--- 1 file changed, 276 insertions(+), 406 deletion

[PATCH v3 7/7] selftests/mm: config: add missing configs

2024-01-14 Thread Muhammad Usama Anjum
Add configurations which are needed for - hugetlb-read-hwpoison - ksm_functional_test and ksm_test Signed-off-by: Muhammad Usama Anjum --- tools/testing/selftests/mm/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/testing/selftests/mm/config b/tools/testing/selftests/mm/conf