Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp436062imn; Thu, 28 Jul 2022 05:28:21 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sbj0SBn43KU6YZ7rYy5Us5uiaaB2NqO8RFnK3EP5sj+tHvs4zlKIY0b21LueH1UXdvfSbw X-Received: by 2002:aa7:cac7:0:b0:43a:c5ba:24a6 with SMTP id l7-20020aa7cac7000000b0043ac5ba24a6mr27289982edt.84.1659011301611; Thu, 28 Jul 2022 05:28:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659011301; cv=none; d=google.com; s=arc-20160816; b=R+ChbjB/W+hZ88KOsh2g70W0+0+p4ejMNNVjGABp03gphOXelxaL9hbhnek4OS4Z+M DkE4VvAxaQOLWUQWC85QKdeQfXiYO/46AP2yRwEgDAlVOWcikh8XwxO+BTdN4YVZHoZH 5jmlW1T/mBcJGQ31GthcIAHqdRM/No0JtK8LIFJFhimTKgslWZq3bbmP8qnadf4oe48E CYnk5UCq/55SuuVtLrAB3TdEnbfNaUMJVfLPfm6BEC7HhpjVsApd5mf7vRGmnihAMk/i C58YrCnCQZ9EK7Qwvw4OkCdUmzylfE+wH0LHgq1+pV4DP6B18ep0p86OulEUxnogaGBD LYhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=fPGazMImeq7ZTnaeZ4AGBk0ohlKyyO3QqrKwonvdhpM=; b=KJwn0+ZfS+EcSdCRthY1BxX7y+KNzoIV8gvrxdKOmrTJWYNK214F7Z52fxPgCPOIMe 8/jsX0NMBNEgesJ5JJLZYLNIR+7VfJj5Q3Y3S13wIqwexqBMIQdt4ABdI+/FgBU5bLoz FuQcHcx2HnaLcpqkRFThQI/BMSzHS/qprXNZl9LLWPlsF4t2Xg/j8tc5wHOk+ZsnNfOg c626G3SzAWEipiydFMhjQEluTzP7SH/6EmXniF1cgJbO2FkTHte/64MPeqcTSPCILExK wxs1zAE0Vf1K6jtAKbuslADfXqeuLwb0qNaTxiHs2IZcZnckZ3tl99fryMS0FPlqywvm uYsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fvhONg60; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw14-20020a170906fcae00b0072b4af77c94si486191ejb.750.2022.07.28.05.27.56; Thu, 28 Jul 2022 05:28:21 -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=@linaro.org header.s=google header.b=fvhONg60; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238435AbiG1MZC (ORCPT + 99 others); Thu, 28 Jul 2022 08:25:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236326AbiG1MYy (ORCPT ); Thu, 28 Jul 2022 08:24:54 -0400 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B33DC6BD7A for ; Thu, 28 Jul 2022 05:24:52 -0700 (PDT) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-31f56c42ab5so17231537b3.10 for ; Thu, 28 Jul 2022 05:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fPGazMImeq7ZTnaeZ4AGBk0ohlKyyO3QqrKwonvdhpM=; b=fvhONg60bsGwrIHA6bNhsT18PaJmu/2fNF1Lc/SzqBFyU6F7SX+QoTz7oJj0Eo+Bcp YK4p49P2pJjPF6JoiUeG6RQFeNk5awUnc8amp9wuZAJOeLBxqlIFnJtsnW8KKJnPKAlO HlEwteYdyw6ojA1RB10fyUenKWffwJimbpG5FHibao9UhPDS8OMTPBZrHur0hYfxxut+ o4+K0QCpXOfJfkn0u+VaAsk+CiaddG3CfVz13pCC2alc0np/Kt2D1N1hg8DGtFvigmwA 0tW0GV6TO88ORk1mwskI8ONAivniVnCEa9ZlXYUm2QnRLGkJZNWuxoZq4EwPUcXwoSZl KAyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fPGazMImeq7ZTnaeZ4AGBk0ohlKyyO3QqrKwonvdhpM=; b=TcKPqo9zIWsfjfEitBk4Mfjlz1Lte4uN5ViRZjhUqenpzI1ORpD1t1wq19oS22yvmT t7gWDHfiKKDH6XqWuDQuJDzbvwixvVkSkagemg1NkzUxQ+kPAxlc2A/9q0jsvMCFq/+j BGJtzG61tG/hXIrCVc0We3Bq5/QWMX1exsLpHB/02DHqnRiUJpt57f83xMo7PBybWtxS daegEHwtF5ZGG+ZDsv23/R5ew/Ct7hycx9ZBKw7gcKTbUE+EAGji1mwCefERksAr0HNv uxV33DxKIC55NrNya3O5H1UJFlwWWir4tlNOFP37Vk4G+P8cOm9ZcMulZiTISMNVtDj/ CRsg== X-Gm-Message-State: AJIora8zSsDYbk2/cfYOWMjYXZs7jCccPrzpR6a4Gfj9aX8MP0pOrj7l tbQBSCrjqrHgQJbL8K86/iWqjHSDIeb/vnWvWHYsAw== X-Received: by 2002:a81:e03:0:b0:31f:4e64:3e9e with SMTP id 3-20020a810e03000000b0031f4e643e9emr10513132ywo.128.1659011091852; Thu, 28 Jul 2022 05:24:51 -0700 (PDT) MIME-Version: 1.0 References: <20220723224949.1089973-5-luzmaximilian@gmail.com> <20220726143005.wt4be7yo7sbd3xut@bogus> <829c8fee-cae5-597d-933d-784b4b57bd73@gmail.com> <20220726154138.74avqs6iqlzqpzjk@bogus> <7284953b-52bb-37ac-fbe1-1fa845c44ff9@linaro.org> <3d752603-365d-3a33-e13e-ca241cee9a11@gmail.com> <20220727132437.pjob3z2nyxsuxgam@bogus> <20220728113347.ver6argevzmlsc2c@bogus> In-Reply-To: <20220728113347.ver6argevzmlsc2c@bogus> From: Ilias Apalodimas Date: Thu, 28 Jul 2022 15:24:15 +0300 Message-ID: Subject: Re: [PATCH 4/4] dt-bindings: firmware: Add Qualcomm UEFI Secure Application client To: Sudeep Holla Cc: Maximilian Luz , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Ard Biesheuvel , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Steev Klimaszewski , Shawn Guo , Cristian Marussi , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, linux-efi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Thu, 28 Jul 2022 at 14:33, Sudeep Holla wrote: > > On Thu, Jul 28, 2022 at 12:48:19PM +0200, Maximilian Luz wrote: > > [...] > > > > > I would very much like to avoid the need for special bootloaders. The > > devices we're talking about are WoA devices, meaning they _should_ > > ideally boot just fine with EFI and ACPI. > > > > Completely agreed. This is not a special bootloader though. Quite the opposite. It's a standard UEFI compliant bootloader, which uses the fact that EFI is supposed to be extensible. It installs a linux specific config table, similar to how we install a linux specific protocol to load our initrd and it's certainly lot more scalable than adding new stuff to the device tree. > > > From an end-user perspective, it's annoying enough that we'll have to > > stick with DTs for the time being due to the use of PEPs in ACPI. > > But have we explored or investigated what it takes to rewrite ACPI f/w > to just use standard methods ? Does it require more firmware changes or > new firmware entities or impossible at any cost ? > > For me that is more important than just getting this one on DT. Because > if you take that path, we will have to keep doing that, with loads of > unnecessary drivers if they are not shared with any other SoC with DT > support upstream. We might also miss chance to get things added to the ACPI > spec as we don't care which means that we never be able to use ACPI on > similar future platforms even though they get shipped with ACPI. > > It will be a loop where we constantly keep converting this ACPI shipped > platform into DT upstream. IMHO we don't want to be there. > > -- > Regards, > Sudeep Regards /Ilias