[PATCH 0/2] crypto: hisilicon - supports device isolation feature

Kai Ye posted 2 patches 3 years, 10 months ago
There is a newer version of this series
drivers/crypto/hisilicon/qm.c | 149 +++++++++++++++++++++++++++++++---
drivers/misc/uacce/uacce.c    |  76 +++++++++++++++++
include/linux/hisi_acc_qm.h   |   8 ++
include/linux/uacce.h         |  21 ++++-
4 files changed, 241 insertions(+), 13 deletions(-)
[PATCH 0/2] crypto: hisilicon - supports device isolation feature
Posted by Kai Ye 3 years, 10 months ago
Add the hardware error isolation feature for ACC. Defines a driver debugfs
node that used to configures the hardware error frequency. When the error
frequency is exceeded, the device will be isolated. The isolation strategy 
can be defined in each driver module. e.g. Defining the isolation strategy
for ACC, if the AER error frequency exceeds the value of setting for a 
certain period of time, The device will not be available in user space. The
VF device use the PF device isolation strategy. as well as the isolation 
strategy should not be set during device use.

Kai Ye (2):
  uacce: supports device isolation feature
  crypto: hisilicon/qm - defining the device isolation strategy

 drivers/crypto/hisilicon/qm.c | 149 +++++++++++++++++++++++++++++++---
 drivers/misc/uacce/uacce.c    |  76 +++++++++++++++++
 include/linux/hisi_acc_qm.h   |   8 ++
 include/linux/uacce.h         |  21 ++++-
 4 files changed, 241 insertions(+), 13 deletions(-)

-- 
2.33.0