aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-12-02 19:31:03 +0100
committerTejun Heo <tj@kernel.org>2016-12-05 14:31:24 -0500
commitaecec8b60422118b52e3347430ba9382e57d6d76 (patch)
tree18201426039369667148624586fc68d14174dfe4 /drivers/ata/libata-core.c
parentahci-remap.h: add ahci remapping definitions (diff)
downloadlinux-dev-aecec8b60422118b52e3347430ba9382e57d6d76.tar.xz
linux-dev-aecec8b60422118b52e3347430ba9382e57d6d76.zip
ahci: warn about remapped NVMe devices
Some Intel ahci implementations have a completely broken remapping mode where they hide one or more NVMe devices behind the bar of an AHCI device. Intel refuses to let the OS reprogram the BIOS to switch out of this mode at runtime, and so far we're not come up with another good way to undo the mess that the Chipset people created. So for now the only thing we can do is to alert users about this situation and switch to the faster and much saner so called "AHCI" mode insted of the RAID mode in the BIOS so that the BIOS does not hide the NVMe devices from us. The sitation is even worse as at least one vendor (thanks a lot Lenovo..) has started hardcoding their BIOS into the "RAID" mode even for laptops that don't use AHCI _at all_ and just have a single NVMe device. For now there is an unspported Linux-only BIOS that undoes this braindamage, but we'll have to see if things are getting better or worse from here. Based on an earlier patch from Dan Williams <dan.j.williams@intel.com>. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions