From owner-p4-projects@FreeBSD.ORG Tue Apr 25 07:03:12 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D886E16A404; Tue, 25 Apr 2006 07:03:12 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B690B16A402 for ; Tue, 25 Apr 2006 07:03:12 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7052043D48 for ; Tue, 25 Apr 2006 07:03:12 +0000 (GMT) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3P73CYM073306 for ; Tue, 25 Apr 2006 07:03:12 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3P73Cn4073298 for perforce@freebsd.org; Tue, 25 Apr 2006 07:03:12 GMT (envelope-from kmacy@freebsd.org) Date: Tue, 25 Apr 2006 07:03:12 GMT Message-Id: <200604250703.k3P73Cn4073298@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 96051 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 07:03:13 -0000 http://perforce.freebsd.org/chv.cgi?CH=96051 Change 96051 by kmacy@kmacy_storage:sun4v_rwbuf on 2006/04/25 07:02:55 use real addresses to ack ipis Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/interrupt.S#7 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/interrupt.S#7 (text+ko) ==== @@ -425,16 +425,15 @@ END(tl_invlpg) ENTRY(set_ackmask) - MAGIC_TRAP_ON - GET_PCPU_SCRATCH - ld [%g3], %g1 - ld [PCPU(CPUMASK)], %g4 + GET_PCPU_PHYS_SCRATCH(%g6) + wr %g0, ASI_REAL, %asi + lda [%g3]%asi, %g1 + lda [PCPU(CPUMASK)]%asi, %g4 1: or %g1, %g4, %g2 - cas [%g3], %g1, %g2 + casa [%g3]%asi, %g1, %g2 cmp %g1, %g2 bne,pn %icc, 1b mov %g2, %g1 - MAGIC_TRAP_OFF ba,a,pt %xcc, cpu_mondo - nop + membar #StoreLoad END(set_ackmask)