From patchwork Mon Mar 26 08:25:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 132400 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp3554417ljb; Mon, 26 Mar 2018 01:26:15 -0700 (PDT) X-Google-Smtp-Source: AG47ELukEtj2xKAZU56X/7rF2hG/K/UAQLnQqCC15g3HfaAV7c2YMCpnTkLzmVqp8bI8Vj+Q5hq/ X-Received: by 2002:a17:902:2006:: with SMTP id n6-v6mr39931368pla.150.1522052775144; Mon, 26 Mar 2018 01:26:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522052775; cv=none; d=google.com; s=arc-20160816; b=tAXjky74JlBDhP5oooZF3npde2kURsXxb8CeSjOzMQpwCu8R+kQl688ZtrSLW/WPUH l7Lcgdpca83FQv/DI+KhjOw8OCbRswTDxTev0jMN9CWavpaCX/Xrb8ifSEBDrslfOvG6 5LuQPJESrb7lvExbwOdiWQShgWLk7W1eArLEfUeSqijZl87/xnOuo7j3BtH6E7pGnP3O wRoBfuJ7o9PGIHIKTe/0CEjgW+5N7cSMF/MisT4qNJA0bwxWCcgJ9mAhpM4fghekP0tb 16fY5nkRD1KWik5ggQqa81BBP8x+iwvzpHwWUWERpPCSaW8J2CwUgRDs0E9hEYqwgXvs dESg== 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:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=ZH9H0onnpNxs5CuGURHdUPHcXa5xdt4a3Axf8ennhlw=; b=tZvPwIRyEW1kpX/kll6NnGYgSb8yy8eQCsDV1oNGVAIFVoIUnSWcpaQCNvXuHGzgDf clgLlCzAHF0GfrqjPuXdDvWlV4oBEcEKO/1fwxoTB+Ai2ZNk1mCFlgW92MTHcUAd+Bt2 MNrofvokNeYBimrUI1hcTb0fhAlncn+2WHXM8JfNVJNHHpLO5G2QEW3r+j9kXrFTFlx+ fdC571j5aIr9n6yj1ucaR9DzSU2SLohsZGKlMhTPAfJr+Q6Zwxv18fuoIWJSgwEC5xKq 0tpWfc/TCy62xsw+KiJl/s3NZxwESgL4pO4wkTZGi6HmVRGRNEZpCD4v+CnY6DgIdknO Ds4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=J55rMgYL; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id m9-v6si13905999plt.6.2018.03.26.01.26.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Mar 2018 01:26:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=J55rMgYL; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 1B8E5225E4016; Mon, 26 Mar 2018 01:19:38 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::22c; helo=mail-pl0-x22c.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x22c.google.com (mail-pl0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) (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 DAE822214673B for ; Mon, 26 Mar 2018 01:19:36 -0700 (PDT) Received: by mail-pl0-x22c.google.com with SMTP id w12-v6so11510265plp.4 for ; Mon, 26 Mar 2018 01:26:12 -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; bh=17KRWnW6e4pYlTjeb69DvH2Z37A+iUIdq9UdmLdpLIY=; b=J55rMgYLrG0wvd1dqTAgtbaP4cOpT05DbME/cM9sa4t+RzYfMhe3WMlPze1SF36eHp F1H8WVijq2TpHHtr3pWDRs27lQa5aSoOTx60t7xmtGcHN8gBokx7bxPppLI89mkDt9uK rFYAjy6AA+7Wh9kaN7Z/MNcfgPsetthNkqLrg= 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; bh=17KRWnW6e4pYlTjeb69DvH2Z37A+iUIdq9UdmLdpLIY=; b=pwSG5ZCRBWd9weyy+jODPBm5Wy5rGIsEZmCKb6lGalRaqjZal+dqcE9gBUw22ErMYN xoShMAeyPi2IITM+1iFP/mMA+3OaV47GUuKfixf/foYmoqy/A54cFH3Q/uauCL8FYKfz zqH8GscL6YMiH6LemUHD6J79PvnBjT09JyJgPMC9IJ80YYpA0EsMU/1bI7qiUXYjY3CG f9zFUaDjJEpv6Rr96RicdemkUC132DindkJoxr5ky5aIY9mntIFKKa6kk2HD7NBhMuXB nTUHem/xuRSxgIyL7AffNBFtpGxstYc242YsQkV/lmPwV6bpkGBzp6cnoLJ0nGsa+Ena uo0w== X-Gm-Message-State: AElRT7Hc+WSGzupA2pcAA8+0qMFPFGbLM//YWk2R3lfnFgYLKNb4EdPO Xl14vuKRKZ+ylgl3oWg14wHYIeHlStE= X-Received: by 2002:a17:902:b08f:: with SMTP id p15-v6mr532325plr.117.1522052772096; Mon, 26 Mar 2018 01:26:12 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.79]) by smtp.gmail.com with ESMTPSA id q87sm32735249pfa.29.2018.03.26.01.26.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Mar 2018 01:26:11 -0700 (PDT) From: Heyi Guo To: edk2-devel@lists.01.org Date: Mon, 26 Mar 2018 16:25:34 +0800 Message-Id: <1522052735-68033-1-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH edk2-non-osi v2 0/1] Hisilicon/D0x/Sm750: Fix GOP framebuffer 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: , Cc: Michael D Kinney , Heyi Guo , Leif Lindholm , Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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. Binaries for D03 and D05 are also be unified after using null DebugLib. Binary files can be fetched from: https://github.com/iwishguo/edk2-non-osi/tree/patch-sm750-fix-v2 v2: - Unify binary files for D03 and D05 [Ard] Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney Heyi Guo (1): Hisilicon/Sm750Dxe: Unify binary and fix GOP frame buffer base Platform/Hisilicon/D03/Drivers/Sm750Dxe/UefiSmi.inf | 32 -------------------- Platform/Hisilicon/{D05 => }/Drivers/Sm750Dxe/UefiSmi.inf | 0 Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi | Bin 17728 -> 0 bytes Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi | Bin 18592 -> 0 bytes Platform/Hisilicon/Drivers/Sm750Dxe/SmiGraphicsOutput.efi | Bin 0 -> 17760 bytes 5 files changed, 32 deletions(-) delete mode 100644 Platform/Hisilicon/D03/Drivers/Sm750Dxe/UefiSmi.inf rename Platform/Hisilicon/{D05 => }/Drivers/Sm750Dxe/UefiSmi.inf (100%) delete mode 100644 Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi delete mode 100644 Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi create mode 100644 Platform/Hisilicon/Drivers/Sm750Dxe/SmiGraphicsOutput.efi -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel