1. 01 11月, 2013 1 次提交
  2. 04 10月, 2013 1 次提交
    • N
      iommu: Remove stack trace from broken irq remapping warning · 05104a4e
      Neil Horman 提交于
      The warning for the irq remapping broken check in intel_irq_remapping.c is
      pretty pointless.  We need the warning, but we know where its comming from, the
      stack trace will always be the same, and it needlessly triggers things like
      Abrt.  This changes the warning to just print a text warning about BIOS being
      broken, without the stack trace, then sets the appropriate taint bit.  Since we
      automatically disable irq remapping, theres no need to contiue making Abrt jump
      at this problem
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      CC: Joerg Roedel <joro@8bytes.org>
      CC: Bjorn Helgaas <bhelgaas@google.com>
      CC: Andy Lutomirski <luto@amacapital.net>
      CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      CC: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
      Signed-off-by: NJoerg Roedel <joro@8bytes.org>
      05104a4e
  3. 12 9月, 2013 1 次提交
  4. 16 8月, 2013 1 次提交
    • J
      tegra: simplify use of devm_ioremap_resource · 946a88df
      Julia Lawall 提交于
      Remove unneeded error handling on the result of a call to
      platform_get_resource when the value is passed to devm_ioremap_resource.
      
      A simplified version of the semantic patch that makes this change is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      expression pdev,res,n,e,e1;
      expression ret != 0;
      identifier l;
      @@
      
      - res = platform_get_resource(pdev, IORESOURCE_MEM, n);
        ... when != res
      - if (res == NULL) { ... \(goto l;\|return ret;\) }
        ... when != res
      + res = platform_get_resource(pdev, IORESOURCE_MEM, n);
        e = devm_ioremap_resource(e1, res);
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      946a88df
  5. 15 8月, 2013 2 次提交
  6. 14 8月, 2013 9 次提交
  7. 07 8月, 2013 1 次提交
  8. 10 7月, 2013 1 次提交
  9. 26 6月, 2013 1 次提交
  10. 25 6月, 2013 2 次提交
  11. 24 6月, 2013 1 次提交
  12. 23 6月, 2013 2 次提交
  13. 21 6月, 2013 1 次提交
  14. 20 6月, 2013 8 次提交
  15. 19 6月, 2013 1 次提交
  16. 04 6月, 2013 2 次提交
    • A
      x86/MSI: Conserve interrupt resources when using multiple-MSIs · 13da7a34
      Alexander Gordeev 提交于
      Current multiple-MSI implementation does not take into account actual
      number of requested MSIs and always rounds that number to a larger
      power-of-two value.  Yet, the number of MSIs a PCI device could send (and
      therefore the number of messages a device driver could request) may be
      smaller.  As result, resources allocated for extra MSIs are just wasted.
      
      This update takes advantage of 'msi_desc::nvec_used' field introduced with
      generic MSI code to track the number of requested and used MSIs.  As
      result, resources associated with interrupts are conserved.  Of those
      resources most noticeable are x86 interrupt vectors.
      
      The initial version of this fix also conserved IRTEs, but Jan noticed that
      a malfunctioning PCI device might send a message number it did not claim
      and thus refer to an IRTE it does not own.  To avoid this security hole,
      as many IRTEs are reserved as the device could possibly send.
      
      [bhelgaas: changelog, rename to "nvec_used"]
      Signed-off-by: NAlexander Gordeev <agordeev@redhat.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: NJoerg Roedel <joro@8bytes.org>
      13da7a34
    • A
      x86/MSI: Conserve interrupt resources when using multiple-MSIs · 5fec9451
      Alexander Gordeev 提交于
      Current multiple-MSI implementation does not take into account actual
      number of requested MSIs and always rounds that number to a larger
      power-of-two value.  Yet, the number of MSIs a PCI device could send (and
      therefore the number of messages a device driver could request) may be
      smaller.  As result, resources allocated for extra MSIs are just wasted.
      
      This update takes advantage of 'msi_desc::nvec_used' field introduced with
      generic MSI code to track the number of requested and used MSIs.  As
      result, resources associated with interrupts are conserved.  Of those
      resources most noticeable are x86 interrupt vectors.
      
      The initial version of this fix also conserved IRTEs, but Jan noticed that
      a malfunctioning PCI device might send a message number it did not claim
      and thus refer to an IRTE it does not own.  To avoid this security hole,
      as many IRTEs are reserved as the device could possibly send.
      
      [bhelgaas: changelog, rename to "nvec_used"]
      Signed-off-by: NAlexander Gordeev <agordeev@redhat.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      5fec9451
  17. 02 5月, 2013 1 次提交
    • V
      iommu/tegra: Fix printk formats for dma_addr_t · 72ca55db
      Varun Sethi 提交于
      Fix printk formats for dma_addr_t:
      
         drivers/iommu/tegra-smmu.c: In function 'smmu_iommu_iova_to_phys':
      >> drivers/iommu/tegra-smmu.c:774:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'dma_addr_t' [-Wformat]
      --
         drivers/iommu/tegra-gart.c: In function 'gart_iommu_iova_to_phys':
      >> drivers/iommu/tegra-gart.c:298:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'dma_addr_t' [-Wformat]
      Signed-off-by: NVarun Sethi <Varun.Sethi@freescale.com>
      Signed-off-by: NJoerg Roedel <joro@8bytes.org>
      72ca55db
  18. 25 4月, 2013 2 次提交
  19. 24 4月, 2013 1 次提交
  20. 23 4月, 2013 1 次提交