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 50AF5E93715 for ; Thu, 5 Oct 2023 20:20:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229705AbjJEUUM (ORCPT ); Thu, 5 Oct 2023 16:20:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbjJEUUL (ORCPT ); Thu, 5 Oct 2023 16:20:11 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DCC093; Thu, 5 Oct 2023 13:20:11 -0700 (PDT) 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <821682573e57e0384162f365652171e5ee1e6611.1695921657.git.lukas@wunner.de> Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org 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