APPLIED(F): [PATCH 0/1][SRU][F][G][OEM-5.6] blk_update_request error when mount nvme partition

Khaled Elmously khalid.elmously at canonical.com
Fri Aug 7 21:23:05 UTC 2020


Was already applied by Kelsey.


On 2020-07-28 16:45:53 , AceLan Kao wrote:
> BugLink: https://bugs.launchpad.net/bugs/1872383
> 
> [Impact]
> Got below error message after upgraded to Focal kernel(v5.4)
>    [ 576.793852] blk_update_request: operation not supported error, dev
>    nvme1n1, sector 4218887 op 0x9:(WRITE_ZEROES) flags 0x0 phys_seg 0 prio
>    class 0
> 
> This issue was introduced by below commit from v5.1-rc1 which added write
> zeros command
>    6e02318eaea5 nvme: add support for the Write Zeroes command
> SK hynix firmware has a bug that it treats NLB as max value instead
> of a range, so the NLB passed isn't a valid value to the firmware.
> 
> [Fix]
> Add a quirk to disable write zeros support
> 
> [Test]
> Verified on the machine with SK hynix PC400 nvme machine.
> 
> [Regression Potential]
> Low, it's a quirk to a specific PCI ID.
> 
> Kai-Heng Feng (1):
>   nvme-pci: prevent SK hynix PC400 from using Write Zeroes command
> 
>  drivers/nvme/host/pci.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> -- 
> 2.25.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list