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

Re: [Xen-devel] xen-unstable warn_on in msi.c:636

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] xen-unstable warn_on in msi.c:636
From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Date: Mon, 1 Aug 2011 14:16:01 +0100
Cc: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Olaf Hering <olaf@xxxxxxxxx>, Yunhong Jiang <yunhong.jiang@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 01 Aug 2011 06:16:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E32D1C20200007800073CFD@xxxxxxxxxxxxxxxxxxxx>
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: <4E32D1C20200007800073CFD@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11

On 29/07/11 15:29, Jan Beulich wrote:
>>>> On 30.06.11 at 15:31, George Dunlap <George.Dunlap@xxxxxxxxxxxxx> wrote:
>> On Thu, Jun 30, 2011 at 1:17 PM, Jan Beulich <JBeulich@xxxxxxxxxx> wrote:
>>>>>> On 30.06.11 at 14:03, George Dunlap <George.Dunlap@xxxxxxxxxxxxx> wrote:
>>>> Olaf / Jan / all, what do you think of the attached patch, which
>>>> teaches the MSI code how to deal with 0 pbas?
>>> No, definitely not an option. They simply must not be zero. The
>>> problem just is that the BARs for virtual functions all read as zero
>>> (and the real value must be calculated from information from the
>>> PF's config space).
>> But at the moment it IS zero, and this "real value" is simply not
>> being calculated.
>>
>> I realize this needs to be fixed the Right Way eventually, but at the
>> moment anyone who uses SRIOV will have a bunch of scary warnings which
>> they can't do anything about except ignore; and it's never a good idea
>> to condition people to ignore this kind of warning.
>>
>> If the current situation is safe enough that fixing it is a low
>> priority, then it's safe enough to remove the warnings for the time
>> being.  If it's not safe enough to remove the warnings, then it's not
>> safe enough to leave and a fix needs to be a priority.
> Attached a patch that eliminates the warnings for me (tested on a single
> system only so far). It ought to apply cleanly to current tip of -unstable.
>
> Jan

Tested on 2 Citrix SR-IOV boxes:

1) Dell R710 with igb, ixgbe and sfc virtual functions
2) Netscalar with 320 individual ixgbe virtual functions across 40 VMs

I tested against our Xen-4.1.1, but the patch applied cleanly.  There
seems no adverse affect on VF functionality.

-- 
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com


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

<Prev in Thread] Current Thread [Next in Thread>