Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2121658rwd; Fri, 2 Jun 2023 05:17:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Oagv+4fwq6q1ZNtYef64YBjSPXyq1f+a9wGFNozdXolj58xFw1MUKPkRifaF0VcQWrf+l X-Received: by 2002:a05:6a20:914e:b0:10e:bcb0:199c with SMTP id x14-20020a056a20914e00b0010ebcb0199cmr8022621pzc.31.1685708272781; Fri, 02 Jun 2023 05:17:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685708272; cv=none; d=google.com; s=arc-20160816; b=HY75KbbjcHdQcuc4taw4O+LOFYxiagRAeyDNGKrA7NzYmYsrIc9vYI6DcUSCjkK9Tt sLrWkltDtRrvlShIi6n1imOtuzOi3C6jhCEhxcK/x+IYe3MnRn4iWuTXUlVkIkOQtScE XvqBGUlv1e9H8sDOgIuY2huLCVeIwRfdhafbcOgbZevTi0ztvl3RwsllQgZ3F6/lddhN mxD9C1aoIs3E7cAoa36QKTc37o7uuQAqpsRJOGix/5KUqQVKWU1eS2Ajm1Lymi3KPUH8 r0IjNmjdOtTOGEFZ0oiAjvcH3EYZGEaabYGgEsKXcZ3KASxItGcsuK93Jys5pXPW3q/t uLzg== 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=RFec5A8cOwf50eZs3MQmGBX0boiqb0DNa5BsG23qvns=; b=wMlkUS5+mQrl8F6awaBMxNIlZY53nKA+oVIhEboCmiHh8SbtAq/0AlyFyOUmQK+Lu0 dVCugNE5l7o1cgIAcvpTuAbaCJ6Xs7bB4UYC48o33Sz47opi3sJvPgmLnpTvvUP/clTp 1rroNYYSWx7oo47yb6qkbD0fcZOZctzmyxjbPO0eFd7wK541xYa2Ljk+bUzCu9HZAO4E rH4BML4jWVim0XIneJ58SijiP6FFnSDdvcwjMoqdjZMcLhCiMvX1VJ58R1GJnrx8oR0R 9ur1oQrJvQgA3VcJkP2GTWS/rxAaq7jJ3w7Rb5c8H/jsaMQN1G+LJM4KwhWRPAhOXQBv 11HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@alien8.de header.s=dkim header.b=qhmf2bAI; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a630a4f000000b00542924cbf7bsi918473pgk.233.2023.06.02.05.17.20; Fri, 02 Jun 2023 05:17:52 -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=temperror (no key for signature) header.i=@alien8.de header.s=dkim header.b=qhmf2bAI; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235706AbjFBMKb (ORCPT + 99 others); Fri, 2 Jun 2023 08:10:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235748AbjFBMKQ (ORCPT ); Fri, 2 Jun 2023 08:10:16 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEF091A7; Fri, 2 Jun 2023 05:10:11 -0700 (PDT) Received: from zn.tnic (pd9530d32.dip0.t-ipconnect.de [217.83.13.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 0FD5F1EC05F5; Fri, 2 Jun 2023 14:10:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1685707810; 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: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=RFec5A8cOwf50eZs3MQmGBX0boiqb0DNa5BsG23qvns=; b=qhmf2bAITL3XqN1Z6VqEk/3FpYCEsYjf9ORIhJlhNSTqMN14ne1srRNLoFyRRqUCDdD2L5 BYJ/LKWMp36+yawEILT3XhWSCBQftSFfIC0TRaYFnHpt97TRg31/2CMA1TdXOuMD4W7F2Z J3bDkHM2RVtne4yvLpeJ/9lklNKPWGE= Date: Fri, 2 Jun 2023 14:10:05 +0200 From: Borislav Petkov To: "Kirill A. Shutemov" Cc: Andy Lutomirski , Dave Hansen , Sean Christopherson , Andrew Morton , Joerg Roedel , Ard Biesheuvel , Andi Kleen , Kuppuswamy Sathyanarayanan , David Rientjes , Vlastimil Babka , Tom Lendacky , Thomas Gleixner , Peter Zijlstra , Paolo Bonzini , Ingo Molnar , Dario Faggioli , Mike Rapoport , David Hildenbrand , Mel Gorman , marcelo.cerri@canonical.com, tim.gardner@canonical.com, khalid.elmously@canonical.com, philip.cox@canonical.com, aarcange@redhat.com, peterx@redhat.com, x86@kernel.org, linux-mm@kvack.org, linux-coco@lists.linux.dev, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv13 3/9] efi/libstub: Implement support for unaccepted memory Message-ID: <20230602121005.GJZHncHTryexRFihZj@fat_crate.local> References: <20230601182543.19036-1-kirill.shutemov@linux.intel.com> <20230601182543.19036-4-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230601182543.19036-4-kirill.shutemov@linux.intel.com> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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, Jun 01, 2023 at 09:25:37PM +0300, Kirill A. Shutemov wrote: > diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig > index 043ca31c114e..231f1c70d1db 100644 > --- a/drivers/firmware/efi/Kconfig > +++ b/drivers/firmware/efi/Kconfig > @@ -269,6 +269,20 @@ config EFI_COCO_SECRET > virt/coco/efi_secret module to access the secrets, which in turn > allows userspace programs to access the injected secrets. > > +config UNACCEPTED_MEMORY Why is this Kconfig symbol in this file? I'm thinking this needs to be somewhere generic, like in mm/Kconfig or so... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette