[PATCH v3] Add support for Altera's Nios-II softcore architecture

Dmitry V. Levin ldv at altlinux.org
Fri Feb 14 22:56:09 UTC 2014


On Fri, Feb 14, 2014 at 07:43:05PM -0200, Ezequiel García wrote:
> On 6 February 2014 14:53, Ezequiel Garcia <ezequiel at vanguardiasur.com.ar> wrote:
> > This commit adds strace support for Altera's Nios-II official
> > kernel port as found in:
> >
> >   git://git.rocketboards.org/linux-socfpga.git
> >
> > Notice that this an out-of-tree kernel architectural port, and uses the legacy
> > (non-generic) system call ABI. In particular, the port doesn't support
> > PTRACE_GETREGSET, so the implementation is based on PTRACE_GETREGS.
> >
> > Given it's mandatory for new architectures to support the generic syscall ABI
> > and PTRACE_GETREGSET, if the nios2 architecure is ever mainlined, the
> > strace support will have to be re-factored accordingly.
> 
> After talking to Ley Foon Tan (Altera's kernel maintainer, in Cc)
> we've decided to just drop this patch entirely.

I was going to remark that it is a bit too late to drop a reviewed, acked
and applied patch, but, alas, I somehow managed to mangle your patch
during "git am" procedure so that most of it was not actually applied
despite of commit message elaborately describing the change. :(

> An architecture port based in the generic syscall
> ABI is in progress:
> 
> http://rocketboards.org/gitweb/?p=linux-socfpga-next.git;a=shortlog;h=refs/heads/socfpga-3.12-nios2-ABI
> 
> I'll work on a new patchset, based in this branch, so we can have
> strace support for the (soon?) to-be-mainlined Nios-II arch.

Thanks.  So Nios-II support in strace is not going to be an exception
to the generic "mainline only" rule after all. :)


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140215/799e7b00/attachment.bin>


More information about the Strace-devel mailing list