Re: [PATCH v7 34/39] kselftest/arm64: Add a GCS test program built with the system libc

2023-12-16 Thread Thiago Jung Bauermann
Mark Brown writes: >> Also, it's strange that the tests defined after map_gcs.stack_overflow >> don't run when I execute this test program. I'm doing: > >> $ ./run_kselftest.sh -t arm64:libc-gcs > >> I.e., these tests aren't being run in my FVP: > >> > +FIXTURE_VARIANT_ADD(map_invalid_gcs,

Re: [PATCH v7 36/39] selftests/arm64: Add GCS signal tests

2023-12-16 Thread Thiago Jung Bauermann
Mark Brown writes: > diff --git > a/tools/testing/selftests/arm64/signal/testcases/gcs_exception_fault.c > b/tools/testing/selftests/arm64/signal/testcases/gcs_exception_fault.c > new file mode 100644 > index ..532d533592a1 > --- /dev/null > +++

Re: [PATCH bpf-next 2/3] bpf: selftests: Add bpf_assert_if() and bpf_assert_with_if() macros

2023-12-16 Thread Alexei Starovoitov
On Thu, Dec 14, 2023 at 7:10 PM Alexei Starovoitov wrote: > > Just realized that we can go the other way instead. > > We can get rid of bpf_assert_eq/ne/... and replace with: > > diff --git a/tools/testing/selftests/bpf/bpf_experimental.h > b/tools/testing/selftests/bpf/bpf_experimental.h > index

Re: [PATCH v7 1/3] iommufd: Add data structure for Intel VT-d stage-1 cache invalidation

2023-12-16 Thread Nicolin Chen
On Fri, Dec 15, 2023 at 12:01:19PM +0800, Yi Liu wrote: > On 2023/12/15 11:32, Nicolin Chen wrote: > > On Fri, Dec 15, 2023 at 03:04:44AM +, Tian, Kevin wrote: > > > > From: Nicolin Chen > > > > Sent: Friday, December 15, 2023 10:28 AM > > > > On Fri, Dec 15, 2023 at 01:50:07AM +, Tian,

Re: Should I add BPF kfuncs for userspace apps? And how?

2023-12-16 Thread Akihiko Odaki
On 2023/12/16 1:36, Stephen Hemminger wrote: On Fri, 15 Dec 2023 14:49:56 +0900 Akihiko Odaki wrote: It is exactly what BPF_PROG_TYPE_SOCKET_FILTER does, but it lacks a mechanism to report hash values so I need to extend it or invent a new method. Extending BPF_PROG_TYPE_SOCKET_FILTER is not