[PATCH] ppc476: Enable a linker work around for IBM errata #46

Josh Boyer jwboyer at gmail.com
Tue Feb 25 00:35:06 EST 2014


On Mon, Feb 24, 2014 at 2:00 AM, Alistair Popple <alistair at popple.id.au> wrote:
> This patch adds an option to enable a work around for an icache bug on
> 476 that can cause execution of stale instructions when falling
> through pages (IBM errata #46). It requires a recent version of
> binutils which supports the --ppc476-workaround option.
>
> The work around enables the appropriate linker options and ensures
> that all module output sections are aligned to 4K page boundaries. The
> work around is only required when building modules.

What happens if you're using 64K pages?  Is the alignment 4K always,
or does it need to be aligned to PAGE_SIZE?

josh


More information about the Linuxppc-dev mailing list