Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp869881ybl; Fri, 24 Jan 2020 11:03:06 -0800 (PST) X-Google-Smtp-Source: APXvYqxhgoZ+LVGtiT5FQ5DEwjxzt2YB2HiNQrFf+Xy6EPgQRM9cKgrk2CTRxhc7qvskzsvqUVr1 X-Received: by 2002:a05:6808:81:: with SMTP id s1mr161772oic.179.1579892586527; Fri, 24 Jan 2020 11:03:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579892586; cv=none; d=google.com; s=arc-20160816; b=g0PiRnp3ecDi2EuR06viX5oTCepFODEfK25zD0MplcAh74cl73vLl1LK62oBU0BlCl qfra8cZ7D3t+2ISyAZg35wllyAw4s96CNw3VJbT2fqCA3rTxRhq8odocHLfS0e7DeZx2 DZQcOX/3qnGio7ly86JTjeNMUyz07PmWGAHbh/O4VRWrZKMxxA8xO3PdyREh9AsX/TU2 0QK2FfrCw1jdw6M2m/JvgGLSr1vUtf5ny8DJ3AZvcMIceZGW6XR1iQYvxYd30BlW4g9V soSmVTqTs9uE0j8iXjkBrDKPn/4vk4WXtNpyAy88ZMrGM54jpiIpzNWIEBY7NwA/+Sfs +sww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kGccYqokDtmGJ039J9cGdGHJwBGbocWzcwkg0vTrgcc=; b=JpMlfgsRKUU1wyeljk81CWGRcZ515cM/oq58nCstEwSxe8EczXj572E0Gc9w8kXvnO vdGIZOyxmVJYD9l+7sVrn6Rmzktf1rIX16Ucg/sZ6pMFpFl1Wo7xv19hmVDzxrx4nEhV s+o+JDAUylrzpFITh4h8XNxCGwbV8eotai2KUk07iRC7aj9BBCVNR0DK5gjhR4G0hABQ ZvP0YJ0/H9vvnsUsLNi3eanBCN8VOhXOg6h5lwOQ7MQkU0/cgF/byKWYuD1hBI+IRbJp SQLgEXLmSZJbQ7yB5vTWXGxaOmPvI83tdR8M1yUNsmb+yDUbNIBq3EtajKw1MqhK2vJ+ 7oBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FFTOmS8n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e192si193490oib.82.2020.01.24.11.02.52; Fri, 24 Jan 2020 11:03:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FFTOmS8n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391594AbgAXL0t (ORCPT + 99 others); Fri, 24 Jan 2020 06:26:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:41816 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391588AbgAXL0q (ORCPT ); Fri, 24 Jan 2020 06:26:46 -0500 Received: from localhost (ip-213-127-102-57.ip.prioritytelecom.net [213.127.102.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5B45C2075D; Fri, 24 Jan 2020 11:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579865206; bh=OGxVUGjvj5du1rg7UWcWQJE0Kmdun1QAZUtLSwOl7Sw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FFTOmS8nczD08Z4ILtazRnmR/zt4EZGmtozFMuJpQjSnM8LDhwNiBBjb4p38tFVrR IHUWR+5kW5kezWnvB2CFNfHdVdHGKFHSvyJTs6zme3HGOtRDCHCF2/Vi4PilHszMJc oEJd3/cA6rHckeobiRFD3usoxOgYCwu4XeoUyCoU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hou Zhiqiang , Lorenzo Pieralisi , Minghuan Lian , Sasha Levin Subject: [PATCH 4.19 469/639] PCI: mobiveil: Remove the flag MSI_FLAG_MULTI_PCI_MSI Date: Fri, 24 Jan 2020 10:30:39 +0100 Message-Id: <20200124093146.185771483@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200124093047.008739095@linuxfoundation.org> References: <20200124093047.008739095@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hou Zhiqiang [ Upstream commit a131fb6364c1be0924dcb969ecf6b988c556a5d5 ] The Mobiveil internal MSI controller requires separate target addresses, one per MSI vector; this is clearly incompatible with the Multiple MSI feature, which requires the same target address for all vectors requested by an endpoint (ie the Message Address field in the MSI Capability structure), so the multi MSI feature is clearly not supported by the host controller driver. Remove the flag MSI_FLAG_MULTI_PCI_MSI and with it multi MSI support, fixing the misconfiguration. Fixes: 1e913e58335f ("PCI: mobiveil: Add MSI support") Signed-off-by: Hou Zhiqiang [lorenzo.pieralisi@arm.com: commit log] Signed-off-by: Lorenzo Pieralisi Reviewed-by: Minghuan Lian Signed-off-by: Sasha Levin --- drivers/pci/controller/pcie-mobiveil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/pcie-mobiveil.c b/drivers/pci/controller/pcie-mobiveil.c index a2d1e89d48674..dc228eb500edd 100644 --- a/drivers/pci/controller/pcie-mobiveil.c +++ b/drivers/pci/controller/pcie-mobiveil.c @@ -643,7 +643,7 @@ static struct irq_chip mobiveil_msi_irq_chip = { static struct msi_domain_info mobiveil_msi_domain_info = { .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS | - MSI_FLAG_MULTI_PCI_MSI | MSI_FLAG_PCI_MSIX), + MSI_FLAG_PCI_MSIX), .chip = &mobiveil_msi_irq_chip, }; -- 2.20.1