public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* INIT handler modification
@ 2005-01-07 14:13 Francois Wellenreiter
  2005-01-07 17:51 ` Bjorn Helgaas
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Francois Wellenreiter @ 2005-01-07 14:13 UTC (permalink / raw)
  To: linux-ia64


				Dear all,


	first of all, my best wishes for this new year.
Second, I just wanted to start a discussion about INIT handler 
considerations.
Here is the main point, the present code of INIT handler for slave CPUs 
is reduced
to (file arch/ia64/kernel/mca_asm.S) :
______________________________

GLOBAL_ENTRY(ia64_slave_init_handler)
1:      br.sptk 1b
END(ia64_slave_init_handler)
______________________________

I think that when the kernel is deadlocked on another CPU than the 
monarch one,
the traces may be a bit short when I push on the "DUMP" button to have a 
complete
diagnosis of my system.

Thus, I propose you to change the following code (file 
arch/ia64/kernel/mca.c)
______________________________

void __init
ia64_mca_init(void)
{
         ia64_fptr_t *mon_init_ptr = (ia64_fptr_t 
*)ia64_monarch_init_handler;
         ia64_fptr_t *slave_init_ptr = (ia64_fptr_t 
*)ia64_slave_init_handler;
.....
______________________________

into

______________________________

void __init
ia64_mca_init(void)
{
         ia64_fptr_t *mon_init_ptr = (ia64_fptr_t 
*)ia64_monarch_init_handler;
         ia64_fptr_t *slave_init_ptr = (ia64_fptr_t 
*)ia64_monarch_init_handler;
.....
______________________________

What do you think about it ? Do you fear it may induce an unwanted 
behavior towards MCA handling ?

Best regards,

					Francois WELLENREITER


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-09 17:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-07 14:13 INIT handler modification Francois Wellenreiter
2005-01-07 17:51 ` Bjorn Helgaas
2005-01-07 23:57 ` Luck, Tony
2005-01-08  1:26 ` Keith Owens
2005-01-09 17:21 ` Russ Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox