Commit Graph

59708 Commits

Author SHA1 Message Date
Naveen Saini
3204982fd7 lib/oe/recipeutils.py: add support for BBFILES_DYNAMIC
Instead of relying on value of BBFILES from bitbake, devtool
parses the layer.conf because the layer might not be in bblayers.conf.
And it currently does not consider the value of BBFILES_DYNAMIC because
of which recipes, in paths defined by BBFILES_DYNAMIC, upgraded
using devtool end up in wrong location.

Include the code from bitbake to append values to BBFILES based on
what is in BBFILES_DYNAMIC too.

(From OE-Core rev: c7bbb98ea8ccd3568dd8bded6e404e2f781e6841)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27 08:28:03 +01:00
Vijai Kumar K
15c61b684c image_types_wic: Add ASSUME_PROVIDED to WICVARS
Add ASSUME_PROVIDED to WICVARS so that wic can use that
when running on bitbake environment.

This fixes the below build failure in do_image_wic
when --include-path is used in wks file.

(From OE-Core rev: 04068ff19d2c18c3b915aab6832ad4b48affa07f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27 08:25:44 +01:00
Joe Slater
8fa41af2ca pseudo: fix renaming to self
Pseudo tests for an item being renamed to itself only after
information about it has been deleted.  Move the test to before
we change the database.

Note that pseudo does not support renameat2(), but neither does
glibc.

(From OE-Core rev: 6b3d109f42385ad1cf1f297a6c06ea7eb6509f26)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27 08:25:44 +01:00
Mark Hatle
d3e8f2e335 kernel.bbclass: Remove do_install[prefunc] no longer needed
Prior work has refactored the do_install task multiple times, and any
references to PKGV and PKGR (even indirect ones) have been removed.

(From OE-Core rev: 36fe4db8ae827a93abe9fce6740459d215411965)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 21:56:41 +01:00
Mark Hatle
ddc50bc198 package_tar.bbclass: Sync to the other package_* classes
Sync up the anonymous python definition with the other package_*.bbclass
files.  This should make future maintenance easier, even though it has
no difference in behavior from what was there.

Additional, there was a missing deltask in the nopackages.bbclass related
to the package_tar which has been corrected.  This could cause problems on
native recipes when package_tar was enabled.

(From OE-Core rev: f87452942f6391a239b50e3f3f9fa100e74a78fa)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 21:56:41 +01:00
Bruce Ashfield
6d01d3427e kernel: config cleanups for 5.8+
Integrating the following configuration tweaks to fixup warnings and
remove obselete configs for 5.8+:

   84377c2c723 features: rename INTEL_PMC_IPC to MFD_INTEL_PMC_BXT
   89b30487d09 features/inline: remove
   0d357ccb3f3 intel-tco: switch ITCO_WDT to loadable module
   0baed75c082 bsp: Drop the stale USB_MUSB_AM335X_CHILD

(From OE-Core rev: 2ee1db250dd4a8e5e816dcfe8edcea5b2f98c104)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 21:56:41 +01:00
Bruce Ashfield
1828491f0c linux-yocto/5.4: update to v5.4.60
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    77fcb48939fc Linux 5.4.60
    53a856c5a6af drm/amd/display: dchubbub p-state warning during surface planes switch
    4287c18a7d8f drm/amdgpu: Fix bug where DPM is not enabled after hibernate and resume
    915ad46bdd4a drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi
    f9f53b7c6a81 drm: Added orientation quirk for ASUS tablet model T103HAF
    aeec14061d53 drm/panfrost: Use kvfree() to free bo->sgts
    a202b42b94bc arm64: dts: marvell: espressobin: add ethernet alias
    0f1c938ef82d khugepaged: retract_page_tables() remember to test exit
    e47e00559893 sh: landisk: Add missing initialization of sh_io_port_base
    64d358a9adb5 perf/x86/rapl: Fix missing psys sysfs attributes
    5c90739d36ce tools build feature: Quote CC and CXX for their arguments
    45989801d7cf perf bench mem: Always memset source before memcpy
    306df54b5b8a ALSA: echoaudio: Fix potential Oops in snd_echo_resume()
    8bc48c35a983 crypto: algif_aead - fix uninitialized ctx->init
    a23269976109 mfd: dln2: Run event handler loop under spinlock
    315b5cbe1aee i2c: iproc: fix race between client unreg and isr
    8620d18575af test_kmod: avoid potential double free in trigger_config_run_type()
    3457ba1acec2 fs/ufs: avoid potential u32 multiplication overflow
    ba40d33e36b2 fs/minix: remove expected error message in block_to_path()
    d91005b645d1 fs/minix: fix block limit check for V1 filesystems
    6def476496a5 fs/minix: set s_maxbytes correctly
    75cf7f895f56 nfs: Fix getxattr kernel panic and memory overflow
    d09d6dca89e9 net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init
    35b5e689abd9 drm/vmwgfx: Fix two list_for_each loop exit tests
    95922cdab4ad drm/vmwgfx: Use correct vmw_legacy_display_unit pointer
    1d8dce52a008 recordmcount: Fix build failure on non arm64
    f41600c55789 Input: sentelic - fix error return when fsp_reg_write fails
    8d7633b5aff9 x86/tsr: Fix tsc frequency enumeration bug on Lightning Mountain SoC
    8645225c7180 md-cluster: Fix potential error pointer dereference in resize_bitmaps()
    3fcd24040f55 watchdog: initialize device before misc_register
    9340d8bfec94 nfs: nfs_file_write() should check for writeback errors
    da14c05ad875 scsi: lpfc: nvmet: Avoid hang / use-after-free again when destroying targetport
    c9220ff3b9cc openrisc: Fix oops caused when dumping stack
    a6d5c5a398d6 libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr
    dfb5d727d721 libnvdimm/security: fix a typo
    0c51d8f5c83e clk: bcm2835: Do not use prediv with bcm2711's PLLs
    1896dfc97c90 ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename
    7dccbf1111bf nfs: ensure correct writeback errors are returned on close()
    9153e0d43710 i2c: rcar: avoid race when unregistering slave
    4f69483568d6 tools build feature: Use CC and CXX from parent
    3d0808f3c7d9 pwm: bcm-iproc: handle clk_get_rate() return
    ba2c4d0e720b clk: clk-atlas6: fix return value check in atlas6_clk_init()
    c7bd131f4335 clk: qcom: gcc-sdm660: Fix up gcc_mss_mnoc_bimc_axi_clk
    422a01fc23d2 i2c: rcar: slave: only send STOP event when we have been addressed
    043bc80399a8 iommu/vt-d: Enforce PASID devTLB field mask
    99d1472ba802 clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL
    f66d0154ed2f clk: qcom: gcc: fix sm8150 GPU and NPU clocks
    a31ac4101981 iommu/omap: Check for failure of a call to omap_iommu_dump_ctx
    34c920e2c858 selftests/powerpc: ptrace-pkey: Don't update expected UAMOR value
    cf5078181528 selftests/powerpc: ptrace-pkey: Update the test to mark an invalid pkey correctly
    e4a6919c9908 selftests/powerpc: ptrace-pkey: Rename variables to make it easier to follow code
    ea777df6b8b9 clk: actions: Fix h_clk for Actions S500 SoC
    0e0a146f978e dm rq: don't call blk_mq_queue_stopped() in dm_stop_queue()
    386f82040c84 gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile
    0f77e95efd75 gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers
    e0a684edf6d7 crypto: caam - Remove broken arc4 support
    64563d1dca80 mmc: renesas_sdhi_internal_dmac: clean up the code for dma complete
    b638533ec6fa RDMA/counter: Allow manually bind QPs with different pids to same counter
    e5a9bb4f1243 RDMA/counter: Only bind user QPs in auto mode
    cf304df99fac devres: keep both device name and resource name in pretty name
    ddd3934f7b39 crypto: af_alg - Fix regression on empty requests
    9705f53eb01a USB: serial: ftdi_sio: clean up receive processing
    aeefe7d15cf1 USB: serial: ftdi_sio: make process-packet buffer unsigned
    8cab023c03aa selftests/bpf: test_progs use another shell exit on non-actions
    de624fbac3eb selftests/bpf: Test_progs indicate to shell on non-actions
    95c736a29105 IB/uverbs: Set IOVA on IB MR in uverbs layer
    ea1cdb1bb80b media: rockchip: rga: Only set output CSC mode for RGB input
    5f51ca677cd2 media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic
    0f334b668455 RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah()
    5412efa6285a RDMA/ipoib: Return void from ipoib_ib_dev_stop()
    ab67471562ad platform/chrome: cros_ec_ishtp: Fix a double-unlock issue
    617da16f5ab9 mtd: rawnand: fsl_upm: Remove unused mtd var
    e1f2606892f2 octeontx2-af: change (struct qmem)->entry_sz from u8 to u16
    368caae37037 mfd: arizona: Ensure 32k clock is put on driver unbind and error
    cf368b876f44 crypto: algif_aead - Only wake up when ctx->more is zero
    bb0bba78d365 pinctrl: ingenic: Properly detect GPIO direction when configured for IRQ
    974ca069d531 orangefs: get rid of knob code...
    1752ab50e825 drm/imx: imx-ldb: Disable both channels for split mode in enc->disable()
    988fcef346a3 remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load
    babd6a4c3336 remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load
    73ba6991e981 remoteproc: qcom: q6v5: Update running state before requesting stop
    55052ac61cb8 perf intel-pt: Fix duplicate branch after CBR
    8214e74b662d perf intel-pt: Fix FUP packet state
    169015f464d0 module: Correctly truncate sysfs sections output
    54f44e3af24b pseries: Fix 64 bit logical memory block panic
    37e3a1c08e2d ceph: handle zero-length feature mask in session messages
    8953e8cb0d6a ceph: set sec_context xattr on symlink creation
    12badd382453 watchdog: f71808e_wdt: clear watchdog timeout occurred flag
    0f35915a0feb watchdog: f71808e_wdt: remove use of wrong watchdog_info option
    4699d95a715b watchdog: f71808e_wdt: indicate WDIOF_CARDRESET support in watchdog_info.options
    43e172e31bad tracing: Move pipe reference to trace array instead of current_tracer
    9aab8b2b0f8f tracing: Use trace_sched_process_free() instead of exit() for pid tracing
    bd23940da2d1 tracing/hwlat: Honor the tracing_cpumask
    1424f0aa18dc kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler
    3a1208574658 ftrace: Setup correct FTRACE_FL_REGS flags for module
    b47215b3749a mm/memory_hotplug: fix unpaired mem_hotplug_begin/done
    aeeddba9b498 mm/page_counter.c: fix protection usage propagation
    bd99ff4dc92b ocfs2: change slot number type s16 to u16
    a6b238cac6d3 khugepaged: collapse_pte_mapped_thp() protect the pmd lock
    687d366d0db1 khugepaged: collapse_pte_mapped_thp() flush the right range
    8cdf68355312 ext2: fix missing percpu_counter_inc
    6c7b42c8f01d MIPS: qi_lb60: Fix routing to audio amplifier
    59909e23020f MIPS: CPU#0 is not hotpluggable
    d3c9e815006e driver core: Avoid binding drivers to dead devices
    0cf746d8b052 mac80211: fix misplaced while instead of if
    c573e8673dc1 bcache: fix overflow in offset_to_stripe()
    42dd8cc9e499 bcache: allocate meta data pages as compound pages
    391b5d39faea md/raid5: Fix Force reconstruct-write io stuck in degraded raid5
    28163868530b net/compat: Add missing sock updates for SCM_RIGHTS
    6ea125ec644b net: stmmac: dwmac1000: provide multicast filter fallback
    e92a02e47e16 net: ethernet: stmmac: Disable hardware multicast filter
    eca5084aabdf media: vsp1: dl: Fix NULL pointer dereference on unbind
    28bbbc45054c pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH
    9ba5f37fa353 powerpc: Fix circular dependency between percpu.h and mmu.h
    9de20a6c4dd6 powerpc: Allow 4224 bytes of stack expansion for the signal frame
    2150c25b76fb powerpc/ptdump: Fix build failure in hashpagetable.c
    7a991df9e5cb cifs: Fix leak when handling lease break for cached root fid
    545771537ec4 xtensa: fix xtensa_pmu_setup prototype
    d1e2ec2e0b7d xtensa: add missing exclusive access state management
    5efb3f91403c iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw()
    1a5e5b3b7571 dt-bindings: iio: io-channel-mux: Fix compatible string in example code
    ab58cc033124 arm64: perf: Correct the event index in sysfs
    8c1431221374 btrfs: fix return value mixup in btrfs_get_extent
    d256992d5105 btrfs: make sure SB_I_VERSION doesn't get unset by remount
    5bed3387c8a1 btrfs: fix memory leaks after failure to lookup checksums during inode logging
    f1d21b2688d9 btrfs: inode: fix NULL pointer dereference if inode doesn't need compression
    7bbf647dbb5a btrfs: only search for left_info if there is no right_info in try_merge_free_space
    38c8255af7d7 btrfs: fix messages after changing compression level by remount
    242747612209 btrfs: fix race between page release and a fast fsync
    ee6373070108 btrfs: don't WARN if we abort a transaction with EROFS
    d8848f4c2555 btrfs: sysfs: use NOFS for device creation
    e0e51f4fc488 btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree
    2f29a31f394e btrfs: add missing check for nocow and compression inode flags
    38ab14b1e27c btrfs: relocation: review the call sites which can be interrupted by signal
    ae3f93cafd6f btrfs: move the chunk_mutex in btrfs_read_chunk_tree
    98f55cd49671 btrfs: open device without device_list_mutex
    3d3452920cac btrfs: don't traverse into the seed devices in show_devname
    8bc3a5d8c2ae btrfs: remove no longer needed use of log_writers for the log root tree
    938051408905 btrfs: stop incremening log_batch for the log root tree when syncing log
    0ddf373adb42 btrfs: ref-verify: fix memory leak in add_block_entry
    c16ba06f5204 btrfs: don't allocate anonymous block device for user invisible roots
    d2731ac13ca5 btrfs: free anon block device right after subvolume deletion
    207659ef151c btrfs: allow use of global block reserve for balance item deletion
    7a6fc7c21962 PCI: qcom: Add support for tx term offset for rev 2.1.0
    5956d3847502 PCI: qcom: Define some PARF params needed for ipq8064 SoC
    588d5cbf4de7 PCI: Add device even if driver attach failed
    d7caf80700f2 PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken
    ae86233204ba PCI: hotplug: ACPI: Fix context refcounting in acpiphp_grab_context()
    72ba9d544e60 genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq()
    a11f42496ac8 genirq/affinity: Make affinity setting if activated opt-in
    582ee2cb6f90 smb3: warn on confusing error scenario with sec=krb5

(From OE-Core rev: 05ed88405bdcb0bec513bfd5aaeb652d0fa035fb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 21:56:41 +01:00
Bruce Ashfield
f2d5dbe688 linux-yocto/5.8: update to v5.8.3
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    a1101e94767e Linux 5.8.3
    60db6233fcdb drm/amd/display: dchubbub p-state warning during surface planes switch
    f80a0daa7f0a drm/amd/display: Fix dmesg warning from setting abm level
    ca4c7f2d2f3e drm/amdgpu: Fix bug where DPM is not enabled after hibernate and resume
    81dfb2e6cef1 drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi
    c4dc000bdef4 drm: Added orientation quirk for ASUS tablet model T103HAF
    516bbc000e24 drm/tidss: fix modeset init for DPI panels
    efe06a004622 drm/omap: force runtime PM suspend on system suspend
    c37097f533d8 drm/dp_mst: Fix the DDC I2C device unregistration of an MST port
    392379d6933a drm/dp_mst: Fix timeout handling of MST down messages
    24232c85a62c drm/dp_mst: Fix the DDC I2C device registration of an MST port
    1ff09cb0376c drm/panfrost: Use kvfree() to free bo->sgts
    01f876a47fc8 drm/i915/gt: Force the GT reset on shutdown
    77fac4e901a1 sh: fault: Fix duplicate printing of "PC:"
    97086157b4e2 sh: landisk: Add missing initialization of sh_io_port_base
    bc0d59fb4df8 perf/x86/rapl: Fix missing psys sysfs attributes
    274522c44276 tools build feature: Quote CC and CXX for their arguments
    c361cf1959bb perf bench mem: Always memset source before memcpy
    6719a2c9e756 ALSA: echoaudio: Fix potential Oops in snd_echo_resume()
    4aadfa123628 crypto: algif_aead - fix uninitialized ctx->init
    de08998ab4c6 mfd: dln2: Run event handler loop under spinlock
    ceb2646520b2 i2c: iproc: fix race between client unreg and isr
    53bad01a3b03 test_kmod: avoid potential double free in trigger_config_run_type()
    f47254f20a4b fs/ufs: avoid potential u32 multiplication overflow
    86593fd4e57f fs/minix: remove expected error message in block_to_path()
    378719932ec7 fs/minix: fix block limit check for V1 filesystems
    9ca9f3ba5686 fs/minix: set s_maxbytes correctly
    617e41f5dac8 lib/test_lockup.c: fix return value of test_lockup_init()
    e39eefbc1708 NFS: Fix flexfiles read failover
    266bc13be47a nfs: Fix getxattr kernel panic and memory overflow
    0e2446523c77 net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init
    fcd4fd88eb02 s390/Kconfig: add missing ZCRYPT dependency to VFIO_AP
    3745a958bce1 s390/test_unwind: fix possible memleak in test_unwind()
    e160e9079706 drm/vmwgfx: Fix two list_for_each loop exit tests
    6679a59a7ae3 drm/vmwgfx: Use correct vmw_legacy_display_unit pointer
    5e8e8c3d96d4 vdpa: Fix pointer math bug in vdpasim_get_config()
    86e42d0d425b recordmcount: Fix build failure on non arm64
    240c89d0c469 vdpa_sim: init iommu lock
    3a1b4c0eda07 selftests/bpf: Fix silent Makefile output
    94a9bdbc2b35 perf record: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set
    e29f7f9a7908 Input: sentelic - fix error return when fsp_reg_write fails
    3396572c3b62 selftests/bpf: Prevent runqslower from racing on building bpftool
    8dfe0e66582c x86/bugs/multihit: Fix mitigation reporting when VMX is not in use
    bff77b49db3e x86/tsr: Fix tsc frequency enumeration bug on Lightning Mountain SoC
    cb511f4b7160 kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE
    0b702cd41418 md-cluster: Fix potential error pointer dereference in resize_bitmaps()
    f4c223e3941b watchdog: rti-wdt: balance pm runtime enable calls
    6a35f55743e0 watchdog: initialize device before misc_register
    d9ce6955f923 nfs: nfs_file_write() should check for writeback errors
    ff1345a6663d scsi: lpfc: nvmet: Avoid hang / use-after-free again when destroying targetport
    3fb06144f4af perf evsel: Don't set sample_regs_intr/sample_regs_user for dummy event
    8fab1ff419f5 openrisc: Fix oops caused when dumping stack
    2752dd0c3134 libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr
    e5896827b71a libnvdimm/security: fix a typo
    8d4e102a6e42 clk: bcm2835: Do not use prediv with bcm2711's PLLs
    ded14d6ee4c0 clk: hsdk: Fix bad dependency on IOMEM
    c394441530fa ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename
    9a51a86041f7 ubi: fastmap: Free fastmap next anchor peb during detach
    a62f895d09f3 ubi: fastmap: Don't produce the initial next anchor PEB when fastmap is disabled
    0a8add2a902d nfs: ensure correct writeback errors are returned on close()
    c7383a5fc976 i2c: rcar: avoid race when unregistering slave
    fa08065ef749 tools build feature: Use CC and CXX from parent
    f0a1e40eed15 perf tools: Fix term parsing for raw syntax
    90f68c49988b pwm: bcm-iproc: handle clk_get_rate() return
    b4c53155de51 sched/uclamp: Fix a deadlock when enabling uclamp static key
    b34732c06f4b nvme: fix deadlock in disconnect during scan_work and/or ana_work
    9d96d123cfd0 clk: clk-atlas6: fix return value check in atlas6_clk_init()
    079b5fdb0c0c clk: qcom: gcc-sdm660: Fix up gcc_mss_mnoc_bimc_axi_clk
    a0eae7915093 f2fs: compress: fix to update isize when overwriting compressed file
    bd4eba735bb7 i2c: rcar: slave: only send STOP event when we have been addressed
    7341629659ae iommu/vt-d: Disable multiple GPASID-dev bind
    9f0585a29430 iommu/vt-d: Warn on out-of-range invalidation address
    11c371d31342 iommu/vt-d: Enforce PASID devTLB field mask
    0d955cbce59e iommu/vt-d: Handle non-page aligned address
    43db463bd0be clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL
    04d9e9742b00 clk: qcom: gcc: fix sm8150 GPU and NPU clocks
    07ce10b7e1b4 iommu/omap: Check for failure of a call to omap_iommu_dump_ctx
    38062cc2d562 selftests/powerpc: ptrace-pkey: Don't update expected UAMOR value
    0ff75defefcd selftests/powerpc: ptrace-pkey: Update the test to mark an invalid pkey correctly
    a779a9d11285 selftests/powerpc: ptrace-pkey: Rename variables to make it easier to follow code
    aff4ae8ab739 clk: actions: Fix h_clk for Actions S500 SoC
    0350ac46ba1b f2fs: compress: fix to avoid memory leak on cc->cpages
    ed276b462fde ima: Fail rule parsing when appraise_flag=blacklist is unsupportable
    e5703d615a7c dm rq: don't call blk_mq_queue_stopped() in dm_stop_queue()
    17d4cb0844df gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile
    5882f8f0013a gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers
    d1e9532db7c5 crypto: caam - Remove broken arc4 support
    8c16295b8ff2 rtc: pl031: fix set_alarm by adding back call to alarm_irq_enable
    b8e8613492b4 rtw88: pci: disable aspm for platform inter-op with module parameter
    06f65dfb3836 mmc: renesas_sdhi_internal_dmac: clean up the code for dma complete
    7dde5bcc8c88 RDMA/counter: Allow manually bind QPs with different pids to same counter
    78866b5a2668 RDMA/counter: Only bind user QPs in auto mode
    977f7c51a63e devres: keep both device name and resource name in pretty name
    465c03e99910 crypto: af_alg - Fix regression on empty requests
    541992e8b0c7 USB: serial: ftdi_sio: clean up receive processing
    0c7343c9432e USB: serial: ftdi_sio: make process-packet buffer unsigned
    faf8b18350b9 selftests/bpf: test_progs avoid minus shell exit codes
    802001c6bb43 selftests/bpf: test_progs use another shell exit on non-actions
    c19bab9bd52d bpf: selftests: Restore netns after each test
    3f3bc4abe537 selftests/bpf: Test_progs indicate to shell on non-actions
    f916752c8708 sched/uclamp: Protect uclamp fast path code with static key
    89ba1d1f43a5 IB/uverbs: Set IOVA on IB MR in uverbs layer
    213e2e4b1a64 media: rockchip: rga: Only set output CSC mode for RGB input
    07da1ff493fd media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic
    3da33ca81ba0 media: staging: rkisp1: rsz: set default format if the given format is not RKISP1_ISP_SD_SRC
    7e995c6ae760 media: staging: rkisp1: rename macros 'RKISP1_DIR_*' to 'RKISP1_ISP_SD_*'
    ecaf6bdd5f9d media: staging: rkisp1: remove macro RKISP1_DIR_SINK_SRC
    278cc1c2adf9 rtc: cpcap: fix range
    00588429d2e5 RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah()
    82fd63e9e683 RDMA/ipoib: Return void from ipoib_ib_dev_stop()
    93b494630c60 drm/amdgpu/debugfs: fix memory leak when pm_runtime_get_sync failed
    480beebce2ff platform/chrome: cros_ec_ishtp: Fix a double-unlock issue
    eee5f6fa24df mtd: rawnand: brcmnand: ECC error handling on EDU transfers
    9cddd0699395 mtd: rawnand: fsl_upm: Remove unused mtd var
    15fae7928aaf octeontx2-af: change (struct qmem)->entry_sz from u8 to u16
    267c6e3375e1 mfd: arizona: Ensure 32k clock is put on driver unbind and error
    e91d82703ad0 crypto: algif_aead - Only wake up when ctx->more is zero
    c8ec6953625d drm/ingenic: Fix incorrect assumption about plane->index
    ee35309eea23 drm/imx: imx-ldb: Disable both channels for split mode in enc->disable()
    88d1439b1e37 libnvdimm: Validate command family indices
    23910283df04 remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load
    c5c2fb5960f1 remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load
    82d82bca4436 remoteproc: qcom: q6v5: Update running state before requesting stop
    c67f637f72c0 gfs2: Never call gfs2_block_zero_range with an open transaction
    ded2937b91eb gfs2: Fix refcount leak in gfs2_glock_poke
    3833a4bdbded perf intel-pt: Fix duplicate branch after CBR
    d761e9bc78ef perf intel-pt: Fix FUP packet state
    6bfbf969292e perf probe: Fix memory leakage when the probe point is not found
    5bd6375e87f4 perf probe: Fix wrong variable warning when the probe point is not found
    9213dd60f181 bootconfig: Fix to find the initargs correctly
    6c76404120cd module: Correctly truncate sysfs sections output
    20d175c70e60 dm: don't call report zones for more than the user requested
    b1735d353e61 dm ebs: Fix incorrect checking for REQ_OP_FLUSH
    e7ec82cbde08 pseries: Fix 64 bit logical memory block panic
    350542d6d513 ceph: handle zero-length feature mask in session messages
    09f891e55e91 ceph: set sec_context xattr on symlink creation
    0b02948e40f9 watchdog: f71808e_wdt: clear watchdog timeout occurred flag
    d413cca0c98d watchdog: f71808e_wdt: remove use of wrong watchdog_info option
    f50b7adc8f4f watchdog: f71808e_wdt: indicate WDIOF_CARDRESET support in watchdog_info.options
    aedfe612fa44 tracing: Use trace_sched_process_free() instead of exit() for pid tracing
    e8b292a11b83 tracing/hwlat: Honor the tracing_cpumask
    06cc3b5c15b1 kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler
    bc394fabc466 ftrace: Setup correct FTRACE_FL_REGS flags for module
    d6cf27cc3c6b mm/memory_hotplug: fix unpaired mem_hotplug_begin/done
    2c381196946e cma: don't quit at first error when activating reserved areas
    34046ed85979 mm/page_counter.c: fix protection usage propagation
    ee4d4fc47086 ocfs2: change slot number type s16 to u16
    167d124d6f1c mm: fix kthread_use_mm() vs TLB invalidate
    0e7e8f15ca99 mm/shuffle: don't move pages between zones and don't read garbage memmaps
    70bd10179433 hugetlbfs: remove call to huge_pte_alloc without i_mmap_rwsem
    09f00c1d6d79 khugepaged: retract_page_tables() remember to test exit
    b77baa470e77 khugepaged: collapse_pte_mapped_thp() protect the pmd lock
    1070cf5eae8c mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible
    11bca2c7a968 khugepaged: collapse_pte_mapped_thp() flush the right range
    3c98843a56f1 ext2: fix missing percpu_counter_inc
    7a3ec44ca8cd MIPS: SGI-IP27: always enable NUMA in Kconfig
    f2dcaa097b09 MIPS: qi_lb60: Fix routing to audio amplifier
    41158a79e505 MIPS: CPU#0 is not hotpluggable
    6fc128de20ba driver core: Avoid binding drivers to dead devices
    b4cbe39b9b47 appletalk: Fix atalk_proc_init() return path
    ea171d825ff0 mac80211: fix misplaced while instead of if
    9f05adac97ed bcache: use disk_{start,end}_io_acct() to count I/O for bcache device
    99ea492e8a1a bcache: fix bio_{start,end}_io_acct with proper device
    add47ff1e482 bcache: avoid nr_stripes overflow in bcache_device_init()
    9c8656abb350 bcache: fix overflow in offset_to_stripe()
    d02401090367 bcache: allocate meta data pages as compound pages
    6c38defccf61 md/raid5: Fix Force reconstruct-write io stuck in degraded raid5
    5a92eba2e0f8 selftests/seccomp: Set NNP for TSYNC ESRCH flag test
    2559f40308f3 net/compat: Add missing sock updates for SCM_RIGHTS
    9e6dc1fe251b pidfd: Add missing sock updates for pidfd_getfd()
    bad7ce89b091 irqchip/gic-v4.1: Ensure accessing the correct RD when writing INVALLR
    dac251560dc0 irqchip/loongson-liointc: Fix misuse of gc->mask_cache
    dd3c73e1e361 net: stmmac: dwmac1000: provide multicast filter fallback
    77f16ebdd22c net: ethernet: stmmac: Disable hardware multicast filter
    0c43968f4ebc media: vsp1: dl: Fix NULL pointer dereference on unbind
    07f56c2d7b35 media: venus: fix multiple encoder crash
    cba406ad893b pinctrl: ingenic: Properly detect GPIO direction when configured for IRQ
    96731791b27e pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH
    2066cba94ce9 powerpc: Fix circular dependency between percpu.h and mmu.h
    995681728df2 powerpc: Allow 4224 bytes of stack expansion for the signal frame
    b30f462438c8 powerpc/ptdump: Fix build failure in hashpagetable.c
    08097161b4c1 cifs: Fix leak when handling lease break for cached root fid
    b8f1063288c7 xtensa: fix xtensa_pmu_setup prototype
    31ec410fda51 xtensa: add missing exclusive access state management
    d593b5ce8b60 iio: imu: st_lsm6dsx: reset hw ts after resume
    9e56debaf8bd iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw()
    bd2d9b643973 dt-bindings: iio: io-channel-mux: Fix compatible string in example code
    0c7e8af43b20 arm64: perf: Correct the event index in sysfs
    43392e32cafd arm64: dts: qcom: sc7180: Drop the unused non-MSA SID
    fd9cabecacbd btrfs: check correct variable after allocation in btrfs_backref_iter_alloc
    bdbc805d86b0 btrfs: fix return value mixup in btrfs_get_extent
    1dc8956a14e0 btrfs: make sure SB_I_VERSION doesn't get unset by remount
    37a0e89752b4 btrfs: trim: fix underflow in trim length to prevent access beyond device boundary
    994f3284b274 btrfs: fix memory leaks after failure to lookup checksums during inode logging
    9bb2c78829ce btrfs: inode: fix NULL pointer dereference if inode doesn't need compression
    aa39db7b49ee btrfs: only search for left_info if there is no right_info in try_merge_free_space
    6f09bb5c8693 btrfs: fix messages after changing compression level by remount
    29034d5959a2 btrfs: don't show full path of bind mounts in subvol=
    aa80bd09914a btrfs: fix race between page release and a fast fsync
    4f22fd835fd3 btrfs: don't WARN if we abort a transaction with EROFS
    6082e83f0ca6 btrfs: sysfs: use NOFS for device creation
    18a184b5a537 btrfs: return EROFS for BTRFS_FS_STATE_ERROR cases
    6892ee54cc38 btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree
    4565cb8dc364 btrfs: add missing check for nocow and compression inode flags
    2e30d1cc1ead btrfs: relocation: review the call sites which can be interrupted by signal
    bdc4fa8be990 btrfs: move the chunk_mutex in btrfs_read_chunk_tree
    ff532ad267d4 btrfs: open device without device_list_mutex
    5199c3d6449a btrfs: pass checksum type via BTRFS_IOC_FS_INFO ioctl
    1c986b7e8c1b btrfs: don't traverse into the seed devices in show_devname
    bbdfe026a767 btrfs: remove no longer needed use of log_writers for the log root tree
    39b0de06b4e5 btrfs: only commit delayed items at fsync if we are logging a directory
    99da62f72cdf btrfs: stop incremening log_batch for the log root tree when syncing log
    4f736d4f97bb btrfs: only commit the delayed inode when doing a full fsync
    bba24e6343de btrfs: ref-verify: fix memory leak in add_block_entry
    917d608fe375 btrfs: preallocate anon block device at first phase of snapshot creation
    711e8ede50ab btrfs: don't allocate anonymous block device for user invisible roots
    f3ff060ccf60 btrfs: free anon block device right after subvolume deletion
    1d6700781ab8 btrfs: allow use of global block reserve for balance item deletion
    0ab7762854c3 PCI: qcom: Add support for tx term offset for rev 2.1.0
    2bc2a8008680 PCI: qcom: Define some PARF params needed for ipq8064 SoC
    1d392f7e229d PCI: Add device even if driver attach failed
    51a692df486f PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken
    7255adef0c61 PCI/ATS: Add pci_pri_supported() to check device or associated PF
    815260de064b PCI: hotplug: ACPI: Fix context refcounting in acpiphp_grab_context()
    64947da67a3a genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq()
    298510f9339d genirq: Unlock irq descriptor after errors
    2ca0b460bbcb genirq/affinity: Make affinity setting if activated opt-in
    680e115323a3 SMB3: Fix mkdir when idsfromsid configured on mount
    4b12a034cca8 smb3: warn on confusing error scenario with sec=krb5
    4fc48fefc51c ALSA: hda/realtek - Fix unused variable warning

(From OE-Core rev: 483906a52e86527a549f6d181abf793c7bf8d8b2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 21:56:41 +01:00
Richard Purdie
ee98c6ab03 runqemu: Show an error for conflicting graphics options
The autobuilder managed to pass the nographic option with "sdl gl" due
to a problem elsewhere. It would have been useful for runqemu to have
errored rather than passing conflicting options to qemu. Add an
error for this invalid usecase.

(From OE-Core rev: 377a6ffbcba0d3c5ede470c989756c4d1636873f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:57 +01:00
Khem Raj
5713f5d7c8 lttng-tools: Do not build for riscv64
Since lttng-modules are not buildable, there is no point of building
tools either

(From OE-Core rev: 7138f09da4f3c523d4028fbe5b53923ad2b59a71)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:57 +01:00
Jacob Kroon
780d38ee5e gcc10: Don't default back to -fcommon
It has been almost 3 months since the upgrade to gcc 10. Switch back to
relying on gcc default configuration (-fno-common).

This reverts OE-Core commit 951e859b1e8297970278c539e989b8a6d06a9cb3.

(From OE-Core rev: 4ee733e1551d3960a23a600eb71a01cf7a51fa06)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:57 +01:00
Richard Purdie
526a956132 oeqa/selftest: Apply patch to fix cpio build with -fno-common
Patch a combined effort from Khem/RP, need to add$CONFIGURE_FLAGS
to ensure tests still work.

(From OE-Core rev: 48c82d42d510b9a8b6e819f2adf4cc1bebed8db4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:57 +01:00
Kevin Hao
7ecdf7ac63 meta-yocto-bsp: Bump to the v5.8 kernel
Boot test for all the supported boards. There is a kernel config
check warning for beaglebone-yocto, the fix [1] has been sent to
kernel-meta for merging.

[1] https://lists.yoctoproject.org/g/linux-yocto/message/8992

(From meta-yocto rev: ccc825335f257ca2259440c561eea02538edd762)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:05 +01:00
Bruce Ashfield
2c526ee6ef poky: add preferred version for linux-yocto-rt
As a step towards getting more testing on -rt, we should explicitly
set the preferred version for linux-yocto-rt.

Newly introduced kernels lag in -rt support (as we wait for upstream
projects), so we don't want the version to always be the latest by
default.

(From meta-yocto rev: 8d717a646b3b767105a70e58e5c4372f6b51b411)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:05 +01:00
Bruce Ashfield
c29259e468 poky-tiny: set preferred version to 5.8
Even though tiny isn't extensively used (it was referencing a
removed kernel version), it still should be updated to the latest.

Build testing passed with the 5.8 kernel, so we make it the
preferred version.

(From meta-yocto rev: 45ce0906c38e3b7aedb5c5bb30b5eb4a9dd0c83c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:05 +01:00
Richard Purdie
2b3bd34f9b bitbake: server/process: Fix typo in code causing tracebacks
(Bitbake rev: 14caa3d4e5615252b9453162183980044d896d2f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 11:28:54 +01:00
Richard Purdie
4965496c4a bitbake: utils: Drop broken timeout function
I strongly suspect this function doesn't work with modern python so
and its unused now, drop it.

(Bitbake rev: a3033cea089c66c8b4614e7ee57c166f4262c590)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:05:38 +01:00
Richard Purdie
8ecde1aa8f bitbake: process: Avoid bb.utils.timeout
I have a suspicion based on process traces that the flock() call is no
longer interrupted by SIGALRM and hence the timeout doesn't work. We
were relying on EINTR triggering around syscalls but python is likely
protecting us from that in modern versions.

Re-implement this code with a different mechanism which doesn't have
that potential issue.

(Bitbake rev: 8eb52afdfd4c3e6478d4f8cc56e99def3f1c924c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:05:38 +01:00
Chris Laplante
77441a08d4 bitbake: compat.py: remove file since it no longer actually implements anything
Now that compat.py just imports Python standard library stuff, get rid
of the layer of indirection.

(Bitbake rev: e2be6defbb9fcf25f9df04c3b452d0dba48dfd03)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:05:38 +01:00
Richard Purdie
392b2cf529 bitbake: server/process: Use sys.executable for bitbake-server
Using sys.executable ensures we're using the same python binary for the server
as the client, which is probably advisable. "bitbake-server" is left as the process
name as its more distinctive in process listings.

(Bitbake rev: 387a339b330e8122a62a148249beb3f064dd4e3d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:05:38 +01:00
Richard Purdie
1560a4b0cb bitbake: fetch2: Drop globbing supprt in file:// SRC_URIs
Globbing in file:// urls is terminally broken. Currently when its used, the
file checksum code is basically bypassed. This means changes to the source
files don't change the task checksum, the task doesn't rebuild when the
inputs change and things generally break.

To make globbing work generically, we'd have to scan the file system for
all possible matches to the glob and log whether they exist or not. We can't
simply log the files which exist, we have to also know which files could
later exist and influence the choice of file so we know when to reparse.

For a simple file://xxx/*, this could be done but for bigger patterns,
it becomes much more problemtic. We already support file://xxx/ in urls.

So, lets decide we'll not support globs in file://urls. Worse case users
can put files in a directory and reference that, moving files into place
if needed.

Remove all the glob special cases (see the comments if anyone doesn't
believe this is terminally broken) and error to the user if they have
such urls.

(Bitbake rev: 0c9302d950c6f37bfcc4256b41001d63f668bdf7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:05:38 +01:00
Richard Purdie
3cfc4e9fa9 local.conf.sample: Document memory resident bitbake
Add an example of how to enable this to local.conf.sample

(From meta-yocto rev: e29dbff72bdfb99cf672599e8d1814e51ab7290a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:50 +01:00
Khem Raj
1955ba23f1 kexec-tools: Fix build with -fno-common on ppc
(From OE-Core rev: 95fd778e3f319f18ed0061f78633d6957227961f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Khem Raj
604c0404c2 lttng-modules: Disable on riscv64
Kernel 5.8+ and lttng requires kprobes and riscv64 lacks kprobes
Invert the COMPATIBLE_HOST regexp, as we support most of arches

(From OE-Core rev: 5a0096f3a2c268233c192deb455da67d2784afa4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Rasmus Villemoes
94ed64f375 kernel.bbclass: run do_symlink_kernsrc before do_patch
There's a race between do_symlink_kernsrc and do_populate_lic, since
the latter is ordered "after do_patch"; so the two may run in
parallel. In some cases, that actually causes do_populate_lic to fail
if it happens to look for a license file somewhere under ${S} in the
short window after shutil.move and before the symlink has been
created.

Fix that by simply ordering symlink_kernsrc before do_patch. Any task
that pokes around in ${S} looking for files should be ordered after
do_patch, so this should also fix similar latent races with other ad
hoc tasks.

(From OE-Core rev: c5dfc2586b4135cc86e91bb04fed837daf505676)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Peter A. Bigot
810fa7928d bluez5: fix builds that require ell support
Shortly after the recipe was updated to add ell as a mesh dependency
the way ell was integrated into bluez5 was changed.  BlueZ requires
ell only for mesh and for btpclient (external test programs).  It will
be ignored unless either mesh or btpclient are selected.

ell can be supplied externally, or it can be copied into the bluez
build directory from an existing sibling source directory.  Since
bitbake builds do not provide a sibling source directory tell bluez to
look for it as an external library in the conditions where it's
required.

(From OE-Core rev: f22b4eba98b3707d7f6daa4277414cecb3e5ee6b)

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Ming Liu
f89bbd40a5 libubootenv: inherit uboot-config
This mainly aims to involve in the sanity check of UBOOT_CONFIG and
UBOOT_MACHINE, it will throw a error message at recipe parsing time if
neither of them is set, and libubootenv would be skipped.

(From OE-Core rev: 10aa1291979fb90bed1beb49be4d406ed0e1e4d5)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Richard Purdie
dd82e01426 selftest/recipetool: Drop globbing SRC_URI test, no longer supported
Globbing is a bad idea in SRC_URI, it breaks the task checksums and
can't really be fixed. Since we're removing it, drop the test for
its interaction with recipetool.

(From OE-Core rev: 8bf93fa89aa1ba73f6eec05b95d6e8ca5f7d4c4b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Richard Purdie
93ff8a8323 connman-gnome/matchbox-desktop: Remove file:// globbing
A directory can be specified in SRC_URI, there is no need to use
globbing. This means that the files are checksummed correctly and
the recipe rebuilds when the files change as globbing breaks that.

We're about to remove the use of globbing in SRC_URI so improve these.

(From OE-Core rev: 007c7d7ebe6b6b7b18c84f4f57b09ffee5522807)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Frazer Clews
abc6f864b9 bitbake: lib: fix most undefined code picked up by pylint
Correctly import, and inherit functions, and variables.
Also fix some typos and remove some Python 2 code that isn't recognised.

(Bitbake rev: b0c807be5c2170c9481c1a04d4c11972135d7dc5)

Signed-off-by: Frazer Clews <frazerleslieclews@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
ac3593f6ed bitbake: cooker: Ensure cooker's enviroment is updated on updateConfig
Only the env variables which were added to the datastore were being
updated. We need to update the whole copy, we just only trigger a
reparse if any of the variables making it into the datastore change.

This avoids a bug where variables such as DISPLAY in a new UI context
would break under memory resident bitbake.

(Bitbake rev: 4bb71b627767297269e762b414443e15e28bfac4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
8ce3e9a76d bitbake: runqueue: Don't use sys.argv
We should not be using sys.argv inside the server to decide which targets
the user added on the commandline. There might not even be a commandline.

Thankfully the targets variable is easily accessible in this context
and contains this exact data we want.

(Bitbake rev: 5b12bf30bccdd00262e74964223220c649040be4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
7002d67de0 bitbake: server/process: Add bitbake-server and exec() a new server process
Trying to have a new python process forked off an original doesn't work
out well and ends up having race issues. To avoid this, exec() a new
bitbake server process. This starts with a fresh python interpreter
and resolves various atexit and other multiprocessing issues once
and for all.

(Bitbake rev: 9501dd6fdd7a7c25cbfa4464cf881fcf8c049ce2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
6bab132879 bitbake: server/process: Log extra threads at exit
Dump info into the logs if there are extra threads left at process exit
time.

(Bitbake rev: 1c9496797b753e67351bd5cb98ef2b8e9435d51e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
4dd9ebd948 bitbake: cooker: Ensure BB_ORIGENV is updated by changes to configuration.env
Changes to configuration.env were not updating BB_ORIGENV, fix this.

(Bitbake rev: c5fbd8452f87e0a2d234eaf27d0450aacdeb8891)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
b9bbb5c7b7 bitbake: main/server/process: Drop configuration object passing
The first thing the UIs do is update the server config from the UI. We
can just rely upon that and start the server with a standard config,
removing the need to pass the confusing configuration object around
as well as configParams, which contains a similar copy of some of the
data.

This makes memory resident bitbake work the same way as the normal
mode, removing the opportunity for some class of bugs.

The xmlrpcinterface and server_timeout values are passed in at server
startup time now and there no longer a second option in the
configuration which is effective ignored once the server starts.

(Bitbake rev: 783a03330802e83c525c55522e3ee2a933bded3a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
a1c956ab4c bitbake: server/process: Move the socket code to server process only
The sock object isn't used client side so we can just created it in
the server process and save passing around the fd/object.

(Bitbake rev: ee5d2c92dcce89ccb701e028ffc6419eb315f5ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
0bcc00ac51 bitbake: cooker: Defer configuration init to after UI connection
Currently we end up parsing the base configuration multiple times as
initially, the right settings haven't come from the UI. We can defer
this until later in startup using runCommand as a trigger.

The advantage to doing this is improved startup times and ultimately
we should be able to avoid the double parse of the base configuration.

(Bitbake rev: 3caa43b665604475d2c87ba505efb0b9fca9c2e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
59421f688c bitbake: cooker/cookerdata: Ensure UI event log is updated from commandline
Currently the eventlog is not handled correctly for memory resident
bitbake. Fix this by allowing adpations to configuration changes.

(Bitbake rev: f7d2c9116116659ea42260a3bb96dca100aadae7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
e3a864c4a3 bitbake: cookerdata: Ensure UI options are updated to the server
There were some options which were not being passed to the server. This
was breaking, particularly in memory resident bitbake mode.

Add the missing options to the correct place to ensure the server is
updated correctly.

(Bitbake rev: 5dc178e7fae3ca8558146e385a05f5d96a021777)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
6def374f13 bitbake: cooker/cookerdata/main: Improve loglevel handling
Rather than passing debug/verbose/debug_domains around, pass the
computed output of these. Ensure that the cooker sets the levels
to match the levels currently set in the UI and generally try and
make it easier to understand what the code is doing.

(Bitbake rev: f0535beecc692a6213be2a22f9eef5956450ecf8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
4c94d36022 bitbake: build/msg: Cleanup verbose option handling
The levels of indirection to set these verbose logging options is rather
crazy. This attempts to turn things into two specific options with
much more specific meanings. For now its all still controlled by the
commandline verbose option and should funciton as previously, with
the addition that the BB_VERBOSE_LOGS option can now be task specific.

(Bitbake rev: 423c046f2173aaff3072dc3d0882d01b8a0b0212)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Joshua Watt
b221b8a657 oeqa: runtime_tests: Extra GPG debugging
This patch enables extra debugging for gpg to try and get more debugging
information when [YOCTO #14003] occurs

(From OE-Core rev: f24d7be1fb863006b5414fa8f9c9a37bb48d5a6f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Armin Kuster
4213a2f60f bind: update to 9.11.22 ESV
Source: isc.org
MR: 105232, 105246, 105260
Type: Security Fix
Disposition: Backport from  https://www.isc.org/bind/
ChangeID: 655cfdf1e91c4107321e63a2012302e1cc184366
Description:

Bug fix only update

Three CVE fixes
CVE-2020-8622
CVE-2020-8623
CVE-2020-8624

For more information see: https://downloads.isc.org/isc/bind9/9.11.22/RELEASE-NOTES-bind-9.11.22.pdf

(From OE-Core rev: 1c85f26b1bd3475699d54f18c6b5b4924bcd8eb2)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Khem Raj
c1761f8dd1 packagegroup-core-tools-profile: Disable lttng-modules for riscv64
with 5.8+ kernel it seems lttng-modules needs kprobes which are not
there yet for riscv64

Fixes
lttng-modules-2.12.2/wrapper/kallsyms.c:20:3: error: #error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
   20 | # error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
      |   ^~~~~

(From OE-Core rev: 1cfba6890e505fd952be88811a501e405b1b2cdf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
bdaf3023e5 meson: update 0.55.0 -> 0.55.1
(From OE-Core rev: 177e0fa5fd79c174c6ab27b645f5fd17817de1c8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
9dc084a30c linux-firmware: update 20200721 -> 20200817
(From OE-Core rev: 16f2e190ef55e349512b8f70fe437b46ef1dc142)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
eeb3d996ae cmake: update 3.17.3 -> 3.18.1
(From OE-Core rev: 7a3db344543d3cf9d16640c4cff6084049bf3aca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
2457432ad9 gettext: update 0.20.2 -> 0.21
Drop add-with-bisonlocaledir.patch as upstream (gnulib, not bison)
now determines the directory from datadir.

(From OE-Core rev: 8a89c77e5b5a7915b9cce4979ee8caa593847e51)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
742c773a93 libpsl: update 0.21.0 -> 0.21.1.
(From OE-Core rev: f89396ccea48688c1ccc6ed29f3a119052fbcce5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00