Stefano Babic [Fri, 3 Jan 2020 12:33:22 +0000 (13:33 +0100)]
libubootenv: Add libubootenv which replaces u-boot-fw-utils
libubootenv is a replacement for u-boot-fw-utils. It is
hardware-independent and provides fw_printenv and fw_setenv tools that
are full compatible with the ones provided by U-Boot. A library is
provided to access the environment from an own application.
License is LGPL-2.1 and this allow to link the library to proprietary
code. The user of the tools should install the configuration file
"fw_env.config", as he is already used to with u-boot-fw-utils. The
configuration file is compatible with u-boot-fw-utils.
A full discussion about issues on current u-boot-fw-utils can be read on
U-Boot's ML at:
Maxim Uvarov [Sat, 4 Jan 2020 20:08:57 +0000 (23:08 +0300)]
runqemu: add virtio block device
Implement new QB_DRIVE_TYPE="/dev/vdb" which falls back
to virtio block device emulated by qemu.
That is needed to support following qemu command line:
-drive id=disk0,file=%s,if=none,format=%s \
-device virtio-blk-device,drive=disk0'
Real use case is arm64 emulation with qemu with atf+optee+uboot,
so that uboot driver sees this disk and able to load from it.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 6 Jan 2020 12:47:26 +0000 (12:47 +0000)]
glib: set missing cross property
GLib 2.60 onwards checks for /proc/self/cmdline instead of assuming that
it exists on Linux (because Cygwin also has it). As this is a runtime
test it doesn't execute in cross builds so defaults to false, but under
Linux this should be true.
Restore the previous behaviour and silence the warning by setting the
cross property appropriately.
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 6 Jan 2020 10:08:46 +0000 (10:08 +0000)]
sstate: Avoid races over rewritten siginfo files
Try and avoid errors like:
Exception: bb.process.ExecutionError: Execution of 'build/tmp/work/x86_64-linux/libxslt-native/1.1.34-r0/temp/run.sstate_unpack_package.12343' failed with exit code 1:
touch: setting times of 'build/sstate_devtool/80/4d/sstate:libxslt-native::1.1.34:r0::3:804d33f3f8d032b01ae92207669dd0a8f95a84917d563d122a77df19e786d73c_populate_lic.tgz.siginfo': Stale file handle
WARNING: exit code 1 from a shell command.
by not overwriting existing files.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 6 Jan 2020 13:14:17 +0000 (13:14 +0000)]
scripts/gen-lockedsig-cache: Only look at new format sstate objects
We can have sstate directories which are mixtures of old and new layout entries.
Only use the new format ones since these are the only ones bitbake itself will
look at.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 5 Jan 2020 14:49:03 +0000 (14:49 +0000)]
sstate: Handle sstate filenames longer than 255 characters
Many filesystems can't cope with filenames longer that 255 characters.
Add code to detect this and truncate non-essential elements of the filename
to stay within the limit.
[YOCTO #13268]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 11 Dec 2019 12:06:54 +0000 (12:06 +0000)]
sstate: Improve SSTATE_PKG handling
Move the task handling code into the SSTATE_PKGNAME variable using a temporary variable.
This makes the code more understandable as as well as allowing the length of the
final sstate filename to be more easily accesses for following patches.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 3 Jan 2020 18:03:35 +0000 (18:03 +0000)]
sstate: Add extra directory level
We're having speed issues on the autobuilder due to the numbers of files in sstate
directories. We previously split these by the first two characters of the hash.
This change extends this to split by the next two characters as well, creating
more layers of directories.
This should signifiantly speed up eSDK builds on the autobuilder as the current
sstate layout simply isn't scaling there but addresses a general complaint.
gen-lockedsig-cache needed to be updated for the new split level sstate.
Also update tests for new layout.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Fri, 3 Jan 2020 07:21:22 +0000 (23:21 -0800)]
musl: Build outside of source tree
musl does not use cmake/autotools etc. but plane old makefile basded
build system, which means it does not get B defined to be outside S
therefore define B explicitly to be outside S
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 2 Jan 2020 16:37:58 +0000 (16:37 +0000)]
sstatesig: Avoid resetting taskhash within siggen for locked sigs
Since get_unihash uses taskhash as a key internally, changing it means
different bebahour when locked sigs are active verses not active. Under
corner cases this leads to a signature mismatch.
Avoid this by by adding a wrapper for the place its externally exposed
and then not changing the internals.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 30 Dec 2019 14:44:01 +0000 (14:44 +0000)]
sstatesig: Fix locked signature handling with unihashes
get_taskhash will call get_unihash internally in the parent class. We
need to disable our filter of it whilst this runs else incorrect hashes
can be calculated.
This is believed to be causing the locked signatures test to fail under
some circumstances (depending on whether earlier hashes are being
remapped).
[YOCTO #13605]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 28 Dec 2019 00:02:46 +0000 (00:02 +0000)]
sstatesig: Test cross/native hashserv method extension
We can have one taskhash which represents multiple native/cross sstate objects
since they're stored by BUILD_ARCH or possibly host distro (or host gcc version).
We need to put these into separate namespaces on hashserv since their outhashes
will never match and we need deterministic lookups for the different namespaces.
Use this extramethod option to handle this. This fixes several problematic
failures on the autobuilder.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kalle Lampila [Tue, 31 Dec 2019 15:10:49 +0000 (17:10 +0200)]
wic/filemap: If FIGETBSZ iotctl fail, failback to os.stat
Some file systems don't support fetching the block size (notably the
file system Docker uses for containers), so if iotctl() fail, try to use
failback via os.stat() to get block size.
Signed-off-by: Kalle lampila <kalle.lampila@lempea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: URLs changed from http to https Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tim Orling [Mon, 23 Dec 2019 01:18:37 +0000 (17:18 -0800)]
buildtools-extended-tarball: add recipe with build-essentials
* For some aging distros, such as CentOS 7, the native version
of gcc is simply too ancient and is a constant source of
headaches for moving forward.
* Add an extended version of buildtools-tarball which adds all
of build-essential, so that the host is now modernized and
capable of compiling the latest versions of components.
Fixes [YOCTO #13714]
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 28 Dec 2019 23:37:37 +0000 (23:37 +0000)]
bitbake.conf: Simplify TARGET_SYS/SDK_SYS
As pointed out by Masahiro Yamada <masahiroy@kernel.org>, ('' or 'custom')
equates to "custom" and this code seems unecesaarily complicated and unused.
It was likely intended to supress the value if XXX_OS was set to '' but the
code doesn't actually do that. Simplify it as we shouldn't have this indirection
if we don't need it, its horrible.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python uses features of glibc that require it to dynamically load (i.e.
dlopen()) libgcc_s at runtime. However, since this isn't a link time
dependency, it doesn't get picked up automatically by bitbake so
manually add it to RDEPENDS.
There is an outstanding bug in Python to make it explicitly link against
libgcc at link time which would remove the need for this. See:
https://bugs.python.org/issue37395
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joshua Watt [Mon, 30 Dec 2019 20:59:50 +0000 (14:59 -0600)]
runqemu: Add multiconfig support
Users may want to run qemu against a specific multiconfig instead of the
base configuration, so give them the ability to specify which config
should be used with the MULTICONFIG environment variable.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joshua Watt [Mon, 30 Dec 2019 20:59:29 +0000 (14:59 -0600)]
classes/image_types_wic: Depend on do_image_complete tasks
do_image_wic now depends on the do_image_complete tasks from all it's
dependencies. This allows images recipes specified in WKS_FILE_DEPENDS
(for example, if a machine wants to put a initrd into a boot partition)
to correctly trigger rebuilds for the wic image.
Note that recrdeptask can't be used as was done for do_deploy because
this would cause circular task dependency errors. This shouldn't be
necessary anyway if the dependencies specified in WKS_FILE_DEPENDS are
complete.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
André Draszik [Mon, 30 Dec 2019 20:36:55 +0000 (20:36 +0000)]
systemd: fix ${PN}-journal-remote systemd unit
Commit d31ff84a5f47 ("systemd: fix PN-container package splitting"), d0b2cedfb099 in poky, created a new package for the remote journal,
but introduced a typo during declaration of the systemd unit part
of that package.
Fix it.
Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While installing perl-doc and tcl-doc to image, there is a file conflicts
at do_rootfs
...
|file /usr/share/man/man3/Thread.3 conflicts between attempted installs of
perl-doc-5.30.1-r0.core2_64 and tcl-doc-8.6.10-r0.core2_64
...
Use update-alternatives to fix
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tim Orling [Mon, 23 Dec 2019 01:18:36 +0000 (17:18 -0800)]
nativesdk-buildtools-perl-dummy: add dependencies for autoconf and automake
* For buildtools-extended-tarball, where we are adding all of build-essentials
to the nativesdk, we need additional perl modules for autoconf and automake.
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Sun, 29 Dec 2019 18:44:01 +0000 (10:44 -0800)]
cmake.bbclass: Define LIB_SUFFIX
This variable is used in lot of cmake based packages to denote libdir in
multilib environments, now a days there is a better way to include
GNUInstallDirs module but thats upto these packages to adopt. Defining
this helps compiling a bunch of recipes in extended layers when using
multilibbed builds.
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Mon, 30 Dec 2019 03:07:21 +0000 (22:07 -0500)]
kernel-yocto: allow external (aka non-integrated) BSPs to supply patches
By default, only explicitly specified .scc files or patches are applied
to a BSP as part of the patching phase. This allows the reference BSPs
to be integrated into a kernel tree, and use the same meta data for tree
generation and for runtime building. It also greatly simplies the
processing of kernel meta data.
That being said, if an external (and fully standalone) kmeta repository
is used, it very well may contain both patches and configuration. To
allow the BSP definition to supply patches and config, we introduce a
new kernel meta data definition:
define KMETA_EXTERNAL_BSP t
This can be set in any .scc file that wants to specify both patches
and configuration.
If specifying this per-BSP is not desired, a secondary variable is
used:
KMETA_EXTERNAL_BSPS
When that is set in a bbappend, any located BSP definitions will be used
for both patches and configuration.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Mon, 30 Dec 2019 03:07:20 +0000 (22:07 -0500)]
linux-yocto/5.2: update to v5.2.28
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
7943d7e69aa7 Linux 5.2.28 b5db992cfdd3 usbip: Fix uninitialized symbol 'nents' in stub_recv_cmd_submit() a0b637f7868d usb: gadget: configfs: Fix missing spin_lock_init() aee8c2147a36 net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size() a04397ac5986 bonding: fix active-backup transition after link failure 0993efbf3f01 ALSA: usb-audio: Fix incorrect size check for processing/extension units 66375457a696 ALSA: usb-audio: Fix incorrect NULL check in create_yamaha_midi_quirk() c0920628d63f ALSA: hda/ca0132 - Fix work handling in delayed HP detection e14b1f4b4011 mwifiex: fix possible heap overflow in mwifiex_process_country_ie() 060505a3c9dc io_uring: use current task creds instead of allocating a new one 8d113ae57534 io_uring: async workers should inherit the user creds 4079323e2113 net/ibmvnic: unlock rtnl_lock in reset so linkwatch_event can run 013e927d5204 arm64: errata: Update stale comment 2c8f51168b64 netfilter: ipset: Copy the right MAC address in hash:ip,mac IPv6 sets 911f63fa6335 bonding: fix using uninitialized mode_lock ab3e4e6f92d4 usbip: Fix free of unallocated memory in vhci tx 516423c1395e cgroup,writeback: don't switch wbs immediately on dead wbs if the memcg is dead 2c17159569ee mm/filemap.c: don't initiate writeback if mapping has no dirty pages a53a54cbee03 ocfs2: protect extent tree in ocfs2_prepare_inode_for_write() 96e3c3553d84 e1000: fix memory leaks ef2c5f55f92e igb: Fix constant media auto sense switching when no cable is connected 5853c1ae13c9 net: ethernet: arc: add the missed clk_disable_unprepare 330a0ce1737a NFSv4: Don't allow a cached open with a revoked delegation ecb481d00e39 arm64: apply ARM64_ERRATUM_843419 workaround for Brahma-B53 core c3cc8b365b07 arm64: Brahma-B53 is SSB and spectre v2 safe 87251ea1e89b arm64: apply ARM64_ERRATUM_845719 workaround for Brahma-B53 core 36c2624f9432 usb: dwc3: gadget: fix race when disabling ep with cancelled xfers 93268e187878 arm64: cpufeature: Enable Qualcomm Falkor errata 1009 for Kryo 1498bf362a53 x86, efi: Never relocate kernel below lowest acceptable address 3cfc26fc6f99 efi: libstub/arm: Account for firmware reserved memory at the base of RAM fc5ffc1e3fdd hv_netvsc: Fix error handling in netvsc_attach() 92b10afd667e SUNRPC: The RDMA back channel mustn't disappear while requests are outstanding 086a81dbfba3 SUNRPC: The TCP back channel mustn't disappear while requests are outstanding ffdad349b545 drm/amd/display: Passive DP->HDMI dongle detection fix 35be94b64940 drm/amd/display: do not synchronize "drr" displays 7c39460cb5ac drm/amdgpu: If amdgpu_ib_schedule fails return back the error. 78d726f10338 drm/sched: Set error to s_fence if HW job submission failed. 9830f79967bf mt76: dma: fix buffer unmap with non-linear skbs 720d823bdb4b iommu/amd: Apply the same IVRS IOAPIC workaround to Acer Aspire A315-41 63fd1ae15909 net: mscc: ocelot: refuse to overwrite the port's native vlan 9016218584da net: mscc: ocelot: fix vlan_filtering when enslaving to bridge before link is up 28c0b80eaf33 net: hisilicon: Fix "Trying to free already-free IRQ" 1ecc30627dde fjes: Handle workqueue allocation failure e87e60d8b437 nvme-multipath: fix possible io hang after ctrl reconnect 4872894ab801 sched/topology: Allow sched_asym_cpucapacity to be disabled 1da63fea0a7b sched/topology: Don't try to build empty sched domains 70e90b283406 scsi: qla2xxx: stop timer in shutdown path 1cc270775485 hwmon: (ina3221) Fix read timeout issue 45239aea409d RDMA/hns: Prevent memory leaks of eq->buf_list 53fa37993b30 RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case 7ff5b79bbbeb usbip: tools: Fix read_usb_vudc_device() error path handling a2938e175103 USB: ldusb: use unsigned size format specifiers 680a523e29ac USB: Skip endpoints with 0 maxpacket length e0d7df991267 perf/x86/uncore: Fix event group support 89cc224ca642 perf/x86/amd/ibs: Handle erratum #420 only on the affected CPU family (10h) 3cef7fe493bc perf/x86/amd/ibs: Fix reading of the IBS OpData register and thus precise RIP validity b2dce44309c3 usb: dwc3: remove the call trace of USBx_GFLADJ 2a3754959b17 usb: gadget: configfs: fix concurrent issue between composite APIs b97e16bf764c usb: gadget: composite: Fix possible double free memory bug f28bdd84158d usb: gadget: udc: atmel: Fix interrupt storm in FIFO mode. 5853c961dc7f usb: fsl: Check memory resource before releasing it 95100a241e6d usb: dwc3: select CONFIG_REGMAP_MMIO 108ae240a478 scsi: sd: define variable dif as unsigned int instead of bool 6525d5046fc8 virt_wifi: fix refcnt leak in module exit routine d7aaa2cc70d4 macsec: fix refcnt leak in module exit routine 9ca46b3266cd bonding: use dynamic lockdep key instead of subclass 09dd999301fe bonding: fix unexpected IFF_BONDING bit unset b3ba6e2b6620 ipvs: move old_secure_tcp into struct netns_ipvs d532f1fd8afb ipvs: don't ignore errors in case refcounting ip_vs module fails 70cbcdb17ff0 net: phy: smsc: LAN8740: add PHY_RST_AFTER_CLK_EN flag 0e4ba0c6840e xsk: Fix registration of Rx-only sockets ef1fdf7f97d0 netfilter: nf_flow_table: set timeout before insertion into hashes 38521edda858 iwlwifi: pcie: 0x2720 is qu and 0x30DC is not 8560aaae6c0e iwlwifi: pcie: fix all 9460 entries for qnj bd7630c67813 iwlwifi: pcie: fix PCI ID 0x2720 configs that should be soc dbd6c9966dd8 bpf: Fix use after free in bpf_get_prog_name 86e351f38ec7 scsi: qla2xxx: Initialized mailbox to prevent driver load failure efb36f318994 scsi: lpfc: Honor module parameter lpfc_use_adisc 9bff69da3b99 net: openvswitch: free vport unless register_netdevice() succeeds 193fa1a4522a bpf: Fix use after free in subprog's jited symbol removal 1ee4522aa93c RDMA/uverbs: Prevent potential underflow 9c018cb9f15b scsi: ufs-bsg: Wake the device before sending raw upiu commands 682f81e5304b scsi: qla2xxx: fixup incorrect usage of host_byte dca864479cde selftests/bpf: More compatible nc options in test_tc_edt 7ad63e706f31 net/mlx5e: TX, Fix consumer index of error cqe dump b3c5d67904a8 net/mlx5e: Tx, Fix assumption of single WQEBB of NOP in cleanup flow de4ed191ea6a IB/core: Use rdma_read_gid_l2_fields to compare GID L2 fields b4912439edec RDMA/qedr: Fix reported firmware version 8291185a312b iw_cxgb4: fix ECN check on the passive accept fc84b384eb40 RDMA/mlx5: Clear old rate limit when closing QP c76d7b0214ee powerpc/32s: fix allow/prevent_user_access() when crossing segment boundaries. 13fecbf4a027 HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring() e6d91869518a dmaengine: sprd: Fix the possible memory leak issue 55d41c0f1470 dmaengine: xilinx_dma: Fix control reg update in vdma_channel_set_config cb7318f2b0e4 dmaengine: xilinx_dma: Fix 64-bit simple AXIDMA transfer 03a1b968775d bpf: lwtunnel: Fix reroute supplying invalid dst 4903f1d1bf8b dmaengine: sprd: Fix the link-list pointer register configuration issue 556cf9124c0a HID: google: add magnemite/masterball USB ids 09e8a1ec600e usbip: Implement SG support to vhci-hcd and stub driver 065245f072da ALSA: usb-audio: Fix copy&paste error in the validator 51db18fc1b06 ALSA: usb-audio: remove some dead code eeb8753a5329 ALSA: usb-audio: Fix possible NULL dereference at create_yamaha_midi_quirk() 5159d8aab602 ALSA: usb-audio: Clean up check_input_term() 594d9d1e5e17 ALSA: usb-audio: Remove superfluous bLength checks 44db0074cd7c ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects 443cff51a6bb ALSA: usb-audio: Simplify parse_audio_unit() bcc4dd818640 ALSA: usb-audio: More validations of descriptor units af26301992ac configfs: fix a deadlock in configfs_symlink() 58e23dc42be6 can: dev: add missing of_node_put() after calling of_get_child_by_name() b2b42b51675f can: rx-offload: can_rx_offload_queue_sorted(): fix error handling, avoid skb mem leak 35b90e57a289 can: peak_usb: fix a potential out-of-sync while decoding packets 6cc9a0bb94de can: c_can: c_can_poll(): only read status register after status IRQ 78aa7546e343 can: flexcan: disable completely the ECC mechanism 60eb5bed4403 can: usb_8dev: fix use-after-free on disconnect 573872be4f06 SMB3: Fix persistent handles reconnect a422197a1eab x86/apic/32: Avoid bogus LDR warnings 46279c9462f3 x86/dumpstack/64: Don't evaluate exception stacks before setup c6c6ac3c04b2 intel_th: pci: Add Jasper Lake PCH support 911ece5b25e1 intel_th: pci: Add Comet Lake PCH support 3f2a73ab3b0a intel_th: gth: Fix the window switching sequence ecb83032ecac netfilter: ipset: Fix an error code in ip_set_sockfn_get() 343ebeaf5062 netfilter: nf_tables: Align nft_expr private data to 64-bit 97d84484d0e6 cpufreq: intel_pstate: Fix invalid EPB setting 7c985c014425 ARM: sunxi: Fix CPU powerdown on A83T 43a2cca05874 iio: srf04: fix wrong limitation in distance measuring b870132ec166 iio: imu: inv_mpu6050: fix no data on MPU6050 e48c1fca5974 iio: imu: adis16480: make sure provided frequency is positive 9dca863d3b35 iio: adc: stm32-adc: fix stopping dma 8fc1bf8f2be7 ceph: don't allow copy_file_range when stripe_count != 1 8cfda9695cf9 ceph: don't try to handle hashed dentries in non-O_CREAT atomic_open 4ad07fc427d4 ceph: add missing check in d_revalidate snapdir handling ef1848480086 ceph: fix RCU case handling in ceph_d_revalidate() d97f80fd208a ceph: fix use-after-free in __ceph_remove_cap() dfe4803a9068 ASoC: rsnd: dma: fix SSI9 4/5/6/7 busif dma address 5e23235c9524 arm64: Do not mask out PTE_RDONLY in pte_same() 48c2025b2f09 blkcg: make blkcg_print_stat() print stats only for online blkgs 034d5809a5f4 soundwire: bus: set initial value to port_status 649b8fd670bc soundwire: depend on ACPI || OF 94aa8ee28648 soundwire: depend on ACPI ee8af21351c4 mm/khugepaged: fix might_sleep() warn with CONFIG_HIGHPTE=y d66df2eb6b3a HID: wacom: generic: Treat serial number and related fields as unsigned e1ffbf4ecc06 drm/radeon: fix si_enable_smc_cac() failed issue 69d06ef9e08d perf map: Use zalloc for map_groups 782163d51e60 perf tools: Fix time sorting 3067a7cc476a pinctrl: intel: Avoid potential glitches if pin is in GPIO mode b69bf236dff2 tools: gpio: Use !building_out_of_srctree to determine srctree e231278b0d22 btrfs: save i_size to avoid double evaluation of i_size_read in compress_file_range 5e162cf4feec btrfs: tree-checker: Fix wrong check on max devid 3f2943947386 dump_stack: avoid the livelock of the dump_lock 4355d417a94f mm, vmstat: hide /proc/pagetypeinfo from normal users 953014f940f5 mm: thp: handle page cache THP correctly in PageTransCompoundMap 61650775cd53 mm, meminit: recalculate pcpu batch and high limits after init completes 2dcc41fdaf8a mm: memcontrol: fix network errors from failing __GFP_ATOMIC charges aa9bf5f11454 ALSA: hda/ca0132 - Fix possible workqueue stall 3b82b35a59db ALSA: bebob: fix to detect configured source of sampling clock for Focusrite Saffire Pro i/o series e2ba23d39223 ALSA: timer: Fix incorrectly assigned timer instance 0dc0b91d07e4 vsock/virtio: fix sock refcnt holding during the shutdown 420c2d73c309 net/smc: fix ethernet interface refcounting d7b3e1639bd7 net: sched: prevent duplicate flower rules from tcf_proto destroy race 343d798fc32d net: prevent load/store tearing on sk->sk_stamp 7dae346fabf5 net: hns: Fix the stray netpoll locks causing deadlock in NAPI path d8dd70306467 ipv6: fixes rt6_probe() and fib6_nh->last_probe init 28b0701981a4 selftests/tls: add test for concurrent recv and send e35586c32b38 net/tls: add a TX lock a440797c1de5 net/tls: don't pay attention to sk_write_pending when pushing partial records d606d0d99205 net: mscc: ocelot: fix NULL pointer on LAG slave removal 0be7d0f645a9 net: mscc: ocelot: don't handle netdev events for other netdevs 7c406bd7d55b qede: fix NULL pointer deref in __qede_remove() a09ec9b4cc7d NFC: st21nfca: fix double free 0c0b3ac80ac8 nfc: netlink: fix double device reference drop 90a397f2593f NFC: fdp: fix incorrect free object cfe446854a9c net: usb: qmi_wwan: add support for DW5821e with eSIM support 8d510fd1378a net/tls: fix sk_msg trim on fallback to copy mode 55a7a495b3fe net: qualcomm: rmnet: Fix potential UAF when unregistering 756e7124cde2 net: fix data-race in neigh_event_send() 212322510b49 net: ethernet: octeon_mgmt: Account for second possible VLAN header b0855a3ad221 ipv4: Fix table id reference in fib_sync_down_addr 9dfa56e19c37 CDC-NCM: handle incomplete transfer of MTU 86e7bde87d43 bonding: fix state transition issue in link monitoring
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
x86/boot/compressed/64: Define __force_order only when CONFIG_RANDOMIZE_BASE is unset
kaslr_64.c also defines the same variable, however when both files are
included into final link, linker complains about multiple definition of
`__force_order' which is coming from kaslr_64.o and pgtable_64.o, its
possible that kaslr_64.o is disabled via CONFIG_RANDOMIZE_BASE config
option, therefore define it conditionally only when
CONFIG_RANDOMIZE_BASE is not set
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Kees Cook <keescook@chromium.org> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: x86-ml <x86@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
André Draszik [Fri, 20 Dec 2019 16:37:54 +0000 (16:37 +0000)]
oeqa/runtime/ptest: fix detection of failed tests
Since commit d6065f136f6d ("oeqa/logparser: Various misc cleanups"), 7b17274c30c6 in poky, the ptest OEQA is unable to detect failures
in any of the test results.
The reason is that the test result string changed from 'fail' to
'FAILED', because the original mapping has been removed as part of
that commit, but the code in here is still trying to match against
the old string, resulting in no matches, i.e. everything is treated
as successful, even if it shouldn't be.
Update the OEQA ptest test to actually work again and report
failure if there was a failure.
Note that the ptest test is marked as @expectedfail, so even though
this test now again starts to fail, the overall OEQA test result is
not affected - but at least the overall OEQA test summary reflects
the correct status again.
In other words:
RESULTS:
RESULTS - ping.PingTest.test_ping: PASSED (0.26s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner: PASSED (4.05s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (0.60s)
SUMMARY:
image-debug () - Ran 3 tests in 4.937s
correctly changes to:
AssertionError: Failed ptests:
{'dummytest': ['check_True_is_True', 'test_basic']}
RESULTS:
RESULTS - ping.PingTest.test_ping: PASSED (0.24s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (0.56s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner: EXPECTEDFAIL (4.13s)
SUMMARY:
image-debug () - Ran 3 tests in 4.937s
instead and we see a summary of the ptest subtests that failed.
Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: readme no longer carries a copyright notice, so take it from a source file Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Sat, 28 Dec 2019 07:56:08 +0000 (23:56 -0800)]
cmake: Add a knob for cmake VERBOSE settings
Setting VERBOSE always, while is fine on one hand for debugging, its
coming at an expense of creating lots and lots of logs, e.g. qtwebkit
compile logs alone with VERBOSE is 163MB, there are many other large
packages which use cmake e.g. WPE, webkitgtk etc which are in same range
with out this option on, the logs reduce to 861K and also speeds up
build a notch
If user needs to disable these logs for a recipe or globally
CMAKE_VERBOSE = ""
in recipe or in global metadata e.g. local.conf
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@intel.com> Cc: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>