Message ID | 20180615124229.35310-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-v6csp797567lji; Fri, 15 Jun 2018 05:42:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJBIK/W7rGs7O/UlRcJOvrWQ9LRQUrFbnI3KiMg5wqvisr8D7KIzXD5/TdjsZWbS98OWCvA X-Received: by 2002:a50:b4a1:: with SMTP id w30-v6mr1770604edd.254.1529066564571; Fri, 15 Jun 2018 05:42:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529066564; cv=none; d=google.com; s=arc-20160816; b=xrYbD27sohL/OXvKLk9obKW77dqW42vTrlrmBZMz41IqSx/0XHZNcNdVZhrvu+Myrc Vzv+m9hpuWGFyxFj03Y/B93KOvk8SwLUWkbu94PGrEtSzPls/9X7kr1crFAexQj5innQ 2juugIFxHO2RhXRar3uLfPhQ7avFXbScp0q9OxGudENIzVotpJxKZ0GnCUa68Qdup67C 0cDQpYRz/Sq65+dPLR3w4o18/FDFywLKgvMVpR/Kk5BFhjNrrhmY8L1q0I5rMoN2kZwy qDjq9DvKAbNl8HXx2NH5z5znKPD6nyT4agGvBtQ+ZiSUIOeaH4DDJPyy9FJxAhhvR1gv qYYQ== 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=QEvPrX66g5MwJgDHWlTRm5Qnn9ey4cOntQTKAsNU/K8algUnk57lGF+yCQelZ+4om9 /6zr7wsDigwY0NzA4rF4SNR/Halp/e1IdPV4XtTVusFLFCqTTHBPqfscHrJfhQZslCZa wpz+S+v42G30QYGxVXg3TxnLFokKYj6ueK+OmfSVsjApuUnvplST8w1n1WDEzz6sUkUp MSGBbjMRsqNo2JhlhDKAfBV9vMEm9d6Ug9X6Bd058uzFhdg5tv8eOQIU2Pb+ni2Ilm6f 0UWhHAWQZIAFZBmaRD399A3wtE35nllepkL3jgdjOCGabJv1J3wi4Caoz2ABkweXPV32 sNlw== 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 z38-v6si4743774edb.261.2018.06.15.05.42.43; Fri, 15 Jun 2018 05:42:44 -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 73B3EC21F59; Fri, 15 Jun 2018 12:42:37 +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 A4D17C21DAF; Fri, 15 Jun 2018 12:42:33 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BA07CC21EBA; Fri, 15 Jun 2018 12:42:32 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 54E49C21E29 for <u-boot@lists.denx.de>; Fri, 15 Jun 2018 12:42:31 +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 03932AF87; Fri, 15 Jun 2018 12:42:30 +0000 (UTC) From: Alexander Graf <agraf@suse.de> To: u-boot@lists.denx.de Date: Fri, 15 Jun 2018 14:42:20 +0200 Message-Id: <20180615124229.35310-9-agraf@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180615124229.35310-1-agraf@suse.de> References: <20180615124229.35310-1-agraf@suse.de> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Heinrich Schuchardt <xypron.glpk@gmx.de> Subject: [U-Boot] [PATCH v3 08/17] 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;