All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel/omap seandroid-omap-tuna-3.0
@ 2012-07-20  5:29 William Roberts
  2012-07-20  5:29 ` [PATCH] Fix for build error no support ARM mode `smc #0' William Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: William Roberts @ 2012-07-20  5:29 UTC (permalink / raw)
  To: selinux

[PATCH] Fix for build error no support ARM mode `smc #0'

Fix for build tool not knowing how to deal with trustzone smc
instruction.

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] Fix for build error no support ARM mode `smc #0'
  2012-07-20  5:29 kernel/omap seandroid-omap-tuna-3.0 William Roberts
@ 2012-07-20  5:29 ` William Roberts
  2012-07-23 14:24   ` Stephen Smalley
  0 siblings, 1 reply; 4+ messages in thread
From: William Roberts @ 2012-07-20  5:29 UTC (permalink / raw)
  To: selinux; +Cc: William Roberts

Fixes build bug
security/smc/bridge_pub2sec.S:95: Error: selected processor does not support ARM mode `smc #0'
---
 security/smc/bridge_pub2sec.S |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/security/smc/bridge_pub2sec.S b/security/smc/bridge_pub2sec.S
index 15cd3b7..30b8b35 100644
--- a/security/smc/bridge_pub2sec.S
+++ b/security/smc/bridge_pub2sec.S
@@ -74,6 +74,7 @@ return_from_irq:
 	b	label_smc
 
 label_smc:
+	.arch_extension sec
 	INVALIDATE_BTB
 	dsb
 	dmb
-- 
1.7.0.4


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fix for build error no support ARM mode `smc #0'
  2012-07-20  5:29 ` [PATCH] Fix for build error no support ARM mode `smc #0' William Roberts
@ 2012-07-23 14:24   ` Stephen Smalley
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Smalley @ 2012-07-23 14:24 UTC (permalink / raw)
  To: William Roberts; +Cc: selinux, William Roberts

On Thu, 2012-07-19 at 22:29 -0700, William Roberts wrote:
> Fixes build bug
> security/smc/bridge_pub2sec.S:95: Error: selected processor does not support ARM mode `smc #0'
> ---
>  security/smc/bridge_pub2sec.S |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/security/smc/bridge_pub2sec.S b/security/smc/bridge_pub2sec.S
> index 15cd3b7..30b8b35 100644
> --- a/security/smc/bridge_pub2sec.S
> +++ b/security/smc/bridge_pub2sec.S
> @@ -74,6 +74,7 @@ return_from_irq:
>  	b	label_smc
>  
>  label_smc:
> +	.arch_extension sec
>  	INVALIDATE_BTB
>  	dsb
>  	dmb

Thanks, but this should go to AOSP, not us.

-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] Fix for build error no support ARM mode `smc #0'
  2012-07-26 18:52 kernel/omap William Roberts
@ 2012-07-26 18:52 ` William Roberts
  0 siblings, 0 replies; 4+ messages in thread
From: William Roberts @ 2012-07-26 18:52 UTC (permalink / raw)
  To: selinux; +Cc: William Roberts

Fixes build bug:
security/smc/bridge_pub2sec.S:95:
Error: selected processor does not support ARM mode `smc #0'

Change-Id: Ifc1af42e02f850a7077c01abedfa393e07ec516d
Signed-off-by: William Roberts <w.roberts@sta.samsung.com>
---
 security/smc/bridge_pub2sec.S |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/security/smc/bridge_pub2sec.S b/security/smc/bridge_pub2sec.S
index 30b8b35..d75b8b0 100644
--- a/security/smc/bridge_pub2sec.S
+++ b/security/smc/bridge_pub2sec.S
@@ -74,7 +74,9 @@ return_from_irq:
 	b	label_smc
 
 label_smc:
-	.arch_extension sec
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
+        .arch_extension sec
+#endif
 	INVALIDATE_BTB
 	dsb
 	dmb
-- 
1.7.0.4


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-26 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-20  5:29 kernel/omap seandroid-omap-tuna-3.0 William Roberts
2012-07-20  5:29 ` [PATCH] Fix for build error no support ARM mode `smc #0' William Roberts
2012-07-23 14:24   ` Stephen Smalley
2012-07-26 18:52 kernel/omap William Roberts
2012-07-26 18:52 ` [PATCH] Fix for build error no support ARM mode `smc #0' William Roberts

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.