From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rzp3f-0002Rk-2Z for qemu-devel@nongnu.org; Tue, 21 Feb 2012 07:43:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rzp3a-0005VN-JK for qemu-devel@nongnu.org; Tue, 21 Feb 2012 07:43:03 -0500 Received: from mail-qw0-f45.google.com ([209.85.216.45]:52248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rzp3a-0005QR-HA for qemu-devel@nongnu.org; Tue, 21 Feb 2012 07:42:58 -0500 Received: by mail-qw0-f45.google.com with SMTP id g40so4142027qab.4 for ; Tue, 21 Feb 2012 04:42:58 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <877gzg7w5d.fsf@rustcorp.com.au> References: <1326487969-12462-1-git-send-email-peter.maydell@linaro.org> <1326487969-12462-3-git-send-email-peter.maydell@linaro.org> <877gzg7w5d.fsf@rustcorp.com.au> Date: Tue, 21 Feb 2012 12:42:58 +0000 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 2/2] arm: make sure that number of irqs can be represented in GICD_TYPER. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rusty Russell Cc: qemu-devel@nongnu.org, android-virt@lists.cs.columbia.edu, patches@linaro.org On 21 February 2012 02:33, Rusty Russell wrote: > We currently assume that the number of interrupts (ITLinesNumber in > the architecture reference manual) is divisible by 32, since we > present it to the guest when it reads GICD_TYPER (in gic_dist_readb()) > as (N / 32) - 1. > > Signed-off-by: Rusty Russell Reviewed-by: Peter Maydell and put into arm-devs.next. -- PMM