From mboxrd@z Thu Jan 1 00:00:00 1970 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 221FDC433FE for ; Tue, 15 Feb 2022 19:40:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243751AbiBOTkX (ORCPT ); Tue, 15 Feb 2022 14:40:23 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243704AbiBOTkV (ORCPT ); Tue, 15 Feb 2022 14:40:21 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07C43DEAD; Tue, 15 Feb 2022 11:40:10 -0800 (PST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 90E381F37B; Tue, 15 Feb 2022 19:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1644954008; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=8u8PjdIzbfQMtiY3mRFAQedyhueCJjszz6hXjTc8rTk=; b=QhW6nE0/GVBRI9VbtCzshznpy+OFGHS5foHg+1++JwkpZ6gkmNLpuXoEgiwI75QdunQq+x hcWZVaYOw0tVvhvlXgVP/aJsVObbxIEO7y37h/OGUA1UMCvkXoXtxWesdNtO+Zqso2b/aN 6dJloNGaWVH4K39c8Q7LBbs9OYOVEKg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1644954008; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=8u8PjdIzbfQMtiY3mRFAQedyhueCJjszz6hXjTc8rTk=; b=uzveXHo0tshmF6FfZuSkt3f1rGVMAtsJ6UIRc2nR+GxdRu/kLFcU6JF7mSBO+gZZZ1dAJt jMlsOeFsN/jaORAQ== Received: from kitsune.suse.cz (kitsune.suse.cz [10.100.12.127]) by relay2.suse.de (Postfix) with ESMTP id 36832A3B85; Tue, 15 Feb 2022 19:40:08 +0000 (UTC) From: Michal Suchanek Cc: Michal Suchanek , Catalin Marinas , Will Deacon , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Philipp Rudo , Baoquan He , Alexander Egorenkov , AKASHI Takahiro , James Morse , Dave Young , Mimi Zohar , Kairui Song , Martin Schwidefsky , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH 0/4] Unifrom keyring support across architectures and functions Date: Tue, 15 Feb 2022 20:39:37 +0100 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While testing KEXEC_SIG on powerpc I noticed discrepancy in support for different keyrings across architectures and between KEXEC_SIG and MODULE_SIG. Fix this by enabling suport for the missing keyrings. The latter two patches obviously conflict with the ongoing module code cleanup. If they turn out desirable I will add them to the other series dealing with KEXEC_SIG. The arm patches can be merged independently. Thanks Michal Michal Suchanek (4): Fix arm64 kexec forbidding kernels signed with keys in the secondary keyring to boot kexec, KEYS, arm64: Make use of platform keyring for signature verification kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification module, KEYS: Make use of platform keyring for signature verification arch/arm64/kernel/kexec_image.c | 13 +++++++++++-- arch/s390/kernel/machine_kexec_file.c | 18 +++++++++++++----- kernel/module_signing.c | 14 ++++++++++---- 3 files changed, 34 insertions(+), 11 deletions(-) -- 2.31.1