Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1378760

[PATCH v2 0/2] efi: Delete global 'memmap' variable

From Matt Fleming <matt@codeblueprint.co.uk>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] efi: Delete global 'memmap' variable
Date 2016-04-14 14:20 +0200
Message-ID <rnOpB-1sB-31@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Ard's recent EFI memory attributes table patches caused ia64 build
failures due to the use of the global 'memmap' EFI memory map object,
which doesn't exist on ia64.

That failure prompted me to dig out these two patches that delete
'memmap' once and for all and replace all occurrences with
'efi.memmap'.

And because all call sites are now using 'efi.memmap'
for_each_efi_memory_desc() can implicitly use that object instead of
requiring it to be passed as an argument.

Changes in v2:
 - Fixup bisection breakage due to efi->memmap misuse
 - Drop new 'phys_map' variable in arm-runtime.c per Ard

Matt Fleming (2):
  efi: Iterate over efi.memmap in for_each_efi_memory_desc
  efi: Remove global 'memmap'

 arch/x86/platform/efi/efi.c                    | 125 ++++++++++++-------------
 arch/x86/platform/efi/efi_64.c                 |  10 +-
 arch/x86/platform/efi/quirks.c                 |  10 +-
 drivers/firmware/efi/arm-init.c                |  20 ++--
 drivers/firmware/efi/arm-runtime.c             |  14 +--
 drivers/firmware/efi/efi.c                     |   8 +-
 drivers/firmware/efi/fake_mem.c                |  43 +++++----
 drivers/firmware/efi/libstub/efi-stub-helper.c |   6 +-
 include/linux/efi.h                            |  14 ++-
 9 files changed, 120 insertions(+), 130 deletions(-)

-- 
2.7.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] efi: Delete global 'memmap' variable Matt Fleming <matt@codeblueprint.co.uk> - 2016-04-14 14:20 +0200
  [PATCH v2 1/2] efi: Iterate over efi.memmap in for_each_efi_memory_desc Matt Fleming <matt@codeblueprint.co.uk> - 2016-04-14 14:20 +0200
    Re: [PATCH v2 1/2] efi: Iterate over efi.memmap in for_each_efi_memory_desc Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-04-14 15:30 +0200
  [PATCH v2 2/2] efi: Remove global 'memmap' Matt Fleming <matt@codeblueprint.co.uk> - 2016-04-14 14:20 +0200
    Re: [PATCH v2 2/2] efi: Remove global 'memmap' Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-04-14 16:00 +0200

csiph-web