]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
6 years agopython3-pbr: Move src uri checksums out of .inc file
Khem Raj [Sun, 13 Jan 2019 16:03:28 +0000 (08:03 -0800)]
python3-pbr: Move src uri checksums out of .inc file

python2 version of pbr is in meta-python and uses the same inc file but
is not updated synchronously, which ends up breaking it, either we move
py2 version into OE-core as well and then ensure that both recipes are
updated atomically, or we move the checksums into recipe files

Fixes errors like
http://errors.yoctoproject.org/Errors/Details/216253/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto-dev: bump to v5.0-rc
Bruce Ashfield [Sat, 12 Jan 2019 18:12:53 +0000 (13:12 -0500)]
linux-yocto-dev: bump to v5.0-rc

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto/4.19: update to v4.19.14
Bruce Ashfield [Sat, 12 Jan 2019 18:12:52 +0000 (13:12 -0500)]
linux-yocto/4.19: update to v4.19.14

Integrating the korg -stable updates that comprise the following commits:

   f630d3cc771e Linux 4.19.14
   a4a929aa46b4 MIPS: Only include mmzone.h when CONFIG_NEED_MULTIPLE_NODES=y
   feb0be15ee8b spi: bcm2835: Unbreak the build of esoteric configs
   62977aad0a52 tpm: tpm_i2c_nuvoton: use correct command duration for TPM 2.x
   7f4a7b1badcf tpm: tpm_try_transmit() refactor error flow.
   920735c63d8a arm64: compat: Avoid sending SIGILL for unallocated syscall numbers
   1817b2ccbd11 iommu/arm-smmu-v3: Fix big-endian CMD_SYNC writes
   f318d0cf26b1 KVM: arm/arm64: vgic: Fix off-by-one bug in vgic_get_irq()
   47ffaa7decc5 KVM: arm/arm64: vgic-v2: Set active_source to 0 when restoring state
   6318b1b7c90c KVM: arm/arm64: vgic: Cap SPIs to the VM-defined maximum
   f0fcc4d17cf4 KVM: arm/arm64: vgic: Do not cond_resched_lock() with IRQs disabled
   ce866af60e90 rtc: m41t80: Correct alarm month range with RTC reads
   badd5690661b ARM: dts: exynos: Specify I2S assigned clocks in proper node
   0fa68518047b arm/arm64: KVM: vgic: Force VM halt when changing the active state of GICv3 PPIs/SGIs
   7ec9ea679c96 arm64: KVM: Avoid setting the upper 32 bits of VTCR_EL2 to 1
   ba77e8c7f704 smb3: fix large reads on encrypted connections
   1827d1c439bc CIFS: Fix error mapping for SMB2_LOCK command which caused OFD lock problem
   db825a79e07a MIPS: Fix a R10000_LLSC_WAR logic in atomic.h
   34c512d883b3 MIPS: OCTEON: mark RGMII interface disabled on OCTEON III
   fb38b12e0b2b MIPS: Expand MIPS32 ASIDs to 64 bits
   88c61f5cb67d MIPS: Align kernel load address to 64KB
   76a9f7b4be28 MIPS: Ensure pmd_present() returns false after pmd_mknotpresent()
   e8ae2ae2aae5 MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3
   62452b351195 MIPS: math-emu: Write-protect delay slot emulation pages
   d642e0b630b0 tools lib traceevent: Fix processing of dereferenced args in bprintk events
   47af3cecd561 media: v4l2-tpg: array index could become negative
   245fc1c7f688 media: vb2: check memory model for VIDIOC_CREATE_BUFS
   845c7f6cbc98 media: vivid: free bitmap_cap when updating std/timings/etc.
   257ad26e7e98 media: imx274: fix stack corruption in imx274_read_reg
   7ce31f635b23 media: rc: cec devices do not have a lirc chardev
   2f8cff22960b media: cec-pin: fix broken tx_ignore_nack_until_eom error injection
   465153038583 media: cec: keep track of outstanding transmits
   e534754ffd93 serial: uartps: Fix interrupt mask issue to handle the RX interrupts properly
   5036fcd9b145 f2fs: sanity check of xattr entry size
   58d7ab7163d9 f2fs: fix validation of the block count in sanity_check_raw_super
   ce5b0057f768 f2fs: read page index before freeing
   9621ea6b9c4c dax: Use non-exclusive wait in wait_entry_unlocked()
   c555772c2a4e dax: Don't access a freed inode
   a9935a127688 powerpc/tm: Unset MSR[TS] if not recheckpointing
   71cda0af3670 brcmfmac: Fix out of bounds memory access during fw load
   fad6c183e20b brcmfmac: fix roamoff=1 modparam
   9eec74b48477 Btrfs: send, fix race with transaction commits that create snapshots
   6911b074a005 btrfs: run delayed items before dropping the snapshot
   10b04210aabf Btrfs: fix fsync of files with multiple hard links in new directories
   7708a83090ba btrfs: skip file_extent generation check for free_space_inode in run_delalloc_nocow
   c1f90eb01971 btrfs: dev-replace: go back to suspend state if another EXCL_OP is running
   28867a52e48d btrfs: dev-replace: go back to suspended state if target device is missing
   326ca6bd0fae cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.
   8a2fbdd5b020 cgroup: fix CSS_TASK_ITER_PROCS
   99dcd45f274e crypto: cfb - fix decryption
   d8e4b24ffbbb crypto: testmgr - add AES-CFB tests
   cc43a8afa8e3 crypto: chcr - small packet Tx stalls the queue
   0fa6bead41ba crypto: cavium/nitrox - fix a DMA pool free failure
   d095e1ba4165 clk: sunxi-ng: Use u64 for calculation of NM rate
   36ef9d14fdda clk: rockchip: fix typo in rk3188 spdif_frac parent
   9e9c669859f6 spi: bcm2835: Avoid finishing transfer prematurely in IRQ mode
   cc8b83ff6a69 spi: bcm2835: Fix book-keeping of DMA termination
   63f97d305aed spi: bcm2835: Fix race on DMA termination
   0cb4f6559087 ext4: check for shutdown and r/o file system in ext4_write_inode()
   bf2fd1f97040 ext4: force inode writes when nfsd calls commit_metadata()
   263663888d2f ext4: avoid declaring fs inconsistent due to invalid file handles
   6633fcb231a0 ext4: include terminating u32 in size of xattr entries when expanding inodes
   11bb168baef2 ext4: fix EXT4_IOC_GROUP_ADD ioctl
   0d078853b87a ext4: missing unlock/put_page() in ext4_try_to_write_inline_data()
   0a1c177dd903 ext4: fix possible use after free in ext4_quota_enable
   b878c8a7f08f ext4: add ext4_sb_bread() to disambiguate ENOMEM cases
   6665481e1c21 ocxl: Fix endiannes bug in read_afu_name()
   3fbf78b25268 ocxl: Fix endiannes bug in ocxl_link_update_pe()
   65e4e67de33d perf env: Also consider env->arch == NULL as local operation
   d124dd5c6ace perf pmu: Suppress potential format-truncation warning
   307dbd383650 perf script: Use fallbacks for branch stacks
   39dad822b785 perf tools: Use fallback for sample_addr_correlates_sym() cases
   0ada27a74438 perf thread: Add fallback functions for cases where cpumode is insufficient
   62977a9ba8dd perf machine: Record if a arch has a single user/kernel address space
   bf75d9382bc4 clocksource/drivers/arc_timer: Utilize generic sched_clock
   ca3a6fd272bb DRM: UDL: get rid of useless vblank initialization
   29ac2218a9f8 drm/v3d: Skip debugfs dumping GCA on platforms without GCA.
   6c56e89e4ebe platform-msi: Free descriptors in platform_msi_domain_free()
   c9dae887cf64 KVM: nVMX: Free the VMREAD/VMWRITE bitmaps if alloc_kvm_area() fails
   07cbcfc33fc9 arm64: KVM: Make VHE Stage-2 TLB invalidation operations non-interruptible
   edcf33b155fe KVM: x86: Use jmp to invoke kvm_spurious_fault() from .fixup
   4910271928c2 x86/mm: Drop usage of __flush_tlb_all() in kernel_physical_mapping_init()
   86ba6f66c9c1 x86/speculation/l1tf: Drop the swap storage limit restriction when l1tf=off
   aeb5e5341696 Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G
   f1680565304c Input: atmel_mxt_ts - don't try to free unallocated kernel memory
   d648a9bdac4b s390/pci: fix sleeping in atomic during hotplug
   47148001ae12 ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Gnawty
   c4b6173e54ca ASoC: intel: cht_bsw_max98090_ti: Add pmc_plt_clk_0 quirk for Chromebook Clapper
   6cd208cb934f staging: wilc1000: fix missing read_write setting when reading data
   80562cf3b188 media: dvb-usb-v2: Fix incorrect use of transfer_flags URB_FREE_BUFFER
   f295bc9b8c9c usb: roles: Add a description for the class to Kconfig
   9c1f18773406 Revert "usb: dwc3: pci: Use devm functions to get the phy GPIOs"
   b1ab9f3d69f6 usb: dwc2: disable power_down on Amlogic devices
   5e4dbeba2add usb: r8a66597: Fix a possible concurrency use-after-free bug in r8a66597_endpoint_disable()
   8a5d034b5e86 USB: serial: option: add Fibocom NL678 series
   f37b8b18b54f USB: serial: pl2303: add ids for Hewlett-Packard HP POS pole displays
   9339eaf7ff4f usb: dwc2: host: use hrtimer for NAK retries
   2c7882957c12 ALSA: hda/tegra: clear pending irq handlers
   22bc89a31109 ALSA: hda/realtek: Enable the headset mic auto detection for ASUS laptops
   302d9834ef29 ALSA: firewire-lib: use the same print format for 'without_header' tracepoints
   ec7334b5ad18 ALSA: firewire-lib: fix wrong assignment for 'out_packet_without_header' tracepoint
   438b26705896 ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet
   a8be7cd59d37 ALSA: fireface: fix for state to fetch PCM frames
   9ded351759d0 ALSA: hda/realtek: Enable audio jacks of ASUS UX391UA with ALC294
   691d06e60d9d ALSA: hda: add mute LED support for HP EliteBook 840 G4
   cec876b46e19 mtd: rawnand: omap2: Pass the parent of pdev to dma_request_chan()
   5cad883fd612 mtd: rawnand: marvell: prevent timeouts on a loaded machine
   586209404782 mtd: atmel-quadspi: disallow building on ebsa110
   34fc09193486 powerpc/fsl: Fix spectre_v2 mitigations reporting
   eb734900aa83 ALSA: emux: Fix potential Spectre v1 vulnerabilities
   56971d62c759 ALSA: pcm: Fix potential Spectre v1 vulnerability
   0d2270496891 ALSA: emu10k1: Fix potential Spectre v1 vulnerabilities
   67b6a811a5f0 ALSA: rme9652: Fix potential Spectre v1 vulnerability
   91dea490a4e1 IB/hfi1: Incorrect sizing of sge for PIO will OOPs
   648458fe97b5 r8169: fix WoL device wakeup enable
   e4a2ffe9029f net: Use __kernel_clockid_t in uapi net_stamp.h
   e15413d61d4e net: mvneta: fix operation for 64K PAGE_SIZE
   e97ecb19fee9 net/mlx5e: RX, Fix wrong early return in receive queue poll
   e72e92914387 net/mlx5e: Remove unused UDP GSO remaining counter
   af93ac090110 mlxsw: core: Increase timeout during firmware flash process
   a8b01caff7d4 qed: Fix command number mismatch between driver and the mfw
   5696ca93120b net: mvpp2: fix the phylink mode validation
   fe65dfcca1b9 net/mlx5e: RX, Verify MPWQE stride size is in range
   78512e346836 net/mlx5e: Cancel DIM work on close SQ
   935bc9ddd774 mscc: Configured MAC entries should be locked.
   ccc8b3747327 ipv6: route: Fix return value of ip6_neigh_lookup() on neigh_create() error
   2210c2737e19 nfp: flower: ensure TCP flags can be placed in IPv6 frame
   fe3f820c18b0 net/ipv6: Fix a test against 'ipv6_find_idev()' return value
   5ac4cc331bca ipv6: frags: Fix bogus skb->sk in reassembled packets
   9ed77be31e95 net/mlx5e: Remove the false indication of software timestamping support
   7942d5be4922 tipc: check group dests after tipc_wait_for_cond()
   71e848bd5e1d net/mlx5: Typo fix in del_sw_hw_rule
   3a1cbcf4f3ae xen/netfront: tolerate frags with no data
   d7c2162d5ab6 VSOCK: Send reset control packet when socket is partially bound
   2b23a3651749 vhost: make sure used idx is seen before log in vhost_add_used_n()
   2ce6d5aeafba tipc: use lock_sock() in tipc_sk_reinit()
   b66ecc4f0b36 tipc: fix a double kfree_skb()
   f404723deb69 tipc: fix a double free in tipc_enable_bearer()
   a2ee6fb9c675 tipc: compare remote and local protocols in tipc_udp_enable()
   dc6c13d5d5b4 tipc: check tsk->group in tipc_wait_for_cond()
   e52170348715 tcp: fix a race in inet_diag_dump_icsk()
   60f05dddf1eb sock: Make sock->sk_stamp thread-safe
   fff7f7178630 sctp: initialize sin6_flowinfo for ipv6 addrs in sctp_inet6addr_event
   2ec3976e29f2 qmi_wwan: Add support for Fibocom NL678 series
   b7934b17b8f8 qmi_wwan: Added support for Telit LN940 series
   a47e4db747f6 qmi_wwan: Added support for Fibocom NL668 series
   6e36567284cf ptr_ring: wrap back ->producer in __ptr_ring_swap_queue()
   4037ce1b28ca packet: validate address length if non-zero
   a35c9c1712df packet: validate address length
   781e26adfdea net/wan: fix a double free in x25_asy_open_tty()
   f624d95c9937 net/tls: allocate tls context using GFP_ATOMIC
   42e8bf856838 net: stmmac: Fix an error code in probe()
   e028017380f0 net/smc: fix TCP fallback socket release
   a1bce7196b72 netrom: fix locking in nr_find_socket()
   4d1edda006a5 net: phy: Fix the issue that netif always links up after resuming
   e3ba5b266e6b net: mvpp2: 10G modes aren't supported on all ports
   5ea9c08a8692 net: macb: restart tx after tx used bit read
   d5f9565c8d5a net: ipv4: do not handle duplicate fragments as overlapping
   acb70d28fe63 net/hamradio/6pack: use mod_timer() to rearm timers
   281731c8170a net: clear skb->tstamp in forwarding paths
   ec820972c543 isdn: fix kernel-infoleak in capi_unlocked_ioctl
   cde81154f86e ip: validate header length on virtual device xmit
   0d2b652b0732 ipv6: tunnels: fix two use-after-free
   cae3c9cf9d7d ipv6: explicitly initialize udp6_addr in udp_sock_create6()
   360fb1db92df ipv4: Fix potential Spectre v1 vulnerability
   32403fd3b529 ip6mr: Fix potential Spectre v1 vulnerability
   110c877da975 ieee802154: lowpan_header_create check must check daddr
   42b676c72e04 ibmveth: fix DMA unmap error in ibmveth_xmit_start error path
   3c859adedd52 gro_cell: add napi_disable in gro_cells_destroy
   3e881d8764ed ax25: fix a use-after-free in ax25_fillin_cb()
   c04c050f5bf9 Linux 4.19.13
   7f3ebea19795 drm/ioctl: Fix Spectre v1 vulnerabilities
   6bb41321166f proc/sysctl: don't return ENOMEM on lookup when a table is unregistering
   488f2c66dd46 Input: elantech - disable elan-i2c for P52 and P72
   a5e880969713 mm: don't miss the last page because of round-off error
   e27666dd8ffa mm, page_alloc: fix has_unmovable_pages for HugePages
   161a5654cf06 mm: thp: fix flags for pmd migration when split
   7592dbfaf3ef mm, memory_hotplug: initialize struct pages for the full memory section
   3fbd4d87f1d1 media: ov5640: Fix set format regression
   7f30924b488f iwlwifi: add new cards for 9560, 9462, 9461 and killer series
   9007fba734d0 Revert "mwifiex: restructure rx_reorder_tbl_lock usage"
   c151740ff107 iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT to old firmwares
   fed44d6cb15f rtlwifi: Fix leak of skb when processing C2H_BT_INFO
   5ecdfbb0d9f0 xfrm_user: fix freeing of xfrm states on acquire
   89d6fff0747f mm: introduce mm_[p4d|pud|pmd]_folded
   ba38c3e78838 mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
   28a3b553dd31 mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
   384221cbb918 panic: avoid deadlocks in re-entrant console drivers
   0a95cba52bf2 x86/intel_rdt: Ensure a CPU remains online for the region's pseudo-locking sequence
   56f7bfac531a x86/vdso: Pass --eh-frame-hdr to the linker
   1e3b98b28c0d x86/mm: Fix decoy address handling vs 32-bit builds
   c623326a3398 x86/mtrr: Don't copy uninitialized gentry fields back to userspace
   9933bfb6d3f2 futex: Cure exit race
   c1f8e7acb0c2 Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels
   1972ca047083 KVM: Fix UAF in nested posted interrupt processing
   229468c62942 kvm: x86: Add AMD's EX_CFG to the list of ignored MSRs
   76281d12dac9 KVM: X86: Fix NULL deref in vcpu_scan_ioapic
   82c8dbb376b9 posix-timers: Fix division by zero bug
   1f51527d020e gpiolib-acpi: Only defer request_irq for GpioInt ACPI event handlers
   85ac860a5fdf gpio: max7301: fix driver for use with CONFIG_VMAP_STACK
   0867cfaabcf7 mmc: omap_hsmmc: fix DMA API warning
   b38f6898b60c mmc: core: Use a minimum 1600ms timeout when enabling CACHE ctrl
   12df9797d98c mmc: core: Allow BKOPS and CACHE ctrl even if no HPI support
   f465300aab0d mmc: core: Reset HPI enabled state during re-init and in case of errors
   024d515aab9b scsi: sd: use mempool for discard special page
   690699b27185 scsi: t10-pi: Return correct ref tag when queue has no integrity profile
   073645885686 ubifs: Handle re-linking of inodes correctly while recovery
   507a953af925 USB: serial: option: add Telit LN940 series
   81dfcd0b2c17 USB: serial: option: add Fibocom NL668 series
   4e0f50024696 USB: serial: option: add Simcom SIM7500/SIM7600 (MBIM mode)
   cc0667b533a9 USB: serial: option: add HP lt4132
   7a37019379d6 USB: serial: option: add GosunCn ZTE WeLink ME3630
   a67fb441decd USB: xhci: fix 'broken_suspend' placement in struct xchi_hcd
   e13bfb357f5b xhci: Don't prevent USB2 bus suspend in state check intended for USB3 only
   8f980122236c USB: hso: Fix OOB memory access in hso_probe/hso_get_config_data
   9c5ccadb7b42 Revert "vfs: Allow userns root to call mknod on owned filesystems."
   38d072a4a717 iomap: Revert "fs/iomap.c: get/put the page in iomap_page_create/release()"
   2a7cb228d29c Linux 4.19.12
   b4c7c826709b Btrfs: fix missing delayed iputs on unmount
   5f286ec243d3 nvmet-rdma: fix response use after free
   b2d587568588 nvme: validate controller state before rescheduling keep alive
   cab9d27671db i2c: uniphier-f: fix violation of tLOW requirement for Fast-mode
   eb296b2d315b i2c: uniphier: fix violation of tLOW requirement for Fast-mode
   9d5db5becd74 i2c: scmi: Fix probe error on devices with an empty SMB0001 ACPI device node
   9be9c23a507a i2c: axxia: properly handle master timeout
   8175f9d39789 mlxsw: spectrum_switchdev: Fix VLAN device deletion via ioctl
   50dc13e2b3c6 vhost/vsock: fix reset orphans race with close timeout
   b5a8028c25f3 cifs: In Kconfig CONFIG_CIFS_POSIX needs depends on legacy (insecure cifs)
   e6a5c4948c2c drm/ast: Fix connector leak during driver unload
   10197442f1fb acpi/nfit: Fix user-initiated ARS to be "ARS-long" rather than "ARS-short"
   d689c1371d18 tools/testing/nvdimm: Align test resources to 128M
   878275fa3e75 drm/amdgpu/vcn: Update vcn.cur_state during suspend
   e6a57a90b371 net: mvpp2: fix phylink handling of invalid PHY modes
   f124acc92c83 net: mvpp2: fix detection of 10G SFP modules
   42d040e2c7b9 thermal: armada: fix legacy validity test sense
   4c2efd8cf5d9 ethernet: fman: fix wrong of_node_put() in probe function
   80eaec9b94bc ARM: 8816/1: dma-mapping: fix potential uninitialized return
   5cb9667104e8 ARM: 8815/1: V7M: align v7m_dma_inv_range() with v7 counterpart
   b3d52556794c ARM: 8814/1: mm: improve/fix ARM v7_dma_inv_range() unaligned address handling
   6ffd9f25c0e9 bpf: check pending signals while verifying programs
   efda3b1d90e5 net/mlx4_en: Fix build break when CONFIG_INET is off
   4ae4046a1246 mv88e6060: disable hardware level MAC learning
   2ef6e0fe383f macvlan: return correct error value
   2ed4392b0bb3 libata: whitelist all SAMSUNG MZ7KM* solid-state disks
   62a866ed4c48 Input: omap-keypad - fix keyboard debounce configuration
   65905f7b9033 Input: synaptics - enable SMBus for HP 15-ay000
   8e09f402321e clk: mmp: Off by one in mmp_clk_add()
   70c883946441 clk: mvebu: Off by one bugs in cp110_of_clk_get()
   92bc065001a6 drm/amd/powerplay: issue pre-display settings for display change event
   ee404810e01e drm/msm: Fix error return checking
   38b579de0b9a drm/msm: dpu: Fix "WARNING: invalid free of devm_ allocated data"
   b7c819a03ae8 drm/msm: dpu: Don't set legacy plane->crtc pointer
   80f68af97440 drm/msm/hdmi: Enable HPD after HDMI IRQ is set up
   580fd7b5452c ide: pmac: add of_node_put()
   b37b7d5b9086 drivers/tty: add missing of_node_put()
   78e974363bbc drivers/sbus/char: add of_node_put()
   90d62a36352a sbus: char: add of_node_put()
   20595815b058 SUNRPC: Fix a potential race in xprt_connect()
   de956d407811 nfs: don't dirty kernel pages read by direct-io
   b0cf59188ec2 liquidio: read sc->iq_no before release sc
   85099bea9743 bpf: Fix verifier log string check for bad alignment.
   aa4540d8cc87 bonding: fix 802.3ad state sent to partner when unbinding slave
   43f5afa3eaae net: aquantia: fix rx checksum offload bits
   0df6d609c5d2 net: stmmac: Move debugfs init/exit to ->probe()/->remove()
   bf69dc3cb1b8 ARC: io.h: Implement reads{x}()/writes{x}()
   dbb0f9e74655 drm/amdgpu: wait for IB test on first device open
   546486c5b196 drm/ttm: fix LRU handling in ttm_buffer_object_transfer
   01ba4fd98947 drm/msm: Grab a vblank reference when waiting for commit_done
   801f12d991bc drm/msm/dsi: configure VCO rate for 10nm PLL driver
   d60ec2e70298 drm/msm: fix handling of cmdstream offset
   7de8218615d3 drm/msm/gpu: Fix a couple memory leaks in debugfs
   35516413ae5a drm/msm: Fix task dump in gpu recovery
   985dea32ba57 x86/earlyprintk/efi: Fix infinite loop on some screen widths
   3965b4f0c37f drm/amd/display: Fix 6x4K displays light-up on Vega20 (v2)
   bdf7c4c84bea net: ethernet: ave: Replace NET_IP_ALIGN with AVE_FRAME_HEADROOM
   112a7f8e0540 tools/bpf: add addition type tests to test_btf
   8b26fd26d69f tools/bpf: fix two test_btf unit test cases
   a58fb8346d3c scsi: vmw_pscsi: Rearrange code to avoid multiple calls to free_irq during unload
   13b968d59bb5 scsi: libiscsi: Fix NULL pointer dereference in iscsi_eh_session_reset
   b288daf8e1da i2c: rcar: check bus state before reinitializing
   53e0d8ecc83f Input: hyper-v - fix wakeup from suspend-to-idle
   ff7d99c424ae mac80211_hwsim: fix module init error paths for netlink
   70b0baddd09b IB/hfi1: Remove race conditions in user_sdma send path
   2658687568cd locking/qspinlock, x86: Provide liveness guarantee
   150f038c9382 locking/qspinlock: Re-order code
   2a5f80c5bd72 Linux 4.19.11
   d92c66b30f93 x86/build: Fix compiler support check for CONFIG_RETPOLINE
   228f6f28d478 dm zoned: Fix target BIO completion handling
   7b942bad3818 drm/amdgpu: update SMC firmware image for polaris10 variants
   3ae86cfbbbf6 drm/amdgpu: update smu firmware images for VI variants (v2)
   2732df872c63 drm/amdgpu: add some additional vega10 pci ids
   95baf54676a8 drm/amdkfd: add new vega10 pci ids
   d68d2ad54474 drm/amdgpu/powerplay: Apply avfs cks-off voltages on VI
   f0e9995f7eed drm/i915/execlists: Apply a full mb before execution for Braswell
   d6ebe485da3d drm/i915/gvt: Fix tiled memory decoding bug on BDW
   683ef526234f Revert "drm/rockchip: Allow driver to be shutdown on reboot/kexec"
   4d5907f70ec1 drm/nouveau/kms/nv50-: also flush fb writes when rewinding push buffer
   d7fde95b7f3f drm/nouveau/kms: Fix memory leak in nv50_mstm_del()
   c97c353e5f29 powerpc: Look for "stdout-path" when setting up legacy consoles
   73732de1579f powerpc/msi: Fix NULL pointer access in teardown code
   13e318b8680e media: vb2: don't call __vb2_queue_cancel if vb2_start_streaming failed
   ee310e8ebb9e tracing: Fix memory leak of instance function hash filters
   8f01f990b19f tracing: Fix memory leak in set_trigger_filter()
   470cc678a12b tracing: Fix memory leak in create_filter()
   b543b5c0ac1c dm: call blk_queue_split() to impose device limits on bios
   09bc666fb411 dm cache metadata: verify cache has blocks in blocks_are_clean_separate_dirty()
   809c692c665d dm thin: send event about thin-pool state change _after_ making it
   bea8a160c621 ARM: dts: bcm2837: Fix polarity of wifi reset GPIOs
   0017698d34b0 ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt
   d9267e136044 fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS
   113fe99d6376 mmc: sdhci: fix the timeout check window for clock and reset
   661feb2fc993 mmc: sdhci-omap: Fix DCRC error handling during tuning
   105819c8a545 mmc: core: use mrq->sbc when sending CMD23 for RPMB
   e1e99fea907a MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5910/OMAP310
   2a335229946e ovl: fix missing override creds in link of a metacopy upper
   3faf68a42f97 ovl: fix decode of dir file handle with multi lower layers
   7290c71ded83 block/bio: Do not zero user pages
   beb98fda1853 arm64: dma-mapping: Fix FORCE_CONTIGUOUS buffer clearing
   d41c49daf259 userfaultfd: check VM_MAYWRITE was set after verifying the uffd is registered
   498a6e6be0de fs/iomap.c: get/put the page in iomap_page_create/release()
   b11d5c025d8e scripts/spdxcheck.py: always open files in binary mode
   a6136922d905 aio: fix spectre gadget in lookup_ioctx
   4c74d5f1836e pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11
   67e255bf2f34 drm/msm: fix address space warning
   26527312c519 ARM: dts: qcom-apq8064-arrow-sd-600eval fix graph_endpoint warning
   cd50eeeb6646 i2c: aspeed: fix build warning
   340a904a1944 slimbus: ngd: mark PM functions as __maybe_unused
   14e8b9ec43c9 staging: olpc_dcon: add a missing dependency
   cda8e63c89d7 scsi: raid_attrs: fix unused variable warning
   dc5350715915 sched/pelt: Fix warning and clean up IRQ PELT config
   b23de3254f8c Linux 4.19.10
   d265655ae46b tcp: lack of available data can also cause TSO defer
   bddeb44981c1 bpf: fix off-by-one error in adjust_subprog_starts
   1fd99ac175e6 IB/hfi1: Fix an out-of-bounds access in get_hw_stats
   2a493d8ef5b9 ALSA: hda/realtek - Fix the mute LED regresion on Lenovo X1 Carbon
   178b1a584e7f ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN/UX333FA with ALC294
   1be8246777c5 ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294
   487b6512d881 ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN
   c8461d87716b ALSA: hda/realtek - Fixed headphone issue for ALC700
   03e8b38c5177 ALSA: fireface: fix reference to wrong register for clock configuration
   384f18115267 dax: Check page->mapping isn't NULL
   111758f73595 flexfiles: enforce per-mirror stateid only for v4 DSes
   a31da26a15e9 ocfs2: fix potential use after free
   2a5d5f5f47b9 initramfs: clean old path before creating a hardlink
   c6900015132a kernel/kcov.c: mark funcs in __sanitizer_cov_trace_pc() as notrace
   359c0c4aefa1 proc: fixup map_files test on arm
   53f1c27ac5d5 debugobjects: avoid recursive calls with kmemleak
   ab31765ef4dd hfsplus: do not free node before using
   f7cbec75fb0b hfs: do not free node before using
   505bc9f38996 mm/page_alloc.c: fix calculation of pgdat->nr_zones
   6aab48ae8ab5 ocfs2: fix deadlock caused by ocfs2_defrag_extent()
   126afacf7a8f ACPI/IORT: Fix iort_get_platform_device_domain() uninitialized pointer value
   992a773cb9bb nvme-rdma: fix double freeing of async event data
   5893e48f8f8a nvme: flush namespace scanning work just before removing namespaces
   1bda8b799665 nvme: warn when finding multi-port subsystems without multipathing enabled
   1f925643315d fscache, cachefiles: remove redundant variable 'cache'
   d8bf97a0a489 cachefiles: Explicitly cast enumerated type in put_object
   02bd7b740cbb fscache: fix race between enablement and dropping of object
   52da87f0e2e8 afs: Fix validation/callback interaction
   ce469db0943b pstore/ram: Correctly calculate usable PRZ bytes
   ff5ac9bd16ef pvcalls-front: fixes incorrect error handling
   a9d79a0751a2 Revert "xen/balloon: Mark unallocated host memory as UNUSABLE"
   c1a21086bbbd xen: xlate_mmu: add missing header to fix 'W=1' warning
   f3c73ae453ed drm/ast: fixed reading monitor EDID not stable issue
   cbd6a7ea6068 drm/amdgpu: Add delay after enable RLC ucode
   3b54558a73d0 net: hisilicon: remove unexpected free_netdev
   e3fb9d84fdd1 ixgbe: recognize 1000BaseLX SFP modules as 1Gbps
   4b0f9f881bc1 igb: fix uninitialized variables
   eee2269fd04f cachefiles: Fix page leak in cachefiles_read_backing_file while vmscan is active
   a4a7a0d729c0 fscache: Fix race in fscache_op_complete() due to split atomic_sub & read
   5132f91318ed cachefiles: Fix an assertion failure when trying to update a failed object
   815899cf26f6 ALSA: usb-audio: Add vendor and product name for Dell WD19 Dock
   e5f42e061789 netfilter: nf_tables: deactivate expressions in rule replecement routine
   6d665dab42e7 usb: gadget: u_ether: fix unsafe list iteration
   227b1745cd97 net: thunderx: fix NULL pointer dereference in nic_remove
   bf1b47f33cb1 x86/kvm/vmx: fix old-style function declaration
   d6b1692d9b9e KVM: x86: fix empty-body warnings
   3c7670d56ac6 KVM: VMX: Update shared MSRs to be saved/restored on MSR_EFER.LMA changes
   8038f92df3eb netfilter: nf_conncount: remove wrong condition check routine
   5517d4c6dcbb netfilter: nat: fix double register in masquerade modules
   18218f827e3c netfilter: add missing error handling code for register functions
   4f03e063a554 IB/mlx5: Fix page fault handling for MW
   9838090d9859 netfilter: ipv6: Preserve link scope traffic original oif
   bf6f1276768f drm/meson: add support for 1080p25 mode
   5dda1e7d7ce4 thunderbolt: Prevent root port runtime suspend during NVM upgrade
   9ca88f3c4cb5 USB: omap_udc: fix rejection of out transfers when DMA is used
   b58128138f06 USB: omap_udc: fix USB gadget functionality on Palm Tungsten E
   634395d20d7d USB: omap_udc: fix omap_udc_start() on 15xx machines
   27b61cbaa809 USB: omap_udc: fix crashes on probe error and module removal
   66d73a4ef37e USB: omap_udc: use devm_request_irq()
   28ad9091e186 ipvs: call ip_vs_dst_notifier earlier than ipv6_dev_notf
   2aad202fcd4c fsi: master-ast-cf: select GENERIC_ALLOCATOR
   6bfebedaa810 bpf: fix check of allowed specifiers in bpf_trace_printk
   4c7d50c23a88 RDMA/hns: Bugfix pbl configuration for rereg mr
   ad374d10b78e exportfs: do not read dentry after free
   0aeda30045b6 ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE
   38f3a0f01052 ASoC: omap-mcpdm: Add pm_qos handling to avoid under/overruns with CPU_IDLE
   abf7201316a3 ASoC: omap-mcbsp: Fix latency value calculation for pm_qos
   1f1aedd6b19a tools: bpftool: fix potential NULL pointer dereference in do_load
   8653ffc34cee RDMA/rdmavt: Fix rvt_create_ah function signature
   59315d0ca4fa RDMA/bnxt_re: Avoid accessing the device structure after it is freed
   f4515855b7a1 RDMA/bnxt_re: Fix system hang when registration with L2 driver fails
   5a49ef9832e5 RDMA/core: Add GIDs while changing MAC addr only for registered ndev
   7c736fee5a5d RDMA/mlx5: Fix fence type for IB_WR_LOCAL_INV WR
   91f6a9aa7952 Btrfs: send, fix infinite loop due to directory rename dependencies
   b3159470aa8f ARM: dts: at91: sama5d2: use the divided clock for SMC
   4724b50f9e09 phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845
   d801a3eff554 phy: qcom-qusb2: Use HSTX_TRIM fused value as is
   3d2d2ba0c296 objtool: Fix segfault in .cold detection with -ffunction-sections
   79cd7b0e114d objtool: Fix double-free in .cold detection error path
   a8657e682427 ASoC: acpi: fix: continue searching when machine is ignored
   2a031cab71cd PCI: imx6: Fix link training status detection in link up check
   67707627c2f2 perf tools: Restore proper cwd on return from mnt namespace
   f3ff2ac4169e hwmon: (w83795) temp4_type has writable permission
   fb0fc90cc20f netfilter: xt_hashlimit: fix a possible memory leak in htable_create()
   df66ef67c334 aio: fix failure to put the file pointer
   5689666aa134 bpf: allocate local storage buffers using GFP_ATOMIC
   0d4ff09997f3 hwmon: (mlxreg-fan) Fix macros for tacho fault reading
   842aeeac335e spi: omap2-mcspi: Add missing suspend and resume calls
   fa3ceb3b59e5 ASoC: dapm: Recalculate audio map forcely when card instantiated
   abbd01b77987 ASoC: omap-abe-twl6040: Fix missing audio card caused by deferred probing
   3ef0d19cd815 hwmon: (ina2xx) Fix current value calculation
   d70a6605fe94 s390/cpum_cf: Reject request for sampling in event initialization
   2309636dc474 ASoC: qcom: Set dai_link id to each dai_link
   88e8e3c710b1 ASoC: Intel: Power down links before turning off display audio power
   737f3bb3e4be ASoC: wm_adsp: Fix dma-unsafe read of scratch registers
   e4777c2e40f0 ASoC: rockchip: add missing slave_config setting for I2S
   dbc62bd3b05b hwmon: (raspberrypi) Fix initial notify
   08cff35113e5 hwmon (ina2xx) Fix NULL id pointer in probe()
   61170596e1c0 s390/cio: Fix cleanup when unsupported IDA format is used
   a4f21114d83e s390/cio: Fix cleanup of pfn_array alloc failure
   00bac44c9991 netfilter: nf_tables: fix use-after-free when deleting compat expressions
   e947f9aa9a61 netfilter: xt_RATEEST: remove netns exit routine
   f8328abb8782 perf tools: Fix crash on synthesizing the unit
   d15443a19d41 selftests: add script to stress-test nft packet path vs. control plane
   8fe8940ffcf6 netfilter: nf_tables: don't skip inactive chains during update
   4a3b49f0ced5 netfilter: nf_conncount: fix unexpected permanent node of list.
   ae60f4705f95 netfilter: nf_conncount: fix list_del corruption in conn_free
   08c7e68ab261 netfilter: nf_conncount: use spin_lock_bh instead of spin_lock
   f6168a800b6b sysv: return 'err' instead of 0 in __sysv_write_inode
   1eb8dd51887b arm64: dts: sdm845-mtp: Reserve reserved gpios
   411b321f0ff5 ASoC: sun8i-codec: fix crash on module removal
   b42ab5284412 tools: bpftool: prevent infinite loop in get_fdinfo()
   136c52373429 ARM: OMAP1: ams-delta: Fix possible use of uninitialized field
   28f3050b13ab ARM: dts: am3517-som: Fix WL127x Wifi interrupt
   9f7df2a39ab8 ARM: dts: logicpd-somlv: Fix interrupt on mmc3_dat1
   09372f3cbeed ARM: dts: LogicPD Torpedo: Fix mmc3_dat1 interrupt
   886e00c5fe3d ARM: dts: am3517: Fix pinmuxing for CD on MMC1
   de7e3f88dd5c staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()'
   748b7861bce5 ASoC: qdsp6: q6afe-dai: Fix the dai widgets
   32d28e247da7 ASoC: qdsp6: q6afe: Fix wrong MI2S SD line mask
   8ec3e5552e4e ASoC: rsnd: fixup clock start checker
   5a8fbba77bf8 ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup
   9ac607494a5d net: fix XPS static_key accounting
   b4b8a71c72ba net: restore call to netdev_queue_numa_node_write when resetting XPS
   a275c66b4d81 sctp: update frag_point when stream_interleave is set
   4aa6d46d1711 net: phy: sfp: correct store of detected link modes
   a7dba859ca58 virtio-net: keep vnet header zeroed after processing XDP
   36206419989d tun: forbid iface creation with rtnl ops
   bbc83e8d08cb tcp: fix NULL ref in tail loss probe
   03b271cb9175 tcp: Do not underestimate rwnd_limited
   5148726f2c27 sctp: kfree_rcu asoc
   a482f800169c rtnetlink: ndo_dflt_fdb_dump() only work for ARPHRD_ETHER devices
   f5c9c30da730 Revert "net/ibm/emac: wrong bit is used for STA control"
   7fafda16bb64 net: use skb_list_del_init() to remove from RX sublists
   16218638a239 net: Prevent invalid access to skb->prev in __qdisc_drop_all
   ac1fb97e9136 net: phy: don't allow __set_phy_supported to add unsupported modes
   70727c00cbb7 net/mlx4_en: Change min MTU size to ETH_MIN_MTU
   1fa276e92009 net/mlx4_core: Correctly set PFC param if global pause is turned off.
   ec5d7ceda60a net: 8139cp: fix a BUG triggered by changing mtu with network traffic
   c4ec6a9a788a ipv6: sr: properly initialize flowi6 prior passing to ip6_route_output
   0e96b90351f4 neighbour: Avoid writing before skb->head in neigh_hh_output()
   fd018cb37ea0 ipv6: Check available headroom in ip6_xmit() even without options
   ffe5754d2823 ipv4: ipv6: netfilter: Adjust the frag mem limit when truesize changes
   be53d23e68c2 Linux 4.19.9
   0fc19a8881e6 HID: quirks: fix RetroUSB.com devices
   b74a078e48a9 mac80211: ignore NullFunc frames in the duplicate detection
   e9f8baa38c2a mac80211: fix reordering of buffered broadcast packets
   50749911b1cc mac80211: ignore tx status for PS stations in ieee80211_tx_status_ext
   a75ac4e15e9c mac80211: Clear beacon_int in ieee80211_do_stop
   e08ab93325bb mac80211: fix GFP_KERNEL under tasklet context
   daac338a9e7b mac80211_hwsim: Timer should be initialized before device registered
   d66c1b9280d1 cfg80211: Fix busy loop regression in ieee80211_ie_split_ric()
   98206f340033 libnvdimm, pfn: Pad pfn namespaces relative to other regions
   beb68a727fb9 kgdboc: fix KASAN global-out-of-bounds bug in param_set_kgdboc_var()
   3c1773b0275e gnss: sirf: fix activation retry handling
   41867ab9b0d3 tty: do not set TTY_IO_ERROR flag if console port
   ecbfb178c75c tty: serial: 8250_mtk: always resume the device in probe.
   b02b86bc74c3 Drivers: hv: vmbus: Offload the handling of channels to two workqueues
   e88ebc06bd53 x86/efi: Allocate e820 buffer before calling efi_exit_boot_service
   ce74d11a3794 kprobes/x86: Fix instruction patching corruption when copying more than one RIP-relative instruction
   1a9056407808 drm/i915: Downgrade Gen9 Plane WM latency error
   e8a7f59e3643 drm/amdgpu/gmc8: always load MC firmware in the driver
   39bdb32876df drm/amdgpu/gmc8: update MC firmware for polaris
   2abdfe248369 drm/msm: Move fence put to where failure occurs
   318f6e599dcd drm/lease: Send a distinct uevent
   fcf5d0dbfb7f drm/amdgpu: update mc firmware image for polaris12 variants
   2f94605195ab crypto: do not free algorithm before using
   35929281460b Revert commit ef9209b642f "staging: rtl8723bs: Fix indenting errors and an off-by-one mistake in core/rtw_mlme_ext.c"
   9138ce0a8011 staging: rtl8712: Fix possible buffer overrun
   99c694081ba2 cifs: Fix separator when building path from dentry
   bd5d1c273cce Revert "x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"
   e92cc52ee5e7 arm64: dts: rockchip: remove vdd_log from rock960 to fix a stability issues
   33f310e09388 xhci: Prevent U1/U2 link pm states if exit latency is too long
   5d3b10677bf8 xhci: workaround CSS timeout on AMD SNPS 3.0 xHC
   3fe0c68aea21 ARM: 8806/1: kprobes: Fix false positive with FORTIFY_SOURCE
   37e74076f3cb dmaengine: cppi41: delete channel from pending list when stop channel
   374f384bc66f dmaengine: imx-sdma: use GFP_NOWAIT for dma descriptor allocations
   9063f5a99ea7 dmaengine: imx-sdma: implement channel termination via worker
   228bee887467 Revert "dmaengine: imx-sdma: alloclate bd memory from dma pool"
   2f79476548d8 Revert "dmaengine: imx-sdma: Use GFP_NOWAIT for dma allocations"
   37aefa023734 dmaengine: dw: Fix FIFO size for Intel Merrifield
   33154a299890 SUNRPC: Fix leak of krb5p encode pages
   1d9ca56698ad arm64: hibernate: Avoid sending cross-calling with interrupts disabled
   f9cd25b1e5e5 vhost/vsock: fix use-after-free in network stack callers
   2a622040a8bc virtio/s390: fix race in ccw_io_helper()
   79f6e9facb8b virtio/s390: avoid race on vcdev->config
   6c9ac388c6c8 parisc: Enable -ffunction-sections for modules on 32-bit kernel
   c91ec2c4eb65 Revert "mfd: cros_ec: Use devm_kzalloc for private data"
   24a776e398e9 media: dvb-pll: don't re-validate tuner frequencies
   d7db76065041 media: dvb-pll: fix tuner frequency ranges
   663bfc44d1a0 media: vicodec: fix memchr() kernel oops
   c4dabf370838 media: gspca: fix frame overflow error
   fbb982c6ad97 ALSA: hda/realtek: Fix mic issue on Acer AIO Veriton Z4860G/Z6860G
   ba3ce1bf275c ALSA: hda/realtek: Fix mic issue on Acer AIO Veriton Z4660G
   bf03eb5e297f ALSA: hda/realtek - Add support for Acer Aspire C24-860 headset mic
   642314e11ade ALSA: hda/realtek: ALC286 mic and headset-mode fixups for Acer Aspire U27-880
   071b34a1a5ed ALSA: hda/realtek - Fix speaker output regression on Thinkpad T570
   a2928e749812 ALSA: pcm: Fix interval evaluation with openmin/max
   19054c18846e ALSA: pcm: Call snd_pcm_unlink() conditionally at closing
   026fdecbc3d7 ALSA: pcm: Fix starvation on down_write_nonblock()
   2ea30d9d5fa1 ALSA: hda: Add support for AMD Stoney Ridge
   a7e719ace75e ALSA: usb-audio: Fix UAF decrement if card has no live interfaces in card.c
   86c257e05223 ALSA: usb-audio: Add SMSL D1 to quirks for native DSD support
   9d9026afc36b USB: serial: console: fix reported terminal settings
   1b2e742bf723 USB: check usb_get_extra_descriptor for proper size
   24e09d7a52ae usb: appledisplay: Add 27" Apple Cinema Display
   f025aa79bda0 usb: quirk: add no-LPM quirk on SanDisk Ultra Flair device
   c34678d4c155 net: amd: add missing of_node_put()
   ebc4b790103d team: no need to do team_notify_peers or team_mcast_rejoin when disabling port
   f1c4022ab268 ibmvnic: Update driver queues after change in ring size support
   a13220e6817c ibmvnic: Fix RX queue buffer cleanup
   0a98c7c5dc62 flexfiles: use per-mirror specified stateid for IO
   07b92c224d5c NFSv4.2 copy do not allocate memory under the lock
   d1862827f41a iommu/vt-d: Use memunmap to free memremap
   549e3c24ac34 net: faraday: ftmac100: remove netif_running(netdev) check before disabling interrupts
   d69eb98a86c0 riscv: fix warning in arch/riscv/include/asm/module.h
   bfa634ba505a net/ibmnvic: Fix deadlock problem in reset
   07f745f9a6d6 qed: Fix QM getters to always return a valid pq
   b63de4413656 qed: Fix bitmap_weight() check
   e359a17143ef NFSv4: Fix a NFSv4 state manager deadlock
   4a9ad460a07b net: ena: fix crash during failed resume from hibernation
   d7dace92d040 mtd: spi-nor: Fix Cadence QSPI page fault kernel panic
   d861fe2fd5b1 HID: multitouch: Add pointstick support for Cirque Touchpad
   699faa9cf00c Revert "HID: uhid: use strlcpy() instead of strncpy()"
   0799feafeb1b cpufreq: ti-cpufreq: Only register platform_device when supported
   1a488242d942 mtd: rawnand: qcom: Namespace prefix some commands
   4ef9e48c9c8f tc-testing: tdc.py: Guard against lack of returncode in executed command
   9806e7473d10 tc-testing: tdc.py: ignore errors when decoding stdout/stderr
   b8c51924b4e1 gpio: mockup: fix indicated direction
   b9284d6c30cb gpio: pxa: fix legacy non pinctrl aware builds again
   9ebacc1a8754 drivers/net/ethernet/qlogic/qed/qed_rdma.h: fix typo
   b53fa368dd8e net/mlx4: Fix UBSAN warning of signed integer overflow
   034f7ad3f706 net/mlx4_core: Fix uninitialized variable compilation warning
   5110c0406c8c net/mlx4_core: Zero out lkey field in SW2HW_MPT fw command
   3374518d4d1a drm/amd/display: Support amdgpu "max bpc" connector property (v2)
   a0c25b4098b8 drm/amdgpu: Add amdgpu "max bpc" connector property (v2)
   12163e3e6902 bnxt_en: Fix filling time in bnxt_fill_coredump_record()
   0e79e30e6121 nvme-fc: resolve io failures during connect
   b65fa443e56e s390/ism: clear dmbe_mask bit before SMC IRQ handling
   8b87305f816c Revert "usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers"
   3355199746b8 usb: dwc2: pci: Fix an error code in probe
   4f22a32f555d qed: Fix reading wrong value in loop condition
   d4105c836c13 qed: Fix rdma_info structure allocation
   52da24907e6e qed: Fix overriding offload_tc by protocols without APP TLV
   631ebe93bdcb qed: Fix PTT leak in qed_drain()
   147bcca117b8 bnx2x: Assign unique DMAE channel number for FW DMAE transactions.
   821d0b9afa8d amd/iommu: Fix Guest Virtual APIC Log Tail Address Register
   2e959f250949 batman-adv: Expand merged fragment buffer for full packet
   25683accf7c7 batman-adv: Use explicit tvlv padding for ELP packets
   92724c1deaf9 HID: input: Ignore battery reported by Symbol DS4308
   27b504af882b test_firmware: fix error return getting clobbered
   0e3e8e31877a can: rcar_can: Fix erroneous registration
   1f329e64e1f1 can: ucan: remove set but not used variable 'udev'
   f2e78c08e844 scsi: ufs: Fix hynix ufs bug with quirk on hi36xx SoC
   c97a2a726cef iommu/ipmmu-vmsa: Fix crash on early domain free
   e2807327b562 mt76: fix building without CONFIG_LEDS_CLASS
   4a4c9b29a0c1 brcmutil: really fix decoding channel info for 160 MHz bandwidth
   093255da5688 iommu/vt-d: Fix NULL pointer dereference in prq_event_thread()
   f84263bfd801 media: ipu3-cio2: Unregister device nodes first, then release resources
   61880fb56851 media: omap3isp: Unregister media device as first
   cd7b7f509cd0 media: cec: check for non-OK/NACK conditions while claiming a LA
   35eaa0ee4e69 media: vicodec: lower minimum height to 360

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto/4.19: introduce qemuriscv64 and qemuarma15 BSP definitions
Bruce Ashfield [Sat, 12 Jan 2019 18:12:51 +0000 (13:12 -0500)]
linux-yocto/4.19: introduce qemuriscv64 and qemuarma15 BSP definitions

