From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: qemu-arm@nongnu.org
Cc: "Andrey Smirnov" <andrew.smirnov@gmail.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Jason Wang" <jasowang@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
qemu-devel@nongnu.org, yurovsky@gmail.com
Subject: [Qemu-devel] [PATCH v2 00/15] i.MX FEC and SD changes
Date: Thu, 14 Dec 2017 06:52:40 -0800 [thread overview]
Message-ID: <20171214145255.31545-1-andrew.smirnov@gmail.com> (raw)
Hi everyone,
This patchset is v2 of a spin-off from original i.MX7 support submission
found here [1], containing all of the patchest that are more or less
agreed upon and are ready (hopefully!) for inclusion.
Changes since [v1]:
- Collected Reviewed-by tags from Peter
- Implemented forgotten feedback from Peter for
"sdhci: Add i.MX specific subtype of SDHCI"
- "imx_fec: Move Tx frame buffer away from the stack" sent out
properly (fingers crossed)
- Added trivial patch to swith i.MX6 over to TYPE_IMX_USDHC
- Added "sd: Check for READ_MULTIPLE_BLOCK size limit
violation first" to address a small problem I was seeing
when tesiting SD against latest vanilla kernel
Changes since [1]:
- Rx buffer in FEC was moved from stack to heap to allow
worry-free expansion to 16K limit.
- Added more comments explaining rather convoluted bit-moving
in eSHDC emuation code
- Triple Tx ring DMA "VMState" code was changed to follow
Peter's recommendations (avoiding the need to incrememnt the
version_id)
- FSL_IMX25_FEC_SIZE is used as a size of FEC's register file
- Removed leftover code from "imx_fec: Change queue flushing
heuristics"
[v1] https://lists.gnu.org/archive/html/qemu-arm/2017-12/msg00085.html
[1] https://lists.gnu.org/archive/html/qemu-arm/2017-11/msg00045.html
Andrey Smirnov (15):
imx_fec: Do not link to netdev
imx_fec: Refactor imx_eth_enable_rx()
imx_fec: Change queue flushing heuristics
imx_fec: Move Tx frame buffer away from the stack
imx_fec: Use ENET_FTRL to determine truncation length
imx_fec: Use MIN instead of explicit ternary operator
imx_fec: Emulate SHIFT16 in ENETx_RACC
imx_fec: Add support for multiple Tx DMA rings
imx_fec: Use correct length for packet size
imx_fec: Fix a typo in imx_enet_receive()
imx_fec: Reserve full FSL_IMX25_FEC_SIZE page for the register file
sdhci: Add i.MX specific subtype of SDHCI
hw: i.MX: Convert i.MX6 to use TYPE_IMX_USDHC
sd: Check for READ_MULTIPLE_BLOCK size limit violation first
sdhci: Implement write method of ACMD12ERRSTS register
hw/arm/fsl-imx6.c | 3 +-
hw/net/imx_fec.c | 210 ++++++++++++++++++++++++++++++++---------
hw/sd/sd.c | 16 ++--
hw/sd/sdhci-internal.h | 19 ++++
hw/sd/sdhci.c | 231 ++++++++++++++++++++++++++++++++++++++++++++-
include/hw/arm/fsl-imx25.h | 1 -
include/hw/net/imx_fec.h | 27 +++++-
include/hw/sd/sdhci.h | 14 +++
8 files changed, 461 insertions(+), 60 deletions(-)
--
2.14.3
next reply other threads:[~2017-12-14 14:53 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-14 14:52 Andrey Smirnov [this message]
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 01/15] imx_fec: Do not link to netdev Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 02/15] imx_fec: Refactor imx_eth_enable_rx() Andrey Smirnov
2017-12-15 10:06 ` Philippe Mathieu-Daudé
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 03/15] imx_fec: Change queue flushing heuristics Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 04/15] imx_fec: Move Tx frame buffer away from the stack Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 05/15] imx_fec: Use ENET_FTRL to determine truncation length Andrey Smirnov
2017-12-15 10:15 ` Philippe Mathieu-Daudé
2017-12-17 0:41 ` Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 06/15] imx_fec: Use MIN instead of explicit ternary operator Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 07/15] imx_fec: Emulate SHIFT16 in ENETx_RACC Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 08/15] imx_fec: Add support for multiple Tx DMA rings Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 09/15] imx_fec: Use correct length for packet size Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 10/15] imx_fec: Fix a typo in imx_enet_receive() Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 11/15] imx_fec: Reserve full FSL_IMX25_FEC_SIZE page for the register file Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 12/15] sdhci: Add i.MX specific subtype of SDHCI Andrey Smirnov
2017-12-15 2:31 ` Philippe Mathieu-Daudé
2017-12-15 18:51 ` Andrey Smirnov
2017-12-15 20:15 ` Philippe Mathieu-Daudé
2017-12-17 0:21 ` Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 13/15] hw: i.MX: Convert i.MX6 to use TYPE_IMX_USDHC Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 14/15] sd: Check for READ_MULTIPLE_BLOCK size limit violation first Andrey Smirnov
2017-12-14 16:45 ` Andrey Smirnov
2017-12-14 14:52 ` [Qemu-devel] [PATCH v2 15/15] sdhci: Implement write method of ACMD12ERRSTS register Andrey Smirnov
2017-12-15 2:18 ` Philippe Mathieu-Daudé
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=20171214145255.31545-1-andrew.smirnov@gmail.com \
--to=andrew.smirnov@gmail.com \
--cc=f4bug@amsat.org \
--cc=jasowang@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=yurovsky@gmail.com \
/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).