• Weili Qian's avatar
    crypto: hisilicon/hpre - mask cluster timeout error · 145013f7
    Weili Qian authored
    The timeout threshold of the hpre cluster is 16ms. When the CPU
    and device share virtual address, page fault processing time may
    exceed the threshold.
    
    In the current test, there is a high probability that the
    cluster times out. However, the cluster is waiting for the
    completion of memory access, which is not an error, the device
    does not need to be reset. If an error occurs in the cluster,
    qm also reports the error. Therefore, the cluster timeout
    error of hpre can be masked.
    
    Fixes: d90fab0d ("crypto: hisilicon/qm - get error type from hardware registers")
    Signed-off-by: default avatarWeili Qian <qianweili@huawei.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    145013f7
hpre_main.c 40.3 KB