From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C2644176D for ; Thu, 5 Oct 2023 20:20:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nwuiqRaa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 913ACC433C8; Thu, 5 Oct 2023 20:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696537210; bh=zUYsds6wD0EANgOm8ilvedCIxPE85jI0zhv344IWr04=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=nwuiqRaaI6WTdRN2MgBeAa9eIDYD5Bxe4ZQ4OxGb98g28Jr48Jzno9yy7wJIiQjxj gzw9J0oDlJlnhD+UlSYbHTSLjDhdYf+aFBsMi5tOPgZJPCiS3Qj1IKJ6sgq57pqyPX vrRJLvHdOwXE7ST968KMUYMuBTP84el+Jn12uDDpEoDV/klwmOdEvIIV4AlCMbN8im JVnGstVbJSoiFiC3yEZ+37AHV2b9O1PeR3lWWCBdyyhckMYgzDJcLWoyUzSBJCf0fv m4VK6hqgXUYj0/GMpuqn6zdYeBh9Do/jsMpOxXFj3r41RBF6WmqKhQ+jq6X1s+83O7 h4McHeqlAmiRQ== Date: Thu, 5 Oct 2023 15:20:09 -0500 From: Bjorn Helgaas To: Lukas Wunner Cc: David Howells , David Woodhouse , Herbert Xu , "David S. Miller" , Alex Williamson , linux-pci@vger.kernel.org, linux-cxl@vger.kernel.org, linux-coco@lists.linux.dev, keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, kvm@vger.kernel.org, Jonathan Cameron , linuxarm@huawei.com, David Box , Dan Williams , Dave Jiang , "Li, Ming" , Zhi Wang , Alistair Francis , Wilfred Mallawa , Alexey Kardashevskiy , Tom Lendacky , Sean Christopherson , Alexander Graf Subject: Re: [PATCH 11/12] PCI/CMA: Expose in sysfs whether devices are authenticated Message-ID: <20231005202009.GA790383@bhelgaas> Precedence: bulk X-Mailing-List: linux-coco@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <821682573e57e0384162f365652171e5ee1e6611.1695921657.git.lukas@wunner.de> On Thu, Sep 28, 2023 at 07:32:41PM +0200, Lukas Wunner wrote: > The PCI core has just been amended to authenticate CMA-capable devices > on enumeration and store the result in an "authenticated" bit in struct > pci_dev->spdm_state. > drivers/pci/cma-sysfs.c | 73 +++++++++++++++++++++++++ Not really sure it's worth splitting this into cma.c, cma-sysfs.c, cma-x509.c. They're all tiny and ping-ponging between files is a bit of a hassle: 151 drivers/pci/cma.c 73 drivers/pci/cma-sysfs.c 119 drivers/pci/cma-x509.c Bjorn