Thread (2 messages) flat view 2 messages, 2 authors, 2011-10-02

[RFC 1/5] ARM: dev_archdata: add private iommu extension

From: Ohad Ben-Cohen <hidden>
Date: 2011-10-02 18:49:08
Also in: linux-omap, lkml

On Tue, Sep 27, 2011 at 4:30 AM, Grant Likely [off-list ref] wrote:
Blech. ?Oh well. ?Not much point in doing something different if x86
uses a void*.
x86 probably does this because two different implementations needs to
plug their private data there: intel-iommu plugs there a 'struct
device_domain_info *' and amd_iommu uses it with a 'struct
iommu_dev_data *'.

On ARM we'd eventually end up with even a bigger variety, and I guess
that even if we'd use a type-safe member here, it would itself end up
having 'void *'.

If it looks reasonable to you, can I please have your Ack ?

Russell, can you please take a look too and ack/nack ?

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