From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.182 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796131473; b=oLdFYR+xq3psY65SvziqDmGs/H4ZtWflB3MOmGM9OlUC82GfEP3EwUuE8AELxHiA/1yK 5iJUkIhhXqyo2AKJ9coVn9wLGJ7tlki+j3elevHM47C8/pwlVbYyi0Khh+VEfS54yOlVW IpT1tqL/U1rgHcalrtKfZEYqXDCiD5CPZVFCCZONUIheVIH+8+1g7XE4yIwFHbE6wT4sp fKqSFmk9Uu9G9ASqdSWxBwYW0PaNFLZ4m7fWg7WTrwXeFJRKBnJxU1EYQQJTtahN+V/mc qwJGEybMtKc0tUYoCYW1/py8vVvZ32g415liBzdYmxVUmIpuFwX/C9BRVu1pbzDoKpw== 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=LlXrRTJIAYjvZ+iV76c6TZ3seWXl8JOAVAeqtt37zeRliaAtnS8dIw0D8YMyue2RUfwX Yf404erq6oHzxKD97BEFK9tds4FqYOiQ0SZN847IDqJwE5Gp0Rk/EaDQr5ubDfpV7Goxc l4hMDiHACmMzTt9OddtwlxHaOz0BY8SiPINev2nXj1kcrl2cZN1A4czlZ2H9xrBU5gfbB FwsAtTjbfUfkvoQi2H3QEUTC3w+byjxyAvOc/729pC5RJEVgOJ1AiLt/uotoU3789/3Cn Vh0JKooa6v/GonG03WKIrv7eURhXVnKQidKqxv8e6uJDMKjRnaCDcSWzZffKrWrgPZw== 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.182 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (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 01C88606A31A for ; Tue, 1 Dec 2026 13:24:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 01C88606A31A 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-f182.google.com with SMTP id af79cd13be357-94961bfe1a0so740576485a.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=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=adpmfLtSSgawmjH0vmS0HlECPhtedK0Dz0Sxn1VmaG5Qo280PUJHISn3PapLnZcFza kxwjEEI6BfAQTLbw8eX8GOfxBXr4d5jhYYsXN/DorKJqwPp66JEp61ZFz56HaM4JYwFt Aj6XW4zUFNyVTmjSN7TJIReXbCCrMkP4bGFi4prWDd8G/GlNia0zxeNekrxSIgm8Lc57 VnQSQS34UOVoNXtr9AQ5pH9d0J/UiaW+VQNFlNHMmd7RNdlP9RX2AyXx1h9eFGcWSriy 1aF4xsz9s2kavPPH3OXY1x6XDTeYjte+Wv33U/uWAtcceiR9ioZc7sk5rDbjjlnKdbZO nVFg== X-Forwarded-Encrypted: i=1; AL+hErEj6upLDSv79zmmMG4E0lKwuo4bUb3n8+HCd+AKf0PozipTeFP8i6T8rPS6PzAN9ZFeHZS1aabBDblDcCY=@vger.kernel.org X-Gm-Message-State: APuU4Z+5NX8bNg8dzCYF10dRFUL+qg1tXKaH6WYYWF2J19b0Xq7wU5g1 BV1NNbiDXMfR3rctaikjsAk2cXPFWY8OOEOJ4vsLa+AEg46g8MmkBQpbH84gSF7usfM= X-Gm-Gg: AZFdTZcP6z5shlgs/D34EPu7r3/jRPSopQ3q7elTRryBYxNJ0ITssHMaxbv/RVl8oZp v0e0PLYW/ZSKipr0iQjz7Feh/k/g6he/g4NcK+SKjW0706/ZGYepgRk9Tt+CAXJX7hJiA5TkFzR lBt6YEYhZdo/Ft+WbDJs8bCJnKdsVzol980U2VqqIKWAeeglF16f6e04rNgtesSpXNr/OjbAYA6 4Hb095Mw1C8vugzQqXPig8SipKG4CkBsfDKaZHR7/6g1IOzkP41WFe1VQRDu4Sx3BYfgaevp/tp W6qzjODQg3oLg3ryPVJ9s39dKZaJMDvD4oYe0BTLGQUw0MSD5jY/C/7v6HvJeBJjjmtVkYbKNd6 fhTznnWeDMjOtc/PjiDDyS3eb6v5TFj22RAzQmUG/cBQ1eHvk74/vCG61fPs2KrzLOqrL8ftKPd pJ1JxxSwTXb6GBNEmcIbRi9Zrw9RD2/Rmu2wRKEOKCx5Kf0FxXCrZLHB/drujER8YHhjDYT84zn Tmj/8rRRn5xR4HF7+Cja+i6WI++oGuQEoBpazdbivscbxauV/QG+TInWKoabBbv+ZTVLiEX3ukn msy9dg== 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-kernel@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