lkml.org 
[lkml]   [2022]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] crypto: hisilicon - supports device isolation feature
Date
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.

changes v1->v2:
1、deleted dev_to_uacce api.
2、add vfs node doc.
3、move uacce->ref to driver.

Kai Ye (3):
uacce: supports device isolation feature
Documentation: add a isolation strategy vfs node for uacce
crypto: hisilicon/qm - defining the device isolation strategy

Documentation/ABI/testing/sysfs-driver-uacce | 17 ++
drivers/crypto/hisilicon/qm.c | 157 +++++++++++++++++--
drivers/misc/uacce/uacce.c | 37 +++++
include/linux/hisi_acc_qm.h | 9 ++
include/linux/uacce.h | 16 +-
5 files changed, 219 insertions(+), 17 deletions(-)

--
2.33.0

\
 
 \ /
  Last update: 2022-06-14 14:40    [W:0.129 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site