Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/hyp/
H A Dexception.c88 unsigned long sctlr, vbar, old, new, mode; in enter_exception64() local
104 vbar = __vcpu_read_sys_reg(vcpu, VBAR_EL1); in enter_exception64()
109 vbar = __vcpu_read_sys_reg(vcpu, VBAR_EL2); in enter_exception64()
118 *vcpu_pc(vcpu) = vbar + exc_offset + type; in enter_exception64()
/linux/drivers/vfio/pci/
H A Dvfio_pci_config.c476 __le32 *vbar; in vfio_bar_fixup() local
482 vbar = (__le32 *)&vdev->vconfig[PCI_BASE_ADDRESS_0]; in vfio_bar_fixup()
484 for (i = 0; i < PCI_STD_NUM_BARS; i++, vbar++) { in vfio_bar_fixup()
488 *vbar = 0; /* Unmapped by host = unimplemented to user */ in vfio_bar_fixup()
494 *vbar &= cpu_to_le32((u32)mask); in vfio_bar_fixup()
495 *vbar |= vfio_generate_bar_flags(pdev, bar); in vfio_bar_fixup()
497 if (*vbar & cpu_to_le32(PCI_BASE_ADDRESS_MEM_TYPE_64)) { in vfio_bar_fixup()
498 vbar++; in vfio_bar_fixup()
499 *vbar &= cpu_to_le32((u32)(mask >> 32)); in vfio_bar_fixup()
504 vbar = (__le32 *)&vdev->vconfig[PCI_ROM_ADDRESS]; in vfio_bar_fixup()
[all …]
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dhyp-main.c701 u64 spsr_mask, vbar, sctlr, old_spsr, new_spsr, esr, offset; in inject_undef64() local
705 vbar = read_sysreg_el1(SYS_VBAR); in inject_undef64()
728 write_sysreg_el2(vbar + offset, SYS_ELR); in inject_undef64()