mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

the hardware error was reported by interrupt, and need be fixed by doing function reset, but the whole reset flow takes a long time, should not do it in irq handler, so do it in scheduled task. Signed-off-by: Jijie Shao <shaojijie@huawei.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
14 lines
334 B
C
14 lines
334 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/* Copyright (c) 2024 Hisilicon Limited. */
|
|
|
|
#ifndef __HBG_ERR_H
|
|
#define __HBG_ERR_H
|
|
|
|
#include <linux/pci.h>
|
|
|
|
void hbg_set_pci_err_handler(struct pci_driver *pdrv);
|
|
int hbg_reset(struct hbg_priv *priv);
|
|
int hbg_rebuild(struct hbg_priv *priv);
|
|
void hbg_err_reset(struct hbg_priv *priv);
|
|
|
|
#endif
|