From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH] virtio: Define and use per-architecture "pfn shift" constants Date: Thu, 06 Nov 2008 07:59:00 -0600 Message-ID: <4912F824.7050609@codemonkey.ws> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: rusty@rustcorp.com.au, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, kvm-ia64@vger.kernel.org To: Hollis Blanchard Return-path: Received: from qw-out-2122.google.com ([74.125.92.24]:40974 "EHLO qw-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753806AbYKFN7F (ORCPT ); Thu, 6 Nov 2008 08:59:05 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Hollis Blanchard wrote: > # HG changeset patch > # User Hollis Blanchard > # Date 1225946980 21600 > # Node ID f58566dfe20e841604e1377ff41e9e0501c1cf18 > # Parent f776b102380286dd173a3b89f7dc976140812517 > virtio: Define and use per-architecture "pfn shift" constants > > Both sides of the virtio interface must agree about how big a pfn really is. > This is particularly an issue on architectures where the page size is > configurable (e.g. PowerPC, IA64) -- the interface must be independent of > PAGE_SHIFT. > > This patch should have no functional effect on x86 or ia64, but an ack from the IA64 guys > would be good because I'm not clear on their page size requirements. > > Signed-off-by: Hollis Blanchard > Acked-by: Anthony Liguori Regards, Anthony Liguori