lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 19 Sep 2014 20:27:24 +0100 From: Mark Rutland <mark.rutland@....com> To: Alexandre Belloni <alexandre.belloni@...e-electrons.com> Cc: Russell King - ARM Linux <linux@....linux.org.uk>, Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>, Nicolas Ferre <nicolas.ferre@...el.com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>, Wenyou Yang <wenyou.yang@...el.com> Subject: Re: [PATCH] ARM: at91: sama5: configure L2 cache [...] > > 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 majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists