[lkml]   [2014]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm
On 12 June 2014 13:09, Ulf Hansson <> wrote:
> A simple fix; for the arm_variant, go back to use the old behaviour.
> A quite simple fix; Invent a new primecell-periphid and a new
> corresponding variant and use the old behaviour for this variant. The
> new primecell-periphid then needs to be provided through DT for the
> QEMU dtb.
> Is there any of the above solution you see as the preferred one?

Those both sound like workarounds, not fixes, to me. Somebody
needs to identify whether the bug here is in:
* the kernel (unlikely, but possibly the kernel has a race
condition that only gets triggered by QEMU's "operations
that take time in h/w happen instantaneously in emulation"
* the QEMU model of the PL181
* the QEMU model of the SD card
and then fix whichever of these is not conforming to the

Also, there's no such thing as a "QEMU dtb", at least for
most of our board models. QEMU models the actual hardware
(sometimes buggily or incompletely) and so should use the
exact same dtb you would use with the hardware.

-- PMM

 \ /
  Last update: 2014-06-12 14:21    [W:0.088 / U:36.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site