FreeBSD Bugzilla – Attachment 201790 Details for
Bug 235542
Jetson TK1 SD Card Controller causes kernel panic on FreeBSD 13.0-CURRENT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Protect all bounce page stailq manipulation in add_bounce_page() with bounce_lock
busdma_bounce_lock.diff (text/plain), 755 bytes, created by
Marius Strobl
on 2019-02-06 16:44:25 UTC
(
hide
)
Description:
Protect all bounce page stailq manipulation in add_bounce_page() with bounce_lock
Filename:
MIME Type:
Creator:
Marius Strobl
Created:
2019-02-06 16:44:25 UTC
Size:
755 bytes
patch
obsolete
>Index: sys/arm/arm/busdma_machdep-v6.c >=================================================================== >--- sys/arm/arm/busdma_machdep-v6.c (revision 343837) >+++ sys/arm/arm/busdma_machdep-v6.c (working copy) >@@ -1647,7 +1647,6 @@ add_bounce_page(bus_dma_tag_t dmat, bus_dmamap_t m > STAILQ_REMOVE_HEAD(&bz->bounce_page_list, links); > bz->reserved_bpages--; > bz->active_bpages++; >- mtx_unlock(&bounce_lock); > > if (dmat->flags & BUS_DMA_KEEP_PG_OFFSET) { > /* Page offset needs to be preserved. */ >@@ -1659,6 +1658,7 @@ add_bounce_page(bus_dma_tag_t dmat, bus_dmamap_t m > bpage->dataoffs = addr & PAGE_MASK; > bpage->datacount = size; > STAILQ_INSERT_TAIL(&(map->bpages), bpage, links); >+ mtx_unlock(&bounce_lock); > return (bpage->busaddr); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235542
:
201780
|
201781
| 201790 |
201793
|
201833
|
201848
|
201864