Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1198902

Re: [PATCH 2/2] iommu/vt-d: Report superpage support in sysfs

From Joerg Roedel <joro@8bytes.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] iommu/vt-d: Report superpage support in sysfs
Date 2015-08-03 16:40 +0200
Message-ID <pTp4e-5QN-35@gated-at.bofh.it> (permalink)
References <pMfW1-3UL-3@gated-at.bofh.it> <pMfW1-3UL-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jul 14, 2015 at 03:25:04PM -0600, Alex Williamson wrote:
> We already have the VT-d capability register printed raw, but it
> typically involves a trip to the code or the spec to figure out
> whether superpages are supported.  Make this easier with "2M_pages"
> and "1G_pages" sysfs entries that clearly report Y/N.
> 
> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
> ---
>  drivers/iommu/intel-iommu.c |   22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)

Can we make this a generic entry for all iommu types and export a
pagesize bitmap instead?


	Joerg

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] iommu/vt-d: Report superpage support in sysfs Joerg Roedel <joro@8bytes.org> - 2015-08-03 16:40 +0200
  Re: [PATCH 2/2] iommu/vt-d: Report superpage support in sysfs David Woodhouse <dwmw2@infradead.org> - 2015-08-03 16:40 +0200
  Re: [PATCH 2/2] iommu/vt-d: Report superpage support in sysfs Alex Williamson <alex.williamson@redhat.com> - 2015-08-03 17:10 +0200

csiph-web