* [PATCH 1/3] powerpc: ipic: Fix mcp status helper functions
@ 2015-01-06 11:26 esben.haabendal
2015-01-06 11:26 ` [PATCH 2/3] powerpc: Add machine_check cpu function for e300c3 cpus esben.haabendal
2015-01-06 11:27 ` [PATCH 3/3] powerpc: Add .gitignore entry for built DTB files esben.haabendal
0 siblings, 2 replies; 3+ messages in thread
From: esben.haabendal @ 2015-01-06 11:26 UTC (permalink / raw)
To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman
Cc: Esben Haabendal, linuxppc-dev, linux-kernel
From: Esben Haabendal <eha@deif.com>
Read and write the SERSR (System Error Status Register) instead of the
SERMR (System Error Mask Register), to actually get and clear the status
bits.
Signed-off-by: Esben Haabendal <eha@deif.com>
---
arch/powerpc/sysdev/ipic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/sysdev/ipic.c b/arch/powerpc/sysdev/ipic.c
index b287337..2e41a73 100644
--- a/arch/powerpc/sysdev/ipic.c
+++ b/arch/powerpc/sysdev/ipic.c
@@ -843,12 +843,12 @@ void ipic_disable_mcp(enum ipic_mcp_irq mcp_irq)
u32 ipic_get_mcp_status(void)
{
- return ipic_read(primary_ipic->regs, IPIC_SERMR);
+ return ipic_read(primary_ipic->regs, IPIC_SERSR);
}
void ipic_clear_mcp_status(u32 mask)
{
- ipic_write(primary_ipic->regs, IPIC_SERMR, mask);
+ ipic_write(primary_ipic->regs, IPIC_SERSR, mask);
}
/* Return an interrupt vector or NO_IRQ if no interrupt is pending. */
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/3] powerpc: Add machine_check cpu function for e300c3 cpus
2015-01-06 11:26 [PATCH 1/3] powerpc: ipic: Fix mcp status helper functions esben.haabendal
@ 2015-01-06 11:26 ` esben.haabendal
2015-01-06 11:27 ` [PATCH 3/3] powerpc: Add .gitignore entry for built DTB files esben.haabendal
1 sibling, 0 replies; 3+ messages in thread
From: esben.haabendal @ 2015-01-06 11:26 UTC (permalink / raw)
To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman
Cc: Esben Haabendal, linuxppc-dev, linux-kernel
From: Esben Haabendal <eha@deif.com>
Signed-off-by: Esben Haabendal <eha@deif.com>
---
arch/powerpc/kernel/cputable.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 8084059..f337666 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -1133,6 +1133,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
.icache_bsize = 32,
.dcache_bsize = 32,
.cpu_setup = __setup_cpu_603,
+ .machine_check = machine_check_generic,
.num_pmcs = 4,
.oprofile_cpu_type = "ppc/e300",
.oprofile_type = PPC_OPROFILE_FSL_EMB,
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 3/3] powerpc: Add .gitignore entry for built DTB files
2015-01-06 11:26 [PATCH 1/3] powerpc: ipic: Fix mcp status helper functions esben.haabendal
2015-01-06 11:26 ` [PATCH 2/3] powerpc: Add machine_check cpu function for e300c3 cpus esben.haabendal
@ 2015-01-06 11:27 ` esben.haabendal
1 sibling, 0 replies; 3+ messages in thread
From: esben.haabendal @ 2015-01-06 11:27 UTC (permalink / raw)
To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman
Cc: Esben Haabendal, linuxppc-dev, linux-kernel
From: Esben Haabendal <eha@deif.com>
Signed-off-by: Esben Haabendal <eha@deif.com>
---
arch/powerpc/boot/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/boot/.gitignore b/arch/powerpc/boot/.gitignore
index d61c035..38e6492 100644
--- a/arch/powerpc/boot/.gitignore
+++ b/arch/powerpc/boot/.gitignore
@@ -29,6 +29,7 @@ zImage.*lds
zImage.miboot
zImage.pmac
zImage.pseries
+*.dtb
zconf.h
zlib.h
zutil.h
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-06 11:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-06 11:26 [PATCH 1/3] powerpc: ipic: Fix mcp status helper functions esben.haabendal
2015-01-06 11:26 ` [PATCH 2/3] powerpc: Add machine_check cpu function for e300c3 cpus esben.haabendal
2015-01-06 11:27 ` [PATCH 3/3] powerpc: Add .gitignore entry for built DTB files esben.haabendal
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).