Skip to contentSkip to conversation

imx-base.inc: Advertize thumb2 and vfp capability

PATCH Superseded Khem Raj 3 participants 8 messages May 27, 2015 Arm i.MX and Layerscape

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 imx-base.inc: Advertize thumb2 and vfp capability

These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to.

---
 conf/machine/include/imx-base.inc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
conf/machine/include/imx-base.inc +5 -3
index 5683041..d80ca46 100644
@@ -30,11 +30,13 @@ PREFERRED_VERSION_directfb_mx6 = "1.7.4"
 # Ship kernel modules
 MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
 
-# Float-Point setting
+# Defaults is to show thumb2, VFP and Neon
+# capabilities
+# Float-Point ABI setting
 # handled by software
-# DEFAULTTUNE_mx6 ?= "cortexa9-neon"
+# DEFAULTTUNE_mx6 ?= "cortexa9t2-vfp-neon"
 # handled by hardware
-DEFAULTTUNE_mx6 ?= "cortexa9hf-neon"
+DEFAULTTUNE_mx6 ?= "cortexa9t2hf-vfp-neon"
 
 # Sub-architecture support
 MACHINE_SOCARCH_SUFFIX ?= ""
Signature · 1 line
2.1.4
#1 lore raw
Quoted 7 lines · Khem Raj

These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to.

Your patch seems nicer; it would be good though if you could add the discussion link included at:

http://patchwork.openembedded.org/patch/94025/

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
#2 lore raw
Quoted 7 lines · Otavio Salvador
Quoted 6 lines · Khem Raj

These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to.

Quoted 6 lines
Quoted 1 line

Your patch seems nicer; it would be good though if you could add the discussion link included at:

http://patchwork.openembedded.org/patch/94025/

And please, improve your commit log a little bit. I think it's confusing.

"These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to."

Instead of "these socs" please say "The mx6 SoCs"

typo thmub2 -> thumb2

soc are capable of thumb2 and VFP unit is available?

"The final ISA still remains as it is currently"
What does it means? The default for ISA is the same?

And please, avoid choice and choose in the same sentence. And I'm not sure what you mean by "thumb2 or a mix, if they want to" (who is they? distros doesn't make choices )

Maybe something like:

"
mx6 SoC can be used with both thumb2 ISA or VFP enabled.

Change the default tunes in order to enable both always.

In addition, it offers more options to external distros. "

At least it was what I understood from your commit log. This way you can double check if my understanding is what you meant.

Daiane

Quoted 10 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
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

author
#7 lore raw
In reply to Otavio Salvador
Quoted 10 lines · Otavio Salvador
Quoted 6 lines · Khem Raj

These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to.

Quoted 6 lines
Quoted 1 line

Your patch seems nicer; it would be good though if you could add the discussion link included at:

http://patchwork.openembedded.org/patch/94025/

OK will send a v2

Quoted 5 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

author
#3 lore raw
In reply to Daiane Angolini
Quoted 21 lines · Daiane Angolini
Quoted 7 lines · Otavio Salvador
Quoted 6 lines · Khem Raj

These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to.

Quoted 6 lines
Quoted 1 line

Your patch seems nicer; it would be good though if you could add the discussion link included at:

http://patchwork.openembedded.org/patch/94025/

And please, improve your commit log a little bit. I think it's confusing.

Quoted 7 lines

"These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to."

Instead of "these socs" please say "The mx6 SoCs”

sure

Quoted 2 lines

typo thmub2 -> thumb2

yes

Quoted 5 lines

soc are capable of thumb2 and VFP unit is available?

"The final ISA still remains as it is currently" What does it means? The default for ISA is the same?

It means that code generation still remains as it was before unless thumb2 is chosen explicitly.

Quoted 4 lines

And please, avoid choice and choose in the same sentence. And I'm not sure what you mean by "thumb2 or a mix, if they want to" (who is they? distros doesn't make choices )

