From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796249826; b=Za5iUriqRM3XrLu47eXutMNkdxsoxNmcdibtWtbQWoN+MxLEEgwSlrLiLq+ad7CQ32Oa DrWRG53Q1kH+ap/N3GwgiaC0vVwjKCwPC9zJ2mjuEkf8xz9sI50zUuAMCN2ZvL9+6r7VD HQ09YsqR7J+FqLI3AZHGb1qb19k+79QuvASXtuaLLHho82ZDSyigSFN3pvLOkX78N527Q l3uou0q6qs3jQd+97wVsLUMV1MgY5EdH4DZAZcaJvUjKEvkZKX8FPPxLTtFczlbhU5r5N UqZmRqO1v63niJ484Y+kKWbCzPkS+8ec8thpJeoII7uosaQdozcOJRaXxpmb8DAhmGQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796249826; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:X-Received:Received:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:Organization:X-Mailer:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Proofpoint-GUID: X-Proofpoint-ORIG-GUID:X-Authority-Analysis:X-Proofpoint-Spam-Info: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=Lbu+4opYX8Wh6Tp9BeLrmheQonOIfyCLtgjdFIn00xc=; b=ngtM9mFLruNEfQz9Eaf4+pefg1Luhfw33U/gSueMoGLhToGx9q4n1Cg0Uknw7zTOE0Fs y0wrGcqYgT3T+svpmijxmpS3waaMWiAFRtMuzKYp4AUO/faFx+AWXxR30Vi9APBzrWF+k X84At83Tr0qPxbs3zVHCJ/Iz0b7zK6yyacfbLyZ/x0LWkL2KMwG2DuiBa+QASqlSRWELc T+E47HNAipQbpt8b5XZ2Eq70O5HXBUwdA1TY9R0QvATpZkl2elTCqNhAwh4KDVzGe9tyO qAFb0d+YC205vNCLi9Ly1Mb+HwGCCXMlD/tXpvsJ5Df867EAE0rVvhto/GwjCLPpdRA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=TEojklB2; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=NOTPy+Qc; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 10EA3606A322 for ; Wed, 2 Dec 2026 22:17:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 10EA3606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=TEojklB2; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=NOTPy+Qc Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B2LH7bU1959411 for ; Wed, 2 Dec 2026 22:17:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= Lbu+4opYX8Wh6Tp9BeLrmheQonOIfyCLtgjdFIn00xc=; b=TEojklB2g0PBP70R gMM139JTSdLYMrpWgy0XxopFdKyMSFyXDB0GxFJMsqEWT/Id4VF/X4ETCFOt8LW+ xAZ/ZdylHB0fmmHk6gVGP222QrJS5wHoXLrypF1vRa0e8XgtFPC9vTRVhiFHBtgU i1I+bs+uUN1JHmJ6Zq7oz4fAdcOxHiqMLwfiZGX99UZdmguX20JFH+uawqQZkKpG 7hc8n/dq9FGMvt5udjyncdxSaXLPt8VzYsJxGMIuBBzJQrU9X8qi+L2MYhScCDZJ qC3MGVoYZAnCCeJmnLYL63q7KMX8R+oUDO1rq4V8xxS505o9Ti3tBiXzk5Lc7YX7 10KwHQ== Received: from mail-dl1-f69.google.com (mail-dl1-f69.google.com [74.125.82.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jamhyt1ps-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Dec 2026 22:17:04 +0000 (GMT) Received: by mail-dl1-f69.google.com with SMTP id a92af1059eb24-1b587ffea77so831079c88.1 for ; Wed, 02 Dec 2026 14:17:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796249823; x=1796854623; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:organization :references:in-reply-to:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to:content-type; bh=Lbu+4opYX8Wh6Tp9BeLrmheQonOIfyCLtgjdFIn00xc=; b=NOTPy+QcZN/k5biCfhDgJCnSkp1dB0ZWdEI66EDhx6RfW+4zJc+xbHkPZ61+I2Ze9u cEATq8ndBLdhfQetAaWXfRdnonNpKArqqQG5FwZZRc9xoZ8YovlLrMdIKkyjcXt/Ij2b cB8XKl4+a34j6zqblGgAIb7t7OguLyH52bTC0rHYTrZSjAW97x3LRAIjbFU5OX3wGVKs uTmZf92N7UfA+6ZuOklkple8lB8yJokYtJnv42j6n++Hd4HDdozfydpAuoUAdCk/WG4C US3M5LmEXBS+uKZxu4o5mfCv+PeFLKGCWdrc06GV0hZT6udfWHg/Ly54nwhKUm1RfFP/ 8RJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796249823; x=1796854623; h=content-transfer-encoding:content-type:mime-version:organization :references:in-reply-to: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=Lbu+4opYX8Wh6Tp9BeLrmheQonOIfyCLtgjdFIn00xc=; b=YOMEgo4dq0vgPIRxzTif/yL4wAynLKSajQxQ2swXiQGQ8DCO0O8LPZILUyHX6L7XMv n93Yq5uoFlbyAiaz4dUX+34auWIWPJhYxQqLFqM/vhaCSZg/m+hQyo6p88HmD9LdNQLf 2Oo5t9GOpUv+oCq4SJ8dn3d5dw0jB3q58A1fCKPTAAodaj3jrR0koqvU+cKHHSAYm9Bd OCK4Id9rQTNmTYnVEgRATjFMkSgiDfXGegdv6Wkfds50P2QVSThnu7dIcnWPL1dRREvX G3/RKm3K4wLxqOG9Vjkp8C3+nnvTRnYoFUAxB1m8ziU0BkS2P83kxTmYMWsWvOdLyfdJ 7OcQ== X-Gm-Message-State: APuU4Z9FpbWUdeV3Hrifj/pBQEM0DOdjrUSN9xzW9ybIblEXMiiy0jO6 yVrF82RfaYkWRcq//l1ht8+8fIpcASL89u3gEkeSEQZJXPYx1nK+kb2ZjgOhD7fgN4tv/ybX9WJ BDHLqKMiPbKmXvIf+1nz41mbHUTCcUWMeedtwXFlNhfDxpEKogkssiSy7/A6oih4KaSY= X-Gm-Gg: AZFdTZeWDXbr1uOu9DDfq5D4TgAbzdXT5Mopr2G4uBapCNdpMh4yySdMzzfEAUjSBVH 2tPK9NVN7bC/NfjK6ShUPyjbvYZdpDmaA/RPlKlH3ljfTUmc/WDgAgfdTA/BR4bDfFIEw6GTxMu Aeg+08Yf30MwD4c0tmGAZa4dCNLfE+PkHPwPXYaVOeThxC9LUithMjKjSLtw3bZoJ+dp/Njf8iP NQmpDBvg9pjhMrIg6WcIB5dZFVIAkWIznFsTIhJPr/SXrNizKzYTC+jzLHPXsPtTMi9Z1fpqsp1 NVUzsWebJNRZzWnemDlkUEg/o1dMSqnzNn83b0qaxgkQLnR/wDp8Ap7REC8vLwUHWsSEi/J/3l/ avNq2VVM6T5pWo3R/vtUmF4g4vnY6Jdtvs1FDwmpGR0xHtyYEXmboHvMs06/2qwf8Sl5s9HKO5O o11P6Hu4l80ous30aGF/7fT1BXPQQ= X-Received: by 2002:a05:7022:7e82:b0:189:d6bf:7eaa with SMTP id a92af1059eb24-1b56f39c64bmr32384575c88.16.1796249823106; Wed, 02 Dec 2026 14:17:03 -0800 (PST) X-Received: by 2002:a05:7022:7e82:b0:189:d6bf:7eaa with SMTP id a92af1059eb24-1b56f39c64bmr32384537c88.16.1796249822498; Wed, 02 Dec 2026 14:17:02 -0800 (PST) Received: from localhost (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1b55682d301sm98889409c88.10.2026.12.02.14.17.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 14:17:02 -0800 (PST) Date: Wed, 2 Dec 2026 14:16:57 -0800 From: Jonathan Cameron To: Yeoreum Yun Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Lorenzo Pieralisi , Catalin Marinas , Suzuki Poulose , Steven Price , Sami Mujawar , "Aneesh Kumar K.V" , Jiri Pirko , GONG Ruiqi , Jason Gunthorpe , Mark Brown Subject: Re: [PATCH RFC v2 0/6] firmware: arm_firme: introduce FIRME support for host attestation Message-ID: <20261202141657.000002ba@oss.qualcomm.com> In-Reply-To: <20261127-firme_interface-v2-0-ab88b2d0b4e0@arm.com> References: <20261127-firme_interface-v2-0-ab88b2d0b4e0@arm.com> Organization: Qualcomm X-Mailer: Claws Mail 4.4.0 (GTK 3.24.51; x86_64-w64-mingw32) 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-Transfer-Encoding: 7bit X-Proofpoint-GUID: sJpWCqu36vQouACgZL3KefA5PyDflY4J X-Proofpoint-ORIG-GUID: sJpWCqu36vQouACgZL3KefA5PyDflY4J X-Authority-Analysis: v=2.4 cv=EYBd0/mC c=1 sm=1 tr=0 ts=6b1098e0 cx=c_pps a=kVLUcbK0zfr7ocalXnG1qA==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=kj9zAlcOel0A:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=7CQSdrXTAAAA:8 a=NEAV23lmAAAA:8 a=VwQbUJbxAAAA:8 a=JfrnYn6hAAAA:8 a=i0EeH86SAAAA:8 a=9jRdOu3wAAAA:8 a=hNl3AGRXsHBOw85M1d4A:9 a=CjuIK1q_8ugA:10 a=vr4QvYf-bLy2KjpDp97w:22 a=a-qgeE7W1pNrGK8U0ZQC:22 a=1CNFftbPRP8L7MoqJWF3:22 a=ZE6KLimJVUuLrTuGpvhn:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDA4OCBTYWx0ZWRfX+63wNGI1GshD 3ZCN55o+MX6T7LAoU6QGXY0TKXgEkMS4OetgDNqfnLlLxk5QULKEW/KaWHbYpl3rDWGNy04zTDe /qwXQvUENLPUv7bvjbN8TWRetpbZF5M= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDA4OCBTYWx0ZWRfXwyrCyIA9ZyU7 FoqP7fyZMl6bZOvXriU65OHEsp9iUC0imad6FwQYzE0NdkQngQ3BMqlSiT3ZVfg7c8TlYxYO9BR NXcXx0AoEpaKKXkHkig7JgKzYufN9M008NlQKGZ0d2puIcSryL0KZZGpM8TNCPKYyJxSeimV0CR 2yfuGptnWZ0ZuGiFt2q4JpaNy9mhIzYsT5L/MswxgsZxn3We51EsY7dTopkFR8CNVJ8SZ6RjSzP qnW7y8NOrPckPWCc7Q3pzgtOmEadR+CjB731HFy9AYE7Sk6cIS+IiDmMGPrCdvOTvrrVSCsP3Go dexuTQN0ctASs/9D8A6CzGtUz28TjUzoo09aDlSM1yq80NJxrhMMs2ZddZPhgAjqu6h49m4ffyR ERexGzMfrhg8E7gJ1y7GhYsCk16/rNWU6cyQhHGqUs/s1oYdpuVGMunWu38wVFHMPE3QtGz/XeK u7YyOF1Jg59tOMETX6Q== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-02_06,2026-12-02_07,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 spamscore=0 adultscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 malwarescore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020088 > This RFC patch series introduces the arm_firme, which provides > the common APIs used to firme service driver implementation. > each firme service driver would be implmented based on the smccc-bus > with common APIs and add firme attestation provider with smccc driver. Hi Yeoreum, For an RFC I like to see something that tells me why you don't consider it ready to merge. Is it spec isn't finalized, or your have questions? If questions I would expect to either see them here, or a statement that they are in 'patch X'. If you are just being nervous about reception hence RFC then don't be! Lots of series evolve a lot after the author first posts them - that's the normal process, but it isn't what RFC is meant for. Thanks, Jonathan > > This patch based on arm64/for-next/smccc-bus and attestation branch [1-3]. > > To: linux-kernel@vger.kernel.org > To: linux-arm-kernel@lists.infradead.org > Cc: Lorenzo Pieralisi > Cc: Catalin Marinas > Cc: Suzuki Poulose > Cc: Steven Price > Cc: Sami Mujawar > Cc: "Aneesh Kumar K.V" > Cc: Jiri Pirko > Cc: GONG Ruiqi > Cc: Jason Gunthorpe > Cc: Mark Brown > > Link: [0] https://support.arm.com/documentation/den0149/latest > Link: [1] https://github.com/jpirko/linux_mlxsw/tree/wip_attestation_all_2 > Link: [2] https://lore.kernel.org/all/20261113155515.2510194-1-jiri@resnulli.us/ > Link: [3] https://lore.kernel.org/all/20261113160838.2512652-1-jiri@resnulli.us/ > --- > Changes in RFCv2: > - rebase on the attestation infrastructure. > - librarise arm_firme.c from firme driver. > - add firme attestation provider. > - Link to RFCv1: https://lore.kernel.org/r/20261019-firme_interface-v1-0-27895c9cebaa@arm.com > > --- > Yeoreum Yun (6): > firmware: arm-smccc: introduce match function > firmware: arm_firme: introduce arm_firme > Documentation/ctlv: introduce ctlv-attestation-firme family > ctlv: add auto-generated files for ctlv-attestation-firme > attestation: providers: introduce FIRME attestation provider > selftest: attestation: add firme_attestation_test selftest > > Documentation/ctlv/abi/ctlv-attestation-firme.yaml | 19 + > Documentation/ctlv/abi/families.registry.yaml | 1 + > Documentation/ctlv/families.yaml | 1 + > Documentation/ctlv/generated-files.yaml | 11 + > .../ctlv/specs/ctlv-attestation-firme.yaml | 20 + > drivers/attestation/Kconfig | 9 + > drivers/attestation/Makefile | 5 + > .../generated/ctlv_attestation_firme_gen.c | 64 + > .../generated/ctlv_attestation_firme_gen.h | 40 + > drivers/attestation/providers/firme.c | 292 ++++ > drivers/firmware/Kconfig | 36 + > drivers/firmware/Makefile | 1 + > drivers/firmware/arm_firme.c | 275 ++++ > drivers/firmware/smccc/bus.c | 24 +- > drivers/firmware/smccc/smccc.c | 3 +- > include/linux/arm-smccc-bus.h | 5 +- > include/linux/arm-smccc.h | 1 + > include/linux/arm_firme.h | 261 ++++ > include/uapi/ctlv/ctlv_attestation_firme_gen.h | 34 + > include/uapi/ctlv/ctlv_families_gen.h | 1 + > tools/testing/selftests/attestation/.gitignore | 1 + > tools/testing/selftests/attestation/Makefile | 10 +- > .../attestation/ctlv_attestation_firme_user_gen.c | 1547 ++++++++++++++++++++ > .../attestation/ctlv_attestation_firme_user_gen.h | 47 + > .../selftests/attestation/firme_attestation_test.c | 232 +++ > 25 files changed, 2928 insertions(+), 12 deletions(-) > --- > base-commit: 7ff5e548abbc2312431d4eea9ad283347963a6e2 > change-id: 20260729-firme_interface-75616c45a203 > > Best regards,