Message ID | 20181120092615.11680-9-Zhiqiang.Hou@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 BE3A215A7 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 20 Nov 2018 17:01:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A73FA2AC64 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 20 Nov 2018 17:01:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B0EF2AC67; Tue, 20 Nov 2018 17:01:40 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 33BCA2AC64 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 20 Nov 2018 17:01:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=epio3118XgyP0uE1pY1xFbhiV4nAKfNA1dTq6VM5UUs=; b=dEZHRA/I3vvjLu dFwqj3uDMzjd+wIzSoCGPUs8ht9DzPsiY+9dvA6Il4Bje/GNcmuPPfxdmkNKBTdsWT5l0UdstjvLc wmgxk9vJN0YFgh07jqvfp9USXKQfhJ8Q0+NZ62BZz7Tufq8SOZk4KvgGWDg0p3diE6q53M9KvB8i4 dvv6RwH+qzEWbWjQ6YSLiwUAZf1ucc+jWkP5YnL9kHgzEwUu7Ui3drU0zRR20ulStFttF4IaJswnC 8GyS/f8vOX9okpxhjxWIYxXUDwvoQvA3E0+bM5fvUAgtmgG3YR7wSiYoFLwBK078qSMnNNcYiz/xH eGxb303mhnA+az6YrDnw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP9P8-0004GH-E3; Tue, 20 Nov 2018 17:01:38 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP8oi-0001ws-P2 for linux-arm-kernel@bombadil.infradead.org; Tue, 20 Nov 2018 16:24:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=MIME-Version:Content-Transfer-Encoding: Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZtBbuMrmWGxhwN+xAsr4ZYgWEAafahk94nP828Rkgmw=; b=FnXTKFzrOqc7ojII3DK1lITB/w UXtSQQtmrBaqilSTwRegWb//b3+3OFvRR2X9bMmdU2WdW0xja8TRzP+1FDCwhIEmGHx43DsbPZ2yo +uerhIN6rpq+9yLxu4a3n+pL/H42xW1jhDk6fk0R5/rYOsoLB4pCqGVRp+V0M14n4itp3YXliDJ2x nhAy+RU7yRUTcxH659jNK6e8HWy836V8CbARZmCQ4Dxt7vHQ+pett8i7529iOnxl2N8nms4mGFThO ilmWwbVWOoY00Qmac/0i625UEkAYdEwXLwoLEevirRgZ3Qo21f0PUI/T9+juRlcJxpVt6qOlHuXL5 8MkqNvLg==; Received: from mail-eopbgr70082.outbound.protection.outlook.com ([40.107.7.82] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP2J3-0007A0-R4 for linux-arm-kernel@lists.infradead.org; Tue, 20 Nov 2018 09:26:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZtBbuMrmWGxhwN+xAsr4ZYgWEAafahk94nP828Rkgmw=; b=WEECG5ZB/q2qtpZNmCKc7rq6tw6XP44m7Bd2J7FR1UEkpoOl7woFsg+oZteiSkiM84RlgBOzelZ29THPm7KPLXEmWGeZ973hRzMRvazY2w2TgLl72NTn0hi+53p7T/oCZViQO1ecr/Q+CXm97U2niQx+LA9Df5a146gPBl1PBxU= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.2.80) by AM6PR04MB4775.eurprd04.prod.outlook.com (20.177.32.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1339.21; Tue, 20 Nov 2018 09:26:25 +0000 Received: from AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::29b5:b3ed:3854:cf1c]) by AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::29b5:b3ed:3854:cf1c%4]) with mapi id 15.20.1339.026; Tue, 20 Nov 2018 09:26:25 +0000 From: "Z.q. Hou" <zhiqiang.hou@nxp.com> To: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "bhelgaas@google.com" <bhelgaas@google.com>, "robh+dt@kernel.org" <robh+dt@kernel.org>, "mark.rutland@arm.com" <mark.rutland@arm.com>, "l.subrahmanya@mobiveil.co.in" <l.subrahmanya@mobiveil.co.in>, "shawnguo@kernel.org" <shawnguo@kernel.org>, Leo Li <leoyang.li@nxp.com>, "lorenzo.pieralisi@arm.com" <lorenzo.pieralisi@arm.com>, "catalin.marinas@arm.com" <catalin.marinas@arm.com>, "will.deacon@arm.com" <will.deacon@arm.com> Subject: [PATCHv2 08/25] PCI: mobiveil: use the 1st inbound window for MEM inbound transactions Thread-Topic: [PATCHv2 08/25] PCI: mobiveil: use the 1st inbound window for MEM inbound transactions Thread-Index: AQHUgLMbULVFEh4b3Eub11F03FJn4Q== Date: Tue, 20 Nov 2018 09:26:25 +0000 Message-ID: <20181120092615.11680-9-Zhiqiang.Hou@nxp.com> References: <20181120092615.11680-1-Zhiqiang.Hou@nxp.com> In-Reply-To: <20181120092615.11680-1-Zhiqiang.Hou@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK2PR03CA0050.apcprd03.prod.outlook.com (2603:1096:202:17::20) To AM6PR04MB5781.eurprd04.prod.outlook.com (2603:10a6:20b:aa::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR04MB4775; 6:ZzPJfNWnnsYI53S+iAdYVG7aoyPEbTkHKzn3pfISH4/1TVBZ8WBTPd9c+QYHZepNtQ0uul+rcjDKKznpHM0zdfN1M94WRWuwiQCN3zX6z+tzsdwG3wvqK+85MkKsqHS1JTQ9fpCHynaFNk17Y5ie073/PHRAADhqZ0G1hPXUey9SDDFCT/vz/YSyLHKmgr8jYqsB6PNL8OY8B5Bszn6my/27Ma9hp36vaMc50hmjo/FIDAqCzaHff0wiee9WXMlmwJqWnOyEl8M+4Fk2Bio6qGAiUCvL7hgBMFn2NwrJCRePhkxqir5+MVQAJbF+/Skpb6D3rcyznyQSZ7ZHJ+RqczxmTAViLbYqoTnmdtXe3goBWp1R+JxGLrJ9Nu1pyQryPW0ppsDlbuY72xTpXUOSNat7opo1wCHGHDWw0nNnuEIF6ZLQ+hYz7aIubvwbJa7vUBbKOckV50vrbjEiHH610A==; 5:8zSNnW2np+Sd19dkpnitJ6xvi2yKbYhdv11mYj+3bE/7WtBfC96jbbnpnoP6muwNjbHLVOPRNAMUFvH2RFQQ4DIWVBD/WoME8I2aVYRWpNPWDFy+GCnmowg1th8Wle6SUzH9In5kfRHdpHK3YVx5xIxcHkr9IMTR55dfM0uXkMY=; 7:CMykT+AaqVYJSf9rJ8OrAx6IEUtwhu0DpoPebR5ab3KdsxhWu6EYitMNW8Jh+2/l1nso3OAS1ni34BjZoqEsG9LnSDs5Qs/9c/k2MX+wDbp6UNJ0K9I511h5TX8Z8RTdaFhqqyBB0oJrJcLKBeVapQ== x-ms-office365-filtering-correlation-id: ea0d6692-dcdb-47af-6a13-08d64eca3e10 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB4775; x-ms-traffictypediagnostic: AM6PR04MB4775: x-microsoft-antispam-prvs: <AM6PR04MB4775C90B94E6731F7973283084D90@AM6PR04MB4775.eurprd04.prod.outlook.com> x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231442)(944501410)(52105112)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM6PR04MB4775; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB4775; x-forefront-prvs: 08626BE3A5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(136003)(376002)(396003)(346002)(189003)(199004)(66066001)(1076002)(2900100001)(68736007)(8676002)(6486002)(5660300001)(8936002)(6116002)(3846002)(2501003)(97736004)(81166006)(26005)(186003)(81156014)(105586002)(7416002)(102836004)(2906002)(386003)(6506007)(7736002)(305945005)(106356001)(6512007)(76176011)(36756003)(4326008)(99286004)(52116002)(14444005)(25786009)(110136005)(54906003)(2616005)(86362001)(53936002)(446003)(11346002)(256004)(2201001)(6436002)(486006)(71190400001)(71200400001)(478600001)(316002)(476003)(14454004)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4775; H:AM6PR04MB5781.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 6KJ1GjpFdDZfi37ewh0jXplm4xIbrKqtxjTbuW8uNM1Zq+A9jIJAz8ktQHjV+uVvJS/dnFXIXAgEBJD8dgS+WSYblfzDbtlb9YLQzo2vZupC4r4gPdmN9cxGu5B2evrU8S1HU9+qKuYcVaUgeMiO3g8zy6nHX/+OVy+q9orS+GyJleJriQOcmZcNTK3pyQw7YJrmnfegf+Neep4Zw1JYr/+nFcksn8dYcZLqAsZWOP0Rl2eCRNdQGanpxgK25sE8HwwXPfVkuHXLM96mdG+itKuO6FSqONdk03AkRk0K9KxagzmovxTYMihqhOoBDO6FedfPt/TyljQdoO3aGJobh5p+Q/aIb7desGLNMBzRvV8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea0d6692-dcdb-47af-6a13-08d64eca3e10 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Nov 2018 09:26:25.6908 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4775 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181120_092653_954302_412C8501 X-CRM114-Status: GOOD ( 15.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: "M.h. Lian" <minghuan.lian@nxp.com>, "Z.q. Hou" <zhiqiang.hou@nxp.com>, Xiaowei Bao <xiaowei.bao@nxp.com>, Mingkai Hu <mingkai.hu@nxp.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
PCI: refactor Mobiveil driver and add PCIe Gen4 driver for NXP Layerscape SoCs
|
expand
|
diff --git a/drivers/pci/controller/pcie-mobiveil.c b/drivers/pci/controller/pcie-mobiveil.c index df71c11b4810..e88afc792a5c 100644 --- a/drivers/pci/controller/pcie-mobiveil.c +++ b/drivers/pci/controller/pcie-mobiveil.c @@ -616,7 +616,7 @@ static int mobiveil_host_init(struct mobiveil_pcie *pcie) CFG_WINDOW_TYPE, resource_size(pcie->ob_io_res)); /* memory inbound translation window */ - program_ib_windows(pcie, WIN_NUM_1, 0, MEM_WINDOW_TYPE, IB_WIN_SIZE); + program_ib_windows(pcie, WIN_NUM_0, 0, MEM_WINDOW_TYPE, IB_WIN_SIZE); /* Get the I/O and memory ranges from DT */ resource_list_for_each_entry(win, &pcie->resources) {