Message ID | 1505829398-52214-14-git-send-email-heyi.guo@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp4969279qgf; Tue, 19 Sep 2017 07:13:27 -0700 (PDT) X-Received: by 10.107.151.6 with SMTP id z6mr1924557iod.248.1505830407450; Tue, 19 Sep 2017 07:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505830407; cv=none; d=google.com; s=arc-20160816; b=LmZeYZ9eWvmh86qIgQdFpyPkqkGw/vSiNmyrlg4/MnlqXwFW1Ul0fvi1LJOyp3VnOf Myq5JgO5x4+9QX9M+1LQMahUUQuMaMbpcECjAFOheZvCgjJxijgntpIeqtJtNxIP3WBU //weOrzvS/weBT0lVhSkR9xbIC1bHCVcwk7mVb1kf5Pg5XlBKwf08Zi5LuCWxWQiAZ05 OKxVN1MIUyS8y1Nz6ORiG6YpmDNzajgAT+UwSbW5YDXSivF7yRIODLVkbs7I7S/kQYra I5Fe7kUeQISRnity1tzC6LG8xbdhSUyJeJcRa5/nKxKJ0QeEGqhwc9cMYK5bstv3YFWg 4r0A== 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:cc:references:in-reply-to:message-id :date:to:from:delivered-to:arc-authentication-results; bh=EiUU/IUeeYgvhb68TwZ2CsAyw3fM4Z70zwhMyPQ8eDw=; b=AVb327T5fEyL2SvzDAjk7XrvO+SvvIbefP0IM48git5vHH4dLtHZdO5PkZuRd7oJsy sioks0pv5KH4kxK4ZhZBCiJYHmX4eMf66bXd5DgAvsEyldoukh9otSErU/i6mGhOJY+m 9bhTK3kKn4rFu1aWbXj9a+3EufpL9L9EKJLZfsOMVNZNEluYgUbHAWMJZVQ12Fxn9pW5 wfsptrnqsSeTaOsG0AJuH/ZaBDPlfXKHLvaOOwP7Wkz1Rzv9Z9HNxXXzqTHPFiOT5WBY Romb5V/XRuGHpeleZ6mgqQ5YKqp+T7jck24e8P/ehSZOq2p8YbL0wJmRcrOK0SpAvFQ6 7wcQ== 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: <linaro-uefi-bounces@lists.linaro.org> Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j65si8005610iod.89.2017.09.19.07.13.27; Tue, 19 Sep 2017 07:13:27 -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 EB23862D0E; Tue, 19 Sep 2017 14:13:26 +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=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,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 7A3E762D29; Tue, 19 Sep 2017 14:10:00 +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 3C62F62C6C; Tue, 19 Sep 2017 14:05:45 +0000 (UTC) Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by lists.linaro.org (Postfix) with ESMTPS id 6D7F962D08 for <linaro-uefi@lists.linaro.org>; Tue, 19 Sep 2017 14:05:28 +0000 (UTC) Received: by mail-pf0-f175.google.com with SMTP id z84so40222pfi.2 for <linaro-uefi@lists.linaro.org>; Tue, 19 Sep 2017 07:05:28 -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=ahyqqh6wnyJxaspl9s629EhBkkcnalBet1K0YRy669c=; b=fS78ZgZLE7FdOeW6pdLDGBklt3EjdtD6hh9OGJnpJqXuWM2wYC3pGvASo/Eo1Vxbfo uxtbtiZcAVTRJ6dhhSUfZQWeY5CZ1KpcFFQ6xhbj1uK4U3SZSVj8qB87ZqrtKpZQOry0 KZqfAWV/+vrtYOJ/AP2CS6RftmJpX/Vjkrn4bF54L1OgdCyKIF7HIlTaRZeVY3Q1C7Rp WoPFfcZebVqyCYxBrtb1rSc3mHsg7CNhs9ZDjs2Jk549KsegnVuiBMMY2tO8P6tEK/nj xB1se7lAJTaMs4xEttcRzd79OsOrifqfyqdvYWZwj2cT/evXy3UEjnuvgke5QXTS1Hnm kFmQ== X-Gm-Message-State: AHPjjUiMm5sP2ElwdgBVdNQ1VW5njn6ZrneiaTRNSq81ZWX7pWCSkNhr Fm6Obdxbfb9jvediY3hvJoGmHQPbG18/fg== X-Google-Smtp-Source: AOwi7QDXSpVQ28nwWfLyC2KVaw8g0f6odmD1TjDoFM8wXw5t06dgd6MZ5JntQN53/NaSyTbPkn/FYg== X-Received: by 10.99.109.65 with SMTP id i62mr1407416pgc.83.1505829927792; Tue, 19 Sep 2017 07:05:27 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id 13sm4390439pfm.138.2017.09.19.07.05.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Sep 2017 07:05:27 -0700 (PDT) From: Heyi Guo <heyi.guo@linaro.org> To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, graeme.gregory@linaro.org Date: Tue, 19 Sep 2017 21:56:19 +0800 Message-Id: <1505829398-52214-14-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505829398-52214-1-git-send-email-heyi.guo@linaro.org> References: <1505829398-52214-1-git-send-email-heyi.guo@linaro.org> Cc: huangming23@huawei.com, Chenhui Sun <chenhui.sun@linaro.org>, zhangjinsong2@huawei.com, guoheyi@huawei.com, wanghuiqiang@huawei.com Subject: [Linaro-uefi] [linaro-uefi v1 13/32] Hisilicon/D05: fix vga emulation fail issue 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." <linaro-uefi.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/linaro-uefi>, <mailto:linaro-uefi-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/linaro-uefi/> List-Post: <mailto:linaro-uefi@lists.linaro.org> List-Help: <mailto:linaro-uefi-request@lists.linaro.org?subject=help> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/linaro-uefi>, <mailto:linaro-uefi-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" <linaro-uefi-bounces@lists.linaro.org> |
Series |
Update D03/D05 binary for edk update and fix some error.
|
expand
|
diff --git a/Chips/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c b/Chips/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c index 8dfb4b9..2effd7c 100644 --- a/Chips/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c +++ b/Chips/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c @@ -1770,6 +1770,13 @@ RootBridgeIoPciRead ( return EFI_INVALID_PARAMETER; } + if ((EfiPciAddress->Bus == 0x81) && (PrivateData->MemBase == 0xAA000000) && (EfiPciAddress->Device > 0)) { + return EFI_NOT_FOUND; + } + if ((EfiPciAddress->Bus == 0x91) && (EfiPciAddress->Device > 0)) { + return EFI_NOT_FOUND; + } + // The UEFI PCI enumerator scans for devices at all possible addresses, // and ignores some PCI rules - this results in some hardware being