Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-de
  • 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-de
  • Repository
Switch branch/tag
  • linux-de
  • arch
  • s390
  • net
  • bpf_jit_comp.c
Find file BlameHistoryPermalink
  • Michael Holzheu's avatar
    s390/bpf: fix bpf frame pointer setup · 88aeca15
    Michael Holzheu authored Jun 01, 2015
    Currently the bpf frame pointer is set to the old r15. This is
    wrong because of packed stack. Fix this and adjust the frame pointer
    to respect packed stack. This now generates a prolog like the following:
    
     3ff8001c3fa: eb67f0480024   stmg    %r6,%r7,72(%r15)
     3ff8001c400: ebcff0780024   stmg    %r12,%r15,120(%r15)
     3ff8001c406: b904001f       lgr     %r1,%r15      <- load backchain
     3ff8001c40a: 41d0f048       la      %r13,72(%r15) <- load adjusted bfp
     3ff8001c40e: a7fbfd98       aghi    %r15,-616
     3ff8001c412: e310f0980024   stg     %r1,152(%r15) <- save backchain
    
    Fixes: 05462310
    
     ("s390/bpf: Add s390x eBPF JIT compiler backend")
    Signed-off-by: default avatarMichael Holzheu <holzheu@linux.vnet.ibm.com>
    Acked-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: default avatarAlexei Starovoitov <ast@plumgrid.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    88aeca15