mbox

[PULL,v3] efi patch queue 2016-10-19

Message ID 1476861673-126551-1-git-send-email-agraf@suse.de
State New
Headers show

Pull-request

git://github.com/agraf/u-boot.git tags/signed-efi-next

Message

Alexander Graf Oct. 19, 2016, 7:21 a.m. UTC
Hi Tom,

This is my current patch queue for efi.  Please pull.

Alex


The following changes since commit d5a815327d2c257fbba108ff46974b1c1d12fd2a:

  Prepare v2016.11-rc2 (2016-10-17 20:09:33 -0400)

are available in the git repository at:

  git://github.com/agraf/u-boot.git tags/signed-efi-next

for you to fetch changes up to 3fb97e267a5e136d8386a7cb1d5b4fe63af518eb:

  efi_loader: Revert device_handle to disk after net boot (2016-10-19 09:01:54 +0200)

----------------------------------------------------------------
Patch queue for efi - 2016-10-19

Highlights this time around:

  - Add run time service (power control) support for PSCI (fixed in v3)
  - Add efi gop pointer exposure
  - SMBIOS support for EFI (on ARM)
  - efi pool memory unmap support (needed for 4.8)
  - initial x86 efi payload support (fixed up in v2)
  - various bug fixes

----------------------------------------------------------------
Alexander Graf (19):
      efi_loader: Allow boards to implement get_time and reset_system
      arm: Disable HVC PSCI calls by default
      arm: Add PSCI shutdown function
      arm: Provide common PSCI based reset handler
      efi_loader: Add generic PSCI RTS
      efi_loader: Allow bouncing for network
      efi_loader: gop: Expose fb when 32bpp
      x86: Move table csum into separate file
      x86: Move smbios generation into arch independent directory
      efi_loader: Expose efi_install_configuration_table
      smbios: Allow compilation on 64bit systems
      cpu: Add DMTF id and family fields
      cpu: Add get_vendor callback
      smbios: Generate type 4 on non-x86 systems
      smbios: Expose in efi_loader as table
      efi_loader: Fix efi_install_configuration_table
      smbios: Provide serial number
      efi_loader: Rename EFI_RUNTIME_{TEXT, DATA} to __efi_runtime{, _data}
      efi_loader: Revert device_handle to disk after net boot

Robin Randhawa (1):
      efi_loader: Fix crash on 32-bit systems

Simon Glass (3):
      efi: Use asmlinkage for EFIAPI
      efi: Fix missing EFIAPI specifiers
      x86: efi: Add EFI loader support for x86

Stefan Brüns (7):
      efi_loader: Update description of internal efi_mem_carve_out
      efi_loader: Fix memory map size check to avoid out-of-bounds access
      efi_loader: Move efi_allocate_pool implementation to efi_memory.c
      efi_loader: Track size of pool allocations to allow freeing
      efi_loader: Readd freed pages to memory pool
      efi_loader: Keep memory mapping sorted when splitting an entry
      efi_loader: Do not leak memory when unlinking a mapping

 arch/arm/cpu/armv8/Kconfig                 |  18 +++++
 arch/arm/cpu/armv8/fwcall.c                |  59 +++++++++++++-
 arch/arm/include/asm/system.h              |  12 +--
 arch/arm/mach-meson/board.c                |   2 +-
 arch/avr32/include/asm/linkage.h           |   0
 arch/m68k/include/asm/linkage.h            |   0
 arch/microblaze/include/asm/linkage.h      |   0
 arch/mips/include/asm/linkage.h            |   0
 arch/nios2/include/asm/linkage.h           |   0
 arch/openrisc/include/asm/linkage.h        |   0
 arch/sandbox/include/asm/linkage.h         |   0
 arch/sh/include/asm/linkage.h              |   0
 arch/sparc/include/asm/linkage.h           |   0
 arch/x86/Kconfig                           |  27 -------
 arch/x86/cpu/baytrail/cpu.c                |   1 +
 arch/x86/cpu/broadwell/cpu.c               |   1 +
 arch/x86/cpu/cpu_x86.c                     |  18 +++++
 arch/x86/cpu/ivybridge/model_206ax.c       |   1 +
 arch/x86/cpu/u-boot.lds                    |  36 ++++++++-
 arch/x86/include/asm/cpu_x86.h             |  13 +++
 arch/x86/include/asm/tables.h              |   2 +
 arch/x86/lib/Makefile                      |   2 +-
 arch/x86/lib/sections.c                    |  12 +++
 arch/x86/lib/tables.c                      |  21 ++---
 board/xilinx/zynqmp/zynqmp.c               |   5 --
 cmd/bootefi.c                              |  16 +++-
 drivers/cpu/cpu-uclass.c                   |  10 +++
 include/cpu.h                              |  22 ++++++
 include/efi.h                              |   3 +-
 include/efi_api.h                          |   4 +
 include/efi_loader.h                       |  39 +++++++--
 {arch/x86/include/asm => include}/smbios.h |   8 +-
 include/tables_csum.h                      |  12 +++
 lib/Kconfig                                |  33 ++++++++
 lib/Makefile                               |   2 +
 lib/efi_loader/Makefile                    |   1 +
 lib/efi_loader/efi_boottime.c              |  57 +++++++++-----
 lib/efi_loader/efi_disk.c                  |  13 +--
 lib/efi_loader/efi_gop.c                   |  16 ++++
 lib/efi_loader/efi_memory.c                |  88 ++++++++++++++++++---
 lib/efi_loader/efi_net.c                   |  11 ++-
 lib/efi_loader/efi_runtime.c               | 122 ++++++++++++++++++++++++-----
 lib/efi_loader/efi_smbios.c                |  32 ++++++++
 {arch/x86/lib => lib}/smbios.c             |  82 +++++++++++++------
 lib/tables_csum.c                          |  20 +++++
 45 files changed, 667 insertions(+), 154 deletions(-)
 create mode 100644 arch/avr32/include/asm/linkage.h
 create mode 100644 arch/m68k/include/asm/linkage.h
 create mode 100644 arch/microblaze/include/asm/linkage.h
 create mode 100644 arch/mips/include/asm/linkage.h
 create mode 100644 arch/nios2/include/asm/linkage.h
 create mode 100644 arch/openrisc/include/asm/linkage.h
 create mode 100644 arch/sandbox/include/asm/linkage.h
 create mode 100644 arch/sh/include/asm/linkage.h
 create mode 100644 arch/sparc/include/asm/linkage.h
 create mode 100644 arch/x86/lib/sections.c
 rename {arch/x86/include/asm => include}/smbios.h (95%)
 create mode 100644 include/tables_csum.h
 create mode 100644 lib/efi_loader/efi_smbios.c
 rename {arch/x86/lib => lib}/smbios.c (78%)
 create mode 100644 lib/tables_csum.c

Comments

Bin Meng Oct. 19, 2016, 8:07 a.m. UTC | #1
On Wed, Oct 19, 2016 at 3:21 PM, Alexander Graf <agraf@suse.de> wrote:
> Hi Tom,
>
> This is my current patch queue for efi.  Please pull.
>
> Alex
>
>
> The following changes since commit d5a815327d2c257fbba108ff46974b1c1d12fd2a:
>
>   Prepare v2016.11-rc2 (2016-10-17 20:09:33 -0400)
>
> are available in the git repository at:
>
>   git://github.com/agraf/u-boot.git tags/signed-efi-next
>
> for you to fetch changes up to 3fb97e267a5e136d8386a7cb1d5b4fe63af518eb:
>
>   efi_loader: Revert device_handle to disk after net boot (2016-10-19 09:01:54 +0200)
>
> ----------------------------------------------------------------
> Patch queue for efi - 2016-10-19
>
> Highlights this time around:
>
>   - Add run time service (power control) support for PSCI (fixed in v3)
>   - Add efi gop pointer exposure
>   - SMBIOS support for EFI (on ARM)
>   - efi pool memory unmap support (needed for 4.8)
>   - initial x86 efi payload support (fixed up in v2)
>   - various bug fixes
>
> ----------------------------------------------------------------
> Alexander Graf (19):
>       efi_loader: Allow boards to implement get_time and reset_system
>       arm: Disable HVC PSCI calls by default
>       arm: Add PSCI shutdown function
>       arm: Provide common PSCI based reset handler
>       efi_loader: Add generic PSCI RTS
>       efi_loader: Allow bouncing for network
>       efi_loader: gop: Expose fb when 32bpp
>       x86: Move table csum into separate file

Please note: this patch is already in mainstream. Not sure if it
matters when Tom merges this PR.

>       x86: Move smbios generation into arch independent directory
>       efi_loader: Expose efi_install_configuration_table
>       smbios: Allow compilation on 64bit systems
>       cpu: Add DMTF id and family fields
>       cpu: Add get_vendor callback
>       smbios: Generate type 4 on non-x86 systems
>       smbios: Expose in efi_loader as table
>       efi_loader: Fix efi_install_configuration_table
>       smbios: Provide serial number
>       efi_loader: Rename EFI_RUNTIME_{TEXT, DATA} to __efi_runtime{, _data}
>       efi_loader: Revert device_handle to disk after net boot
>
> Robin Randhawa (1):
>       efi_loader: Fix crash on 32-bit systems
>
> Simon Glass (3):
>       efi: Use asmlinkage for EFIAPI
>       efi: Fix missing EFIAPI specifiers
>       x86: efi: Add EFI loader support for x86
>
> Stefan Brüns (7):
>       efi_loader: Update description of internal efi_mem_carve_out
>       efi_loader: Fix memory map size check to avoid out-of-bounds access
>       efi_loader: Move efi_allocate_pool implementation to efi_memory.c
>       efi_loader: Track size of pool allocations to allow freeing
>       efi_loader: Readd freed pages to memory pool
>       efi_loader: Keep memory mapping sorted when splitting an entry
>       efi_loader: Do not leak memory when unlinking a mapping
>

[snip]

Regards,
Bin
Alexander Graf Oct. 19, 2016, 8:33 a.m. UTC | #2
On 19/10/2016 10:07, Bin Meng wrote:
> On Wed, Oct 19, 2016 at 3:21 PM, Alexander Graf <agraf@suse.de> wrote:

>> Hi Tom,

>>

>> This is my current patch queue for efi.  Please pull.

>>

>> Alex

>>

>>

>> The following changes since commit d5a815327d2c257fbba108ff46974b1c1d12fd2a:

>>

>>   Prepare v2016.11-rc2 (2016-10-17 20:09:33 -0400)

>>

>> are available in the git repository at:

>>

>>   git://github.com/agraf/u-boot.git tags/signed-efi-next

>>

>> for you to fetch changes up to 3fb97e267a5e136d8386a7cb1d5b4fe63af518eb:

>>

>>   efi_loader: Revert device_handle to disk after net boot (2016-10-19 09:01:54 +0200)

>>

>> ----------------------------------------------------------------

>> Patch queue for efi - 2016-10-19

>>

>> Highlights this time around:

>>

>>   - Add run time service (power control) support for PSCI (fixed in v3)

>>   - Add efi gop pointer exposure

>>   - SMBIOS support for EFI (on ARM)

>>   - efi pool memory unmap support (needed for 4.8)

>>   - initial x86 efi payload support (fixed up in v2)

>>   - various bug fixes

>>

>> ----------------------------------------------------------------

>> Alexander Graf (19):

>>       efi_loader: Allow boards to implement get_time and reset_system

>>       arm: Disable HVC PSCI calls by default

>>       arm: Add PSCI shutdown function

>>       arm: Provide common PSCI based reset handler

>>       efi_loader: Add generic PSCI RTS

>>       efi_loader: Allow bouncing for network

>>       efi_loader: gop: Expose fb when 32bpp

>>       x86: Move table csum into separate file

> 

> Please note: this patch is already in mainstream. Not sure if it

> matters when Tom merges this PR.


Git should merge that one just fine.


Alex
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Tom Rini Oct. 20, 2016, 11:18 a.m. UTC | #3
On Wed, Oct 19, 2016 at 09:21:13AM +0200, Alexander Graf wrote:

> Hi Tom,

> 

> This is my current patch queue for efi.  Please pull.

> 

> Alex

> 

> 

> The following changes since commit d5a815327d2c257fbba108ff46974b1c1d12fd2a:

> 

>   Prepare v2016.11-rc2 (2016-10-17 20:09:33 -0400)

> 

> are available in the git repository at:

> 

>   git://github.com/agraf/u-boot.git tags/signed-efi-next

> 

> for you to fetch changes up to 3fb97e267a5e136d8386a7cb1d5b4fe63af518eb:

> 

>   efi_loader: Revert device_handle to disk after net boot (2016-10-19 09:01:54 +0200)

> 


Applied to u-boot/master, thanks!

-- 
Tom
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot