mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 08:04:55 +00:00
hv: refine 'uint64_t' string print format in x86 moudle
Use "0x%lx" string to format 'uint64_t' type value, instead of "0x%llx". Tracked-On: #4020 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
@@ -160,7 +160,7 @@ static void ptirq_build_physical_msi(struct acrn_vm *vm, struct ptirq_msi_info *
|
||||
info->pmsi_addr.bits.rh = MSI_ADDR_RH;
|
||||
info->pmsi_addr.bits.dest_mode = MSI_ADDR_DESTMODE_LOGICAL;
|
||||
}
|
||||
dev_dbg(ACRN_DBG_IRQ, "MSI %s addr:data = 0x%llx:%x(V) -> 0x%llx:%x(P)",
|
||||
dev_dbg(ACRN_DBG_IRQ, "MSI %s addr:data = 0x%lx:%x(V) -> 0x%lx:%x(P)",
|
||||
(info->pmsi_addr.ir_bits.intr_format != 0U) ? " Remappable Format" : "Compatibility Format",
|
||||
info->vmsi_addr.full, info->vmsi_data.full,
|
||||
info->pmsi_addr.full, info->pmsi_data.full);
|
||||
@@ -548,7 +548,7 @@ void ptirq_softirq(uint16_t pcpu_id)
|
||||
entry->allocated_pirq,
|
||||
msi->vmsi_data.bits.vector,
|
||||
irq_to_vector(entry->allocated_pirq));
|
||||
dev_dbg(ACRN_DBG_PTIRQ, " vmsi_addr: 0x%llx vmsi_data: 0x%x",
|
||||
dev_dbg(ACRN_DBG_PTIRQ, " vmsi_addr: 0x%lx vmsi_data: 0x%x",
|
||||
msi->vmsi_addr.full,
|
||||
msi->vmsi_data.full);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user