x86: Add a debugfs interface to dump PAT memtype
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Fri, 18 Jul 2008 23:08:14 +0000 (16:08 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 19 Jul 2008 00:22:05 +0000 (17:22 -0700)
Add a debugfs interface to list out all the PAT memtype reservations.
Appears at debugfs x86/pat_memtype_list and output format is
type @ <start addr>-<end addr>

We do not hold the lock while printing the entire list. So, the list may not be
a consistent copy in case where regions are getting added or deleted
at the same time.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>

No differences found