From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Mosberger Date: Tue, 04 Jun 2002 18:36:04 +0000 Subject: RE: [Linux-ia64] Question about wbinvd Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org >>>>> On Tue, 4 Jun 2002 10:13:43 -0700, "Grover, Andrew" said: Andy> I don't know if it is not necessary or not. We changed it Andy> because "wbinvd" is a IA32-ism. IA64 may need to define Andy> ACPI_FLUSH_CPU_CACHE to something appropriate. The current implementation is most likely broken. I'm not exactly sure what the requirements of ACPI_FLUSH_CPU_CACHE are, that's why I'm saying "most likely". I suspect it ought to be using the SAL rather than the PAL flush cache routines (so that off-chip caches get flushed, too). Also, IIRC, the latest interpretation of the SAL cache-flush routines is that they flush the caches only on the CPU that is making the call. So, if the intent is to flush all the caches on all CPUs, an IPI would be needed. --david