[linux-yocto][yocto-kernel-cache yocto-5.15][PATCH 1/1] nxp-imx8: Enable USB ACM NCM and MASS_STORAGE

2022-08-15 Thread Xiaolei Wang
Enable USB ACM NCM and MASS_STORAGE for imx8qm.
Since USB_CDNS3_GADGET is a bool type, its
dependency USB_GADGET cannot be selected as 'M',
so usb-gadgets.scc is not included here, and
it is opened separately in nxp-imx8.cfg.

Signed-off-by: Xiaolei Wang 
---
 bsp/nxp-imx8/nxp-imx8.cfg | 4 
 1 file changed, 4 insertions(+)

diff --git a/bsp/nxp-imx8/nxp-imx8.cfg b/bsp/nxp-imx8/nxp-imx8.cfg
index 318ce01e..7f44ff44 100644
--- a/bsp/nxp-imx8/nxp-imx8.cfg
+++ b/bsp/nxp-imx8/nxp-imx8.cfg
@@ -65,6 +65,10 @@ CONFIG_USB_CHIPIDEA_UDC=y
 CONFIG_USB_CHIPIDEA_HOST=y
 CONFIG_PHY_CADENCE_SALVO=y
 CONFIG_USB_DWC3=y
+CONFIG_USB_CONFIGFS=m
+CONFIG_USB_G_NCM=m
+CONFIG_USB_G_ACM_MS=m
+CONFIG_USB_MASS_STORAGE=m
 
 #
 ## Random Number Generation
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11565): 
https://lists.yoctoproject.org/g/linux-yocto/message/11565
Mute This Topic: https://lists.yoctoproject.org/mt/93052022/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] [meta-mingw][PATCH] mingw-libgnurx: update license name

2022-08-15 Thread kai
From: Kai Kang 

Update license name with SPDX identifier to eliminate warning:

  WARNING: mingw-libgnurx-2.5.1-r0 do_package_qa: QA Issue: Recipe LICENSE
includes obsolete licenses LGPLv2.1 [obsolete-license]

Signed-off-by: Kai Kang 
---
 recipes-support/mingw-libgnurx/mingw-libgnurx_2.5.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-support/mingw-libgnurx/mingw-libgnurx_2.5.1.bb 
b/recipes-support/mingw-libgnurx/mingw-libgnurx_2.5.1.bb
index ca5bbf9..4547298 100644
--- a/recipes-support/mingw-libgnurx/mingw-libgnurx_2.5.1.bb
+++ b/recipes-support/mingw-libgnurx/mingw-libgnurx_2.5.1.bb
@@ -1,6 +1,6 @@
 # Copyright (C) 2021 Khem Raj 
 # Released under the MIT license (see COPYING.MIT for the terms)
-LICENSE = "LGPLv2.1"
+LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
 
 SRC_URI = 
"http://download.sourceforge.net/mingw/Other/UserContributed/regex/mingw-regex-${PV}/mingw-libgnurx-${PV}-src.tar.gz
 \
-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57851): https://lists.yoctoproject.org/g/yocto/message/57851
Mute This Topic: https://lists.yoctoproject.org/mt/93051253/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] M+ & H bugs with Milestone Movements WW33

2022-08-15 Thread Stephen Jolley
All,

YP M+ or high bugs which moved to a new milestone in WW33 are listed below: 


Priority

Bug ID

Short Description


High

  14800

AB-INT PTEST: libgcrypt ptest intermittent failure


Medium+

  11704

Add other resource monitoring options to conf/local.conf STOPTASKS/ABORT


 

  12723

mysql requires unicode and char length filtering


 

  13008

toaster testing


 

  13109

Implement CPE to package to Release mapping


 

  13103

[Bug][QA 2.7 M1 rc1][Toaster] "Recipes" table  and  "machines" table are not 
getting populated after clicking on imported layer as well as after clicking 
Machines Tab on project page


 

  13123

package.PackageTests.test_gdb_hardlink_debug failed


 

  13190

RRS cannot handle multiple recipes with same PN


 

  13520

many valgrind tests fail for arm64


 

  13980

Investigate replacements for PhantomJS for buildperf output


 

  14430

valgrind memcheck/tests/linux/stack_changes failure


 

  14443

valgrind none/tests/amd64/fb_test_amd64 ptest intermittent failure


 

  14466

python: Should we add this optimization: -fno-semantic-interposition for 1.3x 
speed improvment?


 

  14538

Recipes shouldn't use "virtual/" in RPROVIDES and RDEPENDS


 

  14693

cmake-native do_configure fails when rebuilding without sstate on NIS hosts


 

  14814

ncurses version of taskexp.py


 

  14834

Timeout issue with Toaster and bitbake

Thanks, 

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com  

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57850): https://lists.yoctoproject.org/g/yocto/message/57850
Mute This Topic: https://lists.yoctoproject.org/mt/93046608/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Enhancements/Bugs closed WW33!

2022-08-15 Thread Stephen Jolley
All,

The below were the owners of enhancements or bugs closed during the last
week!


Who

Count


richard.pur...@linuxfoundation.org

2


luca.ceres...@bootlin.com

1


randy.macl...@windriver.com

1


vikkram.r...@in.bosch.com

1


yogesh.ty...@intel.com

1


ahmed.hos...@opensynergy.com

1


alexandre.bell...@bootlin.com

1


Grand Total

8

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57849): https://lists.yoctoproject.org/g/yocto/message/57849
Mute This Topic: https://lists.yoctoproject.org/mt/93046575/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Current high bug count owners for Yocto Project 4.1

2022-08-15 Thread Stephen Jolley
All,

Below is the list as of top 35 bug owners as of the end of WW33 of who have
open medium or higher bugs and enhancements against YP 4.1.   There are 52
possible work days left until the final release candidates for YP 4.1 needs
to be released.


