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] ioemu: alternative patch fixing pt_chk_bar_overlap

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] ioemu: alternative patch fixing pt_chk_bar_overlap
From: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
Date: Thu, 17 Jul 2008 16:05:11 +0900
Delivery-date: Thu, 17 Jul 2008 00:05:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <487E1C0F.3080001@xxxxxxxxxxxxx>
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>
References: <487E1B9F.8060305@xxxxxxxxxxxxx> <487E1C0F.3080001@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I am submitting alternative patch fixing pt_chk_bar_overlap.
The patch is for xen 3.3 unstable.

Original issue is casting (PCIDevice **) to (PCIDevice *).
The patch fix it.

The difference between Jean's patch and my patch is following.

  - check whether new resource overlaps with the resources allocated to
    other devices.

  - skip own devices' resources.

  - check not only 1st function but also 2nd - 8th function.

  - loop from 0 to check all devices regardless of devfn_min.

Thanks.

Signed-off-by: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>

--
Yuji Shimada

Attachment: chk_bar_overlap_bugfix.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel