Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5457052pxu; Tue, 22 Dec 2020 18:37:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqxjnr/+d+XapWrsM8jo7ELJyxasbCkbQHOYo2FjePatb4S2AL3/ceRNuz6AN1KkzBE/F+ X-Received: by 2002:a50:84a9:: with SMTP id 38mr22660744edq.378.1608691053674; Tue, 22 Dec 2020 18:37:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608691053; cv=none; d=google.com; s=arc-20160816; b=cS2IP5spATUEOybWh3CRwIUenyV7derlfN2OBrklzrzekf7o2YcT10+GctJWU6+l2B YlzToMFyXWyrC0UffS9GUDMQAfg6rksN7usFVo76RPJwjepgHWWVSvJHILMHbquKSNOB GY+mrZ9Dv5s4nFKluFusGxfKM8PnPOfwBmTGKJSdLrwXNoJWUNHm+7CLWJVFUC2vBUxb ZNaQnmh11L0I8lqnrwuHcOmoi2xk9HnHzZCufii+eZowi9Ex3Xi+b5e2ZchRKxNmaHNp 9PpQkfo+1LACy7M1jNGP1+aedy75OfkVWEofKei2EHjQ/u9FKW9XtYxXVr2MmM8F7FBX LviQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Lw7AhuIxFbkN8xjX9ZqQwzl6VnnwzwVN/QBfjqCfLas=; b=h6pyY3LNTson3EdNVz4N56Q5l3m1rYCN5iB4nvQx83oYJvcMlVriiwcDmhJuYPObG8 wm4YiPvSi+fHshOvWDmEMS32X+0x0G9sM1X7tGUgQapFPxnzmGlEakRbcgvUtNR+BQPr Ci5bNPVpED66Y1aIjCs12ZlmXujxQLsiNCL9mbiu5t8WDT75jSoiEjdmE1YkZxxmQzKf bzOMjuEepbMe+/TTodgG9OQeoXPOYh9ng6bHly91j8VNHjg2yqf0vjtqCl+bmi/+E1ON cI0nC0euZChTuDNoREKiYqBUDbiwARW6q5xW1AtMRs4mTp0JZ2bOYLSJjUdQ7HwwDEzo fSUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AODv9Yr1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i10si3008711ejd.572.2020.12.22.18.37.11; Tue, 22 Dec 2020 18:37:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AODv9Yr1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729899AbgLWChD (ORCPT + 99 others); Tue, 22 Dec 2020 21:37:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:54312 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730212AbgLWCY0 (ORCPT ); Tue, 22 Dec 2020 21:24:26 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 731AE2222D; Wed, 23 Dec 2020 02:23:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608690226; bh=A73uzdkqQ1ZPQma2CAjuUN93t+I6+FrfDFX5rU73yyU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AODv9Yr11hyUgRvzjtSwvQacxRGCHUdCx+4M+dCjYC6Un2iFRMrSd/i9EDmYw2QBs Kt3BCnVev5U2glooMIo+tKlu3Gz9CD9Tj6bfJ9JnkWr0G0XYKuHHx4Nq8tMoiypqYz TZUucWvN7MEsw8vjXi+Goub7+aOQiHFj0TfhpPd2tFI8Lbkv7oCoQh+N1LCsulpncO UxcYUNR4Jj4ytewZZWzMDBVXaCfGt8oyMGBSuu/34eFD4v8ZxniTAyXkrZmGzF8UAP h3Kj2Vl2+FNjxsh3FW+9dBVRNyWqtwSR+6nhbQqfBz8+4jN3YeDITyXFyG29X8sx0G 63LoztxceeGdA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Marc Zyngier , Thierry Reding , Sasha Levin , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH AUTOSEL 4.14 42/66] arm64: tegra: Fix GIC400 missing GICH/GICV register regions Date: Tue, 22 Dec 2020 21:22:28 -0500 Message-Id: <20201223022253.2793452-42-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201223022253.2793452-1-sashal@kernel.org> References: <20201223022253.2793452-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marc Zyngier [ Upstream commit 776a3c04da9fa144241476f4a0d263899d6cad26 ] GIC400 has full support for virtualization, and yet the tegra186 DT doesn't expose the GICH/GICV regions (despite exposing the maintenance interrupt that only makes sense for virtualization). Add the missing regions, based on the hunch that the HW doesn't use the CPU build-in interfaces, but instead the external ones provided by the GIC. KVM's virtual GIC now works with this change. Signed-off-by: Marc Zyngier Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi index a9c3eef6c4e09..5738b02973074 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi @@ -263,7 +263,9 @@ gic: interrupt-controller@3881000 { #interrupt-cells = <3>; interrupt-controller; reg = <0x0 0x03881000 0x0 0x1000>, - <0x0 0x03882000 0x0 0x2000>; + <0x0 0x03882000 0x0 0x2000>, + <0x0 0x03884000 0x0 0x2000>, + <0x0 0x03886000 0x0 0x2000>; interrupts = ; interrupt-parent = <&gic>; -- 2.27.0