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::643; helo=mail-pl1-x643.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) (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 52AAB201B0422 for ; Tue, 12 Feb 2019 07:35:06 -0800 (PST) Received: by mail-pl1-x643.google.com with SMTP id g9so1475693plo.3 for ; Tue, 12 Feb 2019 07:35:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=urt2o7+kwokbOnd7SJDN1A9+H5v9xXh6+YmTRwWeU4o=; b=pCwX7VodCAaUEtMWbx5uh440V6j+PEbqdNhpwyDN+dHGkmz5M9tmTr/E9fiIPhAVP9 vkVsfDYscwKpOf5xFtRlXpyyiLfavEaVphuRL/bCcZWdzNfC9Gcio+lTzJeuUtFuK7W/ IkFSJDY+rR2o+0XdtqxW0R6DoklwG1q7vVFbaGhHO29cHQTRfjxVD51CI5gWCo87rLaJ gEA/zwEFuL5IIjXprWoXWiB8b5g9vnOLcSY1NeNEsim48UlaR1uUJ4O9mFkmZ5VtgiGM 4eZMVS049xhuxFBJd3RxklgraBaecVmsXNs9Wk3PxsiOdFj9LMxUnqUBTx0KEcQOEj1c VAZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=urt2o7+kwokbOnd7SJDN1A9+H5v9xXh6+YmTRwWeU4o=; b=ducx30tr4oJlWDvigSNEBR3T4kBMHScrrJWiHZrhJXx6omRaNf3J5RHcCQpfKxNxg0 j0PuLsoSgL067NtCDORSuYOk7PyX8ur+u8YU2zoCc2IzBmU8DxOGRZqOyZYMwgdMI170 5d11hBMEG47BGelv6YKmb1qnjPQxgj2FtFdoh6weT917EXOgV0EL2LTBOs5PGVCzJUla WYLGVTImoyAGUCqpJglzoRLAkB3cmUn3dzFeCxWvXOFWaixQ77qD4ewDADXYcdg/8ngU JvhvNYt8Xst9ewSWaqs0l/j6/opbwEv7gmifIbiznYNr38hu1Q1XYEUZRvRfhPp7BOek RrTA== X-Gm-Message-State: AHQUAuZWvhmuTVtmD9sielCp0V9cT9GPbgL0J3SwZ3FHBX1wWDQHlB5v Ff9UmxXpAnHHWx5eoUqv1huCLw== X-Google-Smtp-Source: AHgI3IbVnacY1A7TXacKnfZ/buLDTLb1VeUlRCoviGQ6yARjyVT9dj/wA8b6GS8/n7MUV1jkL4HzHg== X-Received: by 2002:a17:902:aa8d:: with SMTP id d13mr4553028plr.293.1549985705780; Tue, 12 Feb 2019 07:35:05 -0800 (PST) Received: from [10.15.0.66] ([64.64.108.250]) by smtp.gmail.com with ESMTPSA id z9sm23509601pfd.99.2019.02.12.07.34.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Feb 2019 07:35:04 -0800 (PST) To: Leif Lindholm Cc: linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org, 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 References: <20190201142507.30454-1-ming.huang@linaro.org> <20190201142507.30454-2-ming.huang@linaro.org> <20190212152000.o4xt32iby2jvjp7z@bivouac.eciton.net> From: Ming Huang Message-ID: Date: Tue, 12 Feb 2019 23:34:50 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20190212152000.o4xt32iby2jvjp7z@bivouac.eciton.net> Subject: Re: [PATCH edk2-non-osi v1 1/7] 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: Tue, 12 Feb 2019 15:35:06 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 2/12/2019 11:20 PM, Leif Lindholm wrote: > Change the subject line to: > Hisilicon/D06: remove PCI enumeration dependency from SAS driver > > On Fri, Feb 01, 2019 at 10:25:01PM +0800, Ming Huang wrote: >> SAS controller is always existed, so accessing SAS register don't >> depend on PciBusDxe (pci enumeration). Modify SAS driver remove the >> dependence on pci enumeration. > > And mention here that this is done to improve boot times. > >> Contributed-under: TianoCore Contribution Agreement 1.1 >> Signed-off-by: Ming Huang >> --- >> Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex | Bin 216 -> 36 bytes > > What are the remaining depexes? > Do we have the opportunity to get rid of this .depex? SAS driver is depended on IoInitDxe, IoInitDxe use the variable server, so add variable dependence to let SAS driver run after IoInitDxe. > > / > Leif > >> Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.efi | Bin 221312 -> 220640 bytes >> 2 files changed, 0 insertions(+), 0 deletions(-) >> >> diff --git a/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex >> index 1a5bc1e..e076777 100644 >> Binary files a/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.depex differ >> diff --git a/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.efi b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.efi >> index ac6bae7..4a29e8c 100644 >> Binary files a/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.efi and b/Platform/Hisilicon/D06/Drivers/Sas/SasDriverDxe.efi differ >> -- >> 2.9.5 >>