mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 00/10] x86, PAT: PAT patchset
@ 2009-07-10 16:57 Venkatesh Pallipadi
  2009-07-10 16:57 ` [PATCH 01/10] x86, PAT: keep identity maps consistent with mmaps even when pat_disabled Venkatesh Pallipadi
  0 siblings, 1 reply; 11+ messages in thread
From: Venkatesh Pallipadi @ 2009-07-10 16:57 UTC (permalink / raw)
  To: Ingo Molnar, H. Peter Anvin, Thomas Gleixner
  Cc: linux-kernel, Dave Airlie, Jesse Barnes, Eric Anholt,
	Venkatesh Pallipadi, Suresh Siddha

Another PAT patchset. Apart from minor cleanups, there are 3
relatively big changes here.
* Adding memtype tracking to io_mapping_* APIs. Currently these APIs hardcoded
the type to WC.
* An rbtree added to keep track of PAT entries. This will avoid worst case
latency with PAT entry lookup.
* Tracking of RAM pages using 2 bits in page struct. This will give us the
ability to lookup the type of any physical address.

This patchset covers almost all the items in our PAT todo list, except for:
* Make PAT APIs to take try MTRR setup internally when pat is disabled.
* Need a set_pages_array_wc interface.

These patches are targeted for .32 and hoping to get some extended test
until the merge upstream. I have tested this with some of my test programs
and also with regressions tests in Eric's intel-gpu-tools here
http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/

Venkatesh Pallipadi (10):
  x86, PAT: keep identity maps consistent with mmaps even when
    pat_disabled
  x86, PAT: ioremap to follow same PAT restrictions as other PAT users
  x86, PAT: New i/f for driver to request memtype for IO regions
  x86, PAT: Add PAT reserve free to io_mapping* APIs
  x86, PAT: Add rbtree to do quick lookup in memtype tracking
  x86, PAT: Generalize the use of page flag PG_uncached
  x86, PAT: Use page flags to track memtypes of RAM pages
  x86, PAT: Add lookup_memtype to get the current memtype of a paddr
  x86, PAT: lookup the protection from memtype list on vm_insert_pfn()
  x86, PAT: Sanity check remap_pfn_range for RAM region

 arch/ia64/Kconfig                 |    4 +
 arch/x86/Kconfig                  |    4 +
 arch/x86/include/asm/cacheflush.h |   54 ++++++-
 arch/x86/include/asm/iomap.h      |    9 +-
 arch/x86/include/asm/pat.h        |    5 +
 arch/x86/mm/iomap_32.c            |   27 +++-
 arch/x86/mm/ioremap.c             |   17 +--
 arch/x86/mm/pat.c                 |  352 +++++++++++++++++++++++++++----------
 include/linux/io-mapping.h        |   17 ++-
 include/linux/page-flags.h        |    4 +-
 10 files changed, 376 insertions(+), 117 deletions(-)


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-07-10 17:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-10 16:57 [PATCH 00/10] x86, PAT: PAT patchset Venkatesh Pallipadi
2009-07-10 16:57 ` [PATCH 01/10] x86, PAT: keep identity maps consistent with mmaps even when pat_disabled Venkatesh Pallipadi
2009-07-10 16:57   ` [PATCH 02/10] x86, PAT: ioremap to follow same PAT restrictions as other PAT users Venkatesh Pallipadi
2009-07-10 16:57     ` [PATCH 03/10] x86, PAT: New i/f for driver to request memtype for IO regions Venkatesh Pallipadi
2009-07-10 16:57       ` [PATCH 04/10] x86, PAT: Add PAT reserve free to io_mapping* APIs Venkatesh Pallipadi
2009-07-10 16:57         ` [PATCH 05/10] x86, PAT: Add rbtree to do quick lookup in memtype tracking Venkatesh Pallipadi
2009-07-10 16:57           ` [PATCH 06/10] x86, PAT: Generalize the use of page flag PG_uncached Venkatesh Pallipadi
2009-07-10 16:57             ` [PATCH 07/10] x86, PAT: Use page flags to track memtypes of RAM pages Venkatesh Pallipadi
2009-07-10 16:57               ` [PATCH 08/10] x86, PAT: Add lookup_memtype to get the current memtype of a paddr Venkatesh Pallipadi
2009-07-10 16:57                 ` [PATCH 09/10] x86, PAT: lookup the protection from memtype list on vm_insert_pfn() Venkatesh Pallipadi
2009-07-10 16:57                   ` [PATCH 10/10] x86, PAT: Sanity check remap_pfn_range for RAM region Venkatesh Pallipadi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®