On my machine even if sgx is disabled in firmware the driver still tries to attach with EPS base and size equal to zeroes.
Such behavior results in kernel panic when the module is unloaded.
This is probably caused by a crappy firmware.
Add a simple check to make sure that those values are not zeroes.
Details
Details
- Reviewers
br mw mst_semihalf.com - Commits
- rS345288: Prevent loading SGX with incorrect EPC data
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable