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::444; helo=mail-pf1-x444.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (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 D16BA211E0105 for ; Wed, 20 Mar 2019 01:09:03 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id d25so1338483pfn.8 for ; Wed, 20 Mar 2019 01:09:03 -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=5ya02E/Gn6Ahh5Zs25SSjnsdWUtDfMBLswWn/1KrjEw=; b=IOHOmU732usfzXTKkvHDbjg9L4OsuMo7LUT2nwEO/A4Sr7Ro/Rkf26hqnD1F7iTQth NChH5X3t9i45CplqpJxIDoyDQpB+M1S2oVDOU7V4r87jeYoWne31OEc1uwe6s2VnvB3U g467G74vYZmNQTw8CAHLgCe2AXww4BFByHuYbIWSE6+wfTooeqPmuUaOsTl/Ikov6bVx 8ln1DlGTpZZSHtLFMsDNEDl9yCEiJeAIR5xrLT976pUnYurHgKcMfEFclCn7mw84i2dl aWypqNqyvxMtumZjLBvEuK916VxbSvR9+GAHso7c5iob7bVOfo1vvZNn2MZ9aQmp/Hjd MAGg== 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=5ya02E/Gn6Ahh5Zs25SSjnsdWUtDfMBLswWn/1KrjEw=; b=KWt8eXoNtHrKCr7E43R5VjIpGEW+RRR2EZ6OHlZK/KGzgFsaUUOR/DpvfKKW8aanxO 0+cAc6f1c91Zj2Rzr+fV4faTePG7RLooFJYn/I8TmoXer5ghQa96aSRUhdtmNE0AJF+B 24WUQA/Uhq0AIpc4KXhmk1TCmc1Viox3dmu4zH/7DEyPFeDlR1e5bF05IpcUt0M0Sc6w sfeRzfshCf+yVplDPl+7A3vg4oZTLSt+ffoLizFOg8T+kH0Alx19Y6K5SqClt0VlMGgS WW4kP4gx4K8dA1L/igu3RejXngvaTaQ6OCNwxfkIQcER9BQVjYaQkDni6YU637sMljTm QgVg== X-Gm-Message-State: APjAAAUCrLNBDkATZkVxPAn6J2+Lr8GYkwP0BHx5FCNF557opwSaz9U7 rM6GQksYzXJBYCZBgbYbmHa9Rg== X-Google-Smtp-Source: APXvYqwlEWQpBTsfwHl/wMiZIEsVgvAh3yX/onjbi4+Zg6gD4sMEoLGXFxIF6RrvZAeFJyp+3mNjag== X-Received: by 2002:a17:902:1621:: with SMTP id g30mr6900165plg.116.1553069343381; Wed, 20 Mar 2019 01:09:03 -0700 (PDT) Received: from localhost.localdomain ([203.160.91.226]) by smtp.gmail.com with ESMTPSA id f9sm1602796pfd.10.2019.03.20.01.08.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Mar 2019 01:09:02 -0700 (PDT) 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, zhangfeng56@huawei.com, xiaojun2@hisilicon.com, Ming Huang Date: Wed, 20 Mar 2019 16:08:15 +0800 Message-Id: <20190320080829.52003-5-ming.huang@linaro.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190320080829.52003-1-ming.huang@linaro.org> References: <20190320080829.52003-1-ming.huang@linaro.org> Subject: [PATCH edk2-platforms v3 04/18] 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: Wed, 20 Mar 2019 08:09:04 -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 change is only valid after the update to SasDriverDxe in edk2-non-osi has been applied. 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