From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 245C2C11D04 for ; Thu, 20 Feb 2020 11:07:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D52C42465D for ; Thu, 20 Feb 2020 11:07:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582196825; bh=lFluvNekDub0DRH3Uxe8zzAIoxL7Jl4ubOE8d30vkXI=; h=From:To:Cc:Subject:Date:List-ID:From; b=TxcecEVNOPy4DR0tftLMvyRIdi+fRySdsP9FgnAukMdxb1H8aSQkYmFWp8Oj30VHJ turcGn2RR/CUyhqVACmFoA068Oq92isNuehL+cdejryRTjWUQJbqTq8woIGVlNMtgL 33I63Fe9cUcRdZfeqdLpdZNPgfuRLqX0y6zF9I5M= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbgBTLHE (ORCPT ); Thu, 20 Feb 2020 06:07:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:48140 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726707AbgBTLHE (ORCPT ); Thu, 20 Feb 2020 06:07:04 -0500 Received: from e123331-lin.home (amontpellier-657-1-18-247.w109-210.abo.wanadoo.fr [109.210.65.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6124924654; Thu, 20 Feb 2020 11:07:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582196823; bh=lFluvNekDub0DRH3Uxe8zzAIoxL7Jl4ubOE8d30vkXI=; h=From:To:Cc:Subject:Date:From; b=gV+WXeFrGlsX7drbVpiMhahSK6xnnM62rJoCrw2B5R59x4nWglkYkiScTCMZi2RjW pCfHIc2U8t65+vIsaqrniX73rkYtGAjGjPmTF68+8RVnu7gJ8pZxEcgB6U2i56pyns HAMP5flyjNBBUV2xuOJpe0uS8RhNRwZEb4bGZW4A= From: Ard Biesheuvel To: linux-efi@vger.kernel.org Cc: Ard Biesheuvel , lersek@redhat.com, leif@nuviainc.com, pjones@redhat.com, mjg59@google.com, agraf@csgraf.de, ilias.apalodimas@linaro.org, xypron.glpk@gmx.de, daniel.kiper@oracle.com, nivedita@alum.mit.edu, James.Bottomley@hansenpartnership.com Subject: [RFC PATCH 0/3] efi: put an API version number in the PE/COFF header Date: Thu, 20 Feb 2020 12:06:46 +0100 Message-Id: <20200220110649.1303-1-ardb@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: linux-efi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org After having added new ways to load the initrd and the mixed mode kernel, we will need to tell the loader about this, so it can use the new, generic method if supported, and fall back to the existing method(s) otherwise. This is an RFC - if there are better ways to record this in the image somehow, please shout. Cc: lersek@redhat.com Cc: leif@nuviainc.com Cc: pjones@redhat.com Cc: mjg59@google.com Cc: agraf@csgraf.de Cc: ilias.apalodimas@linaro.org Cc: xypron.glpk@gmx.de Cc: daniel.kiper@oracle.com Cc: nivedita@alum.mit.edu Cc: James.Bottomley@hansenpartnership.com Ard Biesheuvel (3): efi/x86: Use symbolic constants in PE header instead of bare numbers efi/libstub: Introduce symbolic constants for the stub major/minor version efi: Bump the Linux EFI stub major version number to #1 arch/arm/boot/compressed/efi-header.S | 4 +- arch/arm64/kernel/efi-header.S | 4 +- arch/x86/boot/header.S | 64 ++++++++++---------- include/linux/pe.h | 21 +++++++ 4 files changed, 58 insertions(+), 35 deletions(-) -- 2.17.1