]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
dmaengine: idxd: reflect shadow copy of traffic class programming
authorDave Jiang <dave.jiang@intel.com>
Tue, 10 Mar 2020 17:50:30 +0000 (10:50 -0700)
committerVinod Koul <vkoul@kernel.org>
Wed, 11 Mar 2020 09:38:52 +0000 (15:08 +0530)
commita1fcaf07ec718bb1f11e29e952c9a4cb733d57a5
tree6555036f48cb133d983dede39a2adb63b6446325
parent7c4a4d088283e02cc04252e88dd08b5cdf54e70f
dmaengine: idxd: reflect shadow copy of traffic class programming

The traffic class are set to -1 at initialization until the user programs
them. If the user choose not to, the driver will program appropriate
defaults. The driver also needs to update the shadowed copies of the values
after doing the programming.

Fixes: c52ca478233c ("dmaengine: idxd: add configuration component of driver")
Reported-by: Yixin Zhang <yixin.zhang@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/158386263076.10898.4586509576813094559.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/device.c