|
From: | Richard Henderson |
Subject: | Re: [Qemu-arm] [PATCH 07/27] Make memory_region_access_valid() take a MemTxAttrs argument |
Date: | Tue, 22 May 2018 09:17:05 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 05/21/2018 07:03 AM, Peter Maydell wrote: > As part of plumbing MemTxAttrs down to the IOMMU translate method, > add MemTxAttrs as an argument to memory_region_access_valid(). > Its callers either have an attrs value to hand, or don't care > and can use MEMTXATTRS_UNSPECIFIED. > > The callsite in flatview_access_valid() is part of a recursive > loop flatview_access_valid() -> memory_region_access_valid() -> > subpage_accepts() -> flatview_access_valid(); we make it pass > MEMTXATTRS_UNSPECIFIED for now, until the next several commits > have plumbed an attrs parameter through the rest of the loop > and we can add an attrs parameter to flatview_access_valid(). > > Signed-off-by: Peter Maydell <address@hidden> > --- Reviewed-by: Richard Henderson <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |