* [PATCH v3] MIPS: fixes and cleanups for the compressed kernel support
@ 2009-10-30 1:35 Wu Zhangjin
2009-10-31 16:12 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Wu Zhangjin @ 2009-10-30 1:35 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Maciej W. Rozycki, linux-mips, David Daney, Wu Zhangjin
From: Wu Zhangjin <wuzhangjin@gmail.com>
This patch indents the instructions in the delay slot of the file which
has a ".set noreorder" added.
and also, the "addu a0, 4" instruction is replaced by "addiu a0, a0, 4".
(This is against the commit
c6adcc73663a71f2aa9e66796a9bd57fcb6a349a(MIPS: add support for
gzip/bzip2/lzma compressed kernel images) in the mips-for-linux-next
branch of Ralf's
http://www.linux-mips.org/git?p=upstream-sfr.git;a=summary
This -v3 revision incorporates the feedback from "Maciej W. Rozycki"
<macro@linux-mips.org> and David Daney <ddaney@caviumnetworks.com>
Hi, Ralf, could you please merge it into you mips-for-linux-next
branch?)
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
arch/mips/boot/compressed/head.S | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/arch/mips/boot/compressed/head.S b/arch/mips/boot/compressed/head.S
index e23f25e..4e65a84 100644
--- a/arch/mips/boot/compressed/head.S
+++ b/arch/mips/boot/compressed/head.S
@@ -30,7 +30,7 @@ start:
PTR_LA a2, _end
1: sw zero, 0(a0)
bne a2, a0, 1b
- addu a0, 4
+ addiu a0, a0, 4
PTR_LA a0, (.heap) /* heap address */
PTR_LA sp, (.stack + 8192) /* stack address */
@@ -38,7 +38,7 @@ start:
PTR_LA ra, 2f
PTR_LA k0, decompress_kernel
jr k0
- nop
+ nop
2:
move a0, s0
move a1, s1
@@ -46,9 +46,10 @@ start:
move a3, s3
PTR_LI k0, KERNEL_ENTRY
jr k0
- nop
+ nop
3:
- b 3b
+ b 3b
+ nop
END(start)
.comm .heap,BOOT_HEAP_SIZE,4
--
1.6.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3] MIPS: fixes and cleanups for the compressed kernel support
2009-10-30 1:35 [PATCH v3] MIPS: fixes and cleanups for the compressed kernel support Wu Zhangjin
@ 2009-10-31 16:12 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-10-31 16:12 UTC (permalink / raw)
To: Wu Zhangjin; +Cc: Maciej W. Rozycki, linux-mips, David Daney
On Fri, Oct 30, 2009 at 09:35:24AM +0800, Wu Zhangjin wrote:
>
> This patch indents the instructions in the delay slot of the file which
> has a ".set noreorder" added.
>
> and also, the "addu a0, 4" instruction is replaced by "addiu a0, a0, 4".
>
> (This is against the commit
> c6adcc73663a71f2aa9e66796a9bd57fcb6a349a(MIPS: add support for
No point in mentioning commit ids for linux-queue - they're volatile, the
tree is rebased all the time!
> gzip/bzip2/lzma compressed kernel images) in the mips-for-linux-next
> branch of Ralf's
> http://www.linux-mips.org/git?p=upstream-sfr.git;a=summary
>
> This -v3 revision incorporates the feedback from "Maciej W. Rozycki"
> <macro@linux-mips.org> and David Daney <ddaney@caviumnetworks.com>
>
> Hi, Ralf, could you please merge it into you mips-for-linux-next
> branch?)
linux-queue you mean :) Done!
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-31 16:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-30 1:35 [PATCH v3] MIPS: fixes and cleanups for the compressed kernel support Wu Zhangjin
2009-10-31 16:12 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).