ata: ahci: Add sysfs attribute to show remapped NVMe device count

Add a new sysfs attribute to show how many NVMe devices are remapped.

Userspace like distro installer can use this info to ask user to change
the BIOS setting.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Kai-Heng Feng 2020-02-07 18:00:16 +08:00 • committed by Jens Axboe
commit 894fba7f43
2 changed files with 25 additions and 4 deletions