All of lore.kernel.org
 help / color / mirror / Atom feed
* large page size virtio issues
@ 2008-11-04 22:14 Hollis Blanchard
  2008-11-05 12:16 ` Rusty Russell
  2008-11-05 14:06 ` Anthony Liguori
  0 siblings, 2 replies; 19+ messages in thread
From: Hollis Blanchard @ 2008-11-04 22:14 UTC (permalink / raw)
  To: kvm-ppc

Hi Rusty, I'm using a patch that changes the Linux base page size to
64K. (This is actually pretty common in ppc64 world, but I happen to be
trying it on ppc32.)

I'm seeing a problem with virtio. I think at least part of it can be
explained by qemu's TARGET_PAGE_BITS=12, and the guest's
PAGE_SHIFT=16. The guest allocates the queue, then passes the pfn (pa
>> PAGE_SHIFT) to the virtio backend (vp_find_vq()). The backend then
calculates the pa as pfn << TARGET_PAGE_BITS.

I have to run right now, but quickly changing qemu TARGET_PAGE_BITS to
16 got me a little further but still didn't work. Any thoughts?

Thanks!

-- 
Hollis Blanchard
IBM Linux Technology Center


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

end of thread, other threads:[~2008-11-05 20:29 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-04 22:14 large page size virtio issues Hollis Blanchard
2008-11-05 12:16 ` Rusty Russell
     [not found]   ` <200811052316.47127.rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
2008-11-05 19:50     ` Hollis Blanchard
2008-11-05 19:50       ` Hollis Blanchard
2008-11-05 20:08       ` Anthony Liguori
2008-11-05 20:08         ` Anthony Liguori
     [not found]         ` <4911FD32.9050301-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-11-05 20:29           ` Hollis Blanchard
2008-11-05 20:29             ` Hollis Blanchard
2008-11-05 14:06 ` Anthony Liguori
     [not found]   ` <4911A87A.4010209-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-11-05 16:32     ` Hollis Blanchard
2008-11-05 16:32       ` Hollis Blanchard
     [not found]       ` <1225902738.26835.51.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-11-05 17:25         ` Anthony Liguori
2008-11-05 17:25           ` Anthony Liguori
2008-11-05 17:31           ` Hollis Blanchard
2008-11-05 17:31             ` Hollis Blanchard
     [not found]             ` <1225906304.26835.75.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-11-05 17:33               ` Anthony Liguori
2008-11-05 17:33                 ` Anthony Liguori
2008-11-05 17:46                 ` Hollis Blanchard
2008-11-05 17:46                   ` Hollis Blanchard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.