linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ppc440 caches - change proposal [RFC]
@ 2008-04-08 22:53 John Bonesio
  2008-04-08 22:56 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 7+ messages in thread
From: John Bonesio @ 2008-04-08 22:53 UTC (permalink / raw)
  To: Linuxppc-dev

Hi all,

We've discovered something interesting when not using a bootloader such as uboot to start Linux.

The Linux kernel seems to be depending on the bootloader to set up the ppc440 cache control registers, ivlim and dvlim, to set up the Normal and Transient areas in the caches. When a separate bootloader is not used, these cache control registers have random values.

I can think of a couple reasons why somone might not want to use a separate bootloader. Their device could be so small that there's not enough flash to store booth the bootloader, the kernel image, and other things they need in flash. They could want to improve bootup time for their device.

I was thinking it might be good to have the kernel initialize these cache control registers in it's own start up code. Or perhaps this could be done in the kernel's simple bootloader. We could probably put this change in a Xilinx specific startup file, but this change doesn't seem specific to Xilinx FPGA boards.

Thoughts?

- John

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-04-10 18:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-08 22:53 ppc440 caches - change proposal [RFC] John Bonesio
2008-04-08 22:56 ` Benjamin Herrenschmidt
2008-04-08 23:15   ` Grant Likely
2008-04-09  0:47     ` Josh Boyer
2008-04-09 18:00     ` John Bonesio
2008-04-09 19:50       ` Grant Likely
2008-04-10 18:03         ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).