Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

cxl/region: Only warn about cpu_cache_invalidate_memregion() once

No need for more than once per module load.

Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20221215183836.24136-1-dave@stgolabs.net
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

authored by

Davidlohr Bueso and committed by
Dan Williams
e520d52d 589c3357

+1 -1
+1 -1
drivers/cxl/core/region.c
··· 1967 1967 1968 1968 if (!cpu_cache_has_invalidate_memregion()) { 1969 1969 if (IS_ENABLED(CONFIG_CXL_REGION_INVALIDATION_TEST)) { 1970 - dev_warn( 1970 + dev_warn_once( 1971 1971 &cxlr->dev, 1972 1972 "Bypassing cpu_cache_invalidate_memregion() for testing!\n"); 1973 1973 clear_bit(CXL_REGION_F_INCOHERENT, &cxlr->flags);