From patchwork Sat Apr 27 05:55:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Artyom Tarasenko X-Patchwork-Id: 240077 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 63B9D2C00E9 for ; Sat, 27 Apr 2013 15:55:54 +1000 (EST) Received: from localhost ([::1]:40592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVy6y-0003H6-NU for incoming@patchwork.ozlabs.org; Sat, 27 Apr 2013 01:55:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVy6U-0003Fu-EE for qemu-devel@nongnu.org; Sat, 27 Apr 2013 01:55:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVy6T-0008Ku-KJ for qemu-devel@nongnu.org; Sat, 27 Apr 2013 01:55:22 -0400 Received: from mail-bk0-x22c.google.com ([2a00:1450:4008:c01::22c]:65035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVy6T-0008Ki-Cw for qemu-devel@nongnu.org; Sat, 27 Apr 2013 01:55:21 -0400 Received: by mail-bk0-f44.google.com with SMTP id jk14so1917617bkc.17 for ; Fri, 26 Apr 2013 22:55:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:mime-version:content-type :content-transfer-encoding; bh=RAMZz/08Gy8JKNDZOOIp+GJRBvYd1q5xbQrrgdGPzuE=; b=sD22RVah0+SmUvCH2K6beuCuFgOxn+4bme2yIkzMemXtYZgH7D0Yi/Mybb31e/7IRw IQpAi01AeZAg/n+XwYHDWhwDWj5k2ceRUWz7csKRAERCQadbA6HKCSBIaOwWGy4MP61G TeakrdTQmVLMd2JdFjmeloLOW9j/8y3YbObh3QHdN1Bm2PV+xqz6A9izF9nrrF5t8so6 P4hEFTYXZAd0zRym+n3EJXKr+0GqS+AxGaEAVOEeRKvy/6nYNNVUER3MAe+V9xgc70+m AF24VpxKvCd89xIq+3mkW7OqF+oUf0AtxVSQt5f+w01+sQ4BaaikOKpnY+VR8SaTC1wu Qm3w== X-Received: by 10.205.22.196 with SMTP id qx4mr9998357bkb.57.1367042120448; Fri, 26 Apr 2013 22:55:20 -0700 (PDT) Received: from localhost (e181210163.adsl.alicedsl.de. [85.181.210.163]) by mx.google.com with ESMTPSA id tl1sm4038596bkb.7.2013.04.26.22.55.19 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 26 Apr 2013 22:55:19 -0700 (PDT) From: Artyom Tarasenko To: qemu-devel@nongnu.org Date: Sat, 27 Apr 2013 07:55:11 +0200 Message-Id: X-Mailer: git-send-email 1.7.1 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4008:c01::22c Cc: blauwirbel@gmail.com, Artyom Tarasenko Subject: [Qemu-devel] [PATCH 1/3] sparc64: allow 64 IRQ lines X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org According to UltraSPARC™-IIi User’s Manual, PBM has 64 IRQ lines. Signed-off-by: Artyom Tarasenko --- hw/pci-host/apb.c | 2 +- hw/sparc64/sun4u.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/pci-host/apb.c b/hw/pci-host/apb.c index b4981d7..3bc0d10 100644 --- a/hw/pci-host/apb.c +++ b/hw/pci-host/apb.c @@ -66,7 +66,7 @@ do { printf("APB: " fmt , ## __VA_ARGS__); } while (0) #define RESET_WCMASK 0x98000000 #define RESET_WMASK 0x60000000 -#define MAX_IVEC 0x30 +#define MAX_IVEC 0x40 typedef struct APBState { SysBusDevice busdev; diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c index 0d29620..5c2bbd4 100644 --- a/hw/sparc64/sun4u.c +++ b/hw/sparc64/sun4u.c @@ -81,7 +81,7 @@ #define FW_CFG_SPARC64_HEIGHT (FW_CFG_ARCH_LOCAL + 0x01) #define FW_CFG_SPARC64_DEPTH (FW_CFG_ARCH_LOCAL + 0x02) -#define IVEC_MAX 0x30 +#define IVEC_MAX 0x40 #define TICK_MAX 0x7fffffffffffffffULL