[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <263d1390-eff5-4846-b2c2-31f96fc3248e@quicinc.com>
Date: Mon, 10 Nov 2025 09:43:53 +0530
From: Pavan Kondeti <pavan.kondeti@....qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
Cc: hrishabh.rajput@....qualcomm.com, Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, linux-arm-msm@...r.kernel.org,
linux-watchdog@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Pavan Kondeti <pavan.kondeti@....qualcomm.com>,
Neil Armstrong <neil.armstrong@...aro.org>
Subject: Re: [PATCH v5 1/2] firmware: qcom: scm: Register gunyah watchdog
device
On Sat, Nov 08, 2025 at 07:26:46PM +0200, Dmitry Baryshkov wrote:
> > +static void qcom_scm_gunyah_wdt_free(void *data)
> > +{
> > + struct platform_device *gunyah_wdt_dev = data;
> > +
> > + platform_device_unregister(gunyah_wdt_dev);
> > +}
> > +
> > +static void qcom_scm_gunyah_wdt_init(struct qcom_scm *scm)
> > +{
> > + struct platform_device *gunyah_wdt_dev;
> > + struct device_node *np;
> > + bool of_wdt_available;
> > + int i;
> > + uuid_t gunyah_uuid = UUID_INIT(0xc1d58fcd, 0xa453, 0x5fdb, 0x92, 0x65,
>
> static const?
>
> > + 0xce, 0x36, 0x67, 0x3d, 0x5f, 0x14);
> > + static const char * const of_wdt_compatible[] = {
> > + "qcom,kpss-wdt",
> > + "arm,sbsa-gwdt",
> > + };
> > +
> > + /* Bail out if we are not running under Gunyah */
> > + if (!arm_smccc_hypervisor_has_uuid(&gunyah_uuid))
> > + return;
>
> This rquires 'select HAVE_ARM_SMCCC_DISCOVERY'
>
Probably `depends on HAVE_ARM_SMCCC_DISCOVERY` is correct here.
Thanks,
Pavan
Powered by blists - more mailing lists