linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v9 0/3] crypto: hisilicon - supports device isolation feature
@ 2022-10-25 12:39 Kai Ye
  2022-10-25 12:39 ` [PATCH v9 1/3] uacce: " Kai Ye
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kai Ye @ 2022-10-25 12:39 UTC (permalink / raw)
  To: gregkh, linux-accelerators, linux-kernel, linuxarm, zhangfei.gao,
	wangzhou1, yekai13

1.Add the uacce hardware error isolation interface. Supports
  configures the hardware error isolation frequency.
2.Defining the isolation strategy for ACC by uacce sysfs node. If the
  number of hardware errors in a per hour exceeds the configured value,
  the device will not be available in user space. The VF device use the
  PF device isolation strategy.

changes v1->v2:
        - deleted dev_to_uacce api.
        - add vfs node doc.
        - move uacce->ref to driver.
changes v2->v3:
        - deleted some redundant code.
        - use qm state instead of reference count.
        - add null pointer check.
        - isolate_strategy_read() instead of a copy.
changes v3->v4:
        - modify a comment
changes v4->v5:
        - use bool instead of atomic.
        - isolation frequency instead of isolation command.
changes v5->v6:
        - add is_visible in uacce.
        - add the description of the isolation strategy file node.
changes v6->v7
        - add an example for isolate_strategy in Documentation.
changes v7->v8
        - update the correct date.
changes v8->v9
        - move isolation strategy from qm to uacce.

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

 Documentation/ABI/testing/sysfs-driver-uacce |  27 ++++
 drivers/crypto/hisilicon/qm.c                |  66 +++++++--
 drivers/misc/uacce/uacce.c                   | 145 +++++++++++++++++++
 include/linux/uacce.h                        |  43 +++++-
 4 files changed, 271 insertions(+), 10 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-26  6:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 12:39 [PATCH v9 0/3] crypto: hisilicon - supports device isolation feature Kai Ye
2022-10-25 12:39 ` [PATCH v9 1/3] uacce: " Kai Ye
2022-10-25 13:00   ` Greg KH
2022-10-26  6:14   ` kernel test robot
2022-10-25 12:39 ` [PATCH v9 2/3] Documentation: add a isolation strategy sysfs node for uacce Kai Ye
2022-10-25 13:03   ` Greg KH
2022-10-25 12:39 ` [PATCH v9 3/3] crypto: hisilicon/qm - add the device isolation feature for acc Kai Ye

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).