From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zoltan Menyhart Date: Wed, 27 Feb 2008 10:06:31 +0000 Subject: Re: ia64_mca_cpe_int_handler Message-Id: <47C53627.5000209@bull.net> List-Id: References: <47BF02EC.4080102@bull.net> In-Reply-To: <47BF02EC.4080102@bull.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org Russ, Thank you for your remarks. I want to add a new mechanism for the MCA/INIT handlers to be able to store their logs in a safe way. (No locks, no waiting,...) This will be based on the two buffers and the atomic counter for each of the MCA/INIT handlers. And I want to keep the existing mechanism when we are not in MCA/INIT handlers' contexts. Using separate mechanisms, avoids MCA/INIT handlers interfering with the interrupts and the polling. Should we receive too many CPEIs / CMCIs, chaining into polling, may make us lose events. Should we receive too many recovered MCAs or INITs, there will always be some logs lost. I want to keep the first and the last log. The first one to know how it begins. Why the last one? I've got a _feeling_ that the last one will have accumulated consequences (whatever it is) of the preceding ones. If they are note recovered, the game is over anyway. I'll think it over again :-) Thanks, Zoltan