Re: [PATCH] arch/powerpc/lib/copy_32.S: Use alternate memcpy for MPC512x and MPC52xx
From: Albrecht Dreß <hidden>
Date: 2010-07-08 20:09:55
Attachments
- (unnamed) [application/pgp-signature] 190 bytes
From: Albrecht Dreß <hidden>
Date: 2010-07-08 20:09:55
Am 08.07.10 21:30 schrieb(en) Segher Boessenkool:
quoted
Actually, this is something which might need closer attention - and maybe some support in the device tree indicating which read or write width a device can accept?There already is "device-width"; the drivers never should use any other access width unless they *know* that will work.
Hmm, unfortunately, it's usage is not clearly documented in mtd-physmap.txt, so I never thought of this parameter. And IMHO the problem goes further - basically *any* chip which is attached to the LPB can be affected by this problem, so it might be better to have a more general approach like a "chip select property". Cheers, Albrecht.