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::542; helo=mail-pg1-x542.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (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 655B4211BD5E6 for ; Tue, 19 Feb 2019 23:28:51 -0800 (PST) Received: by mail-pg1-x542.google.com with SMTP id r11so11419547pgp.6 for ; Tue, 19 Feb 2019 23:28:51 -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=5ya02E/Gn6Ahh5Zs25SSjnsdWUtDfMBLswWn/1KrjEw=; b=m7LvW5ZImItP7Vm4QmQTbN+2y1EZIvUaJgYYEWyGGfQ6hytW00uFBpsGalEe8p7kRm YhEcM94tnZ9frS8bBaM9jvjnoFaNge0kH9p6Fxu/tXrykohXWvdeJP/j7qhitPWbz38Q qy2BotWC7sGl71amI7eY7HCA4MLpgKrEvvkbbxL7V4EaNWxKz4BR0TvwnhAjwKv6sfdC AeVvSRi5dm7f6dC+h20eCpq/JlR7aRnMn2ZQeKL1MndnsLmYkYATdL+gdI3SXVY7ixBP BA+Y1TOd496CWyUXwhkVASLbTenYOWopRQEpJgKT+U8r/3igsI4FwLBzJhCeUMjIalhk MmzQ== 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=k3k5Z10PAGf2oceK1qwZu/tFR5/knf61rmgEJLFDfz1dTdWy1p59QSBsaqsPzBgAil +5tD3+8ATS6FCQ8TDN6gfUYgXqHHQIiEIkglNbuBKN8V+zJPojMBxCiKAaN8vnXXPGLj L5nkIMA53veKwNNKggBnw/kYc3EnW7PM5ozSEBtB0dRV3h8/6Iymp9I+c28L1HV+w89V CPKmb8Jjo1DQgJ27JLOfWoKcV5gxbXuA4JvYS7/D/B3WgpgoTqcGt+RTOj0iEctshm7t kQEAOLhH1XRWYAbQBJ8AR6MxsXbSXHACURn6yx4vIKOwtKyfZAtmbKD9y/0e/hmlJO8w 098w== X-Gm-Message-State: AHQUAuanJvm0zrjhalfp7GUZ+y3eplbqNG3eEVw/Xveu3oFRo0QCLDm/ 4GMI0aLXGSWLfLF9B4JE+U1D5Q== X-Google-Smtp-Source: AHgI3IaqExgRjfi1U9v9kAgcDITF5LwK0rYs39hx5ykRkqOCl2nqoU/DZpCpaY+6CztM09LYEbhZdA== X-Received: by 2002:a63:9c1a:: with SMTP id f26mr28226256pge.381.1550647731020; Tue, 19 Feb 2019 23:28:51 -0800 (PST) Received: from localhost.localdomain ([203.160.91.226]) by smtp.gmail.com with ESMTPSA id 23sm19152969pft.187.2019.02.19.23.28.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Feb 2019 23:28:50 -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, zhangfeng56@huawei.com, xiaojun2@hisilicon.com, Ming Huang Date: Wed, 20 Feb 2019 15:28:21 +0800 Message-Id: <20190220072837.35058-3-ming.huang@linaro.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190220072837.35058-1-ming.huang@linaro.org> References: <20190220072837.35058-1-ming.huang@linaro.org> Subject: [PATCH edk2-platforms v2 02/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 Feb 2019 07:28:51 -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