Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp752734pxu; Wed, 6 Jan 2021 03:33:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwm0yyx4yg7lQ8Z5ArJDCpF2/Iks5roBvfRFOqiya/G0R8eGLFcdUcTMLQ9LxcCbKmQTlAW X-Received: by 2002:a17:906:4bc5:: with SMTP id x5mr2552423ejv.55.1609932790913; Wed, 06 Jan 2021 03:33:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609932790; cv=none; d=google.com; s=arc-20160816; b=x1coBLN4OxZbUYv85Jj35uI++IlU1vM6i2e1DGPzBBfZar5nmSCJIwnurn+wzx14uc /vrIE/CTw6ASewE43Bn0mWCz5uRVGRwn+iuBkBviAsE+0SV+AdAuXBjgyMkc4AR6ji17 hLwNqgMCZNWcE+eu1R0VadC78EP1kbWRx+/keNt3AhbUMtHsgKdN21NANUHlxWb6zrOi qjrRtX8n64uZtLAkdk9jpJkvmOJDi7ybdyVaFzSO6KL9FWx4CiXs9601GWaFtWSQEzQX gWmAEFQtTvYrx9y6MuHqMcZL0cjegYN9stT9/Rg2Q6FZFy6PIFYQ1EqXK0/2B+a09Fpt vZbA== 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=tEtOvPRttzk1ZWhWEEKAC399d33v2dQxEsVfrEgb1to=; b=KuSjkiGgR/TCdCl/TKIwAmO9ScQ6r+rcou9HFrXZkqcT39F4b9Rw9ti/r5hT+y02Ql DhvDzQi/2sxc1g0P2lBfwfrZUReOZDShJtdMPkTrlcuVpxaxK+VItrYQmdyhYkrm+QJ/ uvBbVbgZOK+XbxbXHYkm8TXAR/HdXhGto46sd1TtnjrezniwtTKRrMus/fNk+fR5HYG4 ReASHEboHvxUyuZT9lgT5gbEdnp17d+E0XAnrPtleGurpumsJDDsIxHL2bQmFQvUDoWd 7+45HWsTXL5AbvM30qOiUbeNXoaZYVFU3l2GZV53dSGb9OYm6jrRFZMcsCiT92PQEzZK PZYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=vLV3JEmm; 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 u22si800714ejc.544.2021.01.06.03.32.46; Wed, 06 Jan 2021 03:33:10 -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=vLV3JEmm; 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 S1726298AbhAFLar (ORCPT + 99 others); Wed, 6 Jan 2021 06:30:47 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:31281 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbhAFLar (ORCPT ); Wed, 6 Jan 2021 06:30:47 -0500 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20210106113003epoutp04f633357ad92b72f75ca74e3fab216496~XoSxau1js0739707397epoutp04n for ; Wed, 6 Jan 2021 11:30:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20210106113003epoutp04f633357ad92b72f75ca74e3fab216496~XoSxau1js0739707397epoutp04n DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1609932603; bh=tEtOvPRttzk1ZWhWEEKAC399d33v2dQxEsVfrEgb1to=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=vLV3JEmmP6mPERQPNpsU5GEw1/pY9jZwnivdbqNjZha+p0BMvur7ZOWXIBiRNitnt JCz7D1SbqrgBoykbqY7em0AFdg4uDdOzg9E/McxQvvtgiMW9dmEBclnYjkqkwXZVX7 u345Gzj9G0/DyyFXRxXtCGmbYcRibXNJjtyb1MJo= Received: from epsmges5p1new.samsung.com (unknown [182.195.42.73]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20210106113002epcas5p31b459d77a0982be70cfbe10f16825387~XoSwSK1b-0800608006epcas5p3m; Wed, 6 Jan 2021 11:30:02 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 14.73.15682.A3F95FF5; Wed, 6 Jan 2021 20:30:02 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20210106113000epcas5p4cb15bdeb397da85972a627ab9be569bf~XoSu2vrBB1308413084epcas5p4E; Wed, 6 Jan 2021 11:30:00 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20210106113000epsmtrp28b12d375beb0df27534692e4d8465c2e~XoSu13XHD3122631226epsmtrp2W; Wed, 6 Jan 2021 11:30:00 +0000 (GMT) X-AuditID: b6c32a49-8bfff70000013d42-94-5ff59f3a79ed Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id CB.93.13470.83F95FF5; Wed, 6 Jan 2021 20:30:00 +0900 (KST) Received: from pankajdubey02 (unknown [107.122.12.6]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20210106112958epsmtip20865a8d57f07e030013a09aab653987a~XoStApzdw3221732217epsmtip2Z; Wed, 6 Jan 2021 11:29:58 +0000 (GMT) From: "Pankaj Dubey" To: "'Shradha Todi'" , , 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: Wed, 6 Jan 2021 16:59:57 +0530 Message-ID: <000401d6e41f$44fae220$cef0a660$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIugMS81mxWyVxXUcStsAlB72BGxQKGN/EDqVcK7AA= Content-Language: en-us X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrIKsWRmVeSWpSXmKPExsWy7bCmlq7V/K/xBk27xC2WNGVY7LrbwW7x cdpKJosVX2ayW9x5foPR4vKuOWwWZ+cdZ7N48/sFu8WTKY9YLY5uDLb4v2cHu0Xv4VqLG+vZ HXg91sxbw+ixc9Zddo8Fm0o9Nq3qZPPo27KK0WPL/s+MHp83yQWwR3HZpKTmZJalFunbJXBl dN0pKLglXHFz6TTWBsZFAl2MnBwSAiYS307+Zu1i5OIQEtjNKLF1zjcWkISQwCdGibnbOSES 3xglVj/7zAjTsX7lHCaIor2MEls+iUEUvWKUWHl/DVgRm4C+xLkf81hBbBGBbImFDw8ygRQx C7QzSVyZegasm1PATeJ05zywBmEBT4n/z5aC2SwCKhJtqxqAajg4eAUsJd7dtwQJ8woISpyc +QTsOmYBeYntb+cwQxykIPHz6TKoXVYSfw5/h6oRl3h59Ag7yF4JgRMcEuf2nmeFaHCReHKt nQnCFpZ4dXwLO4QtJfH53V42CDtf4sfiScwQzS2MEpOPz4Vqtpc4cGUOC8hxzAKaEut36UMs 45Po/f0E7GYJAV6JjjYhiGo1ie/Pz0DdKSPxsHkp1FoPiXdr1jFOYFScheS1WUhem4XkhVkI yxYwsqxilEwtK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mFtcmpeul5yfu4kRHJNamjsYt6/6oHeIkYmD8RCjBAezkgiv xbEv8UK8KYmVValF+fFFpTmpxYcYpTlYlMR5L3SdjBcSSE8sSc1OTS1ILYLJMnFwSjUwrXDh c2XYvvrux13z379d8fb2z0oNpqtlzRMj6hgumOh6tH8o2nL8/r0HzI9e1VlN83eoTbBaa/9i rwyrxX5PPukdt84skq6qnanPN2VviKzIHL0p++avuL6g4IfK3GMfPv3496PF8ZPYv1iLPaF8 N+ZxLrHh4pwk/ChU33fdYtXaDX83xeZOftRbfULVacsaj12KYRY6dXzy+i75bud4Ob/c3jLn jmFj0dnqpcdF/p2wT/Kot42Jbg+KcZJddSvSb4qq9qmaCU90GHMXlE9JkuSXNY6Q+f7+9tvd v7e1brvexqCQHFbUM8XGS6PLZc/CVyKv1RwLHJsKKlMjTBbMsuCdlfcrNdvnGKfFFuY3SizF GYmGWsxFxYkAkLZO9DgDAAA= X-CMS-MailID: 20210106113000epcas5p4cb15bdeb397da85972a627ab9be569bf X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" 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 > -----Original Message----- > From: Shradha Todi > Sent: Wednesday, January 6, 2021 4:15 PM > To: linux-kernel@vger.kernel.org; linux-pci@vger.kernel.org > Cc: jingoohan1@gmail.com; gustavo.pimentel@synopsys.com; > robh@kernel.org; lorenzo.pieralisi@arm.com; bhelgaas@google.com; > pankaj.dubey@samsung.com; sriram.dash@samsung.com; > niyas.ahmed@samsung.com; p.rajanbabu@samsung.com; > l.mehra@samsung.com; hari.tv@samsung.com; 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 > Reviewed-by: Pankaj Dubey > 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