[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170106110039.GL17255@8bytes.org>
Date: Fri, 6 Jan 2017 12:00:39 +0100
From: Joerg Roedel <joro@...tes.org>
To: Eric Auger <eric.auger@...hat.com>
Cc: eric.auger.pro@...il.com, christoffer.dall@...aro.org,
marc.zyngier@....com, robin.murphy@....com,
alex.williamson@...hat.com, will.deacon@....com,
tglx@...utronix.de, jason@...edaemon.net,
linux-arm-kernel@...ts.infradead.org, kvm@...r.kernel.org,
drjones@...hat.com, linux-kernel@...r.kernel.org,
pranav.sawargaonkar@...il.com, iommu@...ts.linux-foundation.org,
punit.agrawal@....com, diana.craciun@....com, gpkulkarni@...il.com,
shankerd@...eaurora.org, bharat.bhushan@....com,
geethasowjanya.akula@...il.com
Subject: Re: [PATCH v6 07/18] iommu: Implement reserved_regions iommu-group
sysfs file
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
Powered by blists - more mailing lists