#
de64ca6f |
| 01-Mar-2023 |
riastradh <riastradh@NetBSD.org> |
x86: Expand on comments on ordering around stores to ci_curlwp.
No functional change intended.
PR kern/57240
|
#
bb121b2c |
| 08-Sep-2022 |
knakahara <knakahara@NetBSD.org> |
Fix PR port-i386/57000 (boot failure on qemu).
|
#
87531432 |
| 07-Sep-2022 |
knakahara <knakahara@NetBSD.org> |
NetBSD/x86: Raise the number of interrupt sources per CPU from 32 to 56.
There has been no objection for three years. https://mail-index.netbsd.org/port-amd64/2019/09/22/msg003012.html Implement
NetBSD/x86: Raise the number of interrupt sources per CPU from 32 to 56.
There has been no objection for three years. https://mail-index.netbsd.org/port-amd64/2019/09/22/msg003012.html Implemented by nonaka@n.o, updated by me.
show more ...
|
#
c200136e |
| 17-May-2020 |
ad <ad@NetBSD.org> |
comments
|
#
cfe64f82 |
| 01-May-2020 |
maxv <maxv@NetBSD.org> |
Switch the rest of i386 to the x86_hotpatch mechanism.
|
#
b01264c6 |
| 01-May-2020 |
maxv <maxv@NetBSD.org> |
Remove dead code, we are in an #ifndef XENPV block here.
|
#
e2320c34 |
| 01-May-2020 |
maxv <maxv@NetBSD.org> |
Use absolute jumps, and drop the PC-relative patching. We want exact templates.
|
#
22e594a0 |
| 25-Apr-2020 |
bouyer <bouyer@NetBSD.org> |
Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM guests in GENERIC. Xen support can be disabled at runtime with boot -c disable hypervisor
|
#
14f6a1f0 |
| 08-Jan-2020 |
ad <ad@NetBSD.org> |
Hopefully fix some problems seen with MP support on non-x86, in particular where curcpu() is defined as curlwp->l_cpu:
- mi_switch(): undo the ~2007ish optimisation to unlock curlwp before calling
Hopefully fix some problems seen with MP support on non-x86, in particular where curcpu() is defined as curlwp->l_cpu:
- mi_switch(): undo the ~2007ish optimisation to unlock curlwp before calling cpu_switchto(). It's not safe to let other actors mess with the LWP (in particular l->l_cpu) while it's still context switching. This removes l->l_ctxswtch.
- Move the LP_RUNNING flag into l->l_flag and rename to LW_RUNNING since it's now covered by the LWP's lock.
- Ditch lwp_exit_switchaway() and just call mi_switch() instead. Everything is in cache anyway so it wasn't buying much by trying to avoid saving old state. This means cpu_switchto() will never be called with prevlwp == NULL.
- Remove some KERNEL_LOCK handling which hasn't been needed for years.
show more ...
|
#
84e0feff |
| 12-Oct-2019 |
maxv <maxv@NetBSD.org> |
Rewrite the FPU code on x86. This greatly simplifies the logic and removes the dependency on IPL_HIGH. NVMM is updated accordingly. Posted on port-amd64 a week ago.
Bump the kernel version to 9.99.1
Rewrite the FPU code on x86. This greatly simplifies the logic and removes the dependency on IPL_HIGH. NVMM is updated accordingly. Posted on port-amd64 a week ago.
Bump the kernel version to 9.99.16.
show more ...
|
#
4bc95673 |
| 04-Oct-2019 |
maxv <maxv@NetBSD.org> |
Misc reordering, to clarify and reduce the diff against amd64.
|
#
bf5abc14 |
| 11-Feb-2019 |
cherry <cherry@NetBSD.org> |
We reorganise definitions for XEN source support as follows:
XEN - common sources required for baseline XEN support. XENPV - sources required for support of XEN in PV mode. XENPVHVM - sources requir
We reorganise definitions for XEN source support as follows:
XEN - common sources required for baseline XEN support. XENPV - sources required for support of XEN in PV mode. XENPVHVM - sources required for support for XEN in HVM mode. XENPVH - sources required for support for XEN in PVH mode.
show more ...
|
#
363b59ac |
| 26-Dec-2018 |
cherry <cherry@NetBSD.org> |
Xen can use the native splraise(9) functions.
There is no need for a slower C version.
|
#
eaf311f5 |
| 25-Dec-2018 |
cherry <cherry@NetBSD.org> |
fix i386 build - missed sources migration in previous commit.
allow xen_intr.c to build by bringing in static support functions for -D INTRSTACKSIZE
This should fix the i386 build now.
|
#
c3ac919c |
| 25-Dec-2018 |
cherry <cherry@NetBSD.org> |
Excise XEN specific code out of x86/x86/intr.c into xen/x86/xen_intr.c
While at it, separate the source function tracking so that the interrupt paths are truly independant.
Use weak symbol exportin
Excise XEN specific code out of x86/x86/intr.c into xen/x86/xen_intr.c
While at it, separate the source function tracking so that the interrupt paths are truly independant.
Use weak symbol exporting to provision for future PVHVM co-existence of both files, but with independant paths. Introduce assembler code such that in a unified scenario, native interrupts get first priority in spllower(), followed by XEN event callbacks. IPL management and semantics are unchanged - native handlers and xen callbacks are expected to maintain their ipl related semantics.
In summary, after this commit, native and XEN now have completely unrelated interrupt handling mechanisms, including intr_establish_xname() and assembler stubs and intr handler management.
Happy Christmas!
show more ...
|
#
c0a9a1b4 |
| 04-Apr-2018 |
christos <christos@NetBSD.org> |
Rename Xpreempt{recurse,resume} -> X{recurse,resume}_preempt so that they fit the pattern. Also the debugger trap sniffer matches them without adding special entries... XXX: pullup-8.
|
#
f38f8f59 |
| 27-Jan-2018 |
maxv <maxv@NetBSD.org> |
style
|
#
81ce6dad |
| 12-Aug-2017 |
maxv <maxv@NetBSD.org> |
Remove vm86. Simplifies a number of critical places.
Pass 2.
|
#
83fa9e87 |
| 11-Jan-2014 |
christos <christos@NetBSD.org> |
remove vestige from old call to printk()
This line was introduced with a call to printk() in CVS revision 1.22.4.3 and should have been removed when the call to printk() was removed in CVS revision
remove vestige from old call to printk()
This line was introduced with a call to printk() in CVS revision 1.22.4.3 and should have been removed when the call to printk() was removed in CVS revision 1.22.4.6. (Richard Hansen)
show more ...
|
#
da5241c8 |
| 22-Jun-2013 |
uebayasi <uebayasi@NetBSD.org> |
Use END() to set ELF symbol size. Set some type info too.
|
#
e1ead7d9 |
| 10-Nov-2012 |
cherry <cherry@NetBSD.org> |
Remove e a redundant layer of function calling in the event handling path
|
#
693fa8ee |
| 15-Jun-2012 |
yamt <yamt@NetBSD.org> |
update a comment
|
#
0718c94b |
| 18-Mar-2011 |
joerg <joerg@NetBSD.org> |
Remove static branch prediction hints. They pessimize code for all CPUs but Pentium IV. Discussed with ad@ and dsl@
|
#
3f18fe81 |
| 27-Nov-2009 |
rmind <rmind@NetBSD.org> |
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr. - Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb(). - Amend assembly in ports where it acce
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr. - Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb(). - Amend assembly in ports where it accesses PCB via struct user. - Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
show more ...
|
#
9303fb5a |
| 25-Nov-2009 |
rmind <rmind@NetBSD.org> |
Remove IPL_LPT and IPL_IPI aliases, use the actual IPLs. Fix some broken comments.
|