]> git.baikalelectronics.ru Git - kernel.git/commit
ata: ahci: Add sysfs attribute to show remapped NVMe device count
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Fri, 7 Feb 2020 10:00:16 +0000 (18:00 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 7 Apr 2020 22:07:38 +0000 (16:07 -0600)
commit6dad39c926e1790b10e0d5431b6ae773c8d0dcd4
tree45b95cac4f3d6edc875ebb49f624d34e2c7eafc1
parent8378b6623be47f3adc245e9c2db9dab281a99039
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>
drivers/ata/ahci.c
drivers/ata/ahci.h