On Wed, Feb 10, 2016 at 09:02:38AM -0700, Jason Gunthorpe wrote:
> On Wed, Feb 10, 2016 at 02:42:16PM +0200, Jarkko Sakkinen wrote:
> 
> > So would the right thing to do change it request size of the control
> > area structure (in the call site of crb_map_res)?
> 
> I'm guessing so, where did the 0x1000 fixed size come from? If it is
> just made up then surely use sizeof() instead

To be honest it came from my false understanding that ioremap() should
map in page granularity. I've only used it before doing tpm_crb in that
granularity.

> Jason

/Jarkko

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
tpmdd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

Reply via email to