1. 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
  2. 03 4月, 2013 1 次提交
  3. 26 2月, 2013 1 次提交
  4. 23 2月, 2013 1 次提交
  5. 19 2月, 2013 1 次提交
  6. 08 2月, 2013 1 次提交
  7. 05 2月, 2013 2 次提交
    • J
      iommu/tegra: smmu: Use helper function to check for valid register offset · fe1229b9
      Joerg Roedel 提交于
      Do not repeat the checking loop in the read and write
      functions. Use a single helper function for that check and
      call it in both accessors.
      Signed-off-by: NJoerg Roedel <joro@8bytes.org>
      fe1229b9
    • H
      iommu/tegra: smmu: Support variable MMIO ranges/blocks · a6870e92
      Hiroshi Doyu 提交于
      Presently SMMU registers are located in discontiguous 3 blocks. They
      are interleaved by MC registers. Ideally SMMU register blocks should
      be in an independent one block, but it is too late to change this H/W
      design. In the future Tegra chips over some generations, it is
      expected that some of register block "size" can be extended towards
      the end and also more new register blocks will be added at most a few
      blocks. The starting address of each existing block won't change. This
      patch allocates multiple number of register blocks dynamically based
      on the info passed from DT. Those ranges are verified in the
      accessors{read,write}. This may sacrifice some performance because a
      new accessors prevents compiler optimization of a fixed size register
      offset calculation. Since SMMU register accesses are not so frequent,
      this would be acceptable. This patch is necessary to unify
      "tegra-smmu.ko" over some Tegra SoC generations.
      Signed-off-by: NHiroshi Doyu <hdoyu@nvidia.com>
      Reviewed-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NJoerg Roedel <joro@8bytes.org>
      a6870e92
  8. 04 2月, 2013 1 次提交
  9. 26 1月, 2013 1 次提交
  10. 04 1月, 2013 1 次提交
    • G
      Drivers: iommu: remove __dev* attributes. · d34d6517
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Joerg Roedel <joro@8bytes.org>
      Cc: Ohad Ben-Cohen <ohad@wizery.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Omar Ramirez Luna <omar.luna@linaro.org>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Cc: Hiroshi Doyu <hdoyu@nvidia.com>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Bharat Nihalani <bnihalani@nvidia.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d34d6517
  11. 28 11月, 2012 2 次提交
  12. 17 11月, 2012 1 次提交
  13. 06 11月, 2012 2 次提交
  14. 24 10月, 2012 1 次提交
  15. 18 9月, 2012 2 次提交
  16. 03 8月, 2012 4 次提交
  17. 17 7月, 2012 3 次提交
  18. 11 7月, 2012 1 次提交
  19. 02 7月, 2012 1 次提交
  20. 25 6月, 2012 4 次提交
  21. 16 4月, 2012 1 次提交
  22. 26 1月, 2012 1 次提交