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

Updates and clean-up cache management #502

Merged
merged 5 commits into from
Sep 18, 2023

Commits on Sep 14, 2023

  1. options: fix typo

    Fix typo for WITH_DCACHE_BUFFERS option.
    
    Signed-off-by: Iuliana Prodan <[email protected]>
    iuliana-prodan committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    50dc259 View commit details
    Browse the repository at this point in the history
  2. virtqueue: move VRING_FLUSH and VRING_INVALIDATE to header

    Move VRING_FLUSH and VRING_INVALIDATE defines to header file.
    
    Signed-off-by: Iuliana Prodan <[email protected]>
    iuliana-prodan committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    ef91f0c View commit details
    Browse the repository at this point in the history
  3. rpmsg: buffers flush/invalidate

    Do buffers flush and invalidate the same as with vrings
    and resource table:
    - add defines in header file;
    - call BUFFER_FLUSH/BUFFER_INVALIDATE where necessary.
    
    Signed-off-by: Iuliana Prodan <[email protected]>
    iuliana-prodan committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    03b7c76 View commit details
    Browse the repository at this point in the history
  4. virtqueue: define a common cache flush/invalidate

    Since all cache operations, for vrings, buffer and
    resource table are using metal_cache_flush and
    metal_cache_invalidate, define a common function for all.
    
    Signed-off-by: Iuliana Prodan <[email protected]>
    iuliana-prodan committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    99b9ed3 View commit details
    Browse the repository at this point in the history
  5. options: add option for all cache operations

    Add WITH_DCACHE operation used for all cache operations:
    vrings, buffers and resource table.
    The other options will be deprecated - add warning
    message for this.
    
    Add info for WITH_DCACHE option in README.
    
    Signed-off-by: Iuliana Prodan <[email protected]>
    iuliana-prodan committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    003311e View commit details
    Browse the repository at this point in the history