Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9745838rwr; Thu, 11 May 2023 21:22:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5iCncirKxJ+/gPSmZTx/kSQBN3pPU4vnZxl4qcBePVjbYlVZHozDUcwkr8Env2TC87w7c4 X-Received: by 2002:a05:6a21:9994:b0:103:cd24:bade with SMTP id ve20-20020a056a21999400b00103cd24bademr6236847pzb.38.1683865325054; Thu, 11 May 2023 21:22:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683865325; cv=none; d=google.com; s=arc-20160816; b=yvspNKJdGmTk+ZfTBbOqs4LXdJ/HCMEgkYp7fE0dXpQJ2HoP2+e1u0YRvR87GdAzmG I0fkrG0zJK2brDUHdOp/vRK7mTptBc8kIG4uqtgiHyEvE06R6XuHhvDrLWxOJDMs4JQu m4LkCsSyfJ/U9QWz8rx4sHgCjZWqGQm44XvaboVyj3YGo2Ygt9Ej5q5ILccM666YiLbc uVrSNxRYghk+R3N/ZOWwqJdyP4RKaQVSKNX/QUt95cVhG+ZTlS6gOWGbG5PsTbZaPCxR mEaOE1ELIynb6dyYiIRuocLHNx88zXtfjhduahsTvdO1ddNe7brIQWz/FRzdrH2KcHLY xKIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=T8vF1+P9ihMG/LPMRefuBw7pcjas1MuMAjpPL5/1G78=; b=v8j6tDf3ylUG+kj4QaBNvTYtaMKKk/OWoW19yhCYeFbuBGodcd2JxBjwud/uip2gFP 92XT5nAHrBiELsv3h5grTfbgoNbY7oYR+duGFRi5mQzus4HBfHORuW/Jd3AVKtbQJ0MS 4AHfMa4LNVz6dpt1ge6otlgt3fCnXXxFx90YNNe6jqSV10axqWk0DiudOTjTab96TWth e9oUIK1yv5P44rvUj7/7+BnQa7VIsOEgNg9jng3S3VOv/i7OZjoJJ/0EW8fh9ZdcSEOM cjFm8R9XXPXXHjhCsoRcuUxVUaJ4UlwVBs+R3XwQ8UetBIiTSAIQf1CA3atC8f5SCeT5 peSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F5dR0xeY; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o8-20020aa79788000000b006436ead4abasi9092813pfp.246.2023.05.11.21.21.49; Thu, 11 May 2023 21:22:05 -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=@kernel.org header.s=k20201202 header.b=F5dR0xeY; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239910AbjELETn (ORCPT + 99 others); Fri, 12 May 2023 00:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239878AbjELETe (ORCPT ); Fri, 12 May 2023 00:19:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5915F5FDD for ; Thu, 11 May 2023 21:19:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9E66C64FA5 for ; Fri, 12 May 2023 04:19:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A40EC433EF; Fri, 12 May 2023 04:19:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683865166; bh=Ss0d/YlpNBJa+gq9dsQPpsQfi1oSiK4LQ3MruNXU5xQ=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=F5dR0xeYaI/MotfZ4qBTqT2TgpnvhwnliULLdjjbnBOHvJ5ckyDslH+1VsszLTSvg sW7Utit1l35f7p0gb1AqkGeeQGC7Y1rpSkD8gl40JU1eFn7cPwhL9Ds45lxrcg5jJp WxLWdC9ZQ8RWZsT+fG1/OC4unDgZifozoi+jRt1DV6NIPgDA4H15B7EC3TFSVaEUpX 4iZ/ZWSgmbba5pdn7pIu6ADP1W9W6q5bG5xoD3/evBdXDZ8xdQpQDiAaz1g+qXvzb1 34Yi6bDHJ9D8sEbehHJDrijnIxU9MyDPS9PRUiPLCyzZb3xEP/ZJrt/uPrxfRpV5eR PsssHvFTf+zIA== From: Mark Brown To: Greg Kroah-Hartman , "Rafael J . Wysocki" , Colin Foster , Maxime Chevallier Cc: linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, alexis.lothore@bootlin.com In-Reply-To: <20230511142735.316445-1-maxime.chevallier@bootlin.com> References: <20230511142735.316445-1-maxime.chevallier@bootlin.com> Subject: Re: [PATCH] regmap: mmio: Allow passing an empty config->reg_stride Message-Id: <168386516384.353123.11293244589798997385.b4-ty@kernel.org> Date: Fri, 12 May 2023 13:19:23 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-bfdf5 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Thu, 11 May 2023 16:27:35 +0200, Maxime Chevallier wrote: > Regmap's stride is used for MMIO regmaps to check the correctness of > reg_width. However, it's acceptable to pass an empty config->reg_stride, > in that case the actual stride used is 1. > > There are valid cases now to pass an empty stride, when using > down/upshifting of register address. In this case, the stride value > loses its sense, so ignore the reg_width when the stride isn't set. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1] regmap: mmio: Allow passing an empty config->reg_stride commit: e12ff28764937dd58c8613f16065da60da149048 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark