[...] > > There have been DT bindings proposed for prefetch control register. I > > suggest that you search this mailing list for that patch, and check > > whether it is acceptable for your platform. > > > > I'm really wondering whether we should really put that in the device > tree... We will soon end up with a property for each bit of each > registers and the binding will end up being huge. Also, that is > configuration, not HW description.
If it's configuration, why is putting it in a board file any better? The optimal values will depend on the workload, which depends on more than the just the machine. If anything this kind of tuning might be better handled using kernel command line parameters. > I actually tried multiple things, without any satisfaction: > - using DT, with the main issue that we will definitely end up with one > property per bit of configuration > > - adding an .l2c_prefetch_val to the machine start but that is kind of > ugly. > > - adding a new parameter to l2x0_of_init() > > So I ended up choosing to do it in the platform code. But if everybody > is fine with adding more properties to DT, I can go that way. We can add properties as necessary. The fun part is deciding what is necessary. Mark. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/