From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH] ns16550: limit mapped MMIO size Date: Thu, 12 Nov 2015 17:04:00 +0000 Message-ID: <5644C680.50601@citrix.com> References: <5644C3E002000078000B4594@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZwvI5-00022O-Km for xen-devel@lists.xenproject.org; Thu, 12 Nov 2015 17:04:05 +0000 In-Reply-To: <5644C3E002000078000B4594@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel Cc: Ian Campbell , Ian Jackson , Keir Fraser , Tim Deegan List-Id: xen-devel@lists.xenproject.org On 12/11/15 15:52, Jan Beulich wrote: > There's no point in mapping more than the memory we actually may need > to touch, and in fact the too large region could actually extend into > another device's one (which currently is benign on x86 since only a > single page gets mapped anyway, but which is a latent bug on ARM > whenever PCI support gets enabled there). > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper