<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc">
    <title>gmane.linux.ports.sparc</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16440"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16439"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16438"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16437"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16436"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16435"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16434"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16433"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16432"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16431"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16430"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16429"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16428"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16427"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16426"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16425"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16424"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16423"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16422"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sparc/16421"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16440">
    <title>Re: [PATCH 0/15] first batch for killing CONFIG_SPARC_LEON</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16440</link>
    <description>&lt;pre&gt;                            ^booting fails

Sam
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T08:23:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16439">
    <title>Re: some testing sparc.git</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16439</link>
    <description>&lt;pre&gt;
Hi Magnus.

Thanks for testing!
I have no clue what goes wrong atm. I will come back to you if I
get any ideas.

Could you try to build an UP kernel and check if that one is more
reliable?
Not that it will help with the bug you report here -
but it will tell more about the current state of the UP version
of the sparc32 kernel.


Sam
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T08:14:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16438">
    <title>[PATCH 07/15] sparc32: handle leon in cpu.c</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16438</link>
    <description>&lt;pre&gt;A few hardcoded constant were replaced by symbolic
versions to improve readability

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/include/asm/psr.h |    2 ++
 arch/sparc/kernel/cpu.c      |   18 +++++++++---------
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/arch/sparc/include/asm/psr.h b/arch/sparc/include/asm/psr.h
index c02c735..cee7ed9 100644
--- a/arch/sparc/include/asm/psr.h
+++ b/arch/sparc/include/asm/psr.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -35,7 +35,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #define PSR_VERS    0x0f000000         /* cpu-version field          */
 #define PSR_IMPL    0xf0000000         /* cpu-implementation field   */
 
+#define PSR_VERS_SHIFT24
 #define PSR_IMPL_SHIFT28
+#define PSR_VERS_SHIFTED_MASK0xf
 #define PSR_IMPL_SHIFTED_MASK0xf
 
 #define PSR_IMPL_TI0x4
diff --git a/arch/sparc/kernel/cpu.c b/arch/sparc/kernel/cpu.c
index 2d18196..a6c94a2 100644
--- a/arch/sparc/kernel/cpu.c
+++ b/arch/sparc/kernel/cpu.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -121,7 +12&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16437">
    <title>[PATCH 12/15] sparc32: introduce support for run-time patching for all shared assembler code</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16437</link>
    <description>&lt;pre&gt;All users of MMUREGS ASI in kernel/ now uses run-time patching.

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/kernel/entry.S    |    7 +++++--
 arch/sparc/kernel/etrap_32.S |   18 +++++++++++++-----
 arch/sparc/kernel/rtrap_32.S |   18 ++++++++++++------
 arch/sparc/kernel/wof.S      |   18 ++++++++++++------
 arch/sparc/kernel/wuf.S      |   27 +++++++++++++++++----------
 5 files changed, 59 insertions(+), 29 deletions(-)

diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S
index 8550f10..dcaa1cf 100644
--- a/arch/sparc/kernel/entry.S
+++ b/arch/sparc/kernel/entry.S
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -767,8 +767,11 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; srmmu_fault:
 mov0x400, %l5
 mov0x300, %l4
 
-lda[%l5] ASI_M_MMUREGS, %l6! read sfar first
-lda[%l4] ASI_M_MMUREGS, %l5! read sfsr last
+LEON_PI(lda[%l5] ASI_LEON_MMUREGS, %l6)! read sfar first
+SUN_PI_(lda[%l5] ASI_M_MMUREGS, %l6)! read sfar first
+
+LEON_PI(lda[%l4] ASI_LEON_MMUREGS, %l5)! read&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16436">
    <title>[PATCH 10/15] sparc32,leon: always include leon_smp + leon_mm in build</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16436</link>
    <description>&lt;pre&gt;Fix-up leon specific assembler to use ASI_LEON_MMUREGS

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/include/asm/leon.h     |   12 ------------
 arch/sparc/kernel/entry.S         |    3 ---
 arch/sparc/kernel/head_32.S       |    3 ---
 arch/sparc/kernel/leon_smp.c      |    4 ----
 arch/sparc/kernel/trampoline_32.S |    6 +-----
 arch/sparc/mm/Makefile            |    2 +-
 6 files changed, 2 insertions(+), 28 deletions(-)

diff --git a/arch/sparc/include/asm/leon.h b/arch/sparc/include/asm/leon.h
index 95fa931..995c4e0 100644
--- a/arch/sparc/include/asm/leon.h
+++ b/arch/sparc/include/asm/leon.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -254,16 +254,4 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; extern int leon_ipi_irq;
 #define _pfn_valid(pfn) ((pfn &amp;lt; last_valid_pfn) &amp;amp;&amp;amp; (pfn &amp;gt;= PFN(phys_base)))
 #define _SRMMU_PTE_PMASK_LEON 0xffffffff
 
-#ifndef CONFIG_SPARC_LEON
-
-/* nop definitions for !LEON case */
-#define leon_switch_mm() do {} while (0)
-#define init_leon() do {} while (0)
-#de&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16435">
    <title>[PATCH 14/15] sparc32: drop LEON hack for ASI_M_MMUREGS</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16435</link>
    <description>&lt;pre&gt;All users of MMUREGS ASI is now LEON/SUN aware,
so this is no longer required.

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/include/asm/asi.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/sparc/include/asm/asi.h b/arch/sparc/include/asm/asi.h
index cbb93e5..61ebe74 100644
--- a/arch/sparc/include/asm/asi.h
+++ b/arch/sparc/include/asm/asi.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -40,11 +40,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #define ASI_M_UNA01         0x01   /* Same here... */
 #define ASI_M_MXCC          0x02   /* Access to TI VIKING MXCC registers */
 #define ASI_M_FLUSH_PROBE   0x03   /* Reference MMU Flush/Probe; rw, ss */
-#ifndef CONFIG_SPARC_LEON
 #define ASI_M_MMUREGS       0x04   /* MMU Registers; rw, ss */
-#else
-#define ASI_M_MMUREGS       0x19
-#endif /* CONFIG_SPARC_LEON */
 #define ASI_M_TLBDIAG       0x05   /* MMU TLB only Diagnostics */
 #define ASI_M_DIAGS         0x06   /* Reference MMU Diagnostics */
 #define ASI_M_IODI&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16434">
    <title>[PATCH 09/15] sparc32,leon: always include leon_kernel in build</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16434</link>
    <description>&lt;pre&gt;Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/include/asm/leon.h      |    2 --
 arch/sparc/include/asm/leon_amba.h |    4 ----
 arch/sparc/kernel/Makefile         |    2 +-
 3 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/arch/sparc/include/asm/leon.h b/arch/sparc/include/asm/leon.h
index 00530a5..95fa931 100644
--- a/arch/sparc/include/asm/leon.h
+++ b/arch/sparc/include/asm/leon.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -257,9 +257,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; extern int leon_ipi_irq;
 #ifndef CONFIG_SPARC_LEON
 
 /* nop definitions for !LEON case */
-#define leon_init() do {} while (0)
 #define leon_switch_mm() do {} while (0)
-#define leon_init_IRQ() do {} while (0)
 #define init_leon() do {} while (0)
 #define leon_smp_done() do {} while (0)
 #define leon_boot_cpus() do {} while (0)
diff --git a/arch/sparc/include/asm/leon_amba.h b/arch/sparc/include/asm/leon_amba.h
index e50f326..f3034ed 100644
--- a/arch/sparc/include/asm/leon_amba.h
+++ b/arch/spar&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16433">
    <title>[PATCH 02/15] sparc32: implement proper LEON support in head_32 (before highmem)</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16433</link>
    <description>&lt;pre&gt;Use PSR to check if the CPU is LEON and jump to
LEON specific code in this case.

Added a few constants to psr.h to increase readability.

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/include/asm/psr.h |    6 ++++
 arch/sparc/kernel/head_32.S  |   58 ++++++++++++++++++++++++++++++++++--------
 2 files changed, 53 insertions(+), 11 deletions(-)

diff --git a/arch/sparc/include/asm/psr.h b/arch/sparc/include/asm/psr.h
index b8c0e5f..c02c735 100644
--- a/arch/sparc/include/asm/psr.h
+++ b/arch/sparc/include/asm/psr.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -35,6 +35,12 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #define PSR_VERS    0x0f000000         /* cpu-version field          */
 #define PSR_IMPL    0xf0000000         /* cpu-implementation field   */
 
+#define PSR_IMPL_SHIFT28
+#define PSR_IMPL_SHIFTED_MASK0xf
+
+#define PSR_IMPL_TI0x4
+#define PSR_IMPL_LEON0xf
+
 #ifdef __KERNEL__
 
 #ifndef __ASSEMBLY__
diff --git a/arch/sparc/kernel/head_32.S b/arch/sparc/kernel/head_32.S
in&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16432">
    <title>[PATCH 08/15] sparc32,leon: clean up leon.h</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16432</link>
    <description>&lt;pre&gt;- Drop unused stuff accumulated over time
- Drop non-leon stuff
- Include almost all of the header unconditionally

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/include/asm/leon.h     |   67 +-----------------------------------
 arch/sparc/include/asm/pgtsrmmu.h |    1 +
 arch/sparc/kernel/leon_kernel.c   |    1 +
 3 files changed, 4 insertions(+), 65 deletions(-)

diff --git a/arch/sparc/include/asm/leon.h b/arch/sparc/include/asm/leon.h
index 0765912..00530a5 100644
--- a/arch/sparc/include/asm/leon.h
+++ b/arch/sparc/include/asm/leon.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -8,8 +8,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #ifndef LEON_H_INCLUDE
 #define LEON_H_INCLUDE
 
-#ifdef CONFIG_SPARC_LEON
-
 /* mmu register access, ASI_LEON_MMUREGS */
 #define LEON_CNR_CTRL0x000
 #define LEON_CNR_CTXP0x100
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -62,15 +60,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 
 #ifndef __ASSEMBLY__
 
-/* do a virtual address read without cache */
-static inline unsigned long leon_readnobuffer_reg(unsigned long paddr)
-{
-unsigned lo&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16431">
    <title>[PATCH 04/15] sparc32: introduce sparc32_start_kernel called from head_32.S</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16431</link>
    <description>&lt;pre&gt;This gives us a C hook before we call start_kernel()

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
---
 arch/sparc/kernel/head_32.S  |   10 ++--------
 arch/sparc/kernel/kernel.h   |    3 +++
 arch/sparc/kernel/setup_32.c |   10 ++++++++++
 3 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/arch/sparc/kernel/head_32.S b/arch/sparc/kernel/head_32.S
index f22a729..6c6b8c2 100644
--- a/arch/sparc/kernel/head_32.S
+++ b/arch/sparc/kernel/head_32.S
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -661,16 +661,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; continue_boot:
 wr%g3, PSR_ET, %psr
 WRITE_PAUSE
 
-/* First we call prom_init() to set up PROMLIB, then
- * off to start_kernel().
- */
-
+/* Call sparc32_start_kernel(struct linux_romvec *rp) */
 sethi%hi(prom_vector_p), %g5
 ld[%g5 + %lo(prom_vector_p)], %o0
-callprom_init
- nop
-
-callstart_kernel
+callsparc32_start_kernel
  nop
 
 /* We should not get here. */
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h
index a86372d..291bb5d 100644
--- a/arch/sparc/kernel/kernel.h
+++ &lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16430">
    <title>[PATCH 06/15] sparc32: handle leon in irq_32.c</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16430</link>
    <description>&lt;pre&gt;Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/kernel/irq_32.c |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/arch/sparc/kernel/irq_32.c b/arch/sparc/kernel/irq_32.c
index ae04914..c145f6f 100644
--- a/arch/sparc/kernel/irq_32.c
+++ b/arch/sparc/kernel/irq_32.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -241,9 +241,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int sparc_floppy_request_irq(unsigned int irq, irq_handler_t irq_handler)
 unsigned int cpu_irq;
 int err;
 
-#if defined CONFIG_SMP &amp;amp;&amp;amp; !defined CONFIG_SPARC_LEON
-struct tt_entry *trap_table;
-#endif
 
 err = request_irq(irq, irq_handler, 0, "floppy", NULL);
 if (err)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -264,13 +261,18 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int sparc_floppy_request_irq(unsigned int irq, irq_handler_t irq_handler)
 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_four = SPARC_NOP;
 
 INSTANTIATE(sparc_ttable)
-#if defined CONFIG_SMP &amp;amp;&amp;amp; !defined CONFIG_SPARC_LEON
-trap_table = &amp;amp;trapbase_cpu1;
-INSTANTIATE(trap_table)
-trap_table = &amp;amp;trapbase_c&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16429">
    <title>[PATCH 03/15] sparc32: implement proper LEON support in head_32 (after highmem)</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16429</link>
    <description>&lt;pre&gt;We use the compatibility property to determine the
sun models. For leon we use psr.impl and ignore the
result of the getprops call.

Include a hack to allow build as the support code
is not yet converted.

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/kernel/head_32.S |   58 ++++++++++++++++++++++++------------------
 1 files changed, 33 insertions(+), 25 deletions(-)

diff --git a/arch/sparc/kernel/head_32.S b/arch/sparc/kernel/head_32.S
index 5a418d3..f22a729 100644
--- a/arch/sparc/kernel/head_32.S
+++ b/arch/sparc/kernel/head_32.S
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -372,37 +372,27 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; execute_in_high_mem:
 sethi%hi(linux_dbvec), %g1
 st%o1, [%g1 + %lo(linux_dbvec)]
 
-/* Get the machine type via the mysterious romvec node operations. */
-
-add%g7, 0x1c, %l1
-ld[%l1], %l0
-ld[%l0], %l0
-call%l0
- or%g0, %g0, %o0! next_node(0) = first_node
-or%o0, %g0, %g6
-
-sethi%hi(cputypvar), %o1! First node has cpu-arch
-o&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16428">
    <title>[PATCH 13/15] sparc32: introduce run-time patching of srmmu access functions</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16428</link>
    <description>&lt;pre&gt;LEON uses a different ASI than SUN for MMUREGS

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/include/asm/pgtsrmmu.h |   68 +++---------------------------
 arch/sparc/mm/Makefile            |    1 +
 arch/sparc/mm/srmmu_access.S      |   82 +++++++++++++++++++++++++++++++++++++
 3 files changed, 90 insertions(+), 61 deletions(-)
 create mode 100644 arch/sparc/mm/srmmu_access.S

diff --git a/arch/sparc/include/asm/pgtsrmmu.h b/arch/sparc/include/asm/pgtsrmmu.h
index 394fe25..72f7121 100644
--- a/arch/sparc/include/asm/pgtsrmmu.h
+++ b/arch/sparc/include/asm/pgtsrmmu.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -149,67 +149,13 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; extern void *srmmu_nocache_pool;
 #define __nocache_fix(VADDR) __va(__nocache_pa(VADDR))
 
 /* Accessing the MMU control register. */
-static inline unsigned int srmmu_get_mmureg(void)
-{
-        unsigned int retval;
-__asm__ __volatile__("lda [%%g0] %1, %0\n\t" :
-     "=r" (retval) :
-     "i" (ASI_M_MMUREGS));
-retu&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16427">
    <title>[PATCH 11/15] sparc32,leon: fix section mismatch warning</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16427</link>
    <description>&lt;pre&gt;Fix following warning:

WARNING: arch/sparc/kernel/built-in.o(.cpuinit.text+0x9f4): Section mismatch in reference from the function leon_callin() to the function .init.text:leon_configure_cache_smp()
The function __cpuinit leon_callin() references
a function __init leon_configure_cache_smp().
If leon_configure_cache_smp is only used by leon_callin then
annotate leon_configure_cache_smp with a matching annotation.

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/kernel/leon_smp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sparc/kernel/leon_smp.c b/arch/sparc/kernel/leon_smp.c
index 218c2f0..0f3fb6d 100644
--- a/arch/sparc/kernel/leon_smp.c
+++ b/arch/sparc/kernel/leon_smp.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -54,7 +54,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; extern ctxd_t *srmmu_ctx_table_phys;
 static int smp_processors_ready;
 extern volatile unsigned long cpu_callin_map[NR_CPUS];
 extern cpumask_t smp_commenced_mask;
-void __init leon_config&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16426">
    <title>[PATCH 15/15] sparc32: srmmu_probe now knows about leon too</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16426</link>
    <description>&lt;pre&gt;Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/include/asm/leon.h     |    2 +-
 arch/sparc/include/asm/pgtsrmmu.h |   17 -----------------
 arch/sparc/mm/leon_mm.c           |    2 +-
 arch/sparc/mm/srmmu.c             |   25 +++++++++++++++++++++----
 4 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/arch/sparc/include/asm/leon.h b/arch/sparc/include/asm/leon.h
index 995c4e0..ba46083 100644
--- a/arch/sparc/include/asm/leon.h
+++ b/arch/sparc/include/asm/leon.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -197,7 +197,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static inline int sparc_leon3_cpuid(void)
 #ifndef __ASSEMBLY__
 struct vm_area_struct;
 
-extern unsigned long srmmu_swprobe(unsigned long vaddr, unsigned long *paddr);
+extern unsigned long leon_swprobe(unsigned long vaddr, unsigned long *paddr);
 extern void leon_flush_icache_all(void);
 extern void leon_flush_dcache_all(void);
 extern void leon_flush_cache_all(void);
diff --git a/arch/sparc/include/asm/pgtsrmmu.h b/&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16425">
    <title>[PATCH 05/15] sparc32: add support for run-time patching of leon/sun single instructions</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16425</link>
    <description>&lt;pre&gt;This will be used to handle that MMUREGS has different ASI for SUN and LEON.
This is the infrastructure only - users will come later.

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
Cc: Daniel Hellstrom &amp;lt;daniel&amp;lt; at &amp;gt;gaisler.com&amp;gt;
Cc: Konrad Eisele &amp;lt;konrad&amp;lt; at &amp;gt;gaisler.com&amp;gt;
---
 arch/sparc/include/asm/asmmacro.h |   22 ++++++++++++++
 arch/sparc/include/asm/sections.h |    3 ++
 arch/sparc/kernel/setup_32.c      |   58 ++++++++++++++++++++++++++----------
 arch/sparc/kernel/vmlinux.lds.S   |    5 +++
 4 files changed, 72 insertions(+), 16 deletions(-)

diff --git a/arch/sparc/include/asm/asmmacro.h b/arch/sparc/include/asm/asmmacro.h
index 02a172f..a0e28ef 100644
--- a/arch/sparc/include/asm/asmmacro.h
+++ b/arch/sparc/include/asm/asmmacro.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -20,4 +20,26 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 /* All traps low-level code here must end with this macro. */
 #define RESTORE_ALL b ret_trap_entry; clr %l6;
 
+/* Support for run-time patching of single instructions.
+ * This is used to handle the differences in the ASI for
+ * MMUREGS for LEON and SUN.
+ *
+&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16424">
    <title>[PATCH 01/15] sparc32: string and whitespace cleanup in head_32.S</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16424</link>
    <description>&lt;pre&gt;A few strings have been adopted to show more relevant info.

Julian Calaby &amp;lt;julian.calaby&amp;lt; at &amp;gt;gmail.com&amp;gt; pointed out one
that I would otherwise have missed.

Signed-off-by: Sam Ravnborg &amp;lt;sam&amp;lt; at &amp;gt;ravnborg.org&amp;gt;
---
 arch/sparc/kernel/head_32.S |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/arch/sparc/kernel/head_32.S b/arch/sparc/kernel/head_32.S
index a0f5c20..693fb08 100644
--- a/arch/sparc/kernel/head_32.S
+++ b/arch/sparc/kernel/head_32.S
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -46,8 +46,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; cputypvar:
 
 .align 4
 
-sun4c_notsup:
-.asciz"Sparc-Linux sun4/sun4c support does no longer exist.\n\n"
+notsup:
+.asciz"Sparc-Linux sun4/sun4c or MMU-less not supported\n\n"
 .align 4
 
 sun4e_notsup:
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -123,7 +123,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; current_pc:
 tst%o0
 beno_sun4u_here
  mov%g4, %o7/* Previous %o7. */
-
+
 mov%o0, %l0! stash away romvec
 mov%o0, %g7! put it here too
 mov%o1, %l1! stash away debug_vec too
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -132,7 +132,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; current_pc:
 setcurrent_pc, %g5
 cmp%g3, %g5
 beal&lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:20:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16423">
    <title>[PATCH 0/15] first batch for killing CONFIG_SPARC_LEON</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16423</link>
    <description>&lt;pre&gt;With this patch-set applied most of the low-level code in the kernel
supports both LEON and SUN.

The only references left are in:
arch/sparc/Kconfig
arch/sparc/kernel/Makefile
arch/sparc/kernel/ioport.c
arch/sparc/kernel/process_32.c
drivers/pci/Makefile
drivers/usb/Kconfig
drivers/usb/host/Kconfig
drivers/usb/host/ehci-hcd.c
drivers/usb/host/uhci-hcd.c

I need to analyse things a bit before attacking the last users,
and wanted to get this batch out for review (and eventually applied).
I expect some variant (like SPARC_LEON_PCI) to continue to
be present - but lets see.

Changes since the [RFC] version:
- used more optimal assembler as suggested by davem
- fix up error message as pointed out by davem
- fix up error message as pointed out by Julian Calaby
- use LEON as default and patch for SUN (which uncovered a bug - good!)
- added several patches...

This version boots on my ss5.
If I build a LEON variant the build fails when it starts to
probe my SCSI drive (I think it was here). This was expected
since &lt;/pre&gt;</description>
    <dc:creator>Sam Ravnborg</dc:creator>
    <dc:date>2012-05-26T07:17:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16422">
    <title>some testing sparc.git</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16422</link>
    <description>&lt;pre&gt;Hi,

I've pulled todays git from
git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git master

I'v build an smp kernel with some spin-lock and driver-dma debugging
stuff enabled. I've booted the kernel on my sparcstation-10 with dual
supersparc-II (sm71) cpu
The kernel boots and I can ssh into the system and it seems to run
fine with "normal" use. I do see frequent debug messages about "BUG:
scheduling while atomic: swapper/2/0/0x00000000".
Under more heavy load, like building a kernel with "make -j4" the
system will lock up after about 10 minutes, no error messages.

root:~# uname -a
Linux ss10 3.4.0-07645-g456d3d4-dirty #5 SMP Fri May 25 18:51:24 CEST
2012 sparc sun4m Texas Instruments, Inc. - SuperSparc-(II) GNU/Linux


regards

Magnus Lindholm
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Magnus Lindholm</dc:creator>
    <dc:date>2012-05-25T17:35:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16421">
    <title>[PATCH] sparc64: Fix several bugs in quad floating point emulation.</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16421</link>
    <description>&lt;pre&gt;
UltraSPARC-T2 and later do not use the fp_exception_other trap and do
not set the floating point trap type field in the %fsr at all when you
try to execute an unimplemented FPU operation.

Instead, it uses the illegal_instruction trap and it leaves the
floating point trap type field clear.

So we should not validate the %fsr trap type field when do_mathemu()
is invoked from the illegal instruction handler.

Also, the floating point trap type field is 3 bits, not 4 bits.

Signed-off-by: David S. Miller &amp;lt;davem&amp;lt; at &amp;gt;davemloft.net&amp;gt;
---
 arch/sparc/kernel/traps_64.c  |   12 +++++++-----
 arch/sparc/math-emu/math_64.c |   20 ++++++++++++++------
 2 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/arch/sparc/kernel/traps_64.c b/arch/sparc/kernel/traps_64.c
index c72fdf5..3b05e66 100644
--- a/arch/sparc/kernel/traps_64.c
+++ b/arch/sparc/kernel/traps_64.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -2054,7 +2054,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; void do_fpieee(struct pt_regs *regs)
 do_fpe_common(regs);
 }
 
-extern int do_mathemu(struct pt_regs *, struct fpustate *);
+exte&lt;/pre&gt;</description>
    <dc:creator>David Miller</dc:creator>
    <dc:date>2012-05-25T07:37:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sparc/16420">
    <title>[GIT] Sparc</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sparc/16420</link>
    <description>&lt;pre&gt;
This has the generic strncpy_from_user() implementation architectures
can now use, which we've been developing on linux-arch over the past
few days.

For good measure I ran both a 32-bit and a 64-bit glibc testsuite
run, and the latter of which pointed out an adjustment I needed to
make to sparc's user_addr_max() definition.  Linus, you were right,
STACK_TOP was not the right thing to use, even on sparc itself :-)

From Sam Ravnborg, we have a conversion of sparc32 over to the common
alloc_thread_info_node(), since the aspect which originally blocked
our doing so (sun4c) has been removed.

Please pull, thanks a lot.

The following changes since commit 72c04af9a2d57b7945cf3de8e71461bd80695d50:

  fbdev: sh_mobile_lcdc: Don't confuse line size with pitch (2012-05-21 20:59:32 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git master

for you to fetch changes up to c5389831cda3b38a56606a348a537a1332f2d729:

  sparc: Fix user_addr_max() definition. (2&lt;/pre&gt;</description>
    <dc:creator>David Miller</dc:creator>
    <dc:date>2012-05-24T21:32:39</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.linux.ports.sparc">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.linux.ports.sparc</link>
  </textinput>
</rdf:RDF>

