Re: [PATCH RESEND v8 2/2] watchdog: Add driver for Gunyah Watchdog
From: Pavan Kondeti
Date: Thu Apr 30 2026 - 02:15:56 EST
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 <hrishabh.rajput@xxxxxxxxxxxxxxxx>
> >
> > 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 <shivendra.pratap@xxxxxxxxxxxxxxxx>
> > Tested-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> > Tested-by: Mukesh Ojha <mukesh.ojha@xxxxxxxxxxxxxxxx>
> > Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
> > Signed-off-by: Hrishabh Rajput <hrishabh.rajput@xxxxxxxxxxxxxxxx>
> > Signed-off-by: Pavankumar Kondeti <pavan.kondeti@xxxxxxxxxxxxxxxx>
>
> 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