Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • linux-vf linux-vf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-vflinux-vf
  • Repository
Switch branch/tag
  • linux-vf
  • arch
  • powerpc
  • kvm
  • book3s_hv_interrupts.S
Find file BlameHistoryPermalink
  • Paul Mackerras's avatar
    KVM: PPC: Book3S HV: Save and restore CR in __kvmppc_vcore_entry · a5ddea0e
    Paul Mackerras authored Feb 03, 2012
    
    
    The ABI specifies that CR fields CR2--CR4 are nonvolatile across function
    calls.  Currently __kvmppc_vcore_entry doesn't save and restore the CR,
    leading to CR2--CR4 getting corrupted with guest values, possibly leading
    to incorrect behaviour in its caller.  This adds instructions to save
    and restore CR at the points where we save and restore the nonvolatile
    GPRs.
    
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    a5ddea0e