Skip to content
Commit 4aa9243e authored by Michael Kelley's avatar Michael Kelley Committed by Greg Kroah-Hartman
Browse files

swiotlb: fix debugfs reporting of reserved memory pools

[ Upstream commit 5499d01c ]

For io_tlb_nslabs, the debugfs code reports the correct value for a
specific reserved memory pool.  But for io_tlb_used, the value reported
is always for the default pool, not the specific reserved pool. Fix this.

Fixes: 5c850d31

 ("swiotlb: fix passing local variable to debugfs_create_ulong()")
Signed-off-by: default avatarMichael Kelley <mikelley@microsoft.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e6c69b06
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment