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

2024-10-24 Thread Dan Williams
Alistair Popple wrote: [..] > > > > Was there a discussion I missed about why the conversion to typical > > folios allows the page->share accounting to be dropped. > > The problem with keeping it is we now treat DAX pages as "normal" > pages according to vm_normal_page(). As such we use the normal

Re: [PATCH v6 6/6] arm64: Use SYSTEM_OFF2 PSCI call to power off for hibernate

2024-10-24 Thread Oliver Upton
On Thu, Oct 24, 2024 at 05:56:09PM +0200, David Woodhouse wrote: > On 24 October 2024 17:44:49 CEST, Oliver Upton wrote: > >IIUC, you're really wanting to 0x0 because there are hypervisors out > >there that violate the final spec and *only* accept this value. > > > >That's perfectly fine, but it'd

Re: [PATCH v6 6/6] arm64: Use SYSTEM_OFF2 PSCI call to power off for hibernate

2024-10-24 Thread David Woodhouse
On 24 October 2024 21:57:38 CEST, Oliver Upton wrote: >On Thu, Oct 24, 2024 at 05:56:09PM +0200, David Woodhouse wrote: >> On 24 October 2024 17:44:49 CEST, Oliver Upton >> wrote: >> >IIUC, you're really wanting to 0x0 because there are hypervisors out >> >there that violate the final spec and *

Re: [PATCH net] Documentation: ieee802154: fix grammar

2024-10-24 Thread Bagas Sanjaya
On Tue, Oct 22, 2024 at 09:12:01PM -0700, Leo Stone wrote: > diff --git a/Documentation/networking/ieee802154.rst > b/Documentation/networking/ieee802154.rst > index c652d383fe10..743c0a80e309 100644 > --- a/Documentation/networking/ieee802154.rst > +++ b/Documentation/networking/ieee802154.rst >

Re: [PATCH v6 6/6] arm64: Use SYSTEM_OFF2 PSCI call to power off for hibernate

2024-10-24 Thread Oliver Upton
Hi, On Thu, Oct 24, 2024 at 03:48:26PM +0200, David Woodhouse wrote: > On 24 October 2024 14:54:41 CEST, Miguel Luis wrote: > >Perhaps spec. F.b. could be accommodated by first invoking SYSTEM_OFF2 with > >PSCI_1_3_OFF_TYPE_HIBERNATE_OFF and checking its return value in case of a > >fallback to a

Re: [PATCH v6 6/6] arm64: Use SYSTEM_OFF2 PSCI call to power off for hibernate

2024-10-24 Thread David Woodhouse
On 24 October 2024 17:44:49 CEST, Oliver Upton wrote: >Hi, > >On Thu, Oct 24, 2024 at 03:48:26PM +0200, David Woodhouse wrote: >> On 24 October 2024 14:54:41 CEST, Miguel Luis wrote: >> >Perhaps spec. F.b. could be accommodated by first invoking SYSTEM_OFF2 with >> >PSCI_1_3_OFF_TYPE_HIBERNATE_OF

Re: [PATCH v6 6/6] arm64: Use SYSTEM_OFF2 PSCI call to power off for hibernate

2024-10-24 Thread Miguel Luis
Hi David, > On 19 Oct 2024, at 17:15, David Woodhouse wrote: > > From: David Woodhouse > > The PSCI v1.3 specification adds support for a SYSTEM_OFF2 function > which is analogous to ACPI S4 state. This will allow hosting > environments to determine that a guest is hibernated rather than just

Re: [PATCH net] Documentation: ieee802154: fix grammar

2024-10-24 Thread Simon Horman
On Tue, Oct 22, 2024 at 09:12:01PM -0700, Leo Stone wrote: > Fix grammar where it improves readability. > > Signed-off-by: Leo Stone Reviewed-by: Simon Horman

Re: [PATCH v5 00/10] riscv: Userspace pointer masking and tagged address ABI

2024-10-24 Thread patchwork-bot+linux-riscv
Hello: This series was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Wed, 16 Oct 2024 13:27:41 -0700 you wrote: > RISC-V defines three extensions for pointer masking[1]: > - Smmpm: configured in M-mode, affects M-mode > - Smnpm: configured in M-mode, affects the next lower mode (

Re: [PATCH v6 6/6] arm64: Use SYSTEM_OFF2 PSCI call to power off for hibernate

2024-10-24 Thread David Woodhouse
On 24 October 2024 14:54:41 CEST, Miguel Luis wrote: >Perhaps spec. F.b. could be accommodated by first invoking SYSTEM_OFF2 with >PSCI_1_3_OFF_TYPE_HIBERNATE_OFF and checking its return value in case of a >fallback to an invocation with 0x0 ? I wasn't aware there was any point. Are there any hyp

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

2024-10-24 Thread Dan Williams
Alistair Popple wrote: [..] >> I'm not really following this scenario, or at least how it relates to > >> the comment above. If the page is pinned for DMA it will have taken a > >> refcount on it and so the page won't be considered free/idle per > >> dax_wait_page_idle() or any of the other mm code

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

2024-10-24 Thread Alistair Popple
Dan Williams writes: > Alistair Popple wrote: > [..] >> > >> > Was there a discussion I missed about why the conversion to typical >> > folios allows the page->share accounting to be dropped. >> >> The problem with keeping it is we now treat DAX pages as "normal" >> pages according to vm_norma

Re: [PATCH v4 6/6] alloc_tag: support for page allocation tag compression

2024-10-24 Thread Suren Baghdasaryan
On Wed, Oct 23, 2024 at 11:30 AM Pasha Tatashin wrote: > > On Wed, Oct 23, 2024 at 1:08 PM Suren Baghdasaryan wrote: > > > > Implement support for storing page allocation tag references directly > > in the page flags instead of page extensions. sysctl.vm.mem_profiling > > boot parameter it extend