qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 41/41] hw/arm/virt: Support TCG GICv4


From: Richard Henderson
Subject: Re: [PATCH 41/41] hw/arm/virt: Support TCG GICv4
Date: Sat, 9 Apr 2022 13:55:35 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 4/8/22 07:15, Peter Maydell wrote:
Add support for the TCG GICv4 to the virt board. For the board,
the GICv4 is very similar to the GICv3, with the only difference
being the size of the redistributor frame. The changes here are thus:
  * calculating virt_redist_capacity correctly for GICv4
  * changing various places which were "if GICv3" to be "if not GICv2"
  * the commandline option handling

Note that using GICv4 reduces the maximum possible number of CPUs on
the virt board from 512 to 317, because we can now only fit half as
many redistributors into the redistributor regions we have defined.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  docs/system/arm/virt.rst |  5 ++-
  include/hw/arm/virt.h    | 12 +++++--
  hw/arm/virt.c            | 70 ++++++++++++++++++++++++++++++----------
  3 files changed, 67 insertions(+), 20 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]