Re: [PATCH v3 3/6] vbus: add a "vbus-proxy" bus model

4 messages, 3 authors, 2009-08-18 · open the first message on its own page

Re: [PATCH v3 3/6] vbus: add a "vbus-proxy" bus model

From: Gregory Haskins <hidden>
Date: 2009-08-18 12:36:10

Yeah, I agree.  I am not advocating we expend energy on this now.  But my thoughts at the time were that that particular problem can be solved at io-setup time with some kind of call to qualify the address.

Iow: a slow path call with the address would return flags on whether iowrite() should do a real io, or a IOoHC.

-greg
 
-----Original Message-----
From: Avi Kivity <redacted>
To: Gregory Haskins <redacted>
Cc:  <redacted>
Cc:  <redacted>
Cc:  <redacted>
Cc:  <mst@redhat.com>
Cc:  <redacted>
Cc:  <redacted>
Cc:  <redacted>

Sent: 8/18/2009 6:29:08 AM
Subject: Re: [PATCH v3 3/6] vbus: add a "vbus-proxy" bus model	 for

On 08/18/2009 03:24 PM, Gregory Haskins wrote:
(Again on the top post)

No, Avi, nothing has changed to my knowledge.  I just saw that you and Michael were heading down the same path, so I thought I might interject that we've already covered that ground.

As of right now, I am of the opinion that its not worth any change in the short term, and may be worth IOoHC in the long term (primarily so that mmios get a boost)
   
The primary issue with IOoHC is that while hypercalls are faster than 
emulated mmio, they're much slower than assigned mmio.  So we have to 
distinguish between these two cases, which gets kinda icky.

-- 
error compiling committee.c: too many arguments to function

Re: [PATCH v3 3/6] vbus: add a "vbus-proxy" bus model

From: Avi Kivity <hidden>
Date: 2009-08-18 12:38:52

On 08/18/2009 03:36 PM, Gregory Haskins wrote:
Yeah, I agree.  I am not advocating we expend energy on this now.  But my thoughts at the time were that that particular problem can be solved at io-setup time with some kind of call to qualify the address.

Iow: a slow path call with the address would return flags on whether iowrite() should do a real io, or a IOoHC.
   
Yes, it could work, though we'd need somewhere to stow this 
information.  IIRC Arnd suggested a bit from the address itself.

-- 
error compiling committee.c: too many arguments to function

Re: [PATCH v3 3/6] vbus: add a "vbus-proxy" bus model

From: Gregory Haskins <hidden>
Date: 2009-08-18 13:19:39

Avi Kivity wrote:
On 08/18/2009 03:36 PM, Gregory Haskins wrote:
quoted
Yeah, I agree.  I am not advocating we expend energy on this now.  But
my thoughts at the time were that that particular problem can be
solved at io-setup time with some kind of call to qualify the address.

Iow: a slow path call with the address would return flags on whether
iowrite() should do a real io, or a IOoHC.
   
Yes, it could work, though we'd need somewhere to stow this
information.  IIRC Arnd suggested a bit from the address itself.
Yeah, exactly.  I think MMIO is particularly challenging because I don't
know if there are any bits left to use.  But like I said, its a problem
for another day IMO.

-Greg

Re: [PATCH v3 3/6] vbus: add a "vbus-proxy" bus model

From: Avi Kivity <hidden>
Date: 2009-08-18 13:48:07

On 08/18/2009 04:19 PM, Gregory Haskins wrote:
Yeah, exactly.  I think MMIO is particularly challenging because I don't
know if there are any bits left to use.  But like I said, its a problem
for another day IMO.
   
x86_64 only uses 48 bits out of the 64 bits in a virtual address, so 
there are several guaranteed-unused bits.

-- 
error compiling committee.c: too many arguments to function
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help