diff options
author | JC Kuo <jckuo@nvidia.com> | 2012-07-17 17:57:44 +0800 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-07-27 17:17:18 -0700 |
commit | afee560766283360ee64f7b8f9a92c561be2847a (patch) | |
tree | f2793669ee45a2ff70b9c53fc86965c3a8ed88d8 /security | |
parent | 1dfcfbc1b81a9579ce781005cb423a26d1e7096e (diff) |
usb: ehci: DMA buffer sync for qh/qtd descriptors
When EHCI host controller driver examines qh/qtd descriptors, driver
might see stale data in cache on some ARM CPU. This patch introduces
two helper functions, ehci_sync_qh() and ehci_sync_qtd(), to
invalidate cached descriptors so that driver can always read
up-to-date descriptors from memory.
Bug 1005403
Change-Id: I2345bda7dfe29c5fe7f9550066b518cd6624d263
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/116406
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: ChihMin Cheng <ccheng@nvidia.com>
Reviewed-by: Joy Wang <joyw@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions