Commit Graph

59587 Commits

Author SHA1 Message Date
Bruce Ashfield
ad856f05a1 linux-yocto/5.8: update to v5.8.11
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    16b1d77227fe Linux 5.8.11
    aac156c89083 nvme-loop: set ctrl state connecting after init
    f9aa4d81fa77 mm: memcg: fix memcg reclaim soft lockup
    e37b4e9e1fc9 dax: Fix compilation for CONFIG_DAX && !CONFIG_FS_DAX
    19f02438a81b dm: Call proper helper to determine dax support
    e0c0897ec600 mm/memory_hotplug: drain per-cpu pages again during memory offline
    94d6f8013692 dm/dax: Fix table reference counts
    d11304ec0540 selftests/vm: fix display of page size in map_hugetlb
    685e3d17a7e4 powerpc/dma: Fix dma_map_ops::get_required_mask
    be0d3b6e4442 arm64: paravirt: Initialize steal time when cpu is online
    1407ab558b48 ehci-hcd: Move include to keep CRC stable
    be0291fc11e1 s390/zcrypt: fix kmalloc 256k failure
    6042dcf5b872 s390/pci: fix leak of DMA tables on hard unplug
    e094ddf047cb s390: add 3f program exception handler
    ac3019648329 mm/thp: fix __split_huge_pmd_locked() for migration PMD
    97327790b719 kprobes: fix kill kprobe which has been marked as gone
    9cceeff3757b ksm: reinstate memcg charge on copied pages
    864744288911 x86/boot/compressed: Disable relocation relaxation
    165b69c8f073 serial: core: fix console port-lock regression
    8db58f3a6f16 serial: core: fix port-lock initialisation
    a406d438eba4 serial: 8250_pci: Add Realtek 816a and 816b
    ca5a4fe0fa71 thunderbolt: Retry DROM read once if parsing fails
    0545c936808d Input: i8042 - add Entroware Proteus EL07R4 to nomux and reset lists
    7a907c26212a Input: trackpoint - add new trackpoint variant IDs
    75b98fcaf902 percpu: fix first chunk size calculation for populated bitmap
    b15c40405750 ALSA: hda/realtek - The Mic on a RedmiBook doesn't work
    e908c59ae0a7 ALSA: hda: fixup headset for ASUS GX502 laptop
    c3c48a64c61e Revert "ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO"
    c60801b98e5a i2c: i801: Fix resume bug
    8a9e8484683f usb: typec: ucsi: Prevent mode overrun
    ee0ea57b4f48 usb: typec: ucsi: acpi: Increase command completion timeout value
    e61ab5c7d3af usblp: fix race between disconnect() and read()
    f85eb154c2bf USB: UAS: fix disconnect by unplugging a hub
    1066fcb5a164 USB: quirks: Add USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk for BYD zhaoxin notebook
    8f600ead97e1 drm/i915: Filter wake_flags passed to default_wake_function
    cb7a0e1d8eea drm/i915/gem: Delay tracking the GEM context until it is registered
    056bda592f48 drm/kfd: fix a system crash issue during GPU recovery
    0a264d8dc84a x86/unwind/fp: Fix FP unwinding in ret_from_fork
    ce2b5fe9e7c6 locking/percpu-rwsem: Use this_cpu_{inc,dec}() for read_count
    abd90e56bcb3 efi: efibc: check for efivars write capability
    d82866f2f729 locking/lockdep: Fix "USED" <- "IN-NMI" inversions
    4278efd55e04 riscv: Add sfence.vma after early page table changes
    a7e4fef63846 i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK
    f686668acfaa i2c: mediatek: Fix generic definitions for bus frequency
    174cfa0a85d7 kconfig: qconf: use delete[] instead of delete to free array (again)
    146206e3d115 iommu/amd: Restore IRTE.RemapEn bit for amd_iommu_activate_guest_mode
    56cc04597bcf iommu/amd: Fix potential @entry null deref
    387f1c6e7d4e arm64: bpf: Fix branch offset in JIT
    e1ddb18d2161 drm/mediatek: Add missing put_device() call in mtk_hdmi_dt_parse_pdata()
    d1025c54ecfd drm/mediatek: Add missing put_device() call in mtk_drm_kms_init()
    a51fc6150df5 drm/mediatek: Add exception handing in mtk_drm_probe() if component init fail
    9a904d3afc88 drm/mediatek: Add missing put_device() call in mtk_ddp_comp_init()
    aa0157adb1c5 drm/mediatek: Use CPU when fail to get cmdq event
    881ed5b2d144 MIPS: SNI: Fix spurious interrupts
    ebb11c9c737c fbcon: Fix user font detection test at fbcon_resize().
    9ac473087258 drm/i915/gem: Reduce context termination list iteration guard to RCU
    a0a9d14cc739 perf test: Free formats for perf pmu parse test
    fe2cdde3e8d2 perf parse-event: Fix memory leak in evsel->unit
    015c08bc4d39 perf evlist: Fix cpu/thread map leak
    91dcf4aea6a5 perf metric: Fix some memory leaks
    d60d09d4e133 perf test: Free aliases for PMU event map aliases test
    f8d4ba31972b MIPS: SNI: Fix MIPS_L1_CACHE_SHIFT
    5c44b2d15e2f perf record: Don't clear event's period if set by a term
    9f76fbfc49dc perf test: Fix the "signal" test inline assembly
    b3233e4ae6d3 Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unload
    9065c93d5640 arm64: Allow CPUs unffected by ARM erratum 1418040 to come in late
    8bf2d2009792 scsi: libsas: Fix error path in sas_notify_lldd_dev_found()
    5037cc230723 Drivers: hv: vmbus: hibernation: do not hang forever in vmbus_bus_resume()
    5fc19caaf6b7 ASoC: core: Do not cleanup uninitialized dais on soc_pcm_open failure
    bdfdc751259e ASoC: Intel: haswell: Fix power transition refactor
    d64aac6b2c54 ASoC: tlv320adcx140: Fix accessing uninitialized adcx140->dev
    7cee8e91e3ad ASoC: meson: axg-toddr: fix channel order on g12 platforms
    b41bd0dce2e8 ASoC: soc-core: add snd_soc_find_dai_with_mutex()
    7031ebb9566d powerpc/book3s64/radix: Fix boot failure with large amount of guest memory
    6d035d5e2c5b drm/mediatek: dsi: Fix scrolling of panel with small hfp or hbp
    eb6acd695420 ASoC: qcom: common: Fix refcount imbalance on error
    3ae4251f2035 ASoC: rt700: Fix return check for devm_regmap_init_sdw()
    a177ede1a20d ASoC: rt715: Fix return check for devm_regmap_init_sdw()
    1e8715398cb5 ASoC: rt711: Fix return check for devm_regmap_init_sdw()
    b78a087abb32 ASoC: rt1308-sdw: Fix return check for devm_regmap_init_sdw()
    574b0af715f0 ASoC: qcom: Set card->owner to avoid warnings
    4c2cd3865663 ASoC: Intel: skl_hda_dsp_generic: Fix NULLptr dereference in autosuspend delay
    fa678750d166 clk: rockchip: Fix initialization of mux_pll_src_4plls_p
    ee5725e6919f clk: davinci: Use the correct size when allocating memory
    26f03f98c056 KVM: MIPS: Change the definition of kvm type
    9fc3d4819f91 spi: Fix memory leak on splited transfers
    13773c6dba30 i2c: algo: pca: Reapply i2c bus settings after reset
    f50a7062223d f2fs: Return EOF on unaligned end of file DIO read
    f200e3825c34 f2fs: fix indefinite loop scanning for free nid
    d7595c8deeba block: only call sched requeue_request() for scheduled requests
    5dec8fe9f89a nvme-tcp: cancel async events before freeing event struct
    64e977c91b88 nvme-rdma: cancel async events before freeing event struct
    70554f7dc455 nvme-fc: cancel async events before freeing event struct
    a640a4a43c64 openrisc: Fix cache API compile issue when not inlining
    c1da3b82db73 cifs: fix DFS mount with cifsacl/modefromsid
    d28c42ad8958 rapidio: Replace 'select' DMAENGINES 'with depends on'
    e0b6509ae4a6 SUNRPC: stop printk reading past end of string
    7e4b9125c899 NFS: Zero-stateid SETATTR should first return delegation
    e917cbad17f2 interconnect: Show bandwidth for disabled paths as zero in debugfs
    03a0df5665d9 spi: spi-loopback-test: Fix out-of-bounds read
    7296270e61f1 regulator: pwm: Fix machine constraints application
    3235c4db152b scsi: lpfc: Extend the RDF FPIN Registration descriptor for additional events
    c37f8c7ca46b scsi: lpfc: Fix FLOGI/PLOGI receive race condition in pt2pt discovery
    6cb6f48d68db scsi: libfc: Fix for double free()
    3972281afdb6 scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort
    6cbfc91797d4 habanalabs: fix report of RAZWI initiator coordinates
    48ef8d42478f habanalabs: prevent user buff overflow
    201e44aeb011 phy: omap-usb2-phy: disable PHY charger detect
    ddf3bb7322a1 NFSv4.1 handle ERR_DELAY error reclaiming locking state on delegation recall
    237345a3cfca xprtrdma: Release in-flight MRs on disconnect
    cc283bfae1f0 firmware_loader: fix memory leak for paged buffer
    3531913b68be loop: Set correct device size when using LOOP_CONFIGURE
    0fb2de68a876 hv_netvsc: Remove "unlikely" from netvsc_select_queue
    a5da15d1716c dt-bindings: PCI: intel,lgm-pcie: Fix matching on all snps,dw-pcie instances
    3d4987232282 net: handle the return value of pskb_carve_frag_list() correctly
    22f290ab6825 mptcp: sendmsg: reset iter on error
    0c43f56ed9be dt-bindings: spi: Fix spi-bcm-qspi compatible ordering
    38e8e8273535 RDMA/bnxt_re: Restrict the max_gids to 256
    67f65fb8318a Linux 5.8.10
    08cb27d67d53 gcov: add support for GCC 10.1
    10cb6c2e406d drm/msm/gpu: make ringbuffer readonly
    a6915129ae97 usb: typec: intel_pmc_mux: Do not configure SBU and HSL Orientation in Alternate modes
    41e3571c02ec usb: typec: intel_pmc_mux: Do not configure Altmode HPD High
    efec148aa4eb usb: typec: intel_pmc_mux: Un-register the USB role switch
    fd23e24737de usb: typec: ucsi: acpi: Check the _DEP dependencies
    5f98bc578de9 usb: Fix out of sync data toggle if a configured device is reconfigured
    a55d0aa3a917 USB: serial: option: add support for SIM7070/SIM7080/SIM7090 modules
    3c04f365d1f9 USB: serial: option: support dynamic Quectel USB compositions
    64de97011bc9 USB: serial: ftdi_sio: add IDs for Xsens Mti USB converter
    3356a2fe9ba7 usb: core: fix slab-out-of-bounds Read in read_descriptors
    4ee2ea67a64c phy: qcom-qmp: Use correct values for ipq8074 PCIe Gen2 PHY init
    97364c2546d5 staging: greybus: audio: fix uninitialized value issue
    b56b1e392e7e video: fbdev: fix OOB read in vga_8planes_imageblit()
    b2d5d5ea7c56 ARM: dts: vfxxx: Add syscon compatible with OCOTP
    737bfb9d464b arm64: dts: imx8mp: correct sdma1 clk setting
    f17c2fe6ea89 test_firmware: Test platform fw loading on non-EFI systems
    46230cc3ff26 debugfs: Fix module state check condition
    bf4c17b74472 Revert "usb: dwc3: meson-g12a: fix shared reset control use"
    68c125324b5e KVM: fix memory leak in kvm_io_bus_unregister_dev()
    a5ba8c6f24b1 kvm x86/mmu: use KVM_REQ_MMU_SYNC to sync when needed
    1e1f9fd4a852 KVM: arm64: Do not try to map PUDs when they are folded into PMD
    209c934c9708 KVM: VMX: Don't freeze guest when event delivery causes an APIC-access exit
    20782abbbdfe vgacon: remove software scrollback support
    ffa74c8e58b8 fbcon: remove now unusued 'softback_lines' cursor() argument
    245a228891e3 fbcon: remove soft scrollback code
    20a3fda3dc88 RDMA/mlx4: Read pkey table length instead of hardcoded value
    ef5c5dc2c83b RDMA/rxe: Fix the parent sysfs read when the interface has 15 chars
    81f5de838b82 rbd: require global CAP_SYS_ADMIN for mapping and unmapping
    49947f869fdf nvme: Revert: Fix controller creation races with teardown flow
    c10bc9123c25 mmc: sdhci-of-esdhc: Don't walk device-tree on every interrupt
    fe7c9fa20fc2 mmc: sdio: Use mmc_pre_req() / mmc_post_req()
    3f4f13a91d87 drm/msm: Disable the RPTR shadow
    16f3920c6508 drm/msm: Disable preemption on all 5xx targets
    c657e400e735 drm/msm: Split the a5xx preemption record
    8e6a2ad4658b drm/tve200: Stabilize enable/disable
    79e1d5d7e3d1 scsi: target: iscsi: Fix hang in iscsit_access_np() when getting tpg->np_login_sem
    b03e704b29a1 scsi: lpfc: Fix setting IRQ affinity with an empty CPU mask
    731435aa8105 scsi: target: iscsi: Fix data digest calculation
    87f0ffddae01 misc: eeprom: at24: register nvmem only after eeprom is ready to use
    94abb06dc753 regulator: core: Fix slab-out-of-bounds in regulator_unlock_recursive()
    e6724a64b942 regulator: plug of_node leak in regulator_register()'s error path
    6828c2aae0b7 regulator: push allocation in set_consumer_device_supply() out of lock
    557bc4f1f78e regulator: push allocations in create_regulator() outside of lock
    96ccd5a5bc06 regulator: push allocation in regulator_init_coupling() outside of lock
    47052502f040 kobject: Restore old behaviour of kobject_del(NULL)
    a36133cc9cf2 thunderbolt: Disable ports that are not implemented
    171169d8254b btrfs: fix wrong address when faulting in pages in the search ioctl
    ac049e1bd9eb btrfs: free data reloc tree on failed mount
    6368e27c5edb btrfs: fix lockdep splat in add_missing_dev
    731cef38b55e btrfs: require only sector size alignment for parent eb bytenr
    75ee09f3b745 staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb()
    ac0698332870 iio:accel:mma8452: Fix timestamp alignment and prevent data leak.
    e8e7cba15d61 iio:accel:mma7455: Fix timestamp alignment and prevent data leak.
    87efc85d53d7 iio: accel: kxsd9: Fix alignment of local buffer.
    58f091e131d1 iio:chemical:ccs811: Fix timestamp alignment and prevent data leak.
    be0bc3cf9e60 iio:light:max44000 Fix timestamp alignment and prevent data leak.
    6ae35c1825e8 iio:magnetometer:ak8975 Fix alignment and data leak issues.
    1f2b6037d4ff iio:adc:ti-adc081c Fix alignment and data leak issues
    456fd60c5803 iio:adc:max1118 Fix alignment of timestamp and data leak issues
    743c6bc208d9 iio:adc:ina2xx Fix timestamp alignment issue.
    98bd6a0d4237 iio:adc:ti-adc084s021 Fix alignment and data leak issues.
    3df5a17f9c36 iio:accel:bmc150-accel: Fix timestamp alignment and prevent data leak.
    35304bc22976 iio:proximity:mb1232: Fix timestamp alignment and prevent data leak.
    c56598930b1c iio:light:ltr501 Fix timestamp alignment issue.
    678f54268269 iio: cros_ec: Set Gyroscope default frequency to 25Hz
    79d1a06c5940 iio: adc: ti-ads1015: fix conversion when CONFIG_PM is not set
    bd9b60be76ef iio: adc: mcp3422: fix locking on error path
    5deb6f82653d iio: adc: mcp3422: fix locking scope
    d9f376187cb1 gcov: Disable gcov build with GCC 10
    790303eb397d iommu/amd: Do not use IOMMUv2 functionality when SME is active
    5aa21abcedd2 iommu/amd: Do not force direct mapping when SME is active
    4898d0e064b9 drm/amdgpu: Fix bug in reporting voltage for CIK
    e688f4fbb37e drivers/net/wan/hdlc: Change the default of hard_header_len to 0
    3b4c12838a4f ALSA: hda: use consistent HDAudio spelling in comments/docs
    dd8ffea695c8 ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled
    ac9f804a8e5a ALSA: hda: hdmi - add Rocketlake support
    5e091ceb5084 arm64/module: set trampoline section flags regardless of CONFIG_DYNAMIC_FTRACE
    d1df83979d57 cpufreq: intel_pstate: Fix intel_pstate_get_hwp_max() for turbo disabled
    4b65cda38fc8 cpufreq: intel_pstate: Refuse to turn off with HWP enabled
    5412a6f03aca ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id
    eb525e6a5499 HID: elan: Fix memleak in elan_input_configured
    dac76fe22da5 drivers/net/wan/hdlc_cisco: Add hard_header_len
    80b7267b3127 HID: microsoft: Add rumble support for the 8bitdo SN30 Pro+ controller
    38ce1ae8e2c8 HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for all Saitek X52 devices
    d3a6cfff8e6a nvme-pci: cancel nvme device request before disabling
    e625888ac2aa nvme-rdma: fix reset hang if controller died in the middle of a reset
    ca46ff644ab0 nvme-rdma: fix timeout handler
    3341cac774c1 nvme-rdma: serialize controller teardown sequences
    ed67604770cd nvme-tcp: fix reset hang if controller died in the middle of a reset
    18aca936e2ff nvme-tcp: fix timeout handler
    c0e1cf0f6ac2 nvme-tcp: serialize controller teardown sequences
    c244c493f079 nvme: have nvme_wait_freeze_timeout return if it timed out
    6c63e56986d3 nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance
    0a12c794513c nvmet-tcp: Fix NULL dereference when a connect data comes in h2cdata pdu
    76101def0120 media: gpio-ir-tx: spinlock is not needed to disable interrupts
    92fb4a758e05 irqchip/eznps: Fix build error for !ARC700 builds
    4422ef388645 ARC: show_regs: fix r12 printing and simplify
    74e4b9ae64a2 xfs: initialize the shortform attr header padding entry
    01199dce4d44 cfg80211: Adjust 6 GHz frequency to channel conversion
    3a8fcf73cbf1 mac80211: reduce packet loss event false positives
    55de6d85df5d wireless: fix wrong 160/80+80 MHz setting
    3fd5156d7fbd drivers/net/wan/lapbether: Set network_header before transmitting
    d910490078ac xfs: fix off-by-one in inode alloc block reservation calculation
    c63f823048a7 net: hns3: Fix for geneve tx checksum bug
    79a1d6470026 drivers/dma/dma-jz4780: Fix race condition between probe and irq handler
    7a08699028e4 ALSA: hda/tegra: Program WAKEEN register for Tegra
    92c93dacd804 ALSA: hda: Fix 2 channel swapping for Tegra
    3e7682611f07 scsi: qedf: Fix null ptr reference in qedf_stag_change_work
    6ee6851f8704 firestream: Fix memleak in fs_open
    74bbd3069881 NFC: st95hf: Fix memleak in st95hf_in_send_cmd
    ca9e7f16d783 drivers/net/wan/lapbether: Added needed_tailroom
    1f5a4b08aec3 netfilter: nft_set_rbtree: Detect partial overlap with start endpoint match
    a0a91436d588 netfilter: conntrack: allow sctp hearbeat after connection re-use
    83cadef120e6 MIPS: Loongson64: Do not override watch and ejtag feature
    36120307971e dmaengine: acpi: Put the CSRT table after using it
    a588a27d36f2 ARC: HSDK: wireup perf irq
    c0823ab23d47 KVM: x86: always allow writing '0' to MSR_KVM_ASYNC_PF_EN
    485d953c997e KVM: nVMX: Fix the update value of nested load IA32_PERF_GLOBAL_CTRL control
    2115ddfc96c0 arm64: dts: ns2: Fixed QSPI compatible string
    be8d961d3d4e ARM: dts: BCM5301X: Fixed QSPI compatible string
    9fd9bb1bd6cc ARM: dts: NSP: Fixed QSPI compatible string
    dc4145dfdc6b ARM: dts: bcm: HR2: Fixed QSPI compatible string
    f360dbeb301f IB/isert: Fix unaligned immediate-data handling
    9f6550695d25 RDMA/rtrs-srv: Set .release function for rtrs srv device during device init
    5bcd37b6bf21 block: Set same_page to false in __bio_try_merge_page if ret is false
    bc1d374adc82 spi: stm32: fix pm_runtime_get_sync() error checking
    e3364a81254b nvme-fabrics: allow to queue requests for live queues
    e8555b6d1dd8 seccomp: don't leak memory when filter install races
    b730cc810f71 block: restore a specific error code in bdev_del_partition
    7ded6f75c325 i2c: npcm7xx: Fix timeout calculation
    70d1f2b7ec59 btrfs: fix NULL pointer dereference after failure to create snapshot
    b6894531a925 spi: stm32: Rate-limit the 'Communication suspended' message
    0a409e1a47ff mmc: sdhci-msm: Add retries when all tuning phases are found valid
    02a5514209ae mmc: sdhci-acpi: Clear amd_sdhci_host on reset
    e341aeac14f1 ARM: dts: imx6sx: fix the pad QSPI1B_SCLK mux mode for uart3
    c01fd1453981 KVM: arm64: Update page shift if stage 2 block mapping not supported
    95de64bc498e drm/sun4i: backend: Disable alpha on the lowest plane on the A20
    272e10fbf4d0 drm/sun4i: backend: Support alpha property on lowest plane
    e856612eed7e drm/sun4i: Fix DE2 YVU handling
    412bbf8b9a22 padata: fix possible padata_works_lock deadlock
    03ad17724b7a interconnect: qcom: Fix small BW votes being truncated to zero
    fdbbeae2b076 Revert "kbuild: use -flive-patching when CONFIG_LIVEPATCH is enabled"
    61591cd38cdf soundwire: fix double free of dangling pointer
    6d1f49ae494d scsi: mpt3sas: Don't call disable_irq from IRQ poll handler
    40158298158d scsi: megaraid_sas: Don't call disable_irq from process IRQ poll
    1398cf27e62f RDMA/core: Fix reported speed and width
    c5452d1e9143 RDMA/core: Fix unsafe linked list traversal after failing to allocate CQ
    f420254168c0 drm/virtio: fix unblank
    8817b6fe0f22 scsi: libsas: Set data_dir as DMA_NONE if libata marks qc as NODATA
    34a5bbcd814c scsi: qla2xxx: Fix regression on sparc64
    cc8785cc8fd4 drm/sun4i: Fix dsi dcs long write function
    a2e7a8bff0ff arm64: dts: imx8mq: Fix TMU interrupt property
    9abd480dbf3b drm/sun4i: add missing put_device() call in sun8i_r40_tcon_tv_set_mux()
    6716ed0d4e11 RDMA/bnxt_re: Remove the qp from list only if the qp destroy succeeds
    f51174da6e51 RDMA/bnxt_re: Fix driver crash on unaligned PSN entry address
    d71b3a81c0ac RDMA/bnxt_re: Static NQ depth allocation
    1e608f9308aa RDMA/bnxt_re: Fix the qp table indexing
    6bcab9b51bab RDMA/bnxt_re: Do not report transparent vlan from QP1
    9a65a5142af4 RDMA/rxe: Fix panic when calling kmem_cache_create()
    2b993e2073a7 RDMA/rxe: Drop pointless checks in rxe_init_ports
    bc7a51ca9cef RDMA/rxe: Fix memleak in rxe_mem_init_user
    81aaf0645c81 RDMA/rtrs-srv: Replace device_register with device_initialize and device_add
    8edf8c890ee2 ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy
    86047782e0f9 arm64: dts: imx: Add missing imx8mm-beacon-kit.dtb to build
    c29e3108c40c ARM: dts: imx7ulp: Correct gpio ranges
    23057a8452f6 ARM: dts: ls1021a: fix QuadSPI-memory reg range
    82649acf840d selftests/timers: Turn off timeout setting
    2e173929f1d4 ARM: dts: omap5: Fix DSI base address and clocks
    91dff93e5584 ARM: dts: socfpga: fix register entry for timer3 on Arria10
    1dc746dfc129 regulator: remove superfluous lock in regulator_resolve_coupling()
    8dc8bed9be37 regulator: push allocation in regulator_ena_gpio_request() out of lock
    421d06d46437 ARM: dts: logicpd-som-lv-baseboard: Fix missing video
    2a0b7124e5a1 ARM: dts: logicpd-som-lv-baseboard: Fix broken audio
    c486743abc1b ARM: dts: logicpd-torpedo-baseboard: Fix broken audio
    aab25ff4643e ARM: OMAP2+: Fix an IS_ERR() vs NULL check in _get_pwrdm()

