From patchwork Mon Jul 31 06:50:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 708627 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E5BCC001DE for ; Mon, 31 Jul 2023 06:51:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229854AbjGaGvN (ORCPT ); Mon, 31 Jul 2023 02:51:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230299AbjGaGvJ (ORCPT ); Mon, 31 Jul 2023 02:51:09 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6591C10DD for ; Sun, 30 Jul 2023 23:51:01 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-55b0e7efb1cso2503163a12.1 for ; Sun, 30 Jul 2023 23:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690786260; x=1691391060; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bgIxbu2uvm9mgOSVuiyfjypP1XHmKEsmGNcKt5EwTHk=; b=mC5QRm/OQcspRx17nE1QVQ7eQzoVRIIMo0ZjMXBYh64PATE720Mf8XJ8rXqIvfFLkR 2LI4syFbwNbN3jcI7NiaKf/40LV9wNCg+932ARh2SjF78xXML/cV1/1AFE8rIJZStfLN pI45lN2JLif3adnxuMGRbh27pwnUQ17tCgWPEQOH2iMSedLWIXVQgfL76l0Sc6rTk+wF 1YzoH7+Py5B5A9sXa6bn0hAPXLJh03eF8ZNUpbpoUNvGRILXXKXG2//h2o9Orpp0iOK6 pnqlh2syhbMbwh/JniZpec3yRVwTInfFfaEAWkyYIO0kZCzRtvYGn9c/QehNX3g8AuRw ak0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690786260; x=1691391060; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bgIxbu2uvm9mgOSVuiyfjypP1XHmKEsmGNcKt5EwTHk=; b=JPyImXbx9Zt8akJOANQVAw0wTiPfHUYdmX+YPDwveEHp6pj0zWA6vo9fAlBUoxWUNA 771TuuKtsnIVb/cJWzSaLRXUfhYvGYk5M1M2iXdtNUav63BbvciwWb70gPgFS5c9uhgo 2hLqI6IWltjH4qzQKqNYVEQ8TcyRuHEDu8JH1b9MB0Lcd2JpsctA5vLD1pjFPE+QZ9xA tTYFIkuYlFTa1I1ut8UeIK3TWL7xw7KqACeHDV40Jr/x198tj+4hPNyubkytxYY6LJcH Ym3Vs0Ovs8ck2X2nPQbA0iTbjDu4Z1DBN/MZQdpsEEzcDHFA8AEiva1ncWVlRwnSRL/s awEg== X-Gm-Message-State: ABy/qLYpQ1BDmVZinCdwgSRkBswp7WzMsT6GKZE32qlD4SdIEa8Ieu+h yI2fsIbX6Wm43FVoXtHfS4bc7Q== X-Google-Smtp-Source: APBJJlFdrpNCKYfzENtKiyRWo5aIDz03Mz/wVycOs1V22aagEehO3a/cvCocsez4K9b60wjW3nUvrQ== X-Received: by 2002:a05:6a20:2451:b0:12e:92c1:b1c8 with SMTP id t17-20020a056a20245100b0012e92c1b1c8mr9719669pzc.47.1690786260594; Sun, 30 Jul 2023 23:51:00 -0700 (PDT) Received: from localhost.localdomain (fp9875a45d.knge128.ap.nuro.jp. [152.117.164.93]) by smtp.gmail.com with ESMTPSA id kb14-20020a170903338e00b001b8ad8382a4sm7706245plb.216.2023.07.30.23.50.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jul 2023 23:51:00 -0700 (PDT) From: Masahisa Kojima To: Ard Biesheuvel , Jens Wiklander , Jan Kiszka , Sumit Garg , linux-kernel@vger.kernel.org, op-tee@lists.trustedfirmware.org Cc: Ilias Apalodimas , Johan Hovold , Masahisa Kojima , linux-efi@vger.kernel.org Subject: [PATCH v7 2/5] efi: Add EFI_ACCESS_DENIED status code Date: Mon, 31 Jul 2023 15:50:37 +0900 Message-Id: <20230731065041.1447-3-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230731065041.1447-1-masahisa.kojima@linaro.org> References: <20230731065041.1447-1-masahisa.kojima@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org This commit adds the EFI_ACCESS_DENIED status code. Acked-by: Sumit Garg Co-developed-by: Ilias Apalodimas Signed-off-by: Ilias Apalodimas Signed-off-by: Masahisa Kojima --- include/linux/efi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/efi.h b/include/linux/efi.h index b8ba9c5adc7a..657f7e203374 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -39,6 +39,7 @@ #define EFI_WRITE_PROTECTED ( 8 | (1UL << (BITS_PER_LONG-1))) #define EFI_OUT_OF_RESOURCES ( 9 | (1UL << (BITS_PER_LONG-1))) #define EFI_NOT_FOUND (14 | (1UL << (BITS_PER_LONG-1))) +#define EFI_ACCESS_DENIED (15 | (1UL << (BITS_PER_LONG-1))) #define EFI_TIMEOUT (18 | (1UL << (BITS_PER_LONG-1))) #define EFI_ABORTED (21 | (1UL << (BITS_PER_LONG-1))) #define EFI_SECURITY_VIOLATION (26 | (1UL << (BITS_PER_LONG-1)))