linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/5] fix xfs by making I/O to vmap/vmalloc areas work
@ 2010-02-05 15:50 James Bottomley
  2010-02-05 15:50 ` [PATCHv3 1/5] mm: add coherence API for DMA to vmalloc/vmap areas James Bottomley
  2010-02-05 16:06 ` [PATCHv3 0/5] fix xfs by making I/O to vmap/vmalloc areas work Christoph Hellwig
  0 siblings, 2 replies; 12+ messages in thread
From: James Bottomley @ 2010-02-05 15:50 UTC (permalink / raw)
  To: linux-arch; +Cc: linux-parisc, rmk, lethal, torvalds, hch, James Bottomley

From: James Bottomley <James.Bottomley@HansenPartnership.com>

This is essentially a small tidy up from the previous series.  I
thought about the Ben H additions, but since power doesn't seem to
need this, they seemed a bit moot (we can expand the API when an
actual user comes along).

The patch series adds a flush/invalidate_kernel_vmap_range() API that
drivers using vmap/vmalloc areas must use before sending tohse areas
for I/O.  This makes it crystal clear that coherence on these areas is
the responsibility of the driver alone.  Fortunately xfs is the only
thing in the kernel actually doing I/O to vmap areas.

Sin ce xfs is completely broken on most VIPT architectures without
this, I'd like to submit it as a bug fix for 2.6.33.  Unfortunately,
we actually have some parisc xfs users whose data is curently at
severe risk.

James

---

James Bottomley (5):
  mm: add coherence API for DMA to vmalloc/vmap areas
  parisc: add mm API for DMA to vmalloc/vmap areas
  arm: add mm API for DMA to vmalloc/vmap areas
  sh: add mm API for DMA to vmalloc/vmap areas
  xfs: fix xfs to work with Virtually Indexed architectures

 Documentation/cachetlb.txt           |   24 ++++++++++++++++++++++++
 arch/arm/include/asm/cacheflush.h    |   10 ++++++++++
 arch/parisc/include/asm/cacheflush.h |   12 ++++++++++++
 arch/sh/include/asm/cacheflush.h     |    8 ++++++++
 fs/xfs/linux-2.6/xfs_buf.c           |   30 +++++++++++++++++++++++++++++-
 include/linux/highmem.h              |    6 ++++++
 6 files changed, 89 insertions(+), 1 deletions(-)

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

end of thread, other threads:[~2010-02-07  0:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05 15:50 [PATCHv3 0/5] fix xfs by making I/O to vmap/vmalloc areas work James Bottomley
2010-02-05 15:50 ` [PATCHv3 1/5] mm: add coherence API for DMA to vmalloc/vmap areas James Bottomley
2010-02-05 15:50   ` [PATCHv3 2/5] parisc: add mm " James Bottomley
2010-02-05 15:50     ` James Bottomley
2010-02-05 15:50     ` [PATCHv3 3/5] arm: " James Bottomley
2010-02-05 15:50       ` James Bottomley
2010-02-05 15:50       ` [PATCHv3 4/5] sh: " James Bottomley
2010-02-05 15:50         ` James Bottomley
2010-02-05 15:50         ` [PATCHv3 5/5] xfs: fix xfs to work with Virtually Indexed architectures James Bottomley
2010-02-05 16:06 ` [PATCHv3 0/5] fix xfs by making I/O to vmap/vmalloc areas work Christoph Hellwig
2010-02-07  0:26   ` Kyle McMartin
2010-02-07  0:26     ` Kyle McMartin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).