On Mon, Nov 23, 2020 at 10:09:17AM +0000, Christoph Hellwig wrote: > On Fri, Nov 20, 2020 at 12:53:09PM +0200, Mika Westerberg wrote: > > On Thu, Nov 19, 2020 at 04:50:22PM +0000, Christoph Hellwig wrote: > > > On Thu, Nov 19, 2020 at 01:43:18PM +0300, Mika Westerberg wrote: > > > > Add Intel Emmitsburg PCH RAID PCI IDs to the list of supported > > > > controllers. > > > > > > Stupid question: what would it to get Intel to finally report the > > > correct classcode after all the time? The amount of IDs we need to list > > > is getting ridiculous. > > > > What is the correct class code in this case that it works with the AHCI > > driver? > > > > I think (not 100% sure) it reports standard AHCI class code when it is > > not in RAID mode but these PCI IDs are for the RAID mode. > > The right class code is the AHCI one. The so called RAID mode doesn't > change the operation of the device at all (except for sometimes hiding > NVMe devices that are a different PCIe function to start with). Thanks. I looked at the AHCI spec (1.3.1) and it says this regarding the class code (CC) field: Informative Note: For HBAs that support RAID, the Sub Class Code reset value should be 04h and the Programming Interface reset value should be 00h. I think this is what the controller is doing when in "RAID mode".