what ? Distro make choices about default ISA before the machines, they got to choose from the options that are offered by a machine.

Quoted 10 lines

Maybe something like:

"
mx6 SoC can be used with both thumb2 ISA or VFP enabled.

Change the default tunes in order to enable both always.

In addition, it offers more options to external distros. “

its a machine layer so all distros are external to it.

Quoted 4 lines

At least it was what I understood from your commit log. This way you can double check if my understanding is what you meant.

Thanks for your feedback, I will send a v2 shortly.

Quoted 14 lines

Daiane

Quoted 10 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
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#4 lore raw
Quoted 37 lines · Khem Raj
Quoted 21 lines · Daiane Angolini
Quoted 7 lines · Otavio Salvador
Quoted 6 lines · Khem Raj

These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to.

Quoted 6 lines
Quoted 1 line

Your patch seems nicer; it would be good though if you could add the discussion link included at:

http://patchwork.openembedded.org/patch/94025/

And please, improve your commit log a little bit. I think it's confusing.

Quoted 7 lines

"These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to."

Instead of "these socs" please say "The mx6 SoCs”

sure

Quoted 2 lines

typo thmub2 -> thumb2

yes

Quoted 1 line
Quoted 7 lines
Quoted 4 lines

soc are capable of thumb2 and VFP unit is available?

"The final ISA still remains as it is currently" What does it means? The default for ISA is the same?

It means that code generation still remains as it was before unless thumb2 is chosen explicitly.

You turn, and turn, and turn only to say "nothing changed". I'm sorry, but it is confusing to me.

Quoted 8 lines
Quoted 5 lines

And please, avoid choice and choose in the same sentence. And I'm not sure what you mean by "thumb2 or a mix, if they want to" (who is they? distros doesn't make choices )

what ? Distro make choices about default ISA before the machines, they got to choose from the options that are offered by a machine.

People make choices. Distro can be configured, can override, can a lot of thing, not make a choice. Please, don't personify
distro =P

But it's not very important, try only to not say chose the choice. choice the option is nicer

Quoted 6 lines
Quoted 6 lines

Maybe something like:

"
mx6 SoC can be used with both thumb2 ISA or VFP enabled.

Quoted 6 lines
Quoted 4 lines

Change the default tunes in order to enable both always.

In addition, it offers more options to external distros. “

its a machine layer so all distros are external to it.

Yes, you are right.

Daiane

Quoted 23 lines
Quoted 5 lines

At least it was what I understood from your commit log. This way you can double check if my understanding is what you meant.

Thanks for your feedback, I will send a v2 shortly.

Quoted 14 lines

Daiane

Quoted 10 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
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

author
#5 lore raw
Quoted 43 lines · Daiane Angolini
Quoted 39 lines · Khem Raj
Quoted 21 lines · Daiane Angolini
Quoted 7 lines · Otavio Salvador
Quoted 6 lines · Khem Raj

These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to.

Quoted 6 lines
Quoted 1 line

Your patch seems nicer; it would be good though if you could add the discussion link included at:

http://patchwork.openembedded.org/patch/94025/

And please, improve your commit log a little bit. I think it's confusing.

Quoted 7 lines

"These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to."

Instead of "these socs" please say "The mx6 SoCs”

sure

Quoted 2 lines

typo thmub2 -> thumb2

yes

Quoted 3 lines

soc are capable of thumb2 and VFP unit is available?

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

"The final ISA still remains as it is currently" What does it means? The default for ISA is the same?

It means that code generation still remains as it was before unless thumb2 is chosen explicitly.

You turn, and turn, and turn only to say "nothing changed". I'm sorry, but it is confusing to me.

Precisely, and its important to state that we are enabling knobs to turn on additional capabilities but default remains same. Whats so confusing about that ?

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

And please, avoid choice and choose in the same sentence. And I'm not sure what you mean by "thumb2 or a mix, if they want to" (who is they? distros doesn't make choices )

