1. 08 Dec, 2014 14 commits
  2. 01 Dec, 2014 1 commit
  3. 28 Nov, 2014 8 commits
  4. 21 Nov, 2014 2 commits
  5. 19 Nov, 2014 2 commits
  6. 18 Nov, 2014 4 commits
  7. 03 Nov, 2014 6 commits
    • Hendrik Brueckner's avatar
      s390/cpum_sf: Remove initialization of PMU event index · eaf785d5
      Hendrik Brueckner authored
      The git commit c719f560
      "perf: Fix and clean up initialization of pmu::event_idx" removed
      the PMU event index callback for all architectures but x86,
      remove the initialization of the event index as well.
      Signed-off-by: default avatarHendrik Brueckner <brueckner@linux.vnet.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      eaf785d5
    • Martin Schwidefsky's avatar
      s390/signal: add sparse annotations · 37d2cd9d
      Martin Schwidefsky authored
      Fix the following warnings from the sparse code checker:
      
      arch/s390/kernel/signal.c:374:38: warning: cast removes address space of expression
      arch/s390/kernel/signal.c:374:65: warning: incorrect type in initializer (different address spaces)
      arch/s390/kernel/signal.c:374:65:    expected unsigned short [noderef] [usertype] <asn:1>*svc
      arch/s390/kernel/signal.c:374:65:    got void *
      
      arch/s390/kernel/compat_signal.c:437:38: warning: cast removes address space of expression
      arch/s390/kernel/compat_signal.c:437:65: warning: incorrect type in initializer (different address spaces)
      arch/s390/kernel/compat_signal.c:437:65:    expected unsigned short [noderef] [usertype] <asn:1>*svc
      arch/s390/kernel/compat_signal.c:437:65:    got void *
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      37d2cd9d
    • Martin Schwidefsky's avatar
      s390/mm: use correct unlock function in gmap_ipte_notify · a697e051
      Martin Schwidefsky authored
      The page table lock is acquired with a call to get_locked_pte,
      replace the plain spin_unlock with the correct unlock function
      pte_unmap_unlock.
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      a697e051
    • Martin Schwidefsky's avatar
      s390/pci: add sparse annotations · 5b9f2081
      Martin Schwidefsky authored
      Fix the following warnings from the sparse code checker:
      
      arch/s390/include/asm/pci_io.h:165:49: warning: cast removes address space of expression
      arch/s390/pci/pci.c:476:44: warning: cast removes address space of expression
      arch/s390/pci/pci.c:491:36: warning: incorrect type in argument 2 (different address spaces)
      arch/s390/pci/pci.c:491:36:    expected void [noderef] <asn:2>*addr
      arch/s390/pci/pci.c:491:36:    got void *<noident>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      5b9f2081
    • Sebastian Ott's avatar
      s390/pci: improve irq number check for msix · b19148f6
      Sebastian Ott authored
      s390s arch_setup_msi_irqs function ensures that we don't return with
      more irqs than the PCI architecture allows and that a single PCI
      function doesn't consume more irqs than the kernel is configured for.
      
      At least the last check doesn't help much and should take the sum of
      all irqs into account. Since that's already done by irq_alloc_desc
      we can remove this check.
      
      As for the first check we should use the value provided by the
      firmware which can be less than what the PCI architecture allows.
      Signed-off-by: default avatarSebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      b19148f6
    • Martin Schwidefsky's avatar
      s390/cmpxchg: use compiler builtins · f318a122
      Martin Schwidefsky authored
      The kernel build for s390 fails for gcc compilers with version 3.x,
      set the minimum required version of gcc to version 4.3.
      
      As the atomic builtins are available with all gcc 4.x compilers,
      use the __sync_val_compare_and_swap and __sync_bool_compare_and_swap
      functions to replace the complex macro and inline assembler magic
      in include/asm/cmpxchg.h. The compiler can just-do-it and generates
      better code with the builtins.
      
      While we are at it use __sync_bool_compare_and_swap for the
      _raw_compare_and_swap function in the spinlock code as well.
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      f318a122
  8. 27 Oct, 2014 3 commits