On 27/06/16 16:40, Shanker Donthineni wrote:
+ gicv3.rdist_regions = rdist_regs;
+
+ /* Parse always-on power domain Re-distributor entries */
+ count = acpi_parse_entries(ACPI_SIG_MADT,
+ sizeof(struct acpi_table_madt),
+ gic_acpi_parse_madt_redistributor,
table,
+ ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR,
count);
Please use acpi_table_parse_madt here.
How do we pass MADT table pointer that we are using to a function
acpi_table_parse_madt()? We have already obtained the MADT table
address by calling acpi_get_table() at the beginning of the function
gicv3_acpi_init().
You don't need to pass it. The function will take care to get the MADT
table for you.
Regards,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel