From patchwork Fri Feb 1 13:34:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 157212 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp437173jaa; Fri, 1 Feb 2019 05:35:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN4XwCoranJi7fk0tHcqmjLIwYBVOO2GKuV86TRpF7WwTCBOvc/1kc1mkRNb9m/k7H7AmUO4 X-Received: by 2002:a62:4e16:: with SMTP id c22mr38790816pfb.167.1549028127556; Fri, 01 Feb 2019 05:35:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549028127; cv=none; d=google.com; s=arc-20160816; b=NP6z8R1s89yIIrH+D7FCpoZa+a1MMIdxh1+3apG4zji1ZDOQuR25D/yugrvDteHAEt t9ddLJ5wZsDVmICpK75T51jrcdmTPHa5/bpcPyXK6+ILAzLBGPOGs/7G/QHp9ZSwWvkC m+xicSWqNMe2J8hiNAckeTLHrVvt7CPIY+QZ0M7a/Gh7Hhs08kdXNNno+ENkySU/ClwY zvhoJJ4FEOEtfoZ2yzbwOwcyHcTZQ5VIF/v83mn6NFqNJzFXDu+Hld6WJCVEagUe4AK2 a7SlqWWpfDbNsgiZ/4KgdSLKQ69Ocjt2CuAKlr4Ne6efRjbPXVujJ4dtTFWRpT2qXmaZ vavQ== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=kIZoKhAaTTIi7sUX9YU3VFAovBkGRPL7RKMYnEAA2+c=; b=YVHif+uVm9X2XtLD0QO3UlBhUAO3hIJhCxMERNGUQHS0UXQ6BpzpchL8XGcEe8x27E TcHAUUWyEeRLvjB5zChuLrSbMB2vqJzDY3FyzGP6XOMSIiEzxgd+BaJ5/HKRW1c49hw7 By5O/vScGdjP/WzQ0BJix66t8aaOdr1RznAi863PKU2gfqK4eWGQ0mlrL5AndGjMa44+ jnXFEX4NJE15zH/ThZAFVBUfjbGqI7RaqhnwGrEfQvTv1r+MFFLUz8hB0Huw3B4E6kLv 1RmGb6O2AwQbYsDNd1ka7IG957jUa++n0WBDymAJOto816ZpFlaeG4Dxo5wlE+OK9ooK /nQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hAgYZ0yF; 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 e2si7162628pgj.316.2019.02.01.05.35.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Feb 2019 05:35:27 -0800 (PST) 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=hAgYZ0yF; 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 25B6B211C607F; Fri, 1 Feb 2019 05:35:27 -0800 (PST) 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: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-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 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: [edk2] [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: , Cc: huangming23@huawei.com, xinliang.liu@linaro.org, john.garry@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, zhangfeng56@huawei.com, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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(-) -- 2.9.5 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel 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