[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for-4.12 v3 3/8] amd/npt/shadow: replace assert that prevents creating 2M/1G MMIO entries
>>> On 15.02.19 at 15:18, <roger.pau@xxxxxxxxxx> wrote: > The assert was originally added to make sure that higher order > regions (> PAGE_ORDER_4K) could not be used to bypass the > mmio_ro_ranges check performed by p2m_type_to_flags. > > This however is already checked in set_mmio_p2m_entry, which makes > sure that higher order mappings don't overlap with mmio_ro_ranges, > thus allowing the creation of high order MMIO mappings safely. > > Replace the assert to allow 2M/1G entries to be created for MMIO > regions and add some extra asserts as a replacement to make sure > there's no overlapping with MMIO read-only ranges. > > Note that 1G MMIO entries will not be created unless mmio_order is > changed to allow it. > > Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |