From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::242; helo=mail-pl0-x242.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x242.google.com (mail-pl0-x242.google.com [IPv6:2607:f8b0:400e:c01::242]) (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 3E11321E49029 for ; Thu, 22 Mar 2018 03:56:24 -0700 (PDT) Received: by mail-pl0-x242.google.com with SMTP id w15-v6so5048524plq.9 for ; Thu, 22 Mar 2018 04:02:56 -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=kzo7YnrZ9rJ/uPknaPs+sSHOM2sjOcUuRDpEgcyTGX0=; b=CIC1fGVPVDcGxZJRJTQanXNAi/jNQa4suup57Ugf+IoDN8hVd1fXwivWNP9firEx6Q SyV1EKugiHjG0s4wYp5D1STwfdob3spmG97DgmyuOr4Cn9rRauE8h+hgG5iBZB1bm1I/ 1fXgOkmeA+CH2YV2FKu/2ERwxYBT7JeJGNpGs= 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=kzo7YnrZ9rJ/uPknaPs+sSHOM2sjOcUuRDpEgcyTGX0=; b=CYObr83XmLZ4iC60yDr7PMvL/VjVkOu8CT9vfYYJBh+j83l2KWoWcoX03v/HgLni6v XG5yRQt4Jc2BosZ4dG0VqQgIZUkCAJGXy8Vci/rZaHTkyKL20mJBw0lClifk10j4oQAN Rb+t+3YcTlIb8PMjxrrexHEQm5hev0nalhZloBld5iRDDQl2akYLNEVqk5VBXgGwN3HB gAWlS3NaF3dg4CHNb7WZBovfzguFhSJSZP6eOMFSxUe3lhW1pQHGvrR0Si3hqtO2Pmlp Rr8MBH7g1mB54UmleCQCJHMgWCjOsP89NQMit+3E42mZRy9cbw5fb2e3ihhMDDxbU8PY vHqA== X-Gm-Message-State: AElRT7GfA5l8skdBM2SBG7yK1rD8/uCmTE0WU2kh9yw9pCDXwXOpbOCt 2WCRkV+aq2e70spnW8v2NiIeFaxwHKU= X-Google-Smtp-Source: AG47ELtMmjPmBRYq1/ecoasviX0EBx3/KMIWbvTTw20Wii8vbi+i3K2Lsyn3LN6SQod/JYSfZXf7GA== X-Received: by 2002:a17:902:c24:: with SMTP id 33-v6mr24914601pls.88.1521716574095; Thu, 22 Mar 2018 04:02:54 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.100]) by smtp.gmail.com with ESMTPSA id u22sm10118824pgv.77.2018.03.22.04.02.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Mar 2018 04:02:53 -0700 (PDT) From: Heyi Guo To: edk2-devel@lists.01.org Cc: Heyi Guo , Yi Li , Ard Biesheuvel , Leif Lindholm , Michael D Kinney Date: Thu, 22 Mar 2018 19:02:21 +0800 Message-Id: <1521716541-54412-2-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521716541-54412-1-git-send-email-heyi.guo@linaro.org> References: <1521716541-54412-1-git-send-email-heyi.guo@linaro.org> Subject: [PATCH edk2-non-osi 1/1] Hisilicon/D0x/Sm750: Fix GOP framebuffer base X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2018 10:56:24 -0000 The code in SM750 driver treated the address returned from PciIo->GetBarAttributes() as device address; this should be fixed after edk2 commit dc080d3 since GetBarAttributes() returns host address from then on. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Signed-off-by: Yi Li Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney --- Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi | Bin 17728 -> 18432 bytes Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi | Bin 18592 -> 18464 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi b/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi index 16c91e2b18ef..3c7aae7dc6f6 100644 Binary files a/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi and b/Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi differ diff --git a/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi b/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi index b8de0259c785..7d4fe1b3228f 100644 Binary files a/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi and b/Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi differ -- 2.7.4