From patchwork Fri Feb 1 05:36:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Honghui Zhang X-Patchwork-Id: 10791817 Return-Path: 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 E33626C2 for ; Fri, 1 Feb 2019 05:36:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFD5431A84 for ; Fri, 1 Feb 2019 05:36:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFD6331D4E; Fri, 1 Feb 2019 05:36:25 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY 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 7D71831A84 for ; Fri, 1 Feb 2019 05:36:25 +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: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:In-Reply-To:References: List-Owner; bh=ghAaO4L3SMpa4gfZBllTI1a4BDheE0Hb0aCcfqmVlZs=; b=TIn/9RsZqiEYnm T2Mxcynf4R/TNZ7ibIgzpKcrUQnrhlXhx3VQoqorsPLMK+p28P/4sNAzlw1dc0gpGc8/qqnAPq4Ya 8zLGGfkiI2KXx5TbMyhDCdOXcUAja2eSJRN34VyVF/aCSzqM8SJobM9v+D83kpy4t+TyBlkNv3vtM 7TUhteERPRLZjFdf4ZJXCYnvF8ft39nY5Bd6mVbCRnjkfWChZw/s8hnyA105oIsKA9D2A56uNGBDw dHdwU4hldhHIR0RcCunseMQjE7bwjNbKfFGPCa1xdYKSv2MJbPCmVlBSlpvnD2NW60MAZ5loAi9aG nzFjEkP2vHhkKyN8KrsQ==; 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 1gpRUz-0004Pj-Hz; Fri, 01 Feb 2019 05:36:21 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpRUu-0004Nu-I5; Fri, 01 Feb 2019 05:36:18 +0000 X-UUID: 2dc057a9fbb343109ffd3c7d3f595a9a-20190131 X-UUID: 2dc057a9fbb343109ffd3c7d3f595a9a-20190131 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1111101032; Thu, 31 Jan 2019 21:36:13 -0800 Received: from mtkmbs08n1.mediatek.inc (172.21.101.55) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 31 Jan 2019 21:36:12 -0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 1 Feb 2019 13:36:10 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 1 Feb 2019 13:36:09 +0800 From: To: , , , , , , Subject: [PATCH v3 0/2] PCI: mediatek: enable whole MMIO range and enlarge the PCIe2AHB window size Date: Fri, 1 Feb 2019 13:36:05 +0800 Message-ID: <1548999367-11733-1-git-send-email-honghui.zhang@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190131_213616_600450_D0C7562F X-CRM114-Status: UNSURE ( 6.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: youlin.pei@mediatek.com, poza@codeaurora.org, fred@fredlawl.com, rafael.j.wysocki@intel.com, jianjun.wang@mediatek.com, Honghui Zhang Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Honghui Zhang Two patches: patch 1 enable whole MMIO range which also fix the complain of scripts/coccinelle/api/resource_size.cocci patch 2 enlarge the PCIe2AHB window size to support fully access of 4GB DRAM from EP DMA. v3: - update the changlog title for patch1 and update commit message following Bjorn's suggestion - move the "|" into the previous line. v2: - Fix the checkpatch complains for patch 1. - update the commit message and change title of patch 1 for changelog conventions. - Add patch 2. Honghui Zhang (2): PCI: mediatek: Enable the whole memory mapped IO range PCI: mediatek: Enlarge PCIe2AHB window size to support 4GB DRAM drivers/pci/controller/pcie-mediatek.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Acked-by: Ryder Lee