Home
last modified time | relevance | path

Searched refs:vbar (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/arch/arm64/kernel/
Dsdei.c220 unsigned long vbar = read_sysreg(vbar_el1); in do_sdei_event() local
262 return vbar + 0x280; in do_sdei_event()
264 return vbar + 0x680; in do_sdei_event()
266 return vbar + 0x480; in do_sdei_event()
/Linux-v6.6/arch/arm64/kvm/hyp/
Dexception.c94 unsigned long sctlr, vbar, old, new, mode; in enter_exception64() local
110 vbar = __vcpu_read_sys_reg(vcpu, VBAR_EL1); in enter_exception64()
115 vbar = __vcpu_read_sys_reg(vcpu, VBAR_EL2); in enter_exception64()
124 *vcpu_pc(vcpu) = vbar + exc_offset + type; in enter_exception64()
/Linux-v6.6/drivers/vfio/pci/
Dvfio_pci_config.c471 __le32 *vbar; in vfio_bar_fixup() local
477 vbar = (__le32 *)&vdev->vconfig[PCI_BASE_ADDRESS_0]; in vfio_bar_fixup()
479 for (i = 0; i < PCI_STD_NUM_BARS; i++, vbar++) { in vfio_bar_fixup()
483 *vbar = 0; /* Unmapped by host = unimplemented to user */ in vfio_bar_fixup()
489 *vbar &= cpu_to_le32((u32)mask); in vfio_bar_fixup()
490 *vbar |= vfio_generate_bar_flags(pdev, bar); in vfio_bar_fixup()
492 if (*vbar & cpu_to_le32(PCI_BASE_ADDRESS_MEM_TYPE_64)) { in vfio_bar_fixup()
493 vbar++; in vfio_bar_fixup()
494 *vbar &= cpu_to_le32((u32)(mask >> 32)); in vfio_bar_fixup()
499 vbar = (__le32 *)&vdev->vconfig[PCI_ROM_ADDRESS]; in vfio_bar_fixup()
[all …]