]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
pcie: host: tegra: optimize boot time
authorVidya Sagar <vidyas@nvidia.com>
Mon, 28 Dec 2015 11:32:12 +0000 (17:02 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 19 Jan 2016 18:02:40 +0000 (10:02 -0800)
commit181faa8bac1ef18946a055cc8f51306af3f6dc12
tree102eedae35842f4402f4040ffd9ce6ff7174181c
parente9e7f98f7078fd53c642c3b04ecc60dc6c07819a
pcie: host: tegra: optimize boot time

optimizes pcie link detection by initially checking for
DL_LINK_ACTIVE with a timeout out of 100ms (spec defined)
and further PERST and link detection cycles are based on
whether or not RDET_STATUS of UPHY lanes corresponding to
PCIe ports is set

Bug 200159257

Change-Id: I8dcbd37cdff5b60c0f36c61e492ba685862802d0
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/927110
(cherry picked from commit ed5b09a5ebfb576a5105ea5fd6633285a4f55030)
Reviewed-on: http://git-master/r/932523
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>
arch/arm/mach-tegra/include/mach/tegra_usb_pad_ctrl.h
drivers/pci/host/pci-tegra.c
drivers/platform/tegra/tegra_usb_pad_ctrl.c