Commit dc65d1d0 authored by Wenkai Lin's avatar Wenkai Lin Committed by Chen Jun
Browse files

iommu/arm-smmu-v3: disable stall for quiet_cd

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8MCHF
CVE: NA

Reference: https://lore.kernel.org/all/20231206005517.46005-1-zhangfei.gao@linaro.org/#r



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

In the stall model, invalid transactions were expected to be
stalled and aborted by the IOPF handler.

However, when killing a test case with a huge amount of data, the
accelerator streamline can not stop until all data is consumed
even if the page fault handler reports errors. As a result, the
kill may take a long time, about 10 seconds with numerous iopf
interrupts.

So disable stall for quiet_cd in the non-force stall model, since
force stall model (STALL_MODEL==0b10) requires CD.S must be 1.

Signed-off-by: default avatarZhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: default avatarWenkai Lin <linwenkai6@hisilicon.com>
Suggested-by: default avatarJean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
parent ca0e4f8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment