Kernel/Storage: Remove the None option from AHCI reset policy

This was proved to be a problematic option. I tested this option on
bare metal AHCI controller, and if we didn't reset the controller, the
firmware (SeaBIOS) could leave the controller state not clean, so an
plugged device signature was in place although the specific port had no
plugged device after rebooting.
Therefore, we need to ensure we use the controller in a clean state
always.

In addition to that, the Complete option was renamed to Aggressive, as
it represents better the consequences of choosing this option.
This commit is contained in:
Liav A 2021-05-29 01:18:45 +03:00 committed by Andreas Kling
commit d431e4cd01
Notes: sideshowbarker 2024-07-18 17:13:37 +09:00
4 changed files with 8 additions and 13 deletions

View file

@ -38,8 +38,7 @@ enum class PCIAccessLevel {
enum class AHCIResetMode {
ControllerOnly,
Complete,
None
Aggressive,
};
class CommandLine {