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 Linux 5.18 #18

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Commits on May 27, 2022

  1. require CONFIG_THREAD_INFO_IN_TASK=y

    Previous kernel version provided the current CPU inside of task_struct
    directly.
    This is not the case anymore, and the current CPU has to be extracted by
    using information from thread_info, which is only provided if
    CONFIG_THREAD_INFO_IN_TASK is enabled in the kernel config.
    
    Builds without CONFIG_THREAD_INFO_IN_TASK will be aborted.
    
    Note: I am not confident that this is the complete and correct solution,
    however the most practical one. (I.e. feel free to overrule it down the
    road)
    s9105947 committed May 27, 2022
    Configuration menu
    Copy the full SHA
    5f3ce9e View commit details
    Browse the repository at this point in the history
  2. fix removed cpu lock symbols

    The previously used functions get_online_cpus() and put_online_cpus()
    have been removed in 8c854303ce0e38e5bbedd725ff39da7e235865d8.
    As both functions where pure aliases they are replaced with the calls
    they were previously pointing to, cpus_read_lock() and cpus_read_unlock().
    s9105947 committed May 27, 2022
    Configuration menu
    Copy the full SHA
    6afd3f9 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. add notes on this fork

    s9105947 committed May 30, 2022
    Configuration menu
    Copy the full SHA
    148dfd9 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. change license to GPL

    s9105947 committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    c2c0749 View commit details
    Browse the repository at this point in the history
  2. add BUILD_DEPENDS for x86_adapt_driver dkms

    The driver module depends on the definition module.
    dkms offer the variable BUILD_DEPENDS for that, even if it notes that it
    is not necessarily enforced this should be used to avoid build failures.
    s9105947 committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    dd8b4bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d505621 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1623543 View commit details
    Browse the repository at this point in the history
  5. update module dependency declaration

    In Linux kernel commit 39808e451fdf ("kbuild: do not read
    $(KBUILD_EXTMOD)/Module.symvers") the in x86_adapt used way of communicating
    dependencies for symbols of other modules has been updated.
    
    This commit applies this new method to the x86_adapt_driver module by
    setting the variable KBUILD_EXTRA_SYMBOLS in the make file.
    s9105947 committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    67ddd1a View commit details
    Browse the repository at this point in the history
  6. deb generation: fix version insertion

    The previous version used shell globbing to find files, which also
    returned directories which failed in the subsequent call to sed.
    
    The fix is to search for files only using `find DIR -type f` and apply
    sed only to these found files.
    s9105947 committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    8e64814 View commit details
    Browse the repository at this point in the history