Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/device/irqchip/gicv3/gits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,19 @@ impl Cmdq {
0x0d => {
debug!("INVALL cmd");
}
0x01 => {
let vicid = value[2] & 0xffff;
let icid = vicid_to_icid(vicid, cpuset_bitmap)
.expect("vicid to icid failed, maybe logical_id out of range");
new_cmd[2] &= !0xffffu64;
new_cmd[2] |= icid & 0xffff;
debug!(
"MOVI, for Device {:#x}, new vicid({}) -> icid({})",
value[0] >> 32,
vicid,
icid
);
}
_ => {
debug!("other cmd, code: 0x{:x}", code);
}
Expand Down