|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: Where do we stand with the Xen patches?
To: |
Ian Campbell <ijc@xxxxxxxxxxxxxx> |
Subject: |
[Xen-devel] Re: Where do we stand with the Xen patches? |
From: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Date: |
Wed, 20 May 2009 10:06:13 -0700 |
Cc: |
xen-devel@xxxxxxxxxxxxxxxxxxx, Becky Bruce <beckyb@xxxxxxxxxxxxxxxxxxx>, okir@xxxxxxx, x86@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>, mingo@xxxxxxx, gregkh@xxxxxxx |
Delivery-date: |
Wed, 20 May 2009 10:06:51 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<1242748597.22654.44.camel@xxxxxxxxxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<20090518084052.GD10687@xxxxxxx> <20090519142626X.fujita.tomonori@xxxxxxxxxxxxx> <20090519130300.GB6238@xxxxxxx> <20090520002955R.fujita.tomonori@xxxxxxxxxxxxx> <1242748597.22654.44.camel@xxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090320) |
Ian Campbell wrote:
On Wed, 2009-05-20 at 00:30 +0900, FUJITA Tomonori wrote:
We need these hooks but as I wrote above, they are
architecture-specific and we should handle them with the architecture
abstraction (as we handle similar problems) however we can't due to
dom0 support.
I don't understand this. What exactly about the dom0 support patch
prevents future abstraction here?
The dom0 hooks would simply move into the per-arch abstractions as
appropriate, wouldn't they?
Fujita-san's suggestion to me was that swiotlb could just use the normal
(albeit deprecated) phys_to_bus()/bus_to_phys() interfaces rather than
defining its own. That would be perfectly OK for Xen; we have a single
global translation which is unaffected by the target device, etc.
But I'm not sure it would work for powerpc; Becky's patches which added
swiotlb_bus_to_phys/phys_bus made them take a device argument, because
(apparently) the bus/phys offset can differ on a per-device or per-bus
basis. The powerpc side of swiotlb doesn't seem to be in mainline yet,
so I'm not sure what the details are here (maybe it can be handled with
a single big runtime switch, if the offset is always constant on a given
machine).
(Hm, now that I look I see that they're defined as
virt_to_bus/bus_to_virt, which doesn't work for highmem at all; it would
need to be phys.)
But I may have misinterpreted what he meant.
J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Where do we stand with the Xen patches?, Jeremy Fitzhardinge
- [Xen-devel] Re: Where do we stand with the Xen patches?, Ingo Molnar
- [Xen-devel] Re: Where do we stand with the Xen patches?, FUJITA Tomonori
- [Xen-devel] Re: Where do we stand with the Xen patches?, Jeremy Fitzhardinge
- [Xen-devel] Re: Where do we stand with the Xen patches?, Ingo Molnar
- [Xen-devel] Re: Where do we stand with the Xen patches?, FUJITA Tomonori
- [Xen-devel] Re: Where do we stand with the Xen patches?, Ingo Molnar
- [Xen-devel] Re: Where do we stand with the Xen patches?, FUJITA Tomonori
- [Xen-devel] Re: Where do we stand with the Xen patches?, Ian Campbell
- [Xen-devel] Re: Where do we stand with the Xen patches?,
Jeremy Fitzhardinge <=
- [Xen-devel] Re: Where do we stand with the Xen patches?, FUJITA Tomonori
- [Xen-devel] Re: Where do we stand with the Xen patches?, Ian Campbell
- [Xen-devel] Re: Where do we stand with the Xen patches?, Ian Campbell
- [Xen-devel] Re: Where do we stand with the Xen patches?, FUJITA Tomonori
- Re: [Xen-devel] Re: Where do we stand with the Xen patches?, Ian Campbell
- Re: [Xen-devel] Re: Where do we stand with the Xen patches?, Ian Campbell
- Re: [Xen-devel] Re: Where do we stand with the Xen patches?, FUJITA Tomonori
- Re: [Xen-devel] Re: Where do we stand with the Xen patches?, Ian Campbell
- Message not available
- [Xen-devel] Re: swiotlb: remove __weak hooks in favour of architecture-specific functions, Ian Campbell
- Re: [Xen-devel] Re: Where do we stand with the Xen patches?, FUJITA Tomonori
|
|
|
|
|