Quoted 6 lines
Quoted 2 lines

what ? Distro make choices about default ISA before the machines, they got to choose from the options that are offered by a machine.

People make choices. Distro can be configured, can override, can a lot of thing, not make a choice. Please, don't personify
distro =P

This is a commit message not a document where I would agree that a bit better use of english language may be required.

Quoted 45 lines

But it's not very important, try only to not say chose the choice. choice the option is nicer

Quoted 6 lines
Quoted 6 lines

Maybe something like:

"
mx6 SoC can be used with both thumb2 ISA or VFP enabled.

Quoted 6 lines
Quoted 4 lines

Change the default tunes in order to enable both always.

In addition, it offers more options to external distros. “

its a machine layer so all distros are external to it.

Yes, you are right.

Daiane

Quoted 22 lines
Quoted 5 lines

At least it was what I understood from your commit log. This way you can double check if my understanding is what you meant.

Thanks for your feedback, I will send a v2 shortly.

Quoted 14 lines

Daiane

Quoted 10 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
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#6 lore raw
Quoted 65 lines · Khem Raj
Quoted 43 lines · Daiane Angolini
Quoted 39 lines · Khem Raj
Quoted 21 lines · Daiane Angolini
Quoted 7 lines · Otavio Salvador
Quoted 6 lines · Khem Raj

These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to.

Quoted 6 lines
Quoted 1 line

Your patch seems nicer; it would be good though if you could add the discussion link included at:

http://patchwork.openembedded.org/patch/94025/

And please, improve your commit log a little bit. I think it's confusing.

Quoted 7 lines

"These SoCs are capable of thmub2 ISA as well as VFP
unit is available on them. This patch makes the default tunes aware of that. The final ISA still remains as it is currently but it offers a choice to distros to choose an alternative thumb2 or a mix if they want to."

Instead of "these socs" please say "The mx6 SoCs”

sure

Quoted 2 lines

typo thmub2 -> thumb2

yes

Quoted 3 lines

soc are capable of thumb2 and VFP unit is available?

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

"The final ISA still remains as it is currently" What does it means? The default for ISA is the same?

It means that code generation still remains as it was before unless thumb2 is chosen explicitly.

You turn, and turn, and turn only to say "nothing changed". I'm sorry, but it is confusing to me.

Precisely, and its important to state that we are enabling knobs to turn on additional capabilities but default remains same. Whats so confusing about that ?

Quoted 10 lines
Quoted 9 lines
Quoted 6 lines

And please, avoid choice and choose in the same sentence. And I'm not sure what you mean by "thumb2 or a mix, if they want to" (who is they? distros doesn't make choices )

what ? Distro make choices about default ISA before the machines, they got to choose from the options that are offered by a machine.

Quoted 6 lines
Quoted 3 lines

People make choices. Distro can be configured, can override, can a lot of thing, not make a choice. Please, don't personify
distro =P

This is a commit message not a document where I would agree that a bit better use of english language may be required.

I completely disagree. Commit log is the only documentation we have <3

I'm sure your v2 commit log is going to be much better

Daiane

Quoted 47 lines
Quoted 46 lines

But it's not very important, try only to not say chose the choice. choice the option is nicer

Quoted 6 lines
Quoted 6 lines

Maybe something like:

"
mx6 SoC can be used with both thumb2 ISA or VFP enabled.

Quoted 6 lines
Quoted 4 lines

Change the default tunes in order to enable both always.

In addition, it offers more options to external distros. “

its a machine layer so all distros are external to it.

Yes, you are right.

Daiane

Quoted 22 lines
Quoted 5 lines

At least it was what I understood from your commit log. This way you can double check if my understanding is what you meant.

Thanks for your feedback, I will send a v2 shortly.

Quoted 14 lines

Daiane

Quoted 10 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
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale