OSDN Git Service

iommu/vt-d: Print pasid table entries MSB to LSB in debugfs
authorSai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Mon, 22 Jul 2019 00:22:07 +0000 (17:22 -0700)
committerJoerg Roedel <jroedel@suse.de>
Mon, 22 Jul 2019 15:52:57 +0000 (17:52 +0200)
commit7f6cade5b6bf47daa315118a05aab613c73462ff
treed78e5f2c5d50429348c0bbb9e92cf2f8f6612039
parent9eed17d37c77171cf5ffb95c4257f87df3cd4c8f
iommu/vt-d: Print pasid table entries MSB to LSB in debugfs

Commit dd5142ca5d24 ("iommu/vt-d: Add debugfs support to show scalable mode
DMAR table internals") prints content of pasid table entries from LSB to
MSB where as other entries are printed MSB to LSB. So, to maintain
uniformity among all entries and to not confuse the user, print MSB first.

Cc: Joerg Roedel <joro@8bytes.org>
Cc: Lu Baolu <baolu.lu@linux.intel.com>
Cc: Sohil Mehta <sohil.mehta@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Fixes: dd5142ca5d24 ("iommu/vt-d: Add debugfs support to show scalable mode DMAR table internals")
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu-debugfs.c