Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1458500rwd; Tue, 13 Jun 2023 09:20:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5CzpQkwFNiHVQCz5OuxYN9Pc6teu1eZkyjynkjtQX8QkYHpykcPIIFZa+nQxneWdFZ4zJ8 X-Received: by 2002:a05:6a21:338c:b0:11a:3c7:b752 with SMTP id yy12-20020a056a21338c00b0011a03c7b752mr13713092pzb.25.1686673240743; Tue, 13 Jun 2023 09:20:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686673240; cv=none; d=google.com; s=arc-20160816; b=tuKRcOnQh4iMfJUKL2czFwNObySO3UM0go8t+RdI6psFZaSkxcrOJiAWtJjNZ3ZUWg lWuesXiP1kw4IxaAUIFsDGq+nKGY0mqGU0xH4dRsU5OnbGBnFF/iuSOw2sTeDcPBlZdM Y1kgf5TMROx+KTvuHIPkAoVB+VKVi167S8g4FxfVIByFw7yY+P9wT+tka3c3a3Ml9QVF eXuoro9aSPrKBuyf5baADxInPvgyELkdKIM2bKthIkpYYa9gjm7tlS4K0O0ATmkLDyhp 2aa8uQL91S1Rs3TX+NKyl//V7+lo/AkxKIWXLtbam8dRHLfeMVlBcKUM5CKbI9HyWf/o AO6Q== 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=TMxYP5irw92DUsANYSoR0EN+Jn7iZXsQaIkK3Yfr5rE=; b=FWs6KsQ9M4ZWMTKEQ+f8rJffhYHA9YnQyJheWN09AaJx5w8KP7wWc/P7Ojaomlz7MK fRrRfExu5HURbfb4hIRhcOcfIX/MRFW5i4qzP+4aAwh4V5xDnCpbOaHGvaLyQ2IfwBvX P58w6s8XO2zKnNreqEUWXOFkcsKodIra7aloArnchoX893Vp/rS7T4BbKVWQ8oWTi+e2 uRRvLjS+17zJreqBKsWRzlrqOygx5qHzQUIW3nTlgUJfZnfi0koTys9QenUmr7tdv1WJ gT0R4Qs4zJyefqSAmLiS80glNp9sZw3eDQ3aZe91YAbXv9DwdD5U6hiZTvrPziCGNInq sLsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LUsoAlHV; 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 z1-20020a63c041000000b00527d158ec6dsi8993821pgi.406.2023.06.13.09.20.28; Tue, 13 Jun 2023 09:20:40 -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=LUsoAlHV; 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 S242665AbjFMQSW (ORCPT + 99 others); Tue, 13 Jun 2023 12:18:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235443AbjFMQSV (ORCPT ); Tue, 13 Jun 2023 12:18:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57C2492 for ; Tue, 13 Jun 2023 09:18:20 -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 5BAFA632F3 for ; Tue, 13 Jun 2023 16:18:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B790C43396; Tue, 13 Jun 2023 16:18:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686673098; bh=a2rrXOBNbdz17opc1wDnoKiPwzIuSO/Z+/wGkvgS9ow=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=LUsoAlHVxQ2GCRxBCt2oa1W95dB7y8rR+aRhGio0+7J4ReGojrYa4cDruqm1g4AVD 51fHNacVjUE42TmmEuui/YfOhEldEeL7V+7ILMrTclj+6AiaZnj0p/JtD8UgCVZDFa TZ9etvq7eHs8BJ0tqgNmKqXG4KKhSbGI3XlRQTvB17W5rj7Z84eGYXJAIkWXZCH+79 /UXYmSpf4M3xT7HDVlutQy9lo/Shq/XQdOtY1ggADCMde1smZvSZumBDQzDEI4/ybd 6iB4LCtFDEHPhAoxTQgWncd9kHqyH/KMOPa7C4GXPCNqkJBhaLWUODAwTDmru0o3R0 gdkMuu1MMBSvw== From: Mark Brown To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Waqar Hameed Cc: kernel@axis.com, linux-kernel@vger.kernel.org In-Reply-To: References: Subject: Re: [PATCH v2] regmap: Add debugfs file for forcing field writes Message-Id: <168667309723.106862.4715235200493830383.b4-ty@kernel.org> Date: Tue, 13 Jun 2023 17:18:17 +0100 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 Tue, 13 Jun 2023 13:42:27 +0200, Waqar Hameed wrote: > `_regmap_update_bits()` checks if the current register value differs > from the new value, and only writes to the register if they differ. When > testing hardware drivers, it might be desirable to always force a > register write, for example when writing to a `regmap_field`. This > enables and simplifies testing and verification of the hardware > interaction. For example, when using a hardware mock/simulation model, > one can then more easily verify that the driver makes the correct > expected register writes during certain events. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1] regmap: Add debugfs file for forcing field writes commit: b629c698eae745eb51b6d92395e2eee44bbf5f49 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