From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::232; helo=mail-pl0-x232.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x232.google.com (mail-pl0-x232.google.com [IPv6:2607:f8b0:400e:c01::232]) (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 CF69E20349D98 for ; Wed, 4 Jul 2018 00:49:48 -0700 (PDT) Received: by mail-pl0-x232.google.com with SMTP id w8-v6so2286312ply.8 for ; Wed, 04 Jul 2018 00:49:48 -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=2AGlC57hBTZxSIH1jAIwd7HFIBtfj8InV4FvWEDOFKY=; b=Dxg2WwzFkKx6TGaKyfovw/YdfIljh2flBXHOgQ2zz3Ir3Dd6cnCud7/En2ol2AqDIY QuCXM7eqnvSh5bQQNNrQW58WdfVA0JMh9Yts+FdClPxbh1mgU3FZyaHzJzetF24O28De KjacLSs2Ex29EXsyWkdzz5++Jr1smzkORv1GM= 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=2AGlC57hBTZxSIH1jAIwd7HFIBtfj8InV4FvWEDOFKY=; b=iHDiDysr1HgY5UqESxIHHPfm2Kvx9ggST+9oAj9zqGR0MNt+PXT/RlUwRZJtPF+KrK IwHt/lV5xxvMtuY7QGBWx4IzmlZllmvvRnqjd+t4cX5CodkqW6pZIVZ2w9AQ5+5RpOAu svn7sff46stD3sUbpXUUL7XHGqeqyET8ze4gsuiNgN9ahnEdpYNGCYuw2XwJ5wuTjYpD kFR14NlS1g/gRjF++78pdV76YkhAW8q9XthWtQETgosnoJua+z3d8jU6I7eS8T7P9VLw rx41/jMoIr+uubreqkBbvaukL8228+tAu43vy54q+gm1fVYxRhdcxQXn7p2zfTJdFXQ1 UUvw== X-Gm-Message-State: APt69E07BqgEaqSoRpaa4BuKSNQUbCTrXpehCymJ9PLpY1UCO0fbS/tn ctAPnlcnwGeuQjITsBnRrnQMlQ== X-Google-Smtp-Source: AAOMgpcNZq7T8MAfUYYMEejueLH201t0JsRGzxavgzpkRf6ZlESP4iuPZPIQ8uAcGuywVsNr5VRStA== X-Received: by 2002:a17:902:3303:: with SMTP id a3-v6mr1028679plc.209.1530690588499; Wed, 04 Jul 2018 00:49:48 -0700 (PDT) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id s8-v6sm7129747pfi.154.2018.07.04.00.49.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jul 2018 00:49:47 -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, guoheyi@huawei.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, john.garry@huawei.com, Ming Huang Date: Wed, 4 Jul 2018 15:49:30 +0800 Message-Id: <20180704074930.7329-2-ming.huang@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180704074930.7329-1-ming.huang@linaro.org> References: <20180704074930.7329-1-ming.huang@linaro.org> Subject: [PATCH edk2-non-osi v1 1/1] Hisilicon/D0x: Fix invoke SetMemorySpaceAttributes error bug X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2018 07:49:49 -0000 The edk2 commit bacfd6e let CpuDxe running latter. CpuDxe is needed by gDS->SetMemorySpaceAttributes, and gDS->SetMemorySpaceAttributes is invoked by some drivers. This issue can solve by adding Depex on gEfiCpuArchProtocolGuid to SFCDriver. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang --- Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.depex | Bin 2 -> 36 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.depex b/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.depex index 2a47cc2..e5c4b16 100644 Binary files a/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.depex and b/Platform/Hisilicon/D05/Drivers/SFC/SFCDriver.depex differ -- 2.17.0