From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.173 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796131473; b=SSve7OqMbFesGEJZoD6Un8NirNhhXvp+V5DyzuAQdLD5CM4+29EQHsGuBjTh0M7QwntM m5dlk6ouAlLkhndwgvP6OdvYZ7LzYTE/dgy9OKP+bmRAOa17AoomBzgg11iJWnYkkj0Zt cl4st0/0h8a2ZRYuUraEkqrJhiGW8prEcTL3h6PKfVTM43zB51H12/FuQD4wL2cLtYYcy x5CquUfpiBbIvcv8G6kjknpf4wXOw0WXf0JV0T/zyyke+8ZRpH5goB/cmSFNYwNvjXZA/ NGzNrjxAp1YPwGw85yk0Fm6d1/vaHVfp+ku5Cb045FaAIm+rjgR4v+GGMKOcKoBVlUw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796131473; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=+0AN+k3KFG5+TuYxgcISwe5nlP2KfXWea/xa7z27Syc=; b=e7gHohpBYnFDrYRezUu84V2Lcxidc/ku8EnwtVLCPLg1kfd4w7OmvmEJEqN1lPrnN1/q M9EeCUpf5x2ARNxR3Y36Q/D2yZzInDUXHo/PODKj/i9yjSCgSJnLD1aeOltra7hfgc9pn X8RxhP3b3OVD7Oli4UG4zN0G8LxIsn/B0arXEMe3+JDC49d3wE1aUv7lBhKsgjvRtmBId ltJ5gODUcepSotQW0d8xpHUPxxRVFm8SCvm4LKR9/Li+ObBCHxBKVR8aOpuv08Dq7jyIQ 2gr1XF/59weZchubR4+l8d7qvN4zDUI74akwV28e0QXKttPaLRuLa42wV7o41q7nLWA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass header.d=ziepe.ca header.i=@ziepe.ca header.a=rsa-sha256 header.s=google header.b=GR4U+Bae; arc=none smtp.remote-ip=209.85.222.173 Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02381606A320 for ; Tue, 1 Dec 2026 13:24:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 02381606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.a=rsa-sha256 header.s=google header.b=GR4U+Bae Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-94962d80d34so662935785a.2 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=vger.kernel.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=GR4U+BaePDaabNS4hO99tAfufjfEadpfJcMHQUWq/oqoT+uH2te/qXddRUBTTwyIOh TuvNEs9KodpgdLq43rTirVRtokePju7mv4qeCbm199Bg+wotESEJgc/YEl5IRuGCX9WX 42nNC1VQqpvOK5BQOMk9l/+RfP2m0JPQpb3ttnOLxy5+qSYvOnp8JIjzgt14CurETnP2 WZ9FlhLKeq9hFdgV0+Cx1oIC8TEk5dAZvmd6XW1YNAIDyFaDIl8qjdDZztLhs5FmH9Sf xgXrqBtLMRbNz9FBxb4qog9jakDmuYW1QsKGWs6Dt1hx8d1wAIqaoat9Y6caH5I2/eQv 3FjA== 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=I3UQOpAlSmR6nLsVEUhV/YvSdYknciuLP1UBOqJD4hiszum8Wd0EwdZGm4xxKb/rED O/HgM06Pl64WXhy6fYUNELeqPtVTR090IdoJvs2EckEc5gCEEqC2rtITr1IPNnVq4OrX 7X3K3BauwJwroZVr5QzCJFFwNdl4ndc4C+zhhwRKC3j/Nckrq9prEo3cwK9WCWd0Kzv7 gQ9hKCScsHP3KWffIwsaeFm83+T1oD1st9YM+OLcq+fi2LwNSOHArYDyWSfcWKL/o0La b85OCQYePATEtBkHrdbFU2DSdxcHssWzggcL/xcg/jAu86mEmdge039LdfeJl42Il+mV WGuw== X-Forwarded-Encrypted: i=1; AL+hErEcLXHXwIU1e4DQCmLRSuIljbod1kEF6U0ZgbkdgJdfuPRxT5jVohP5u2tibkq8BBrIwH4hlZvX/8s=@vger.kernel.org X-Gm-Message-State: APuU4Z8WuzTKbQaeNgZ9v2xHGIEKukjlsNc+pFgoTp+N1XV3g1mNhL1f GU762mK8UuWlJhZFXOHv5IMjaYVMLO4diXP5wLOqcSUT9AeZKLnFmz0HjICyY4ffd8yI+ejcLz8 9mz3d X-Gm-Gg: AZFdTZcHOTy2z5ZjjB1A4ArhzxO65AwmxZOrOAau+8gYQ+JA1TIxdGuVaKUc4hmB3Hb 1xgzJl0CpJ3NesVEFeNegIvZOYW7xara/SdtQhlk7AxRhrdjSVtsM/Me23A2B0Zughe1yxAMeX6 8HIj3/r7zjVSOEt+w0CfHL3MPoEN6qvq8b4XLKxH5+emHJNUkHChJo25Q6hNrv0zEagzkratXoo va8U29TvC+ISc5rs4kI4CE7gR/VLukVPhlh0xrySpj3yH0Hz6Tshgnu+OOwosNlw5oZ7PhQUXte iDOgcz5xjP4vO846QjyTt7IhNZCMl5ytYGYqebBKu2b6VP3g+eAmRMJCI7dFlCoqS8NVVNFYrb4 bkFzMNXKpqaehpF/toyREzJCenuN4uL57ZwD/yvEX8sUnXVnAK4tM+XxOqHwONIxnLmClo6j86U ovapfw991dbS3hLdgp5BiKeTHdB3qL5+sK2XnSAuosRrBz7TokKkRiSAet21754w98DQ72bve6p JGLZVpGzRKzlMwpnqsd5vDrZUrpHq2oR3rdQOBg5Q16QjgbW03ysm6jlDer3i2smPprM4E4/7Dx Tyoe8A== 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-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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