Re: [OE-Core][PATCH 1/4] testimage: create a list of failed test post actions

2024-02-20 Thread Alexis Lothoré via lists . openembedded . org
On 2/21/24 08:56, Richard Purdie wrote:
> On Wed, 2024-02-21 at 08:53 +0100, Alexis Lothoré wrote:
>> On 2/21/24 08:34, Richard Purdie wrote:
>>> On Tue, 2024-02-20 at 21:01 +0100, Alexis Lothoré via
>>> lists.openembedded.org wrote:
 From: Alexis Lothoré 
>>
>> [...]
>>
 +
 ##
 +# General post actions runner
 +
 ##
 +
 +def run_failed_tests_post_actions(d, tc):
 +    post_actions=[
 +    list_and_fetch_failed_tests_artifacts
 +    ]
 +
 +    for action in post_actions:
 +    action(d, tc)
>>>
>>> Rather than create a bbclass class of python functions, these
>>> should
>>> move to lib/oe and become a proper python library file?
>>
>> ACK, I will do that and create a proper python file for this.
>>
>>> Moving functions out of the class files is on my long term todo
>>> list so
>>> this seems like an idea opportunity.
>>
>> So should this series take the opportunity to move all already
>> existing python
>> functions from testimage to a lib ? I can certainly do that if that's
>> your point :)
> 
> I'm saying over time I think many of the python functions need to move.
> This close to feature freeze may not be the best time, I just wanted to
> give a clear view of my intent.
> 
> Sometimes the variable dependencies don't work the same way from the
> python library so we need to be careful.

Ok, thanks for the clarification. I will then only fix my series to not create a
new bbclass but a lib for now.

> Cheers,
> 
> Richard
> 
> 
> 

-- 
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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



Re: [OE-Core][PATCH 1/4] testimage: create a list of failed test post actions

2024-02-20 Thread Richard Purdie
On Wed, 2024-02-21 at 08:53 +0100, Alexis Lothoré wrote:
> On 2/21/24 08:34, Richard Purdie wrote:
> > On Tue, 2024-02-20 at 21:01 +0100, Alexis Lothoré via
> > lists.openembedded.org wrote:
> > > From: Alexis Lothoré 
> 
> [...]
> 
> > > +
> > > ##
> > > +# General post actions runner
> > > +
> > > ##
> > > +
> > > +def run_failed_tests_post_actions(d, tc):
> > > +    post_actions=[
> > > +    list_and_fetch_failed_tests_artifacts
> > > +    ]
> > > +
> > > +    for action in post_actions:
> > > +    action(d, tc)
> > 
> > Rather than create a bbclass class of python functions, these
> > should
> > move to lib/oe and become a proper python library file?
> 
> ACK, I will do that and create a proper python file for this.
> 
> > Moving functions out of the class files is on my long term todo
> > list so
> > this seems like an idea opportunity.
> 
> So should this series take the opportunity to move all already
> existing python
> functions from testimage to a lib ? I can certainly do that if that's
> your point :)

I'm saying over time I think many of the python functions need to move.
This close to feature freeze may not be the best time, I just wanted to
give a clear view of my intent.

Sometimes the variable dependencies don't work the same way from the
python library so we need to be careful.

Cheers,

Richard




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



Re: [OE-Core][PATCH 1/4] testimage: create a list of failed test post actions

2024-02-20 Thread Alexis Lothoré via lists . openembedded . org
Hello Richard,

On 2/21/24 08:34, Richard Purdie wrote:
> On Tue, 2024-02-20 at 21:01 +0100, Alexis Lothoré via
> lists.openembedded.org wrote:
>> From: Alexis Lothoré 

[...]

>> +##
>> +# General post actions runner
>> +##
>> +
>> +def run_failed_tests_post_actions(d, tc):
>> +    post_actions=[
>> +    list_and_fetch_failed_tests_artifacts
>> +    ]
>> +
>> +    for action in post_actions:
>> +    action(d, tc)
> 
> Rather than create a bbclass class of python functions, these should
> move to lib/oe and become a proper python library file?

ACK, I will do that and create a proper python file for this.

> Moving functions out of the class files is on my long term todo list so
> this seems like an idea opportunity.

So should this series take the opportunity to move all already existing python
functions from testimage to a lib ? I can certainly do that if that's your 
point :)

-- 
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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



Re: [OE-Core][PATCH 1/4] testimage: create a list of failed test post actions

