<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">> Good discussion of these issues in the thread at:<br>> http://marc.info/?l=linux-kernel&m=120050717608600&w=2<br>I have been researching and doing trial and error (based on the above email discussion) since last couple of days to resolve my Geode Watchdog question and I would really appreciate if you can answer my simple questions (see last).<br><br>First I will provide details of my findings. <br>Note: This info might be useful for people running General Software BIOS on LX/CS5536 platform to cross-check with.<br><br>Kernel: 2.6.26 git kernel<br>Debian Stable (etch)<br><br>Case 1:<br>With CONFIG_GEODE_MFGPT_TIMER(y) and CONFIG_GEODE_WDT(m) enabled:<br> - I get system hang during as noted in the above email thread.<br><br>Case 2:<br>Workaround based on the discussion:<br>With CONFIG_GEODE_MFGPT_TIMER(y) and CONFIG_GEODE_WDT(m) enabled and mfgpt_irq=8<br>- The system boots fine and here is interrupt output:<br><br>dmesg:<br>
[ 0.102468] geode-mfgpt: 6 MFGPT timers available.<br>
[ 0.102549] geode-mfgpt: Registered timer 1<br>
[ 0.102649] mfgpt-timer: registering the MFGPT timer as a clock event.<br><br>cat /proc/interrupts<br> CPU0 <br> 0: 26 XT-PIC-XT timer<br> 1: 9 XT-PIC-XT i8042<br> 2: 0 XT-PIC-XT cascade<br> 3: 3 XT-PIC-XT <br> 4: 3 XT-PIC-XT <br> 8: 4829 XT-PIC-XT mfgpt-timer<br> 9: 392 XT-PIC-XT yenta, ehci_hcd:usb1, yenta, ohci_hcd:usb2<br> 11: 361 XT-PIC-XT eth1, eth0<br> 12: 105 XT-PIC-XT i8042<br> 14: 2178 XT-PIC-XT ide0<br>NMI: 0 Non-maskable interrupts<br>LOC: 0 Local timer interrupts<br>TRM: 0 Thermal event interrupts<br>SPU: 0 Spurious interrupts<br>ERR: 0<br>MIS: 0<br><br>Case 3:<br>With just CONFIG_GEODE_WDT(m) enabled and disabling CONFIG_GEODE_MFGPT_TIMER<br>- system boots fine and I can use the geodewdt WATCGDOG. Here are some outputs:<br>dmesg:<br>[ 0.102468] geode-mfgpt: 6 MFGPT timers available.<br>[ 0.102549] geode-mfgpt: Registered timer 1<br><br>cat /proc/interrupts<br> CPU0 <br> 0: 8868 XT-PIC-XT timer<br> 1: 9 XT-PIC-XT i8042<br> 2: 0 XT-PIC-XT cascade<br> 3: 3 XT-PIC-XT <br> 4: 3 XT-PIC-XT <br> 9: 350 XT-PIC-XT ohci_hcd:usb1, ehci_hcd:usb2<br> 11: 172 XT-PIC-XT eth1, eth0<br> 12: 105 XT-PIC-XT i8042<br> 14: 2308 XT-PIC-XT ide0<br>NMI: 0 Non-maskable interrupts<br>LOC: 0 Local timer interrupts<br>TRM: 0 Thermal event interrupts<br>SPU: 0 Spurious interrupts<br>ERR: 0<br>MIS: 0<br><br>Now my question which I had asked in my first post:<br><br>Are CONFIG_GEODE_MFGPT_TIMER and CONFIG_GEODE_WDT dependent on each other functionality wise?<br><br>Based on this email http://www.gossamer-threads.com/lists/linux/kernel/866676 it seems that we can disable CONFIG_GEODE_MFGPT_TIMER for BIOSes that are having trouble.<br><br>Will I loose some of my watchdog functionality by disabling the MFGPT timers?<br><br>I apologize for not being familiar with the watchdog territory. This is my first stab at getting the watchdog working on our boards.<br><br>Thank you for your time.<br><br></div>Kushal Koolwal<br><br>I do blog at http://blogs.koolwal.net/<br><br><br><br><hr id="stopSpelling">> Date: Mon, 23 Jun 2008 23:56:52 +0100<br>> From: ilp@lkml.darkvoyage.org.uk<br>> To: kushalkoolwal@hotmail.com<br>> CC: linux-geode@bombadil.infradead.org<br>> Subject: Re: GEODE CS5535/CS5536 Watchdog Timer question<br>> <br>> Kushal Koolwal wrote:<br>> > Perhaps for now I got my partial answer:<br>> > <br>> > Enabling CONFIG_GEODE_MFGPT_TIMER causes a system hang during boot.<br>> <br>> Good discussion of these issues in the thread at:<br>> http://marc.info/?l=linux-kernel&m=120050717608600&w=2<br>> <br>> FWIW, I have both enabled, no hangs on boot and a working watchdog.<br>> <br>> Iain<br><br /><hr />The other season of giving begins 6/24/08. Check out the i’m Talkathon. <a href='http://www.imtalkathon.com?source=TXT_EML_WLH_SeasonOfGiving' target='_new'>Check it out!</a></body>
</html>