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


Groups > linux.kernel > #1576691

Re: [PATCH v3 06/10] arm64: efi: add EFI stub

From Timur Tabi <timur@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 06/10] arm64: efi: add EFI stub
Date 2017-02-08 17:40 +0100
Message-ID <t8DrH-2DS-3@gated-at.bofh.it> (permalink)
References <n3hlD-6qx-3@gated-at.bofh.it> <n3hlD-6qx-7@gated-at.bofh.it> <t8DrH-2DS-5@gated-at.bofh.it> <t8DrH-2DS-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 02/08/2017 10:29 AM, Ard Biesheuvel wrote:
>>> >> +       status = handle_cmdline_files(sys_table, image, cmdline_ptr,
>>> >> +                                     "initrd=", dram_base + SZ_512M,
>>> >> +                                     (unsigned long *)&initrd_addr,
>>> >> +                                     (unsigned long *)&initrd_size);
>> >
>> > So I know this patch is almost three years old, but why is there a
>> > 512M limit on the initrd size?
>> >
> How do you reckon this constitutes a limit?

handle_cmdline_files() calls efi_high_alloc() with that limit.  I'm still 
trying to understand all the details myself, but apparently our firmware and 
initrd need to fit within the first 512MB because of dram_base + SZ_512M. 
When we change "dram_base + SZ_512M" to "~0", everything works.

-- 
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc.  Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.

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


Thread

Re: [PATCH v3 06/10] arm64: efi: add EFI stub Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2017-02-08 17:40 +0100
  Re: [PATCH v3 06/10] arm64: efi: add EFI stub Timur Tabi <timur@codeaurora.org> - 2017-02-08 17:40 +0100
    Re: [PATCH v3 06/10] arm64: efi: add EFI stub Mark Rutland <mark.rutland@arm.com> - 2017-02-08 18:10 +0100
      Re: [PATCH v3 06/10] arm64: efi: add EFI stub Jeffrey Hugo <jhugo@codeaurora.org> - 2017-02-08 18:30 +0100
      Re: [PATCH v3 06/10] arm64: efi: add EFI stub Mark Rutland <mark.rutland@arm.com> - 2017-02-08 18:40 +0100
      Re: [PATCH v3 06/10] arm64: efi: add EFI stub Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2017-02-08 18:50 +0100
      Re: [PATCH v3 06/10] arm64: efi: add EFI stub Jeffrey Hugo <jhugo@codeaurora.org> - 2017-02-08 18:50 +0100

csiph-web