<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/sh/boot/compressed, branch linux-2.6.34.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-03-01T02:57:31Z</updated>
<entry>
<title>arch/sh/boot/compressed/cache.c: Checkpatch cleanup</title>
<updated>2010-03-01T02:57:31Z</updated>
<author>
<name>Andrea Gelmini</name>
</author>
<published>2010-02-27T16:51:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55c1b0d27b2d381a1986520b5953d3a454d344b5'/>
<id>urn:sha1:55c1b0d27b2d381a1986520b5953d3a454d344b5</id>
<content type='text'>
arch/sh/boot/compressed/cache.c:8: WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Andrea Gelmini &lt;andrea.gelmini@gelma.net&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Merge legacy and dynamic PMB modes.</title>
<updated>2010-02-18T09:13:51Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2010-02-18T09:13:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d01447b3197c2c470a14666be2c640407bbbfec7'/>
<id>urn:sha1:d01447b3197c2c470a14666be2c640407bbbfec7</id>
<content type='text'>
This implements a bit of rework for the PMB code, which permits us to
kill off the legacy PMB mode completely. Rather than trusting the boot
loader to do the right thing, we do a quick verification of the PMB
contents to determine whether to have the kernel setup the initial
mappings or whether it needs to mangle them later on instead.

If we're booting from legacy mappings, the kernel will now take control
of them and make them match the kernel's initial mapping configuration.
This is accomplished by breaking the initialization phase out in to
multiple steps: synchronization, merging, and resizing. With the recent
rework, the synchronization code establishes page links for compound
mappings already, so we build on top of this for promoting mappings and
reclaiming unused slots.

At the same time, the changes introduced for the uncached helpers also
permit us to dynamically resize the uncached mapping without any
particular headaches. The smallest page size is more than sufficient for
mapping all of kernel text, and as we're careful not to jump to any far
off locations in the setup code the mapping can safely be resized
regardless of whether we are executing from it or not.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Fix zImage boot using fixed PMB.</title>
<updated>2010-02-16T04:50:26Z</updated>
<author>
<name>Nobuhiro Iwamatsu</name>
</author>
<published>2010-02-15T08:37:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=319c2cc761505ee54a9536c5d0b9c2ee3fb33866'/>
<id>urn:sha1:319c2cc761505ee54a9536c5d0b9c2ee3fb33866</id>
<content type='text'>
Signed-off-by: Nobuhiro Iwamatsu &lt;iwamatsu.nobuhiro@renesas.com&gt;
Signed-off-by: Yoshihiro Shimoda &lt;shimoda.yoshihiro@renesas.com&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Kill off superfluous sh_bios references from compressed loader.</title>
<updated>2010-01-28T09:26:37Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2010-01-28T09:26:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=abec86a80247ab3a40d2afc9c8e8c26efcab2391'/>
<id>urn:sha1:abec86a80247ab3a40d2afc9c8e8c26efcab2391</id>
<content type='text'>
The VBR value needs to be initialized in order for any of the bios
trapping to work, and as we don't do that until slightly later in the
boot process, this has no real chance of working.

The only reason for using this in the past was due to the fact that early
serial initialization wasn't possible, but now that early sh-sci is
supported by everyone, there's no longer any reason to support the
sh_bios hacks in the first place. Given that, we just kill off the
references completely.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Add support for LZO-compressed kernels.</title>
<updated>2010-01-13T04:29:19Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2010-01-13T04:29:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7b16efb7d0c7fce218b2cdafa2432c5fbf57314'/>
<id>urn:sha1:c7b16efb7d0c7fce218b2cdafa2432c5fbf57314</id>
<content type='text'>
Plugs in LZO along with the others.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Obliterate the P1 area macros</title>
<updated>2009-10-10T12:51:02Z</updated>
<author>
<name>Matt Fleming</name>
</author>
<published>2009-10-06T21:22:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8bd642b17bea31f8361b61c16c8d154638414df4'/>
<id>urn:sha1:8bd642b17bea31f8361b61c16c8d154638414df4</id>
<content type='text'>
Replace the use of PHYSADDR() with __pa(). PHYSADDR() is based on the
idea that all addresses in P1SEG are untranslated, so we can access an
address's physical page as an offset from P1SEG. This doesn't work for
CONFIG_PMB/CONFIG_PMB_FIXED because pages in P1SEG and P2SEG are used
for PMB mappings and so can be translated to any physical address.

