FreeBSD Bugzilla – Attachment 137958 Details for
Bug 183740
mutex on some arm hardware requires dcache enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 565 bytes, created by
john
on 2013-11-07 07:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
john
Created:
2013-11-07 07:10:00 UTC
Size:
565 bytes
patch
obsolete
>--- sys/arm/arm/machdep.c.ORIGINAL 2013-10-27 01:15:39.000000000 -0400 >+++ sys/arm/arm/machdep.c 2013-11-07 01:43:01.000000000 -0500 >@@ -1481,6 +1483,12 @@ initarm(struct arm_boot_params *abp) > */ > cpu_idcache_wbinv_all(); > >+ /* >+ * Atomics invoked by mutex use ldrex / strex which on some >+ * hardware requires the L1 cache. >+ */ >+ cpu_control(CPU_CONTROL_DC_ENABLE, CPU_CONTROL_DC_ENABLE); >+ > /* Set stack for exception handlers */ > data_abort_handler_address = (u_int)data_abort_handler; > prefetch_abort_handler_address = (u_int)prefetch_abort_handler;
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 183740
: 137958