Who

Count


michael.opdenac...@bootlin.com

36


ross.bur...@arm.com

26


david.re...@windriver.com

23


bruce.ashfi...@gmail.com

21


randy.macl...@windriver.com

15


richard.pur...@linuxfoundation.org

13


saul.w...@windriver.com

10


jpewhac...@gmail.com

9


sakib.sa...@windriver.com

9


aryaman.gu...@windriver.com

7


tim.orl...@konsulko.com

6


sundeep.kokko...@gmail.com

5


mhalst...@linuxfoundation.org

4


jon.ma...@arm.com

4


akuster...@gmail.com

3


tvgamb...@gmail.com

2


hongxu@windriver.com

2


pgowda@gmail.com

2


qi.c...@windriver.com

2


pa...@zhukoff.net

2


s...@bigsur.com

1


raj.k...@gmail.com

1


ola.x.nils...@axis.com

1


beh...@converseincode.com

1


thomas.per...@bootlin.com

1


martin.bee...@online.de

1


aeh...@gmail.com

1


open.sou...@oleksandr-kravchuk.com

1


ptsne...@gmail.com

1


martin.ja...@gmail.com

1


nicolas.deche...@linaro.org

1


mostthings...@gmail.com

1


shac...@vdoo.com

1


alexandre.bell...@bootlin.com

1


alejan...@enedino.org

1


Grand Total

216

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57848): https://lists.yoctoproject.org/g/yocto/message/57848
Mute This Topic: https://lists.yoctoproject.org/mt/93046362/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Yocto Project Newcomer & Unassigned Bugs - Help Needed

2022-08-15 Thread Stephen Jolley
All,

 

The triage team is starting to try and collect up and classify bugs which a
newcomer to the project would be able to work on in a way which means people
can find them. They're being listed on the triage page under the appropriate
heading:

https://wiki.yoctoproject.org/wiki/Bug_Triage#Newcomer_Bugs  Also please
review:
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded and
how to create a bugzilla account at:

https://bugzilla.yoctoproject.org/createaccount.cgi

The idea is these bugs should be straight forward for a person to help work
on who doesn't have deep experience with the project.  If anyone can help,
please take ownership of the bug and send patches!  If anyone needs
help/advice there are people on irc who can likely do so, or some of the
more experienced contributors will likely be happy to help too.

 

Also, the triage team meets weekly and does its best to handle the bugs
reported into the Bugzilla. The number of people attending that meeting has
fallen, as have the number of people available to help fix bugs. One of the
things we hear users report is they don't know how to help. We (the triage
team) are therefore going to start reporting out the currently 417
unassigned or newcomer bugs.

 

We're hoping people may be able to spare some time now and again to help out
with these.  Bugs are split into two types, "true bugs" where things don't
work as they should and "enhancements" which are features we'd want to add
to the system.  There are also roughly four different "priority" classes
right now,  "4.1", "4.2", "4.99" and "Future", the more pressing/urgent
issues being in "4.1" and then "4.2".

 

Please review this link and if a bug is something you would be able to help
with either take ownership of the bug, or send me (sjolley.yp...@gmail.com
 ) an e-mail with the bug number you would
like and I will assign it to you (please make sure you have a Bugzilla
account).  The list is at:
https://wiki.yoctoproject.org/wiki/Bug_Triage_Archive#Unassigned_or_Newcomer
_Bugs

 

Thanks,

 

Stephen K. Jolley

Yocto Project Program Manager

*Cell:(208) 244-4460

* Email:  sjolley.yp...@gmail.com
 

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57847): https://lists.yoctoproject.org/g/yocto/message/57847
Mute This Topic: https://lists.yoctoproject.org/mt/93046343/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] [PATCH yocto-autobuilder-helper 1/2] config.json: enable CPU and IO pressure regulation

2022-08-15 Thread Aryaman Gupta
Prevent severe system overload by setting the pressure limits for CPU
and IO at 1.

Signed-off-by: Aryaman Gupta 
Signed-off-by: Randy Macleod 
---
 config.json | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config.json b/config.json
index 5f37e77..1173797 100644
--- a/config.json
+++ b/config.json
@@ -46,6 +46,8 @@
 "BB_GENERATE_MIRROR_TARBALLS = '1'",
 "BB_NUMBER_THREADS = '16'",
 "PARALLEL_MAKE = '-j 16 -l 52'",
+"BB_PRESSURE_MAX_CPU = '1'",
+"BB_PRESSURE_MAX_IO = '1'",
 "XZ_MEMLIMIT = '5%'",
 "XZ_THREADS = '8'",
 "ZSTD_THREADS = '8'",
-- 
2.35.3


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57846): https://lists.yoctoproject.org/g/yocto/message/57846
Mute This Topic: https://lists.yoctoproject.org/mt/93045689/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] [PATCH yocto-autobuilder-helper 2/2] scripts/archive_buildstats.py: archive buildstats to tar.zst

2022-08-15 Thread Aryaman Gupta
Archive the buildstats of every failed build and 1% of random builds. Convert
the time-stamped buildstats directory to a compressed tarball using the
hostname as a prefix (to the file name only) so that one can identify the
source machine. Move these tarballs to the directory:
testresults//buildstats/

The archiving is performed during the "collect results" step.

Signed-off-by: Aryaman Gupta 
Signed-off-by: Randy MacLeod 
---
 scripts/archive_buildstats.py | 37 +++
 scripts/run-config|  1 +
 2 files changed, 38 insertions(+)
 create mode 100755 scripts/archive_buildstats.py

diff --git a/scripts/archive_buildstats.py b/scripts/archive_buildstats.py
new file mode 100755
index 000..de866e5
--- /dev/null
+++ b/scripts/archive_buildstats.py
@@ -0,0 +1,37 @@
+#!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+import glob, os, random, subprocess, socket, sys
+
+def usage():
+ print("Usage: " + sys.argv[0] + "   ")
+
+def main():
+if len(sys.argv) != 4:
+usage()
+sys.exit()
+
+builddir = sys.argv[1]
+dest = sys.argv[2]
+target = sys.argv[3]
+dest_bsdir = os.path.join(dest, target, "buildstats")
+subprocess.run(["mkdir", "-p", dest_bsdir])
+
+build_bsdir = os.path.join(builddir, "tmp/buildstats")
+hostname = socket.gethostname()
+os.chdir(build_bsdir)
+fail_path = os.path.join(dest, target, "intermittent_failure_host_data")
+fail_output = glob.glob(fail_path + '/*top_summary.txt')
+
+#archive the buildstats of failures and 1% of random builds
+if fail_output or random.randint(1,100)%100 == 0:
+for timestamp in os.listdir(build_bsdir):
+if hostname:
+output = hostname + "-" + timestamp + ".tar.zst"
+else:
+output = "nohostname-"+ timestamp + ".tar.zst"
+subprocess.check_call("tar -I zstd -cf "+output+" 
"+timestamp+"/*", shell=True)
+subprocess.run(["mv", output, dest_bsdir])
+
+main()
\ No newline at end of file
diff --git a/scripts/run-config b/scripts/run-config
index 838847a..953977e 100755
--- a/scripts/run-config
+++ b/scripts/run-config
@@ -334,6 +334,7 @@ elif args.phase == "finish" and args.stepname == 
"collect-results":
 hp.printheader("Running results collection")
 runcmd([scriptsdir + "/collect-results", args.builddir, 
args.results_dir, args.target])
 runcmd([scriptsdir + "/summarize_top_output.py", args.results_dir, 
args.target])
+runcmd([scriptsdir + "/archive_buildstats.py", args.builddir, 
args.results_dir, args.target])
 sys.exit(0)
 
 if jcfg:
-- 
2.35.3


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57845): https://lists.yoctoproject.org/g/yocto/message/57845
Mute This Topic: https://lists.yoctoproject.org/mt/93045687/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] no framebuffer graphics when fbcon cursor is disabled #yocto #honister #framebuffer

2022-08-15 Thread douglas . cooper1
Hello,

Im using the 5.10.100 kernel from the meta-intel layer and have an image that 
runs most of the df_* demos as well as cinematicexperience Qt5 example without 
any interference from the console output. I have an application that writes 
directly to the framebuffer device but gets smothered by text from the console. 
When I try to unbind the fbcon or disable the cursor I am also prevented from 
graphics being displayed. If for example i run `cat /dev/urandom > /dev/fb0` i 
get noise as expected with a small blinking cursor from the terminal, but if i 
disable the cursor that command does nothing. Any thoughts on how i can display 
framebuffer graphics without console interference would be much appreciated,

-Doug

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57844): https://lists.yoctoproject.org/g/yocto/message/57844
Mute This Topic: https://lists.yoctoproject.org/mt/93041318/21656
Mute #framebuffer:https://lists.yoctoproject.org/g/yocto/mutehashtag/framebuffer
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Mute #honister:https://lists.yoctoproject.org/g/yocto/mutehashtag/honister
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] [meta-security][PATCH] cyptmount: Fix mount.h conflicts seen with glibc 2.36+

2022-08-15 Thread Armin Kuster
Signed-off-by: Armin Kuster 
---
 .../cryptmount/cryptmount_5.3.3.bb|  4 +++-
 .../cryptmount/files/remove_linux_fs.patch| 19 +++
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 recipes-security/cryptmount/files/remove_linux_fs.patch

diff --git a/recipes-security/cryptmount/cryptmount_5.3.3.bb 
b/recipes-security/cryptmount/cryptmount_5.3.3.bb
index 6e653c8..fb522cb 100644
--- a/recipes-security/cryptmount/cryptmount_5.3.3.bb
+++ b/recipes-security/cryptmount/cryptmount_5.3.3.bb
@@ -3,7 +3,9 @@ HOMEPAGE = "http://cryptmount.sourceforge.net/;
 LIC_FILES_CHKSUM = 
"file://README;beginline=3;endline=4;md5=673a990de93a2c5531a0f13f1c40725a"
 LICENSE = "GPL-2.0-only"
 
-SRC_URI = 
"https://sourceforge.net/projects/cryptmount/files/${BPN}/${BPN}-5.3/${BPN}-${PV}.tar.gz;
+SRC_URI = 
"https://sourceforge.net/projects/cryptmount/files/${BPN}/${BPN}-5.3/${BPN}-${PV}.tar.gz
 \
+   file://remove_linux_fs.patch \
+   "
 
 SRC_URI[sha256sum] = 
"682953ff5ba497d48d6b13e22ca726c98659abd781bb8596bb299640dd255d9b"
 
diff --git a/recipes-security/cryptmount/files/remove_linux_fs.patch 
b/recipes-security/cryptmount/files/remove_linux_fs.patch
new file mode 100644
index 000..304b853
--- /dev/null
+++ b/recipes-security/cryptmount/files/remove_linux_fs.patch
@@ -0,0 +1,19 @@
+# From glibc 2.36,  (included from ) and 
+#  (included from glibc) are no longer compatible:
+# 
https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
+
+Upstream-Status: Pending
+Signed-off-by: Armin Kuster 
+
+Index: cryptmount-5.3.3/cryptmount.c
+===
+--- cryptmount-5.3.3.orig/cryptmount.c
 cryptmount-5.3.3/cryptmount.c
+@@ -41,7 +41,6 @@
+ #ifdef HAVE_SYSLOG
+ #  include 
+ #endif
+-#include/* Beware ordering conflict with sys/mount.h */
+ 
+ 
+ #include "armour.h"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57843): https://lists.yoctoproject.org/g/yocto/message/57843
Mute This Topic: https://lists.yoctoproject.org/mt/93038075/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto std/rt kernel v5.15]: nxp-s32g: drivers: serdes: use get_lane_id() to get the right id for

2022-08-15 Thread Zhantao Tang

On 2022/8/15 22:00, Bruce Ashfield wrote:

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

On Mon, Aug 15, 2022 at 9:30 AM zhantao.tang  wrote:

On 2022/8/12 11:07, Bruce Ashfield wrote:

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

In message: [linux-yocto] [linux-yocto std/rt kernel v5.15]: nxp-s32g: drivers: 
serdes: use get_lane_id() to get the right id for
on 09/08/2022 Zhantao Tang wrote:


Hi Bruce,

Would you please help merge the patch to the branches?
  v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g
  v5.15/standard/nxp-sdk-5.10/nxp-s32g

merged.

Hi Bruce,


I just check the commit log of the above nxp-s32g branches, but did not
find the commit for

"nxp-s32g: drivers: serdes: use get_lane_id() to get the right id for",
like following:


$ git remote -v
originhttps://git.yoctoproject.org/git/linux-yocto (fetch)
originhttps://git.yoctoproject.org/git/linux-yocto (push)
$ git log --oneline
ad8f6fd69353 (HEAD -> v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g,
origin/v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g) Revert "nft:
add configs for greater nftables coverage"
ee7baf33b698 nft: add configs for greater nftables coverage
25c0f2519717 Merge branch 'v5.15/standard/base' into
v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g
efe20512212b (origin/v5.15/standard/base) init/Kconfig: fix
CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
68861ab8b634 Merge branch 'v5.15/standard/base' into
v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g
085e50e42da1 Merge tag 'v5.15.59' into v5.15/standard/base
d676d6149a2f (tag: v5.15.59, origin/v5.15/base) Linux 5.15.59
f0e42e43795d x86/bugs: Do not enable IBPB at firmware entry when IBPB
is not available
d10e819d13f7 locking/rwsem: Allow slowpath writer to ignore handoff
bit if not set by first waiter
66d31cef4806 docs/kernel-parameters: Update descriptions for
"mitigations=" param with retbleed
7bada8b0bdf1 EDAC/ghes: Set the DIMM label unconditionally
30dc2effc74a ARM: 9216/1: Fix MAX_DMA_ADDRESS overflow
86e83233dd01 page_alloc: fix invalid watermark check on a negative value
51a772c34ea4 mm/hmm: fault non-owner device private entries
350fcb5e7bbb ARM: crypto: comment out gcc warning that breaks clang builds
e796e1fe20ec sctp: leave the err path free in sctp_stream_init to
sctp_stream_free
f7c2a9c5435a sfc: disable softirqs for ptp TX

Did I miss something?


This must have been where my scripts went bad and merged the
kernel-cache patch, instead of this one!

I'll queue this one and fix it shortly.


OK, thanks.


Regards,

Zhantao



Bruce


Thanks,

Zhantao


Bruce


Thanks,
Zhantao




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




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11564): 
https://lists.yoctoproject.org/g/linux-yocto/message/11564
Mute This Topic: https://lists.yoctoproject.org/mt/92908429/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto std/rt kernel v5.15]: nxp-s32g: drivers: serdes: use get_lane_id() to get the right id for

2022-08-15 Thread Bruce Ashfield
On Mon, Aug 15, 2022 at 9:30 AM zhantao.tang  wrote:
>
> On 2022/8/12 11:07, Bruce Ashfield wrote:
> > [Please note: This e-mail is from an EXTERNAL e-mail address]
> >
> > In message: [linux-yocto] [linux-yocto std/rt kernel v5.15]: nxp-s32g: 
> > drivers: serdes: use get_lane_id() to get the right id for
> > on 09/08/2022 Zhantao Tang wrote:
> >
> >> Hi Bruce,
> >>
> >> Would you please help merge the patch to the branches?
> >>  v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g
> >>  v5.15/standard/nxp-sdk-5.10/nxp-s32g
> > merged.
>
> Hi Bruce,
>
>
> I just check the commit log of the above nxp-s32g branches, but did not
> find the commit for
>
> "nxp-s32g: drivers: serdes: use get_lane_id() to get the right id for",
> like following:
>
> > $ git remote -v
> > originhttps://git.yoctoproject.org/git/linux-yocto (fetch)
> > originhttps://git.yoctoproject.org/git/linux-yocto (push)
> > $ git log --oneline
> > ad8f6fd69353 (HEAD -> v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g,
> > origin/v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g) Revert "nft:
> > add configs for greater nftables coverage"
> > ee7baf33b698 nft: add configs for greater nftables coverage
> > 25c0f2519717 Merge branch 'v5.15/standard/base' into
> > v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g
> > efe20512212b (origin/v5.15/standard/base) init/Kconfig: fix
> > CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
> > 68861ab8b634 Merge branch 'v5.15/standard/base' into
> > v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g
> > 085e50e42da1 Merge tag 'v5.15.59' into v5.15/standard/base
> > d676d6149a2f (tag: v5.15.59, origin/v5.15/base) Linux 5.15.59
> > f0e42e43795d x86/bugs: Do not enable IBPB at firmware entry when IBPB
> > is not available
> > d10e819d13f7 locking/rwsem: Allow slowpath writer to ignore handoff
> > bit if not set by first waiter
> > 66d31cef4806 docs/kernel-parameters: Update descriptions for
> > "mitigations=" param with retbleed
> > 7bada8b0bdf1 EDAC/ghes: Set the DIMM label unconditionally
> > 30dc2effc74a ARM: 9216/1: Fix MAX_DMA_ADDRESS overflow
> > 86e83233dd01 page_alloc: fix invalid watermark check on a negative value
> > 51a772c34ea4 mm/hmm: fault non-owner device private entries
> > 350fcb5e7bbb ARM: crypto: comment out gcc warning that breaks clang builds
> > e796e1fe20ec sctp: leave the err path free in sctp_stream_init to
> > sctp_stream_free
> > f7c2a9c5435a sfc: disable softirqs for ptp TX
>
> Did I miss something?
>

This must have been where my scripts went bad and merged the
kernel-cache patch, instead of this one!

I'll queue this one and fix it shortly.

Bruce

>
> Thanks,
>
> Zhantao
>
> > Bruce
> >
> >> Thanks,
> >> Zhantao
>
>


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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11563): 
https://lists.yoctoproject.org/g/linux-yocto/message/11563
Mute This Topic: https://lists.yoctoproject.org/mt/92908429/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto std/rt kernel v5.15]: nxp-s32g: drivers: serdes: use get_lane_id() to get the right id for

2022-08-15 Thread Zhantao Tang

On 2022/8/12 11:07, Bruce Ashfield wrote:

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

In message: [linux-yocto] [linux-yocto std/rt kernel v5.15]: nxp-s32g: drivers: 
serdes: use get_lane_id() to get the right id for
on 09/08/2022 Zhantao Tang wrote:


Hi Bruce,

Would you please help merge the patch to the branches?
 v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g
 v5.15/standard/nxp-sdk-5.10/nxp-s32g

merged.


Hi Bruce,


I just check the commit log of the above nxp-s32g branches, but did not 
find the commit for


"nxp-s32g: drivers: serdes: use get_lane_id() to get the right id for", 
like following:



$ git remote -v
origin    https://git.yoctoproject.org/git/linux-yocto (fetch)
origin    https://git.yoctoproject.org/git/linux-yocto (push)
$ git log --oneline
ad8f6fd69353 (HEAD -> v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g, 
origin/v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g) Revert "nft: 
add configs for greater nftables coverage"

ee7baf33b698 nft: add configs for greater nftables coverage
25c0f2519717 Merge branch 'v5.15/standard/base' into 
v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g
efe20512212b (origin/v5.15/standard/base) init/Kconfig: fix 
CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
68861ab8b634 Merge branch 'v5.15/standard/base' into 
v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g

085e50e42da1 Merge tag 'v5.15.59' into v5.15/standard/base
d676d6149a2f (tag: v5.15.59, origin/v5.15/base) Linux 5.15.59
f0e42e43795d x86/bugs: Do not enable IBPB at firmware entry when IBPB 
is not available
d10e819d13f7 locking/rwsem: Allow slowpath writer to ignore handoff 
bit if not set by first waiter
66d31cef4806 docs/kernel-parameters: Update descriptions for 
"mitigations=" param with retbleed

7bada8b0bdf1 EDAC/ghes: Set the DIMM label unconditionally
30dc2effc74a ARM: 9216/1: Fix MAX_DMA_ADDRESS overflow
86e83233dd01 page_alloc: fix invalid watermark check on a negative value
51a772c34ea4 mm/hmm: fault non-owner device private entries
350fcb5e7bbb ARM: crypto: comment out gcc warning that breaks clang builds
e796e1fe20ec sctp: leave the err path free in sctp_stream_init to 
sctp_stream_free

f7c2a9c5435a sfc: disable softirqs for ptp TX


Did I miss something?


Thanks,

Zhantao


Bruce


Thanks,
Zhantao




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11562): 
https://lists.yoctoproject.org/g/linux-yocto/message/11562
Mute This Topic: https://lists.yoctoproject.org/mt/92908429/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto v5.15/standard/bcm-2xxx-rpi]: serial: pl011: fix building conflict caused by upgrading kernel

2022-08-15 Thread Bruce Ashfield
In message: [linux-yocto v5.15/standard/bcm-2xxx-rpi]: serial: pl011: fix 
building conflict caused by upgrading kernel
on 15/08/2022 Meng Li wrote:

> From: Limeng 
> 
> Hi Bruce,
> 
> This patch is used to fix building issue.
> 
> Could you please help to merge this patch into linux-yocto, branch is 
> v5.15/standard/bcm-2xxx-rpi?

merged.

Bruce

> 
> diffstat info as below:
> 
>  amba-pl011.c |   30 ++
>  1 file changed, 2 insertions(+), 28 deletions(-)
> 
> thanks,
> Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11561): 
https://lists.yoctoproject.org/g/linux-yocto/message/11561
Mute This Topic: https://lists.yoctoproject.org/mt/93032793/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [kernel-cache][yocto-5.15][PATCH v3] nft: add configs for greater nftables coverage

2022-08-15 Thread Bruce Ashfield
On Mon, Aug 15, 2022 at 2:12 AM He Zhe  wrote:
>
> Hi Bruce,
>
> This patch happened to be merged onto two branches in linux-yocto.
> https://git.yoctoproject.org/linux-yocto/commit/?h=v5.15/standard/nxp-sdk-5.10/nxp-s32g=a920167f0254ced8e1672e8b0c63fb49f6c3069b
> https://git.yoctoproject.org/linux-yocto/commit/?h=v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g=ee7baf33b698e9ef1900ad275c352f55cdbd8d26
>
> Which would cause the following build failure.
> | ERROR: could not process input files: ... features/netfilter/netfilter.scc 
> features/nf_tables/nft_test.scc ...
> | See /tmp/tmp.ownpBEhuml for details
> | ERROR: Could not generate configuration queue for aptiv_cvc_sousa.
>
> It should be reverted, or removed to not pollute commit log.

Wow. It looks like my scripts went a bit crazy during htat merge.

I'll fix it shortly.

Bruce

>
>
> Regards,
> Zhe
>
> On 8/12/22 11:05, Bruce Ashfield wrote:
> > merged.
> >
> > Bruce
> >
> > In message: [linux-yocto] [kernel-cache][yocto-5.15][PATCH v3] nft: add 
> > configs for greater nftables coverage
> > on 08/08/2022 Randy MacLeod wrote:
> >
> >> From: Randy MacLeod 
> >>
> >> Add an nft_test.scc file, which includes both nf_tables.cfg and a newly
> >> added nft_test.cfg file.
> >>
> >> The nft_test.scc file include nftables.scc and also enables more nftables 
> >> features.
> >>
> >> Previously some of the nftables ptests failed, due to missing kernel 
> >> modules.
> >> It's impossible to know which nftables features will be used so add more 
> >> configs
> >> in a new scc file to ensure that most nftables features used by nft work.
> >>
> >> The added features are:
> >>
> >> NF_CONNTRACK_TIMEOUT
> >>   enables support for connection tracking timeout extension.
> >>   This allows you to attach timeout policies to flow via the CT target.
> >>
> >> NFT_FLOW_OFFLOAD
> >>   adds the "flow_offload" expression that you can use to choose what flows
> >>   are placed into the hardware.
> >>
> >> NF_FLOW_TABLE
> >>   adds the flow table core infrastructure.
> >>
> >> NF_FLOW_TABLE_INET
> >>   adds the flow table mixed IPv4/IPv6 support.
> >>
> >> NF_FLOW_TABLE_IPV4
> >>   adds the flow table IPv4 support.
> >>
> >> NFT_NUMGEN
> >>   adds the number generator expression used to perform incremental
> >>   counting and random numbers bound to a upper limit.
> >>
> >> NFT_OSF
> >>   allows matching packets from an specific OS.
> >>
> >> NFT_QUOTA
> >>   adds the "quota" expression that you can use to match enforce bytes 
> >> quotas.
> >>
> >> NFT_SYNPROXY
> >>   The SYNPROXY expression allows you to intercept TCP connections and
> >>   establish them using syncookies before they are passed on to the
> >>   server. This allows to avoid conntrack and server resource usage
> >>   during SYN-flood attacks.
> >>
> >> NFT_XFRM
> >>   adds an expression that you can use to extract properties of a packets
> >>   security association.
> >>
> >> These additions enable the nftables-1.0.2 ptest to all pass.
> >>
> >> Signed-off-by: Aryaman Gupta 
> >> Signed-off-by: Randy MacLeod 
> >> ---
> >>  features/nf_tables/nft_test.cfg | 11 +++
> >>  features/nf_tables/nft_test.scc |  5 +
> >>  2 files changed, 16 insertions(+)
> >>  create mode 100644 features/nf_tables/nft_test.cfg
> >>  create mode 100644 features/nf_tables/nft_test.scc
> >>
> >> diff --git a/features/nf_tables/nft_test.cfg 
> >> b/features/nf_tables/nft_test.cfg
> >> new file mode 100644
> >> index ..5c5629c8
> >> --- /dev/null
> >> +++ b/features/nf_tables/nft_test.cfg
> >> @@ -0,0 +1,11 @@
> >> +CONFIG_NF_CONNTRACK_TIMEOUT=y
> >> +CONFIG_NF_FLOW_TABLE_INET=m
> >> +CONFIG_NF_FLOW_TABLE_IPV4=m
> >> +CONFIG_NF_FLOW_TABLE=m
> >> +CONFIG_NFT_FLOW_OFFLOAD=m
> >> +CONFIG_NFT_NUMGEN=m
> >> +CONFIG_NFT_OSF=m
> >> +CONFIG_NFT_QUOTA=m
> >> +CONFIG_NFT_SYNPROXY=m
> >> +CONFIG_NFT_XFRM=m
> >> +
> >> diff --git a/features/nf_tables/nft_test.scc 
> >> b/features/nf_tables/nft_test.scc
> >> new file mode 100644
> >> index ..8181c215
> >> --- /dev/null
> >> +++ b/features/nf_tables/nft_test.scc
> >> @@ -0,0 +1,5 @@
> >> +define KFEATURE_DESCRIPTION "Add extra nftables modules"
> >> +define KFEATURE_COMPATIBILITY all
> >> +
> >> +include nf_tables.cfg
> >> +include nft_test.cfg
> >> --
> >> 2.32.0
> >>
> >>
> >>
> >
> > 
> >
>


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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11560): 
https://lists.yoctoproject.org/g/linux-yocto/message/11560
Mute This Topic: https://lists.yoctoproject.org/mt/92901623/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [PATCH] serial: pl011: fix building conflict caused by upgrading kernel

2022-08-15 Thread Meng Li
After upgrading kernel, the commit 211565b10099("serial: pl011:
UPSTAT_AUTORTS requires .throttle/unthrottle") is involved from
mainline upstream. But it confilts with previous commit 0f0f7d7ea173
("tty: amba-pl011: Add un/throttle support") that is from SDK repo.
So, remove the SDK code and keep the upstream code to avoid the
building issue.

Signed-off-by: Meng Li 
---
 drivers/tty/serial/amba-pl011.c | 30 ++
 1 file changed, 2 insertions(+), 28 deletions(-)

diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index 602d11ed00b5..740389fa601b 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -1360,32 +1360,6 @@ static void pl011_start_tx(struct uart_port *port)
pl011_start_tx_pio(uap);
 }
 
-static void pl011_throttle(struct uart_port *port)
-{
-   struct uart_amba_port *uap =
-   container_of(port, struct uart_amba_port, port);
-   unsigned long flags;
-
-   spin_lock_irqsave(>port.lock, flags);
-   uap->im &= ~(UART011_RTIM | UART011_RXIM);
-   pl011_write(uap->im, uap, REG_IMSC);
-   spin_unlock_irqrestore(>port.lock, flags);
-}
-
-static void pl011_unthrottle(struct uart_port *port)
-{
-   struct uart_amba_port *uap =
-   container_of(port, struct uart_amba_port, port);
-   unsigned long flags;
-
-   spin_lock_irqsave(>port.lock, flags);
-   uap->im |= UART011_RTIM;
-   if (!pl011_dma_rx_running(uap))
-   uap->im |= UART011_RXIM;
-   pl011_write(uap->im, uap, REG_IMSC);
-   spin_unlock_irqrestore(>port.lock, flags);
-}
-
 static void pl011_stop_rx(struct uart_port *port)
 {
struct uart_amba_port *uap =
@@ -2310,8 +2284,8 @@ static const struct uart_ops amba_pl011_pops = {
.stop_tx= pl011_stop_tx,
.start_tx   = pl011_start_tx,
.stop_rx= pl011_stop_rx,
-   .throttle   = pl011_throttle,
-   .unthrottle = pl011_unthrottle,
+   .throttle   = pl011_throttle_rx,
+   .unthrottle = pl011_unthrottle_rx,
.enable_ms  = pl011_enable_ms,
.break_ctl  = pl011_break_ctl,
.startup= pl011_startup,
-- 
2.36.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11559): 
https://lists.yoctoproject.org/g/linux-yocto/message/11559
Mute This Topic: https://lists.yoctoproject.org/mt/93032794/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto] [linux-yocto v5.15/standard/bcm-2xxx-rpi]: serial: pl011: fix building conflict caused by upgrading kernel

2022-08-15 Thread Meng Li
From: Limeng 

Hi Bruce,

This patch is used to fix building issue.

Could you please help to merge this patch into linux-yocto, branch is 
v5.15/standard/bcm-2xxx-rpi?

diffstat info as below:

 amba-pl011.c |   30 ++
 1 file changed, 2 insertions(+), 28 deletions(-)

thanks,
Limeng

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11558): 
https://lists.yoctoproject.org/g/linux-yocto/message/11558
Mute This Topic: https://lists.yoctoproject.org/mt/93032793/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] do_install & RDEPENDS

2022-08-15 Thread Alexander Kanavin
It's hard to say what happens if we can't see your recipes. Can you
publish them?

Alex

On Mon, 15 Aug 2022 at 00:54, Gian Lorenzo Meocci  wrote:
>
> Inside the do_install I copy some files
> but it seems that bitbake set those files in the RDEPENS.
>
> In the log during the do_root_fs I see:
> Requires(post): ... mylib.so
>
> After that the commands fail with the error message:
>
> Problem: conflicting requests
>  - nothing provides mylib.so needed by mypackage-0.10.14r0.core2_64
>
> Is there a way to disable this behaviour?
>
> --
> GL
> https://www.meocci.it
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57842): https://lists.yoctoproject.org/g/yocto/message/57842
Mute This Topic: https://lists.yoctoproject.org/mt/93025764/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [kernel-cache][yocto-5.15][PATCH v3] nft: add configs for greater nftables coverage

2022-08-15 Thread He Zhe
Hi Bruce,

This patch happened to be merged onto two branches in linux-yocto.
https://git.yoctoproject.org/linux-yocto/commit/?h=v5.15/standard/nxp-sdk-5.10/nxp-s32g=a920167f0254ced8e1672e8b0c63fb49f6c3069b
https://git.yoctoproject.org/linux-yocto/commit/?h=v5.15/standard/preempt-rt/nxp-sdk-5.10/nxp-s32g=ee7baf33b698e9ef1900ad275c352f55cdbd8d26

Which would cause the following build failure.
| ERROR: could not process input files: ... features/netfilter/netfilter.scc 
features/nf_tables/nft_test.scc ...
| See /tmp/tmp.ownpBEhuml for details
| ERROR: Could not generate configuration queue for aptiv_cvc_sousa.

It should be reverted, or removed to not pollute commit log.


Regards,
Zhe

