Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35690818rwd; Mon, 10 Jul 2023 11:02:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlHDjuVc9iKgnMZ76BA6hxAL90p0coqXUEH8Brsjxw/8QhxQ+7mzipFwFPFNUkQNAzhealOL X-Received: by 2002:aa7:c9c5:0:b0:51e:421e:d209 with SMTP id i5-20020aa7c9c5000000b0051e421ed209mr12483096edt.13.1689012127712; Mon, 10 Jul 2023 11:02:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689012127; cv=pass; d=google.com; s=arc-20160816; b=R0iROIZOhsAgTRKYeLOJzWgNqqN/eDFF5KywtFn0hMEN3HUudc9v/xuJqNSv4Vbq2c xdegZUofA+V0fRUpHE4L+a+uGC5MbjuyeHI6uEs6+SWqn55nmTwem05AkD97WrsUWvfR G+7zqhp83VXJCediA+lwWEjjsSUVQrqxLRKcBAXyQxTTBV3+a4WEKtz3v2zR72ZfF4Sk p8iJ2Y4uChRYsxN7xuV9xqN1lVfByDI2Rh4wE4DkNbsh8IpubllVRmRCSWrGLZZwdn72 klaWyT1hwSY57esuymQvRat6Q8rorKh7VRi2zzG5B/Kp1ctJJX9b+Ufh5X1GAA4sOZrT 78MQ== 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=9fo1XxMyAKRHJ3c120OnuS+OHIdATo0YImdTEabnIZg=; fh=0O8yx6JCeewskjuI6ISaI93Fz8mhxS2lnEqNGk2UtvM=; b=q4GvYDIL2Kib0+OORxtChK5rjWcLq5+UK1OborQMd08Ag1dAzYAb1rjQ0/GdSAa6JO MOYzvp+4NzOo01i7aRwdCvQkmzxbTwo3XNuZx0yLl9gYOQ01wu3N4vKSPrc3ZYuOuX7M Isxd+8jRvBChfX8sopTJtp7svVLSfm5xWy+q7CAHYhCSfSOf2abjDMyiBWcrN6dGURWp RNLr8RcFbSNjeMLWDlyDoJo8xwJ5iK6kxLPqZ/mLWoZwEJ6WTiksC3khs9RezfJpWmMf 01y1I/y2pJYwcbY0fGzOmZZ96US6C902F7rscRqnCLBXvJMGgg3+CINK6SnVjx9jtrQ/ 4qBw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=mL6be2Dx; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b16-20020a05640202d000b0051deadfd676si21097edx.640.2023.07.10.11.01.42; Mon, 10 Jul 2023 11:02:07 -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=@Nvidia.com header.s=selector2 header.b=mL6be2Dx; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232929AbjGJR1b (ORCPT + 99 others); Mon, 10 Jul 2023 13:27:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233155AbjGJR1S (ORCPT ); Mon, 10 Jul 2023 13:27:18 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2057.outbound.protection.outlook.com [40.107.93.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F897E79; Mon, 10 Jul 2023 10:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tb/umGixoupN5kqk7YsPotQ9rWGVQtAdaWSpMcWlOfIywV23OO81aSrA0qexmBovyob7S1hHYKnrpKlTGi4akisnhkYVQGxyEBMgk00nC/K9LXXXHpAJvms/r3w/CbTIhiXWjoWugH+jLS0iJBS4y0W/6ftO4jCL9TlRjKvEtWOIC0n9DdQBA2QElawhjmAruHVZSKDS484rWxHAc4nKdBZSV7efnAFLP6vquBRNYtVoMZzXNVodpZX8vQ9KrWeWLAalVmhKFAi/UgqGdyg+LLXhb2bM87kV+7h/NKiqwUUsIQW7f7dnUoc9gFxunNksUKDrfbPDqjSnqx5bfIcHIw== 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=9fo1XxMyAKRHJ3c120OnuS+OHIdATo0YImdTEabnIZg=; b=ImKb5mPkZ0dPO+EWRr7a+pTxilW9ZjJ7dcV+gZ2aFwc1XQaEb13RCg/1/deusQ/eN2BslgmFv/8Kfx41SkvvseLyzhhObon8B3QwTaf1WesxN1gqwNdmQ7SfFoxuAReSF3JQoB+ZLmbrRmMgdUgm1NoF4o2QnYUI2QEXS1T1B8GO89O0u2Ir6/GCjUpOFd26K9uoacXbH65CTVCixmDQNxQvbvKEQ8PqxkQTTJCbcy8DLSYr8fLW+KGjtBdvs7EcTM3o16SYMIvw29tqL2Srq9MrbxS8J4mjCF64z7uPVohh7RL5M5ZqgKYnga4hv2R+GGc9MaOiEQwigdL2UkoFxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9fo1XxMyAKRHJ3c120OnuS+OHIdATo0YImdTEabnIZg=; b=mL6be2Dx3aLkVpMHw3Wg3+eaYsuOytFm5sQeU58NEOxBU4V0T+4cnPQZbBHS7xdYhZ/a7OL0w5k4vwkGnd5mbSw1hUPI6DrMUuuNAtD+f6RGYgipiJefdr1qbaWhe4GXPdhyOZLJ4GXHfpyp4OQPeI+xQr9kZpWlFcc0SqSM2hHpoFvqsP5AMA8pqdXoX2d1Qhth/xk6s9t15ENNmt+GPuW9q2NnKtWo1uyysoiKuG5+sNqnYcb1kY27Yq+X6c32u8xAPV3LsAl/EpOIvOrGPLJL1OEjTnd0V6VZs5IxxaPjBj7Cgcs82iGqpzWUmoaxwxkhmDc5AiH8fHjA60WWKw== Received: from CH2PR12MB3895.namprd12.prod.outlook.com (2603:10b6:610:2a::13) by BL1PR12MB5142.namprd12.prod.outlook.com (2603:10b6:208:312::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.31; Mon, 10 Jul 2023 17:26:41 +0000 Received: from CH2PR12MB3895.namprd12.prod.outlook.com ([fe80::ee7e:9411:ca2b:85e]) by CH2PR12MB3895.namprd12.prod.outlook.com ([fe80::ee7e:9411:ca2b:85e%6]) with mapi id 15.20.6565.028; Mon, 10 Jul 2023 17:26:41 +0000 From: Asmaa Mnebhi To: "andy.shevchenko@gmail.com" , Bartosz Golaszewski CC: "linus.walleij@linaro.org" , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v4] gpio: mmio: handle "ngpios" properly in bgpio_init() Thread-Topic: [PATCH v4] gpio: mmio: handle "ngpios" properly in bgpio_init() Thread-Index: AQHZUHBpmwUyJW1DpkeY8R87iuQYWq7uV5UAgMWucrA= Date: Mon, 10 Jul 2023 17:26:41 +0000 Message-ID: References: <20230306211237.14876-1-asmaa@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH2PR12MB3895:EE_|BL1PR12MB5142:EE_ x-ms-office365-filtering-correlation-id: 9ff0a478-2468-4236-d5dd-08db816ad328 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lJcZ8fu/aZ78w0sw1cDcWtCSALgYUIxsOVk2gNbWHaaiXWSNJteGzRDa2G5sKan8WpUyLk3bGCWNhl9ix5nW7P3hI32OIK1UhzUW0VoPYjU3eOUOmR+v8qPyqYwLGEw9/wu52W1vVYdPU2HB2tDgNKaOATietDeSgjiVBfzkONXW0Hn7qZnpM3lnRA88EvHQAABN4/7PFxTYjbDO7mg75J/kTaNTuVinTtyGt2kQcMeoBGCbfBL9X9AwzffCk0KfoLFefP61rXnI1oJnSSUX47DgSxbRB8swIIn8z6EY6tnEBiXS6aiRNr3/xK9lDiM/9gfDovPEgspLhe9yAh5BlQQv9voanLqWLGXzGRmA8JQ6U6u7qRpkO9fqR89A4zuE0gRump45VAb+xbU5ksjBLa/otXhLjkBg0oWz/5wZVjGqE2e6f07DOfU/giiG2Gvfh1Pb1oXwvnY28eFMGNxdx3Ol3U/RJUMrBIAMceeYSNQ16YjrNw/eNgHpaDpZrhYujPZBTnXRk+4Zc4jvBV0GNCz+AufRXsiKjcfjRAR2NF20NR0ZPHfAl3z+5GRFTjt+r6kEmHjhDaVaa5/z+//m3hOUb8Bz7oTHvkRBHKKkTK3E5vkDMP8H9Knq8ryQ/DMu x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR12MB3895.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(136003)(396003)(39860400002)(376002)(366004)(451199021)(38070700005)(558084003)(33656002)(86362001)(55016003)(38100700002)(122000001)(478600001)(110136005)(71200400001)(54906003)(9686003)(7696005)(8676002)(5660300002)(52536014)(316002)(2906002)(4326008)(66946007)(66556008)(66476007)(66446008)(64756008)(76116006)(8936002)(41300700001)(26005)(6506007)(186003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Hk/tKgd4CyPP4ZhM2sQOFfeGNBE3BTJvH7HYZjiQKmeEW4zoZCvp0WLxKP9s?= =?us-ascii?Q?/DxTjh9JqOgoSjzSjgOuZpCyHlMYbMuXA4rzWCOkj6MNO7R/XiICc+kdkxKZ?= =?us-ascii?Q?77fOODf2mgnFCk+uQdVS0iOopuwscy9dX3NLDEmhlnK0GQqOfB+a6YtSv7TR?= =?us-ascii?Q?tzaGE6OGh1T3v7bpnsyj9eQkWSW7xf3cmvMgE3Srl+27XwPooTQG3zSENJNb?= =?us-ascii?Q?ovLZcJF0FvV/flOZa82JFWd6u/quIc12xktzCwCCmHwMzGway7neJ7a5WLgf?= =?us-ascii?Q?50ghK4wauKOomVjXk06NekINm/T1DG7JadkMLu8Ax0gBI07xi4jYF2aZd4eK?= =?us-ascii?Q?iDSCfFInzKoXwz/f05/nVMr2GilZdz0XOtTRa/E/ATMFHJ6K5xzdZFx3cSki?= =?us-ascii?Q?FBJsFEsH7nxQarKX68myS5iIJ2UueOg9HVy/h0EFQ+4BdV0hKw8jvGeTLdsn?= =?us-ascii?Q?9mvVmnb2jeanYGckEzAya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us-ascii?Q?V08spN7u1mzdKptY9oyZG9Q1rUw5ntDY9aFjiDAnu13pCmtGuh6S0DJE/1FO?= =?us-ascii?Q?xcWmAEkG2woHI+d3UN04jBgiPJxkZy2l7/hYDodehToineYGiJ03GAE7oFxJ?= =?us-ascii?Q?SynqzxfxzFqsiOH5C4AT9rGmz97kd1LJsjqAIp1lSWl5nqx7Q7fvyufhCedl?= =?us-ascii?Q?8QxLwKdR0JpIJ3a2bGg=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB3895.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ff0a478-2468-4236-d5dd-08db816ad328 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2023 17:26:41.2224 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Wlw0Y/8sr1N6CRl46MieEeROkFuMqx7DGsN+vzuE7cHzNgVwd0uRNxYB10WY5tNM4yq1A+7noJx6tak/wy6Mdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5142 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 > Reviewed-by: Andy Shevchenko Hi Bart, Could you please add this patch to the tree? Thanks. Asmaa