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::541; helo=mail-pg1-x541.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) (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 638C421191751 for ; Fri, 16 Nov 2018 00:13:27 -0800 (PST) Received: by mail-pg1-x541.google.com with SMTP id r9-v6so10267299pgv.6 for ; Fri, 16 Nov 2018 00:13:27 -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=Na8yBspKYO/nVHodcgLdk0+K7wS9AUVsQ5bLl7uT13w=; b=EsnyX8ZIAHtm+ZAaVYvSil6HedRs7gUfu0J3sMmU2h8msUKTo5GwgBj7VJTGZ57r6W 6djSF9Eu/56Se/cZlccal6U7AKhSf2e7uXPaB02A6LKVSD+Y/Zm5/vWE45C5k5qA1luD 91JRAHE3s4K5SYsXaBtL+S5AGQBQyu+LIxIFw= 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=Na8yBspKYO/nVHodcgLdk0+K7wS9AUVsQ5bLl7uT13w=; b=GXWf0uCiNY9Fk1Tdy7XVCnhvWZz4TRAoXJq4flzdr9eRJ11rJN4tkj+dSUtKgUOmPt ET4dahLHYLoemix1AMx2FBZznqGZnIAFQ3G43wcciW7M/wVhcNXzzphwey5qM5SnerA2 iRLjzbWsa+L1KlhS/N+aedSnXGws/LPzEDa3FBKl0ON1aUzxx6C5RZ5AS0GmO9YgLREE fAR8wP5ttxv+XANK/Z00YdRUa02BKU6bPMmnEcFLDHsuNxGhIswZZN6G6wfP3shOM848 Yz/cZ4w8kZGupMU5qjSiZIqU9sKOYf23fwgIUYS0ypwoG66z4ed+2QOXffHyUsLESRNk myrw== X-Gm-Message-State: AGRZ1gKpwAMRf1qODF2AsejaK3KooTLfa0GSHI2Vq+KQYrJyyt1hQ0KL 8r2FlpKQ89r247FVFzryE6bJ0w== X-Google-Smtp-Source: AJdET5ftoGAPn5Jj6Z5cTiPzuR0vbA4CnrChHVEzMgTWoZPDMfOOQLKgEXD6t+vMR3tZsyr8mZH2jA== X-Received: by 2002:a63:a41:: with SMTP id z1mr8991953pgk.117.1542356007067; Fri, 16 Nov 2018 00:13:27 -0800 (PST) Received: from localhost.localdomain ([203.160.91.226]) by smtp.gmail.com with ESMTPSA id g64-v6sm33866620pfe.37.2018.11.16.00.13.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Nov 2018 00:13:26 -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, xinliang.liu@linaro.org, zhangfeng56@huawei.com, Ming Huang Date: Fri, 16 Nov 2018 16:13:06 +0800 Message-Id: <20181116081306.33385-5-ming.huang@linaro.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20181116081306.33385-1-ming.huang@linaro.org> References: <20181116081306.33385-1-ming.huang@linaro.org> Subject: [PATCH edk2-non-osi v2 4/4] Hisilicon/D06: Fix SBSA PE-15 failed issue 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: Fri, 16 Nov 2018 08:13:27 -0000 PE test case 15 flow: Primary core(cacheable shareable) and slave cores(non-cacheable) access the same memory area for communication. For each slave core{ 1 Turn on slave core; 2 run the payload function; 3 Write result in memory to notify primary core and follow clean and invalidate instruction; 4 Slave core turn off itself; } The result in DDR may rewrite by cache data. The essence of this problem is that primary core and slave core access the same area with different cache attribute. Configure L3T register to fix this issue; Build commit informations: edk2:53caffc33b6 edk2-platforms:d4d7e39886a HwPkg:6e91ea20fda TrustedFirmware:5888a78d43c Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang --- Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi | Bin 230784 -> 232832 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi index 8b6d740..e32c056 100644 Binary files a/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi and b/Platform/Hisilicon/D06/Drivers/IoInitDxe/IoInitDxe.efi differ -- 2.9.5