]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu/amd: Replace two consecutive readl calls with one readq
authorAdrian Huang <ahuang12@lenovo.com>
Thu, 9 Jan 2020 03:02:50 +0000 (11:02 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 17 Jan 2020 10:05:56 +0000 (11:05 +0100)
commit62dcee71608506ad83b0525aa1b53a78b3f1689a
tree534789a5a1b3ee30048063985e45e73f254783bf
parentbde9e6b9ba755e35768261a5ea15541a4c4b4de8
iommu/amd: Replace two consecutive readl calls with one readq

Optimize the reigster reading by using readq instead of the two
consecutive readl calls.

Signed-off-by: Adrian Huang <ahuang12@lenovo.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu_init.c