Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b026c4e authored by Len Brown's avatar Len Brown
Browse files

SFI: use ioremap_cache() instead of ioremap()



We copied ACPI's oversight of using ioremap() and creating
non-cached table mappings when we should have been using
ioremap_cache().

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 3c0eee3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ static void __iomem * __ref sfi_map_memory(u64 phys, u32 size)
		return NULL;

	if (sfi_use_ioremap)
		return ioremap(phys, size);
		return ioremap_cache(phys, size);
	else
		return early_ioremap(phys, size);
}