From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Luck, Tony" Subject: Re: 2.6.14-rc3-rt2 Date: Thu, 6 Oct 2005 09:25:28 -0700 Message-ID: <20051006162528.GA6006@agluck-lia64.sc.intel.com> References: <5bdc1c8b0510041111n188b8e14lf5a1398406d30ec4@mail.gmail.com> <20051006084920.GB22397@elte.hu> <200510061204.33045.ak@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200510061204.33045.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org To: Andi Kleen Cc: Steven Rostedt , Ingo Molnar , Mark Knecht , linux-kernel@vger.kernel.org, acpi-devel@lists.sourceforge.net List-Id: linux-acpi@vger.kernel.org > It's a theoretical only issue for mainline right now. The only architectures > using the ACPI code are i386,x86-64,ia64. The first two are ok with > truncating. The IA64 PSR is longer than 32bit, but unless I'm misreading the > code they only care about the "i" bit which is also in the lower 32bit (Tony > can probably confirm/deny) Andi is right ... if you follow the "acpi_os_release_lock" trail, you eventually get to include/asm-ia64/system.h with the following definition for __local_irq_restore: #define __local_irq_restore(x) ia64_intrin_local_irq_restore((x) & IA64_PSR_I) and the IA64_PSR_I bit is bit 14 ... safely in the low 32 bits. So this is a correct fix, but will have no effect on ia64. -Tony