1. 26 Sep, 2008 2 commits
    • Ingo Molnar's avatar
      IO resources, x86: ioremap sanity check to catch mapping requests exceeding, fix · 13eb8375
      Ingo Molnar authored
      fix this build error:
      
       kernel/resource.c: In function 'iomem_map_sanity_check':
       kernel/resource.c:842: error: implicit declaration of function 'r_next'
       kernel/resource.c:842: warning: assignment makes pointer from integer without a cast
      
      r_next() was only available if CONFIG_PROCFS was enabled.
      
      and fix this build warning:
      
       kernel/resource.c:855: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'resource_size_t'
       kernel/resource.c:855: warning: format '%llx' expects type 'long long unsigned int', but argument 3 has type 'long unsigned int'
       kernel/resource.c:855: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'resource_size_t'
       kernel/resource.c:855: warning: format '%llx' expects type 'long long unsigned int', but argument 5 has type 'resource_size_t'
      
      resource_t can be 32 bits.
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      13eb8375
    • Suresh Siddha's avatar
      IO resources, x86: ioremap sanity check to catch mapping requests exceeding the BAR sizes · 379daf62
      Suresh Siddha authored
      Go through the iomem resource tree to check if any of the ioremap()
      requests span more than any slot in the iomem resource tree and do
      a WARN_ON() if we hit this check.
      
      This will raise a red-flag, if some driver is mapping more than what
      is needed. And hopefully identify possible corruptions much earlier.
      Signed-off-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      379daf62
  2. 18 Sep, 2008 1 commit
  3. 14 Sep, 2008 4 commits
  4. 09 Sep, 2008 24 commits
  5. 08 Sep, 2008 9 commits