On Tue, Jan 22, 2008 at 02:08:58PM -0700, Jordan Crouse wrote:
Indeed, that looks exactly like what's happening.
I certainly can understand.
OK.
No but I have CONFIG_HZ=250. That makes sense then :
#define MFGPT_HZ (32000 / MFGPT_DIVISOR)
#define MFGPT_PERIODIC (MFGPT_HZ / HZ)
=> MFGPT_PERIODIC = (32000 / 16) / 250 = 8
Given that it's 32.768 kHz in fact, we get 32768/16/8 = 256 Hz
Why not just ajust the constant in MFGPT_HZ since it's the only place (aside
the comments) where this is referenced ?
If you want I can send you a patch and adjust the comments at the same time.
OK I perfectly understand. While I see the current behaviour as a regression
compared to 2.6.22-mainline (since 2.6.24-rc8 does not boot off from this
board without nomfgpt), the first problem is in the BIOS and it requires an
upgrade. Maybe we should extend the scope of CONFIG_GEODE_MFGPT_TIMER to
allow it to completely disable the detection logic when it's off ? I certainly
can work a clean patch for "mfgptfix", but for users who will get caught with
this board not booting at all anymore, adding an option in their boot loaders
may be as problematic as upgrading the BIOS. I'm also thinking about the ones
preparing new software updates from a recent boards and deploying them miles
away without knowing they are running a 0.98 BIOS which will prevent their
new kernel from booting.
You're welcome, thanks to you too :-)
Willy
--