]> Gentwo Git Trees - linux/.git/commit
memregion: Drop unused IORES_DESC_* parameter from cpu_cache_invalidate_memregion()
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 Nov 2025 10:47:54 +0000 (10:47 +0000)
committerConor Dooley <conor.dooley@microchip.com>
Mon, 17 Nov 2025 23:45:45 +0000 (23:45 +0000)
commitf49ae86483c494ddc793d889f6df5ea68d138569
treed52c2f926bd707c2f0beb2991c19e8170670c087
parentd52341da4db0cd993d3549aa20cbdf063b412c3b
memregion: Drop unused IORES_DESC_* parameter from cpu_cache_invalidate_memregion()

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/
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/x86/mm/pat/set_memory.c
drivers/cxl/core/region.c
drivers/nvdimm/region.c
drivers/nvdimm/region_devs.c
include/linux/memregion.h