On 8/12/22 11:05, Bruce Ashfield wrote:
> merged.
>
> Bruce
>
> In message: [linux-yocto] [kernel-cache][yocto-5.15][PATCH v3] nft: add 
> configs for greater nftables coverage
> on 08/08/2022 Randy MacLeod wrote:
>
>> From: Randy MacLeod 
>>
>> Add an nft_test.scc file, which includes both nf_tables.cfg and a newly
>> added nft_test.cfg file.
>>
>> The nft_test.scc file include nftables.scc and also enables more nftables 
>> features.
>>
>> Previously some of the nftables ptests failed, due to missing kernel modules.
>> It's impossible to know which nftables features will be used so add more 
>> configs
>> in a new scc file to ensure that most nftables features used by nft work.
>>
>> The added features are:
>>
>> NF_CONNTRACK_TIMEOUT
>>   enables support for connection tracking timeout extension.
>>   This allows you to attach timeout policies to flow via the CT target.
>>
>> NFT_FLOW_OFFLOAD
>>   adds the "flow_offload" expression that you can use to choose what flows
>>   are placed into the hardware.
>>
>> NF_FLOW_TABLE
>>   adds the flow table core infrastructure.
>>
>> NF_FLOW_TABLE_INET
>>   adds the flow table mixed IPv4/IPv6 support.
>>
>> NF_FLOW_TABLE_IPV4
>>   adds the flow table IPv4 support.
>>
>> NFT_NUMGEN
>>   adds the number generator expression used to perform incremental
>>   counting and random numbers bound to a upper limit.
>>
>> NFT_OSF
>>   allows matching packets from an specific OS.
>>
>> NFT_QUOTA
>>   adds the "quota" expression that you can use to match enforce bytes quotas.
>>
>> NFT_SYNPROXY
>>   The SYNPROXY expression allows you to intercept TCP connections and
>>   establish them using syncookies before they are passed on to the
>>   server. This allows to avoid conntrack and server resource usage
>>   during SYN-flood attacks.
>>
>> NFT_XFRM
>>   adds an expression that you can use to extract properties of a packets
>>   security association.
>>
>> These additions enable the nftables-1.0.2 ptest to all pass.
>>
>> Signed-off-by: Aryaman Gupta 
>> Signed-off-by: Randy MacLeod 
>> ---
>>  features/nf_tables/nft_test.cfg | 11 +++
>>  features/nf_tables/nft_test.scc |  5 +
>>  2 files changed, 16 insertions(+)
>>  create mode 100644 features/nf_tables/nft_test.cfg
>>  create mode 100644 features/nf_tables/nft_test.scc
>>
>> diff --git a/features/nf_tables/nft_test.cfg 
>> b/features/nf_tables/nft_test.cfg
>> new file mode 100644
>> index ..5c5629c8
>> --- /dev/null
>> +++ b/features/nf_tables/nft_test.cfg
>> @@ -0,0 +1,11 @@
>> +CONFIG_NF_CONNTRACK_TIMEOUT=y
>> +CONFIG_NF_FLOW_TABLE_INET=m
>> +CONFIG_NF_FLOW_TABLE_IPV4=m
>> +CONFIG_NF_FLOW_TABLE=m
>> +CONFIG_NFT_FLOW_OFFLOAD=m
>> +CONFIG_NFT_NUMGEN=m
>> +CONFIG_NFT_OSF=m
>> +CONFIG_NFT_QUOTA=m
>> +CONFIG_NFT_SYNPROXY=m
>> +CONFIG_NFT_XFRM=m
>> +
>> diff --git a/features/nf_tables/nft_test.scc 
>> b/features/nf_tables/nft_test.scc
>> new file mode 100644
>> index ..8181c215
>> --- /dev/null
>> +++ b/features/nf_tables/nft_test.scc
>> @@ -0,0 +1,5 @@
>> +define KFEATURE_DESCRIPTION "Add extra nftables modules"
>> +define KFEATURE_COMPATIBILITY all
>> +
>> +include nf_tables.cfg
>> +include nft_test.cfg
>> -- 
>> 2.32.0
>>
>>
>>
>
> 
>


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11557): 
https://lists.yoctoproject.org/g/linux-yocto/message/11557
Mute This Topic: https://lists.yoctoproject.org/mt/92901623/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] question about PREFERRED_RPROVIDER

2022-08-15 Thread John Wang
I did as Richard suggested, It worked as expected now

feature-public.bb or feature-private.bb:
SRC_URI = "git://public or git://private"

PROVIDES +=  "virtual/feature"
RPROVIDES:${PN} += " \
virtual-feature \
"

machine.conf:
PREFERRED_PROVIDER_virtual/feature = "feature-public"


Khem Raj  于2022年8月13日周六 22:11写道:
>
> fetcher will try to get versions of recipes during parse phase and if
> your recipes are using AUTOREV they will try to poke at git server for
> latest commit SHA
> are you using AUTOREV by chance ?

No,  and I will avoid to use AUTOREV, thank you

I checked the yocto-manual, and saw

If you use a virtual/\* item with PREFERRED_PROVIDER, then any recipe
that PROVIDES that item but is not selected (defined) by
PREFERRED_PROVIDER is prevented from building, which is usually
desirable since this mechanism is designed to select between mutually
exclusive alternative providers[1].

Do you mean if I use AUTOREV, bitbake sill tries to fetch ?

And, I am confused about the "PREFERRED_RPROVIDER" ,  I saw someone
use this variable[2], but I cannot find any thing about it In the
manual [3]

[1] 
https://docs.yoctoproject.org/ref-manual/variables.html#term-PREFERRED_PROVIDER
[2] https://github.com/search?q=PREFERRED_RPROVIDER_virtual=code
[3] https://docs.yoctoproject.org/genindex.html#P

>
> On Sat, Aug 13, 2022 at 2:57 AM John Wang  wrote:
> >
> > Hi,
> >
> > There is a package with two versions, private and public.
> > But when I use the PREFERRED_RPROVIDER to select the public version,
> > bitbake still tries fetch the private one, and then bitabke terminates
> > because do_fetch fails (no permission)
> >
> > What I expect is that when I select the public repository version, it
> > should not fetch the private repository, am I right?
> > Or, should I not use the PREFERRED_RPROVIDER to select a public/private 
> > repo ?
> >
> > Could someone guide me :)
> >
> >
> > feature-public.bb
> >
> > ```
> > SRC_URI = "git://public"
> >
> > RPROVIDES:${PN} += " \
> > virtual-feature \
> > "
> > ```
> >
> > feature-private.bb
> >
> > ```
> > SRC_URI= "git://private"
> >
> > RPROVIDES:${PN} += " \
> > virtual-feature \
> > "
> > ```
> >
> >
> > machine.conf
> >
> > ```
> > PREFERRED_RPROVIDER_virtual-feature = "feature-public"
> > ```
> >
> > 
> >

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57841): https://lists.yoctoproject.org/g/yocto/message/57841
Mute This Topic: https://lists.yoctoproject.org/mt/92997258/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-