From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.goquest.com (mail.goquest.com [63.172.73.8]) by dsl2.external.hp.com (Postfix) with SMTP id 10B4C4853 for ; Tue, 11 Jun 2002 12:48:06 -0600 (MDT) Content-Type: text/plain; charset="iso-8859-1" From: Michael S.Zick To: Randolph Chung Subject: Re: [parisc-linux] 2.4.18-pa35 SMP process hangs on a J200 Date: Tue, 11 Jun 2002 13:39:38 -0500 Cc: parisc-linux@lists.parisc-linux.org References: <5BA66B90-7D12-11D6-B01F-0030656F07A2@esiee.fr> <02061107100403.00732@localhost.localdomain> <20020611145848.GA2796@tausq.org> In-Reply-To: <20020611145848.GA2796@tausq.org> MIME-Version: 1.0 Message-Id: <02061113393800.04435@localhost.localdomain> Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: On Tuesday 11 June 2002 09:58 am, Randolph Chung wrote: > > think we are looking at multiple bugs here..... > Very likely... You might check the HPPA version of: arch/i386/kernel/irq.c::__global_save_flags. using objdump -d on the kernel.o produced by my compiler (a different version of GCC than used for pa-risc) I find that for the "c" code sequence: .... int cpu = smp_processor_id() ; __save_flags(flags) ; .... generates assembly code which modifies the flags during the initialization of "cpu" before the flags are actually saved. .... in the pa-risc branch, try the equivalent of: .... int cpu ; .... __save_flags(flags) ; .... cpu = smp_processor_id() ; .... Mike