From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Marcin Obara" <marcin_obara@users.sourceforge.net>
Cc: "Jiri Slaby" <jirislaby@gmail.com>,
"Andrew Morton" <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Intel Management Engine Interface
Date: Tue, 12 Aug 2008 20:24:45 +0100 [thread overview]
Message-ID: <20080812202445.5ac3c8d1@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <ea8d860a0808121224y63bd4178xe0c74d5fb3e34180@mail.gmail.com>
> This source code was designed few years ago and there is already
> written userspace software.
Diddums that is what you get for keeping stuff away from upstream
> Removal of driver internal error codes may affect software.
> I think it is more risky than keeping these own errno numbers.
I would disagree. We use ERR_PTR() and other macros with errors. Using
strange numbers is asking for risk.
>
> >
> > E.g. unlocked_ioctl switch hasn't been done plus other things mentioned
> > below too (not all of them)
> >
> unlocked_ioctl would require to add lock as big kernel lock replacement.
> It is risky in such complex code, especially if speed increase is not expected.
>
> We don't want to init_timer() here. It is done later, to avoid race condition.
> We only configure timer, but we are not ready to start it.
init_timer does not start a timer.
> >
> >>> +/* IOCTL commands */
> >>> +#define IOCTL_HECI_GET_VERSION \
> >>> + _IOWR('H' , 0x0, struct heci_message_data)
> > ... and conflicts with hid as I commented before.
>
> Sorry for missing explanations.
> This conflict can't be avoided, because there is already written
> software that depends on these ioctl definitions.
See "diddums" message above. You mess up tools like strace if you don't
fix this and strace is more important than some minor driver detail
caused by not upstreaming code earlier.
The non unlocked version of ioctl() is going away and the BKL will in
time follow so you might as well deal with that now too.
next prev parent reply other threads:[~2008-08-12 19:42 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-17 18:27 Marcin Obara
2008-07-18 0:00 ` Randy Dunlap
2008-07-18 5:44 ` Marcin Obara
2008-07-18 17:39 ` Marcin Obara
2008-07-18 19:23 ` Marcin Obara
2008-07-18 20:30 ` Marcin Obara
2008-07-23 18:00 ` Marcin Obara
2008-08-11 19:23 ` Marcin Obara
2008-08-12 4:53 ` Andrew Morton
2008-08-12 16:15 ` Jiri Slaby
2008-08-12 19:24 ` Marcin Obara
2008-08-12 19:24 ` Alan Cox [this message]
2008-08-12 21:03 ` Arjan van de Ven
2008-08-13 0:58 ` Greg KH
2008-08-13 7:16 ` Marcin Obara
2008-08-13 18:18 ` Greg KH
2008-08-13 19:48 ` Marcin Obara
2008-08-14 0:23 ` Greg KH
2008-07-18 9:27 ` Andi Kleen
2008-07-18 10:51 ` Marcin Obara
2008-07-18 11:02 ` Andi Kleen
2008-07-18 11:33 ` Marcin Obara
2008-08-06 16:56 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2008-05-20 0:11 Anas Nashif
2008-05-20 0:28 ` Andrew Morton
2008-05-20 19:02 ` Gabriel C
2008-05-22 16:51 ` Pavel Machek
2008-05-20 15:42 ` Maxim Levitsky
2008-05-20 20:35 ` Carlos R. Mafra
2008-05-20 22:27 ` Jiri Slaby
2008-05-23 7:04 ` Pavel Machek
2007-12-11 17:32 Anas Nashif
2007-12-11 18:14 ` Andi Kleen
2007-12-11 18:38 ` Anas Nashif
2007-12-11 18:53 ` Andi Kleen
2007-12-11 19:02 ` David Miller
2007-12-11 19:47 ` Andi Kleen
2007-12-11 19:06 ` Anas Nashif
2007-12-11 19:48 ` Andi Kleen
2007-12-12 15:00 ` Mark Lord
2007-12-12 16:17 ` Andi Kleen
2007-12-12 8:48 ` Alexander E. Patrakov
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=20080812202445.5ac3c8d1@lxorguk.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=akpm@linux-foundation.org \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcin_obara@users.sourceforge.net \
/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®