summaryrefslogtreecommitdiff
path: root/include/uapi/linux/mqueue.h
diff options
context:
space:
mode:
authorMegha Dey <megha.dey@linux.intel.com>2020-03-09 13:09:46 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-01 11:01:55 +0200
commitcb17ed60ec39c5ef05174a795242b90642b55d3f (patch)
treea4b97af5b30e6fbc3d4d0f4e2d21fedca68452d2 /include/uapi/linux/mqueue.h
parente5ea0d970f33969c0b1e6dbf1e862faed1ec5e3b (diff)
iommu/vt-d: Fix debugfs register reads
[ Upstream commit ba3b01d7a6f4ab9f8a0557044c9a7678f64ae070 ] Commit 6825d3ea6cde ("iommu/vt-d: Add debugfs support to show register contents") dumps the register contents for all IOMMU devices. Currently, a 64 bit read(dmar_readq) is done for all the IOMMU registers, even though some of the registers are 32 bits, which is incorrect. Use the correct read function variant (dmar_readl/dmar_readq) while reading the contents of 32/64 bit registers respectively. Signed-off-by: Megha Dey <megha.dey@linux.intel.com> Link: https://lore.kernel.org/r/1583784587-26126-2-git-send-email-megha.dey@linux.intel.com Acked-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi/linux/mqueue.h')
0 files changed, 0 insertions, 0 deletions