From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::442; helo=mail-pf1-x442.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (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 47633211C5729 for ; Fri, 1 Feb 2019 05:35:26 -0800 (PST) Received: by mail-pf1-x442.google.com with SMTP id y126so3234165pfb.4 for ; Fri, 01 Feb 2019 05:35:26 -0800 (PST) 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=uzG86FV8SbeUkaihpmzDaju5aqd64MgyI1VFihxNXH8=; b=hAgYZ0yF9H9ycihZKskl0bDJAsZwapw0W6Jmh4I/+5WVF7zh1hNNgc+uLX7dpHTW9i 6oMGAS8qKQjcf6SSdznEjKZu/TjXhmgRBt7G9sYxdqbRahD12D/eGr+cfVVejTkpKy0N 28GtgvShJqEneD7jHcrWzWgefQjdmBIV3tWHw= 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=uzG86FV8SbeUkaihpmzDaju5aqd64MgyI1VFihxNXH8=; b=h45SvT+HP0VncBcwEfOv32p/1wQVYGL1xSeNoJnWDxWrOh+JX3yHuvK1Pqu9jfZYNt mO9IS6EN5UwVrmqysd84/p0g0IV0PLV0T6yEgwUdZrBIhfP/bx+w73rdn3ps2y1L25bV xLxWQ5jQDlmVZxrX4n8n82Jlc9jTxwee0WLNFtExl6TtxGhfGM4Yt0NedcgTXTIa1nhb ayS+PRrBjJqA+bup6VEN6WcjUIt1B5DaFB/PMVbIIN6bGMWAmiZIhfuyrNqRW7x6o9hz FA2wyQLx1ZAw6mkoCk0m2H/IJZ/BGDmUkRzVKIONjcVGVxIH5sV4IRENYfob85PWVg2W qipQ== X-Gm-Message-State: AHQUAuYRoR5PuVLqo4qPjJBW79JyHOfBWKo+7PEykR1BjGH3VMrrQbiU THvzKwcIP1XX9TyeC1ruUY3LKQ== X-Google-Smtp-Source: AHgI3IbTqWCXHMeNzLQKJWXFlAopXk1AIbu4QPcqMk7zlPSddJfb+py1Cuc3IxTis9tKmQWrBXArpg== X-Received: by 2002:a63:5346:: with SMTP id t6mr2358728pgl.40.1549028125992; Fri, 01 Feb 2019 05:35:25 -0800 (PST) Received: from localhost.localdomain ([114.119.4.74]) by smtp.gmail.com with ESMTPSA id s21sm11134073pfk.133.2019.02.01.05.35.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 Feb 2019 05:35:25 -0800 (PST) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Cc: ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, john.garry@huawei.com, xinliang.liu@linaro.org, zhangfeng56@huawei.com, Ming Huang Date: Fri, 1 Feb 2019 21:34:23 +0800 Message-Id: <20190201133436.10500-4-ming.huang@linaro.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190201133436.10500-1-ming.huang@linaro.org> References: <20190201133436.10500-1-ming.huang@linaro.org> Subject: [PATCH edk2-platforms v1 03/16] Hisilicon/D06: Optimize SAS driver for reducing boot time X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2019 13:35:26 -0000 SAS controller is always existed, so accessing SAS register don't depend on PciBusDxe (pci enumeration). Move the SAS module early in D06.fdf for dispatching SAS driver early. This can avoid wait in BDS normally and reduce boot time. This patch is relative with SasDriverDxe in edk2-non-osi. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang --- Platform/Hisilicon/D06/D06.fdf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Hisilicon/D06/D06.fdf b/Platform/Hisilicon/D06/D06.fdf index a937660a09e2..d495ad7f264c 100644 --- a/Platform/Hisilicon/D06/D06.fdf +++ b/Platform/Hisilicon/D06/D06.fdf @@ -165,6 +165,7 @@ [FV.FvMain] INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf INF Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.inf + INF Platform/Hisilicon/D06/Drivers/Sas/SasDxeDriver.inf # # PI DXE Drivers producing Architectural Protocols (EFI Services) # @@ -296,7 +297,6 @@ [FV.FvMain] # INF Platform/Hisilicon/D06/Drivers/Sm750Dxe/UefiSmi.inf INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf - INF Platform/Hisilicon/D06/Drivers/Sas/SasDxeDriver.inf INF MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf -- 2.9.5