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:c05::241; helo=mail-pg0-x241.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (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 3E05221B00DCD for ; Wed, 8 Nov 2017 19:27:07 -0800 (PST) Received: by mail-pg0-x241.google.com with SMTP id j3so3649294pga.1 for ; Wed, 08 Nov 2017 19:31:08 -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=kGfiCGW78KTVEPlsaCdyBvAWp8KN0jTpdMbSLqHqdzw=; b=cdlhjyEHD26pPO2ky+/z2cghg4TWOJPd51WNTcI8K/UMvfmC/L9tFgTbdCrl5UxEjF JKUbsOIvcCJIZnArwaILzN8GsgkGK7LROQjkmcvvGCrW8OibUwD2G6f9kkRa4YE61Ocz FqzQLTwTDLZqXb6OzT6QUEn/4fCcw/lUdr61Q= 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=kGfiCGW78KTVEPlsaCdyBvAWp8KN0jTpdMbSLqHqdzw=; b=muHNvgoaV+AM8dL8US9efgOC1zkW+vuhHohNfwkPJCYy24W30hjopb1MOg5NqbEqdP seHRdJdHexOXH3v1+XNv3nU34mzWSmr1t2MuDxGxJxH5ql/bz7tg+o7WF9IDbZBRjjfx f6iOjRFMTeiJDNWSjHC0AS65BJZatDfcdIQREijl/JKYDqg84bl6sX1LCLVyG9JlSFPc c55/J7ZGZNVYlf8I/LcC5GWafTqOq3coVNU6lj0mKHmA028kg+TmYUC5jKeSCgROEvTa dnejDWP9W66/quXpeOS0qC14UpaFUE/9DM6tPVLtGKmv4OE8zahiu6fZre1wNpKemWux 2Kbg== X-Gm-Message-State: AJaThX5akpB3KJziUa1rOxV5zyHogxF4t5cCfez6iSzOsmuOMCk7JJzq OuqLs/RradjM5GWPVR46IEOUjg== X-Google-Smtp-Source: ABhQp+Rr0fmjTL8Qmjet8O8Rbe0beKKSIFmRw93noehd/aB61iAi7MurROuRrSl7psVkO0y6W5YAGw== X-Received: by 10.84.215.129 with SMTP id l1mr2432042pli.181.1510198268373; Wed, 08 Nov 2017 19:31:08 -0800 (PST) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id y27sm10379717pfi.107.2017.11.08.19.31.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Nov 2017 19:31:07 -0800 (PST) From: Ming Huang X-Google-Original-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, mengfanrong@huawei.com, waip23@126.com, Liu Yi , Heyi Guo Date: Thu, 9 Nov 2017 11:30:34 +0800 Message-Id: <1510198234-50072-2-git-send-email-huangming23@huawei.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1510198234-50072-1-git-send-email-huangming23@huawei.com> References: <1510198234-50072-1-git-send-email-huangming23@huawei.com> Subject: [PATCH edk2-non-osi v1] Hisilicon D0x: Remove uncacheable attribute from memory resource HOB X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 03:27:07 -0000 If uncacheable attribute is included in memory resource HOB, GCD spaces will also have EFI_MEMORY_UC capability, then NonCoherentPciIoAllocateBuffer of NonDiscoverablePciDeviceDxe module will allocate DMA buffer of EFI_MEMORY_UC type, which will cause alignment fault exception with BaseMemoryLibOptDxe. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liu Yi Signed-off-by: Heyi Guo --- Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi | Bin 90272 -> 90336 bytes Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi | Bin 152576 -> 152480 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi b/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi index 354abcc..31e2903 100644 Binary files a/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi and b/Platform/Hisilicon/D03/MemoryInitPei/MemoryInit.efi differ diff --git a/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi b/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi index b94e0cb..eb71c44 100644 Binary files a/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi and b/Platform/Hisilicon/D05/MemoryInitPei/MemoryInit.efi differ -- 1.9.1