From: Steffen Sledz <sledz@dresearch-fe.de>
To: openembedded-devel@lists.openembedded.org,
Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Subject: Re: [PATCH v2] linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernels
Date: Tue, 13 Sep 2011 11:58:59 +0200 [thread overview]
Message-ID: <4E6F2963.6070606@dresearch-fe.de> (raw)
In-Reply-To: <1315907128.4195.8.camel@mattotaupa>
On 13.09.2011 11:45, Paul Menzel wrote:
> Dear Steffen,
>
>
> Am Montag, den 12.09.2011, 17:26 +0200 schrieb Steffen Sledz:
>> This patch is similar to the one in linux-libc-headers 2.6.23 [1] and
>> enables building of OpenJDK which uses HWCAP_THUMBEE which normally
>> are not present in 2.6.24 headers.
>>
>> [1] commit 41cd62ffbac7d272d46a4b39faf8a97c0850dd10
>
> thank you for updating the patch and the commit message.
>
>> Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
>> ---
>> .../arm-hwcap-add-new-entries.patch | 21 ++++++++++++++++++++
>> .../linux-libc-headers_2.6.24.bb | 5 ++-
>> 2 files changed, 24 insertions(+), 2 deletions(-)
>> create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
>>
>> diff --git a/recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch b/recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
>> new file mode 100644
>> index 0000000..6975317
>> --- /dev/null
>> +++ b/recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
>> @@ -0,0 +1,21 @@
>
> I am not sure about the policy in oe.dev, but could you add a patch
> header, please [1].
>
> Upstream-Status: Backport [2.6.(which one?)]
Marcin, can you write something to this? I just adapted your patch to the 2.6.24 headers.
>> +---
>> + include/asm-arm/hwcap.h | 4 ++++
>> + 1 file changed, 4 insertions(+)
>> +
>> +--- linux-2.6.24.orig/include/asm-arm/hwcap.h
>> ++++ linux-2.6.24/include/asm-arm/hwcap.h
>> +@@ -13,10 +13,14 @@
>> + #define HWCAP_VFP 64
>> + #define HWCAP_EDSP 128
>> + #define HWCAP_JAVA 256
>> + #define HWCAP_IWMMXT 512
>> + #define HWCAP_CRUNCH 1024
>> ++#define HWCAP_THUMBEE 2048
>> ++#define HWCAP_NEON 4096
>> ++#define HWCAP_VFPv3 8192
>> ++#define HWCAP_VFPv3D16 16384
>> +
>> + #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
>> + /*
>> + * This yields a mask that user programs can use to figure out what
>> + * instruction set this cpu supports.
>> diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
>> index 148d03f..cec1835 100644
>> --- a/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
>> +++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
>> @@ -2,13 +2,14 @@ require linux-libc-headers.inc
>>
>> INHIBIT_DEFAULT_DEPS = "1"
>> DEPENDS += "unifdef-native"
>> -PR = "r7"
>> +PR = "r8"
>>
>> SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
>> file://procinfo.h \
>> file://export_falloc_h.patch \
>> file://make-3.82.patch \
>> - file://unifdef.patch"
>> + file://unifdef.patch \
>> + file://arm-hwcap-add-new-entries.patch"
>
> To keep future patches smaller could you put the »"« on the new line
> please?
>
> ….patch \
> "
Yepp. No problem.
>> SRC_URI_append_hipox = " \
>> file://siocoutqsnd.patch \
>
> With these changes please add
>
> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
>
> below your Signed-off-by line.
>
>
> Thanks,
>
> Paul
>
>
> [1] http://openembedded.org/index.php?title=Commit_Patch_Message_Guidelines#Patch_Header_Recommendations
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
next prev parent reply other threads:[~2011-09-13 10:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-09 15:22 [PATCH] linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernels Steffen Sledz
2011-09-12 14:58 ` Steffen Sledz
2011-09-12 15:09 ` Paul Menzel
2011-09-12 15:12 ` Marcin Juszkiewicz
2011-09-12 15:26 ` [PATCH v2] " Steffen Sledz
2011-09-13 9:45 ` Paul Menzel
2011-09-13 9:58 ` Steffen Sledz [this message]
2011-09-13 10:37 ` Marcin Juszkiewicz
2011-09-13 11:28 ` Paul Menzel
2011-09-15 7:48 ` [PATCH v3] linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernel Steffen Sledz
2011-09-15 7:55 ` [PATCH v4] " Steffen Sledz
2011-09-15 9:05 ` Paul Menzel
2011-09-15 11:54 ` Steffen Sledz
2011-09-15 14:56 ` Paul Menzel
2011-09-15 15:01 ` Steffen Sledz
2011-09-15 12:29 ` [PATCH v5] linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from linux 2.6.26 Steffen Sledz
2011-09-16 9:56 ` Steffen Sledz
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=4E6F2963.6070606@dresearch-fe.de \
--to=sledz@dresearch-fe.de \
--cc=marcin@juszkiewicz.com.pl \
--cc=openembedded-devel@lists.openembedded.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.