Hi Tony,

I am hoping to solicit an opinion from you for OMAP frameworks in general.

In some recent review there was some debate about how it was good practice to 
form parameters in a way which didn't get misused. Nishanth was having some 
experience where end users doing custom ports made some hard to find mistakes.

I was wondering if it is useful to create a standard or it's a waste of time.  
The knee-jerk reaction to comment is to consider annotations for driver users 
of api's, then inside the framework trust internals to do the right thing.  
Complexity divide between a driver and some frameworks might be similar to 
user-vs-kernel.

I think example in this case was IVA and other external subsystems commonly got 
away using stale definitions when managing their own power domains.  Example 
seemed a little pedantic but it is true that this has broken several times 
through migrations. At customer fan out it causes a lot of effort which could 
have been avoided.

Just last week someone was trying to caste away an iomem annotation from 
external driver based on warning. For me warning was a good thing and forced 
discussion.

I do recall you pushing what ARM and Linux tress did in this area back into 
OMAP years back.  Question is if it's worth internalizing more for our ever 
growing frameworks.

Thanks,
Richard W.

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to