<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdeModulePkg/Bus/Ata, branch dependabot/github_actions/github/codeql-action-4</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2025-01-09T04:40:45+00:00</updated>
<entry>
<title>MdeModulePkg: Update AtaPassThru to UEFI 2.10A</title>
<updated>2025-01-09T04:40:45+00:00</updated>
<author>
<name>INDIA\sachinganesh</name>
<email>sachinganesh@ami.com</email>
</author>
<published>2024-10-23T13:09:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1a23fe74725da5e268f9782834fe83c85dcb4250'/>
<id>urn:sha1:1a23fe74725da5e268f9782834fe83c85dcb4250</id>
<content type='text'>
UEFI 2.10A Specification has added a new error case to
EFI_ATA_PASS_THRU_PROTOCOL.GetNextDevice API which handles
port multiplier not being connected to the Port.

Signed-off-by: Sachin Ganesh &lt;sachinganesh@ami.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Update ReceiveData and SendData function description</title>
<updated>2024-03-13T02:48:38+00:00</updated>
<author>
<name>Qingyu Shang</name>
<email>qingyu.shang@intel.com</email>
</author>
<published>2024-02-26T03:05:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6f67ed45e03b554337daba2599a24b3352ad3438'/>
<id>urn:sha1:6f67ed45e03b554337daba2599a24b3352ad3438</id>
<content type='text'>
AtaBusDxe, NvmExpressDxe, ScsiDiskDxe and EmmcDxe is used to back the
EFI_STORAGE_SECURITY_COMMAND_PROTOCOL, update the parameter 'MediaId'
description for the protocol function ReceiveData and SendData as
described in UEFI Spec 2.10 section 13.14.

Cc: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Qingyu Shang &lt;qingyu.shang@intel.com&gt;
Reviewed-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Bus/Ata/AtaBusDxe: Fix SIGN_EXTENSION Coverity issue</title>
<updated>2023-09-20T05:47:00+00:00</updated>
<author>
<name>Ranbir Singh</name>
<email>Ranbir.Singh3@Dell.com</email>
</author>
<published>2023-07-17T11:59:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4fb69c2bee3006b08ca2abba58843f7573e0c5c6'/>
<id>urn:sha1:4fb69c2bee3006b08ca2abba58843f7573e0c5c6</id>
<content type='text'>
Line number 365 does contain a typecast with UINT32, but it is after
all the operations (16-bit left shift followed by OR'ing) are over.
To avoid any SIGN_EXTENSION, typecast the intermediate result after
16-bit left shift operation immediately with UINT32.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4209

Cc: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Signed-off-by: Ranbir Singh &lt;Ranbir.Singh3@Dell.com&gt;
Signed-off-by: Ranbir Singh &lt;rsingh@ventanamicro.com&gt;
Reviewed-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Bus/Ata/AtaAtapiPassThru: Fix UNUSED_VALUE Coverity issue</title>
<updated>2023-08-02T03:13:36+00:00</updated>
<author>
<name>Ranbir Singh</name>
<email>Ranbir.Singh3@Dell.com</email>
</author>
<published>2023-07-17T04:24:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d11968fcc56cbbffef7d906048b00faea9415447'/>
<id>urn:sha1:d11968fcc56cbbffef7d906048b00faea9415447</id>
<content type='text'>
The return value stored in Status after call to SetDriveParameters
is not made of any use thereafter and hence it remains as UNUSED.

Based on Hao's findings (https://edk2.groups.io/g/devel/message/106844),
the successful execution of SetDriveParameters() is not mandatory for
initializing IDE mode of a hard disk device. Hence remove the 'Status'
assignment of the return value from SetDriveParameters() and instead add
error checks &amp; DEBUG_WARN level messages within SetDriveParameters()
function after sending INIT_DRIVE_PARAM &amp; SET_MULTIPLE_MODE ATA commands.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4204

Cc: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Signed-off-by: Ranbir Singh &lt;Ranbir.Singh3@Dell.com&gt;
Signed-off-by: Ranbir Singh &lt;rsingh@ventanamicro.com&gt;
Reviewed-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Bus/Ata/AtaAtapiPassThru: Fix SIGN_EXTENSION Coverity issue</title>
<updated>2023-08-02T03:13:36+00:00</updated>
<author>
<name>Ranbir Singh</name>
<email>Ranbir.Singh3@Dell.com</email>
</author>
<published>2023-07-17T04:24:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c7c1170a4568ecc0f63e14ca6a844d40f47519a9'/>
<id>urn:sha1:c7c1170a4568ecc0f63e14ca6a844d40f47519a9</id>
<content type='text'>
Line number 1348 does contain a typecast with UINT32, but it is after
all the operations (16-bit left shift followed by OR'ing) are over.
To avoid any SIGN_EXTENSION, typecast the intermediate result after
16-bit left shift operation immediately with UINT32.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4204

Cc: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Signed-off-by: Ranbir Singh &lt;Ranbir.Singh3@Dell.com&gt;
Signed-off-by: Ranbir Singh &lt;rsingh@ventanamicro.com&gt;
Reviewed-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Bus: Fix port multiplier port in AhciPei PEIM</title>
<updated>2023-06-07T03:13:56+00:00</updated>
<author>
<name>Neo Hsueh</name>
<email>Hong-Chih.Hsueh@amd.com</email>
</author>
<published>2023-06-02T18:05:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=67fc78d026490ea4c375eeb19724abb40e7be8f2'/>
<id>urn:sha1:67fc78d026490ea4c375eeb19724abb40e7be8f2</id>
<content type='text'>
If there is no port multiplier, PortMultiplierPort should be converted
to 0 to follow AHCI spec.
The same logic already applied in AtaAtapiPassThruDxe driver.

Signed-off-by: Neo Hsueh &lt;Hong-Chih.Hsueh@amd.com&gt;
Acked-by: Abner Chang &lt;abner.chang@amd.com&gt;
Reviewed-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Update code to be more C11 compliant by using __func__</title>
<updated>2023-04-10T14:19:57+00:00</updated>
<author>
<name>Rebecca Cran</name>
<email>rebecca@bsdio.com</email>
</author>
<published>2023-04-06T19:50:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7b82da70edf7dda2c6f4e853f100df620bd5c0f3'/>
<id>urn:sha1:7b82da70edf7dda2c6f4e853f100df620bd5c0f3</id>
<content type='text'>
__FUNCTION__ is a pre-standard extension that gcc and Visual C++ among
others support, while __func__ was standardized in C99.

Since it's more standard, replace __FUNCTION__ with __func__ throughout
MdeModulePkg.

Signed-off-by: Rebecca Cran &lt;rebecca@bsdio.com&gt;
Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Consume new alignment-related macros</title>
<updated>2023-04-01T23:11:44+00:00</updated>
<author>
<name>Marvin Häuser</name>
<email>mhaeuser@posteo.de</email>
</author>
<published>2023-03-22T07:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=495809a614083bd8c43eb3323b65df36985f4a50'/>
<id>urn:sha1:495809a614083bd8c43eb3323b65df36985f4a50</id>
<content type='text'>
This patch substitutes the macros that were renamed in the first
patch with the new, shared alignment macros.

Cc: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Cc: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Vitaly Cheptsov &lt;vit9696@protonmail.com&gt;
Signed-off-by: Marvin Häuser &lt;mhaeuser@posteo.de&gt;
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Reviewed-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Rename IS_ALIGNED macros to avoid name collisions</title>
<updated>2023-04-01T23:11:44+00:00</updated>
<author>
<name>Marvin Häuser</name>
<email>mhaeuser@posteo.de</email>
</author>
<published>2023-03-22T07:02:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=583f1aba8b97695ebba8a9f03de0883e6d2dcd1f'/>
<id>urn:sha1:583f1aba8b97695ebba8a9f03de0883e6d2dcd1f</id>
<content type='text'>
This patch is a preparation for the patches that follow. The
subsequent patches will introduce and integrate new alignment-related
macros, which collide with existing definitions in MdeModulePkg.
Temporarily rename them to avoid build failure, till they can be
substituted with the new, shared definitions.

Cc: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Cc: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Signed-off-by: Marvin Häuser &lt;mhaeuser@posteo.de&gt;
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Reviewed-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/Ahci: Skip retry for non-transient errors</title>
<updated>2023-03-31T21:01:13+00:00</updated>
<author>
<name>Albecki, Mateusz</name>
<email>mateusz.albecki@intel.com</email>
</author>
<published>2023-03-27T21:37:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=eb6a74827200eedc81b8f45f332d6e9f3b3d2906'/>
<id>urn:sha1:eb6a74827200eedc81b8f45f332d6e9f3b3d2906</id>
<content type='text'>
bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4011

Currently AHCI driver will try to retry all failed packets
regardless of the failure cause. This is a problem in password
unlock flow where number of password retries is tracked by the
device. If user passes a wrong password Ahci driver will try
to send the wrong password multiple times which will exhaust
number of password retries and force the user to restart the
machine. This commit introduces a logic to check for the cause
of packet failure and only retry packets which failed due to
transient conditions on the link. With this patch only packets for
which CRC error is flagged are retried.

Cc: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Cc: Ray Ni &lt;ray.ni@intel.com&gt;
Cc: Hunter Chang &lt;hunter.chang@intel.com&gt;
Cc: Baraneedharan Anbazhagan &lt;anbazhagan@hp.com&gt;
Signed-off-by: Mateusz Albecki &lt;mateusz.albecki@intel.com&gt;
Reviewed-by: Hao A Wu &lt;hao.a.wu@intel.com&gt;
Reviewed-by: Baraneedharan Anbazhagan &lt;anbazhagan@hp.com&gt;
</content>
</entry>
</feed>
