Commit Graph

70816 Commits

Author SHA1 Message Date
Alexander Kanavin
a16a8a1cfa lua: update 5.4.4 -> 5.4.6
License-Update: formatting

(From OE-Core rev: ae3cfdce20a88748c5ce1fcd46b34e2b88d4de9c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 16:23:40 +01:00
Alexander Kanavin
f3c0c3a35c ovmf: update 202302 -> 202305
(From OE-Core rev: 175927cedffbd9fe5815219984d8b3c4be56ad98)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 16:23:40 +01:00
Alexander Kanavin
4bd6fb3488 libxml2: update 2.10.4 -> 2.11.4
Drop backports.

Drop libxml-64bit.patch
(no longer necessary).

(From OE-Core rev: 24860598ba8557ea3a145f249938ea411f1ef1d8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 16:23:40 +01:00
Alexander Kanavin
5401b2ea79 libxcrypt: upgrade 4.4.34 -> 4.4.35
(From OE-Core rev: 0f008ba868266eb4b8b4ca0f4e82fa1e72112995)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 16:23:40 +01:00
Alejandro Hernandez Samaniego
2e28e1682e baremetal-helloworld: Fix race condition
There was a race condition during the Makefile execution in
between the assemble and compile targets, only the assemble
target had a dependency on creating the build directory.
If the compile target was executed first, an error was thrown
by bitbake since the build directory did not exist yet:

| Assembler messages:
| Fatal error: can't create build/hello_baremetal_aarch64.o:
  No such file or directory

Update the SRCREV to reflect the latest changes serializing
the makefile targets to avoid such race condition from happening.

[YOCTO #15146]

(From OE-Core rev: 9a999af292c7b3dd3bb7c0722cc31624c425f432)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 16:23:40 +01:00
Natasha Bailey
a4bd1f7282 tiff: backport a fix for CVE-2023-26965
Fixes a bug where a buffer was used after a potential reallocation.

(From OE-Core rev: 48b8945fa570edcdf1e19ed4a4ca81c4416f1a6a)

Signed-off-by: Natasha Bailey <nat.bailey@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 16:23:40 +01:00
Ross Burton
49eddee652 cve-update-nvd2-native: use exact times, don't truncate
When requesting updates in a specific range, use the actual current time
and database mtime instead of truncating to midnight, and explicitly set
the timezone to UTC so that NIST don't treat the timestamps as _their_ local
time when they're _our_ local time.

(From OE-Core rev: 9aa0ec37f5f74252588d2494a71c71a7d8e68df9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 16:23:40 +01:00
Ross Burton
9eadf45934 cve-update-nvd2-native: handle all configuration nodes, not just first
Some CVEs, such as CVE-2013-6629, list multiple configurations which are
vulnerable. The current JSON parser only considers the first
configuration.

Instead, consider every configuration. We don't yet handle the AND/OR
logical operators, but this is a step in the right direction.

(From OE-Core rev: e1bf4f6dd686055fe9a8bdcc3f739eac2807bae0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 16:23:40 +01:00
Ross Burton
cc28393285 cve-update-db-native: remove
The replacement cve-update-nvd2-native is working, so we can remove the
old recipe now.

(From OE-Core rev: 17eb07885147a06bf7bdd43f7869fe4411be80a0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 16:23:40 +01:00
Peter Hoyes
e08025fe4c bitbake: bitbake: Bootstrap pytest for self-tests
To support running the bitbake self-tests using pytest, add a
pytest.ini This enables these tests to be run using the following
command from the bitbake directory.

  pytest

For now, testpaths only includes the bitbake selftests.

Add a note to the README.

(Bitbake rev: 79bc14003000ab439262272dae6a99961f7c14c7)

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 15:28:56 +01:00
Peter Hoyes
fd1d2c6dc7 bitbake: bitbake: tests: Use assertLogs to test logging output
By default, pytest captures all stdout and exposes it using its built-in
fixtures (capsys, caplog etc), so stdout does not support getvalue().

To support running tests using both unittest and pytest, use assertLogs
to capture logging and assert on the log output instead.

(Bitbake rev: 2d28caa01bab9540d2bbaf713ae3e5c563d003f5)

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 15:28:56 +01:00
Peter Hoyes
8b0fc4850d bitbake: bitbake: tests/fetch: Set git config if not already set
git config returns an error code if user.email or user.name are not set,
so bb.process.run raises an ExecutionError, failing the test.

Improve the logic by catching the ExectionError and using this to set a
default value.

Change a direct invocation of 'git init' to use self.git_init so that
it follows the code path above.

Remove the related comment from the README now that git sets up the user
details automatically.

(Bitbake rev: 0c7079d0609a13713b890a9675abd9fba032f199)

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 15:28:56 +01:00
Peter Hoyes
baf345598d bitbake: bitbake: tests/fetch: Rename assertRaisesRegexp to assertRaisesRegex
TestCase.assertRaisesRegexp was renamed to assertRaisesRegex in Python
3.2, so rename to fix a warning during test execution.

(Bitbake rev: 9bc2ca3197bff7a5ef6e0ece6bfef0cda68b808e)

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 15:28:56 +01:00
Peter Hoyes
a7b74c0b73 bitbake: bitbake: tests/fetch: Mark TestTimeout as not a test suite
pytest test collection attempts to collect all classes containing
"Test". TestTimeout is not a test class so add the __test__ = False
attribute to indicate this.

(Bitbake rev: b5455b98093a3eaf122ebe3d29c3bef949fd2440)

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 15:28:56 +01:00
Richard Purdie
bf65b87432 time64: Disable CFLAGS for strace
Until strace can handle the interface with glibc correctly with those flags,
disable there for now.

(From OE-Core rev: 5235ae1a14b71d42c1effff51e0289654bc7122a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 15:26:31 +01:00
Alexander Kanavin
327f06e2d7 insane.bbclass: enable 32 bit time API check (as a warning) on affected architectures
(From OE-Core rev: ae9936ab37d34196891570b2f91a299808c95d25)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 15:26:31 +01:00
Richard Purdie
231866f75c defaultsetup: Enable largefile and 64bit time_t support systemwide for 32 bit platforms
There is a problem with 32 bit time looming for many 32 bit platforms
including arm, mip32, powerpc and x86 (but not riscv32) in 2038 when the
32 bit field time_t can no longer store the time value correctly due
to overflow.

Preparing for this is tricky as the ABI between libraries and binaries
will change and it isn't possible to migrate easily as structures and
return values change size.

As we're a source based system, the project has taken the decision that
we should change the compiler flags to switch to both largefile and 64
bit time_t. With OE-Core we've ironed out the issues we could spot
apart from some testing issues in strace and lttng-tools for which
discussions are ongoing upstream. There is more testing to be done
but we wanted to make this switch now in good time before our next
LTS release so we can work through any issues arrising.

We had already tried to mandate largefile everywhere before this but
this gives an opportunity to ensure that at the same time.

(From OE-Core rev: b9e0c5e750c3097e176fdc18b3b58b622f716e71)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-27 15:26:31 +01:00
Luca Ceresoli
13b646c0e1 ref-manual: classes: devicetree: fix sentence saying the same thing twice
This sentence was originally written based on the comments in the .bbclass
file, but further editing led to saying the same thing twice. Remove the
duplication and also reword it to make it generally better.

Fixes: f65816f5ea62 ("ref-manual: classes.rst: document devicetree.bbclass")
Reported-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
(From yocto-docs rev: cbacc8a77aca68c5b25c8cad42bc4c88275cfc09)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:23:01 +01:00
Quentin Schulz
ae8e1dc990 docs: ref-manual: terms: fix incorrect note directive
The directive is followed by two colons and not only one, so let's add
the missing one.

c.f. https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-note

Fixes: 952c7e6dee49 ("manuals: improve initramfs details")
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 203b75e9473b5905ce216dfbc2112dcb02e81f2d)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:23:01 +01:00
Quentin Schulz
dae1bc6898 docs: fix unnecessary double white space
There's no need for double white spaces here so let's just remove them.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: e41f6689157359777c3d86d9a7afed6f9e43782b)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:23:01 +01:00
Quentin Schulz
ea88a4ca82 docs: ref-manual: terms: fix typos in SPDX term
Fixes: 2c53ac40e99a ("ref-manual: terms.rst: add SBOM and SPDX terms")
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: b4862c7d1a01029eb29e3dca3fd69e6b545bbc80)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:23:01 +01:00
Quentin Schulz
b0edf63ce0 docs: bsp-guide: bsp: fix typo
It's meta-openembedded and not meta-openbedded, let's fix it.

Fixes: de6e7c05fbcf ("manuals: stop referring to the meta-openembedded repo from GitHub")
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: fb278eb618d1d6e9ed5131c940295eb3e35a5aaf)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:23:01 +01:00
Richard Purdie
3115c99298 migration-guides: add notes on systemd/usrmerge changes
(From yocto-docs rev: ab14362b9d1fc70a55beaeed9373f1be474805b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:23:01 +01:00
Richard Purdie
516d490aef migration-guides: add notes on FILE_LAYERNAME
(From yocto-docs rev: 3cc9f7a14815698c08f47ef5fe8c731b2c2ecf84)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:23:01 +01:00
Michael Opdenacker
00016cecc4 ref-manual: variables.rst: explicit variables accepting colon separated lists
[YOCTO 15128]

(From yocto-docs rev: af5f4bfd213d2678c0f0463ddff321980d6c9669)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:23:01 +01:00
Quentin Schulz
2aa3af4de3 bitbake: docs: bitbake-user-manual: bitbake-user-manual-hello: add links and highlights for variables
Some variables are described in the glossary so add a term role to the
references. For the others, highlight them by surrounding them with
two backticks.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(Bitbake rev: 7290a9daf1707ab5b2288f34353f499f5ce57d6a)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:22:27 +01:00
Tom Hochstein
bd8d5e20f4 weston: Cleanup and fix x11 and xwayland dependencies
For the x11 backend package config, drop the redundant dependencies
libxcb and cairo. The former is listed twice in the package config,
while the latter is also listed globally.

For the xwayland package config, add the missing dependencies libxcb
and libxcursor. These dependencies are hidden when the x11 backend is
enabled by default. When the default setting is overridden to disable
the x11 backend, the following error occurs:
```
| Run-time dependency xcursor found: NO (tried pkgconfig and cmake)
|
| ../git/xwayland/meson.build:34:2: ERROR: Problem encountered: xwayland requires xcursor which was not found. Or, you can use '-Dxwayland=false'.
```

(From OE-Core rev: 49f4dd391b408a850d13010c90492c621b7912c3)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Bruce Ashfield
0baac70b8b linux-yocto/6.1: update to v6.1.35
Updating  to the latest korg -stable release that comprises
the following commits:

    e84a4e368abe Linux 6.1.35
    a76d4933c38e kbuild: Update assembler calls to use proper flags and language target
    5abcd2c18dbb MIPS: Prefer cc-option for additions to cflags
    1d485ddcba85 MIPS: Move '-Wa,-msoft-float' check from as-option to cc-option
    d51d258997e5 x86/boot/compressed: prefer cc-option for CFLAGS additions
    bdd22f2aa131 scsi: target: core: Fix error path in target_setup_session()
    741c96715fb7 neighbour: delete neigh_lookup_nodev as not used
    26435338f9dd net/sched: act_api: add specific EXT_WARN_MSG for tc action
    ab1bbd79f48e Revert "net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy"
    8f3759981104 net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy
    4b4cae8e4b37 drm/amdgpu: Don't set struct drm_driver.output_poll_changed
    c6cbb4e1c10c rcu/kvfree: Avoid freeing new kfree_rcu() memory after old grace period
    8d842af30bc2 parisc: Delete redundant register definitions in <asm/assembly.h>
    616aba553640 afs: Fix vlserver probe RTT handling
    34dc1eed9918 octeon_ep: Add missing check for ioremap
    35d848164fec selftests/ptp: Fix timestamp printf format for PTP_SYS_OFFSET
    6ab77b3b852d net: tipc: resize nlattr array to correct size
    d24c96581775 dm: don't lock fs when the map is NULL during suspend or resume
    010179208c66 sfc: fix XDP queues mode with legacy IRQ
    23efdbfa8eef net: macsec: fix double free of percpu stats
    4ea1f3344472 net: lapbether: only support ethernet devices
    59f0c7bec3ca net: dsa: felix: fix taprio guard band overflow at 10Mbps with jumbo frames
    3626e93cd841 net/sched: cls_api: Fix lockup on flushing explicitly created chain
    fa285d799d1d ext4: drop the call to ext4_error() from ext4_get_group_info()
    d7d6e830cd0f cifs: fix lease break oops in xfstest generic/098
    e8119d4d1611 selftests: forwarding: hw_stats_l3: Set addrgenmode in a separate step
    ea3f336f717a net/sched: qdisc_destroy() old ingress and clsact Qdiscs before grafting
    ac57be24dcf1 net/sched: Refactor qdisc_graft() for ingress and clsact Qdiscs
    096c00ea80db sched: add new attr TCA_EXT_WARN_MSG to report tc extact message
    e568e0e16830 selftests/tc-testing: Fix SFB db test
    700d7bf300c1 selftests/tc-testing: Fix Error: failed to find target LOG
    8a086daf20a8 selftests/tc-testing: Fix Error: Specified qdisc kind is unknown.
    62aecf23f3d1 drm/nouveau: add nv_encoder pointer check for NULL
    fb725beca62d drm/nouveau/dp: check for NULL nv_connector->native_mode
    a5acbe4ea5d0 drm/bridge: ti-sn65dsi86: Avoid possible buffer overflow
    90748be0f4f3 drm/nouveau: don't detect DSM for non-NVIDIA device
    835457c0d608 net: phylink: use a dedicated helper to parse usgmii control word
    fabf9cb41334 net: phylink: report correct max speed for QUSGMII
    df7477a8bdcb igb: fix nvm.ops.read() error handling
    9710e5c30bd4 igc: Fix possible system crash when loading module
    c6612bf33ebe igc: Clean the TX buffer and TX descriptor ring
    fe289f8fee9a sctp: fix an error code in sctp_sf_eat_auth()
    0b8ae7d6e4ad ipvlan: fix bound dev checking for IPv6 l3s mode
    33bd6b76ac77 net: ethtool: correct MAX attribute value for stats
    277fbf63b34a IB/isert: Fix incorrect release of isert connection
    f77965f48792 IB/isert: Fix possible list corruption in CMA handler
    4e55c9abe947 IB/isert: Fix dead lock in ib_isert
    1def2a94f4ee RDMA/mlx5: Fix affinity assignment
    8618f8f72389 IB/uverbs: Fix to consider event queue closing also upon non-blocking mode
    4dc0b367c390 RDMA/cma: Always set static rate to 0 for RoCE
    ec6d49687d2b RDMA/mlx5: Create an indirect flow table for steering anchor
    3a83145b660c RDMA/mlx5: Initiate dropless RQ for RAW Ethernet functions
    c764fed5e544 octeontx2-af: fix lbk link credits on cn10k
    7c6d50414649 octeontx2-af: fixed resource availability check
    b4a3cae58cd8 iavf: remove mask from iavf_irq_enable_queues()
    26256aa7edcd RDMA/rxe: Fix the use-before-initialization error of resp_pkts
    b0b3848e0363 RDMA/rxe: Removed unused name from rxe_task struct
    e83bc9388627 wifi: mac80211: take lock before setting vif links
    170ceadf4a57 wifi: cfg80211: fix link del callback to call correct handler
    49f3a79f03bd wifi: mac80211: fix link activation settings order
    07f9cc229b44 net/sched: cls_u32: Fix reference counter leak leading to overflow
    c9411f014e5c octeontx2-af: Fix promiscuous mode
    5cf38fbc82ba net/sched: act_pedit: Parse L3 Header for L4 offset
    fb25478f6699 net/sched: act_pedit: remove extra check for key type
    b4e5d0c4cf07 net/sched: simplify tcf_pedit_act
    300be9f1dc4b igb: Fix extts capture value format for 82580/i354/i350
    a4a912aee14e ping6: Fix send to link-local addresses with VRF.
    381d49ec68ca net: enetc: correct the indexes of highest and 2nd highest TCs
    4aaa3b730d16 netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE
    bec51844f9ba ice: Fix XDP memory leak when NIC is brought up and down
    8fddf3f05156 netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM
    55b7a00f3422 netfilter: nf_tables: integrate pipapo into commit protocol
    839d38d3b0aa spi: fsl-dspi: avoid SCK glitches with continuous transfers
    485792480660 spi: cadence-quadspi: Add missing check for dma_set_mask
    2906e0d75b50 RDMA/rxe: Fix ref count error in check_rkey()
    7617a59f0056 RDMA/rxe: Fix packet length checks
    00b276bc7b62 RDMA/rtrs: Fix rxe_dealloc_pd warning
    77226c9785f8 RDMA/rtrs: Fix the last iu->buf leak in err path
    03285557deb6 usb: dwc3: gadget: Reset num TRBs before giving back the request
    7bee7f13c039 USB: dwc3: fix use-after-free on core driver unbind
    307fe59490bd USB: dwc3: qcom: fix NULL-deref on suspend
    d8195536ce26 usb: gadget: udc: core: Prevent soft_connect_store() race
    3c048d42c305 usb: gadget: udc: core: Offload usb_udc_vbus_handler processing
    3a1882841f64 usb: typec: Fix fast_role_swap_current show function
    2bf8ea2e9e39 usb: typec: ucsi: Fix command cancellation
    b352f7b6a646 serial: lantiq: add missing interrupt ack
    04b3145db225 USB: serial: option: add Quectel EM061KGL series
    03b5964a2825 clk: pxa: fix NULL pointer dereference in pxa3xx_clk_update_accr
    5532962c9ed2 thunderbolt: Mask ring interrupt on Intel hardware as well
    d799f73d5d44 thunderbolt: dma_test: Use correct value for absent rings when creating paths
    081b5f1ebc73 thunderbolt: Do not touch CL state configuration during discovery
    1eb0eff7da97 ALSA: hda/realtek: Add a quirk for Compaq N14JP6
    21863dc45aed drm/amdgpu: add missing radeon secondary PCI ID
    6f5b5ce9397d drm/amd/pm: workaround for compute workload type on some skus
    b69a10df9003 drm/amd: Tighten permissions on VBIOS flashing attributes
    b2706d862b65 drm/amd: Make sure image is written to trigger VBIOS image update flow
    ee8c6580c310 drm/amd/display: edp do not add non-edid timings
    2cb6026df193 net: usb: qmi_wwan: add support for Compal RXM-G1
    5d1fdfb3d185 drm/amdgpu: vcn_4_0 set instance 0 init sched score to 1
    f6d74371ce15 RDMA/uverbs: Restrict usage of privileged QKEYs
    5a144bad3e75 nouveau: fix client work fence deletion race
    33965ac34091 net: ethernet: stmicro: stmmac: fix possible memory leak in __stmmac_open
    bfaf388d3599 dm thin: fix issue_discard to pass GFP_NOIO to __blkdev_issue_discard
    088ad777eeae dm thin metadata: check fail_io before using data_sm
    1886db9a4ee1 ALSA: usb-audio: Add quirk flag for HEM devices to enable native DSD playback
    029e0f1f7521 ALSA: usb-audio: Fix broken resume due to UAC3 power state
    9e1c7968a275 btrfs: can_nocow_file_extent should pass down args->strict from callers
    4e9da0cda149 btrfs: fix iomap_begin length for nocow writes
    4389fb6b6a9d btrfs: do not ASSERT() on duplicated global roots
    7e23b1ec720a powerpc/purgatory: remove PGO flags
    352f62431ad3 riscv/purgatory: remove PGO flags
    2cf6e32e86ea x86/purgatory: remove PGO flags
    013027918a4e kexec: support purgatories with .text.hot sections
    c9c3163c7ab9 io_uring/net: save msghdr->msg_control for retries
    cffaa97ffb67 LoongArch: Fix perf event id calculation
    ad64865722b6 nilfs2: reject devices with insufficient block count
    69caea4eed1c nilfs2: fix possible out-of-bounds segment allocation in resize ioctl
    8f47a9665aee nilfs2: fix incomplete buffer cleanup in nilfs_btnode_abort_change_key()
    3d4bc38f716c nios2: dts: Fix tse_mac "max-frame-size" property
    447f325497dc zswap: do not shrink if cgroup may not zswap
    9f17645f8528 ocfs2: check new file size on fallocate call
    534b4bbc8589 ocfs2: fix use-after-free when unmounting read-only filesystem
    3a340c63c0c3 epoll: ep_autoremove_wake_function should use list_del_init_careful
    6d304091e091 wifi: cfg80211: fix double lock bug in reg_wdev_chan_valid()
    b11f953a61e9 wifi: cfg80211: fix locking in regulatory disconnect
    9a9adc42a590 irqchip/gic: Correctly validate OF quirk descriptors
    22efb27a21b6 NVMe: Add MAXIO 1602 to bogus nid list.
    c9c205945033 io_uring: unlock sqd->lock before sq thread release CPU
    8ca9880735b0 drm:amd:amdgpu: Fix missing buffer object unlock in failure path
    41c383c49657 xen/blkfront: Only check REQ_FUA for writes
    75955d698636 ASoC: dwc: move DMA init to snd_soc_dai_driver probe()
    7e57a56374aa ASoC: cs35l41: Fix default regmap values for some registers
    424fc902728c mips: Move initrd_start check after initrd address sanitisation.
    dd035c08ee96 MIPS: Alchemy: fix dbdma2
    34dd1a90ab64 MIPS: Restore Au1300 support
    048ad52d528e MIPS: unhide PATA_PLATFORM
    3d48ea53c44b parisc: Flush gatt writes and adjust gatt mask in parisc_agp_mask_memory()
    e522a12e4892 parisc: Improve cache flushing for PCXL in arch_sync_dma_for_cpu()
    0b09b35cae86 ASoC: Intel: avs: Add missing checks on FE startup
    5daa27bcb31d ASoC: Intel: avs: Account for UID of ACPI device
    c33fded7f17f ASoC: soc-pcm: test if a BE can be prepared
    0a9b2164b7d8 btrfs: handle memory allocation failure in btrfs_csum_one_bio
    e9a5175d5e83 btrfs: scrub: try harder to mark RAID56 block groups read-only
    c45aed74318e drm: panel-orientation-quirks: Change Air's quirk to support Air Plus
    2d9144c0ca82 power: supply: Fix logic checking if system is running from battery
    808e103ebac9 irqchip/meson-gpio: Mark OF related data as maybe unused
    0cdb593c2fe9 irqchip/gic-v3: Disable pseudo NMIs on Mediatek devices w/ firmware issues
    bf8324676b1c regulator: Fix error checking for debugfs_create_dir
    c94be1f039c3 platform/x86: asus-wmi: Ignore WMI events with codes 0x7B, 0xC0
    cdf9cfc1bbd7 PCI/DPC: Quirk PIO log size for Intel Ice Lake Root Ports
    22358b9c418c power: supply: Ratelimit no data debug output
    a7620312a082 selftests: gpio: gpio-sim: Fix BUG: test FAILED due to recent change
    79a0a3695e01 tools: gpio: fix debounce_period_us output of lsgpio
    cc1444a36398 ARM: dts: vexpress: add missing cache properties
    398bf0d67bcc power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule()
    66a88d04cf5d power: supply: sc27xx: Fix external_power_changed race
    e3d2bdca180b power: supply: ab8500: Fix external_power_changed race
    628e40a225a0 of: overlay: Fix missing of_node_put() in error case of init_overlay_changeset()
    e01fc7caac9c ksmbd: validate smb request protocol id
    fec79e4f7df5 EDAC/qcom: Get rid of hardcoded register offsets
    4b3ec6b6ff24 qcom: llcc/edac: Fix the base address used for accessing LLCC banks
    314e973f36a5 cgroup: fix missing cpus_read_{lock,unlock}() in cgroup_transfer_tasks()
    c68b4db58138 cgroup: always put cset in cgroup_css_set_put_fork
    7a2e2ca9ad21 cgroup: bpf: use cgroup_lock()/cgroup_unlock() wrappers
    6111f0add6ff test_firmware: prevent race conditions by a correct implementation of locking
    aa2dfdc4ed25 test_firmware: Use kstrtobool() instead of strtobool()
    100cd6d0e563 x86/head/64: Switch to KERNEL_CS as soon as new GDT is installed

(From OE-Core rev: 86cc1a595011ff08fb50bca7215e5b22cda6cdcb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Bruce Ashfield
3cb6144e94 linux-yocto/6.1: update to v6.1.34
Updating  to the latest korg -stable release that comprises
the following commits:

    ca87e77a2ef8 Linux 6.1.34
    1aaa74177f06 Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE"
    a7e9c2e40708 wifi: rtw88: correct PS calculation for SUPPORTS_DYNAMIC_PS
    8fafd871558f wifi: rtw89: correct PS calculation for SUPPORTS_DYNAMIC_PS
    5b2438f0a7e5 ext4: only check dquot_initialize_needed() when debugging
    77eed67ba24e Revert "ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled"
    543c12c2644e ksmbd: check the validation of pdu_size in ksmbd_conn_handler_loop
    8f2984233c87 ksmbd: fix out-of-bound read in parse_lease_state()
    bf12d7fb63b3 ksmbd: fix out-of-bound read in deassemble_neg_contexts()
    fb322da83ce5 vhost_vdpa: support PACKED when setting-getting vring_base
    b839b65456f5 vhost: support PACKED when setting-getting vring_base
    6c5a69c5dd53 vduse: avoid empty string for dev name
    7e48d635f274 riscv: fix kprobe __user string arg print fault issue
    14e4f37e46e6 soundwire: stream: Add missing clear of alloc_slave_rt
    e17734900a88 eeprom: at24: also select REGMAP
    67180e079b32 riscv: mm: Ensure prot of VM_WRITE and VM_EXEC must be readable
    e4b76cd7713c i2c: sprd: Delete i2c adapter in .remove's error path
    c53f2e8462f3 gpio: sim: fix memory corruption when adding named lines and unnamed hogs
    410689432880 firmware: arm_ffa: Set handle field to zero in memory descriptor
    f24cb5a04270 i2c: mv64xxx: Fix reading invalid status value in atomic mode
    8e64012c0348 arm64: dts: imx8mn-beacon: Fix SPI CS pinmux
    b64bbe8b1a45 blk-mq: fix blk_mq_hw_ctx active request accounting
    c3d87d415f7c ASoC: simple-card-utils: fix PCM constraint error check
    c0f9f799bac6 ASoC: mediatek: mt8195: fix use-after-free in driver remove path
    50f2160afbb8 ASoC: mediatek: mt8195-afe-pcm: Convert to platform remove callback returning void
    370711d7f0c1 arm64: dts: imx8-ss-dma: assign default clock rate for lpuarts
    efe115560a29 arm64: dts: imx8qm-mek: correct GPIOs for USDHC2 CD and WP signals
    5a607e53f208 arm64: dts: qcom: sc7180-lite: Fix SDRAM freq for misidentified sc7180-lite boards
    037449ce1c04 ASoC: codecs: wsa881x: do not set can_multi_write flag
    8b13854f26f2 ASoC: codecs: wsa883x: do not set can_multi_write flag
    58ab8a0ff81d ARM: dts: at91: sama7g5ek: fix debounce delay property for shdwc
    4b8ebe5393ed ARM: at91: pm: fix imbalanced reference counter for ethernet devices
    c97f30d215d8 arm64: dts: qcom: sc8280xp: Flush RSC sleep & wake votes
    df9bc25d13c1 mm: page_table_check: Ensure user pages are not slab pages
    08378f0314ce mm: page_table_check: Make it dependent on EXCLUSIVE_SYSTEM_RAM
    3901170529a7 usb: usbfs: Use consistent mmap functions
    80e29f11be69 usb: usbfs: Enforce page requirements for mmap
    42a7314f2b84 pinctrl: meson-axg: add missing GPIOA_18 gpio group
    fdeb7129298b soc: qcom: icc-bwmon: fix incorrect error code passed to dev_err_probe()
    30c26b985c3e virtio_net: use control_buf for coalesce params
    222a6bc8a7c6 rbd: get snapshot context after exclusive lock is ensured to be held
    d647ee673c4d rbd: move RBD_OBJ_FLAG_COPYUP_ENABLED flag setting
    939f00e4825d tee: amdtee: Add return_origin to 'struct tee_cmd_load_ta'
    d088bea08ac0 Bluetooth: hci_qca: fix debugfs registration
    e5ae01fd46a3 Bluetooth: fix debugfs registration
    a5490d6a742c Bluetooth: Fix use-after-free in hci_remove_ltk/hci_remove_irk
    1e1e2ee0cf7f s390/dasd: Use correct lock while counting channel queue length
    6f5c0eec89fc ceph: fix use-after-free bug for inodes when flushing capsnaps
    443cf752f73b selftests: mptcp: update userspace pm subflow tests
    8f0ba8ec18f5 selftests: mptcp: update userspace pm addr tests
    3fa051b18fc6 mptcp: update userspace pm infos
    9b7fa33fda0f mptcp: add address into userspace pm list
    d80a36ad400e mptcp: only send RM_ADDR in nl_cmd_remove
    e0b04a9f97dd can: j1939: avoid possible use-after-free when j1939_can_rx_register fails
    8a46c4a2bcd7 can: j1939: change j1939_netdev_lock type to mutex
    db15e90a8c3b can: j1939: j1939_sk_send_loop_abort(): improved error queue handling in J1939 Socket
    727964650a12 wifi: iwlwifi: mvm: Fix -Warray-bounds bug in iwl_mvm_wait_d3_notif()
    8953be60ec33 drm/amd/display: Reduce sdp bw after urgent to 90%
    8695a443ad8f drm/amd/pm: Fix power context allocation in SMU13
    8e143bae25cd drm/amdgpu: change reserved vram info print
    34419aa0b448 drm/amdgpu: fix xclk freq on CHIP_STONEY
    416ba40ff3c4 drm/amd/pm: conditionally disable pcie lane switching for some sienna_cichlid SKUs
    8d42c563e4dd drm/i915/gt: Use the correct error value when kernel_context() fails
    b40b34913280 ALSA: hda/realtek: Add quirks for Asus ROG 2024 laptops using CS35L41
    b1acff11b674 ALSA: hda/realtek: Add Lenovo P3 Tower platform
    63211350630b ALSA: hda/realtek: Add a quirk for HP Slim Desktop S01
    0df0097ea2d5 ALSA: ice1712,ice1724: fix the kcontrol->id initialization
    caad8a0a10c3 ALSA: hda/realtek: Add quirk for Clevo NS50AU
    3454490e0396 ALSA: cmipci: Fix kctl->id initialization
    c35034fd6446 ALSA: gus: Fix kctl->id initialization
    1f6c520932bc ALSA: ymfpci: Fix kctl->id initialization
    be0b9b7a6d77 ALSA: hda: Fix kctl->id initialization
    c8a46f39dd27 Input: fix open count when closing inhibited device
    f9172a0bb57d Input: psmouse - fix OOB access in Elantech protocol
    00b59734f504 Input: xpad - delete a Razer DeathAdder mouse VID/PID entry
    32c2c234bc2f batman-adv: Broken sync while rescheduling delayed work
    f9b9c8469621 bnxt_en: Implement .set_port / .unset_port UDP tunnel callbacks
    abc706231372 bnxt_en: Prevent kernel panic when receiving unexpected PHC_UPDATE event
    5ce24936d560 bnxt_en: Skip firmware fatal error recovery if chip is not accessible
    5fc86a4580da bnxt_en: Query default VLAN before VNIC setup on a VF
    53a0c6d5c929 bnxt_en: Don't issue AP reset during ethtool's reset operation
    5df74018d1e6 net: bcmgenet: Fix EEE implementation
    d4925800a49c lib: cpu_rmap: Fix potential use-after-free in irq_cpu_rmap_release()
    c5a17f3247bd drm/amdgpu: fix Null pointer dereference error in amdgpu_device_recover_vram
    dbc880567adf bpf: Add extra path pointer check to d_path helper
    06177b92902d net: sched: fix possible refcount leak in tc_chain_tmplt_add()
    e582ceda5a16 net: sched: act_police: fix sparse errors in tcf_police_dump()
    60f39768efa5 net: sched: move rtm_tca_policy declaration to include file
    76eef453a675 drm/i915/selftests: Add some missing error propagation
    4e7f1f6da79e drm/i915/selftests: Stop using kthread_stop()
    9d9a38b5639f net: sched: add rcu annotations around qdisc->qdisc_sleeping
    8a74ea37e1ab rfs: annotate lockless accesses to RFS sock flow table
    3d9eface2eee rfs: annotate lockless accesses to sk->sk_rxhash
    f8e6aa0e6056 tcp: gso: really support BIG TCP
    251b5d68ac47 ipv6: rpl: Fix Route of Death.
    65f2def20662 netfilter: nf_tables: out-of-bound check in chain blob
    fea199dbf6c1 netfilter: ipset: Add schedule point in call_ad().
    f057da51c076 netfilter: conntrack: fix NULL pointer dereference in nf_confirm_cthelper
    1f26ea49a5c0 netfilter: nft_bitwise: fix register tracking
    81e11b6c1ad0 selftests/bpf: Fix sockopt_sk selftest
    1ba03535451f selftests/bpf: Verify optval=NULL case
    0d18f8b90b8a wifi: cfg80211: fix locking in sched scan stop work
    4a64e92846fa qed/qede: Fix scheduling while atomic
    79c975514cf1 wifi: mac80211: don't translate beacon/presp addrs
    4dd40fec5bf2 wifi: mac80211: mlme: fix non-inheritence element
    8b6ab4bfba6f wifi: cfg80211: reject bad AP MLD address
    434cf4fbee4e wifi: mac80211: use correct iftype HE cap
    3e8a7573ff9f Bluetooth: L2CAP: Add missing checks for invalid DCID
    66b3f7425a9c Bluetooth: ISO: don't try to remove CIG if there are bound CIS left
    9c7e51b94709 Bluetooth: Fix l2cap_disconnect_req deadlock
    17aac1200222 Bluetooth: hci_sync: add lock to protect HCI_UNREGISTER
    5f285409c91b drm/i915: Use 18 fast wake AUX sync len
    7bf7bebdc20d drm/i915: Explain the magic numbers for AUX SYNC/precharge length
    1d37434ffc13 net/sched: fq_pie: ensure reasonable TCA_FQ_PIE_QUANTUM values
    a22c0a034630 net: enetc: correct rx_bytes statistics of XDP
    b3fc768a746b net: enetc: correct the statistics of rx bytes
    7a5cdd4bc1c3 net/smc: Avoid to access invalid RMBs' MRs in SMCRv1 ADD LINK CONT
    76e38e6e1b35 net/ipv6: fix bool/int mismatch for skip_notify_on_dev_down
    3849e7fcea20 bpf: Fix elem_size not being set for inner maps
    d7612a922b21 bpf: Fix UAF in task local storage
    9166225c3b2d net/ipv4: ping_group_range: allow GID from 2147483648 to 4294967294
    332f36a09c4c net: dsa: lan9303: allow vid != 0 in port_fdb_{add|del} methods
    8af3119388c4 neighbour: fix unaligned access to pneigh_entry
    898c9a0ee715 bpf, sockmap: Avoid potential NULL dereference in sk_psock_verdict_data_ready()
    e783f639b8fb wifi: mt76: mt7615: fix possible race in mt7615_mac_sta_poll
    84c699681a29 afs: Fix setting of mtime when creating a file/dir/symlink
    fb7058dd0249 spi: qup: Request DMA before enabling clocks
    ec2e12b14aa0 platform/surface: aggregator_tabletsw: Add support for book mode in KIP subsystem
    24845da026b8 platform/surface: aggregator: Allow completion work-items to be executed in parallel
    31c3de5f7b70 spi: mt65xx: make sure operations completed before unloading
    097acf0aa622 net: sfp: fix state loss when updating state_hw_mask
    ec3ce2c7cf8d scsi: megaraid_sas: Add flexible array member for SGLs

(From OE-Core rev: c90a7f3d93b5dd980ad68d0e59540f564da57aa5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Adrian Freihofer
fe0ef2c6bb runqemu: configurable tap names
Support the new environment variable OE_TAP_NAME.

(From OE-Core rev: 6795dddb4074274279b7ff7b9639d15786f06a40)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Adrian Freihofer
9e1e717bf7 runqemu-gen-tapdevs: remove only our taps
Ignore itnerfaces with other names than what the runqemu scripts created.

(From OE-Core rev: e99ec79a423d09b9308e3d42f0832ee583b1456d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Adrian Freihofer
03566537a5 runqemu-gen-tapdevs: configurable tap names
Feature: Hard-coding the interface names to tap* is not always a good
idea.

(From OE-Core rev: 739f20481d14a66b23d6195c3837f83d7370434a)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Adrian Freihofer
6321e1fe7a runqemu-gen-tapdevs: remove uid parameter
The uid parameter is no longer needed since ip tuntap is used
internally. Remove it. Backward compatibility to 3 or 4 parameters is
still supported.

(From OE-Core rev: a11c87b0a13f81beea8a9f33ef8379c9d2593e59)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Adrian Freihofer
14dcde95ec runqemu-gen-tapdevs: remove staging dir parameter
The parameter staging_bindir_native is no longer used. Remove it.
For now the script is backward compatible. With 4 parameters it logs an
error message but still works.

(From OE-Core rev: c47322297fcd0408c5e290e74eee4344754e03e4)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Adrian Freihofer
292ca0207d runqemu-ifup: remove only our taps
If there are other tap interfaces than the interfaces created by the
runqemu-* scripts, these interfaces are not ignored. This is now fixed
by filtering the interfaces for a specific prefix in the interface name.

(From OE-Core rev: f65fb5fce45d13c2881acd8295d417635449c52d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Adrian Freihofer
b97fe9d3e7 runqemu-ifup: fix tap index
Recent patches changed the index of the tap interfaces. They start now
with tap1 instead of tap0. Also the IP address starts with 192.168.7.3
instead of 192.168.7.1. This gets reverted to the previous behavior.

(From OE-Core rev: eaf9d2dfd8f0270f543b612fbd2df775adc7a394)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Adrian Freihofer
2401847d73 runqemu-ifup: configurable tap names
Feature: Hard-coding the interface names to tap* is not always a good
idea. Introduce an environment variable which allows to change this:
OE_TAP_NAME.

(From OE-Core rev: c9ea17c13935e805a5b7497b14e1f049b0548779)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Adrian Freihofer
2d0913ff6f runqemu-ifup: remove uid parameter
ip tuntap does not need the uid, it was an unused variable/parameter.
Backward compatibility should be fine.

(From OE-Core rev: 9ccbabc06d02addd429a21dbe15a1a42738c58d6)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Jermain Horsman
a1f7225884 logrotate: Do not create logrotate.status file
The first time logrotate runs it reports an error:

  error: state file /var/lib/logrotate.status is
  world-readable and thus can be locked from other
  unprivileged users. Skipping lock acquisition...

This check was added with
1f76a381e2

This error is only reported once as logrotate removes
the world-readable permissions if this happens.
Since logrotate creates this file if it does not exist,
there should be no need to install it in the first place.

(From OE-Core rev: 8169cd2d18f1569e4357f082adbef492710e8c36)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Ross Burton
f8bf2c5517 base: improve LICENSE_FLAGS_DETAILS output
Don't prefix the output of LICENSE_FLAGS_DETAILS with "For further
details, see" so that recipes can put arbitrary text in their license
details instead of being limited to a specific sentence structure.

(From OE-Core rev: d606ad5c237d0e28f09f0aa783e83846cbca8d21)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Xiangyu Chen
74511c360a dbus: upgrade 1.14.6 -> 1.14.8
Update dbus to 1.14.8 to fix CVE-2023-34969 and serveral bugs

changes:
f90d4f1693/NEWS

commits:
55d11f57 doc/dbus-api-design: fix wrong closing tag
a96f417f CI: Run a detached pipeline for merge requests
9e0477fc CI: Only run for pushes to dbus
077f7e43 CI: Remove an obsolete workaround
07fe44f4 CI: Update Windows runners
ec708d55 CI: Avoid using a no-op download location that gives a 403 error
45e6e93e dbus_message_iter_get_signature: Fix two memory leaks on OOM
0bb1942e dbus-internals: use `_DBUS_FUNCTION_NAME` in `_dbus_verbose()`
8df1b8be dbus-sysdeps-win: do not log function name twice
5c3a4e81 dbus-spawn-win: use `_DBUS_FUNCTION_NAME` instead of `__FUNCTION__`
8e457296 Update NEWS
e1ffce17 Revert "CI: Remove an obsolete workaround"
40c0802f monitor test: Log the messages that we monitored
a70c8f2f bus: Assign a serial number for messages from the driver
39b5c617 monitor test: Reproduce #457
f99e5de1 Update NEWS
21414587 AUTHORS: Update
f90d4f16 Release v1.14.8

(From OE-Core rev: 9ddfd320acbc9f24b765897b7bdda6bc794fe350)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-24 12:21:48 +01:00
Ross Burton
4a4e568960 sysfsutils: don't install to base_libdir
This library now ships a pkgconfig file but $base_libdir isn't in the
search path, so can't be used.

As the base_libdir/libdir split is pretty meaningless these days, simply
stop installing into base_libdir.  This was added to silence warnings
from pcmciautils[1] but PCMCIA isn't really a thing anymore so this
shouldn't be a problem.

[1] oe-core f3c93627

(From OE-Core rev: a81dc665e89ccc6fe9ed025e679f22956767271b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-21 18:38:25 +01:00
Alexander Kanavin
cec6d2af49 sysfsutils: update 2.1.0 -> 2.1.1
Drop all patches, as issues are all fixed upstream.

License-Update: clarification that GPL applies to all executables
(not just test), formatting.

(From OE-Core rev: bb073380310332325bb02bcda0d8e3a9e31610d3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-21 18:38:25 +01:00
Alexander Kanavin
81b14b4d85 sysfsutils: fetch a supported fork from github
Debian does the same:
https://packages.debian.org/source/sid/sysfsutils

(From OE-Core rev: 504b2f590cb94b217c5f48090cfb71a749bd5ac8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-21 18:38:25 +01:00
Ross Burton
db67eaf594 python3-dbusmock: only recommend python3-pygobject
dbusmock doesn't actually hard-depend on pygobject, some of the templates
use it but it isn't mandatory.

Change the RDEPENDS to RRECOMMENDS, and only recommend if g-i is enabled.

(From OE-Core rev: 943d438e2ebce5e76e03dd60ed78acdf9059a10a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-21 18:38:25 +01:00
Mingli Yu
0a1c0f1396 u-boot-tools: Use PATH_MAX for path length
Fixes:
   | uboot-mkimage -D "-I dts -O dtb -p 2000" -F -k "/buildarea1/test/wr_build/wrtestLTS_secureboot/test1-what/test2-what/test3-what/test4-what/test5-what/test6-what/test7-what/test8-what/test9-what/test10-what/test11-what/test12-what/layers/xilinx-zynqmp/zynqmp_keys/fitImage-rsa2048-keys" -K "u-boot.dtb" -r /buildarea1/test/wr_build/wrtestLTS_secureboot/test1-what/test2-what/test3-what/test4-what/test5-what/test6-what/test7-what/test8-what/test9-what/test10-what/test11-what/test12-what/build/tmp-glibc/work/xilinx_zynqmp-wrs-linux/u-boot-xlnx/1_v2023.01-xilinx-v2023.1+gitAUTOINC+40a08d69e7-r0/build/fitImage-linux
   | /buildarea1/test/wr_build/wrtestLTS_secureboot/test1-what/test2-what/test3-what/test4-what/test5-what/test6-what/test7-what/test8-what/test9-what/test10-what/test11-what/test12-what/build/tmp-glibc/work/xilinx_zynqmp-wrs-linux/u-boot-xlnx/1_v2023.01-xilinx-v2023.1+gitAUTOINC+40a08d69e7-r0/build/fitImage-linux: Image file name (uboot-mkimage) too long, can't create tmpfile.

(From OE-Core rev: b913f6c1f9d8ed40fd83bfe73e32b8a6613a7880)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-21 18:38:25 +01:00
Alberto Planas
cc2c3b1b62 rpm2cpio.sh: update to the last 4.x version
openSUSE RPMs are compressing the RPM payload using zstd, that
correspond to the magic ID 0x28, 0xb5, 0x2f.

This patch update the script to the last version from the rpm project,
and add support to this compression format, and extract the cpio payload
using the "unzstd" binary.

(From OE-Core rev: 3aba44a75dd565b192f7328f2a0150a313de3cc1)

Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-21 18:38:25 +01:00
Chen Qi
a75cd36f39 unzip: remove hardcoded LARGE_FILE_SUPPORT
Now that unzip's configure can correctly do the detection even in
case of cross compilation, there's no need to use this hardcoded
LARGE_FILE_SUPPORT flag.

(From OE-Core rev: dca7d1ce696e97ff4213dd63981f901dfd43ade2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-21 18:38:25 +01:00
Chen Qi
d544cbf1d5 unzip: fix configure check for cross compilation
The original configure runs a generated binary to determine
features. This is not correct for cross compilation. So change
the runtime tests into compile-time tests to fix the issue.

(From OE-Core rev: b9aca339b59238988c48b90ea5019bfc939ba4b3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-21 18:38:25 +01:00
Chen Qi
a3d3db655f zip: remove unnecessary LARGE_FILE_SUPPORT CLFAGS
As the zip's configure has been updated to use compile-time
check, it now can do the check correctly, thus no need to
pass LARGE_FILE_SUPPORT to CFLAGS.

(From OE-Core rev: 601f45bc4e6c563ebf16e724d56519a128815034)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-21 18:38:25 +01:00