From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87551C433FE for ; Tue, 22 Nov 2022 19:43:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234276AbiKVTnV (ORCPT ); Tue, 22 Nov 2022 14:43:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232341AbiKVTnS (ORCPT ); Tue, 22 Nov 2022 14:43:18 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F7427C443; Tue, 22 Nov 2022 11:43:17 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id E1A04B81D56; Tue, 22 Nov 2022 19:43:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2610C433D6; Tue, 22 Nov 2022 19:43:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669146194; bh=FnvUAA+yXCryMxim9anvCTDLRrStYPDHhE1Mo1spq0U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z/ODJsvuT+0eV2zbZJBb6f/EYKQReFze8s0xizTKzvjOtAqMhBIkhWTZClHk3EYlE Eh/LhR0lTWgnsnchipCleyxYOUop+fRrhiUjAseBmLOHbopIpwYoiAI6S2hk11R+EP NyxDfnGgBeeM7h9PXDwlylq2xVjs6fPgtcNpFLswSZzYrPTT7HlmASmTzvxFpzVEK7 GvT6wEGzJTGHghiXXvY2aScotn78zWEB5Dj/w5RI5w0yx3Ak+p7YEjeK6ucpf3650w fUuqpgMObpfmD8fH1xLqD/qma5TcIkU0I0irT6NAByi5wvhVWuKGhdfCwwc/TR7IDz D+0bSoUsL7DhQ== Date: Tue, 22 Nov 2022 19:43:09 +0000 From: Mark Brown To: Michael Walle Cc: Greg Kroah-Hartman , "Rafael J . Wysocki" , Linus Walleij , Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, William Breathitt Gray Subject: Re: [PATCH 1/2] regmap: add regmap_might_sleep() Message-ID: References: <20221121150843.1562603-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vY2Mmwx37l2oX2m0" Content-Disposition: inline In-Reply-To: <20221121150843.1562603-1-michael@walle.cc> X-Cookie: That's what she said. Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vY2Mmwx37l2oX2m0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 21, 2022 at 04:08:42PM +0100, Michael Walle wrote: > With the dawn of MMIO gpio-regmap users, it is desirable to let > gpio-regmap ask the regmap if it might sleep during an access so > it can pass that information to gpiochip. Add a new regmap_might_sleep() > to query the regmap. The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780: Linux 6.1-rc1 (2022-10-16 15:36:24 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-might-sleep for you to fetch changes up to a6d99022e56e8c1ddc4c75895ed9e3ce5da88453: regmap: add regmap_might_sleep() (2022-11-22 12:23:17 +0000) ---------------------------------------------------------------- regmap: Add regmap_might_sleep() Add an interface allowing generic users to determine if a regmap might use sleeping operations. ---------------------------------------------------------------- Michael Walle (1): regmap: add regmap_might_sleep() drivers/base/regmap/regmap.c | 13 +++++++++++++ include/linux/regmap.h | 7 +++++++ 2 files changed, 20 insertions(+) --vY2Mmwx37l2oX2m0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmN9JkwACgkQJNaLcl1U h9A8xwf/VK0xlFWr81nR7P0XOQiQJy+AACAlhakjRWX9+rRkYSp9iHNjHibKgbVy 466ozDuXN9Czl7arUMPa2uP+sCVdckZwioKnRkHnizkuzm3h/DAPyTJK4tuu1QQJ Nq8l4jt4fKC6AUZpHK1Jioe1QePZ127dujH4kjYXWA/VSnbp7ThTltfqebmjicIu b54tSnao8WOjPn2hw6L29t56us2UzSTPupVDUTsZkTfB336HhSyw04yx7zPJNiqh 0F+mXYSUl1M+8QKRYYRo+Q4wM+NEVp7TLUpZvf64mz5uROWVMdBCk6vsV0LtfM/z HwSMm1qxDp70ex9vgPw9WeO9zKXXgg== =jbZO -----END PGP SIGNATURE----- --vY2Mmwx37l2oX2m0--