[PATCH v3 1/8] memregion: Drop unused IORES_DESC_* parameter from cpu_cache_invalidate_memregion()

dan.j.williams at intel.com dan.j.williams at intel.com
Mon Sep 8 13:45:26 PDT 2025


Jonathan Cameron wrote:
> The res_desc parameter was originally introduced for documentation purposes
> and with the idea that with HDM-DB CXL invalidation could be triggered from
> the device. That has not come to pass and the continued existence of the
> option is confusing when we add a range in the following patch which might
> not be a strict subset of the res_desc. So avoid that confusion by dropping
> the parameter.
> 
> Link: https://lore.kernel.org/linux-mm/686eedb25ed02_24471002e@dwillia2-xfh.jf.intel.com.notmuch/
> Suggested-by: Dan Williams <dan.j.williams at intel.com>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
> 
> ---
> V3: New patch.
>     As Dan calls out in the linked mail, an alternative might be to lookup
>     the ranges and enforce the descriptor but his expressed preference
>     was for dropping the parameter.

Reviewed-by: Dan Williams <dan.j.williams at intel.com>



More information about the linux-arm-kernel mailing list