Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5336182rwl; Tue, 11 Apr 2023 04:06:22 -0700 (PDT) X-Google-Smtp-Source: AKy350bb67xoNJfGLeOT+zvBwoKoWMldRyigJ4Ki1YGtfi+0czT02Bh+VTqMNjTabWMWWZyvGFVz X-Received: by 2002:a17:903:110c:b0:1a0:450d:a481 with SMTP id n12-20020a170903110c00b001a0450da481mr15373204plh.35.1681211182207; Tue, 11 Apr 2023 04:06:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681211182; cv=none; d=google.com; s=arc-20160816; b=uziHslaewwSuAV+4nZ8CjpsQdVKC4oi3EWeq8CLWMOcYXX34THT4PuomRUK2ZdDKQO cLU64gkG3IedhMEGOb8MLACtmTImh6lXNcnm7noUqL7iy8Tcj9rUTYIwJZC3OPXZjjfd q2nzF4w5bspPXdfA4d542GpDy3MtECPRQP0JINklM+F8Jc+ZamHSkVa8g99UMQPm2z8U irWqCvX+EkRKTlmiK9eH1XCV3h6nmxPPZg399GxuEqxghX7a5pEKnpbHi90OE2fM0+QV eXu9oPKYqePmfVFiVIT7XpLyRy1RRSxuFIHjJFS/klZRoUD2su95SG/+sDMYobGp55Ht gURg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=io8UpU5dAmYXG11sIwaNdSii471vCcYFpdDyFDwKPgY=; b=JQ1YH3JYamBtJKA0Fdx+UsvvpJ7nUMgUWYNfRCZkZqmN4Td41YFIK8A8U+kV61qqNn AzV++Jb937VC45sotkKTLN7zOEQzmy857srmeRP5f5q+RcFScj/4bTSZ02rldc/bWj0Q N9wH6fBPryFKD8Ukk/8HWreu1a/vxUtUlfQOrFAPwC8Jukp8KKRUhKzOseZyRK6SdxQI PcCpiuHfCt9ucJinoVy1c1x6RUq8+Ky8dXGx/SxGFqunJ3dzIvwedqb7TwUdnuRLTV9o i1a/SnkHmBoB4YfQzlMbz7I2C3gy5ZlDMTa3chEWiCSxWIke702S9YkiSL7aJ0wXBxQF XOAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BAvnR27q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f13-20020a170902ce8d00b0019ca3bea326si9578445plg.269.2023.04.11.04.06.04; Tue, 11 Apr 2023 04:06:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BAvnR27q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229925AbjDKLFp (ORCPT + 99 others); Tue, 11 Apr 2023 07:05:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229642AbjDKLFn (ORCPT ); Tue, 11 Apr 2023 07:05:43 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A566726A6 for ; Tue, 11 Apr 2023 04:05:18 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id o2so7455639plg.4 for ; Tue, 11 Apr 2023 04:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681211116; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=io8UpU5dAmYXG11sIwaNdSii471vCcYFpdDyFDwKPgY=; b=BAvnR27qwms7MKR6LP3NoeyT/Ghkxw6tRsZ6utkXZICaajKUMt75IRXj8JmnJl9Oya sdNJmthl4XSlSOfr+xLK69CfbgVbIJGqYhIcbRfp6KRY3u9WKrcl0Nwmc0X5SomTa41P Gnboi5DFZTigHhJn4VAbWqtUBO6shp+/stsftRZDkwQ0hQJJeX7jNEzBjmtUkVRfslmz 8+DRMHnqN/854QjVjqLe17bARvpT/Jf2ddjNz6gDzbihfavgMu0Pltiao0dMW+7bEjbK FUiSeZTJU0XyttdNcMuR20Nvdn7CDXDkwZyiJ5j5HTItFhvtBQ4Lw/cCWYM63Szpc2Ml S0kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681211116; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=io8UpU5dAmYXG11sIwaNdSii471vCcYFpdDyFDwKPgY=; b=v3mXfauCgcdQqKzgWY55YuJouNs9sxa9gM0c37/MkBETFMVNUtYx7AxCZScrw/ofVO 1tTVUhIDngX87nQX9Spcre/F9tLRMVLE6H26wGn66tDAEW0L8EjKio3aV9kLeJjfDjaG V1rJcY/uTPpNrgehGKE9Zztd1beoFPaqzQu6Q+cu8r3hOzgofTPMOWF8vjEWRaSQWXue TzIMt0EFuobfG25JT3g+8/y4/E+tORIwCx/uXVKaiuivq1ArXrvDkkRfEaylRPq3oU6j lb/hGPW2vX34/pLevO9KoBC5RxsoCH46EkPpidHcnM8gvbFWGJpbGJZfazx2TddqNfoX UZWQ== X-Gm-Message-State: AAQBX9cqXTvykdbZ6+mH6fKAdS6tp1/u2uMArUq312bfSBNBTdzxtyXt dz0Y5Ne+KHMZ9j4m7SLmsbg0 X-Received: by 2002:a05:6a20:77af:b0:de:af2f:fdeb with SMTP id c47-20020a056a2077af00b000deaf2ffdebmr9218828pzg.3.1681211115858; Tue, 11 Apr 2023 04:05:15 -0700 (PDT) Received: from thinkpad ([117.216.120.128]) by smtp.gmail.com with ESMTPSA id j10-20020a62e90a000000b005a7f8a326a3sm9535165pfh.50.2023.04.11.04.05.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 04:05:15 -0700 (PDT) Date: Tue, 11 Apr 2023 16:35:07 +0530 From: Manivannan Sadhasivam To: Serge Semin Cc: Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Yoshihiro Shimoda , Rob Herring , Serge Semin , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Alexey Malahov , Pavel Parkhomenko , linux-pci@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND v3 02/10] PCI: dwc: Fix inbound iATU entries out-of-bounds warning message Message-ID: <20230411110507.GD5333@thinkpad> References: <20230411033928.30397-1-Sergey.Semin@baikalelectronics.ru> <20230411033928.30397-3-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230411033928.30397-3-Sergey.Semin@baikalelectronics.ru> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 11, 2023 at 06:39:20AM +0300, Serge Semin wrote: > The message is printed if the number of requested inbound iATU windows > exceed the device capability. In that case the message should either refer > to the "dma-ranges" DT property or to the DMA-ranges mapping. We suggest > to use the later version as a counterpart to the just CPU-ranges mapping. > In any case the current "Dma-ranges" phrase seems incorrect. > > Suggested-by: Manivannan Sadhasivam > Signed-off-by: Serge Semin Reviewed-by: Manivannan Sadhasivam - Mani > --- > drivers/pci/controller/dwc/pcie-designware-host.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/controller/dwc/pcie-designware-host.c b/drivers/pci/controller/dwc/pcie-designware-host.c > index 9952057c8819..5718b4bb67f0 100644 > --- a/drivers/pci/controller/dwc/pcie-designware-host.c > +++ b/drivers/pci/controller/dwc/pcie-designware-host.c > @@ -723,7 +723,7 @@ static int dw_pcie_iatu_setup(struct dw_pcie_rp *pp) > } > > if (pci->num_ib_windows <= i) > - dev_warn(pci->dev, "Dma-ranges exceed inbound iATU size (%u)\n", > + dev_warn(pci->dev, "DMA-ranges exceed inbound iATU size (%u)\n", > pci->num_ib_windows); > > return 0; > -- > 2.40.0 > > -- மணிவண்ணன் சதாசிவம்