Re: [PATCH v5 3/6] LoongArch: KVM: Add cpucfg area for kvm hypervisor

From: Xi Ruoyao
Date: Tue Feb 27 2024 - 04:06:25 EST


On Tue, 2024-02-27 at 15:09 +0800, maobibo wrote:

> It is difficult to find an area unused by HW for CSR method since the
> small CSR ID range.

We may use IOCSR instead. In kernel/cpu-probe.c there are already some
IOCSR reads.

> It is difficult to find an area unused by HW for CSR method since the
> small CSR ID range. However it is easy for cpucfg. Here I doubt whether
> you really know about LoongArch LVZ.

It's unfair to accuse the others for not knowing about LVZ considering
the lack of public documentation.

--
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University