2024-02-20 Thread Richard Purdie
On Tue, 2024-02-20 at 21:01 +0100, Alexis Lothoré via
lists.openembedded.org wrote:
> From: Alexis Lothoré 
> 
> testimage is able to detect whenever a test run leads to some tests
> failing, and execute some actions in this case. The only action
> currently
> defined in such case is to retrieve artifacts from the target under
> test,
> as listed in TESTIMAGE_FAILED_QA_ARTIFACTS
> 
> In order to be able to add multiple actions, define a central
> function to
> gather all "post actions" to run whenever a test has failed
> (run_failed_tests_post_actions). This function contains a table
> listing all
> functions to be called whenever a test fails. Any function in this
> table
> will be provided with bitbake internal data dictionary ("d") and the
> current runtime testing context ("tc"). Isolate all this feature in a
> dedicated bbclass file inherited by testimage.
> This patch does not bring any functional change.
> 
> Signed-off-by: Alexis Lothoré 
> ---
>  .../failed-tests-post-actions.bbclass | 64
> +++
>  meta/classes-recipe/testimage.bbclass | 42 +---
>  2 files changed, 66 insertions(+), 40 deletions(-)
>  create mode 100644 meta/classes-recipe/failed-tests-post-
> actions.bbclass
> 
> diff --git a/meta/classes-recipe/failed-tests-post-actions.bbclass
> b/meta/classes-recipe/failed-tests-post-actions.bbclass
> new file mode 100644
> index ..7c7d3391298f
> --- /dev/null
> +++ b/meta/classes-recipe/failed-tests-post-actions.bbclass
> @@ -0,0 +1,64 @@
> +#
> +# Copyright OpenEmbedded Contributors
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +
> +
> +##
> +# Artifacts retrieval
> +##
> +
> +def get_artifacts_list(target, raw_list):
> +    result = []
> +    # Passed list may contains patterns in paths, expand them
> directly on target
> +    for raw_path in raw_list.split():
> +    cmd = f"for p in {raw_path}; do if [ -e $p ]; then echo $p;
> fi; done"
> +    try:
> +    status, output = target.run(cmd)
> +    if status != 0 or not output:
> +    raise Exception()
> +    result += output.split()
> +    except:
> +    bb.note(f"No file/directory matching path {raw_path}")
> +
> +    return result
> +
> +def retrieve_test_artifacts(target, artifacts_list, target_dir):
> +    import shutil
> +
> +    local_artifacts_dir = os.path.join(target_dir, "artifacts")
> +    if os.path.isdir(local_artifacts_dir):
> +    shutil.rmtree(local_artifacts_dir)
> +
> +    os.makedirs(local_artifacts_dir)
> +    for artifact_path in artifacts_list:
> +    if not os.path.isabs(artifact_path):
> +    bb.warn(f"{artifact_path} is not an absolute path")
> +    continue
> +    try:
> +    dest_dir = os.path.join(local_artifacts_dir,
> os.path.dirname(artifact_path[1:]))
> +    os.makedirs(dest_dir, exist_ok=True)
> +    target.copyFrom(artifact_path, dest_dir)
> +    except Exception as e:
> +    bb.warn(f"Can not retrieve {artifact_path} from test
> target: {e}")
> +
> +def list_and_fetch_failed_tests_artifacts(d, tc):
> +    artifacts_list = get_artifacts_list(tc.target,
> d.getVar("TESTIMAGE_FAILED_QA_ARTIFACTS"))
> +    if not artifacts_list:
> +    bb.warn("Could not load artifacts list, skip artifacts
> retrieval")
> +    else:
> +    retrieve_test_artifacts(tc.target, artifacts_list,
> get_testimage_json_result_dir(d))
> +
> +
> +##
> +# General post actions runner
> +##
> +
> +def run_failed_tests_post_actions(d, tc):
> +    post_actions=[
> +    list_and_fetch_failed_tests_artifacts
> +    ]
> +
> +    for action in post_actions:
> +    action(d, tc)

Rather than create a bbclass class of python functions, these should
move to lib/oe and become a proper python library file?

Moving functions out of the class files is on my long term todo list so
this seems like an idea opportunity.

Cheers,

Richard

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



[OE-core][PATCH] systemd-systemctl: fix dead loop when multi services enable each other

2024-02-20 Thread Xiangyu Chen
From: Xiangyu Chen 

libvirt has added a feature that all sockets for a service being enabled when a 
single
one of them is enabled since 9.9.x[1], it likes serviceA enable serviceB, 
serviceB enable
serviceA, that cause our systemctl script trap into a dead loop in postinstall 
stage,
the error message as below:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 722, in __str__
return self._str
AttributeError: _str

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable
SystemdUnit(self.root, also).enable(unit)
  File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable
SystemdUnit(self.root, also).enable(unit)
  File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable
SystemdUnit(self.root, also).enable(unit)
  [Previous line repeated 988 more times]
..
RecursionError: maximum recursion depth exceeded while calling a Python object

Here using an array to record the services which has been enabled to filter the 
duplicates.

Ref:
[1] 
https://github.com/libvirt/libvirt/commit/826931e95a38af8322f8ad069dc89117c6404a00

Signed-off-by: Xiangyu Chen 
---
 meta/recipes-core/systemd/systemd-systemctl/systemctl | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd-systemctl/systemctl 
b/meta/recipes-core/systemd/systemd-systemctl/systemctl
index 7fe751b397..2229bc7b6d 100755
--- a/meta/recipes-core/systemd/systemd-systemctl/systemctl
+++ b/meta/recipes-core/systemd/systemd-systemctl/systemctl
@@ -209,7 +209,7 @@ class SystemdUnit():
 except KeyError:
 pass
 
-def enable(self, caller_unit=None):
+def enable(self, units_enabled=[]):
 # if we're enabling an instance, first extract the actual instance
 # then figure out what the template unit is
 template = re.match(r"[^@]+@(?P[^\.]*)\.", self.unit)
@@ -248,8 +248,9 @@ class SystemdUnit():
 try:
 for also in config.get('Install', 'Also'):
 try:
-if caller_unit != also:
-SystemdUnit(self.root, also).enable(unit)
+ units_enabled.append(unit)
+ if also not in units_enabled:
+SystemdUnit(self.root, also).enable(units_enabled)
 except SystemdUnitNotFoundError as e:
 sys.exit("Error: Systemctl also enable issue with  %s 
(%s)" % (service, e.unit))
 
-- 
2.34.1


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



Re: [OE-core] [PATCH] sanity.bbclass: raise_sanity_error if /tmp is noexec

2024-02-20 Thread Chen Qi via lists.openembedded.org

Hi Michal,

I just noticed the change. I can't find the V2 in my mailbox, so I'm 
going to reply here.
I'm a little concerned about forcing such requirement here. It does not 
seem *necessary*.
As far as I know, the whole oe-core does not need /tmp to be exec. The 
commit message says 'old meson', this means the current version of meson 
works well, right?
Also, why is there 'no simple way to workaround'? Is the recipe 
hardcoding '/tmp' instead of using API or command? Does exporting TMPDIR 
work?

e.g.,
export TMPDIR="${B}/tmp"

Regards,
Qi

On 2/9/24 23:57, Ross Burton wrote:

On 9 Feb 2024, at 14:09, Michal Sieron via lists.openembedded.org 
 wrote:

+# Ensure /tmp is NOT mounted with noexec
+with open("/proc/mounts", "r") as f:
+for line in f:
+# format is described in fstab(5)
+_, fs_file, _, fs_mntops, *_ = line.split()
+
+# we only want to check /tmp
+if fs_file != "/tmp":
+continue
+
+# iterate through the options from the end
+for opt in reversed(fs_mntops.split(",")):
+if opt == "noexec":
+raise_sanity_error("/tmp shouldn't be mounted with 
noexec.", d)
+

Alternatively, this is neater:

os.statvfs("/tmp").f_flag & os.ST_NOEXEC

Ross






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



Re: [OE-core] [PATCH] cve-check: Modify judgment processing using "=" in version comparison

2024-02-20 Thread Yoann Congal
Hi,

Le 20/02/2024 à 06:03, Matsunaga-Shinji via lists.openembedded.org a écrit :
> Judgment processing of vulnerable using "=" compares characters as strings 
> rather than numbers,
> and misjudges "cases that do not match in strings but do match in numbers" as 
> "Patched".
> (e.g. PV = "1.2.0" and Vulnerabilities Affected Versions (registered with 
> NVD) = "1.2")
> 
> Therefore, if the comparison operator used in the judgment processing of 
> vulnerable is "=",
> add numeric comparison processing.
> 
> Signed-off-by: Shinji Matsunaga 
> Signed-off-by: Shunsuke Tokumoto 
> ---
>  meta/classes/cve-check.bbclass | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass
> index 5191d04303..086d87687f 100644
> --- a/meta/classes/cve-check.bbclass
> +++ b/meta/classes/cve-check.bbclass
> @@ -375,6 +375,7 @@ def check_cves(d, patched_cves):
>  try:
>  vulnerable_start =  (operator_start == '>=' and 
> Version(pv,suffix) >= Version(version_start,suffix))
>  vulnerable_start |= (operator_start == '>' and 
> Version(pv,suffix) > Version(version_start,suffix))
> +vulnerable_start |= (operator_start == '=' and 
> Version(pv,suffix) == Version(version_start,suffix))
>  except:
>  bb.warn("%s: Failed to compare %s %s %s for %s" %
>  (product, pv, operator_start, 
> version_start, cve))

As far as I can tell, this patch is the same that was:
* merged in commit 291bc9e96a1f ("cve-check: Modify judgment processing using 
"=" in version comparison")
* and reverted in commit 028b6f62263c ("Revert "cve-check: Modify judgment 
processing using "=" in version comparison"")
(poky.git SHA1s)

I am not a maintainer but I whould say that you need to adress the warnings in 
the revert commit message:
>  This change introduced a warning if version comparisons failed, but this is 
> far too common an issue in data that we don't control, so this shouldn't 
> cause a warning:
> 
> WARNING: automake-native-1.16.5-r0 do_cve_check: automake: Failed to compare 
> 1.16.5 = branch_1-9 for CVE-2009-4029
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m1 for CVE-2010-4539
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m2 for CVE-2010-4539
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m3 for CVE-2010-4539
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m4\/m5 for CVE-2010-4539
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m1 for CVE-2010-4644
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m2 for CVE-2010-4644
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m3 for CVE-2010-4644
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m4\/m5 for CVE-2010-4644
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m1 for CVE-2011-0715
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m2 for CVE-2011-0715
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m3 for CVE-2011-0715
> WARNING: subversion-1.14.2-r0 do_cve_check: subversion: Failed to compare 
> 1.14.2 = m4\/m5 for CVE-2011-0715
> WARNING: automake-1.16.5-r0 do_cve_check: automake: Failed to compare 1.16.5 
> = branch_1-9 for CVE-2009-4029
> WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = 
> pre0.59s for CVE-2003-0577
> WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = 
> pre0.59s for CVE-2004-0982
> WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = 
> pre0.59s for CVE-2004-1284
> WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = 
> pre0.59s_r11 for CVE-2006-3355
> WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = 
> pre0.59s for CVE-2007-0578
> WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = 
> pre0.59s_r11 for CVE-2007-0578
> WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = 
> pre0.59s for CVE-2009-1301
> WARNING: mpg123-1.32.3-r0 do_cve_check: mpg123: Failed to compare 1.32.3 = 
> pre0.59s_r11 for CVE-2009-1301

Regards,
-- 
Yoann Congal
Smile ECS - Tech Expert

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#195956): 
https://lists.openembedded.org/g/openembedded-core/message/195956
Mute This Topic: https://lists.openembedded.org/mt/104462613/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 

[OE-core][dunfell 5/5] linux-yocto/5.4: update to v5.4.268

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

f0602893f43a Linux 5.4.268
5ff9836ab0f6 arm64: dts: armada-3720-turris-mox: set irq type for RTC
300a55a3a6d4 perf top: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is 
not set
ea5587946a15 i2c: s3c24xx: fix transferring more than one message in 
polling mode
90734f1cdee8 i2c: s3c24xx: fix read transfers in polling mode
05b6d0234a37 mlxsw: spectrum_acl_erp: Fix error flow of pool allocation 
failure
d5661f46c11d kdb: Fix a potential buffer overflow in kdb_local()
cf6260a34d28 kdb: Censor attempts to set PROMPT without ENABLE_MEM_READ
36b6db699c03 ipvs: avoid stat macros calls from preemptible context
4c8a827d68ba netfilter: nf_tables: skip dead set elements in netlink dump
db9fda526c8d net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
8efe3e8a6c4c net: ravb: Fix dma_addr_t truncation in error case
f7a153e3ac41 net: phy: micrel: populate .soft_reset for KSZ9131
02467ab8b404 net: qualcomm: rmnet: fix global oob in rmnet_policy
5b58cfcd4ce1 s390/pci: fix max size calculation in zpci_memcpy_toio()
14a7e3a0d099 PCI: keystone: Fix race condition when initializing PHYs
40d171ef2389 nvmet-tcp: Fix the H2C expected PDU len calculation
258dccd67ba0 serial: imx: Correct clock error message in function probe()
1d8e62b5569c apparmor: avoid crash when parsed profile name is empty
4cd5db4fc46c perf env: Avoid recursively taking env->bpf_progs.lock
f19a1cb1f9f4 perf bpf: Decouple creating the evlist from adding the SB event
739b800279d0 perf top: Move sb_evlist to 'struct perf_top'
2d59b6ed998d perf record: Move sb_evlist to 'struct record'
14a9769a769e perf env: Add perf_env__numa_node()
9638beb4e10a nvmet-tcp: fix a crash in nvmet_req_complete()
ee5e7632e981 nvmet-tcp: Fix a kernel panic when host sends an invalid H2C 
PDU length
887ab0a444f0 perf genelf: Set ELF program header addresses properly
ed903eeb4e2e software node: Let args be NULL in 
software_node_get_reference_args
dbb71ba53146 acpi: property: Let args be NULL in 
__acpi_node_get_property_reference
b502fb43f7fb serial: 8250: omap: Don't skip resource freeing if 
pm_runtime_resume_and_get() failed
d8003fdcc66c MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()
93a7b8d4338b MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()
fa873e90301c mips: Fix incorrect max_low_pfn adjustment
b419fe1180f7 HID: wacom: Correct behavior when processing some confidence 
== false touches
f7a92bec8eea x86/kvm: Do not try to disable kvmclock if it was not enabled
1d6d95aaa692 wifi: mwifiex: configure BSSID consistently when starting AP
249b78dbb154 wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors
c22b4f159b27 wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable 
code
b33a30358826 rootfs: Fix support for rootfstype= when root= is given
02bd78673b65 fbdev: flush deferred work in fb_deferred_io_fsync()
7cfc97d1ec3f ALSA: oxygen: Fix right channel of capture volume mixer
85f6a6590dcf usb: mon: Fix atomicity violation in mon_bin_vma_fault
14e60d584a42 usb: typec: class: fix typec_altmode_put_partner to put plugs
94f2aa8145f4 Revert "usb: typec: class: fix typec_altmode_put_partner to 
put plugs"
a05ebd577979 usb: chipidea: wait controller resume finished for wakeup irq
d9c8275c5960 Revert "usb: dwc3: don't reset device side if dwc3 was 
configured as host-only"
548a00780d34 Revert "usb: dwc3: Soft reset phy on probe for host"
c145217af8bf usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart
5d5d9827016a usb: phy: mxs: remove CONFIG_USB_OTG condition for 
mxs_phy_is_otg_host()
29032c8e3e31 tick-sched: Fix idle and iowait sleeptime accounting vs CPU 
hotplug
5c3d4930c7b7 binder: fix unused alloc->free_async_space
252a2a5569eb binder: fix race between mmput() and do_exit()
4404c2b832cf xen-netback: don't produce zero-size SKB frags
ee4e9c59 Revert "ASoC: atmel: Remove system clock tree configuration 
for at91sam9g20ek"
01fe1b7bb0aa Input: atkbd - use ab83 as id when skipping the getid command
a53e15e592b4 binder: fix use-after-free in shinker's callback
fc1119a3c65d binder: fix async space check for 0-sized buffers
1b7c039260ce of: unittest: Fix of_count_phandle_with_args() expected value 
message
a0a061151a62 of: Fix double free in of_parse_phandle_with_args_map
a9de8a4f52ff mmc: sdhci_omap: Fix TI SoC dependencies
b8bbe3354419 clk: si5341: fix an error code problem in 
si5341_output_clk_set_rate
4810cce02967 watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling
11a64041d921 watchdog/hpwdt: Only claim UNKNOWN NMI if from iLO
0d5685c13d55 watchdog: set cdev owner before adding
777aa44f63fa drivers: clk: zynqmp: calculate closest mux 

[OE-core][dunfell 4/5] linux-yocto/5.4: update to v5.4.267

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

9153fc966495 Linux 5.4.267
69ef165176a3 ASoC: meson: codec-glue: fix pcm format cast warning
584756c3d75a ipv6: remove max_size check inline with ipv4
66b3025202b4 ipv6: make ip6_rt_gc_expire an atomic_t
ae424c848db6 net/dst: use a smaller percpu_counter batch for dst entries 
accounting
7b3a9c2bf315 PCI: Disable ATS for specific Intel IPU E2000 devices
c6141c49bc80 PCI: Extract ATS disabling to a helper function
8711fa0c06d4 netfilter: nf_tables: Reject tables of unsupported family
c67bf30baf26 net: tls, update curr on splice as well
c2d9b438554e ath10k: Get rid of "per_ce_irq" hw param
d15f869cb3b3 ath10k: Keep track of which interrupts fired, don't poll them
696b992edc7e ath10k: Add interrupt summary based CE processing
366df9ecbcb8 ath10k: Wait until copy complete is actually done before 
completing
c4541e39808e mmc: sdhci-sprd: Fix eMMC init failure after hw reset
a9c9ffcd217b mmc: core: Cancel delayed work before releasing host
bfc3720ca8d0 mmc: rpmb: fixes pause retune on all RPMB partitions.
77359c497305 mm: fix unmap_mapping_range high bits shift bug
5af5e946c4dd i2c: core: Fix atomic xfer check for non-preempt config
d8ec24d79db1 firewire: ohci: suppress unexpected system reboot in AMD Ryzen 
machines and ASM108x/VT630x PCIe cards
85015a96bc24 mm/memory-failure: check the mapcount of the precise page
3d8fab93ca98 net: Implement missing SO_TIMESTAMPING_NEW cmsg support
f7084217d945 bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
acfeb9039b17 asix: Add check for usbnet_get_endpoints
6c00721ad7aa net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
a4ea54c52828 net/qla3xxx: switch from 'pci_' to 'dma_' API
863ca421b4a7 i40e: Restore VF MSI-X state during PCI reset
01c2d73ae2dd ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux
bdc00b8c3afe ASoC: meson: g12a-tohdmitx: Validate written enum values
fe2d1dda1db4 ASoC: meson: g12a: extract codec-to-codec utils
93d80aadc02e i40e: fix use-after-free in i40e_aqc_add_filters()
b40828a2ab57 net: Save and restore msg_namelen in sock_sendmsg
68c8fdb9f9c8 net: bcmgenet: Fix FCS generation for fragmented skbuffs
4c0fa624a693 ARM: sun9i: smp: Fix array-index-out-of-bounds read in 
sunxi_mc_smp_init
c1556217ff6f net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestamps
2cdb65084824 can: raw: add support for SO_MARK
96a6d1bb28ed can: raw: add support for SO_TXTIME/SCM_TXTIME
b1719cbb733e net: sched: em_text: fix possible memory leak in 
em_text_destroy()
ef4fd7518c6e i40e: Fix filter input checks to prevent config with invalid 
values
65c6ef02ff26 nfc: llcp_core: Hold a ref to llcp_local->dev when holding a 
ref to llcp_local

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.4.bb   |  4 ++--
 .../linux/linux-yocto-tiny_5.4.bb |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 20 +--
 3 files changed, 15 insertions(+), 15 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 72fa7b91184..44278cb2a49 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
@@ -11,13 +11,13 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "b587a3fecb37c3e198592a5733ce23cd8a33f6fc"
+SRCREV_machine ?= "36f355fd2c80860745565b2e5bd293d35a645b86"
 SRCREV_meta ?= "8ce0cca5a5a2895ef024bee2daff56c5e846c3bc"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.4.266"
+LINUX_VERSION ?= "5.4.267"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb
index 023b9fe9e1e..abc7ecad064 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.4.266"
+LINUX_VERSION ?= "5.4.267"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,8 +15,8 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine_qemuarm ?= "da07f26ba47c365237459233a85f398599677b28"
-SRCREV_machine ?= "65fdb0d3fc750b89ed2ad3268d346765a7131094"
+SRCREV_machine_qemuarm ?= 

[OE-core][dunfell 3/5] linux-yocto/5.4: update to v5.4.266

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

4410df70110f Linux 5.4.266
7d0f1fd80ad6 block: Don't invalidate pagecache for invalid falloc modes
a0678f504758 ring-buffer: Fix wake ups when buffer_percent is set to 100
508e2fdd978e smb: client: fix OOB in smbCalcSize()
644b956c946a usb: fotg210-hcd: delete an incorrect bounds test
a56a19e44b17 x86/alternatives: Sync core before enabling interrupts
4111986fb90e net: rfkill: gpio: set GPIO direction
5c375a83d1f9 net: 9p: avoid freeing uninit memory in p9pdu_vreadf
4e7f3899fb81 Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has 
been sent
a83debb52310 USB: serial: option: add Quectel RM500Q R13 firmware support
c82ba4cb44d1 USB: serial: option: add Foxconn T99W265 with new baseline
1f87ba56c43d USB: serial: option: add Quectel EG912Y module support
a59cb26bc188 USB: serial: ftdi_sio: update Actisense PIDs constant names
a70b1933fa54 wifi: cfg80211: fix certs build to not depend on file order
e8fb00205144 wifi: cfg80211: Add my certificate
8717fd6d0c30 iio: adc: ti_am335x_adc: Fix return value check of 
tiadc_request_dma()
45af72f149a8 iio: common: ms_sensors: ms_sensors_i2c: fix humidity 
conversion time table
4257c16c149d scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
e1b31edfe7d3 Input: ipaq-micro-keys - add error handling for devm_kmemdup
a85d6aa2b555 iio: imu: inv_mpu6050: fix an error code problem in 
inv_mpu6050_read_raw
388c90c577d7 interconnect: Treat xlate() returning NULL node as an error
04c22233447d btrfs: do not allow non subvolume root targets for snapshot
3230a69e663b smb: client: fix NULL deref in asn1_ber_decoder()
0ccb39511a7f ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
6bcf819198d9 ALSA: hda/hdmi: Add quirk to force pin connectivity on NUC10
34e6c4c6a985 pinctrl: at91-pio4: use dedicated lock class for IRQ
624659563e26 i2c: aspeed: Handle the coalesced stop conditions with the 
start conditions.
47ae5242292d afs: Fix overwriting of result of DNS query
c04b7b28c9f0 net: check dev->gso_max_size in gso_features_check()
761ee09e9f5d net: warn if gso_type isn't set for a GSO SKB
eec7ef60d297 afs: Fix dynamic root lookup DNS check
82d64cbe487c afs: Fix the dynamic root's d_delete to always delete unused 
dentries
2b4600fb6967 net: check vlan filter feature in vlan_vids_add_by_dev() and 
vlan_vids_del_by_dev()
b10265532df7 net/rose: fix races in rose_kill_by_device()
ed4cb8a42ce9 ethernet: atheros: fix a memleak in atl1e_setup_ring_resources
3f82a6a6d7ee net: sched: ife: fix potential use-after-free
f48e3337ab0b net/mlx5e: Correct snprintf truncation handling for fw_version 
buffer used by representors
d07ef3a87064 net/mlx5: Fix fw tracer first block check
a46bb28fdbdf net/mlx5: improve some comments
333fd1095584 Revert "net/mlx5e: fix double free of encap_header"
7bd305f5f262 wifi: mac80211: mesh_plink: fix matches_local logic
76366b399a02 s390/vx: fix save/restore of fpu kernel context
f40d484e1614 reset: Fix crash when freeing non-existent optional resets
14d915ca5ae3 ARM: OMAP2+: Fix null pointer dereference and memory leak in 
omap_soc_device_init
62ef5887dd45 ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE
35e12efde04d ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.4.bb   |  6 ++---
 .../linux/linux-yocto-tiny_5.4.bb |  8 +++
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 22 +--
 3 files changed, 18 insertions(+), 18 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 44b239c4173..72fa7b91184 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
@@ -11,13 +11,13 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "db182d9363866b9d174eecbdd86de24d70be"
-SRCREV_meta ?= "a1399e88272ab04a7748051822d5b16b9b1d3f9c"
+SRCREV_machine ?= "b587a3fecb37c3e198592a5733ce23cd8a33f6fc"
+SRCREV_meta ?= "8ce0cca5a5a2895ef024bee2daff56c5e846c3bc"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.4.265"
+LINUX_VERSION ?= "5.4.266"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb
index 164b86d71af..023b9fe9e1e 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb
+++ 

[OE-core][dunfell 1/5] linux-yocto/5.4: update to v5.4.264

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

16e6e107a688 Linux 5.4.264
06bcac5c5151 devcoredump: Send uevent once devcd is ready
c6a1282e530d devcoredump : Serialize devcd_del work
d99376b70247 smb: client: fix potential NULL deref in parse_dfs_referrals()
ab5813bb2071 cifs: Fix non-availability of dedup breaking generic/304
bdee8b2805b8 Revert "btrfs: add dmesg output for first mount and last 
unmount of a filesystem"
dd9e851944aa tools headers UAPI: Sync linux/perf_event.h with the kernel 
sources
4a341627a109 drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" 
group
fe8402511ed8 psample: Require 'CAP_NET_ADMIN' when joining "packets" group
263bffd2b6aa genetlink: add CAP_NET_ADMIN test for multicast bind
a149fbadb9be netlink: don't call ->netlink_bind with table lock held
18824f592aad io_uring/af_unix: disable sending io_uring over sockets
32f4536c108f nilfs2: fix missing error check for sb_set_blocksize call
77a353924d8f KVM: s390/mm: Properly reset no-dat
1aee33d43d6c x86/CPU/AMD: Check vendor in the AMD microcode callback
3371eac21119 serial: 8250_omap: Add earlycon support for the AM654 UART 
controller
ce79cf407c64 serial: sc16is7xx: address RX timeout interrupt errata
d896c47f8cfc ARM: PL011: Fix DMA support
880b035bc64e usb: typec: class: fix typec_altmode_put_partner to put plugs
a9022cbdd0ae parport: Add support for Brainboxes IX/UC/PX parallel cards
fefc0559c58e usb: gadget: f_hid: fix report descriptor allocation
1796ae6a7a8c mmc: sdhci-sprd: Fix vqmmc not shutting down after the card 
was pulled
a1f29e995fd7 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
05918dec9a1e gpiolib: sysfs: Fix error handling on failed export
152f51d159f3 perf: Fix perf_event_validate_size()
84ca356ec859 perf/core: Add a new read format to get a number of lost 
samples
07bdb1bd2476 arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node 
names
6109859f6982 arm64: dts: mediatek: mt7622: fix memory node warning check
148d8f0707fa packet: Move reference count in packet_sock to atomic_long_t
965cbc6b623a tracing: Fix a possible race when disabling buffered events
6f2e50961fe3 tracing: Fix incomplete locking when disabling buffered events
84302391d130 tracing: Always update snapshot buffer size
cb74e8fd6b2d nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
610ebc289582 ALSA: pcm: fix out-of-bounds in snd_pcm_state_names
439166b1b2ee ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt
4fe36f83f8d8 ARM: dts: imx: make gpt node name generic
69b669cc6389 ARM: imx: Check return value of devm_kasprintf in 
imx_mmdc_perf_init
59348f148235 scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
8244ea916bfe tracing: Fix a warning when allocating buffered events fails
4713be844546 ASoC: wm_adsp: fix memleak in wm_adsp_buffer_populate
febb7bbe290d hwmon: (acpi_power_meter) Fix 4.29 MW bug
ad4cf776678b RDMA/bnxt_re: Correct module description string
b4b89b7b2d4b bpf: sockmap, updating the sg structure should also update curr
70cc929f tcp: do not accept ACK of bytes we never sent
69431f609bf3 netfilter: xt_owner: Fix for unsafe access of sk->sk_socket
c61c61d7e7de net: hns: fix fake link up on xge port
1ec21fde58da ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()
e38cd53421ed arcnet: restoring support for multiple Sohard Arcnet cards
f26546731933 net: arcnet: com20020 fix error handling
d124c18267b1 net: arcnet: Fix RESET flag handling
9f5a25aa1bcc hv_netvsc: rndis_filter needs to select NLS
be1ab8bf0510 ipv6: fix potential NULL deref in fib6_add()
5cd05bbaaef4 of: dynamic: Fix of_reconfig_get_state_change() return value 
documentation
5cadae629e44 of: Add missing 'Return' section in kerneldoc comments
b31cb14cac85 of: Fix kerneldoc output formatting
36ce931a803b of: base: Fix some formatting issues and provide missing 
descriptions
8c4fcbe27a7a of/irq: Make of_msi_map_rid() PCI bus agnostic
ae374c57afeb of/irq: make of_msi_map_get_device_domain() bus agnostic
e5cfaab66295 of/iommu: Make of_map_rid() PCI agnostic
f7a85520087a ACPI/IORT: Make iort_msi_map_rid() PCI agnostic
da36a3ef32b4 ACPI/IORT: Make iort_get_device_domain IRQ domain agnostic
d786067be2eb of: base: Add of_get_cpu_state_node() to get idle states for a 
CPU node
13f27a05377d drm/amdgpu: correct chunk_ptr to a pointer to chunk.
d162a5e6a51d kconfig: fix memory leak from range properties
d34644153050 tg3: Increment tx_dropped in tg3_tso_bug()
cd49b8e07d01 tg3: Move the [rt]x_dropped counters to tg3_napi
427deb5ba566 netfilter: ipset: fix race condition between swap/destroy and 
kernel side add/del/test
54d0d83a5350 hrtimers: Push pending hrtimers away from outgoing CPU earlier

[OE-core][dunfell 2/5] linux-yocto/5.4: update to v5.4.265

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

2d21f73b2f16 Linux 5.4.265
5c70542f32af powerpc/ftrace: Fix stack teardown in ftrace_no_trace
0e1867b482b4 powerpc/ftrace: Create a dummy stackframe to fix stack unwind
9395c04666cc mmc: block: Be sure to wait while busy in CQE error recovery
3b8b2c5d7675 ring-buffer: Fix memory leak of free page
3459c9aa6495 team: Fix use-after-free when an option instance allocation 
fails
363a67ef3ada arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify
de8ada02369e ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS
f451d6784ba6 soundwire: stream: fix NULL pointer dereference for multi_link
404902216b88 perf: Fix perf_event_validate_size() lockdep splat
4109d9a855f2 HID: hid-asus: add const to read-only outgoing usb buffer
1fc4091991c5 net: usb: qmi_wwan: claim interface 4 for ZTE MF290
88ceaf8e2c61 asm-generic: qspinlock: fix queued_spin_value_unlocked() 
implementation
91175d6fe505 HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad
1f94c0d60d81 HID: hid-asus: reset the backlight brightness level on resume
e9a3cd3dcf3f HID: add ALWAYS_POLL quirk for Apple kb
395ad0baa4c1 platform/x86: intel_telemetry: Fix kernel doc descriptions
af509912cd7c bcache: avoid NULL checking to c->root in run_cache_set()
356ae9de79b7 bcache: add code comments for bch_btree_node_get() and 
__bch_btree_node_alloc()
ca4b00c6cb3d bcache: avoid oversize memory allocation by small stripe_size
e1d811cbc3de blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read 
lock required!"
84f2e5b3e70f usb: aqc111: check packet for fixup for true limit
619a34066614 Revert "PCI: acpiphp: Reassign resources on bridge if 
necessary"
371dbce60a46 ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 
variants
be7676b03aed cred: switch to using atomic_long_t
9112bd107208 appletalk: Fix Use-After-Free in atalk_ioctl
23ee06762c6f net: stmmac: Handle disabled MDIO busses from devicetree
538b7b8f21dc net: stmmac: use dev_err_probe() for reporting mdio bus 
registration failure
067e6ec9f530 vsock/virtio: Fix unsigned integer wrap around in 
virtio_transport_has_space()
cc7cf0b2ee60 sign-file: Fix incorrect return values check
510d45207ae1 net: Remove acked SYN flag from packet in the transmit queue 
correctly
5d9d500a2811 qed: Fix a potential use-after-free in qed_cxt_tables_alloc
3df812627e7d net/rose: Fix Use-After-Free in rose_ioctl
b099c28847cf atm: Fix Use-After-Free in do_vcc_ioctl
e3430b870eff atm: solos-pci: Fix potential deadlock on _queue_lock
8cff60fb736b atm: solos-pci: Fix potential deadlock on _queue_lock
fcf17666ef1b qca_spi: Fix reset behavior
51ad9c19bb57 qca_debug: Fix ethtool -G iface tx behavior
b7f58686643f qca_debug: Prevent crash on TX ring changes
9354e0acdb74 net: ipv6: support reporting otherwise unknown prefix flags in 
RTM_NEWPREFIX
053220aaed26 afs: Fix refcount underflow from error handling race

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.4.bb   |  6 ++---
 .../linux/linux-yocto-tiny_5.4.bb |  8 +++
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 22 +--
 3 files changed, 18 insertions(+), 18 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 e61e97c0928..44b239c4173 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb
@@ -11,13 +11,13 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "1193259d93adb90be2688677c70daeffd38b401e"
-SRCREV_meta ?= "60242d5fa3322b8c8d1629d7865d0be6133444dd"
+SRCREV_machine ?= "db182d9363866b9d174eecbdd86de24d70be"
+SRCREV_meta ?= "a1399e88272ab04a7748051822d5b16b9b1d3f9c"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.4.264"
+LINUX_VERSION ?= "5.4.265"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb
index b034e5ad845..164b86d71af 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.4.264"
+LINUX_VERSION ?= "5.4.265"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += 

[OE-core][kirkstone 13/13] linux-yocto/5.10: update to v5.10.209

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

16ad71c250c1 Linux 5.10.209
66e4f4a84791 arm64: dts: armada-3720-turris-mox: set irq type for RTC
2e23761beb90 i2c: s3c24xx: fix transferring more than one message in 
polling mode
da60686bab6b i2c: s3c24xx: fix read transfers in polling mode
8ba74e90162e selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes
3e1ca8065926 selftests: mlxsw: qos_pfc: Convert to iproute2 dcb
56750ea5d154 mlxsw: spectrum_acl_tcam: Fix stack corruption
a9b233b287aa mlxsw: spectrum_acl_tcam: Reorder functions to avoid forward 
declarations
d3669ebc4c2a mlxsw: spectrum_acl_tcam: Make fini symmetric to init
a557dbda6407 mlxsw: spectrum_acl_tcam: Add missing mutex_destroy()
936d06d699c3 mlxsw: spectrum: Use 'bitmap_zalloc()' when applicable
e8bfdf630142 mlxsw: spectrum_acl_erp: Fix error flow of pool allocation 
failure
f90b1cebc442 ethtool: netlink: Add missing ethnl_ops_begin/complete
b44e1aec8038 kdb: Fix a potential buffer overflow in kdb_local()
977c2cf5637a ipvs: avoid stat macros calls from preemptible context
00a86f81c80e netfilter: nf_tables: reject NFT_SET_CONCAT with not field 
length description
9a4d25267d50 netfilter: nf_tables: skip dead set elements in netlink dump
2d4c0798a1ef netfilter: nf_tables: do not allow mismatch field size and set 
key length
b099b495e1da net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
6c8a5bbca6e6 net: ravb: Fix dma_addr_t truncation in error case
ba77c8b4e106 net: phy: micrel: populate .soft_reset for KSZ9131
1658d7a7a207 net: ethernet: ti: am65-cpsw: Fix max mtu to fit ethernet 
frames
2295c22348fa net: qualcomm: rmnet: fix global oob in rmnet_policy
b55808b96e63 s390/pci: fix max size calculation in zpci_memcpy_toio()
178b4373446d PCI: keystone: Fix race condition when initializing PHYs
0de2e62067d2 nvmet-tcp: Fix the H2C expected PDU len calculation
172276460ab5 serial: imx: Correct clock error message in function probe()
5ff00408e502 apparmor: avoid crash when parsed profile name is empty
866d32bff035 perf env: Avoid recursively taking env->bpf_progs.lock
39669fae69f3 nvmet-tcp: fix a crash in nvmet_req_complete()
f775f2621c2a nvmet-tcp: Fix a kernel panic when host sends an invalid H2C 
PDU length
1550b870ae9c usb: cdc-acm: return correct error code on unsupported break
d7c74b010aae tty: use 'if' in send_break() instead of 'goto'
3483ca0390c1 tty: don't check for signal_pending() in send_break()
2cf81d344032 tty: early return from send_break() on 
TTY_DRIVER_HARDWARE_BREAK
4e76dbd7c360 tty: change tty_write_lock()'s ndelay parameter to bool
abcc25a23731 perf genelf: Set ELF program header addresses properly
1e17feb4ada9 iio: adc: ad9467: fix scale setting
a3167e5ab5b8 iio: adc: ad9467: don't ignore error codes
00e916d9985f iio: adc: ad9467: fix reset gpio handling
8083d6840179 iio: adc: ad9467: Benefit from devm_clk_get_enabled() to 
simplify
6e04a9d30509 serial: imx: fix tx statemachine deadlock
6746f3e8939d software node: Let args be NULL in 
software_node_get_reference_args
381bea33a86e acpi: property: Let args be NULL in 
__acpi_node_get_property_reference
7166e8e9135e libapi: Add missing linux/types.h header to get the __u64 type 
on io.h
bc57f3ef8a9e serial: 8250: omap: Don't skip resource freeing if 
pm_runtime_resume_and_get() failed
89b97e6b19a8 power: supply: cw2015: correct time_to_empty units in sysfs
5e3995ec39c4 MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()
c3ed63f6a1c2 MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()
9995dee8b952 mips: Fix incorrect max_low_pfn adjustment
5cdda6239ce6 mips: dmi: Fix early remap on MIPS32
b1528687739b leds: aw2013: Select missing dependency REGMAP_I2C
927626a20738 mfd: syscon: Fix null pointer dereference in 
of_syscon_register()
c964a0597b50 HID: wacom: Correct behavior when processing some confidence 
== false touches
c7883c9f83e6 iio: adc: ad7091r: Pass iio_dev to event handler
ba7be6667408 KVM: arm64: vgic-its: Avoid potential UAF in LPI translation 
cache
9b5a278594b9 KVM: arm64: vgic-v4: Restore pending state on host userspace 
write
7521ea8f62b2 x86/kvm: Do not try to disable kvmclock if it was not enabled
322c5fe40f7f wifi: mwifiex: configure BSSID consistently when starting AP
ba8a4fba622a wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors
3dc3122b0be3 wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable 
code
5e9142b6a200 iommu/arm-smmu-qcom: Add missing GMU entry to match table
394c6c0b6d9b Bluetooth: Fix atomicity violation in {min,max}_key_size_set
3b8d7a1b8519 rootfs: Fix support for rootfstype= when root= is given
8c0b563e9b4d io_uring/rw: ensure io->bytes_done is always 

[OE-core][kirkstone 11/13] linux-yocto/5.15: update to v5.15.148

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

6139f2a02fe0 Linux 5.15.148
84c39986fe6d Revert "Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in 
raid5d""
c8483a4845a0 arm64: dts: armada-3720-turris-mox: set irq type for RTC
98052220f174 netfilter: nft_quota: copy content when cloning expression
3be3c6123275 netfilter: nft_last: copy content when cloning expression
42d461784889 netfilter: nft_limit: Clone packet limits' cost value
d80880585128 netfilter: nft_limit: fix stateful object memory leak
e562d8422555 netfilter: nft_connlimit: memleak if nf_ct_netns_get() fails
10823cfe8e91 netfilter: nf_tables: typo NULL check in _clone() function
0f2dca516541 block: Remove special-casing of compound pages
08bf561118ca i2c: s3c24xx: fix transferring more than one message in 
polling mode
38ce342a19ea i2c: s3c24xx: fix read transfers in polling mode
62b3387beef1 ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work
58485b95fde6 selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes
348112522a35 mlxsw: spectrum_acl_tcam: Fix stack corruption
005f2d10f915 mlxsw: spectrum_acl_tcam: Reorder functions to avoid forward 
declarations
077c4776d798 mlxsw: spectrum_acl_tcam: Make fini symmetric to init
d28048d31975 mlxsw: spectrum_acl_tcam: Add missing mutex_destroy()
196f3595e869 mlxsw: spectrum: Use 'bitmap_zalloc()' when applicable
87c54033935b mlxsw: spectrum_acl_erp: Fix error flow of pool allocation 
failure
3732db294ea3 ethtool: netlink: Add missing ethnl_ops_begin/complete
7f3d781e0df1 kdb: Fix a potential buffer overflow in kdb_local()
995d6099d8b1 ipvs: avoid stat macros calls from preemptible context
27513eff4c0c netfilter: nf_tables: reject NFT_SET_CONCAT with not field 
length description
d6420b66ad70 netfilter: nf_tables: skip dead set elements in netlink dump
77be8c495a3f netfilter: nf_tables: do not allow mismatch field size and set 
key length
b8eb65bd13a6 netfilter: nft_limit: do not ignore unsupported flags
d7b5da4fde7f netfilter: nf_tables: memcg accounting for dynamically 
allocated objects
3bb4403d20b7 netfilter: nft_limit: move stateful fields out of expression 
data
8a6635074a65 netfilter: nft_limit: rename stateful structure
e2e8fdd0ad8e netfilter: nft_quota: move stateful fields out of expression 
data
b147911d2a7b netfilter: nft_last: move stateful fields out of expression 
data
36997eb13d53 netfilter: nft_connlimit: move stateful fields out of 
expression data
713a13885579 netfilter: nf_tables: reject invalid set policy
78e85466460d net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
29ffa63f21bc bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS
684290895aa0 net: stmmac: ethtool: Fixed calltrace caused by unbalanced 
disable_irq_wake calls
8e481c7f81e2 net: ravb: Fix dma_addr_t truncation in error case
f05301ad0574 mptcp: use OPTION_MPTCP_MPJ_SYN in subflow_check_req()
413b91350732 mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()
9b82d5f5d042 mptcp: strict validation before using mp_opt->hmac
c99f490a422b mptcp: drop unused sk in mptcp_get_options
cbe983d0e4d5 mptcp: mptcp_parse_option() fix for MPTCPOPT_MP_JOIN
4f2c4ba3216d net: phy: micrel: populate .soft_reset for KSZ9131
890bc96ef147 net: ethernet: ti: am65-cpsw: Fix max mtu to fit ethernet 
frames
3b5254862258 net: qualcomm: rmnet: fix global oob in rmnet_policy
18babcfa365d s390/pci: fix max size calculation in zpci_memcpy_toio()
bf3304054e45 PCI: keystone: Fix race condition when initializing PHYs
a300f741f692 nvmet-tcp: Fix the H2C expected PDU len calculation
b02a005b19bb nvmet: re-fix tracing strncpy() warning
763c67e96b05 serial: imx: Correct clock error message in function probe()
1ed3c202051c usb: xhci-mtk: fix a short packet issue of gen1 isoc-in 
transfer
0a12db736edb apparmor: avoid crash when parsed profile name is empty
367d061a1864 perf env: Avoid recursively taking env->bpf_progs.lock
0613a2fbdf8d nvmet-tcp: fix a crash in nvmet_req_complete()
4cb3cf7177ae nvmet-tcp: Fix a kernel panic when host sends an invalid H2C 
PDU length
013d7878c729 usb: cdc-acm: return correct error code on unsupported break
c50f88954cd0 tty: use 'if' in send_break() instead of 'goto'
a222bd01ca5a tty: don't check for signal_pending() in send_break()
370b18aefe40 tty: early return from send_break() on 
TTY_DRIVER_HARDWARE_BREAK
6f98751fa44d tty: change tty_write_lock()'s ndelay parameter to bool
7ab8ef24fd0f perf genelf: Set ELF program header addresses properly
08715e4fa58e iio: adc: ad9467: fix scale setting
d7773702f813 iio: adc: ad9467: don't ignore error codes
fd1957c706f3 iio: adc: ad9467: fix reset gpio handling
71204292a722 iio: adc: ad9467: Benefit from 

[OE-core][kirkstone 12/13] linux-yocto/5.15: update CVE exclusions

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

1/1 [
Author: Nicholas Luedtke
Email: nicholas.lued...@uwalumni.com
Subject: Update 3Feb24
Date: Sat, 3 Feb 2024 00:42:14 -0500

]

Signed-off-by: Bruce Ashfield 
---
 .../linux/cve-exclusion_5.15.inc  | 91 +--
 1 file changed, 85 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-kernel/linux/cve-exclusion_5.15.inc 
b/meta/recipes-kernel/linux/cve-exclusion_5.15.inc
index 0d54b414d9..d33f2b3c7f 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_5.15.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_5.15.inc
@@ -1,9 +1,9 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2024-01-18 18:47:24.084935 for version 5.15.147
+# Generated at 2024-02-06 21:02:11.546853 for version 5.15.148
 
 python check_kernel_cve_status_version() {
-this_version = "5.15.147"
+this_version = "5.15.148"
 kernel_version = d.getVar("LINUX_VERSION")
 if kernel_version != this_version:
 bb.warn("Kernel CVE status needs updating: generated for %s but kernel 
is %s" % (this_version, kernel_version))
@@ -5299,6 +5299,12 @@ CVE_CHECK_IGNORE += "CVE-2021-3348"
 # fixed-version: Fixed after version 5.13rc7
 CVE_CHECK_IGNORE += "CVE-2021-33624"
 
+# fixed-version: Fixed after version 5.4rc1
+CVE_CHECK_IGNORE += "CVE-2021-33630"
+
+# cpe-stable-backport: Backported in 5.15.87
+CVE_CHECK_IGNORE += "CVE-2021-33631"
+
 # cpe-stable-backport: Backported in 5.15.54
 CVE_CHECK_IGNORE += "CVE-2021-33655"
 
@@ -6395,7 +6401,8 @@ CVE_CHECK_IGNORE += "CVE-2022-3635"
 # fixed-version: only affects 5.19 onwards
 CVE_CHECK_IGNORE += "CVE-2022-3640"
 
-# CVE-2022-36402 has no known resolution
+# cpe-stable-backport: Backported in 5.15.129
+CVE_CHECK_IGNORE += "CVE-2022-36402"
 
 # CVE-2022-3642 has no known resolution
 
@@ -7368,9 +7375,15 @@ CVE_CHECK_IGNORE += "CVE-2023-4611"
 # cpe-stable-backport: Backported in 5.15.132
 CVE_CHECK_IGNORE += "CVE-2023-4623"
 
+# cpe-stable-backport: Backported in 5.15.137
+CVE_CHECK_IGNORE += "CVE-2023-46343"
+
 # cpe-stable-backport: Backported in 5.15.137
 CVE_CHECK_IGNORE += "CVE-2023-46813"
 
+# cpe-stable-backport: Backported in 5.15.148
+CVE_CHECK_IGNORE += "CVE-2023-46838"
+
 # cpe-stable-backport: Backported in 5.15.140
 CVE_CHECK_IGNORE += "CVE-2023-46862"
 
@@ -7385,11 +7398,17 @@ CVE_CHECK_IGNORE += "CVE-2023-4881"
 # cpe-stable-backport: Backported in 5.15.132
 CVE_CHECK_IGNORE += "CVE-2023-4921"
 
-# CVE-2023-50431 has no known resolution
+# CVE-2023-50431 needs backporting (fixed from 6.8rc1)
 
 # fixed-version: only affects 6.0rc1 onwards
 CVE_CHECK_IGNORE += "CVE-2023-5090"
 
+# cpe-stable-backport: Backported in 5.15.128
+CVE_CHECK_IGNORE += "CVE-2023-51042"
+
+# cpe-stable-backport: Backported in 5.15.121
+CVE_CHECK_IGNORE += "CVE-2023-51043"
+
 # cpe-stable-backport: Backported in 5.15.135
 CVE_CHECK_IGNORE += "CVE-2023-5158"
 
@@ -7411,6 +7430,9 @@ CVE_CHECK_IGNORE += "CVE-2023-51782"
 # cpe-stable-backport: Backported in 5.15.134
 CVE_CHECK_IGNORE += "CVE-2023-5197"
 
+# cpe-stable-backport: Backported in 5.15.147
+CVE_CHECK_IGNORE += "CVE-2023-52340"
+
 # fixed-version: only affects 6.1rc1 onwards
 CVE_CHECK_IGNORE += "CVE-2023-5345"
 
@@ -7425,7 +7447,8 @@ CVE_CHECK_IGNORE += "CVE-2023-5972"
 
 # CVE-2023-6039 needs backporting (fixed from 6.5rc5)
 
-# CVE-2023-6040 needs backporting (fixed from 5.18rc1)
+# cpe-stable-backport: Backported in 5.15.147
+CVE_CHECK_IGNORE += "CVE-2023-6040"
 
 # fixed-version: only affects 6.6rc3 onwards
 CVE_CHECK_IGNORE += "CVE-2023-6111"
@@ -7436,6 +7459,9 @@ CVE_CHECK_IGNORE += "CVE-2023-6121"
 # cpe-stable-backport: Backported in 5.15.132
 CVE_CHECK_IGNORE += "CVE-2023-6176"
 
+# fixed-version: only affects 6.6rc1 onwards
+CVE_CHECK_IGNORE += "CVE-2023-6200"
+
 # CVE-2023-6238 has no known resolution
 
 # CVE-2023-6270 has no known resolution
@@ -7468,6 +7494,9 @@ CVE_CHECK_IGNORE += "CVE-2023-6679"
 # cpe-stable-backport: Backported in 5.15.143
 CVE_CHECK_IGNORE += "CVE-2023-6817"
 
+# cpe-stable-backport: Backported in 5.15.148
+CVE_CHECK_IGNORE += "CVE-2023-6915"
+
 # cpe-stable-backport: Backported in 5.15.143
 CVE_CHECK_IGNORE += "CVE-2023-6931"
 
@@ -7487,5 +7516,55 @@ CVE_CHECK_IGNORE += "CVE-2024-0193"
 # fixed-version: only affects 6.2rc1 onwards
 CVE_CHECK_IGNORE += "CVE-2024-0443"
 
-# Skipping dd=CVE-2023-1476, no affected_versions
+# cpe-stable-backport: Backported in 5.15.64
+CVE_CHECK_IGNORE += "CVE-2024-0562"
+
+# CVE-2024-0564 has no known resolution
+
+# CVE-2024-0565 needs backporting (fixed from 6.7rc6)
+
+# fixed-version: only affects 6.4rc1 onwards
+CVE_CHECK_IGNORE += "CVE-2024-0582"
+
+# cpe-stable-backport: Backported in 5.15.142
+CVE_CHECK_IGNORE += "CVE-2024-0584"
+
+# cpe-stable-backport: Backported in 5.15.140
+CVE_CHECK_IGNORE += "CVE-2024-0607"
+
+# cpe-stable-backport: Backported in 5.15.121
+CVE_CHECK_IGNORE += 

[OE-core][kirkstone 10/13] linux-yocto/5.15: update CVE exclusions

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

1/1 [
Author: Nicholas Luedtke
Email: nicholas.lued...@uwalumni.com
Subject: Update 15Jan24
Date: Mon, 15 Jan 2024 12:48:45 -0500

]

Signed-off-by: Bruce Ashfield 
---
 .../linux/cve-exclusion_5.15.inc  | 44 ---
 1 file changed, 37 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-kernel/linux/cve-exclusion_5.15.inc 
b/meta/recipes-kernel/linux/cve-exclusion_5.15.inc
index 84d0becb8d..0d54b414d9 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_5.15.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_5.15.inc
@@ -1,9 +1,9 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2024-01-11 21:16:55.956074 for version 5.15.146
+# Generated at 2024-01-18 18:47:24.084935 for version 5.15.147
 
 python check_kernel_cve_status_version() {
-this_version = "5.15.146"
+this_version = "5.15.147"
 kernel_version = d.getVar("LINUX_VERSION")
 if kernel_version != this_version:
 bb.warn("Kernel CVE status needs updating: generated for %s but kernel 
is %s" % (this_version, kernel_version))
@@ -6626,6 +6626,9 @@ CVE_CHECK_IGNORE += "CVE-2022-48425"
 # cpe-stable-backport: Backported in 5.15.121
 CVE_CHECK_IGNORE += "CVE-2022-48502"
 
+# cpe-stable-backport: Backported in 5.15.42
+CVE_CHECK_IGNORE += "CVE-2022-48619"
+
 # fixed-version: Fixed after version 5.0rc1
 CVE_CHECK_IGNORE += "CVE-2023-0030"
 
@@ -6747,6 +6750,8 @@ CVE_CHECK_IGNORE += "CVE-2023-1382"
 # fixed-version: Fixed after version 5.11rc4
 CVE_CHECK_IGNORE += "CVE-2023-1390"
 
+# CVE-2023-1476 has no known resolution
+
 # cpe-stable-backport: Backported in 5.15.95
 CVE_CHECK_IGNORE += "CVE-2023-1513"
 
@@ -6921,7 +6926,8 @@ CVE_CHECK_IGNORE += "CVE-2023-23559"
 # fixed-version: Fixed after version 5.12rc1
 CVE_CHECK_IGNORE += "CVE-2023-23586"
 
-# CVE-2023-2430 needs backporting (fixed from 6.2rc5)
+# fixed-version: only affects 5.18rc1 onwards
+CVE_CHECK_IGNORE += "CVE-2023-2430"
 
 # cpe-stable-backport: Backported in 5.15.105
 CVE_CHECK_IGNORE += "CVE-2023-2483"
@@ -7351,7 +7357,8 @@ CVE_CHECK_IGNORE += "CVE-2023-45871"
 # fixed-version: only affects 6.5rc1 onwards
 CVE_CHECK_IGNORE += "CVE-2023-45898"
 
-# CVE-2023-4610 needs backporting (fixed from 6.4)
+# fixed-version: only affects 6.4rc1 onwards
+CVE_CHECK_IGNORE += "CVE-2023-4610"
 
 # fixed-version: only affects 6.4rc1 onwards
 CVE_CHECK_IGNORE += "CVE-2023-4611"
@@ -7386,7 +7393,8 @@ CVE_CHECK_IGNORE += "CVE-2023-5090"
 # cpe-stable-backport: Backported in 5.15.135
 CVE_CHECK_IGNORE += "CVE-2023-5158"
 
-# CVE-2023-51779 needs backporting (fixed from 6.7rc7)
+# cpe-stable-backport: Backported in 5.15.146
+CVE_CHECK_IGNORE += "CVE-2023-51779"
 
 # cpe-stable-backport: Backported in 5.15.137
 CVE_CHECK_IGNORE += "CVE-2023-5178"
@@ -7417,6 +7425,8 @@ CVE_CHECK_IGNORE += "CVE-2023-5972"
 
 # CVE-2023-6039 needs backporting (fixed from 6.5rc5)
 
+# CVE-2023-6040 needs backporting (fixed from 5.18rc1)
+
 # fixed-version: only affects 6.6rc3 onwards
 CVE_CHECK_IGNORE += "CVE-2023-6111"
 
@@ -7428,8 +7438,13 @@ CVE_CHECK_IGNORE += "CVE-2023-6176"
 
 # CVE-2023-6238 has no known resolution
 
+# CVE-2023-6270 has no known resolution
+
 # CVE-2023-6356 has no known resolution
 
+# fixed-version: only affects 6.1rc1 onwards
+CVE_CHECK_IGNORE += "CVE-2023-6531"
+
 # CVE-2023-6535 has no known resolution
 
 # CVE-2023-6536 has no known resolution
@@ -7439,14 +7454,16 @@ CVE_CHECK_IGNORE += "CVE-2023-6546"
 
 # CVE-2023-6560 needs backporting (fixed from 6.7rc4)
 
-# CVE-2023-6606 needs backporting (fixed from 6.7rc7)
+# cpe-stable-backport: Backported in 5.15.146
+CVE_CHECK_IGNORE += "CVE-2023-6606"
 
 # CVE-2023-6610 needs backporting (fixed from 6.7rc7)
 
 # cpe-stable-backport: Backported in 5.15.143
 CVE_CHECK_IGNORE += "CVE-2023-6622"
 
-# CVE-2023-6679 needs backporting (fixed from 6.7rc6)
+# fixed-version: only affects 6.7rc1 onwards
+CVE_CHECK_IGNORE += "CVE-2023-6679"
 
 # cpe-stable-backport: Backported in 5.15.143
 CVE_CHECK_IGNORE += "CVE-2023-6817"
@@ -7459,3 +7476,16 @@ CVE_CHECK_IGNORE += "CVE-2023-6932"
 
 # CVE-2023-7042 has no known resolution
 
+# cpe-stable-backport: Backported in 5.15.100
+CVE_CHECK_IGNORE += "CVE-2023-7192"
+
+# fixed-version: only affects 6.5rc6 onwards
+CVE_CHECK_IGNORE += "CVE-2024-0193"
+
+# CVE-2024-0340 needs backporting (fixed from 6.4rc6)
+
+# fixed-version: only affects 6.2rc1 onwards
+CVE_CHECK_IGNORE += "CVE-2024-0443"
+
+# Skipping dd=CVE-2023-1476, no affected_versions
+
-- 
2.39.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#195947): 
https://lists.openembedded.org/g/openembedded-core/message/195947
Mute This Topic: https://lists.openembedded.org/mt/104481911/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 

[OE-core][kirkstone 09/13] linux-yocto/5.15: update to v5.15.147

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

ddcaf4999061 Linux 5.15.147
231752a0a05d net: usb: ax88179_178a: move priv to driver_priv
d800d18ba132 net: usb: ax88179_178a: remove redundant init code
329197033bb0 tracing/kprobes: Fix symbol counting logic by looking at 
modules as well
ccb7eef5f2f3 kallsyms: Make module_kallsyms_on_each_symbol generally 
available
ab3a3aadb373 netfilter: nf_tables: Reject tables of unsupported family
0eb556b2386d perf inject: Fix GEN_ELF_TEXT_OFFSET for jit
b8a5308feedd ipv6: remove max_size check inline with ipv4
ba5efd8544fa net: tls, update curr on splice as well
06bb52d2efb3 mmc: sdhci-sprd: Fix eMMC init failure after hw reset
6722186854a7 mmc: core: Cancel delayed work before releasing host
edaefc210e10 mmc: rpmb: fixes pause retune on all RPMB partitions.
41f20ac9bdc4 mmc: meson-mx-sdhc: Fix initialization frozen issue
91432aebce51 mm: fix unmap_mapping_range high bits shift bug
5e44f5da1266 i2c: core: Fix atomic xfer check for non-preempt config
1d5c1617e1e1 x86/kprobes: fix incorrect return address calculation in 
kprobe_emulate_call_indirect
10086ff58ce4 firewire: ohci: suppress unexpected system reboot in AMD Ryzen 
machines and ASM108x/VT630x PCIe cards
660b3c3bc8a7 mm/memory-failure: check the mapcount of the precise page
80eb449f809c selftests: secretmem: floor the memory size to the multiple of 
page_size
a58ae5ab714d net: Implement missing SO_TIMESTAMPING_NEW cmsg support
500c7f32ad43 bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
fda00eb3cd41 asix: Add check for usbnet_get_endpoints
0817c1b21561 octeontx2-af: Re-enable MAC TX in otx2_stop processing
20fce91b4fa0 octeontx2-af: Always configure NIX TX link credits based on 
max frame size
6bbbcff3c798 octeontx2-af: Set NIX link credits based on max LMAC
6ef9a28e1bb2 octeontx2-af: Don't enable Pause frames by default
bc56ed720e06 net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
cfcf5490145a igc: Fix hicredit calculation
6c853b57684e i40e: Restore VF MSI-X state during PCI reset
9400f854facd ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux
e08b666e4415 ASoC: meson: g12a-toacodec: Fix event generation
3a78a57764f0 ASoC: meson: g12a-tohdmitx: Validate written enum values
f74281f241ff ASoC: meson: g12a-toacodec: Validate written enum values
947db598acb8 i40e: fix use-after-free in i40e_aqc_add_filters()
975d6f66f2b6 net: Save and restore msg_namelen in sock_sendmsg
b2869e7600f4 netfilter: nft_immediate: drop chain reference counter on error
51976846f202 net: bcmgenet: Fix FCS generation for fragmented skbuffs
c748c358debe sfc: fix a double-free bug in efx_probe_filters
5c161f2220f5 ARM: sun9i: smp: Fix array-index-out-of-bounds read in 
sunxi_mc_smp_init
fd2e7829239e net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestamps
dc5643abc1ac can: raw: add support for SO_MARK
464fb49ca9bb can: raw: add support for SO_TXTIME/SCM_TXTIME
ba80ff7a85b6 net: Implement missing getsockopt(SO_TIMESTAMPING_NEW)
5636941e42d5 r8169: Fix PCI error on system resume
0ce9a244d33b net: sched: em_text: fix possible memory leak in 
em_text_destroy()
c0b56aa9d1a6 mlxbf_gige: fix receive packet race condition
271567afd4c2 ASoC: fsl_rpmsg: Fix error handler with pm_runtime_enable
1867a9094743 igc: Check VLAN EtherType mask
f24370ddf75d igc: Check VLAN TCI mask
4ec5efdb9034 igc: Report VLAN EtherType matching back to user
b17f8024a5f0 i40e: Fix filter input checks to prevent config with invalid 
values
def90597ef5b drm/i915/dp: Fix passing the correct DPCD_REV for 
drm_dp_set_phy_test_pattern
a7b67635de1a octeontx2-af: Fix marking couple of structure as __packed
802af3c88ad1 nfc: llcp_core: Hold a ref to llcp_local->dev when holding a 
ref to llcp_local
5d3e98ef12f6 drm/bridge: ti-sn65dsi86: Never store more than msg->size 
bytes in AUX xfer
2f8cefc8b638 wifi: iwlwifi: pcie: don't synchronize IRQs from IRQ
1f2f662c8bec Revert "PCI/ASPM: Remove pcie_aspm_pm_state_change()"
200cecd6ff1e ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP ProBook 
440 G6
90ab9a70f0d8 block: Don't invalidate pagecache for invalid falloc modes
c496c35310e6 keys, dns: Fix missing size check of V1 server-list header

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.15.bb  |  6 ++---
 .../linux/linux-yocto-tiny_5.15.bb|  6 ++---
 meta/recipes-kernel/linux/linux-yocto_5.15.bb | 24 +--
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb
index 1e61698222..e64f21b2f0 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb
+++ 

[OE-core][kirkstone 08/13] linux-yocto/5.10: update to v5.10.206

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

cf13ba74e8eb Linux 5.10.206
2df1e1887c68 spi: atmel: Fix PDC transfer setup bug
2a0a658ed6ef Bluetooth: SMP: Fix crash when receiving new connection when 
debug is enabled
ecd50f820d86 Revert "MIPS: Loongson64: Enable DMA noncoherent support"
9175341bd80b dm-integrity: don't modify bio's immutable bio_vec in 
integrity_metadata()
73117ea03363 netfilter: nf_tables: skip set commit for deleted/destroyed 
sets
8bf79dec73fe tracing: Fix blocked reader of snapshot buffer
0afe42022865 ring-buffer: Fix wake ups when buffer_percent is set to 100
9db5239d7533 scsi: core: Always send batch on reset or error handling 
command
f2d30198c053 scsi: core: Use a structure member to track the SCSI command 
submitter
df83ca8e986d scsi: core: Use scsi_cmd_to_rq() instead of scsi_cmnd.request
d054858a9c9e scsi: core: Make scsi_get_lba() return the LBA
f230e6d4249b scsi: core: Introduce scsi_get_sector()
294d66c35a4e scsi: core: Add scsi_prot_ref_tag() helper
929f475ebaf0 spi: atmel: Fix CS and initialization bug
23d9267c548b spi: atmel: Switch to transfer_one transfer method
db1b14eec8c6 Bluetooth: af_bluetooth: Fix Use-After-Free in bt_sock_recvmsg
0c54b79d1d9b smb: client: fix OOB in smbCalcSize()
203a412e52b5 smb: client: fix OOB in SMB2_query_info_init()
79e158ddc3c7 usb: fotg210-hcd: delete an incorrect bounds test
da448f145f8d Bluetooth: MGMT/SMP: Fix address type when using SMP over 
BREDR/LE
4bc912140b1c Bluetooth: use inclusive language in SMP
e219c3110a16 Bluetooth: SMP: Convert BT_ERR/BT_DBG to bt_dev_err/bt_dev_dbg
cdbc4a1115a5 ARM: dts: Fix occasional boot hang for am3 usb
1e2db0124c69 9p/net: fix possible memory leak in p9_check_errors()
c4a7f7eb x86/alternatives: Sync core before enabling interrupts
7d407ef18327 lib/vsprintf: Fix %pfwf when current node refcount == 0
565fadc3ea91 bus: ti-sysc: Flush posted write only after srst_udelay
e50cfb544742 tracing / synthetic: Disable events after testing in 
synth_event_gen_test_init()
cd6e41593ed7 dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
786788bb1396 net: ks8851: Fix TX stall caused by TX buffer overrun
391c1019a005 net: rfkill: gpio: set GPIO direction
6d7b8e5a6d91 net: 9p: avoid freeing uninit memory in p9pdu_vreadf
45b63f09ba89 Input: soc_button_array - add mapping for airplane mode button
2aa744ad0e9e Bluetooth: L2CAP: Send reject on command corrupted request
25a6fdd26d13 Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has 
been sent
71e1c7654010 USB: serial: option: add Quectel RM500Q R13 firmware support
d521896bcc0b USB: serial: option: add Foxconn T99W265 with new baseline
d0cf8a4bee42 USB: serial: option: add Quectel EG912Y module support
f41f44cea9eb USB: serial: ftdi_sio: update Actisense PIDs constant names
20d84a19466f wifi: cfg80211: fix certs build to not depend on file order
7a0a5cbfea34 wifi: cfg80211: Add my certificate
9dcf50da596d iio: adc: ti_am335x_adc: Fix return value check of 
tiadc_request_dma()
abbebddb19ac iio: common: ms_sensors: ms_sensors_i2c: fix humidity 
conversion time table
c40db29812f9 scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
e3749f85fddc Input: ipaq-micro-keys - add error handling for devm_kmemdup
b5f67cea27fa iio: imu: inv_mpu6050: fix an error code problem in 
inv_mpu6050_read_raw
505df1c0abe6 interconnect: Treat xlate() returning NULL node as an error
cc5eec86a4ff btrfs: do not allow non subvolume root targets for snapshot
bd267af18f7b smb: client: fix NULL deref in asn1_ber_decoder()
41350e813acf ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
a4692c38cd57 ALSA: hda/hdmi: Add quirk to force pin connectivity on NUC10
e032ddb0e387 pinctrl: at91-pio4: use dedicated lock class for IRQ
0b85149a9dc1 i2c: aspeed: Handle the coalesced stop conditions with the 
start conditions.
3dce7a52b2fa afs: Fix overwriting of result of DNS query
97be1e865e70 keys, dns: Allow key types (eg. DNS) to be reclaimed 
immediately on expiry
9e0d18f946b2 net: check dev->gso_max_size in gso_features_check()
59dc16ce095d net: warn if gso_type isn't set for a GSO SKB
63ad66d4844b afs: Fix dynamic root lookup DNS check
65d2c287fc00 afs: Fix the dynamic root's d_delete to always delete unused 
dentries
a3218319ee86 net: check vlan filter feature in vlan_vids_add_by_dev() and 
vlan_vids_del_by_dev()
12e5a4719c99 net/rose: fix races in rose_kill_by_device()
be0988c9b075 ethernet: atheros: fix a memleak in atl1e_setup_ring_resources
8b6f8bfe3a3a net: sched: ife: fix potential use-after-free
f245312e9f4f net/mlx5e: Correct snprintf truncation handling for fw_version 
buffer used by representors
e8ba688a64f9 net/mlx5: Fix fw tracer first block check
 

[OE-core][kirkstone 07/13] linux-yocto/5.15: update CVE exclusions

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

1/1 [
Author: Nicholas Luedtke
Email: nicholas.lued...@uwalumni.com
Subject: Update 27Dec23
Date: Wed, 27 Dec 2023 19:47:13 -0500

]

Signed-off-by: Bruce Ashfield 
---
 .../linux/cve-exclusion_5.15.inc  | 259 +++---
 1 file changed, 223 insertions(+), 36 deletions(-)

diff --git a/meta/recipes-kernel/linux/cve-exclusion_5.15.inc 
b/meta/recipes-kernel/linux/cve-exclusion_5.15.inc
index 7822040782..84d0becb8d 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_5.15.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_5.15.inc
@@ -1,9 +1,9 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2023-09-23 10:40:51.641475 for version 5.15.124
+# Generated at 2024-01-11 21:16:55.956074 for version 5.15.146
 
 python check_kernel_cve_status_version() {
-this_version = "5.15.124"
+this_version = "5.15.146"
 kernel_version = d.getVar("LINUX_VERSION")
 if kernel_version != this_version:
 bb.warn("Kernel CVE status needs updating: generated for %s but kernel 
is %s" % (this_version, kernel_version))
@@ -4839,7 +4839,8 @@ CVE_CHECK_IGNORE += "CVE-2020-27194"
 # fixed-version: Fixed after version 5.6rc4
 CVE_CHECK_IGNORE += "CVE-2020-2732"
 
-# CVE-2020-27418 has no known resolution
+# fixed-version: Fixed after version 5.6rc5
+CVE_CHECK_IGNORE += "CVE-2020-27418"
 
 # fixed-version: Fixed after version 5.10rc1
 CVE_CHECK_IGNORE += "CVE-2020-27673"
@@ -4981,6 +4982,9 @@ CVE_CHECK_IGNORE += "CVE-2020-36691"
 # fixed-version: Fixed after version 5.10
 CVE_CHECK_IGNORE += "CVE-2020-36694"
 
+# fixed-version: Fixed after version 5.9rc1
+CVE_CHECK_IGNORE += "CVE-2020-36766"
+
 # fixed-version: Fixed after version 5.12rc1
 CVE_CHECK_IGNORE += "CVE-2020-3702"
 
@@ -6450,7 +6454,8 @@ CVE_CHECK_IGNORE += "CVE-2022-40768"
 # cpe-stable-backport: Backported in 5.15.66
 CVE_CHECK_IGNORE += "CVE-2022-4095"
 
-# CVE-2022-40982 needs backporting (fixed from 5.15.125)
+# cpe-stable-backport: Backported in 5.15.125
+CVE_CHECK_IGNORE += "CVE-2022-40982"
 
 # cpe-stable-backport: Backported in 5.15.87
 CVE_CHECK_IGNORE += "CVE-2022-41218"
@@ -6536,7 +6541,7 @@ CVE_CHECK_IGNORE += "CVE-2022-43945"
 
 # CVE-2022-44033 needs backporting (fixed from 6.4rc1)
 
-# CVE-2022-44034 has no known resolution
+# CVE-2022-44034 needs backporting (fixed from 6.4rc1)
 
 # CVE-2022-4543 has no known resolution
 
@@ -6591,7 +6596,8 @@ CVE_CHECK_IGNORE += "CVE-2022-47938"
 # cpe-stable-backport: Backported in 5.15.61
 CVE_CHECK_IGNORE += "CVE-2022-47939"
 
-# CVE-2022-47940 needs backporting (fixed from 5.19rc1)
+# cpe-stable-backport: Backported in 5.15.145
+CVE_CHECK_IGNORE += "CVE-2022-47940"
 
 # cpe-stable-backport: Backported in 5.15.61
 CVE_CHECK_IGNORE += "CVE-2022-47941"
@@ -6708,9 +6714,11 @@ CVE_CHECK_IGNORE += "CVE-2023-1118"
 # cpe-stable-backport: Backported in 5.15.113
 CVE_CHECK_IGNORE += "CVE-2023-1192"
 
-# CVE-2023-1193 has no known resolution
+# cpe-stable-backport: Backported in 5.15.145
+CVE_CHECK_IGNORE += "CVE-2023-1193"
 
-# CVE-2023-1194 has no known resolution
+# cpe-stable-backport: Backported in 5.15.145
+CVE_CHECK_IGNORE += "CVE-2023-1194"
 
 # fixed-version: only affects 5.16rc1 onwards
 CVE_CHECK_IGNORE += "CVE-2023-1195"
@@ -6797,9 +6805,11 @@ CVE_CHECK_IGNORE += "CVE-2023-2008"
 # cpe-stable-backport: Backported in 5.15.61
 CVE_CHECK_IGNORE += "CVE-2023-2019"
 
-# CVE-2023-20569 needs backporting (fixed from 5.15.125)
+# cpe-stable-backport: Backported in 5.15.125
+CVE_CHECK_IGNORE += "CVE-2023-20569"
 
-# CVE-2023-20588 needs backporting (fixed from 5.15.126)
+# cpe-stable-backport: Backported in 5.15.126
+CVE_CHECK_IGNORE += "CVE-2023-20588"
 
 # cpe-stable-backport: Backported in 5.15.122
 CVE_CHECK_IGNORE += "CVE-2023-20593"
@@ -6922,7 +6932,8 @@ CVE_CHECK_IGNORE += "CVE-2023-25012"
 # cpe-stable-backport: Backported in 5.15.61
 CVE_CHECK_IGNORE += "CVE-2023-2513"
 
-# CVE-2023-25775 needs backporting (fixed from 6.6rc1)
+# cpe-stable-backport: Backported in 5.15.144
+CVE_CHECK_IGNORE += "CVE-2023-25775"
 
 # fixed-version: only affects 6.3rc1 onwards
 CVE_CHECK_IGNORE += "CVE-2023-2598"
@@ -7003,7 +7014,8 @@ CVE_CHECK_IGNORE += "CVE-2023-3106"
 
 # CVE-2023-31084 needs backporting (fixed from 6.4rc3)
 
-# CVE-2023-31085 has no known resolution
+# cpe-stable-backport: Backported in 5.15.135
+CVE_CHECK_IGNORE += "CVE-2023-31085"
 
 # cpe-stable-backport: Backported in 5.15.63
 CVE_CHECK_IGNORE += "CVE-2023-3111"
@@ -7035,20 +7047,26 @@ CVE_CHECK_IGNORE += "CVE-2023-3220"
 # cpe-stable-backport: Backported in 5.15.111
 CVE_CHECK_IGNORE += "CVE-2023-32233"
 
-# CVE-2023-32247 needs backporting (fixed from 6.4rc1)
+# cpe-stable-backport: Backported in 5.15.145
+CVE_CHECK_IGNORE += "CVE-2023-32247"
 
 # cpe-stable-backport: Backported in 5.15.111
 CVE_CHECK_IGNORE += "CVE-2023-32248"
 
-# CVE-2023-32250 needs backporting (fixed 

[OE-core][kirkstone 05/13] linux-yocto/5.10: update to v5.10.205

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

ca4427ebc626 Linux 5.10.205
05c547e8427a powerpc/ftrace: Fix stack teardown in ftrace_no_trace
e30e62f0e178 powerpc/ftrace: Create a dummy stackframe to fix stack unwind
5a82cf64f8ad tty: n_gsm: add sanity check for gsm->receive in 
gsm_receive_buf()
a11ea2c08f51 tty: n_gsm, remove duplicates of parameters
b8faa754b523 tty: n_gsm: fix tty registration before control channel open
918ba07224e9 USB: gadget: core: adjust uevent timing on gadget unbind
20c2cb79a38c ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs
9f5bf009f77d ring-buffer: Fix writing to the buffer with max_data_size
3e8055fc3b21 ring-buffer: Have saved event hold the entire event
d7a293981427 tracing: Update snapshot buffer on resize if it is allocated
a3580b2bfe90 ring-buffer: Fix memory leak of free page
5ffda6998be5 team: Fix use-after-free when an option instance allocation 
fails
33fb8ac30c3e arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify
26eeec522aca ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS
6e2628dfade5 soundwire: stream: fix NULL pointer dereference for multi_link
7ccfc078cd47 perf: Fix perf_event_validate_size() lockdep splat
5984306f6ce7 HID: hid-asus: add const to read-only outgoing usb buffer
e9709a88a8ee net: usb: qmi_wwan: claim interface 4 for ZTE MF290
09c8ee5f9bb3 asm-generic: qspinlock: fix queued_spin_value_unlocked() 
implementation
f6a1bf429978 HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad
744027bb8ee0 HID: hid-asus: reset the backlight brightness level on resume
1ac7379d2e18 HID: add ALWAYS_POLL quirk for Apple kb
a64a9f38ae3e HID: glorious: fix Glorious Model I HID report
6026a862f351 platform/x86: intel_telemetry: Fix kernel doc descriptions
e01135763b9b bcache: avoid NULL checking to c->root in run_cache_set()
a724e325 bcache: add code comments for bch_btree_node_get() and 
__bch_btree_node_alloc()
3b48e1c0485a bcache: remove redundant assignment to variable cur_idx
ea2341d08255 bcache: avoid oversize memory allocation by small stripe_size
dbf0cdacdb4e blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read 
lock required!"
d69581c17608 usb: aqc111: check packet for fixup for true limit
1e3ea8d2bad8 drm/mediatek: Add spinlock for setting vblank event in 
atomic_begin
022b82336a62 PCI: loongson: Limit MRRS to 256
791bca1b0996 Revert "PCI: acpiphp: Reassign resources on bridge if 
necessary"
7e2afd088506 ALSA: hda/realtek: Apply mute LED quirk for HP15-db
063302851147 ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 
variants
851783a0c4ff fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()
2623cf1fe825 cred: switch to using atomic_long_t
03b50868ae53 net: atlantic: fix double free in ring reinit logic
a232eb81c7cb appletalk: Fix Use-After-Free in atalk_ioctl
9deccfbaed4b net: stmmac: Handle disabled MDIO busses from devicetree
5470533a7d7e net: stmmac: use dev_err_probe() for reporting mdio bus 
registration failure
52a4c0e82a24 vsock/virtio: Fix unsigned integer wrap around in 
virtio_transport_has_space()
4c0d7e826160 sign-file: Fix incorrect return values check
25bfae19b84a net: ena: Fix XDP redirection error
c83544b70cc8 net: ena: Destroy correct number of xdp queues upon failure
7ed59c4027a8 net: Remove acked SYN flag from packet in the transmit queue 
correctly
10760f4234f7 qed: Fix a potential use-after-free in qed_cxt_tables_alloc
7eda5960a533 net/rose: Fix Use-After-Free in rose_ioctl
64a032015c33 atm: Fix Use-After-Free in do_vcc_ioctl
c20f425e0692 net: fec: correct queue selection
d15e4b825dc0 net: vlan: introduce skb_vlan_eth_hdr()
bc0860a3c49c atm: solos-pci: Fix potential deadlock on _queue_lock
df5c24df63c4 atm: solos-pci: Fix potential deadlock on _queue_lock
6a7b673e6ec7 qca_spi: Fix reset behavior
347d10877bde qca_debug: Fix ethtool -G iface tx behavior
a07e5568d95f qca_debug: Prevent crash on TX ring changes
97275e470c2a net: ipv6: support reporting otherwise unknown prefix flags in 
RTM_NEWPREFIX
b30fbeb390d0 HID: lenovo: Restrict detection of patched firmware only to 
USB cptkbd
84eed654ff33 afs: Fix refcount underflow from error handling race
8ee7b2c46594 netfilter: nf_tables: fix 'exist' matching on bigendian arches
b50306f77190 Linux 5.10.204
fa49e956b725 r8169: fix rtl8125b PAUSE frames blasting when suspended
9e3ca02b1164 devcoredump: Send uevent once devcd is ready
9e0ca920123f devcoredump : Serialize devcd_del work
12467ad3f3d4 smb: client: fix potential NULL deref in parse_dfs_referrals()
0b1711b486de cifs: Fix non-availability of dedup breaking generic/304
8cb1209989fb Revert "btrfs: add dmesg output for first mount and last 
unmount of a 

[OE-core][kirkstone 06/13] linux-yocto/5.15: update to v5.15.146

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

26c690eff0a5 Linux 5.15.146
13578b4ea461 bpf: Fix prog_array_map_poke_run map poke update
339add0430e7 device property: Allow const parameter to dev_fwnode()
4d9dcdb333ca dm-integrity: don't modify bio's immutable bio_vec in 
integrity_metadata()
a033bb82a10c ring-buffer: Fix slowpath of interrupted event
d10f7540c554 netfilter: nf_tables: skip set commit for deleted/destroyed 
sets
d739f2b6d8f5 ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
53bed9b9f431 ring-buffer: Remove useless update to write_stamp in 
rb_try_to_discard()
7fb264aedec9 tracing: Fix blocked reader of snapshot buffer
c73cb01af11f ring-buffer: Fix wake ups when buffer_percent is set to 100
c0be52181f35 mm/filemap: avoid buffered read/write race to read 
inconsistent data
2b16d960c79a Bluetooth: af_bluetooth: Fix Use-After-Free in bt_sock_recvmsg
ded3cfdefec8 smb: client: fix OOB in smbCalcSize()
bfd18c0f570e smb: client: fix OOB in SMB2_query_info_init()
1228354a9889 iio: imu: adis16475: add spi_device_id table
bd1be85dbbbd spi: Introduce spi_get_device_match_data() helper
fcf6fce2f147 device property: Add const qualifier to 
device_get_match_data() parameter
d63fafd6cc28 net: usb: ax88179_178a: avoid failed operations when device is 
disconnected
f860413aa00c net: usb: ax88179_178a: wol optimizations
2964a0de7526 net: usb: ax88179_178a: clean up pm calls
597305fd7708 ethernet: constify references to netdev->dev_addr in drivers
32d9a4ce5240 usb: fotg210-hcd: delete an incorrect bounds test
d529cc227897 ARM: dts: Fix occasional boot hang for am3 usb
8bf06286d740 ksmbd: fix wrong allocation size update in smb2_open()
06208a04a7bd ksmbd: avoid duplicate opinfo_put() call on error of 
smb21_lease_break_ack()
9444c47d2c3b ksmbd: lazy v2 lease break on smb2_write()
f58afd8c7011 ksmbd: send v2 lease break notification for directory
86967f696586 ksmbd: downgrade RWH lease caching state to RH for directory
f7c8270be3cb ksmbd: set v2 lease capability
1bf476d8a89a ksmbd: set epoch in create context v2 lease
ac385518598f ksmbd: have a dependency on cifs ARC4
b54b9fbc16a0 fuse: share lookup state between submount and its parent
1c811b7c83a4 x86/alternatives: Sync core before enabling interrupts
ccda72aa73c7 KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy
46bc250b082c lib/vsprintf: Fix %pfwf when current node refcount == 0
f9dc6e0a0b02 gpio: dwapb: mask/unmask IRQ when disable/enale it
e4d3534c6818 bus: ti-sysc: Flush posted write only after srst_udelay
d47b2b6a087a tracing / synthetic: Disable events after testing in 
synth_event_gen_test_init()
da95f8b7bc6a scsi: core: Always send batch on reset or error handling 
command
686774523f8e dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
7c25c5d72746 net: ks8851: Fix TX stall caused by TX buffer overrun
28855385bff1 net: rfkill: gpio: set GPIO direction
4431cf7c3310 net: 9p: avoid freeing uninit memory in p9pdu_vreadf
85fd35ce5bc0 Input: soc_button_array - add mapping for airplane mode button
a346cfc6389a Bluetooth: MGMT/SMP: Fix address type when using SMP over 
BREDR/LE
916ca52a3e28 Bluetooth: L2CAP: Send reject on command corrupted request
70db6466c029 Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has 
been sent
094ae245f7aa USB: serial: option: add Quectel RM500Q R13 firmware support
d0adf8fe08b9 USB: serial: option: add Foxconn T99W265 with new baseline
a67f0b5bc2fa USB: serial: option: add Quectel EG912Y module support
0e285069fd2a USB: serial: ftdi_sio: update Actisense PIDs constant names
433889344e82 wifi: cfg80211: fix certs build to not depend on file order
69fab6dc3748 wifi: cfg80211: Add my certificate
498f212a774f ALSA: usb-audio: Increase delay in MOTU M quirk
5a16bb60b8ce iio: triggered-buffer: prevent possible freeing of wrong buffer
3becd9bc5af3 iio: adc: ti_am335x_adc: Fix return value check of 
tiadc_request_dma()
b9ccf18e315f iio: common: ms_sensors: ms_sensors_i2c: fix humidity 
conversion time table
f1d9a66e9ce9 scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
1e3effe67e75 Input: ipaq-micro-keys - add error handling for devm_kmemdup
25c441a07360 iio: imu: inv_mpu6050: fix an error code problem in 
inv_mpu6050_read_raw
3cbae23d481b interconnect: Treat xlate() returning NULL node as an error
f47e3f60f239 smb: client: fix OOB in smb2_query_reparse_point()
fd3951b798c8 smb: client: fix NULL deref in asn1_ber_decoder()
6ded9038e4b1 drm/i915: Fix intel_atomic_setup_scalers() plane_state handling
f9954b18c4fa drm/i915: Relocate intel_atomic_setup_scalers()
2a4ef0d6e5f0 drm/i915/mtl: limit second scaler vertical scaling in ver >= 14
6bbeb3960aad ksmbd: fix wrong name of 

[OE-core][kirkstone 04/13] linux-yocto/5.15: update to v5.15.145

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

d93fa2c78854 Linux 5.15.145
ee41f667aa64 kasan: disable kasan_non_canonical_hook() for HW tags
f30f893143b9 tracing/kprobes: Return EADDRNOTAVAIL when func matches 
several symbols
7aa33c99b513 Revert "drm/bridge: lt9611uxc: Switch to devm MIPI-DSI helpers"
4a8350a0ea76 Revert "drm/bridge: lt9611uxc: Register and attach our DSI 
device at probe"
e21817ce167e Revert "drm/bridge: lt9611uxc: fix the race in the error path"
811b5eaee70e ksmbd: don't update ->op_state as OPLOCK_STATE_NONE on error
bd47f9c8b53b ksmbd: move setting SMB2_FLAGS_ASYNC_COMMAND and AsyncId
5e1f31378a81 ksmbd: release interim response after sending status pending 
response
c21d0445088d ksmbd: move oplock handling after unlock parent dir
772d81aeecd3 ksmbd: separately allocate ci per dentry
8ed1118da8c4 ksmbd: fix possible deadlock in smb2_open
ae3356cbe9ac ksmbd: prevent memory leak on error return
8dc9eb7d3503 ksmbd: handle malformed smb1 message
1f50c418d47a ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
3fecda5d853c ksmbd: no need to wait for binded connection termination at 
logoff
841bcade0964 ksmbd: add support for surrogate pair conversion
0eaeb8aec49f ksmbd: fix missing RDMA-capable flag for IPoIB device in 
ksmbd_rdma_capable_netdev()
20b4f6bd4cf9 ksmbd: fix recursive locking in vfs helpers
f30a2ff71561 ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr()
df79244f7339 ksmbd: reorganize ksmbd_iov_pin_rsp()
845837fbfe79 ksmbd: Remove unused field in ksmbd_user struct
fab0175b7f8e ksmbd: fix potential double free on smb2_read_pipe() error path
ef435dec8a84 ksmbd: fix Null pointer dereferences in ksmbd_update_fstate()
4b9b7ea1ffb1 ksmbd: fix wrong error response status by using 
set_smb2_rsp_status()
dd45db4d9bbc ksmbd: fix race condition between tree conn lookup and 
disconnect
0901be8dc6ea ksmbd: fix race condition from parallel smb2 lock requests
50e13932ba55 ksmbd: fix race condition from parallel smb2 logoff requests
f99d5d1d2a25 ksmbd: fix race condition with fp
c77fd3e25a51 ksmbd: fix race condition between session lookup and expire
b9a3e4549676 ksmbd: check iov vector index in ksmbd_conn_write()
01df133b1a7d ksmbd: return invalid parameter error response if smb2 request 
is invalid
4a67467f1134 ksmbd: fix passing freed memory 'aux_payload_buf'
fbed0adfe507 ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
a9128c4134f1 ksmbd: remove experimental warning
6997fa65bf9e ksmbd: add missing calling smb2_set_err_rsp() on error
bd554ed4fdc3 ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()
7019440463df ksmbd: Fix one kernel-doc comment
c5aa74449a41 ksmbd: reduce descriptor size if remaining bytes is less than 
request size
e12b09241693 ksmbd: fix `force create mode' and `force directory mode'
6f0207218c4c ksmbd: fix wrong interim response on compound
f2283680a805 ksmbd: add support for read compound
d7ad0ac5a8f6 ksmbd: switch to use kmemdup_nul() helper
5c0df9d30c28 ksmbd: fix out of bounds in init_smb2_rsp_hdr()
017d85c94f02 ksmbd: validate session id and tree id in compound request
4a027b96515e ksmbd: check if a mount point is crossed during path lookup
cf63b94fec60 ksmbd: Fix unsigned expression compared with zero
5f36e22910c2 ksmbd: Replace one-element array with flexible-array member
d9902ad14f82 ksmbd: Use struct_size() helper in 
ksmbd_negotiate_smb_dialect()
97f5c1e3086c ksmbd: add missing compound request handing in some commands
676392184785 ksmbd: fix out of bounds read in smb2_sess_setup
d91ba80185e4 ksmbd: Replace the ternary conditional operator with min()
ada0959b ksmbd: use kvzalloc instead of kvmalloc
638043bef94a ksmbd: Change the return value of 
ksmbd_vfs_query_maximal_access to void
7585898ddf5a ksmbd: return a literal instead of 'err' in 
ksmbd_vfs_kern_path_locked()
4910a79a5f61 ksmbd: use kzalloc() instead of __GFP_ZERO
b657622862ba ksmbd: remove unused ksmbd_tree_conn_share function
ce95f7d2dcdf ksmbd: add mnt_want_write to ksmbd vfs functions
0d1a3f97efbe ksmbd: validate smb request protocol id
df3a4518aee6 ksmbd: check the validation of pdu_size in 
ksmbd_conn_handler_loop
ae33f07c87ab ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
55ceeb4e1c71 ksmbd: fix out-of-bound read in parse_lease_state()
4adb4fbd7481 ksmbd: fix out-of-bound read in deassemble_neg_contexts()
049ed0f953da ksmbd: call putname after using the last component
b423ddab6138 ksmbd: fix UAF issue from opinfo->conn
19b2b9af315e ksmbd: fix multiple out-of-bounds read during context decoding
61a306c1cc75 ksmbd: fix uninitialized pointer read in smb2_create_link()
ea799dd27584 ksmbd: fix uninitialized pointer read in 

[OE-core][kirkstone 03/13] linux-yocto/5.10: update to v5.10.203

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

d330ef1d295d Linux 5.10.203
9c957e2b5254 driver core: Release all resources during unbind before 
updating device links
2325d3b6b10f r8169: fix deadlock on RTL8125 in jumbo mtu mode
b29e6055db1e r8169: disable ASPM in case of tx timeout
8b76708eb9f1 mmc: sdhci-sprd: Fix vqmmc not shutting down after the card 
was pulled
b532bc9b73e6 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
376fabe3677a mmc: block: Retry commands in CQE error recovery
bf62a283a779 mmc: core: convert comma to semicolon
bb785011843e mmc: cqhci: Fix task clearing in CQE error recovery
cb9ca7cc273b mmc: cqhci: Warn of halt or task clear failure
e94ededefc42 mmc: cqhci: Increase recovery halt timeout
2011f06e32ab cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
6b35f36ff8f0 cpufreq: imx6q: don't warn for disabling a non-existing 
frequency
910566a789a2 scsi: qla2xxx: Fix system crash due to bad pointer access
46a4bf13502f scsi: qla2xxx: Use scsi_cmd_to_rq() instead of 
scsi_cmnd.request
b19fe82b4b92 scsi: core: Introduce the scsi_cmd_to_rq() function
c2b6f7e48e38 smb3: fix caching of ctime on setxattr
f9aa2857c6e6 fs: add ctime accessors infrastructure
8d4237a149e3 drm/amdgpu: don't use ATRM for external devices
2df04d76c97d driver core: Move the "removable" attribute from USB to core
01fbfcd8105c ima: annotate iint mutex to avoid lockdep false positive 
warnings
8a3322a35f74 fbdev: stifb: Make the STI next font pointer a 32-bit signed 
offset
15bc430fc176 misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP 
device support
a6128ad78771 misc: pci_endpoint_test: Add deviceID for AM64 and J7200
c922282d11b3 s390/cmma: fix detection of DAT pages
03e07092c6ce s390/mm: fix phys vs virt confusion in mark_kernel_pXd() 
functions family
cb420e35571c ASoC: SOF: sof-pci-dev: Fix community key quirk detection
b37e1fbe6d30 ASoC: SOF: sof-pci-dev: don't use the community key on APL 
Chromebooks
3a79fcb743f7 ASoC: SOF: sof-pci-dev: add parameter to override topology 
filename
4aeb3320d70e ASoC: SOF: sof-pci-dev: use community key on all Up boards
6368a32d26a3 ASoC: Intel: Move soc_intel_is_foo() helpers to a generic 
header
8e52b19d92e1 smb3: fix touch -h of symlink
889c84e2b200 net: ravb: Start TX queues after HW initialization succeeded
5d428cda38e8 net: ravb: Use pm_runtime_resume_and_get()
f78d0f301395 ravb: Fix races between ravb_tx_timeout_work() and net related 
ops
a36e00e957a2 r8169: prevent potential deadlock in rtl8169_close
8a909c119827 Revert "workqueue: remove unused cancel_work()"
72ce3379cd5e octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 
64
ef7af2105a25 net: stmmac: xgmac: Disable FPE MMC interrupts
f18bcace1294 selftests/net: mptcp: fix uninitialized variable warnings
cb1644f9f005 selftests/net: ipsec: fix constant out of range
fe7fd9c209e8 dpaa2-eth: increase the needed headroom to account for 
alignment
772fe1da9a8d ipv4: igmp: fix refcnt uaf issue when receiving igmp query 
packet
9ef94ec8e52e usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
713530d3c8f1 USB: core: Change configuration warnings to notices
ae6e41066e6e hv_netvsc: fix race of netvsc and VF register_netdevice
4937fb36bbb8 Input: xpad - add HyperX Clutch Gladiate Support
5c4d5c8556ee btrfs: make error messages more clear when getting a chunk map
74ff16c84433 btrfs: send: ensure send_fd is writable
12a0ec5ed7cf btrfs: fix off-by-one when checking chunk map includes logical 
address
baaab02a8c0b btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
2d6c2238acf8 btrfs: add dmesg output for first mount and last unmount of a 
filesystem
bab9cec493b6 parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
b53dc7c766ae powerpc: Don't clobber f0/vs0 during fp|altivec register save
b5cbbc2b2da9 iommu/vt-d: Add MTL to quirk list to skip TE disabling
f62ceb880a71 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
18ac427906af dm verity: don't perform FEC for failed readahead IO
c3c9f9273822 dm-verity: align struct dm_verity_fec_io properly
5de40a7ffaa0 ALSA: hda/realtek: Add supported ALC257 for ChromeOS
cf80c538061e ALSA: hda/realtek: Headset Mic VREF to 100%
f338f738d7bd ALSA: hda: Disable power-save on KONTRON SinglePC
b02b66194d54 mmc: block: Do not lose cache flush during CQE error recovery
71c9fb31e18b firewire: core: fix possible memory leak in create_units()
d6bac7048f28 pinctrl: avoid reload of p state in list iteration
8fb79be6e980 io_uring: fix off-by one bvec index
f5f85ea5bb6a USB: dwc3: qcom: fix wakeup after probe deferral
5ac96667ea32 usb: dwc3: set the dma max_seg_size
2620c5977f49 usb: dwc3: Fix default mode initialization

[OE-core][kirkstone 02/13] linux-yocto/5.15: update to v5.15.142

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

8a1d809b0545 Linux 5.15.142
4d9bd1b108d7 iomap: update ki_pos a little later in iomap_dio_complete
6ed02493ef14 r8169: fix deadlock on RTL8125 in jumbo mtu mode
0249024aa48e r8169: disable ASPM in case of tx timeout
8912dbddb25f mmc: sdhci-sprd: Fix vqmmc not shutting down after the card 
was pulled
68156ce2527f mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
9807860f6ad4 iommu/vt-d: Make context clearing consistent with context 
mapping
7960f2cf4378 iommu/vt-d: Omit devTLB invalidation requests when TES=0
cfd842b71db2 cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
f0b6880658f5 cpufreq: imx6q: don't warn for disabling a non-existing 
frequency
bb08df40d451 smb3: fix caching of ctime on setxattr
15b4158c872d fs: add ctime accessors infrastructure
db78835b68c6 fbdev: stifb: Make the STI next font pointer a 32-bit signed 
offset
711ee151a303 ASoC: SOF: sof-pci-dev: Fix community key quirk detection
81952f82e32b ASoC: SOF: sof-pci-dev: don't use the community key on APL 
Chromebooks
fa0a570d84b7 ASoC: SOF: sof-pci-dev: add parameter to override topology 
filename
0d38d659a9d2 ASoC: SOF: sof-pci-dev: use community key on all Up boards
f3db01e4d012 ASoC: Intel: Move soc_intel_is_foo() helpers to a generic 
header
b4329a3a93d3 smb3: fix touch -h of symlink
b60187f610fb selftests/resctrl: Move _GNU_SOURCE define into Makefile
072c17d4003a selftests/resctrl: Add missing SPDX license to Makefile
1e9973aea221 perf intel-pt: Fix async branch flags
0a6b5321dcb0 net: ravb: Stop DMA in case of failures on ravb_open()
a4515a2f5b1e net: ravb: Start TX queues after HW initialization succeeded
2ba0a8330dae net: ravb: Use pm_runtime_resume_and_get()
5823191fb2ba net: ravb: Check return value of reset_control_deassert()
24681e92e517 ravb: Fix races between ravb_tx_timeout_work() and net related 
ops
9750941783a2 r8169: prevent potential deadlock in rtl8169_close
666250692881 Revert "workqueue: remove unused cancel_work()"
2587d8fe1484 octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 
64
54260f148377 net: stmmac: xgmac: Disable FPE MMC interrupts
9af4884b8ae6 octeontx2-af: Fix possible buffer overflow
f4499f0fc1e6 selftests/net: ipsec: fix constant out of range
8454f0e090d4 uapi: propagate __struct_group() attributes to the container 
union
0bf95654e999 dpaa2-eth: increase the needed headroom to account for 
alignment
c4a00c47a140 ipv4: igmp: fix refcnt uaf issue when receiving igmp query 
packet
64c27b7b2357 usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
e704db8ea64a USB: core: Change configuration warnings to notices
bec3ae293810 hv_netvsc: fix race of netvsc and VF register_netdevice
69732d2151b5 rcu: Avoid tracing a few functions executed in stop machine
02caa78cbc22 vlan: move dev_put into vlan_dev_uninit
842801181864 vlan: introduce vlan_dev_free_egress_priority
a8604a90e1db Input: xpad - add HyperX Clutch Gladiate Support
875eeda48161 btrfs: make error messages more clear when getting a chunk map
47693835edb1 btrfs: send: ensure send_fd is writable
36b98806d243 btrfs: fix off-by-one when checking chunk map includes logical 
address
0ffd9d356ea0 btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
a480eb262b17 btrfs: add dmesg output for first mount and last unmount of a 
filesystem
2e931b33060c parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
f0d052223488 powerpc: Don't clobber f0/vs0 during fp|altivec register save
d48f9008e892 iommu/vt-d: Add MTL to quirk list to skip TE disabling
0c7fa41e3e74 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
c986cb72eb41 dm verity: don't perform FEC for failed readahead IO
9a2590b400d4 dm-verity: align struct dm_verity_fec_io properly
61a982f9a575 ALSA: hda/realtek: Add supported ALC257 for ChromeOS
5fe4d96502e8 ALSA: hda/realtek: Headset Mic VREF to 100%
4ed5ad052286 ALSA: hda: Disable power-save on KONTRON SinglePC
a75793684734 mmc: block: Be sure to wait while busy in CQE error recovery
8dfdd6038e32 mmc: block: Do not lose cache flush during CQE error recovery
129984dc9b1b mmc: block: Retry commands in CQE error recovery
85afaefa9568 mmc: cqhci: Fix task clearing in CQE error recovery
ceec82319989 mmc: cqhci: Warn of halt or task clear failure
9edc063598c9 mmc: cqhci: Increase recovery halt timeout
443829382220 firewire: core: fix possible memory leak in create_units()
b20f71c8098b pinctrl: avoid reload of p state in list iteration

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.15.bb  |  6 ++---
 .../linux/linux-yocto-tiny_5.15.bb|  6 ++---
 meta/recipes-kernel/linux/linux-yocto_5.15.bb | 26 +--
 

[OE-core][nanbield 1/2] linux-yocto/6.1: update to v6.1.78

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

8b4118fabd6e Linux 6.1.78
1296c110c5a0 netfilter: nft_set_rbtree: skip end interval element from gc
d89a80e4827d net: stmmac: xgmac: fix a typo of register name in DPP safety 
handling
7b430fb92440 ALSA: usb-audio: Sort quirk table entries
06040fadbfef net: stmmac: xgmac: use #define for string constants
499e6e9f0737 clocksource: Skip watchdog check for large watchdog intervals
492e0aba0884 block: treat poll queue enter similarly to timeouts
cf3d57ad6ff8 f2fs: add helper to check compression level
9f74b3d7183a RDMA/irdma: Fix support for 64k pages
4675661672e3 vhost: use kzalloc() instead of kmalloc() followed by memset()
d8712c6c6a38 Revert "ASoC: amd: Add new dmi entries for acp5x platform"
fbd77ce1d174 io_uring/net: fix sr->len for IORING_OP_RECV with MSG_WAITALL 
and buffers
08249dc3d9c1 Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping 
ATKBD_CMD_GETID
315075ac739c Input: i8042 - fix strange behavior of touchpad on Clevo NS70PU
a94d303bea6b hrtimer: Report offline hrtimer enqueue
8b380ad970d0 usb: host: xhci-plat: Add support for 
XHCI_SG_TRB_CACHE_SIZE_QUIRK
f2cf6db28545 usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK
041cb58f54f5 USB: serial: cp210x: add ID for IMST iM871A-USB
36ef5b7b4f0a USB: serial: option: add Fibocom FM101-GL variant
234099ab7f8a USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e
39fbca505fe6 ALSA: usb-audio: add quirk for RODE NT-USB+
2552f6b1bd64 ALSA: usb-audio: Add a quirk for Yamaha YIT-W12TX transmitter
b8259a502320 ALSA: usb-audio: Add delay quirk for MOTU M Series 2nd revision
82761993d429 mtd: parsers: ofpart: add workaround for #size-cells 0
b478e414cf85 fs: dlm: don't put dlm_local_addrs on heap
e5dc63f01e02 blk-iocost: Fix an UBSAN shift-out-of-bounds warning
1ebd75cefaac scsi: core: Move scsi_host_busy() out of host lock if it is 
for per-command
ec1bedd79758 fs/ntfs3: Fix an NULL dereference bug
a442ff5405d7 netfilter: nft_set_pipapo: remove scratch_aligned pointer
fac3478d5b87 netfilter: nft_set_pipapo: add helper to release pcpu scratch 
area
3eaab7d565be netfilter: nft_set_pipapo: store index in scratch maps
181dade25130 netfilter: nft_ct: reject direction for ct id
efdd665ce1a1 drm/amd/display: Implement bounds check for stream encoder 
creation in DCN301
a060da32357a netfilter: nft_compat: restrict match/target protocol to u16
8762bcc92719 netfilter: nft_compat: reject unused compat flag
e79ef7966ee9 netfilter: nft_compat: narrow down revision to unsigned 8-bits
69d66d493b1f selftests: cmsg_ipv6: repeat the exact packet
4e2c4846b250 ppp_async: limit MRU to 64K
e0e09186d882 af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.
3d3a5b31b435 tipc: Check the bearer type before calling 
tipc_udp_nl_bearer_add()
cf6b97e1830e rxrpc: Fix response to PING RESPONSE ACKs to a dead call
05a4d0e16615 drm/i915/gvt: Fix uninitialized variable in handle_mmio()
54538752216b inet: read sk->sk_family once in inet_recv_error()
3fa78ee0e381 hwmon: (coretemp) Fix bogus core_id to attr name mapping
9bce69419271 hwmon: (coretemp) Fix out-of-bounds memory access
a3156be201cf hwmon: (aspeed-pwm-tacho) mutex for tach reading
406574668634 octeontx2-pf: Fix a memleak otx2_sq_init
cbf2e1660259 atm: idt77252: fix a memleak in open_card_ubr0
e37cde7a5716 tunnels: fix out of bounds access when building IPv6 PMTU error
90fe47743a2b selftests: net: avoid just another constant wait
7f484179c53a selftests: net: cut more slack for gro fwd tests.
466ceebe48cb net: atlantic: Fix DMA mapping for PTP hwts ring
0193e0660cc6 netdevsim: avoid potential loop in nsim_dev_trap_report_work()
bcabbf8ab5c6 wifi: mac80211: fix waiting for beacons logic
e42ff0844fe4 net: stmmac: xgmac: fix handling of DPP safety error for DMA 
channels
fb8bfc6ea3cd drm/msm/dpu: check for valid hw_pp in 
dpu_encoder_helper_phys_cleanup
42939a1ea6d4 drm/msm/dp: return correct Colorimetry for 
DP_TEST_DYNAMIC_RANGE_CEA case
d2b7e247f368 drm/msms/dp: fixed link clock divider bits be over written in 
BPC unknown case
cbc53148cc09 cifs: failure to add channel on iface should bump up weight
0430bfcd4665 phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP
296fb308f4f8 dmaengine: fix is_slave_direction() return false when 
DMA_DEV_TO_DEV
ed3bb52a05d3 phy: renesas: rcar-gen3-usb2: Fix returning wrong error code
25ab4d72eb7c dmaengine: fsl-qdma: Fix a memory leak related to the queue 
command DMA
13535ae76655 dmaengine: fsl-qdma: Fix a memory leak related to the status 
queue DMA
908939b8e81a dmaengine: ti: k3-udma: Report short packet errors
a1d7ca71ba1a dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools
78327acd4cdc 

[OE-core][nanbield 2/2] linux-yocto/6.1: update CVE exclusions

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

1/1 [
Author: Nicholas Luedtke
Email: nicholas.lued...@uwalumni.com
Subject: Update 9Feb24
Date: Fri, 9 Feb 2024 18:02:45 -0500

]

Signed-off-by: Bruce Ashfield 
---
 .../linux/cve-exclusion_6.1.inc   | 104 --
 1 file changed, 93 insertions(+), 11 deletions(-)

diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.1.inc 
b/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
index 45fcc7b260..cb48e4d88d 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
@@ -1,9 +1,9 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2024-01-18 21:10:06.148505+00:00 for version 6.1.73
+# Generated at 2024-02-21 02:22:41.710563+00:00 for version 6.1.78
 
 python check_kernel_cve_status_version() {
-this_version = "6.1.73"
+this_version = "6.1.78"
 kernel_version = d.getVar("LINUX_VERSION")
 if kernel_version != this_version:
 bb.warn("Kernel CVE status needs updating: generated for %s but kernel 
is %s" % (this_version, kernel_version))
@@ -3668,6 +3668,10 @@ CVE_STATUS[CVE-2021-3348] = "fixed-version: Fixed from 
version 5.11rc6"
 
 CVE_STATUS[CVE-2021-33624] = "fixed-version: Fixed from version 5.13rc7"
 
+CVE_STATUS[CVE-2021-33630] = "fixed-version: Fixed from version 5.4rc1"
+
+CVE_STATUS[CVE-2021-33631] = "cpe-stable-backport: Backported in 6.1.4"
+
 CVE_STATUS[CVE-2021-33655] = "fixed-version: Fixed from version 5.19rc6"
 
 CVE_STATUS[CVE-2021-33656] = "fixed-version: Fixed from version 5.12rc1"
@@ -4420,7 +4424,7 @@ CVE_STATUS[CVE-2022-3636] = "fixed-version: Fixed from 
version 5.19rc1"
 
 CVE_STATUS[CVE-2022-3640] = "fixed-version: Fixed from version 6.1rc4"
 
-# CVE-2022-36402 has no known resolution
+CVE_STATUS[CVE-2022-36402] = "cpe-stable-backport: Backported in 6.1.50"
 
 # CVE-2022-3642 has no known resolution
 
@@ -4958,7 +4962,7 @@ CVE_STATUS[CVE-2023-35824] = "cpe-stable-backport: 
Backported in 6.1.28"
 
 CVE_STATUS[CVE-2023-35826] = "cpe-stable-backport: Backported in 6.1.28"
 
-# CVE-2023-35827 needs backporting (fixed from 6.1.59)
+CVE_STATUS[CVE-2023-35827] = "cpe-stable-backport: Backported in 6.1.59"
 
 CVE_STATUS[CVE-2023-35828] = "cpe-stable-backport: Backported in 6.1.28"
 
@@ -5032,7 +5036,7 @@ CVE_STATUS[CVE-2023-4015] = "cpe-stable-backport: 
Backported in 6.1.43"
 
 CVE_STATUS[CVE-2023-40283] = "cpe-stable-backport: Backported in 6.1.45"
 
-# CVE-2023-40791 needs backporting (fixed from 6.5rc6)
+CVE_STATUS[CVE-2023-40791] = "fixed-version: only affects 6.3rc1 onwards"
 
 CVE_STATUS[CVE-2023-4128] = "cpe-stable-backport: Backported in 6.1.45"
 
@@ -5100,9 +5104,15 @@ CVE_STATUS[CVE-2023-4611] = "fixed-version: only affects 
6.4rc1 onwards"
 
 CVE_STATUS[CVE-2023-4623] = "cpe-stable-backport: Backported in 6.1.53"
 
-# CVE-2023-46813 needs backporting (fixed from 6.1.60)
+CVE_STATUS[CVE-2023-46343] = "cpe-stable-backport: Backported in 6.1.60"
+
+CVE_STATUS[CVE-2023-46813] = "cpe-stable-backport: Backported in 6.1.60"
 
-# CVE-2023-46862 needs backporting (fixed from 6.6)
+CVE_STATUS[CVE-2023-46838] = "cpe-stable-backport: Backported in 6.1.75"
+
+CVE_STATUS[CVE-2023-46862] = "cpe-stable-backport: Backported in 6.1.61"
+
+# CVE-2023-47233 has no known resolution
 
 CVE_STATUS[CVE-2023-4732] = "fixed-version: Fixed from version 5.14rc1"
 
@@ -5110,10 +5120,14 @@ CVE_STATUS[CVE-2023-4881] = "cpe-stable-backport: 
Backported in 6.1.54"
 
 CVE_STATUS[CVE-2023-4921] = "cpe-stable-backport: Backported in 6.1.54"
 
-# CVE-2023-50431 has no known resolution
+CVE_STATUS[CVE-2023-50431] = "cpe-stable-backport: Backported in 6.1.75"
 
 CVE_STATUS[CVE-2023-5090] = "cpe-stable-backport: Backported in 6.1.62"
 
+CVE_STATUS[CVE-2023-51042] = "cpe-stable-backport: Backported in 6.1.47"
+
+CVE_STATUS[CVE-2023-51043] = "cpe-stable-backport: Backported in 6.1.40"
+
 CVE_STATUS[CVE-2023-5158] = "cpe-stable-backport: Backported in 6.1.57"
 
 CVE_STATUS[CVE-2023-51779] = "cpe-stable-backport: Backported in 6.1.70"
@@ -5128,11 +5142,13 @@ CVE_STATUS[CVE-2023-51782] = "cpe-stable-backport: 
Backported in 6.1.69"
 
 CVE_STATUS[CVE-2023-5197] = "cpe-stable-backport: Backported in 6.1.56"
 
+CVE_STATUS[CVE-2023-52340] = "cpe-stable-backport: Backported in 6.1.73"
+
 CVE_STATUS[CVE-2023-5345] = "cpe-stable-backport: Backported in 6.1.56"
 
 CVE_STATUS[CVE-2023-5633] = "fixed-version: only affects 6.2 onwards"
 
-# CVE-2023-5717 needs backporting (fixed from 6.1.60)
+CVE_STATUS[CVE-2023-5717] = "cpe-stable-backport: Backported in 6.1.60"
 
 CVE_STATUS[CVE-2023-5972] = "fixed-version: only affects 6.2rc1 onwards"
 
@@ -5146,8 +5162,12 @@ CVE_STATUS[CVE-2023-6121] = "cpe-stable-backport: 
Backported in 6.1.65"
 
 CVE_STATUS[CVE-2023-6176] = "cpe-stable-backport: Backported in 6.1.54"
 
+CVE_STATUS[CVE-2023-6200] = "fixed-version: only affects 6.6rc1 onwards"
+
 # 

[OE-core] [PATCH 1/2] linux-yocto/6.6: update to v6.6.17

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

b2c9bf06474e Linux 6.6.17
b734f7a47aeb netfilter: nft_set_rbtree: skip end interval element from gc
d850a1f8dbbe net: stmmac: xgmac: fix a typo of register name in DPP safety 
handling
2fbdc116640f ALSA: usb-audio: Sort quirk table entries
460951a8e502 net: stmmac: xgmac: use #define for string constants
22ccf61c336e io_uring/net: limit inline multishot retries
7cbd3aa59db5 io_uring/poll: add requeue return code from poll multishot 
handling
eac52bfe2333 io_uring/net: un-indent mshot retry path in io_recv_finish()
0848bf7e539a io_uring/poll: move poll execution helpers higher up
0ceb7a9230d6 io_uring/net: fix sr->len for IORING_OP_RECV with MSG_WAITALL 
and buffers
7a62d444a252 media: solo6x10: replace max(a, min(b, c)) by clamp(b, a, c)
d41ba25cb8b6 Revert "ASoC: amd: Add new dmi entries for acp5x platform"
ac589a37bc0c Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping 
ATKBD_CMD_GETID
38d4dfeb0a8d Input: i8042 - fix strange behavior of touchpad on Clevo NS70PU
4abccba26f63 hrtimer: Report offline hrtimer enqueue
f0b1398669a3 usb: dwc3: pci: add support for the Intel Arrow Lake-H
f5e7ffa9269a xhci: handle isoc Babble and Buffer Overrun events properly
b5595a07ce1b xhci: process isoc TD properly when there was a transaction 
error mid TD.
a78f36f39a76 usb: host: xhci-plat: Add support for 
XHCI_SG_TRB_CACHE_SIZE_QUIRK
b3e8e687d2db usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK
2aed1b6c33af x86/lib: Revert to _ASM_EXTABLE_UA() for {get,put}_user() 
fixups
7add0db9543e Revert "usb: typec: tcpm: fix cc role at port reset"
2d744a0cf852 USB: serial: cp210x: add ID for IMST iM871A-USB
4d53c5124b82 USB: serial: option: add Fibocom FM101-GL variant
1f2c1cf43e88 USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e
dbeb9bf62c95 ALSA: usb-audio: add quirk for RODE NT-USB+
49ab71ba24b3 ALSA: usb-audio: Add a quirk for Yamaha YIT-W12TX transmitter
790053c73394 ALSA: usb-audio: Add delay quirk for MOTU M Series 2nd revision
27b216130e64 blk-iocost: Fix an UBSAN shift-out-of-bounds warning
89b00dc3d6bb riscv: declare overflow_stack as exported from traps.c
bc401f796061 riscv: Fix arch_hugetlb_migration_supported() for NAPOT
da9c33a70f09 libceph: just wait for more data to be available on the socket
90731f99f8c1 libceph: rename read_sparse_msg_*() to 
read_partial_sparse_msg_*()
f4b69db0efca riscv: Flush the tlb when a page directory is freed
aceb4ab9689b scsi: core: Move scsi_host_busy() out of host lock if it is 
for per-command
d0d1f9a9b937 riscv: Fix hugetlb_mask_last_page() when NAPOT is enabled
21dba4e4f071 riscv: Fix set_huge_pte_at() for NAPOT mapping
d37708448b13 riscv: mm: execute local TLB flush after populating vmemmap
c4a05cf0ed78 mm: Introduce flush_cache_vmap_early()
9bf829def8cf riscv: Improve flush_tlb_kernel_range()
53a38f8f75ec riscv: Make __flush_tlb_range() loop over pte instead of 
flushing the whole tlb
72afe05d6265 riscv: Improve tlb_flush()
fb7bcd1722bc fs/ntfs3: Fix an NULL dereference bug
bab2fb9d6b67 netfilter: nft_set_pipapo: remove scratch_aligned pointer
9af9079ca1fd netfilter: nft_set_pipapo: add helper to release pcpu scratch 
area
e96795240aec netfilter: nft_set_pipapo: store index in scratch maps
28c5407cd2e4 netfilter: nft_ct: reject direction for ct id
cd9bd10c59e3 drm/amd/display: Implement bounds check for stream encoder 
creation in DCN301
3f3c237a7065 drm/amd/display: Add NULL test for 'timing generator' in 
'dcn21_set_pipe()'
2e150ccea131 drm/amd/display: Fix 'panel_cntl' could be null in 
'dcn21_set_backlight_level()'
a600c1ebc464 netfilter: nft_compat: restrict match/target protocol to u16
b3f2e143eb30 netfilter: nft_compat: reject unused compat flag
6a64b8293506 netfilter: nft_compat: narrow down revision to unsigned 8-bits
84bfcb7774b6 selftests: cmsg_ipv6: repeat the exact packet
7e5ef4967076 ppp_async: limit MRU to 64K
b74aa9ce13d0 af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.
888e3524be87 tipc: Check the bearer type before calling 
tipc_udp_nl_bearer_add()
94cac7da5889 selftests: net: let big_tcp test cope with slow env
024b25117511 rxrpc: Fix counting of new acks and nacks
2868b8e45a89 rxrpc: Fix response to PING RESPONSE ACKs to a dead call
200cb50b9e15 rxrpc: Fix delayed ACKs to not set the reference serial number
2c9dc472e66f rxrpc: Fix generation of serial numbers to skip zero
41d5340cb01e drm/i915/gvt: Fix uninitialized variable in handle_mmio()
4a5e31bdd3c1 inet: read sk->sk_family once in inet_recv_error()
2109eb2d6aaa hwmon: (coretemp) Fix bogus core_id to attr name mapping
853a6503c586 hwmon: (coretemp) Fix out-of-bounds memory access
c9b0d253f1ab 

[OE-core] [PATCH 2/2] linux-yocto/6.6: update CVE exclusions

2024-02-20 Thread Bruce Ashfield
From: Bruce Ashfield 

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

1/1 [
Author: Nicholas Luedtke
Email: nicholas.lued...@uwalumni.com
Subject: Update 9Feb24
Date: Fri, 9 Feb 2024 18:02:45 -0500

]

Signed-off-by: Bruce Ashfield 
---
 meta/recipes-kernel/linux/cve-exclusion_6.6.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.6.inc 
b/meta/recipes-kernel/linux/cve-exclusion_6.6.inc
index 501e9541d4..0274496da3 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_6.6.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_6.6.inc
@@ -1,9 +1,9 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2024-02-14 17:05:05.638255+00:00 for version 6.6.16
+# Generated at 2024-02-21 00:38:40.167585+00:00 for version 6.6.17
 
 python check_kernel_cve_status_version() {
-this_version = "6.6.16"
+this_version = "6.6.17"
 kernel_version = d.getVar("LINUX_VERSION")
 if kernel_version != this_version:
 bb.warn("Kernel CVE status needs updating: generated for %s but kernel 
is %s" % (this_version, kernel_version))
-- 
2.39.2


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



Re: [OE-core] [qa-build-notification] QA notification for completed autobuilder build (yocto-4.3.3.rc1)

2024-02-20 Thread Jing Hui Tham
Hi All,
 
QA for yocto-4.3.3.rc1 is completed. This is the full report for this release:  
https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults
 
=== Summary 
No high milestone defects.
 
No new issue found. 
 
Thanks,
Jing Hui


> -Original Message-
> From: qa-build-notificat...@lists.yoctoproject.org  notificat...@lists.yoctoproject.org> On Behalf Of Pokybuild User
> Sent: Saturday, February 10, 2024 10:07 AM
> To: yo...@lists.yoctoproject.org
> Cc: qa-build-notificat...@lists.yoctoproject.org
> Subject: [qa-build-notification] QA notification for completed autobuilder
> build (yocto-4.3.3.rc1)
> 
> 
> A build flagged for QA (yocto-4.3.3.rc1) was completed on the autobuilder
> and is available at:
> 
> 
> https://autobuilder.yocto.io/pub/releases/yocto-4.3.3.rc1
> 
> 
> Build URL:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6552
> 
> Build hash information:
> 
> bitbake: 380a9ac97de5774378ded5e37d40b79b96761a0c
> meta-agl: 54333533f293cae29cf00948862ae86c8c814197
> meta-arm: 6bfd024269c3888dffef7540b0618b04ee3308ea
> meta-aws: af73d3c35933988ce286c49696827ffe63e5785b
> meta-intel: 8d633bd01e20e31c0dae58cf3cd41eddb2f712c7
> meta-mingw: 49617a253e09baabbf0355bc736122e9549c8ab2
> meta-openembedded: da9063bdfbe130f424ba487f167da68e0ce90e7d
> meta-virtualization: ac125d881f34ff356390e19e02964f8980d4ec38
> oecore: 0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3
> poky: d3b27346c3a4a7ef7ec517e9d339d22bda74349d
> 
> 
> 
> This is an automated message from the Yocto Project Autobuilder
> Git: git://git.yoctoproject.org/yocto-autobuilder2
> Email: richard.pur...@linuxfoundation.org
> 
> 
> 
> 
> 
> 
> 


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



[OE-core] [PATCH] ncurses: Always pass -D_GNU_SOURCE

2024-02-20 Thread Khem Raj
So far it was assumed that it was detected ok for target recipe but
actually it ends up with warnings and build moves on, however with
gcc-14 these warnings are treated as errors and we see the problem even
with target recipes.

Signed-off-by: Khem Raj 
---
 meta/recipes-core/ncurses/ncurses.inc | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/ncurses/ncurses.inc 
b/meta/recipes-core/ncurses/ncurses.inc
index 367f3b19f48..761b6a3d312 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -27,10 +27,8 @@ EXTRASITECONFIG = "CFLAGS='${CFLAGS} 
-I${SYSROOT_DESTDIR}${includedir}'"
 # TODO: remove this variable when widec is supported in every setup?
 ENABLE_WIDEC ?= "true"
 
-# _GNU_SOURCE is required for widec stuff and is detected automatically
-# for target objects.  But it must be set manually for native and sdk
-# builds.
-BUILD_CPPFLAGS += "-D_GNU_SOURCE"
+# _GNU_SOURCE is required for widec stuff and is not detected automatically
+CPPFLAGS += "-D_GNU_SOURCE"
 
 # natives don't generally look in base_libdir
 base_libdir:class-native = "${libdir}"
-- 
2.43.2


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



[v2][oe-core][PATCH 1/1] qemuboot: predictable network interface names

2024-02-20 Thread Joe Slater via lists.openembedded.org
From: Joe Slater 

Allow interface renaming if 'pni-names' is a distro
feature.

We do not add QB_NO_PNI to QB_CMDLINE_IP_SLIRP because
renaming was never suppressed for slirp.

Signed-off-by: Joe Slater 
---
 meta/classes-recipe/qemuboot.bbclass | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/classes-recipe/qemuboot.bbclass 
b/meta/classes-recipe/qemuboot.bbclass
index ff32aac902..4a563b8ccc 100644
--- a/meta/classes-recipe/qemuboot.bbclass
+++ b/meta/classes-recipe/qemuboot.bbclass
@@ -101,8 +101,13 @@ QB_DEFAULT_FSTYPE ?= "ext4"
 QB_RNG ?= "-object rng-random,filename=/dev/urandom,id=rng0 -device 
virtio-rng-pci,rng=rng0"
 QB_OPT_APPEND ?= ""
 QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@"
+
+# qemurunner needs ip information first, so append QB_NO_PNI
+#
+QB_NO_PNI ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pni-names', '', 
'net.ifnames=0', d)}"
 QB_CMDLINE_IP_SLIRP ?= "ip=dhcp"
-QB_CMDLINE_IP_TAP ?= 
"ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8 
net.ifnames=0"
+QB_CMDLINE_IP_TAP ?= 
"ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8 
${QB_NO_PNI}"
+
 QB_ROOTFS_EXTRA_OPT ?= ""
 QB_GRAPHICS ?= ""
 QB_NFSROOTFS_EXTRA_OPT ?= ""
-- 
2.25.1


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



Re: [oe-core][PATCH 1/1] qemuboot: predictable network interface names

2024-02-20 Thread Joe Slater via lists.openembedded.org
Looking at qemurunner.py, it seems it will not find the ip info if net.ifnames 
precedes it.  I will submit a V2 of the patch.

Joe

> -Original Message-
> From: Alexandre Belloni 
> Sent: Tuesday, February 6, 2024 11:12 AM
> To: Slater, Joseph 
> Cc: openembedded-core@lists.openembedded.org; MacLeod, Randy
> 
> Subject: Re: [oe-core][PATCH 1/1] qemuboot: predictable network interface
> names
> 
> I'm pretty sure this is the cause of those failures:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6396/steps/1
> 4/logs/stdio
> 
> On 05/02/2024 10:56:08-0800, Joe Slater via lists.openembedded.org wrote:
> > From: Joe Slater 
> >
> > Allow interface renaming if 'pni-names' is a distro feature.
> >
> > We do not add QB_NO_PNI to QB_CMDLINE_IP_SLIRP because renaming was
> > never suppressed for slirp.
> >
> > Signed-off-by: Joe Slater 
> > ---
> >  meta/classes-recipe/qemuboot.bbclass | 5 -
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta/classes-recipe/qemuboot.bbclass
> > b/meta/classes-recipe/qemuboot.bbclass
> > index ff32aac902..4a2a6f1ef5 100644
> > --- a/meta/classes-recipe/qemuboot.bbclass
> > +++ b/meta/classes-recipe/qemuboot.bbclass
> > @@ -101,8 +101,11 @@ QB_DEFAULT_FSTYPE ?= "ext4"
> >  QB_RNG ?= "-object rng-random,filename=/dev/urandom,id=rng0 -device
> virtio-rng-pci,rng=rng0"
> >  QB_OPT_APPEND ?= ""
> >  QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@"
> > +
> > +QB_NO_PNI ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pni-names', '',
> 'net.ifnames=0', d)}"
> >  QB_CMDLINE_IP_SLIRP ?= "ip=dhcp"
> > -QB_CMDLINE_IP_TAP ?=
> "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.
> 8.8.8 net.ifnames=0"
> > +QB_CMDLINE_IP_TAP ?= "${QB_NO_PNI}
> ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.
> 8.8"
> > +
> >  QB_ROOTFS_EXTRA_OPT ?= ""
> >  QB_GRAPHICS ?= ""
> >  QB_NFSROOTFS_EXTRA_OPT ?= ""
> > --
> > 2.25.1
> >
> 
> >
> > 
> >
> 
> 
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

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



[OE-Core][PATCH 3/4] testimage: add target disk usage stat as post action

2024-02-20 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré 

In order to debug issues related to disk space (see [1]),  add a failed
tests post action to retrieve disk usage on the target. Rely on the test
context object to run the corresponding command onto the target

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15220

Signed-off-by: Alexis Lothoré 
---
 .../failed-tests-post-actions.bbclass   | 17 -
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/meta/classes-recipe/failed-tests-post-actions.bbclass 
b/meta/classes-recipe/failed-tests-post-actions.bbclass
index eaf08fb792f3..a8604fca2b9d 100644
--- a/meta/classes-recipe/failed-tests-post-actions.bbclass
+++ b/meta/classes-recipe/failed-tests-post-actions.bbclass
@@ -5,6 +5,20 @@
 #
 
 
+##
+# Host/target statistics
+##
+
+def get_target_disk_usage(d, tc):
+output_file = os.path.join(get_testimage_json_result_dir(d), "artifacts", 
"target_disk_usage.txt")
+try:
+(status, output) = tc.target.run('df -hl')
+with open(output_file, 'w') as f:
+f.write(output)
+f.write("\n")
+except Exception as e:
+bb.warn(f"Can not get target disk usage: {e}")
+
 ##
 # Artifacts retrieval
 ##
@@ -61,7 +75,8 @@ def list_and_fetch_failed_tests_artifacts(d, tc):
 def run_failed_tests_post_actions(d, tc):
 post_actions=[
 create_artifacts_directory,
-list_and_fetch_failed_tests_artifacts
+list_and_fetch_failed_tests_artifacts,
+get_target_disk_usage
 ]
 
 for action in post_actions:
-- 
2.43.1


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



[OE-Core][PATCH 4/4] testimage: add host disk usage stat as post action

2024-02-20 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré 

Since the target under test can be a virtualized guest, when some tests
fail because of disk usage (see [1]), also fetch disk usage statistics from
host to allow checking whether a host disk space saturation could affect
running tests.

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15220

Signed-off-by: Alexis Lothoré 
---
 .../failed-tests-post-actions.bbclass   | 13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/meta/classes-recipe/failed-tests-post-actions.bbclass 
b/meta/classes-recipe/failed-tests-post-actions.bbclass
index a8604fca2b9d..a9e92aa2427e 100644
--- a/meta/classes-recipe/failed-tests-post-actions.bbclass
+++ b/meta/classes-recipe/failed-tests-post-actions.bbclass
@@ -19,6 +19,16 @@ def get_target_disk_usage(d, tc):
 except Exception as e:
 bb.warn(f"Can not get target disk usage: {e}")
 
+def get_host_disk_usage(d, tc):
+import subprocess
+
+output_file = os.path.join(get_testimage_json_result_dir(d), "artifacts", 
"host_disk_usage.txt")
+try:
+with open(output_file, 'w') as f:
+output = subprocess.run(['/usr/bin/df', '-hl'], check=True, 
text=True, stdout=f)
+except Exception as e:
+bb.warn(f"Can not get host disk usage: {e}")
+
 ##
 # Artifacts retrieval
 ##
@@ -76,7 +86,8 @@ def run_failed_tests_post_actions(d, tc):
 post_actions=[
 create_artifacts_directory,
 list_and_fetch_failed_tests_artifacts,
-get_target_disk_usage
+get_target_disk_usage,
+get_host_disk_usage
 ]
 
 for action in post_actions:
-- 
2.43.1


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



[OE-Core][PATCH 0/4] testimage: add failed test post actions and fetch more data

2024-02-20 Thread Alexis Lothoré via lists . openembedded . org
Hello,
this small series is related to some disk space issue observed by the SWAT
team (see [1]) which eventually leads to tests failure. In order to help
diagnose those issues, I propose to enrich the retrieved artifacts with
some additional data, like disk usage on target and on host (in case the
target is a virtualized guest)

To do so, this series first reworks a bit actions executed on failed tests
to allow declaring a sequence of actions. It then introduces two small
actions which basically run "df" on target and host. I chose to store
those stats in dedicated files, thinking it is better than "contaminating"
tests steps logs with those very specific data.

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15220

Signed-off-by: Alexis Lothoré 

Alexis Lothoré (4):
  testimage: create a list of failed test post actions
  testimage: isolate artifacts directory creation in dedicated post
action
  testimage: add target disk usage stat as post action
  testimage: add host disk usage stat as post action

 .../failed-tests-post-actions.bbclass | 94 +++
 meta/classes-recipe/testimage.bbclass | 42 +
 2 files changed, 96 insertions(+), 40 deletions(-)
 create mode 100644 meta/classes-recipe/failed-tests-post-actions.bbclass

-- 
2.43.1


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



[OE-Core][PATCH 2/4] testimage: isolate artifacts directory creation in dedicated post action

2024-02-20 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré 

In order to be able to create actions that could store new files during
failed test post actions, we need to split artifacts directory creation
from artifacts retrieval.

Create a new dedicated action to create artifacts main directory so we can
add actions creating files in this new directory, without worrying about
actions order if at least this action is set first.

Signed-off-by: Alexis Lothoré 
---
 .../failed-tests-post-actions.bbclass| 16 ++--
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/meta/classes-recipe/failed-tests-post-actions.bbclass 
b/meta/classes-recipe/failed-tests-post-actions.bbclass
index 7c7d3391298f..eaf08fb792f3 100644
--- a/meta/classes-recipe/failed-tests-post-actions.bbclass
+++ b/meta/classes-recipe/failed-tests-post-actions.bbclass
@@ -9,6 +9,15 @@
 # Artifacts retrieval
 ##
 
+def create_artifacts_directory(d, tc):
+import shutil
+
+local_artifacts_dir = os.path.join(get_testimage_json_result_dir(d), 
"artifacts")
+if os.path.isdir(local_artifacts_dir):
+shutil.rmtree(local_artifacts_dir)
+
+os.makedirs(local_artifacts_dir)
+
 def get_artifacts_list(target, raw_list):
 result = []
 # Passed list may contains patterns in paths, expand them directly on 
target
@@ -25,13 +34,7 @@ def get_artifacts_list(target, raw_list):
 return result
 
 def retrieve_test_artifacts(target, artifacts_list, target_dir):
-import shutil
-
 local_artifacts_dir = os.path.join(target_dir, "artifacts")
-if os.path.isdir(local_artifacts_dir):
-shutil.rmtree(local_artifacts_dir)
-
-os.makedirs(local_artifacts_dir)
 for artifact_path in artifacts_list:
 if not os.path.isabs(artifact_path):
 bb.warn(f"{artifact_path} is not an absolute path")
@@ -57,6 +60,7 @@ def list_and_fetch_failed_tests_artifacts(d, tc):
 
 def run_failed_tests_post_actions(d, tc):
 post_actions=[
+create_artifacts_directory,
 list_and_fetch_failed_tests_artifacts
 ]
 
-- 
2.43.1


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



[OE-Core][PATCH 1/4] testimage: create a list of failed test post actions

2024-02-20 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré 

testimage is able to detect whenever a test run leads to some tests
failing, and execute some actions in this case. The only action currently
defined in such case is to retrieve artifacts from the target under test,
as listed in TESTIMAGE_FAILED_QA_ARTIFACTS

In order to be able to add multiple actions, define a central function to
gather all "post actions" to run whenever a test has failed
(run_failed_tests_post_actions). This function contains a table listing all
functions to be called whenever a test fails. Any function in this table
will be provided with bitbake internal data dictionary ("d") and the
current runtime testing context ("tc"). Isolate all this feature in a
dedicated bbclass file inherited by testimage.
This patch does not bring any functional change.

Signed-off-by: Alexis Lothoré 
---
 .../failed-tests-post-actions.bbclass | 64 +++
 meta/classes-recipe/testimage.bbclass | 42 +---
 2 files changed, 66 insertions(+), 40 deletions(-)
 create mode 100644 meta/classes-recipe/failed-tests-post-actions.bbclass

diff --git a/meta/classes-recipe/failed-tests-post-actions.bbclass 
b/meta/classes-recipe/failed-tests-post-actions.bbclass
new file mode 100644
index ..7c7d3391298f
--- /dev/null
+++ b/meta/classes-recipe/failed-tests-post-actions.bbclass
@@ -0,0 +1,64 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+
+##
+# Artifacts retrieval
+##
+
+def get_artifacts_list(target, raw_list):
+result = []
+# Passed list may contains patterns in paths, expand them directly on 
target
+for raw_path in raw_list.split():
+cmd = f"for p in {raw_path}; do if [ -e $p ]; then echo $p; fi; done"
+try:
+status, output = target.run(cmd)
+if status != 0 or not output:
+raise Exception()
+result += output.split()
+except:
+bb.note(f"No file/directory matching path {raw_path}")
+
+return result
+
+def retrieve_test_artifacts(target, artifacts_list, target_dir):
+import shutil
+
+local_artifacts_dir = os.path.join(target_dir, "artifacts")
+if os.path.isdir(local_artifacts_dir):
+shutil.rmtree(local_artifacts_dir)
+
+os.makedirs(local_artifacts_dir)
+for artifact_path in artifacts_list:
+if not os.path.isabs(artifact_path):
+bb.warn(f"{artifact_path} is not an absolute path")
+continue
+try:
+dest_dir = os.path.join(local_artifacts_dir, 
os.path.dirname(artifact_path[1:]))
+os.makedirs(dest_dir, exist_ok=True)
+target.copyFrom(artifact_path, dest_dir)
+except Exception as e:
+bb.warn(f"Can not retrieve {artifact_path} from test target: {e}")
+
+def list_and_fetch_failed_tests_artifacts(d, tc):
+artifacts_list = get_artifacts_list(tc.target, 
d.getVar("TESTIMAGE_FAILED_QA_ARTIFACTS"))
+if not artifacts_list:
+bb.warn("Could not load artifacts list, skip artifacts retrieval")
+else:
+retrieve_test_artifacts(tc.target, artifacts_list, 
get_testimage_json_result_dir(d))
+
+
+##
+# General post actions runner
+##
+
+def run_failed_tests_post_actions(d, tc):
+post_actions=[
+list_and_fetch_failed_tests_artifacts
+]
+
+for action in post_actions:
+action(d, tc)
diff --git a/meta/classes-recipe/testimage.bbclass 
b/meta/classes-recipe/testimage.bbclass
index bee19674ef4f..d2b525d40f41 100644
--- a/meta/classes-recipe/testimage.bbclass
+++ b/meta/classes-recipe/testimage.bbclass
@@ -4,6 +4,7 @@
 
 inherit metadata_scm
 inherit image-artifact-names
+inherit failed-tests-post-actions
 
 # testimage.bbclass enables testing of qemu images using python unittests.
 # Most of the tests are commands run on target image over ssh.
@@ -177,40 +178,6 @@ def get_testimage_boot_patterns(d):
 boot_patterns[flag] = flagval.encode().decode('unicode-escape')
 return boot_patterns
 
-def get_artifacts_list(target, raw_list):
-result = []
-# Passed list may contains patterns in paths, expand them directly on 
target
-for raw_path in raw_list.split():
-cmd = f"for p in {raw_path}; do if [ -e $p ]; then echo $p; fi; done"
-try:
-status, output = target.run(cmd)
-if status != 0 or not output:
-raise Exception()
-result += output.split()
-except:
-bb.note(f"No file/directory matching path {raw_path}")
-
-return result
-
-def retrieve_test_artifacts(target, artifacts_list, target_dir):
-import shutil
-
-local_artifacts_dir = os.path.join(target_dir, "artifacts")
-if 

Re: [OE-core] Dbus EXTRA_OECONF

2024-02-20 Thread Alexander Kanavin
On Tue, 20 Feb 2024 at 14:14, Alexander Kanavin via
lists.openembedded.org 
wrote:

> As far as I understand it's only those embedded tests that are
> problematic, and other kinds of tests (e.g. modular tests) don't
> affect how the library is built. So perhaps you can make a patch that
> passes in (or removes) the respective autoconf options, so that the
> above conditions no longer are true?

I have now sent this patch.

Alex

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



[OE-core] [PATCH] dbus: disable assertions and enable only modular tests

2024-02-20 Thread Alexander Kanavin
There was a report that enabling assertions and all tests results in
notices in log.do_configure:

NOTE: building with unit tests increases the size of the installed library and 
renders it insecure.
NOTE: building with assertions increases library size and decreases performance.

This was overlooked when dbus and dbus-tests recipes were merged;
enabling all tests and assertions still requires a special, separate
build of dbus. If those tests are useful this could be revisited.
Until then, we should use productions settings for the main recipe.

Buildhistory-diff:
packages/core2-64-poky-linux/dbus/dbus-dbg: PKGSIZE changed from 9958176 to 
8627824 (-13%)
packages/core2-64-poky-linux/dbus/dbus-lib: PKGSIZE changed from 544347 to 
346339 (-36%)
packages/core2-64-poky-linux/dbus/dbus-ptest: PKGSIZE changed from 3524983 to 
3116951 (-12%)
packages/core2-64-poky-linux/dbus/dbus-ptest: FILELIST: removed 
"/usr/share/installed-tests/dbus/test-dbus-launch-eval.sh_with_config.test 
/usr/share/installed-tests/dbus/test-counter_with_config.test 
/usr/libexec/installed-tests/dbus/test-dbus-launch-eval.sh 
/usr/libexec/installed-tests/dbus/test-dbus-launch-x11.sh 
/usr/share/installed-tests/dbus/test-counter.test 
/usr/libexec/installed-tests/dbus/test-counter 
/usr/share/installed-tests/dbus/test-dbus-launch-x11.sh.test 
/usr/share/installed-tests/dbus/test-dbus-launch-x11.sh_with_config.test 
/usr/share/installed-tests/dbus/test-dbus-launch-eval.sh.test"
packages/core2-64-poky-linux/dbus/dbus: PKGSIZE changed from 510939 to 350331 
(-31%)

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-core/dbus/dbus_1.14.10.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-core/dbus/dbus_1.14.10.bb 
b/meta/recipes-core/dbus/dbus_1.14.10.bb
index 2a256beabff..4fe7af7512b 100644
--- a/meta/recipes-core/dbus/dbus_1.14.10.bb
+++ b/meta/recipes-core/dbus/dbus_1.14.10.bb
@@ -22,9 +22,8 @@ EXTRA_OECONF = "--disable-xml-docs \
 --disable-doxygen-docs \
 --enable-largefile \
 --with-system-socket=/run/dbus/system_bus_socket \
---enable-tests \
+--enable-modular-tests \
 --enable-checks \
---enable-asserts \
 --runstatedir=/run \
 "
 EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl"
-- 
2.39.2


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



Re: [OE-core] [PATCH 3/4] python3-numpy: inherit python_mesonpy

2024-02-20 Thread Trevor Gamblin


On 2024-02-20 06:33, Richard Purdie wrote:

On Mon, 2024-02-19 at 09:30 -0800, Tim Orling wrote:

Replace the deprecated setuptools3 bbclass with python_mesonpy.

The build-backend has been defined as "mesonpy" since:
https://github.com/numpy/numpy/commit/942fb8caf33a65e449fbf198ecf1cd39be953248

The vendored meson-python was dropped in:
https://github.com/numpy/numpy/commit/6544e33ac7a3a600c2fb565401c811a17ecdb3d5

While we are at it:
* Drop ${PYTHON_PN} and use python3 instead
* Sort RDEPENDS alphabetically

The ptests run, but we still have issues with sufficient memory and
free disk space (the reason python3-numpy is in PTEST_PROBLEMS).

Signed-off-by: Tim Orling 

This looks to introduce a reproducibility issue:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4399


Hi,

I've filed a bug for this: 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15406


Let's stick with the existing backend for now and I'll fix it ASAP.

Trevor



Cheers,

Richard




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



[OE-core] Yocto Project Status 20 February 2024 (WW08)

2024-02-20 Thread Stephen Jolley
Current Dev Position: YP 5.0 M3 - Feature Freeze

Next Deadline: 19th February 2024 YP 5.0 M3 build

Next Team Meetings:

   -

   Bug Triage meeting Thursday February 22nd at 7:30 am PST (
   https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6dz09)
   -

   Weekly Project Engineering Sync Tuesday February 20th at 8 am PST (
   https://zoom.us/j/990892712?pwd=cHU1MjhoM2x6ck81bkcrYjRrcmJsUT09)
   
   -

   Twitch -  See https://www.twitch.tv/theyoctojester


Key Status/Updates:

   -

   We are now at feature freeze for 5.0, preparing to build M3
   -

   YP 4.3.3 is in QA.
   -

   The changes which we’d still like to see in 5.0 that have not merged yet
   are:
   -

  genericarm64 machine
  -

  change to rust test suite logging
  -

  useradd fix
  -

  sstate permissions issue testcase
  -

   Big thanks to those who submitted their changes before the deadline!
   -

   There are also several concerning issues without any clear resolution
   path at present:
   -

  rust upgrade blocked by reproducibility issues
  -

  musl upgrade blocked by large number of unsubmitted pending patches
  -

  nativesdk-systemd usage broken by usrmerge requirement (we can’t
  changing the SDK layout now)
  -

  go isn't upgraded
  -

  concern about dbus configure flags for testing
  -

   There are several significant and useful changes which have merged
   recently:
   -

  Improvements to devtool to use git notes
  -

  devtool IDE support
  -

  Hashserve improvements (cleanup API, parallel queries, existence API)
  -

  oe-setup-build script merged
  -

  python_mesonpy support
  -

  various git fetcher fixes/tweaks
  -

  vscode integration improvements
  -

  CVE fixes or exclusion list tweaks
  -

   There have been questions about official RISC-V support in this next
   release, especially since it is an LTS. There is the potential to do this
   since the configurations have been written and are close to working. We’re
   wondering about trial testing this for M3 as a proof of concept. Without
   higher tier project membership support, this will not make it into the LTS
   final release though.


Ways to contribute:

   -

   As people are likely aware, the project has a number of components which
   are either unmaintained, or have people with little to no time trying to
   keep them alive. These components include: devtool, toaster, wic, oeqa,
   autobuilder, CROPs containers, pseudo and more. Many have open bugs. Help
   is welcome in trying to better look after these components!
   -

   There are bugs identified as possible for newcomers to the project:
   https://wiki.yoctoproject.org/wiki/Newcomers
   -

   There are bugs that are currently unassigned for YP 5.0. See:
   
https://wiki.yoctoproject.org/wiki/Bug_Triage#Medium+_5.0_Unassigned_Enhancements/Bugs
   -

   We’d welcome new maintainers for recipes in OE-Core. Please see the list
   at:
   
http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/conf/distro/include/maintainers.inc
   and discuss with the existing maintainer, or ask on the OE-Core mailing
   list. We will likely move a chunk of these to “Unassigned” soon to help
   facilitate this.
   -

   Help is very much welcome in trying to resolve our autobuilder
   intermittent issues. You can see the list of failures we’re continuing to
   see by searching for the “AB-INT” tag in bugzilla:
   https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=AB-INT.
   -

   Help us resolve CVE issues: CVE metrics
   
   -

   We have a growing number of bugs in bugzilla, any help with them is
   appreciated.
   -

   Regarding bugs, even if you can’t fix a bug, submitting a failing test
   case that can reproduce the issue significantly improves the chances it
   might get fixed.


YP 5.0 Milestone Dates:

   -

   YP 5.0 M3 build date  2024/02/19
   -

   YP 5.0 M3 Release date 2024/03/01
   -

   YP 5.0 M4 build date  2024/04/01
   -

   YP 5.0 M4 Release date 2024/04/30


Upcoming dot releases:

   -

   YP 4.3.3 is in QA.
   -

   YP 3.1.32 build date 2024/03/04
   -

   YP 3.1.32 Release date 2024/03/15
   -

   YP 4.0.17 build date 2024/03/11
   -

   YP 4.0.17 Release date 2024/03/22
   -

   YP 4.3.4 build date 2024/03/25
   -

   YP 4.3.4 Release date 2024/04/05
   -

   YP 3.1.33 build date 2024/04/15
   -

   YP 3.1.33 Release date 2024/04/26
   -

   YP 4.0.18 build date 2024/04/22
   -

   YP 4.0.18 Release date 2024/05/03
   -

   YP 4.0.19 build date 2024/06/03
   -

   YP 4.0.19 Release date 2024/06/14


Tracking Metrics:

   -

   WDD 2636 (last week 2621) (
   https://wiki.yoctoproject.org/charts/combo.html)
   -

   OE-Core/Poky Patch Metrics
   -

  Total patches found: 1145 (last week 1147)
  -

  Patches in the Pending State: 250 

[OE-core] Patchtest results for [PATCH 1/2] numactl: Upgrade 2.0.17 -> 2.0.18

2024-02-20 Thread Patchtest
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch 
/home/patchtest/share/mboxes/1-2-numactl-Upgrade-2.0.17---2.0.18.patch

FAIL: test commit message presence: Please include a commit message on your 
patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)

PASS: pretest src uri left files 
(test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence 
(test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test lic files chksum modified not mentioned 
(test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files 
(test_metadata.TestMetadata.test_src_uri_left_files)

SKIP: pretest pylint: No python related patches, skipping test 
(test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new CVE patches introduced 
(test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced 
(test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced 
(test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found 
(test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test 
(test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test 
(test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test 
(test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now 
(test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test 
(test_metadata.TestMetadata.test_summary_presence)
SKIP: test target mailing list: Series merged, no reason to check other mailing 
lists (test_mbox.TestMbox.test_target_mailing_list)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!

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



[OE-core] [PATCH 2/2] lttng-ust: Upgrade 2.13.6 -> 2.13.7

2024-02-20 Thread Richard Purdie
Update one of the patches to account for upstream changes.

Signed-off-by: Richard Purdie 
---
 .../0001-Makefile.am-update-rpath-link.patch   | 12 +---
 ...g-ust-common-link-with-liburcu-explicitly.patch |  7 ---
 ...gust-Makefile.am-Add-install-lib-to-setup.patch | 14 +++---
 .../{lttng-ust_2.13.6.bb => lttng-ust_2.13.7.bb}   |  2 +-
 4 files changed, 17 insertions(+), 18 deletions(-)
 rename meta/recipes-kernel/lttng/{lttng-ust_2.13.6.bb => lttng-ust_2.13.7.bb} 
(95%)

diff --git 
a/meta/recipes-kernel/lttng/lttng-ust/0001-Makefile.am-update-rpath-link.patch 
b/meta/recipes-kernel/lttng/lttng-ust/0001-Makefile.am-update-rpath-link.patch
index cbbf1df812a..6aca8f85faa 100644
--- 
a/meta/recipes-kernel/lttng/lttng-ust/0001-Makefile.am-update-rpath-link.patch
+++ 
b/meta/recipes-kernel/lttng/lttng-ust/0001-Makefile.am-update-rpath-link.patch
@@ -1,4 +1,4 @@
-From 06279f50e924d1d55b43eb3b299f6633ecb1f7a4 Mon Sep 17 00:00:00 2001
+From 7d053804ab3823d40ae10d90f4efc49dbfb4cb66 Mon Sep 17 00:00:00 2001
 From: Changqing Li 
 Date: Wed, 22 Sep 2021 16:33:10 +0800
 Subject: [PATCH] Makefile.am: update rpath link
@@ -13,15 +13,16 @@ ld: warning: liblttng-ust-tracepoint.so.1, needed by 
../../../src/lib/lttng-ust/
 Upstream-Status: Submitted [https://github.com/lttng/lttng-ust/pull/61]
 
 Signed-off-by: Changqing Li 
+
 ---
  doc/examples/Makefile.am | 2 +-
- 1 file changed, 1 insertions(+), 1 deletions(-)
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
-index 8ee0564..20d246c 100644
+index 57782cc..d46caa6 100644
 --- a/doc/examples/Makefile.am
 +++ b/doc/examples/Makefile.am
-@@ -142,7 +142,7 @@ all-local:
+@@ -167,7 +167,7 @@ all-local:
CFLAGS='$(CFLAGS)' \
AM_CFLAGS='$(AM_CFLAGS)' \
LDFLAGS="$(LDFLAGS)" \
@@ -30,6 +31,3 @@ index 8ee0564..20d246c 100644

LTTNG_GEN_TP_PATH="$$rel_src_subdir$(top_srcdir)/tools/" \
AM_V_P="$(AM_V_P)" \
AM_V_at="$(AM_V_at)" \
--- 
-2.17.1
-
diff --git 
a/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch
 
b/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch
index d3c451fd2bc..e85dbdb4398 100644
--- 
a/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch
+++ 
b/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch
@@ -1,4 +1,4 @@
-From 2058584b7e87d6bd9d1765577766e0df7752232c Mon Sep 17 00:00:00 2001
+From 27402453f25fbdb5a9fb1a1b88d1c4d9852187d2 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Sun, 5 Sep 2021 10:44:19 +0200
 Subject: [PATCH] lttng-ust-common: link with liburcu explicitly
@@ -7,15 +7,16 @@ Otherwise linking errors are seen on x86-32.
 
 Upstream-Status: Submitted [by email to lttng-dev, Francis, Jonathan]
 Signed-off-by: Alexander Kanavin 
+
 ---
  src/lib/lttng-ust-common/Makefile.am | 1 +
  1 file changed, 1 insertion(+)
 
 diff --git a/src/lib/lttng-ust-common/Makefile.am 
b/src/lib/lttng-ust-common/Makefile.am
-index caeea2b..30febf0 100644
+index 1ccc290..6531fa0 100644
 --- a/src/lib/lttng-ust-common/Makefile.am
 +++ b/src/lib/lttng-ust-common/Makefile.am
-@@ -15,6 +15,7 @@ liblttng_ust_common_la_SOURCES = \
+@@ -16,6 +16,7 @@ liblttng_ust_common_la_SOURCES = \
  
  liblttng_ust_common_la_LIBADD = \
$(top_builddir)/src/common/libcommon.la \
diff --git 
a/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch
 
b/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch
index fd9b6ea7ff8..7c49583e0dc 100644
--- 
a/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch
+++ 
b/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch
@@ -1,6 +1,6 @@
-From dd1fdc841d069dbd4e284f430a88af79de951124 Mon Sep 17 00:00:00 2001
-From: Robert Yang 
-Date: Thu, 26 Sep 2019 17:54:00 +0800
+From f65efd963e52de51d35e2e03fb773f33dd64f565 Mon Sep 17 00:00:00 2001
+From: Richard Purdie 
+Date: Tue, 20 Feb 2024 12:19:06 +
 Subject: [PATCH] python-lttngust/Makefile.am: Add --install-lib to setup.py
 
 Otherwise it may install to /usr/lib, but should be /usr/lib64 when cross
@@ -15,15 +15,15 @@ Signed-off-by: Robert Yang 
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/src/python-lttngust/Makefile.am b/src/python-lttngust/Makefile.am
-index f95482d..f76d95b 100644
+index d53e21d..283901e 100644
 --- a/src/python-lttngust/Makefile.am
 +++ b/src/python-lttngust/Makefile.am
-@@ -32,7 +32,7 @@ install-exec-local: build-python-bindings.stamp
+@@ -45,7 +45,7 @@ install-exec-local: build-python-bindings.stamp
if [ "$(DESTDIR)" != "" 

[OE-core] [PATCH 1/2] numactl: Upgrade 2.0.17 -> 2.0.18

2024-02-20 Thread Richard Purdie
Signed-off-by: Richard Purdie 
---
 .../numactl/numactl/0001-define-run-test-target.patch | 8 ++--
 .../numactl/numactl/Fix-the-test-output-format.patch  | 3 ++-
 meta/recipes-support/numactl/numactl_git.bb   | 4 ++--
 3 files changed, 10 insertions(+), 5 deletions(-)

diff --git 
a/meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch 
b/meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch
index 185dcb3e2d3..68b3e2491ff 100644
--- a/meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch
+++ b/meta/recipes-support/numactl/numactl/0001-define-run-test-target.patch
@@ -1,4 +1,7 @@
-rename test target as run-test
+From a5e1fa272f294e739d6caaf629968478796ca53a Mon Sep 17 00:00:00 2001
+From: Roy Li 
+Date: Mon, 19 Oct 2020 14:42:11 -0700
+Subject: [PATCH] rename test target as run-test
 
 Upstream-Status: Pending
 
@@ -8,12 +11,13 @@ not suitable for cross-compile environment, so rename it as 
run-test.
 and define test target to compile the test files.
 
 Signed-off-by: Roy Li 
+
 ---
  Makefile.am | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
 diff --git a/Makefile.am b/Makefile.am
-index e84b21e..94a8bff 100644
+index da01d27..c738b93 100644
 --- a/Makefile.am
 +++ b/Makefile.am
 @@ -126,7 +126,9 @@ regress2: $(check_PROGRAMS)
diff --git 
a/meta/recipes-support/numactl/numactl/Fix-the-test-output-format.patch 
b/meta/recipes-support/numactl/numactl/Fix-the-test-output-format.patch
index 00c4f9dfcbc..8345f71d72b 100644
--- a/meta/recipes-support/numactl/numactl/Fix-the-test-output-format.patch
+++ b/meta/recipes-support/numactl/numactl/Fix-the-test-output-format.patch
@@ -1,4 +1,4 @@
-From 59fd750a84bbe5874dec936d2bee9ef11a1b6505 Mon Sep 17 00:00:00 2001
+From 29f811d9d381f2ab54b3c8cef77334e32970ef09 Mon Sep 17 00:00:00 2001
 From: Li xin 
 Date: Tue, 21 Jul 2015 02:01:22 +0900
 Subject: [PATCH] Fix the test output format
@@ -8,6 +8,7 @@ Upstream-Status: Pending
 Signed-off-by: Roy Li 
 Signed-off-by: Li Xin 
 Signed-off-by: Xiangyu Chen 
+
 ---
  test/regress  |  6 +++---
  test/regress2 | 11 +--
diff --git a/meta/recipes-support/numactl/numactl_git.bb 
b/meta/recipes-support/numactl/numactl_git.bb
index bc5b09fc82e..bd16df91ecb 100644
--- a/meta/recipes-support/numactl/numactl_git.bb
+++ b/meta/recipes-support/numactl/numactl_git.bb
@@ -10,8 +10,8 @@ inherit autotools-brokensep ptest
 
 LIC_FILES_CHKSUM = 
"file://README.md;beginline=19;endline=32;md5=9f34c3af4ed6f3f5df0da5f3c0835a43"
 
-SRCREV = "c1165896572b74e971d817909bf652066ddf801a"
-PV = "2.0.17"
+SRCREV = "3871b1c42fc71bceadafd745d2eff5dddfc2d67e"
+PV = "2.0.18"
 
 SRC_URI = "git://github.com/numactl/numactl;branch=master;protocol=https \
file://Fix-the-test-output-format.patch \
-- 
2.40.1


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



[OE-Core][PATCH] testimage: log exception when failing to retrieve artifacts

2024-02-20 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré 

Despite managing to retrieve the failed ptests artifacts, testimage seems
to dump some retrieval errors like the following one:

WARNING: core-image-ptest-valgrind-1.0-r0 do_testimage: Can not retrieve
/usr/lib/valgrind/ptest from test target

Log the corresponding exception to help analyzing such issue

Signed-off-by: Alexis Lothoré 
---
As a more detailed example, such log is visible in [1], while artifacts
have been properly pushed in the corresponding web server in [2]

[1] 
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6099/steps/13/logs/stdio
[2] 
https://autobuilder.yocto.io/pub/non-release/20240218-3/testresults/qemuarm64-ptest/artifacts/usr/lib/valgrind/ptest/
---
 meta/classes-recipe/testimage.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes-recipe/testimage.bbclass 
b/meta/classes-recipe/testimage.bbclass
index 934272b6b837..bee19674ef4f 100644
--- a/meta/classes-recipe/testimage.bbclass
+++ b/meta/classes-recipe/testimage.bbclass
@@ -208,8 +208,8 @@ def retrieve_test_artifacts(target, artifacts_list, 
target_dir):
 dest_dir = os.path.join(local_artifacts_dir, 
os.path.dirname(artifact_path[1:]))
 os.makedirs(dest_dir, exist_ok=True)
 target.copyFrom(artifact_path, dest_dir)
-except:
-bb.warn(f"Can not retrieve {artifact_path} from test target")
+except Exception as e:
+bb.warn(f"Can not retrieve {artifact_path} from test target: {e}")
 
 def testimage_main(d):
 import os
-- 
2.43.1


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



Re: [OE-core] Dbus EXTRA_OECONF

2024-02-20 Thread Alexander Kanavin
On Tue, 20 Feb 2024 at 13:35, Steffen Olsen  wrote:
> We are currently in the process of examining a memory leak in systemd, which 
> has led us to investigate how dbus is built for our targets (we are currently 
> using Kirkstone).
>
> When kirkstone was introduced, there was made a couple of changes in how dbus 
> is built (oe-core cfecef). It seems like the dbus-test and dbus recipes were 
> merged, which ultimately changed how (normal) dbus is built. Especially 
> interesting is the changes on EXTRA_OECONF where the following flags are 
> enabled for the "ordinary" dbus recipe
>
> --enable-tests
> --enable-checks
> --enable-asserts
>
> In dunfell, it seems dbus is built using '--disable-tests'
>
> As far as I can understand, these flags are now enabled for "production build 
> of dbus". We definitely see a link between the mentioned systemd memory leak 
> and the introduction of these flags (especially the '--enable-tests'). Our 
> question is really about whether these flags should be enabled when bitbaking 
> production dbus? When building dbus with the current recipe we do get the 
> following result in the dbus log.do_configure log file
>
> NOTE: building with unit tests increases the size of the installed library 
> and renders it insecure
>
> NOTE: building with assertions increases library size and decreases 
> performance.
>
> Further, from official dbus maintainers we have the following in the NEWS 
> describing that production builds should be compiled with checks but without 
> assertions. To have some comparison we have tried looking into what other 
> distros do when building dbus, and as far as we can see, at least debian does 
> not set these flags (some are set in dbg packages).
>
> Obviously, we can make a bbappend or something similar to cater for our 
> needs, but we are wondering if this recipe is correct as it stands at the 
> moment. We would appreciate any input on the matter.

Thanks for spotting these. I took a look at the source code to see
what conditions trigger those two notes:

if test x$enable_embedded_tests = xyes; then
echo "NOTE: building with unit tests increases the size of the
installed library and renders it insecure."
fi

if test x$enable_asserts = xyes; then
echo "NOTE: building with assertions increases library size
and decreases performance."
fi

As far as I understand it's only those embedded tests that are
problematic, and other kinds of tests (e.g. modular tests) don't
affect how the library is built. So perhaps you can make a patch that
passes in (or removes) the respective autoconf options, so that the
above conditions no longer are true?

Alex

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



Re: [OE-core] [PATCH v2 4/5] meson: use absolute cross-compiler paths

2024-02-20 Thread Richard Purdie
On Mon, 2024-02-19 at 17:55 +0100, Enguerrand de Ribaucourt wrote:
> Among the files generated by meson is compile_commands.json. It is not
> used by bitbake during the build. However, if the devtool workspace is
> opened inside an IDE, that IDE can use compile_commands.json to
> configure linting and code completion. This is notably relied on by the
> new devtool ide-sdk command.
> 
> The problem is that the IDE using compile_commands.json does not know
> the $PATH set-up by bitbake, so it won't find the compiler. This results
> in linting errors, like missing headers. We can fix this by expliciting
> the absolute compiler paths in meson.cross.
> 
> The compile_commands.json specification expressly states:
> "All paths specified in the command or file fields must be either
> absolute or relative to this directory."
> Link: https://clang.llvm.org/docs/JSONCompilationDatabase.html
> 
> An alternative way to implement this is to directly change CXX inside
> bitbake.conf to make all recipes use absolute compiler paths.Since this
> would affect all recipes, so I would like to have the maintainers'
> opinion on this. It could make sense to use absolute compiler paths for
> all toolchain binaries, we already do so for the sysroot
> TOOLCHAIN_OPTIONS.

I'd prefer not to change CXX. 

We have a lot of problems with overflows of command line lengths
already and adding extra paths to such variables will make the problem
much worse. It also does make logs harder to read with long paths added
to them.

I suspect the readability issues along are enough to make this a change
for the worse overall.

Cheers,

Richard


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



[OE-core] Dbus EXTRA_OECONF

2024-02-20 Thread Steffen Olsen
Hi,

We are currently in the process of examining a memory leak in systemd, which 
has led us to investigate how dbus is built for our targets (we are currently 
using Kirkstone).

When kirkstone was introduced, there was made a couple of changes in how dbus 
is built (oe-core cfecef ( 
https://git.openembedded.org/openembedded-core/commit/meta/recipes-core/dbus?h=kirkstone=cfecef4e6925865961858d0fe5ffc7794c71cd3b
 ) ). It seems like the dbus-test and dbus recipes were merged, which 
ultimately changed how (normal) dbus is built. Especially interesting is the 
changes on EXTRA_OECONF where the following flags are enabled for the 
"ordinary" dbus recipe

* --enable-tests
* --enable-checks
* --enable-asserts

In dunfell, it seems dbus is built using '--disable-tests'

As far as I can understand, these flags are now enabled for "production build 
of dbus". We definitely see a link between the mentioned systemd memory leak 
and the introduction of these flags (especially the '--enable-tests'). Our 
question is really about whether these flags should be enabled when bitbaking 
production dbus? When building dbus with the current recipe we do get the 
following result in the dbus log.do_configure log file

> 
> NOTE: building with unit tests increases the size of the installed library
> and renders it insecure

> 
> NOTE: building with assertions increases library size and decreases
> performance.

Further, from official dbus maintainers we have the following in the NEWS ( 
https://gitlab.freedesktop.org/dbus/dbus/-/blob/16232bdd339cb8bf4ef9e7d51ce1bcafa574155a/NEWS#L39
 ) describing that production builds should be compiled with checks but without 
assertions. To have some comparison we have tried looking into what other 
distros do when building dbus, and as far as we can see, at least debian does 
not set these flags (some are set in dbg packages).

Obviously, we can make a bbappend or something similar to cater for our needs, 
but we are wondering if this recipe is correct as it stands at the moment. We 
would appreciate any input on the matter.

br

Jomar and Steffen

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



Re: [OE-core] [PATCH 3/4] python3-numpy: inherit python_mesonpy

2024-02-20 Thread Richard Purdie
On Mon, 2024-02-19 at 09:30 -0800, Tim Orling wrote:
> Replace the deprecated setuptools3 bbclass with python_mesonpy.
> 
> The build-backend has been defined as "mesonpy" since:
> https://github.com/numpy/numpy/commit/942fb8caf33a65e449fbf198ecf1cd39be953248
> 
> The vendored meson-python was dropped in:
> https://github.com/numpy/numpy/commit/6544e33ac7a3a600c2fb565401c811a17ecdb3d5
> 
> While we are at it:
> * Drop ${PYTHON_PN} and use python3 instead
> * Sort RDEPENDS alphabetically
> 
> The ptests run, but we still have issues with sufficient memory and
> free disk space (the reason python3-numpy is in PTEST_PROBLEMS).
> 
> Signed-off-by: Tim Orling 

This looks to introduce a reproducibility issue:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4399

Cheers,

Richard

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



[OE-core] [PATCH] overlayfs: add missing vardeps

2024-02-20 Thread Christoph Vogtländer via lists . openembedded . org
Fixes [YOCTO #15120]

Consider OVERLAYFS_WRITABLE_PATHS as dependecy of do_create_overlayfs_units() in
order to rebuild the recipe when changing the used mount point.

Tested in a local recipe by changing the used mount point and verified that the
recipe was re-build: passed

Signed-off-by: Christoph Vogtländer 

---
 meta/classes-recipe/overlayfs.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes-recipe/overlayfs.bbclass 
b/meta/classes-recipe/overlayfs.bbclass
index 53d65d7531..a82763ec10 100644
--- a/meta/classes-recipe/overlayfs.bbclass
+++ b/meta/classes-recipe/overlayfs.bbclass
@@ -138,4 +138,5 @@ do_install:append() {
 done
 }
 
+do_create_overlayfs_units[vardeps] += "OVERLAYFS_WRITABLE_PATHS"
 addtask create_overlayfs_units before do_install
-- 
2.34.1


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



Re: [OE-core] [PATCH] lib/oe/package: fix LOCALE_PATHS scan to create locale packages

2024-02-20 Thread Jonathan GUILLOT
Without any of my modifications, it seems that glibc-locale recipe creates
a glibc-locale-locale.alias package containing only the file
/usr/share/locale/locale.alias. It looks like the same issue revealed with
the CUPS recipe. Do you know in which package locale.alias file is expected
to be located?

Regards,
Jonathan

Le mar. 20 févr. 2024 à 08:42, Richard Purdie <
richard.pur...@linuxfoundation.org> a écrit :

> ERROR: glibc-locale-2.39+git-r0 do_package: QA Issue: glibc-locale:
> Files/directories were installed but not shipped in any package:
>   /usr/share/locale/locale.alias
> Please set FILES such that these items are packaged. Alternatively if they
> are unneeded, avoid installing them or delete them within do_install.
>

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



Re: [OE-core] [PATCH v2 5/5] devtool: code: Provide a generic C++ configuration

2024-02-20 Thread Enguerrand de Ribaucourt

Hi Adrian,

Thanks for your review.

Yes it doesn't makes a lot of sense to keep this patch compared to the 
specific support you are working on. It was especially useful for 
recipes using plain oe_runmake or CC/CXX outside of a class. But we 
can't distinguish these recipes from others classes like python/bash 
that would not make use of this C++ configuration.


I'll drop this patch and try to figure out if I can also fix the 
debugging configuration without a source map (PATH v2 3/5). It would 
rather indicate that the wrong binary is being deployed for some workspaces.


On 20/02/2024 10:20, adrian.freiho...@gmail.com wrote:

Hi Enguerrand

I would really like to stay on the path with tests. This patch changes
code which is covered by tests without tests. Lets develop the
autotools support as a separate patch series.

There are three parts needed:
- Extend the cpp-example with autotools support (already on my branch)
- What your patch does
- Extend the oe-selftest suite to cover also the autotools support.

On Mon, 2024-02-19 at 17:55 +0100, Enguerrand de Ribaucourt wrote:

By default, the cpptools VSCode extension will use the host's headers
and flags for linting. This results in a lot of include errors and
misleading definitions. Even though this generic configuration
doesn't
include all the depenendencies, it is a proper fallback for recipe
classes we do not accurately cover, with at least the right sysroot.

Additionally, ide-sdk automatically detects and provides a
launch.json
configuration for autotools recipes so we should recommend the C++
extensions for them.

Recipes which use C/C++ without a build system are not covered by
this
patch.

Signed-off-by: Enguerrand de Ribaucourt

---
  scripts/lib/devtool/ide_plugins/__init__.py |  3 +++
  scripts/lib/devtool/ide_plugins/ide_code.py | 27 +--
--
  scripts/lib/devtool/ide_sdk.py  |  5 
  3 files changed, 25 insertions(+), 10 deletions(-)

diff --git a/scripts/lib/devtool/ide_plugins/__init__.py
b/scripts/lib/devtool/ide_plugins/__init__.py
index 3371b242640..59e90663908 100644
--- a/scripts/lib/devtool/ide_plugins/__init__.py
+++ b/scripts/lib/devtool/ide_plugins/__init__.py
@@ -21,6 +21,7 @@ class BuildTool(Enum):
  UNDEFINED = auto()
  CMAKE = auto()
  MESON = auto()
+    AUTOTOOLS = auto()
  
  @property

  def is_c_ccp(self):
@@ -28,6 +29,8 @@ class BuildTool(Enum):
  return True
  if self is BuildTool.MESON:
  return True
+    if self is BuildTool.AUTOTOOLS:
+    return True
  return False
  
  
diff --git a/scripts/lib/devtool/ide_plugins/ide_code.py

b/scripts/lib/devtool/ide_plugins/ide_code.py
index 7b683c74086..0942fde8196 100644
--- a/scripts/lib/devtool/ide_plugins/ide_code.py
+++ b/scripts/lib/devtool/ide_plugins/ide_code.py
@@ -157,31 +157,35 @@ class IdeVSCode(IdeBase):
  IdeBase.update_json_file(
  self.dot_code_dir(modified_recipe), settings_file,
settings_dict)
  
-    def __vscode_extensions_cmake(self, modified_recipe,

recommendations):
-    if modified_recipe.build_tool is not BuildTool.CMAKE:
+    def __vscode_extensions_generic(self, modified_recipe,
recommendations):
+    if not modified_recipe.build_tool.is_c_ccp:
  return
  recommendations += [
-    "twxs.cmake",
-    "ms-vscode.cmake-tools",
  "ms-vscode.cpptools",
  "ms-vscode.cpptools-extension-pack",
  "ms-vscode.cpptools-themes"
  ]
  
+    def __vscode_extensions_cmake(self, modified_recipe,

recommendations):
+    if modified_recipe.build_tool is not BuildTool.CMAKE:
+    return
+    recommendations += [
+    "twxs.cmake",
+    "ms-vscode.cmake-tools"
+    ]
+
  def __vscode_extensions_meson(self, modified_recipe,
recommendations):
  if modified_recipe.build_tool is not BuildTool.MESON:
  return
  recommendations += [
-    'mesonbuild.mesonbuild',
-    "ms-vscode.cpptools",
-    "ms-vscode.cpptools-extension-pack",
-    "ms-vscode.cpptools-themes"
+    'mesonbuild.mesonbuild'
  ]
  
  def vscode_extensions(self, modified_recipe):

  recommendations = []
  self.__vscode_extensions_cmake(modified_recipe,
recommendations)
  self.__vscode_extensions_meson(modified_recipe,
recommendations)
+    self.__vscode_extensions_generic(modified_recipe,
recommendations)
  extensions_file = 'extensions.json'
  IdeBase.update_json_file(
  self.dot_code_dir(modified_recipe), extensions_file,
{"recommendations": recommendations})
@@ -194,8 +198,11 @@ class IdeVSCode(IdeBase):
  properties_dict["configurationProvider"] = "ms-
vscode.cmake-tools"
  elif modified_recipe.build_tool is BuildTool.MESON:
  properties_dict["configurationProvider"] =
"mesonbuild.mesonbuild"
-  

Re: [OE-core] [PATCH v2 5/5] devtool: code: Provide a generic C++ configuration

2024-02-20 Thread Adrian Freihofer
Hi Enguerrand

I would really like to stay on the path with tests. This patch changes
code which is covered by tests without tests. Lets develop the
autotools support as a separate patch series. 

There are three parts needed:
- Extend the cpp-example with autotools support (already on my branch)
- What your patch does
- Extend the oe-selftest suite to cover also the autotools support.

On Mon, 2024-02-19 at 17:55 +0100, Enguerrand de Ribaucourt wrote:
> By default, the cpptools VSCode extension will use the host's headers
> and flags for linting. This results in a lot of include errors and
> misleading definitions. Even though this generic configuration
> doesn't
> include all the depenendencies, it is a proper fallback for recipe
> classes we do not accurately cover, with at least the right sysroot.
> 
> Additionally, ide-sdk automatically detects and provides a
> launch.json
> configuration for autotools recipes so we should recommend the C++
> extensions for them.
> 
> Recipes which use C/C++ without a build system are not covered by
> this
> patch.
> 
> Signed-off-by: Enguerrand de Ribaucourt
> 
> ---
>  scripts/lib/devtool/ide_plugins/__init__.py |  3 +++
>  scripts/lib/devtool/ide_plugins/ide_code.py | 27 +--
> --
>  scripts/lib/devtool/ide_sdk.py  |  5 
>  3 files changed, 25 insertions(+), 10 deletions(-)
> 
> diff --git a/scripts/lib/devtool/ide_plugins/__init__.py
> b/scripts/lib/devtool/ide_plugins/__init__.py
> index 3371b242640..59e90663908 100644
> --- a/scripts/lib/devtool/ide_plugins/__init__.py
> +++ b/scripts/lib/devtool/ide_plugins/__init__.py
> @@ -21,6 +21,7 @@ class BuildTool(Enum):
>  UNDEFINED = auto()
>  CMAKE = auto()
>  MESON = auto()
> +    AUTOTOOLS = auto()
>  
>  @property
>  def is_c_ccp(self):
> @@ -28,6 +29,8 @@ class BuildTool(Enum):
>  return True
>  if self is BuildTool.MESON:
>  return True
> +    if self is BuildTool.AUTOTOOLS:
> +    return True
>  return False
>  
>  
> diff --git a/scripts/lib/devtool/ide_plugins/ide_code.py
> b/scripts/lib/devtool/ide_plugins/ide_code.py
> index 7b683c74086..0942fde8196 100644
> --- a/scripts/lib/devtool/ide_plugins/ide_code.py
> +++ b/scripts/lib/devtool/ide_plugins/ide_code.py
> @@ -157,31 +157,35 @@ class IdeVSCode(IdeBase):
>  IdeBase.update_json_file(
>  self.dot_code_dir(modified_recipe), settings_file,
> settings_dict)
>  
> -    def __vscode_extensions_cmake(self, modified_recipe,
> recommendations):
> -    if modified_recipe.build_tool is not BuildTool.CMAKE:
> +    def __vscode_extensions_generic(self, modified_recipe,
> recommendations):
> +    if not modified_recipe.build_tool.is_c_ccp:
>  return
>  recommendations += [
> -    "twxs.cmake",
> -    "ms-vscode.cmake-tools",
>  "ms-vscode.cpptools",
>  "ms-vscode.cpptools-extension-pack",
>  "ms-vscode.cpptools-themes"
>  ]
>  
> +    def __vscode_extensions_cmake(self, modified_recipe,
> recommendations):
> +    if modified_recipe.build_tool is not BuildTool.CMAKE:
> +    return
> +    recommendations += [
> +    "twxs.cmake",
> +    "ms-vscode.cmake-tools"
> +    ]
> +
>  def __vscode_extensions_meson(self, modified_recipe,
> recommendations):
>  if modified_recipe.build_tool is not BuildTool.MESON:
>  return
>  recommendations += [
> -    'mesonbuild.mesonbuild',
> -    "ms-vscode.cpptools",
> -    "ms-vscode.cpptools-extension-pack",
> -    "ms-vscode.cpptools-themes"
> +    'mesonbuild.mesonbuild'
>  ]
>  
>  def vscode_extensions(self, modified_recipe):
>  recommendations = []
>  self.__vscode_extensions_cmake(modified_recipe,
> recommendations)
>  self.__vscode_extensions_meson(modified_recipe,
> recommendations)
> +    self.__vscode_extensions_generic(modified_recipe,
> recommendations)
>  extensions_file = 'extensions.json'
>  IdeBase.update_json_file(
>  self.dot_code_dir(modified_recipe), extensions_file,
> {"recommendations": recommendations})
> @@ -194,8 +198,11 @@ class IdeVSCode(IdeBase):
>  properties_dict["configurationProvider"] = "ms-
> vscode.cmake-tools"
>  elif modified_recipe.build_tool is BuildTool.MESON:
>  properties_dict["configurationProvider"] =
> "mesonbuild.mesonbuild"
> -    else:  # no C/C++ build
> -    return

else return is still required.

Adrian


> +    elif modified_recipe.build_tool.is_c_ccp:
> +    # Provide a generic linting configuration
> +    # We provide a C++ configuration with the proper sysroot
> +    properties_dict["compilerPath"] =
> os.path.join(modified_recipe.staging_bindir_toolchain,
> modified_recipe.cxx.split()[0])
> +    properties_dict["compilerArgs"] 

Re: [OE-core] [PATCH v2 3/5] devtool: ide: vscode: Configure read-only files

2024-02-20 Thread Adrian Freihofer
On Mon, 2024-02-19 at 17:55 +0100, Enguerrand de Ribaucourt wrote:
> When debugging or browsing files, the user may fall into external
> sources from other packages in the sysroot or dbg-rootfs. Modifying
> them
> will only lead to confusion since they will be overwritten by Yocto.
> The
> user should open them in a separate devtool modify session if they
> want
> to make changes. Meanwhile, we should prevent write access to them.
> 
> Signed-off-by: Enguerrand de Ribaucourt
> 
> ---
>  scripts/lib/devtool/ide_plugins/ide_code.py | 11 +--
>  1 file changed, 9 insertions(+), 2 deletions(-)
> 
> diff --git a/scripts/lib/devtool/ide_plugins/ide_code.py
> b/scripts/lib/devtool/ide_plugins/ide_code.py
> index c063b7d0590..7b683c74086 100644
> --- a/scripts/lib/devtool/ide_plugins/ide_code.py
> +++ b/scripts/lib/devtool/ide_plugins/ide_code.py
> @@ -125,7 +125,7 @@ class IdeVSCode(IdeBase):
>  settings_dict["cmake.configureOnOpen"] = True
>  settings_dict["cmake.sourceDirectory"] =
> modified_recipe.real_srctree
>  
> -    def vscode_settings(self, modified_recipe):
> +    def vscode_settings(self, modified_recipe, image_recipe):
>  files_excludes = {
>  "**/.git/**": True,
>  "**/oe-logs/**": True,
> @@ -138,9 +138,16 @@ class IdeVSCode(IdeBase):
>  "**/oe-workdir/**",
>  "**/source-date-epoch/**"
>  ]
> +    files_readonly = {
> +    modified_recipe.recipe_sysroot + '/**': True,
> +    modified_recipe.recipe_sysroot_native + '/**': True,
> +    }
> +    if image_recipe.rootfs_dbg is not None:
> +    files_readonly[image_recipe.rootfs_dbg + '/**'] = True
>  settings_dict = {
>  "files.watcherExclude": files_excludes,
>  "files.exclude": files_excludes,
> +    "files.readonlyInclude": files_readonly,
>  "python.analysis.exclude": python_exclude
>  }
>  self.__vscode_settings_cmake(settings_dict, modified_recipe)
> @@ -425,7 +432,7 @@ class IdeVSCode(IdeBase):
>  self.vscode_tasks_fallback(args, modified_recipe)
>  
>  def setup_modified_recipe(self, args, image_recipe,
> modified_recipe):
> -    self.vscode_settings(modified_recipe)
> +    self.vscode_settings(modified_recipe, image_recipe)
>  self.vscode_extensions(modified_recipe)
>  self.vscode_c_cpp_properties(modified_recipe)
>  if args.target:

LGTM.
Adrian


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



Re: [OE-core] [PATCH v2 1/5] devtool: ide_sdk: Use bitbake's python3 for generated scripts

2024-02-20 Thread Adrian Freihofer
On Mon, 2024-02-19 at 17:55 +0100, Enguerrand de Ribaucourt wrote:
> The generated scripts use the sys.path configuration found inside
> bitbake. It can be a different python version than the one used on
> the
> host through the IDE.
> 
> For instance, when running the generated script
> deploy_target_cmake-example-core2-64 from an eSDK generated on
> another
> machine, I got the following exception:
>     AssertionError: SRE module mismatch
> 
> We need to match the sys.executable to the sys.path.
> 
> Signed-off-by: Enguerrand de Ribaucourt
> 
> ---
>  scripts/lib/devtool/ide_sdk.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/lib/devtool/ide_sdk.py
> b/scripts/lib/devtool/ide_sdk.py
> index 3986dc1436a..14679744807 100755
> --- a/scripts/lib/devtool/ide_sdk.py
> +++ b/scripts/lib/devtool/ide_sdk.py
> @@ -750,7 +750,7 @@ class RecipeModified:
>  does not need to start a bitbake server. All information
> from tinfoil
>  is hard-coded in the generated script.
>  """
> -    cmd_lines = ['#!/usr/bin/env python3']
> +    cmd_lines = ['#!%s' % str(sys.executable)]
>  cmd_lines.append('import sys')
>  cmd_lines.append('devtool_sys_path = %s' % str(sys.path))
>  cmd_lines.append('devtool_sys_path.reverse()')

LGTM.

Adrian

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



Re: [OE-core] [PATCH v2 2/5] devtool: code: Add source mapping for debug source files

2024-02-20 Thread Adrian Freihofer
On Mon, 2024-02-19 at 17:55 +0100, Enguerrand de Ribaucourt wrote:
> When launching the debug configuration, the source files from the
> debug
> rootfs were openened in the editor instead of the local workspace
> files.
> We add an exception to properly map them to the file being developed
> and
> compiled by the IDE integration. This also more closely matches what
> the
> user would expect compared to native development.
> 
> This is also true for the devtool fallback mode.

This looks still wrong to me. If files from the rootfs are openend for
a recipe which is in the workspace, the SDK is broken and we need to
understand and fix that. This patch does not solve that, but will make
it much harder to find the right solution for this issue.

Adrian

> 
> Signed-off-by: Enguerrand de Ribaucourt
> 
> ---
>  scripts/lib/devtool/ide_plugins/ide_code.py | 1 +
>  scripts/lib/devtool/ide_sdk.py  | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/scripts/lib/devtool/ide_plugins/ide_code.py
> b/scripts/lib/devtool/ide_plugins/ide_code.py
> index b2193130d2e..c063b7d0590 100644
> --- a/scripts/lib/devtool/ide_plugins/ide_code.py
> +++ b/scripts/lib/devtool/ide_plugins/ide_code.py
> @@ -234,6 +234,7 @@ class IdeVSCode(IdeBase):
>  if gdb_cross_config.image_recipe.rootfs_dbg:
>  launch_config['additionalSOLibSearchPath'] =
> modified_recipe.solib_search_path_str(
>  gdb_cross_config.image_recipe)
> +    src_file_map[os.path.join("/usr/src/debug",
> modified_recipe.pn, modified_recipe.pv)] = "${workspaceFolder}"
>  src_file_map["/usr/src/debug"] = os.path.join(
>  gdb_cross_config.image_recipe.rootfs_dbg, "usr",
> "src", "debug")
>  else:
> diff --git a/scripts/lib/devtool/ide_sdk.py
> b/scripts/lib/devtool/ide_sdk.py
> index 14679744807..f292edbe25c 100755
> --- a/scripts/lib/devtool/ide_sdk.py
> +++ b/scripts/lib/devtool/ide_sdk.py
> @@ -356,6 +356,7 @@ class RecipeModified:
>  'PACKAGE_DEBUG_SPLIT_STYLE')
>  self.path = recipe_d.getVar('PATH')
>  self.pn = recipe_d.getVar('PN')
> +    self.pv = recipe_d.getVar('PV')
>  self.recipe_sysroot = os.path.realpath(
>  recipe_d.getVar('RECIPE_SYSROOT'))
>  self.recipe_sysroot_native = os.path.realpath(


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