RE: [PATCH iwl-next,v2 2/2] igc: Add Tx hardware timestamp request for AF_XDP zero-copy packet

2024-03-02 Thread Song, Yoong Siang
On Sunday, March 3, 2024 9:59 AM, John Fastabend wrote: >Song, Yoong Siang wrote: >> On Saturday, March 2, 2024 1:55 AM, John Fastabend >> wrote: >> >Song Yoong Siang wrote: >> >> This patch adds support to per-packet Tx hardware timestamp request to >> >> AF_XDP zero-copy packet via XDP Tx met

RE: [PATCH iwl-next,v2 2/2] igc: Add Tx hardware timestamp request for AF_XDP zero-copy packet

2024-03-02 Thread John Fastabend
Song, Yoong Siang wrote: > On Saturday, March 2, 2024 1:55 AM, John Fastabend > wrote: > >Song Yoong Siang wrote: > >> This patch adds support to per-packet Tx hardware timestamp request to > >> AF_XDP zero-copy packet via XDP Tx metadata framework. Please note that > >> user needs to enable Tx H

Re: [PATCH 1/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing

2024-03-02 Thread Randy Dunlap
On 3/2/24 14:10, Guenter Roeck wrote: > On Thu, Feb 29, 2024 at 12:21 PM Linus Torvalds > wrote: >> >> On Thu, 29 Feb 2024 at 01:23, Nikolai Kondrashov wrote: >>> >>> However, I think a better approach would be *not* to add the .gitlab-ci.yaml >>> file in the root of the source tree, but inste

Re: [PATCH 1/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing

2024-03-02 Thread Guenter Roeck
On Thu, Feb 29, 2024 at 12:21 PM Linus Torvalds wrote: > > On Thu, 29 Feb 2024 at 01:23, Nikolai Kondrashov wrote: > > > > However, I think a better approach would be *not* to add the .gitlab-ci.yaml > > file in the root of the source tree, but instead change the very same repo > > setting to poi

Re: [PATCH 0/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing

2024-03-02 Thread Gustavo Padovan
On Friday, March 01, 2024 18:56 -03, Guillaume Tucker wrote: > On 29/02/2024 17:28, Nicolas Dufresne wrote: > > Hi, > > > > Le jeudi 29 février 2024 à 16:16 +0200, Nikolai Kondrashov a écrit : > >> On 2/29/24 2:20 PM, Guillaume Tucker wrote: > >>> Hello, > >>> > >>> On 28/02/2024 23:55, Helen K

Re: [musl] Re: [PATCH v8 00/38] arm64/gcs: Provide support for GCS in userspace

2024-03-02 Thread H.J. Lu
On Sat, Mar 2, 2024 at 6:57 AM Szabolcs Nagy wrote: > > * Mark Brown [2024-02-21 17:36:12 +]: > > > On Wed, Feb 21, 2024 at 09:58:01AM -0500, dal...@libc.org wrote: > > > On Wed, Feb 21, 2024 at 01:53:10PM +, Mark Brown wrote: > > > > On Tue, Feb 20, 2024 at 08:27:37PM -0500, dal...@libc.

Re: [musl] Re: [PATCH v8 00/38] arm64/gcs: Provide support for GCS in userspace

2024-03-02 Thread Szabolcs Nagy
* Mark Brown [2024-02-21 17:36:12 +]: > On Wed, Feb 21, 2024 at 09:58:01AM -0500, dal...@libc.org wrote: > > On Wed, Feb 21, 2024 at 01:53:10PM +, Mark Brown wrote: > > > On Tue, Feb 20, 2024 at 08:27:37PM -0500, dal...@libc.org wrote: > > > > On Wed, Feb 21, 2024 at 12:35:48AM +, Edg

Re: [PATCH v4 15/15] KVM: riscv: selftests: Add a test for counter overflow

2024-03-02 Thread Andrew Jones
On Wed, Feb 28, 2024 at 05:01:30PM -0800, Atish Patra wrote: > Add a test for verifying overflow interrupt. Currently, it relies on > overflow support on cycle/instret events. This test works for cycle/ > instret events which support sampling via hpmcounters on the platform. > There are no ISA exte

Re: [PATCH v4 14/15] KVM: riscv: selftests: Add a test for PMU snapshot functionality

2024-03-02 Thread Andrew Jones
On Wed, Feb 28, 2024 at 05:01:29PM -0800, Atish Patra wrote: > Verify PMU snapshot functionality by setting up the shared memory > correctly and reading the counter values from the shared memory > instead of the CSR. > > Signed-off-by: Atish Patra > --- > .../selftests/kvm/include/riscv/processo

Re: [PATCH v4 13/15] KVM: riscv: selftests: Add SBI PMU selftest

2024-03-02 Thread Andrew Jones
On Wed, Feb 28, 2024 at 05:01:28PM -0800, Atish Patra wrote: > This test implements basic sanity test and cycle/instret event > counting tests. > > Signed-off-by: Atish Patra > --- > tools/testing/selftests/kvm/Makefile| 1 + > tools/testing/selftests/kvm/riscv/sbi_pmu.c | 340

Re: [PATCH v4 12/15] KVM: riscv: selftests: Add SBI PMU extension definitions

2024-03-02 Thread Andrew Jones
On Wed, Feb 28, 2024 at 05:01:27PM -0800, Atish Patra wrote: > The SBI PMU extension definition is required for upcoming SBI PMU > selftests. > > Signed-off-by: Atish Patra > --- > .../selftests/kvm/include/riscv/processor.h | 67 +++ > 1 file changed, 67 insertions(+) > > dif

Re: [PATCH v4 11/15] KVM: riscv: selftests: Add Sscofpmf to get-reg-list test

2024-03-02 Thread Andrew Jones
On Wed, Feb 28, 2024 at 05:01:26PM -0800, Atish Patra wrote: > The KVM RISC-V allows Sscofpmf extension for Guest/VM so let us > add this extension to get-reg-list test. > > Signed-off-by: Atish Patra > --- > tools/testing/selftests/kvm/riscv/get-reg-list.c | 4 > 1 file changed, 4 insertio

Re: [PATCH v4 10/15] RISC-V: KVM: Support 64 bit firmware counters on RV32

2024-03-02 Thread Andrew Jones
On Wed, Feb 28, 2024 at 05:01:25PM -0800, Atish Patra wrote: > The SBI v2.0 introduced a fw_read_hi function to read 64 bit firmware > counters for RV32 based systems. > > Add infrastructure to support that. > > Reviewed-by: Anup Patel > Signed-off-by: Atish Patra > --- > arch/riscv/include/as

Re: [PATCH v4 09/15] RISC-V: KVM: Add perf sampling support for guests

2024-03-02 Thread Andrew Jones
On Wed, Feb 28, 2024 at 05:01:24PM -0800, Atish Patra wrote: > KVM enables perf for guest via counter virtualization. However, the > sampling can not be supported as there is no mechanism to enabled > trap/emulate scountovf in ISA yet. Rely on the SBI PMU snapshot > to provide the counter overflow

Re: [PATCH v4 08/15] RISC-V: KVM: Implement SBI PMU Snapshot feature

2024-03-02 Thread Andrew Jones
On Wed, Feb 28, 2024 at 05:01:23PM -0800, Atish Patra wrote: > PMU Snapshot function allows to minimize the number of traps when the > guest access configures/access the hpmcounters. If the snapshot feature > is enabled, the hypervisor updates the shared memory with counter > data and state of over

Re: [PATCH v4 07/15] RISC-V: KVM: No need to exit to the user space if perf event failed

2024-03-02 Thread Andrew Jones
On Wed, Feb 28, 2024 at 05:01:22PM -0800, Atish Patra wrote: > Currently, we return a linux error code if creating a perf event failed > in kvm. That shouldn't be necessary as guest can continue to operate > without perf profiling or profiling with firmware counters. > > Return appropriate SBI err