Skip to contentSkip to conversation

linux-yocto[-rt]_5.4: remove feature/gpio/mockup.scc

PATCH In review Sakib Sajal 2 participants 4 messages Apr 5, 2021 – Apr 15, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-yocto[-rt]_5.4: remove feature/gpio/mockup.scc

mockup.scc is not supported in 5.4 kernel

---
 meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb | 1 -
 meta/recipes-kernel/linux/linux-yocto_5.4.bb    | 1 -
 2 files changed, 2 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +0 -1
index 2ffc8ed542..7629229601 100644
@@ -42,4 +42,3 @@ KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc
 KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
 KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
 KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
-KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"
meta/recipes-kernel/linux/linux-yocto_5.4.bb +0 -1
index 245c3d574b..04e64c028b 100644
@@ -52,4 +52,3 @@ KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
 KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
 KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}"
 KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
-KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"
Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · Sakib Sajal

mockup.scc is not supported in 5.4 kernel

Can you elaborate ? Are you seeing build issues ? Something else ?

The Kconfig options are in our 5.4.109 kernel tree, so you must mean something more than that.

Bruce

Quoted 30 lines
---
 meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb | 1 -
 meta/recipes-kernel/linux/linux-yocto_5.4.bb    | 1 -
 2 files changed, 2 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +0 -1
index 2ffc8ed542..7629229601 100644
@@ -42,4 +42,3 @@ KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc
 KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
 KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
 KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
-KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"
meta/recipes-kernel/linux/linux-yocto_5.4.bb +0 -2
index 245c3d574b..04e64c028b 100644
@@ -52,4 +52,3 @@ KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
 KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
 KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}"
 KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
-KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"
--

2.25.1

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#2 lore raw
Quoted 11 lines · Bruce Ashfield

[Please note: This e-mail is from an EXTERNAL e-mail address]

Quoted 2 lines · Sakib Sajal

mockup.scc is not supported in 5.4 kernel

Can you elaborate ? Are you seeing build issues ? Something else ?

The Kconfig options are in our 5.4.109 kernel tree, so you must mean something more than that.

Bruce

mockup kernel module was added for the purpose of testing libgpiod (v1.6.3 on master meta-oe).

The minimum kernel version required for testing is v5.5.

from libgpiod-1.6.3/tests/gpiod-test.c:

#define MIN_KERNEL_MAJOR        5
#define MIN_KERNEL_MINOR        5

Sakib

Quoted 35 lines
Quoted 25 lines
---
  meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb | 1 -
  meta/recipes-kernel/linux/linux-yocto_5.4.bb    | 1 -
  2 files changed, 2 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +0 -1
index 2ffc8ed542..7629229601 100644
@@ -42,4 +42,3 @@ KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc
  KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
  KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
  KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
-KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"
meta/recipes-kernel/linux/linux-yocto_5.4.bb +0 -2
index 245c3d574b..04e64c028b 100644
@@ -52,4 +52,3 @@ KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
  KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
  KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}"
  KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
-KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"
--
Quoted 5 lines

2.25.1

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

#3 lore raw
Quoted 18 lines · Sakib Sajal
Quoted 11 lines · Bruce Ashfield

[Please note: This e-mail is from an EXTERNAL e-mail address]

Quoted 2 lines · Sakib Sajal

mockup.scc is not supported in 5.4 kernel

Can you elaborate ? Are you seeing build issues ? Something else ?

The Kconfig options are in our 5.4.109 kernel tree, so you must mean something more than that.

Bruce

mockup kernel module was added for the purpose of testing libgpiod (v1.6.3 on master meta-oe).

Quoted 7 lines

The minimum kernel version required for testing is v5.5.

from libgpiod-1.6.3/tests/gpiod-test.c:

#define MIN_KERNEL_MAJOR 5
#define MIN_KERNEL_MINOR 5

.. but yet the config options exist. Which is the point of a fragment. The compatibility of user space -> version is a different question.

We'll just leave this as-is, since the options are in 5.4

Bruce

Quoted 39 lines

Sakib

Quoted 35 lines
Quoted 25 lines
---
  meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb | 1 -
  meta/recipes-kernel/linux/linux-yocto_5.4.bb    | 1 -
  2 files changed, 2 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +0 -1
index 2ffc8ed542..7629229601 100644
@@ -42,4 +42,3 @@ KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc
  KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
  KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
  KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
-KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"
meta/recipes-kernel/linux/linux-yocto_5.4.bb +0 -2
index 245c3d574b..04e64c028b 100644
@@ -52,4 +52,3 @@ KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
  KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
  KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}"
  KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
-KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"
--
Quoted 5 lines

2.25.1

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II