Commit c2804b21f2e7f46f76500aa58850127b31054c84
Committed by
Greg Kroah-Hartman
1 parent
2987ce159f
Exists in
smarct4x-processor-sdk-04.01.00.06
and in
1 other branch
dmaengine: ioatdma: workaround SKX ioatdma version
[ Upstream commit 34a31f0af84158955a9747fb5c6712da5bbb5331 ] The Skylake ioatdma is technically CBDMA 3.2+ and contains the same hardware bits with some additional 3.3 features, but it's not really 3.3 where the driver is concerned. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
drivers/dma/ioat/init.c
... | ... | @@ -1357,6 +1357,8 @@ |
1357 | 1357 | |
1358 | 1358 | device->version = readb(device->reg_base + IOAT_VER_OFFSET); |
1359 | 1359 | if (device->version >= IOAT_VER_3_0) { |
1360 | + if (is_skx_ioat(pdev)) | |
1361 | + device->version = IOAT_VER_3_2; | |
1360 | 1362 | err = ioat3_dma_probe(device, ioat_dca_enabled); |
1361 | 1363 | |
1362 | 1364 | if (device->version >= IOAT_VER_3_3) |