FreeBSD Bugzilla – Attachment 186517 Details for
Bug 222234
head -r323246 aarch64 (Pine64+ 2GB) boot time context, sometimes: acquiring blockable sleep lock with spinlock or critical section held
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Example patch for sys/arm64/arm64/identcpu.c 's sev instruction use
file_222234.txt (text/plain), 455 bytes, created by
Mark Millard
on 2017-09-18 19:13:54 UTC
(
hide
)
Description:
Example patch for sys/arm64/arm64/identcpu.c 's sev instruction use
Filename:
MIME Type:
Creator:
Mark Millard
Created:
2017-09-18 19:13:54 UTC
Size:
455 bytes
patch
obsolete
>Index: /usr/src/sys/arm64/arm64/identcpu.c >=================================================================== >--- /usr/src/sys/arm64/arm64/identcpu.c (revision 323676) >+++ /usr/src/sys/arm64/arm64/identcpu.c (working copy) >@@ -1109,6 +1109,9 @@ > > /* Wake up the other CPUs */ > atomic_store_rel_int(&ident_lock, 0); >- __asm __volatile("sev" ::: "memory"); >+ __asm __volatile( >+ "dsb ish \n" >+ "sev \n" >+ ::: "memory"); > } > }
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 222234
:
186443
| 186517