Re: [bg-linux] [PATCH 6/7] [RFC] enable early TLBs for BG/P
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2011-05-20 03:52:35
Also in:
linuxppc-dev
Unfortunately, the firmware is also required: - to configure Blue Gene Interrupt Controller(BIC)
Can't we just write bare metal code for that ?
- to configure Torus DMA unit. e.g. fifo
Same
- to configure global interrupt (even we don't use, we need to disable some channel correctly)
Same
- to access node personality information (node id, DDR size, HZ, etc) or maybe we can directly access SRAM?
That should be turned into device-tree at boot, possibly from a bootloader or from the zImage wrapper.
etc, etc.quoted
quoted
As such the IO Node guys, the Compute Node Kernel guys and the ZeptoOS guys use it quite a bit. The kittyhawk guys on the other hand barely use it at all, in fact I believe they do all the interaction with it during uboot and then shut it off.(I'm one of the ZeptoOS guys, btw)
Heh ok.
As a regular ppc linux usage, our firmware dependency is minimum as well. However, with our HPC extension, the firmware functions are called when it configures BGP specific network hardware. We are not planning to submit our HPC extension here anytime soon because our work is very special purpose and includes lots of dirty hack right now.
Ok. Cheers, Ben.
Thanks, Kazquoted
I would prefer that approach.quoted
IIRC, the sticky question is RAS support, there are certain things it wants to jump to firmware to deal with and expects things to be mapped an pinned into memory. Furthermore, I think it may make assumptions about where in the TLB the mappings are.This is gross, especially on a system with only 64 SW loaded TLB entries :-(quoted
Since the kittyhawk guys obviously ignore this by shutting it down, its not clear just how important this is. I'm game to try the dynamic mapping as you suggest if you would prefer it.I would yes, we can sort things out later for RAS.quoted
Its worth mentioning that I believe with BG/Q, the plan is to rely on the firmware even more extensively, but I haven't looked at any of the code yet to verify whether or not this is true.This is tantamount to linking a binary blob with the kernel ... it's a fine line. At some point we might refuse the patches if they go too far in that direction. Cheers, Ben.quoted
-eric -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/_______________________________________________ bg-linux mailing list bg-linux@lists.anl-external.org https://lists.anl-external.org/mailman/listinfo/bg-linux http://bg-linux.anl-external.org/wiki