Loading
crypto: iaa - Change desc->priv to 0
mainline inclusion from mainline-v6.8-rc1 commit 98bb0dd15133a66ce4d1079193367c536b9e3fec category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I9TA1S CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=98bb0dd15133a66ce4d1079193367c536b9e3fec -------------------------------- In order for shared workqeues to work properly, desc->priv should be set to 0 rather than 1. The need for this is described in commit f5ccf55e (dmaengine/idxd: Re-enable kernel workqueue under DMA API), so we need to make IAA consistent with IOMMU settings, otherwise we get: [ 141.948389] IOMMU: dmar15: Page request in Privilege Mode [ 141.948394] dmar15: Invalid page request: 2000026a100101 ffffb167 Dedicated workqueues ignore this field and are unaffected. Intel-SIG: commit 98bb0dd15133 crypto: iaa - Change desc->priv to 0. Backporting patches for Intel IAA crypto driver on Intel Xeon platform. Signed-off-by:Tom Zanussi <tom.zanussi@linux.intel.com> Reviewed-by:
Dave Jiang <dave.jiang@intel.com> Reviewed-by:
Fenghua Yu <fenghua.yu@intel.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
Xiaochen Shen <xiaochen.shen@intel.com>