Likewise, replace a P1SEGADDR() use with virt_to_phys().

Signed-off-by: Matt Fleming &lt;matt@console-pimps.org&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>kbuild: use INSTALLKERNEL to select customized installkernel script</title>
<updated>2009-09-20T10:18:14Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2009-07-20T19:37:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=caa27b66bd7188fd063769eaf4b33533ef0709e6'/>
<id>urn:sha1:caa27b66bd7188fd063769eaf4b33533ef0709e6</id>
<content type='text'>
Replace the use of CROSS_COMPILE to select a customized
installkernel script with the possibility to set INSTALLKERNEL
to select a custom installkernel script when running make:

    make INSTALLKERNEL=arm-installkernel install

With this patch we are now more consistent across
different architectures - they did not all support use
of CROSS_COMPILE.

The use of CROSS_COMPILE was a hack as this really belongs
to gcc/binutils and the installkernel script does not change
just because we change toolchain.

The use of CROSS_COMPILE caused troubles with an upcoming patch
that saves CROSS_COMPILE when a kernel is built - it would no
longer be installable.
[Thanks to Peter Z. for this hint]

This patch undos what Ian did in commit:

  0f8e2d62fa04441cd12c08ce521e84e5bd3f8a46
  ("use ${CROSS_COMPILE}installkernel in arch/*/boot/install.sh")

The patch has been lightly tested on x86 only - but all changes
looks obvious.

Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt; [blackfin]
Acked-by: Russell King &lt;linux@arm.linux.org.uk&gt; [arm]
Acked-by: Paul Mundt &lt;lethal@linux-sh.org&gt; [sh]
Acked-by: "H. Peter Anvin" &lt;hpa@zytor.com&gt; [x86]
Cc: Ian Campbell &lt;icampbell@arcom.com&gt;
Cc: Tony Luck &lt;tony.luck@intel.com&gt; [ia64]
Cc: Fenghua Yu &lt;fenghua.yu@intel.com&gt; [ia64]
Cc: Hirokazu Takata &lt;takata@linux-m32r.org&gt; [m32r]
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt; [m68k]
Cc: Kyle McMartin &lt;kyle@mcmartin.ca&gt; [parisc]
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt; [powerpc]
Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt; [s390]
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt; [x86]
Cc: Ingo Molnar &lt;mingo@redhat.com&gt; [x86]
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>sh: Remove implicit sign extension from assembler immediates</title>
<updated>2009-08-24T08:09:53Z</updated>
<author>
<name>Stuart Menefy</name>
</author>
<published>2009-08-24T08:09:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fea966f7564205fcf5919af9bde031e753419c96'/>
<id>urn:sha1:fea966f7564205fcf5919af9bde031e753419c96</id>
<content type='text'>
The SH instruction set has several instructions which accept an 8 bit
immediate operand. For logical instructions this operand is zero extended,
for arithmetic instructions the operand is sign extended. After adding an
option to the assembler to check this, it was found that several pieces
of assembly code were assuming this behaviour, and in one case
getting it wrong.

So this patch explicitly sign extends any immediate operands, which makes
it obvious what is happening, and fixes the one case which got it wrong.

Signed-off-by: Stuart Menefy &lt;stuart.menefy@st.com&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>Merge branches 'sh/compressors' and 'sh/stable-updates'</title>
<updated>2009-07-21T08:37:18Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2009-07-21T08:37:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fc6cca3917e6594eb93c0b5e2226342eab175041'/>
<id>urn:sha1:fc6cca3917e6594eb93c0b5e2226342eab175041</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sh: bzip2/lzma uImage support.</title>
<updated>2009-07-21T08:24:36Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2009-07-21T08:24:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef9b542fce00dafc6bb1d9097b045a777f4a2382'/>
<id>urn:sha1:ef9b542fce00dafc6bb1d9097b045a777f4a2382</id>
<content type='text'>
This builds on the bzip2/lzma zImage support change and wires it up for
uImages. Based on the blackfin implementation.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
</feed>
