Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1758050rwd; Thu, 25 May 2023 18:16:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6GR/Ztu+hNeb5oWd9rPXaEfJe60RjNbijZJCA4PQowyqDZYzrILyTNiWiaRhrTU8MUOVyZ X-Received: by 2002:a17:903:441:b0:1a9:9d00:8c92 with SMTP id iw1-20020a170903044100b001a99d008c92mr603598plb.42.1685063765586; Thu, 25 May 2023 18:16:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685063765; cv=none; d=google.com; s=arc-20160816; b=AQz4i+NiKrBP3Csv0Juw/8Ri8nwRSH1aPXLMlQCPIWysIhZyxlTVeXOFuB1CI3DleE 59rtjH2Sgai+DK5Q4N206KMkjRTa9N0x0feG/5h0HZlQ7ruNy/SDItb846wm2XL2cDAY fwzMSDdLTvcEhksWqcEMyedeWADVqIzppV2ZEsiq4/5jNuemDBOGZ57ukWWuBxiu8Nbe sjeWaFC5jGFceoEGPkddde0gtoqwG/fbSL7SLtI59JA4MXhkobg6Hc2xImZZ0CX+QwC+ 6obft7UwRzFWHxqh57atVegm0uJxbVmHNBuAbCwStPV1jj5csxUpQpzNcc23UkCNBAxH GO1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bgIxbu2uvm9mgOSVuiyfjypP1XHmKEsmGNcKt5EwTHk=; b=qTZmtJFa9ZOMsdYsSVz1C1gSlvWGEFkLWA3m3P2Yivgfl/iMb9/wRQHCAe8B7XRsdj WkcZGIxcDV7Bfc3w/MlbDyECoS2ciZlqWGJEBuM67oWxEr7su6l+VAAqOqA4+9Ea7LH9 rUnIBeqxQAVAFGFt+VfjBJ64WNPmhWmE/VeSdZv9eyhvZwbH8e4X3KvRqJ5xo5hHgxTz UZbEEXH0fge+LVlRlNKAjPZgWtT4Pr07CzNz3B0BBP7TitO6NaZvU7KIH2UGDeRE9Ug2 MG1LkQCR4dg+k6JQxsnD1ihlIxkvfzjXIbC0nkddkhlCnj1TuXghmOtkg3U6zlV5hmOi Dn7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FObbQtu4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u12-20020a170903124c00b001aaf8182cc7si2851294plh.425.2023.05.25.18.15.51; Thu, 25 May 2023 18:16:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FObbQtu4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234221AbjEZBJU (ORCPT + 99 others); Thu, 25 May 2023 21:09:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233928AbjEZBJS (ORCPT ); Thu, 25 May 2023 21:09:18 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B5C8E4C for ; Thu, 25 May 2023 18:09:10 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-64d3491609fso306276b3a.3 for ; Thu, 25 May 2023 18:09:09 -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=cNAKwSBZZA/C1xdch5zz8Ap6AH9c/ld1exnnBvTejNSOJtCh23NmrlWCPGAT0JqmsD TWNdzqW1Rg+d/oOrJ7TPVq/wy+Veir/ubDE20+dh9/e34AU6PgRUiRvwfnvbuyB3RhjM z4neM5pgOJNLAuQnZMZutsnnlGjhgDm5oriyRE5FanRE+bwleb26YVIboy86kEnmGNlL FjPXt8pFHXyVsym+QyKWFUFmAR6YlTuX4XAOy8wTh6NnLeWR+PP1w9nhxNHGOwEW0MGB z2RAPbKzLkMRXMSFFOPAPAHhjaIRxB+KDmnT0ZcWg1gF4buxErMJ4fx0M9ZpGv0TOC7I UzDA== X-Gm-Message-State: AC+VfDxLKUGYrn7BGVaYjyKgXN4p6X1aa2+2p7BDcrPFPeVbzACXEiUE wjg1ZVrs/h6Yqag0NNF8mwKH8w== 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 Content-Transfer-Encoding: 8bit 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_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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))) -- 2.30.2