diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2024-11-26 16:41:42 +0800 |
|---|---|---|
| committer | Bibo Mao <maobibo@loongson.cn> | 2025-03-05 09:39:17 +0800 |
| commit | 8ccf28c2f6cf54c82485de099b4566b260893445 (patch) | |
| tree | cd2755cb902ceb1fee2c1c6509502d9496ae3d63 /rust/qemu-api/src/bitops.rs | |
| parent | 087a23a87c57725f8653aea9be70a2d55cf0309e (diff) | |
| download | focaccia-qemu-8ccf28c2f6cf54c82485de099b4566b260893445.tar.gz focaccia-qemu-8ccf28c2f6cf54c82485de099b4566b260893445.zip | |
hw/loongarch/virt: Add CPU topology support
Add topological relationships for Loongarch VCPU and initialize topology member variables. On LoongArch system there is socket/core/thread topo information, physical CPU id is calculated from CPU topo, every topo sub-field is aligned by power of 2. So it is different from logical cpu index. Co-developed-by: Xianglai Li <lixianglai@loongson.cn> Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Diffstat (limited to 'rust/qemu-api/src/bitops.rs')
0 files changed, 0 insertions, 0 deletions