From patchwork Thu Jan 31 08:01:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Honghui Zhang X-Patchwork-Id: 10789983 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 EED7A1390 for ; Thu, 31 Jan 2019 08:02:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDD6E27BA5 for ; Thu, 31 Jan 2019 08:02:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E17122FECF; Thu, 31 Jan 2019 08:02:09 +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 86AE727BA5 for ; Thu, 31 Jan 2019 08:02:09 +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=dq2gIAs0I/mvt0+SSj+SGh7OD1xK5xIDmjJuvq3WN98=; b=GKc6g2WNdmlWJF UwJPnZNLOlj3LSoJ+JLg7luDGs+exZWRy1Hfk3MKr2Afz2WMG1hRYgt8t65RMZSpVTpZ4UZHGAqz/ Xs8PTwi3XkTnqkNwTOIz/oTQ/W4Ly9pAM5WcDDVRhHiLDlZMRYjSoBvfVapnEbBCRn2PHx8HTgcH5 TNNuIiMomZ8JmLvoBSCtVmpsEYywPL/2I8+S+q9E2yJ+Zh4HMqxw0hogDrjK68X8GTscjtW61+wfq onvAKQCiir7dB3DBUSw9ajBu7UuQjmIy65CIdAXZYJZIpr6Qbj7KTC5RmOZo8BFbuf7gh89p1qg72 zYKjKOXHKnXYYzF30++g==; 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 1gp7IX-0004NF-4v; Thu, 31 Jan 2019 08:02:09 +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 1gp7IU-0004MD-ID; Thu, 31 Jan 2019 08:02:07 +0000 X-UUID: 0bd4210929c34eae9cac8bfc266effde-20190131 X-UUID: 0bd4210929c34eae9cac8bfc266effde-20190131 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 643749125; Thu, 31 Jan 2019 00:01:59 -0800 Received: from mtkmbs08n1.mediatek.inc (172.21.101.55) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 31 Jan 2019 00:01:58 -0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 31 Jan 2019 16:01:56 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 31 Jan 2019 16:01:55 +0800 From: To: , , , , , , Subject: [PATCH v2 0/2] PCI: mediatek: fix warning and enlarge the PCIe2AHB window size Date: Thu, 31 Jan 2019 16:01:51 +0800 Message-ID: <1548921713-5355-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_000206_605070_EB717243 X-CRM114-Status: UNSURE ( 5.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Honghui Zhang Two patches: patch 1 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. 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: Use resource_size function on resource object PCI: mediatek: Enlarge PCIe2AHB window size to support 4GB DRAM drivers/pci/controller/pcie-mediatek.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)