Skip to contentSkip to conversation

linux-qoriq: Remove Altivec from T1040 64-bit defconfig

PATCH Superseded Bob Cochran 3 participants 9 messages Oct 31, 2014 – Nov 12, 2014 PowerPC

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-qoriq: Remove Altivec from T1040 64-bit defconfig

T1040 uses an E5500 processor, and E5500 doesn't have an Altivec unit

---
 arch/powerpc/configs/t1040_64bit_smp_defconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/configs/t1040_64bit_smp_defconfig +1 -1
index 1b987d9..c2005f2 100644
@@ -1,6 +1,6 @@
 CONFIG_PPC64=y
 CONFIG_PPC_BOOK3E_64=y
-CONFIG_ALTIVEC=y
+# CONFIG_ALTIVEC is not set
 CONFIG_SMP=y
 CONFIG_NR_CPUS=24
 CONFIG_SYSVIPC=y
Signature · 1 line
1.7.9.5
#1 lore raw

Note that I didn't address patching the meta-fsl-ppc metadata (e.g., adding patch to SRC_URI) since there is a meta-data patch from Zongchun still pending regarding the support of scc files.

Unless I am directed otherwise, I'll just keep sending up the kernel patches by themselves.

Bob

Quoted 20 lines · Bob Cochran

T1040 uses an E5500 processor, and E5500 doesn't have an Altivec unit

---
  arch/powerpc/configs/t1040_64bit_smp_defconfig |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/configs/t1040_64bit_smp_defconfig +1 -1
index 1b987d9..c2005f2 100644
@@ -1,6 +1,6 @@
  CONFIG_PPC64=y
  CONFIG_PPC_BOOK3E_64=y
-CONFIG_ALTIVEC=y
+# CONFIG_ALTIVEC is not set
  CONFIG_SMP=y
  CONFIG_NR_CPUS=24
  CONFIG_SYSVIPC=y
#2 lore raw

Bob,

Since the kernel fragment patch is still under discussion.

Please submit patch to append the kernel patch in kernel bb file.

Best Regards,

Zhenhua

Quoted 46 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Bob Cochran
Sent: Saturday, November 01, 2014 5:21 AM
To: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq: Remove Altivec from T1040 64-bit defconfig

Note that I didn't address patching the meta-fsl-ppc metadata (e.g., adding patch to SRC_URI) since there is a meta-data patch from Zongchun still pending regarding the support of scc files.

Unless I am directed otherwise, I'll just keep sending up the kernel patches by themselves.

Bob

Quoted 14 lines · Bob Cochran

T1040 uses an E5500 processor, and E5500 doesn't have an Altivec unit

---
  arch/powerpc/configs/t1040_64bit_smp_defconfig |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/configs/t1040_64bit_smp_defconfig +0 -0
index 1b987d9..c2005f2 100644

arch/powerpc/configs/t1040_64bit_smp_defconfig line 6

Quoted 7 lines
arch/powerpc/configs/t1040_64bit_smp_defconfig +1 -1
@@ -1,6 +1,6 @@
  CONFIG_PPC64=y
  CONFIG_PPC_BOOK3E_64=y
-CONFIG_ALTIVEC=y
+# CONFIG_ALTIVEC is not set
  CONFIG_SMP=y
  CONFIG_NR_CPUS=24
  CONFIG_SYSVIPC=y

--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#3 lore raw
Quoted 5 lines · On 11/05/2014 05:17 AM, [email protected] wrote:

Bob,

Since the kernel fragment patch is still under discussion.

Please submit patch to append the kernel patch in kernel bb file.

Thank you Zhenhua. I will. I also have at least two more patches coming in the FMAN integration area (still testing). I'll try to wrap them up (suitable for review) by the weekend.

Quoted 53 lines

Best Regards,

Zhenhua

Quoted 46 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Bob Cochran
Sent: Saturday, November 01, 2014 5:21 AM
To: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq: Remove Altivec from T1040 64-bit defconfig

Note that I didn't address patching the meta-fsl-ppc metadata (e.g., adding patch to SRC_URI) since there is a meta-data patch from Zongchun still pending regarding the support of scc files.

Unless I am directed otherwise, I'll just keep sending up the kernel patches by themselves.

Bob

Quoted 14 lines · Bob Cochran

T1040 uses an E5500 processor, and E5500 doesn't have an Altivec unit

---
   arch/powerpc/configs/t1040_64bit_smp_defconfig |    2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/configs/t1040_64bit_smp_defconfig +0 -0
index 1b987d9..c2005f2 100644

