Page MenuHomeFreeBSD

acpi_iort: add some error handling
ClosedPublic

Authored by jchandra on May 26 2019, 11:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 11, 5:27 AM
Unknown Object (File)
Sat, May 3, 12:31 AM
Unknown Object (File)
Thu, Apr 24, 10:01 AM
Unknown Object (File)
Wed, Apr 23, 4:51 PM
Unknown Object (File)
Wed, Apr 23, 3:27 PM
Unknown Object (File)
Tue, Apr 22, 10:14 PM
Unknown Object (File)
Tue, Apr 22, 10:08 PM
Unknown Object (File)
Tue, Apr 22, 10:08 PM
Subscribers

Details

Summary

Print warnings for bad kernel configuration (NUMA disabled with multiple domains) and for firmware errors (incorrect proximity domain entries).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

How frequently is srat_resolve_its_pxm called?

How frequently is srat_resolve_its_pxm called?

The SRAT has affinity entries for each memory segment, CPU and ITS block. Comes upto ~260 entries on my ThunderX2. We go into the main logic of srat_resolve_its_pxm() only for ITS blocks (2 entries).

I took a second look at this, and ran some more testing. I need to fix up a bug and add more comments.

Will update this diff.

Fix the check for warning (i > 1 now), fix up error message, and add a comment.

This revision was not accepted when it landed; it landed in state Needs Review.Jun 24 2019, 9:25 PM
This revision was automatically updated to reflect the committed changes.