arm64: More than 16 stream ids
I recently ran into a situation where I needed more than 16 stream ids for an smmu, but we are currently limited to 16 by:
#define MAX_MASTER_STREAMIDS MAX_PHANDLE_ARGS
#define MAX_PHANDLE_ARGS 16
I changed that 16 to 32 and everything worked for me. I am wondering if this is the preferred way to fix the limitation? If so I'd be happy to send out the 1 line patch.
-Joel
[Adding the other Rob ;)]
Quoted 9 lines · Joel Schopp
I recently ran into a situation where I needed more than 16 stream ids for an smmu, but we are currently limited to 16 by:
#define
MAX_MASTER_STREAMIDSMAX_PHANDLE_ARGS
#defineMAX_PHANDLE_ARGS16I changed that 16 to 32 and everything worked for me. I am wondering if this is the preferred way to fix the limitation? If so I'd be happy to send out the 1 line patch.
This seems fine to me. Last time it was brought up, the objection from RobH was that there wasn't any upstream activity for the AMD board, so this change could wait:
http://lists.linuxfoundation.org/pipermail/iommu/2014-January/007556.html
Will