Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1036906iob; Wed, 18 May 2022 20:09:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7e87uX7mRN0YWAm1Ws1rFgLwS0il7mOOCpotp+cvcOf3N8E5bbsww269uXQCV97RAvUWQ X-Received: by 2002:a17:907:160e:b0:6f4:54c0:657e with SMTP id hb14-20020a170907160e00b006f454c0657emr2372550ejc.253.1652929757657; Wed, 18 May 2022 20:09:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652929757; cv=none; d=google.com; s=arc-20160816; b=CAQnj/9AQx5hw9pNSe2+DPzJln8aazx8tQ/4RGdCkxt7iKzWJMiw6F8wAktM9jJN5C h/+48eN9zSYx8sxO6mQf2nOsfldONjA4OBAzmiwMvB76faLBpmJa2+gk6iyWArtKKnoF FUeVUG/K1VK8jIqTHS8KB1QicewC7OeoSIGTsA+e5hRCUu1TY/ne27DYoUeBCxuVAozR 6xtCnC1yW3bC1jEuzEbPtBLw0S3y1yqBS/i1f69VtRGY6EbZAT9Rt0TWB80h8DF0gtkY jYtIA7DaK2frgOTolchoCsr9DNB8f40dNaczcoVfNe7fC0B87WkyUQsuJ0bkDgAroR9h NzTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dhPoiNFlWhE/EG2LfPsngTKf/wXSwPmET9DKcPeU2e0=; b=qTShccQbPIeD5QQ4TRIpocXo8NCtPP9fVOq6jFtfhEDbbJa4ZmsctsJeDySafegmr2 WY4NCZlBYAJBumyQUDaa1CL1/3+dg0gs5xM87A++eFQ1lEEW/Kmw61aXbdYBqaZzmNXa LOabv7ODwu1cRopmiqTR4tOpfXR6lZJy2/lhqx8G8hw6Db/3j1+ThJH1ZpWvp0+U3Kmp sCEiXnYQB/lu+8TQZX0jP55IZqkdu7d5xFOMBqTwLPXSr5ZrszfjWxnNlDoPIfCv9WKi ZYRQupt3k9WvJAHSNvy5vftguPBuSAfN3pPuqGq3Ui5T2GkPsUw7NeXQlLWoPHnv4vYY EYKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KdhkiFv6; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id da3-20020a056402176300b0042ab7a5cabcsi3759733edb.214.2022.05.18.20.08.52; Wed, 18 May 2022 20:09:17 -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=@redhat.com header.s=mimecast20190719 header.b=KdhkiFv6; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231570AbiESAja (ORCPT + 99 others); Wed, 18 May 2022 20:39:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232350AbiESAjQ (ORCPT ); Wed, 18 May 2022 20:39:16 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0A50D8BD33 for ; Wed, 18 May 2022 17:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652920755; 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: in-reply-to:in-reply-to:references:references; bh=dhPoiNFlWhE/EG2LfPsngTKf/wXSwPmET9DKcPeU2e0=; b=KdhkiFv6m8ffPadNxlMILImIU5EY62LeqTyf+CMQaSCgIUObNATZ1RFgGJiPpa0HQ/ZOVO ZXArCLqaNxl6qjKi8MzNM4980iFc31eb4Gf5B5fNG/JuCU8Nt5vK3ub7FXCm8BDkM5rFSO TC0CAGpFNI7Dp/k3ECzSVzsbrpsJ6z8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-650-L87-ln_FMa6BzS8tUYo5IA-1; Wed, 18 May 2022 20:39:07 -0400 X-MC-Unique: L87-ln_FMa6BzS8tUYo5IA-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 021A48015BA; Thu, 19 May 2022 00:39:07 +0000 (UTC) Received: from localhost (ovpn-12-103.pek2.redhat.com [10.72.12.103]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BD749492C3B; Thu, 19 May 2022 00:39:05 +0000 (UTC) Date: Thu, 19 May 2022 08:39:02 +0800 From: Baoquan He To: Heiko Carstens , akpm@linux-foundation.org, zohar@linux.ibm.com Cc: Coiby Xu , kexec@lists.infradead.org, keyrings@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Michal Suchanek , Dave Young , Will Deacon , "Eric W . Biederman" , Mimi Zohar , Chun-Yi Lee , stable@vger.kernel.org, Philipp Rudo , linux-security-module@vger.kernel.org, Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Martin Schwidefsky , "open list:S390" , open list Subject: Re: [PATCH v8 4/4] kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification Message-ID: <20220519003902.GE156677@MiWiFi-R3L-srv> References: <20220512070123.29486-1-coxu@redhat.com> <20220512070123.29486-5-coxu@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 05/18/22 at 01:29pm, Heiko Carstens wrote: > On Thu, May 12, 2022 at 03:01:23PM +0800, Coiby Xu wrote: > > From: Michal Suchanek > > > > commit e23a8020ce4e ("s390/kexec_file: Signature verification prototype") > > adds support for KEXEC_SIG verification with keys from platform keyring > > but the built-in keys and secondary keyring are not used. > > > > Add support for the built-in keys and secondary keyring as x86 does. > > > > Fixes: e23a8020ce4e ("s390/kexec_file: Signature verification prototype") > > Cc: stable@vger.kernel.org > > Cc: Philipp Rudo > > Cc: kexec@lists.infradead.org > > Cc: keyrings@vger.kernel.org > > Cc: linux-security-module@vger.kernel.org > > Signed-off-by: Michal Suchanek > > Reviewed-by: "Lee, Chun-Yi" > > Acked-by: Baoquan He > > Signed-off-by: Coiby Xu > > --- > > arch/s390/kernel/machine_kexec_file.c | 18 +++++++++++++----- > > 1 file changed, 13 insertions(+), 5 deletions(-) > > As far as I can tell this doesn't have any dependency to the other > patches in this series, so should I pick this up for the s390 tree, or > how will this go upstream? Thanks, Heiko. I want to ask Mimi if this can be taken into KEYS-ENCRYPTED tree. Otherwise I will ask Andrew to help pick this whole series. Surely, this patch 4 can be taken into s390 seperately since it's independent, both looks good. Thanks Baoquan