Page MenuHomeFreeBSD
Feed Advanced Search

May 7 2019

soutade_gmail.com added a comment to D7970: Linux ARM v2 1/9.

This patchset has been created for FreeBSD 11. It has not been tested nor maintened since and I currently don't have time to work on it. I think we can drop it (it can be a base for new contributors).

May 7 2019, 7:16 AM · Linux Emulation, ARM

Oct 4 2016

soutade_gmail.com updated the diff for D7974: Linux ARM v2 5/9.

Remove obsolete syscalls. Add linux_send() and linux_recv()

Oct 4 2016, 12:46 PM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D7973: Linux ARM v2 4/9.

Remove obsolete syscalls. Add linux_send() and linux_recv()

Oct 4 2016, 12:46 PM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D7972: Linux ARM v2 3/9.

Remove obsolete syscalls. Add linux_send() and linux_recv()

Oct 4 2016, 12:45 PM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D7971: Linux ARM v2 2/9.

Remove unnecessary cast. Remove obsolete syscalls. Add linux_send() and linux_recv()

Oct 4 2016, 12:44 PM · Linux Emulation, ARM
soutade_gmail.com added inline comments to D7972: Linux ARM v2 3/9.
Oct 4 2016, 12:31 PM · Linux Emulation, ARM
soutade_gmail.com added inline comments to D7971: Linux ARM v2 2/9.
Oct 4 2016, 9:58 AM · Linux Emulation, ARM
soutade_gmail.com added inline comments to D7974: Linux ARM v2 5/9.
Oct 4 2016, 9:45 AM · Linux Emulation, ARM
soutade_gmail.com added inline comments to D7972: Linux ARM v2 3/9.
Oct 4 2016, 9:37 AM · Linux Emulation, ARM
soutade_gmail.com added inline comments to D7972: Linux ARM v2 3/9.
Oct 4 2016, 9:35 AM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D7974: Linux ARM v2 5/9.

Remove old Linux syscalls (not presents in Linux calls.S). Add dummy linux_syscall.

Oct 4 2016, 8:46 AM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D7973: Linux ARM v2 4/9.

Remove old Linux syscalls (not presents in Linux calls.S)

Oct 4 2016, 8:44 AM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D7972: Linux ARM v2 3/9.

Remove old Linux syscalls (not presents in Linux calls.S). Add dummy linux_syscall.

Oct 4 2016, 8:43 AM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D7971: Linux ARM v2 2/9.

Remove old Linux syscalls (not presents in Linux calls.S)

Oct 4 2016, 8:42 AM · Linux Emulation, ARM

Sep 30 2016

soutade_gmail.com added a comment to D7972: Linux ARM v2 3/9.

There are also a few syscalls that were removed when they changed to EABI. I don't see a need for us to support the syscalls userspace will never call.

Sep 30 2016, 12:29 PM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D7974: Linux ARM v2 5/9.

Use <machine/pcb.h> instead of <arm/include/pcb.h>

Sep 30 2016, 9:58 AM · Linux Emulation, ARM
soutade_gmail.com added inline comments to D7974: Linux ARM v2 5/9.
Sep 30 2016, 9:55 AM · Linux Emulation, ARM
soutade_gmail.com added inline comments to D7972: Linux ARM v2 3/9.
Sep 30 2016, 8:24 AM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D7972: Linux ARM v2 3/9.

Add more comments for ARM specific syscalls

Sep 30 2016, 8:22 AM · Linux Emulation, ARM
soutade_gmail.com added inline comments to D7972: Linux ARM v2 3/9.
Sep 30 2016, 7:10 AM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D7970: Linux ARM v2 1/9.

Add sys/conf/files.arm

Sep 30 2016, 6:38 AM · Linux Emulation, ARM
soutade_gmail.com added a comment to D7970: Linux ARM v2 1/9.
In D7970#167040, @gonzo wrote:
In D7970#166887, @gonzo wrote:

Gregory,

I take it v2 reviews are the ones that are relevant and that should be reviewed/tested. And previous 16 reviews can be closed now? Is that right?

Thank you

Right. They're strictly the same (except an update needed to compile in new HEAD) but the first version is more Linux like patchset while the second is FreeBSD style.

Gregory,

Could you close all Linux-style revisions? Go to the bottom of the page and choose "Abandon" action with comment like "Overtaken by D7970 .. D7978". I was going to do it myself but it seems only revision author can abandon it.

Thank you

Sep 30 2016, 5:46 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D7394: Linux ARM 17/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:45 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6773: Linux ARM 16/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:45 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6772: Linux ARM 15/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:45 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6771: Linux ARM 14/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:45 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6770: Linux ARM 13/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:45 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6769: Linux ARM 12/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:44 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6768: Linux ARM 11/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:44 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6767: Linux ARM 10/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:44 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6766: Linux ARM 9/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:43 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6765: Linux ARM 8/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:43 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6764: Linux ARM 7/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:43 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6763: Linux ARM 6/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:42 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6762: Linux ARM 5/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:42 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6761: Linux ARM 4/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:42 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6760: Linux ARM 3/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:42 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6759: Linux ARM 2/16.

Overtaken by D7970 .. D7978

Sep 30 2016, 5:41 AM · Linux Emulation, ARM
soutade_gmail.com abandoned D6758: Linux ARM 1/16.

Overtaken by https://reviews.freebsd.org/D7970 .. https://reviews.freebsd.org/D7978

Sep 30 2016, 5:40 AM · Linux Emulation, ARM

Sep 29 2016

soutade_gmail.com updated the diff for D7976: Linux ARM v2 7/9.

Use SV_ABI_ERRNO() macro

Sep 29 2016, 3:20 PM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D7975: Linux ARM v2 6/9.

Typo fix

Sep 29 2016, 3:15 PM · Linux Emulation, ARM
soutade_gmail.com added a comment to D7970: Linux ARM v2 1/9.
In D7970#166887, @gonzo wrote:

Gregory,

I take it v2 reviews are the ones that are relevant and that should be reviewed/tested. And previous 16 reviews can be closed now? Is that right?

Thank you

Sep 29 2016, 5:37 AM · Linux Emulation, ARM

Sep 26 2016

soutade_gmail.com updated the diff for D7974: Linux ARM v2 5/9.

Update linux_set_tls() functions. md_tp field not present anymore for arch >= v6.

Sep 26 2016, 9:38 AM · Linux Emulation, ARM

Sep 21 2016

soutade_gmail.com added a comment to D7971: Linux ARM v2 2/9.

These look to be only on platforms that support 32-bit linux emulation, so maybe there's a better name? maybe HAVE_LINUX32?

Sounds good to me. I'll update the patch tomorrow.

Sep 21 2016, 7:56 AM · Linux Emulation, ARM
soutade_gmail.com added inline comments to D7971: Linux ARM v2 2/9.
Sep 21 2016, 6:13 AM · Linux Emulation, ARM

Sep 20 2016

soutade_gmail.com added a comment to D7971: Linux ARM v2 2/9.

These look to be only on platforms that support 32-bit linux emulation, so maybe there's a better name? maybe HAVE_LINUX32?

Sep 20 2016, 4:16 PM · Linux Emulation, ARM
soutade_gmail.com added a comment to D7971: Linux ARM v2 2/9.
In D7971#164955, @imp wrote:

I wonder, though, if there might be a more generic way to say

#if defined(i386) || defined(arm) || (defined(amd64) && defined(COMPAT_LINUX32))

since it is repeated so often.

Sep 20 2016, 4:08 PM · Linux Emulation, ARM
soutade_gmail.com retitled D7978: Linux ARM v2 9/9 from to Linux ARM v2 9/9.
Sep 20 2016, 2:09 PM · Linux Emulation, ARM
soutade_gmail.com retitled D7977: Linux ARM v2 8/9 from to Linux ARM v2 8/9.
Sep 20 2016, 2:08 PM · Linux Emulation, ARM
soutade_gmail.com retitled D7976: Linux ARM v2 7/9 from to Linux ARM v2 7/9.
Sep 20 2016, 2:07 PM · Linux Emulation, ARM
soutade_gmail.com retitled D7975: Linux ARM v2 6/9 from to Linux ARM v2 6/9.
Sep 20 2016, 2:05 PM · Linux Emulation, ARM
soutade_gmail.com retitled D7974: Linux ARM v2 5/9 from to Linux ARM v2 5/9.
Sep 20 2016, 2:04 PM · Linux Emulation, ARM
soutade_gmail.com retitled D7973: Linux ARM v2 4/9 from to Linux ARM v2 4/9.
Sep 20 2016, 2:02 PM · Linux Emulation, ARM
soutade_gmail.com retitled D7972: Linux ARM v2 3/9 from to Linux ARM v2 3/9.
Sep 20 2016, 2:01 PM · Linux Emulation, ARM
soutade_gmail.com retitled D7971: Linux ARM v2 2/9 from to Linux ARM v2 2/9.
Sep 20 2016, 1:59 PM · Linux Emulation, ARM
soutade_gmail.com retitled D7970: Linux ARM v2 1/9 from to Linux ARM v2 1/9.
Sep 20 2016, 1:58 PM · Linux Emulation, ARM
soutade_gmail.com retitled D7966: ARM compressed boot : cachetype variables not initialized with ARMv7 architecture from to ARM compressed boot : cachetype variables not initialized with ARMv7 architecture.
Sep 20 2016, 9:37 AM · ARM
soutade_gmail.com retitled D7964: ARM compressed boot : NULL ELF section cause integer overflow from to ARM compressed boot : NULL ELF section cause integer overflow.
Sep 20 2016, 9:29 AM · ARM

Aug 18 2016

soutade_gmail.com added a comment to D7395: ARM : Keep boot parameters in trampoline code.
In D7395#156870, @imp wrote:

Seems reasonable to me. I added code to do this in the normal kernel, but not in the tramp code because I didn't need it. Not sure your boot environment, but it certainly doesn't hurt anything and may help.

Aug 18 2016, 7:29 AM · ARM
soutade_gmail.com updated the diff for D7395: ARM : Keep boot parameters in trampoline code.

Update diff to current HEAD

Aug 18 2016, 7:27 AM · ARM

Aug 2 2016

soutade_gmail.com retitled D7395: ARM : Keep boot parameters in trampoline code from to ARM : Keep boot parameters in trampoline code.
Aug 2 2016, 1:28 PM · ARM
soutade_gmail.com retitled D7394: Linux ARM 17/16 from to Linux ARM 17/16.
Aug 2 2016, 9:18 AM · Linux Emulation, ARM

Jun 30 2016

soutade_gmail.com updated the diff for D6762: Linux ARM 5/16.

Rework all functions with right use of ldrex and strex

Jun 30 2016, 8:45 AM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D6769: Linux ARM 12/16.

Set signo and sighandler in trapframe before going into linux_sigcode() and linux_rt_sigcode()

Jun 30 2016, 6:27 AM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D6763: Linux ARM 6/16.

Rework linux_locore.s. Now linux_sigcode() and linux_rt_sigcode() are simpler because all parameters all pre positioned in linux_sysvec.c while precedent implementation was just a translation.

Jun 30 2016, 6:19 AM · Linux Emulation, ARM

Jun 29 2016

soutade_gmail.com added inline comments to D6763: Linux ARM 6/16.
Jun 29 2016, 10:26 AM · Linux Emulation, ARM

Jun 28 2016

soutade_gmail.com added a comment to D6765: Linux ARM 8/16.

