Re: [PATCH] hvf: arm: Add support for GICv3

2023-03-10 Thread Peter Maydell
On Fri, 10 Mar 2023 at 04:55, Joelle van Dyne wrote: > > On Mon, Dec 19, 2022 at 2:08 PM Alexander Graf wrote: > > > > We currently only support GICv2 emulation. To also support GICv3, we will > > need to pass a few system registers into their respective handler functions. > > > > This patch

Re: [PATCH] hvf: arm: Add support for GICv3

2023-03-09 Thread Joelle van Dyne
On Mon, Dec 19, 2022 at 2:08 PM Alexander Graf wrote: > > We currently only support GICv2 emulation. To also support GICv3, we will > need to pass a few system registers into their respective handler functions. > > This patch adds support for HVF to call into the TCG callbacks for GICv3 > system

Re: [PATCH] hvf: arm: Add support for GICv3

2023-01-28 Thread Alexander Graf
On 06.01.23 17:37, Peter Maydell wrote: On Mon, 19 Dec 2022 at 22:08, Alexander Graf wrote: We currently only support GICv2 emulation. To also support GICv3, we will need to pass a few system registers into their respective handler functions. This patch adds support for HVF to call into the

Re: [PATCH] hvf: arm: Add support for GICv3

2023-01-06 Thread Peter Maydell
On Mon, 19 Dec 2022 at 22:08, Alexander Graf wrote: > > We currently only support GICv2 emulation. To also support GICv3, we will > need to pass a few system registers into their respective handler functions. > > This patch adds support for HVF to call into the TCG callbacks for GICv3 > system

Re: [PATCH] hvf: arm: Add support for GICv3

2022-12-20 Thread Zenghui Yu via
On 2022/12/20 15:37, Alexander Graf wrote: Hi Zenghui, On 20.12.22 08:14, Zenghui Yu wrote: On 2022/12/20 6:08, Alexander Graf wrote: We currently only support GICv2 emulation. Before looking into it, I think it's worth finalizing the GIC version in the hvf case - only v2 is allowed and

Re: [PATCH] hvf: arm: Add support for GICv3

2022-12-19 Thread Alexander Graf
Hi Zenghui, On 20.12.22 08:14, Zenghui Yu wrote: On 2022/12/20 6:08, Alexander Graf wrote: We currently only support GICv2 emulation. Before looking into it, I think it's worth finalizing the GIC version in the hvf case - only v2 is allowed and fail early if user selects the unsupported

Re: [PATCH] hvf: arm: Add support for GICv3

2022-12-19 Thread Zenghui Yu via
On 2022/12/20 6:08, Alexander Graf wrote: We currently only support GICv2 emulation. Before looking into it, I think it's worth finalizing the GIC version in the hvf case - only v2 is allowed and fail early if user selects the unsupported versions. Currently finalize_gic_version() does not

[PATCH] hvf: arm: Add support for GICv3

2022-12-19 Thread Alexander Graf
We currently only support GICv2 emulation. To also support GICv3, we will need to pass a few system registers into their respective handler functions. This patch adds support for HVF to call into the TCG callbacks for GICv3 system register handlers. This is safe because the GICv3 TCG code is