From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 750F024466D for ; Wed, 14 Jan 2026 16:58:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768409885; cv=none; b=q0q9iFc3WwIdoAHFkMQUxw9xld5kLEidsZhCIlZIp1VTcgixxOLG3pjfTlIgahdkDbhzODkeqc3G56M+57sjw4xYwaVUUU+bYLpeLUTA4HUlAWELxokJf8keFk7OVCoEAKEhosxLR6U30k2hJqfKL6ajO060haO5ox6Xr7LXxMU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768409885; c=relaxed/simple; bh=uzdSG5lYeBXVCH2ZCLrTp+haEblOsxoF8BtLt45qvGs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DlMVz+MuEn06o9/ss7Pv/S8ZGB+Ot5q6xSkgPZGs6IZlWQkDSJGhB9h0CDHkeVUO5IFT3h/SZDJEF+KRCeL4U8TzksdSrcGgQgrRf0sAMlQGoOw1v4Ic8oAb9fL2L8A8fmJAnPkdSHQoCu7mFuG4lkvk9DdYUBQaepbkfGn6clk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=lztIuwx9; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=iye3GIoC; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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.b="lztIuwx9"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="iye3GIoC" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60EDuKC52081592 for ; Wed, 14 Jan 2026 16:58:03 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= dFg0ZU1cAsHhMYlwQqI8U+srvs69g9Bu04eiqf48wEo=; b=lztIuwx9z6zbyPP7 kEdfuM6akt9+ukcFEgDy8gDnzbIjDO5xmvMUVkss5JruUb7ullgmDGURkDVBPprr 529g5B3i2P4Dut1aBIGK/hqcCxLNhgNxmAtLIDM0OAXA8EWBd6PtZl421BnbCM9k pPjdScQh2AsTcc+ejlv7DUQ3id+G4mysWLY6RiLj6wSk5YqpBNWs9gzLgx8Am7/6 VqWpFUKx7x9VKSZRe3fR8TggDoT8L3Z/ykTcY5ET1GnSRx5NyUIZxxbnPpTAta4P UAX4CH3nv3bow7p7IAJqs/4m+MDQLMM5nbsGmNJLdVJM6D1jTZT1JgVLpPoJlVKN CNJqdQ== Received: from mail-dy1-f200.google.com (mail-dy1-f200.google.com [74.125.82.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bnu58vb5p-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 14 Jan 2026 16:58:03 +0000 (GMT) Received: by mail-dy1-f200.google.com with SMTP id 5a478bee46e88-2ae32686ed0so227070eec.0 for ; Wed, 14 Jan 2026 08:58:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1768409883; x=1769014683; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dFg0ZU1cAsHhMYlwQqI8U+srvs69g9Bu04eiqf48wEo=; b=iye3GIoCpB6KZY43WO+JtEvWX8TmGWWfUnXQ+j5m5OB7sN6tW77mjEzPLDj6hmyD+Z zvOFw7rvHtnfVpJJDRqffpzImfFaUBJmfbz5Ef1CZxufas+qNTYLIGSQuvNmoSa0oOXj L/0DlOvIJZK0XHOekS8wCAES2uJPIfCrRfoAY7Zl/OeyVPv76r3ocGW8FGXZSuXi3Ag4 jtZ1yVOjbIuuX88p1oXCT1QoXsZsu6Lj+Gv62D3XngIyw/peCv1yJ+p794B010UaK5Hu BMn0u52ro53cO1fa2C4c8fM5nVOLLKGO2cv4rEc9cg6wqtv1DFl+vlPEWGBUWXeeCKBy jcDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768409883; x=1769014683; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dFg0ZU1cAsHhMYlwQqI8U+srvs69g9Bu04eiqf48wEo=; b=TiYxjt+d4l8odLctvQbIWNLWcQ42Bc1nc0RTNN2yGbjM75FcrakdeheTGShxrAYqTV DBkOLRtRNMCiaqtS4XaTMfjyuDIfITPR9oML93f2x6nO46KhAuTaZoJhgplnILXPhSSR qhIuTE2/AwhsoggjHqbUHlRENLWIkF2dcgCVYEANlpFnkKlMbp6GbSkD0fQvo30xI65r r5NSFTgq/2//I8ilpbrKnNWD5OZGKR9cgyaQ8MMP7PGhaHSfWNC+nSdSX84MHK76kfNN RKRr8/kcxojFY1jXAzTa5dtrRUkTXbG+NJ0jyq2XLHNO1q+OiLLrawiP0ubLi7jj2q/f p2zQ== X-Forwarded-Encrypted: i=1; AJvYcCWdYfQhaavcMyjsazbeWwJMkaHz3LCqQ0iIT6AINQm6Chik46s3muAcZoqJju+Ub6fK7IW1Vg131K4tknU=@vger.kernel.org X-Gm-Message-State: AOJu0YyPGp6QLETf4+X8O2KmFFhtU31CbWRmoGCc7O9HHEnf5UUReSPL Nmsw5FBdhny6UA1yBxn34yKI6ZMRxbi7OhYCiP5fIOpKdwQkT8FGLwGTw+Plhw4+VOzUlVOwiag II1KUTPNxdMamdrgmRTEdRrLiUDBadMo5EVErU2VdNnn2nNnBzDIb9RJUStRtR7cK0LI= X-Gm-Gg: AY/fxX5gTU2r2woru5Yw/lb0dvODbSXT4fZNIbMeYkSCr1GH4eBzorzrk9oy9ukc64T imkAMHqjOiupvLemiPBkjo/0IOSDyjISE8FRZak8zYErXzqN1pO4t4EdIuIU3CtwFGxIfK+O4BG CAj+pZS+YemqT2183Dib43VGvcW5qy3nEOtshAcpGHShlSzE2yLbpAE0U7fFfO0hIN2pTJBlccX 6Y4Xy98T7lbJRFr4hQHbEV3cH1n5oCw8q7r8i6002DSPf2eojKacovvs96K/uuJZ+PNzZ+mP1oU YdP4yjxyxUIPEXeE3VEcygnH5adSWFgOAB3yQI4BZtaRE/esnAuQwzK6E5ECkx2CYf45lkFL/hL 2eCz0RI8K+XTQ/7U2wZX11tjJzkELk4Na9akmqqvySQ== X-Received: by 2002:a05:7300:cb10:b0:2ae:5020:afe1 with SMTP id 5a478bee46e88-2b486c94e69mr3996886eec.14.1768409882897; Wed, 14 Jan 2026 08:58:02 -0800 (PST) X-Received: by 2002:a05:7300:cb10:b0:2ae:5020:afe1 with SMTP id 5a478bee46e88-2b486c94e69mr3996862eec.14.1768409882321; Wed, 14 Jan 2026 08:58:02 -0800 (PST) Received: from [192.168.68.59] ([76.93.176.75]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2b17078dd8fsm23272007eec.20.2026.01.14.08.58.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Jan 2026 08:58:01 -0800 (PST) Message-ID: <6e674553-d0e5-449a-a49f-84f5d32cec94@oss.qualcomm.com> Date: Wed, 14 Jan 2026 08:58:01 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] firmware: smccc: default ARM_SMCCC_SOC_ID to disabled To: Will Deacon Cc: Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, trilok.soni@oss.qualcomm.com References: <20260112-disable_smccc_soc_id-v1-1-a5bee24befb4@oss.qualcomm.com> Content-Language: en-US From: Satya Durga Srinivasu Prabhala In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTE0MDE0MiBTYWx0ZWRfXzhM1wa8ca34t VQKMC8s/pKPkeYkG4DxtTNqHYz8xtIM285xd6ciMYixcBtv9pVYcV9B+rjaFSD0SKLgHsCWvWhC 4CJrihis2qieu/+U8U3mQ30aj6ITPA9DdryLsi1XVNEI+aLHG5+JncSBJ3ANIJqdraij5QkuNfD RLE1aHvlKr+Y8sqz5oGTtZnzwDmh35iBCLWoqTOzkfN8dZoIC7bNsWVw2fWgP46a5XbjtjgD7tc psauWrO2big3Q8lCh6Nk+wCZoC9CtmsOpsNcN/QjU+mx3cPqHHyY9qXrPQTiNxfmkHe2I/Mj6nV WBSztImMIYDosRsuGetbHuL8VV7nqHVAgXVgbtLpPcmvqIRkYYoUF2Pqvbj3l4SlQ5Tdy30FIe/ JzXVMZRdaoBasaP3TgK1kavJmWpKiEw1ZrStK8XA/p0nnc/NqHGAvzfLKYno3+obsvwNIwFYanh 1rlxGAtr3vhwvTLZO1g== X-Authority-Analysis: v=2.4 cv=BZnVE7t2 c=1 sm=1 tr=0 ts=6967cb1b cx=c_pps a=PfFC4Oe2JQzmKTvty2cRDw==:117 a=Q5rFrUx7DTp4enn/YD2GRQ==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=JZMqPXA25EcJQqw1oVMA:9 a=QEXdDO2ut3YA:10 a=6Ab_bkdmUrQuMsNx7PHu:22 X-Proofpoint-ORIG-GUID: 7IIQjpezHKkoiu9y5EaEi_zHp5xNaw9H X-Proofpoint-GUID: 7IIQjpezHKkoiu9y5EaEi_zHp5xNaw9H X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2026-01-14_05,2026-01-14_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 priorityscore=1501 bulkscore=0 spamscore=0 adultscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2601140142 Hello Will, On 1/13/2026 2:57 AM, Will Deacon wrote: > On Mon, Jan 12, 2026 at 10:24:06PM -0800, Satya Durga Srinivasu Prabhala wrote: >> The ARM SMCCC SoC ID driver is currently enabled by default and publishes >> SMCCC-provided SoC identification into /sys/bus/soc/devices/socX/*. >> >> On platforms where a vendor SoC driver already exposes widely-consumed >> attributes (e.g. Qualcomm socinfo [1]), enabling the SMCCC driver changes >> the format of /sys/devices/soc0/soc_id (e.g. "jep106:XXYY:ZZZZ" instead >> of a vendor logical ID like "519") and breaks existing userspace consumers. > Isn't the fundamental issue here that you have multiple callers of > soc_device_register() and your userspace is only looking at soc0? Yes, that is right. The issue is we have several products which already uses the soc0 interface as vendor interface [1] existed even before the SMCCC SCM ID [2]. Also, per SMCCC specification, SOC ID is an optional feature. So, vendor specific implementation can take precedence over standard implementation or a way to disable SMCCC SOC ID could help. Best, Satya > > Will [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/soc/qcom/socinfo.c?id=efb448d0a3fca01bb987dd70963da6185b81751e [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/firmware/smccc/soc_id.c?id=821b67fa46390baea0ac5139a60eaa48805261b2