Add sysfs attribute to show remapped NVMe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Intel Rapid Storage Technology hides NVMe behind AHCI controller, to
provide firmware base "fusion drive", like combining with Intel Optane.
There's a driver to support this but upstream doesn't like it for
reasons like NVMe quirks can't be applied when NVMe are behind AHCI
controller.
So we need to devise a mechanism to ask users to change BIOS storage
settings. This patch only provides a new attribute to let userspace like
distro installer know NVMe is remapped behind AHCI.
[Fix]
Add a new attribute to show that how many NVMes are remapped.
[Test]
After applying the patch, there's a new "remapped_nvme" under the AHCI PCI
device sysfs.
If there's no remapped NVMe:
$ cat remapped_nvme
0
If there are two remapped NVMes:
$ cat remapped_nvme
2
[Regression Potential]
Low. It adds a new read only sysfs attribute, no actual functional
change to the AHCI driver.
CVE References
affects: | network-manager (Ubuntu) → linux (Ubuntu) |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1863621
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.