From patchwork Thu Nov 21 14:10:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 844675 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2283271wrx; Thu, 21 Nov 2024 06:11:14 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXKg+oml0CDvO79Jf9w0dPXARMk1jQPytq7zkNlGvH/caJfulgRtKtfSGYp23LG/oGPwqtRag==@linaro.org X-Google-Smtp-Source: AGHT+IFh3Zt+BNiqyOhzyldn4WZ0rTQhI+RPbe++/8YIguOC+0dGdwvBd+XneAFsK1kZbQclODyl X-Received: by 2002:a17:907:9726:b0:a99:e1a1:473f with SMTP id a640c23a62f3a-aa4dd74a0b8mr698335166b.57.1732198274555; Thu, 21 Nov 2024 06:11:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732198274; cv=none; d=google.com; s=arc-20240605; b=gZlk5ZB5Jgjc0bq0nflAhQwewy9114rSEmH8UmR29SBXzfh6vpp1z9BIgmYytOBDWG kBi1sHLtne3EPxcBiXkdg9Yaor4B5uLvEw11gZzFmAMPimkMdYRBdADO000czX+dTKSO LPueRrFT8gVn0K6QKV0f/FMRARwrqC8cnV7So/LOnaJ36gH4S6Ak3pX20NHcy4dMBBNq m0Fhw18prY4PaVH/mOD/gJKACLt4Zy/6UTEySnDhJQQlWz3ZY1mJ+adEhpjnFGUWwsZY Pd4wR1s5hXJ3L70a/aKbhwx5LrDnhnv0xvjzSToQVJ1cBkR5y0EiYkPWHw3yhr+gozqi Xwew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=N2a7qZpnzNZ+MZQi3pJlqIVz2DjQ6L1WBO1CFCZOhCs=; fh=9B6+DDaDqlTBehZT5ulZR2gwcK4oMjzoAApqeW+3wVY=; b=VEO5iIS5atVqd9BShp5rNGCizQiNKRzGU7nhbumnhBixfQpbpN2IgdU9dLj8Xktrce pUBSTCa00kZnQua5vgVA4M/d3mDxQoKDRSDpSbejIPTM8a0gSBOGKUD6xQcX/ozNoeQD TXOy9flIaDysxbN9gkX2hlZ4/lu1+zIYU6mMX8wbuOkxA7bA6i/Hz+WCdu6IrxcEfbUY i3bE+qC0rxwjigEsgYggr4fp8FwrpGmvgSTIwAvxESctBMFNm4C549bapUCE9mY/3max iO1QqzeZ/GNuaIX8UnFASLUprVwzCVlf8FslqceBsydb9jE6P7EZRw+fyHAIKInTfWYA G4fQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bEV6O7Bn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id a640c23a62f3a-aa4f43c90edsi93118466b.864.2024.11.21.06.11.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 06:11:14 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bEV6O7Bn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 72CEF89761; Thu, 21 Nov 2024 15:11:13 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="bEV6O7Bn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E3BB689751; Thu, 21 Nov 2024 15:11:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EF4FD89760 for ; Thu, 21 Nov 2024 15:11:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-aa1e87afd31so137541566b.3 for ; Thu, 21 Nov 2024 06:11:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732198268; x=1732803068; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=N2a7qZpnzNZ+MZQi3pJlqIVz2DjQ6L1WBO1CFCZOhCs=; b=bEV6O7Bn02LEbmOnhh4B4Uj8miTFVKy2DBy+RdLMaAYe0R3HhZfCg2Tp3uYgPc+Iun q5yAhp78aCWE7hNMnvus76EO4gvw2SxzsgtiaQTDJBQ9tBs7KKx2ieQLO2eVkpsf60Cl 8cQ8JRg8tTw/TMHe2V5ybX1AKyJINBO1n137nOl8psBWdb5E2mmE+rKQ/wh+iZmy82ch i6Nu9MqLnJRcGJ5DCJ7fOPChn1MKBm4iEY7naWSvjRolbhwon1uszDTrcwDInDRPEcqp 72DRhk/4PVtlJva0HSHnn+C4XOWAT0ieKWxrpUJrgUz5IcwEPAyb4VqgUgJR3rjaK+Nf Y2TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732198268; x=1732803068; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N2a7qZpnzNZ+MZQi3pJlqIVz2DjQ6L1WBO1CFCZOhCs=; b=RfkqNKYBlBg4eHsCjc2c5sU8MKaajdcGl6GrmQcQ/jAAQ/abPSrfg0GolzpojWIkOM zoP6qsufwosIF0ensb7wqGeKsJF80KZTfRVM/VkgJLxEGZekFuVjzbo66/0X/LE41iVB +LVitnfkqrkoEqmX2cfBxWDSS17FqLpajjRk58Lnv14XLstAxJFZHK/g4MCNpeBsIyrQ B+bFfA7l3ZpXCiIg08d0tp5KNa7UMBfIuq7HHMQ5GyZMWn7/yVWN4oWWCANLO1PmvySi KqxQXDIInfPTHXTtgrKq+3tAaI5+FO9vnFvy5DxKAUs2emKgyfle/Pa6ARPC52fz/vvo 1PJQ== X-Forwarded-Encrypted: i=1; AJvYcCV059eVzJPfM043TtZzCGGnEPlSe7pSIP6GsCAp+pE1unW9rsGwOzw5CXmjiw6VUUT2FHIUG8M=@lists.denx.de X-Gm-Message-State: AOJu0YylU5pNp7M2pcEjVVRiJeIM5auCXxlc7IF0rT/HT1o4UFN7T+MJ /+Hrr4kSyc9Yp1qpkSyTX/23zzXtoKfwJbrSk2egNLHMNr50t6WO0kXyv1yhVlU= X-Gm-Gg: ASbGncv4awIU9iQ34NheCSvw6sbkIM2pC6Nd1TJinmSnTpRRob2QI6nqIvrWp38A/5i 7cXBf84kmU2fQwACibXclAaCK1Mt8SJ6oy8nMAzKqN8YAvU4U0/LAg63mcLGddJnLjS/WtTNivZ CQrce8okPX7O4qk4VDYFS9piCvArJSC/FXYG9URSMbTOHdyZWkega3pLEHKm3d/UdqFgOTINcrI F+UKG7cMNpf8y37iUMrivpca/EXzNDht2DgNA4JmOESNISfNI6ii2AK1ZqUL1qbgBrkIyobtlbu vGa5uujbctohEEnn+zjPFjDvdw== X-Received: by 2002:a17:907:3687:b0:a99:3318:e7c3 with SMTP id a640c23a62f3a-aa4dd70b57fmr627056766b.43.1732198268257; Thu, 21 Nov 2024 06:11:08 -0800 (PST) Received: from localhost.localdomain (ppp089210064034.access.hol.gr. [89.210.64.34]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa4f4153136sm85534566b.12.2024.11.21.06.11.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 06:11:07 -0800 (PST) From: Ilias Apalodimas To: xypron.glpk@gmx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Tom Rini , Simon Glass , AKASHI Takahiro , Michal Simek , Caleb Connolly , Jonathan Humphreys , u-boot@lists.denx.de Subject: [PATCH] efi_loader: allow EFI_LOADER_BOUNCE_BUFFER on all architectures Date: Thu, 21 Nov 2024 16:10:58 +0200 Message-ID: <20241121141058.367812-1-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Heinrich Schuchardt There not only ARM64 boards but also RISC-V boards that require a bounce buffer to read block devices. Drop the architecture restriction. This patch was added in commit dcd1b63b7072 ("efi_loader: allow EFI_LOADER_BOUNCE_BUFFER on all architectures") but was inadvertently reverted by commit commit 775f7657ba58 ("Kconfig: clean up the efi configuration status") which was merged after. Bring back the correct Kconfig dependencies Signed-off-by: Heinrich Schuchardt Signed-off-by: Ilias Apalodimas --- lib/efi_loader/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig index 58d49789f12c..d93f28b84224 100644 --- a/lib/efi_loader/Kconfig +++ b/lib/efi_loader/Kconfig @@ -481,7 +481,6 @@ endmenu menu "Misc options" config EFI_LOADER_BOUNCE_BUFFER bool "EFI Applications use bounce buffers for DMA operations" - depends on ARM64 help Some hardware does not support DMA to full 64bit addresses. For this hardware we can create a bounce buffer so that payloads don't have to