[PATCH v2 0/1] hw/arm/sbsa-ref: add ITS support in GIC

Marcin Juszkiewicz posted 1 patch 10 months, 2 weeks ago
Failed in applying to current master (apply log)
docs/system/arm/sbsa.rst | 14 ++++++++++++++
hw/arm/sbsa-ref.c        | 33 ++++++++++++++++++++++++++++++---
2 files changed, 44 insertions(+), 3 deletions(-)
[PATCH v2 0/1] hw/arm/sbsa-ref: add ITS support in GIC
Posted by Marcin Juszkiewicz 10 months, 2 weeks ago
In 2021 Shashi Mallela sent v8 of GIC ITS patchset [1]. At that time it
was decided to do platform versioning first.

1. https://lore.kernel.org/qemu-devel/20210812165341.40784-8-shashi.mallela@linaro.org/

Now we are going through our list of changes for SBSA Reference Platform
and GIC ITS is one of early ones. There was decision that there will be
no option to disable it and platform version will get a minor bump.

This is refreshed version of v8 one from 2021. GIC ITS is placed behind
GIC Redistributor in memory space to allow use of older EDK2 firmware.

New address is placed in DeviceTree for firmware to use. Due to it we
also bump platform version to 0.2 version.

Trusted Firmware will read GIC ITS address and provide to EDK2 via
Secure Monitor Call (SMC). Same way as it is done with GIC addresses
already.

Changes since v1:
- everything in one patch
- removed bogus check for kvm_irqchip_in_kernel()
- documentation about platform version changes added


Shashi Mallela (1):
  hw/arm/sbsa-ref: add ITS support in SBSA GIC

 docs/system/arm/sbsa.rst | 14 ++++++++++++++
 hw/arm/sbsa-ref.c        | 33 ++++++++++++++++++++++++++++++---
 2 files changed, 44 insertions(+), 3 deletions(-)

-- 
2.40.1
Re: [PATCH v2 0/1] hw/arm/sbsa-ref: add ITS support in GIC
Posted by Peter Maydell 10 months, 2 weeks ago
On Mon, 19 Jun 2023 at 18:09, Marcin Juszkiewicz
<marcin.juszkiewicz@linaro.org> wrote:
>
> In 2021 Shashi Mallela sent v8 of GIC ITS patchset [1]. At that time it
> was decided to do platform versioning first.
>
> 1. https://lore.kernel.org/qemu-devel/20210812165341.40784-8-shashi.mallela@linaro.org/
>
> Now we are going through our list of changes for SBSA Reference Platform
> and GIC ITS is one of early ones. There was decision that there will be
> no option to disable it and platform version will get a minor bump.
>
> This is refreshed version of v8 one from 2021. GIC ITS is placed behind
> GIC Redistributor in memory space to allow use of older EDK2 firmware.
>
> New address is placed in DeviceTree for firmware to use. Due to it we
> also bump platform version to 0.2 version.
>
> Trusted Firmware will read GIC ITS address and provide to EDK2 via
> Secure Monitor Call (SMC). Same way as it is done with GIC addresses
> already.

Applied to target-arm.next, thanks.

-- PMM