Author: andrew Date: Sat Mar 3 13:19:08 2018 New Revision: 330336 URL: https://svnweb.freebsd.org/changeset/base/330336
Log: Add the missing GICv3 dev info struct to the ACPI dev info.Previously we would read from the resource list when querying from this. Sponsored by: ABT Systems Ltd Sponsored by: Cavium (Hardware) Modified: head/sys/arm64/arm64/gic_v3_acpi.c Modified: head/sys/arm64/arm64/gic_v3_acpi.c ============================================================================== --- head/sys/arm64/arm64/gic_v3_acpi.c Sat Mar 3 12:43:11 2018 (r330335) +++ head/sys/arm64/arm64/gic_v3_acpi.c Sat Mar 3 13:19:08 2018 (r330336) @@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$"); #include "gic_v3_var.h" struct gic_v3_acpi_devinfo { + struct gic_v3_devinfo di_gic_dinfo; struct resource_list di_rl; }; @@ -315,6 +316,7 @@ gic_v3_add_children(ACPI_SUBTABLE_HEADER *entry, void resource_list_add(&di->di_rl, SYS_RES_MEMORY, 0, gict->BaseAddress, gict->BaseAddress + 128 * 1024 - 1, 128 * 1024); + di->di_gic_dinfo.gic_domain = -1; sc->gic_nchildren++; device_set_ivars(child, di); } _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"