Home
last modified time | relevance | path

Searched refs:hbase (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/arch/riscv/kernel/
Dsbi.c253 unsigned long hartid, cpuid, hmask = 0, hbase = 0, htop = 0; in __sbi_send_ipi_v02() local
264 hbase + BITS_PER_LONG <= hartid) { in __sbi_send_ipi_v02()
267 hbase, 0, 0, 0, 0); in __sbi_send_ipi_v02()
271 } else if (hartid < hbase) { in __sbi_send_ipi_v02()
273 hmask <<= hbase - hartid; in __sbi_send_ipi_v02()
274 hbase = hartid; in __sbi_send_ipi_v02()
278 hbase = hartid; in __sbi_send_ipi_v02()
283 hmask |= BIT(hartid - hbase); in __sbi_send_ipi_v02()
288 hmask, hbase, 0, 0, 0, 0); in __sbi_send_ipi_v02()
298 __func__, hbase, hmask, result); in __sbi_send_ipi_v02()
[all …]
/linux-5.19.10/arch/riscv/kvm/
Dtlb.c346 unsigned long hbase, unsigned long hmask, in make_xfence_request() argument
357 if (hbase != -1UL) { in make_xfence_request()
358 if (vcpu->vcpu_id < hbase) in make_xfence_request()
360 if (!(hmask & (1UL << (vcpu->vcpu_id - hbase)))) in make_xfence_request()
382 unsigned long hbase, unsigned long hmask) in kvm_riscv_fence_i() argument
384 make_xfence_request(kvm, hbase, hmask, KVM_REQ_FENCE_I, in kvm_riscv_fence_i()
389 unsigned long hbase, unsigned long hmask, in kvm_riscv_hfence_gvma_vmid_gpa() argument
400 make_xfence_request(kvm, hbase, hmask, KVM_REQ_HFENCE, in kvm_riscv_hfence_gvma_vmid_gpa()
405 unsigned long hbase, unsigned long hmask) in kvm_riscv_hfence_gvma_vmid_all() argument
407 make_xfence_request(kvm, hbase, hmask, KVM_REQ_HFENCE_GVMA_VMID_ALL, in kvm_riscv_hfence_gvma_vmid_all()
[all …]
Dvcpu_sbi_replace.c53 unsigned long hbase = cp->a1; in kvm_sbi_ext_ipi_handler() local
59 if (hbase != -1UL) { in kvm_sbi_ext_ipi_handler()
60 if (tmp->vcpu_id < hbase) in kvm_sbi_ext_ipi_handler()
62 if (!(hmask & (1UL << (tmp->vcpu_id - hbase)))) in kvm_sbi_ext_ipi_handler()
86 unsigned long hbase = cp->a1; in kvm_sbi_ext_rfence_handler() local
91 kvm_riscv_fence_i(vcpu->kvm, hbase, hmask); in kvm_sbi_ext_rfence_handler()
95 kvm_riscv_hfence_vvma_all(vcpu->kvm, hbase, hmask); in kvm_sbi_ext_rfence_handler()
97 kvm_riscv_hfence_vvma_gva(vcpu->kvm, hbase, hmask, in kvm_sbi_ext_rfence_handler()
103 hbase, hmask, cp->a4); in kvm_sbi_ext_rfence_handler()
106 hbase, hmask, in kvm_sbi_ext_rfence_handler()
/linux-5.19.10/arch/riscv/include/asm/
Dkvm_host.h267 unsigned long hbase, unsigned long hmask);
269 unsigned long hbase, unsigned long hmask,
273 unsigned long hbase, unsigned long hmask);
275 unsigned long hbase, unsigned long hmask,
279 unsigned long hbase, unsigned long hmask,
282 unsigned long hbase, unsigned long hmask,
286 unsigned long hbase, unsigned long hmask);
/linux-5.19.10/arch/powerpc/platforms/cell/
Diommu.c916 unsigned long dbase, dsize, fbase, fsize, hbase, hend; in cell_iommu_fixed_mapping_init() local
953 hbase = 0; /* use the device tree window */ in cell_iommu_fixed_mapping_init()
965 hbase = __pa(htab_address); in cell_iommu_fixed_mapping_init()
966 hend = hbase + htab_size_bytes; in cell_iommu_fixed_mapping_init()
969 if ((hbase != ALIGN(hbase, 1 << IO_SEGMENT_SHIFT)) || in cell_iommu_fixed_mapping_init()
979 if (hbase < dbase || (hend > (dbase + dsize))) { in cell_iommu_fixed_mapping_init()
995 if (hbase == 0) in cell_iommu_fixed_mapping_init()
998 dbase = hbase; in cell_iommu_fixed_mapping_init()
/linux-5.19.10/arch/alpha/kernel/
Dcore_t2.c95 unsigned long hbase; member
402 t2_saved_config.hbase = *(vulp)T2_HBASE; in t2_save_configuration()
500 *(vulp)T2_HBASE = t2_saved_config.hbase; in t2_kill_arch()
/linux-5.19.10/arch/mips/include/asm/octeon/
Dcvmx-pci-defs.h296 uint32_t hbase:32; member
298 uint32_t hbase:32;
326 uint32_t hbase:32; member
328 uint32_t hbase:32;
354 uint32_t hbase:25; member
358 uint32_t hbase:25;