From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.181 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796131473; b=BNwvoufDQMRzH6NYknEIgo/t+G3DVuxxKBJ41AqA356hrGEKImrNDb3MrWWd6TSGj7JE /YAkViQg3qLx3SmrwqIvZVFPbCAcSarTUyk9GAO9vtq+dRRd+7fVVSDis0auw3XazCJPh DqY75U2D6Yp6T1mYeZ6kp17PFfh6xl7U/ACxP0FunZHjL8rOEco69M2GeKDeIIon4SOmM zEZ9kRadRa6u4sUOMAFYzoJC9JW6wgqiBJC0kSUyeIQH1YJrji3OlR6XQhfHh+O0yhVVt HtsuLUg5OSq/nQp1RoRquHsumWdYazPCX6+SsDZkE+LGoSyEQp3fh9ZynVGBEQuMpVw== 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=s9n5QXsoamiZgxsC6XwBp9GWaVvp9hljGlFBfRSJMQcrblMy6jee8hJtzRLHTZiy7ShJ AIbuR0+96Z+viAAz7oalE8q2B8R1OPbcjlpQdH1qShRzwOlDKOiuEFmAcVGvfJ2PfnOlQ UDVDjcMzhAEYSkTfZuSDySNLEXplqYciAqla5IcoFwxDi2HB1kwhKAQJ+NN/D930YCSnE 5ou0zRdpCyupWqoWiy+740vqt8auztASmFejGupp9nkS52yeDv7clx1lP7xmQZ+8gDraw i7zYTDUNOT1xXG4cfjCaZ392fpEfYN0JAfWrQmXIUAw48pEQQMlFFqGV1tKOkBShLaQ== 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.181 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (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 0EC3E606A32A for ; Tue, 1 Dec 2026 13:24:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0EC3E606A32A 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-f181.google.com with SMTP id af79cd13be357-94961bfe1a0so740576385a.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=MWvyozQu1DIUZ5OJ5C1tTYehV9i8cwOMhuk/beiFW00KdN4PmuFfK89BK3eXKo2krT DSb59shJEB4MF0Tgj5UzUIcf3H7LkKsnyT54bdOchwAxz0npPQumZwZmxDihoYGesi3R D8DnlUSkuJ/ca/yb+fPQFj6KpxfbVxV8F5i0M/lwAo3bk2UAR4uf+pMtBOTFFX0TTO4S oVb02XOjEEy/OBezFVOaw9HeXETGxfg2P6hzpieBEmjYWsPbJtK7go1XfpVkFc46atFo gMZZ+zBA1wGn6W4TzIFjVMJUM/T7bBgAIDQxDP0vlaz01hOJjqgf4E+dVZCbq+/8a1vE 31gw== X-Forwarded-Encrypted: i=1; AL+hErFWEIGrfaTITlT9L44MI4viGHKcXlDrT0vS6unGpmIGAf78l/49VnqCwWoR1VH/W0QK32/XIod8S3wHiHALphw=@vger.kernel.org X-Gm-Message-State: APuU4Z/oyVfHjQzkK2B0zroxfOxBsDX6N5KvYabsS4jvIGuXMLwKXc6J NcfiMTqASnJguam0bM/Amc+7LlHziXN5W/ErXbQ2H12tEFNqSHxIv+VSbSCv4lwlseM= X-Gm-Gg: AZFdTZcarlf0whouiLyx1qUoYOvZLzZS9iOPUvvrervqa1dhRl9AN4OSbLwmwVcYet7 jljmiIjwNFB6e3iNGiAesB7nIaf3ci8gfezdPHazcQFUlYBpCiKb+7gKwejvMrHM5gzkmrORrvP OpD3CiiN7VgWi/fwZe/e6CyqELTMXWEO0ZGEpOwMhgIxTJZ3jBJkOIQD8dgSs0bTC3FZ6WPybva tmTzoCUZGaMJAJUOOMZ/AnADxtoT8aq159MQGZawtOKPNRqCWOUsee71R5vY6ILKEwVh0lIoAeX cYHGiqgEAaq4/nRrLeZAPcgIER7rn7HEPJ+oaQaQKRIb50LRgFFZPmynnAaGWJ+/0dlvBSe74xy O+ggIU5sq/kNw8VXevomEtDzHhR7eeTlLRT/dp5BUxjQGMErGyfZszL1EnBC15CVEEC6xotHy7n j0No5dlcQFSKpCNnUQmEGuin7SALmnO5MyhI4iT8AC9V7gEmsQ0Hen26TYyYdYn1dPTZw9trGmm n6/k3lSuK9FvDJvxWj/lsWxNEM9LluuvVZr6kT3HasfU5Vt1hCDdXJ50eoU2oRFiVxO3tiyWLEd +RjI4w== 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-kselftest@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