Incorporating the BSP definitions for two new qemu targets.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolib/sstatesig: Update to longer sha256 hash length
Richard Purdie [Sat, 12 Jan 2019 16:17:08 +0000 (16:17 +0000)]
lib/sstatesig: Update to longer sha256 hash length

Update the code to match the recent switch to sha256 hashes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agostrace: update from 4.25 to 4.26
Randy MacLeod [Sat, 12 Jan 2019 03:00:51 +0000 (22:00 -0500)]
strace: update from 4.25 to 4.26

Refresh patches using devtool.
Update license since the main code is now covered by
LGPL-2.1+ and the tests under GPL-2.
Fix a MIPS build error with an upstream patch.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowebkitgtk: Enable building for ARC architecture
Alexey Brodkin [Fri, 11 Jan 2019 12:50:14 +0000 (15:50 +0300)]
webkitgtk: Enable building for ARC architecture

For that we need 2 things:
 1. Disable JIT in JS as it's not supported for ARC.

 2. Compile with "-mlong-calls" so relocations with
    offsets larger than 25 bits are used, otherwise
    linker fails to link final binaries.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowic: allow bitbake variables in kickstarter files
Rasmus Villemoes [Tue, 3 Jul 2018 12:54:14 +0000 (14:54 +0200)]
wic: allow bitbake variables in kickstarter files

image_types_wic.bbclass has a mechanism for doing variable substitution
on .wks files by simply letting the input file be called
.wks.in. However, that doesn't allow using variables in files included
via the include directive. This is unfortunate, because lacking either
the ability to include other files or variable substitution leads to
fragile and error-prone duplication between kickstarter files and
recipes/configuration files used for various boards.

This adds (somewhat naive) support for variable substitution in all
files parsed by wic. The user should add all required variables to
WICVARS to get them exported appropriately.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotarget-sdk-provides-dummy: add more perl modules to avoid populate_sdk failure
Chen Qi [Thu, 10 Jan 2019 02:37:32 +0000 (10:37 +0800)]
target-sdk-provides-dummy: add more perl modules to avoid populate_sdk failure

When 'adduser' package, which is from meta-perl layer, is added to rootfs,
we will get do_populate_sdk failure like below.

Error:
 Problem: package perl-module-cwd-5.24.4-r0.core2_64 requires perl-module-dynaloader, but none of the providers can be installed
   - package perl-module-file-temp-5.24.4-r0.core2_64 requires perl-module-cwd, but none of the providers can be installed
   - package perl-module-dynaloader-5.24.4-r0.core2_64 requires perl-module-config, but none of the providers can be installed
   - package adduser-3.118-r0.core2_64 requires perl-module-file-temp, but none of the providers can be installed
   - package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl provided by perl-5.24.4-r0.core2_64

