[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56B37E52.300@codeaurora.org>
Date: Thu, 4 Feb 2016 10:37:38 -0600
From: Timur Tabi <timur@...eaurora.org>
To: Will Deacon <will.deacon@....com>, 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, 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
Will Deacon 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/
Any reason why we can't just keep it simple and write 0?
Powered by blists - more mailing lists