Tiejun Chen 835c031c98 powerpc/booke64: Fix args to copy_and_flush
Convert r4/r5, not r6, to a virtual address when calling
copy_and_flush.  Otherwise, r3 is already virtual, and copy_to_flush
tries to access r3+r6, PAGE_OFFSET gets added twice.

This isn't normally seen because on book3e we normally enter with
the kernel at zero and thus skip copy_to_flush -- but it will be
needed for kexec support.

Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
[scottwood: split patch and rewrote changelog]
Signed-off-by: Scott Wood <scottwood@freescale.com>
2015-10-27 18:13:26 -05:00
..
2015-09-10 16:42:49 -07:00
2015-08-06 15:10:20 +10:00
2015-02-17 14:34:51 -08:00
2015-03-24 13:15:52 +11:00
2015-09-08 14:35:59 -07:00
2015-09-03 16:41:38 -07:00
2015-07-30 14:34:44 +10:00
2015-09-03 16:41:38 -07:00
2015-04-07 17:15:13 +10:00
2015-06-24 17:49:38 -07:00