Skip to content

Conversation

@joe-lawrence
Copy link
Contributor

Update the integration tests:

  1. Add patches for upstream kernel 5.18.0
  2. Fix a warning generated by newer module.patch
  3. Add missing syscall test for rhel-9.0 directory

Add patches rebased on top of upstream 5.18.0.

Integration tests for these can be ran as this:

  $ make PATCH_DIR="linux-5.18.0" KPATCH_BUILD_OPTS="--non-replace --sourcedir /path/to/src/linux-5.18.0" integration-slow

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
Calling __flush_tlb_local() may result in a kernel warning:

  STATIC_NOPV void native_flush_tlb_local(void)
  {
          /*
           * Preemption or interrupts must be disabled to protect the access
           * to the per CPU variable and to prevent being preempted between
           * read_cr3() and write_cr3().
           */
          WARN_ON_ONCE(preemptible());

so use another paravirt call like slow_down_io() instead.

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
@joe-lawrence
Copy link
Contributor Author

This PR is mainly to support internal Red Hat integration testing of the s390x arch as will be introduced in #1203 with a few misc cleanups found along the way.

@jpoimboe
Copy link
Member

I notice rhel-9.0 and linux-5.18.0 also seem to be missing module-call-external.patch?

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
@joe-lawrence joe-lawrence force-pushed the integration-updates-jun-2022 branch from 7ebc9ba to 14f24fe Compare June 21, 2022 17:43
@joe-lawrence
Copy link
Contributor Author

joe-lawrence commented Jun 21, 2022

I notice rhel-9.0 and linux-5.18.0 also seem to be missing module-call-external.patch?

Deprecated by yours truly in f24f5cb :)

@joe-lawrence
Copy link
Contributor Author

Merging this now, I'll fix anything outstanding in a follow up PR.

@joe-lawrence joe-lawrence merged commit d1423a3 into dynup:master Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants