All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] linux-yocto[-rt]_5.4: remove feature/gpio/mockup.scc
@ 2021-04-05 19:08 Sakib Sajal
  2021-04-06 23:36 ` [OE-core] " Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Sakib Sajal @ 2021-04-05 19:08 UTC (permalink / raw)
  To: openembedded-core

mockup.scc is not supported in 5.4 kernel

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
---
 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(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
index 2ffc8ed542..7629229601 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
@@ -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)}"
diff --git a/meta/recipes-kernel/linux/linux-yocto_5.4.bb b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
index 245c3d574b..04e64c028b 100644
--- a/meta/recipes-kernel/linux/linux-yocto_5.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
@@ -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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH] linux-yocto[-rt]_5.4: remove feature/gpio/mockup.scc
  2021-04-05 19:08 [PATCH] linux-yocto[-rt]_5.4: remove feature/gpio/mockup.scc Sakib Sajal
@ 2021-04-06 23:36 ` Bruce Ashfield
  2021-04-15 17:27   ` Sakib Sajal
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2021-04-06 23:36 UTC (permalink / raw)
  To: Sakib Sajal; +Cc: Patches and discussions about the oe-core layer

On Mon, Apr 5, 2021 at 3:08 PM Sakib Sajal <sakib.sajal@windriver.com> wrote:
>
> 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

> Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
> ---
>  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(-)
>
> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
> index 2ffc8ed542..7629229601 100644
> --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
> @@ -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)}"
> diff --git a/meta/recipes-kernel/linux/linux-yocto_5.4.bb b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
> index 245c3d574b..04e64c028b 100644
> --- a/meta/recipes-kernel/linux/linux-yocto_5.4.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
> @@ -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
>
>
> 
>


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH] linux-yocto[-rt]_5.4: remove feature/gpio/mockup.scc
  2021-04-06 23:36 ` [OE-core] " Bruce Ashfield
@ 2021-04-15 17:27   ` Sakib Sajal
  2021-04-15 18:02     ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Sakib Sajal @ 2021-04-15 17:27 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: Patches and discussions about the oe-core layer


On 2021-04-06 7:36 p.m., Bruce Ashfield wrote:
> [Please note: This e-mail is from an EXTERNAL e-mail address]
>
> On Mon, Apr 5, 2021 at 3:08 PM Sakib Sajal <sakib.sajal@windriver.com> wrote:
>> 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


>> Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
>> ---
>>   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(-)
>>
>> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
>> index 2ffc8ed542..7629229601 100644
>> --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
>> +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
>> @@ -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)}"
>> diff --git a/meta/recipes-kernel/linux/linux-yocto_5.4.bb b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
>> index 245c3d574b..04e64c028b 100644
>> --- a/meta/recipes-kernel/linux/linux-yocto_5.4.bb
>> +++ b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
>> @@ -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
>>
>>
>> 
>>
>
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end
> - "Use the force Harry" - Gandalf, Star Trek II

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH] linux-yocto[-rt]_5.4: remove feature/gpio/mockup.scc
  2021-04-15 17:27   ` Sakib Sajal
@ 2021-04-15 18:02     ` Bruce Ashfield
  0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2021-04-15 18:02 UTC (permalink / raw)
  To: Sakib Sajal; +Cc: Patches and discussions about the oe-core layer

On Thu, Apr 15, 2021 at 1:27 PM Sakib Sajal <sakib.sajal@windriver.com> wrote:
>
>
> On 2021-04-06 7:36 p.m., Bruce Ashfield wrote:
> > [Please note: This e-mail is from an EXTERNAL e-mail address]
> >
> > On Mon, Apr 5, 2021 at 3:08 PM Sakib Sajal <sakib.sajal@windriver.com> wrote:
> >> 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
>

..  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

>
> Sakib
>
>
> >> Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
> >> ---
> >>   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(-)
> >>
> >> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
> >> index 2ffc8ed542..7629229601 100644
> >> --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
> >> +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
> >> @@ -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)}"
> >> diff --git a/meta/recipes-kernel/linux/linux-yocto_5.4.bb b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
> >> index 245c3d574b..04e64c028b 100644
> >> --- a/meta/recipes-kernel/linux/linux-yocto_5.4.bb
> >> +++ b/meta/recipes-kernel/linux/linux-yocto_5.4.bb
> >> @@ -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
> >>
> >>
> >> 
> >>
> >
> > --
> > - Thou shalt not follow the NULL pointer, for chaos and madness await
> > thee at its end
> > - "Use the force Harry" - Gandalf, Star Trek II



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-15 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 19:08 [PATCH] linux-yocto[-rt]_5.4: remove feature/gpio/mockup.scc Sakib Sajal
2021-04-06 23:36 ` [OE-core] " Bruce Ashfield
2021-04-15 17:27   ` Sakib Sajal
2021-04-15 18:02     ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.