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 64D0936920C for ; Thu, 30 Apr 2026 06:15:51 +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=1777529752; cv=none; b=ZmAVFsnUHhHsZSNmX3jfWBO0NndDL4APoJ/609Ypzsbc6F2f82c8gBEAYoWJTrBJDeCd+Y59ShKktxftF1pcx0lwG0zcWSCmKPrimxuQG0nsqmA32v2L/pZwgSfFVIZkdqQW3PPP2gcXrq/Hq6hHdoivKrF6Q+U8XgCE8DX9erw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777529752; c=relaxed/simple; bh=kmbX0XTPH+khESPujp6eG9FWEPnrJtDuQREBrSqGWmg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ViPn5OUfg3MUifKhk0AuMTwx0zcUID42+1NRQ1LDrsou3vNAy8is9sqA5D0B2FPnG+2mGLKEMq6eNDKaVwut+uy5Ll5xi9XYL0uCTcBheG2BMbpssXWDpjG9MZYUwJ5XsH4nnJ39ACkoMbVwA6ZSbSBoh1DCrrV3IlNoHn7mmec= 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=c+sdZ+sf; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=AkwKhPsx; 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="c+sdZ+sf"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="AkwKhPsx" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 63TNumtc3732422 for ; Thu, 30 Apr 2026 06:15:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=XI1Ys6X0HzEWeMMx6Wwm+y2i RQ92XxBIvCwJWthvM+s=; b=c+sdZ+sftVuHDMkQ1mj/sYX0jcgvMDxXKsVHoKSi d0C8js75C+bVRjeS2UjD3t0YuFW1lS/Kbu0yhrSfZ1fXQl+1q/6IgxEkKd52CjmT dth8t2AsBScFbCxKSQrVwokRVPSZ1Vw+/UZ9HRQ/Lr1ow7SDpvLzVldDQS1qK8JE Gj48nwnQtJPwYC1Wikly3cEgBzt7Pwi8mMJ/U2AIoS88lSEPkpZuaWhWoN2Wkn75 NcRReXSIyGYqaQGdPEalC3s7XRdcO8mJ5DdDUb1Za1SZNV7ir0vaS2F9XyXndHDN 2EFYWFekccNpDdfhi1jfKPfjuCHEQNzRYbx684s/alQbWw== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4duv3x93jv-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 30 Apr 2026 06:15:50 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-358f058973fso635629a91.1 for ; Wed, 29 Apr 2026 23:15:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1777529749; x=1778134549; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=XI1Ys6X0HzEWeMMx6Wwm+y2iRQ92XxBIvCwJWthvM+s=; b=AkwKhPsxk8stPUW5G78VHPcyTdiq8v4kUe4oHyskV/VgduIsVBUJ6OC4WdsbZFTLZv jkDgIlPD9/H0VhD94KWn2HYQW0G8i7YmefClu2VHstoKZ+Mm9CbeKuQACHGx1Vvqpa2H pUxbzfas9M9BQ3Ca6pWWTgncPwMxqyt2vKU6xEbFlKih6e+UYgztau+3xPKK8YX40/Vg lFF6ZphtCRXMkFQW43A1aANchZ1f0TP8lG+l3HTzz4ndWUDWGpkmHZChAfa+ZOMCVE+U yS3Pawk1M58oZRuWjpH67l4v7r18/uIVnnBWgONxsLN0TUgQu7NqI1Fu3LoNRCHK1i6i ETWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777529749; x=1778134549; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XI1Ys6X0HzEWeMMx6Wwm+y2iRQ92XxBIvCwJWthvM+s=; b=FGrpSkjUIepPVhuMNZnmBfnPUwQQ6jxXFrRdtTn3h50x2UZcjtIpYg0yuQgbfs2Vh7 jdinMABkyBp5Un1A1ofBoB1zZzXV5oWVdAtBpxkloQnuuk/tzPfRYETpwsxcM+X5bPRR s2BtYxaxfSg5n6uPuARdbk1+86VrY0P7RWquZ02RplM85s4aoGCMyHXh31zDoRUrHteb jGvTxmZT07ZmxBnBCZQaxu8SFyPpxEI7rEcPQrSQCu0MUN6coiNAMdFb7u01wJi1B0tJ nqbsuSzQuznmyJfts8id9+9aRXuFvGkivZSrtRbg7aP4oOJ+oIhxkOAK8zJOg2fmYJbE belA== X-Forwarded-Encrypted: i=1; AFNElJ8LYoPWoeFbbLbHNytohueIv9DTSSM7hmsqOCJVRwL/aiLtDGo5+M4iGUEsOOXuT7Pi0XqTf6iRk1XttEc=@vger.kernel.org X-Gm-Message-State: AOJu0YyNwp8/nnJ0qJsRqBgQxlnZBbOMLs5AAkCB081w800nCpgRbshq qs5kJHfahBD6FowNDP/0nR8pQdk8/+TYpKL2HWAtJ0122KpQu+oXsgUXYpbV3xUAynHnIIc87Wm kpeXrBVzcw5US3Oy/DG9dFQg5jbXrcPxiIWMgit3icnaiXDTOb7VK7/n1h8OGhG6Hw6U/vJ2izL k= X-Gm-Gg: AeBDievdlrHYQvek6offFHxVQ/GFv7XzChOljMR5aWkWcM+ReDBD3DRkIGwCFwU4nvb sX1R7sjo2Cc5X7FYESaORkPBUhTELvLo0m/CKHMkfqit18uhJfKhC4C3FJQgmZQ1Xr+Nrc6PZ7P ICxVc+4JnJs74quRD6jYIn2HOq9yv7y3l6RI6zpcoT57IHc2lJl+Ox1cvr63r1d5ZN3sqkenHxF VFCoz9pYnYyQEx0G5DqcFCoP/YOcbr2vQbp6+Ik/llM2xwfMXwxNlXJ4NLTCD0l5FO0vgeur15q yMws5ZuUj/uf35K63RauPsVgVBaT8pCLa927Pr1rbND5YU3rIiLzlAbR1scMl2d3hsh13B/kq4o Nn0lC4BcyRw0l/IcTwwRmjnsOPeXAQ32ekZRhCKUiWXWjSA0hPR0/3SSxM9d/GO5Jow== X-Received: by 2002:a17:90b:2810:b0:362:bd99:8813 with SMTP id 98e67ed59e1d1-364c2d85ccbmr1463695a91.0.1777529749163; Wed, 29 Apr 2026 23:15:49 -0700 (PDT) X-Received: by 2002:a17:90b:2810:b0:362:bd99:8813 with SMTP id 98e67ed59e1d1-364c2d85ccbmr1463671a91.0.1777529748708; Wed, 29 Apr 2026 23:15:48 -0700 (PDT) Received: from hu-pkondeti-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2b988772ca0sm43712725ad.11.2026.04.29.23.15.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2026 23:15:48 -0700 (PDT) Date: Thu, 30 Apr 2026 11:45:42 +0530 From: Pavan Kondeti To: Bjorn Andersson , Guenter Roeck Cc: Pavankumar Kondeti , Konrad Dybcio , Wim Van Sebroeck , Guenter Roeck , 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 Subject: Re: [PATCH RESEND v8 2/2] watchdog: Add driver for Gunyah Watchdog Message-ID: References: <20260311-gunyah_watchdog-v8-0-4c1c0689de22@oss.qualcomm.com> <20260311-gunyah_watchdog-v8-2-4c1c0689de22@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDMwMDA2MCBTYWx0ZWRfXzFw1aBvyqR5b HvZnaIRejLoTozmXgyO74EUuo7XxIbaXKj5TlYVH+tzSRoWgRaeBgRYQMQJASkLbLuSTxRaYQlX Dc9TR3kPkszC3tZ/sEi1DRUNj3+Zf/ShD2EQ8g38C4refceFO90Y4f8rRQFEARGHqQI8+NAQ6Su FXadOfcBuek4tYEZkt60lmylAbGiS5nc6zzHhcZ/5ItHspKeF7A4dSkFCgg6EHtwZ41q/qOu3Wp q//1e9sDCKz9W6IBebBlDB2tZoBRt4+EvvgBCz/bW6n2dzVW9jEbWDBUxlF4NUeoITpanZOcjeR CizujmUImsgPiLGie1QJCcgsBae/57jnhyiUwRIXt0FzH75ZQZtyjfka9ZKVsSvbkIYK5S7b5Ah sSvvBeBa53tNPx40RJouvsc0iymDDUKOarq1Ngy7JC03zuPNbueeqfjjVKHbm7KH91YYpNuVXzX rU5/8U08HVfCVjPe65w== X-Authority-Analysis: v=2.4 cv=Oc2oyBTY c=1 sm=1 tr=0 ts=69f2f396 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=kj9zAlcOel0A:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=KKAkSRfTAAAA:8 a=_jlGtV7tAAAA:8 a=Xunf5EVzr_mzzeh-NLMA:9 a=CjuIK1q_8ugA:10 a=rl5im9kqc5Lf4LNbBjHf:22 a=cvBusfyB2V15izCimMoJ:22 a=nlm17XC03S6CtCLSeiRr:22 X-Proofpoint-GUID: J4mnJ21DTdgj-Lt1Zp88A4pTd18CguQM X-Proofpoint-ORIG-GUID: J4mnJ21DTdgj-Lt1Zp88A4pTd18CguQM 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-04-30_02,2026-04-28_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 spamscore=0 lowpriorityscore=0 phishscore=0 suspectscore=0 impostorscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604300060 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? Thanks, Pavan