diff options
| author | Yong-Xuan Wang <yongxuan.wang@sifive.com> | 2023-12-18 09:05:41 +0000 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2024-01-10 18:47:47 +1000 |
| commit | 871dad3a19c660e17c412b1bc969195f814933c8 (patch) | |
| tree | ce9a0ef0e58963be12c4352dd8d1626191a3aee4 /scripts/update-linux-headers.sh | |
| parent | dfa3c4c57e15912962b7d51c9b4099f46af41991 (diff) | |
| download | focaccia-qemu-871dad3a19c660e17c412b1bc969195f814933c8.tar.gz focaccia-qemu-871dad3a19c660e17c412b1bc969195f814933c8.zip | |
target/riscv/kvm.c: remove group setting of KVM AIA if the machine only has 1 socket
The emulated AIA within the Linux kernel restores the HART index of the IMSICs according to the configured AIA settings. During this process, the group setting is used only when the machine partitions harts into groups. It's unnecessary to set the group configuration if the machine has only one socket, as its address space might not contain the group shift. Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com> Reviewed-by: Jim Shu <jim.shu@sifive.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Message-ID: <20231218090543.22353-2-yongxuan.wang@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/update-linux-headers.sh')
0 files changed, 0 insertions, 0 deletions