mbox series

[0/2] x86/pat: fix querying available caching modes

Message ID 20220503132207.17234-1-jgross@suse.com (mailing list archive)
Headers show
Series x86/pat: fix querying available caching modes | expand

Message

Jürgen Groß May 3, 2022, 1:22 p.m. UTC
Fix some issues with querying caching modes being available for memory
mappings.

This is a replacement for the patch of Jan sent recently:

https://lists.xen.org/archives/html/xen-devel/2022-04/msg02392.html

Juergen Gross (2):
  x86/pat: fix x86_has_pat_wp()
  x86/pat: add functions to query specific cache mode availability

 arch/x86/include/asm/memtype.h           |  2 ++
 arch/x86/include/asm/pci.h               |  2 +-
 arch/x86/mm/init.c                       | 24 ++++++++++++++++++++++--
 drivers/gpu/drm/i915/gem/i915_gem_mman.c |  8 ++++----
 4 files changed, 29 insertions(+), 7 deletions(-)