arch/powerpc/configs/t1040_64bit_smp_defconfig line 6

Quoted 7 lines
arch/powerpc/configs/t1040_64bit_smp_defconfig +1 -1
@@ -1,6 +1,6 @@
   CONFIG_PPC64=y
   CONFIG_PPC_BOOK3E_64=y
-CONFIG_ALTIVEC=y
+# CONFIG_ALTIVEC is not set
   CONFIG_SMP=y
   CONFIG_NR_CPUS=24
   CONFIG_SYSVIPC=y

--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#4 lore raw
In reply to [email protected]
Quoted 6 lines · On 11/05/2014 05:17 AM, [email protected] wrote:

Bob,

Since the kernel fragment patch is still under discussion.

Please submit patch to append the kernel patch in kernel bb file.

Zhenhua and Otavio,

Please guide me on how I should submit multiple kernel patches for linux-qoriq that also require multiple SRC_URI line additions to the same linux-qoriq_3.12.bb file in the meta-fsl-ppc layer.

I have a few different kernel patches that I want to submit related to the T1040 (e.g., remove Altivec flag). I'm ready to send a few now, and I expect to have one or two each week going forward.

Each patch addresses one problem and is self contained in its own kernel .patch file.

Should I send these as one email that contains multiple kernel patches plus a single patch to linux-qoriq_3.12.bb to include the SRC_URI additions?

Or maybe I should send each kernel patch out separately in its own email (like I have already done), wait for comments, and then combine them into one email patch submission that then bundles the linux-qoriq_3.12.bb patch.

Please let me know what you would like to see.

Thanks

Bob

Quoted 52 lines

Best Regards,

Zhenhua

Quoted 46 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Bob Cochran
Sent: Saturday, November 01, 2014 5:21 AM
To: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq: Remove Altivec from T1040 64-bit defconfig

Note that I didn't address patching the meta-fsl-ppc metadata (e.g., adding patch to SRC_URI) since there is a meta-data patch from Zongchun still pending regarding the support of scc files.

Unless I am directed otherwise, I'll just keep sending up the kernel patches by themselves.

Bob

Quoted 14 lines · Bob Cochran

T1040 uses an E5500 processor, and E5500 doesn't have an Altivec unit

---
   arch/powerpc/configs/t1040_64bit_smp_defconfig |    2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/configs/t1040_64bit_smp_defconfig +0 -0
index 1b987d9..c2005f2 100644

arch/powerpc/configs/t1040_64bit_smp_defconfig line 6

Quoted 7 lines
arch/powerpc/configs/t1040_64bit_smp_defconfig +1 -1
@@ -1,6 +1,6 @@
   CONFIG_PPC64=y
   CONFIG_PPC_BOOK3E_64=y
-CONFIG_ALTIVEC=y
+# CONFIG_ALTIVEC is not set
   CONFIG_SMP=y
   CONFIG_NR_CPUS=24
   CONFIG_SYSVIPC=y

--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#5 lore raw

Hello Bob,

Quoted 3 lines · Bob Cochran

Please guide me on how I should submit multiple kernel patches for linux-qoriq that also require multiple SRC_URI line additions to the same linux-qoriq_3.12.bb file in the meta-fsl-ppc layer.

This is my opinion, so wait Zhenhua to comment on this as well...

I think it is better to:

* Have one commit for each patch which detailed explain the issue and includes the:

. kernel patch file (with Upstream-Status: Pending) . modification for .bb to include it

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#6 lore raw
Quoted 9 lines · Otavio Salvador

Hello Bob,

Quoted 3 lines · Bob Cochran

Please guide me on how I should submit multiple kernel patches for linux-qoriq that also require multiple SRC_URI line additions to the same linux-qoriq_3.12.bb file in the meta-fsl-ppc layer.

This is my opinion, so wait Zhenhua to comment on this as well...

Quoted 8 lines

I think it is better to:

* Have one commit for each patch which detailed explain the issue and includes the:

. kernel patch file (with Upstream-Status: Pending) . modification for .bb to include it

Thanks for the reply Otavio.

So if I want to send multiple patches (each patch is a separate email that includes both the kernel patch & a patch for linux-qoriq_3.12.bb), then each patch of linux-qoriq_3.12.bb will depend on any of my previously submitted patches, right?

In other words, the SRC_URI in the linux-qoriq_3.12.bb patch will show my prior kernel patch submissions regardless of whether they have been merged / approved.

Example: (assume that "configure-T1040-for-FMAN-3VL.patch" was previously submitted but not yet approved / merged) -

...

