* [PATCH] [PATCH v3] ata: libata-core: Correct HPA horkage
@ 2026-10-13 20:19 Ioannis Barkas
2026-10-14 5:44 ` Damien Le Moal
2026-10-14 9:29 ` Niklas Cassel
0 siblings, 2 replies; 3+ messages in thread
From: Ioannis Barkas @ 2026-10-13 20:19 UTC (permalink / raw)
To: linux-ide; +Cc: Ioannis Barkas, IoannisBarkasjnyb.de, NickBarkasnickbgrk
Code wrongly detects disks using 2 specific serial numbers
Use their firmware to detect whole family of affected disks
Fixes: 16c55b038033 (libata: implement BROKEN_HPA horkage and apply it to affected drives")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=8888
Signed-off-by: <Ioannis Barkas jnyb.de@gmail.com>
Signed-off-by: <Nick Barkas nickbgrk@gmail.com>
---
drivers/ata/libata-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 59e87b987d..b23e1c3e4c 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4248,8 +4248,8 @@ static const struct ata_dev_quirks_entry __ata_dev_quirks[] = {
/* devices which puke on READ_NATIVE_MAX */
{ "HDS724040KLSA80", "KFAOA20N", ATA_QUIRK_BROKEN_HPA },
- { "WDC WD3200JD-00KLB0", "WD-WCAMR1130137", ATA_QUIRK_BROKEN_HPA },
- { "WDC WD2500JD-00HBB0", "WD-WMAL71490727", ATA_QUIRK_BROKEN_HPA },
+ { "WDC WD3200JD-00KLB0", "08.05J08", ATA_QUIRK_BROKEN_HPA },
+ { "WDC WD2500JD-00HBB0", "08.02D08", ATA_QUIRK_BROKEN_HPA },
{ "MAXTOR 6L080L4", "A93.0500", ATA_QUIRK_BROKEN_HPA },
/* this one allows HPA unlocking but fails IOs on the area */
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] [PATCH v3] ata: libata-core: Correct HPA horkage
2026-10-13 20:19 [PATCH] [PATCH v3] ata: libata-core: Correct HPA horkage Ioannis Barkas
@ 2026-10-14 5:44 ` Damien Le Moal
2026-10-14 9:29 ` Niklas Cassel
1 sibling, 0 replies; 3+ messages in thread
From: Damien Le Moal @ 2026-10-14 5:44 UTC (permalink / raw)
To: Ioannis Barkas, linux-ide; +Cc: IoannisBarkasjnyb.de, NickBarkasnickbgrk
On 2026/10/13 22:19, Ioannis Barkas wrote:
> Code wrongly detects disks using 2 specific serial numbers
> Use their firmware to detect whole family of affected disks
s/firmware/firmware version ?
>
> Fixes: 16c55b038033 (libata: implement BROKEN_HPA horkage and apply it to affected drives")
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=8888
> Signed-off-by: <Ioannis Barkas jnyb.de@gmail.com>
> Signed-off-by: <Nick Barkas nickbgrk@gmail.com>
> ---
> drivers/ata/libata-core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
> index 59e87b987d..b23e1c3e4c 100644
> --- a/drivers/ata/libata-core.c
> +++ b/drivers/ata/libata-core.c
> @@ -4248,8 +4248,8 @@ static const struct ata_dev_quirks_entry __ata_dev_quirks[] = {
>
> /* devices which puke on READ_NATIVE_MAX */
> { "HDS724040KLSA80", "KFAOA20N", ATA_QUIRK_BROKEN_HPA },
> - { "WDC WD3200JD-00KLB0", "WD-WCAMR1130137", ATA_QUIRK_BROKEN_HPA },
> - { "WDC WD2500JD-00HBB0", "WD-WMAL71490727", ATA_QUIRK_BROKEN_HPA },
> + { "WDC WD3200JD-00KLB0", "08.05J08", ATA_QUIRK_BROKEN_HPA },
> + { "WDC WD2500JD-00HBB0", "08.02D08", ATA_QUIRK_BROKEN_HPA },
> { "MAXTOR 6L080L4", "A93.0500", ATA_QUIRK_BROKEN_HPA },
>
> /* this one allows HPA unlocking but fails IOs on the area */
--
Damien Le Moal
Western Digital Research
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] [PATCH v3] ata: libata-core: Correct HPA horkage
2026-10-13 20:19 [PATCH] [PATCH v3] ata: libata-core: Correct HPA horkage Ioannis Barkas
2026-10-14 5:44 ` Damien Le Moal
@ 2026-10-14 9:29 ` Niklas Cassel
1 sibling, 0 replies; 3+ messages in thread
From: Niklas Cassel @ 2026-10-14 9:29 UTC (permalink / raw)
To: Ioannis Barkas; +Cc: linux-ide, IoannisBarkasjnyb.de, NickBarkasnickbgrk
On Tue, Oct 13, 2026 at 11:19:26PM +0300, Ioannis Barkas wrote:
> Code wrongly detects disks using 2 specific serial numbers
> Use their firmware to detect whole family of affected disks
>
> Fixes: 16c55b038033 (libata: implement BROKEN_HPA horkage and apply it to affected drives")
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=8888
> Signed-off-by: <Ioannis Barkas jnyb.de@gmail.com>
> Signed-off-by: <Nick Barkas nickbgrk@gmail.com>
The correct format is:
Signed-off-by: Nick Barkas <nickbgrk@gmail.com>
It is automatically added when you do: git commit -s
You should not need to modify it manually.
Also, the final Signed-off-by should be the same as the sender.
That is not the case here.
Two Signed-off-by directly after each other is only used if you took the
patch authored by someone else, and submitted it unchanged.
If you were two people to develop the patch together, the correct tag to
use is Co-developed-by (in addition to Signed-off-by from both), see:
https://docs.kernel.org/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by
> ---
> drivers/ata/libata-core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
> index 59e87b987d..b23e1c3e4c 100644
> --- a/drivers/ata/libata-core.c
> +++ b/drivers/ata/libata-core.c
> @@ -4248,8 +4248,8 @@ static const struct ata_dev_quirks_entry __ata_dev_quirks[] = {
>
> /* devices which puke on READ_NATIVE_MAX */
> { "HDS724040KLSA80", "KFAOA20N", ATA_QUIRK_BROKEN_HPA },
> - { "WDC WD3200JD-00KLB0", "WD-WCAMR1130137", ATA_QUIRK_BROKEN_HPA },
> - { "WDC WD2500JD-00HBB0", "WD-WMAL71490727", ATA_QUIRK_BROKEN_HPA },
> + { "WDC WD3200JD-00KLB0", "08.05J08", ATA_QUIRK_BROKEN_HPA },
> + { "WDC WD2500JD-00HBB0", "08.02D08", ATA_QUIRK_BROKEN_HPA },
Where did you get this firmware versions from?
As I stated in:
https://lore.kernel.org/linux-ide/as6GuZaRvJFbxMgK@ryzen/
I would prefer if you simply dropped these entries, such that the existing
wildcard entries (which already match these devices) are the only ones used.
Kind regards,
Niklas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-14 9:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13 20:19 [PATCH] [PATCH v3] ata: libata-core: Correct HPA horkage Ioannis Barkas
2026-10-14 5:44 ` Damien Le Moal
2026-10-14 9:29 ` Niklas Cassel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.