diff options
author | Dave Jiang <dave.jiang@intel.com> | 2020-11-11 15:23:46 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-11-16 22:38:20 +0530 |
commit | 8326be9f1c0bb498baf134878a8deb8a952e0135 (patch) | |
tree | f3c50b5ee70d215ad2e77a537c2e78b5281b294d /drivers/dma/coh901318_lli.c | |
parent | 29a25b9246f7f24203d30d59424cbe22bd905dfc (diff) |
dmaengine: idxd: fix mapping of portal size
Portal size is 4k. Current code is mapping all 4 portals in a single chunk.
Restrict the mapped portal size to a single portal to ensure that submission
only goes to the intended portal address.
Fixes: c52ca478233c ("dmaengine: idxd: add configuration component of driver")
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/160513342642.510187.16450549281618747065.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/coh901318_lli.c')
0 files changed, 0 insertions, 0 deletions