Skip to content

Commit 6d2e62e

Browse files
committed
Merge tag 'ata-6.2-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata
Pull ata fixes from Damien Le Moal: "Three small fixes for 6.2 final: - Disable READ LOG DMA EXT for Samsung MZ7LH drives as these drives choke on that command, from Patrick. - Add Intel Tiger Lake UP{3,4} to the list of supported AHCI controllers (this is not technically a bug fix, but it is trivial enough that I add it here), from Simon. - Fix code comments in the pata_octeon_cf driver as incorrect formatting was causing warnings from kernel-doc, from Randy" * tag 'ata-6.2-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata: ata: pata_octeon_cf: drop kernel-doc notation ata: ahci: Add Tiger Lake UP{3,4} AHCI controller ata: libata-core: Disable READ LOG DMA EXT for Samsung MZ7LH
2 parents bda6cfa + 1aff53b commit 6d2e62e

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

drivers/ata/ahci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ static const struct pci_device_id ahci_pci_tbl[] = {
421421
{ PCI_VDEVICE(INTEL, 0x34d3), board_ahci_low_power }, /* Ice Lake LP AHCI */
422422
{ PCI_VDEVICE(INTEL, 0x02d3), board_ahci_low_power }, /* Comet Lake PCH-U AHCI */
423423
{ PCI_VDEVICE(INTEL, 0x02d7), board_ahci_low_power }, /* Comet Lake PCH RAID */
424+
{ PCI_VDEVICE(INTEL, 0xa0d3), board_ahci_low_power }, /* Tiger Lake UP{3,4} AHCI */
424425

425426
/* JMicron 360/1/3/5/6, match class to avoid IDE function */
426427
{ PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,

drivers/ata/libata-core.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4045,6 +4045,9 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
40454045
{ "Samsung SSD 870*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
40464046
ATA_HORKAGE_ZERO_AFTER_TRIM |
40474047
ATA_HORKAGE_NO_NCQ_ON_ATI },
4048+
{ "SAMSUNG*MZ7LH*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
4049+
ATA_HORKAGE_ZERO_AFTER_TRIM |
4050+
ATA_HORKAGE_NO_NCQ_ON_ATI, },
40484051
{ "FCCT*M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
40494052
ATA_HORKAGE_ZERO_AFTER_TRIM },
40504053

drivers/ata/pata_octeon_cf.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ module_param(enable_dma, int, 0444);
6767
MODULE_PARM_DESC(enable_dma,
6868
"Enable use of DMA on interfaces that support it (0=no dma [default], 1=use dma)");
6969

70-
/**
70+
/*
7171
* Convert nanosecond based time to setting used in the
7272
* boot bus timing register, based on timing multiple
7373
*/
@@ -114,7 +114,7 @@ static void octeon_cf_set_boot_reg_cfg(int cs, unsigned int multiplier)
114114
cvmx_write_csr(CVMX_MIO_BOOT_REG_CFGX(cs), reg_cfg.u64);
115115
}
116116

117-
/**
117+
/*
118118
* Called after libata determines the needed PIO mode. This
119119
* function programs the Octeon bootbus regions to support the
120120
* timing requirements of the PIO mode.
@@ -278,7 +278,7 @@ static void octeon_cf_set_dmamode(struct ata_port *ap, struct ata_device *dev)
278278
cvmx_write_csr(cf_port->dma_base + DMA_TIM, dma_tim.u64);
279279
}
280280

281-
/**
281+
/*
282282
* Handle an 8 bit I/O request.
283283
*
284284
* @qc: Queued command
@@ -317,7 +317,7 @@ static unsigned int octeon_cf_data_xfer8(struct ata_queued_cmd *qc,
317317
return buflen;
318318
}
319319

320-
/**
320+
/*
321321
* Handle a 16 bit I/O request.
322322
*
323323
* @qc: Queued command
@@ -372,7 +372,7 @@ static unsigned int octeon_cf_data_xfer16(struct ata_queued_cmd *qc,
372372
return buflen;
373373
}
374374

375-
/**
375+
/*
376376
* Read the taskfile for 16bit non-True IDE only.
377377
*/
378378
static void octeon_cf_tf_read16(struct ata_port *ap, struct ata_taskfile *tf)
@@ -453,7 +453,7 @@ static int octeon_cf_softreset16(struct ata_link *link, unsigned int *classes,
453453
return 0;
454454
}
455455

456-
/**
456+
/*
457457
* Load the taskfile for 16bit non-True IDE only. The device_addr is
458458
* not loaded, we do this as part of octeon_cf_exec_command16.
459459
*/
@@ -525,7 +525,7 @@ static void octeon_cf_dma_setup(struct ata_queued_cmd *qc)
525525
ap->ops->sff_exec_command(ap, &qc->tf);
526526
}
527527

528-
/**
528+
/*
529529
* Start a DMA transfer that was already setup
530530
*
531531
* @qc: Information about the DMA
@@ -580,7 +580,7 @@ static void octeon_cf_dma_start(struct ata_queued_cmd *qc)
580580
cvmx_write_csr(cf_port->dma_base + DMA_CFG, mio_boot_dma_cfg.u64);
581581
}
582582

583-
/**
583+
/*
584584
*
585585
* LOCKING:
586586
* spin_lock_irqsave(host lock)

0 commit comments

Comments
 (0)