From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 B1F3136CE10 for ; Mon, 29 Jun 2026 11:14:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782731671; cv=none; b=rDQ8VWH8J2jkKwfX0ZB0JGuqmtROskOqS7hdEt5QMa9qLwqzpu+81MW9q7cVTLU23merDQWOuEgiY1ksHFhf2bjRBu8Ojw89wwzH6LTdCzRXXIQs0ODELOzdKO+MVrsiyjap9nnsEO66ulBGoYUgAKgC5gDSqLw5lEI4I8ioIyo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782731671; c=relaxed/simple; bh=IyGlaIDF+zmd9BM8n6VXDW71QSY7Y8ncDunVoUDd608=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=HoDh6Z89/zgevEtTeBS2bny3FkPu4h88Xa4oC9PyU6BF2Stm9SaouvyRTG/slJAVChVtaICS8kq28oXvTfuQsGNyJOpGgOecNboNLqpt8zzx9vR251N79pyBP6y4L2KgXgRFSfOzjfIvc4eMHZq04TTPujWKjkYxx80yKpiIGM8= 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=SVT1Up/1; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=embDQEXi; arc=none smtp.client-ip=205.220.180.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="SVT1Up/1"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="embDQEXi" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65TATeOc2648345 for ; Mon, 29 Jun 2026 11:14:29 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= 0J8jBJDIfQrD/LQpf7QzmI1m3KrBYrgkBIaVXCu4gdY=; b=SVT1Up/1L1vBgJ5i M45p8WIYN4fkX5bUr2lZnpK2XUASNoI2ALkqKqjnoe3pDr2YWPnSjqRupW9RAOkF MobCFbrsXxTQdooeubbP2xT47BhqoJ5KZRZTPJZQhBhDHsS4kLPImZF5gFxkZqIR 8cmf2aag2Zz8v19AXGuvLSKsA+fkpWbY9pW2hIs1JQEqd3DMYxFs+rGG+XioV6yv 1pr2QtCf9w2h5iGOOo/XLXl8idchXuttwmpk8M7qI4IJIvFWx62jnervpbdmfjdg TkugFjYioLagi9UM1GxvRhjDdaJgWA1RdgPK8d0tK2yRGDJMvBGSNBnIBYzDfTuB rhTdOQ== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f3kyjgyyg-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 29 Jun 2026 11:14:29 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2c9b1b608e2so16804765ad.3 for ; Mon, 29 Jun 2026 04:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782731669; x=1783336469; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=0J8jBJDIfQrD/LQpf7QzmI1m3KrBYrgkBIaVXCu4gdY=; b=embDQEXiFqdnrO/9DEm8d1M4bD0bGBO6YOFXk8SeApEP48m9eCSEqBLKNjhu7glciK cZfdRvgJOpau7tWrdW9F3bKQwt/CMGKFI6mZbumaL4EqBZhR4Jbk6aMfr/UUfsUlJBDZ rTaTJB49VVzufP8eo3PNmU6SRl1HuSZggNc+VEyFzq+No+Nv/TRIah3ujvqjHXcOMTe7 gPnxekTj1QmbkxpzfmXE01Ppcf996ruHMBUZUYGcbGfItDOIBo9KW2BCDyL0Yohu/PAz SJoz0DefNNVhYPALXvA9SpDd52EEKqAYINdiHyNCeOER+UllrO2R1WuOB8tGpE+aRedp yRYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782731669; x=1783336469; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from: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=0J8jBJDIfQrD/LQpf7QzmI1m3KrBYrgkBIaVXCu4gdY=; b=eTqPB53ggOP8z/0bWT0DG1PJHP9+eCnGOmLmSMG/aj9oUmdjy/Wkq7IMGHnYMGqLKi UzK7ssPv0HPTs66muD9FsMurp8AWo+3sqf1wSCsLftffgzC2Q5Rz8azw5JAyQy+4AnCR Mq8GvUpQhNrgafiiZdhEcT8JfeYybrIp5/DfChE+Qpmc38EL3dbOGM5sIRsHphMivKy/ Zs18c1Sjyhikhyo85hD4pyhk5pYbtg0Wce+FSvXnXceJwNVD4buLUUSvJEyqj0/fWrM2 o21qV7nmmthZ9Ao9nLD++pcVt18Oa8/ZdUAGCP87XJbIPUftZZztICenOtGV5C0gstQv 5H0g== X-Forwarded-Encrypted: i=1; AHgh+Rq2hf+wTXtOdHSttEjePCfyGhVSqfbokvxTXSK3GmxnV0mGbz41m8hL72hLy3AI/KxD/pbrtug9x+N8/Kw=@vger.kernel.org X-Gm-Message-State: AOJu0YwNH3ovGeS4wG/CE54IDy/8F079wAQNGCFN5q+vMjpTrQjtMvHj tWeISzGXr1sh2wFJvZrpkanz4fScLbgKcWp7psYyN5mFwc6v4FUevGEduE2cvYFVIYsOJil+nZc w8AOd+uo4PwfAmCayCDDxPOSAR6BmwugNvpXRAvg8lY8POtnXJG1Cn8XZ8qQOjBxP+Q== X-Gm-Gg: AfdE7cmsrEFPwH6Q+uvJfc2Yb9OxgIWA6NExWQEYgcdTtxTGAho1VgfIQVRJK6lzDR5 OasiAbWUJqdyn3VIVIldskOqR/yRuA8LuGI3ozgiYkqjzz3Oz3mSK4RXdX9Sw/Rxn/NivsYwNsj HTQQgWQQZTMK0/MNOnzlaoavyOBFaLS9W8TuDGBoIJYcKcpaSLKWWBlWEdbjO5JAv8+iET7r4P4 sXba2AdH2zJ7Y/1uRWN71kT4VESGjH8PuYyNbNIHhbuFWimKf+p/voFWlv1NGcARbcbszkUVHCI 2ePTIm9awagEPcePMzgX95/43w1+R7CV+GJQEMHZbbdYwp4rKUB9Er3VRg6a77M+ijR9wg8wxna kM+I5NU882iNwpOz2toq3cwTnRcrjkbVi4mK+P26Rag== X-Received: by 2002:a17:902:c403:b0:2c7:ef3b:e17e with SMTP id d9443c01a7336-2c7fc797f69mr144891585ad.33.1782731668657; Mon, 29 Jun 2026 04:14:28 -0700 (PDT) X-Received: by 2002:a17:902:c403:b0:2c7:ef3b:e17e with SMTP id d9443c01a7336-2c7fc797f69mr144891065ad.33.1782731667977; Mon, 29 Jun 2026 04:14:27 -0700 (PDT) Received: from [10.92.200.168] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2c92ddca789sm55167755ad.12.2026.06.29.04.14.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Jun 2026 04:14:27 -0700 (PDT) Message-ID: <729b0e26-bdbc-42f9-8245-79b2942272c2@oss.qualcomm.com> Date: Mon, 29 Jun 2026 16:44:18 +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 From: Faruque Ansari To: Oleksij Rempel , Sebastian Reichel , Srinivas Kandagatla , Benson Leung , Tzung-Bi Shih , Daniel Lezcano Cc: 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 References: <20250618120255.3141862-1-o.rempel@pengutronix.de> <3309e88e-e189-42ea-b74e-346aec1b4b5f@oss.qualcomm.com> Content-Language: en-US In-Reply-To: <3309e88e-e189-42ea-b74e-346aec1b4b5f@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: pdQFxXb5ARRZynM-IwKFKvC9nfDs_AZg X-Proofpoint-ORIG-GUID: pdQFxXb5ARRZynM-IwKFKvC9nfDs_AZg X-Authority-Analysis: v=2.4 cv=Ftk1OWrq c=1 sm=1 tr=0 ts=6a425395 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=KKVNV-Xjcw2sXtYmnfQA:9 a=QEXdDO2ut3YA:10 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjI5MDA5MSBTYWx0ZWRfXwRP+tQpDUs0f hfXIU0Ii6kDlUApHuJuIamolk82632XSFhN4jEvp3RpJOjScPR/G2ocCiC3E6FmZ6Xq+/VpOY6n u+Cgnqc32UutdEGhH1VhFHjp4322UnU= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjI5MDA5MSBTYWx0ZWRfX2wZxMph43ND1 EYIapoGAJheUYxxHI8Stw9maY60WgOiXUurcUwn/UVCSW/TAv9ZKSVMC+n3LHr16+1OBvR+HGK8 76/+yYKIZJRZNuXU+vN5/wzYaM8ZmLf9JSrf9JIbODMOoATRnMga258Nm0NRInd3UFMtjYTYuNT wo2Waz1gJl5yLOP1pUj3OXOB8xIU7gL9nAAt599ZW2I5JXwB7TCEQYtT7eGFWoXKIc+B977HPDu rwX9hIxOU3PcJzurQkNszSqyWtFYOoAwtk/fq7qPh5Fhz6lMlphKLobO/s0MrWWBwHBOYA/l8cF GK24vqhsOjInYbjdkzbL/1ERrDnqupa9gi+PcnPeflQP9Rrn/wseFCjg/BFum0EU8RC0Ieh71mJ cnTw/s/bpzsEgT54xEAhQXQEP+n1WWb3PLfdRnivT291T35mLaQH8U56PO3p2DoE4YgTgDi4iP8 i21DmO+eEOHLkoYFSZg== 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-06-29_03,2026-06-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 adultscore=0 suspectscore=0 phishscore=0 priorityscore=1501 malwarescore=0 spamscore=0 clxscore=1015 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606290091 On 29-Jun-26 4:40 PM, Faruque Ansari wrote: > Hi Oleksij, > >> >> Hello all, >> >> This patch series introduces the Power State Change Reasons Recording >> (PSCRR) framework and its related components into the kernel. The PSCR >> framework is designed for systems where traditional methods of storing >> power state change reasons, like PMICs or watchdogs, are inadequate. It >> provides a structured way to store reasons for system shutdowns and >> reboots, such as under-voltage or software-triggered events, in >> non-volatile hardware storage. >> >> These changes are critical for systems requiring detailed postmortem >> analysis and where immediate power-down scenarios limit traditional >> storage options. The framework also assists bootloaders and early-stage >> system components in making informed recovery decisions. >> >> > > Just wanted to understand rational behind creating this new framework > (PSCRR) for > reboot reason recording and not considering extending the existing > nvmem-reboot > framework ? As, this framework already provides a way to represent nvmem > cell in > the DT and the driver as well can discover it. Would it be correct if > nvmem-reboot > driver itself is extended with the features which this framework provides ? > > or was there any other reason you decided to create a new framework ? > > Thanks, > Faruque