public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Jeremy Fitzhardinge <jeremy@goop.org>, Tony Luck <tony.luck@intel.com>
Cc: linux-kernel@vger.kernel.org,
	Xen-devel <xen-devel@lists.xensource.com>,
	the arch/x86 maintainers <x86@kernel.org>,
	Ian Campbell <ian.campbell@citrix.com>,
	Becky Bruce <beckyb@kernel.crashing.org>,
	FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Subject: Re: [PATCH 0 of 9] swiotlb: use phys_addr_t for pages
Date: Sat, 27 Dec 2008 11:48:23 +0100	[thread overview]
Message-ID: <20081227104823.GI14639@elte.hu> (raw)
In-Reply-To: <patchbomb.1229970362@abulafia.goop.org>


* Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> Hi all,
> 
> Here's a work in progress series whcih does a partial revert of the 
> previous swiotlb changes, and does a partial replacement with Becky 
> Bruce's series.
> 
> The most important difference is Becky's use of phys_addr_t rather than 
> page+offset to represent arbitrary pages.  This turns out to be simpler.
> 
> I didn't replicate the map_single_page changes, since I'm not exactly 
> sure of ppc's requirements here, and it seemed like something that could 
> be easily added.
> 
> Quick testing showed no problems, but I haven't had the chance to do 
> anything extensive.
> 
> I've made some small changes to Becky's patches to make them apply, but 
> I've separated any functional changes into separate patches with 
> appropriate authorship.

looks good to me in principle. Fujita-san, do you have any principal 
objections against these generalizations?

Also, this patch will interact with ia64 materially:

  Subject: [PATCH 9 of 9] ia64/x86/swiotlb: use enum dma_data_direciton in dma_ops

So we'll need a bit more confidence in the testing status of this queue, 
and we probably want to wait until Tony merged the pending .29 ia64 
changes, and also get an Ack from Tony for these bits:

 arch/ia64/dig/dig_vtd_iommu.c       |    9 +++--
 arch/ia64/hp/common/hwsw_iommu.c    |   22 ++++++++------
 arch/ia64/hp/common/sba_iommu.c     |   12 ++++---
 arch/ia64/include/asm/dma-mapping.h |   29 +++++++++---------
 arch/ia64/include/asm/swiotlb.h     |   26 ++++++++++------
 arch/ia64/kernel/machvec.c          |    6 ++-
 arch/ia64/sn/kernel/io_common.c     |    3 +-
 arch/ia64/sn/pci/pci_dma.c          |   21 ++++++++-----
 arch/ia64/sn/pci/pcibr/pcibr_dma.c  |    3 +-
 arch/ia64/sn/pci/tioca_provider.c   |    3 +-

(Tony Cc:-ed)

	Ingo

  parent reply	other threads:[~2008-12-27 10:49 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-22 18:26 [PATCH 0 of 9] swiotlb: use phys_addr_t for pages Jeremy Fitzhardinge
2008-12-22 18:26 ` [PATCH 1 of 9] revert "swiotlb: support bouncing of HighMem pages." Jeremy Fitzhardinge
2008-12-22 18:26 ` [PATCH 2 of 9] revert "swiotlb: factor out copy to/from device." Jeremy Fitzhardinge
2008-12-22 18:26 ` [PATCH 3 of 9] swiotlb: add hwdev to swiotlb_phys_to_bus Jeremy Fitzhardinge
2008-12-22 18:26 ` [PATCH 4 of 9] swiotlb: Drop SG_ENT_VIRT_ADDRESS macro Jeremy Fitzhardinge
2008-12-22 18:26 ` [PATCH 5 of 9] swiotlb: Rename SG_ENT_PHYS_ADDRESS to SG_ENT_BUS_ADDRESS Jeremy Fitzhardinge
2008-12-22 18:26 ` [PATCH 6 of 9] swiotlb: Store phys address in io_tlb_orig_addr array Jeremy Fitzhardinge
2008-12-22 18:26 ` [PATCH 7 of 9] swiotlb: Add support for systems with highmem Jeremy Fitzhardinge
2008-12-22 18:26 ` [PATCH 8 of 9] swiotlb: cleanups to swiotlb_bounce() Jeremy Fitzhardinge
2008-12-22 18:26 ` [PATCH 9 of 9] ia64/x86/swiotlb: use enum dma_data_direciton in dma_ops Jeremy Fitzhardinge
2008-12-22 18:43 ` [PATCH 0 of 9] swiotlb: use phys_addr_t for pages FUJITA Tomonori
2008-12-27 10:48 ` Ingo Molnar [this message]
2008-12-27 15:06   ` FUJITA Tomonori
2008-12-28  5:01     ` Jeremy Fitzhardinge
2008-12-28  9:50       ` Ingo Molnar
2008-12-27 16:44   ` FUJITA Tomonori
2008-12-27 16:56     ` Ingo Molnar
2008-12-27 17:03       ` FUJITA Tomonori
2008-12-28  5:29         ` FUJITA Tomonori
2008-12-28  7:30           ` Christoph Hellwig
2008-12-28  9:36             ` FUJITA Tomonori
2008-12-28 21:37             ` Benjamin Herrenschmidt
2008-12-28  9:37           ` Ingo Molnar
2008-12-28 10:02             ` FUJITA Tomonori
2008-12-28 10:34               ` Ingo Molnar
2008-12-28 11:00                 ` FUJITA Tomonori
2008-12-28 11:56                   ` Ingo Molnar
2008-12-28 12:34                     ` FUJITA Tomonori
2008-12-28 12:49                       ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081227104823.GI14639@elte.hu \
    --to=mingo@elte.hu \
    --cc=beckyb@kernel.crashing.org \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=ian.campbell@citrix.com \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony.luck@intel.com \
    --cc=x86@kernel.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox