Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm64/kernel/
Dsdei.c171 unsigned long vbar = read_sysreg(vbar_el1); in _sdei_handler() local
219 return vbar + 0x280; in _sdei_handler()
221 return vbar + 0x680; in _sdei_handler()
223 return vbar + 0x480; in _sdei_handler()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dinject_fault.c49 unsigned long sctlr, vbar, old, new, mode; in enter_exception64() local
65 vbar = vcpu_read_sys_reg(vcpu, VBAR_EL1); in enter_exception64()
74 *vcpu_pc(vcpu) = vbar + exc_offset + type; in enter_exception64()
/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci_config.c467 __le32 *vbar; in vfio_bar_fixup() local
473 vbar = (__le32 *)&vdev->vconfig[PCI_BASE_ADDRESS_0]; in vfio_bar_fixup()
475 for (i = 0; i < PCI_STD_NUM_BARS; i++, vbar++) { in vfio_bar_fixup()
479 *vbar = 0; /* Unmapped by host = unimplemented to user */ in vfio_bar_fixup()
485 *vbar &= cpu_to_le32((u32)mask); in vfio_bar_fixup()
486 *vbar |= vfio_generate_bar_flags(pdev, bar); in vfio_bar_fixup()
488 if (*vbar & cpu_to_le32(PCI_BASE_ADDRESS_MEM_TYPE_64)) { in vfio_bar_fixup()
489 vbar++; in vfio_bar_fixup()
490 *vbar &= cpu_to_le32((u32)(mask >> 32)); in vfio_bar_fixup()
495 vbar = (__le32 *)&vdev->vconfig[PCI_ROM_ADDRESS]; in vfio_bar_fixup()
[all …]