At worst case, OCR register may always not set BIT31. It will cause
original code enter to dead loop. Adding a break for such case.
Cc: Hao Wu <hao.a...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModul
ialize the MSEG specific MSR at the end
of SmmCpuFeaturesInitializeProcessor().
This patch does not introduce any functional changes
to the default implementation of the SmmCpuFeaturesLib.
Cc: Jiewen Yao <jiewen@intel.com>
Cc: Jeff Fan <jeff@intel.com>
Cc: Feng Tian <feng.t...@i
he DSC file is updated to build both SmmCpuFeatureLib
instances and to build two versions of the PiSmmCpuDxeSmm
module using each of the SmmCpuFeatureLib instances.
Cc: Jiewen Yao <jiewen@intel.com>
Cc: Jeff Fan <jeff@intel.com>
Cc: Feng Tian <feng.t...@intel.com>
Cont
This patch series is used to add STM support to UefiCpuPkg.
More details about STM are described in:
http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-manual-325462.pdf
From: Michael Kinney <michael.d.kin...@intel.com>
Add comments to describe fields of MSEG_HEADER and
add define values for the MonitorFeatures field.
Cc: Jiewen Yao <jiewen@intel.com>
Cc: Jeff Fan <jeff@intel.com>
Cc: Feng Tian <feng.t...@intel.com>
Cont
Jiewen Yao <jiewen@intel.com>
Cc: Jeff Fan <jeff@intel.com>
Cc: Feng Tian <feng.t...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kin...@intel.com>
---
UefiCpuPkg/Include/Guid/MsegSmram.h
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Jeff Fan <jeff@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiEntry.S | 1 +
UefiCpuPkg/PiSmmCpuDxeSmm/Ia3
ent 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.c
b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.c
index
r: TianoCore Contribution Agreement 1.0
Signed-off-by: Mike Turner <michael.tur...@microsoft.com>
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c | 10 +-
MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.c | 18 +-
2 files changed, 22 in
<star.z...@intel.com>
Cc: Baraneedharan Anbazhagan <anbazha...@hp.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
Tested-by: Baraneedharan Anbazhagan <anbazha...@hp.com>
---
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
Non-Boolean comparisons should use a compare operator.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/MdeModulePkg/
Cc: Eric Jin <eric@intel.com>
Cc: Liming Gao <liming@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c | 2 +-
MdePkg/Library/UefiDevicePathLib/
sense.
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c | 7 +--
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c | 8 ++
Short Packet case is a normal case, we shouldn't print it as an error
compared with v1, this patch addes the same fix in XhciPei.
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModul
Short Packet case is a normal case, we shouldn't print it as an error
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 2 +-
1 file changed, 1 ins
to fill the DBC field to avoid bring issue
on some UFS HCs.
Cc: Hao Wu <hao.a...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Ufs/UfsPassThruDxe/UfsPassThruHci.c | 5 +
1 file changed, 5 inserti
Some XHCI HCs require to have 1ms delay before accessing any MMIO
register in reset.
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/XhciPei/XhcPeim.c | 1 +
1 fil
Some XHCI host controllers require to have extra 1ms delay before
accessing any MMIO register during HC reset.
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/XhciDxe/X
AhciDumpPortStatus doesn't fully populate all the fields of
AtaStatusBlock after completing command execution, which may bring
issue if someone depends on the return status.
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fen
<star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c | 9 +++--
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBot.c | 8 ++--
2 files changed, 1
kin...@intel.com>
Cc: Amy Chan <amy.c...@intel.com>
Cc: Giri P Mudusuru <giri.p.mudus...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
.../Bus/Pci/SataControllerDxe/ComponentName.c | 177
.../B
noCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
index 1130b6a..b6
t 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c | 28 ++--
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.c| 20 +---
2 files changed, 19 insertions(+), 29 deletions(-)
diff --git a/MdeModulePkg/Bus/Usb/Usb
ed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c
b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c
index ef002f5..7822022 100644
--- a/MdeModulePkg/Bus/U
1. remove redudant host controller reset
2. tune the enumeration process by removing redudant port status polling.
3. fix a bug in async interrupt transfer TRB check logic.
Feng Tian (3):
MdeModulePkg/UsbBus: remove redundant host controller reset in UsbBus
MdeModulePkg/UsbBus: reduce
uted-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c | 138 +++---
1 file changed, 45 insertions(+), 93 deletions(-)
diff --git a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c
b/MdeModulePk
Update the new introduced ATA_CMD_SEEK to ATA_CMD_ATAPI_SEEK.
Cc: Liming Gao <liming@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdePkg/Include/IndustryStandard/Atapi.h | 4 ++--
1 file changed, 2 inse
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.c | 9 ++--
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c | 2 +-
MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c | 60 +-
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.c | 8 +--
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c | 2 +-
MdeModulePkg/Bus/Sd/EmmcDxe/Emm
gt;
waiting for async task completion.
if the low layer driver doesn't run at TPL_NOTIFY level, it will have
no time to trigger async task and cause system hang.
Cc: Hao Wu <hao.a...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian &l
Cc: Shumin Qiu <shumin@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
.../Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
It's done by producing EFI_ERASE_BLOCK_PROTOCOL protocol instance.
Cc: Wu, Hao A <hao.a...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlo
Cc: Simon (Xiang) Lian-SSI <simon.l...@ssi.samsung.com>
Cc: Wu, Hao A <hao.a...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpress.h | 12 +---
1 file cha
it includes:
1. Add SD related PCD description to MdeModulePkg.uni
2. Not explicitly compare BOOLEAN type with TRUE/FALSE
3. Fix typo on function comments
4. Fix wrong coding style on close brace
Feng Tian (4):
MdeModulePkg/MdeModulePkg.uni: Add SD related PCD description
MdeModulePkg/Sd
Cc: Qiu Shumin <shumin@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.c | 1 +
MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.h | 4 ++--
2 files changed, 3 insertions(+), 2 deleti
The close brace of EmmcDxeComponentNameGetControllerName should be
at the beginning of a line.
Cc: Qiu Shumin <shumin@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Sd/EmmcDxe/ComponentName.c
The GetKeyDescriptor() may return NULL when the KeyData is invalid.
For such case, we should go to error handling path rather than assert
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
The SD CMD7 deselect cmd have no response according to SD
physical layer simplified spec.
Cc: Hao Wu <hao.a...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/Sd
The original code doesn't reset the slot when there is device change.
It may bring issue on device identification procedure of some SD cards.
Cc: Hao Wu <hao.a...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
According to SD Host Controller 3.0 spec figure 3-10, we have to wait
1ms before checking DAT[3:0] in voltage switch proc
Cc: Hao Wu <hao.a...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/S
this series is used to fix some bugs found with some sd cards
Feng Tian (3):
MdeModulePkg/Sd: Fix wrong response type of SD Deselect cmd
MdeModulePkg/SdMmcPciHc: Reset the slot when sd device is connected
MdeModulePkg/Sd: wait 1ms before check DATA line in voltage switch
proc
The bcdUSB value of usb3.1 is 0x0310, we update the condition judgment
to get correct max packet size for usb3.1 dev.
Cc: Star Zeng <star.z...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdeModulePkg/Bus/Pci/Xh
i. SdBlockIoPei driver to consume SdMmcHostController Ppi and produce
VirutalBlkIo1&2
ii. EmmcBlockIoPei driver to consume SdMmcHostController Ppi and produce
VirutalBlkIo1&2
iii.SdMmcPciHcPei driver to produce SdMmcHostController Ppi
Feng Tian (4):
Mde
This device path node is introduced in UEFI2.6 spec.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
---
MdePkg/Include/Protocol/DevicePath.h | 11
.../Library/UefiDevicePathLib/DevicePathFromText.
The DataSegmentLength field of Query Request UPIU doesn't set correctly, which
causes a 0 value rather than right data length is set to this field
Cc: Hao Wu <hao.a...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@
Changes made compared with v1 of the patch:
1. Fix the same bug in UfsBlockIoPei
Feng Tian (2):
MdeModulePkg/UfsBlockIoPei: Fix uninitialized field in QueryRequest
UPIU
MdeModulePkg/UfsPassThru: Fix uninitialized field in QueryReqest UPIU
MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsHci.c
The DataSegmentLength field of Query Request UPIU doesn't set correctly, which
causes a 0 value rather than right data length is set to this field
Cc: Hao Wu <hao.a...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@
47 matches
Mail list logo