From: "Wu, Hao A" <hao.a.wu@intel.com>
To: devel@edk2.groups.io
Cc: Hao Wu <hao.a.wu@intel.com>, Ray Ni <ray.ni@intel.com>,
Eric Dong <eric.dong@intel.com>,
Jian J Wang <jian.j.wang@intel.com>
Subject: [PATCH v3 0/2] Add PEI BlockIO support for ATA AHCI mode devices
Date: Tue, 23 Apr 2019 16:06:28 +0800 [thread overview]
Message-ID: <20190423080630.14992-1-hao.a.wu@intel.com> (raw)
The series is also available at:
https://github.com/hwu25/edk2/tree/ahci_pei_blockio_v3
V3 changes:
A. Update the comment for definition 'MAX_48BIT_TRANSFER_BLOCK_NUM'.
B. Add 'EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST' attribute for
mAhciAtaPassThruPpiListTemplate/mAhciBlkIoPpiListTemplate. This will
make the installation of AtaPassThruPpi and BlkIo(2)Ppi seperate from
each other, thus making the code logic more straightforward.
C. Abstract the shared codes (validity check on 'DeviceIndex') in
* AhciBlockIoGetMediaInfo()
* AhciBlockIoReadBlocks()
* AhciBlockIoGetMediaInfo2()
into function SearchDeviceByIndex().
V2 history:
Due to the file license change, rebase the whole series onto the tip of
the master branch. The 'Contributed-under' tag is removed from the log
messages as well.
V1 history:
The series will add the PEI BlockIO support for ATA AHCI mode devices.
Cc: Ray Ni <ray.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Hao Wu (2):
MdeModulePkg/AhciPei: Limit max transfer blocknum for 48-bit address
MdeModulePkg/AhciPei: Add PEI BlockIO support
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.inf | 4 +
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.h | 30 ++
MdeModulePkg/Bus/Ata/AhciPei/AhciPeiBlockIo.h | 257 ++++++++++
MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c | 126 ++++-
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.c | 35 ++
MdeModulePkg/Bus/Ata/AhciPei/AhciPeiBlockIo.c | 516 ++++++++++++++++++++
6 files changed, 967 insertions(+), 1 deletion(-)
create mode 100644 MdeModulePkg/Bus/Ata/AhciPei/AhciPeiBlockIo.h
create mode 100644 MdeModulePkg/Bus/Ata/AhciPei/AhciPeiBlockIo.c
--
2.12.0.windows.1
next reply other threads:[~2019-04-23 8:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-23 8:06 Wu, Hao A [this message]
2019-04-23 8:06 ` [PATCH v3 1/2] MdeModulePkg/AhciPei: Limit max transfer blocknum for 48-bit address Wu, Hao A
2019-04-23 18:12 ` [edk2-devel] " Ni, Ray
2019-04-23 8:06 ` [PATCH v3 2/2] MdeModulePkg/AhciPei: Add PEI BlockIO support Wu, Hao A
2019-04-23 18:14 ` [edk2-devel] " Ni, Ray
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-list 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=20190423080630.14992-1-hao.a.wu@intel.com \
--to=devel@edk2.groups.io \
/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