From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH 1/4] iommu: introduce generic page table allocation framework Date: Mon, 15 Dec 2014 09:45:06 +0000 Message-ID: <20141215094506.GB20738@arm.com> References: <1417089078-22900-1-git-send-email-will.deacon@arm.com> <1417089078-22900-2-git-send-email-will.deacon@arm.com> <1610022.OYQk9afzNc@avalon> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1610022.OYQk9afzNc@avalon> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Laurent Pinchart Cc: Robin Murphy , "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , "Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org" , "prem.mallappa-dY08KVG/lbpWk0Htik3J/w@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: iommu@lists.linux-foundation.org On Sun, Dec 14, 2014 at 11:46:30PM +0000, Laurent Pinchart wrote: > > +struct io_pgtable_cfg { > > + int quirks; /* IO_PGTABLE_QUIRK_* */ > > + unsigned long pgsize_bitmap; > > + unsigned int ias; > > + unsigned int oas; > > + struct iommu_gather_ops *tlb; > > Could you make this pointer const ? Sure. I'll post a v2 at -rc1 assuming I'm not fishing/drinking (I'm off work from Wednesday this week). Will