[edk2-devel] [PATCH] bRefClkFreq UFS card attribute need to be programmed after fDeviceInit

2022-03-25 Thread Bandaru, Purna Chandra Rao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3886 bRefClkFreq UFS card attribute need to be read and written after successful fDeviceInit and NOP response so that link will be stable. Cc: Wu Hao A Cc: Albecki Mateusz Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Purna Chandra Rao Ban

[edk2-devel] [PATCH] [PATCH v3] MdeModulePkg: Add bRefClkFreq card attribute programming support

2022-03-08 Thread Bandaru, Purna Chandra Rao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3851 When the UFS card comes out of Manufacturer, bRefClkFreq attribute is set to 1h on the UFS card as per the Manufacturer Default Value specified by the spec JESD220*. However, depends on the UFS host system environment, it need to be set to t

[edk2-devel] [PATCH] [PATCH v2] MdeModulePkg: Add bRefClkFreq card attribute programming support

2022-03-07 Thread Bandaru, Purna Chandra Rao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3851 When the UFS card comes out of Manufacturer, bRefClkFreq attribute is set to 1h on the UFS card as per the "MDV” (Manufacturer Default Value) specified by the spec JESD220*. However, depends on the UFS host system environment, it need to be

Re: [edk2-devel] [PATCH] [PATCH v1] MdeModulePkg: Add bRefClkFreq card attribute programming support

2022-03-07 Thread Bandaru, Purna Chandra Rao
Thank you Wu, Hao. 1) Even in multiple UFS host controllers it will have single REF_CLK. 2) responded in line. Thanks ~Purna -Original Message- From: Wu, Hao A Sent: Monday, March 7, 2022 1:39 PM To: devel@edk2.groups.io; Bandaru, Purna Chandra Rao Cc: Albecki, Mateusz Subject

[edk2-devel] [PATCH] [PATCH v1] MdeModulePkg: Add bRefClkFreq card attribute programming support

2022-03-03 Thread Bandaru, Purna Chandra Rao
When the UFS card comes out of Manufacturer, bRefClkFreq attribute is set to 1h on the UFS card as per the "MDV” (Manufacturer Default Value) specified by the spec JESD220*. However, depends on the UFS host system environment, it need to be set to correct value. Reference Clock Frequency value 0h:

[edk2-devel] [PATCH v4] MdeModulePkg/UfsPassThruDxe: Improve Device initialization polling Loop

2021-03-01 Thread Bandaru, Purna Chandra Rao
https://bugzilla.tianocore.org/show_bug.cgi?id=3217 Current Ufs Pass thru driver polls for 5us and return success even when the timeout occurs. There are cards that can take upto 600ms for Init and hence increased the time out for fDeviceInit polling loop. Change-Id: I7b38e6f6aa46d93f07621caf29ad

Re: [edk2-devel] [PATCH 1/3] MdeModulePkg/UfsPassThruDxe: Improve Device initialization polling Loop

2021-02-24 Thread Bandaru, Purna Chandra Rao
://wiki.ith.intel.com/display/ITSFID/EDK+II+Development+Process Thanks ~Purna -Original Message- From: Laszlo Ersek Sent: Tuesday, February 23, 2021 11:20 PM To: devel@edk2.groups.io; Bandaru, Purna Chandra Rao Cc: Albecki, Mateusz ; Ni, Ray ; Wu, Hao A ; Leif Lindholm (Nuvia address) ; Kinney

Re: [edk2-devel] [PATCH] MdeModulePkg/UfsPassThruDxe: Improve Error handling of Ufs Pass Thru driver

2021-02-23 Thread Bandaru, Purna Chandra Rao
MVE teams on the protocol analyzer tools etc. Thanks ~Purna -Original Message- From: Wu, Hao A Sent: Tuesday, February 23, 2021 6:46 AM To: Bandaru, Purna Chandra Rao ; devel@edk2.groups.io Cc: Albecki, Mateusz ; Ni, Ray Subject: RE: [edk2-devel] [PATCH] MdeModulePkg/UfsPassThruDxe

Re: [edk2-devel] [PATCH] MdeModulePkg/UfsPassThruDxe: Improve Error handling of Ufs Pass Thru driver

2021-02-22 Thread Bandaru, Purna Chandra Rao
review and help to get this changes at the earliest in master as well as Downstream/master. Thanks ~Purna -Original Message- From: Wu, Hao A Sent: Monday, February 22, 2021 2:10 PM To: devel@edk2.groups.io; Wu, Hao A ; Bandaru, Purna Chandra Rao Cc: Albecki, Mateusz ; Ni, Ray