WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [Patch] Mask Expansion ROM Enable bit

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [Patch] Mask Expansion ROM Enable bit
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Mon, 15 Jun 2009 21:09:07 +0900
Delivery-date: Mon, 15 Jun 2009 05:09:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I got the following unnecessary warning in qemu log,
when I created a guest with pass-through device.

Overlapped to device[00:05.0][Region:0][Address:f2060000h][Size:
00020000h]
pt_bar_mapping_one: Warning: ptdev[00:04.0][Region:6][Address:f2040001h]
[Size:00020000h] is overlapped.

It is a Expansion ROM Base Address Register,
so the last one bits doesn't mean the address space.
If we check overlap address space of all devices,
we shoud avoid the bit.
This patch masks non-address-bits of BAR.

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

Best Regards,

Akio Takebe

Attachment: mask_bar_addr_space.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [Patch] Mask Expansion ROM Enable bit, Akio Takebe <=