From patchwork Mon Oct 29 04:57:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 149630 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3657328ljp; Sun, 28 Oct 2018 21:57:20 -0700 (PDT) X-Google-Smtp-Source: AJdET5dg9ayBfNu1S0WznCkLKGJomEDG7k1DtvA3vf8Np+IOGt7W1msb0Z8jA8wg67oK/VHAf5qh X-Received: by 2002:a17:902:6ac7:: with SMTP id i7-v6mr13080632plt.268.1540789040648; Sun, 28 Oct 2018 21:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540789040; cv=none; d=google.com; s=arc-20160816; b=U3Qf1du/ysbPqpIyXMQiDmbULjaSxeiaPDGa3o6cMkhVbL1ViIoUXJxsqlaVuY7IP9 KkwsCTXXHCv+8uc/3Ys9YqF6tfe2arWrOFWDQpmYM+VV3FrnTmommoUHw+xxjBsby0K1 6+B65eGYmsHPLAlrMt+6oXB/trWHy0Kat4xixcq9fUVFaPiQYelz0cLEu9is5qeCEKod pEVSmYhdyKh56+BOBze8cDQYOwjJXuAbzrE5p1rwjX0/0Ie/xH1zdBiaV8HKjrveEGO6 mYCYYiT8bknKAY3yiT3sD7fq9QFN8WPdNBLQRLU+PemheK0b1ndFlNS7IFzS6eJXMKpT 00ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=k+qdxYkKxnNnggX8/r0HO6WGu3ObxRvTi2yHb12rP8k=; b=oIrxBEJkwagq6zW5FztT0OL93L9qvHG+3jQ48wwveCFWyRjqgwg072m3D15CylFGNS LfTiYQl64rU28A+rKdmikJY5V8UTOM96VWjN7GLvYRoI6ppFlUZl8SldYnKFfNk8Yn2b P9X0hq5rju6D0iMJvUgz8IKtLRPlV6zPhmX1SY04NN/xnrw1zW3HsVgJS5lGZYDT9HRV Oe2agtan7o//pvH04xeAWOmh9mpohHWycRcvzweXWTolJLjU9utcf1ECbj/a6i9GZ6EJ TozHpa9142S1fk5/jln84jvxx7vMn/LsB2K6giv20gR4Odr9sQmpcSa+taYRsMUBMYIl juDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DhsWFW4f; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id p15-v6si20080654pgr.336.2018.10.28.21.57.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 21:57:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DhsWFW4f; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 24CC821184AD1; Sun, 28 Oct 2018 21:57:20 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::444; helo=mail-pf1-x444.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B18ED2117CE98 for ; Sun, 28 Oct 2018 21:57:18 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id c25-v6so3387575pfe.6 for ; Sun, 28 Oct 2018 21:57:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iu2NA7uMpSMZgzwQfxkKQ/+DQ5Y6tdymCZT1FqqjEFU=; b=DhsWFW4fioNVXc9wKdi36qbTuqcOJhpk+kRFxtWQO3vpjts7htCymxJL9AzCzTJ5yt ppARhC//fUul++3z2Ztsm305BhoxhuEzJxS45ldb6wQM4d+K9U4KxwqOf3icPsxBFUom k2UWG2g791sIbU4RRBO+ePdWx299eY2+u0Tck= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iu2NA7uMpSMZgzwQfxkKQ/+DQ5Y6tdymCZT1FqqjEFU=; b=jpG0pfaka3mmBuP+kRvlLWKhFnAefhN2ZqfR0nNBjrvFd2BLwS/we0c4oaz4Be6H5s n7ypfMvQlcMY2W0t9GCordYAYf/0pfHLUW0IfLOjnXL6oZcGzUAwuDWk6AooQYn9OwLR bbgICRXYaKAHxqvbNoDBvrCF+SOeAWbbgq4t+Qt81U1Gd0kr/CHW7tcIeINXA3yO6AS+ sFYC2VqNRpzuJqco0PrLiTT6oodfMwvPmT7eS1KwUsciD0bsp7NvlvQfRG/zkgPLqhnB NL7A2p2Q7FMRG7ML284v/EA07B/Z1hi7iYV/2yLk+PPjmi5I6sf+ehLadlo8R1NkWLSM c8zA== X-Gm-Message-State: AGRZ1gKJZtGaEEWe6+zKdEaMIE4qjKiiNY98enXWMPeZV4JgMnYVy5DL sYm2qKOGpScn7G8RvincP4facg== X-Received: by 2002:a62:2f44:: with SMTP id v65-v6mr13527863pfv.235.1540789038338; Sun, 28 Oct 2018 21:57:18 -0700 (PDT) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id c2-v6sm20287231pfn.95.2018.10.28.21.57.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Oct 2018 21:57:17 -0700 (PDT) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Mon, 29 Oct 2018 12:57:08 +0800 Message-Id: <20181029045708.6292-2-ming.huang@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181029045708.6292-1-ming.huang@linaro.org> References: <20181029045708.6292-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2/ArmPkg v1 1/1] ArmPkg: Fix Gic interrupt routing modes bug X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, xinliang.liu@linaro.org, john.garry@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, zhangfeng56@huawei.com, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" As GicV3 Spec, Interrupt Routing Modes should be 0 for routing the SPIs to the primary CPU. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang --- ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.18.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c b/ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c index 01154848f443..1558db31713a 100644 --- a/ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c +++ b/ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Dxe.c @@ -469,7 +469,7 @@ GicV3DxeInitialize ( for (Index = 0; Index < (mGicNumInterrupts - 32); Index++) { MmioWrite32 ( mGicDistributorBase + ARM_GICD_IROUTER + (Index * 8), - CpuTarget | ARM_GICD_IROUTER_IRM + CpuTarget ); } }