This patch is a simple copy of i386 implementation. Modifications made to machdep.c are done in patches 14 (https://reviews.freebsd.org/D6771) and 15 (https://reviews.freebsd.org/D6772).

Those patches should be merged with this. It makes it difficult to review something like this that should be considered a complete unit of work if it's split over multiple changes.

Jun 28 2016, 2:32 PM · Linux Emulation, ARM
soutade_gmail.com added a comment to D6765: Linux ARM 8/16.

Much of this seems to be copied from the i386 support, is it needed on arm? e.g. places it calls i386 specific functions.

I was talking about linux_machdep.c.

Jun 28 2016, 8:58 AM · Linux Emulation, ARM

Jun 9 2016

soutade_gmail.com updated the diff for D6769: Linux ARM 12/16.

linux_sendsig() called linux_rt_sigcode() instead of linux_sigcode()

Jun 9 2016, 9:04 AM · Linux Emulation, ARM
soutade_gmail.com updated the diff for D6763: Linux ARM 6/16.

Rework linux_sigcode() and linux_rt_sigcode() after andrew comments

  • Use # instead of $ (but $ seems to works too)
  • Bad computation of return address (that should be the instruction following branch one)
  • Frame was taken from r0, but it should be take from sp
Jun 9 2016, 9:02 AM · Linux Emulation, ARM
soutade_gmail.com added inline comments to D6765: Linux ARM 8/16.
Jun 9 2016, 6:54 AM · Linux Emulation, ARM
soutade_gmail.com added a comment to D6762: Linux ARM 5/16.

It looks like these should all be atomic operations. If so the flow should be:

1: ldrex old, [addr]
   operation
   strex res, new, [addr]
   cmp res, #0
   bne 1b
Jun 9 2016, 6:43 AM · Linux Emulation, ARM

Jun 8 2016

soutade_gmail.com updated the diff for D6759: Linux ARM 2/16.

linux_vdso.c:33-35 : don't update style

Jun 8 2016, 3:38 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6771: Linux ARM 14/16 from Linux 14/16 to Linux ARM 14/16.
Jun 8 2016, 3:04 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6773: Linux ARM 16/16 from to Linux ARM 16/16.
Jun 8 2016, 3:01 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6772: Linux ARM 15/16 from to Linux ARM 15/16.
Jun 8 2016, 3:00 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6771: Linux ARM 14/16 from to Linux 14/16.
Jun 8 2016, 2:59 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6770: Linux ARM 13/16 from to Linux ARM 13/16.
Jun 8 2016, 2:58 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6769: Linux ARM 12/16 from to Linux ARM 12/16.
Jun 8 2016, 2:57 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6768: Linux ARM 11/16 from to Linux ARM 11/16.
Jun 8 2016, 2:56 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6767: Linux ARM 10/16 from to Linux ARM 10/16.
Jun 8 2016, 2:55 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6766: Linux ARM 9/16 from to Linux ARM 9/16.
Jun 8 2016, 2:54 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6765: Linux ARM 8/16 from to Linux ARM 8/16.
Jun 8 2016, 2:50 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6764: Linux ARM 7/16 from to Linux ARM 7/16.
Jun 8 2016, 2:49 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6763: Linux ARM 6/16 from to Linux ARM 6/16.
Jun 8 2016, 2:48 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6762: Linux ARM 5/16 from to Linux ARM 5/16.
Jun 8 2016, 2:46 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6761: Linux ARM 4/16 from to Linux ARM 4/16.
Jun 8 2016, 2:44 PM · Linux Emulation, ARM
soutade_gmail.com updated D6760: Linux ARM 3/16.
Jun 8 2016, 2:42 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6760: Linux ARM 3/16 from to Linux ARM 3/16.
Jun 8 2016, 2:40 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6759: Linux ARM 2/16 from Linux ARM 1/16 to Linux ARM 2/16.
Jun 8 2016, 2:38 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6759: Linux ARM 2/16 from to Linux ARM 1/16.
Jun 8 2016, 2:38 PM · Linux Emulation, ARM
soutade_gmail.com retitled D6758: Linux ARM 1/16 from to Linux ARM 1/16.
Jun 8 2016, 2:34 PM · Linux Emulation, ARM