(From OE-Core rev: 434d9c33bd74d359b0eff459ac4962bfbc39c6c5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Bruce Ashfield
ca5a16ccdd linux-yocto/5.4: update to v5.4.67
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    a4bea6a4f1e0 Linux 5.4.67
    ef6458fdbb5c dax: Fix compilation for CONFIG_DAX && !CONFIG_FS_DAX
    d6712eefc77e dm: Call proper helper to determine dax support
    6b02d0598554 mm/memory_hotplug: drain per-cpu pages again during memory offline
    908272a5e9e4 dm/dax: Fix table reference counts
    0df6aeac967f selftests/vm: fix display of page size in map_hugetlb
    5ed6a7e1a7e1 powerpc/dma: Fix dma_map_ops::get_required_mask
    264ae08bb774 ehci-hcd: Move include to keep CRC stable
    fceeea8b35cb s390/zcrypt: fix kmalloc 256k failure
    463a0d4c1b94 x86/boot/compressed: Disable relocation relaxation
    b703bd1e9285 serial: 8250_pci: Add Realtek 816a and 816b
    96e6de09097b Input: i8042 - add Entroware Proteus EL07R4 to nomux and reset lists
    c0190d14b9a8 Input: trackpoint - add new trackpoint variant IDs
    e44bd84cd2ab percpu: fix first chunk size calculation for populated bitmap
    32f60ecbb9b8 ALSA: hda/realtek - The Mic on a RedmiBook doesn't work
    dda1362d6bce ALSA: hda: fixup headset for ASUS GX502 laptop
    87e1dbe6c6c5 Revert "ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO"
    b0b68bfe729a i2c: i801: Fix resume bug
    7c96edc6e719 usb: typec: ucsi: Prevent mode overrun
    6c56942bd2e6 usblp: fix race between disconnect() and read()
    56ad2cab0845 USB: UAS: fix disconnect by unplugging a hub
    d8c0a033d9ce USB: quirks: Add USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk for BYD zhaoxin notebook
    a0fec594b0a5 drm/i915: Filter wake_flags passed to default_wake_function
    daf646fd3247 riscv: Add sfence.vma after early page table changes
    8a568d7fc295 i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK
    a55eec14a4e1 iommu/amd: Fix potential @entry null deref
    ecd219c72945 arm64: bpf: Fix branch offset in JIT
    c6fa55a3130d drm/mediatek: Add missing put_device() call in mtk_hdmi_dt_parse_pdata()
    566e86327754 drm/mediatek: Add exception handing in mtk_drm_probe() if component init fail
    549efeaa96d8 MIPS: SNI: Fix spurious interrupts
    73d58890be30 fbcon: Fix user font detection test at fbcon_resize().
    b7b136191170 perf test: Free formats for perf pmu parse test
    b116e2d37b03 perf parse-event: Fix memory leak in evsel->unit
    43d9473e7cd9 perf evlist: Fix cpu/thread map leak
    751930560ea4 MIPS: SNI: Fix MIPS_L1_CACHE_SHIFT
    b86434c072d4 perf test: Fix the "signal" test inline assembly
    e03e0498b453 Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unload
    cdf990e2b24e arm64: Allow CPUs unffected by ARM erratum 1418040 to come in late
    09aadf403225 scsi: libsas: Fix error path in sas_notify_lldd_dev_found()
    9afe75149419 Drivers: hv: vmbus: hibernation: do not hang forever in vmbus_bus_resume()
    b12029411b25 ASoC: meson: axg-toddr: fix channel order on g12 platforms
    600cafd55bfd powerpc/book3s64/radix: Fix boot failure with large amount of guest memory
    f6d4afd008a6 ASoC: qcom: common: Fix refcount imbalance on error
    911c69245a27 ASoC: qcom: Set card->owner to avoid warnings
    cf111e31eae6 clk: rockchip: Fix initialization of mux_pll_src_4plls_p
    af8f780eee47 clk: davinci: Use the correct size when allocating memory
    d81d1306d6c9 KVM: MIPS: Change the definition of kvm type
    88a637d56567 spi: Fix memory leak on splited transfers
    9f09e86200fd i2c: algo: pca: Reapply i2c bus settings after reset
    78d48322dd54 f2fs: Return EOF on unaligned end of file DIO read
    e34313d1b7e9 f2fs: fix indefinite loop scanning for free nid
    7f07bbf9bc16 block: only call sched requeue_request() for scheduled requests
    373312e8513c nvme-tcp: cancel async events before freeing event struct
    89669cae6de8 nvme-rdma: cancel async events before freeing event struct
    103e82d5e82b nvme-fc: cancel async events before freeing event struct
    4951def1e258 openrisc: Fix cache API compile issue when not inlining
    5dda8b9b6ad7 cifs: fix DFS mount with cifsacl/modefromsid
    72efc1488dad rapidio: Replace 'select' DMAENGINES 'with depends on'
    b85406bf1bd7 SUNRPC: stop printk reading past end of string
    7b8fb2a4d373 NFS: Zero-stateid SETATTR should first return delegation
    7fa3ef52032e spi: spi-loopback-test: Fix out-of-bounds read
    8aeb6173e87f regulator: pwm: Fix machine constraints application
    618fcfb5e3f3 scsi: lpfc: Fix FLOGI/PLOGI receive race condition in pt2pt discovery
    f8f1eea08820 scsi: libfc: Fix for double free()
    4a9e028f6db0 scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort
    db081ee4d8c0 NFSv4.1 handle ERR_DELAY error reclaiming locking state on delegation recall
    9b6caf4ccb44 firmware_loader: fix memory leak for paged buffer
    51fe5c82c759 hv_netvsc: Remove "unlikely" from netvsc_select_queue
    78607d494c92 net: handle the return value of pskb_carve_frag_list() correctly
    b3dacce5025c dsa: Allow forwarding of redirected IGMP traffic
    cd171c18d3d5 e1000e: Add support for Comet Lake
    a73e9ea38d5d RDMA/bnxt_re: Restrict the max_gids to 256
    29dd419f56fc gfs2: initialize transaction tr_ailX_lists earlier
    bdc3a8f6a8e8 Linux 5.4.66
    d3c2b7d2856c gcov: add support for GCC 10.1
    fe79f1cf177a drm/msm: Disable the RPTR shadow
    8cbe9b765487 drm/msm/gpu: make ringbuffer readonly
    ebd9aff7b62a usb: typec: ucsi: acpi: Check the _DEP dependencies
    848eeb75c81d usb: Fix out of sync data toggle if a configured device is reconfigured
    224fa057d72a USB: serial: option: add support for SIM7070/SIM7080/SIM7090 modules
    dbbb21384fe6 USB: serial: option: support dynamic Quectel USB compositions
    38e75a99b486 USB: serial: ftdi_sio: add IDs for Xsens Mti USB converter
    70a9c0352e21 usb: core: fix slab-out-of-bounds Read in read_descriptors
    83db8dd32b1d phy: qcom-qmp: Use correct values for ipq8074 PCIe Gen2 PHY init
    524e525fa73e staging: greybus: audio: fix uninitialized value issue
    3aa4c49c8d41 video: fbdev: fix OOB read in vga_8planes_imageblit()
    9dd48c399a81 ARM: dts: vfxxx: Add syscon compatible with OCOTP
    323159acb2b5 debugfs: Fix module state check condition
    41b2ea7a6a11 KVM: fix memory leak in kvm_io_bus_unregister_dev()
    d334a67d3ed0 KVM: arm64: Do not try to map PUDs when they are folded into PMD
    a86743ebe680 KVM: VMX: Don't freeze guest when event delivery causes an APIC-access exit
    087b6cb17df5 vgacon: remove software scrollback support
    0d123a8c64fd fbcon: remove now unusued 'softback_lines' cursor() argument
    cf5a7ded5365 fbcon: remove soft scrollback code
    a0f6bdafaa4c RDMA/mlx4: Read pkey table length instead of hardcoded value
    616a0c13e432 RDMA/rxe: Fix the parent sysfs read when the interface has 15 chars
    ea3d3bf85669 rbd: require global CAP_SYS_ADMIN for mapping and unmapping
    c2fb443bde82 mmc: sdhci-of-esdhc: Don't walk device-tree on every interrupt
    c724eb78c1ec mmc: sdio: Use mmc_pre_req() / mmc_post_req()
    becb3bbb2911 drm/msm: Disable preemption on all 5xx targets
    404ab35baae4 drm/tve200: Stabilize enable/disable
    701b385f6877 drm/i915/gvt: do not check len & max_len for lri
    a5bfcf2455d4 scsi: target: iscsi: Fix hang in iscsit_access_np() when getting tpg->np_login_sem
    fa4372668f58 scsi: target: iscsi: Fix data digest calculation
    a467624aef02 regulator: core: Fix slab-out-of-bounds in regulator_unlock_recursive()
    dfbb9cea5a4b regulator: plug of_node leak in regulator_register()'s error path
    047a71ff5e9d regulator: push allocation in set_consumer_device_supply() out of lock
    31d89652c384 regulator: push allocations in create_regulator() outside of lock
    e7249ceb7ff8 regulator: push allocation in regulator_init_coupling() outside of lock
    b9fb631f6b03 kobject: Restore old behaviour of kobject_del(NULL)
    b85c64a7161f btrfs: fix wrong address when faulting in pages in the search ioctl
    524f3f303079 btrfs: fix lockdep splat in add_missing_dev
    1aaceffa5ace btrfs: require only sector size alignment for parent eb bytenr
    c570a3d660a2 staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb()
    e9f7332b0040 iio:accel:mma8452: Fix timestamp alignment and prevent data leak.
    a6dc50f30129 iio:accel:mma7455: Fix timestamp alignment and prevent data leak.
    e94ec7f512cf iio: accel: kxsd9: Fix alignment of local buffer.
    b040ac56b264 iio:chemical:ccs811: Fix timestamp alignment and prevent data leak.
    cd1a2517b35e iio:light:max44000 Fix timestamp alignment and prevent data leak.
    176fb9423ab8 iio:magnetometer:ak8975 Fix alignment and data leak issues.
    c4b67a1dcba0 iio:adc:ti-adc081c Fix alignment and data leak issues
    e691d264ddf9 iio:adc:max1118 Fix alignment of timestamp and data leak issues
    24c4430c9b18 iio:adc:ina2xx Fix timestamp alignment issue.
    de2fa1f48a52 iio:adc:ti-adc084s021 Fix alignment and data leak issues.
    13a76aae01c7 iio:accel:bmc150-accel: Fix timestamp alignment and prevent data leak.
    66b8b8f75e35 iio:proximity:mb1232: Fix timestamp alignment and prevent data leak.
    0616d908aef5 iio:light:ltr501 Fix timestamp alignment issue.
    c80210735f31 iio: cros_ec: Set Gyroscope default frequency to 25Hz
    c71e70a85b4b iio: adc: ti-ads1015: fix conversion when CONFIG_PM is not set
    d4bdcf4f1154 gcov: Disable gcov build with GCC 10
    104bc6027b27 iommu/amd: Do not use IOMMUv2 functionality when SME is active
    cab731c6c873 drm/amdgpu: Fix bug in reporting voltage for CIK
    d6ccea92b1e1 ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled
    56117aa69301 ALSA: hda: hdmi - add Rocketlake support
    ff37a2636464 arm64/module: set trampoline section flags regardless of CONFIG_DYNAMIC_FTRACE
    2423f3a7ef52 cpufreq: intel_pstate: Fix intel_pstate_get_hwp_max() for turbo disabled
    1f1169474803 cpufreq: intel_pstate: Refuse to turn off with HWP enabled
    b011e41a8e48 ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id
    82d4cfa185a9 HID: elan: Fix memleak in elan_input_configured
    bc818ce2d51e drivers/net/wan/hdlc_cisco: Add hard_header_len
    052750976d03 HID: microsoft: Add rumble support for the 8bitdo SN30 Pro+ controller
    52fa4a63ab14 HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for all Saitek X52 devices
    9eef311eb524 nvme-pci: cancel nvme device request before disabling
    068f73f767a1 nvme-rdma: fix reset hang if controller died in the middle of a reset
    d409ed019236 nvme-rdma: fix timeout handler
    9cf1ee492f23 nvme-rdma: serialize controller teardown sequences
    bb018c73500b nvme-tcp: fix reset hang if controller died in the middle of a reset
    34b1b26b2d8f nvme-tcp: fix timeout handler
    7abff44756fe nvme-tcp: serialize controller teardown sequences
    7598a9d0a756 nvme: have nvme_wait_freeze_timeout return if it timed out
    35d841908c0b nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance
    f9af5758b19b nvmet-tcp: Fix NULL dereference when a connect data comes in h2cdata pdu
    6ce06caf6b44 irqchip/eznps: Fix build error for !ARC700 builds
    41ac2e8a6a1f xfs: initialize the shortform attr header padding entry
    a33cab0fbd2f cfg80211: Adjust 6 GHz frequency to channel conversion
    0aa356dde967 drivers/net/wan/lapbether: Set network_header before transmitting
    e91f2ec0bfbd xfs: fix off-by-one in inode alloc block reservation calculation
    983efe173e37 net: hns3: Fix for geneve tx checksum bug
    cb54984b7989 drivers/dma/dma-jz4780: Fix race condition between probe and irq handler
    bcdbb7c8c7f9 ALSA: hda/tegra: Program WAKEEN register for Tegra
    ad360686fcd2 ALSA: hda: Fix 2 channel swapping for Tegra
    1518c24b3265 firestream: Fix memleak in fs_open
    818c725c1241 NFC: st95hf: Fix memleak in st95hf_in_send_cmd
    0faee7f8c236 drivers/net/wan/lapbether: Added needed_tailroom
    59d2b1e5cb05 netfilter: conntrack: allow sctp hearbeat after connection re-use
    444bf09f2be4 dmaengine: acpi: Put the CSRT table after using it
    89c4339c4d35 ARC: HSDK: wireup perf irq
    75a81be8fb3e arm64: dts: ns2: Fixed QSPI compatible string
    cd0ffeb0b879 ARM: dts: BCM5301X: Fixed QSPI compatible string
    8a9383e277e4 ARM: dts: NSP: Fixed QSPI compatible string
    7a1e2c816acc ARM: dts: bcm: HR2: Fixed QSPI compatible string
    0f632bc48355 IB/isert: Fix unaligned immediate-data handling
    6736317f350a block: Set same_page to false in __bio_try_merge_page if ret is false
    45ffad151bae spi: stm32: fix pm_runtime_get_sync() error checking
    9ed3ab0c62d4 nvme-fabrics: allow to queue requests for live queues
    43b3d09c5142 spi: stm32: Rate-limit the 'Communication suspended' message
    15dc0695a3b0 mmc: sdhci-msm: Add retries when all tuning phases are found valid
    5bead6811610 mmc: sdhci-acpi: Clear amd_sdhci_host on reset
    c46eabd1e6cc drm/sun4i: backend: Disable alpha on the lowest plane on the A20
    f3c982d8e60a drm/sun4i: backend: Support alpha property on lowest plane
    fe0278843b64 soundwire: fix double free of dangling pointer
    122cdbd5019f scsi: mpt3sas: Don't call disable_irq from IRQ poll handler
    aa204e20f4d4 scsi: megaraid_sas: Don't call disable_irq from process IRQ poll
    0b4662709ced RDMA/core: Fix reported speed and width
    b3f6c2ca326b scsi: libsas: Set data_dir as DMA_NONE if libata marks qc as NODATA
    5571056a5805 iio: adc: mcp3422: fix locking scope
    f7db02316a00 iio: adc: mcp3422: fix locking on error path
    376bc3643eeb drm/sun4i: Fix dsi dcs long write function
    af0d98184575 arm64: dts: imx8mq: Fix TMU interrupt property
    ddd3698271da drm/sun4i: add missing put_device() call in sun8i_r40_tcon_tv_set_mux()
    1a2d6e722b49 RDMA/bnxt_re: Do not report transparent vlan from QP1
    aaca68671376 RDMA/rxe: Fix panic when calling kmem_cache_create()
    d1878b298fc6 RDMA/rxe: Drop pointless checks in rxe_init_ports
    ca337b53fff3 RDMA/rxe: Fix memleak in rxe_mem_init_user
    af2e06b02575 ARM: dts: imx7ulp: Correct gpio ranges
    ab56ed56f8c8 ARM: dts: ls1021a: fix QuadSPI-memory reg range
    d5763bbf8664 selftests/timers: Turn off timeout setting
    6a2be713c78f ARM: dts: socfpga: fix register entry for timer3 on Arria10
    25915590865c regulator: remove superfluous lock in regulator_resolve_coupling()
    69163464bcd3 regulator: push allocation in regulator_ena_gpio_request() out of lock
    e9019af9b0cc ARM: dts: logicpd-som-lv-baseboard: Fix missing video
    678cde6f4e2b ARM: dts: logicpd-som-lv-baseboard: Fix broken audio
    06fb37a1725d ARM: dts: logicpd-torpedo-baseboard: Fix broken audio

(From OE-Core rev: eae616c0cca482a3ce720de3d7d1caded9f79942)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Bruce Ashfield
cdaf69b1d1 linux-yocto/5.4: fix kprobes build warning
Integrating the following commit(s) to linux-yocto/5.4:

    178189d65780 kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE

(From OE-Core rev: aa2b309a938f4af5f5d95bc7e7f3c0e9d77f3dd3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Joshua Watt
b534c8f338 classes/sanity: Bump minimum python version to 3.5
Bumps the minimum python version to 3.5 to match bitbake and the test
matrix

(From OE-Core rev: df13c0f2348898023fb7ee1b229e9b5ccc893609)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Richard Purdie
ea79ef5897 libtools-cross/shadow-sysroot: Use nopackages inherit
When testing pseudo changes I realised these recipes have packaging tasks
but don't generate packages. Drop the packages tasks for cleanliness.

(From OE-Core rev: ef9c11797b5d626bdb40b4509d8b2b0d461ff9ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:25 +01:00
Richard Purdie
2e75c084f2 glibc: do_stash_locale must not delete files from ${D}
do_stash_locale doesn't run in fakeroot context, do_install does. We therefore
shouldn't delete files that do_install has added or it leaves potentially
problemtic entries in the fakeroot database. Leaving the files around
doesn't change or break anything else.

(From OE-Core rev: f18817f5340d06f7b4bb846a83b48731a1b9c4bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:25 +01:00
Khem Raj
97946fb395 systemd: Use ROOTPREFIX without suffixed slash in systemd.pc.in
(From OE-Core rev: 797faa735887bb5687eeca7af5d320d530e5238e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:25 +01:00
Fabio Berton
2de508e3cb weston-init: Add environment file support for systemd unit file
The /etc/default/weston file is already installed and it can be used
as systemd EnvironmentFile.

(From OE-Core rev: a1390bd294a0f21297ace3f7b4e33912fa9cb63b)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:25 +01:00
Ross Burton
cddb58b0c6 parted: improve ptest
Add a RRECOMMENDS on kernel-module-scsi-debug as this module is needed
for many of the tests.

Create the udev mount blacklist directory before writing into it, as it
doesn't always exist.

Delete any existing log files before calling make, as otherwise the
tests cannot be repeated.

(From OE-Core rev: 9d3cc0fb89cc4bd8a4f4fe168eff08a3c8bc8d2f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:25 +01:00
Ross Burton
b37ebab71b coreutils: improve coreutils-ptest RDEPENDS
Add perl-modules to the RDEPENDS to avoid having to list all perl
modules that are required, as this package isn't going to be installed
outside of testing builds.

Remove libmodule-build-perl from RDEPENDS, it appears that this isn't
needed anymore. With and without this package the test results on my
image are the same: 619 tests, 462 pass, 154 skip, 3 fail.  This
*drastically* reduces the build impact of enabling ptest as
packagegroup-core-build-essential (thus target gcc) is in the dependency
chain.

(From OE-Core rev: 7937da462b588403400755d264db0edde74aa4dc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:24 +01:00
Ross Burton
e6436043ca bjam-native: don't do debug builds
Previously this recipe was changed to do debug builds because otherwise insane
warns that the binary is already stripped.

However, debug builds for boost.build also pass -O0.  It turns out that given
how large Boost is (or, how bad boost.build is) doing a release build with -O3
knocks a third off the walltime for a Boost package in my test, mainly by reducing
how long it spends deciding that nothing needs to be rebuilt in do_install:

  PKG      TASK        ABSDIFF  RELDIFF  WALLTIME1 -> WALLTIME2
  boost    do_install  -330.7s   -69.2%     477.6s -> 146.9s
  boost    do_compile    -7.1s    -2.7%     269.3s -> 262.2s

Replace debug mode with INSANE_SKIP=already-stripped.

(From OE-Core rev: 66d583d1b2bc54cac278c30b5dbc9fde016eb6ee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:24 +01:00
Usama Arif
e65267d376 kernel-fitimage: generate openssl RSA keys for signing fitimage
The keys are only generated if they dont exist. The key
generation can be turned off by setting FIT_GENERATE_KEYS to "0".
The default key length for private keys is 2048 and the default
format for public key certificate is x.509.

(From OE-Core rev: 8dfaf5cd4eb5c8e352e7833ec47db1a14ea58b47)

Signed-off-by: Usama Arif <usama.arif@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:24 +01:00
Nicolas Dechesne
a6b78aa254 sphinx: rename Makefile.sphinx
Now that the DocBook files are removed, we can rename the top level
Makefile.

(From yocto-docs rev: 25fefa9a91ba5d7b398443f543e2c46165e8a3f4)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:56:17 +01:00
Nicolas Dechesne
43d07a2851 sphinx: remove DocBook files
The Yocto Project documentation was migrated to Sphinx. Let's remove
the deprecated DocBook files.

(From yocto-docs rev: 28fb0e63b2fbfd6426b00498bf2682bb53fdd862)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:56:17 +01:00
Nicolas Dechesne
1fd9c4b2c0 bitbake: sphinx: rename Makefile.sphinx
Now that the DocBook files are removed, we can rename the top level
Makefile.

(Bitbake rev: a7c47f1eac8caac607a2b5f12d07235dff4d740f)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2020-10-06 13:54:27 +01:00
Nicolas Dechesne
dd50ad9173 bitbake: sphinx: remove DocBook files
The BitBake documentation was migrated to Sphinx. Let's remove the
deprecated DocBook files.

(Bitbake rev: 427721d8ff2c8e1db8cb490074f2eed88d03852a)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Quentin Schulz
d4a59548be bitbake: docs: static: theme_overrides.css: fix responsive design on <640px screens
From experience the body takes the whole space anyway and the text stays
within the screen boundaries by default, no need to make the min-width
640px then.

(Bitbake rev: d52190ea426d961f609c657dcb403baf59352969)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Nicolas Dechesne
18016c1ef8 bitbake: docs: sphinx: report errors when dependencies are not met
(Bitbake rev: 9ae5cce76693d7c12396cee1183aaf371bb3d66c)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Nicolas Dechesne
ac8257be72 bitbake: docs: update README file after migrationg to Sphinx
(Bitbake rev: ec4c481a0c3a3ccd0ef0832f128afdc047876552)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Nicolas Dechesne
25fd9fddc3 bitbake: docs: sphinx: replace special quotes with double quotes
(Bitbake rev: c87cc35a5665afbf67f6dbb3458976c215fd5ee3)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Nicolas Dechesne
b2c2b87953 bitbake: docs: ref-variables: add links to terms in glossary
This is similar to this change in yocto-docs:
9e468274eaad (docs: ref-manual: ref-variables: add links to terms in glossary)

(Bitbake rev: ebdeef2c185465ac9f7d7f01ae9e8531355b9e70)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Quentin Schulz
520e95902f docs: ref-manual: ref-variables: add links to terms in glossary
Before the move to Sphinx, it used to be possible to get a direct link to a
variable from the term glossary. It is very useful when pointing people to
a specific variable when manually looking for it in the glossary.

Let's add this "feature" back.

(From yocto-docs rev: 9e468274eaad270efd5f50e58a523798fcb8097e)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-03 12:17:14 +01:00
Quentin Schulz
46504ab21a docs: ref-manual: ref-variables: fix alphabetical order in glossary
(From yocto-docs rev: 77aa3990cab4fb01706d0b6b0284c38e4d9dda56)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-03 12:17:14 +01:00
Quentin Schulz
8df34589a6 docs: ref-manual: ref-variables: fix one-letter pointer links in glossary
Since the move to sphinx, variables aren't linked with var- anchors but
term-.

Let's fix that so clicking on a letter will bring to the correct variable
in the page.

(From yocto-docs rev: 07718faa04a8b121be004afbc23b4c338f669413)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-03 12:17:14 +01:00
Nicolas Dechesne
b23aa6b753 sphinx: fix up some trademark and branding issues
The following changes were required after a review of trademark and
branding guidelines:

1. add (R) to 'Yocto Project' on the top left (above the logo)
2. Fix up the capitalization of the  main page title
3. Add the copyright/legal blurb at the bottom of the page

For 3. it turned out to be simpler to override the whole footer.html
template, and maintain our own version. Also I took the liberty to
remove the 'next' and 'previous' buttons since I believe they are not
especially useful, given the navigation bar on the left side.

Reported-by: Tracey Erway <tracey.m.erway@intel.com>
(From yocto-docs rev: 6bae1372218e0b10258e4fa6fef72fc1708a329c)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-01 21:29:31 +01:00
Usama Arif
60319a78dc ref-manual: document authentication key variables
This documents the variables used to create keys for
signing fitImage.

(From yocto-docs rev: 7d0407249907259b59191e3759a3b140d30d993e)

Signed-off-by: Usama Arif <usama.arif@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-01 21:29:31 +01:00
Richard Purdie
2607799cfb bitbake: cooker: Avoid tracebacks if data was never setup
Recent changes mean data might not be setup. If its not, avoid tracebacks.

(Bitbake rev: 3daff610d9f39d73c80c54d1df46f573666e20db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-01 21:16:57 +01:00
Ross Burton
afb863afc3 bitbake: siggen: use correct umask when writing siginfo
We try to write sstate with group-write permissions so that sstate-cache
can be shared between multiple users.  However the siginfo files are
created in various tasks which may set their own umask (such as
do_populate_sysroot, 0022).  This results in no group write permission
on the intermediate directories, which is fatal when sharing a cache.

Fix this by wrapping the siginfo mkdir in a umask change to 0002.

(Bitbake rev: 75d9ef04a908e366633b255d23ab3275f6860d3a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:03:30 +01:00
Ross Burton
f3b0d3eeae bitbake: utils: add umask changing context manager
Add a umask context manager which can be used to temporarily change the
umask in a 'with' block.

(Bitbake rev: 6c601e68a27e1c60b04c2a61830d1812cc883e09)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:03:30 +01:00
Richard Purdie
f6609eebca oeqa/selftest/devtool: Add sync call to test teardown
Devtool tests are heavy on IO and if bitbake can't write out its caches, we see
timeouts. Call "sync" around the tests to ensure the IO queue doesn't get too
large, taking any IO hit here rather than in bitbake shutdown.

(From OE-Core rev: ce265cf467f1c3e5ba2edbfbef2170df1a727a52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:52 +01:00
Chen Qi
dbeac4fc45 testsdk.py: remove workspace/sources to avoid failure in case of multilib
When multilib is enabled, there are multiple environment scripts, and the
test cases for eSDK are executed for each environment script.

And we will have the following problem when executing test cases for the
second environment script.

  ERROR: Source tree path /.../workspace/sources/librdfa already exists and is not empty

So after executing test cases for one environment, we clean up the sources
diretory to avoid such failure.

(From OE-Core rev: f55924d8d2258ca8b60c46d78ae2de06add59798)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:52 +01:00
Chen Qi
23bb87bff7 populate_sdk_ext.bbclass: add ESDK_MANIFEST_EXCLUDES
Add ESDK_MANIFEST_EXCLUDES to enable excluding items in sdk-conf-manifest.

By default, files under conf/ are all added to sdk-conf-manifest, as the
manifest file is set to 'conf/*'.

However, there are situations where some configuration files under conf/
directory are not intended to be added to sdk-conf-manifest, thus adding
ESDK_MANIFEST_EXCLUDES to enable users to do this.

This variable takes the form of glob matching.
e.g.
ESDK_MANIFEST_EXCLUDES = "conf/autogen*"
This would exclude all files under conf/ starting with 'autogen' from
sdk-conf-manifest.

(From OE-Core rev: 2d71e427b530ec4ea5524efa951b6a87f21b8b22)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Tim Orling
31d3042487 oeqa/selftest/cases/devtool.py: avoid .pyc race
In certain conditions, most likely under heavy load on the
AutoBuilder, the prebuilt .pyc files are attempting to be
executed before they have been completely copied. Avoid
this by not copying the .pyc files (nor the __pycache__
directory). The impact of python3-native recreating the .pyc
files should hopefully be negligible.

YOCTO#13421
YOCTO#13803

(From OE-Core rev: 4df098aeecd589ddd11a883e281285588a6966ca)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Mingli Yu
9d3b8770f2 debianutils: update the debian snapshot version
After debianutils upgrades to 4.11.1 in [1], there is no
4.11.1 source in the old debian snapshot. Update the snapshot
version to fix the gap.

[1] https://git.openembedded.org/openembedded-core/commit/?id=0c492a0768cd15ff40db35f459853e69c55f8cc6

(From OE-Core rev: a58f69f854c28d61a8c74b8af75b80b8695f6198)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Chris Laplante
3d24ecf540 cve-check: add CVE_CHECK_REPORT_PATCHED variable to suppress reporting of patched CVEs
Default behavior is not changed. To suppress patched CVEs, set:

        CVE_CHECK_REPORT_PATCHED = ""

(From OE-Core rev: 05bd9f1f006cf94cf5324f96df29cd5862abaf45)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Chris Laplante
47a35a3843 cve-check: introduce CVE_CHECK_RECIPE_FILE variable to allow changing of per-recipe check file
The addition of this variable also makes it possible to change the
output suffix of the check files, e.g. in local.conf:

CVE_CHECK_MANIFEST_append = ".txt"
CVE_CHECK_RECIPE_FILE_append = ".txt"

(From OE-Core rev: 0d40f1482c6d87785ae47c46c2305e1df46f459a)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Ross Burton
6817a1b683 boost: move the build directory outside of S
Instead of manually creating and deleting build directories, follow the idioms
by setting B to WORKDIR/build, setting do_configure[cleandirs], and using ${B}
where appropriate.

(From OE-Core rev: 6ee1b1e6d65214ab32030ee4b37997f8a9871f25)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Khem Raj
e1f186da61 systemd: Drop 0023-Fix-field-efi_loader_entry_one_shot_stat-has-incompl.patch
This patch is no longer needed as upstream has added including part of
this include list, perhaps thats all is what was needed to make it
portable

Refresh 0001-Handle-missing-gshadow.patch

(From OE-Core rev: 0f5d9d8cc5d05a7a485e4cb89b37d06ea0d05d23)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Mark Jonas
4b956d1b64 Map license names PSF and PSFv2 to PSF-2.0
According to SDPX.org "Python License 2.0" is the overall Python
license, which is comprised of several licenses. "Python Software
Foundation License 2.0" is part of the complete Python license, but is
also used independently by some projects.

So far the license names PSF and PSFv2 found in LICENSE are mapped to
to Python-2.0. This patch maps PSF and PSFv2 to PSF-2.0 und thus
corrects the impression that Python-2.0 and PSF-2.0 are synonymous.

(From OE-Core rev: ef89f176d10ee82738aa050282d93b68dd2c4eb5)

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Mark Jonas
ba5349dd01 Add license text for PSF-2.0
(From OE-Core rev: 37983b3706bda0c466e7e99e1d088089854f5648)

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Saul Wold
78b473e7f8 target/ssh.py: Add dump_target support
This adds the dump_target support when the ssh command fails with
a 'No route to host'. This is will provide additional data when a
Qemu target fails to respond during autobuilder testing. This does
not fix 14002 [0], but may help track down why qemu looses networking

[0] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14002

(From OE-Core rev: cef1a2b03b359c018911abc29db1895d0f46814c)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Saul Wold
406857b019 testimage: Add testimage_dump_target to kwargs
This passes the list of commands to run on the OEQemuTarget when
the TargetDumper needs to run in a test context due to a failure
on the target.

This is added here as a kwargs because the 'd' dictionary is not
available in the staticmethod getTarget in the
OERuntimeTestContextExecutor class. The OEQemuTarget is different
from the QemuTarget which already uses the list of commands from
testimage_dump_target from 'd'. The create_dir() is needed to
initialize the TargetDumper's dump_dir variable.

(From OE-Core rev: a63675fab4d9f638570912b15a07932f549cc4d1)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
akuster
ab2ece14f0 libdrm: fix build failure
Failure seen on my CentOS7 build host

(From OE-Core rev: 243e13e87ac954b4197d53d6694f6335291651d5)

Signed-off-by: akuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Ross Burton
3b545e61db rpm: add PACKAGECONFIG for the systemd inhibit plugin
RPM ships a systemd inhibit plugin, that will tell systemd to inhibit a
reboot or sleep during a package upgrades.

For native RPM this is entirely useless, and for target it's only useful
if you're using systemd+logind+rpm.

This plugin uses DBus which means it depends on expat -> cmake-native ->
libarchive-native curl-native, which is quite a dependency tree to need
in early build (required to build packages via rpm-native).

It was previously forcibly disabled for native packages but the build
dependency on DBus remained.  Add a PACKAGECONFIG for the plugin that is
only enabled for target builds with systemd and explicitly disabled for
native/nativesdk builds, but also keep the explicit disabling of all
plugins as the prioreset plugin also behaves badly inside a build.

(From OE-Core rev: df758ea66fd2f69d591c1fd36b90969796d50bd0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
zangrc
7f6dfe562c sudo: upgrade 1.9.2 -> 1.9.3
(From OE-Core rev: c5571fd473369deab62f5b8e7c2d4318746df725)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
zangrc
f4fc4a787b pango: upgrade 1.46.1 -> 1.46.2
(From OE-Core rev: 2abc0e7ecab199bacf931dd4711734bdd3b48644)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
zangrc
2f2286959d stress-ng: upgrade 0.11.19 -> 0.11.21
(From OE-Core rev: 1ec60f66852e371378371b333b688c3928447f1e)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
zangrc
21b9ddc33b bind: upgrade 9.16.5 -> 9.16.7
(From OE-Core rev: 129e1f748685368f45a5022218cd83872e22ab61)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Changqing Li
86a22e0d5d sysklogd: fix parallel build issue
fix below errors which caused by race condition:
do_package:
ERROR: dwarfsrcfiles failed with exit code 1 (cmd was ['dwarfsrcfiles', 'TOPDIR/tmp-glibc/work/ppc7400-oe-linux/sysklogd/2.1.2-r0/package/usr/lib/libsyslog.a']):
dwarfsrcfiles: TOPDIR/tmp-glibc/work/ppc7400-oe-linux/sysklogd/2.1.2-r0/package/usr/lib/libsyslog.a: not a valid ELF file

do_compile:
arm-oe-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libsyslog.so.0" && ln -s "libsyslog.so.0.0.0" "libsyslog.so.0")
arm-oe-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libsyslog.so" && ln -s "libsyslog.so.0.0.0" "libsyslog.so")
arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-gcc-ar cru .libs/libsyslog.a  libsyslog_la-syslog.o ../lib/pidfile.o ../lib/strlcpy.o ../lib/strlcat.o
TOPDIR/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/sysklogd/2.1.2-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ar: `u' modifier ignored since `D' is the default (see `U')
TOPDIR/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/sysklogd/2.1.2-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ar: ../lib/strlcat.o: No such file or directory

(From OE-Core rev: 3bab002a3fe4f15529a4771fb982f921a77eedfe)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Jon Mason
ceefa75ac0 Space-comma Cleanups
Multiple files have " ," instead of ", " in expressions.  This changes
them to conform to the way the rest of them are done.

Found and corrected via:
git ls-files | xargs sed --follow-symlinks -i 's/ ,d/, d/g'

(From OE-Core rev: 36c3afd2dd8bded02ea8f255e89a09ebd75c795b)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00