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 05C662D1F4E for ; Sat, 24 Jan 2026 10:38:24 +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=1769251106; cv=none; b=XKYEvje24PmfAneiLlNf+IYnPAd+k+YeocYg4KGy1G7qeY3iAulMkxgR9edXI4smGAfOaHhcsnXMLoeBNpLQyXS5KinCBLeX3QxzHd0D9oJKp6rEfhj8LvaZARtZnGIbCpBySuWZTSnE5vZysbKlgsFq0mXhvk7Hqmac61cBXuQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769251106; c=relaxed/simple; bh=meCPGOEBebHX544YaS09Yi/qU6DHzkeG1c+Of/FBSvg=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=XMVayxDJ0ezXohADYUVu63Q3Spn5d1p+GtniJtIoJHch0WqUNroy6ltXkqTDk3BLMty5f8SQJOvQdEzVvcwyz2v57oJRAlh37iG7oJ+/7WI648FEScblf4KxLClkR+a8QXj3nHW1UJZKpV6sUYnDbPcVmVAdH2ulp6ZlvmSVMB0= 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=owB/dEXl; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=fCqv7qHS; 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="owB/dEXl"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="fCqv7qHS" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60O4RYoQ922133 for ; Sat, 24 Jan 2026 10:38:23 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= 3J7xNQPfpRsnFYqFLGHAgQpWibMHp3cy/N6JarG//vo=; b=owB/dEXl6EG1sQhl Dbwb6ZPggUxUHdR3egfMzWaliYdi1G0mYwZ0AXf3ckuVvGBxTO/PiFG6hUB7wO1A xXVYhBm5zqciqMKuNV7hLLeZJP5rWV4AddvoalvFZrB7UTpeYHwftrNF32DetIlX ZtfY948XxqfPaZEg07+znEvfk56HaFyQ/MRwIxqHGOIdbfiTpjCnbRCwarpjiCOD KAlNfGVJPi6d5JsRv9FtQZ/Mjj2Sw/LVMIfxcF0QcHT/AnHD9uOKyb+Iwe3ddtTX 5npIla2m6l5XgTyFNTuTcDqWf/kH5d3CjjH2o8pqlUD00bLcwb2jLo0CNZi5CjME D9i/Rw== Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bvq2q0exv-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sat, 24 Jan 2026 10:38:23 +0000 (GMT) Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-822426d21a8so3408555b3a.3 for ; Sat, 24 Jan 2026 02:38:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769251103; x=1769855903; 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=3J7xNQPfpRsnFYqFLGHAgQpWibMHp3cy/N6JarG//vo=; b=fCqv7qHSyviasHg1Mt4AyAZDymnMHNfPmgjqpTy14CtYERkdk4xQ7goOJxE+3MoEWM zvKlMy4o0VkMV8zuuRtx2a8Zu0Zr4oNPJqy7Zd8KRSFMUS5ywl2T9aESRuq7XDogW8Bw Pi8vLP/POFWlWLiMzpV6YlOCkdv0uwWxHtPS702lsYhCmawHSFJvan8swfWRzGI1CnHj gWfQjwLHqUvKceWajedy0qklSZZ7XBHCjSpURSq+AiM+xjzviU38BMufj+HgFrowUiSb jYJ7IpTx1DlO0hidtK+m+gTWCSpNKr6QqKgO/0RW64X1hKWw/VIN90Rq5Oc1SpiDOhrn Z5kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769251103; x=1769855903; 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=3J7xNQPfpRsnFYqFLGHAgQpWibMHp3cy/N6JarG//vo=; b=i9/ac6kelKiOuO0l0GMZxRY5GIrDj2waxIz2ucoL/eNjcbrDE+qXut0wSbzmej4xPf 6ZzGib2cRzbw6eAzNlzLZ5eyqhcNa9h0Olaz0SnnX1kcmrnKQTN4C+5OdTUg7kayP4cM 7/UPrpoUekJekyH+YFUgd1R5oo9KMyAiIyZzeefM/293emB7GjaDSlJjOkcdDtNXOwMu c6RJomf6Ah2rpTbJZF/NMrffoB3hN/6T0PpJWA+29iyR68utzELF6RQReN0TfCz/AxrT Mb9PgkLPTSHP+p0cIcOS6IuVS8FiMgsvizVOowz0Cuy2DQZ38mysjNIY5ZQg1/uVlM6t GBDA== X-Forwarded-Encrypted: i=1; AJvYcCWus34a+Px407jObxK3B+Glj1emKinA27q3l6vTdfMQjHmh9+IY4yeioStTGuxWPGLAopjgbiWggg==@vger.kernel.org X-Gm-Message-State: AOJu0Ywh0EqYSzeknJIHpWs3v01MebWkmeihWxRHqGXYgUQJGTqdNoCT 1Lygfw0JuUxzSVxXIoFcV/wbe7D4PGkzacwGOzZBEXPMxl27nQ58abxruCNlV8RDJPZFNCvhKUw ZN7X5paExqpdMNJnHV1nP/bNFAZkiHK6FZodoaqu494qm75KalFc0M8uh6FGTSA== X-Gm-Gg: AZuq6aLYcyFgsGB4L2zgOiU66x2VXd2PrHm3mDG4zFACAbEGF1LSfVE4jrSrr+ZUdNB s+TEQq6UhQQlAHwfUFfyw1R0Eae5EhPb/pIQMpcVmx+gUyEpRS2/JoLm6vjYGEBJtD4B88AiDpV QUW9uNVwARLWpHDOauJbEiA5qyiocnZhwWQLv/BvNmUqnagO+/cHiyZAtcAxdd4uhk0hpEQkC2n XfcsQFEYtgZCXRlXYmOQJ6YQdYjAtqFCSw3e3NnUGYfzzhYFhoqOTralYiTFFVcZXrsxxX69QaK h+4qdE4TC4d+PxQ0jXkjh8ScDOfzqSVtjHI5xfeW+DZS+e/6bdRe8p4xaJVS3cASKIjVweuShNa b1ElIBJbe7DBGqXf5jK26R+LZFuHzSbpgYy1KkqDx8C9F X-Received: by 2002:a05:6a00:3e05:b0:823:1392:ba5d with SMTP id d2e1a72fcca58-82317e15240mr5785375b3a.38.1769251102701; Sat, 24 Jan 2026 02:38:22 -0800 (PST) X-Received: by 2002:a05:6a00:3e05:b0:823:1392:ba5d with SMTP id d2e1a72fcca58-82317e15240mr5785339b3a.38.1769251102181; Sat, 24 Jan 2026 02:38:22 -0800 (PST) Received: from [10.218.16.150] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82318671e1csm4495631b3a.27.2026.01.24.02.38.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Jan 2026 02:38:21 -0800 (PST) Message-ID: <9e9b9faf-7c5d-2e83-a8ac-37afeffd81d4@oss.qualcomm.com> Date: Sat, 24 Jan 2026 16:08:11 +0530 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v19 00/10] Implement PSCI reboot mode driver for PSCI resets From: Shivendra Pratap To: Lorenzo Pieralisi Cc: Florian Fainelli , Krzysztof Kozlowski , Dmitry Baryshkov , Mukesh Ojha , Andre Draszik , Kathiravan Thirumoorthy , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Srinivas Kandagatla , Umang Chheda , Nirmesh Kumar Singh , Song Xue , Arnd Bergmann , Bjorn Andersson , Sebastian Reichel , Rob Herring , Sudeep Holla , Souvik Chakravarty , Krzysztof Kozlowski , Andy Yan , Matthias Brugger , Moritz Fischer , Mark Rutland , Conor Dooley , Konrad Dybcio , Bartosz Golaszewski References: <20251228-arm-psci-system_reset2-vendor-reboots-v19-0-ebb956053098@oss.qualcomm.com> <2dcd9e3a-0a40-0dfb-29b8-99b70b73a59a@oss.qualcomm.com> Content-Language: en-US In-Reply-To: <2dcd9e3a-0a40-0dfb-29b8-99b70b73a59a@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: 3PVgDt9xoOQBn463Y5HX_8Euzn8t7DQQ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI0MDA4NCBTYWx0ZWRfX5WuoUkygK/vI 2TtxN8fzgOp/WkusN9GwQ+l6DdyYhQdFNT0npFQ6Au0orRHlDh4/dOQ57RHTSoLZuM8GRm3Wf49 0SDXIqJcCOZ0PAj1ghkzO1EQ9JFZ5nbfIgCkBb3Zx+D9E2IKbqp+KJ9NQ3RA42AeN8ZfMci9vgq HjoSywpXKlDYAMycBA+H5coc1qw3VVZowTv+6Gk3O0iUvhJvtPUrxeAxhaf8TNIl15NF48eRsOB QK/SN6v5oLPGRJYguN8GbwBNv2IUx/X+6RZjN20cFd+F6wOgaiTC0DIf7uHGtiTAxf7dimWPtFm 5ixExSX2j5pFK+dUbpXBvWUXqnFz9ZmtLZcH5+PSTpAAAdkBhgfZzoNVBRWC8e5etB13a0eRsKa XDwz0iKWET/+bYb9KnTF+OdB66E4Gev3NGJbo+dBvVwPveZX6j+LXq+ArEyQ0fghOq2jikR4Shg buRTA/PK2hMUL8/bUkA== X-Proofpoint-ORIG-GUID: 3PVgDt9xoOQBn463Y5HX_8Euzn8t7DQQ X-Authority-Analysis: v=2.4 cv=POECOPqC c=1 sm=1 tr=0 ts=6974a11f cx=c_pps a=m5Vt/hrsBiPMCU0y4gIsQw==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=r0sTgVGAZfIT8Xa8ZzUA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=IoOABgeZipijB_acs4fv:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-24_02,2026-01-22_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 malwarescore=0 suspectscore=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 priorityscore=1501 spamscore=0 impostorscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601240084 On 1/6/2026 4:38 PM, Shivendra Pratap wrote: > > > On 12/28/2025 10:50 PM, Shivendra Pratap wrote: >> Userspace should be able to initiate device reboots using the various >> PSCI SYSTEM_RESET and SYSTEM_RESET2 types defined by PSCI spec. This >> patch series introduces psci-reboot-mode driver that registers with >> reboot-mode framework to provide this functionality. >> >> The PSCI system reset calls takes two arguments: reset_type and cookie. >> It defines predefined reset types, such as warm and cold reset, and >> vendor-specific reset types which are SoC vendor specific. To support >> these requirements, the reboot-mode framework is enhanced in two key >> ways: >> 1. 64-bit magic support: Extend reboot-mode to handle two 32-bit >> arguments (reset_type and cookie) by encoding them into a single 64-bit >> magic value. >> 2. Predefined modes: Add support for predefined reboot modes in the >> framework. >> >> With these enhancements, the patch series enables: >> - Warm reset and cold reset as predefined reboot modes. >> - Vendor-specific resets exposed as tunables, configurable via the >> SoC-specific device tree. >> >> Together, these changes allow userspace to trigger all above PSCI resets >> from userspace. >> > > Hi Lorenzo, > > Is this patch series now converging towards the design changes you > proposed in v17? We’d like to conclude the design so we can move it > towards closure. Hi Lorenzo, Can you please review if the design aligns with your proposed changes? thanks, Shivendra