Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2529999ybc; Wed, 13 Nov 2019 16:18:05 -0800 (PST) X-Google-Smtp-Source: APXvYqzCKXdrPYNJj/ucCxWI8M0UanEdZztnMrtOT2YcKKXaRxWisnPymCW7PZdjMa8WooWKfxG7 X-Received: by 2002:a17:906:7c5:: with SMTP id m5mr5579611ejc.231.1573690685358; Wed, 13 Nov 2019 16:18:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573690685; cv=none; d=google.com; s=arc-20160816; b=Zc7yVn6a0aTaWZmK4ADjfpK7pH6oE9xk67JdRBKca3BG9I2WGc8dgxd00u5v4qJHd/ YiMqmc2l8Ofd+PtYzcjs33N6o9BOvOHnbhaAxgTIJMadl/N+X5yve193XNwec7qvfMlv SJGm8Ai8eK/wFZyU01NxGyuxA/jw+KirPyL+30DLW421OWPFKh9R1vmf5alCALtZOFTN PM4e4q+KOkFuhqRYyWxtNE6yMdiqTbUbiLactDlizQTNUV7rnERgvZChjn26mB5Xhrpy moSQnZZP093/oQN0sfAVajC9Tr2mX7Tb+6iHynY5gJYZ4kCyu0uvTs0ZYvJ+UN4t/pMp RjXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=fC5YIN5NtZi/DXcKOnXzYS9mKERKZFP+XZ7Rx2pmg4o=; b=vT6/nXJ8gxUtEn2zHW5yVJS25u7Tca6YlJ2mwvWVV4KqyHB+TniK7iu/SqMRRiAzPg /kzZmu7jOt028esG7HOoHAfx/G1LYW0WsndinFtCzPCk1QKSWJzs1W4Sack1dUeLxoCF 0qtRXJ21LetwDjwIF6uKMVa53OH8Njxp3Xo2bwF0zNiLaSFvOui8Fl5uOk2tjkaNyGgF 7ZT2FTchCJr5jXf/MS3dE1l4eOFAzXQiSfdr36F3wpNDbMeeh7jSBeYBDANa1csBGSMy Gy0aOCHqmjNhod21H4+o3lQszBH6fBvVzYOGuYSSurWY3La8lHjLe+HXcScct95P4PK6 Id1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=YUThzm3h; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=android.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7si229779edp.308.2019.11.13.16.17.39; Wed, 13 Nov 2019 16:18:05 -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; dkim=pass header.i=@android.com header.s=20161025 header.b=YUThzm3h; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=android.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726418AbfKNAQm (ORCPT + 99 others); Wed, 13 Nov 2019 19:16:42 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:35146 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726195AbfKNAQm (ORCPT ); Wed, 13 Nov 2019 19:16:42 -0500 Received: by mail-pg1-f196.google.com with SMTP id q22so2467017pgk.2 for ; Wed, 13 Nov 2019 16:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=fC5YIN5NtZi/DXcKOnXzYS9mKERKZFP+XZ7Rx2pmg4o=; b=YUThzm3hWkO+B3k6fmOD9jjOo22nIUdns6Nk74aoOjhQGWKp8wCMXp81efO21+PIHv 61haGe1mJkGBs/aEIJni/10z8i9W0DuN45uIdFEXNEotqthFlNUjXdK9zLQBBN5M7Tmr Z0O+CmPg1wg9Pulrjk6ThTJyN0zr3/GNZIrKK6OCdO6loYg+X+Cm4im1X1Gu8LNmDiwn A2XUoje+m/KmT68GxiFyquVHJyFS7e8edM2B3qpKsrRyWcVQznJzAEsymUTdVoXvSYm5 kluK8yO6qQHhdLiabAfo5cDczDWYOFGhhNSqrCEjFGo6I7oQmxeYoTTXRWWZU545C0tR ccwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=fC5YIN5NtZi/DXcKOnXzYS9mKERKZFP+XZ7Rx2pmg4o=; b=M0MwBUvugpcPLinLbQmwWV9flmEHhEjj34LPoaloto/mzSjnHuZ6k8YI1Q6A85ALYd q/ADO0DRXRAIwc3SKjlyo5t1tORuQCkrrz+OgmEmhWTn1jxUoTAem+bDcc/fWbc57Hao 4QAhu63t0NU9UVWs+0hHng7lSVsFRMHbmds+manJHfIF1cKMVmhY1In+CVmQuNOnHbX3 D/asowfJmaPfz7F8XcckjgEw33DhY/CJ4lRIZ9+EqlAJuTXxxk/Rb/Ud2DdnsxWj5gEe YyT4+QEaDLJvFG+m094AUzLiQGaBHBqcfAF8WNPCH8j0OadphGrq9Sx3QznFAf1Z8l3C 1A4Q== X-Gm-Message-State: APjAAAVcaNG6y0IDzKMoJVOeP5q/sxEw7ERSG0mNQk2yuwBn4LeYFuRr xDwR7pzx943OSmrsog+xnHfeB4amc+oyRA== X-Received: by 2002:a63:ff46:: with SMTP id s6mr6839305pgk.337.1573690599971; Wed, 13 Nov 2019 16:16:39 -0800 (PST) Received: from nebulus.mtv.corp.google.com ([2620:15c:211:200:5404:91ba:59dc:9400]) by smtp.googlemail.com with ESMTPSA id j4sm3984530pfh.187.2019.11.13.16.16.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Nov 2019 16:16:39 -0800 (PST) Subject: Re: [PATCH v2] firmware_class: make firmware caching configurable To: Luis Chamberlain Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, Tim Murray , Venkata Narendra Kumar Gutta , Greg Kroah-Hartman , "Rafael J . Wysocki" References: <20191113210124.59909-1-salyzyn@android.com> <20191113225429.118495-1-salyzyn@android.com> <20191113231602.GB11244@42.do-not-panic.com> From: Mark Salyzyn Message-ID: <33f2baa2-944a-2bfc-1c50-0e437bf11959@android.com> Date: Wed, 13 Nov 2019 16:16:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191113231602.GB11244@42.do-not-panic.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. --Mark