Similar to UART on ThunderX2, the ARM Coresight (ETM component)

set ResourceProducer on memory resources: ignore it.

Tested on ARM N1SDP board.

Sponsored by:	DARPA, AFRL
This commit is contained in:
Ruslan Bukin 2020-06-09 17:07:42 +00:00
parent 58b552dcec
commit b62d159cb3

View File

@ -484,6 +484,10 @@ acpi_parse_resources(device_t dev, ACPI_HANDLE handle,
if (acpi_MatchHid(handle, "ARMH0011") != ACPI_MATCHHID_NOMATCH)
arc.ignore_producer_flag = true;
/* ARM Coresight on N1SDP set ResourceProducer on memory resources. */
if (acpi_MatchHid(handle, "ARMHC500") != ACPI_MATCHHID_NOMATCH)
arc.ignore_producer_flag = true;
status = AcpiWalkResources(handle, "_CRS", acpi_parse_resource, &arc);
if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
printf("can't fetch resources for %s - %s\n",