Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp81301rdb; Thu, 7 Sep 2023 14:23:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZCaccVQAvHUfJotADqOg8JSaTR9GpPG/JUPjIX9r/ouR0BtU3kPWtYHGarwgE9xlnzMVX X-Received: by 2002:a17:906:108d:b0:9a5:9f3c:961f with SMTP id u13-20020a170906108d00b009a59f3c961fmr313686eju.3.1694121793034; Thu, 07 Sep 2023 14:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694121793; cv=none; d=google.com; s=arc-20160816; b=cC32vCWWvLfWdfCVRwPQ3bqv1YZKUpYGjcZ3XWbtMH+k/caOQjHOBjn0jMySwNG+ah kUMSJk+5E0uR4Hrpyb6L6Kp36w9XbYzr4A5ckCrQC9iZ5UDh5Q18qPq/2fZ8aY7nA7TU NOv8idzuO7CB1luaR+4htOYRgfdTAdOdSFp2umk6EQ+U6g5F2lGYgjq1pJXdK0l4gSAV n8vNq30RmT/edPs9uSRUkiR0GL6OWd2fGC5ZnSkUjI6ZLeVMEboZmWos91eFARLPvrXp BIkwzb72KGvDZkueoVup2zEFRQ0zAAbCAgaEe3tgWuPQkXlxywHz7cBhMcBigmS5YTPO 0AoA== 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=On/5GaO/+vJq/0AUi878EsbBR0E//EH+eJttU2Ro210=; fh=VIvEgm7YfPU/DlCpTvIGb5ITCJhPmYU9nkNKInKGVoY=; b=IADFT4tzjg1tNU46YBw1CIOscE5TGYeNcObxifk/SpOwE/0aE/l1PQQkJ/83JMFPKG kopBmVvRl2NRXTawIxRP/6PYPomPxqtZwQIvMuMZ0rtw9JJ96YSA/uIId5+Czq615XAG wXTjkXgRq4q0Sd0jhYCDLpnpTvLhjsKL6klj0mUHSa3kwB+b+FcWANQrPf0foqMP9u33 W+A8vZzoIBDyLzT1Zjaj4ii5IW5vOw6kQ08zdcKaPuUTqprYH3ejbK71F2m9ElQ6wRF1 efFdudUouA4hSkQkDY2t8+1ru/75M87Qs1WXHhhZBulNMLVLqAV4L+iJP72xzwMJ9+G6 XHCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OOZtBJGU; 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 v8-20020a170906b00800b009a9f5b062b2si143381ejy.825.2023.09.07.14.22.29; Thu, 07 Sep 2023 14:23:13 -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=@kernel.org header.s=k20201202 header.b=OOZtBJGU; 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 S239204AbjIGUf4 (ORCPT + 99 others); Thu, 7 Sep 2023 16:35:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232763AbjIGUfz (ORCPT ); Thu, 7 Sep 2023 16:35:55 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E48301703; Thu, 7 Sep 2023 13:35:51 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83690C433C9; Thu, 7 Sep 2023 20:35:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694118951; bh=TbTNqEZtaQtEwYXEkP4OSzwJn8Qf383uiVg4TmHkAao=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OOZtBJGUMk6O+26CLZfB3MhkmJCBPbGPCPke/YmTotfNHa0IGJqL16j6XMe3j3DFN /HRawg5Y8OoryXM9XrNyE4S0Jqgykhh7dC5zHzNALZjZF/xxPTe7S90oQkrpKYYOI5 Sh2K7WCLNF9CK0XVqbZDFD8qdJTGLpmUEQtCNlZxsBMy+jxyGaey7J7ExvOXE1h6Jv UMjjEXgXZcwaJuiZiQgvSGU7EfkR+PdTDVFK2FhGWZdaZNGIicGNsqMMVhbBiJClnf 9NjauY+dyJLf42wqL4tU8J8701E6N2L8RfynU7ji6tgFI2nr5bRWTy/Y5KsJuynqjk 8aBBweiWjCK5Q== Date: Thu, 7 Sep 2023 13:40:03 -0700 From: Bjorn Andersson To: Maximilian Luz Cc: Trilok Soni , Andy Gross , Konrad Dybcio , Ard Biesheuvel , Ilias Apalodimas , Srinivas Kandagatla , Sudeep Holla , Johan Hovold , Steev Klimaszewski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: Re: [PATCH v6 3/3] firmware: Add support for Qualcomm UEFI Secure Application Message-ID: References: <20230827211408.689076-1-luzmaximilian@gmail.com> <20230827211408.689076-4-luzmaximilian@gmail.com> <0d7697fd-11b3-1d4a-78da-7e5eb293d186@quicinc.com> <072b3df6-09fb-98a8-2b58-41dfcabd98c0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <072b3df6-09fb-98a8-2b58-41dfcabd98c0@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 Sun, Aug 27, 2023 at 11:53:08PM +0200, Maximilian Luz wrote: > On 8/27/23 23:26, Trilok Soni wrote: > > On 8/27/2023 2:14 PM, Maximilian Luz wrote: > > > +config QCOM_QSEECOM_UEFISECAPP > > > + bool "Qualcomm SEE UEFI Secure App client driver" > > > > Why not "tristate"? This driver can be a loadable module, right? > > As I understand, modular efivars have still not been fully sorted out in > the kernel. For example, userspace could try and mount efivarfs before > the module has been loaded and by that erroneously determine that the > system doesn't support efivars. So requiring it to be built in for now > is more of a workaround (which has been suggested by Johan Hovold). > > There is no technical limitation in this part of the code itself, so > enabling it (and QCOM_QSEECOM for that matter) to be built as module > should be fairly straightforward once that's been sorted out. > Afaict without resolving the efivars issue this is boolean in practice anyways. As such, I intend to pick this for v6.7, and we can transition to modular support incrementally from here. Many thanks for sticking to the effort, Maximilian. Regards, Bjorn