Thread (1 message) 1 message, 1 author, 2015-12-15

[Linaro-acpi] Touching the initrd before paging_init

From: Måns Rullgård <hidden>
Date: 2015-12-15 16:31:06

Jon Masters [off-list ref] writes:
On 12/15/2015 06:43 AM, M?ns Rullg?rd wrote:
quoted
Jon Masters [off-list ref] writes:
quoted
quoted
But the reading of that cpio content into the new table locations is
done using the kernel memcpy routine to early_ioremap'd memory (Device
memory), which is architecturally sensitive to missaligned accesses.
As others have pointed out, your error is twofold: first using
early_ioremap() when early_memremap() would do, then using regular
memcpy() and not memcpy_fromio() on that.  Seems like your precious ACPI
code is to blame here.
So I get that this could be changed. But I still want to understand
whether memcpy is behaving correctly.
It is.  I already explained why it's the correct way.

-- 
M?ns Rullg?rd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help