[U-Boot] [PATCH v3] ARM: Avoid compiler optimization for usages of readb, writeb and friends.
Alexander Holler
holler at ahsoftware.de
Tue Jan 11 04:53:47 CET 2011
Am 10.01.2011 16:05, schrieb Wolfgang Denk:
> Dear Alexander Holler,
>
> In message<4D2B1D75.70809 at ahsoftware.de> you wrote:
>>
>> Beeing kind of a defensive programmer, I still would prefer to use have
>> that __asm__ for write* too. That would at least prevent us from a
>> possible bug there too.
>
> So why don't you simply test and, assuming it's working, ACK the patch
> I submitted yesterday? We should be on the safe side, then, and don't
> have to care about which mood the current compiler's optimizer might
> be in or what the POM is.
Sorry, I haven't had your last patch (mail) before I've written the mail
you are referencing.
I have updated my mail-system at home (armv5 with 128mb ram) and the
incoming queue, mainly filled through lkml, is still not completly
processed. ~2000 messages (3 days) need some time to go through
spamassassin on such a low-level hardware. ;)
I've seen you've switched from do {} while() to "something else", but I
can't comment on that "something else". Because I've already switched to
4.5.2. I'll have to dig out a system where I have a 4.5.1 to test the
problem occured with the write.
If anybody else already has tested it, I'm fine with it.
Regards,
Alexander
More information about the U-Boot
mailing list