From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.171 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796131473; b=J3C+EeknIVb1IBBOqJMTW4L4kXG4IBcJbNljX5z3qPKXwOlz6qAuxxiam+Cprc5cDUS6 gu0BNFjLULeWFB9QOdixdacifC0/An/NUUbQo+fSlOGkomR3Ozs24LMRd+Z+6TorObnFy tsDZQBpB0ltEl/pB41a8RFEXW2+GXIe/6s65oUGDTf7zyvrZKg6IHL+D/IGvvFCKMXFAF j4jC69QHPc7HbLK/lHltExSKIb+RIrArpWqPiuxJawL8GgZe2ilcpTxi6h1NBhoxvYUjU P5xMBmLz/v5xUq9v7sLabQJRAF/rOZfv5C7T1mE9mpCFlfiyHFps1jpoX2p3+anCkxA== 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=jILD0s3tmFy//jGwqF2QcrVzLuda2FRQdVtwVpH9SDpnETWo0oW+806hPGTl3CcLIo+B 84nA1bIi/waGsTPTmC1AsmCGjkTrDiwzrVDvavNytzOxZV2fL+4VMlLwooY7Mu5jIt29V Z1WIeiynX+XsaYPIQ3SgujxQowhFdkK8HTMJLaI7p16GIgaoiNdAHHbg78vufik5/QvEd hAiy1D2yPOi+MgURqXItI+dcHWTFZWlqFQBluHPqaWITXaxT5g/C9LAgUyCM41iDNXjBS cDZp+VyyiFP0utpHfNutF/5rQOzOtbpzKi2jPxvsumRtvt9rx/OH5On5aJ1M6CdSIJQ== 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=FTW1kwQP; arc=none smtp.remote-ip=209.85.222.171 Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (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 0AEFE606A329 for ; Tue, 1 Dec 2026 13:24:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0AEFE606A329 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=FTW1kwQP Received: by mail-qk1-f171.google.com with SMTP id af79cd13be357-9495c633eb5so663016385a.1 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.linux.dev; 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=FTW1kwQPGvRx/uTlTu+ZtEKgqbyOf9FSUTGKUI7EzNEevQTpC/W6IsXx9asWwhyLKU Vj+80jSWf1t/m61pUY2xjIqTqZmzVsK1YvXXXBF1bkl86k80D9rmptQVohlc/lOlg+at LzCdzIOke13ecAaYc07VJkU65J9KEhx7JETWB209BorpVxLgeZqGQo5Yf88w2vvNhDA/ IsTHULH1v94X+SaZBkiHXOgb45PlRafKekqP/MbpsIO/J1lzsLNDtOOpoRirI/2kN36x cPMjs6jQqCYdmHmvz1vyhM9o6bcBwN8mezFbEqqftBqWx3Gain36w3/wEn/Q79uUinnl AfHQ== 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=XwM08BgRU1uCtcIh11ouIYv/E5ZdGYYwfN7Y+7/zxAom5TKnKVSMe87pRWUXURsXxF YNb+/ZV/zi+7d9mP7xiQC7LG4cEMxur0M9Jd+CqSaNfNhqjtVgj5VNh8Xe4ChisSCE9y /N6KRX2mdYT4bnMZHw+8J3ajadFUm989ABxoADBFaC/ppr//8+6L0pdr/B6hJYIzXQyJ hrt8w41oNol2WJh1GAtrWQIDjTNSLUrOyLW2Ndbnqd9MzRsr6HNzEiqJm/nEjcGBIeie G72FjOLq2uXtWUPZOjcGqUzdxm0YBd6EaobKwEjMY1A9DeJSq4qJdmyORGPRTi5glFqG +UHw== X-Forwarded-Encrypted: i=1; AL+hErEyzkneGI4NGpeaIAtpPmHF+rQYTx83/LKpXH6NJ//Ij868f0/jlDWkBGXU/sIpqxn1MYE0iwhXVQ4mqQ0=@lists.linux.dev X-Gm-Message-State: APuU4Z/U5KM74t35Z4yEPRz3Fdbea9OMIt1f+U4WArBTCe3QnKfKxt6V 1qhvp221t4V3x/0SMopHSjuS5SRXNW9hP3tsBjGacOfv3UIuSZqyI5cmFfmj0/W8oaw= X-Gm-Gg: AZFdTZckH5Swvwlxd5Z++dc7cm2UxII+DvTXIXeREsYQmXYhJlwOBmRYto7KCC2qwUy ivNhfT3TbQQjwnQFXAm5L5+UILZ2YBn4u+e/rvj1pkFm1C/TV7gji14yCW9T6VbWBCB2p5IGQj1 8sWdHyUmwCG7Rp9va9VyjQDAdgkdzNKNjxeqEA7prWTYLAV5zmTLeo5k40NTInDpCvkMQhUF7w+ nda2rGAYEC0GHrFML3Jy6ECkJxaK8i0ms/kCaCFCQ4e80LzoTHaG6e9wI2qCf+sPJyhMZ4d3B9U AfAXfz01NHt3pZuNjNAUP/IJIQZEph13F/JkqCAvRB/Fv2XPjg7Hm4YXnAhA4alRKqDgIdsnwTa SrdDj7r8XLyuyo5Z04U7rxg69rRRhJIlcMBOLfWtG8oltRSyBRFvngMTlV+EePZK3d92GaRR82i Bv+0/QWDIxmXRsafjtd3o1lSFSZ2jY+YgdKSLpplZYTIjRrd1mOtqW5zs1iZ10Sv34qAaK+zxyj 4ZLpu9KKmVUbk+rsHn+U6CE1LGDkc757Nvr1EvVauzfDBrhIOxTRkNY/61vnBQuandnsDWZujO3 HCr1MA== 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: acpica-devel@lists.linux.dev 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