file://Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch \
    file://Fix-CVE-2014-5471_CVE-2014-5472.patch \
    file://configure-T1040-for-FMAN-V3L.patch   \
    +file://remove-Altivec-from-T1040-64-bit-defconfig.patch \

"
SRCREV = "c29fe1a733308cbe592b3af054a97be1b91cf2dd"

#7 lore raw

Bob,

I agree with Otavio's suggestion.

Best Regards,

Zhenhua

Quoted 55 lines

-----Original Message-----
From: Bob Cochran [mailto:[email protected]]
Sent: Wednesday, November 12, 2014 2:53 AM
To: Otavio Salvador
Cc: Luo Zhenhua-B19537; [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq: Remove Altivec from T1040 64-bit defconfig

Quoted 3 lines · Otavio Salvador

Hello Bob,

On Mon, Nov 10, 2014 at 9:44 PM, Bob Cochran <[email protected]>

Quoted 6 lines · wrote:
Quoted 3 lines

Please guide me on how I should submit multiple kernel patches for linux-qoriq that also require multiple SRC_URI line additions to the same linux-qoriq_3.12.bb file in the meta-fsl-ppc layer.

This is my opinion, so wait Zhenhua to comment on this as well...

Quoted 8 lines

I think it is better to:

* Have one commit for each patch which detailed explain the issue and includes the:

. kernel patch file (with Upstream-Status: Pending) . modification for .bb to include it

Thanks for the reply Otavio.

So if I want to send multiple patches (each patch is a separate email that includes both the kernel patch & a patch for linux-qoriq_3.12.bb), then each patch of linux-qoriq_3.12.bb will depend on any of my previously submitted patches, right?

In other words, the SRC_URI in the linux-qoriq_3.12.bb patch will show my prior kernel patch submissions regardless of whether they have been merged / approved.

Example: (assume that "configure-T1040-for-FMAN-3VL.patch" was previously submitted but not yet approved / merged) -

...

file://Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch

\
     file://Fix-CVE-2014-5471_CVE-2014-5472.patch \
     file://configure-T1040-for-FMAN-V3L.patch   \
     +file://remove-Altivec-from-T1040-64-bit-defconfig.patch \

"
SRCREV = "c29fe1a733308cbe592b3af054a97be1b91cf2dd"

#8 lore raw
Quoted 3 lines · On 11/12/2014 07:06 AM, [email protected] wrote:

Bob,

I agree with Otavio's suggestion.

Thank you Otavio and Zhenhua. Look for two patch resends today or tomorrow for what I already sent up but didn't include the linux-qoriq recipe patch.

I'm sure you'll let me know if it's not what you're expecting.

If they're acceptable, then I'll start submitting new patches.

Bob

Quoted 62 lines

Best Regards,

Zhenhua

Quoted 55 lines

-----Original Message-----
From: Bob Cochran [mailto:[email protected]]
Sent: Wednesday, November 12, 2014 2:53 AM
To: Otavio Salvador
Cc: Luo Zhenhua-B19537; [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq: Remove Altivec from T1040 64-bit defconfig

Quoted 3 lines · Otavio Salvador

Hello Bob,

On Mon, Nov 10, 2014 at 9:44 PM, Bob Cochran <[email protected]>

Quoted 6 lines · wrote:
Quoted 3 lines

Please guide me on how I should submit multiple kernel patches for linux-qoriq that also require multiple SRC_URI line additions to the same linux-qoriq_3.12.bb file in the meta-fsl-ppc layer.

This is my opinion, so wait Zhenhua to comment on this as well...

Quoted 8 lines

I think it is better to:

* Have one commit for each patch which detailed explain the issue and includes the:

. kernel patch file (with Upstream-Status: Pending) . modification for .bb to include it

Thanks for the reply Otavio.

So if I want to send multiple patches (each patch is a separate email that includes both the kernel patch & a patch for linux-qoriq_3.12.bb), then each patch of linux-qoriq_3.12.bb will depend on any of my previously submitted patches, right?

In other words, the SRC_URI in the linux-qoriq_3.12.bb patch will show my prior kernel patch submissions regardless of whether they have been merged / approved.

Example: (assume that "configure-T1040-for-FMAN-3VL.patch" was previously submitted but not yet approved / merged) -

...

file://Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch

\
      file://Fix-CVE-2014-5471_CVE-2014-5472.patch \
      file://configure-T1040-for-FMAN-V3L.patch   \
      +file://remove-Altivec-from-T1040-64-bit-defconfig.patch \

"
SRCREV = "c29fe1a733308cbe592b3af054a97be1b91cf2dd"