i8042 driver loads the processor when HW not present
|Reported by:||Colin Parker||Owned by:|
|Blocker for:||Depends on:|
Not all amd64-based PCs have functional i8042 HW (e.g. Apple products). Because the i8042 driver repeatedly polls the "ready" status, this results in severe performance reduction on these systems, as the device is never ready and 100% of available CPU cycles are used checking this over and over.
I have a proposed remedy, which times out and aborts the driver after 100 ms (attached i8042.c): https://github.com/cvparker/helenos/commit/2ef2f0ed5278613e58d96e85f1bec6d8070856ae