From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 2FAA1D8118D for ; Thu, 11 Jul 2024 10:47:01 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=M8c8jc09BnqL3u8vEfOpzprx3yX3jnxKh+zUcNitzHc=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:Organization:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1720694820; v=1; b=hb4nwvD5Do3Sqxca3274qa7OyjQuLRs9bRgPX39IT/Gf+RjOR2MNWqv4sYfNpPm6hSO1dRQZ pF39afnHnx2Icf2ODJf0zlivlzZ7nIHE/CChkDKsH3IicV/cBo5Abu00d65RThNftsvwP/D6t+X scdWsoJohX2MbfIzdpaUlq5cYD2Vy9GLKPYGOZz5uADwH2rPS9vzfCyXaYfJsACBZDm3RnS1bFe l48pl47TkhZq4aQRz8Wda5rRhFi86g6RUBlIdiIAUgWbhpLgj4PICjaEsZsXMZxvy87ZeNvHpJ/ T7L2M2HELLf5F+qr5Wv/AvTlvG2AFYjFxWVCzYqIfakxw== X-Received: by 127.0.0.2 with SMTP id XSvuYY7687511xueCZmzG4LR; Thu, 11 Jul 2024 03:46:59 -0700 X-Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by mx.groups.io with SMTP id smtpd.web11.9000.1720694813925815279 for ; Thu, 11 Jul 2024 03:46:54 -0700 X-Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a77abe5c709so91969466b.2 for ; Thu, 11 Jul 2024 03:46:53 -0700 (PDT) X-Gm-Message-State: eO9zOjDa8VcJJj4RTgyLdjVJx7686176AA= X-Google-Smtp-Source: AGHT+IEIDNmdkLDRM7S6l6NnxhRkxduHhFyPkNxa4rM/lK3Qer/C4jzUtpgGM3MYdfP4cQwkVUmx1w== X-Received: by 2002:a17:906:408e:b0:a72:7603:49ef with SMTP id a640c23a62f3a-a780b6fee60mr486807666b.35.1720694811882; Thu, 11 Jul 2024 03:46:51 -0700 (PDT) X-Received: from [192.168.200.25] (83.8.74.165.ipv4.supernova.orange.pl. [83.8.74.165]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a780a86ed1bsm241531066b.196.2024.07.11.03.46.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jul 2024 03:46:51 -0700 (PDT) Message-ID: Date: Thu, 11 Jul 2024 12:46:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH edk2-platforms v4 6/6] SbsaQemu: export proper cache values in PPTT To: devel@edk2.groups.io Cc: Xiong Yining , Leif Lindholm , Ard Biesheuvel , Graeme Gregory , Chen Baozi , Jonathan Cameron References: <20240710-acpi65-v4-0-bc32224e4be4@linaro.org> <17E0EB7A956FDF20.24858@groups.io> From: "Marcin Juszkiewicz" Organization: Linaro In-Reply-To: <17E0EB7A956FDF20.24858@groups.io> Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 11 Jul 2024 03:46:54 -0700 Resent-From: marcin.juszkiewicz@linaro.org Reply-To: devel@edk2.groups.io,marcin.juszkiewicz@linaro.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Language: pl-PL, en-GB, en-HK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=hb4nwvD5; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linaro.org (policy=none) On 10.07.2024 19:52, Marcin Juszkiewicz via groups.io wrote: > We were exporting fake cpu cache values instead of reading them from > CCSIDR registers. >=20 > This change gets rid of fake values in favour of existing ones. >=20 > Code taken from Ampere platform core. >=20 > Reported-by: Jonathan Cameron > Signed-off-by: Marcin Juszkiewicz This patch needs work. As this way only works for older cores (before=20 Neoverse-V1). Need to check FEAT_CCIDX and if it present then calculate caches properly. -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119892): https://edk2.groups.io/g/devel/message/119892 Mute This Topic: https://groups.io/mt/107160170/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-