History log of /openbsd-current/sys/arch/sparc64/sparc64/mdesc.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.9 10-Apr-2023 jsg

spelling


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
# 1.8 20-Oct-2019 kettenis

Firmware that supports the "parallel boot" feature allows us to read the PRI
using a simple hypervisor call. Implement this.

Tested by jmatthew@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.7 30-Nov-2014 kettenis

SPARC T4 and later have a pause instruction to voluntarily pause a virtual
processor in order to give other strands a chance to run. Use it in
__mp_lock_spin_hook() to avoid wasting CPU cycles if we're waiting for
the kernel or scheduler locks. This is instruction is patched in, just like
we already do for the sleep instruction on SPARC64 VI processors. We look
at the hwcap-list property of the cpu nodes in the machine description to
decide whether the pause instruction is available.


# 1.6 16-Nov-2014 deraadt

Replace a plethora of historical protection options with just
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h.
PROT_MASK is introduced as the one true way of extracting those bits.
Remove UVM_ADV_* wrapper, using the standard names.
ok doug guenther kettenis


# 1.5 24-Oct-2014 kettenis

Another uvm_km_valloc(9) -> km_alloc(9) conversion.


Revision tags: OPENBSD_5_6_BASE
# 1.4 03-Apr-2014 mpi

Use <uvm/uvm_extern.h> if it's enough.


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.3 10-May-2009 kettenis

Rename mdesc_get_prop_string into mdesc_get_prop_str.


# 1.2 17-Apr-2009 kettenis

Catch up with uvm_pglistalloc() interface change.


# 1.1 12-Apr-2009 kettenis

Move code handling Machine Descriptions out of the cbus(4) driver.


# 1.8 20-Oct-2019 kettenis

Firmware that supports the "parallel boot" feature allows us to read the PRI
using a simple hypervisor call. Implement this.

Tested by jmatthew@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.7 30-Nov-2014 kettenis

SPARC T4 and later have a pause instruction to voluntarily pause a virtual
processor in order to give other strands a chance to run. Use it in
__mp_lock_spin_hook() to avoid wasting CPU cycles if we're waiting for
the kernel or scheduler locks. This is instruction is patched in, just like
we already do for the sleep instruction on SPARC64 VI processors. We look
at the hwcap-list property of the cpu nodes in the machine description to
decide whether the pause instruction is available.


# 1.6 16-Nov-2014 deraadt

Replace a plethora of historical protection options with just
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h.
PROT_MASK is introduced as the one true way of extracting those bits.
Remove UVM_ADV_* wrapper, using the standard names.
ok doug guenther kettenis


# 1.5 24-Oct-2014 kettenis

Another uvm_km_valloc(9) -> km_alloc(9) conversion.


Revision tags: OPENBSD_5_6_BASE
# 1.4 03-Apr-2014 mpi

Use <uvm/uvm_extern.h> if it's enough.


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.3 10-May-2009 kettenis

Rename mdesc_get_prop_string into mdesc_get_prop_str.


# 1.2 17-Apr-2009 kettenis

Catch up with uvm_pglistalloc() interface change.


# 1.1 12-Apr-2009 kettenis

Move code handling Machine Descriptions out of the cbus(4) driver.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.7 30-Nov-2014 kettenis

SPARC T4 and later have a pause instruction to voluntarily pause a virtual
processor in order to give other strands a chance to run. Use it in
__mp_lock_spin_hook() to avoid wasting CPU cycles if we're waiting for
the kernel or scheduler locks. This is instruction is patched in, just like
we already do for the sleep instruction on SPARC64 VI processors. We look
at the hwcap-list property of the cpu nodes in the machine description to
decide whether the pause instruction is available.


# 1.6 16-Nov-2014 deraadt

Replace a plethora of historical protection options with just
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h.
PROT_MASK is introduced as the one true way of extracting those bits.
Remove UVM_ADV_* wrapper, using the standard names.
ok doug guenther kettenis


# 1.5 24-Oct-2014 kettenis

Another uvm_km_valloc(9) -> km_alloc(9) conversion.


Revision tags: OPENBSD_5_6_BASE
# 1.4 03-Apr-2014 mpi

Use <uvm/uvm_extern.h> if it's enough.


Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.3 10-May-2009 kettenis

Rename mdesc_get_prop_string into mdesc_get_prop_str.


# 1.2 17-Apr-2009 kettenis

Catch up with uvm_pglistalloc() interface change.


# 1.1 12-Apr-2009 kettenis

Move code handling Machine Descriptions out of the cbus(4) driver.