Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix driver build for RHEL 7.7/4.13+ w/CONFIG_VIRT_CPU_ACCOUNTING_GEN #1471

Merged
merged 3 commits into from
Aug 9, 2019

Commits on Aug 9, 2019

  1. Configuration menu
    Copy the full SHA
    9bca684 View commit details
    Browse the repository at this point in the history
  2. Fix driver build for RHEL 7.7/4.13+ w/CONFIG_VIRT_CPU_ACCOUNTING_GEN

    Kernel commits 60a9ce57e7c5ac1df3a39fb941022bbfa40c0862
    and bac5b6b6b11560f323e71d0ebac4061cfe5f56c0 move the vtime_* fields
    from task_struct to a nested struct vtime.
    
    RHEL 7.7 is the first kernel where we hit this but the changes landed
    in upstream kernel 4.13.
    
    To hit this bug, CONFIG_VIRT_CPU_ACCOUNTING_GEN has to be set.
    gnosek committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    57e37ec View commit details
    Browse the repository at this point in the history
  3. Fix ppm_access_ok macro for RHEL 8.1

    RHEL 8.1 backports the definition of access_ok from 5.0.
    gnosek committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    2e513ea View commit details
    Browse the repository at this point in the history