Re: [PATCH v6 4/7] ARM: l2c: Add support for overriding prefetch settings

From: Russell King - ARM Linux
Date: Mon Oct 27 2014 - 07:14:25 EST


On Mon, Oct 27, 2014 at 12:05:47PM +0100, Marek Szyprowski wrote:
> From: Tomasz Figa <t.figa@xxxxxxxxxxx>
>
> Firmware on certain boards (e.g. ODROID-U3) can leave incorrect L2C prefetch
> settings configured in registers leading to crashes if L2C is enabled
> without overriding them. This patch introduces bindings to enable
> prefetch settings to be specified from DT and necessary support in the
> driver.
>
> Signed-off-by: Tomasz Figa <t.figa@xxxxxxxxxxx>
> [mszyprow: rebased onto v3.18-rc1, added error messages when property value
> is missing]

Why? What if the boot loader has already set these up appropriately? Why
should we force people to list these in the DT?

--
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/