Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe
  • Repository
  • ipipe
  • arch
  • s390
  • kernel
  • setup.c
Find file BlameHistoryPermalink
  • Christian Ehrhardt's avatar
    [S390] fix dfp elf hwcap/facility bit detection · 2ac3307f
    Christian Ehrhardt authored Mar 26, 2009
    
    
    The old dfp detection wanted to check bit 43 (dfp high performance), but due
    to a wrong calculation always used to check bit 42. Additionally the
    "userspace expectation" is, that the dfp capability bit is set is if facility
    bit 42 (decimal floating point facility available) and bit 44 (perform floating
    point operation facility avail).
    The patch fixes the bit calculation and extends the check to work like:
      elf hw cap dfp bit = facility bits 42 (dfp) & 44 (pfpo) available
    
    Signed-off-by: default avatarChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    2ac3307f

Imprint & Privacy Policy