Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1470501rwb; Mon, 7 Nov 2022 01:54:30 -0800 (PST) X-Google-Smtp-Source: AMsMyM7TwxoaAu4IDQvEVzmX/JUiT2or0bPM4BTl83ABask/qsMafks7zQRfu0DUoWkafONTIgeY X-Received: by 2002:a17:903:40cd:b0:188:612b:2cb4 with SMTP id t13-20020a17090340cd00b00188612b2cb4mr19613100pld.138.1667814870474; Mon, 07 Nov 2022 01:54:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667814870; cv=none; d=google.com; s=arc-20160816; b=ec7Y6mWJOpYbsbw/vLXqM0q+raCbJVNL/21yjLLwxDQhAtvu/jNZqW7Im19g04Vmhs 2gh2GHeCyc3BHVUrru0Nr70sv13jFoyT4jbwLCdxFf3SXej1H0p/O5DqV7oiyx7Hd9V9 o6u8kjBmM9G2VbUqoy+AQQzM4KwOETeBl6YHlovqL9UQj76qj8NE7AmsB2nAstv3jlNP RzspXssjfaH4Sbvj8/vXbqfVeVPv/cxg+T9eOthIuVdX8XzMxmtmV6sgli/U9c5iL9Hf 8xB1OKfpF7EO78GcA0vEwLf9pRNPKVM/8Xh2sN14m0FnrLu1JAYqvETC4lL8sKs7dYjQ AuVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=X+UcPhLHWbCzzpwm6AFzPm2tH0uWih+cxu+XDYnOn8I=; b=jpxZoCdHscfGGshNqHDJsveklt4dNuAWbn62uB4ooDMKwJDcYS3oyzPNZY/SBXcnkk 50TCz+RXhW9hVjdOw/5jw+AUH3AeWK7xA1sFig5r63ywTs7PaqizLHfxQGKNTIRZx4le 5umr38/tMWNJgT1n1w2rFOBEgHkaR+nwoPr4abbIXiLuEVFoDdOQRpjO8EkvM6FTqYCL Viyf8/0A1e4rl8KuE8xYA1Vnx67Vj5VZDh/IhrdNNLgf2Nw0V6Ippe1gP4WiU+5iq8j4 rYtLDgZKm67DoQyfxzI7FixtmnWfyJP4kwmkn9NvjcXe1hlNmgLehzsmMPuHo9sFKAqI HWHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KH2tz9X9; 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 m15-20020a17090aab0f00b0020d4b43d8b5si12601816pjq.103.2022.11.07.01.54.18; Mon, 07 Nov 2022 01:54:30 -0800 (PST) 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=KH2tz9X9; 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 S230263AbiKGJjT (ORCPT + 96 others); Mon, 7 Nov 2022 04:39:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231730AbiKGJjD (ORCPT ); Mon, 7 Nov 2022 04:39:03 -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 9F720BE14 for ; Mon, 7 Nov 2022 01:39:02 -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 5DD8FB80EF0 for ; Mon, 7 Nov 2022 09:39:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10B76C433D6; Mon, 7 Nov 2022 09:38:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667813939; bh=ZHHX19+fBKs7UkEe9m7JbmHVUsQpj82rRSrE0l6ZQNQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KH2tz9X9GwQz1CHIuRiZvgPbGUE6zsEGTpAmvzVy3f3MbLC7YT1olwVT766xWAfIG C4vLZVH7lbuYQ7Xsxm2KEKJx6Ry71VjGvPp0MLYzfcGgXx4g9upc9vrQSG1BbnbiTH rUzLnDQOVqs8ZhPiim5vt6r7AoMip090awlC1A79VZWlc4a3MnfQnMiDfbf3t7o7i2 l+7xP9CXe/1CuROJjePo40dagtnIgQ2VIOqICCNYdZhCLYO64KcyddVahMD4ZA2eR6 xesdIE87SLlzYNXiHHcVnqHbuRLdncdHvWGbLuzIp4NrwmE4w61jMkvKKwVPqWPyUg 8jjVeGbeM9RNw== Date: Mon, 7 Nov 2022 09:38:55 +0000 From: Lee Jones To: Samuel Holland Cc: Chen-Yu Tsai , Dmitry Osipenko , =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , "Rafael J. Wysocki" , "Russell King (Oracle)" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mfd: axp20x: Do not sleep in the power off handler Message-ID: References: <20221105212909.6526-1-samuel@sholland.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221105212909.6526-1-samuel@sholland.org> 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 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 Sat, 05 Nov 2022, Samuel Holland wrote: > Since commit 856c288b0039 ("ARM: Use do_kernel_power_off()"), the > function axp20x_power_off() now runs inside a RCU read-side critical > section, so it is not allowed to call msleep(). Use mdelay() instead. > > Fixes: 856c288b0039 ("ARM: Use do_kernel_power_off()") > Signed-off-by: Samuel Holland > --- > > drivers/mfd/axp20x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones [李琼斯]