RE: [ia64 R&D] CONFIG_IA64_MCA

Chen, Kenneth W
2004-05-07T21:28:12Z

>>>> Jesse Barnes wrote on Friday, May 07, 2004 12:57 PM
>
> On Tuesday, May 4, 2004 7:51 pm, CURRY,JOHN W (HP-Cupertino,ex1) wrote:
> > Well, once it's working I think this will be okay for our team.
>
> Any chance you could test the patch for me? Anyone else have hw they
> could try it on?

Is there another patch or this is the latest one?
http://www.gelato.unsw.edu.au/linux-ia64/0405/9514.html

If that's the latest one, then it won't boot on any machine with nomca
parameter because once match found, it stuck in the for loop and memcmp
endlessly, cp never gets incremented :-(

How about this one:

diff -Nur linux-2.6.6-rc3/arch/ia64/kernel/setup.c linux-2.6.6-rc3.ken/arch/ia64/kernel/setup.c
--- linux-2.6.6-rc3/arch/ia64/kernel/setup.c 2004-04-27 18:35:09.000000000 -0700
+++ linux-2.6.6-rc3.ken/arch/ia64/kernel/setup.c 2004-05-07 14:22:18.000000000 -0700
@@ -360,8 +360,9 @@
# endif
#endif

- /* enable IA-64 Machine Check Abort Handling */
- ia64_mca_init();
+ /* enable IA-64 Machine Check Abort Handling unless disabled */
+ if (!strstr(saved_command_line, "nomca "))
+ ia64_mca_init();

platform_setup(cmdline_p);
paging_init();