qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Mike Nawrocki <michael.nawrocki@gtri.gatech.edu>
To: qemu-devel@nongnu.org, qemu-block@nongnu.org,
	qemu-arm@nongnu.org, qemu-ppc@nongnu.org
Cc: kwolf@redhat.com, mreitz@redhat.com, jan.kiszka@web.de,
	edgar.iglesias@gmail.com, alistair.francis@xilinx.com,
	michael@walle.cc, david@gibson.dropbear.id.au,
	magnus.damm@gmail.com,
	Mike Nawrocki <michael.nawrocki@gtri.gatech.edu>
Subject: [Qemu-devel] [PATCH 0/2] Add 8-byte wide AMD flash support, partial interleaving
Date: Tue, 31 Oct 2017 11:44:05 -0400	[thread overview]
Message-ID: <20171031154407.4184-1-michael.nawrocki@gtri.gatech.edu> (raw)

This patch set does a few things. First, it switches the AMD CFI flash MMIO
operations from the old MMIO API to the new one. Second, it enables 8-byte
wide flash arrays. Finally, it supports rudimentary interleaving of notional
flash "chips". It is expected that commands will be sent to all "chips"
simultaneously. See the example in the second patch for more details. This
behavior is used by drivers for the PPMC7400 PowerPC evaluation board.

Mike Nawrocki (2):
  Add 8-byte access to AMD CFI devices
  Add support for flash interleaving of AMD chips

 hw/arm/digic_boards.c    |   2 +-
 hw/arm/musicpal.c        |   4 +-
 hw/arm/xilinx_zynq.c     |   2 +-
 hw/block/pflash_cfi02.c  | 210 ++++++++++++++++++++++++++---------------------
 hw/lm32/lm32_boards.c    |   4 +-
 hw/ppc/ppc405_boards.c   |  15 ++--
 hw/sh4/r2d.c             |   2 +-
 include/hw/block/flash.h |   1 +
 8 files changed, 132 insertions(+), 108 deletions(-)

-- 
2.14.2

             reply	other threads:[~2017-10-31 15:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-31 15:44 Mike Nawrocki [this message]
2017-10-31 15:44 ` [Qemu-devel] [PATCH 1/2] Add 8-byte access to AMD CFI devices Mike Nawrocki
2017-10-31 15:44 ` [Qemu-devel] [PATCH 2/2] Add support for flash interleaving of AMD chips Mike Nawrocki
2017-10-31 17:00 ` [Qemu-devel] [PATCH 0/2] Add 8-byte wide AMD flash support, partial interleaving Peter Maydell
2017-11-01 15:01   ` Nawrocki, Michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171031154407.4184-1-michael.nawrocki@gtri.gatech.edu \
    --to=michael.nawrocki@gtri.gatech.edu \
    --cc=alistair.francis@xilinx.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=edgar.iglesias@gmail.com \
    --cc=jan.kiszka@web.de \
    --cc=kwolf@redhat.com \
    --cc=magnus.damm@gmail.com \
    --cc=michael@walle.cc \
    --cc=mreitz@redhat.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).