Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2422735ybc; Wed, 13 Nov 2019 14:14:31 -0800 (PST) X-Google-Smtp-Source: APXvYqyojTuoTUzf7RkO/skRQKv2P0vRpgEaEFPqzsnjWRHslCqkRoKib5FzfimRaOMJPy6eW3+l X-Received: by 2002:a17:906:3ec8:: with SMTP id d8mr5224355ejj.55.1573683271016; Wed, 13 Nov 2019 14:14:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573683271; cv=none; d=google.com; s=arc-20160816; b=vHK1qKYLqgJoc8lvPeQmGXYrkgvceQijnUyiCQRizkkHZSFdkd2EtfXRrjZsodD/cR WQYXRpS8Cm7Zy7mJI3vM8eAxThdeuD1HREMhEYZcZSQQ6g4a1roglujw5kQKewKdMniR Ab7ExOwmoKL5vnPo+YxvsSjojbZ21G0gvqeSK7JuoewY6csY9ozd2kMCD674qSWLvQYm 66IY44vacOCxtzSCzEDL7j3NskdRDYq1XXu9PtAGlgeC3fcsb6s5URCc+QAcATxEUlFO vnRwGmmbcKXY4XVUBZmK1fkA4x8fJ+mA5AQND9zk1OJFi6Ffja/yF4qxh8B1qxFu0ORF A2bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=B1TprubRRi78z9gJem80g0pHSHDAim7q+mO0ht29ilM=; b=tmVbm4+gfDY56HEyqU3H6khMPext9cMnrG9exTaWlP2VOKWowNk2KPhGNKAf7ypi+E HRe/DsKluKQQEJYIWDEhAdzo+cWHUNQ+XCysnOumZEtOitDh4rIQTMyLKuECEbPjL/Wh qrNJyvddoX2vQctMTUu7WkYHnR3YJZaqwESsuitlNA0ZLvWrDvCA3nnNOkuYCzmCPKeS lGtzOvjz5TC8m62DZXo94LpEBYb9iZISHpxNfDWPOlqljw7zp8MW2s1PxdtJZHuQieci KUYT/UJqAeonsPuZBOBbMz9jwmw2rBoks8bocvLR8wLhzn8n8tU0Pob5BX8qrWTLCkxs +FgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4si2391189edy.83.2019.11.13.14.14.05; Wed, 13 Nov 2019 14:14:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726434AbfKMWNW (ORCPT + 99 others); Wed, 13 Nov 2019 17:13:22 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:38630 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbfKMWNV (ORCPT ); Wed, 13 Nov 2019 17:13:21 -0500 Received: by mail-pf1-f195.google.com with SMTP id c13so2602172pfp.5 for ; Wed, 13 Nov 2019 14:13:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=B1TprubRRi78z9gJem80g0pHSHDAim7q+mO0ht29ilM=; b=SdspMzPQwDfDssw3Dm56chFpozK5NPuvKrcHR5wGkG4HLmpdHe0b/81EGjpB0Vts7X M2/o742K5cFOte7jVr6zGMbe4U2TKFwuugJyKL7X4eOys7si6GU8t11D84a2f7zsNcDe g+wkQ6tW73i+cLZivUPduPtKoy/kFsXwhbXEwsczyJlMLGciT0PngZBu7YbzFSphNZaT CEnmYLBeZjiuJewKEwE0k4rKza9RfKpBiD6+q2daAHZ3AoKdNuJveVIZEhIss2F9MoMd VNaiCDObnp6zvikTDMlo8XXDNOMX7oZuQB/192PwUFe6ysh/2g1CTLEbLQ1ZZkxRarlD KfGw== X-Gm-Message-State: APjAAAVMOvw6KBz+QWxCHpeh65oGgIMcUqAC4bJ13YBFBy+ZkgH7Ib3Z 7p6glqi2HEFWKR4BB7zP0ic= X-Received: by 2002:a63:e306:: with SMTP id f6mr5635390pgh.386.1573683200824; Wed, 13 Nov 2019 14:13:20 -0800 (PST) Received: from 42.do-not-panic.com (42.do-not-panic.com. [157.230.128.187]) by smtp.gmail.com with ESMTPSA id g20sm3340474pgk.46.2019.11.13.14.13.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2019 14:13:19 -0800 (PST) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id E8D73403DC; Wed, 13 Nov 2019 22:13:18 +0000 (UTC) Date: Wed, 13 Nov 2019 22:13:18 +0000 From: Luis Chamberlain To: Greg Kroah-Hartman Cc: Mark Salyzyn , linux-kernel@vger.kernel.org, kernel-team@android.com, Tim Murray , Venkata Narendra Kumar Gutta , "Rafael J. Wysocki" Subject: Re: [PATCH] firmware_class: make firmware caching configurable Message-ID: <20191113221318.GA11244@42.do-not-panic.com> References: <20191113210124.59909-1-salyzyn@android.com> <20191113215031.GA3944533@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191113215031.GA3944533@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 14, 2019 at 05:50:31AM +0800, Greg Kroah-Hartman wrote: > On Wed, Nov 13, 2019 at 01:01:13PM -0800, Mark Salyzyn wrote: > > +config FW_CACHE > > + bool "Enable firmware caching during suspend" > > + depends on PM_SLEEP > > + default y > And finally, 'default y' is only a good idea if your machine can not > boot without the option. I don't think that's the case here, correct? default y if PM_SLEEP Would try to enable this if PM_SLEEP was disabled. So the depends on will force this on for all systems by default if PM_SLEEP is enabled, which is what how this works today. We enable this feature today by default if you have PM_SLEEP. Luis