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

Timo Aaltonen tjaalton at ubuntu.com
Wed Jul 29 12:12:02 UTC 2020


On 28.7.2020 11.45, 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(+)
> 
applied to oem-5.6, thanks

-- 
t



More information about the kernel-team mailing list