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:c00::241; helo=mail-pf0-x241.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::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 E0BA22034D81F for ; Tue, 7 Nov 2017 04:53:15 -0800 (PST) Received: by mail-pf0-x241.google.com with SMTP id b85so10255326pfj.13 for ; Tue, 07 Nov 2017 04:57:15 -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; bh=0vglQc5CO3mzx+zR2loDxgyBIheryXeJlwSVI5wW2LY=; b=Ty+hGS0ByF1UROUBD27pMGBy9SXQdUTuaSVQCDmiYLZs/uotpPHt2Dfc+7YrDTikWx oRS6/dwUlIs7LokV+0fKPQocycSnIG8cX1thvaz0izYyRm0AIvkItS/F7jBaSN/GSFeU UptQ1COuqo+yPaj4G74fAUtGpKXsCP6TZt2aQ= 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; bh=0vglQc5CO3mzx+zR2loDxgyBIheryXeJlwSVI5wW2LY=; b=DuUlTLZjDqQAW093SkD8blns/fCJj5uMQR9yKJphbFoVnpVB9yv1xWn5Ce/mEc1gct 4tJAvawl7EHBA+Z+rVyCb+Nx80B8rM3qlBsj5NSDUiRpWcVGZkwmjpY4lX93agoSRB7h 4K+QthtOsnDXbgVgvDZ7351SbUWo9/iPjx9rd2aZWIDAy0Y/RrnoXIFMH1pXTpARwBT9 Mu3QHhDIc8g8VaNYSVdg2NaVBbUWlWSsmNcQMJKy+yTp8IB2OmXAC9JNl/aug6NtNrfi +ikSUMpRy6FN15h4qVB9OuBQVJ4cK0pt4heEraMK3vp/mnVuedQRNinWQTmKP2nnSwWd P48w== X-Gm-Message-State: AMCzsaVLl+/9QMKtYUbMOALfVg0SEMeV2kOz+SRl2O2Am4YS47RQp5X/ Rkx2Ea8u96MLLKJRWvQ/oqW/Xw== X-Google-Smtp-Source: ABhQp+QcIwO3K0kjdYWc3rZrvJMGhZXmlkz1KndJis2rE4HTZ/ItLT84VE/mxh3B/YvO3d9xrfJAFQ== X-Received: by 10.84.240.196 with SMTP id l4mr17914904plt.149.1510059435112; Tue, 07 Nov 2017 04:57:15 -0800 (PST) Received: from szxbz956.huaweiobz.com ([45.56.152.90]) by smtp.gmail.com with ESMTPSA id 66sm2700731pgh.31.2017.11.07.04.57.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Nov 2017 04:57:14 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, Heyi Guo Date: Tue, 7 Nov 2017 20:56:50 +0800 Message-Id: <1510059411-6608-1-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.7.2.windows.1 Subject: [PATCH] ArmPkg/ArmMmuLib: Add new attribute 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: Tue, 07 Nov 2017 12:53:16 -0000 V1 changes upon RFC version: 1. Rename NONSHARE to NONSHAREABLE per review comments. 2. Place these two uncommon attributes after normal WRITE_BACK attributes to imply they should not be used by default. 3. Add warnning comments. Peicong Li (1): ArmPkg/ArmMmuLib: Add new attribute WRITE_BACK_NONSHAREABLE ArmPkg/Include/Library/ArmLib.h | 7 +++++++ ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | 4 ++++ 2 files changed, 11 insertions(+) -- 2.7.2.windows.1