* [PATCH] ata: pata_atiixp allow maximum UDMA speed
@ 2026-10-13 4:30 Ioannis Barkas
2026-10-13 7:40 ` Niklas Cassel
0 siblings, 1 reply; 2+ messages in thread
From: Ioannis Barkas @ 2026-10-13 4:30 UTC (permalink / raw)
To: linux-ide; +Cc: Ioannis Barkas
Enable UDMA 6 for compatible IDE hosts, tested on SB600 & SB700
using ATA133 HDDs & SSDs. SSDs can exceed now 100MB/s
Signed-off-by: Ioannis Barkas jnyb.de@gmail.com
Signed-off-by: Nick Barkas nickbgrk@gmail.com
---
drivers/ata/pata_atiixp.c | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c
index 4c612f9543..74ef9195bd 100644
--- a/drivers/ata/pata_atiixp.c
+++ b/drivers/ata/pata_atiixp.c
@@ -279,8 +279,26 @@ static int atiixp_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
.udma_mask = ATA_UDMA5,
.port_ops = &atiixp_port_ops
};
+ static const struct ata_port_info info_ata133 = {
+ .flags = ATA_FLAG_SLAVE_POSS,
+ .pio_mask = ATA_PIO4,
+ .mwdma_mask = ATA_MWDMA12_ONLY,
+ .udma_mask = ATA_UDMA6,
+ .port_ops = &atiixp_port_ops
+ };
const struct ata_port_info *ppi[] = { &info, &info };
+ /* SB300 and newer: UDMA6 */
+ switch (pdev->device) {
+ case PCI_DEVICE_ID_ATI_IXP300_IDE:
+ case PCI_DEVICE_ID_ATI_IXP400_IDE:
+ case PCI_DEVICE_ID_ATI_IXP600_IDE:
+ case PCI_DEVICE_ID_ATI_IXP700_IDE:
+ case PCI_DEVICE_ID_AMD_HUDSON2_IDE:
+ ppi[0] = ppi[1] = &info_ata133;
+ break;
+ }
+
/* SB600 doesn't have secondary port wired */
if (pdev->device == PCI_DEVICE_ID_ATI_IXP600_IDE)
ppi[1] = &ata_dummy_port_info;
@@ -314,7 +332,7 @@ static struct pci_driver atiixp_pci_driver = {
module_pci_driver(atiixp_pci_driver);
MODULE_AUTHOR("Alan Cox");
-MODULE_DESCRIPTION("low-level driver for ATI IXP200/300/400");
+MODULE_DESCRIPTION("low-level driver for ATI IXP200/300/400, AMD SB600/700 series and Hudson-2");
MODULE_LICENSE("GPL");
MODULE_DEVICE_TABLE(pci, atiixp);
MODULE_VERSION(DRV_VERSION);
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ata: pata_atiixp allow maximum UDMA speed
2026-10-13 4:30 [PATCH] ata: pata_atiixp allow maximum UDMA speed Ioannis Barkas
@ 2026-10-13 7:40 ` Niklas Cassel
0 siblings, 0 replies; 2+ messages in thread
From: Niklas Cassel @ 2026-10-13 7:40 UTC (permalink / raw)
To: Ioannis Barkas; +Cc: linux-ide, dlemoal
On Tue, Oct 13, 2026 at 07:30:16AM +0300, Ioannis Barkas wrote:
> Enable UDMA 6 for compatible IDE hosts, tested on SB600 & SB700
> using ATA133 HDDs & SSDs. SSDs can exceed now 100MB/s
This commit log is a bit short. Please provide some more information.
You commit log mentions SB600 & SB700, but the code comment mentions
SB300.
>
> Signed-off-by: Ioannis Barkas jnyb.de@gmail.com
> Signed-off-by: Nick Barkas nickbgrk@gmail.com
The email addresses in this patch, and in all your other patches,
are missing corrupt. The format is:
Signed-off-by: Firstname Lastname <email@address.com>
i.e. you are missing <> around the email address.
> ---
> drivers/ata/pata_atiixp.c | 20 +++++++++++++++++++-
> 1 file changed, 19 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c
> index 4c612f9543..74ef9195bd 100644
> --- a/drivers/ata/pata_atiixp.c
> +++ b/drivers/ata/pata_atiixp.c
> @@ -279,8 +279,26 @@ static int atiixp_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
> .udma_mask = ATA_UDMA5,
> .port_ops = &atiixp_port_ops
> };
> + static const struct ata_port_info info_ata133 = {
> + .flags = ATA_FLAG_SLAVE_POSS,
> + .pio_mask = ATA_PIO4,
> + .mwdma_mask = ATA_MWDMA12_ONLY,
> + .udma_mask = ATA_UDMA6,
> + .port_ops = &atiixp_port_ops
> + };
> const struct ata_port_info *ppi[] = { &info, &info };
>
> + /* SB300 and newer: UDMA6 */
> + switch (pdev->device) {
> + case PCI_DEVICE_ID_ATI_IXP300_IDE:
> + case PCI_DEVICE_ID_ATI_IXP400_IDE:
> + case PCI_DEVICE_ID_ATI_IXP600_IDE:
> + case PCI_DEVICE_ID_ATI_IXP700_IDE:
> + case PCI_DEVICE_ID_AMD_HUDSON2_IDE:
> + ppi[0] = ppi[1] = &info_ata133;
> + break;
> + }
> +
> /* SB600 doesn't have secondary port wired */
> if (pdev->device == PCI_DEVICE_ID_ATI_IXP600_IDE)
> ppi[1] = &ata_dummy_port_info;
> @@ -314,7 +332,7 @@ static struct pci_driver atiixp_pci_driver = {
> module_pci_driver(atiixp_pci_driver);
>
> MODULE_AUTHOR("Alan Cox");
> -MODULE_DESCRIPTION("low-level driver for ATI IXP200/300/400");
> +MODULE_DESCRIPTION("low-level driver for ATI IXP200/300/400, AMD SB600/700 series and Hudson-2");
This is a separate logical change, please drop it.
As we can see from the context above:
/* SB600 doesn't have secondary port wired */
The driver already supports SB600 in PATA mode, even though it was not
explicitly mentioned in the module description.
I don't see why we would need to change it now.
Kind regards,
Niklas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-13 7:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13 4:30 [PATCH] ata: pata_atiixp allow maximum UDMA speed Ioannis Barkas
2026-10-13 7:40 ` Niklas Cassel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox