Comments (5)
update in https://github.com/Linaro/uadk/tree/nginx-fork
zip and sec has similar issue:
zip: fork in the middle of test
bad status(ctx_st=0x0, s=0x41, t=3)
[59987.624846] {3}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 0
[59987.633076] {3}[Hardware Error]: event severity: recoverable
[59987.633080] {3}[Hardware Error]: Error 0, type: recoverable
[59987.633082] {3}[Hardware Error]: section_type: PCIe error
[59987.633083] {3}[Hardware Error]: version: 4.0
[59987.633084] {3}[Hardware Error]: command: 0x0006, status: 0x0010
[59987.633086] {3}[Hardware Error]: device_id: 0000:75:00.0
[59987.633087] {3}[Hardware Error]: slot: 0
[59987.633089] {3}[Hardware Error]: secondary_bus: 0x00
[59987.633090] {3}[Hardware Error]: vendor_id: 0x19e5, device_id: 0xa250
[59987.633092] {3}[Hardware Error]: class_code: 120000
sec:
hpre: fork issue in the middle of test
$ test_hisi_hpre
wd_request_ctx ctx->fd=3
wd_request_ctx ctx->fd=4
<< test finish!
parent pid=30643
child pid=30646
wd_request_ctx ctx->fd=5
wd_request_ctx ctx->fd=6
wd_release_ctx ctx->fd=3
wd_release_ctx ctx->fd=4
HPRE do rsa fail!done=0x2, etype=0x4
Proc-30646, T-30647:hpre rsa-gen 0th status=0 fail!
HPRE do rsa fail!done=0x2, etype=0x4
Proc-30646, T-30648:hpre rsa-gen 0th status=0 fail!
<< test finish!
from uadk.
The issue is forked mm duplicate the old mm, as well as pasid.
dup_mm: memcpy(mm, oldmm, sizeof(*mm));
So iommu_sva_alloc_pasid returns the old pasid, instead of ioasid_alloc a new pasid.
if (mm->pasid)
ioasid_get(mm->pasid);
https://lore.kernel.org/linux-iommu/[email protected]/
can solve the issue.
from uadk.
Good shot!!! BTW is this patch in current mainline?
from uadk.
The patch is now queued for v5.13
https://lore.kernel.org/mm-commits/20210302232856.mD-u6EDsC%[email protected]/T/#u
from uadk.
Cool, Thanks Jean
Close the issue since the patch is now queued for v5.13
https://lore.kernel.org/mm-commits/20210302232856.mD-u6EDsC%[email protected]/T/#u
from uadk.
Related Issues (20)
- uadk cipher perfmance is much worse than warpdrive perfmance when using multi-queue by test. HOT 1
- kae on uadk v1 still has issue HOT 2
- zip_sva_perf run hw file decompress failed HOT 1
- digest stream mode not supported
- Potential error(e.g. deadlock, ill performance) due to the unreleased lock HOT 4
- UADK multi-queue scheduling problem HOT 2
- UADK multi-threaded performance issues HOT 2
- uadk can not support nginx since cipher and digest can not re-enter HOT 1
- Can you show the version number in the code? HOT 5
- io page fault
- remove fmin in wd_util.c HOT 1
- libcrypto_wd.so should be libcrypto.so? HOT 1
- apt-get install libnuma-dev has issue after numa source code make install HOT 1
- compilation failure with GCC 12 HOT 1
- 虚拟机跑SEC业务概率出错 HOT 2
- In guest system, init2 fails since wd_get_usable_list failed to get usable devices(-19)! HOT 2
- cipher modes supported by v1 not supported by UADK HOT 1
- 使用uadk计算hash多次写入数据设置opdata.has_next = true,提示需64位对齐,请问要怎么对齐
- fail in hw_ifl_perf() with return code EINVAL HOT 1
- Failed to run sanity_test.sh on openEuler 22.04
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uadk.