* [PATCH] xtensa: enable sorting extable at build time
@ 2014-02-18 11:48 Max Filippov
2014-03-07 9:56 ` Max Filippov
0 siblings, 1 reply; 4+ messages in thread
From: Max Filippov @ 2014-02-18 11:48 UTC (permalink / raw)
To: linux-xtensa
Cc: Chris Zankel, Marc Gauthier, David Daney, linux-kernel,
Max Filippov
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
arch/xtensa/Kconfig | 1 +
scripts/sortextable.c | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index 1ccaf91..381370d 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -14,6 +14,7 @@ config XTENSA
select GENERIC_PCI_IOMAP
select ARCH_WANT_IPC_PARSE_VERSION
select ARCH_WANT_OPTIONAL_GPIOLIB
+ select BUILDTIME_EXTABLE_SORT
select CLONE_BACKWARDS
select IRQ_DOMAIN
select HAVE_OPROFILE
diff --git a/scripts/sortextable.c b/scripts/sortextable.c
index cc49062..1052d48 100644
--- a/scripts/sortextable.c
+++ b/scripts/sortextable.c
@@ -35,6 +35,10 @@
#define EM_ARCOMPACT 93
#endif
+#ifndef EM_XTENSA
+#define EM_XTENSA 94
+#endif
+
#ifndef EM_AARCH64
#define EM_AARCH64 183
#endif
@@ -281,6 +285,7 @@ do_file(char const *const fname)
case EM_AARCH64:
case EM_MICROBLAZE:
case EM_MIPS:
+ case EM_XTENSA:
break;
} /* end switch */
--
1.8.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] xtensa: enable sorting extable at build time
2014-02-18 11:48 [PATCH] xtensa: enable sorting extable at build time Max Filippov
@ 2014-03-07 9:56 ` Max Filippov
2014-03-07 18:39 ` David Daney
0 siblings, 1 reply; 4+ messages in thread
From: Max Filippov @ 2014-03-07 9:56 UTC (permalink / raw)
To: David Daney, linux-xtensa@linux-xtensa.org
Cc: Chris Zankel, Marc Gauthier, LKML, Max Filippov
On Tue, Feb 18, 2014 at 3:48 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
> ---
> arch/xtensa/Kconfig | 1 +
> scripts/sortextable.c | 5 +++++
> 2 files changed, 6 insertions(+)
Ping?
David, is this OK for scripts/sortextable.c?
> diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
> index 1ccaf91..381370d 100644
> --- a/arch/xtensa/Kconfig
> +++ b/arch/xtensa/Kconfig
> @@ -14,6 +14,7 @@ config XTENSA
> select GENERIC_PCI_IOMAP
> select ARCH_WANT_IPC_PARSE_VERSION
> select ARCH_WANT_OPTIONAL_GPIOLIB
> + select BUILDTIME_EXTABLE_SORT
> select CLONE_BACKWARDS
> select IRQ_DOMAIN
> select HAVE_OPROFILE
> diff --git a/scripts/sortextable.c b/scripts/sortextable.c
> index cc49062..1052d48 100644
> --- a/scripts/sortextable.c
> +++ b/scripts/sortextable.c
> @@ -35,6 +35,10 @@
> #define EM_ARCOMPACT 93
> #endif
>
> +#ifndef EM_XTENSA
> +#define EM_XTENSA 94
> +#endif
> +
> #ifndef EM_AARCH64
> #define EM_AARCH64 183
> #endif
> @@ -281,6 +285,7 @@ do_file(char const *const fname)
> case EM_AARCH64:
> case EM_MICROBLAZE:
> case EM_MIPS:
> + case EM_XTENSA:
> break;
> } /* end switch */
>
> --
> 1.8.1.4
--
Thanks.
-- Max
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] xtensa: enable sorting extable at build time
2014-03-07 9:56 ` Max Filippov
@ 2014-03-07 18:39 ` David Daney
2014-03-07 18:54 ` Max Filippov
0 siblings, 1 reply; 4+ messages in thread
From: David Daney @ 2014-03-07 18:39 UTC (permalink / raw)
To: Max Filippov
Cc: David Daney, linux-xtensa@linux-xtensa.org, Chris Zankel,
Marc Gauthier, LKML
On 03/07/2014 01:56 AM, Max Filippov wrote:
> On Tue, Feb 18, 2014 at 3:48 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
>> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
>> ---
>> arch/xtensa/Kconfig | 1 +
>> scripts/sortextable.c | 5 +++++
>> 2 files changed, 6 insertions(+)
>
> Ping?
> David, is this OK for scripts/sortextable.c?
If you wish, you can add Acked-by: me.
But I am not the maintainer of the file, so you will have to get someone
else to merge it.
David Daney
>
>> diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
>> index 1ccaf91..381370d 100644
>> --- a/arch/xtensa/Kconfig
>> +++ b/arch/xtensa/Kconfig
>> @@ -14,6 +14,7 @@ config XTENSA
>> select GENERIC_PCI_IOMAP
>> select ARCH_WANT_IPC_PARSE_VERSION
>> select ARCH_WANT_OPTIONAL_GPIOLIB
>> + select BUILDTIME_EXTABLE_SORT
>> select CLONE_BACKWARDS
>> select IRQ_DOMAIN
>> select HAVE_OPROFILE
>> diff --git a/scripts/sortextable.c b/scripts/sortextable.c
>> index cc49062..1052d48 100644
>> --- a/scripts/sortextable.c
>> +++ b/scripts/sortextable.c
>> @@ -35,6 +35,10 @@
>> #define EM_ARCOMPACT 93
>> #endif
>>
>> +#ifndef EM_XTENSA
>> +#define EM_XTENSA 94
>> +#endif
>> +
>> #ifndef EM_AARCH64
>> #define EM_AARCH64 183
>> #endif
>> @@ -281,6 +285,7 @@ do_file(char const *const fname)
>> case EM_AARCH64:
>> case EM_MICROBLAZE:
>> case EM_MIPS:
>> + case EM_XTENSA:
>> break;
>> } /* end switch */
>>
>> --
>> 1.8.1.4
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] xtensa: enable sorting extable at build time
2014-03-07 18:39 ` David Daney
@ 2014-03-07 18:54 ` Max Filippov
0 siblings, 0 replies; 4+ messages in thread
From: Max Filippov @ 2014-03-07 18:54 UTC (permalink / raw)
To: David Daney
Cc: David Daney, linux-xtensa@linux-xtensa.org, Chris Zankel,
Marc Gauthier, LKML
On Fri, Mar 7, 2014 at 10:39 PM, David Daney <ddaney.cavm@gmail.com> wrote:
> On 03/07/2014 01:56 AM, Max Filippov wrote:
>>
>> On Tue, Feb 18, 2014 at 3:48 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
>>>
>>> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
>>> ---
>>> arch/xtensa/Kconfig | 1 +
>>> scripts/sortextable.c | 5 +++++
>>> 2 files changed, 6 insertions(+)
>>
>>
>> Ping?
>> David, is this OK for scripts/sortextable.c?
>
>
> If you wish, you can add Acked-by: me.
Thanks.
> But I am not the maintainer of the file, so you will have to get someone
> else to merge it.
I guess we can merge this patch through the xtensa tree unless there are
any objections.
--
Thanks.
-- Max
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-03-07 18:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 11:48 [PATCH] xtensa: enable sorting extable at build time Max Filippov
2014-03-07 9:56 ` Max Filippov
2014-03-07 18:39 ` David Daney
2014-03-07 18:54 ` Max Filippov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox