Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • chendotjs
  • linux
  • Repository
  • linux
  • drivers
  • gpu
  • drm
  • amd
  • amdkfd
  • kfd_process.c
Find file BlameHistoryPermalink
  • Fenghua Yu's avatar
    drm, iommu: Change type of pasid to u32 · c7b6bac9
    Fenghua Yu authored Sep 15, 2020
    
    
    PASID is defined as a few different types in iommu including "int",
    "u32", and "unsigned int". To be consistent and to match with uapi
    definitions, define PASID and its variations (e.g. max PASID) as "u32".
    "u32" is also shorter and a little more explicit than "unsigned int".
    
    No PASID type change in uapi although it defines PASID as __u64 in
    some places.
    
    Suggested-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarFenghua Yu <fenghua.yu@intel.com>
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Reviewed-by: default avatarTony Luck <tony.luck@intel.com>
    Reviewed-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
    Acked-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
    Acked-by: default avatarJoerg Roedel <jroedel@suse.de>
    Link: https://lkml.kernel.org/r/1600187413-163670-2-git-send-email-fenghua.yu@intel.com
    c7b6bac9