Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp401497rwe; Wed, 24 Aug 2022 03:03:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR7HXT9LLqKktvhYX0jhRi4n/KtLuv0S8GjNsjFWg1pKMtarOmGKHskuD1CI9qTZIh8wsNcm X-Received: by 2002:aa7:8c59:0:b0:536:69ad:6df1 with SMTP id e25-20020aa78c59000000b0053669ad6df1mr17412132pfd.82.1661335420716; Wed, 24 Aug 2022 03:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661335420; cv=none; d=google.com; s=arc-20160816; b=d6gLICsEU6tcp9sgkp36bFvWSPRcLi8Z3emTaTxeNhLpa3xBPITvAWbnX8vgHDaN+g uBBNGulHC/m7sWiu3jyZeyjqRKkngOKJbnyvECwxe9QrwlesGNj85FLWCzGF2z0WLzBB SbqdgHnN4xgoB16lK9ONABcS6OcRvZBXm8pbZjbMsU0DXO/jb6G7fi3Gt0fnwHpHP3Rp rbzzNGg5hjnTApYZl+By+nXVpDUV2ieo6rMQDF9RhuwyvoO+iR4v8NdhIOcEshOE1kwM ym+g57odIicpz8bytKqPjzpObCYZ6Y2fM6UJDvqJuvXNNnuW2cJ4tTe6/rPaoA6thcJI jS3g== 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:subject:cc:to:from:date; bh=zstZ5qJ5qqPMeE5RFnloXtqiht9srAlMc+zAzDRbcr8=; b=gXmf7kdQEVzpCzLn2wf6VPQV9v4s9kzTmwq/HOSbTxUFKAUnPhjOMNnqvH3kOZPT5L jG2pczDIbkpVcCfnIv64M72QxsviCVu4TPqo3sIKkuy0SQdHW0uAp66ayOY25y0+5pvP 6CpOcSU9NtvA2P1CsAIETJezqp3W8mtZWqlQakJTshPitPnZI3l2t9hdU6OhkzlZpqsd 8hEYgClBjrdgIDiOqedB9g+SV4WKUXrE4mSGvf3hiG7JJl/61PYdqGR4ufm/txrTkxX8 4LRx/QWp67Fz1kw18XaihebwCSb742dNmKLrh7+xHKkC2mE2VUycB1nMY8lR/iZJ4fvk O48A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f185-20020a636ac2000000b0041c0861b61bsi10690734pgc.772.2022.08.24.03.03.29; Wed, 24 Aug 2022 03:03:40 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235766AbiHXJyZ (ORCPT + 99 others); Wed, 24 Aug 2022 05:54:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236554AbiHXJyH (ORCPT ); Wed, 24 Aug 2022 05:54:07 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 588D297EE8; Wed, 24 Aug 2022 02:52:52 -0700 (PDT) Received: from fraeml705-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4MCLwl3Ssqz67ZDL; Wed, 24 Aug 2022 17:52:07 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (7.191.163.240) by fraeml705-chm.china.huawei.com (10.206.15.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.24; Wed, 24 Aug 2022 11:52:30 +0200 Received: from localhost (10.202.226.42) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 24 Aug 2022 10:52:30 +0100 Date: Wed, 24 Aug 2022 10:52:29 +0100 From: Jonathan Cameron To: Dan Williams CC: Greg Kroah-Hartman , , Bjorn Helgaas , Alison Schofield , Vishal Verma , "Ben Widawsky" , , , , Lukas Wunner Subject: Re: [PATCH 1/2] PCI: Allow drivers to request exclusive config regions Message-ID: <20220824105229.00006c79@huawei.com> In-Reply-To: <6303dcb63e3e1_1b32294d9@dwillia2-xfh.jf.intel.com.notmuch> References: <20220822005237.540039-1-ira.weiny@intel.com> <20220822005237.540039-2-ira.weiny@intel.com> <6303dcb63e3e1_1b32294d9@dwillia2-xfh.jf.intel.com.notmuch> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.29; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.42] X-ClientProxiedBy: lhrpeml100005.china.huawei.com (7.191.160.25) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,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 > > > What are you trying to protect yourself from, bogus bug reports by > > people doing bad things and then blaming you? That's easy to handle, > > just ignore them :) > > I asked Ira to push on this to protect the kernel from people like me, > :). So, there is this massively complicated specification for device > attestation and link integrity / encryption protection (SPDM and IDE) > that has applications to both PCIe and CXL. I do not see a path in the > near term to land that support in the kernel. > > DOE being user accessible though, lends itself to pure userspace > implementations of SPDM and IDE infrastructure. I want to develop that > infrastructure, but also have the kernel reserve the space / right to > obviate that implementation with kernel control of the DOE mailbox, SPDM > sessions, and IDE keys in the future. Can't resist... If anyone is at Plumbers (in person or virtually) the will be a BoF on SPDM etc. Not scheduled yet... https://lpc.events/event/16/contributions/1304/ Come join the Kernel vs Partly Kernel vs fully Userspace discussions. Thanks, Jonathan