Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e3d3683d1402c1737687cb698451d545f57c32a7
Commit:     e3d3683d1402c1737687cb698451d545f57c32a7
Parent:     7f021ce1957504cacc78896de857b90293badabc
Author:     Michael Holzheu <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 22 12:52:43 2007 +0200
Committer:  Martin Schwidefsky <[EMAIL PROTECTED]>
CommitDate: Mon Oct 22 12:52:48 2007 +0200

    [S390] kernel: Fix dump on panic for DASDs under LPAR.
    
    Currently the ccw method is used to ipl the DASD dump record under LPAR.
    This mechanism is not reliable, which can cause dump failures. This fix
    now uses the diag 308 ipl method for all machines, which have diag308
    subcode 5 and 4 support.
    
    Signed-off-by: Michael Holzheu <[EMAIL PROTECTED]>
    Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]>
---
 arch/s390/kernel/ipl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c
index 66b5190..ce0856d 100644
--- a/arch/s390/kernel/ipl.c
+++ b/arch/s390/kernel/ipl.c
@@ -648,6 +648,8 @@ static int dump_set_type(enum dump_type type)
        case DUMP_TYPE_CCW:
                if (MACHINE_IS_VM)
                        dump_method = DUMP_METHOD_CCW_VM;
+               else if (diag308_set_works)
+                       dump_method = DUMP_METHOD_CCW_DIAG;
                else
                        dump_method = DUMP_METHOD_CCW_CIO;
                break;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to