1. 20 Aug, 2013 25 commits
  2. 05 Aug, 2013 1 commit
  3. 30 Jul, 2013 1 commit
  4. 25 Jul, 2013 6 commits
  5. 24 Jul, 2013 7 commits
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · 07bc9dc1
      Linus Torvalds authored
      Pull powerpc fixes from Ben Herrenschmidt:
       "Here is a series of powerpc fixes.  It's a bit big, mostly because of
        the series of 11 "EEH" patches from Gavin.  The EEH (Our IBM specific
        PCI/PCIe Enhanced Error Handling) code had been rotting for a while
        and this merge window saw a significant rework & fixing of it by Gavin
        Shan.
      
        However, that wasn't complete and left some open issues.  There were
        still a few corner cases that didn't work properly, for example in
        relation to hotplug and devices without explicit error handlers.  We
        had some patches but they weren't quite good enough yet so I left them
        off the 3.11 merge window.
      
        Gavin since then fixed it all up, we ran quite a few rounds of testing
        and it seems fairly solid (at least probably more than it has ever
        been).  This should probably have made -rc1 but both Gavin and I took
        some vacation so it had to wait for -rc2.
      
        The rest is more bug fixes, mostly to new features recently added, for
        example, we missed the cpu table entry for one of the two models of P8
        (we didn't realize they had different PVR [Processor Version Register]
        values), some module CRC issues, etc..."
      
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (23 commits)
        powerpc/perf: BHRB filter configuration should follow the task
        powerpc/perf: Ignore separate BHRB privilege state filter request
        powerpc/powernv: Mark pnv_pci_init_ioda2_phb() as __init
        powerpc/mm: Use the correct SLB(LLP) encoding in tlbie instruction
        powerpc/mm: Fix fallthrough bug in hpte_decode
        powerpc/pseries: Fix a typo in pSeries_lpar_hpte_insert()
        powerpc/eeh: Introdce flag to protect sysfs
        powerpc/eeh: Fix unbalanced enable for IRQ
        powerpc/eeh: Don't use pci_dev during BAR restore
        powerpc/eeh: Use partial hotplug for EEH unaware drivers
        powerpc/pci: Partial tree hotplug support
        powerpc/eeh: Use safe list traversal when walking EEH devices
        powerpc/eeh: Keep PE during hotplug
        powerpc/pci/hotplug: Don't need to remove from EEH cache twice
        powerpc/pci: Override pcibios_release_device()
        powerpc/eeh: Export functions for hotplug
        powerpc/eeh: Remove reference to PCI device
        powerpc: Fix the corrupt r3 error during MCE handling.
        powerpc/perf: Set PPC_FEATURE2_EBB when we register the power8 PMU
        powerpc/pseries: Drop "select HOTPLUG"
        ...
      07bc9dc1
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · b48a97be
      Linus Torvalds authored
      Pull crypto fixes from Herbert Xu:
       "This push fixes a memory corruption issue in caam, as well as
        reverting the new optimised crct10dif implementation as it breaks boot
        on initrd systems.
      
        Hopefully crct10dif will be reinstated once the supporting code is
        added so that it doesn't break boot"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        Revert "crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework"
        crypto: caam - Fixed the memory out of bound overwrite issue
      b48a97be
    • Herbert Xu's avatar
      Revert "crypto: crct10dif - Wrap crc_t10dif function all to use crypto transform framework" · e70308ec
      Herbert Xu authored
      This reverts commits
          67822649
          39761214
          0b95a7f8
          31d93962
          2d31e518
      
      Unfortunately this change broke boot on some systems that used an
      initrd which does not include the newly created crct10dif modules.
      As these modules are required by sd_mod under certain configurations
      this is a serious problem.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      e70308ec
    • Anshuman Khandual's avatar
      powerpc/perf: BHRB filter configuration should follow the task · ff3d79dc
      Anshuman Khandual authored
      When the task moves around the system, the corresponding cpuhw
      per cpu strcuture should be popullated with the BHRB filter
      request value so that PMU could be configured appropriately with
      that during the next call into power_pmu_enable().
      Signed-off-by: default avatarAnshuman Khandual <khandual@linux.vnet.ibm.com>
      Acked-by: default avatarMichael Neuling <mikey@neuling.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      ff3d79dc
    • Anshuman Khandual's avatar
      powerpc/perf: Ignore separate BHRB privilege state filter request · 7689bdca
      Anshuman Khandual authored
      Completely ignore BHRB privilege state filter request as we are
      already configuring that with privilege state filtering attribute
      for the accompanying PMU event. This would help achieve cleaner
      user space interaction for BHRB.
      
      This patch fixes a situation like this
      
      Before patch:-
      ------------
      ./perf record -j any -e branch-misses:k ls
      Error:
      The sys_perf_event_open() syscall returned with 95 (Operation not
      supported) for event (branch-misses:k).
      /bin/dmesg may provide additional information.
      No CONFIG_PERF_EVENTS=y kernel support configured?
      
      Here 'perf record' actually copies over ':k' filter request into BHRB
      privilege state filter config and our previous check in kernel would
      fail that.
      
      After patch:-
      -------------
      ./perf record -j any -e branch-misses:k ls
      perf  perf.data  perf.data.old  test-mmap-ring
      [ perf record: Woken up 1 times to write data ]
      [ perf record: Captured and wrote 0.002 MB perf.data (~102 samples)]
      Signed-off-by: default avatarAnshuman Khandual <khandual@linux.vnet.ibm.com>
      Acked-by: default avatarMichael Neuling <mikey@neuling.org>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      7689bdca
    • Bjorn Helgaas's avatar
      powerpc/powernv: Mark pnv_pci_init_ioda2_phb() as __init · 67975005
      Bjorn Helgaas authored
      Mark pnv_pci_init_ioda2_phb() as __init.  It is called only from an
      init function (pnv_pci_init()), and it calls an init function
      (pnv_pci_init_ioda_phb()):
      
          pnv_pci_init                # init
            pnv_pci_init_ioda2_phb    # non-init
      	pnv_pci_init_ioda_phb   # init
      
      This should fix a section mismatch warning.
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      67975005
    • Aneesh Kumar K.V's avatar
      powerpc/mm: Use the correct SLB(LLP) encoding in tlbie instruction · de640959
      Aneesh Kumar K.V authored
      The sllp value is stored in mmu_psize_defs in such a way that we can easily OR
      the value to get the operand for slbmte instruction. ie, the L and LP bits are
      not contiguous. Decode the bits and use them correctly in tlbie.
      regression is introduced by 1f6aaacc
      "powerpc: Update tlbie/tlbiel as per ISA doc"
      Reported-by: default avatarPaul Mackerras <paulus@samba.org>
      Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      de640959