* [PATCH 0/3] Openrisc 4.10 fixes
@ 2016-12-31 11:52 Stafford Horne
2016-12-31 11:52 ` [PATCH 1/3] openrisc: Add _text symbol to fix ksym build error Stafford Horne
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Stafford Horne @ 2016-12-31 11:52 UTC (permalink / raw)
To: jonas, stefan.kristiansson
Cc: geert+renesas, linux-kernel, openrisc, Stafford Horne
Hello,
These are a few small changes for openrisc I would like to include in 4.10.
The main change is a fix for building with alldefconfig to properly setup
then _text symbol. Others are trivial.
If no complaints I will push to 4.10 for inclusion and start working on
4.11 changes.
Let me know if these are too minor to even post for review.
Stafford Horne (3):
openrisc: Add _text symbol to fix ksym build error
openrisc: Add .gitignore
MAINTAINERS: Add the openrisc official repository
MAINTAINERS | 1 +
arch/openrisc/kernel/.gitignore | 1 +
arch/openrisc/kernel/vmlinux.lds.S | 2 ++
3 files changed, 4 insertions(+)
create mode 100644 arch/openrisc/kernel/.gitignore
--
2.9.3
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/3] openrisc: Add _text symbol to fix ksym build error
2016-12-31 11:52 [PATCH 0/3] Openrisc 4.10 fixes Stafford Horne
@ 2016-12-31 11:52 ` Stafford Horne
2016-12-31 14:11 ` Jonas Bonn
2016-12-31 11:52 ` [PATCH 2/3] openrisc: Add .gitignore Stafford Horne
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Stafford Horne @ 2016-12-31 11:52 UTC (permalink / raw)
To: jonas, stefan.kristiansson
Cc: geert+renesas, linux-kernel, openrisc, Stafford Horne
The build robot reports:
.tmp_kallsyms1.o: In function `kallsyms_relative_base':
>> (.rodata+0x8a18): undefined reference to `_text'
This is when using 'make alldefconfig'. Adding this _text symbol to mark
the start of the kernel as in other architecture fixes this.
Signed-off-by: Stafford Horne <shorne@gmail.com>
---
arch/openrisc/kernel/vmlinux.lds.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/openrisc/kernel/vmlinux.lds.S b/arch/openrisc/kernel/vmlinux.lds.S
index ef31fc2..5525446 100644
--- a/arch/openrisc/kernel/vmlinux.lds.S
+++ b/arch/openrisc/kernel/vmlinux.lds.S
@@ -44,6 +44,8 @@ SECTIONS
/* Read-only sections, merged into text segment: */
. = LOAD_BASE ;
+ _text = .;
+
/* _s_kernel_ro must be page aligned */
. = ALIGN(PAGE_SIZE);
_s_kernel_ro = .;
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/3] openrisc: Add .gitignore
2016-12-31 11:52 [PATCH 0/3] Openrisc 4.10 fixes Stafford Horne
2016-12-31 11:52 ` [PATCH 1/3] openrisc: Add _text symbol to fix ksym build error Stafford Horne
@ 2016-12-31 11:52 ` Stafford Horne
2016-12-31 11:52 ` [PATCH 3/3] MAINTAINERS: Add the openrisc official repository Stafford Horne
2016-12-31 14:10 ` [PATCH 0/3] Openrisc 4.10 fixes Jonas Bonn
3 siblings, 0 replies; 9+ messages in thread
From: Stafford Horne @ 2016-12-31 11:52 UTC (permalink / raw)
To: jonas, stefan.kristiansson
Cc: geert+renesas, linux-kernel, openrisc, Stafford Horne
This helps to suppress the vmlinux.lds file.
Signed-off-by: Stafford Horne <shorne@gmail.com>
---
arch/openrisc/kernel/.gitignore | 1 +
1 file changed, 1 insertion(+)
create mode 100644 arch/openrisc/kernel/.gitignore
diff --git a/arch/openrisc/kernel/.gitignore b/arch/openrisc/kernel/.gitignore
new file mode 100644
index 0000000..c5f676c
--- /dev/null
+++ b/arch/openrisc/kernel/.gitignore
@@ -0,0 +1 @@
+vmlinux.lds
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/3] MAINTAINERS: Add the openrisc official repository
2016-12-31 11:52 [PATCH 0/3] Openrisc 4.10 fixes Stafford Horne
2016-12-31 11:52 ` [PATCH 1/3] openrisc: Add _text symbol to fix ksym build error Stafford Horne
2016-12-31 11:52 ` [PATCH 2/3] openrisc: Add .gitignore Stafford Horne
@ 2016-12-31 11:52 ` Stafford Horne
2016-12-31 14:10 ` [PATCH 0/3] Openrisc 4.10 fixes Jonas Bonn
3 siblings, 0 replies; 9+ messages in thread
From: Stafford Horne @ 2016-12-31 11:52 UTC (permalink / raw)
To: jonas, stefan.kristiansson
Cc: geert+renesas, linux-kernel, openrisc, Stafford Horne
The openrisc official repository and patch work happens currently on
github. Add the repo for reference.
Signed-off-by: Stafford Horne <shorne@gmail.com>
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index cfff2c9..d6ebe38 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9161,6 +9161,7 @@ OPENRISC ARCHITECTURE
M: Jonas Bonn <jonas@southpole.se>
M: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
M: Stafford Horne <shorne@gmail.com>
+T: git git://github.com/openrisc/linux.git
L: openrisc@lists.librecores.org
W: http://openrisc.io
S: Maintained
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 0/3] Openrisc 4.10 fixes
2016-12-31 11:52 [PATCH 0/3] Openrisc 4.10 fixes Stafford Horne
` (2 preceding siblings ...)
2016-12-31 11:52 ` [PATCH 3/3] MAINTAINERS: Add the openrisc official repository Stafford Horne
@ 2016-12-31 14:10 ` Jonas Bonn
2016-12-31 22:50 ` Stafford Horne
3 siblings, 1 reply; 9+ messages in thread
From: Jonas Bonn @ 2016-12-31 14:10 UTC (permalink / raw)
To: Stafford Horne, stefan.kristiansson; +Cc: geert+renesas, linux-kernel, openrisc
Hi Stafford,
On 12/31/2016 12:52 PM, Stafford Horne wrote:
> Hello,
>
> These are a few small changes for openrisc I would like to include in 4.10.
> The main change is a fix for building with alldefconfig to properly setup
> then _text symbol. Others are trivial.
>
> If no complaints I will push to 4.10 for inclusion and start working on
> 4.11 changes.
Post-merge window patches should be bug fixes, only. Patch 1/3
probably qualifies, but the others are far too trivial to be pushing
now. Just put them on your 4.11 branch.
>
> Let me know if these are too minor to even post for review.
Nothing is too minor to post for review!
/Jonas
>
> Stafford Horne (3):
> openrisc: Add _text symbol to fix ksym build error
> openrisc: Add .gitignore
> MAINTAINERS: Add the openrisc official repository
>
> MAINTAINERS | 1 +
> arch/openrisc/kernel/.gitignore | 1 +
> arch/openrisc/kernel/vmlinux.lds.S | 2 ++
> 3 files changed, 4 insertions(+)
> create mode 100644 arch/openrisc/kernel/.gitignore
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] openrisc: Add _text symbol to fix ksym build error
2016-12-31 11:52 ` [PATCH 1/3] openrisc: Add _text symbol to fix ksym build error Stafford Horne
@ 2016-12-31 14:11 ` Jonas Bonn
0 siblings, 0 replies; 9+ messages in thread
From: Jonas Bonn @ 2016-12-31 14:11 UTC (permalink / raw)
To: Stafford Horne, stefan.kristiansson; +Cc: geert+renesas, linux-kernel, openrisc
On 12/31/2016 12:52 PM, Stafford Horne wrote:
> The build robot reports:
>
> .tmp_kallsyms1.o: In function `kallsyms_relative_base':
>>> (.rodata+0x8a18): undefined reference to `_text'
> This is when using 'make alldefconfig'. Adding this _text symbol to mark
> the start of the kernel as in other architecture fixes this.
>
> Signed-off-by: Stafford Horne <shorne@gmail.com>
Acked-by: Jonas Bonn <jonas@southpole.se>
> ---
> arch/openrisc/kernel/vmlinux.lds.S | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/openrisc/kernel/vmlinux.lds.S b/arch/openrisc/kernel/vmlinux.lds.S
> index ef31fc2..5525446 100644
> --- a/arch/openrisc/kernel/vmlinux.lds.S
> +++ b/arch/openrisc/kernel/vmlinux.lds.S
> @@ -44,6 +44,8 @@ SECTIONS
> /* Read-only sections, merged into text segment: */
> . = LOAD_BASE ;
>
> + _text = .;
> +
> /* _s_kernel_ro must be page aligned */
> . = ALIGN(PAGE_SIZE);
> _s_kernel_ro = .;
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/3] Openrisc 4.10 fixes
2016-12-31 14:10 ` [PATCH 0/3] Openrisc 4.10 fixes Jonas Bonn
@ 2016-12-31 22:50 ` Stafford Horne
2017-01-02 10:34 ` Jonas Bonn
0 siblings, 1 reply; 9+ messages in thread
From: Stafford Horne @ 2016-12-31 22:50 UTC (permalink / raw)
To: Jonas Bonn; +Cc: stefan.kristiansson, geert+renesas, linux-kernel, openrisc
Hi Jonas,
On Sat, Dec 31, 2016 at 03:10:37PM +0100, Jonas Bonn wrote:
> Hi Stafford,
>
> On 12/31/2016 12:52 PM, Stafford Horne wrote:
> > Hello,
> >
> > These are a few small changes for openrisc I would like to include in 4.10.
> > The main change is a fix for building with alldefconfig to properly setup
> > then _text symbol. Others are trivial.
> >
> > If no complaints I will push to 4.10 for inclusion and start working on
> > 4.11 changes.
>
> Post-merge window patches should be bug fixes, only. Patch 1/3 probably
> qualifies, but the others are far too trivial to be pushing now. Just put
> them on your 4.11 branch.
Thanks, for some reason I thought minor changes like this were ok too.
I will only push the one change in this case. The rest will go to my
4.11 queue, which I'll send for review in the next few days.
That brings up a question, Do you want to stay in the MAINTAINERS file?
I noticed sometimes you dont get around to review, but often when you do
the reviews are helpful like this one.
> > Let me know if these are too minor to even post for review.
> Nothing is too minor to post for review!
Good to know!
-Stafford
> >
> > Stafford Horne (3):
> > openrisc: Add _text symbol to fix ksym build error
> > openrisc: Add .gitignore
> > MAINTAINERS: Add the openrisc official repository
> >
> > MAINTAINERS | 1 +
> > arch/openrisc/kernel/.gitignore | 1 +
> > arch/openrisc/kernel/vmlinux.lds.S | 2 ++
> > 3 files changed, 4 insertions(+)
> > create mode 100644 arch/openrisc/kernel/.gitignore
> >
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/3] Openrisc 4.10 fixes
2016-12-31 22:50 ` Stafford Horne
@ 2017-01-02 10:34 ` Jonas Bonn
2017-01-02 11:15 ` Richard Weinberger
0 siblings, 1 reply; 9+ messages in thread
From: Jonas Bonn @ 2017-01-02 10:34 UTC (permalink / raw)
To: Stafford Horne; +Cc: stefan.kristiansson, geert+renesas, linux-kernel, openrisc
On 12/31/2016 11:50 PM, Stafford Horne wrote:
> Hi Jonas,
>
> On Sat, Dec 31, 2016 at 03:10:37PM +0100, Jonas Bonn wrote:
>> Hi Stafford,
>>
>> Post-merge window patches should be bug fixes, only. Patch 1/3 probably
>> qualifies, but the others are far too trivial to be pushing now. Just put
>> them on your 4.11 branch.
> Thanks, for some reason I thought minor changes like this were ok too.
> I will only push the one change in this case. The rest will go to my
> 4.11 queue, which I'll send for review in the next few days.
Actually, it's not even bug-fixes, just fixes for regressions. Patch 1
fixes something which has never worked so it's not even a regression...
just hold everything for 4.11. Get your 4.11 branch ready and pushed to
-next now and then start working on stuff for 4.12.
>
> That brings up a question, Do you want to stay in the MAINTAINERS file?
> I noticed sometimes you dont get around to review, but often when you do
> the reviews are helpful like this one.
Yes, keep me in the MAINTAINERS file.
Thanks,
Jonas
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/3] Openrisc 4.10 fixes
2017-01-02 10:34 ` Jonas Bonn
@ 2017-01-02 11:15 ` Richard Weinberger
0 siblings, 0 replies; 9+ messages in thread
From: Richard Weinberger @ 2017-01-02 11:15 UTC (permalink / raw)
To: Jonas Bonn
Cc: Stafford Horne, stefan.kristiansson, geert+renesas, LKML,
openrisc
On Mon, Jan 2, 2017 at 11:34 AM, Jonas Bonn <jonas@southpole.se> wrote:
> On 12/31/2016 11:50 PM, Stafford Horne wrote:
>>
>> Hi Jonas,
>>
>> On Sat, Dec 31, 2016 at 03:10:37PM +0100, Jonas Bonn wrote:
>>>
>>> Hi Stafford,
>>>
>>> Post-merge window patches should be bug fixes, only. Patch 1/3 probably
>>> qualifies, but the others are far too trivial to be pushing now. Just
>>> put
>>> them on your 4.11 branch.
>>
>> Thanks, for some reason I thought minor changes like this were ok too.
>> I will only push the one change in this case. The rest will go to my
>> 4.11 queue, which I'll send for review in the next few days.
>
> Actually, it's not even bug-fixes, just fixes for regressions. Patch 1 fixes
Well, it is not that strict.
Fixes for real bugs are perfectly fine in early -rcX releases and don't have to
wait for a merge window.
--
Thanks,
//richard
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-01-02 11:16 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-31 11:52 [PATCH 0/3] Openrisc 4.10 fixes Stafford Horne
2016-12-31 11:52 ` [PATCH 1/3] openrisc: Add _text symbol to fix ksym build error Stafford Horne
2016-12-31 14:11 ` Jonas Bonn
2016-12-31 11:52 ` [PATCH 2/3] openrisc: Add .gitignore Stafford Horne
2016-12-31 11:52 ` [PATCH 3/3] MAINTAINERS: Add the openrisc official repository Stafford Horne
2016-12-31 14:10 ` [PATCH 0/3] Openrisc 4.10 fixes Jonas Bonn
2016-12-31 22:50 ` Stafford Horne
2017-01-02 10:34 ` Jonas Bonn
2017-01-02 11:15 ` Richard Weinberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox