Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10054599rwr; Fri, 12 May 2023 03:11:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5nZ4fe7mcpjH8hP9mtjFLuwsWtgVJ/X/vglkB7BrycUnUCxAMtKIY7x1rl6xzEPRGT4tF+ X-Received: by 2002:a05:6a21:1517:b0:f2:bb3f:3b15 with SMTP id nq23-20020a056a21151700b000f2bb3f3b15mr24971767pzb.43.1683886278254; Fri, 12 May 2023 03:11:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683886278; cv=pass; d=google.com; s=arc-20160816; b=Onv6ZWxUnSknbDAFj/F02WY2nGYU8ZZ9E4hcDzzJdt00UiiThK84WCTsd4jhKh3xxo R0qAcFU1+Y+lL5B3d2552lSlFtN4HQMcqBvmTWN0XyJ/wixRyIP8dY4OyAH0tG6SMGIU mBBy8Iiez/zKOeR5FBL6kGreLjLnJ0ZLhEcfkFfGIc746TOZ7qRJ9VmuEqg5UEkd54/K yX7G9Ffn2D13Gy3LyN7kcWipBoG2Ne0X/NJjfn7acYMAjA67SeOQNoTGTpokaWBi1d8S Iesh8xF2TVu0/oVlFhprB24jN8oviHIC+mtGB8269Pt8VTfOJ6W5qiyahbC39zZ348sO ynIg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=EDdXk7CRyPXEHsbmzwhchizXN2Qi+Y5lngc3gK6Web4=; b=lXZ9PcGjdxq02HQ+RSN/iVVjjEPMCQfBvK+mUQl/mj4Bpf9ijUUV90QAst3nh7XWHz fv/n5V6sbxR9S2VsdsgrOw4CW3vAZMpc2KGBX/bCsxORLX95gLewN5xaDa/6EKdyg6hO njj8dx9A4XBoxdswpQTTolHzRrB7h8yYJSYEUhxQS7bu/iy2irHDjGUc8gye5YQ8DoUA N3N3VhkzJLNFk9y9ZX2ovi+89IoG208kmwIbtrYfyYcTsGARg60760OEM/4suzaufocG UypE37/RCEFkU+WKp6D8TKOntebZoyR/7ACviqnaLKsB+KYfEkMMqh+HgfHplOzwuvuo kMjA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@renesas.com header.s=selector1 header.b=T85u7hYP; arc=pass (i=1 spf=pass spfdomain=renesas.com dkim=pass dkdomain=renesas.com dmarc=pass fromdomain=renesas.com); 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=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e63-20020a636942000000b0052132a8e4e3si8133981pgc.510.2023.05.12.03.11.03; Fri, 12 May 2023 03:11:18 -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=@renesas.com header.s=selector1 header.b=T85u7hYP; arc=pass (i=1 spf=pass spfdomain=renesas.com dkim=pass dkdomain=renesas.com dmarc=pass fromdomain=renesas.com); 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=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240556AbjELJ4A (ORCPT + 99 others); Fri, 12 May 2023 05:56:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240447AbjELJz4 (ORCPT ); Fri, 12 May 2023 05:55:56 -0400 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2111.outbound.protection.outlook.com [40.107.113.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 900ACE70B; Fri, 12 May 2023 02:55:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MIR2BdMQeEmkMgtjpbLH/EC2nVW5sCuPfSMG0gD3PpvHkwMPm8l863iU0ZTgA7ZWO8tNv66k10BXf0p1khNm6LEXjoZtO1T4303g69xuKcDy0U6W3lcPv7jXhhQYSn90h+CF/CZpUejGN/SXP9BTzBirg0rZZtPvfMQj7sXgfhqskiGS3zHqsRbinktz+ft7TFJUPWcraAhGEgsQ65bY4xRp9JYmksjtesfPjw6guMpTmr4nO4clDKX3etEF1FgAu0MThD6cHz8swG4SMkk17coguGiMs68kh9Do5Wt+wTomNkM9ICkbw31qacDwIknc+KM5xmnwDu+7cl1pcq/5vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EDdXk7CRyPXEHsbmzwhchizXN2Qi+Y5lngc3gK6Web4=; b=WNK+NTjoyy1bu+FrI4aUprYBeyXGZ70Wx6VCsXxOatJMBhmOTyQgC5M2SpubSgQ/FOPkkEtYbixvTZQE52B8ZxcPikYGRSVq4YGrZ/sO/DxMT03zi3pzS99NNMPPLkunXUGZKMlGUWx1pfytr8Y1FyUuIBakawJg/cULrsBdKt3fXX9wVQ9Fa8unsq6vhUnw8VhEd3Rs44CflwUA0r7YJOseUgtVgCrWzIslIIrGRry0fjPHkaS7yUL0pFoqHcm9MAOih3MqVzkYbNEyPnD9WIYVTBZSbzidEfpNxUilDcawuzAiQlKedDPJh3ca42juEHpiHtGKxQiJlE14WuvWEw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EDdXk7CRyPXEHsbmzwhchizXN2Qi+Y5lngc3gK6Web4=; b=T85u7hYPUwjTfQTMkewwqjpMqQxRenWrTaY54+NHk65ppbuVWlSaKy6X0ljtmmGMpm4gwP4+IvXJKOoNK0Bjygxx/5DAUtuq7DWYUWdJXN6nqu66jzEbwk5pk0rGQoICf5fOdknOLjm+lcDUQ9ztnEGqGo3/phDqEx26lS6fGbY= Received: from TYBPR01MB5341.jpnprd01.prod.outlook.com (2603:1096:404:8028::13) by TYCPR01MB9669.jpnprd01.prod.outlook.com (2603:1096:400:221::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.23; Fri, 12 May 2023 09:55:52 +0000 Received: from TYBPR01MB5341.jpnprd01.prod.outlook.com ([fe80::5198:fdcf:d9b1:6003]) by TYBPR01MB5341.jpnprd01.prod.outlook.com ([fe80::5198:fdcf:d9b1:6003%7]) with mapi id 15.20.6387.023; Fri, 12 May 2023 09:55:52 +0000 From: Yoshihiro Shimoda To: Serge Semin , Bjorn Helgaas , Lorenzo Pieralisi , Cai Huoqing , Jingoo Han , Gustavo Pimentel , Vinod Koul , Manivannan Sadhasivam , Rob Herring , Manivannan Sadhasivam , Serge Semin , Lorenzo Pieralisi , =?iso-8859-2?Q?Krzysztof_Wilczy=F1ski?= CC: Alexey Malahov , Pavel Parkhomenko , "linux-pci@vger.kernel.org" , "dmaengine@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH RESEND v5 02/14] PCI: dwc: Fix inbound iATU entries out-of-bounds warning message Thread-Topic: [PATCH RESEND v5 02/14] PCI: dwc: Fix inbound iATU entries out-of-bounds warning message Thread-Index: AQHZhDwY1x3SU9YtLkCMc4srokdidq9WZtGw Date: Fri, 12 May 2023 09:55:52 +0000 Message-ID: References: <20230511190902.28896-1-Sergey.Semin@baikalelectronics.ru> <20230511190902.28896-3-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20230511190902.28896-3-Sergey.Semin@baikalelectronics.ru> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYBPR01MB5341:EE_|TYCPR01MB9669:EE_ x-ms-office365-filtering-correlation-id: daebdff4-54dc-453a-f9d3-08db52cf125a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dE9CTBDqawjcchGMNI5tUnvvih6I+8u9YEvEtUurT2OfyUYjYkzX+70mnSRxz51IMEKhld0d5pJSofFg8T5lcu+LZpymLUJizzuO9Oj+tR79lEnMXaJjgKTVuA0JHQo24j3vhqLrg6Pisalc2soPFx5VWw9vCz/1tkIgNPEkw3i3hLTSOM3w8ZmTUlBlPhGHxUFSsGbUuyRTLuc6N/A51ltM8BvzJk3i0BLMOYAVa8jpCc0zWJGHnQEIuktgC2Nj9YFA+jZe5dfCAIYr8lui9oPfx4i9EzMvwQU3nAL/4h2JJIaIXvY6tOvfuVYYuD+XUccreS/DjOHPnTqkVfEDy5+cyswkoRXPXi19bp9YmMKfOn8h3jG/7DPOxU4VkZTbGYScwfR1edistf6sb2KmlD3+DLLUsIWrHc4BV6XCL8qJy1Xl5UVtrtpAfDLbHrNiHArCmcHANmwEUBalFzlklGRFDMvOd/YRgOVPsjerWp2ZTHpF3TBIgDh6Xyo/tBKbhzHEpp4dcocku0zBavjVCxSdglowVTW5vj68hWa4ehv4WIgKGjU+R4QEeBPgTGX8Bd5/myG/3PpJxL82sH3YsSfE14pxJ8yS9JFD2/9tXHjO6AVx5B5y2+TsJ91e4SH9I94GecOBV+lYGlVaiBC+nQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYBPR01MB5341.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(39860400002)(396003)(346002)(366004)(376002)(451199021)(64756008)(66476007)(66556008)(76116006)(66946007)(66446008)(110136005)(54906003)(71200400001)(26005)(9686003)(6506007)(15650500001)(316002)(4326008)(41300700001)(478600001)(7696005)(8676002)(8936002)(5660300002)(52536014)(7416002)(86362001)(38100700002)(55016003)(33656002)(186003)(83380400001)(122000001)(921005)(38070700005)(2906002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-2?Q?WthtQb1s/Q56YAl2ZMEv0O/z/NjuAZtm/PATSCDpdXhkgtBTjfzxQ40gLM?= =?iso-8859-2?Q?I0dKzdxZNQhgdoft5udRnsUhuEy56JE4QISEENutG4v1Uc0TgdhpGqv1ci?= =?iso-8859-2?Q?yQtn+MFwDsk/hEq6d2xeR5hs5f6TBVXMXH0HGjYeZXLoxoXu9v+CTGTQHV?= =?iso-8859-2?Q?RB4E1Ir96qByG5czIKPCkIQpJjn1s/n/JZae9H1oXZZEsdxXC+tSkfogK0?= =?iso-8859-2?Q?oo9Pmo0x1rwclemSyKt5QLjqH4bnXAqTFfOMU0bQK+TEgPz8B/VyF5RVHZ?= =?iso-8859-2?Q?dml2JxbD8cm7BR8jKE99rEfchodb6Jt6G+9+FpIv3MSXpq4I11ywhchx8W?= =?iso-8859-2?Q?LOlg47JoItOmlUUw19aNdJgp2mssrz77TDWnQPut4JfG061wntgJzvAFqg?= =?iso-8859-2?Q?QSiAtQyRHj4ueiUHBg0uELgTcYjlC8roLniCerVADK8fAEiT7w9IMmG3Ji?= =?iso-8859-2?Q?m5BsfV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zCVgS7aFakxweBv+w?= =?iso-8859-2?Q?bcsL3dS7QYZz8CuAz+Tyl/Mf2sZZ5JjYMj/jiIKSTzE2CGzWanZXy2euPe?= =?iso-8859-2?Q?qkZeIqxrnSNgOHxZnXOfy3V0+qsKqeYzY3wGwIY7ljEUeNIy7iDQVa/1IO?= =?iso-8859-2?Q?8trr59VwUSZYf+VWnuIcKg2UgecmiVtXDCE6EK9t0IwZIo/FYUfQf1op5M?= =?iso-8859-2?Q?hHzgd0ifwIA2cuPK+hJ/U9vVW+2HAfIYsp0UktS4NwmuEBlZ9jhY4w7uSU?= =?iso-8859-2?Q?agRcvS0N0WwwrlIn3igmWRSpnaTVzCg6tBaALvd57QoSTE8T0VXmDM8w?= =?iso-8859-2?Q?=3D=3D?= Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYBPR01MB5341.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: daebdff4-54dc-453a-f9d3-08db52cf125a X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2023 09:55:52.2519 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MNgIdp+5v+Tx2KqPMgfhuv2EkmlYonA3v4k1w1apFjFuVp1DRnlAIF3kHVV3kCpavmaS7rbFYKNQRzP9H0UQuKBiuNIheUF11IMpLLVguvPienwaArEADAfRYOCMMsi9 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB9669 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham 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 Hi Serge, > From: Serge Semin, Sent: Friday, May 12, 2023 4:09 AM >=20 > The message is printed if the number of requested inbound iATU windows > exceed the device capability. In that case the message should either refe= r > 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. >=20 > Suggested-by: Manivannan Sadhasivam > Signed-off-by: Serge Semin > Reviewed-by: Manivannan Sadhasivam I'm not sure whether my review is useful or not, but anyway, Reviewed-by: Yoshihiro Shimoda Best regards, Yoshihiro Shimoda > --- > drivers/pci/controller/dwc/pcie-designware-host.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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) > } >=20 > if (pci->num_ib_windows <=3D 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); >=20 > return 0; > -- > 2.40.0 >=20