qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2 v2] block, arm: Fix buffered flash writes on VExpress
@ 2013-10-18 18:50 Roy Franz
  2013-10-18 18:50 ` [Qemu-devel] [PATCH 1/2 v2] Add device-width property to pflash_cfi01 Roy Franz
  2013-10-18 18:50 ` [Qemu-devel] [PATCH 2/2 v2] Set proper device-width for vexpress flash Roy Franz
  0 siblings, 2 replies; 8+ messages in thread
From: Roy Franz @ 2013-10-18 18:50 UTC (permalink / raw)
  To: qemu-devel, kwolf, stefanha; +Cc: Roy Franz, peter.maydell, patches


Here is my updated patch to fix buffered flash writes on the VExpress
platform.  Buffered writes should now work properly on platforms whose
flash interface width is different from the device width.  The default
is for the device-width to be set to the interface width, so platforms
that can benefit from this change will need to be updated.  This patchset
updates the configuration for the VExpress platform which requires it.
UEFI firmware uses buffered writes for persistent variable storage,
and this patchset enables this usage on QEMU.


Changes from v1:
* Add device-width property and use this to mask write length instead
  of devices mas write length
* Update vexpress init code to set device-width to proper value.

Roy Franz (2):
  Add device-width property to pflash_cfi01
  Set proper device-width for vexpress flash

 hw/arm/vexpress.c       |   38 ++++++++++++++++++++++++++++++++++++--
 hw/block/pflash_cfi01.c |   21 +++++++++++++--------
 2 files changed, 49 insertions(+), 10 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-10-19 20:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-18 18:50 [Qemu-devel] [PATCH 0/2 v2] block, arm: Fix buffered flash writes on VExpress Roy Franz
2013-10-18 18:50 ` [Qemu-devel] [PATCH 1/2 v2] Add device-width property to pflash_cfi01 Roy Franz
2013-10-18 18:50 ` [Qemu-devel] [PATCH 2/2 v2] Set proper device-width for vexpress flash Roy Franz
2013-10-19  9:47   ` Peter Maydell
2013-10-19 17:04     ` [Qemu-devel] [PATCH 0/2 v3] block, arm: Fix buffered flash writes on VExpress Roy Franz
2013-10-19 17:04       ` [Qemu-devel] [PATCH 1/2 v3] block: Add device-width property to pflash_cfi01 Roy Franz
2013-10-19 20:59         ` Peter Maydell
2013-10-19 17:04       ` [Qemu-devel] [PATCH 2/2 v3] block, arm: Set proper device-width for vexpress flash Roy Franz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).