Home
last modified time | relevance | path

Searched refs:mmio (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/kvm/x86_64/
Dmmu_role_test.c48 TEST_ASSERT(run->mmio.len == 8, "Unexpected exit mmio size = %u", run->mmio.len); in mmu_role_test()
50 TEST_ASSERT(run->mmio.phys_addr == MMIO_GPA, in mmu_role_test()
51 "Unexpected exit mmio address = 0x%llx", run->mmio.phys_addr); in mmu_role_test()
/tools/testing/selftests/kvm/lib/aarch64/
Ducall.c100 run->mmio.phys_addr == (uint64_t)ucall_exit_mmio_addr) { in get_ucall()
103 TEST_ASSERT(run->mmio.is_write && run->mmio.len == 8, in get_ucall()
105 memcpy(&gva, run->mmio.data, sizeof(gva)); in get_ucall()
/tools/testing/selftests/kvm/
Dset_memory_region_test.c84 TEST_ASSERT(!run->mmio.is_write, "Unexpected exit mmio write"); in vcpu_worker()
85 TEST_ASSERT(run->mmio.len == 8, in vcpu_worker()
86 "Unexpected exit mmio size = %u", run->mmio.len); in vcpu_worker()
88 TEST_ASSERT(run->mmio.phys_addr == MEM_REGION_GPA, in vcpu_worker()
90 run->mmio.phys_addr); in vcpu_worker()
91 memcpy(run->mmio.data, &MMIO_VAL, 8); in vcpu_worker()
Dmemslot_perf_test.c154 TEST_ASSERT(run->mmio.is_write, "Unexpected mmio read"); in vcpu_worker()
155 TEST_ASSERT(run->mmio.len == 8, in vcpu_worker()
156 "Unexpected exit mmio size = %u", run->mmio.len); in vcpu_worker()
157 TEST_ASSERT(run->mmio.phys_addr >= vm->mmio_gpa_min && in vcpu_worker()
158 run->mmio.phys_addr <= vm->mmio_gpa_max, in vcpu_worker()
160 run->mmio.phys_addr); in vcpu_worker()
/tools/testing/nvdimm/test/
Dndtest.c345 struct ndtest_blk_mmio *mmio = dimm->mmio; in ndtest_blk_do_io() local
349 if (!mmio) in ndtest_blk_do_io()
354 memcpy(mmio->base + dpa, iobuf, len); in ndtest_blk_do_io()
356 memcpy(iobuf, mmio->base + dpa, len); in ndtest_blk_do_io()
357 arch_invalidate_pmem(mmio->base + dpa, len); in ndtest_blk_do_io()
371 struct ndtest_blk_mmio *mmio; in ndtest_blk_region_enable() local
379 mmio = devm_kzalloc(dev, sizeof(struct ndtest_blk_mmio), GFP_KERNEL); in ndtest_blk_region_enable()
380 if (!mmio) in ndtest_blk_region_enable()
383 mmio->base = (void __iomem *) devm_nvdimm_memremap( in ndtest_blk_region_enable()
385 if (!mmio->base) { in ndtest_blk_region_enable()
[all …]
Dndtest.h66 struct ndtest_blk_mmio *mmio; member
Dnfit.c2849 struct nfit_blk_mmio *mmio = &nfit_blk->mmio[BDW]; in nfit_test_blk_do_io() local
2855 memcpy(mmio->addr.base + dpa, iobuf, len); in nfit_test_blk_do_io()
2857 memcpy(iobuf, mmio->addr.base + dpa, len); in nfit_test_blk_do_io()
2860 arch_invalidate_pmem(mmio->addr.base + dpa, len); in nfit_test_blk_do_io()
/tools/perf/Documentation/
Dperf-kvm.txt54 of KVM events. Currently, vmexit, mmio (x86 only) and ioport (x86 only)
107 event to be analyzed. Possible values: vmexit, mmio (x86 only),
143 mmio (x86 only), ioport (x86 only).
/tools/include/uapi/linux/
Dkvm.h343 } mmio; member