[ARM] head.S change broke platform device registration?
From: Russell King - ARM Linux <hidden>
Date: 2012-11-30 12:40:49
On Fri, Nov 30, 2012 at 01:28:33PM +0100, Marko Kati? wrote:
On Fri, Nov 30, 2012 at 1:17 PM, Dave Martin [off-list ref] wrote:quoted
This is indeed strange, since there is not much difference to the kernel if CONFIG_ARM_VIRT_EXT is not set. Unless a bug is causing the kernel to trample on some random memory, there is no reason for this to cause I2C devices to disappear. It could be something unrelated, like additional and removal of code changing the position or alignment of other parts of the kernel image. Have you could try undoing parts of the patch to narrow the bug down further? Cheers ---DaveNo, not yet. As i said my knowledge of what goes on in head.S is limited so i'd rather not mess with it.
Well, I think everyone's confused how this change could cause an I2C device to vanish. I've been through this code carefully and I don't see anything that would affect an I2C device here. The code in question is not even touching any hardware. Please post your .config file so we can see how your kernel is configured.