IFC_FIR_OP_CMD0 issues command for execution without checking flash
readiness. It may cause problem if flash is not ready. Instead use
IFC_FIR_OP_CW0 which Wait for tWB time and poll R/B to return high or
time-out, before issuing command.
NAND_CMD_READID command implemention does not fulfill above
The locking in update_vsyscall_tz() is not only unnecessary because the vdso
code copies the data unproteced in __kernel_gettimeofday() but also
introduces a hard to reproduce race condition between update_vsyscall()
and update_vsyscall_tz(), which causes user space process to loop
forever in vdso
This set of patches adds support for taking exceptions with the MMU on which is
supported by POWER8.
A new set of exception vectors is added at 0xc000___4xxx. When the HW
takes us here, MSR IR/DR will be set already and we no longer need a costly
RFID to turn the MMU back on again.
The o
Signed-off-by: Michael Neuling
---
arch/powerpc/kernel/exceptions-64s.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/exceptions-64s.S
b/arch/powerpc/kernel/exceptions-64s.S
index 10b658a..5663018 100644
--- a/arch/powerpc/kernel/exceptions-64s.S
+++
Remove redundancy spaces and make tab usage consistent.
Signed-off-by: Michael Neuling
---
arch/powerpc/kernel/exceptions-64s.S | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/arch/powerpc/kernel/exceptions-64s.S
b/arch/powerpc/kernel/excep
This removes the large gap between 0x1800 and 0x3000.
Signed-off-by: Michael Neuling
---
arch/powerpc/kernel/exceptions-64s.S |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/exceptions-64s.S
b/arch/powerpc/kernel/exceptions-64s.S
index 29cf7b1..de02
If we change load_hander() to use an ori instead of addi, we can load handlers
upto 64k away provided we are still 64k aligned.
---
arch/powerpc/include/asm/exception-64s.h |3 ++-
arch/powerpc/kernel/exceptions-64s.S |4 ++--
arch/powerpc/kernel/setup_64.c |5 +
3 fi
This turns the syscall handler into macros as we are going to want to reuse
them again later.
Signed-off-by: Matt Evans
Signed-off-by: Michael Neuling
---
arch/powerpc/kernel/exceptions-64s.S | 63 +-
1 file changed, 40 insertions(+), 23 deletions(-)
diff --gi
POWER8/v2.07 allows exceptions to be taken with the MMU still on.
A new set of exception vectors is added at 0xc000___4xxx. When the HW
takes us here, MSR IR/DR will be set already and we no longer need a costly
RFID to turn the MMU back on again.
The original 0x0 based exception vectors
POWER8/v2.07 allows exceptions to be taken with the MMU still on.
A new set of exception vectors is added at 0xc000___4xxx. When the HW
takes us here, MSR IR/DR will be set already and we no longer need a costly
RFID to turn the MMU back on again.
The original 0x0 based exception vectors
We want to change what's initially set in the LPCR, so start by taking the move
from LPCR out of the function and into the caller.
Signed-off-by: Matt Evans
Signed-off-by: Michael Neuling
---
arch/powerpc/kernel/cpu_setup_power.S |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
di
This turns on MMU on execptions via AIL field in the LPCR.
Signed-off-by: Matt Evans
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/reg.h|2 ++
arch/powerpc/kernel/cpu_setup_power.S |2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/powerpc/include/asm/reg.h
From: Ian Munsie
This new hcall in POWER8 is used to set various resource mode registers.
eg. it can set address translation mode on interrupt (note: partition wide
scope)
Signed-off-by: Ian Munsie
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/firmware.h |4 +++-
From: Ian Munsie
I am going to use this in the next patch, better to have this code in
one place rather than three.
Signed-off-by: Ian Munsie
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/hvcall.h | 20
drivers/infiniband/hw/ehca/hcp_if.c |
From: Ian Munsie
These wrappers hide the parameters that have to be passed to H_SET_MODE
to enable/disable relocation on during exceptions.
As noted in the comments, since these have partition wide scope, they
may take some time to complete and must be periodically retried until
H_SUCCESS is ret
From: Ian Munsie
I am going to use this in the next patch, better to have this code in
one place rather than three.
Signed-off-by: Ian Munsie
Signed-off-by: Michael Neuling
---
arch/powerpc/include/asm/hvcall.h | 20
drivers/infiniband/hw/ehca/hcp_if.c |
From: Ian Munsie
We currently do this synchronously at boot from setup_arch. On a large
system this could hypothetically take a little while to complete, so
currently we will give up if we are asked to wait for more than a second
in total.
If we actually start hitting that timeout in practice we
From: Ian Munsie
Since we don't know if they new kernel we are kexecing into has been
built to support relocation on exceptions, we disable them before we
kexec.
We do NOT disable them if we are execing a kdump kernel, because we
want to change as little state as possible and it is likely that w
Update ibm,architecture.vec for POWER8 and allows us to support more
than one parition per core.
Signed-off-by: Michael Neuling
---
v2: Missed some bits in the original post..
arch/powerpc/kernel/prom_init.c |9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/arch/po
A PVR of 0x0F04 means we are arch v2.07 complicate ie, POWER8.
Signed-off-by: Michael Neuling
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c
index 216ff84..75a3d71 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -435,6 +43
20 matches
Mail list logo