From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35B4F606A31A for ; Tue, 1 Dec 2026 13:24:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=YDFVs6eX; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.a=rsa-sha256 header.s=google header.b=Blr27cIS DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=+0AN+k3KFG5+TuYxgcISwe5nlP2KfXWea/xa7z27Syc=; b=YDFVs6eXdDQaeVmZTXABTtdZND RCSotqca8nRU3CcWZBbUESSFbYBVMlCAGUWf5Hic3DTjIWQgXLvek3/Eir3+OqwFAWybJoyiaNGE0 HJ3g2qpCpGyRRLGNUzwXaLQFNLHMNfp8h4/q+LOk7WbSF8IRoEjvauD2CAILInSHk3WrMMqZYgXUi Dy440nc5uihEA4c5dTXxFFDG6awNlVpYEmbnTdAxyyHS+TCeQEmeYIM/koNIz9g8HbMY7nja5pfJR jjG4Hcju49HDYtb0IUxbpJ2H+apJHQ4LGbPydsY/mRE/N+1p/NBiW9Zkg2ZJReVR1OhXjmleIcdDN Gr6WtOMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYNqW-00000008FUT-0APs; Tue, 01 Dec 2026 13:24:36 +0000 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYNqT-00000008FU7-10tW for linux-arm-kernel@lists.infradead.org; Tue, 01 Dec 2026 13:24:34 +0000 Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-94961bfe1a0so740576585a.3 for ; Tue, 01 Dec 2026 05:24:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1796131472; x=1796736272; darn=lists.infradead.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=+0AN+k3KFG5+TuYxgcISwe5nlP2KfXWea/xa7z27Syc=; b=Blr27cISKZxfHfpKRset8xGbJ/v5GMR8Tye5S3kq5KbSW50OkCeWqnuc2OTvuJXj4H fy/724snUlsVBbI1XMyyDM00Cf6SCghL00OFBdmGumcJKEJFG2Q+45Wknm3e9psPaWeF +vlS4iZ+7ZETOQHCKooef1FPo1ake9L4hCtM5f5EGaCI9yNKKqoZ4q/VWRuJ+5S6/DEU FW4fcQppVpve8y45cf6L1Dlb0fofrYk00fHAoh5ekuwaPpvOdyDQOIAgouWCh34Xu287 0aNuhO1m0Cj0kRnjKVmAmXtmvD3ahk5Jvb25soiElLuqchvqhK7bw+yBkWh6U3wZ2nyi ogMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796131472; x=1796736272; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=+0AN+k3KFG5+TuYxgcISwe5nlP2KfXWea/xa7z27Syc=; b=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EM4qG7+sZnKn7Svil7SaeUJtb4/KABJWnDMjWu7+9O4R4fI DEhyUDHdHOu4jpQT6XP6yRBBjUD37BSwIA82+PZyK54aSXQEjGlLbUfnldr5heFwPoTp18ijEj3 FE4rNg== X-Received: by 2002:a05:620a:29c5:b0:93f:2f37:2e5f with SMTP id af79cd13be357-949ba9e35b0mr6696002185a.30.1796131471871; Tue, 01 Dec 2026 05:24:31 -0800 (PST) Received: from ziepe.ca ([142.177.118.84]) by smtp.gmail.com with ESMTPSA id af79cd13be357-94a09477acfsm1592752885a.32.2026.12.01.05.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 05:24:31 -0800 (PST) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1xYNqQ-00000000nGO-2rq5; Tue, 01 Dec 2026 09:24:30 -0400 Date: Tue, 1 Dec 2026 09:24:30 -0400 From: Jason Gunthorpe To: Yeoreum Yun Cc: "Aneesh Kumar K.V" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev, Catalin Marinas , Will Deacon , Suzuki Poulose , Steven Price , Sami Mujawar , thuth@redhat.com, "Rafael J. Wysocki" , Maciej Wieczor-Retman , Pawel Chmielewski , Jiri Pirko , Jonathan Corbet , Shuah Khan , Len Brown , Shuah Khan , Randy Dunlap , Mark Brown Subject: Re: [PATCH RFC v3 7/8] attestation: providers: introduce CCA Guest attestation provider Message-ID: <20261201132430.GD1856591@ziepe.ca> References: <20261127-arm_cca_mr-v3-0-df3230afce8f@arm.com> <20261127-arm_cca_mr-v3-7-df3230afce8f@arm.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261201_052433_309289_A696CE9E X-CRM114-Status: GOOD ( 13.42 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Tue, Dec 01, 2026 at 01:09:42PM +0000, Yeoreum Yun wrote: > > Could you make the above a helper that can be called from > > arm-cca-guest.ko instead of making it an SMCCC driver? > > So IIUC, Do you want to move the abovce not under driver/attestation > but under driver/virt/coco/arm-cca-guest while keep one smccc device? He is suggesting to just use function calls instead of creating more struct devices, but I rather like your solution and think it works better overall.. But you don't need to do this once my other series lands since you will just extend the existing arm guest attestation driver for MR. It isn't a new driver. Jason