Commit 2de0e279 authored by yumeng18's avatar yumeng18 Committed by Xie XiuQi
Browse files

hpre: set power state to PCI_D0



driver inclusion
category:bugfix
bugzilla:NA
CVE:NA

when u unbind and bind 'hisi_hpre' device quickly, hisi_hpre may not load,
as dmesg like:
[ 1006.414257] hisi_hpre 0000:79:00.0: qm register to uacce
[ 1006.419550] hisi_hpre 0000:79:00.0: register to noiommu mode, it's not safe for kernel
[ 1006.437566] hisi_hpre 0000:79:00.0: Refused to change power state, currently in D3
[ 1006.445111] hisi_hpre 0000:79:00.0: Failed to enable MSI vectors!
[ 1006.451190] hisi_hpre: probe of 0000:79:00.0 failed with error -28

Feature or Bugfix: Bugfix

Signed-off-by: default avataryumeng18 <yumeng18@huawei.com>
Reviewed-by: default avatarxuzaibo <xuzaibo@huawei.com>
Reviewed-by: default avatarZhou Wang <wangzhou1@hisilicon.com>
Reviewed-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 21a2e182
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment