nvme-core: add user command filter
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] nvme-core: add user command filter
Quoted 13 lines · Chaitanya Kulkarni
I agree that passthru means we should just passthru. But user-pace doesn't have the access to take
corrective action on clearing the AEN.
The cases where Kernel is responsible for reading and clearing out the log pages/AENs
if we allow userspace to clear those it will create a problem in the kernel code if kernel code
expects the aen bit to be set. This can lead to complex bugs where,
Quoted 7 lines
1. Kernel expects the log page and aen to be present.
2. But it is been cleared since userspace read it but did not take the corrective action or doesn't have the
right interface to take corrective action so it depends on a kernel
(driver) to take the corrective action.
But the kernel still sees the AEN, and the log the kernel wants to read will still exist. None of the logs contents are latched to RAE, so I'm afraid I'm not seeing what problem letting user space re-arm the AEN creates. Could you walk me through a scenario that triggers such a bug?