Message ID | alpine.DEB.2.02.1407211504390.2295@kaball.uk.xensource.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDWMDO7X3ICBB2WAWSPAKGQEDGMNLXI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A8AE420492 for <linaro@patches.linaro.org>; Mon, 21 Jul 2014 14:15:07 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id lf10sf55897847pab.1 for <linaro@patches.linaro.org>; Mon, 21 Jul 2014 07:15:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:cc:subject:in-reply-to :message-id:references:user-agent:mime-version:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=/R2osWYUXfNFhh8W3LLl2i7L2RUfeOILqlfK8ON7SgE=; b=GuQapI9WNPWQyk/P3nUuQ3WwSkTOh+CkJ/9iF4ZmH9ofX06AgwxQaT9zV9VGKrxaeD wQNXqDxXR0pw0BsrHKMHa1GRkNkm0QR6v9Ew8JS2ohfn13Ls3D3e/Jz98sKVTXNu24NP 8shrtKL5DGxR8pAr2lnzfhDTtn9Ub5jWZFuVONle0J4EDywo86KzH2LA8PrHxWsh3sQk 8QRxSSY+rfroZG/At9UVcXfHZyVoCeqkawwDhxLDxhX59KR2IGyRDlvAu/XiIjjW2Jz0 Re66X4NUzxostkjT9UtpU+9lXZdySyawMFNNDkc6B31m5zdvrQeclsLeeYQZExO5aXuL s90w== X-Gm-Message-State: ALoCoQn8NTNDy9Pev37cBinjTQaLXn5sOaMbgGvAR22BQUzuJ/1WswZzdTGrIJakW+55ZDlQ/nyG X-Received: by 10.66.144.228 with SMTP id sp4mr12543467pab.5.1405952107009; Mon, 21 Jul 2014 07:15:07 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.233 with SMTP id j96ls1103504qgd.80.gmail; Mon, 21 Jul 2014 07:15:06 -0700 (PDT) X-Received: by 10.52.185.72 with SMTP id fa8mr25020822vdc.4.1405952106795; Mon, 21 Jul 2014 07:15:06 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id s10si11416281vcx.51.2014.07.21.07.15.06 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Jul 2014 07:15:06 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id la4so12238017vcb.19 for <patchwork-forward@linaro.org>; Mon, 21 Jul 2014 07:15:06 -0700 (PDT) X-Received: by 10.52.248.146 with SMTP id ym18mr25208716vdc.8.1405952106621; Mon, 21 Jul 2014 07:15:06 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp115663vcb; Mon, 21 Jul 2014 07:15:05 -0700 (PDT) X-Received: by 10.66.122.135 with SMTP id ls7mr25805378pab.84.1405952105053; Mon, 21 Jul 2014 07:15:05 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zm3si14389755pac.97.2014.07.21.07.14.55 for <yi.li@linaro.org>; Mon, 21 Jul 2014 07:14:55 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933015AbaGUOOo (ORCPT <rfc822;yi.li@linaro.org> + 12 others); Mon, 21 Jul 2014 10:14:44 -0400 Received: from smtp.citrix.com ([66.165.176.89]:28727 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932601AbaGUOOk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 21 Jul 2014 10:14:40 -0400 X-IronPort-AV: E=Sophos;i="5.01,701,1400025600"; d="scan'208";a="154219790" Received: from accessns.citrite.net (HELO FTLPEX01CL01.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 21 Jul 2014 14:14:38 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.3.181.6; Mon, 21 Jul 2014 10:14:37 -0400 Received: from kaball.uk.xensource.com ([10.80.2.59]) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from <stefano.stabellini@eu.citrix.com>) id 1X9EMO-0005Or-UG; Mon, 21 Jul 2014 15:14:36 +0100 Date: Mon, 21 Jul 2014 15:13:40 +0100 From: Stefano Stabellini <stefano.stabellini@eu.citrix.com> X-X-Sender: sstabellini@kaball.uk.xensource.com To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> CC: Vitaly Kuznetsov <vkuznets@redhat.com>, <stefano.stabellini@eu.citrix.com>, <xen-devel@lists.xenproject.org>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, David Vrabel <david.vrabel@citrix.com>, Andrew Jones <drjones@redhat.com>, <linux-kernel@vger.kernel.org> Subject: Re: [PATCH RFC 4/4] xen/pvhvm: Make MSI IRQs work after kexec In-Reply-To: <20140716134050.GH19585@laptop.dumpdata.com> Message-ID: <alpine.DEB.2.02.1407211504390.2295@kaball.uk.xensource.com> References: <1405431640-649-1-git-send-email-vkuznets@redhat.com> <1405431640-649-5-git-send-email-vkuznets@redhat.com> <20140715152105.GP3403@laptop.dumpdata.com> <87fvi1u16k.fsf@vitty.brq.redhat.com> <20140716134050.GH19585@laptop.dumpdata.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stefano.stabellini@eu.citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> Content-Type: text/plain; charset="US-ASCII" |
diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c index 905956f..d824743 100644 --- a/arch/x86/pci/xen.c +++ b/arch/x86/pci/xen.c @@ -231,8 +231,7 @@ static int xen_hvm_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) __read_msi_msg(msidesc, &msg); pirq = MSI_ADDR_EXT_DEST_ID(msg.address_hi) | ((msg.address_lo >> MSI_ADDR_DEST_ID_SHIFT) & 0xff); - if (msg.data != XEN_PIRQ_MSI_DATA || - xen_irq_from_pirq(pirq) < 0) { + if (msg.data != XEN_PIRQ_MSI_DATA) { pirq = xen_allocate_pirq_msi(dev, msidesc); if (pirq < 0) { irq = -ENODEV;