[PATCH v6 07/18] iommu: Implement reserved_regions iommu-group sysfs file

Joerg Roedel joro at 8bytes.org
Fri Jan 6 03:00:39 PST 2017


On Thu, Jan 05, 2017 at 07:04:35PM +0000, Eric Auger wrote:
> +	list_for_each_entry_safe(region, next, &group_resv_regions, list) {
> +		str += sprintf(str, "0x%016llx 0x%016llx\n",
> +			       (long long int)region->start,
> +			       (long long int)(region->start +
> +						region->length - 1));
> +		kfree(region);
> +	}

I think it also makes sense to report the type of the reserved region.



	Joerg




More information about the linux-arm-kernel mailing list