Update, its on NFS only (Re: ffs corruption on 9.66.69 on qemu)

2020-10-12 Thread Reinoud Zandijk
Hi folks, On Sun, Oct 11, 2020 at 04:10:00PM +0200, Reinoud Zandijk wrote: > qemu-system-x86_64 -m 4096 -accel nvmm -smp cpus=2 -drive \ > file=work/wd0.img,format=raw -nographic -gdb tcp::1234 -net nic -net \ > tap,ifname=tap0,script=no > > Now is this an qemu related problem? I am a bit hes

[PATCH v2 2/4] Fix s87_tw reconstruction to correctly indicate register states

2020-10-12 Thread Michał Górny
Fix the code reconstructing s87_tw (full tag word) from fx_sw (abridged tag word) to correctly represent all register states. The previous code only distinguished between empty/non-empty registers, and assigned 'regular value' to all non-empty registers. The new code explicitly distinguishes the

[PATCH v2 4/4] Add tests for process_xmm_to_s87() and process_s87_to_xmm()

2020-10-12 Thread Michał Górny
--- distrib/sets/lists/tests/mi | 5 + etc/mtree/NetBSD.dist.tests | 2 + tests/sys/Makefile| 3 + tests/sys/x86/Makefile| 11 ++ tests/sys/x86/t_convert_xmm_s87.c | 211 ++ 5 files changed, 232 insertions(+) create mode 1

[PATCH v2 1/4] Revert "Merge convert_xmm_s87.c into fpu.c"

2020-10-12 Thread Michał Górny
I am going to add ATF tests for these two functions, and having them in a separate file will make it more convenient to build and run them in userspace. --- sys/arch/amd64/conf/files.amd64| 1 + sys/arch/i386/conf/files.i386 | 1 + sys/arch/x86/include/fpu.h | 3 + sys/arch/

[PATCH v2 3/4] Remove unnecessary include

2020-10-12 Thread Michał Górny
--- sys/arch/x86/x86/convert_xmm_s87.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/arch/x86/x86/convert_xmm_s87.c b/sys/arch/x86/x86/convert_xmm_s87.c index 0734fab3943c..3a2932958ace 100644 --- a/sys/arch/x86/x86/convert_xmm_s87.c +++ b/sys/arch/x86/x86/convert_xmm_s87.c @@ -34,7 +34,

[PATCH v2 0/4] Fix s87_tw reconstruction to correctly indicate register states

2020-10-12 Thread Michał Górny
Hi, Here's the same as previously but with tests. I have noticed that the two relevant functions were in a separate file before, and I have decided to revert the patch in order to separate them again (for tests). The tests use similar approach as sys/netatalk tests, i.e. #include the .c file con

Re: [PATCH 0/2] Delete CIRCLEQ

2020-10-12 Thread Christos Zoulas
In article , Kamil Rytarowski wrote: >This removal is a part of a larger synchronization with other BSDs as >we lack various features in sys/queue.h (like LIST_PREV()). > >CIRCLEQ was already deleted from the documentation and disabled in the >kernel in NetBSD-7. If there are still any unaware us

Re: [PATCH 0/2] Delete CIRCLEQ

2020-10-12 Thread Kamil Rytarowski
This removal is a part of a larger synchronization with other BSDs as we lack various features in sys/queue.h (like LIST_PREV()). CIRCLEQ was already deleted from the documentation and disabled in the kernel in NetBSD-7. If there are still any unaware users, they are certainly long broken. What's

Re: [PATCH 0/2] Delete CIRCLEQ

2020-10-12 Thread Mouse
>>> Remove the CIRCLEQ API completely from the system headers and >>> document this fact in the QUEUE(3) man-page. >> why? queue.h may be used by more than src. >> i don't see any benefit except forcing working code to be changed, >> possibly introducing bugs. >> please leave it alone. > It's

Re: [PATCH 0/2] Delete CIRCLEQ

2020-10-12 Thread Kamil Rytarowski
Everything relatively modern that uses sys/queue.h directly was already switched a long time ago to TAILQ. Christos Zoulas changed most users of CIRCLEQ in the src tree 6 years ago. The last leftover is handled in this patchset. I was able to find some 3rd projects using CIRCLEQ, but probably all