mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier.adi@gmail.com>
To: Matt Turner <mattst88@gmail.com>
Cc: Michael Cree <mcree@orcon.net.nz>,
	linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Unimplemented syscalls on Alpha
Date: Thu, 4 Mar 2010 12:51:49 -0500	[thread overview]
Message-ID: <8bd0f97a1003040951x52b0a2e5m8b724245ab773436@mail.gmail.com> (raw)
In-Reply-To: <b4198de60910190853k54267f9flcf6453d6e23f6da3@mail.gmail.com>

On Mon, Oct 19, 2009 at 10:53, Matt Turner wrote:
> On Mon, Oct 19, 2009 at 4:11 AM, Michael Cree wrote:
>> I couldn't but help notice the increasing number of unimplemented syscalls
>> on the Alpha architecture.  I thought I might poke around to see what might
>> be required to get these implemented and got a pleasant surprise when it
>> seems some only need an entry in the syscall table.  Indeed, the patch in
>> reply to this message gets preadv and pwritev going -- tested with the
>> sample program at http://lkml.org/lkml/2009/4/6/535.
>
> Cool. I was looking into doing this, but I didn't know how to test the syscalls.
>
> I tried to keep a list of missing syscalls here,
> http://alphalinux.org/wiki/index.php/TODO_List but as you can see it's
> already out of date.
>
>> I am happy to write patches to wire up more of the syscalls, but I am
>> wondering which ones are as straightforward as the preadv/pwritev case?
>> That is, do any require extra programming other than the syscall table?  Do
>> I need to get the entries in the syscall table in the same order as other
>> architectures?
>
> I'm curious and unsure about this too. Patches would be great. I think
> we should figure out who we need to CC to get patches into the kernel,
> as neither of our maintainers have any sort of Alpha tree. I've
> noticed a few patches submitted to this list have never made it into
> the kernel, as well, maybe we should start an alpha tree?

typically if the sys_xxx entry is in common code, you dont need to
implement arch-specific stuff.  just hook them up in the system call
table.  afaik, preadv/pwritev fall into this category.

> The entries do not need to be in the same order of have the same
> number as other architectures, just once you set the number you cannot
> change it (without breaking the ABI).

correct ... and breaking the ABI is unacceptable
-mike

      reply	other threads:[~2010-03-04 17:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-19  8:11 Michael Cree
2009-10-19  8:11 ` [PATCH] Wire up preadv and pwritev " Michael Cree
2009-10-19 15:53 ` Unimplemented syscalls " Matt Turner
2010-03-04 17:51   ` Mike Frysinger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8bd0f97a1003040951x52b0a2e5m8b724245ab773436@mail.gmail.com \
    --to=vapier.adi@gmail.com \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mattst88@gmail.com \
    --cc=mcree@orcon.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®