Home
last modified time | relevance | path

Searched full:id (Results 1 – 25 of 48) sorted by relevance

12

/kvm-unit-tests/s390x/
H A Dunittests.cfg78 extra_params=-device diag288,id=watchdog0 --watchdog-action inject-nmi
129 extra_params = -smp 1,maxcpus=3 -device host-s390x-cpu,core-id=1 -device host-s390x-cpu,core-id=2
135 extra_params = -smp 1,maxcpus=3 -device host-s390x-cpu,core-id=2 -device host-s390x-cpu,core-id=1
141 …rams = -smp 1,maxcpus=3 -cpu qemu -device qemu-s390x-cpu,core-id=1 -device qemu-s390x-cpu,core-id=2
147 …rams = -smp 1,maxcpus=3 -cpu qemu -device qemu-s390x-cpu,core-id=2 -device qemu-s390x-cpu,core-id=1
261 -device max-s390x-cpu,core-id=31,drawer-id=0,book-id=0,socket-id=0,entitlement=medium,dedicated=fal…
262 -device max-s390x-cpu,core-id=11,drawer-id=0,book-id=0,socket-id=0,entitlement=high,dedicated=true \
263 -device max-s390x-cpu,core-id=95,drawer-id=0,book-id=0,socket-id=0,entitlement=medium,dedicated=fal…
264 -device max-s390x-cpu,core-id=73,drawer-id=0,book-id=0,socket-id=0,entitlement=high,dedicated=false…
265 -device max-s390x-cpu,core-id=78,drawer-id=0,book-id=0,socket-id=0,entitlement=high,dedicated=true \
[all …]
H A Dintercept.c129 /* Test the STORE CPU ID instruction */
132 struct cpuid id = {}; in test_stidp() local
134 asm volatile ("stidp %0\n" : "+Q"(id)); in test_stidp()
135 report(id.type, "type set"); in test_stidp()
136 report(!id.version || id.version == 0xff, "version valid"); in test_stidp()
137 report(!id.reserved, "reserved bits not set"); in test_stidp()
H A Drun43 command+=" -object s390-pv-guest,id=pv0"
45 command+=" -chardev stdio,id=con0 -device sclpconsole,chardev=con0"
/kvm-unit-tests/lib/arm64/asm/
H A Dgic-v3-its.h38 u32 device_id; /* device ID */
146 u32 id, bool verbose);
157 #define its_send_movi(dev, col, id) __its_send_movi(dev, col, id, true) argument
168 #define its_send_movi_nv(dev, col, id) __its_send_movi(dev, col, id, false) argument
171 extern struct its_device *its_get_device(u32 id);
172 extern struct its_collection *its_get_collection(u32 id);
/kvm-unit-tests/lib/x86/
H A Dsetup.c113 u32 id; in setup_tss() local
116 id = pre_boot_apic_id(); in setup_tss()
119 tss_entry = &tss[id]; in setup_tss()
125 set_gdt_entry(TSS_MAIN + id * 16, (unsigned long)tss_entry, 0xffff, 0x89, 0); in setup_tss()
127 return TSS_MAIN + id * 16; in setup_tss()
133 u32 id; in setup_tss() local
136 id = pre_boot_apic_id(); in setup_tss()
139 tss_entry = &tss[id]; in setup_tss()
146 set_gdt_entry(TSS_MAIN + id * 8, in setup_tss()
148 set_gdt_entry(TSS_MAIN + MAX_TEST_CPUS * 8 + id * 8, in setup_tss()
[all …]
H A Dintel-iommu.c66 uint32_t dest_id; /* Destination ID */
67 uint16_t source_id:16; /* Source-ID */
68 uint64_t sid_q:2; /* Source-ID Qualifier */
69 uint64_t sid_vtype:2; /* Source-ID Validation Type */
171 * @sid: source ID of the device to setup
209 /* To make it simple, domain ID is the same as SID */ in vtd_map_range()
H A Dapic.c18 u32 (*id)(void); member
63 .id = xapic_id,
95 .id = x2apic_id,
122 return get_apic_ops()->id(); in apic_id()
/kvm-unit-tests/x86/
H A Dapic.c204 static void do_write_apic_id(void *id) in do_write_apic_id() argument
206 apic_write(APIC_ID, *(u32 *)id); in do_write_apic_id()
211 u32 id, newid; in __test_apic_id() local
219 id = apic_id(); in __test_apic_id()
220 report(initial_xapic_id == id, "xapic id matches cpuid"); in __test_apic_id()
222 newid = (id + 1) << 24; in __test_apic_id()
224 (id == apic_id() || id + 1 == apic_id()), in __test_apic_id()
225 "writeable xapic id"); in __test_apic_id()
231 "non-writeable x2apic id"); in __test_apic_id()
232 report(initial_xapic_id == (apic_id() & 0xff), "sane x2apic id"); in __test_apic_id()
[all …]
H A Drun36 pc_testdev="-device testdev,chardev=testlog -chardev file,id=testlog,path=msr.out"
/kvm-unit-tests/lib/arm64/
H A Dgic-v3-its.c151 struct its_device *its_get_device(u32 id) in its_get_device() argument
156 if (its_data.devices[i].device_id == id) in its_get_device()
162 struct its_collection *its_get_collection(u32 id) in its_get_collection() argument
167 if (its_data.collections[i].col_id == id) in its_get_collection()
H A Dgic-v3-its-cmd.c106 static void its_encode_event_id(struct its_cmd_block *cmd, u32 id) in its_encode_event_id() argument
108 its_mask_encode(&cmd->raw_cmd[1], id, 31, 0); in its_encode_event_id()
396 u32 id, bool verbose) in __its_send_movi() argument
402 desc.its_movi_cmd.event_id = id; in __its_send_movi()
/kvm-unit-tests/arm/efi/
H A Delf_aarch64_efi.lds56 .note.gnu.build-id : { *(.note.gnu.build-id) }
/kvm-unit-tests/x86/efi/
H A Delf_x86_64_efi.lds56 .note.gnu.build-id : { *(.note.gnu.build-id) }
/kvm-unit-tests/riscv/
H A Dsbi-fwft.c58 static void fwft_check_reserved(unsigned long id) in fwft_check_reserved() argument
62 ret = fwft_get(id); in fwft_check_reserved()
63 sbiret_report_error(&ret, SBI_ERR_DENIED, "get reserved feature 0x%lx", id); in fwft_check_reserved()
65 ret = fwft_set(id, 1, 0); in fwft_check_reserved()
66 sbiret_report_error(&ret, SBI_ERR_DENIED, "set reserved feature 0x%lx", id); in fwft_check_reserved()
/kvm-unit-tests/lib/
H A Dvirtio.h21 struct virtio_device_id id; member
105 u32 id; member
H A Dvirtio-mmio.c107 vm_dev->vdev.id.device = readl(vm_dev->base + VIRTIO_MMIO_DEVICE_ID); in vm_device_init()
108 vm_dev->vdev.id.vendor = readl(vm_dev->base + VIRTIO_MMIO_VENDOR_ID); in vm_device_init()
/kvm-unit-tests/arm/
H A Dgic.c608 typer->collid_bits, "ID spaces"); in test_its_introspection()
659 dev2 = its_create_device(2 /* dev id */, 8 /* nb_ites */); in its_setup1()
660 dev7 = its_create_device(7 /* dev id */, 8 /* nb_ites */); in its_setup1()
662 col3 = its_create_collection(3 /* col id */, 3/* target PE */); in its_setup1()
663 col2 = its_create_collection(2 /* col id */, 2/* target PE */); in its_setup1()
681 its_send_mapti(dev2, 8195 /* lpi id */, 20 /* event id */, col3); in its_setup1()
682 its_send_mapti(dev7, 8196 /* lpi id */, 255 /* event id */, col2); in its_setup1()
888 dev = its_create_device(2 /* dev id */, 8 /* nb_ites */); in test_its_pending_migration()
H A Dpl031.c54 uint32_t id[] = { 0x31, 0x10, 0x14, 0x00, 0x0d, 0xf0, 0x05, 0xb1 }; in check_id() local
57 for (i = 0; i < ARRAY_SIZE(id); i++) in check_id()
58 if (id[i] != readl(&pl031->periph_id[i])) in check_id()
H A Dmicro-bench.c179 dev2 = its_create_device(2 /* dev id */, 8 /* nb_ites */); in lpi_prep()
180 col1 = its_create_collection(1 /* col id */, 1 /* target PE */); in lpi_prep()
186 its_send_mapti_nv(dev2, 8199 /* lpi id */, 20 /* event id */, col1); in lpi_prep()
/kvm-unit-tests/riscv/efi/
H A Delf_riscv64_efi.lds126 .note.gnu.build-id : { *(.note.gnu.build-id) }
/kvm-unit-tests/powerpc/
H A DMakefile.common68 -T $(SRCDIR)/powerpc/flat.lds --build-id=none \
86 $(LD) -EB -nostdlib -Ttext=0x100 --entry=start --build-id=none -o $@ $<
/kvm-unit-tests/lib/linux/
H A Dpci_regs.h63 #define PCI_REVISION_ID 0x08 /* Revision ID */
199 #define PCI_CAP_LIST_ID 0 /* Capability ID */
212 #define PCI_CAP_ID_SSVID 0x0D /* Bridge subsystem vendor/device ID */
450 /* PCI Bridge Subsystem ID registers */
452 #define PCI_SSVID_VENDOR_ID 4 /* PCI Bridge subsystem vendor ID */
453 #define PCI_SSVID_DEVICE_ID 6 /* PCI Bridge subsystem device ID */
614 #define PCI_EXP_DEVCAP2_ARI 0x00000020 /* Alternative Routing-ID */
621 #define PCI_EXP_DEVCTL2_ARI 0x0020 /* Alternative Routing-ID */
659 #define PCI_EXT_CAP_ID_ARI 0x0E /* Alternate Routing ID */
672 #define PCI_EXT_CAP_ID_PASID 0x1B /* Process Address Space ID */
[all …]
/kvm-unit-tests/lib/s390x/
H A Dstsi.h64 uint8_t id; member
/kvm-unit-tests/lib/arm/
H A Dgic-v3.c99 * levels form the cluster ID. in gicv3_ipi_send_mask()
176 /* ID bits = 13, ie. up to 14b LPI INTID */ in gicv3_lpi_alloc_tables()
/kvm-unit-tests/lib/libfdt/
H A Dfdt.h22 fdt32_t boot_cpuid_phys; /* Which physical CPU id we're

12