ARM: i.MX: system.c: Tweak prefetch settings for performance
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Sun, 19 Jun 2016 01:09:30 +0000 (18:09 -0700)
committerShawn Guo <shawnguo@kernel.org>
Tue, 21 Jun 2016 12:40:38 +0000 (20:40 +0800)
commit1d9e94779956b765d316924cc39af2165ad631fb
tree494f9ff55568aec4eb5260139a6ef23bf1570d03
parentb829037136766abf34456e2406bab67d689b3538
ARM: i.MX: system.c: Tweak prefetch settings for performance

Update Prefetch Control Register settings to match that of Freescale's
Linux tree. As the commit e3addf1b773964eac7f797e8538c69481be4279c
states (author Nitin Garg):

"... set Prefetch offset to 15, since it improves memcpy performance by
35%. Don't enable Incr double Linefill enable since it adversely affects
memcpy performance by about 32MB/s and reads by 90MB/s. Tested with 4K
to 16MB sized src and dst aligned buffer..."

Those results are also corroborated by our own testing.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/system.c
This page took 0.025383 seconds and 5 git commands to generate.