[RFC,PATCH 0/2] Allow late mdesc detection
Nicolas Pitre
nico at fluxnic.net
Sun Jul 11 23:39:07 EDT 2010
On Mon, 12 Jul 2010, Jeremy Kerr wrote:
> Hi all,
>
> Currently, we probe for a mdesc early in boot. At this early stage, the
> only thing we use the mdesc for is to determine the debug page mapping.
>
> However, the debug addresses (phys and virt) need to be coded into the
> addruart macro anyway; the dynamic probing is only going to tell us what
> we already know.
The fundamental problem with those patches is that we actually want to
move in the opposite direction for the eventual support of multiple SOCs
in the same kernel, i.e. rely on the machine ID -> mdesc to determine
the right debug addresses at run time and eventually make the addruart
into something that is not hardcoded at compile time.
Nicolas
More information about the linux-arm-kernel
mailing list