Hi Alistair,
On Mon, Apr 29, 2024 at 11:25 AM Alistair Francis wrote:
>
> On Mon, Apr 15, 2024 at 4:53 PM Yong-Xuan Wang
> wrote:
> >
> > The hart bit setting is different with Linux AIA driver[1] when the number
> > of hart is power of 2. For example, when the guest has 4 harts, the
> > estima
On Mon, Apr 15, 2024 at 4:53 PM Yong-Xuan Wang wrote:
>
> The hart bit setting is different with Linux AIA driver[1] when the number
> of hart is power of 2. For example, when the guest has 4 harts, the
> estimated result of AIA driver is 2, whereas we pass 3 to RISC-V/KVM. Since
> only 2 bits are
The hart bit setting is different with Linux AIA driver[1] when the number
of hart is power of 2. For example, when the guest has 4 harts, the
estimated result of AIA driver is 2, whereas we pass 3 to RISC-V/KVM. Since
only 2 bits are needed to represent 4 harts, update the formula to get the
accur