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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2FD0BC433F5 for ; Mon, 21 Mar 2022 08:31:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ymDLhTdG8jmYJhHbLx6tWqStOK9EKSaMuk06nvwX+Zs=; b=P7MQ5yAPXuJ0mP4bnr0InYahkC U5PDtjNiL2ZxrcyScu0YxKfCJ16Ru2gciP1YY9EyJ9Y1AfEvHYOCFbFAnLUDOVo/3UYp0EiXAYMsf RZp9DlC5/Vs248990hWwBhN17vN+So9q4hy05CqICfaASdnJdnqKK3PMw8Rplym9bQ3f0YJIsQQPb SbHBD/z9AvW9PATQjEU2+jj4tenyhr1K+NJ3p7snYR5u2hDXFhHybHqXOcLkMJOipGRu5MhJzz0uG UdE+U2qk0QL13j3IPfvAP0l7qYgLW70ftKh/zF0PkLssuEiJzA+vDei1ff1SEa/WkjPFoCBT3v3cB TmbZVMWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWDQt-0071zR-D5; Mon, 21 Mar 2022 08:30:31 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nWDQj-0071wI-Tr for linux-arm-kernel@lists.infradead.org; Mon, 21 Mar 2022 08:30:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647851420; 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=L5K8AjTT7XpDOo9b3EhraaOxPjJavRmu3lybZ87Fdc0=; b=ePJ4z+Lnn8OHNw+IZJkqATPF7UZK3i3UuZV3BAAvy5Av6SXtPggLVdecNAS37ZVtJ1RMtM UTMethZBG71xgblhasZpXOLEouCBSXQ3btBDaRcYmm38uy2GZbsnUmDjV7siYMtZRX4Fc7 p3mbnVypBCz4BpIPZW73Rm++y7M+Y4E= Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-550-3hfK2mJDOCOYjDaPP6Bdow-1; Mon, 21 Mar 2022 04:30:19 -0400 X-MC-Unique: 3hfK2mJDOCOYjDaPP6Bdow-1 Received: by mail-pg1-f199.google.com with SMTP id h12-20020a63530c000000b0037c8f45bf1bso7013558pgb.7 for ; Mon, 21 Mar 2022 01:30:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=L5K8AjTT7XpDOo9b3EhraaOxPjJavRmu3lybZ87Fdc0=; b=3XHUdu6usU7hD608i+TE3iEZgmVho9xdd27FiWdV1XWegCw975qkImAX1zVJ2urJUo 36lOKcXxEChx0FyQcYIyVyQz5z3fcmlxRLtI3v1TWYe0wFax5v3WCL2QIP9Wrsm1+LXj RXZNBdGawLgjvQYig4/5AXrW6mWOf9J0IcAeOmrwORlKSzUeF+iKHGAwVmWbeXaPUzTn vAVGzteRHvSoDf3ye96DEM8vT7dijnZluC2HRq25Kezl4p78Qf9ERxgwSz3t0ak7DUh9 QaqzF5aGqcb2DEZ+4s+0ffzIgFRbvLmxSkwO3yYxQl2l+h5ggQmvkOz3WtzgP/acY5kJ lL3g== X-Gm-Message-State: AOAM531wn0pzRa65Hb24lbUJ1lvjX27sXf2HOjb0guhjRGngOgH8E4Lg 6zLUCpmjvi5emApOphccEf6wYoCtid+3jb3Ybvkwa+9ZnymDRCsfI103h5glzabDJIgXi6IERCM aF6X6T5KofE9XVbIPOKSsfep6PAybCS2lZPo= X-Received: by 2002:a05:6a00:9aa:b0:4fa:964f:9024 with SMTP id u42-20020a056a0009aa00b004fa964f9024mr5403002pfg.12.1647851418012; Mon, 21 Mar 2022 01:30:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyniqvMLMpkzVRLzseyglI1940okI2tSdu9BuuW3q0pjXAQQbqHewdkfV+XKlurr4gWCOd8Rg== X-Received: by 2002:a05:6a00:9aa:b0:4fa:964f:9024 with SMTP id u42-20020a056a0009aa00b004fa964f9024mr5402990pfg.12.1647851417780; Mon, 21 Mar 2022 01:30:17 -0700 (PDT) Received: from localhost ([240e:3a1:2e5:800:f995:6136:f760:a3d0]) by smtp.gmail.com with ESMTPSA id p18-20020a056a000b5200b004fa81cbd4a9sm8339981pfo.186.2022.03.21.01.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 01:30:16 -0700 (PDT) Date: Mon, 21 Mar 2022 16:28:07 +0800 From: Coiby Xu To: Baoquan He Cc: kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Dave Young , Will Deacon , "Eric W . Biederman" Subject: Re: [PATCH v4 0/3] use more system keyrings to verify arm64 kdump kernel image signature Message-ID: <20220321082807.eq7g3qgkbtdw6sre@Rk> References: <20220318094101.274950-1-coxu@redhat.com> MIME-Version: 1.0 In-Reply-To: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=coxu@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220321_013022_066313_FC8CE910 X-CRM114-Status: GOOD ( 14.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Baoquan, On Mon, Mar 21, 2022 at 12:24:59PM +0800, Baoquan He wrote: >Hi Coiby, > >On 03/18/22 at 05:40pm, Coiby Xu wrote: >> This patch set allows arm64 to use more system keyrings to verify kdump >> kernel image signature by making the existing code in x64 public. > >Could you tell more about why arm64 need use more system keyrings to >verify kdump kernel iamge signature? > >What problem have you encountered to make you want to do this? Thanks for raising this question! Currently, a problem faced by arm64 is if a kernel image is signed by a MOK key, this kernel image would be rejected with the error "Lockdown: kexec: kexec of unsigned images is restricted; see man kernel_lockdown.7". I'll improve the cover letter and the 3rd commit message to have this info. > >Thanks >Baoquan > -- Best regards, Coiby _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel