tests/x86: Improve ACPI output on info test
Print out DMAR's device id for each device scopes. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
4090962386
commit
20b653f387
1 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
static void vtd_dev_scope_info(struct acpi_dmar_dev_scope *dev_scope)
|
static void vtd_dev_scope_info(struct acpi_dmar_dev_scope *dev_scope)
|
||||||
{
|
{
|
||||||
struct acpi_dmar_dev_path *path;
|
struct acpi_dmar_dev_path *path;
|
||||||
|
uint16_t id;
|
||||||
int n_path;
|
int n_path;
|
||||||
|
|
||||||
printk("\t\t\t. Type: ");
|
printk("\t\t\t. Type: ");
|
||||||
|
@ -34,6 +35,11 @@ static void vtd_dev_scope_info(struct acpi_dmar_dev_scope *dev_scope)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
id = z_acpi_get_dev_id_from_dmar(dev_scope->type);
|
||||||
|
if (id != USHRT_MAX) {
|
||||||
|
printk(" ID 0x%x", id);
|
||||||
|
}
|
||||||
|
|
||||||
printk("\n");
|
printk("\n");
|
||||||
|
|
||||||
printk("\t\t\t. Enumeration ID %u\n", dev_scope->enumeration_id);
|
printk("\t\t\t. Enumeration ID %u\n", dev_scope->enumeration_id);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue