On Mon, Sep 14, 2026 at 12:31:33PM +0530, Aneesh Kumar K.V (Arm) wrote: > diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h > index be3962a33fc6..ef7a776ee508 100644 > --- a/include/linux/swiotlb.h > +++ b/include/linux/swiotlb.h > @@ -20,6 +20,8 @@ struct scatterlist; > #define SWIOTLB_INIT_ADDRESSING_LIMIT (1 << 2) > /* Initialize a default-sized pool that requires architecture remapping. */ > #define SWIOTLB_INIT_REMAP (1 << 3) > +/* Do not initialize a pool unless SWIOTLB is explicitly required. */ > +#define SWIOTLB_INIT_FORCE_DISABLE (1 << 4)
Nit: maybe better as SWIOTLB_INIT_DEFAULT_OFF. "Force" sounds too drastic and it can be overridden on the command line to re-enable. Reviewed-by: Catalin Marinas <[email protected]>
