Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1026162iog; Thu, 30 Jun 2022 15:24:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uEoJvZwdsFGOvpdy2JOslg3dBXQ3r8hcXVpAe2qnx2TsHzmlP2gF5da/xspNkdHa0UB3xB X-Received: by 2002:a05:6402:2933:b0:435:80dd:f75c with SMTP id ee51-20020a056402293300b0043580ddf75cmr14430163edb.302.1656627890116; Thu, 30 Jun 2022 15:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656627890; cv=none; d=google.com; s=arc-20160816; b=kxGjCcGy4GROmBmqP5YQPyvz8DehdDD/9gkQV2Lgj8GG75GkA2D6LMQ5EdqfMrpd16 q3uMdgRss13bAICq19/ThAbLLAVytVcra9G1WUx7NHsq1leS8YA0CYQ7m1k5mG+814n3 jITl6oHqFNVcNO+R+RE3PBC0a2kskAzSjodqxqiOtgKgvfqNSR/RYX+3Ih8Q1+4BpeRF 67phmewRSj3S5P5Ud2C7NSCqhIG7HRz6SGr1xhKQvyJKytfYmbczaIRY4hDEfFeH5Q4q 36jPYcHCLk/0pa8ZPKCCGcLK4Nt0BvWxC75humgOtm+BwTohjkxyonl1UTNZ48eh5cjk GK7w== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6Q4opgcj8y74lb4+vPMz7Aaz4RXLvbhbkqhgjW9tIvg=; b=XcIjunPmmH3MV0y8bNmGtXoQsVsABPtgadaVHG0n9eEIMWYXEwhMtKJO/JfmF3dqz0 rlqlxV7yGH/diZ/KaOSHr6VAqRrx2MKdHcVutn1NMIslaKSDcEgeqqAPYw+Z5blzVVuV Ou6+zJxtbQOD0Yfg8H1R19rYG2YTTZ8ssfDbvvZQYNOJCwCIcRY6Q+xLrkrFj3RF1gGI 85cZy08IxAKEd5cHaIRyhoc4l83HNJ1s1z2yB2OZLEBZ11u5IBmCoREhq3LSYDGOeaoU 55sX1h0/LY3/SOOZKQRbMyBlrflYCYcwJMS0mvCUNsGyv5wYaUaaN80AWm9a/wkPvSGD 754w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=izP8boWZ; 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=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i8-20020a170906264800b0072622d14436si8680128ejc.601.2022.06.30.15.24.23; Thu, 30 Jun 2022 15:24:50 -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=@zx2c4.com header.s=20210105 header.b=izP8boWZ; 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=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229678AbiF3WIa (ORCPT + 99 others); Thu, 30 Jun 2022 18:08:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229573AbiF3WI2 (ORCPT ); Thu, 30 Jun 2022 18:08:28 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34DFE6341; Thu, 30 Jun 2022 15:08: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 ams.source.kernel.org (Postfix) with ESMTPS id D2AC5B82D74; Thu, 30 Jun 2022 22:08:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EE37C34115; Thu, 30 Jun 2022 22:08:22 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="izP8boWZ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1656626900; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6Q4opgcj8y74lb4+vPMz7Aaz4RXLvbhbkqhgjW9tIvg=; b=izP8boWZFX5fMfz/RJGlnkHtlHosnp4H5Pul/iijp/E0mA3n7tapeU2lXvgfjFgRHC5EHI HG6iJ64PfQOjoSj6rup/5Vw7Jo/sEexsNUKxxrKW1hyuSTJzNglW5R4FV+q3TpYt5wpFVP pT6LxXQzcgYHKnMapyx7o8SPOSZ4nSs= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 2a3c525e (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 30 Jun 2022 22:08:20 +0000 (UTC) Date: Fri, 1 Jul 2022 00:08:16 +0200 From: "Jason A. Donenfeld" To: Kalesh Singh Cc: John Stultz , "Paul E. McKenney" , Steven Rostedt , "Rafael J. Wysocki" , Christoph Hellwig , Saravana Kannan , "T.J. Mercier" , Suren Baghdasaryan , "Cc: Android Kernel" , Theodore Ts'o , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Len Brown , Pavel Machek , LKML , wireguard@lists.zx2c4.com, netdev@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH] pm/sleep: Add PM_USERSPACE_AUTOSLEEP Kconfig Message-ID: References: <20220630191230.235306-1-kaleshsingh@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, 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 Hi Kalesh, On Thu, Jun 30, 2022 at 03:02:46PM -0700, Kalesh Singh wrote: > I've uploaded the changes on android-mainline [1]. We'll submit there > once the upstream changes are finalized. > > [1] https://android-review.googlesource.com/c/kernel/common/+/2142693/1 Excellent. I think everything is all set then, at least from my perspective. There's a viable replacement for this usage of CONFIG_ANDROID, there are patches ready to go both in the kernel and on Android's configs, and now all we do is wait for Rafael. Great! Maybe people will have opinions on the naming (CONFIG_PM_RAPID_USERSPACE_AUTOSLEEP vs CONFIG_PM_ANDROID_USERAPCE_AUTO_SLEEP vs what you have vs something else vs who knows), but whatever is chosen seems probably fine, as this is a pretty low key change since it can always be tweaked further later (it's not ABI). Jason