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 9349A202963 for ; Tue, 5 May 2026 04:03:46 +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=1777953828; cv=none; b=KFANLqDgjlP0ICz/oRN0CuhtB78bgl5qmBs2KPnRj5ahw7dGNp97ynkAaM6qy1Hx8OTv5rRYTaLfhWRiqfqjJz0oU7Bdm0Qb7FtDMrwWZXrdAP8WMeReBCgppMpjlZ00lASTOJukkFKEoQR+WBrvtDBpKljOPdhY+BQsyupUqlE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777953828; c=relaxed/simple; bh=ZuHj1CaGIwM5CyRrzl4MhNkMttdLsH2fTr5J7/qxBpQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qv0vWeNprWZCH5qSSP4pDfzx0Xz9Vf8vNrKemPgunSwP/sK4BFHWl4NORpW4AsXvz8chqqIHY8UHRN5zl0esGYG+78b0eFiLy5pNkhSIw2UGgLIllKy0ianBS7OmjVzHN1x5uU2WB7fSGfxgWzXMHwO4zspRRLLjbkgF9tAyuGk= 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=NoJJEZSK; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ZmANIiB9; 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="NoJJEZSK"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ZmANIiB9" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 644M06Wh1960774 for ; Tue, 5 May 2026 04:03:46 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= DbuCmHz6zfVOe2R0JIVOeIn//8PqSAWi8vGQ7sX9EbI=; b=NoJJEZSKYS/21L1h 9U1+B6DlAhRN2A3Kz4Z2plpaUVbiZt14/AmcIbWP3gI3ob74h1U7Do9iR7/jLv9u eUnuTqJrkZ5/Aro5He2DvI+WPe79YWCtoNj9IpTuC0Pr/Q+4aqRn4hgAHBxMC9V6 sSgYUo0+f1zq51M8kPVsDlDjafeIw6lIeq3aQmvLPdY94/Dx/ZD5RIuKyDDXf7DV eI0BeIsWy4HXUHLvVAlybYre6jQqZMOj0Kp6E2FrsJldY+d3u8AXUkPV2IclTsv/ f25jqvlFDOQnHUqDozq1XpxeLG0er8wRgEJ/xcDpz+gljb6AUIiouOszv0hnmdBr 6RbCrA== 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 4dxw5dtgn5-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 05 May 2026 04:03:45 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2b7c2ee830aso105097425ad.3 for ; Mon, 04 May 2026 21:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1777953825; x=1778558625; 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=DbuCmHz6zfVOe2R0JIVOeIn//8PqSAWi8vGQ7sX9EbI=; b=ZmANIiB9JwaVnOGB//8lJcIiQv+m73jO1yS+Nche0qfSxkMAFNPnqrGoi/F5X7qK1X w1tNfnrnO11ntCKKRYSGMHuprfaipAsBsbN+PLT6yYN9nG50Hkq5du7orCK263zm/26l qUgPdxPq865AMl/C42BdZkbeqRLLlPADU+3k0wTnp9KFfAilyLEEr1GgOLNDsA38G0Zq Y0uLN0G6+AHIQUEPwCTqXnT8q/8vMLWsrtaZFGzsIJEZjYLaczJPU4qkTXCqmlgflJFC HXsWJ+o5icd5XzvFlLTtdiUi9+yypVldvTSYWX8ys60XM/FQIHuR/KhdcU8z+7+lT3OU yRNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777953825; x=1778558625; 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=DbuCmHz6zfVOe2R0JIVOeIn//8PqSAWi8vGQ7sX9EbI=; b=UMe58lvHjASiZsDO6xaPTJeC1tatu5jyg8C2McKzi2bd579PLcvQ+vo4rp0x+ljxpF yzSsTYN+qfMB9ijWq847E05NwerGNrXoY1/+q1a7ZKIcAoequjpNaSPecmbF1X95k5Zw X+G6UpVnQJUk7wvwxi2tX/5dUg04Sp2S99ftwZgW29sLFDWxYNvv73B8Ta/RkHoPrI/9 xaatUriveDZbqDWgfRrt8+RtZblnxhyPrfDNmDxa65Qt1w7n+nOE0aGSkCd3zsWn5cO4 79kwI31ajGyvIx9f42gur1YemFHh4oX0WjZzkSNBccdSaUqgGstWHMDXyScrRH0TVWBn 01EA== X-Forwarded-Encrypted: i=1; AFNElJ+Bxwo238qNoO62QyAdJNnsE3M7b0XINsxQhW9uFJud+TYWgjqe4ctqMA2cuP+7EStYO1Pm53zG5/NbNuA=@vger.kernel.org X-Gm-Message-State: AOJu0Ywztm/xCit+z2YcIrhQ9AvYEstqGs5CVxuNnd35+NOBt8hzI6kx gI45OJCCFNfPG6bB3GPetbEoVPppl8EH90AGjil6B0BZuoOI2LoBy4ZgqIVrRF2L/B/pEyDlPSB BK/c5yVebbWqmHU9SKciDxHEimxzJF0QlXahv5A0tb2gWt0ZkiqoGOChknkRzTmFwW0E= X-Gm-Gg: AeBDieunziqYgZJAbDqFQeUSXwkf5HtoSLL54lsl1sXEVuXz6yFLbaVCBVo0EBLccCn rP2WnNXxyiUXCLfBpDTgbttAsaTkBjAUE95f7nrVNQq2mxieP5Vv/xhepwkoXzm238vLKYC3hwe uu4s4kmnjKrLtwwgzsFu7KcOpwsM3rVkR/kVghiD+rR5UHGB9TLHWSer60tgRHyB73fDkdY124y 5wS8RVyAtamOLU2W9/S3YHqS1f9xs2UKo/yVg673jen9ZOYqZXg8RvUJzud6N9++UrS6YekNIg6 UH6qW0O0l3vXHiNArsh8mSIxTFNNBcfYSwaGCkcOQoOz6/RS6dLO7T7s+kPkdFWBoZxkv7Wg1vT 7Kg/eq7V2dZgUH7BoUF55YJ7co0XV4THLBtehzs8pyGAOo41JDfqFbvtB5/wC0sPaRNYulfbLWt IHpQ== X-Received: by 2002:a17:903:2385:b0:2b4:62bd:ee3 with SMTP id d9443c01a7336-2ba53883591mr14063055ad.33.1777953825142; Mon, 04 May 2026 21:03:45 -0700 (PDT) X-Received: by 2002:a17:903:2385:b0:2b4:62bd:ee3 with SMTP id d9443c01a7336-2ba53883591mr14062575ad.33.1777953824602; Mon, 04 May 2026 21:03:44 -0700 (PDT) Received: from [10.152.203.161] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2b9caa8a0d9sm121090555ad.9.2026.05.04.21.03.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 May 2026 21:03:44 -0700 (PDT) Message-ID: <3f0271d9-3f11-4867-baf2-0ac5747d786b@oss.qualcomm.com> Date: Tue, 5 May 2026 09:33:38 +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 RESEND v8 2/2] watchdog: Add driver for Gunyah Watchdog To: Pavan Kondeti , Guenter Roeck Cc: Bjorn Andersson , Konrad Dybcio , Wim Van Sebroeck , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, Hrishabh Rajput , Shivendra Pratap , Neil Armstrong , Mukesh Ojha , Dmitry Baryshkov References: <20260311-gunyah_watchdog-v8-0-4c1c0689de22@oss.qualcomm.com> <20260311-gunyah_watchdog-v8-2-4c1c0689de22@oss.qualcomm.com> <38fbf5da-abdd-4951-90d2-941f7cd62299@quicinc.com> Content-Language: en-US From: Kathiravan Thirumoorthy In-Reply-To: <38fbf5da-abdd-4951-90d2-941f7cd62299@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTA1MDAzNCBTYWx0ZWRfX2Y3X3Jfoda6V aemF82aEG89/xQ+ua10rA4rT/2MSe8bF4pfEDNOPlyqyTFwxX2HnoCgm3sNfnTdFErehAhui3za jLbprH9f5PCv8fuikIaUw8brkgAUkAPpbxPXypEXG1J/9NiiEjhnL0uiOUYsk7PtBWV3VcLRxxQ PUhUoVv6zuZg7d/5FFqDEdNM9YczdDz8iwhs1nDbt9OxSNhWVE7doeN4+nURGkG25QubSD+u19S tvUwclqBy7dQQ9ms+YLlXU2ZvVBVtwzfnV2U1UCoy3MDLcF02Rm+IVYL3K68AOC+/9mFBJV4qyq 3w8nAgOG+Re2FJvkFGMrAFpo/psvdR38UU4br/Zr2VucO+55QJj5wHz36/Qd2rUhlQmJGdetnSP NpkyHgWbYj0aAQ/9KxxYIEWoOCpCXcGWE0ggxLOdRdGfd4qFlP0Nplox2VjG9yF2qw3yeXCj9VZ hPF9HdOeMoTVHV12/dQ== X-Proofpoint-GUID: y4K2BWCheO7Qli48Od4_dJSe2xmqJw3z X-Proofpoint-ORIG-GUID: y4K2BWCheO7Qli48Od4_dJSe2xmqJw3z X-Authority-Analysis: v=2.4 cv=HpJG3UTS c=1 sm=1 tr=0 ts=69f96c21 cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=KKAkSRfTAAAA:8 a=_jlGtV7tAAAA:8 a=bOwoz5vNKzCG1Xw9MRgA:9 a=QEXdDO2ut3YA:10 a=uG9DUKGECoFWVXl0Dc02:22 a=cvBusfyB2V15izCimMoJ:22 a=nlm17XC03S6CtCLSeiRr:22 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-05-05_01,2026-04-30_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 impostorscore=0 adultscore=0 clxscore=1015 phishscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2605050034 On 5/5/2026 8:56 AM, Pavan Kondeti wrote: > On Thu, Apr 30, 2026 at 07:37:12AM -0700, Guenter Roeck wrote: >> On 4/29/26 23:15, Pavan Kondeti wrote: >>> On Mon, Mar 30, 2026 at 09:11:48AM -0500, Bjorn Andersson wrote: >>>> On Wed, Mar 11, 2026 at 11:16:31AM +0530, Pavankumar Kondeti wrote: >>>>> From: Hrishabh Rajput >>>>> >>>>> On Qualcomm SoCs running under the Gunyah hypervisor, access to watchdog >>>>> through MMIO is not available on all platforms. Depending on the >>>>> hypervisor configuration, the watchdog is either fully emulated or >>>>> exposed via ARM's SMC Calling Conventions (SMCCC) through the Vendor >>>>> Specific Hypervisor Service Calls space. >>>>> >>>>> Add driver to support the SMC-based watchdog provided by the Gunyah >>>>> Hypervisor. Device registration is done in the QCOM SCM driver after >>>>> checks to restrict the watchdog initialization to Qualcomm devices >>>>> running under Gunyah. >>>>> >>>>> Gunyah watchdog is not a hardware but an SMC-based vendor-specific >>>>> hypervisor interface provided by the Gunyah hypervisor. The design >>>>> involving QCOM SCM driver for registering the platform device has been >>>>> devised to avoid adding non-hardware nodes to devicetree. >>>>> >>>>> Tested-by: Shivendra Pratap >>>>> Tested-by: Neil Armstrong >>>>> Tested-by: Mukesh Ojha >>>>> Reviewed-by: Guenter Roeck >>>>> Reviewed-by: Dmitry Baryshkov >>>>> Signed-off-by: Hrishabh Rajput >>>>> Signed-off-by: Pavankumar Kondeti >>>> Guenter, there's no build-time dependency between the two patches. I'm >>>> applying patch 1 through the qcom tree, please apply this patch through >>>> the watchdog tree. >>>> >>> Thanks Bjorn. I noticed that 1/2 is available in v7.1-rc1 , however 2/2 >>> is missing. Guenter, can you please pick it up for next release? >>> >> I don't send watchdog patches upstream; that has always been handled by Wim. >> >> Guenter >> >> > Thanks Guenter for the reply. > > Wim, > > Can you please include this driver (2/2 PATCH) for the next release? Please let us > know if I need to do anything else? Pavan, Please look at the announcement from the Guenter[1] and I see this change in the watchdog-next branch of Guenter's tree[2]. [1] https://lore.kernel.org/linux-watchdog/cc68acee-484b-4fa5-a3f3-6add81d63d22@oss.qualcomm.com/T/#m11e748ea57c88853b8bdc4e41cac08b7c1cd1b77 [2] https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/log/?h=watchdog-next Thanks, Kathiravan T. > > Thanks, > Pavan >