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 C535535C18A for ; Fri, 14 Nov 2025 21:39:37 +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=1763156379; cv=none; b=aLCP1dqUTul1mLYbHy2p8XLZFzTpBc8yemDSXBQepOopMwGIUi5lOOBADtR3lEnN8yTTUulisA3hEsMtdgBi/l5sfU0kXktaA4/ukIZFY4Qc1f7dCTWZJHb0U8/RieCRQCG3AJmySvcHylxbOQ5besTTLqvlOa0l9X1MH+A2q4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763156379; c=relaxed/simple; bh=ZHS1Ve0lJVsZcUbYN/dn1jMxqM5DQVkG29AZCxZ5bnA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SKd9vYfytjVwCMRf0ewDQskWquQ44tK7QZNI9QgASk02gN8+grvobh0DEo/7eOKYgFIAC8EC4gZXDb7jkRhpsqvSPNVob3jxs2s5sUVcAndvjBps0X1I8gmgzIcqstuaee9vkr7pflcW8Jc9FnsabIU7aU7oofcErK2mP9uhV5Y= 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=YiaIGUJ8; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=OGeEdt4U; 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="YiaIGUJ8"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="OGeEdt4U" 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 5AEIPtjH241011 for ; Fri, 14 Nov 2025 21:39:36 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= otBe/rMrbE1YTzc5bfCsAUJkZyo7ZMz5fnQzamsyzj8=; b=YiaIGUJ8sIqDa5mH MG0jFO4LKjhhRJBwxm1RFoJxh0K1+DPExeyc9m+gB547I62ZGJjxpbcgOC4+i0zl o42Ma6s0Eu/IuImXYk0NsmScOG8FwXFD6wr/6lq6cnFZ+zKIBtFB7rSHujaRfMDL 4pO6FC8zjXYIrdO0ybAZwUrREGXhY3+O628IIWfesTdXuVWRNZvU/VVfJfhl8Z+q SgZmN5/SYli2AHpGfezNb2V2p6sNjxOfuFei+cI+L3V5X04TyxWG/9oI6WHMBsQj wPjVdxAwPbnXPM80JA5DENY9eE8H3LETcjoAih+AqqX6dxKmp5xXQGWGLYG507al rNdC+w== Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ae7pj0wsn-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 14 Nov 2025 21:39:36 +0000 (GMT) Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-4ee05927208so245671cf.1 for ; Fri, 14 Nov 2025 13:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1763156376; x=1763761176; 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=otBe/rMrbE1YTzc5bfCsAUJkZyo7ZMz5fnQzamsyzj8=; b=OGeEdt4U+3Dr5PpPs2FwGGg09ugzmkq+i7UukWcPuaJXp62z44ABoyUtMjIO8JHEyh dI6TikH4bGlFW1IZ2cTj5zvWf/804mAW5z914o/kcNY5Ocm+Jo1ln7UNJsJyxkMWXxIO pQlmQHNHHLrC9YQLuC5771KiPfgPi3pRC2BX+EMB/1pnjH8hKAhSq/Q6cCi2bYudxx69 kLgJ816LzLtfEY5UWpRrm1VOuIcFjbTHCwsw/9ZFbi/PoQ3BRZwVJ8Ewtn7v+sNPDQ4K fFxFwOVZeKMijbeaCahft5PVgZvqCiGaQUREwtiSCSM8q/LuwmmDbtzYhWcCD1BiIEUM 3JlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763156376; x=1763761176; 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=otBe/rMrbE1YTzc5bfCsAUJkZyo7ZMz5fnQzamsyzj8=; b=hVMLZqEU4mf2J9c3Lv9e12LcrlZYXqbueoeEnWUJgWudGGYyCpIilTdVEbgHZXhhJ8 qHafzJoS/EwQPDeYDRVYqO9Lk1Hg65v3qiOP28O60cPBNjB0b4dSGUwAOHBiHUvEt8mg MNoaqSNs7i7IO83yEyggCK/M/+o3u7ivaVrT4yv5J92oig2ve789GBfOoef2DlrNHVTr uBnLUOg92ysUJdggLBijb1SxcmNxabVLWEfu33UYqTDC2IFDmGNF0hlzNNbQeZI0+KUE dGoVb9G6f097BGd9/p9qAJ2rEN+erhKGr+1yJAakq9yfFT4oVSeSgthJ0YLuFDVbEGxj EbDg== X-Forwarded-Encrypted: i=1; AJvYcCUWnlBMhn4v2lSXpeUrkVv2+n/BrxwKLjqlSVNbWM1UOAWZjBiD8mDZd3QRL+y6mVmqe2ZgGKRUNOIge4Y=@vger.kernel.org X-Gm-Message-State: AOJu0YyW1Ww/dOhfY9wG6zuBDZbvd26e1ypOY6ogbfkk5OT/LQBVgFye CRjm994fd7lRTvF7J4xkFsBP9SJh7J4kKvtGCbGCFq1eemhRXGGqEVIduFWaArXW3HZzQep5ukz khT75OwQKbiCmy9dKgAsdasptJWFwKEy/RZkHOVl4pM1PtqY3Dat0bahXP48cqKqz9g4= X-Gm-Gg: ASbGncs2dj8d8F2qm7Hixd1mmPjR3XX6aljRwjBvRiAGQ9EcoN+qFJhf9inaabRb1JJ Qhv6EyC8EB66epgDkbOa0xK2DzdPJiqilodbbFr7NFDXUayHdw69/6x8S5KGMlBYO9MKBY4+fSA aSr/BhWaqvJg/LK3Ujwxq23xjLHKupIWOnZgnobC2Sbw0113Efa6M7yuhMsQnCgeUXyJBU8W2cZ pA9zl2qEvHwRr5rWIp7f+Tc6I0y3Fm+dVCH5fG8x8q/axcW1+N49zG3oawjCq/w9jmypcWNTryJ zpdbtacdnqGtrp0Pg8/QxQ9bS/p+V1dBQ3I7Bm6iQtDRep+zA5/o3daK2SwcPki9PQC8BlJ813Y /tHg26gsjksx4VrjoUW7SbIfGxFB7RQn9NrGm01Ib61qtVa/ZaR8oHpQA X-Received: by 2002:a05:622a:46:b0:4ec:eef1:52f7 with SMTP id d75a77b69052e-4edf372e061mr45325271cf.11.1763156375993; Fri, 14 Nov 2025 13:39:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXCq+Z4cf78DQLJIO/O48dRU1rZcKjnoPmpmh32Tu8KqQvjlBSQTN5wBhCxB6vHlVmhvAlJw== X-Received: by 2002:a05:622a:46:b0:4ec:eef1:52f7 with SMTP id d75a77b69052e-4edf372e061mr45324901cf.11.1763156375548; Fri, 14 Nov 2025 13:39:35 -0800 (PST) Received: from [192.168.119.202] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6433a4b19dcsm4295103a12.27.2025.11.14.13.39.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Nov 2025 13:39:34 -0800 (PST) Message-ID: <11ea6680-6aeb-49d7-97de-c44fafcc2e8e@oss.qualcomm.com> Date: Fri, 14 Nov 2025 22:39:31 +0100 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 1/2] efi/reboot: Add support for EFI_RESET_PLATFORM_SPECIFIC To: Sumit Garg , linux-arm-kernel@lists.infradead.org, linux-efi@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: catalin.marinas@arm.com, will@kernel.org, ardb@kernel.org, mark.rutland@arm.com, andersson@kernel.org, konradybcio@kernel.org, dmitry.baryshkov@oss.qualcomm.com, shivendra.pratap@oss.qualcomm.com, leif.lindholm@oss.qualcomm.com, linux-kernel@vger.kernel.org, Sumit Garg References: <20251114085058.2195900-1-sumit.garg@kernel.org> <20251114085058.2195900-2-sumit.garg@kernel.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20251114085058.2195900-2-sumit.garg@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: YrSXy-LGr14Kbkmz8z4iDYat0PBDwidm X-Authority-Analysis: v=2.4 cv=Z53h3XRA c=1 sm=1 tr=0 ts=6917a198 cx=c_pps a=JbAStetqSzwMeJznSMzCyw==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=IJHIyZBPcXzIKyMZlaoA:9 a=QEXdDO2ut3YA:10 a=uxP6HrT_eTzRwkO_Te1X:22 X-Proofpoint-GUID: YrSXy-LGr14Kbkmz8z4iDYat0PBDwidm X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTE0MDE3NiBTYWx0ZWRfX4Bsf9pKH7c4U HBJE4FsTpGoSXSWBRQ7CXjDGRqDd4yR0OA7vPns1NjqCUP1df7MN3t3Zd4AiYmZNSYjH0VpR2T2 f9KWxVg1kHbjYfwFSmTf8eGbWXiL48Oji7o8Qr/Es3j+fQXlPaMia/kSDG88y61cmM9VeFGQFxa TvJxmp9r35CgJH9UW/PR8L447VmVvOOfdxycbiu/qUOX+p34Dnj7rUSIETAkF3buIfW/kfZn3wq ps3B0jYkpJ3bplCKkOBvknbsi2t+MwwEjPisSxFhK8TpvBOr0MoW1Xwvgy+pqwtA2U9xdBI/MOz fgwgvdtPUoBvwjQkwWU3k4A8KSRB+MrvLMikMHcC7p4b2XSJSVqehqj5Xt98wKDuToCGMr39hTO 1iepTnR2oDtE3mrOd98aIF64REZsYQ== 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=2025-11-14_07,2025-11-13_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 suspectscore=0 impostorscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511140176 On 11/14/25 9:50 AM, Sumit Garg wrote: > From: Sumit Garg > > UEFI specification provides support for EfiResetPlatformSpecific reset > type as follows: > > " > ResetSystem: > > Calling this interface with ResetType of EfiResetPlatformSpecific > causes a system-wide reset. The exact type of the reset is defined > by the EFI_GUID that follows the Null-terminated Unicode string passed > into ResetData. If the platform does not recognize the EFI_GUID in > ResetData the platform must pick a supported reset type to perform. > The platform may optionally log the parameters from any non-normal > reset that occurs. > " > > Lets use the ResetData to pass the platform specific reboot command > issued and leave it's interpretation to UEFI implementation following > the specification. > > Signed-off-by: Sumit Garg > --- Reviewed-by: Konrad Dybcio Konrad