Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • 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
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • arch
  • powerpc
  • include
  • asm
  • ppc-opcode.h
Find file BlameHistoryPermalink
  • Benjamin Gray's avatar
    powerpc/dexcr: Handle hashchk exception · 5bcba4e6
    Benjamin Gray authored Jun 19, 2023
    
    
    Recognise and pass the appropriate signal to the user program when a
    hashchk instruction triggers. This is independent of allowing
    configuration of DEXCR[NPHIE], as a hypervisor can enforce this aspect
    regardless of the kernel.
    
    The signal mirrors how ARM reports their similar check failure. For
    example, their FPAC handler in arch/arm64/kernel/traps.c do_el0_fpac()
    does this. When we fail to read the instruction that caused the fault
    we send a segfault, similar to how emulate_math() does it.
    
    Signed-off-by: default avatarBenjamin Gray <bgray@linux.ibm.com>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    Link: https://msgid.link/20230616034846.311705-5-bgray@linux.ibm.com
    5bcba4e6
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7