Thread (14 messages) read the whole thread 14 messages, 4 authors, 2022-09-22

RE: [PATCH v4 4/6] iommu: Regulate EINVAL in ->attach_dev callback functions

From: "Tian, Kevin" <kevin.tian@intel.com>
Date: 2022-09-22 08:18:52
Also in: linux-iommu, linux-mediatek, lkml

From: Nicolin Chen <redacted>
Sent: Wednesday, September 21, 2022 4:23 PM

Following the new rules in include/linux/iommu.h kdocs, EINVAL now can be
used to indicate that domain and device are incompatible by a caller that
treats it as a soft failure and tries attaching to another domain.

On the other hand, there are ->attach_dev callback functions returning it
for obvious device-specific errors. They will result in some inefficiency
in the caller handling routine.

Update these places to corresponding errnos following the new rules.

Signed-off-by: Nicolin Chen <redacted>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help