Thread (25 messages) flat view 25 messages, 5 authors, 2017-02-03
STALE3473d

[PATCH 1/5] iommu/arm-smmu: Restrict domain attributes to UNMANAGED domains

From: joro@8bytes.org (Joerg Roedel)
Date: 2017-01-26 17:06:09
Also in: linux-iommu

On Thu, Jan 19, 2017 at 06:41:34PM +0000, Robin Murphy wrote:
For the sake of discussion, would it make sense to enforce this in
domain_set_attr() itself? The intersection of drivers providing these
callbacks and drivers supporting anything other than unmanaged domains
is currently these two below, so it clearly wouldn't break anything to
put this check in core code today. Looking forward, is there likely to
be any plausible situation where users of a managed domain would be
legitimate in mucking about with its attrs, on any platform?
No, this belongs in driver code. I am pretty certain there will be a use
for attributes in unmanaged domains at some point. Crazy things happen
all the time :)


	Joerg
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help