Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2001 16:57:27 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Doug Rabson <dfr@nlsystems.com>, Marcel Moolenaar <marcel@xcllnt.net>, ia64@FreeBSD.ORG
Subject:   Re: Hazards [was: Re: cvs commit: src/sys/ia64/ia64 sal.c] 
Message-ID:  <20011022235727.6AD023808@overcee.netplex.com.au>
In-Reply-To: <20011022233613.038A93808@overcee.netplex.com.au> 

index | next in thread | previous in thread | raw e-mail

Peter Wemm wrote:
> as (2.9 and 2.11.2) report:
> pmap.s:1230: Warning: Use of 'ld8' violates RAW dependency 'DTC' (data)
> pmap.s:1230: Warning: Only the first path encountering the conflict is report
    ed
> pmap.s:1213: Warning: This is the location of the conflicting usage
> pmap.s:3463: Warning: Use of 'ld8' violates RAW dependency 'DTC' (data)
> pmap.s:3463: Warning: Only the first path encountering the conflict is report
    ed
> pmap.s:3457: Warning: This is the location of the conflicting usage
> pmap.s:3467: Warning: Use of 'st8' violates RAW dependency 'DTC' (data)
> pmap.s:3467: Warning: Only the first path encountering the conflict is report
    ed
> pmap.s:3457: Warning: This is the location of the conflicting usage

[..]

> I haven't finished looking for the info about this.. Is this real?
> It seems that gas is complaining about an instruction that it thinks
> should be there but is missing.

It seems gas is expecting a srlz.d, but it looks like it isn't necessary in
these cases..  The first bit of code is straight from 16.2.2.2.2 in
volume 2, and the final critical_exit() has the srlz.d.  I assume this isn't
necessary since we know that we're not going to be accessing the user
areas during this loop.

However, pmap_clear_pte() (the second one) appears to work on kernel
mappings..  This could be trouble, right?

eg:
/*
 * Remove a page from the kva
 */
void
pmap_kremove(vm_offset_t va)
{
        struct ia64_lpte *pte;
    
        pte = pmap_find_kpte(va);
        pmap_clear_pte(pte, va);
}

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ia64" in the body of the message



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011022235727.6AD023808>