diff options
author | Dave Jiang <dave.jiang@intel.com> | 2023-03-03 13:37:31 -0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-03-31 17:26:53 +0530 |
commit | 34ca00662eb7f184f249dd2168ebea78d945e3e4 (patch) | |
tree | 4e4de33bf790e733712cbf4f533357ea5cfc3e6a /drivers/dma/idxd/idxd.h | |
parent | 6fec8938b7b4fe2b2c503fe87b2783a50bff0415 (diff) | |
download | lwn-34ca00662eb7f184f249dd2168ebea78d945e3e4.tar.gz lwn-34ca00662eb7f184f249dd2168ebea78d945e3e4.zip |
dmaengine: idxd: reformat swerror output to standard Linux bitmap output
SWERROR register is 4 64bit wide registers. Currently the sysfs attribute
just outputs 4 64bit hex integers. Convert to output with %*pb format
specifier.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Co-developed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: https://lore.kernel.org/r/20230303213732.3357494-2-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/idxd/idxd.h')
-rw-r--r-- | drivers/dma/idxd/idxd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/idxd/idxd.h b/drivers/dma/idxd/idxd.h index 7ced8d283d98..ad7a1e8a0e1c 100644 --- a/drivers/dma/idxd/idxd.h +++ b/drivers/dma/idxd/idxd.h @@ -598,6 +598,7 @@ int idxd_register_driver(void); void idxd_unregister_driver(void); void idxd_wqs_quiesce(struct idxd_device *idxd); bool idxd_queue_int_handle_resubmit(struct idxd_desc *desc); +void multi_u64_to_bmap(unsigned long *bmap, u64 *val, int count); /* device interrupt control */ irqreturn_t idxd_misc_thread(int vec, void *data); |