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 2CD73C636D6 for ; Mon, 20 Feb 2023 05:18:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229647AbjBTFR5 (ORCPT ); Mon, 20 Feb 2023 00:17:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229918AbjBTFRy (ORCPT ); Mon, 20 Feb 2023 00:17:54 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3931658A for ; Sun, 19 Feb 2023 21:17:51 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id 8so723615pge.10 for ; Sun, 19 Feb 2023 21:17:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=0uLVfjCRzss/xwXNobW3aKCGuDntkGHej1tSNXCA8VQ=; b=FOOSjPxXxRalsG/FfFvutKoI1IfjDfWqfeRd/MYF1sjyWd9BNAQovSlvY/YW8q86vC BKvFz3hlzdPw8T3/8LLmB3MV+u/mo0ZAC22MV0C0qCXbNqZAZYkoFO0x6Pj+45rEI7Bp AoEgfp8LAXhetHj+wjIY8QwowwMgAp17QDRZot9fIipxqsZ9rlI0vPJMeo/AEgyEMqty XoKigbwp2BiGMbUnyCQBFjHu5F/K1I3kdvBsqZpcBbIWm14Vl28vBwN7XfPCZJYFANSD dpvZ5yHslEC1dvVc52KDTZqYrPAOpkJyu2+h6f9sbyG3l0EfnzCD0qkSN+b0iYBo4w7N DemA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=0uLVfjCRzss/xwXNobW3aKCGuDntkGHej1tSNXCA8VQ=; b=s5BFrV5smGLFUmSc1niS1bSFVoXuHxcdB6J1W6Nr69lVb+VtK9xO6fDgwa+3dA9Tgw aBftfOyJo82J9+D370zBaaBM544dVBrE5vHI83ejzX4Y9eNs2C9ib6fuvX506jjot3+E II37fzBJS7AbBzCPTtVhiUvxP6YEeB5whISayXJbhS8rKT4NdcPrj2YLn3CjjubVOvZv fuIv6udkpZorEDwP6nbAnKcqZWWZ1+I+jgzlPWpxYqbB1e7f8+9jn7c9MNMNTh3RTvOB XgdKRAGZ0fzCTFq7M9/djfFGJIG/y6R19pIynn75D/4fuy8r58kfWFeDk5jtl1BAW6pZ wqzA== X-Gm-Message-State: AO0yUKWyA1YJDWu0CjlSEK0tHLndxTDLwbCZBBWmNhOe1psaQIBsUee7 N2YaRj1uwL0k30wmAl0Gt/gocw== X-Google-Smtp-Source: AK7set88AEEUXYS2DCLbtCZqhJUrr5X1jIUgwi+Zp/XMl5gzwPWEDFGv/8j42HOz5oPOQOHo0DBKow== X-Received: by 2002:a62:55c7:0:b0:5a8:d97d:c397 with SMTP id j190-20020a6255c7000000b005a8d97dc397mr1331630pfb.24.1676870271304; Sun, 19 Feb 2023 21:17:51 -0800 (PST) Received: from localhost.localdomain (fp9875a45d.knge128.ap.nuro.jp. [152.117.164.93]) by smtp.gmail.com with ESMTPSA id h5-20020a62b405000000b005ae8e94b0d5sm3192087pfn.107.2023.02.19.21.17.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Feb 2023 21:17:50 -0800 (PST) From: Masahisa Kojima To: Ard Biesheuvel , Jens Wiklander , 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 v2 2/4] efi: Add EFI_ACCESS_DENIED status code Date: Mon, 20 Feb 2023 14:17:20 +0900 Message-Id: <20230220051723.1257-3-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230220051723.1257-1-masahisa.kojima@linaro.org> References: <20230220051723.1257-1-masahisa.kojima@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adds the EFI_ACCESS_DENIED status code. 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 7e5239da87bf..c0f60dbb8a8c 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))) -- 2.30.2