Re: [PATCH 09/12] mm: Update vm_normal_page() callers to accept FS DAX pages

2024-09-27 Thread Dan Williams
Alistair Popple wrote: > Currently if a PTE points to a FS DAX page vm_normal_page() will > return NULL as these have their own special refcounting scheme. A > future change will allow FS DAX pages to be refcounted the same as any > other normal page. > > Therefore vm_normal_page() will start retu

Re: [PATCH v2 07/25] KVM: VMX: Set intercept for FRED MSRs

2024-09-27 Thread Xin Li
When FRED is advertised to a guest, KVM should allow FRED SSP MSRs accesses through disabling FRED SSP MSRs interception no matter whether supervisor shadow stacks are enabled or not. KVM doesn't necessarily need to disabling MSR interception, e.g. if the expectation is that the guest will rare

Re: [PATCH v4 1/6] firmware/psci: Add definitions for PSCI v1.3 specification

2024-09-27 Thread David Woodhouse
On Fri, 2024-09-27 at 12:43 +, Miguel Luis wrote: > Hi David, > > > On 26 Sep 2024, at 16:30, David Woodhouse wrote: > > > > On Thu, 2024-09-26 at 09:56 +, Miguel Luis wrote: > > > > > > > +/* PSCI v1.3 hibernate type for SYSTEM_OFF2 */ > > > > +#define PSCI_1_3_HIBERNATE_TYPE_OFF 0 > >

Re: [PATCH 10/12] fs/dax: Properly refcount fs dax pages

2024-09-27 Thread Dan Williams
Alistair Popple wrote: > Currently fs dax pages are considered free when the refcount drops to > one and their refcounts are not increased when mapped via PTEs or > decreased when unmapped. This requires special logic in mm paths to > detect that these pages should not be properly refcounted, and t

Re: [PATCH v4 1/6] firmware/psci: Add definitions for PSCI v1.3 specification

2024-09-27 Thread David Woodhouse
On Fri, 2024-09-27 at 12:43 +, Miguel Luis wrote: > > The common factor being the bit offset in the bitmap for SYSTEM_OFF2 discovery > and argument to call SYSTEM_OFF2 as well. Would it be clearer something like: > > #define  PSCI_1_3_HIBERNATE_TYPE_OFF BIT(0) I've updated the tree at https:

Re: [PATCH RFC v4 0/9] tun: Introduce virtio-net hashing feature

2024-09-27 Thread Akihiko Odaki
On 2024/09/27 13:31, Jason Wang wrote: On Fri, Sep 27, 2024 at 10:11 AM Akihiko Odaki wrote: On 2024/09/25 12:30, Jason Wang wrote: On Tue, Sep 24, 2024 at 5:01 PM Akihiko Odaki wrote: virtio-net have two usage of hashes: one is RSS and another is hash reporting. Conventionally the hash ca

Re: [PATCH 11/12] mm: Remove pXX_devmap callers

2024-09-27 Thread Alexander Gordeev
On Tue, Sep 10, 2024 at 02:14:36PM +1000, Alistair Popple wrote: Hi Alistair, > diff --git a/arch/powerpc/mm/book3s64/pgtable.c > b/arch/powerpc/mm/book3s64/pgtable.c > index 5a4a753..4537a29 100644 > --- a/arch/powerpc/mm/book3s64/pgtable.c > +++ b/arch/powerpc/mm/book3s64/pgtable.c > @@ -193,7

Re: [PATCH v4 1/6] firmware/psci: Add definitions for PSCI v1.3 specification

2024-09-27 Thread Miguel Luis
Hi David, > On 26 Sep 2024, at 16:30, David Woodhouse wrote: > > On Thu, 2024-09-26 at 09:56 +, Miguel Luis wrote: >> >>> +/* PSCI v1.3 hibernate type for SYSTEM_OFF2 */ >>> +#define PSCI_1_3_HIBERNATE_TYPE_OFF 0 >> >> Should it be 1 as hibernate type? > > It is in discovery, as BIT(PSCI_