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

2015-08-03 Thread Alex Williamson
On Mon, 2015-08-03 at 16:30 +0200, Joerg Roedel wrote: > 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. M

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

2015-08-03 Thread David Woodhouse
On Mon, 2015-08-03 at 16:30 +0200, Joerg Roedel wrote: > 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. M

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

2015-08-03 Thread Joerg Roedel
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

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

2015-07-14 Thread Alex Williamson
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 --- drivers/io