ACK: [PATCH 0/1][SRU][F][G][OEM-5.6] blk_update_request error when mount nvme partition
Colin Ian King
colin.king at canonical.com
Tue Jul 28 14:06:44 UTC 2020
On 28/07/2020 09:45, AceLan Kao wrote:
> BugLink: https://bugs.launchpad.net/bugs/1872383
> 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.
> Add a quirk to disable write zeros support
> 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(+)
Seems like a reasonable quirk for a very specific device that has some
positive test results, so I'm OK with this as a SRU fix.
Acked-by: Colin Ian King <colin.king at canonical.com>
More information about the kernel-team