From: Oliver Hartkopp <socketcan@hartkopp.net>
To: David Howells <dhowells@redhat.com>
Cc: torvalds@osdl.org, mkl@pengutronix.de, arnd@arndb.de,
tglx@linutronix.de, mtk.manpages@gmail.com, hpa@zytor.com,
alan@lxorguk.ukuu.org.uk, fengguang.wu@intel.com,
linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [GIT PULL] Disintegrate the User API from the kernel headers
Date: Tue, 14 Aug 2012 19:26:40 +0200 [thread overview]
Message-ID: <502A8A50.4080308@hartkopp.net> (raw)
In-Reply-To: <31633.1344950521@warthog.procyon.org.uk>
On 14.08.2012 15:22, David Howells wrote:
> Hi Linus,
>
>>> Could you please pull this tree at the _end_ of this merge window?
>>>
>>> The patches therein extract the Userspace API bits from the various header
>>> files named in the Kbuild files and separate them out into their own files.
>>> The original files are then given #includes to the new files.
>>
>> I've been keeping this regenerated. Assuming nothing more is pulled in this
>> merge window, it is ready to pull and should just apply on top of your tree.
>> If you do pull more, it will likely need regenerating again.
>
> Are you still considering pulling this? Some of the patches needed tweaking
> to apply due to fixes you've pulled changing headers, so I've regenerated the
> patches again on top of your tree as of the morning of the 14th (UK time).
> See tag:
>
> uapi-post-split-20120814
>
> The old tags are still around. Interestingly,
>
> git diff uapi-post-split-201208{03,14} -- arch/*/include include >/tmp/a.diff
>
> shows a change in the user API for linux/can.h:
>
> -#define CANFD_NOHDR 0x01 /* frame without high data rate */
> -#define CANFD_NOEDL 0x02 /* frame without extended data length */
> -#define CANFD_ESI 0x04 /* error state indicator */
> +#define CANFD_BRS 0x01 /* bit rate switch (second bitrate for payload data) */
> +#define CANFD_ESI 0x02 /* error state indicator of the transmitting node */
>
> from commit 035534ed3377d9def2c17717899fd64a111a785b. Is this permissible as
> it breaks the userspace API? Should this part of the patch be reverted?
>
> I compile tested with x86_64 allyesconfig and i386 allmodconfig in the source
> dir, and arm, m68k, ia64 and s390 defconfigs + CONFIG_HEADERS_CHECK in a
> separate build directory.
>
> David
Hello David,
the defines have been integrated in his 3.6 merge window and have been changed
the way above after 3.6-rc1 and are now pulled into Linus tree.
The defines are relevant for upcoming tools and drivers (for hardware that
will become available in Q4/2012). So we're currently not breaking any
Userspace API. After it turned out that one of the bits was misleading i
wanted to fix the bits ASAP, so that the final 3.6 will contain the agreed
information and final userspace API for CAN FD.
Currently no-one is referencing these bits inside the kernel. And the only one
that's working on adapting the userspace tools is currently me :-)
So no need to revert anything ...
Sorry for the confusion this caused for your process.
Best regards,
Oliver
next prev parent reply other threads:[~2012-08-14 17:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-24 9:38 [GIT PULL] Disintegrate the User API from the kernel headers David Howells
2012-08-02 18:21 ` David Howells
2012-08-03 10:10 ` David Howells
2012-08-03 10:10 ` David Howells
2012-08-14 13:22 ` David Howells
2012-08-14 17:26 ` Oliver Hartkopp [this message]
2012-08-14 20:54 ` David Howells
-- strict thread matches above, loose matches on Subject: below --
2012-10-01 20:16 David Howells
2012-10-02 16:37 ` Linus Torvalds
2012-10-02 17:11 ` David Howells
2012-10-01 21:05 David Howells
2012-10-01 21:15 ` H. Peter Anvin
2012-10-02 16:22 ` Catalin Marinas
2012-10-02 16:55 ` David Howells
2012-10-02 16:58 ` Catalin Marinas
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=502A8A50.4080308@hartkopp.net \
--to=socketcan@hartkopp.net \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=arnd@arndb.de \
--cc=dhowells@redhat.com \
--cc=fengguang.wu@intel.com \
--cc=hpa@zytor.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mkl@pengutronix.de \
--cc=mtk.manpages@gmail.com \
--cc=tglx@linutronix.de \
--cc=torvalds@osdl.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.