Get rid of BUG()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 of 3 patches 3 repliesIn review
1 of 3 patches is in this archive. The cover letter announces 3.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | intel_sgx: do not use BUG() in sgx_free_page()drivers/ | +2 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Get rid of BUG()
The use of BUG() is not favored for any new kernel code. This patch set implements more reasonable error recovery. In all cases the recovery is not ideal but it is an improvement to the current situation.
In addition, sgx_free_page() has been simplified by removing the parameter for skipping EREMOVE. EREMOVE can be successfully executed for an unused EPC page.
Jarkko Sakkinen (3):
intel_sgx: do not use BUG() in sgx_free_page()
intel_sgx: remove flags parameter from sgx_free_page()
intel_sgx: fix error paths for EBLOCK and ETRACK
drivers/platform/x86/intel_sgx.h | 4 +- drivers/platform/x86/intel_sgx_ioctl.c | 12 ++-- drivers/platform/x86/intel_sgx_page_cache.c | 89 +++++++++++++++-------------- drivers/platform/x86/intel_sgx_util.c | 6 +- drivers/platform/x86/intel_sgx_vma.c | 6 +- 5 files changed, 55 insertions(+), 62 deletions(-)
Signature · 1 line
2.9.3