Home
last modified time | relevance | path

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

/linux-5.19.10/arch/arm64/kernel/
Dsdei.c249 unsigned long vbar = read_sysreg(vbar_el1); in do_sdei_event() local
291 return vbar + 0x280; in do_sdei_event()
293 return vbar + 0x680; in do_sdei_event()
295 return vbar + 0x480; in do_sdei_event()
/linux-5.19.10/arch/arm64/kvm/hyp/
Dexception.c83 unsigned long sctlr, vbar, old, new, mode; in enter_exception64() local
99 vbar = __vcpu_read_sys_reg(vcpu, VBAR_EL1); in enter_exception64()
108 *vcpu_pc(vcpu) = vbar + exc_offset + type; in enter_exception64()
/linux-5.19.10/drivers/vfio/pci/
Dvfio_pci_config.c470 __le32 *vbar; in vfio_bar_fixup() local
476 vbar = (__le32 *)&vdev->vconfig[PCI_BASE_ADDRESS_0]; in vfio_bar_fixup()
478 for (i = 0; i < PCI_STD_NUM_BARS; i++, vbar++) { in vfio_bar_fixup()
482 *vbar = 0; /* Unmapped by host = unimplemented to user */ in vfio_bar_fixup()
488 *vbar &= cpu_to_le32((u32)mask); in vfio_bar_fixup()
489 *vbar |= vfio_generate_bar_flags(pdev, bar); in vfio_bar_fixup()
491 if (*vbar & cpu_to_le32(PCI_BASE_ADDRESS_MEM_TYPE_64)) { in vfio_bar_fixup()
492 vbar++; in vfio_bar_fixup()
493 *vbar &= cpu_to_le32((u32)(mask >> 32)); in vfio_bar_fixup()
498 vbar = (__le32 *)&vdev->vconfig[PCI_ROM_ADDRESS]; in vfio_bar_fixup()
[all …]