This is because adduser depends on some perl modules which are not
listed in target-sdk-provides-dummy.

So add these perl modules to avoid such failure.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobluez5: Fix status subcommand of init script
David Frey [Thu, 10 Jan 2019 19:23:52 +0000 (11:23 -0800)]
bluez5: Fix status subcommand of init script

Update the bluez5 init script to resolve an issue where the status
subcommand would exit without printing any message if bluez was not
running. The early exit was caused by the fact that the init script has
"set -e". When "pidof ${DAEMON} >/dev/null" is executed, the script
terminates immediately if bluez isn't running because pidof returns a
non-zero result. The fixed version does not suffer from this issue and
makes use of the "status" function from the functions library.

Signed-off-by: David Frey <dpfrey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopackage.bbclass: Make package output files more deterministic
Jacob Kroon [Thu, 10 Jan 2019 22:45:16 +0000 (23:45 +0100)]
package.bbclass: Make package output files more deterministic

Observing depsig.do_package for packages inbetween rebuilds indicated
that the following variables/files content was changing order randomly.
Make them deterministic by sorting the output:

 RDEPENDS_<pkg>
 RRECOMMENDS_<pkg>
 FILERDEPENDSFLIST_<pkg>

 packages-split/<pkg>.shlibdeps

The following variable was not observed to change, but it is
assumed that the same situation can occur, so do the same
sorting for consistency:

 FILERPROVIDESFLIST_<pkg>

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3-smmap: upgrade to 2.0.5
Ross Burton [Fri, 11 Jan 2019 12:34:55 +0000 (12:34 +0000)]
python3-smmap: upgrade to 2.0.5

The maintainer lost access to the smmap PyPi account so as with gitdb, set the
PyPi name to smmap2.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agorpm: produce sane amount of logging when creating a rootfs
Alexander Kanavin [Fri, 11 Jan 2019 10:43:49 +0000 (11:43 +0100)]
rpm: produce sane amount of logging when creating a rootfs

Previously there was lots of irrelevant noise in the logs,
because we also wanted to be able to debug postinst issues
easily. I have adjusted the logging levels so that
postinst info is still written to the logs, but other
things are not.

[YOCTO #13119]

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobinutils: bfd doesn't handle ELF compressed data alignment
Khem Raj [Fri, 11 Jan 2019 08:15:25 +0000 (00:15 -0800)]
binutils: bfd doesn't handle ELF compressed data alignment

Backport patches for ld/gold from master

[YOCTO# 13136]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/cases: Update test_ccache_tool
Robert Yang [Wed, 12 Dec 2018 06:44:26 +0000 (14:44 +0800)]
oeqa/selftest/cases: Update test_ccache_tool

Now we can compile m4-native rather than target m4, this can save a lot of
build time.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agoapr/openssl10: Enable ccache for them
Robert Yang [Fri, 7 Dec 2018 03:23:31 +0000 (19:23 -0800)]
apr/openssl10: Enable ccache for them

They work well now.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agocmake.bbclass: Make it work with ccache
Robert Yang [Tue, 18 Dec 2018 02:21:36 +0000 (10:21 +0800)]
cmake.bbclass: Make it work with ccache

This can make the following recipes work with cmake:
cmake libdnf libcomps librepo createrepo-c llvm dnf libsolv assimp waffle
libjpeg-turbo taglib libproxy libical

And the following 3 recipes don't:
webkitgtk vulkan piglit
Now cmake.bbclass doesn't disble ccache any more, disable it in the recipes if
needed.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agogoarch.bbclass: Set CCACHE_DISABLE
Robert Yang [Tue, 18 Dec 2018 02:50:28 +0000 (10:50 +0800)]
goarch.bbclass: Set CCACHE_DISABLE

Go can't be built with ccache.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agobitbake.conf: Enable -fdebug-prefix-map for nativesdk
Robert Yang [Fri, 14 Dec 2018 09:50:20 +0000 (17:50 +0800)]
bitbake.conf: Enable -fdebug-prefix-map for nativesdk

Files like lib/.debug/libgcc_s.so.1 from nativesdk-libgcc-dbg contains
buildpath without -fdebug-prefix-map, the root cause is object files (.o)
contain buildpath, and then ccache can't use them correctly.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agoccache.bbclass: Set CCACHE_CONFIGPATH to fix race issues
Robert Yang [Mon, 17 Dec 2018 06:30:27 +0000 (14:30 +0800)]
ccache.bbclass: Set CCACHE_CONFIGPATH to fix race issues

Fixed race issues when parallel build:
ccache: error: /path/to/ccache/i586-poky-linux/mmc-utils/ccache.conf: No such file or directory
ccache: error: /path/to/ccache/i586-poky-linux/mmc-utils/ccache.conf: No such file or directory

This is because we set CCACHE_DIR for earch recipe, and ccache will create a
ccache.conf for each CCACHE_DIR when CCACHE_CONFIGPATH is not set, but there
might be a race issue in parallel build:

ccache gcc file1.c
ccache gcc file2.c

If the two ccache processes use fopen(path, "w") to create ccache.conf at the
same time, the error would happen. Set CCACHE_CONFIGPATH to
meta/conf/ccache.conf can fix the problem, and we can add other configs to the
file when needed.

And also set cache_dir_levels to 1 (default is 2) since each recipe has a cache
dir, thus we don't have too many files in one dir.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agoccache.bbclass: Add task do_cleanccache
Robert Yang [Thu, 13 Dec 2018 09:33:13 +0000 (17:33 +0800)]
ccache.bbclass: Add task do_cleanccache

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agoccache.bbclass: Make it can be shared between different builds
Robert Yang [Thu, 13 Dec 2018 09:12:41 +0000 (17:12 +0800)]
ccache.bbclass: Make it can be shared between different builds

CCACHE_BASEDIR: ccache removes this from file path, so that hashes will be
                the same in different build dirs.

CCACHE_TOP_DIR: Set it to a shared location for different builds.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agoccache.bbclass: Refactor it to make it more reliable
Robert Yang [Fri, 7 Dec 2018 02:55:29 +0000 (18:55 -0800)]
ccache.bbclass: Refactor it to make it more reliable

The previous ccache.bbclass has the following problems:
- It uses host's ccache for native recipes, but this may not work on some
  hosts, for example, it nerver works on my Ubuntu 14.04.4, there are always
  build failures (m4-native failed at do_configure, and others will also be
  failed if I disable CCACHE for m4-native)

- native/nativesdk/cross/crosssdk recipes use host's ccache, but target uses
  ccache-native, this may confuse user.

- The target recipes may use both host's ccache and ccache-native, this may
  cause unexpected problems and be hard to debug. This is because ccache-native is
  in SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS, so ccache-native may not be present when
  rebuild target recipes, and then it would use hosttools/ccache, but the
  previous ccache files were generated by ccache-native.

- Target recipes can't use ccache when no ccache is installed on the host:
  CCACHE = "${@bb.utils.which(d.getVar('PATH'), 'ccache') and 'ccache '}"

After refactored:
All types recipes (native, target and others) will use ccache-native except
ccache-native itself, host's cache won't be used any more. It is more
reliable now, which will work everywhere when ccache-native can be built.

And now we need use "CCACHE_DISABLE = '1'" to disable ccache for the recipe
rather than "CCACHE = ''" since we set CCACHE in anonymous function, and
d.getVar('CCACHE') works after "CCACHE ??=" which is set in bitbake.conf, so we
can't check whether CCACHE is set or not in anonymous function since it is
always set. Use CCACHE_DISABLE to disable it would be more clear.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agoccache: 3.4.2 -> 3.5
Robert Yang [Mon, 17 Dec 2018 07:00:37 +0000 (15:00 +0800)]
ccache: 3.4.2 -> 3.5

License-Update: Copyright year and zlib version are changed, others are the
same.

This version supports CCACHE_DEBUG which will make the debug easier.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agoccache-native: Remove dependencies
Robert Yang [Wed, 12 Dec 2018 02:31:34 +0000 (10:31 +0800)]
ccache-native: Remove dependencies

Remove ccache-native's dependencies so that all native recipes can depend on
ccache-native and use it except ccache-native itself.

It has the following 4 dependencies:
- xz-native: It is intruduced by ccache-3.4.2.tar.xz, use ccache-3.4.2.tar.gz
             to replace of it can fix the problem.

- zlib-native: Use --with-bundled-zlib to fix it.

- autotools-native: Set INHIBIT_AUTOTOOLS_DEPS and add a do_configure() to fix
                    the problem.

- quilt-native: Set PATCHTOOL = "patch" to fix it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agonfs-utils: fix build error under tests folder
Mingli Yu [Tue, 18 Dec 2018 05:21:00 +0000 (21:21 -0800)]
nfs-utils: fix build error under tests folder

* Redefine the reference path of libnfs.a to
  ../support/nfs/.libs/libnfs.a to fix below
  error when run "make -C tests statdb_dump".
  | make: *** No rule to make target '../support/nfs/libnfs.a', needed by 'statdb_dump'.  Stop.
  | make: *** No rule to make target '../../support/nfs/libnfs.a', needed by 'nsm_client'.  Stop.

* The function generic_make_pathname is introduced in
  nfs-utils 2.3.1.
  Add the source file which defines function generic_make_pathname to
  libnsm_a_SOURCES of libnsm.a to fix the undefined reference
  when run "make -C tests statdb_dump"
  | ../support/nsm/libnsm.a(file.o): In function `nsm_make_pathname':
  | /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:175: undefined reference to `generic_make_pathname'
  | /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:175: undefined reference to `generic_make_pathname'
  | /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:175: undefined reference to `generic_make_pathname'
  | ../support/nsm/libnsm.a(file.o): In function `nsm_setup_pathnames':
  | /usr/src/debug/nfs-utils/2.3.1-r0/nfs-utils-2.3.1/support/nsm/file.c:280: undefined reference to `generic_setup_basedir'
  | collect2: error: ld returned 1 exit status

* After the logic of commit[dbb643e Removed missing-prototypes warnings.]
  introduced, there comes below error when run
  "make -C tests/nsm_client nsm_client"
  | nlm_sm_inter_svc.c:20:1: error: no previous prototype for 'nlm_sm_prog_3' [-Werror=missing-prototypes]

  It is because rpcgen doesn't generate -Wmissing-prototypes
  free code for nlm_sm_inter_svc.c with below logic
  in tests/nsm_client/Makefile.am
  [snip]
  GENFILES_SVC    = nlm_sm_inter_svc.c
  [snip]
  $(GENFILES_SVC): %_svc.c: %.x $(RPCGEN)
        test -f $@ && rm -rf $@ || true
        $(RPCGEN) -m -o $@ $<
 So add the patch to not fatalize -Wmissing-prototypes.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopulseaudio: switch configuration module from GConf to GSettings
Ross Burton [Tue, 8 Jan 2019 13:16:11 +0000 (13:16 +0000)]
pulseaudio: switch configuration module from GConf to GSettings

The only user of the configuration module is paprefs, which as of 1.0 uses GSettings not GConf.

Also GConf is unmaintained, so one less recipe using it is good.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopulseaudio: add PACKAGECONFIGs for GConf and GSettings
Ross Burton [Mon, 7 Jan 2019 17:42:40 +0000 (17:42 +0000)]
pulseaudio: add PACKAGECONFIGs for GConf and GSettings

Behaviour is kept the same.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogsettings: allow the schemas to be in any package
Ross Burton [Fri, 4 Jan 2019 15:23:17 +0000 (15:23 +0000)]
gsettings: allow the schemas to be in any package

Instead of assuming that the schemas are located in ${PN}, add a
GSETTINGS_PACKAGE variable for the package name and default it to ${PN}.

For recipe that can conditionally ship schemas, support GSETTINGS_PACKAGE being
empty gracefully by doing nothing.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopulseaudio: fix multilib packaging
Ross Burton [Wed, 9 Jan 2019 17:43:21 +0000 (17:43 +0000)]
pulseaudio: fix multilib packaging

The magic multilibisation doesn't quite catch every instance, so replace
'pulseaudio' with ${PN} where needed to ensure the packaging is as intended.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopulseaudio: enforce empty PN
Ross Burton [Wed, 9 Jan 2019 16:34:26 +0000 (16:34 +0000)]
pulseaudio: enforce empty PN

The intention is that PN is empty, enforce that so new files don't end up in PN
silently.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopulseaudio: improve reproducibility
Hongxu Jia [Wed, 12 Dec 2018 02:43:54 +0000 (10:43 +0800)]
pulseaudio: improve reproducibility

There are two fixes, one is sent to upstream,
and another is oe specific.

[YOCTO #12638]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agosystemd: Add PACKAGECONFIG for gnutls
Alex Kiernan [Thu, 10 Jan 2019 09:03:18 +0000 (09:03 +0000)]
systemd: Add PACKAGECONFIG for gnutls

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agooeqa: make it work for multiple users
Robert Yang [Thu, 10 Jan 2019 07:49:49 +0000 (15:49 +0800)]
oeqa: make it work for multiple users

There are failures when multiple users run oe-selftest on the same
host:

PermissionError: [Errno 13] Permission denied: '/tmp/oe-saved-
tests/201812250324_qemu'

This is because /tmp/oe-saved-tests was created by user A, while user B tries
to write data in it, then the error will happen. This patch can fix the
problem.

Move the dumped data to ${LOG_DIR}/runtime-hostdump/ rather than
/tmp/oe-saved-tests/ to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agosdk: Fix SDKIMAGE_LINGUAS handling
Richard Weinberger [Wed, 9 Jan 2019 20:42:19 +0000 (21:42 +0100)]
sdk: Fix SDKIMAGE_LINGUAS handling

Currently SDKIMAGE_LINGUAS is broken for any inputs except "all".
In the non-"all" case, each enabled language package is installed via
pm.install("nativesdk-glibc-binary-localedata-%s.utf-8" % lang)
This will throw a python exception since pm.install() expects a list of
strings and not a string.

Fix the problem by constructing a list.
That way it is now also possible to call the package installer just
once.

Cc: "Burton, Ross" <ross.burton@intel.com>
Fixes: 67615e01751b ("rootfs_rpm.bbclass: migrate image creation to dnf")
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoptest-runner: Upgrade to 2.3
Aníbal Limón [Wed, 9 Jan 2019 18:35:41 +0000 (12:35 -0600)]
ptest-runner: Upgrade to 2.3

Addes support to report timeout in XML file and duration in
stdout and XML file.

See,

http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=a16f2c137b
http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=8071258373

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agonativesdk-icecc-toolchain: Use TARGET_PREFIX in post-relocate
Joshua Watt [Wed, 9 Jan 2019 15:28:20 +0000 (09:28 -0600)]
nativesdk-icecc-toolchain: Use TARGET_PREFIX in post-relocate

The icecc setup for the SDK was broken in multilib configurations now
that each multilib environment runs the post-relocate scripts
separately. Including $TARGET_PREFIX in the icecc shim path and in the
toolchain environment name prevents the various multilib setups from
conflicting.

[YOCTO #13128]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoclasses/icecc: Remove trailing whitespace
Joshua Watt [Wed, 9 Jan 2019 15:28:19 +0000 (09:28 -0600)]
classes/icecc: Remove trailing whitespace

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoclasses/icecc: Check blacklist for BPN
Joshua Watt [Wed, 9 Jan 2019 15:28:18 +0000 (09:28 -0600)]
classes/icecc: Check blacklist for BPN

If a given PN is listed in the icecream blacklist, there is a very good
chance that the native, nativesdk, and multilib variants should also be
skipped. Check the blacklist entries against BPN to cover them.

[YOCTO #13128]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agobusybox: Enable mountpoint and setsid applets
Khem Raj [Wed, 2 Jan 2019 19:21:11 +0000 (11:21 -0800)]
busybox: Enable mountpoint and setsid applets

This is needed by some init system services and if
init system is not sysvinit then we dont have it, therefore
its useful to have it provided via busybox as a backup

Enable CONFIG_SETSID to get setsid, needed by runit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoinitramfs-boot: create /dev/console
Jacob Kroon [Tue, 25 Dec 2018 09:20:34 +0000 (10:20 +0100)]
initramfs-boot: create /dev/console

The Yocto kernel expects a proper /dev/console to exist before running init,
otherwise booting will fail with the message:

  Kernel panic - not syncing: /dev/console is missing or not a character device!
  Please ensure your rootfs is properly configured

Add similar fix as was done for initramfs-framework and initramfs-live-boot
in commits

  0352841cd92f6316bcac092e2fff9d28c352b36b
  1b64664f0c388f41084f5db6e46e3e68c53fb6d9

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agobuildhistory: simplify buildhistory_list_files()
Jacob Kroon [Sun, 6 Jan 2019 18:13:49 +0000 (19:13 +0100)]
buildhistory: simplify buildhistory_list_files()

Avoid duplicating shell code for the two cases, fakeroot/non-fakeroot.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopython3-pbr:Upgrade to 5.1.1
Hong Liu [Wed, 9 Jan 2019 01:52:23 +0000 (09:52 +0800)]
python3-pbr:Upgrade to 5.1.1

Upgrade python3-pbr from 4.2.0 to 5.1.1.

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopackage.bbclass: Do not hide cpio's error
Robert Yang [Fri, 14 Dec 2018 06:55:49 +0000 (14:55 +0800)]
package.bbclass: Do not hide cpio's error

We use subprocess.check_output() to run the command, which means that we need care
about the error, so the 2>/dev/null should not be used, otherwise it is hard to
debug when the error happens.

I guess it was copied from previous lines, but that command's error can be
ignored (excpet: pass):
   try:
       subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
   except subprocess.CalledProcessError:
       # Can "fail" if internal headers/transient sources are attempted
       pass

But we don't do this in the current location, so remove "2>/dev/null"

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agoat-spi2: fix dbus-daemon path
Jed [Mon, 17 Dec 2018 18:08:23 +0000 (13:08 -0500)]
at-spi2: fix dbus-daemon path

"dbus_daemon" is supposed to be set to the full dbus-daemon file
path, not just its directory.

Signed-off-by: Jed <jed.openxt@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomdadm: fix gcc-8 format-truncation warning
Hongxu Jia [Fri, 14 Dec 2018 07:29:56 +0000 (15:29 +0800)]
mdadm: fix gcc-8 format-truncation warning

While compiling with `-Werror=format-truncation=', it failed
[snip]
|super0.c:236:32: error: 'snprintf' output may be truncated
before the last format character [-Werror=format-truncation=]
|   snprintf(nb, sizeof(nb), "%4d", d);
|                                ^
|super0.c:236:3: note: 'snprintf' output between 5 and 12 bytes
into a destination of size 11
|   snprintf(nb, sizeof(nb), "%4d", d);
[snip]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agouboot-sign.bbclass: silence warnings when UBOOT_DTB_BINARY is empty
Alex Kiernan [Wed, 12 Dec 2018 20:18:46 +0000 (20:18 +0000)]
uboot-sign.bbclass: silence warnings when UBOOT_DTB_BINARY is empty

When UBOOT_DTB_BINARY is set to "", the keys for signed booting are
expected to be already present in U-Boot's DTB, so don't issue warnings
for this.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agodistro_features_check.bbclass: show all error info at one time
Kai Kang [Thu, 6 Dec 2018 13:41:39 +0000 (21:41 +0800)]
distro_features_check.bbclass: show all error info at one time

In distro_features_check.bbclass it checks whether items in
REQUIRED_DISTRO_FEATURES and CONFLICT_DISTRO_FEATURES exist in
DISTRO_FEATURES. But it only shows one required or conflict distro
feature when error occurs. Update to show them all at one time.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agojson-glib: upgrade 1.4.2 -> 1.4.4
Yi Zhao [Wed, 9 Jan 2019 07:19:43 +0000 (15:19 +0800)]
json-glib: upgrade 1.4.2 -> 1.4.4

Add PACKAGECONFIG[manpages] for generating man pages.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agologrotate: upgrade 3.14.0 -> 3.15.0
Yi Zhao [Wed, 9 Jan 2019 07:19:42 +0000 (15:19 +0800)]
logrotate: upgrade 3.14.0 -> 3.15.0

Refresh patches:
  act-as-mv-when-rotate.patch
  disable-check-different-filesystems.patch

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agognu-efi: upgrade 3.0.8 -> 3.0.9
Yi Zhao [Wed, 9 Jan 2019 07:19:41 +0000 (15:19 +0800)]
gnu-efi: upgrade 3.0.8 -> 3.0.9

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowget: upgrade 1.19.5 -> 1.20.1
Yi Zhao [Wed, 9 Jan 2019 07:19:40 +0000 (15:19 +0800)]
wget: upgrade 1.19.5 -> 1.20.1

Drop 0001-Unset-need_charset_alias-when-building-for-musl.patch as it
had been fixed upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibsdl2: upgrade 2.0.8 -> 2.0.9
Yi Zhao [Wed, 9 Jan 2019 07:19:39 +0000 (15:19 +0800)]
libsdl2: upgrade 2.0.8 -> 2.0.9

Drop 0001-GLES2-Get-sin-cos-out-of-vertex-shader.patch as it had been
merged upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibcap: upgrade 2.25 -> 2.26
Yi Zhao [Wed, 9 Jan 2019 07:19:38 +0000 (15:19 +0800)]
libcap: upgrade 2.25 -> 2.26

Drop 0001-Fix-build-with-gperf-3.1.patch as it had been fixed upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agofile: upgrade 5.34 -> 5.35
Yi Zhao [Wed, 9 Jan 2019 07:19:37 +0000 (15:19 +0800)]
file: upgrade 5.34 -> 5.35

License-Update: remove trailing whitespace from COPYING

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoltp: update HOMEPAGE
Yi Zhao [Wed, 9 Jan 2019 07:19:36 +0000 (15:19 +0800)]
ltp: update HOMEPAGE

The project pages and wiki has been moved to GitHub.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibcheck: update HOMEPAGE
Yi Zhao [Wed, 9 Jan 2019 07:19:35 +0000 (15:19 +0800)]
libcheck: update HOMEPAGE

The project has been moved to GitHub.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopackage.bbclass: Sort FILES_INFO by key
Jacob Kroon [Tue, 8 Jan 2019 22:13:01 +0000 (23:13 +0100)]
package.bbclass: Sort FILES_INFO by key

Observing depsig.do_package for a package inbetween rebuilds indicated
that FILES_INFO was changing content order randomly. Force it to be
deterministic by sorting with respect to the keys when serializing.

Suggested-by: Joshua Watt <jpewhacker@gmail.com>
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-libc-headers_4.19.bb: Backport patch to fix clockid_t in UAPI
Khem Raj [Tue, 8 Jan 2019 20:42:49 +0000 (12:42 -0800)]
linux-libc-headers_4.19.bb: Backport patch to fix clockid_t in UAPI

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-libc-headers: Remove spurious x.mbox file
Khem Raj [Tue, 8 Jan 2019 20:42:48 +0000 (12:42 -0800)]
linux-libc-headers: Remove spurious x.mbox file

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomusl: Update to master tip
Khem Raj [Tue, 8 Jan 2019 20:42:47 +0000 (12:42 -0800)]
musl: Update to master tip

Detaild log
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=21a172dd36cae7a08492fd3a7500d7bf0daee13e..de7dc1318f493184b20f7661bc12b1829b957b67

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agometa/classes: adjust perl-related classes to the new recipes
Alexander Kanavin [Sun, 2 Dec 2018 11:52:00 +0000 (12:52 +0100)]
meta/classes: adjust perl-related classes to the new recipes

This mostly means tweaking the paths to match upstream defaults.

get_perl_arch() functions are taken from the patch by Jens Rehsack:
http://lists.openembedded.org/pipermail/openembedded-core/2018-November/276546.html

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
6 years agoperl: remove the previous version of the recipe
Alexander Kanavin [Sun, 2 Dec 2018 11:46:37 +0000 (12:46 +0100)]
perl: remove the previous version of the recipe

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
6 years agoperl: add a version that builds the recipe using perl-cross, and update to 5.28.1
Alexander Kanavin [Sun, 2 Dec 2018 11:43:30 +0000 (12:43 +0100)]
perl: add a version that builds the recipe using perl-cross, and update to 5.28.1

perl-cross is a build system overlay from buildroot project that aims to bring
a bit of sanity to cross-building perl. The advantage of using that is that we
can drop a lot of custom patches (that no one really understands), and simplify
the perl recipe as well. Also the build time goes down from several minutes to
about 30 seconds. The whole thing becomes maintainable again, in my opinion.

When rewriting the recipe I had two goals in mind:
1. Stay with upstream defaults as much as possible
2. Add custom patches only when their necessity was proven through testing.

http://arsv.github.io/perl-cross/

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
6 years agoopenssh: use tarballs instead of git
Alexander Kanavin [Tue, 8 Jan 2019 15:25:29 +0000 (16:25 +0100)]
openssh: use tarballs instead of git

This was change to git recently to obtain openssl 1.1 compatible pre-release code
(before 7.9 was out), however tarballs are preferred, and with them upstream version
checks work (openssh uses a weird git tag scheme).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoselftest/distrodata: un-break the upstream version check test
Alexander Kanavin [Tue, 8 Jan 2019 15:25:28 +0000 (16:25 +0100)]
selftest/distrodata: un-break the upstream version check test

And fix the reported upstream check failures.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake.conf: add --enable-new-dtags to linker
Alexander Kanavin [Fri, 21 Dec 2018 14:23:51 +0000 (15:23 +0100)]
bitbake.conf: add --enable-new-dtags to linker

Various versions of ld have different defaults for this
(even between e.g. Ubuntu 16.04 and 18.04). This has the
consequence of putting either RPATH or RUNPATH into the binary,
depending on the linker, which have different priorities
vs LD_LIBRARY_PATH env var. Also, I think, the original
executable binary is looked up for the tags when resolving
a dependency of a shared library when using RPATH, but not
RUNPATH.

Let's make this deterministic.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopatch: reproducibility: Fix host umask leakage
Douglas Royds [Thu, 20 Dec 2018 23:10:22 +0000 (12:10 +1300)]
patch: reproducibility: Fix host umask leakage

Some patch files create entirely new files, so their permissions are subject to
the host umask. If such a file is later installed into a package with no change
in permissions, it breaks the reproducibility of the package.

This was observed on libpam, for instance: The patch file
pam-security-abstract-securetty-handling.patch creates a new file
(tty_secure.c). This file is later copied into the -dbg package with no change
in permissions.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agolibpcap: upgrade 1.8.1 -> 1.9.0
Anuj Mittal [Thu, 20 Dec 2018 09:28:38 +0000 (17:28 +0800)]
libpcap: upgrade 1.8.1 -> 1.9.0

* For changes, see:
https://www.tcpdump.org/libpcap-changes.txt

* Merge inc and bb and remove unnecessary flags.

* Remove all patches, they have either been upstreamed or fixed
differently.

* Compilation with bluez5 works just fine, enable it and remove bluez4
config.

* Backport a commit to fix musl builds.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoat-spi2-atk: upgrade 2.26.2 -> 2.30.0
Anuj Mittal [Thu, 20 Dec 2018 08:43:35 +0000 (16:43 +0800)]
at-spi2-atk: upgrade 2.26.2 -> 2.30.0

For changes, see:
https://github.com/GNOME/at-spi2-atk/blob/AT_SPI2_ATK_2_30_0/NEWS

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoatk: upgrade 2.28.1 -> 2.30.0
Anuj Mittal [Thu, 20 Dec 2018 08:43:34 +0000 (16:43 +0800)]
atk: upgrade 2.28.1 -> 2.30.0

* For changes, see:
https://github.com/GNOME/atk/blob/ATK_2_30_0/NEWS

* Change in doc and introspection switches and patch refresh.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibjpeg-turbo: upgrade 2.0.0 -> 2.0.1
Anuj Mittal [Thu, 20 Dec 2018 08:43:33 +0000 (16:43 +0800)]
libjpeg-turbo: upgrade 2.0.0 -> 2.0.1

* For changes, see:
https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/ChangeLog.md

* Removed upstreamed patch

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibsolv: upgrade 0.7.1 -> 0.7.2
Anuj Mittal [Thu, 20 Dec 2018 08:43:32 +0000 (16:43 +0800)]
libsolv: upgrade 0.7.1 -> 0.7.2

>From NEWS:

- bug fixes:
  * do not autouninstall packages because of forcebest updates
- new features:
  * support rpm's new '^' version separator
  * support set/get_considered_list in bindings
  * new experimental SOLVER_FLAG_ONLY_NAMESPACE_RECOMMENDED flag

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonetbase/base-files: move /etc/hosts from netbase to base-files
Chen Qi [Tue, 8 Jan 2019 09:12:52 +0000 (17:12 +0800)]
netbase/base-files: move /etc/hosts from netbase to base-files

Move /etc/hosts to base-files, and also add entry to it according
to hostname setting. This fixes the problem of commands like
`hostname -f' failing due to lack of such entry.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/sdk: add test to exercise Meson
Ross Burton [Thu, 20 Dec 2018 15:38:49 +0000 (15:38 +0000)]
oeqa/sdk: add test to exercise Meson

(From OE-Core rev: 29359493e391d68a5a6b4fa4d09ffdc1fe6db620)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/sdk/assimp: cleanup
Ross Burton [Thu, 3 Jan 2019 21:32:05 +0000 (21:32 +0000)]
oeqa/sdk/assimp: cleanup

Unify style with the other tests.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agooeqa/sdk/cases: clean up DL_DIR handling
Ross Burton [Thu, 3 Jan 2019 18:55:41 +0000 (18:55 +0000)]
oeqa/sdk/cases: clean up DL_DIR handling

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomeson: write correct host endian into SDK cross file
Ross Burton [Mon, 7 Jan 2019 16:37:03 +0000 (16:37 +0000)]
meson: write correct host endian into SDK cross file

Meson doesn't ignore this but will emit a warning, so write the correct value.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomeson: fix nativesdk-meson for multilib SDKs
Ross Burton [Mon, 7 Jan 2019 15:07:43 +0000 (15:07 +0000)]
meson: fix nativesdk-meson for multilib SDKs

Multilib SDKs differ only in the environment variables set, so nativesdk-meson's
setup script needs to write a cross file for each environment.

Rename the shipped meson.cross to meson.cross.template, as it cannot be used
directly.  Now that post-relocate scripts are called once for each environment,
the generated meson.cross can be prefixed with TARGET_PREFIX to ensure it is
unique.

Finally rewrite the setup script to use string.Template to perform the expansion
instead of hand-coding the logic.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomeson: use a sensible default for libdir when cross-compiling
Ross Burton [Fri, 4 Jan 2019 00:13:56 +0000 (00:13 +0000)]
meson: use a sensible default for libdir when cross-compiling

If --libdir isn't passed to Meson a default is used, but as this default value
changes depending on the host (whether it is Debian-like, or has /usr/lib64)
this isn't appropriate for cross builds.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agotoolchain-scripts: run post-relocate scripts for every environment
Ross Burton [Mon, 7 Jan 2019 15:07:38 +0000 (15:07 +0000)]
toolchain-scripts: run post-relocate scripts for every environment

SDKs for multilib configurations have multiple environment scripts, so
re-arrange the post-relocate hook invocation so that it runs the post-relocate
hooks after sourcing each environment script.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogtk+3: add PACKAGECONFIG for cups
Diego Rondini [Mon, 7 Jan 2019 09:58:55 +0000 (09:58 +0000)]
gtk+3: add PACKAGECONFIG for cups

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibsndfile1: Security fix CVE-2017-17456/17457 CVE-2018-19661/19662
Changqing Li [Mon, 7 Jan 2019 08:06:32 +0000 (16:06 +0800)]
libsndfile1: Security fix CVE-2017-17456/17457 CVE-2018-19661/19662

fix 4 CVEs, which is backport from
https://github.com/erikd/libsndfile/commit/585cc28a93be27d6938f276af0011401b9f7c0ca

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agofts: Bump FTS to version 1.2.7
Alistair Francis [Thu, 3 Jan 2019 23:19:14 +0000 (23:19 +0000)]
fts: Bump FTS to version 1.2.7

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoscripts/oe-git-archive: fix non-existent key referencing error
Yeoh Ee Peng [Fri, 4 Jan 2019 06:46:01 +0000 (14:46 +0800)]
scripts/oe-git-archive: fix non-existent key referencing error

Without installing gitpython package, oe-git-archive will face error
below, where it was referencing key that was non-existent inside
metadata object.

Traceback (most recent call last):
  File "<poky_dir>/scripts/oe-git-archive", line 271, in <module>
    sys.exit(main())
  File "<poky_dir>/scripts/oe-git-archive", line 229, in main
    'commit_count': metadata['layers']['meta']['commit_count'],
KeyError: 'commit_count'

Fix this error by adding exception catch when referencing
non-existent key (based on inputs provided by Richard Purdie).

[YOCTO# 13082]

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoswig: Fix configure failure
Alistair Francis [Fri, 4 Jan 2019 00:28:05 +0000 (00:28 +0000)]
swig: Fix configure failure

Fix the swig build failure by calling the default do_configure from autotools.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobuildoptions.py: use different STAMPS_DIR and SSTATE_DIR
Chen Qi [Fri, 4 Jan 2019 02:09:35 +0000 (10:09 +0800)]
buildoptions.py: use different STAMPS_DIR and SSTATE_DIR

Use a different STAMPS_DIR and SSTATE_DIR in test_yocto_source_mirror.
Otherwise, when executing `oe-selftest -a', we will get a lot of failures
due to do_unpack failure.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/runqemu: Enable kvm when QEMU_USE_KVM is set
Robert Yang [Fri, 4 Jan 2019 07:15:45 +0000 (15:15 +0800)]
oeqa/selftest/runqemu: Enable kvm when QEMU_USE_KVM is set

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/manual/bsp-qemu.json: Update for QEMU_USE_KVM
Robert Yang [Fri, 4 Jan 2019 07:15:44 +0000 (15:15 +0800)]
oeqa/manual/bsp-qemu.json: Update for QEMU_USE_KVM

Now QEMU_USE_KVM can only be boolean, can not contain MACHINE any more.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa: Fix for QEMU_USE_KVM
Robert Yang [Fri, 4 Jan 2019 07:15:43 +0000 (15:15 +0800)]
oeqa: Fix for QEMU_USE_KVM

Fixed:
MACHINE = "qemux86"
QEMU_USE_KVM = "qemux86"
IMAGE_CLASSES += "testimage"

$ oe-selftest -r runqemu.RunqemuTests.test_boot_rootfs

[snip]
  File "/buildarea1/lyang1/poky/meta/lib/oe/types.py", line 122, in boolean
    raise ValueError("Invalid boolean value '%s'" % value)
ValueError: Invalid boolean value 'qemux86'

Now QEMU_USE_KVM can only be boolean, can not contain MACHINE any more, kvm
will be enabled if target_arch == build_arch or both of them are x86 archs.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agognutls: update to 3.6.5
Armin Kuster [Wed, 2 Jan 2019 16:36:14 +0000 (08:36 -0800)]
gnutls: update to 3.6.5

Bug fix only release

Full details:
https://lists.gnupg.org/pipermail/gnutls-help/2018-December/004465.html

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonettle: update to 3.4.1
Armin Kuster [Sat, 5 Jan 2019 22:05:01 +0000 (14:05 -0800)]
nettle: update to 3.4.1

Bug fix only release

Include:

  CVE-2018-16868 gnutls: Bleichenbacher-like side channel leakage in
  PKCS#1 1.5 verification and padding oracle verification

  CVE-2018-16869 nettle: Leaky data conversion exposing a manager oracle

For full details see:
http://lists.lysator.liu.se/pipermail/nettle-bugs/2018/007369.html

[V2]
Add -std=c99 to cflags

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoutil-linux: Fix build with glibc 2.29
Khem Raj [Sat, 5 Jan 2019 06:47:10 +0000 (22:47 -0800)]
util-linux: Fix build with glibc 2.29

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto/4.18: update to v4.18.22
Bruce Ashfield [Mon, 7 Jan 2019 14:33:47 +0000 (09:33 -0500)]
linux-yocto/4.18: update to v4.18.22

Integrating the -stable commits from Paul Gortmaker:

   24ed0744622e Linux 4.18.22
   8266951957ab tipc: use destination length for copy string
   2f2b82e7b4f8 arc: [devboards] Add support of NFSv3 ACL
   047e43ba5173 ARC: change defconfig defaults to ARCv2
   f8d102775911 Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15ARR
   91dfecd75ee7 Input: elan_i2c - add support for ELAN0621 touchpad
   7c63af1039aa Input: elan_i2c - add ELAN0620 to the ACPI table
   673d11935f70 Input: cros_ec_keyb - fix button/switch capability reports
   39f1f992639d Input: matrix_keypad - check for errors from of_get_named_gpio()
   b3cda161024f Input: synaptics - add PNP ID for ThinkPad P50 to SMBus
   3e533ca9eb5d Input: xpad - quirk all PDP Xbox One gamepads
   1c42a30f4824 i40e: Fix deletion of MAC filters
   0f2cbfeff18f svm: Add mutex_lock to protect apic_access_page_done on AMD systems
   af2cd1276d57 kgdboc: Fix warning with module build
   c72ba0c17cce kgdboc: Fix restrict error
   6571f7ba5f6a userfaultfd: shmem: UFFDIO_COPY: set the page dirty if VM_WRITE is not set
   3876646cbe3a userfaultfd: shmem: add i_size checks
   c8a600a72f36 userfaultfd: shmem: allocate anonymous memory for MAP_PRIVATE shmem
   bc43472443ee userfaultfd: use ENOENT instead of EFAULT if the atomic copy user fails
   34bfc624bb6b drm/meson: Fix OOB memory accesses in meson_viu_set_osd_lut()
   a5fdd876d4f9 drm/meson: Enable fast_io in meson_dw_hdmi_regmap_config
   c98737cc98c1 drm/meson: Fixes for drm_crtc_vblank_on/off support
   b6ba7cf72463 drm: set is_master to 0 upon drm_new_set_master() failure
   f5551d7db284 drm/ast: Fix incorrect free on ioregs
   f43ce49c718d tracing/fgraph: Fix set_graph_function from showing interrupts
   c31675335d18 IB/mlx5: Avoid load failure due to unknown link width
   339fc991ac42 mips: fix mips_get_syscall_arg o32 check
   ba720f00b540 MIPS: ralink: Fix mt7620 nd_sd pinmux
   87b2d7eda8cc sched, trace: Fix prev_state output in sched_switch tracepoint
   52338737ea2c mtd: nand: Fix memory allocation in nanddev_bbt_init()
   fa8d131f585a uprobes: Fix handle_swbp() vs. unregister() + register() race once more
   f895888ad58f iser: set sector for ambiguous mr status errors
   62613ca14469 unifdef: use memcpy instead of strncpy
   8a4fd8949897 test_hexdump: use memcpy instead of strncpy
   f68e638adaa5 misc: mic/scif: fix copy-paste error in scif_create_remote_lookup
   021b5e5a42e3 Drivers: hv: vmbus: check the creation_status in vmbus_establish_gpadl()
   f6167c3770f1 mm: use swp_offset as key in shmem_replace_page()
   d7044875a946 mm: cleancache: fix corruption on missed inode invalidation
   b14c4a131d36 lib/test_kmod.c: fix rmmod double free
   1b42a6def46d iio:st_magn: Fix enable device after trigger
   f6bd7b8e4dbc iio/hid-sensors: Fix IIO_CHAN_INFO_RAW returning wrong values for signed numbers
   a7cf14d6bbf0 Revert "usb: dwc3: gadget: skip Set/Clear Halt when invalid"
   b9be70d82cf4 usb: core: quirks: add RESET_RESUME quirk for Cherry G230 Stream series
   c233ce9ca873 USB: usb-storage: Add new IDs to ums-realtek
   726cd6bbfb4f staging: rtl8723bs: Add missing return for cfg80211_rtw_get_station
   cc91a66f70cd staging: rtl8723bs: Fix incorrect sense of ether_addr_equal
   a4827072018e staging: mt7621-dma: fix potentially dereferencing uninitialized 'tx_desc'
   3278d1121784 staging: vchiq_arm: fix compat VCHIQ_IOC_AWAIT_COMPLETION
   4871268b9733 staging: most: use format specifier "%s" in snprintf
   f52619fef6f3 dmaengine: at_hdmac: fix module unloading
   55a2c785818e dmaengine: at_hdmac: fix memory leak in at_dma_xlate()
   7def2114f963 ARM: dts: rockchip: Remove @0 from the veyron memory node
   d66e9553bb93 ASoC: pcm186x: Fix device reset-registers trigger value
   f28e4296150d ext2: fix potential use after free
   13cd83a3fdc6 ext2: initialize opts.s_mount_opt as zero before using it
   715877236823 binder: fix race that allows malicious free of live buffer
   4c80a994e1c3 function_graph: Reverse the order of pushing the ret_stack and the callback
   401bacb8a999 function_graph: Move return callback before update of curr_ret_stack
   5a45629359d8 function_graph: Have profiler use curr_ret_stack and not depth
   cdf8638a4a78 function_graph: Use new curr_ret_depth to manage depth instead of curr_ret_stack
   f54f3a8c164c function_graph: Make ftrace_push_return_trace() static
   19ebfe10ab9d MIPS: function_graph: Simplify with function_graph_enter()
   be7bcea6943b arm64: function_graph: Simplify with function_graph_enter()
   25465f3e0f89 s390/function_graph: Simplify with function_graph_enter()
   212fd6ab8b90 riscv/function_graph: Simplify with function_graph_enter()
   7845921e7845 parisc: function_graph: Simplify with function_graph_enter()
   02c3b2f09537 sparc/function_graph: Simplify with function_graph_enter()
   fadb32957bd3 sh/function_graph: Simplify with function_graph_enter()
   e8dab372f22f powerpc/function_graph: Simplify with function_graph_enter()
   06e04113d8ee x86/function_graph: Simplify with function_graph_enter()
   8974d9ddee8c microblaze: function_graph: Simplify with function_graph_enter()
   2ed3d836c186 ARM: function_graph: Simplify with function_graph_enter()
   a46f2a2ab8f7 function_graph: Create function_graph_enter() to consolidate architecture code
   0c23df1fb2ee ALSA: hda/realtek - fix headset mic detection for MSI MS-B171
   d33625c9ad99 ALSA: hda/realtek - Support ALC300
   d3736fa6a629 ALSA: hda: Add ASRock N68C-S UCC the power_save blacklist
   ac3d401ca588 ALSA: sparc: Fix invalid snd_free_pages() at error path
   5f8920cbdf8b ALSA: control: Fix race between adding and removing a user element
   68d40bdae9e1 ALSA: ac97: Fix incorrect bit shift at AC97-SPSA control write
   8a066b939728 ALSA: wss: Fix invalid snd_free_pages() at error path
   4e153baac165 fs: fix lost error code in dio_complete
   b3a80504fc6b perf/x86/intel: Disallow precise_ip on BTS events
   ef7ffa5edebb perf/x86/intel: Add generic branch tracing check to intel_pmu_has_bts()
   f273d7b0f5ea perf/x86/intel: Move branch tracing setup to the Intel-specific source file
   920db419fad5 x86/fpu: Disable bottom halves while loading FPU registers
   01ae1b649cc4 x86/MCE/AMD: Fix the thresholding machinery initialization order
   598ab7f4e75e arm64: dts: rockchip: Fix PCIe reset polarity for rk3399-puma-haikou.
   39b75abd266e PCI: layerscape: Fix wrong invocation of outbound window disable accessor
   aede037397ca btrfs: relocation: set trans to be NULL after ending transaction
   2fa66c494021 Btrfs: fix race between enabling quotas and subvolume creation
   050f755e1050 Btrfs: ensure path name is null terminated at btrfs_control_ioctl
   8640e4eba7a1 btrfs: Always try all copies when reading extent buffers
   d57b922c1fc6 udf: Allow mounting volumes with incorrect identification strings
   633f035c73f8 xtensa: fix coprocessor part of ptrace_{get,set}xregs
   e3b5970eae2a xtensa: fix coprocessor context offset definitions
   7123932c3463 xtensa: enable coprocessors that are being flushed
   4fea3a135968 KVM: VMX: re-add ple_gap module parameter
   2eda497b4155 KVM: X86: Fix scan ioapic use-before-initialization
   8c896ea1f95d KVM: x86: Fix kernel info-leak in KVM_HC_CLOCK_PAIRING hypercall
   cee09b048c40 KVM: nVMX/nSVM: Fix bug which sets vcpu->arch.tsc_offset to L1 tsc_offset
   60fa1976cc5a kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb
   151d0990d8c6 kvm: mmu: Fix race in emulated page table writes
   e7f4a4ecf899 userfaultfd: shmem/hugetlbfs: only allow to register VM_MAYWRITE vmas
   d04ea8a3e52b x86/speculation: Provide IBPB always command line options
   ba6fd92d9dde x86/speculation: Add seccomp Spectre v2 user space protection mode
   e162e0cb9f48 x86/speculation: Enable prctl mode for spectre_v2_user
   4fe877ade966 x86/speculation: Add prctl() control for indirect branch speculation
   26a22284be5b x86/speculation: Prepare arch_smt_update() for PRCTL mode
   3380e40c38d1 x86/speculation: Prevent stale SPEC_CTRL msr content
   dafcdc4d3ef4 x86/speculation: Split out TIF update
   b34c1d1e20ff ptrace: Remove unused ptrace_may_access_sched() and MODE_IBRS
   2f191447843d x86/speculation: Prepare for conditional IBPB in switch_mm()
   3c4a52665935 x86/speculation: Avoid __switch_to_xtra() calls
   9a02cf2b59f7 x86/process: Consolidate and simplify switch_to_xtra() code
   e45f1bf477c2 x86/speculation: Prepare for per task indirect branch speculation control
   40e17356647d x86/speculation: Add command line control for indirect branch speculation
   34ca30f6ebb2 x86/speculation: Unify conditional spectre v2 print functions
   8cf2abe5a48d x86/speculataion: Mark command line parser data __initdata
   b2e49f57b3d3 x86/speculation: Mark string arrays const correctly
   a951ec1282ca x86/speculation: Reorder the spec_v2 code
   f6e97c269fdf x86/l1tf: Show actual SMT state
   124f1934f087 x86/speculation: Rework SMT state change
   0db58041bd88 sched/smt: Expose sched_smt_present static key
   9b76ef59f198 x86/Kconfig: Select SCHED_SMT if SMP enabled
   74c0d392f4d2 sched/smt: Make sched_smt_present track topology
   4b44044665b7 x86/speculation: Reorganize speculation control MSRs update
   9d35dc0b1975 x86/speculation: Rename SSBD update functions
   ae5c861d44a2 x86/speculation: Disable STIBP when enhanced IBRS is in use
   9fdce9f0d6f6 x86/speculation: Move STIPB/IBPB string conditionals out of cpu_show_common()
   d9e0d122ae45 x86/speculation: Remove unnecessary ret variable in cpu_show_common()
   9ca44b34145e x86/speculation: Clean up spectre_v2_parse_cmdline()
   f472b112c142 x86/speculation: Update the TIF_SSBD comment
   4fe817e5f922 x86/retpoline: Remove minimal retpoline support
   cdda9afbdbcb x86/build: Fix compiler support check for CONFIG_RETPOLINE
   80420a04a82c x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support
   e338c91ae9bb x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variant
   dd970c7bb37c x86/speculation: Propagate information about RSB filling mitigation to sysfs
   1a42c7686198 x86/speculation: Apply IBPB more strictly to avoid cross-process data leak
   3fafe253622e tcp: defer SACK compression after DupThresh
   973b2d8edb37 net/dim: Update DIM start sample after each DIM iteration
   0541a4ad4c11 virtio-net: fail XDP set if guest csum is negotiated
   326888b906c0 virtio-net: disable guest csum during XDP set
   ce853ea2a2e1 net: skb_scrub_packet(): Scrub offload_fwd_mark
   497d616f9ef9 net: thunderx: set xdp_prog to NULL if bpf_prog_add fails
   32978c0d13b0 usbnet: ipheth: fix potential recvmsg bug and recvmsg bug 2
   303b14516da0 s390/qeth: fix length check in SNMP processing
   beedfff965e4 rapidio/rionet: do not free skb before reading its length
   9bde4bd658b6 packet: copy user buffers before orphan or clone
   8240b24014e5 net: thunderx: set tso_hdrs pointer to NULL in nicvf_free_snd_queue
   f4b7bf2f7824 net: gemini: Fix copy/paste error
   1a57f5e05433 net: don't keep lonely packets forever in the gro hash
   fa9f95c537f2 lan743x: fix return value for lan743x_tx_napi_poll
   e7ef14941113 lan743x: Enable driver to work with LAN7431
   a7a42d6ae23e mm/khugepaged: collapse_shmem() do not crash on Compound
   219f7f003c6b mm/khugepaged: collapse_shmem() without freezing new_page
   a5df6e4dd710 mm/khugepaged: minor reorderings in collapse_shmem()
   1d0476b09ae2 mm/khugepaged: collapse_shmem() remember to clear holes
   ba76e023cbcd mm/khugepaged: fix crashes due to misaccounted holes
   4ee51871be50 mm/khugepaged: collapse_shmem() stop if punched or truncated
   4b7da0a23ab7 mm/huge_memory: fix lockdep complaint on 32-bit i_size_read()
   4ea44ec50a87 mm/huge_memory: splitting set mapping+index before unfreeze
   9385e2751953 mm/huge_memory: rename freeze_page() to unmap_page()
   cfe3f465651c media: ov5640: fix auto controls values when switching to manual mode
   ce92e4309a8f media: ov5640: fix wrong binning value in exposure calculation
   797f0d9cdb19 media: ov5640: fix auto gain & exposure when changing mode
   09dd7d55020c media: ov5640: fix exposure regression
   d081f6351a54 media: ov5640: Fix timings setup code
   e27220212028 media: ov5640: Re-work MIPI startup sequence
   1941b77cf04d rcu: Make need_resched() respond to urgent RCU-QS needs
   2d694e55c1a8 tty: wipe buffer if not echoing data
   ff91ad4b37b6 tty: wipe buffer.
   c9a2097b5bca include/linux/pfn_t.h: force '~' to be parsed as an unary operator
   69adf873d6b7 mm, page_alloc: check for max order in hot path
   4cf135795c19 tmpfs: make lseek(SEEK_DATA/SEK_HOLE) return ENXIO with a negative offset
   5056621d3d82 mm, memory_hotplug: check zone_movable in has_unmovable_pages
   dfa625fbef30 z3fold: fix possible reclaim races
   32536aab2f6d powerpc/numa: Suppress "VPHN is not supported" messages
   41d104c27a25 NFSv4: Fix an Oops during delegation callbacks
   7d1687dde51a kdb: Use strscpy with destination buffer size
   32fe7d4fb78e drm/amdgpu: fix bug with IH ring setup
   f93e575d397a RISC-V: Silence some module warnings on 32-bit
   8e1136c5aff5 riscv: add missing vdso_install target
   48182b646f13 SUNRPC: Fix a bogus get/put in generic_key_to_expire()
   11e0046dcfea perf/x86/intel/uncore: Add more IMC PCI IDs for KabyLake and CoffeeLake CPUs
   73141f3f7b4f sched/fair: Fix cpu_util_wake() for 'execl' type workloads
   757ebe2cf812 powerpc/io: Fix the IO workarounds code to work with Radix
   cf650c21904c floppy: fix race condition in __floppy_read_block_0()
   7e04a587b960 crypto: simd - correctly take reqsize of wrapped skcipher into account
   eeb7ebec5993 rtc: pcf2127: fix a kmemleak caused in pcf2127_i2c_gather_write
   1a7a12521b42 rtc: cmos: Do not export alarm rtc_ops when we do not support alarms
   06200773ff6b cpufreq: imx6q: add return value check for voltage scale
   8bc2418df6ef KVM: PPC: Move and undef TRACE_INCLUDE_PATH/FILE
   c2d490ff84be scsi: hisi_sas: Remove set but not used variable 'dq_list'
   7fa1b9068daf pinctrl: meson: fix meson8b ao pull register bits
   c3faa93f65aa pinctrl: meson: fix meson8 ao pull register bits
   539eae5c2efb pinctrl: meson: fix gxl ao pull register bits
   81e6fb4d21c9 pinctrl: meson: fix gxbb ao pull register bits
   23980899fd33 pinctrl: meson: fix pinconf bias disable
   2acf52e0d024 fsnotify: generalize handling of extra event flags
   70804a2395f9 IB/hfi1: Eliminate races in the SDMA send error path
   36f0ce79eea5 ACPICA: AML interpreter: add region addresses in global list during initialization
   98a7ff363966 can: flexcan: remove not needed struct flexcan_priv::tx_mb and struct flexcan_priv::tx_mb_idx
   7e6c6e8f96a3 can: flexcan: Always use last mailbox for TX
   09c695304ced can: hi311x: Use level-triggered interrupt
   d5f1bed61e87 can: raw: check for CAN FD capable netdev in raw_sendmsg()
   5dbbeea479ba can: flexcan: handle tx-complete CAN frames via rx-offload infrastructure
   9d698b0e8c60 can: flexcan: use can_rx_offload_queue_sorted() for flexcan_irq_bus_*()
   3ca38586737b can: rx-offload: rename can_rx_offload_irq_queue_err_skb() to can_rx_offload_queue_tail()
   b564520dc84a can: rx-offload: introduce can_rx_offload_get_echo_skb() and can_rx_offload_queue_sorted() functions
   ba4d601f11da can: dev: __can_get_echo_skb(): print error message, if trying to echo non existing skb
   14daeee327c0 can: dev: __can_get_echo_skb(): Don't crash the kernel if can_priv::echo_skb is accessed out of bounds
   bd8f43390a6e can: dev: __can_get_echo_skb(): replace struct can_frame by canfd_frame to access frame length
   ec51a36d40ba can: dev: can_get_echo_skb(): factor out non sending code to __can_get_echo_skb()
   17afd6b2f539 can: flexcan: Unlock the MB unconditionally
   4e10eaf14115 drm/ast: Remove existing framebuffers before loading driver
   2059f682eac4 drm/ast: fixed cursor may disappear sometimes
   47d28426881e drm/ast: change resolution may cause screen blurred
   231220ffbd0c drm/i915: Disable LP3 watermarks on all SNB machines
   0ca629caa428 tcp: do not release socket ownership in tcp_close()
   235bb14bb504 mm/memory.c: recheck page table entry with page table lock held
   700d687423ce mm: don't warn about large allocations for slab
   3deb594eb9cc llc: do not use sk_eat_skb()
   d62cdc16c019 gfs2: Don't leave s_fs_info pointing to freed memory in init_sbd
   91aa78f105a0 sctp: clear the transport of some out_chunk_list chunks in sctp_assoc_rm_peer
   1ffe2390eec3 bfs: add sanity check at bfs_fill_super()
   609b2f88baa9 Input: synaptics - avoid using uninitialized variable when probing
   1c3712cd9ec5 selinux: Add __GFP_NOWARN to allocation at str_read()
   f4dd907859f6 v9fs_dir_readdir: fix double-free on p9stat_read error
   43fb0f750bf5 tools/power/cpupower: fix compilation with STATIC=true
   7b18c23b8a15 opp: ti-opp-supply: Correct the supply in _get_optimal_vdd_voltage call
   cdcc687a7c0f opp: ti-opp-supply: Dynamically update u_volt_min
   adf820e7040b brcmfmac: fix reporting support for 160 MHz channels
   77260dca90d8 iwlwifi: mvm: don't use SAR Geo if basic SAR is not used
   230956227e0f iwlwifi: mvm: fix regulatory domain update when the firmware starts
   34c26e7ff77e iwlwifi: mvm: support sta_statistics() even on older firmware
   4e7059a1ef08 iwlwifi: fix wrong WGDS_WIFI_DATA_SIZE
   00db19541478 gpio: don't free unallocated ida on gpiochip_add_data_with_key() error path
   1c65bc42b0b6 mmc: sdhci-pci: Workaround GLK firmware failing to restore the tuning value
   e670f3c0bd7f mmc: sdhci-pci: Try "cd" for card-detect lookup before using NULL
   0279a3e8c9a3 Documentation/security-bugs: Postpone fix publication in exceptional cases
   bea263a4d369 Documentation/security-bugs: Clarify treatment of embargoed information
   85225e451366 MAINTAINERS: Add Sasha as a stable branch maintainer
   a820ce4d4189 ALSA: oss: Use kvzalloc() for local buffer allocations
   7ca1b0cfd1f5 usb: xhci: Prevent bus suspend if a port connect change or polling state is detected
   6dc2234cfc3d xhci: Add quirk to workaround the errata seen on Cavium Thunder-X2 Soc
   e23d44bfb180 usb: xhci: fix timeout for transition from RExit to U0
   794e4eca3eb8 usb: xhci: fix uninitialized completion when USB3 port got wrong status
   e705be077247 xhci: Add check for invalid byte size error when UAS devices are connected.
   a065ce744fcb xhci: handle port status events for removed USB3 hcd
   d0ab048de951 xhci: Fix leaking USB3 shared_hcd at xhci removal
   c191d670df6c usb: dwc3: core: Clean up ULPI device
   baae5ac1953b usb: dwc3: gadget: Properly check last unaligned/zero chain TRB
   a3c907510737 usb: dwc3: gadget: fix ISOC TRB type on unaligned transfers
   2b5d953d4120 usb: core: Fix hub port connection events lost
   015ca0f92560 efi/libstub: arm: support building with clang
   7972aba9b9a0 HID: steam: remove input device when a hid client is running.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-libc-headers: update to v4.19
Bruce Ashfield [Mon, 7 Jan 2019 14:33:46 +0000 (09:33 -0500)]
linux-libc-headers: update to v4.19

Updating the linux-libc-headers to match the latest reference
kernel in oe-core.

We addtionally add three patches (identified by Khem) to fix muslc
aarch64 build issues.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-libc-headers: Fix build failure with fixed input and output files instead of...
He Zhe [Mon, 7 Jan 2019 14:33:45 +0000 (09:33 -0500)]
linux-libc-headers: Fix build failure with fixed input and output files instead of pipe

This is an amendment for
2322dc4 "linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe"
which moves just the temporary input file from /tmp to build directory. But the
build directory may not in the same file system with the output file,
/dev/null, either and thus make it possible to trigger that bug, 67f846b, in
binutil v2.31.

This patch puts both the input and output files into build directory for good.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosstate: Implement hash equivalence sstate
Joshua Watt [Fri, 4 Jan 2019 16:20:15 +0000 (10:20 -0600)]
sstate: Implement hash equivalence sstate

Converts sstate so that it can use a hash equivalence server to
determine if a task really needs to be rebuilt, or if it can be restored
from a different (equivalent) sstate object.

The unique hashes are cached persistently using persist_data. This has
a number of advantages:
 1) Unique hashes can be cached between invocations of bitbake to
    prevent needing to contact the server every time (which is slow)
 2) The value of each tasks unique hash can easily be synchronized
    between different threads, which will be useful if bitbake is
    updated to do on the fly task re-hashing.

[YOCTO #13030]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoclasses/sstate: Handle unihash in hash check
Joshua Watt [Fri, 4 Jan 2019 16:20:13 +0000 (10:20 -0600)]
classes/sstate: Handle unihash in hash check

Handles the argument that passes task unique hash in the hash check
function, as it is now required by bitbake

[YOCTO #13030]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython-native: fix one do_populate_sysroot warning
Changqing Li [Thu, 25 Oct 2018 08:59:28 +0000 (16:59 +0800)]
python-native: fix one do_populate_sysroot warning

Fix below warning:
WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
usr/lib/python2.7/lib-dynload/_bsddb.so

setup.py will check db.h under include_dirs, for native build,
/usr/lib64 will be insert to postion 0 of include_dirs, so
it's priority is higher then our sysroot, cause db.h sysroot
is ignored, and rpath set to /usr/lib64. and this cause warning
when do_populate_sysroot. use append to fix it.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython/python3: use cc_basename to replace CC for checking compiler
Changqing Li [Tue, 23 Oct 2018 05:22:18 +0000 (13:22 +0800)]
python/python3: use cc_basename to replace CC for checking compiler

When working path contains "clang"/"gcc"/"icc", it might be part of $CC
because of the "--sysroot" parameter. That could cause judgement error
about clang/gcc/icc compilers.

eg: if build under /yocto/builds/xicc/,  bitbake python,  $CC will contains
xicc, will make $CC match *icc, but actuall xicc just folder name.

When "*icc" is matched, below errors are reported when
compiling python/python3:
x86_64-wrs-linux-gcc: error: strict: No such file or directory
x86_64-wrs-linux-gcc: error: unrecognized command line option '-fp-model'

Here use cc_basename to replace CC for checking compiler to avoid such
kind of issue.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>