[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160204163101.GH17257@arm.com>
Date: Thu, 4 Feb 2016 16:31:02 +0000
From: Will Deacon <will.deacon@....com>
To: fu.wei@...aro.org
Cc: robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org, wim@...ana.be,
linux@...ck-us.net, corbet@....net, catalin.marinas@....com,
Suravee.Suthikulpanit@....com, linux-kernel@...r.kernel.org,
linux-watchdog@...r.kernel.org, linux-doc@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linaro-acpi@...ts.linaro.org, rruigrok@...eaurora.org,
harba@...eaurora.org, cov@...eaurora.org, timur@...eaurora.org,
dyoung@...hat.com, panand@...hat.com, graeme.gregory@...aro.org,
al.stone@...aro.org, hanjun.guo@...aro.org, jcm@...hat.com,
arnd@...db.de, leo.duran@....com, sudeep.holla@....com
Subject: Re: [PATCH v10 4/5] Watchdog: introduce ARM SBSA watchdog driver
On Thu, Feb 04, 2016 at 01:18:42AM +0800, fu.wei@...aro.org wrote:
> +static int sbsa_gwdt_keepalive(struct watchdog_device *wdd)
> +{
> + struct sbsa_gwdt *gwdt = to_sbsa_gwdt(wdd);
> +
> + /*
> + * Writing WRR for an explicit watchdog refresh.
> + * You can write anyting(like 0xc0ffee).
> + */
> + writel(0xc0ffee, gwdt->refresh_base + SBSA_GWDT_WRR);
> +
> + return 0;
> +}
You might get in trouble for that. 0xd09f00d is probably less poisonous.
http://www.petpoisonhelpline.com/poison/caffeine/
Will
Powered by blists - more mailing lists