27 Apr, 2007

2 commits


06 Feb, 2007

3 commits


02 Oct, 2006

1 commit

  • There are a few places in the kernel where the init task is signaled. The
    ctrl+alt+del sequence is one them. It kills a task, usually init, using a
    cached pid (cad_pid).

    This patch replaces the pid_t by a struct pid to avoid pid wrap around
    problem. The struct pid is initialized at boot time in init() and can be
    modified through systctl with

    /proc/sys/kernel/cad_pid

    [ I haven't found any distro using it ? ]

    It also introduces a small helper routine kill_cad_pid() which is used
    where it seemed ok to use cad_pid instead of pid 1.

    [akpm@osdl.org: cleanups, build fix]
    Signed-off-by: Cedric Le Goater
    Cc: Eric W. Biederman
    Cc: Martin Schwidefsky
    Cc: Paul Mackerras
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cedric Le Goater
     

28 Sep, 2006

1 commit

  • Major cleanup of all s390 inline assemblies. They now have a common
    coding style. Quite a few have been shortened, mainly by using register
    asm variables. Use of the EX_TABLE macro helps as well. The atomic ops,
    bit ops and locking inlines new use the Q-constraint if a newer gcc
    is used. That results in slightly better code.

    Thanks to Christian Borntraeger for proof reading the changes.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     

20 Sep, 2006

1 commit


12 Jul, 2006

1 commit

  • 1. Multipath devices for which SetPGID is not supported are not handled well.
    Use NOP ccws for path verification (sans path grouping) when SetPGID is not
    supported.
    2. Check for PGIDs already set with SensePGID on _all_ paths (not just the
    first one) and try to find a common one. Moan if no common PGID can be
    found (and use NOP verification). If no PGIDs have been set, use the css
    global PGID (as before). (Rationale: SetPGID will get a command reject if
    the PGID it tries to set does not match the already set PGID.)
    3. Immediately before reboot, issue RESET CHANNEL PATH (rcp) on all chpids. This
    will remove the old PGIDs. rcp will generate solicited CRWs which can be
    savely ignored by the machine check handler (all other actions create
    unsolicited CRWs).

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky

    Cornelia Huck
     

04 Jul, 2006

1 commit


01 Jul, 2006

1 commit


29 Jun, 2006

1 commit


02 May, 2006

1 commit

  • As pointed out by Paulo Marques MAX_IPD_TIME is by
    a factor of ten too small. Since this means that we allow ten times more
    IPDs in the intended time frame this could result in a cpu check stop of a
    physical cpu.

    Cc: Martin Schwidefsky
    Signed-off-by: Heiko Carstens
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     

28 Apr, 2006

1 commit

  • In case of an instruction processing damage (IPD) machine check in kernel mode
    the resulting action is always to stop the kernel. This is not necessarily
    the best solution since a retry of the failing instruction might succeed. Add
    logic to retry the instruction if no more than 30 instruction processing
    damage checks occured in the last 5 minutes.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     

07 Jan, 2006

2 commits

  • Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X,
    ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by
    S390, 64BIT and COMPAT.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Schwidefsky
     
  • Add support for multiple subchannel sets. Works with arbitrary devices in
    subchannel set 1 and is transparent to device drivers. Although currently
    only two subchannel sets are available, this will work with the architectured
    maximum number of subchannel sets as well.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Cornelia Huck
     

05 Sep, 2005

1 commit

  • The new machine check handler still has a few bugs.

    1) The system entry time has to be stored in the machine check handler,

    2) the machine check return psw may not be stored at the usual place
    because it might overwrite the return psw of the interrupted context,

    3) the return address for the call to s390_handle_mcck in the i/o interrupt
    handler is not correct,

    4) the system call cleanup has to take the different save area of the
    machine check handler into account,

    5) the machine check handler may not call UPDATE_VTIME before
    CREATE_STACK_FRAME, and

    6) the io leave path needs a critical section cleanup to make sure that the
    TIF_MCCK_PENDING bit is really checked before switching back to user space.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Schwidefsky
     

26 Jun, 2005

1 commit

  • Improved machine check handling. Kernel is now able to receive machine checks
    while in kernel mode (system call, interrupt and program check handling).
    Also register validation is now performed.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds