public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: "Li, Hua Qian" <HuaQian.Li@siemens.com>
To: "linux@roeck-us.net" <linux@roeck-us.net>,
	"wim@linux-watchdog.org" <wim@linux-watchdog.org>,
	"conor+dt@kernel.org" <conor+dt@kernel.org>,
	"krzysztof.kozlowski+dt@linaro.org"
	<krzysztof.kozlowski+dt@linaro.org>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>
Cc: "kristo@kernel.org" <kristo@kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"huaqianlee@gmail.com" <huaqianlee@gmail.com>,
	"nm@ti.com" <nm@ti.com>, "vigneshr@ti.com" <vigneshr@ti.com>,
	"Kiszka, Jan" <jan.kiszka@siemens.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"Su, Bao Cheng" <baocheng.su@siemens.com>,
	"linux-watchdog@vger.kernel.org" <linux-watchdog@vger.kernel.org>
Subject: Re: [PATCH v3 0/3] Add support for WDIOF_CARDRESET on TI AM65x
Date: Fri, 14 Jul 2023 07:00:02 +0000	[thread overview]
Message-ID: <840f5d90fdb794e4d07db3f6fb71a14e144e91b7.camel@siemens.com> (raw)
In-Reply-To: <3eec9b79-0505-0b15-f7a0-fcc7f4031c85@roeck-us.net>

On Thu, 2023-07-13 at 10:21 -0700, Guenter Roeck wrote:
> On 7/13/23 02:51, huaqian.li@siemens.com wrote:
> > From: Li Hua Qian <huaqian.li@siemens.com>
> > 
> > The watchdog hardware of TI AM65X platform does not support
> > WDIOF_CARDRESET feature, add a reserved memory to save the watchdog
> > reset cause, to know if the board reboot is due to a watchdog
> > reset.
> > 
> 
> One thing I keep wondering about: What prevents the Linux kernel from
> treating the special memory area like normal memory ? I would have
> expected
> some usage note, such as that the memory area must be reported as
> reserved
> to the kernel, but I don't see anything like that.
> 
> Guenter

Could you help to suggest how to handle it? 

I am not sure where is a good place to write the usage note. I am
thinking to add it in v4 to DT binding.

Best regards,
Li Hua Qian
> 
> > Changes in v3:
> > - Add memory-region back for the reserved memory, and remove
> > reserved
> >    memory from the watchdog IO address space.
> > - Add changelog.
> > - Link to v2:
> >   
> > https://lore.kernel.org/linux-watchdog/20230711091713.1113010-1-huaqian.li@siemens.com
> > 
> > Changes in v2:
> > - Remove memory-region and memory-size properties, and bind the
> > reserved
> >    memory to watchdog IO address space.
> > - Remove the unnecessary rti_wdt_ioctl.
> > - Fix the mail list
> > - Link to v1:
> >   
> > https://lore.kernel.org/all/3137d87e56ef75ba0b8a923d407b2fecace6ccbd.camel@siemens.com/
> >    v1 had a wrong mail list at the beginning, and the mail thread
> > was
> >    messed up.
> > 
> > Li Hua Qian (3):
> >    dt-bindings: watchdog: ti,rti-wdt: Add support for
> > WDIOF_CARDRESET
> >    arm64: dts: ti: Add reserved memory for watchdog
> >    watchdog:rit_wdt: Add support for WDIOF_CARDRESET
> > 
> >   .../bindings/watchdog/ti,rti-wdt.yaml         | 12 +++++
> >   .../boot/dts/ti/k3-am65-iot2050-common.dtsi   | 10 ++++
> >   drivers/watchdog/rti_wdt.c                    | 51
> > +++++++++++++++++++
> >   3 files changed, 73 insertions(+)
> > 
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      reply	other threads:[~2023-07-14  7:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-13  9:51 [PATCH v3 0/3] Add support for WDIOF_CARDRESET on TI AM65x huaqian.li
2023-07-13  9:51 ` [PATCH v3 1/3] dt-bindings: watchdog: ti,rti-wdt: Add support for WDIOF_CARDRESET huaqian.li
2023-07-13  9:59   ` Krzysztof Kozlowski
2023-07-13  9:51 ` [PATCH v3 2/3] arm64: dts: ti: Add reserved memory for watchdog huaqian.li
2023-07-14 22:52   ` Nishanth Menon
2023-07-14 22:52     ` Nishanth Menon
2023-07-14 23:27     ` Guenter Roeck
2023-07-15  5:25       ` Nishanth Menon
2023-07-15  5:25         ` Nishanth Menon
2024-01-08  8:16     ` Li, Hua Qian
2024-01-08 17:22       ` Nishanth Menon
2023-07-13  9:51 ` [PATCH v3 3/3] watchdog:rit_wdt: Add support for WDIOF_CARDRESET huaqian.li
2023-07-13 17:19   ` Guenter Roeck
2023-07-13 17:21 ` [PATCH v3 0/3] Add support for WDIOF_CARDRESET on TI AM65x Guenter Roeck
2023-07-14  7:00   ` Li, Hua Qian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=840f5d90fdb794e4d07db3f6fb71a14e144e91b7.camel@siemens.com \
    --to=huaqian.li@siemens.com \
    --cc=baocheng.su@siemens.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=huaqianlee@gmail.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kristo@kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=nm@ti.com \
    --cc=robh+dt@kernel.org \
    --cc=vigneshr@ti.com \
    --cc=wim@linux-watchdog.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox