Message ID | 1539274554-32252-1-git-send-email-adouglas@cadence.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show
Return-Path: <linux-pci-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B6BD83CF1 for <patchwork-linux-pci@patchwork.kernel.org>; Thu, 11 Oct 2018 16:16:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A96E92BAAC for <patchwork-linux-pci@patchwork.kernel.org>; Thu, 11 Oct 2018 16:16:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A7E52BAEC; Thu, 11 Oct 2018 16:16:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28F162BAAC for <patchwork-linux-pci@patchwork.kernel.org>; Thu, 11 Oct 2018 16:16:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728553AbeJKXoR (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Thu, 11 Oct 2018 19:44:17 -0400 Received: from mx0a-0014ca01.pphosted.com ([208.84.65.235]:34840 "EHLO mx0a-0014ca01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726700AbeJKXoR (ORCPT <rfc822;linux-pci@vger.kernel.org>); Thu, 11 Oct 2018 19:44:17 -0400 Received: from pps.filterd (m0042385.ppops.net [127.0.0.1]) by mx0a-0014ca01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w9BGDejp005443; Thu, 11 Oct 2018 09:16:11 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=proofpoint; bh=zdoICzqt+/BwVeoq1sZW3/Zqfm0BXrQWMZFt8Y7LdIw=; b=soxFUwGJKhXwpxdIcCJ6UJHdvZLBtE9puZB//I+ln/bDqGfH9gDwb8Lml3weQOSiios+ q2brY3HDyBipuLQ0t7qtV7iYX6GLSg2LrwJxhET7CqNkG4GrreR3Kd5uphC7f1pDlVNK QCt4CFcgH7a+bSGYTVc1beXqtXDs5IR316xxqUfS9pJaylVxv21FSRnp1QM3Bqze8mfK 73WnOEtVR2P/phLiKl7VIWeyssHosAYxHs3gFNrfM2v98hKE5r7ifpKfNpnziKty0uix ZLv8CaCkNMyJ2LR1D0ywrTY3MCHI9HK74qnrhmhBChQItRM5hhCmeJIP8x591tfL/rL8 tQ== Authentication-Results: cadence.com; spf=pass smtp.mailfrom=adouglas@cadence.com Received: from nam01-bn3-obe.outbound.protection.outlook.com (mail-bn3nam01lp0180.outbound.protection.outlook.com [216.32.180.180]) by mx0a-0014ca01.pphosted.com with ESMTP id 2mxuwx7qk5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 11 Oct 2018 09:16:11 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zdoICzqt+/BwVeoq1sZW3/Zqfm0BXrQWMZFt8Y7LdIw=; b=SJxYQYfH5ajnNyLqFAA0kwT3XvfldAKacuJ1R4joZnFBP3CUlbHwvQVMb3Lv3UgQoXu3KSQQaNlBDfKjaZQEMhvYXL4ZGGhbdoo8blGyFyyUA1eq0oDU+x8YpGOXQs0HP6Z3o4hBaCePu5T3ni+YtnYqp8RPK+JICjq5DPegDAY= Received: from DM5PR07CA0109.namprd07.prod.outlook.com (2603:10b6:4:ae::38) by BLUPR0701MB1825.namprd07.prod.outlook.com (2a01:111:e400:5164::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.25; Thu, 11 Oct 2018 16:16:09 +0000 Received: from BY2NAM05FT036.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e52::202) by DM5PR07CA0109.outlook.office365.com (2603:10b6:4:ae::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1164.22 via Frontend Transport; Thu, 11 Oct 2018 16:16:08 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning cadence.com discourages use of 158.140.1.28 as permitted sender) Received: from sjmaillnx1.cadence.com (158.140.1.28) by BY2NAM05FT036.mail.protection.outlook.com (10.152.100.173) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1250.2 via Frontend Transport; Thu, 11 Oct 2018 16:16:08 +0000 Received: from maileu3.global.cadence.com (maileu3.cadence.com [10.160.88.99]) by sjmaillnx1.cadence.com (8.14.4/8.14.4) with ESMTP id w9BGG6TM031333 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 11 Oct 2018 09:16:07 -0700 X-CrossPremisesHeadersFilteredBySendConnector: maileu3.global.cadence.com Received: from maileu3.global.cadence.com (10.160.88.99) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 11 Oct 2018 18:16:12 +0200 Received: from lvloginb.cadence.com (10.165.177.11) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 11 Oct 2018 18:16:12 +0200 Received: from lvloginb.cadence.com (localhost [127.0.0.1]) by lvloginb.cadence.com (8.14.4/8.14.4) with ESMTP id w9BGG5pN000395; Thu, 11 Oct 2018 17:16:05 +0100 Received: (from adouglas@localhost) by lvloginb.cadence.com (8.14.4/8.14.4/Submit) id w9BGG5dh000392; Thu, 11 Oct 2018 17:16:05 +0100 From: Alan Douglas <adouglas@cadence.com> To: <lorenzo.pieralisi@arm.com> CC: <kishon@ti.com>, <bhelgaas@google.com>, <linux-pci@vger.kernel.org>, <gustavo.pimentel@synopsys.com>, <cyrille.pitchen@bootlin.com>, Alan Douglas <adouglas@cadence.com> Subject: [PATCH v4 2/4] PCI: cadence: Write MSI data with 32bits Date: Thu, 11 Oct 2018 17:15:54 +0100 Message-ID: <1539274554-32252-1-git-send-email-adouglas@cadence.com> X-Mailer: git-send-email 1.9.0 MIME-Version: 1.0 Content-Type: text/plain X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:158.140.1.28;IPV:CAL;SCL:-1;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39860400002)(136003)(396003)(376002)(346002)(2980300002)(36092001)(199004)(189003)(86362001)(5660300001)(105596002)(106466001)(305945005)(2906002)(50466002)(126002)(7636002)(2616005)(2351001)(476003)(51416003)(54906003)(356004)(6666004)(36756003)(47776003)(478600001)(6916009)(50226002)(8936002)(8676002)(246002)(26826003)(4326008)(87636003)(14444005)(107886003)(186003)(48376002)(486006)(336012)(16586007)(42186006)(316002)(26005)(426003);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR0701MB1825;H:sjmaillnx1.cadence.com;FPR:;SPF:SoftFail;LANG:en;PTR:corp.cadence.com;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;BY2NAM05FT036;1:LDdaLBGzb8WS9A0puU4fhiXjRF32iC1bU5FanvI0s9Yxpe10uWDXfVfovI9geWf/U6X3qSQBqq2T1DF8dr1MwFgZG/RXgEiAWNK4TIaV37Ydw4J3rrkz2D0ZKgBLOiD2 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fe8a1262-62bc-482c-f31a-08d62f94da4f X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060);SRVR:BLUPR0701MB1825; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1825;3:XRzn2RgpeBLnVbKrQltcuNtp2PiwD0DqiqN7D8l1c/QGbvaYnErfVzOiSOWe1ODvJAWgRgFzEhO830gv7EXlrnPpP5YCJscCMyiSoRylffXJhhdeaVy4ezgIsEYKlERQxtkIU7/AzilqJbAALIeHJpnEvMSTQyy/YTxAArWeF8LhHZgsOw4XkKY/58HlODMAkKXi9XKckkf9xzMqmbzo8ddCIrxV4HzoMyfC5/qyRUSe8ux8/fIQAnK7UffRypZYytcYhL7Mr88jrV93ehMHO1t2hhElAwQvnQOkYqZbKE0oVRoXZnZ2OMzc/YCKQVlJQiFnuzDvOMEMT2pIVJfM5ZhFVFw998PKvKiU06cyzmA=;25:zwyrY+LRgFsR++qi7bSbBAHTVGnwYolu9fqNrbSfGXHk3fCSl7KyPLfyUpe4A6ronuj0MzPD/M92Pive9wLboOs5W2sj0lbeGkoE83oRaSQnf0nofYOEeC+eHt204MpddrUpo7zdn+1HLeAvYcKQm4HVxZTjIyEkT9KaedM6qWfxAcK05f2nyUC7QOSfo1MH2iUcGGc/bWcxbnWvmbPKR/82v2eyHmnq79zg1z2ZlArbNbxI8A6upfgMjBAuIuausteZFoa0/zlp8QUGenV3N2CV+VIfUs+yJF7d054zN3dOivQp1fXBQ3OPOTpc4fTLATuSVP7RmxRFK7RSsTBzchKNptCbcVMM6MNIx+BEGpY= X-MS-TrafficTypeDiagnostic: BLUPR0701MB1825: X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1825;31:7Jvv+4f+vfZq05BxnarticCBFVuoeD6Cb/qt5K+lL+pHrIAbWvt3rWVpmgoyh9h0FZVbeD3KBTEH/Bkf5UA3wn7KR7f8hrgiK3EPfc+d/Bl4LaET4tsy2woGycDqWuG8JQZO/lHc55gwjU3kWKdYtRUZsFW3YFZp5cZ3eeQWWNXSRqLQZyWiwutLNTPZHY48lEcw9idZ9JH9VFoCfEs9U9A1Qwdt0vfdRLK1Lmr9F+8=;20:tgSkV1XFACb36eIzXulyAftzZ/9FLIyiyt4ANTkGkbMhg7tTb61lQM3LuZ0KDVJKv2/39P4MEwXtpjrqD9OZ/1eBF+JLHUVwxuLj5Nq+vHItHZf8N/eo3CkCTRnhIXmjtwhNvPPvp9yZI0YR76pD2rr7NC+1aHbiAK5lw58p34ytRG0v+lYZ2rdgwXLXOSgS0oGKCd88Ikk/VVhqpQ1L24wL68Y+8cVzH25AK4nIqeUSywaVlwx2WHAP9OzEAhmZiG2jHHoUy3k8zkcMSJj4PjEXXPvwt9ed302W9eD0rDV2MML1lpuBbKd9xadRxpZL7DIv6XmcGDMfweljipqSf0Yjp78sW9QoVlfigPWEm2L0l7iJb2+FL63ZZZUk2iLFhdzJGHh1WFxgfHgEDrN0/GrHaeGy6bIWvahOtQy19BjinX0A7UwsEU+cECNRmJUrtDbR60vfEGhZYZ5PH+SFxvOqTyg6xRic9rECM2zAKp2VkY7ZHUqDVeDaM1gQbXME X-Microsoft-Antispam-PRVS: <BLUPR0701MB1825900A9678B05F8F356BB9D8E10@BLUPR0701MB1825.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(72806322054110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(3002001)(93006095)(93003095)(10201501046)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201708071742011)(7699051);SRVR:BLUPR0701MB1825;BCL:0;PCL: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bQq23M7ZRr8SHSLURqMMP6JBXwMBIcCLzF18uhh5rkQNqOApKRexDi92KQYvKDZip2T1HGmVCEnCb6qVwPqMw3c4OazpC9Df9fKR0pNOLaFSZDPpjHdoE+KBfV8aRR1ugwlBlLqGydVITwqcONxBOENpLla2Qu83hpyT0LhEARyuCnpYubBIA8QXX+E1SrtoIl6XKp93XYwP6/3ALirqcfF8hZ13KG34I7JhRAhkjySwD440lODx+7F5qF96FVPw5wuFKetoJNqhCfBQ20eqWdtswslUMr4vz65qCO9vnGITlErg==;5:AXG7b6HLD1HJoZU/MbRFXbzhwHZ5DwWZr5hPFiY9EtbnhgNc81BMIzmGkKizhc1Pypb/Uyr/5nXppSP8iixO0CZMI/HXNqqVLPjcQxB5gMA+Nr+50Y2w0KqaL7dRaB5VdfotmEtx4TJEBkshYutm7WGY1o8BR9szsMri6NhvSnw=;7:5jpiip01VzPzBYf69iRjTjuJN3MN4ewjTMLWJJd88gx/skT4KhwmrDoDjOJluNC79nWyxAhaPyokdXbZn7uK0IvQ05GZcZV7aaHD0Fnh3gutdao5qsGQ7091NfrrOs5LX6GSgI7upV3u7/mlZn6sW2aMpIpUtCmnhkdvBueudI79swj7atDA+PQ8jlnXyRbpUDmn8Z0skQoqyPer8fKXDDPtDsoX/gdPl3jJLImWJtwHg0W7DmFFmXjF2MIhlSFo SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1825;20:lrOmc7EkQPutA6I9vfFAw7uzIDX6X9Kg42wqP5BL9SBjmjden08ECDZucUdYWEITAxVcTMjkKDWXQuRm4CCpMYMelVeEOCmRHtNzGHFbHN1YQQue1EJRyK1ZeYq1k9GLCekJgSlq73dtonjXZX3pYsacJqgwZO0eu07q/gtnIlext0R0aYYKaVrPtWKG6MYoyH07qu5iQlhP2tD0iXqEhPFkb1Z5y0yAA0LrEmGgYbC+ABtFKfCcXwL/P3YJaAKW X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2018 16:16:08.3216 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fe8a1262-62bc-482c-f31a-08d62f94da4f X-MS-Exchange-CrossTenant-Id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d36035c5-6ce6-4662-a3dc-e762e61ae4c9;Ip=[158.140.1.28];Helo=[sjmaillnx1.cadence.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1825 X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 a:mx-sanjose2.Cadence.COM a:mx-sanjose4.Cadence.COM a:mx-sanjose5.Cadence.COM include:mktomail.com include:spf-0014ca01.pphosted.com include:spf.protection.outlook.com include:auth.msgapp.com include:spf.mandrillapp.com ~all X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-10-11_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_check_notspam policy=outbound_check score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=798 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810110156 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pci.vger.kernel.org> X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series | Fixes for cadence EP driver | expand |
diff --git a/drivers/pci/controller/pcie-cadence-ep.c b/drivers/pci/controller/pcie-cadence-ep.c index 6692654..c3a0889 100644 --- a/drivers/pci/controller/pcie-cadence-ep.c +++ b/drivers/pci/controller/pcie-cadence-ep.c @@ -355,7 +355,7 @@ static int cdns_pcie_ep_send_msi_irq(struct cdns_pcie_ep *ep, u8 fn, ep->irq_pci_addr = (pci_addr & ~pci_addr_mask); ep->irq_pci_fn = fn; } - writew(data, ep->irq_cpu_addr + (pci_addr & pci_addr_mask)); + writel(data, ep->irq_cpu_addr + (pci_addr & pci_addr_mask)); return 0; }
According to the PCIe specification, although the MSI data is only 16bits, the upper 16bits should be written as 0. Use writel instead of writew when writing the MSI data to the host. Fixes: 37dddf14f1ae ("PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller") Signed-off-by: Alan Douglas <adouglas@cadence.com> --- drivers/pci/controller/pcie-cadence-ep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)