From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pUCRB-0005yL-9m for mharc-grub-devel@gnu.org; Mon, 20 Feb 2023 15:07:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUCRA-0005yC-1q for grub-devel@gnu.org; Mon, 20 Feb 2023 15:07:00 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUCR6-0003bH-C3 for grub-devel@gnu.org; Mon, 20 Feb 2023 15:06:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676923614; 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=dSFaz0fBsbXO5fwG46660Jqb094iDQTi7t9doxyToHE=; b=Bb8hfqN/RhyFyGEtJ8j9iBEmK364uA02tcjjPCqyjWdoB5/R9xxr8+IRaErzmC1zXPVuaj 2G6T5MoPYrTLAJqKH7qE3pu0bh7GPhz0+IyG9GMZQLl8UCyyJRVpIeGI51QFTT+3I42Q0N nJdfmuq/rCygf4A4bJ68r1IYiVu7oDc= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-563-zggP_DZcNx6p-mSPR7ICVg-1; Mon, 20 Feb 2023 15:06:51 -0500 X-MC-Unique: zggP_DZcNx6p-mSPR7ICVg-1 Received: by mail-qv1-f71.google.com with SMTP id u18-20020a0cec92000000b0056ea549d728so960507qvo.10 for ; Mon, 20 Feb 2023 12:06:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dSFaz0fBsbXO5fwG46660Jqb094iDQTi7t9doxyToHE=; b=TOAbDonZcQcJ05hdLf6cknkGDG+khkmuvYcajqprPe/Rcl6w5UMwWOd4OuqQQ9IcU+ hMcQV/ItqtC/KnP8CURKwCVaimAfvownlYSoeDufQJJt9CMBFiv59DmlY3WufPXtHnYt PWyO7x6zrjDe98pTGFEEfOUyGSAnxPt31DUQSf0hocrB+MkXEVr8m/wkqCLqIc9P2JFb 6diXiXD5P+u1BxyuHrAHUaR4CiQBrh6q1wJcXHQcTt/oskOJF6WVfBKsJkC33pTOyryo w5ucLyF5s9M3BDGdPmNyNGMyME6eWV15z52ZX+R3K3D0X1lqfdwsbE8G5IMCjmwlRDC8 dmXA== X-Gm-Message-State: AO0yUKUV6SiQ/4xnulJ3blU/G1J/AjhqX3OxTh8Cx6bStt35iWiVA4MY Ee2JRb5ak/5FgCrD9A/uNomiPkFCU34eio9QhdGmmWTTYq1HamUY8jFjdmj3lR4jMvuwZeghOg9 4APV6wSv5Rz8= X-Received: by 2002:ac8:5c56:0:b0:3b6:2f0d:1925 with SMTP id j22-20020ac85c56000000b003b62f0d1925mr18018461qtj.64.1676923610498; Mon, 20 Feb 2023 12:06:50 -0800 (PST) X-Google-Smtp-Source: AK7set+GYaTwfuhfdrOFaOngpZax9X7kvZiIVS/QbSc+Az3BvcWPWMrceng0JcqVPPVDG+bWyTHR5w== X-Received: by 2002:ac8:5c56:0:b0:3b6:2f0d:1925 with SMTP id j22-20020ac85c56000000b003b62f0d1925mr18018418qtj.64.1676923610012; Mon, 20 Feb 2023 12:06:50 -0800 (PST) Received: from localhost ([2600:4040:520a:8800:7d1c:f0a7:5c44:ed0e]) by smtp.gmail.com with ESMTPSA id jr45-20020a05622a802d00b003b82cb8748dsm431994qtb.96.2023.02.20.12.06.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 12:06:49 -0800 (PST) From: Robbie Harwood To: Glenn Washburn , grub-devel@gnu.org, Daniel Kiper Cc: Peter Jones , Glenn Washburn Subject: Re: [PATCH v6 09/14] gdb: Add more support for debugging on EFI platforms In-Reply-To: <20230110215041.1247699-10-development@efficientek.com> References: <20230110215041.1247699-1-development@efficientek.com> <20230110215041.1247699-10-development@efficientek.com> Date: Mon, 20 Feb 2023 15:06:46 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=170.10.129.124; envelope-from=rharwood@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2023 20:07:00 -0000 --=-=-= Content-Type: text/plain Glenn Washburn writes: > If the configure option --enable-efi-debug is given, then enable the > printing early in EFI startup of the command needed to load symbols for > the GRUB EFI kernel. This is needed because EFI firmware determines where > to load the GRUB EFI at runtime, and so the relevant addresses are not > known ahead of time. Does this actually need to be configurable as opposed to always enabled where applicable? I would want to turn it on in distro builds, much like the similar patch we carry is. > This is not printed when secure boot is enabled. This will mean that any debugging first requires disabling secureboot. That's potentially annoying and I'm not sure I see a security benefit to doing so. Be well, --Robbie --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEA5qc6hnelQjDaHWqJTL5F2qVpEIFAmPz0tYUHHJoYXJ3b29k QHJlZGhhdC5jb20ACgkQJTL5F2qVpELXdA//b5Isvf+BaTocOufrdy22MDkiOHvO SpHd2WVKriaWYOLK1z6SwMgqr+rJNDM9yDAVrobHzOizRbjkw0cAc+PE3d2UMTLM DSZpzLcg8fUoJMvsOn1jbyHq3K0qubUH3WN6em6rItRN6XmHTDsOm84dDhN0u0qb 6B/kDFpag9/aryvXtuBNMQDphzLb7R+AZTb2oUdxv8LPoSZr/MCc7wi2VbDIEJ0c 5TIDWEdsr7W9+rsbw/L7F/xHtJ6m2fbJJ1PImzthI2wCuEez7b+PdOPSwAuPTi5j RPTp46SE8jZZNy/w86jQsY3kgViwFuOKYNO5IazaeWj1mRiF59gOnnJUKvxW4Rux FCwHntAJRJWjWi5KjWGLkB8IMlxOv3K/bA9IUUnAPNBD75DYvAT0qj0tv0BZAPxN htalYG+60SlR3Z3CMaY+c+ZdqiabMQENYi5dI4st+ZZs8yF9Gws5CvyOrLZIyBTB g6MmcYCyv1bR1Oc6BcC+JkhsqPgDeFnYZ60dYEDa8yIsbIPIG+l3fcLPvBy1+0S9 xBXln2KOF2t6OsTh/BHtr8LRmt2A+WI3OYF2L1tDkwe8T7kxZPLUyXYEYPumVsrr g60NDn5GmJfCeBST+GVjsfUuhLMi7caIhsMPBvEw2Exnabr7fXgvYwMt2yHOOyZQ W7cl9Z6fwysm56g= =SFPd -----END PGP SIGNATURE----- --=-=-=--