From patchwork Fri May 26 01:07:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 686684 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 5BEBCC7EE29 for ; Fri, 26 May 2023 01:09:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233245AbjEZBJT (ORCPT ); Thu, 25 May 2023 21:09:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231495AbjEZBJS (ORCPT ); Thu, 25 May 2023 21:09:18 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11382E4D for ; Thu, 25 May 2023 18:09:10 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1b00ffb4186so856305ad.0 for ; Thu, 25 May 2023 18:09:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685063349; x=1687655349; 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=FObbQtu4GFbmQuTgf6aAqO5O2uXBGL8UuGGP7kXn2zsY1ISyVb8PdD6gG4GoJko1+1 DDiuo7mckH+RAh9/vYKFaq90VuUX/Fb6/BWPdRsk6x10KDb+oGvr4cysiU6Ursi0r/4X 57l8o3oyYju0dXoXe1HJMhfPJqQrsos5g/YFIBbziGmBmneuFXjq8Ha26+cZIN3rdYtM cMeRiEeOoUyRIwpvUzcGoDK9cIphqxjmP2byAk789hLiM5dW14KTZ/89Imwajat5BVI/ UBzeWFFiu18YqLINKSRPIcZBZJIhuSYZGH5Uke78EdOYGGQ4eJP/RriIaHM8C+uX6qE5 0cjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685063349; x=1687655349; 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=OQoRBDFuXsRV+ajyXxNltLkuSZ5XlXQL1GKo2JXl4i91me4WQ5ovzkHP4SrYxzWqym k39vwBz4rI5nhiEkKMm0scUhoghrfAGTP1U05wlLZ5AKw6VTTZ4kjQMD0xbDtUIf55XE AvybXgkWEU9j0jmg7TUQPbtZ7ajVqUTp0c4L6N41kwmOdIEqOlx0jyQaeYg9frwI1pjf M6JJb7agHGpZRgvfh8D6G7r6turkMpXQrei6DyRkP1WTSRQyjIQPC/6M4X8zT3APpsyZ XMJFA/gwCSS0+joobmE+cceNnomEaGwX5GkfRA/DrgqI8Zv98ywnqcJDknI2ugAsrq4P J0YQ== X-Gm-Message-State: AC+VfDz8E3/OXj4cwqlo12IaiCT9bDN7s1wcjpSyMCe9OBdGrlJAEIxu ore68CKo64QgQlBNXS7ec2n4tg== X-Google-Smtp-Source: ACHHUZ73h7AvNfYSrL000FfhE5TFz9qtPzLZShVBDhPWXfxmPXt4P/y+jMX8/rJ9W3y0q1NgU6d+tQ== X-Received: by 2002:a17:903:48a:b0:1a1:c7b2:e7c7 with SMTP id jj10-20020a170903048a00b001a1c7b2e7c7mr554460plb.49.1685063349368; Thu, 25 May 2023 18:09:09 -0700 (PDT) Received: from localhost ([164.70.16.189]) by smtp.gmail.com with ESMTPSA id ji6-20020a170903324600b001a687c505e6sm1981016plb.232.2023.05.25.18.09.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 18:09:08 -0700 (PDT) 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 v5 2/3] efi: Add EFI_ACCESS_DENIED status code Date: Fri, 26 May 2023 10:07:46 +0900 Message-Id: <20230526010748.1222-3-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230526010748.1222-1-masahisa.kojima@linaro.org> References: <20230526010748.1222-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)))