Re: [PATCH v1] ATA: ahci: Add Intel PCH-S RAID device ID

From: Niklas Cassel

Date: Tue Oct 27 2026 - 11:29:44 EST


Hello Roman,

On Tue, Oct 27, 2026 at 03:12:40PM +0100, Roman Gardzinski wrote:
> Add support for SATA devices in RAID mode for Nova Lake.
> No functional changes.
>
> Suggested-by: Szczepan Durawa <szczepan.durawa@xxxxxxxxx>
> Reviewed-by: Szymon Durawa <szymon.durawa@xxxxxxxxxxxxxxx>
> Signed-off-by: Roman Gardzinski <romanx.gardzinski@xxxxxxxxxxxxxxx>
> ---
> drivers/ata/ahci.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
> index 9b8c0935001c..c60e7ba24502 100644
> --- a/drivers/ata/ahci.c
> +++ b/drivers/ata/ahci.c
> @@ -283,6 +283,10 @@ static const struct pci_device_id ahci_pci_tbl[] = {
> /* Comet Lake PCH-H RAID */
> PCI_VDEVICE(INTEL, 0x06d6),
> .driver_data = board_ahci_pcs_quirk,
> + }, {
> + /* Nova Lake PCH-S RAID */
> + PCI_VDEVICE(INTEL, 0x6e66),
> + .driver_data = board_ahci_pcs_quirk,

Commit message should probably say something like:

When the Intel Nova Lake SATA controller is configured in RAID mode (rather
than AHCI), the generic entry in ahci_pci_tbl which matches any device with
the PCI class code for AHCI, is not sufficient, since the SATA controller
in RAID mode uses a different PCI class code.


Like Sashiko also said, please also check if this entry (for RAID mode)
should use board_ahci_pcs_quirk or board_ahci.


Kind regards,
Niklas