Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262882AbUD2ByN (ORCPT ); Wed, 28 Apr 2004 21:54:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262897AbUD2ByN (ORCPT ); Wed, 28 Apr 2004 21:54:13 -0400 Received: from ozlabs.org ([203.10.76.45]:24768 "EHLO ozlabs.org") by vger.kernel.org with ESMTP id S262882AbUD2Bxp (ORCPT ); Wed, 28 Apr 2004 21:53:45 -0400 Date: Thu, 29 Apr 2004 11:49:59 +1000 From: David Gibson To: Linus Torvalds , Andrew Morton Cc: Anton Blanchard , Paul Mackerras , linux-kernel@vger.kernel.org, linuxppc64-dev@lists.linuxppc.org Subject: POWER5 erratum workaround Message-ID: <20040429014959.GA18309@zax> Mail-Followup-To: David Gibson , Linus Torvalds , Andrew Morton , Anton Blanchard , Paul Mackerras , linux-kernel@vger.kernel.org, linuxppc64-dev@lists.linuxppc.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.5.1+cvs20040105i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2338 Lines: 72 Linus, please apply: Early POWER5 revisions ( NR_STAB_CACHE_ENTRIES) { + /* + * flush segment in EEH region, we dont normally access + * addresses in this region. + */ + esid_data.word0 = 0; + esid_data.data.esid = EEH_REGION_ID; + asm volatile("slbie %0" : : "r" (esid_data)); + } + __get_cpu_var(stab_cache_ptr) = 0; preload_slb(tsk, mm); -- David Gibson | For every complex problem there is a david AT gibson.dropbear.id.au | solution which is simple, neat and | wrong. http://www.ozlabs.org/people/dgibson - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/