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 A775C38AC72 for ; Mon, 30 Mar 2026 16:07:21 +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=1774886843; cv=none; b=IToeVtyzjTA8LMOLhHLo+4AOs9+o7nFTDq6Dz84A+eZ/R0hHYJHOlz43NG2fVg9uOfKvD/SEHIXATGyaA3HyybiTOzFm9CtGrHVW8gr2XuRdYDfWmLgOCaXj2BlxTiHRjFzHkJ5+EMztSiCivyJ9DugE19mBsUrrOx5l6zlHMsQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774886843; c=relaxed/simple; bh=4Qi6Dez0d0Stptw+ICUQbRD6+uNgWbYvm7ih6VrRmWc=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=WQN5c3smCgNwj+Twm6MBZCB0ItT+CKi2ZkLOU/XwbDqmUOpyl2ZZoxccyTcuAdX/tdcH+p8b/T0r5p+Hg1Sj/eUXCfCoAdUapxC9SCGkW6urzA4eAboMl2mdMBYRSUB5WtRWRtH8+3Wa2396EG6OFUxzmTnS5T1TQdoip7XFnYY= 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=Ya3wF+X5; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ImDgrKQT; 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="Ya3wF+X5"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ImDgrKQT" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62UFsE2b2724837 for ; Mon, 30 Mar 2026 16:07:20 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= vSsMvZxDEfUWgGfQAw6A9eOB04wnLEgGtY/bfuExLG8=; b=Ya3wF+X5bXN8P39d e/vJvPF6Ud0E4PqS/RfjA9//FnHoXvFzxeZfUSZ4mLg5eX2schHgVLqUByxIBYLo vtaodOMrfcpwzlhUjAMF5hIEe38zq317Bo7lgG3IlaDL6dT4HPRse3cWx1F9PsJg 64nyQNfRHFURwdb9EFd01jLZbXEr2yzY9VG1VE6TavM/chC6tfH6o8h8zTiHXpOv mJ6dQVpc5Q3jWCGDlATpg1umB8+yx1MH8vZehNBSIBbRm5hu6WsFgIdpXj1wV5jK 4WhuKqWvYJAlH0K670kH2h95TMVSGXQ02xEFqzTmKKHAEBvLRVCp36a/o/+BYTPf tbptvQ== Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d7qt0h9em-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 30 Mar 2026 16:07:20 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-c76a2c99a27so1953131a12.2 for ; Mon, 30 Mar 2026 09:07:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1774886839; x=1775491639; 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=vSsMvZxDEfUWgGfQAw6A9eOB04wnLEgGtY/bfuExLG8=; b=ImDgrKQTVPfBo9UyWDbN4sp3p573bGboIM6Gj/XrlZyrLv/dhlcAMTc6pCryMdZhqE rfb0S3sM3CcnzaeEtl95Khoe0pzQUi9jM+0y8ET8BDqGWqWTabQMCiLVfszi9FXyP2xF HfAcnYMmk8BS4hqCmA8ZfcZscsthslgLxT/xhy8tuuagnKD+R1fuWdCgANPzd3FLWN+h rmS+6V4S1tS6teIC5biuW6ecVcOsnRFYe4WNQodcsuVNNSFrGIZ+vf20HRCLUUxr4HYB myUCWcp2cdgbjc7pA0RqvdTjkRx4DkcU22yU5Kyn2acoLF3U9D0LyFEpnOzLkZ8FoFdL 3zVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774886839; x=1775491639; 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=vSsMvZxDEfUWgGfQAw6A9eOB04wnLEgGtY/bfuExLG8=; b=i3Ax1g7n5Uj9eaObehN6L0XEsaMtvc5/jeBQ3SQqsYSinGlC9SHw70AKm9HAL8x7Oz 280zGEQ+7ETH+ivLDLFfyMCKueAq4x0KqjHCz0dadR5ANNI/yX8ep8cUrtcjcqVEzl6L s9Ka1nfipLvSDd5EAtvNrs2veoLTI10s6Vj/o47nn4iWYkujxJmqYnaj7lPK5+53nRIv BGeVhHrqZV974616WbdSt8m/2yLix5Sx6Yu28Yz3MVeFyto6a/7+COE2G4A9sxZ3/ZCG byq/pcbWMEeAMKfbNtJKgvc4njugh6Fz0iRa6R1IBEAaYlbJKZxWLvVolxzjftmKRIub XngQ== X-Forwarded-Encrypted: i=1; AJvYcCU/40UufEtI2CdI5pqP49mXnY78/VeRO41P/a3hCA5ToW4kGBDQzR37HQm3SC6cHX05bntwUeSRjSKpE9E=@vger.kernel.org X-Gm-Message-State: AOJu0YxmKuPWAXyZWuha1Ip3D0tnbs3BusrR2Vw5+hqlfmqzsi2yKJSs VqMA+UyKv08pOO2WmBLGqvfsXfKxIqftyFJYEgFq+T1y5wjoaZqQhg9CUjESYNEWPTrF8POBFAV /HPFcNOdVEkQ62NpTUOsv7+49LcZNsrW8frYjFz79YKPpXZPjicOMv7mylh6W47gTsg8= X-Gm-Gg: ATEYQzyZltD1u60f7d0T0vWZ2Uv5GHaZvkgXXAP8uPf4CD3QZvqbtKGBNs2Uj3nQtDS dDchFxKZY6RMjW9ajpGgmYOa5zT0Y4UNOWR+K1XpPSWHDgyUYPHo3Lnxg7hqk3184BQNmBrwK8A uMUk+VDssSwFBepRVU+0bGt2alz721gtU2iBUNvf9WG+lusZGHrBEPRCoQIBH1yhQPB7u46K/SY mtcsTVvvsKiHDZdlIutvJUgDG0ZJxJorlZnh0Aq1+WWqr4X6wQWBGfeNJupMf2qlgUoIyERQyvV 0s10sDS9DHjaoIdvN8VHrYPrx6BuoHCga04LEwIxTJzfCaSL71j6ZXVX/Mxxth4OvNncDJzUnVl tt0+iIF9C5BgVnstyAa4hSAX7wV4vzOT7lWP/Bl+EdU9Olw8CZv0YqI2ABPh6jXFKcos= X-Received: by 2002:aa7:9064:0:b0:82c:70a8:faee with SMTP id d2e1a72fcca58-82c95af18fdmr13035916b3a.6.1774886839554; Mon, 30 Mar 2026 09:07:19 -0700 (PDT) X-Received: by 2002:aa7:9064:0:b0:82c:70a8:faee with SMTP id d2e1a72fcca58-82c95af18fdmr13035869b3a.6.1774886839060; Mon, 30 Mar 2026 09:07:19 -0700 (PDT) Received: from [192.168.1.29] ([122.164.84.169]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82ca85d3a71sm9125804b3a.30.2026.03.30.09.07.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Mar 2026 09:07:18 -0700 (PDT) Message-ID: <46643da6-3bb5-4c67-afd5-9a9d9027ab85@oss.qualcomm.com> Date: Mon, 30 Mar 2026 21:37:11 +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 v9 0/5] Add support to read the watchdog bootstatus from IMEM From: Kathiravan Thirumoorthy To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Wim Van Sebroeck , Guenter Roeck , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, Krzysztof Kozlowski , Dmitry Baryshkov , Konrad Dybcio References: <20260228-wdt_reset_reason-v9-0-f96d7a4825d3@oss.qualcomm.com> <7593d19b-c124-48fb-9c0f-af8177dab1ac@oss.qualcomm.com> Content-Language: en-US In-Reply-To: <7593d19b-c124-48fb-9c0f-af8177dab1ac@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=XN09iAhE c=1 sm=1 tr=0 ts=69ca9fb8 cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=3XhhY/eKbwDBaJCND2NhFA==:17 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=EUspDBNiAAAA:8 a=g9OaShGYrvlb0wzR15YA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=x9snwWr2DeNwDh03kgHS:22 X-Proofpoint-GUID: bPxmHrlyGc5-6BGAR_PDfZloCktOLPpk X-Proofpoint-ORIG-GUID: bPxmHrlyGc5-6BGAR_PDfZloCktOLPpk X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzMwMDEyOSBTYWx0ZWRfX4y/OPyOQrHus OWwuw0JG/0V8+nwcQtVUQeZ9DnfbOJUkuxMx2KYEhONPosoM4asQ1ncHlUFsAZrNOVsiUaVAgB2 +eGbGI0eGoId693x/14T6fXOdiyCM2fjgLYQMnmH1+ujJXVl950YrW6apyiv1jBtTxNm0YHS8MS fEbwQ2f6+w+v1TIQL26u1KPT7U8/B6VsLGKhAgLPm+2qsvpukSMdOk64DTXHrFu95TcWgrVfjzY t8Isn+gSaw3KxhDkfxL3PV7y/UJQRUmU6e8YRU14q3L4oDfPnbCET4+2sxx934rhmNn3nvemHXh oLN1rWs43F7+qPTl9rR8dnlVG5sq0e9FCF6rsFxNFpdOnubDqyqkMIuA0PP9PP4/ex+f0schN7N 0b85CT4FUEZF+w9RDeaZ9ggDQyiGKhMZQRZi47wboDU3+hyJ20ty1fQIc0OiQmB+YlL6zLacX3v bQ0tGhDOftNOIISrJAQ== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-29_05,2026-03-28_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 phishscore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 suspectscore=0 bulkscore=0 malwarescore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603300129 On 3/16/2026 2:36 PM, Kathiravan Thirumoorthy wrote: > > On 2/28/2026 5:58 PM, Kathiravan Thirumoorthy wrote: >> In Qualcomm IPQ SoCs, if the system is rebooted due to the watchdog >> timeout, there is no way to identify it. Current approach of checking >> the EXPIRED_STATUS in WDT_STS is not working. >> >> To achieve this, if the system is rebooted due to watchdog timeout, the >> information is captured in the IMEM by the bootloader (along with other >> reason codes as well). >> >> This series attempts to address this by adding the support to read the >> IMEM and populate the information via bootstatus sysfs file. >> >> With the CONFIG_WATCHDOG_SYSFS enabled, user can extract the information >> as below: >> >> cat >> /sys/devices/platform/soc@0/f410000.watchdog/watchdog/watchdog0/bootstatus >> >> 32 >> >> Signed-off-by: Kathiravan Thirumoorthy >> > > Gentle Reminder on this series. If there are no further comments, can > this be picked up for v7.1? Bjorn, Guenter, Wim — gentle ping. FWIW, this series applies cleanly to the next-20260327 tag. Please let me know if any improvements are required.