From patchwork Wed Sep 14 12:52:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 76176 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1857834qgf; Wed, 14 Sep 2016 05:52:38 -0700 (PDT) X-Received: by 10.107.12.166 with SMTP id 38mr6634290iom.159.1473857557942; Wed, 14 Sep 2016 05:52:37 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f42si5347971ioi.49.2016.09.14.05.52.37; Wed, 14 Sep 2016 05:52:37 -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 dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 1E02560808; Wed, 14 Sep 2016 12:52:35 +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=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 D8B3E6068F; Wed, 14 Sep 2016 12:52:31 +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 EA9DC607AE; Wed, 14 Sep 2016 12:52:29 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by lists.linaro.org (Postfix) with ESMTPS id E6E2E60687 for ; Wed, 14 Sep 2016 12:52:28 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id 1so29117827wmz.1 for ; Wed, 14 Sep 2016 05:52:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0sZLGKb5H7X+daZIjMdlyOpW3LRA0P6HxE7tnZKEg8o=; b=FPklZhdwb2e4akVTKbe6w0mhNu5ty4VkkyMgaPlWQZOEMz2I8/gZyIhJ6InGONRsFB eZsC1zCbb4fNkKDr3hytee/m1JW8hdu6EB7Ehn6J10pNxrCzp7WqdOFwnTTkVleWJ9AF 2P/cqpqrrzNoW450T1PCRH+coslePk+hONckAUcDXhEVvbYDVP9EyxfZLL5ic7b6lCB6 2RIcZEac3/so7nEt566taDRbBgVuA8DAzPv2QwMm3zzfMOTzVSV2QR/yuAjMbIOhuIm6 V2mZZZ9WnNWGgr9rvm/bQZBh2e/lYE3h42rF5rrG+AV+cfnqBAUtu0VnNKmMPereal+k vcNw== X-Gm-Message-State: AE9vXwMLuYDrQzJc7IumXq34rF0QKkIudFDyOIlCcAse6SWtT13D5Uu4co7/RwUh/tgHyTTZ5Q0= X-Received: by 10.194.66.41 with SMTP id c9mr2969432wjt.30.1473857547980; Wed, 14 Sep 2016 05:52:27 -0700 (PDT) Received: from localhost.localdomain ([197.128.106.42]) by smtp.gmail.com with ESMTPSA id m133sm10667794wmg.0.2016.09.14.05.52.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Sep 2016 05:52:26 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org, leif.lindholm@linaro.org, graeme.gregory@linaro.org Date: Wed, 14 Sep 2016 13:52:22 +0100 Message-Id: <1473857543-4422-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Cc: leo.duran@amd.com Subject: [Linaro-uefi] [PATCH 1/2] Platforms/AMD/Styx: correct PCIe bus and I/O ranges in DSDT X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: 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" Change the PCIe bus range in the DSDT from [0x0 .. 0xf] to [0x00 .. 0x7f], which aligns it with the DT descripton. Also fix the I/O window: its range should be listed without taking the translation into account. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Acked-by: Graeme Gregory --- Platforms/AMD/Styx/AcpiTables/Dsdt.asl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Platforms/AMD/Styx/AcpiTables/Dsdt.asl b/Platforms/AMD/Styx/AcpiTables/Dsdt.asl index 1f0a96fb83ee..7190decbec6d 100644 --- a/Platforms/AMD/Styx/AcpiTables/Dsdt.asl +++ b/Platforms/AMD/Styx/AcpiTables/Dsdt.asl @@ -554,9 +554,9 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "AMDINC", "SEATTLE ", 3) WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, // Granularity 0x0000, // Range Minimum - 0x000F, // Range Maximum + 0x007F, // Range Maximum 0x0000, // Translation Offset - 0x0010, // Length + 0x0080, // Length ) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, 0x00000000, // Granularity @@ -637,8 +637,8 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "AMDINC", "SEATTLE ", 3) ) DWordIo (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x00000000, // Granularity - 0xEFFF0000, // Range Minimum - 0xEFFFFFFF, // Range Maximum + 0x00000000, // Range Minimum + 0x0000FFFF, // Range Maximum 0xEFFF0000, // Translation Address 0x00010000 // Length )