Message ID | 20200904072905.25332-4-clin@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=JOhy=CN=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3E3F6138E for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 4 Sep 2020 07:31:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 16750206D4 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 4 Sep 2020 07:31:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uMlGDK48"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=suse.com header.i=@suse.com header.b="XOq2dh2N" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16750206D4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=o8Es+AgNrczqd9VC2WZcDLIZD6mApRxD6C72khvNpJA=; b=uMlGDK48E+D+s/eC2a4QKmfib 9VU6X7dOa4sm1XNBOrkLPX7p/S/oPJykxVDdeFsA3VFrdSBfgIa4Kcf9NzZ9bGr3b7OMbljZNUPyb czqEEXIsfrCXz4+YGYj33QzdN19q0WJ64GMRAk3n4CpWz90ysH6W/wRv3RplVGXQtaUGB5bp9JzPg Wc8bw0ex7tEhfRf243fcVEfW82zMt2NXVgGuC3UDoOqctRUIXpeC17N8i23pM7CM2/8K7+Zu362a+ 6/C4PC0ab8KNuHDsHQ7VGMeBFlZxxQ9rXq8o7w5orGVwnsTzhh3nYxcCTxMwhdFkJ6UNaGFWLqu1s 8TO9geGpw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kE6Af-0000R2-99; Fri, 04 Sep 2020 07:30:05 +0000 Received: from de-smtp-delivery-102.mimecast.com ([51.163.158.102]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kE6Ab-0000Ol-EY for linux-arm-kernel@lists.infradead.org; Fri, 04 Sep 2020 07:30:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1599204600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z4W5bSW6nA5Xfkb7Y8h/HTLlMqOBYtrf6+XxFBZuEbU=; b=XOq2dh2NN59V71NKtSx+KEuy8CN6jemj7O12sz6bNizXixT2zRda0MVE79H1zHBCsIRjrE htHeGU7dSZ33bVNyUm1I83zk+jm0C2Dfvj7HI+amRd3Jx0n2ohU4LknlU3XyyKEc7kbgYJ wTCQHJXjcB44mKfkLGYF009qqlRFhrw= Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01lp2056.outbound.protection.outlook.com [104.47.0.56]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-23-0tbxbXSsMs64XFSzN32a2Q-1; Fri, 04 Sep 2020 09:29:58 +0200 X-MC-Unique: 0tbxbXSsMs64XFSzN32a2Q-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CoFym3HQoBsCQiHDJGIiwROXm7+yoEerk0hDiW9TcptZfqFtqXB0GbQ5VrkakfoKeTN61k/iUG9IKXuwNeOkCo4nYLX9Y8QTh7LhRk1d7HU5WXUXSU4dP6bcbGGNrVhD9RG7smdG/0pviNYnBztb9e6XAeDxWV0HJpWmPaZnqlGCHcbqm98fJWhblfXLQSr3vXsI5/nXJ78DzRUepRMTdJAarn7xy66eD8SKLLMNe7QG9bfIHhxOws9xbgPW2fpLaLeQOMzIW3/xO11R3w8LXGMGBoNSuRvg6rLnyMYieWtlqB0OLU9Z5VRTzgL7mUJC4TkFcgd+SUIN5PW+i/rNcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ntHWF6t6Bu3dc81hgR+PyBCT9MUAWPJ9k0HDA8ELtfY=; b=oWQe3AgTrE9Mr57/Db8CH68EU3ZDzXtp7/ibbhPj7MfjymlZ7c1oOeaAHK0YLOgpFjFrzcHNRNYquOd/MVvggUU22G3t5JTBKI4BgT4o3MoTeILgxOvWdqX9i6PQ6t2NbXeDLA3syPi+a5HzgBcEKn6DOoUL1TnQWvuZdiJRTUnOGJqLuSwfHImXOn3cDhySoM9gOrWZNFl4tCUPt016um0GzH5s9esuZrsKPaxMezANg/9F3LVerAS2s1vQg74wEYQS/rxp73TZEEViw81sXX3O+GIHqcG/9I457tSX4OM3mZ3zToUVZ9mpcVMwEK7w0ZAxmCyTFrs1gLNhpganZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=suse.com; Received: from VI1PR04MB4928.eurprd04.prod.outlook.com (2603:10a6:803:57::13) by VI1PR0401MB2654.eurprd04.prod.outlook.com (2603:10a6:800:58::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.25; Fri, 4 Sep 2020 07:29:56 +0000 Received: from VI1PR04MB4928.eurprd04.prod.outlook.com ([fe80::859b:fe60:4cfd:efa3]) by VI1PR04MB4928.eurprd04.prod.outlook.com ([fe80::859b:fe60:4cfd:efa3%2]) with mapi id 15.20.3348.016; Fri, 4 Sep 2020 07:29:56 +0000 From: Chester Lin <clin@suse.com> To: ardb@kernel.org, catalin.marinas@arm.com, will@kernel.org, zohar@linux.ibm.com, dmitry.kasatkin@gmail.com, corbet@lwn.net, mark.rutland@arm.com, vincenzo.frascino@arm.com, samitolvanen@google.com, masahiroy@kernel.org, mingo@kernel.org Subject: [PATCH 3/6] efi: add secure boot flag Date: Fri, 4 Sep 2020 15:29:02 +0800 Message-ID: <20200904072905.25332-4-clin@suse.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200904072905.25332-1-clin@suse.com> References: <20200904072905.25332-1-clin@suse.com> X-ClientProxiedBy: AM0PR02CA0073.eurprd02.prod.outlook.com (2603:10a6:208:154::14) To VI1PR04MB4928.eurprd04.prod.outlook.com (2603:10a6:803:57::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-8mug.suse.de (114.24.10.103) by AM0PR02CA0073.eurprd02.prod.outlook.com (2603:10a6:208:154::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15 via Frontend Transport; Fri, 4 Sep 2020 07:29:51 +0000 X-Mailer: git-send-email 2.26.1 X-Originating-IP: [114.24.10.103] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 562d820f-a813-4922-540f-08d850a45254 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2654: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <VI1PR0401MB2654B5F0825ABAC4C715A970AD2D0@VI1PR0401MB2654.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:747; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HZoIkQ+4Sgdj2ZkpU0BPyqoh07GlGwjmM+ky9Ss5NxugukVO0t02+P1svFPbKloWlx8wOZxWdhS4c69zmzI6IRKnYe/+aMDJoI0hB6ZFI5sUCm3lhdYvU1TOAF0lw6Rtxj5/ZV/N0mxgPAQC2as4WVkemB8vbrRHCZHdaXhEGDkP+zSRWJlWQtiWO5T6hFYG0BlcWKZzxtVfxFKsO1/Zl3Ng9OVLzPV2z/UMYOCGMll9xQaEumuqc8Ydw/1BsFkkHPv+AG/znjwZBrbA+OggA1yyREEfK2+oX3eUsTFLZ2RLu4lMRIFMJIbIVSfRfY3gNNVCsgOEwIHxy941R/zx8UHg/m1vpFXZHVrN9VTuwyB9L8u6SjFcbksIH7h8qFkR X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB4928.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(346002)(136003)(376002)(396003)(366004)(86362001)(66476007)(478600001)(8676002)(7416002)(52116002)(66556008)(66946007)(2906002)(6512007)(8936002)(4326008)(316002)(186003)(107886003)(6666004)(26005)(5660300002)(16526019)(6506007)(956004)(36756003)(4744005)(1076003)(2616005)(6486002)(921003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: MyIZNVWNi2//3MmZr0lgHSlMojbv08W39emTX30YQQD0waHmOezFQcYN+OotQJrh5z2QCWszDM0moqPrf14pjD0keSLYY7+X1axG7aaq05EctcMzInAAgLYjI5EvMP56beDNVfzfpsjGB2DrlWRbpYcpUx1LItBKbURNZo2MarT5N5BnAVvBKUnvreA+hg5gEJleGvcyM9UwGZJsJ04mFBusnQyFlOg1WvdFrx4avIoxTYw212C1VZSmUYUnejqxy2l+WknUsPGNT7DJ4ck3eng9Hx2POtgwqQ7l5wEugG3umfG11AI0s3W3fJqum1ddKX8PrtSjCQWDb4YuU2zBPbm+2ElIGUE5zEFMGmdEidR9l4lBxBWQLnKZe0AoNKpSnGDfeSW2u6Ebeo3bDZKS8Zlcz8rhrFprFGcLMzkZ2P7mkxGfT46hnU2jOOK70JWv/uh4lIVeZscU/QdW8WqNUCtLxH3SBPwOOqc6xXvuEpIHipesO6q19k/703YBOc3pEJc3II8NfKNYByAiMinbIsdiSGlfMtJDghlKZfFlip4yW20InTz0eNkYX8tTBex7QydLY0B9/qe0K3rb0tR/MJe6UpT13VlkdnGbF6uSikVpPglUIscm/NaHKLFsmD5zlc7LuNkpb+LftNuzWzbsGw== X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 562d820f-a813-4922-540f-08d850a45254 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB4928.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2020 07:29:56.1910 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zU+ZCf6JWRki2NktlG8npe54SIFRDF5fCmJf4PQOZUZDi3GLIAe8B4X6niKhiSzg X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2654 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200904_033001_618251_1F1A12DF X-CRM114-Status: GOOD ( 10.99 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [51.163.158.102 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [51.163.158.102 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: clin@suse.com, linux-efi@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, jlee@suse.com, linux-integrity@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
add ima_arch support for ARM64
|
expand
|
diff --git a/include/linux/efi.h b/include/linux/efi.h index 315126b2f5e9..82a19bb0237a 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -784,6 +784,7 @@ extern int __init efi_setup_pcdp_console(char *); #define EFI_MEM_ATTR 10 /* Did firmware publish an EFI_MEMORY_ATTRIBUTES table? */ #define EFI_MEM_NO_SOFT_RESERVE 11 /* Is the kernel configured to ignore soft reservations? */ #define EFI_PRESERVE_BS_REGIONS 12 /* Are EFI boot-services memory segments available? */ +#define EFI_SECURE_BOOT 13 /* Is EFI secure-boot enabled? */ #ifdef CONFIG_EFI /*
Add a new EFI flag to indicate whether secure boot is enabled by UEFI firmware or not. Signed-off-by: Chester Lin <clin@suse.com> --- include/linux/efi.h | 1 + 1 file changed, 1 insertion(+)