Re: [PATCH v2 0/2] Fixes for security locked drives
From: Damien Le Moal
Date: Wed Jul 08 2026 - 00:54:01 EST
On 7/7/26 06:00, TJ Adams wrote:
> These patches improve libata handling of locked drives.
>
> Changes since v1:
> - Simplified the n_sectors check in ata_dev_revalidate() as suggested by
> Niklas
> - Added Patch 2 to disable HPA resizing for locked drives to address
> Sashiko's feedback.
>
> Testing:
> - Verified using the internal test suite that originally detected the regression.
> - The issue can be reproduced manually using the steps outlined in the thread
> (runtime locking, disabling SSP, active I/O, and link reset).
Applied to for-7.2-fixes. Thanks!
Note: I added Cc:stable tag to both patches.
--
Damien Le Moal
Western Digital Research