From patchwork Fri May 1 17:50:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 47913 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D57452121F for ; Fri, 1 May 2015 17:51:46 +0000 (UTC) Received: by wizk4 with SMTP id k4sf19429286wiz.2 for ; Fri, 01 May 2015 10:51:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=NKf2MGFwE89L2EBeh8SPWVVmoGhp7kIeixQ+D0QeIzM=; b=I3H35Vg1+VpSlPFwhVHNnD2rB0Gb69s4HyM0/sKP1NwkQPs6idJz2HLgNo3gTps5CX v7sNmu3EZ6297daPgCp1bf+sxopcLYWibUflIyIzSJmKtFXxqw8jqMYRh1WyxGw9zdwD IDb/YaiLMttJYINkt9LkurZFewzK42N9rpm1Gl2L/3fhPY1erRBz+SCf6kxUA+QWtior qAXpXGoTY0/svsN2ORlwSWY85gjaP0EIQxS1fAMZzJFrnO4LKyMqq+DQys5p6Xpm0tuG 5HUnMxYY7AUCoBS3iKTpWFdSIkYrgk6YdVW9Pa9X0i3esKLzOze07wWKhXCASqgkimzs kciw== X-Gm-Message-State: ALoCoQnkG6W0HkwXwZhZg2jbSWGC9dUkA3yQUBSPYJfEn7dOsSLeV5UNspyCDgHThrXEnScpdxh/ X-Received: by 10.180.97.9 with SMTP id dw9mr130275wib.2.1430502706021; Fri, 01 May 2015 10:51:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.115.211 with SMTP id jq19ls555095lab.69.gmail; Fri, 01 May 2015 10:51:45 -0700 (PDT) X-Received: by 10.112.147.201 with SMTP id tm9mr9195203lbb.40.1430502705865; Fri, 01 May 2015 10:51:45 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id c5si4390458lag.135.2015.05.01.10.51.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 May 2015 10:51:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lagv1 with SMTP id v1so68404179lag.3 for ; Fri, 01 May 2015 10:51:45 -0700 (PDT) X-Received: by 10.152.27.98 with SMTP id s2mr9159350lag.106.1430502705759; Fri, 01 May 2015 10:51:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.67.65 with SMTP id l1csp415445lbt; Fri, 1 May 2015 10:51:45 -0700 (PDT) X-Received: by 10.180.99.39 with SMTP id en7mr2066018wib.31.1430502705279; Fri, 01 May 2015 10:51:45 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id u19si10003656wjw.141.2015.05.01.10.51.45 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 01 May 2015 10:51:45 -0700 (PDT) Received-SPF: none (google.com: pm215@archaic.org.uk does not designate permitted sender hosts) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1YoF5I-0006lS-Bf; Fri, 01 May 2015 18:50:44 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Greg Bellows , "Edgar E. Iglesias" Subject: [PATCH v4 17/17] hw/arm/highbank.c: Wire FIQ between CPU <> GIC Date: Fri, 1 May 2015 18:50:43 +0100 Message-Id: <1430502643-25909-18-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1430502643-25909-1-git-send-email-peter.maydell@linaro.org> References: <1430502643-25909-1-git-send-email-peter.maydell@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Connect FIQ output of the GIC CPU interfaces to the CPUs. Signed-off-by: Peter Maydell --- hw/arm/highbank.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/arm/highbank.c b/hw/arm/highbank.c index b2d048b..f8353a7 100644 --- a/hw/arm/highbank.c +++ b/hw/arm/highbank.c @@ -217,6 +217,7 @@ static void calxeda_init(MachineState *machine, enum cxmachines machine_id) qemu_irq pic[128]; int n; qemu_irq cpu_irq[4]; + qemu_irq cpu_fiq[4]; MemoryRegion *sysram; MemoryRegion *dram; MemoryRegion *sysmem; @@ -269,6 +270,7 @@ static void calxeda_init(MachineState *machine, enum cxmachines machine_id) exit(1); } cpu_irq[n] = qdev_get_gpio_in(DEVICE(cpu), ARM_CPU_IRQ); + cpu_fiq[n] = qdev_get_gpio_in(DEVICE(cpu), ARM_CPU_FIQ); } sysmem = get_system_memory(); @@ -313,6 +315,7 @@ static void calxeda_init(MachineState *machine, enum cxmachines machine_id) sysbus_mmio_map(busdev, 0, MPCORE_PERIPHBASE); for (n = 0; n < smp_cpus; n++) { sysbus_connect_irq(busdev, n, cpu_irq[n]); + sysbus_connect_irq(busdev, n + smp_cpus, cpu_fiq[n]); } for (n = 0; n < 128; n++) {