Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2537950ybc; Wed, 13 Nov 2019 16:28:25 -0800 (PST) X-Google-Smtp-Source: APXvYqzr9Khd4bihgYJNig2A2kr7vJLZIdSjeX6CcuMG1SYAEELSb2NoQzzPmPU1b991QmLg+7YE X-Received: by 2002:a50:f783:: with SMTP id h3mr6818327edn.168.1573691305247; Wed, 13 Nov 2019 16:28:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573691305; cv=none; d=google.com; s=arc-20160816; b=TSmywfnPrcpNM/v89hAclVlhMCvLQpC68IVKjAOGxafmeDamSs4J4IwBxkckf9kz/J qoL24BSepZP4WzvbKchvxRMn9SD/4LKrlquuERUXsWJPudeihXzZL/FKzVz5rBnVNmX+ F1cXuTU4xcjgF/6BcmMmQjP7T5s+jYGrdmIEdznnFrl/bYt7vAaPAFt8Xst5w2ZK3FK1 G8239A9gJOiucX8mkGelLe5iw8oREFwB5vdI/rDL+shQ2TbREF0TSFRsZyA25tsiWlGu hxH144noqcrASHy/ul+PlVy9D5N7Z/mecjBB72iLG+TWNuKD3Vg27wZqbkRdwuf41i1O k5yw== 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=wbA9LJyHfmL8JOWFOa0vSA8aoWEs4lz4urE7q+emuws=; b=Vv+089+Yl36RpzQkSyImQq/Nu3fvyHqIn6wwbE5XqN4E0DU3P+NejmgijR5ehcZTFo OGzTAfxgRSLoOkqNq3QhAySPkRLveV5SgACoF1335Yn1sF0t020zzt4AniudzS2km2hp nwjKVoKIexAK3I3TsYx3mnXoPMomX+cIVn8MFICCeeVgL5OyrNmBdqCIalfEpI6lSL8i u53FLOSBihP4r6ukbLM0tQHV8oa545y2AK+0NuGhr1DmcPOf6/vAhs5yi9m5ZiX6IAhy W20UdcTE3veFlNp0Att8RsAOWDg680Z2u0wCC1THzjLP9juhrE3MLjhhezVXc1fVA/q5 cM3Q== 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 a52si2753839eda.450.2019.11.13.16.27.59; Wed, 13 Nov 2019 16:28:25 -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 S1726473AbfKNA0M (ORCPT + 99 others); Wed, 13 Nov 2019 19:26:12 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:35947 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbfKNA0M (ORCPT ); Wed, 13 Nov 2019 19:26:12 -0500 Received: by mail-pg1-f193.google.com with SMTP id k13so2476765pgh.3 for ; Wed, 13 Nov 2019 16:26:11 -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=wbA9LJyHfmL8JOWFOa0vSA8aoWEs4lz4urE7q+emuws=; b=sLyN2j7T26sNjPregNE61IHWMLyN+I5AWe8kUecKwVyZpR8roU6myoFAC8SGexOzpo BSmDUE7n//RWMm7ApC17GES7IVJRMxxzaczQmRDv62eoN6dpNXKSI/fNObMw7NFunHO7 PmAs63lmZCVdFFCYzx37/ZQklbCulVU3Da2kSMrsozzE13AKxNLy4NHZgwrs5rDljXrD XHGy6K5Ge9C3C6vg+THDWl8w3ELaF3YSX5bQRXOh/t3SeHuD/ZmCHU61OXVBOgqyHamY 0nkR0vovqd0n00ghnYBQx+oYCvSdL7SDSHfMpWjATrqFoLnHw8T+zfe1Y2NjyqKeILOt MwVQ== X-Gm-Message-State: APjAAAUpxcFuefOErU4zL2OuGnRA746W0EMuvINwqSOnrWEoZw/F4xgA W529OgaWm91WkOgczspnDyQ= X-Received: by 2002:a62:e811:: with SMTP id c17mr7710859pfi.136.1573691171052; Wed, 13 Nov 2019 16:26:11 -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 j11sm3605922pgk.3.2019.11.13.16.26.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2019 16:26:10 -0800 (PST) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id 60605403DC; Thu, 14 Nov 2019 00:26:09 +0000 (UTC) Date: Thu, 14 Nov 2019 00:26:09 +0000 From: Luis Chamberlain To: Mark Salyzyn Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, Tim Murray , Venkata Narendra Kumar Gutta , Greg Kroah-Hartman , "Rafael J . Wysocki" Subject: Re: [PATCH v2] firmware_class: make firmware caching configurable Message-ID: <20191114002609.GC11244@42.do-not-panic.com> References: <20191113210124.59909-1-salyzyn@android.com> <20191113225429.118495-1-salyzyn@android.com> <20191113231602.GB11244@42.do-not-panic.com> <33f2baa2-944a-2bfc-1c50-0e437bf11959@android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33f2baa2-944a-2bfc-1c50-0e437bf11959@android.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 Wed, Nov 13, 2019 at 04:16:38PM -0800, Mark Salyzyn wrote: > On 11/13/19 3:16 PM, Luis Chamberlain wrote: > > On Wed, Nov 13, 2019 at 02:54:26PM -0800, Mark Salyzyn wrote: > > > +config FW_CACHE > > > + bool "Enable firmware caching during suspend" > > > + depends on PM_SLEEP > > > + default y if PM_SLEEP > > I think the default y would suffice given you have depends on PM_SLEEP, > > however this also works. So, again: > > > > Acked-by: Luis Chamberlain > > > > Luis > > Worried about setting FW_CACHE w/o PM_SLEEP, this enforces it. I understand, but its an impossibility to turn on FW_CACHE without PM_SLEEP since it depends on it. How would one do that? However, since it makes no difference we can leave it. Luis