From patchwork Thu Jun 1 09:43:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 100866 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp719005qge; Thu, 1 Jun 2017 02:45:33 -0700 (PDT) X-Received: by 10.200.48.149 with SMTP id v21mr642846qta.84.1496310333130; Thu, 01 Jun 2017 02:45:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496310333; cv=none; d=google.com; s=arc-20160816; b=XNbpiA/4zWrhFhIWJ/chl5BicZz/xgbgWE0NCGBg58ZvOkzYo9hwJuYdK3hurrgBdh sGjEg86yeWC7ZmYW4RWzdYq3mA69AGrukvPuPqRvi72zjWgdMuIoBPu2QDeqldyUIeOS 2HKv/vsDcBr+qvlFwQvzPFrcdGXOijFlkK7bqlv7pALb5No4eGcxoAcSh8X1YmkC8f6p t35vtpdMsv9D0bQxMC/LatYjaZSAICXdmapzHWctjmhLZf0K4zApysDxfSxhK2R5eTnm hna6KKeIdZ70xy+GgiEuCcfRfl0fb5aFEQSaf2PYmtsXkLTEREkgd11hvZH97CNgT67b DJSQ== 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 :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=YZ5rYTp6CTI2FtlyhPjiiCh53Y6m3Ucxmxs53HDK5bA=; b=F4gV1kPmJxvswMAFTreQYMkMp7wJo9qfCZNTuXXSRPHsw4MeWLkGPWsYbvPgMxTke3 nSDYYK024gY4iG4k9AJoyxwlZXzo2SRoSEiWx6p/TkJeM5n96Uo3O8K84W7vXwiJ90Dn pKbOa49CSfltxhSrWbrDq9dwz0oMmBP6FZE55+WuvGhaFxv8O08cK55gmWHrav4EpHDW /hmrcfvUMgQjbrN8lpeuqTQY6OyCqY3cf6T3r6uEIiN7bVrOtkU8LBXkOFs1QKQEoyxD K5objTglLizTLW7nMHTbjQ/NAFQck+k+rjtjxohdyvVZhqVhOvw7sbiLEYE+Ky9wdwMU HvBg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p19si18693684qtg.171.2017.06.01.02.45.32; Thu, 01 Jun 2017 02:45:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B6055609B3; Thu, 1 Jun 2017 09:45:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 7C86F609B1; Thu, 1 Jun 2017 09:44:42 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D0BEE60A0F; Thu, 1 Jun 2017 09:44:34 +0000 (UTC) Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by lists.linaro.org (Postfix) with ESMTPS id 94307609A4 for ; Thu, 1 Jun 2017 09:44:11 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id 7so150495128wmo.1 for ; Thu, 01 Jun 2017 02:44:11 -0700 (PDT) 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=zVe8cIJeoWaJjgiA+lh9Mh4Dcht5obk3UfB0fkLiuZM=; b=IJQnOKS6U3g/BenMUPXEPUPGf4o8Kjp/WU+anB/lMrk01AFgH2T+ZP5Kh4aLAqNQ6v 4OIpdg7T7Ih/Nh54J98Wh6kJT8/9S6eEDIMHIT+wvqxnguJDbmIR+cfki4fDFu8V2p5K A7Z4xTZkH8UyJ4b0PJ23UjKPvYX3o7pLbVYXvK814Zg8AtIZxyZENMDNjYW+gs/YA5jV WsLPNO/9cUSnOAUQCe+5eCXYuzLJ7BOZaU/AvFVJOwxmXBQFBX6jhdYIxszHcgzR/Lvn ehbKvXaEm3rnDrsdvzL4jpRHKPP+4n44wjE9pJtamP80slA42y9LY7XINyGKDC2y+yIA ht2A== X-Gm-Message-State: AODbwcDPTtzjb9MjNjEsByudc1thhyGtD8nbDPyIUu6mulvzwkfWRoRU s4UUbNrF+Wcan79cjeQ6PsqH X-Received: by 10.223.170.74 with SMTP id q10mr525997wrd.171.1496310250474; Thu, 01 Jun 2017 02:44:10 -0700 (PDT) Received: from localhost.localdomain ([196.71.200.86]) by smtp.gmail.com with ESMTPSA id 64sm23257679wmn.20.2017.06.01.02.44.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jun 2017 02:44:09 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org Date: Thu, 1 Jun 2017 09:43:52 +0000 Message-Id: <20170601094353.16235-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170601094353.16235-1-ard.biesheuvel@linaro.org> References: <20170601094353.16235-1-ard.biesheuvel@linaro.org> Subject: [Linaro-uefi] [PATCH 5/6] Platforms/AMD/Overdrive: fix GIC MMIO region sizes X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "For discussions about Linaro-related UEFI development. Not a substitute for edk2-devel." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" As reported by Punit, Xen panics in the following way when booted on Overdrive when using this firmware: (XEN) **************************************** (XEN) Panic on CPU 0: (XEN) GICv2: Sizes of GICC (0x00000000002000) and GICV (0x00000000010000) don't match (XEN) (XEN) **************************************** This is due to the fact that the MMIO region sizes deviate from the Linux upstream version of the DTS for no good reason. So fix that. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm Acked-by: Punit Agrawal --- Platforms/AMD/Styx/OverdriveBoard/FdtBlob/styx-overdrive.dtb | Bin 9357 -> 9357 bytes Platforms/AMD/Styx/OverdriveBoard/FdtBlob/styx-overdrive.dts | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Platforms/AMD/Styx/OverdriveBoard/FdtBlob/styx-overdrive.dtb b/Platforms/AMD/Styx/OverdriveBoard/FdtBlob/styx-overdrive.dtb index 7ec1f63aff7805a3db7efc7a9b6e3c04f3c856cd..c8e5fd980bce305186214aab10a7d399faa22500 100644 GIT binary patch delta 31 fcmeD6?DgERlu?L5fdK>_ih(I0p|E*7<25A!an=T} delta 31 fcmeD6?DgERlu?M00Sq3BL1+d>hRxd; reg = <0x0 0xe1110000 0x0 0x1000>, <0x0 0xe112f000 0x0 0x2000>, - <0x0 0xe1140000 0x0 0x10000>, - <0x0 0xe1160000 0x0 0x10000>; + <0x0 0xe1140000 0x0 0x2000>, + <0x0 0xe1160000 0x0 0x2000>; interrupts = <0x1 0x9 0xf04>; ranges = <0x0 0x0 0x0 0xe1100000 0x0 0x100000>; linux,phandle = <0x1>;