History log of /netbsd/sys/arch/sparc64/sparc64/vm_machdep.c (Results 1 – 25 of 102)
Revision Date Author Comments
# 6b1ccab1 11-Feb-2019 macallan <macallan@NetBSD.org>

retry timed out IPIs, complain and dump timing info into dmesg
ok martin@


# db5aa7af 06-Nov-2015 martin <martin@NetBSD.org>

Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:

Remove special case handling for userland lwps from cpu_lwp_fork,
instead do it in lwp_trampoline when we first return to userland.

Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:

Remove special case handling for userland lwps from cpu_lwp_fork,
instead do it in lwp_trampoline when we first return to userland.

which was a stupid idea - since we did now set all fork child's %tstate
(and thus %pstate when back in userland) to the current kernel's userland
default. This meant we lost the address mask bit for 32bit processes and
all memory model details for 64bit ones.

Move it back to cpu_lwp_fork and fix the condition to only do it once when
forking init.

show more ...


# c2fc4921 15-Sep-2013 martin <martin@NetBSD.org>

Remove unused variable


# 154d3024 19-Feb-2012 rmind <rmind@NetBSD.org>

Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.


# 1fef03a2 08-Oct-2011 nakayama <nakayama@NetBSD.org>

Fix namespace confilicts membar_ops(3) vs. macros for SPARC V9
membar instructions.


# 8cf919c1 01-Jul-2011 dyoung <dyoung@NetBSD.org>

#include <sys/bus.h> instead of <machine/bus.h>.


# 4c92f569 24-Feb-2011 joerg <joerg@NetBSD.org>

Allow storing and receiving the LWP private pointer via ucontext_t
on all platforms except VAX and IA64. Add fast access via register for
AMD64, i386 and SH3 ports. Use this fast access in libpthread

Allow storing and receiving the LWP private pointer via ucontext_t
on all platforms except VAX and IA64. Add fast access via register for
AMD64, i386 and SH3 ports. Use this fast access in libpthread to replace
the stack based pthread_self(). Implement skeleton support for Alpha,
HPPA, PowerPC, SPARC and SPARC64, but leave it disabled.

Ports that support this feature provide __HAVE____LWP_GETPRIVATE_FAST in
machine/types.h and a corresponding __lwp_getprivate_fast in
machine/mcontext.h.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

show more ...


# 97912c92 10-Feb-2011 pooka <pooka@NetBSD.org>

Make vmapbuf() return success/error and make physio deal with a
failure.


# 68dcb28a 18-Jan-2011 matt <matt@NetBSD.org>

Copy PK_32 to p2->p_flag instead of doing it in the cpu_proc_fork hook.


# da876597 14-Jan-2011 rmind <rmind@NetBSD.org>

Retire struct user, remove sys/user.h inclusions. Note sys/user.h header
as obsolete. Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.


# 54e22c39 06-Nov-2010 mrg <mrg@NetBSD.org>

remove an XXX comment.


# a626cff9 21-Nov-2009 rmind <rmind@NetBSD.org>

Use lwp_getpcb() on sparc{64} and sun2/3 MD code, clean from struct user usage.


# 9480c51b 07-Nov-2009 cegger <cegger@NetBSD.org>

Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.


# 7f65d137 30-May-2009 martin <martin@NetBSD.org>

cpu_setfunc() can not use lwp_trampoline, as that has additional lwp startup
semantics. Use a simpler setfunc_trampoline instead.


# b808c7c6 21-May-2009 martin <martin@NetBSD.org>

Deja Vu: when preparing the initial trap frame for a new forked lwp,
explicitly clear condition code. Otherwise we might catch a signal
(handlers are inherited from the parent) before we ever return

Deja Vu: when preparing the initial trap frame for a new forked lwp,
explicitly clear condition code. Otherwise we might catch a signal
(handlers are inherited from the parent) before we ever return to
userland. The current trapframe is converted into a ucontext and after
the signal handler returns, the lwp stays in userland and directly
uses the ucontext to return to the fork call.
Fixes PR 41302.

show more ...


# 7cc9af7d 16-Mar-2009 dsl <dsl@NetBSD.org>

ANSIfy functions with function-pointer arguments


# 454af1c0 14-Mar-2009 dsl <dsl@NetBSD.org>

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

show more ...


# 92ce8c6a 19-Nov-2008 ad <ad@NetBSD.org>

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

show more ...


# 58175029 24-Oct-2008 martin <martin@NetBSD.org>

Avoid code duplication: make cpu_lwp_fork() use cpu_setfunc(). Leave
the inlinig to the compiler. Suggested by Nick Hudson.


# ec4b77b4 16-Oct-2008 martin <martin@NetBSD.org>

resurrect cpu_setfunc(), adapted to new world order.


# af71e728 13-Oct-2008 nakayama <nakayama@NetBSD.org>

Remove unnecessary includes.


# b74ec3e6 10-Jul-2008 nakayama <nakayama@NetBSD.org>

Switch fpstate buffer allocation from malloc to pool_cache.

Ok by martin@.


# 0a332c0d 17-Mar-2008 nakayama <nakayama@NetBSD.org>

Fix a race condition in IPI handlers of save/drop fpstate, from OpenBSD.
Reported and tested by martin@.


# 53740092 14-Mar-2008 nakayama <nakayama@NetBSD.org>

Improve FPU state save/clear like x86, idea from OpenBSD.


# 1fc8a179 22-Feb-2008 martin <martin@NetBSD.org>

Get rid of the IPI simple_lock.


12345