Commit a9ab22e0 authored by JiangShui Yang's avatar JiangShui Yang Committed by JiangShui
Browse files

Revert "crypto: hisilicon/qm: Set the VF QM state register"

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8FI6W


CVE: NA

----------------------------------------------------------------------

replace it with the mainline solusion.
This reverts commit b5592e08.

Signed-off-by: default avatarJiangShui Yang <yangjiangshui@h-partners.com>
parent 93a5a99e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3107,10 +3107,10 @@ void hisi_qm_uninit(struct hisi_qm *qm)
		up_write(&qm->qps_lock);
		return;
	}
	up_write(&qm->qps_lock);

	hisi_qm_memory_uninit(qm);
	hisi_qm_set_state(qm, VF_NOT_READY);
	up_write(&qm->qps_lock);

	qm_remove_uacce(qm);
	qm_irqs_unregister(qm);
@@ -3125,6 +3125,7 @@ EXPORT_SYMBOL_GPL(hisi_qm_uninit);
 * @number: The number of queues in vft.
 *
 * We can allocate multiple queues to a qm by configuring virtual function
 * table. We get related configures by this function. Normally, we call this
 * function in VF driver to get the queue information.
 *
 * qm hw v1 does not support this interface.