meta-skeleton: add recipe examples from documentation sources
This adds three examples previously located in the yocto-docs
repository (under documentation/ref-manual/examples).
The examples were not used for building the documentation
so it's better to keep them here where they can automatically be
tested.
Fixed the "hello-single" to add a version number to the .bb file.
After this, all examples build fine with the "master" branch of Poky.
Note that the "mtd-utils" example, and example of a recipe
for an Autotools page, was not copied over. It doesn't build any
more, and anyway, we already have an official recipe for a recent version
of "mtd-utils" in OE-core.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.3 (2021-07-22)
decode-dimms: Attempt to decode LPDDR3 modules
eeprom, eepromer: Removed the tools in favor of eeprog
i2cdetect: Sort the bus list by number
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5671. [bug] A race condition could occur where two threads were
competing for the same set of key file locks, leading to
a deadlock. This has been fixed. [GL #2786]
5670. [bug] create_keydata() created an invalid placeholder keydata
record upon a refresh failure, which prevented the
database of managed keys from subsequently being read
back. This has been fixed. [GL #2686]
5669. [func] KASP support was extended with the "check DS" feature.
Zones with "dnssec-policy" and "parental-agents"
configured now check for DS presence and can perform
automatic KSK rollovers. [GL #1126]
5668. [bug] Rescheduling a setnsec3param() task when a zone failed
to load on startup caused a hang on shutdown. This has
been fixed. [GL #2791]
5667. [bug] The configuration-checking code failed to account for
the inheritance rules of the "dnssec-policy" option.
This has been fixed. [GL #2780]
5666. [doc] The safe "edns-udp-size" value was tweaked to match the
probing value from BIND 9.16 for better compatibility.
[GL #2183]
5665. [bug] If nsupdate sends an SOA request and receives a REFUSED
response, it now fails over to the next available
server. [GL #2758]
5664. [func] For UDP messages larger than the path MTU, named now
sends an empty response with the TC (TrunCated) bit set.
In addition, setting the DF (Don't Fragment) flag on
outgoing UDP sockets was re-enabled. [GL #2790]
5662. [bug] Views with recursion disabled are now configured with a
default cache size of 2 MB unless "max-cache-size" is
explicitly set. This prevents cache RBT hash tables from
being needlessly preallocated for such views. [GL #2777]
5661. [bug] Change 5644 inadvertently introduced a deadlock: when
locking the key file mutex for each zone structure in a
different view, the "in-view" logic was not considered.
This has been fixed. [GL #2783]
5658. [bug] Increasing "max-cache-size" for a running named instance
(using "rndc reconfig") did not cause the hash tables
used by cache databases to be grown accordingly. This
has been fixed. [GL #2770]
5655. [bug] Signed, insecure delegation responses prepared by named
either lacked the necessary NSEC records or contained
duplicate NSEC records when both wildcard expansion and
CNAME chaining were required to prepare the response.
This has been fixed. [GL #2759]
5653. [bug] A bug that caused the NSEC3 salt to be changed on every
restart for zones using KASP has been fixed. [GL #2725]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0002-Allow-for-setting-password-in-clear-text.patch;
what it adds is horribly insecure and AB testing didn't reveal any
regressions or use cases for it.
Drop /etc/default/ tweaks as files are no longer installed there.
Drop manpage alternatives as manpages are no longer installed.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
selftest: add core-image-weston to no-gpl3-no-meta-gpl2 image test
This demonstrates more of the tricks and techniques that can be used
to achieve gpl3-free images withough having to roll back to ancient
versions of various core items via meta-gpl2.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids pulling in perl, python and (especially) bash;
rpm building functionality should be neither hard nor soft
dependency of rpm package management.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 29 Jul 2021 22:36:55 +0000 (23:36 +0100)]
local.conf.sample: Bump version so users update their config
It has been a while since we've done this but with the new syntax, users
need to update their local.conf if based off the template. Update the
versions to trigger this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 28 Jul 2021 13:27:33 +0000 (14:27 +0100)]
meta: Manual override fixes
The automated conversion of OE-Core to use the new override sytax isn't
perfect. This patches some mis-converted lines and some lines which were missed
by the automation.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Fri, 30 Jul 2021 09:25:44 +0000 (11:25 +0200)]
convert-overrides.py: show processed file and version of this script
* on bigger layer this script takes couple minutes without showing any progress
* add a version to reference it in the conversion commit (to easily figure out
if it's worth re-converting the layer).
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 16 Jul 2021 13:53:23 +0000 (14:53 +0100)]
scripts/contrib: Add override conversion script
This adds a script I've developed to migrate metadata to use the new override
syntax. It is a bit rough but since its for a single use with validation, it
doesn't need to be perfect. It is run simply as:
scripts/contrib/convert-overrides.py <directory>
It is setup and has been tested to work with OE-Core, Bitbake, yocto-docs,
meta-yocto, meta-gplv2 and meta-mingw. For OE-Core, it converts around 10,100
lines with about 34 manual fixes needed.
For other layers it would need updating for override names and exclusions for
functions/variable names with "append", "prepend" or "remove" in them.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 29 Jul 2021 14:21:56 +0000 (15:21 +0100)]
autotools/base/icecc: Remove prepend from function names
Using prepend as part of a function name is a poor choice. Whilst we're
about to make the syntax explict, improve the names anyway making the
conversion easier and the intent clear that this isn't an override.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jon Mason [Wed, 28 Jul 2021 17:32:26 +0000 (13:32 -0400)]
parselogs.py: qemuarm should be qemuarmv5
All of the errors being masked off for qemuarm are legacy from before
the migration of qemuarm to qemuarmv5. Rename the machine to that to
allow for qemuarmv5 to pass parselog test. Light testing shows no
errors in dmesg for qemuarm.
Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the build will break if the patch already applied
as the return value of "test ! -f $@" is not 0, so make sure
to return 0 if the patch already applied.
Mesa would unnecessarily fail in the v3d and vc4 driver if a dmabuf
could not imported for scanout. In particular, this meant the
weston-simple-dmabuf-egl test program would fail on a Raspberry Pi.
Marek Vasut [Tue, 27 Jul 2021 16:25:29 +0000 (18:25 +0200)]
kernel-uboot: Handle gzip and lzo compression options
Since 5c72105e29 ("kernel-uboot: allow compression option to be configurable")
it is possible to select kernel compression method, however the resulting
image is always compressed with gzip, so selecting any other method than
gzip results in unbootable images. Add support for lzo for starters, since
that is fast to decompress and useful in low boot time scenarios.
Note that we should likely add some check for unsupported compression
methods. We should also add dependency on lzop-native I think.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Sinan Kaya <okaya@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the mkfs.btrfs generates large images with a lot of wasted
space. This happens since OE-core updated btrfs-tools from 4.13.3 to
4.15.1 in commit 94b645aa77 ("btrfs-tools: update to 4.15.1") .
Note in mkfs.btrfs(8) manpage section -r says the following:
"
-r|--rootdir <rootdir>
...
Note This option may enlarge the image or file to ensure
it’s big enough to contain the files from rootdir. Since
version 4.14.1 the filesystem size is not minimized. Please
see option --shrink if you need that functionality.
--shrink
Shrink the filesystem to its minimal size, only works with
--rootdir option.
...
Note prior to version 4.14.1, the shrinking was done
automatically.
"
Add the --shrink option to EXTRA_IMAGECMD_btrfs to reinstate the
original behavior and un-waste the space.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rootfs: remove ldconfig auxiliary cache where appropriate
Removes the /var/cache/ldconfig auxiliary cache directory from
the rootfs when:
- read-only-rootfs is in IMAGE_FEATURES,
- ldconfig is not in DISTRO_FEATURES.
In both cases the /var/cache/ldconfig/aux-cache is useless.
Nicolas Dechesne [Thu, 22 Jul 2021 12:46:44 +0000 (14:46 +0200)]
yocto-check-layer: ensure that all layer dependencies are tested too
In order to be compliant with the YP compatible status, a layer also
needs to ensure that all its dependencies are compatible
too. Currently yocto-check-layer only checks the requested layer,
without testing any dependencies.
With this change, all dependencies are also checked by default, so the
summary printed at the end will give a clear picture whether all
dependencies pass the script or not.
Using --no-auto-dependency can be used to skip that.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nicolas Dechesne [Thu, 22 Jul 2021 12:46:42 +0000 (14:46 +0200)]
checklayer: new function get_layer_dependencies()
Split add_layer_dependencies() into 2 parts. First search for layer
dependencies, and then add them to the config. That allows us to
call get_layer_dependencies() independently.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nicolas Dechesne [Thu, 22 Jul 2021 12:46:41 +0000 (14:46 +0200)]
yocto-check-layer: improve missed dependencies
The first 2 calls to add_layer_dependencies() are here to add all
dependencies for the 'layer under test' and the additional layers
provided by the users.
In both cases, we use misssing_dependencies boolean to indicate if any
dependency is missing. But we then never really use
missing_dependencies. Instead the script is calling
add_layer_dependencies() again (for both the layer under test, and the
additional layers) to detect if there are any missing dependency. As a
result, we are trying to add again all dependencies, and we can see
that from the traces:
INFO: Detected layers:
INFO: meta-aws: LayerType.SOFTWARE, /work/oe/sources/meta-aws
INFO: checklayer: Doesn't have conf/layer.conf file, so ignoring
INFO:
INFO: Setting up for meta-aws(LayerType.SOFTWARE), /work/oe/sources/meta-aws
INFO: Adding layer meta-python
INFO: Adding layer meta-oe
INFO: Adding layer meta-networking
-->
INFO: Adding layer meta-python
INFO: meta-python is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
INFO: Adding layer meta-oe
INFO: meta-oe is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
INFO: Adding layer meta-networking
INFO: meta-networking is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
<--
INFO: Getting initial bitbake variables ...
The code appears more complex than it should, and we can simply
replace the complex if statement by using missing_dependencies, and
avoid duplicating the call to add_layer_dependencies().
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
set UBOOT_MACHINE with malta defconfigs for qemumips and qemumips64.
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 25 Jul 2021 16:11:30 +0000 (17:11 +0100)]
libubootenv: Drop default-env RRECOMMENDS
The link back to uboot's env is causing a ton of pain since it is making
this recipe machine specific. Some machines may use uboot, some may
not but you really want an architecture/machine neutral library.
Revert this part of the 0.3 upgrade (OE-Core rev: 02d55cd35aac15095fc44f0cf8f9e7a71638f485) so that we don't need some
of the horrible workarounds being seen in other layers. If a given
machine uses u-boot, the env can be pulled in by the machine directly.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
conf-notes.txt: now suggesting to run 'runqemu qemux86-64'
'runqemu qemux86' doesn't work any more.
The "Quick Build" documentation has already been updated
but this message that we get when sourcing "oe-init-build-env"
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 22 Jul 2021 09:53:57 +0000 (10:53 +0100)]
yocto-check-layer: Remove duplicated code
Nicolas Dechesne spotted there was duplicate code I had introduced with a
previous fix. Remove the second statement since the earlier one is correct
all that is needed.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
initscripts: populate-volatile.sh: run create_file synchronously
The behavior of running create_file in the background was introduced in d44816bedade ("initscripts: Populate volatile from existing file")
without further explanation. Besides its questionable benefit, this
causes actual issues:
- Not all create_file processes may have finished by the time the
initscript exits (or when it moves /etc/volatile.cache.build !)
- By making the order of commands nondeterminstic, it could hide
dependency issues where it was attempted to create files before their
containing directories
initscripts: populate-volatile.sh: do not log to tty0
tty0 may not be the intended console for log messages, or it may not
exist at all in kernel configurations without CONFIG_VT. Just use the
default stdout/stderr instead.
Richard Purdie [Tue, 20 Jul 2021 18:26:21 +0000 (19:26 +0100)]
Add MAINTAINERS.md file
We have a long history with maintainers files and good and bad experiences. There
are people who'd like to see a kernel style machine readable file which defines
exactly which people should be reviewing which areas. In practise, the files we
do have struggle to stay up to date (e.g. the recipe maintainers file) and such
a file would also cause conflicts of expectations where person X would want to be
cc'd on patches touching file Y and want a revert if they hadn't acked it. We also
don't have clearly defined boundaries in some areas, e.g. toolchain.
We have a wide peer review system and nobody gets to make changes without that
review, even myself as the lead for OE-Core/Bitbake.
I do want to recognise that some people are key experts on particular areas and
hightlight that their views on those areas do carry weight. With that also comes
repsonsibility to help try and figure out bugs, help with review and so on.
I've tried to strike a balance with this file to detail who some of the experts
for particular areas are and to also highlight where we don't have coverage and
that there are opportunities.
I've tried to put the file in the wider context of the project, not just OE-Core.
It is in a repo rather than a wiki so we have visibility to changes through the
change control process.
I'm sure I will miss people, sorry, it is inevitable when you try and make a
list. There may be people who want to step down and don't want to be in this
role, I'm also hoping there are going to be some new volunteers to help in some
areas. Please do send follow up updates, this patch is really meant to help get
us started.
Volunteers to maintainer specific areas of the project are very welcome and
feel free to reach out to ask about areas or getting started and working towards
an official maintainer role (e.g. help with bug fixing).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I am releasing my responsibilities from these Packages so that those who are better capable can participate in the Package Maintainer Program. I have not done anything in years so its time to find better stewards.
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The error occurred as the SRCREV_machine assignment earlier in the
recipe was being used instead of the mainline commit hash we want to use
for linux-yocto-upstream.
Signed-off-by: Paul Barker <paul@pbarker.dev> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After rng-tools upgraded to 6.13, the RNDR instruction added
as an entropy source [1]. But for some cpu which doesn't support
rndr, there comes below warning message:
# systemctl status rngd
[snip]
Jul 20 06:48:07 qemuarm64 rngd[163]: [rndr ]: No HW SUPPORT
Jul 20 06:48:07 qemuarm64 rngd[163]: [rndr ]: Initialization Failed
[snip]
Actually the failed message doesn't matter as it only indicates
one entropy source rndr fails to initialize and won't affect rngd
function, so ignore the failure message to fix below error during
do_testimage.
NOTE: ======================================================================
NOTE: FAIL: test_parselogs (parselogs.ParseLogsTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
File "/build/layers/oe-core/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
return func(*args, **kwargs)
File "/build/layers/oe-core/meta/lib/oeqa/runtime/cases/parselogs.py", line 382, in test_parselogs
self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 1 != 0 : Log: /build/tmp/work/qemuarm64-wrs-linux/wrlinux-image-std/1.0-r5/target_logs/daemon.log
-----------------------
Central error: 2021-06-23T20:44:18.374494+00:00 qemuarm64 rngd[162]: [rndr ]: Initialization Failed
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Mon, 19 Jul 2021 17:14:17 +0000 (13:14 -0400)]
linux-yocto/5.13: update to v5.13.3
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:
f86aa267e180 Linux 5.13.3 e472b276a0d2 f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances 258fd821f693 smackfs: restrict bytes count in smk_set_cipso() bfb48b54db25 media: v4l2-core: explicitly clear ioctl input data 42f102ea1943 jfs: fix GPF in diFree 7ed572cdf110 ext4: fix possible UAF when remounting r/o a mmp-protected file system e9f6b57ef114 drm/ast: Remove reference to struct drm_device.pdev 7eefc573bcbf pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq() e294f97e8af8 dm writecache: write at least 4k when committing 691e71cf1fd1 media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K 7c148146e075 media: gspca/sunplus: fix zero-length control requests 8f6a609903a0 media: gspca/sq905: fix control-request direction 90be28e26596 media: ccs: Fix the op_pll_multiplier address d69b39d89f36 media: zr364xx: fix memory leak in zr364xx_start_readpipe 2f920c1543f7 media: dtv5100: fix control-request directions 7be5e037e564 media: i2c: ccs-core: fix pm_runtime_get_sync() usage count 8b39b430dc0a media: subdev: disallow ioctl for saa6588/davinci eda818ae5d39 PCI: aardvark: Implement workaround for the readback value of VEND_ID 678d93d3d243 PCI: aardvark: Fix checking for PIO Non-posted Request 9789b16dc4e3 PCI: Leave Apple Thunderbolt controllers on for s2idle or standby ad365e9351ac dm btree remove: assign new_root only when removal succeeds 3993b84d4493 dm writecache: flush origin device when writing and cache is full 14f19e585018 dm zoned: check zone capacity 0115687be7b1 coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer() 2ac133f4b299 coresight: Propagate symlink failure 5b37fd9da03f ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe 1d2865bbd89e tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT 38164905b1cc tracing: Simplify & fix saved_tgids logic 589f6fac5c92 rq-qos: fix missed wake-ups in rq_qos_throttle try two d57fcab190b6 seq_buf: Fix overflow in seq_buf_putmem_hex() 775ab9f4a4d9 lkdtm: Enable DOUBLE_FAULT on all architectures 42e737661a0d extcon: intel-mrfld: Sync hardware and software state on init 6fd650c47411 selftests/lkdtm: Fix expected text for CR4 pinning 07b761cf78b1 lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE 866573b6c9bf nvmem: core: add a missing of_node_put 9c6c73fc99b9 mfd: syscon: Free the allocated name field of struct regmap_config 8451754bca7b power: supply: ab8500: Fix an old bug c0756f75c221 ubifs: Fix races between xattr_{set|get} and listxattr operations ec00b71f402a thermal/drivers/int340x/processor_thermal: Fix tcc setting 238a7c0a5c30 ipmi/watchdog: Stop watchdog timer when the current action is 'none' 13b307880b66 qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute 1e71e1344d61 i40e: fix PTP on 5Gb links 35af69c7c049 mwifiex: bring down link before deleting interface 5665e64c99e3 ASoC: tegra: Set driver_name=tegra for all machine drivers 72104552eae2 fpga: stratix10-soc: Add missing fpga_mgr_free() call c3f4ad1ba2eb clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround a34295528a14 cpu/hotplug: Cure the cpusets trainwreck dcb4b49e3ced arm64: tlb: fix the TTL value of tlb_get_level 31d1d7db4978 ata: ahci_sunxi: Disable DIPM 3b7c6122f390 docs: Makefile: Use CONFIG_SHELL not SHELL 5c8e4b20e70f mmc: core: Allow UHS-I voltage switch for SDSC cards if supported 3d2e0431e687 mmc: core: clear flags before allowing to retune c1b907e43b32 mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode 7210a1b23c50 mmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B 970aa4aefaab drm/i915/display: Do not zero past infoframes.vsc b4772d4e8ec3 drm/ingenic: Switch IPU plane to type OVERLAY 0256fdf3b07c drm/nouveau: Don't set allow_fb_modifiers explicitly 8c5960e823bf drm/arm/malidp: Always list modifiers a2c67909bb71 drm/msm/mdp4: Fix modifier support enabling 337e397a1e9e drm/tegra: Don't set allow_fb_modifiers explicitly 5c2196d8286e drm/ingenic: Fix pixclock rate for 24-bit serial panels 858d38315fc3 drm/amd/display: Reject non-zero src_y and src_x for video planes 6683128d7ca5 pinctrl/amd: Add device HID for new AMD GPIO controller dcb7f78b876c drm/amd/display: fix incorrrect valid irq check 72cba7be3648 drm/rockchip: dsi: remove extra component_del() call e7762bc634c8 drm/dp: Handle zeroed port counts in drm_dp_read_downstream_info() bab3618ca92c drm/vc4: hdmi: Prevent clock unbalance dee39749424b drm/vc4: crtc: Skip the TXP da442a77dd49 drm/vc4: txp: Properly set the possible_crtcs mask e4f2d5c77205 drm/radeon: Call radeon_suspend_kms() in radeon_pci_shutdown() for Loongson64 63de45921822 drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create() 7764d2c698d7 drm/amdgpu: fix the hang caused by PCIe link width switch 0d3a1e59fd9d drm/amdgpu: fix NAK-G generation during PCI-e link width switch 5af51c7bc675 drm/amdgpu: enable sdma0 tmz for Raven/Renoir(V2) fb5beb2b3f06 drm/amdgpu: Update NV SIMD-per-CU to 2 788c261cdb58 drm/amdgpu: add new dimgrey cavefish DID 7fad97798d9b powerpc/powernv/vas: Release reference to tgid during window close 30a401a03189 powerpc/barrier: Avoid collision with clang's __lwsync macro cc7442037062 powerpc/xive: Fix error handling when allocating an IPI 7feb683793ea powerpc/bpf: Reject atomic ops in ppc32 JIT 8a96ec5ebf96 powerpc/mm: Fix lockup on kernel exec fault 987a852734e6 mm/mremap: hold the rmap lock in write mode when moving page table entries. f908381a3ec7 MIPS: MT extensions are not available on MIPS32r1 eecc96e0458c PCI: tegra194: Fix host initialization during resume b63416bc9d6d MIPS: CI20: Reduce clocksource to 750 kHz. 8e3f6e978e4c MIPS: set mips32r5 for virt extensions 1930d84a29d4 MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops 92b74375a1bb sctp: add size validation when walking chunks 4ecabee69d19 sctp: validate from_addr_param return 5f7ca3459118 flow_offload: action should not be NULL when it is referenced e9d02dbbab0a bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc() 5f2d7f0241e2 sched/fair: Ensure _sum and _avg values stay consistent 377c584c325e Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc. 387d99b463af Bluetooth: btusb: use default nvm if boardID is 0 for wcn6855. 8e4a714f4510 Bluetooth: mgmt: Fix the command returns garbage parameter value 15407b14e27b Bluetooth: btusb: Add support USB ALT 3 for WBS 69ccde876ca5 Bluetooth: L2CAP: Fix invalid access on ECRED Connection response 840907eecac0 Bluetooth: L2CAP: Fix invalid access if ECRED Reconfigure fails efffb7884033 Bluetooth: btusb: Add a new QCA_ROME device (0cf3:e500) c19a2820df32 Bluetooth: Shutdown controller after workqueues are flushed or cancelled 286bba24e6ce Bluetooth: Fix alt settings for incoming SCO with transparent coding format cbb2f564faa4 Bluetooth: Fix the HCI to MGMT status conversion table 5c73a8008035 Bluetooth: cmtp: fix file refcount when cmtp_attach_device fails dc239f449b03 Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip. 07583ba2e2d8 RDMA/cma: Fix rdma_resolve_route() memory leak e4d57b37f034 net: ip: avoid OOM kills with large UDP sends over loopback 602b0c1dbedc net: retrieve netns cookie via getsocketopt b01ad7c3b08e media, bpf: Do not copy more entries than user space requested e6b42db7e571 IB/isert: Align target max I/O size to initiator size b3d56dd75032 mac80211: Properly WARN on HW scan before restart e32446de59d2 mac80211_hwsim: add concurrent channels scanning support over virtio 6f9ae4a024c5 mac80211: consider per-CPU statistics if present 5924678a442d cfg80211: fix default HE tx bitrate mask in 2G band e1d88925c3b9 wireless: wext-spy: Fix out-of-bounds warning 649adc384fb3 sfc: error code if SRIOV cannot be disabled 65c8d58a1f7a sfc: avoid double pci_remove of VFs 81772d2c7d04 rtw88: add quirks to disable pci capabilities 2002b7ae2f00 rtw88: 8822c: update RF parameter tables to v62 5a7db3036585 iwlwifi: pcie: fix context info freeing 5b2b879f69b4 iwlwifi: pcie: free IML DMA memory allocation 44164d5528fb iwlwifi: mvm: fix error print when session protection ends 111fa98f60d2 iwlwifi: mvm: apply RX diversity per PHY context 89b944c896f9 iwlwifi: mvm: don't change band on bound PHY contexts af1036530646 RDMA/rxe: Don't overwrite errno from ib_umem_get() 6e34e09aa418 drm/amd/display: Fix edp_bootup_bl_level initialization issue f033a30e32ce vsock: notify server to shutdown when client has pending signal ac05406330eb atm: nicstar: register the interrupt handler in the right place 3c0b0b2533f9 atm: nicstar: use 'dma_free_coherent' instead of 'kfree' 5ad7f389f93b net: fec: add ndo_select_queue to fix TX bandwidth fluctuations df628a202755 net: fec: add FEC_QUIRK_HAS_MULTI_QUEUES represents i.MX6SX ENET IP b223fca477ad MIPS: add PMD table accounting into MIPS'pmd_alloc_one 59dc71f577ea rtl8xxxu: Fix device info for RTL8192EU devices 97e50ed9eae5 mt76: fix iv and CCMP header insertion 65c015b50515 mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode 9b6248b3e649 mt76: connac: fix the maximum interval schedule scan can support bbe1d0ada80e mt76: connac: fix UC entry is being overwritten 57602135190b mt76: mt7921: enable hw offloading for wep keys 869417fa825c mt76: mt7921: reset wfsys during hw probe 6620a41fe435 mt76: mt7921: fix reset under the deep sleep is enabled 7922a844969d mt76: mt7915: fix tssi indication field of DBDC NICs 38b73fe18c6b drm/amdkfd: Walk through list with dqm lock hold af15052971e1 drm/amdgpu: fix bad address translation for sienna_cichlid a8eca6968b1e io_uring: fix false WARN_ONCE 9e134247013e net: sched: fix error return code in tcf_del_walker() 06648197e4ae net: ipa: Add missing of_node_put() in ipa_firmware_load() 0147b9c4ebf6 net: fix mistake path for netdev_features_strings 4d23e6082729 mt76: dma: use ieee80211_tx_status_ext to free packets when tx fails 2a64f3732310 mt76: mt7615: fix fixed-rate tx status reporting b2b69554431f ice: mark PTYPE 2 as reserved 008ec090f0d1 ice: fix incorrect payload indicator on PTYPE eb7b40d9d378 ext4: fix memory leak in ext4_fill_super 4d39b8f57b7d bpf: Fix up register-based shifts in interpreter to silence KUBSAN 2cb85397c30f net: hsr: don't check sequence number if tag removal is offloaded 3382ec34a4d5 drm/amdkfd: Fix circular lock in nocpsch path 161c4c2a19f4 drm/amdkfd: fix circular locking on get_wave_state 118e6aea7ae7 cw1200: add missing MODULE_DEVICE_TABLE 40af3960a153 wl1251: Fix possible buffer overflow in wl1251_cmd_scan 36409fe65122 net: phy: nxp-c45-tja11xx: enable MDIO write access to the master/slave registers 84bb21d9886c wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP ce6dc850612a dm writecache: commit just one block, not a full page 7cc35bd4355b xfrm: Fix error reporting in xfrm_state_construct. 62adf2af9f09 ibmvnic: fix kernel build warnings in build_hdr_descs_arr 20102b0f6784 drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check 66fc2862a252 r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM 4b58c2891d09 selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC dd18ad96a9ea net: mido: mdio-mux-bcm-iproc: Use devm_platform_get_and_ioremap_resource() 7ca7d4404b95 fjes: check return value after calling platform_get_resource() 61e364fafec1 drm/amdkfd: use allowed domain for vmbo validation 3b5c55df5067 net: sgi: ioc3-eth: check return value after calling platform_get_resource() 42b8412dc123 selftests: Clean forgotten resources as part of cleanup() 32438665ba66 net: phy: realtek: add delay to fix RXC generation issue 3df8a157824b drm/amd/display: Fix crash during MPO + ODM combine mode recalculation caef3b95ce82 drm/amd/display: Fix off-by-one error in DML 6f88bc77bbc7 drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7 db1ca5441e33 drm/amd/display: Release MST resources on switch from MST to SST 71e0e437e97b drm/amd/display: Update scaling settings on modeset dc9e10ea5bdd drm/amd/display: Revert "Fix clock table filling logic" ef485944e718 drm/amd/display: Fix DCN 3.01 DSCCLK validation 18aa10751227 net: moxa: Use devm_platform_get_and_ioremap_resource() c01540159ead net: micrel: check return value after calling platform_get_resource() 373db5a9c8c4 net: mvpp2: check return value after calling platform_get_resource() cd9575caf7bd net: bcmgenet: check return value after calling platform_get_resource() 43630cbcd7de net: mscc: ocelot: check return value after calling platform_get_resource() e8f03933f5a7 virtio_net: Remove BUG() to avoid machine dead 47cafc568c31 ice: fix clang warning regarding deadcode.DeadStores 63efeeb1274d ice: set the value of global config lock timeout longer 22f5c64be9c7 pinctrl: mcp23s08: fix race condition in irq handler 88e1357e4d05 net: bridge: mrp: Update ring transitions. 03de5ab1dc40 block: introduce BIO_ZONE_WRITE_LOCKED bio flag 4068cb7e1113 dm: Fix dm_accept_partial_bio() relative to zone management commands 0a8a10887b65 dm writecache: don't split bios when overwriting contiguous cache content 3c8afdbb62ee dm space maps: don't reset space map allocation cursor when committing c5cc91094e6a RDMA/cxgb4: Fix missing error code in create_qp() 957d6d796e73 icmp: fix lib conflict with trinity e0b8274cda12 net: tcp better handling of reordering then loss cases b01c274e3a3a clk: tegra: tegra124-emc: Fix clock imbalance in emc_set_timing() 3da33bf6aaff drm/amdgpu: remove unsafe optimization to drop preamble ib 3b2b93a485fb drm/amd/display: Avoid HDCP over-read and corruption 060a3b127d9e drm/amdgpu: fix sdma firmware version error in sriov 3e7b75192e15 drm/amdgpu: fix metadata_size for ubo ioctl queries 7c77db5a26db MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER 181bc6b98b10 MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B) 8853d2ce4e9e ipv6: use prandom_u32() for ID generation ba710baa1cc1 virtio-net: Add validation for used length 8d7221a98741 drm: bridge: cdns-mhdp8546: Fix PM reference leak in 4dbd10b868b6 clk: tegra: Ensure that PLLU configuration is applied properly 91789532c24c clk: tegra: Fix refcounting of gate clocks 9bce65a588d9 drm/tegra: hub: Fix YUV support 86e0ca4c6aee RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH f2aad1098936 net: stmmac: the XPCS obscures a potential "PHY not found" error 7366ccbd327c drm: rockchip: add missing registers for RK3066 20f88209526e drm: rockchip: add missing registers for RK3188 c77ad9cbf0c7 net/mlx5: Fix lag port remapping logic f39de3cc0ff7 net/mlx5e: IPsec/rep_tc: Fix rep_tc_update_skb drops IPsec packet ba2d94789a1f drm/amdgpu/swsmu/aldebaran: fix check in is_dpm_running 93ed1b0210ea drm/amd/display: fix odm scaling 669f0f6f83d5 clk: renesas: r8a77995: Add ZA2 clock 383114477250 drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer() 4432f3694ee5 igb: fix assignment on big endian machines 003d37fa8c70 igb: handle vlan types with checker enabled dd658e324c34 e100: handle eeprom as little endian 38d70d239c7c drm/vc4: hdmi: Fix PM reference leak in vc4_hdmi_encoder_pre_crtc_co() 62f616078e9f drm/vc4: Fix clock source for VEC PixelValve on BCM2711 6d0f4887e742 drm/amd/pm: fix return value in aldebaran_set_mp1_state() 8722275b41d5 net: xilinx_emaclite: Do not print real IOMEM pointer 5150877e4d99 udf: Fix NULL pointer dereference in udf_symlink function 50d7e03ad487 drm/sched: Avoid data corruptions baf802cd27cd drm/scheduler: Fix hang when sched_entity released cef0b8eab231 pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE 248fc2633293 net: ethernet: ixp4xx: Fix return value check in ixp4xx_eth_probe() 7b777772879c net/sched: cls_api: increase max_reclassify_loop 0f20ce74aff8 net: mdio: provide shim implementation of devm_of_mdiobus_register 5cb3b25c7f53 drm/virtio: Fix double free on probe failure 5ac1c5fcffd0 reiserfs: add check for invalid 1st journal block b8f63c943700 drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE 3828625dd18d net: mdio: ipq8064: add regmap config to disable REGCACHE 8f5cc4dc1e2a drm/panfrost: devfreq: Disable devfreq when num_supplies > 1 e049b85f7dcc drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init() 609ee98affb0 net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT 5b991df88810 atm: nicstar: Fix possible use-after-free in nicstar_cleanup() ed7c3739d0a0 mISDN: fix possible use-after-free in HFC_cleanup() d1fb12412874 atm: iphase: fix possible use-after-free in ia_module_exit() 72bdf3c6b059 hugetlb: clear huge pte during flush function on mips platform d2958a2e6d92 MIPS: Loongson64: Fix build error 'secondary_kexec_args' undeclared under !SMP 6102f34e4622 clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe() 5ec05aa8160b drm/amd/display: fix use_max_lb flag for 420 pixel formats 57092f4f803b drm/amd/display: Fix clock table filling logic 3eb50ab2c5ac drm/amdgpu: change the default timeout for kernel compute queues c9c00298cf07 net: pch_gbe: Use proper accessors to BE data in pch_ptp_match() ae1864f13cce drm/imx: Add 8 pixel alignment fix 925a6b206bde drm/bridge: nwl-dsi: Force a full modeset when crtc_state->active is changed to be true 0cf0cb019cd5 drm/vc4: fix argument ordering in vc4_crtc_get_margins() e684e0ee1153 drm/amd/amdgpu/sriov disable all ip hw status by default eeb44b638475 drm/amd/display: Fix BSOD with NULL check 3728601cd68e drm/amd/display: Revert wait vblank on update dpp clock 73893fe52178 drm/amd/display: fix HDCP reset sequence on reinitialize fc2e7aeedba2 drm/ast: Fixed CVE for DP501 d5d89dd11f6f drm/zte: Don't select DRM_KMS_FB_HELPER 992b191b179c drm/mxsfb: Don't select DRM_KMS_FB_HELPER
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add patch to fix bug for undeclared macro on musl.
btrfs-progs-5.13 (2021-07-13)
* restore: remove loop checks for extent count and directory scan
* inspect dump-tree: new options to print node (--csum-headers) and data
checksums (--csum-items)
* fi usage:
* print stripe count for striped profiles
* print zoned information: size, total unusable
* mkfs: print note about sha256 accelerated module loading issue
* check: ability to reset dev_item::bytes_used
* fixes
* detect zoned kernel support at run time too
* exclusive op running check return value
* fi resize: support cancel (kernel 5.14)
* device remove: support cancel (kernel 5.14)
* documentation about general topics
* compression
* zoned mode
* storage model
* hardware considerations
* other
* libbtrfsutil API overview
* help text fixes and updates
* hash speedtest measure time, cycles using perf and print throughput
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 16 Jul 2021 11:32:24 +0000 (12:32 +0100)]
parted: skip tests that need vfat support
At the time of writing the qemu kernels don't support vfat filesystems.
There are patches on the list to add that, but as two tests fail without
vfat support, make them skip if vfat isn't available.
[ YOCTO #14470 ]
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>
Andreas Müller [Sun, 18 Jul 2021 19:44:05 +0000 (21:44 +0200)]
mesa: upgrade 21.1.4 -> 21.1.5
Bug fixes
* [build error] macros.h:88:26: error: size of unnamed array is negative
* Game Issue: Nuclear Throne crashes in RadeonSI
* Crash in glLinkProgram while trying to craft the link error
* Shader compilation memory leaks
* Wolfenstein II: The New Colossus - Screen goes black in some cases
* SpaceEngine in Steam Proton cannot start with Mesa >=20.3
* [bisected] KDE plasma menu text renders like stretched strangely [amdgpu]
* Luna Sky Crashes on Launch
* Mesa crashes on undefined texture behaviour
* Mesa crashes on undefined texture behaviour
* cache_test uses uninitialized stack memory
Changes
* nir: Fix constant folding for irhadd/urhadd
* ac/surface: Handle non-retiled displayable DCC correctly for modifiers.
* ir3: Fix infinite loop in scheduler when splitting
* glsl: Prohibit implicit conversion of mem parameter in atomicOP functions
* draw: fix tessellation output vertex size calculation
* .pick_status.json: Update to e4f762ac346f31fc1fd201aecdc375348be5075f
* zink: mark a bunch of zink-piglit-quick_gl tests as flakes
* .pick_status.json: Update to c704bb630d21e0a30500e9d8f42493ede3cc55ae
* .pick_status.json: Mark e5d158881b3e12270521d7081b4bba0ac2108d2e as denominated
* softpipe: add missing sentinel to debug option array
* iris: Don’t leak the surface if uncompressed re-interp fails
* intel/perf: use the right popcount for 64bits
* ac/surface/tests: fix the ARM build
* radeonsi,radv: fix a late alloc deadlock with <= 6 CUs per SA
* Convert most remaining free-form fall-through comments to FALLTHROUGH
* osmesa: Replace default case FALLTHROUGH annotation by following return
* Fix up leftover “state_trackers” references to “frontends”
* radeonsi: fix fb_too_small condition
* radeonsi/gfx7: always sync pfp/me
* ac/surface: don’t print stencil info if tex has no stencil
* radeonsi/driconf: add workaround for SpaceEngine
* st/mesa: fix size miss match for some check
* freedreno: Consolidate needs_flush and clearing last_fence
* freedreno/a6xx: Fix framebuffer_barrier crash
* radv: disable DCC for DOOM 2016 and Wolfenstein II
* aco: fix shared_atomic_comp_swap if the second source isn’t a VGPR
* nir: return progress from nir_lower_packing
* nir/ifind_msb_rev: fix input check
* broadcom/compiler: fix add vs. mul
* util/tests: initialise key in cache_test
* mesa: don’t crash on incorrect texture use
* i965: don’t crash on incorrect texture use
* util/driconf: add new ignore_write_to_readonly_var workaround
* util: add some workarounds for the game Luna Sky
* glsl: force_glsl_version to shaders with no defined version
* util/radeonsi: add radeonsi workaround for Nuclear Throne
* st/xa: Mark default xa_get_pipe_format case unreachable.
* intel: fix leaking memor
* y on shader creation
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Tim Orling [Sun, 18 Jul 2021 19:12:54 +0000 (19:12 +0000)]
python3-hypothesis: upgrade 6.14.1 -> 6.14.3
6.14.3 - 2021-07-18
This patch updates our autoformatting tools, improving our code style
without any API changes.
6.14.2 - 2021-07-12
This patch ensures that we shorten tracebacks for tests which fail due
to inconsistent data generation between runs (i.e. raise Flaky).
Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Ross Burton [Fri, 16 Jul 2021 15:09:05 +0000 (16:09 +0100)]
meta: remove redundant ${libdir}/cmake from FILES_${PN}-dev
Since oe-core 543e39ad "bitbake.conf: handle cmake -dev files packaging
with default rules" (June 2018) there's no need for recipes to add
${libdir}/cmake or ${datadir}/cmake to FILES_${PN}-dev themselves.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>