Re: [RFC 1/3] mm: implement cleancache

2025-03-20 Thread Christoph Hellwig
On Thu, Mar 20, 2025 at 10:39:29AM -0700, Suren Baghdasaryan wrote: > Cleancache can be thought of as a page-granularity victim cache for clean Please implement your semantics directly instea of with a single user abstraction. If we ever need an abstraction we can add it once we have multiple con

Re: [PATCH v2 41/57] irqdomain: ppc: Switch to irq_find_mapping()

2025-03-20 Thread Christophe Leroy
Le 19/03/2025 à 10:29, Jiri Slaby (SUSE) a écrit : irq_linear_revmap() is deprecated, so remove all its uses and supersede them by an identical call to irq_find_mapping(). Signed-off-by: Jiri Slaby (SUSE) Cc: Madhavan Srinivasan Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Christophe Lero

Re: [PATCH] vfio: pci: Advertise INTx only if LINE is connected

2025-03-20 Thread Shivaprasad G Bhat
On 3/18/25 11:28 PM, Alex Williamson wrote: On Tue, 18 Mar 2025 17:29:21 + Shivaprasad G Bhat wrote: On POWER systems, when the device is behind the io expander, not all PCI slots would have the PCI_INTERRUPT_LINE connected. The firmware assigns a valid PCI_INTERRUPT_PIN though. In such co

[RFC 3/3] mm: integrate GCMA with CMA using dt-bindings

2025-03-20 Thread Suren Baghdasaryan
This patch introduces a new "guarantee" property for shared-dma-pool. With this property, admin can create specific memory pool as GCMA-based CMA if they care about allocation success rate and latency. The downside of GCMA is that it can host only clean file-backed pages since it's using cleancache

[RFC 1/3] mm: implement cleancache

2025-03-20 Thread Suren Baghdasaryan
Cleancache can be thought of as a page-granularity victim cache for clean pages that the kernel's pageframe replacement algorithm (PFRA) would like to keep around, but can't since there isn't enough memory. So when the PFRA "evicts" a page, it first attempts to use cleancache code to put the data

[RFC 0/3] Guaranteed CMA

2025-03-20 Thread Suren Baghdasaryan
This RFC is posted to collect feedback and to be used as a reference implementation for the upcoming LSF/MM discussion. The code is not of production quality and needs more testing. Guaranteed CMA (GCMA) is designed to improve utilization of reserved memory carveouts without compromising their adv

[PATCH v2 3/3] MAINTAINERS: add the linuppc-dev list to the fsl-mc bus entry

2025-03-20 Thread Ioana Ciornei
As discussed in the thread linked below, the fsl-mc bus lacked a clear maintenance path. Since Christophe accepted to take the fsl-mc bus patches through his soc fsl subtree, add the linuxppc-dev mailing list in the MAINTAINERS entry. Link: https://lore.kernel.org/r/1d822960-85a7-42b3-88cf-9d3dbc7

[PATCH v2 2/3] MAINTAINERS: fix nonexistent dtbinding file name

2025-03-20 Thread Ioana Ciornei
The blamed commit converted the fsl,qoriq-mc.txt into fsl,qoriq-mc.yaml but forgot to also update the MAINTAINERS file to reference the new filename. Fix this by using the corrent filename - fsl,qoriq-mc.yaml. Fixes: bfb921b2a9d5 ("dt-bindings: misc: fsl,qoriq-mc: convert to yaml format") Signed-

Re: [PATCH RFC v2 04/29] mm: asi: Add infrastructure for boot-time enablement

2025-03-20 Thread Brendan Jackman
On Wed Mar 19, 2025 at 6:47 PM UTC, Yosry Ahmed wrote: > On Wed, Mar 19, 2025 at 06:29:35PM +0100, Borislav Petkov wrote: > > On Fri, Jan 10, 2025 at 06:40:30PM +, Brendan Jackman wrote: > > > Add a boot time parameter to control the newly added X86_FEATURE_ASI. > > > "asi=on" or "asi=off" can