Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp6325046pxu; Wed, 23 Dec 2020 22:06:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhxmmeGelLAzn0McwNEZ7IRYCpSFr8UrMNYt8uAdqrTkwOxRWrEKDbmlzFrKah8xPDvBut X-Received: by 2002:a17:907:1692:: with SMTP id hc18mr19818165ejc.26.1608789978090; Wed, 23 Dec 2020 22:06:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608789978; cv=none; d=google.com; s=arc-20160816; b=utOqKWIoWJje/3F+k6jCXyUm1zYXoTErGMf5G3ULFDar+lMquhg0tc4VIg8C9ayjep tlw/NbfIVHKF0hKFKgS9Va2SPvjvtCZOHL93EWwoUtsy1lu6JgWwNlqs2hiZoudmdR/s 9TpArc1qO5vm1DbCDJqgLao/ccqQ6Rw5z6LujonzRPXnJmMGRJoF5mnEfMZqLQWzDTuq E799MAuRMOhleNvyiernP6Cy+8TlId5vhIT1/Fk8vBMHY+sI9Atxnx+PomDUaIfZziKy 3VprpnbtS2TgdIzb5gPfe6D8RvxNEhVlKixjFIE8g95vAFQgX3sVFhaomkrVn1Xpnr2g euog== 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=/Gun7qc00RhUt5XHDKXSsCvFxRdYWNB8IY+9C/Ad1q8=; b=B9aIvsglg2HBgfgBu4fradEMFa7oDYn7Rnn4+BgCqCsmEjvOgqKDRQuyLoThVlclyo tz/MgvFcWdP9XzHOFzlCqpZM0V5DnB+YbCgi6WqElOHrLEAyauKwiQUZ3INdNaOSVnP0 EOg4hLqLe9k4AvS3GsyDNbzvNt5EEHynJ4jbMvQzQ6fggOTDlwZnBj58DHIwjDRAKQHH FdemVhAHjEKHG/v5rvBsWlLxsGBFfOZbmhxbh5DQ4VFYJlSKzSMxjY+P1x3rX6DUFCr1 8AGWRkGcEa/OmSx02aKk/BdVx6kxmEtsg07XMraCY2tfX46kYzi1YzHW6HQ+kAXilnIh OfFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=rTaBW9mq; 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 g4si15195168eds.170.2020.12.23.22.05.55; Wed, 23 Dec 2020 22:06:18 -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=rTaBW9mq; 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 S1726400AbgLXGEn (ORCPT + 99 others); Thu, 24 Dec 2020 01:04:43 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:52712 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725536AbgLXGEn (ORCPT ); Thu, 24 Dec 2020 01:04:43 -0500 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20201224060359epoutp0185a5a959f75681f9a1dbc3c3df84d4c3~TkdXLW9pI1793617936epoutp01W for ; Thu, 24 Dec 2020 06:03:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20201224060359epoutp0185a5a959f75681f9a1dbc3c3df84d4c3~TkdXLW9pI1793617936epoutp01W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1608789839; bh=/Gun7qc00RhUt5XHDKXSsCvFxRdYWNB8IY+9C/Ad1q8=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=rTaBW9mqOvC8VrUGB/SbR2dXXSAUewWTYw64c4v9KKor+RgeL0Dl7+F9PVcBOzsF+ 0ryPoCEoSKn8/4X8wszX/kH5KHK2gtfl9+9AHzi8//eWgi0d6zRmlqlXRbBlxswofm phM7inhOMccAbhTJeNWHMuANBdv43I6SueUeJcNU= Received: from epsmges5p1new.samsung.com (unknown [182.195.42.73]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20201224060358epcas5p1edfdc60a05045f04ec660accefdca19f~TkdWmEAwp2332923329epcas5p1u; Thu, 24 Dec 2020 06:03:58 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 63.4A.15682.E4F24EF5; Thu, 24 Dec 2020 15:03:58 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20201224055324epcas5p1f08415baa9d4a0150809a562124c24a8~TkUIHNCyP2821228212epcas5p19; Thu, 24 Dec 2020 05:53:24 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201224055324epsmtrp2769aea46340676c4e4a8be4efc5c374e~TkUIGZgrZ0215302153epsmtrp2a; Thu, 24 Dec 2020 05:53:24 +0000 (GMT) X-AuditID: b6c32a49-8d5ff70000013d42-08-5fe42f4e9cb9 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id C3.1D.13470.4DC24EF5; Thu, 24 Dec 2020 14:53:24 +0900 (KST) Received: from shradhat02 (unknown [107.122.8.248]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201224055314epsmtip278746895521692d75fbaa6ababce4971~TkT_4ZWu52251322513epsmtip22; Thu, 24 Dec 2020 05:53:14 +0000 (GMT) From: "Shradha Todi" To: "'Bjorn Helgaas'" Cc: , , , , , , , In-Reply-To: <20201223203821.GA320232@bjorn-Precision-5520> Subject: RE: [PATCH] PCI: dwc: Change size to u64 for EP outbound iATU Date: Thu, 24 Dec 2020 11:23:10 +0530 Message-ID: <096401d6d9b9$17c238f0$4746aad0$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQI0xPnWW2MqTfDY1YhJMF5paK56mgHTw/tXqTtJk1A= Content-Language: en-us X-Brightmail-Tracker: H4sIAAAAAAAAA02Sf1CLcRzHffdsz/MsVo/N8WlKbi4UKoTH799uO3Q7zhX/zI7nCrVlTxGO 63KorsKpO2amUiEhWz/WqouKKRmi4w8Rlt8lrRNNYj2h/16f9+f9vff3/b0viYnNAim5QxPH 6DTqaBnuwS+rCwiYERbsUIUkv5hM5yVF0dbWZIL+2HQVpy/1nCHox1YDTt832nD6s+s9QeeW 9hD0QJWFWCaUFxmLkLxC30rIs03xclNhCi7PKClE8pIaJ5I7TROUxBaPRduZ6B17GF3wkq0e UfazR7HYcknC174WlIjMXqlISAIVCgVpLiwVeZBiqhJBc3UawQ3dCMz36oeGbwh6zV95/45U nkTcohpBWc9LPje8R9Dwuglzu3BqOjie/BzkMVQg2G7VCNwmjHqFwPnIRbgXQmoh3DiWgbtZ Qq2Bty1OgZv5lD/051bw3Syi5sNDeyeP49HQcMYxqGOUH5R3GDDuShPhR3uBgAtbAFbbIwHn GQcfbnMdgKoioTHtFJ87sAouXk8ZYgl8tJUQHEvB2VmNc6yFrIftfzzkH06Ai2mHOHkp3Hxi GJQxKgCuW4M52ReyGq/xuFhPSHc5hl5LBBbjX54EPf1VQ6neYLzzWHACyfTDmumHNdMPa6D/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JlVWp RfnxRaU5qcWHGKU5WJTEeS90nYwXEkhPLEnNTk0tSC2CyTJxcEo1MK2O3fRQ21hcy0GieCEz k1/Bohunv5vd/Pf+9MLPvwx033f3bDr7tFzj+bXzU955VetPyHr+ZfL1xQVHOmZcXTx3zd65 jts2NnR9f+H86VHBRdXPnunPWjxd2lclHHjTmrk3p9hkgkFznrnN8c1xfua8VyQf3tjvvLH5 ouTuh5pbzlh9exvwxeJLxHPLV3fy9Y53OumYXftnWyDtYq55/ty6hpaXXhIK+sZP37oZVpa+ jZOcaOUgHNJ5+uCTABPbpfLf3x2Y3VI6c+/d345qS4XerZneXHI16srVZzvd+fuvHTgVseuO 7Q2x+6YXuFgm7tB7LHaNw/5Yd7hOQ1FMQWIW1yL/ic299x9MNdg0KytJiaU4I9FQi7moOBEA oiX3ricDAAA= X-CMS-MailID: 20201224055324epcas5p1f08415baa9d4a0150809a562124c24a8 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P X-CMS-RootMailID: 20201223203825epcas5p3d494947e59970eb3adf37d20e64dd972 References: <20201223203821.GA320232@bjorn-Precision-5520> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Bjorn Helgaas > Subject: Re: [PATCH] PCI: dwc: Change size to u64 for EP outbound iATU > > On Fri, Dec 18, 2020 at 09:04:08PM +0530, Shradha Todi wrote: > > 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. > > Please wrap your commit messages so they use more of an 80-column window. > I use "set textwidth=75" for vim to account for git log indenting by 4 characters. > > I know 80 isn't a magic width, but it's the convention in drivers/pci. > > This also affects other patches from you, e.g., "PCI: dwc: Add upper limit > address for outbound iATU". > Thanks for the review and suggestion. I will take care of this for all my patches in next version. > > Signed-off-by: Shradha Todi > > --- > > 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 7eba3b2..6298212 100644 > > --- a/drivers/pci/controller/dwc/pcie-designware.c > > +++ b/drivers/pci/controller/dwc/pcie-designware.c > > @@ -325,7 +325,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 28b72fb..bb33f28 100644 > > --- a/drivers/pci/controller/dwc/pcie-designware.h > > +++ b/drivers/pci/controller/dwc/pcie-designware.h > > @@ -307,7 +307,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 > >