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 4AE1C40759C for ; Mon, 6 Jul 2026 09:37:40 +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=1783330663; cv=none; b=PFm7dJv3sPjzJ1nLxASF5Qvw1FscLarc2kupCf6hbPoYEBNeY4XYc1Hh6KAInYJQcFNRY7lF8k68KJmPhoSjn4ZOuqjzHZQWDSi4Sosv9ul8briz3C87VFUHgWiKIpTiZ4qmcftJkVQCcWQIHd4IVqQ3+I8XcnTNIlm1ZZ0rHGQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783330663; c=relaxed/simple; bh=2pB3xK88kaQ2OwiJOt+1p0rqigF97sxkklqXZ52XiMw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DTF3phiU3q9LJn7GsjNmAklKFjCdzxEv9+R1nTLZKoZprY+84GRCbxY/IWwF29EVUMp3NFP6Pb/SvfEd/zl8DBd4W2rdwuH3LBSA9ufsBrCW77XJA0RiSeaOfJvJs67eMUNedn0udoNscDoFz3AIFFjCVL0zkeRIc/vlLmyJQIw= 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=PjEtZuca; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=fE+LNQfj; 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="PjEtZuca"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="fE+LNQfj" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6669Gs8g159973 for ; Mon, 6 Jul 2026 09:37:38 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= a4T8aHrk2TNFMP8btMDJqGfwbP8KJpLV7dRHZSLqCcI=; b=PjEtZucaCRTi6mcl yswok8GRrThyBpS/jkQMfznK6b3NUTSt8swW8GUcl1X/bFTh7kd1YO+nOBfPedgo 1qes7uzQce6RCSqguBuThFdtHGBSC4AFER2U++MvY+7kRjabcIYXDQhrdtDOSjKc 3SLCmNRmXBRGkxkyiIcPlvhYEKDRf4hkhpYm+dr88vxmU9+V36Twi8TA9vjFrPfI zDMtsh6HNoHoWYZgEGA2YVdbbt9rqWhaIeujq5/GQYnO9VRJlxuH9va6bonpagUv QNJqLzvMYtECCdeqgI68JnqnKduR11gfyk5DtPVebTnSi1h/Gj4VMgT4YJKFwGXv xbRJVA== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f89kgr2hs-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 06 Jul 2026 09:37:38 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2cc7e86e7c5so22718775ad.3 for ; Mon, 06 Jul 2026 02:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783330658; x=1783935458; 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=a4T8aHrk2TNFMP8btMDJqGfwbP8KJpLV7dRHZSLqCcI=; b=fE+LNQfj1BEgzT0sVTDISnKNEXnNG+ZvEnHHWYJ0G2z2waTD4K/m9GcdPq5yRmdsfr Qubin38BNPuvAE9uuYP3evrHTpmK5+MsshFwZ9facwyFkWv0b2m5I5cQWkHw6fyreUaJ mYyH7oeq8RlWrGVwTPIVgnemBmEeX1AuhXxdSdKWN8bSSxl7nKB+Oah80ghDYKMJYGuG 98ezifcE3/WW/r6+OYTvLjgSBBHyxwIAiMUEvyyHerZfhFYv5WMTNOAv+Iv2MJd82WqE kS7ZpLwpl/CpkjcrY6z2TELJbBqluX/DQuKle0UPBY+cdHySZ2/6/Z+ioMdUFGwHFReI fbIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783330658; x=1783935458; 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=a4T8aHrk2TNFMP8btMDJqGfwbP8KJpLV7dRHZSLqCcI=; b=eUfFRUJPNMSEqlX+DR8f9/Q7YCAUs5IrFXKWMkn768TIilb9cruPzDZcalnlpH6ye3 xcj4Ep0WGe8dqGB1NJ9qMYGE7npE5Ap1E/O29XNnDKSKOE3L+YBpiOI/ADYtDvMtd/+N AbXby7GV/BVwJv6UOCKUgiDkd1qzpgEGJGtGs5h+Ff6p4+o1+tyTc1bpaScGFBRnJTeW vMCWINtRPSKuwAZ3HcOFkPD8n9E5Afd8+yTfg3xvv/1oh0FT6xPpmm8admVs44nCpcvj y4xHwqzE8XDwmLAbfvePcwCe3bbyT2iuyY6hR5LICT2tmU6zw1aMpjlvlab95hS9qfEf bG/Q== X-Forwarded-Encrypted: i=1; AHgh+RqMxLPK+EiBTrY74dcnQQ1n/6Qp5mPZ8So86IvC2b849xaK02YakuaUwyLNXziScn0HEOTS2FeEQ8Z4+T8=@vger.kernel.org X-Gm-Message-State: AOJu0YxPZ7NpBKVVxTWMElnD/k1EgUqhGLmVvohWushkk7w4xugPzr0P Uv6NNXpra2uu7jT9YhzxNUqANkiqQQgo4ShD8ltYgRC11IWFsNDL0AHEjSGqq3eoBvexLlm1Iiw a7ZZit3yxmkFpdEnMvnLSF14fZueyxIgSQDy30IEvamLPNnX/a10L6lMH+WvgmDLikQ== X-Gm-Gg: AfdE7clCd39OxRHt2p4A0rY8l/l/+tjEe75nzXyll07B10qE62fNwDufUrnvxNvr3nI AXDz+ReQ8GVlgif0Llkn1HCUy/PC6AqYcgxDwugWtXV6ut12vy57VCF34W03dV5miYGIzb+H/7V 2YNVfGFG5YM1M73cdajhLOYavl8CFjPieePiiJKg/ruP5DqTl60Ro9R3oSBxY005r6Mm3YgwO5Q Jo3BoMsP7UUyjjTeHZ0haAhFZw/maxsLdFFyPjT8Idgh33pMuMbVq8P8NlBC/idxm7CKj9DQlOF ppDwl96JPMJC+UA/bOL3Kksb2HHxJZDwnE8SuMDq5nVl5P9rfMbXtjGWfUWyIYeC0PvIrE244n8 tb1sElTROmEl5+CxLXlw8E4ctZAo8QcyBE25SGQma8w== X-Received: by 2002:a17:902:da89:b0:2cc:8ad3:423d with SMTP id d9443c01a7336-2cc8ad3485amr46920765ad.29.1783330657850; Mon, 06 Jul 2026 02:37:37 -0700 (PDT) X-Received: by 2002:a17:902:da89:b0:2cc:8ad3:423d with SMTP id d9443c01a7336-2cc8ad3485amr46920355ad.29.1783330657304; Mon, 06 Jul 2026 02:37:37 -0700 (PDT) Received: from [10.218.33.235] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2cad7147244sm46960145ad.36.2026.07.06.02.37.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jul 2026 02:37:36 -0700 (PDT) Message-ID: Date: Mon, 6 Jul 2026 15:06:56 +0530 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 v11 0/7] Introduction of PSCR Framework and Related Components To: Oleksij Rempel Cc: Sebastian Reichel , Srinivas Kandagatla , Benson Leung , Tzung-Bi Shih , Daniel Lezcano , kernel@pengutronix.de, linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , "Rafael J. Wysocki" , Zhang Rui , Lukasz Luba , linux-pm@vger.kernel.org, =?UTF-8?Q?S=C3=B8ren_Andersen?= , Guenter Roeck , Matti Vaittinen , Ahmad Fatoum , Andrew Morton , chrome-platform@lists.linux.dev, avaneesh.dwivedi@oss.qualcomm.com, umang.chheda@oss.qualcomm.com, faiyaz.mohammed@oss.qualcomm.com References: <20250618120255.3141862-1-o.rempel@pengutronix.de> <3309e88e-e189-42ea-b74e-346aec1b4b5f@oss.qualcomm.com> <729b0e26-bdbc-42f9-8245-79b2942272c2@oss.qualcomm.com> <4b5321e8-05c8-4f3f-bc22-d3776e008151@oss.qualcomm.com> Content-Language: en-US From: Faruque Ansari In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: tMTGUCn1nTD1xyZGVH9ZxEyOb443dVYN X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzA2MDA5NiBTYWx0ZWRfX9ARrXs2IdfXv kkGD9FgWWoRNMouH9dvi4FmKcxPmZckNkcb51xu/CKnwFBKQQ+4pxmD30pvSWAJEBBU3Tas+xiZ 0QiB5IyXDDWIaap6Z18Y9e5c8U40NdhF63iSqvRRbVkcY6Dnzl+7I32WXeQ8x6Kluz4SH5hADlA N8RWZ7ZQr+Yodp993/HKBjGriBw7bOUvLyKVF4ptiMKWpCfRNB+Rr8bfvQrggKSYdzbfwqfQ1rL VAWM4UGoTPoh+cFJrNEe4k4Wp5TSd7WZVpbAscyb7gcAILRWU2JPzujd/kkpw+Uex3WhYTJRrCn YaRZWn9wMIq9ejRaRFSVCDYrNihuRnTKhvW6JyWtvrZLPrFJdp1PNZp+IMNefaThA4pJcR7dsSy I/qEfA50wMSEqccMvxQkIrq/uZ7OG18YmmuVzz7B85HnfouNV3Q4JnQZy3ydN7oGL9NU9lY3Tuo omwyMAmhKVzb02gkeQQ== X-Proofpoint-ORIG-GUID: tMTGUCn1nTD1xyZGVH9ZxEyOb443dVYN X-Proofpoint-Spam-Info: AW1haW4tMjYwNzA2MDA5NiBTYWx0ZWRfX24lVaTBkcw9S fRXrt7pL/5cYzdOzkM+5+jHI0hy0t3L+LfMj3JLY4KYo9zqtYvqFUHzHgN/i23rp07PMXatOV41 GROsGxtUhEnK8RWLTPQJqphwt/mlksc= X-Authority-Analysis: v=2.4 cv=c6Sbhx9l c=1 sm=1 tr=0 ts=6a4b7762 cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=eap3bQE5FA6eWK0dIFoA:9 a=QEXdDO2ut3YA:10 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-07-06_01,2026-07-03_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 clxscore=1015 adultscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607060096 Hi Oleksij, On 02-Jul-26 9:51 AM, Oleksij Rempel wrote: > Hi Faruque, > > On Wed, Jul 01, 2026 at 06:26:37PM +0530, Faruque Ansari wrote: >> Hi Oleksij, >> >> On 29-Jun-26 5:11 PM, Oleksij Rempel wrote: >>> Hi Faruque, >> Thank You for sharing your rational behind and idea behind this framework ! >> IMO it would be better to have a single framework to represent all the >> reboot reasons of a system and not just the reboot reasons caused because of >> errors >> Ex capturing reboot reasons like ota, bootloader,recovery etc ... currently >> nvmem reboot driver does not expose a sysfs/ABI which user app can use to >> infer reboot reason ... >> Also, it would be extend this framework to also support firmware triggered >> reboot reasons ... >> Do you have any plan to extend this framework to support userspace triggered >> reboot reasons as well like bootloader, recovery, ota etc ? >> And also extend the framework to support vendor specific reboot reasons >> which can be triggered by firmware ? > > I have nothing against it. My imagination was limited only by some of > existing problems :) > >> We can co-work to extend this framework ? > > Sure. Should I put it somewhere on git, so you can try your changes > on top of it? > >> On representating nvmem cell to the framework - if not DT what is your plan >> to represent it ? >> >> How would framework discover the nvmem cell if its not DT based ? > > I'll need to re-spin it and send a new version. > > Are you on linux plumbers conference this year? > > Best Regards, > Oleksij Thanks for the explanation. Having the code available in a git tree would definitely make collaboration easier. If you can publish the latest version, I'll take a look and try a few ideas on top of it. I'm interested to see the updated approach to nvmem cell representation in the next revision. Unfortunately, I won't be attending Linux Plumbers Conference this year. Thanks, Faruque Ansari