From patchwork Wed Nov 14 07:18:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 151040 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5354154ljp; Tue, 13 Nov 2018 23:16:03 -0800 (PST) X-Google-Smtp-Source: AJdET5cLkuCvOlUbf0i1nprZHO4RsvcHGMXFsrLaFZi9m/u1KYNg9cTVXSQEOdzX4KkXcpqlle8t X-Received: by 2002:a17:906:6b43:: with SMTP id o3-v6mr933751ejs.31.1542179763189; Tue, 13 Nov 2018 23:16:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542179763; cv=none; d=google.com; s=arc-20160816; b=knLBAOUaoxZ5s6wkziHmr24LchRSckppEoInuh3ALayWkp0W5dlxkBB/H3+QoVaDXd glt3dwub58tb1vZ3Tnd7WnbFkOn2Pzlp0IsG9RPMsRA0xVG8YamiVp1QXW2pUwFlDMOn KTCNPdo1FVkYh4sFL70yNpDJg/XduYUH9qOw/iifSbtNUmYd3mhEPWgzFjk7aT4ojElu x0RYeVbilkJV+9sUzRdmhOMSk4ARqE8QxTEg2D9Mfk1zaf9ovre8Hkt+jFGpTj1KbV7d BQtR7cz54pffa7aNypkRPU1a4oT/i6heFx6PhaUyp/74bg/ckRPOISeaRN8c+UtNigZg fdVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature; bh=wITl+HzIUW6tHG6lACTsrSdq3WOcQWk9ppqwu6gbTys=; b=iokUugZOtPEUEsj3R0SCtJlfiDxOVD044fdF6ydLaUdw8E+mvJw6CTpQpS42Zx7CuV jp9eggIzONq60JWuAl41BtjbkCsNvts3uCgVCu37qBqR6DU2wOSg9Lfzp+ajta49dEjw AQwzQSZZ2VK5mxJyqbvqkWTSUN5Lbl6OWSjkfWsQ2U6HvJK7VLSC+sD2khPJ5yL76uOI hRDzGA0itUJwb3NasGd8RPjIQqzscEeNT8fMeCa5QPQosHM0uLeTJuS0rXNHr5Tjssw3 JL4g558FH+WeYAFLMsq4oRGhF1DmpkBgPkLrJu1Rxzo5dLYucefwi1IbXThHUfD4QFLi I/GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=P8LLLtiH; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id c13-v6si4547501ejj.300.2018.11.13.23.16.02; Tue, 13 Nov 2018 23:16:03 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=P8LLLtiH; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id AAA6BC224AD; Wed, 14 Nov 2018 07:16:01 +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=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID 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 6D3ABC2203D; Wed, 14 Nov 2018 07:15:59 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5E2FBC2203D; Wed, 14 Nov 2018 07:15:58 +0000 (UTC) Received: from mail-yw1-f67.google.com (mail-yw1-f67.google.com [209.85.161.67]) by lists.denx.de (Postfix) with ESMTPS id B9187C21DFA for ; Wed, 14 Nov 2018 07:15:57 +0000 (UTC) Received: by mail-yw1-f67.google.com with SMTP id x2so454046ywc.9 for ; Tue, 13 Nov 2018 23:15:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3JhlMKlA6YVANxKNeTiAkNi05y6De1EtoEw4fQawNY0=; b=P8LLLtiHCq0jY5pHeaUNr23wrfRyTh+ALRhKVMGTzwsW/CVKKrqsfCJGgcF0LTk7PN 5SxoVQl/u/vSW4DUU3NTXbJzdLPrA7FdzTn0/CGK/0MzZQqy/gP/oJm3ChJNHvX+ra7H wyinuZenu9cIUYX061gq9r82ev2kIU1KFMC34= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3JhlMKlA6YVANxKNeTiAkNi05y6De1EtoEw4fQawNY0=; b=aDBt976DSrzIfz3RX2/1oJGTi3LT4NXLycf9OWSP7zRrtkWrEtvVtKA6HTVXL8y1eJ OksCjkm2ckwjVhQ7iNw4UENt0JDBLcTRUFkHEUbOiHehZRvqQXmmNvC1D7359bKWaJPT JZdKfGdI9ttSkGNS5iwauhGeJ46rcXh3wMNQSVqdYbqDv/ZA02KtbJMzp2rdk19rCjwP ZsXcGEis57JmsAVA53e734IYs3eAQrHtOXUCZaJCu7KTJR1JsnYcnnsTiK1lNoABjhXc 6vMat+kuZVHGYs0DQE34AOYr9uVu2VIC/pcuTi3q/ewdQ7lamLaFKHM9IE4QTiuiQEpw k+JQ== X-Gm-Message-State: AGRZ1gLgoUV69VPLykifXxPTmyh027ZkgtGuMsqXjdUQoGXEfLifP8gW lJ3OTYPvMlgxoPv/PC5oLLYSYw== X-Received: by 2002:a81:2b89:: with SMTP id r131-v6mr567180ywr.286.1542179756310; Tue, 13 Nov 2018 23:15:56 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id u130-v6sm5745845ywa.71.2018.11.13.23.15.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 23:15:55 -0800 (PST) From: AKASHI Takahiro To: agraf@suse.de Date: Wed, 14 Nov 2018 16:18:07 +0900 Message-Id: <20181114071807.12906-1-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] efi_loader: SetVirtualAddressMap() should return EFI_UNSUPPORTED X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" See UEFI specification 2.7, section 8.4. Signed-off-by: AKASHI Takahiro --- lib/efi_loader/efi_runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c index abcf03c5a42e..2c8bbb4eba4d 100644 --- a/lib/efi_loader/efi_runtime.c +++ b/lib/efi_loader/efi_runtime.c @@ -284,7 +284,7 @@ static const struct efi_runtime_detach_list_struct efi_runtime_detach_list[] = { }, { /* invalidate_*cache_all are gone */ .ptr = &efi_runtime_services.set_virtual_address_map, - .patchto = &efi_invalid_parameter, + .patchto = &efi_unimplemented, }, { /* RTC accessors are gone */ .ptr = &efi_runtime_services.get_time,