Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lbLWk-0003A4-8F for mharc-grub-devel@gnu.org; Tue, 27 Apr 2021 07:05:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbLWi-000388-IC for grub-devel@gnu.org; Tue, 27 Apr 2021 07:05:12 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:27840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbLWg-0002U5-9P for grub-devel@gnu.org; Tue, 27 Apr 2021 07:05:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619521509; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QonIyTUef/F76Gvx2tpVPAdG1R7OHv4BIXXeLH2pyfQ=; b=gXXEoyLOFMLXCjAQ/gfbWRhWETBnkU7HTZliWI9TwpmQtSczsALJ02GnAyeNvdjL8Y/Thn 3BqL4WZvFiplyCt6hgMSuzs6bP0jmB0k9aOpV7m3AkKFOA9DQEIg3ePXQatvdYd9TMNAMe Gjg6sxJ5RZals2xWhfLh0K6pd5yFoS8= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-445-CwVSUSwBPPyz-MD2rrCijQ-1; Tue, 27 Apr 2021 07:05:07 -0400 X-MC-Unique: CwVSUSwBPPyz-MD2rrCijQ-1 Received: by mail-wr1-f71.google.com with SMTP id 89-20020adf83e20000b029010c35eb9917so2606291wre.1 for ; Tue, 27 Apr 2021 04:05:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=QonIyTUef/F76Gvx2tpVPAdG1R7OHv4BIXXeLH2pyfQ=; b=TCQvJTYhfBnDrc3cB5vWqrBczD6cQyx0iNKUAEOtuDs8f6GeTjzJzWK9r54nO1Hcco tTmBvp45TN6naOStfzKVsLFf/cLFaCuC36Tm0UcxwTrzayweTpVZV/aoiNnxureEcTTL 7avohgkasvqHKh0MS3Gwo61MV6Ty6YIzMKtQU/gKRigwuGWGs1mgk0lB2/prwerYjHMj dL/XZXNLzO/IFjA4qJZUUuhmBUAD4SoE2gBfIvYKtWD+LvxH9pAJH3uOCO/LvrkwRuV6 aQtmnxCVndhETKztC4NWQmWYi9CkmKl/6wemixO0FiKjxTnFLGonFxwcBlmzYMbRoH5E Xr2w== X-Gm-Message-State: AOAM533/Se9RJOB8ol4QcD4dc4eL1V5DNpdiWVyqnSmQ+VSTw1swNage hlwh0m5EWoT6BzZWmsr248VJgKMTej5wfjPJm7g/hiWm8aZBjc8GpZDBR1BPaVrZB+k9H5d0wXz VBdsd21aE9Js= X-Received: by 2002:a5d:4d02:: with SMTP id z2mr28151496wrt.190.1619521506281; Tue, 27 Apr 2021 04:05:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+/hOFPWZ1B4uESVgauzE+Gz1n16oQ9mMS8zdeFWEJBMF6Q6e4k9BrHkOMLKs5Opzj39ZVwQ== X-Received: by 2002:a5d:4d02:: with SMTP id z2mr28151473wrt.190.1619521506053; Tue, 27 Apr 2021 04:05:06 -0700 (PDT) Received: from [192.168.1.101] ([92.176.231.106]) by smtp.gmail.com with ESMTPSA id r24sm2234987wmh.8.2021.04.27.04.05.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Apr 2021 04:05:05 -0700 (PDT) Subject: Re: [PATCH v3] util/mkimage: Fix wrong PE32+ section sizes for some arches To: John Paul Adrian Glaubitz , The development of GNU GRUB Cc: Daniel Kiper References: <20210427102508.1721280-1-javierm@redhat.com> <570ea405-341d-11ed-c5e4-ac260e48a1ef@physik.fu-berlin.de> From: Javier Martinez Canillas Message-ID: <0973e349-eae7-9107-966d-47e38613aba8@redhat.com> Date: Tue, 27 Apr 2021 13:05:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <570ea405-341d-11ed-c5e4-ac260e48a1ef@physik.fu-berlin.de> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=javierm@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=216.205.24.124; envelope-from=javierm@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.218, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2021 11:05:12 -0000 On 4/27/21 12:48 PM, John Paul Adrian Glaubitz wrote: > On 4/27/21 12:25 PM, Javier Martinez Canillas wrote: [snip] >> } >> #endif >> + >> + if (image_target->id == IMAGE_EFI) >> + layout->kernel_size = ALIGN_UP (layout->kernel_size, >> + GRUB_PE32_FILE_ALIGNMENT); >> } >> else >> { >> > > Works on my ia64 machine. > > Tested-by: John Paul Adrian Glaubitz > Thanks for testing it again! Hopefully this could be the last version of this patch. Best regards, -- Javier Martinez Canillas Software Engineer - Desktop Hardware Enablement Red Hat