Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2692542pxb; Tue, 19 Jan 2021 03:53:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeNGibFQ7ENrKX+/yrGgG05OCCzYVF3oADTz4KbHf1dPDn2Kz/sV7RGkbORY6sReWZ+UjZ X-Received: by 2002:a17:907:c23:: with SMTP id ga35mr2595449ejc.72.1611057196329; Tue, 19 Jan 2021 03:53:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611057196; cv=none; d=google.com; s=arc-20160816; b=Ifh09lszmQn94leaGdVmSEc5bheqDSqt6kGWa7q6vqWRn/Stat6ImC121FyfiHbeXm HzJ3QOJELH1XfWBQ6en9m3nQWqc6SjNF3fShkvRImqLfEHSR3gpQHnpASl4+M8rDnINE jB6Bf4fgz7PT7q+2WltEtJTv7d5E6XnM2hsUXhEBlbK0MJ1p/6SWu3rg3Wh1MlIx5QXR SDfdV/PbfXek5/1DZIepep6HBsbG6lo758ofx4N9mNusxnCNqXLeQx7Mwp+F/Tw/UsjL C/ME37iQ8gAu3bADF4IV8R8/mAWrtJ5BIdeNGNGNFR/dADmeK7F14gXsq26uMPR0OU/A +V8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=UWEbuKD0Gjjm/J0hkgTFmlztBXn6nGW8Y4VqcJOGw1M=; b=s4NOYK57ua7WE245e5kJrdd0bZTxln7tz1xnBipnwwv5nREAsm+6jlGGG/LTOiDPSl y5IE8VFmyL99qaXv5EmsnTVNVyTADLwBqKny1umduj4IC5OJvewtr8YHVE+FWtmnF0pz 2K9cr8Ib+cSyknRgRKN70UQanTGxVXinEEjnRMX0JpBeZQrldje2vxhf3QK28qeMpLOk ERp0FqYkfNxGLy4cAJHzWI4e1tD6XVV9DZFxGPcU77g6tG2H7BxLXiK0NqwAUhdpGG5S 7CLaoc8ONCE+H5EdQv1UsDSBjct0/Sip2t40gKOFoTFJrAg+2dY5JVwPEyiS9u91KfJP 3uyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=pSSNHiaW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn22si9592834edb.175.2021.01.19.03.52.53; Tue, 19 Jan 2021 03:53:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=pSSNHiaW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391113AbhASKw7 (ORCPT + 99 others); Tue, 19 Jan 2021 05:52:59 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:21851 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389206AbhASKlK (ORCPT ); Tue, 19 Jan 2021 05:41:10 -0500 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20210119104000epoutp028904ef8235276bd9cfe1279d849699c6~bm-yKvbbb0782207822epoutp02U for ; Tue, 19 Jan 2021 10:40:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20210119104000epoutp028904ef8235276bd9cfe1279d849699c6~bm-yKvbbb0782207822epoutp02U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1611052800; bh=UWEbuKD0Gjjm/J0hkgTFmlztBXn6nGW8Y4VqcJOGw1M=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=pSSNHiaWE3oPSNDfM9DdXrgAZihQoo8MrHfFAWUA1LkuaQLcPptjRZ23SLZCkEj6U lPc/wCjEhY0FouO3GGml3kDHKE3z+KBuE7D/hZV0IfVeKSiyJFPQ69m0OLFrn0HzkF HtrmuOC4gEzJHQnQeQDn9ZBP1QrnAlmhmqncQiVU= Received: from epsmges5p3new.samsung.com (unknown [182.195.42.75]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20210119104000epcas5p4038247cdf198234fe84ae0b977f5b8b6~bm-xoGvM92063220632epcas5p4X; Tue, 19 Jan 2021 10:40:00 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 76.34.33964.FF6B6006; Tue, 19 Jan 2021 19:39:59 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20210119101206epcas5p2b31e6de44bfdda7d7819b17b11ad69bb~bmnbA_e151167611676epcas5p2O; Tue, 19 Jan 2021 10:12:06 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20210119101206epsmtrp1fe56d64dc8c78463c94da3dfc42a8e95~bmna-6NdJ0268502685epsmtrp1h; Tue, 19 Jan 2021 10:12:06 +0000 (GMT) X-AuditID: b6c32a4b-ea1ff700000184ac-71-6006b6ffa640 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 1D.E5.13470.670B6006; Tue, 19 Jan 2021 19:12:06 +0900 (KST) Received: from shradhat02 (unknown [107.122.8.248]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20210119101204epsmtip28499023aad8571cd774d03773fd3d2fb~bmnZFEtKu3005730057epsmtip2j; Tue, 19 Jan 2021 10:12:04 +0000 (GMT) From: "Shradha Todi" To: , Cc: , , , , , , , , , , In-Reply-To: <1609929900-19082-1-git-send-email-shradha.t@samsung.com> Subject: RE: [PATCH v2] PCI: dwc: Change size to u64 for EP outbound iATU Date: Tue, 19 Jan 2021 15:42:03 +0530 Message-ID: <147901d6ee4b$8a39f3e0$9eaddba0$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIugMS81mxWyVxXUcStsAlB72BGxQKGN/EDqWtjM7A= Content-Language: en-us X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMKsWRmVeSWpSXmKPExsWy7bCmlu7/bWwJBj1/LCyWNGVY7LrbwW7x cdpKJosVX2ayW9x5foPR4vKuOWwWZ+cdZ7N48/sFu8WTKY9YLY5uDLZYtPULu8X/PTvYLW6s Z3fg9Vgzbw2jx85Zd9k9Fmwq9di0qpPNo2/LKkaPLfs/M3p83iQXwB7FZZOSmpNZllqkb5fA lbHp/mTmgl6BikffT7M2MDbydjFyckgImEjMfLGJrYuRi0NIYDejxI01z1ghnE+MEp3357GB VAkJfGOUOHC9HKbj0I2JUEV7GSU+3fjFCOG8YJT417ifHaSKTUBH4smVP8xdjBwcIgL2Ek0/ EkFqmAWWMklc/3SNEaSGU8BN4nTnPDBbWMBT4v+zpWA2i4CqxKevM8Dm8ApYSvxfsJEZwhaU ODnzCQuIzSwgL7H97RxmiIsUJH4+XcYKYosIWEk0zLzAClEjLvHy6BF2kMUSAmc4JPqWPmaH aHCR2D2jEapZWOLV8S1QcSmJl/1tUHa+xNQLT1lAHpAQqJBY3lMHEbaXOHBlDliYWUBTYv0u fYiwrMTUU+uYINbySfT+fsIEEeeV2DEPxlaW+PJ3DwuELSkx79hl1gmMSrOQfDY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nmp5XrFibnFpXnpesn5uZsYwbGppbmDcfuqD3qHGJk4GA8xSnAw K4nwlq5jShDiTUmsrEotyo8vKs1JLT7EKM3BoiTOe6HrZLyQQHpiSWp2ampBahFMlomDU6qB qcr9QGrKmrtLzZ6kxr7PnXxUwaf6O2v2xMfCQgZn13SHmOpZvHp/mLO9277eLbXjFx/T2dn/ b6RdvvNS1kTCliVjzwab6X9S5r5TtakQKlLYfI7p4A656VYX/A7tb9p9rd52wdpmw0tiByKv hJ9SWBccdt401m63s13j0QURF8I2iBznCLXk2zljirSx7epPRiyXU3O3vFd12tS/0zmhoO32 rO9aV+ew3DM70e4uk/fp+KZXUelGNbsE2OVPHX1d/4u36k+4usnb+bqzGjMdzP7qvP3QydQs 6c57lTWttSb50vsrux5r/s10Pr6m9r7jJ/X0v/sNlx15nsymU1Nx9vi+Pb2vnjEe0r3Fnlcs qcRSnJFoqMVcVJwIAOR8u/E8AwAA X-CMS-MailID: 20210119101206epcas5p2b31e6de44bfdda7d7819b17b11ad69bb X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P X-CMS-RootMailID: 20210106104514epcas5p37d8e3a88aefdf109f7fb4157d4a1f07a References: <1609929900-19082-1-git-send-email-shradha.t@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Gentle Ping. Thanks. > -----Original Message----- > From: Shradha Todi > Subject: [PATCH v2] PCI: dwc: Change size to u64 for EP outbound iATU > > Since outbound iATU permits size to be greater than 4GB for which the > support is also available, allow EP function to send u64 size instead of > truncating to u32. > > Signed-off-by: Shradha Todi > --- > v1: https://lkml.org/lkml/2020/12/18/690 > v2: > Addressed Bjorn's review on to keep commit message length limit to 75 > > drivers/pci/controller/dwc/pcie-designware.c | 2 +- > drivers/pci/controller/dwc/pcie-designware.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/pci/controller/dwc/pcie-designware.c > b/drivers/pci/controller/dwc/pcie-designware.c > index 1d62ca9..db407ed 100644 > --- a/drivers/pci/controller/dwc/pcie-designware.c > +++ b/drivers/pci/controller/dwc/pcie-designware.c > @@ -326,7 +326,7 @@ void dw_pcie_prog_outbound_atu(struct dw_pcie *pci, > int index, int type, > > void dw_pcie_prog_ep_outbound_atu(struct dw_pcie *pci, u8 func_no, int > index, > int type, u64 cpu_addr, u64 pci_addr, > - u32 size) > + u64 size) > { > __dw_pcie_prog_outbound_atu(pci, func_no, index, type, > cpu_addr, pci_addr, size); > diff --git a/drivers/pci/controller/dwc/pcie-designware.h > b/drivers/pci/controller/dwc/pcie-designware.h > index 7da79eb..359151f 100644 > --- a/drivers/pci/controller/dwc/pcie-designware.h > +++ b/drivers/pci/controller/dwc/pcie-designware.h > @@ -302,7 +302,7 @@ void dw_pcie_prog_outbound_atu(struct dw_pcie *pci, > int index, > u64 size); > void dw_pcie_prog_ep_outbound_atu(struct dw_pcie *pci, u8 func_no, int > index, > int type, u64 cpu_addr, u64 pci_addr, > - u32 size); > + u64 size); > int dw_pcie_prog_inbound_atu(struct dw_pcie *pci, u8 func_no, int index, > int bar, u64 cpu_addr, > enum dw_pcie_as_type as_type); > -- > 2.7.4