Message ID | 20180614182232.78201-9-agraf@suse.de |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2454383lji; Thu, 14 Jun 2018 11:26:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJhgx+QkHfQQV+4aKgBBA6pKhXkIOYCmIIaIHijraPt+bSNr7032uvP+Q82YQ3vmDCFTwCp X-Received: by 2002:a50:bc16:: with SMTP id j22-v6mr3551520edh.240.1529000791348; Thu, 14 Jun 2018 11:26:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529000791; cv=none; d=google.com; s=arc-20160816; b=TC0+P6mez6GneYVsMp4vySWuaRf9C/4GkfVWH0YXsBvotx79UfrG8epnTOxZoJhdRt X+q+DW6peSOeFegrsmfuRti9zNwFhXQnncrL/gI6PUlCEsk81+1F775GAbTmgnnhkSuI EaNYv3HF0GU5bK3iiaG2Jt5KYmGhpSh25T/3B+0MEM+LkxppRw23roz9lKRUAYNK3cCn Q/dcJo8wUE+9fPsqRbusEtBs89veURcxxBEvGPkzCZxLMpJbyBUi1KRE3D7KxQCCaDp6 N9ZxqcXfEUWTqTahK7lsXBnpL9Y9udvwGI2M5sXw8b1OwW+kcn15M8XFdzPdLBZTjWMN pSig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=lUY8nhYnWYnF4GKFYcy3Jz6Bm3iI6YSxpZIPv61qQtM=; b=fUDIEy8JkbCyKpVa28PNjU5Ejj2J+SRHTNmjSjWtFJHwGL7tKmZouHsZ2F12viFkpJ Hps2wJdKR3O0WaF6lg2kqIa3mFDhd5crr77ppHCHMN24BOCjXt6ZJCtV0JsaeDxRcuOq fIJY4I9b/vrMHO1NWT4dWwLaSgSD9DRb4OejKWMyAki5CtPqRN/DZrwe4V7QxXnF4ww6 V9KU3YF4pnHES151kg8lEvC1soKVh/UlB/Ud+sDa96niTCKajVqzMhirOYNxqTorStEg Alv1kHDgJuflog4ClD8470LQ2Y2ebIvObMK+j30Q+6aV/Q2QWJPuB+YLuHmQBNycjV6i Fd5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: <u-boot-bounces@lists.denx.de> Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id o90-v6si1943376eda.373.2018.06.14.11.26.31; Thu, 14 Jun 2018 11:26:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id E5CD1C21DAF; Thu, 14 Jun 2018 18:24:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 230CDC21E36; Thu, 14 Jun 2018 18:22:45 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3C832C21C29; Thu, 14 Jun 2018 18:22:35 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 649A1C21DA6 for <u-boot@lists.denx.de>; Thu, 14 Jun 2018 18:22:35 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AB44FAFB8; Thu, 14 Jun 2018 18:22:34 +0000 (UTC) From: Alexander Graf <agraf@suse.de> To: u-boot@lists.denx.de Date: Thu, 14 Jun 2018 20:22:29 +0200 Message-Id: <20180614182232.78201-9-agraf@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180614182232.78201-1-agraf@suse.de> References: <20180614182232.78201-1-agraf@suse.de> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>, Andy Shevchenko <andriy.shevchenko@linux.intel.com> Subject: [U-Boot] [PATCH v2 08/11] efi_loader: efi_allocate_pages is too restrictive X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
sandbox: efi_loader support
|
expand
|
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c index ec66af98ea..ce29bcc6a3 100644 --- a/lib/efi_loader/efi_memory.c +++ b/lib/efi_loader/efi_memory.c @@ -295,7 +295,7 @@ efi_status_t efi_allocate_pages(int type, int memory_type, switch (type) { case EFI_ALLOCATE_ANY_PAGES: /* Any page */ - addr = efi_find_free_memory(len, gd->start_addr_sp); + addr = efi_find_free_memory(len, -1ULL); if (!addr) { r = EFI_NOT_FOUND; break;