Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1244356pxb; Fri, 1 Apr 2022 08:16:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8PwynfnDGknIVyo0PdexmURDcCqGA2GR+RE6NIO3bIGJxNYHHD+Bzg25JSgGvxyu/H+N9 X-Received: by 2002:a17:907:7fa9:b0:6e4:ba80:3799 with SMTP id qk41-20020a1709077fa900b006e4ba803799mr271485ejc.564.1648826167413; Fri, 01 Apr 2022 08:16:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648826167; cv=none; d=google.com; s=arc-20160816; b=oJ+csUwxvpKYBFFRZRs19cW1cFfz/UOxEaPVFoPm0ZFZBNJyW9MyQPic9jwlBSNG/5 GwpkBoHoycIWIxSuMbYwC4brlb6XvgdlN5rrPlZp5TSZdlm3ya+dY9DG6+G+YVIO0N8W ifzw09e1+DHcOoAPe8kT+2VgcH2trG2gByRqkYLyAG20l1SS9KoIMku5qF8LvSdyhFWU t8BoeXdNA5pwHv6CaQ/l6bAyMPS9Nmf5rF0QzKCFc0Fh3IIlZOdJGbpGJ5uFWTY14PMN B2mag6jq0G8arr4YywqSaiiIGabouQQ+0ubhnSU9myA2SPHH6henUKu4jStlj4dOkqr4 m5Eg== 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=lcacMdqd3bf9RhdWBIFn3jh9EYGsuLJ5EDgnlxHe6hY=; b=Kok7Lq5bjcsf1zp81bFPT0pTfHHGaIrhq8BhvkyIJQVp1yhx+LuAxyOuMx7pMxbFj2 DWzGTnpuQl1Kzvn8qrmI1XgWYr8xy0xyc0WHsbXANhF5rKMaVkWBdIz+m5aQFifpZz6Z 1MX8p2FozJP6cieB1YUq3KMxTVu/LGOMlvC4fd67ifuToQsnOeqcxJKEfF9+jbGHKMT4 Yvo3LdJDMnVPVJxrW8d4/JitbqXak+dVdJaFvFxEkovbNXof2rmC32ATxH8q6A5uvxTz EPL4QYadgIkwrW4wyZC5XIgq8jO/hiHDiZrMo2UXDDTdxXWrWkSgfNtupMTO/8hufSHS FWyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=V7GjAglv; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a509d46000000b00418efc97cf9si1922918edk.7.2022.04.01.08.15.35; Fri, 01 Apr 2022 08:16:07 -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=@redhat.com header.s=mimecast20190719 header.b=V7GjAglv; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242363AbiCaWWC (ORCPT + 99 others); Thu, 31 Mar 2022 18:22:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242369AbiCaWWA (ORCPT ); Thu, 31 Mar 2022 18:22:00 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 83D16173F5D for ; Thu, 31 Mar 2022 15:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648765211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lcacMdqd3bf9RhdWBIFn3jh9EYGsuLJ5EDgnlxHe6hY=; b=V7GjAglvSMSC6Tbc5GTFLZ5OVuoPCjrDy/fCoK8jYKAJNn0SRoX+WMFHF6p0HyYIAMbe/S GNKrvk19aJAxvywobbU0dLCOKW52meqSr13UAg6ih6pUIS5E0iGj0i8I403I9Q6Bgccm/o IPbggj/T8CsIY4OvTrvhslWk5+NJVBc= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-370-sq51nJkxN1yHK0w7-a03LA-1; Thu, 31 Mar 2022 18:20:10 -0400 X-MC-Unique: sq51nJkxN1yHK0w7-a03LA-1 Received: by mail-ej1-f71.google.com with SMTP id ga31-20020a1709070c1f00b006cec400422fso478429ejc.22 for ; Thu, 31 Mar 2022 15:20:09 -0700 (PDT) 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=lcacMdqd3bf9RhdWBIFn3jh9EYGsuLJ5EDgnlxHe6hY=; b=BV3gc0OASXOhI8QTu09K5mJea93TsZsmK3ZFfd4UTJXgW0JEGn3VhrV28gwqiLYSAe J2Cw/v4OzNroG30LRcwm371LBVNI9Y0oZyK79nKwBDDq4kq0Vo2JaPhg0KQInUq99Jzk aZYfcAlPc6PnJz/wqwPQhVtadDQXRDcErk+G+M+zJFStB+Fn4CYxDYbFWDXB2MJmDVOt ke6leLFSjsywY8L9kiNVo4FqebIQEcUGW1c7TS/ROB9sK0XedH2/wRaVgj8ej9dDhBCy 3BwmtoWp+uMu1rdGEV104plp3cBCP6Yy7uqKB2yPZnUXjPZu1FCX5dE0zQ04M2j/Xi7F 6DPA== X-Gm-Message-State: AOAM532WFyhpdGjmN6to461Ne2L5QBCSqxVVB0qPE17Gl8yOd6oM+Uqg Ra2Ir2u5t06pKWuVVNzNr63YCCYrcSqp9uYoPb2PZFCosTvpZXLUrXAC6wLZoES0IEJWjFKNvka GkI7Cfo37gDgtQ6ZRp7qZBnFyaf+FcGwDNQ/iXwky X-Received: by 2002:aa7:c789:0:b0:413:605d:8d17 with SMTP id n9-20020aa7c789000000b00413605d8d17mr18443746eds.100.1648765208972; Thu, 31 Mar 2022 15:20:08 -0700 (PDT) X-Received: by 2002:aa7:c789:0:b0:413:605d:8d17 with SMTP id n9-20020aa7c789000000b00413605d8d17mr18443736eds.100.1648765208701; Thu, 31 Mar 2022 15:20:08 -0700 (PDT) MIME-Version: 1.0 References: <20220331151654.184433-1-javierm@redhat.com> In-Reply-To: From: Javier Martinez Canillas Date: Fri, 1 Apr 2022 00:19:57 +0200 Message-ID: Subject: Re: [PATCH v2] efi: Allow to enable EFI runtime services by default on RT To: "Ahmed S. Darwish" Cc: Ard Biesheuvel , Linux Kernel Mailing List , linux-efi , Brian Masney , Sebastian Andrzej Siewior , Al Stone , Peter Robinson , Robbie Harwood , Peter Jones , Alexander Larsson , Andrew Halaney , linux-rt-users@vger.kernel.org, Thomas Gleixner Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hello Ahmed, On Thu, Mar 31, 2022 at 9:36 PM Ahmed S. Darwish wrote: > > Hi Ard, Javier, > > Am Do, Mar 31, 2022, schrieb Ard Biesheuvel: > > On Thu, 31 Mar 2022 at 17:17, Javier Martinez Canillas > > wrote: > [snip] > In case of (CONFIG_PREEMPT_RT=y && CONFIG_EFI_DISABLE_RUNTIME=n), > shouldn't we add a small message in the kernel log warning that EFI > runtime services are enabled for the RT kernel? > > In almost all HW, except custom ones with "verified" firmware, such a > warning would be useful... This is especially true since in the embedded I considered that as well but was not sure about what that message should be. Since it will be printed even on systems whose EFI firmwares do not have such long call times as the ones described in the commit that disabled the runtime services for RT. And in that case the warning may be misleading and make users believe that a problem exists, which might not be accurate. > domain, manually-configured RT kernels are almost always the norm. > Agreed. That is why the default for CONFIG_EFI_DISABLE_RUNTIME=y, if CONFIG_PREEMPT_RT=y. So users will need to explicitly disable the option if they want the EFI runtime services to be enabled with CONFIG_PREEMPT_RT. Best regards, Javier