1. 14 5月, 2011 2 次提交
  2. 31 3月, 2011 1 次提交
  3. 05 1月, 2011 1 次提交
    • H
      [S390] irq: have detailed statistics for interrupt types · 052ff461
      Heiko Carstens 提交于
      Up to now /proc/interrupts only has statistics for external and i/o
      interrupts but doesn't split up them any further.
      This patch adds a line for every single interrupt source so that it
      is possible to easier tell what the machine is/was doing.
      Part of the output now looks like this;
      
                 CPU0       CPU2       CPU4
      EXT:       3898       4232       2305
      I/O:        782        315        245
      CLK:       1029       1964        727   [EXT] Clock Comparator
      IPI:       2868       2267       1577   [EXT] Signal Processor
      TMR:          0          0          0   [EXT] CPU Timer
      TAL:          0          0          0   [EXT] Timing Alert
      PFL:          0          0          0   [EXT] Pseudo Page Fault
      [...]
      NMI:          0          1          1   [NMI] Machine Checks
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      052ff461
  4. 25 10月, 2010 1 次提交
  5. 03 6月, 2010 1 次提交
  6. 28 5月, 2010 1 次提交
  7. 16 12月, 2009 1 次提交
  8. 14 11月, 2009 1 次提交
  9. 17 9月, 2009 3 次提交
    • H
      iucv: use correct output register in iucv_query_maxconn() · b29e4da4
      Hendrik Brueckner 提交于
      The iucv_query_maxconn() function uses the wrong output register and
      stores the size of the interrupt buffer instead of the maximum number
      of connections.
      
      According to the QUERY IUCV function, general register 1 contains the
      maximum number of connections.
      
      If the maximum number of connections is not set properly, the following
      warning is displayed:
      
      Badness at /usr/src/kernel-source/2.6.30-39.x.20090806/net/iucv/iucv.c:1808
      Modules linked in: netiucv fsm af_iucv sunrpc qeth_l3 dm_multipath dm_mod vmur qeth ccwgroup
      CPU: 0 Tainted: G        W  2.6.30 #4
      Process seq (pid: 16925, task: 0000000030e24a40, ksp: 000000003033bd98)
      Krnl PSW : 0404200180000000 000000000053b270 (iucv_external_interrupt+0x64/0x224)
                 R:0 T:1 IO:0 EX:0 Key:0 M:1 W:0 P:0 AS:0 CC:2 PM:0 EA:3
      Krnl GPRS: 00000000011279c2 00000000014bdb70 0029000000000000 0000000000000029
                 000000000053b236 000000000001dba4 0000000000000000 0000000000859210
                 0000000000a67f68 00000000008a6100 000000003f83fb90 0000000000004000
                 000000003f8c7bc8 00000000005a2250 000000000053b236 000000003fc2fe08
      Krnl Code: 000000000053b262: e33010000021	clg	%r3,0(%r1)
                 000000000053b268: a7440010		brc	4,53b288
                 000000000053b26c: a7f40001		brc	15,53b26e
                >000000000053b270: c03000184134	larl	%r3,8434d8
                 000000000053b276: eb220030000c	srlg	%r2,%r2,48
                 000000000053b27c: eb6ff0a00004	lmg	%r6,%r15,160(%r15)
                 000000000053b282: c0f4fffff6a7	brcl	15,539fd0
                 000000000053b288: 4310a003		ic	%r1,3(%r10)
      Call Trace:
      ([<000000000053b236>] iucv_external_interrupt+0x2a/0x224)
       [<000000000010e09e>] do_extint+0x132/0x190
       [<00000000001184b6>] ext_no_vtime+0x1e/0x22
       [<0000000000549f7a>] _spin_unlock_irqrestore+0x96/0xa4
      ([<0000000000549f70>] _spin_unlock_irqrestore+0x8c/0xa4)
       [<00000000002101d6>] pipe_write+0x3da/0x5bc
       [<0000000000205d14>] do_sync_write+0xe4/0x13c
       [<0000000000206a7e>] vfs_write+0xae/0x15c
       [<0000000000206c24>] SyS_write+0x54/0xac
       [<0000000000117c8e>] sysc_noemu+0x10/0x16
       [<00000042ff8defcc>] 0x42ff8defcc
      Signed-off-by: NHendrik Brueckner <brueckner@linux.vnet.ibm.com>
      Signed-off-by: NUrsula Braun <ursula.braun@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b29e4da4
    • H
      iucv: fix iucv_buffer_cpumask check when calling IUCV functions · d28ecab0
      Hendrik Brueckner 提交于
      Prior to calling IUCV functions, the DECLARE BUFFER function must have been
      called for at least one CPU to receive IUCV interrupts.
      
      With commit "iucv: establish reboot notifier" (6c005961), a check has been
      introduced to avoid calling IUCV functions if the current CPU does not have
      an interrupt buffer declared.
      Because one interrupt buffer is sufficient, change the condition to ensure
      that one interrupt buffer is available.
      
      In addition, checking the buffer on the current CPU creates a race with
      CPU up/down notifications: before checking the buffer, the IUCV function
      might be interrupted by an smp_call_function() that retrieves the interrupt
      buffer for the current CPU.
      When the IUCV function continues, the check fails and -EIO is returned. If a
      buffer is available on any other CPU, the IUCV function call must be invoked
      (instead of failing with -EIO).
      Signed-off-by: NHendrik Brueckner <brueckner@linux.vnet.ibm.com>
      Signed-off-by: NUrsula Braun <ursula.braun@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d28ecab0
    • U
      iucv: suspend/resume error msg for left over pathes · 4c89d86b
      Ursula Braun 提交于
      During suspend IUCV exploiters have to close their IUCV connections.
      When restoring an image, it can be checked if all IUCV pathes had
      been closed before the Linux instance was suspended. If not, an
      error message is issued to indicate a problem in one of the
      used programs exploiting IUCV communication.
      Signed-off-by: NUrsula Braun <ursula.braun@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4c89d86b
  10. 16 6月, 2009 2 次提交
    • U
      [S390] pm: iucv power management callbacks. · 672e405b
      Ursula Braun 提交于
      Patch calls the PM callback functions of iucv-bus devices, which are
      responsible for removal of their established iucv pathes.
      
      The PM freeze callback for the first iucv-bus device disables all iucv
      interrupts except the connection severed interrupt.
      The PM freeze callback for the last iucv-bus device shuts down iucv.
      
      The PM thaw callback for the first iucv-bus device re-enables iucv
      if it has been shut down during freeze. If freezing has been interrupted,
      it re-enables iucv interrupts according to the needs of iucv-exploiters.
      
      The PM restore callback for the first iucv-bus device re-enables iucv.
      Signed-off-by: NUrsula Braun <ursula.braun@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      672e405b
    • U
      [S390] iucv: establish reboot notifier · 6c005961
      Ursula Braun 提交于
      To guarantee a proper cleanup, patch adds a reboot notifier to
      the iucv base code, which disables iucv interrupts, shuts down
      established iucv pathes, and removes iucv declarations for z/VM.
      
      Checks have to be added to the iucv-API functions, whether
      iucv-buffers removed at reboot time are still declared.
      Signed-off-by: NUrsula Braun <ursula.braun@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      6c005961
  11. 23 4月, 2009 2 次提交
    • H
      af_iucv: Support data in IUCV msg parameter lists (IPRMDATA) · b8942e3b
      Hendrik Brueckner 提交于
      The patch allows to send and receive data in the parameter list of an
      iucv message.
      The parameter list is an arry of 8 bytes that are used by af_iucv as
      follows:
      	0..6  7 bytes for socket data and
      	   7  1 byte to store the data length.
      
      Instead of storing the data length directly, the difference
      between 0xFF and the data length is used.
      This convention does not interfere with the existing use of PRM
      messages for shutting down the send direction of an AF_IUCV socket
      (shutdown() operation).  Data lenghts greater than 7 (or PRM message
      byte 8 is less than 0xF8) denotes to special messages.
      Currently, the special SEND_SHUTDOWN message is supported only.
      
      To use IPRM messages, both communicators must set the IUCV_IPRMDATA
      flag during path negotiation, i.e. in iucv_connect() and
      path_pending().
      
      To be compatible to older af_iucv implementations, sending PRM
      messages is controlled by the socket option SO_IPRMDATA_MSG.
      Receiving PRM messages does not depend on the socket option (but
      requires the IUCV_IPRMDATA path flag to be set).
      
      Sending/Receiving data in the parameter list improves performance for
      small amounts of data by reducing message_completion() interrupts and
      memory copy operations.
      Signed-off-by: NHendrik Brueckner <brueckner@linux.vnet.ibm.com>
      Signed-off-by: NUrsula Braun <ursula.braun@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b8942e3b
    • U
      iucv: provide second per-cpu IUCV command parameter block · 42e1b4c2
      Ursula Braun 提交于
      Some of the IUCV commands can be invoked in interrupt context.
      Those commands need a different per-cpu IUCV command parameter block,
      otherwise they might overwrite an IUCV command parameter of a not yet
      finished IUCV command invocation in process context.
      Signed-off-by: NUrsula Braun <ursula.braun@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      42e1b4c2
  12. 07 1月, 2009 1 次提交
  13. 06 1月, 2009 1 次提交
  14. 25 12月, 2008 2 次提交
  15. 30 9月, 2008 1 次提交
    • H
      iucv: Fix mismerge again. · 8b122efd
      Heiko Carstens 提交于
      fb65a7c0 ("iucv: Fix bad merging.") fixed
      a merge error, but in a wrong way. We now end up with the bug below.
      This patch corrects the mismerge like it was intended.
      
      BUG: scheduling while atomic: swapper/1/0x00000000
      Modules linked in:
      CPU: 1 Not tainted 2.6.27-rc7-00094-gc0f4d6d4 #9
      Process swapper (pid: 1, task: 000000003fe7d988, ksp: 000000003fe838c0)
      0000000000000000 000000003fe839b8 0000000000000002 0000000000000000
             000000003fe83a58 000000003fe839d0 000000003fe839d0 0000000000390de6
             000000000058acd8 00000000000000d0 000000003fe7dcd8 0000000000000000
             000000000000000c 000000000000000d 0000000000000000 000000003fe83a28
             000000000039c5b8 0000000000015e5e 000000003fe839b8 000000003fe83a00
      Call Trace:
      ([<0000000000015d6a>] show_trace+0xe6/0x134)
       [<0000000000039656>] __schedule_bug+0xa2/0xa8
       [<0000000000391744>] schedule+0x49c/0x910
       [<0000000000391f64>] schedule_timeout+0xc4/0x114
       [<00000000003910d4>] wait_for_common+0xe8/0x1b4
       [<00000000000549ae>] call_usermodehelper_exec+0xa6/0xec
       [<00000000001af7b8>] kobject_uevent_env+0x418/0x438
       [<00000000001d08fc>] bus_add_driver+0x1e4/0x298
       [<00000000001d1ee4>] driver_register+0x90/0x18c
       [<0000000000566848>] netiucv_init+0x168/0x2c8
       [<00000000000120be>] do_one_initcall+0x3e/0x17c
       [<000000000054a31a>] kernel_init+0x1ce/0x248
       [<000000000001a97a>] kernel_thread_starter+0x6/0xc
       [<000000000001a974>] kernel_thread_starter+0x0/0xc
       iucv: NETIUCV driver initialized
      initcall netiucv_init+0x0/0x2c8 returned with preemption imbalance
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8b122efd
  16. 21 7月, 2008 1 次提交
  17. 15 7月, 2008 1 次提交
  18. 14 7月, 2008 1 次提交
  19. 26 6月, 2008 2 次提交
  20. 10 6月, 2008 2 次提交
  21. 24 5月, 2008 1 次提交
  22. 10 4月, 2008 2 次提交
  23. 04 3月, 2008 1 次提交
  24. 08 2月, 2008 1 次提交
  25. 29 1月, 2008 1 次提交
  26. 20 11月, 2007 1 次提交
  27. 20 10月, 2007 1 次提交
  28. 27 7月, 2007 1 次提交
  29. 15 7月, 2007 1 次提交
  30. 10 5月, 2007 1 次提交
    • R
      Add suspend-related notifications for CPU hotplug · 8bb78442
      Rafael J. Wysocki 提交于
      Since nonboot CPUs are now disabled after tasks and devices have been
      frozen and the CPU hotplug infrastructure is used for this purpose, we need
      special CPU hotplug notifications that will help the CPU-hotplug-aware
      subsystems distinguish normal CPU hotplug events from CPU hotplug events
      related to a system-wide suspend or resume operation in progress.  This
      patch introduces such notifications and causes them to be used during
      suspend and resume transitions.  It also changes all of the
      CPU-hotplug-aware subsystems to take these notifications into consideration
      (for now they are handled in the same way as the corresponding "normal"
      ones).
      
      [oleg@tv-sign.ru: cleanups]
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Cc: Gautham R Shenoy <ego@in.ibm.com>
      Cc: Pavel Machek <pavel@ucw.cz>
      Signed-off-by: NOleg Nesterov <oleg@tv-sign.ru>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8bb78442
  31. 05 5月, 2007 1 次提交