12/12/2018 12:27, Burakov, Anatoly: > On 12-Dec-18 11:25 AM, tone.zhang wrote: > > With a larger PAGE_SIZE it is possible for the MSI table to very > > close to the end of the BAR s.t. when we align the start and end > > of the MSI table to the PAGE_SIZE, the end offset of the MSI > > table is out of the PCI BAR boundary. > > > > This patch addresses the issue by comparing both the start and the > > end offset of the MSI table with the BAR size, and skip the mapping > > if it is out of Bar scope. > > > > The patch fixes the debug log as below: > > EAL: Skipping BAR0 > > > > Signed-off-by: tone.zhang <tone.zh...@arm.com> > > Reviewed-by: Gavin Hu <gavin...@arm.com> > > Reviewed-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> > > Reviewed-by: Steve Capper <steve.cap...@arm.com> > > Reviewed-by: Anatoly Burakov <anatoly.bura...@intel.com> > > --- > > Acked-by: Anatoly Burakov <anatoly.bura...@intel.com>
Applied, thanks