aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorPaul Mundt <[email protected]>2010-02-04 06:57:58 +0000
committerPaul Mundt <[email protected]>2010-02-05 11:53:25 +0900
commit2717568e7c44fe7dc3f4f52ea823811cfeede2b5 (patch)
treea43bc5f7d5e2444c3b038f2a697fa4046d5e0e1c /net/lapb/lapb_in.c
parentfc76be434d90bcd57a0ea6b93a2e66a3fec4b664 (diff)
usb: r8a66597-hcd: Flush the D-cache for the pipe-in transfer buffers.
This implements the same D-cache flushing logic for r8a66597-hcd as Catalin's isp1760 (http://patchwork.kernel.org/patch/76391/) change, with the same note applying here as well: When the HDC driver writes the data to the transfer buffers it pollutes the D-cache (unlike DMA drivers where the device writes the data). If the corresponding pages get mapped into user space, there are no additional cache flushing operations performed and this causes random user space faults on architectures with separate I and D caches (Harvard) or those with aliasing D-cache. This fixes up crashes during USB boot on SH7724 and others: http://marc.info/?l=linux-sh&m=126439837308912&w=2 Reported-by: Goda Yusuke <[email protected]> Tested-by: Goda Yusuke <[email protected]> Cc: [email protected] Signed-off-by: Paul Mundt <[email protected]> Acked-by: Yoshihiro Shimoda <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions