lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 17 Jan 2008 09:11:57 -0600
From:	Kumar Gala <galak@...nel.crashing.org>
To:	Jochen Friedrich <jochen@...am.de>
Cc:	wim@...ana.be, Scott Wood <scottwood@...escale.com>,
	linuxppc-dev@...abs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH/RFCv2] wdt: Add support for PowerQUICC watchdog


On Jan 17, 2008, at 8:55 AM, Jochen Friedrich wrote:

> Hi Kumar,
>
>> Why are you commenting on mpc83xx_wdt with respect to pq1_wdt?
>> Also, is this driver just for PQ1 platforms or PQ1 & PQ2?  If its  
>> just pq1 we should probably call it pq1_wdt*
>
> It should be for pq1, pq2 and pq2pro. However, i only have the  
> possibility
> to test this on pq1.
>
>>> arch/powerpc/platforms/8xx/mpc86xads_setup.c |    5 +
>>> arch/powerpc/platforms/8xx/mpc885ads_setup.c |    5 +
>>> arch/powerpc/sysdev/Makefile                 |    3 +
>>> arch/powerpc/sysdev/pq_wdt.c                 |  203 +++++++++++++++ 
>>> ++++++++
>>> arch/powerpc/sysdev/pq_wdt.h                 |   28 ++++
>>> drivers/watchdog/Kconfig                     |   13 ++-
>>> drivers/watchdog/Makefile                    |    1 +
>>> drivers/watchdog/pq_wdt.c                    |  225 +++++++++++++++ 
>>> +++++++++++
>>> 8 files changed, 482 insertions(+), 1 deletions(-)
>>> create mode 100644 arch/powerpc/sysdev/pq_wdt.c
>>> create mode 100644 arch/powerpc/sysdev/pq_wdt.h
>>> create mode 100644 drivers/watchdog/pq_wdt.c
>> What are the bits in sysdev/pq_wdt.{c,h}.  Why aren't these just in  
>> drivers/watchdog?
>
> These are the parts needed to boot a device with activated watchdog.  
> If a bootloader like u-boot activates the watchdog, it can't be  
> deactivated again
> and needs to be reset at regular intervals. This is done using a  
> kernel timer.
> The driver in drivers/watchdog disables the timer as soon as the wdt  
> device
> is opened.

Ok, but is there a need for these bits to be in sysdev vs just being  
in the driver and calling into it.

- k
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