linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernels
PATCH 1/1 linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernels
This patch is similar to the one in linux-libc-headers 2.6.23.
--- .../arm-hwcap-add-new-entries.patch | 21 ++++++++++++++++++++ .../linux-libc-headers_2.6.24.bb | 6 +++- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +21 -0
@@ -0,0 +1,21 @@ +--- + 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.
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +4 -2
@@ -2,16 +2,18 @@ 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" SRC_URI_append_hipox = " \ file://siocoutqsnd.patch \ + file://drbcc-linedisc.patch \ " S = "${WORKDIR}/linux-${PV}"
Signature · 1 line
1.7.3.4
Quoted 1 line · Steffen Sledz
This patch is similar to the one in linux-libc-headers 2.6.23.
No NACKs? Then i'll push this patch tomorrow to oe-dev master.
Quoted 59 lines
Signed-off-by Steffen Sledz <[email protected]>--- .../arm-hwcap-add-new-entries.patch | 21 ++++++++++++++++++++ .../linux-libc-headers_2.6.24.bb | 6 +++- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patchrecipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +21
-0@@ -0,0 +1,21 @@ +--- + 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.recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +4
-2@@ -2,16 +2,18 @@ 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" SRC_URI_append_hipox = " \ file://siocoutqsnd.patch \ + file://drbcc-linedisc.patch \ " S = "${WORKDIR}/linux-${PV}"
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
Am Montag, den 12.09.2011, 16:58 +0200 schrieb Steffen Sledz:
Quoted 4 lines · Steffen Sledz
Quoted 1 line
This patch is similar to the one in linux-libc-headers 2.6.23.
No NACKs? Then i'll push this patch tomorrow to oe-dev master.
To make acking easier, it would be nice to have more information in the commit message.
1. Reference or URL to the ID of the commit to 2.6.23.
2. What is the addition used for?
3. Has it been tested? How?
Otherwise the list seems to be pretty calm recently. I do not know how it could be revived.
Thanks,
Paul
W dniu 12.09.2011 16:58, Steffen Sledz pisze:
Quoted 5 lines
SRC_URI_append_hipox= " \recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb require linux-libc-headers.inc · line 17
Quoted 4 lines
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +1
-0file://siocoutqsnd.patch \ + file://drbcc-linedisc.patch \ "
This got added... so NACK.
PATCH v2 1/1 linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernels
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
--- .../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
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +21 -0
@@ -0,0 +1,21 @@ +--- + 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.
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +3 -2
@@ -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" SRC_URI_append_hipox = " \ file://siocoutqsnd.patch \
Signature · 1 line
1.7.3.4
Dear Steffen,
Am Montag, den 12.09.2011, 17:26 +0200 schrieb Steffen Sledz:
Quoted 5 lines
This patch is similar to the one in linux-libc-headers 2.6.23 [1] and enables building of OpenJDK which uses
HWCAP_THUMBEEwhich normally are not present in 2.6.24 headers.[1] commit
41cd62ffbac7d272d46a4b39faf8a97c0850dd10
thank you for updating the patch and the commit message.
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
Quoted 13 lines
Signed-off-by Steffen Sledz <[email protected]>--- .../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.patchrecipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +0
-0@@ -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?)]
Quoted 29 lines
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +21
-0+--- + 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.recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +0
-0@@ -2,13 +2,14 @@ require linux-libc-headers.inc INHIBIT_DEFAULT_DEPS = "1" DEPENDS += "unifdef-native"
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb require linux-libc-headers.inc · line 12
Quoted 10 lines
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +3
-2-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 \
"recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb require linux-libc-headers.inc · line 15
Quoted 2 lines
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +0
-0SRC_URI_append_hipox = " \ file://siocoutqsnd.patch \
With these changes please add
below your Signed-off-by line.
Thanks,
Paul
[1] http://openembedded.org/index.php?title=Commit_Patch_Message_Guidelines#Patch_Header_Recommendations
Quoted 29 lines · Paul Menzel
Dear Steffen,
Am Montag, den 12.09.2011, 17:26 +0200 schrieb Steffen Sledz:
Quoted 5 lines
This patch is similar to the one in linux-libc-headers 2.6.23 [1] and enables building of OpenJDK which uses
HWCAP_THUMBEEwhich normally are not present in 2.6.24 headers.[1] commit
41cd62ffbac7d272d46a4b39faf8a97c0850dd10thank you for updating the patch and the commit message.
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
Quoted 13 lines
Signed-off-by Steffen Sledz <[email protected]>--- .../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.patchrecipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +0
-0@@ -0,0 +1,21 @@I am not sure about the policy in oe.dev, but could you add a patch header, please [1].
Quoted 1 line
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.
Quoted 43 lines
Quoted 29 lines
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +21
-0+--- + 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.recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +0
-0@@ -2,13 +2,14 @@ require linux-libc-headers.inc INHIBIT_DEFAULT_DEPS = "1" DEPENDS += "unifdef-native"recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb require linux-libc-headers.inc · line 12
Quoted 10 lines
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +3
-2-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?
Quoted 2 lines
….patch \
"Yepp. No problem.
Quoted 23 lines
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb require linux-libc-headers.inc · line 15
Quoted 2 lines
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +0
-0SRC_URI_append_hipox = " \ file://siocoutqsnd.patch \With these changes please add
Reviewed-by Paul Menzel <[email protected]>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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
W dniu 13.09.2011 11:58, Steffen Sledz pisze:
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
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.
In BugLabs we used Poky 'pinky' and then switched to OpenEmbedded 2009-stable tree. At that time we used 2.6.2x linux-libc-headers as this was present in both trees and selected by default.
When BUG 2.0 prototypes started working we started move from phoneme to openjdk as java-vm provider. To build openjdk newer linux-libc-headers were needed due to lack of HWCAP_THUMBEE define in 2.6.2x ones. Patching default version was better solution then switching to newer one as it gave us smaller chance of build failures.
And that's whole story of it.
Dear Steffen, dear Marcin,
Am Dienstag, den 13.09.2011, 11:45 +0200 schrieb Paul Menzel:
Quoted 26 lines
Am Montag, den 12.09.2011, 17:26 +0200 schrieb Steffen Sledz:
Quoted 5 lines
This patch is similar to the one in linux-libc-headers 2.6.23 [1] and enables building of OpenJDK which uses
HWCAP_THUMBEEwhich normally are not present in 2.6.24 headers.[1] commit
41cd62ffbac7d272d46a4b39faf8a97c0850dd10thank you for updating the patch and the commit message.
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
Quoted 13 lines
Signed-off-by Steffen Sledz <[email protected]>--- .../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.patchrecipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +0
-0@@ -0,0 +1,21 @@I am not sure about the policy in oe.dev, but could you add a patch header, please [1].
Quoted 1 line
Upstream-Status: Backport [2.6.(which one?)]
Looking at your patch and the relevant Linux kernel commits, I do not see how this can come from mainline Linux.
Quoted 5 lines
Quoted 5 lines
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +5
-0+--- + include/asm-arm/hwcap.h | 4 ++++ + 1 file changed, 4 insertions(+) + +--- linux-2.6.24.orig/include/asm-arm/hwcap.h
Quoted 8 lines
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch line 13
Quoted 8 lines
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +8
-0++++ 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
This is already there in the original file creation.
commit 4baa9922430662431231ac637adedddbb0cfb2d7
Author: Russell King <[email protected]>
Date: Sat Aug 2 10:55:55 2008 +0100
[ARM] move include/asm-arm to arch/arm/include/asm
$ git describe --contains 4baa9922
v2.6.27-rc2~72^2~2Quoted 1 line
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch line 14
Quoted 1 line
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +1
-0++#define HWCAP_NEON 4096
commit 2bedbdf4148ebbe48c7a89449ab52e475a788f42
Author: Catalin Marinas <[email protected]>
Date: Thu Nov 6 13:23:07 2008 +0000
Add HWCAP_NEON to the ARM hwcap.h file
$ git describe --contains 2bedbdf4
v2.6.29-rc1~559^2~84^2~7Quoted 2 lines
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch line 16
Quoted 2 lines
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +2
-0++#define HWCAP_VFPv3 8192 ++#define HWCAP_VFPv3D16 16384
commit 7279dc3e914635ab4b288ec39383272a06c466f3
Author: Catalin Marinas <[email protected]>
Date: Wed Feb 11 13:13:56 2009 +0100
[ARM] 5388/1: Add hwcap bits for VFPv3 and VFPv3D16After figuring that out I would just put these commit messages excerpts into the patch header.
By the way, the Linux kernel version the last patch was merged is therefore 2.6.30.
$ git describe --contains 7279dc3e
v2.6.30-rc1~636^2~52^2~24So the commit summary could be updated to be more specific.
Quoted 5 lines
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch line 21
Quoted 5 lines
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +5
-0+ + #if defined(__KERNEL__) && !defined(__ASSEMBLY__) + /* + * This yields a mask that user programs can use to figure out what + * instruction set this cpu supports.
[…]
Thanks,
Paul
PATCH v3 1/1 linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernel
Enables building of OpenJDK which uses HWCAP_THUMBEE that is not present in 2.6.24 headers and was introduced with
commit 4baa9922430662431231ac637adedddbb0cfb2d7
Author: Russell King <[email protected]>
Date: Sat Aug 2 10:55:55 2008 +0100
[ARM] move include/asm-arm to arch/arm/include/asm
--- .../arm-hwcap-add-new-entries.patch | 26 ++++++++++++++++++++ .../linux-libc-headers_2.6.24.bb | 5 ++- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +26 -0
@@ -0,0 +1,26 @@ +linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernel + +Enables building of OpenJDK which uses HWCAP_THUMBEE that is not present +in 2.6.24 headers and was introduced with + + commit 4baa9922430662431231ac637adedddbb0cfb2d7 + Author: Russell King <[email protected]> + Date: Sat Aug 2 10:55:55 2008 +0100 + + [ARM] move include/asm-arm to arch/arm/include/asm + +Upstream-Status: Backport [2.6.27] + +Signed-off-by: Steffen Sledz <[email protected]> + +diff -Nurd linux-2.6.24.orig//include/asm-arm/hwcap.h linux-2.6.24/include/asm-arm/hwcap.h +--- linux-2.6.24.orig//include/asm-arm/hwcap.h 2011-09-15 08:42:58.467307245 +0200 ++++ linux-2.6.24/include/asm-arm/hwcap.h 2011-09-15 08:43:46.004693497 +0200 +@@ -15,6 +15,7 @@ + #define HWCAP_JAVA 256 + #define HWCAP_IWMMXT 512 + #define HWCAP_CRUNCH 1024 ++#define HWCAP_THUMBEE 2048 + + #if defined(__KERNEL__) && !defined(__ASSEMBLY__) + /*
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +3 -2
@@ -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" SRC_URI_append_hipox = " \ file://siocoutqsnd.patch \
Signature · 1 line
1.7.3.4
PATCH v4 1/1 linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernel
Enables building of OpenJDK which uses HWCAP_THUMBEE that is not present in 2.6.24 headers and was introduced with
commit 4baa9922430662431231ac637adedddbb0cfb2d7
Author: Russell King <[email protected]>
Date: Sat Aug 2 10:55:55 2008 +0100
[ARM] move include/asm-arm to arch/arm/include/asm
--- .../arm-hwcap-add-new-entries.patch | 26 ++++++++++++++++++++ .../linux-libc-headers_2.6.24.bb | 6 +++- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +26 -0
@@ -0,0 +1,26 @@ +linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernel + +Enables building of OpenJDK which uses HWCAP_THUMBEE that is not present +in 2.6.24 headers and was introduced with + + commit 4baa9922430662431231ac637adedddbb0cfb2d7 + Author: Russell King <[email protected]> + Date: Sat Aug 2 10:55:55 2008 +0100 + + [ARM] move include/asm-arm to arch/arm/include/asm + +Upstream-Status: Backport [2.6.27] + +Signed-off-by: Steffen Sledz <[email protected]> + +diff -Nurd linux-2.6.24.orig//include/asm-arm/hwcap.h linux-2.6.24/include/asm-arm/hwcap.h +--- linux-2.6.24.orig//include/asm-arm/hwcap.h 2011-09-15 08:42:58.467307245 +0200 ++++ linux-2.6.24/include/asm-arm/hwcap.h 2011-09-15 08:43:46.004693497 +0200 +@@ -15,6 +15,7 @@ + #define HWCAP_JAVA 256 + #define HWCAP_IWMMXT 512 + #define HWCAP_CRUNCH 1024 ++#define HWCAP_THUMBEE 2048 + + #if defined(__KERNEL__) && !defined(__ASSEMBLY__) + /*
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +4 -2
@@ -2,13 +2,15 @@ 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 \ +" SRC_URI_append_hipox = " \ file://siocoutqsnd.patch \
Signature · 1 line
1.7.3.4
Re: [PATCH v4] linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernel
Dear Steffen,
unfortunately I still have something to add. :(
Am Donnerstag, den 15.09.2011, 09:55 +0200 schrieb Steffen Sledz:
1. Please do not use recent but write the correct version. In this case it would be 2.6.26 (see below).
Quoted 8 lines
Enables building of OpenJDK which uses
HWCAP_THUMBEEthat is not present in 2.6.24 headers and was introduced withcommit
4baa9922430662431231ac637adedddbb0cfb2d7
Author: Russell King <[email protected]>
Date: Sat Aug 2 10:55:55 2008 +0100[ARM] move
include/asm-armtoarch/arm/include/asm
2. Of course that is not correct and I asked that in my last response why a move should introduce new code lines.
Using
git log --follow 4baa9922430662431231ac637adedddbb0cfb2d7 -- arch/arm/include/asm/hwcap.h
I found the following commit
commit d7f864be8323e5394040e2877594645b0e7da85d
Author: Catalin Marinas <[email protected]>
Date: Fri Apr 18 22:43:06 2008 +0100
ARMv7: Add support for the ThumbEE state saving/restoring
This patch adds the detection and handling of the ThumbEE extension on ARMv7 CPUs.
introduced in 2.6.26.
$ git describe --contains
d7f864be8323e5394040e2877594645b0e7da85d
v2.6.26-rc1~1090^2~27Please note that this commit contains not only the addition of HWCAP_THUMBEE to the header but a lot more. So is OpenJDK doing something incorrectly then? Does it detect the wrong architecture?
Quoted 7 lines
Signed-off-by Steffen Sledz <[email protected]>Reviewed-by Paul Menzel <[email protected]>--- .../arm-hwcap-add-new-entries.patch | 26 ++++++++++++++++++++ .../linux-libc-headers_2.6.24.bb | 6 +++- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
[…]
Please update the relevant parts and send it to the list again. You can commit it the next day if nobody else objects.
Thanks,
Paul
PS: It is hard for reviewers to see what changed in your patch iterations. For example between v3 and v4. Please add a short note below the commit message and separate that with an additional ---. git am will not pick that comment up then.
Re: [PATCH v4] linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernel
Quoted 1 line · Paul Menzel
PS: It is hard for reviewers to see what changed in your patch iterations. For example between v3 and v4. Please add a short note below the commit message and separate that with an additional
---.git amwill not pick that comment up then.
Is it possible to add such a comment while running "git format-patch" or "git send-email"?
Or is it necessary to mix this into the commit comment itself?
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
Re: [PATCH v4] linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernel
Am Donnerstag, den 15.09.2011, 13:54 +0200 schrieb Steffen Sledz:
Quoted 4 lines · Paul Menzel
Quoted 1 line
PS: It is hard for reviewers to see what changed in your patch iterations. For example between v3 and v4. Please add a short note below the commit message and separate that with an additional
---.git amwill not pick that comment up then.Is it possible to add such a comment while running "git format-patch" or "git send-email"?
I do not know of a way and I did not find anything in the manual. I guess you have to edit the mbox file created by git format-patch and then send it.
Other people also use the cover letter feature. But in all cases it seems to be one step more.
Quoted 1 line
Or is it necessary to mix this into the commit comment itself?
No, since git push is not leaving the comment out.
Thank you again for addressing my comments.
Thanks,
Paul
Re: [PATCH v4] linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernel
Quoted 9 lines · Paul Menzel
Am Donnerstag, den 15.09.2011, 13:54 +0200 schrieb Steffen Sledz:
Quoted 4 lines · Paul Menzel
Quoted 1 line
PS: It is hard for reviewers to see what changed in your patch iterations. For example between v3 and v4. Please add a short note below the commit message and separate that with an additional
---.git amwill not pick that comment up then.Is it possible to add such a comment while running "git format-patch" or "git send-email"?
I do not know of a way and I did not find anything in the manual. I guess you have to edit the mbox file created by
git format-patchand then send it.
After reading the manual i found the --annotate option for "git send-email" which helped me here.
Steffen
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
PATCH v5 1/1 linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from linux 2.6.26
In reply to Paul MenzelEnables building of OpenJDK which uses HWCAP_THUMBEE that is not present in 2.6.24 headers and was introduced with
commit d7f864be8323e5394040e2877594645b0e7da85d
Author: Catalin Marinas <[email protected]>
Date: Fri Apr 18 22:43:06 2008 +0100
ARMv7: Add support for the ThumbEE state saving/restoring
This patch adds the detection and handling of the ThumbEE extension on ARMv7 CPUs.
Upstream-Status: Backport [2.6.26]
---
[PATCH v5] contains updates in commit comment and patch header as a result of Paul's review of [PATCH v4] especially the referenced linux commit.
--- .../arm-hwcap-add-new-entries.patch | 31 ++++++++++++++++++++ .../linux-libc-headers_2.6.24.bb | 6 ++- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +31 -0
@@ -0,0 +1,31 @@ +linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from linux 2.6.26 + +Enables building of OpenJDK which uses HWCAP_THUMBEE that is not present +in 2.6.24 headers and was introduced with + + commit d7f864be8323e5394040e2877594645b0e7da85d + Author: Catalin Marinas <[email protected]> + Date: Fri Apr 18 22:43:06 2008 +0100 + + ARMv7: Add support for the ThumbEE state saving/restoring + + This patch adds the detection and handling of the ThumbEE extension on + ARMv7 CPUs. + + Signed-off-by: Catalin Marinas <[email protected]> + +Upstream-Status: Backport [2.6.26] + +Signed-off-by: Steffen Sledz <[email protected]> + +diff -Nurd linux-2.6.24.orig//include/asm-arm/hwcap.h linux-2.6.24/include/asm-arm/hwcap.h +--- linux-2.6.24.orig//include/asm-arm/hwcap.h 2011-09-15 08:42:58.467307245 +0200 ++++ linux-2.6.24/include/asm-arm/hwcap.h 2011-09-15 08:43:46.004693497 +0200 +@@ -15,6 +15,7 @@ + #define HWCAP_JAVA 256 + #define HWCAP_IWMMXT 512 + #define HWCAP_CRUNCH 1024 ++#define HWCAP_THUMBEE 2048 + + #if defined(__KERNEL__) && !defined(__ASSEMBLY__) + /*
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +4 -2
@@ -2,13 +2,15 @@ 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 \ +" SRC_URI_append_hipox = " \ file://siocoutqsnd.patch \
Signature · 1 line
1.7.3.4
Re: [PATCH v5] linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from linux 2.6.26
Quoted 76 lines · Steffen Sledz
Enables building of OpenJDK which uses
HWCAP_THUMBEEthat is not present in 2.6.24 headers and was introduced withcommit
d7f864be8323e5394040e2877594645b0e7da85d
Author: Catalin Marinas <[email protected]>
Date: Fri Apr 18 22:43:06 2008 +0100ARMv7: Add support for the ThumbEE state saving/restoring
This patch adds the detection and handling of the ThumbEE extension on ARMv7 CPUs.
Signed-off-by Catalin Marinas <[email protected]>Upstream-Status: Backport [2.6.26]
Signed-off-by Steffen Sledz <[email protected]>Reviewed-by Paul Menzel <[email protected]>---
[PATCH v5] contains updates in commit comment and patch header as a result of Paul's review of [PATCH v4] especially the referenced linux commit.--- .../arm-hwcap-add-new-entries.patch | 31 ++++++++++++++++++++ .../linux-libc-headers_2.6.24.bb | 6 ++- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patchrecipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch new file +31
-0@@ -0,0 +1,31 @@ +linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from linux 2.6.26 + +Enables building of OpenJDK which uses HWCAP_THUMBEE that is not present +in 2.6.24 headers and was introduced with + + commit d7f864be8323e5394040e2877594645b0e7da85d + Author: Catalin Marinas <[email protected]> + Date: Fri Apr 18 22:43:06 2008 +0100 + + ARMv7: Add support for the ThumbEE state saving/restoring + + This patch adds the detection and handling of the ThumbEE extension on + ARMv7 CPUs. + + Signed-off-by: Catalin Marinas <[email protected]> + +Upstream-Status: Backport [2.6.26] + +Signed-off-by: Steffen Sledz <[email protected]> + +diff -Nurd linux-2.6.24.orig//include/asm-arm/hwcap.h linux-2.6.24/include/asm-arm/hwcap.h +--- linux-2.6.24.orig//include/asm-arm/hwcap.h 2011-09-15 08:42:58.467307245 +0200 ++++ linux-2.6.24/include/asm-arm/hwcap.h 2011-09-15 08:43:46.004693497 +0200 +@@ -15,6 +15,7 @@ + #define HWCAP_JAVA 256 + #define HWCAP_IWMMXT 512 + #define HWCAP_CRUNCH 1024 ++#define HWCAP_THUMBEE 2048 + + #if defined(__KERNEL__) && !defined(__ASSEMBLY__) + /*recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +1
-1@@ -2,13 +2,15 @@ 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 \
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb require linux-libc-headers.inc · line 16
Quoted 10 lines
recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb +3
-1file://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 \ +" SRC_URI_append_hipox = " \ file://siocoutqsnd.patch \
applied and pushed
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058