Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2008 02:20:28 +0100
From:      Olivier Houchard <mlfbsd@ci0.org>
To:        Rafal Jaworowski <raj@semihalf.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Clean up ARM_TP_ADDRESS and RAS location
Message-ID:  <20080127012028.GB19569@ci0.org>
In-Reply-To: <4772E502.6090804@semihalf.com>
References:  <4772E502.6090804@semihalf.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 27, 2007 at 12:34:26AM +0100, Rafal Jaworowski wrote:
> Hi,
> 
> The following patch de-hardcodes usage of ARM_TP_ADDRESS and RAS local
> storage, it also moves this special purpose page to a more convenient place
> i.e. after the vectors high page, more towards the end of address space.
> Previous location (0xe000_0000) caused grief if KVA where to go beyond the
> default limit.
> 
> http://people.freebsd.org/~raj/patches/arm/cleanup_tp_ras.diff
> 
> Let me hear your comments.
> 
> Rafal

Hi Rafal,

I like the patch, and you can almost commit it has it, I just have one 
question :
in cpu_startup(), you remove the hack I used, to map ARM_TP_ADDRESS to
itself, before locking the cache line, and force the allocation of a page.
Does that mean the hack doesn't work for you, and your cpu require a mapping
to a real page ?

Thanks !

Olivier



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