All of lore.kernel.org
 help / color / mirror / Atom feed
From: sudhakar <sudhakar@linux.ibm.com>
To: Daniel Kiper <dkiper@net-space.pl>
Cc: grub-devel@gnu.org, dja@axtens.net, jan.setjeeilers@oracle.com,
	julian.klode@canonical.com, mate.kukri@canonical.com,
	pjones@redhat.com
Subject: Re: [PATCH v3 2/2] mkimage: adding sbat metadata into sbat ELF Note on powerpc
Date: Tue, 22 Oct 2024 14:02:07 +0530	[thread overview]
Message-ID: <43f54ea914cf2dfcd96ada2e0d03faae@linux.ibm.com> (raw)
In-Reply-To: <20241016151231.sipv7rbw7bcsmap2@tomti.i.net-space.pl>

On 2024-10-16 20:42, Daniel Kiper wrote:
> On Fri, Sep 13, 2024 at 04:57:59PM +0530, Sudhakar Kuppusamy wrote:
>> The SBAT metadata, which is read from .csv file and transformed into 
>> an ELF note,
>> is made into an image using the -s option.
>> 
>> Signed-off-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
>> Co-authored-by: Daniel Axtens <dja@axtens.net>
> 
> s/Co-authored-by/Signed-off-by/ and please reorder SOBs...
> 
>> ---
>>  util/mkimage.c | 12 ++++++++++--
>>  1 file changed, 10 insertions(+), 2 deletions(-)
>> 
>> diff --git a/util/mkimage.c b/util/mkimage.c
>> index e67f7ce73..bafe190b0 100644
>> --- a/util/mkimage.c
>> +++ b/util/mkimage.c
>> @@ -943,8 +943,9 @@ grub_install_generate_image (const char *dir, 
>> const char *prefix,
>>        total_module_size += dtb_size + sizeof (struct 
>> grub_module_header);
>>      }
>> 
>> -  if (sbat_path != NULL && image_target->id != IMAGE_EFI)
>> -    grub_util_error (_(".sbat section can be embedded into EFI images 
>> only"));
>> +  if (sbat_path != NULL && (image_target->id != IMAGE_EFI && 
>> image_target->id != IMAGE_PPC))
>> +    grub_util_error (_(".sbat section can be embedded into EFI 
>> images/"
>> +                       "sbat ELF Note can be added into 
>> powerpc-ieee1275 images only"));
> 
> I think "SBAT data can be added only to EFI or powerpc-ieee1275 images"
> would be much better here.
> 
> Daniel


Sure Daniel. We will make changes and repost it

Thanks,
Sudhakar Kuppusamy

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

      reply	other threads:[~2024-10-22  8:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-13 11:27 [PATCH v3 0/2] Secure Boot Advanced Targeting (SBAT) support on powerpc Sudhakar Kuppusamy
2024-09-13 11:27 ` [PATCH v3 1/2] mkimage: create new ELF Note for SBAT Sudhakar Kuppusamy
2024-10-16 15:06   ` Daniel Kiper
2024-10-23  5:06     ` sudhakar
2024-09-13 11:27 ` [PATCH v3 2/2] mkimage: adding sbat metadata into sbat ELF Note on powerpc Sudhakar Kuppusamy
2024-10-16 15:12   ` Daniel Kiper
2024-10-22  8:32     ` sudhakar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43f54ea914cf2dfcd96ada2e0d03faae@linux.ibm.com \
    --to=sudhakar@linux.ibm.com \
    --cc=dja@axtens.net \
    --cc=dkiper@net-space.pl \
    --cc=grub-devel@gnu.org \
    --cc=jan.setjeeilers@oracle.com \
    --cc=julian.klode@canonical.com \
    --cc=mate.kukri@canonical.com \
    --cc=pjones@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.