Skip to contentSkip to conversation

make-flight: Rework arch_branch_filter_callback slightly

PATCH In review Ian Jackson 3 participants 4 messages Oct 23, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 make-flight: Rework arch_branch_filter_callback slightly

Now we have two lists of things not supported on ARM: one of branches where that's inherent in the branch somehow, and one for those where the kernel is simply too old. The latter are going to differ between armhf and arm64.

No functional change.
(Verified with standalone-generate-dump-flight-runvars.)

---
 make-flight | 7 ++++++-
 mfi-common  | 4 ++++
 2 files changed, 10 insertions(+), 1 deletion(-)
make-flight +6 -1
index 020ad5f1..f90fe77c 100755
@@ -189,8 +189,13 @@ arch_branch_filter_callback () {
         linux-3.4) return 1;;
         linux-3.10) return 1;;
         linux-3.14) return 1;;
+        esac
+        ;;
+  esac
+  case "$arch" in
+  arm*)
+        case "$branch" in
         linux-mingo-tip-master) return 1;;
-        linux-*) ;;
         qemu-upstream-4.2-testing) return 1;;
         qemu-upstream-4.3-testing) return 1;;
         qemu-upstream-4.4-testing) return 1;;
mfi-common +4 -0
index 7c03ffd4..b40f057e 100644
@@ -288,6 +288,10 @@ create_build_jobs () {
       "
       ;;
     arm64)
+      case "$branch" in
+      linux-3.*-testing) continue;;
+      linux-4.[0-4]-testing) continue;;
+      esac
       case "$xenbranch" in
       xen-3.*-testing) continue;;
       xen-4.[0-6]-testing) continue;;
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw

PATCH 2/2 make-flight: Drop arm64 with Linux before 4.10

The driver for the laxtons' network cards is not in 4.4 (and that's quite old). Our ThunderX's may even require something more recent but we will cross that bridge when we see it.

Effect is to drop the following jobs:

  linux-4.1  *arm64*
  linux-4.4  *arm64*
  linux-4.9  *arm64*

(Checked by eyeballing standalone-generate-dump-flight-runvars diff.)

CC Julien Grall <[email protected]>
CC Stefano Stabellini <[email protected]>
---
 make-flight | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
make-flight +7 -1
index f90fe77c..be620c6d 100755
@@ -183,7 +183,7 @@ job_create_test_filter_callback () {
 arch_branch_filter_callback () {
   local arch=$1
   case "$arch" in
-  arm*)
+  armhf)
         case "$branch" in
         linux-3.0) return 1;;
         linux-3.4) return 1;;
@@ -191,6 +191,12 @@ arch_branch_filter_callback () {
         linux-3.14) return 1;;
         esac
         ;;
+  arm64)
+        case "$branch" in
+        linux-3.*) return 1;;
+        linux-4.?) return 1;;
+        esac
+        ;;
   esac
   case "$arch" in
   arm*)
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 2/2
#2 lore raw

Re: [Xen-devel] [OSSTEST PATCH 2/2] make-flight: Drop arm64 with Linux before 4.10

Hi Ian,

Quoted 5 lines · Ian Jackson

The driver for the laxtons' network cards is not in 4.4 (and that's quite old). Our ThunderX's may even require something more recent but we will cross that bridge when we see it.

Effect is to drop the following jobs:

Quoted 8 lines
   linux-4.1  *arm64*
   linux-4.4  *arm64*
   linux-4.9  *arm64*

(Checked by eyeballing standalone-generate-dump-flight-runvars diff.)

CC Julien Grall <[email protected]>
CC Stefano Stabellini <[email protected]>

FWIW:

Cheers,

Quoted 31 lines
---
  make-flight | 8 +++++++-
  1 file changed, 7 insertions(+), 1 deletion(-)
make-flight +7 -1
index f90fe77c..be620c6d 100755
@@ -183,7 +183,7 @@ job_create_test_filter_callback () {
  arch_branch_filter_callback () {
    local arch=$1
    case "$arch" in
-  arm*)
+  armhf)
          case "$branch" in
          linux-3.0) return 1;;
          linux-3.4) return 1;;
@@ -191,6 +191,12 @@ arch_branch_filter_callback () {
          linux-3.14) return 1;;
          esac
          ;;
+  arm64)
+        case "$branch" in
+        linux-3.*) return 1;;
+        linux-4.?) return 1;;
+        esac
+        ;;
    esac
    case "$arch" in
    arm*)
Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#3 lore raw

Re: [Xen-devel] [OSSTEST PATCH 2/2] make-flight: Drop arm64 with Linux before 4.10

Julien Grall writes ("Re: [OSSTEST PATCH 2/2] make-flight: Drop arm64 with Linux before 4.10"):

Quoted 11 lines · Ian Jackson
Quoted 10 lines

The driver for the laxtons' network cards is not in 4.4 (and that's quite old). Our ThunderX's may even require something more recent but we will cross that bridge when we see it.

Effect is to drop the following jobs:

   linux-4.1  *arm64*
   linux-4.4  *arm64*
   linux-4.9  *arm64*

(Checked by eyeballing standalone-generate-dump-flight-runvars diff.)

Quoted 7 lines
Quoted 3 lines
CC Julien Grall <[email protected]>
CC Stefano Stabellini <[email protected]>

FWIW:

Thanks. I am waiting for a push through on my previous osstest commits so I will probably push this to pretest tomorrow.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel