[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] xen/arm: Enable CPU Errata 1165522 for Neoverse
- To: Julien Grall <julien@xxxxxxx>
- From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
- Date: Tue, 18 Aug 2020 14:15:02 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yS+7qyAP2Y/s0iAkSuxOvlLd6GhNP1YLlPrqUoSlGo4=; b=emlZhsU48hqevlFytIuKeTq8nVEMXSgOzjHbr09EsshED6wCDrTMSHPsYOt3fylPp7cw1kScgsBGEYfiKkPZlmkydYtyWHTp9wCLwnhOwK/eqUjzrL3vcHkE83NxI7vvtrxYKp6hdDba/jrAgkQbCCgOcgpXNOYWg37PkRWRG7B0xu+Bg8kyqw3lr5vvmT6TSW61BErV9rJkorv4d9Ck5mqVwOf5ZwslSI/cGpU+vb6XzVkdIcETFmHiYhlkYzajbaeTqbx+vCU5gq5c94SrcHHCKZETNbD2dRovZxfq9ZWvTKV+O16IaQKBxQ4pc7UgJejY8zhuONiCrwkVtPdAXA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WyQvbGniV5R1aug9ZGHxS9UA3JlKnV4lhX26hxeHNNkuyaHkqvb6dYHdMEq/oZcvwdZXT2tkWvrHYz7nOdzjI4IbZuhR12LC6Si8/zqsHSzlbKU6lJd4eoEwWjDYGE2cRmJLOIbOLHKST+A97RPCB4XgaJDP6PUCNQdqniFMcWOfcMTF0nZqaoTpb80GKRL9Tx7CZREYBfwsvC+c6ujqcDexAOA3dq8YJOtB8ukU/+/+/Hw1dBv/d3w8GWMo4acAOGBnXf/if4FJV3DHorSCHe1Kg18nxJqRqYQ4KuHpeGaz0sxWX8k4/17FewL3TO9x2+eF9y8jku/ckdwmA5XVXA==
- Authentication-results-original: xen.org; dkim=none (message not signed) header.d=none;xen.org; dmarc=none action=none header.from=arm.com;
- Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, nd <nd@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Wei Chen <Wei.Chen@xxxxxxx>, Andre Przywara <Andre.Przywara@xxxxxxx>
- Delivery-date: Tue, 18 Aug 2020 14:15:53 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: xen.org; dkim=none (message not signed) header.d=none;xen.org; dmarc=none action=none header.from=arm.com;
- Thread-index: AQHWdT2y/OacB61ZH0CMlwNCwz+bzKk96EUAgAABK4A=
- Thread-topic: [PATCH 2/2] xen/arm: Enable CPU Errata 1165522 for Neoverse
> On 18 Aug 2020, at 15:10, Julien Grall <julien@xxxxxxx> wrote:
>
> Hi Bertrand,
>
> There is only one. So it should be erratum :).
True my years of latin are quite far ;-)
Anyway grep for errata in commit logs would be defeated if we put erratum
instead of errata.
>
> On 18/08/2020 14:47, Bertrand Marquis wrote:
>> Enable CPU errata of Speculative AT on the Neoverse N1 processor
>
> Ditto.
>
>> versions r0p0 to r2p0.
>> Also Fix Cortex A76 Errata string which had a wrong errata number.
>
> Ditto.
>
> And good catch for the typo :).
>
>> Signed-off-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
>
> All the NITs can be fixed during commit:
>
> Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
Thanks
Bertrand
>
> Cheers,
>
>> ---
>> xen/arch/arm/cpuerrata.c | 8 +++++++-
>> 1 file changed, 7 insertions(+), 1 deletion(-)
>> diff --git a/xen/arch/arm/cpuerrata.c b/xen/arch/arm/cpuerrata.c
>> index 0248893de0..6c09017515 100644
>> --- a/xen/arch/arm/cpuerrata.c
>> +++ b/xen/arch/arm/cpuerrata.c
>> @@ -476,9 +476,15 @@ static const struct arm_cpu_capabilities arm_errata[] =
>> {
>> .matches = has_ssbd_mitigation,
>> },
>> #endif
>> + {
>> + /* Neoverse r0p0 - r2p0 */
>> + .desc = "ARM erratum 1165522",
>> + .capability = ARM64_WORKAROUND_AT_SPECULATE,
>> + MIDR_RANGE(MIDR_NEOVERSE_N1, 0, 2 << MIDR_VARIANT_SHIFT),
>> + },
>> {
>> /* Cortex-A76 r0p0 - r2p0 */
>> - .desc = "ARM erratum 116522",
>> + .desc = "ARM erratum 1165522",
>> .capability = ARM64_WORKAROUND_AT_SPECULATE,
>> MIDR_RANGE(MIDR_CORTEX_A76, 0, 2 << MIDR_VARIANT_SHIFT),
>> },
>
> --
> Julien Grall
|