1. 04 12月, 2006 2 次提交
    • U
      [S390] non-unique constant/macro identifiers. · 9163bb2e
      Ursula Braun 提交于
      Add some prefixes to constands defined in drivers/s390/net/qdio.h
      and drivers/s390/lcs.h to make it possible to include the three
      header files drivers/s390/net/qeth.h, drivers/s390/net/qdio.h and
      drivers/net/s390/lcs.h in one C file. This is required for the
      patch that generates the kerntypes.o file for use by lcrash.
      Signed-off-by: NUrsula Braun <braunu@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      9163bb2e
    • H
      [S390] Reset infrastructure for re-IPL. · 15e9b586
      Heiko Carstens 提交于
      In case of re-IPL and diag308 doesn't work we have to reset all devices
      manually and wait synchronously that each reset finished.
      This patch adds the necessary infrastucture and the first exploiter of it.
      
      Subsystems that need to add a function that needs to be called at re-IPL
      may register/unregister this function via
      
      struct reset_call {
      	struct reset_call *next;
      	void (*fn)(void);
      };
      
      void register_reset_call(struct reset_call *reset);
      void unregister_reset_call(struct reset_call *reset);
      
      When the registered function get called the context is:
      
      - all cpus beside the current one are stopped
      - all machine checks and interrupts are disabled
      - prefixing is disabled
      - a default machine check handler is available for use
      
      The registered functions may not take any locks are sleep.
      
      For the common I/O layer part of this patch:
      
      Introduce a reset_call css_reset that does the following:
      - clear all subchannels
      - perform a rchp on all channel paths and wait for the resulting
        machine checks
      This replaces the calls to clear_all_subchannels() and
      cio_reset_channel_paths() for kexec and ccw reipl. reipl_ccw_dev() now
      uses reipl_find_schid() to determine the subchannel id for a given
      device id.
      Also remove cio_reset_channel_paths() and friends since they are not
      needed anymore.
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      15e9b586
  2. 27 10月, 2006 2 次提交
  3. 19 10月, 2006 2 次提交
  4. 11 10月, 2006 5 次提交
  5. 06 10月, 2006 2 次提交
  6. 05 10月, 2006 3 次提交
  7. 28 9月, 2006 1 次提交
    • M
      [S390] Inline assembly cleanup. · 94c12cc7
      Martin Schwidefsky 提交于
      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: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      94c12cc7
  8. 20 9月, 2006 11 次提交
  9. 30 8月, 2006 3 次提交
  10. 07 8月, 2006 2 次提交
  11. 27 7月, 2006 2 次提交
  12. 17 7月, 2006 1 次提交
  13. 12 7月, 2006 3 次提交
  14. 04 7月, 2006 1 次提交