summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-yocto/4.9: update to v4.9.21Bruce Ashfield2017-04-133-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the korg -stable release, with the following shortlog summary: 37feaf8095d3 Linux 4.9.21 02b23e059a9d nvme/pci: Disable on removal when disconnected a5e39a7f2985 nvme/core: Fix race kicking freed request_queue eb8c62a3848e padata: avoid race in reordering 5959cded91e3 blk: Ensure users for current->bio_list can see the full list. d5986e0078f2 blk: improve order of bio handling in generic_make_request() e3a55294fc20 mm: workingset: fix premature shadow node shrinking with cgroups 362721c4957d MIPS: Lantiq: Fix cascaded IRQ setup 1b442f9bdf9a ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags c1716f0c35cc qla2xxx: Allow vref count to timeout on vport delete. 5ed56ca86f96 ARM: BCM5301X: Add back handler ignoring external imprecise aborts 40c5b99f8ace mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd() b5707920e4d8 mm: rmap: fix huge file mmap accounting in the memcg stats 673dfb6d1bb4 lib/syscall: Clear return values when no stack af5ef6dafea0 x86/mce: Fix copy/paste error in exception table entries 2211d19ac6dd x86/mm/KASLR: Exclude EFI region from KASLR VA space randomization 4366c7e346ce drm/etnaviv: (re-)protect fence allocation with GPU mutex 6acf52070857 drm/vc4: Allocate the right amount of space for boot-time CRTC state. fa68e1d3cecc drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags 1563625c717c KVM: kvm_io_bus_unregister_dev() should never fail ef46a13b9c4e KVM: x86: clear bus pointer when destroyed 5289f1ce39a7 serial: mxs-auart: Fix baudrate calculation 67e41b1368b1 USB: fix linked-list corruption in rh_call_control() 1f1c9e29651d tty/serial: atmel: fix TX path in atmel_console_write() e087ae68e87b tty/serial: atmel: fix race condition (TX+DMA) b3641939b1ae ACPI: Do not create a platform_device for IOAPIC/IOxAPIC 000d2bb6c059 ACPI: Fix incompatibility with mcount-based function graph tracing 76343bfbcafa parisc: Fix access fault handling in pa_memcpy() 99e354a59ac5 parisc: Avoid stalled CPU warnings after system shutdown 09b931fcb87c parisc: Clean up fixup routines for get_user()/put_user() 3967cf7e6a91 nfsd: map the ENOKEY to nfserr_perm for avoiding warning 461bbb90942a NFSv4.1 fix infinite loop on IO BAD_STATEID error 80df2b3e185e mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection fa3b4f4f574a mmc: sdhci: Disable runtime pm when the sdio_irq is enabled 8d6c33224261 HID: wacom: Don't add ghost interface as shared data e5a134739151 ASoC: Intel: Skylake: fix invalid memory access due to wrong reference of pointer 7a042a4eeb8d ASoC: atmel-classd: fix audio clock rate 8aabccdc9d4f ALSA: hda - fix a problem for lineout on a Dell AIO machine 74a2c1ff88a4 ALSA: seq: Fix race during FIFO resize 0dd5b335ed69 PCI: iproc: Save host bridge window resource in struct iproc_pcie 8f9155989f12 scsi: scsi_dh_alua: Ensure that alua_activate() calls the completion function 68b275b7cbf0 scsi: scsi_dh_alua: Check scsi_device_get() return value cf31d6d21559 scsi: libsas: fix ata xfer length c2a869527865 scsi: sg: check length passed to SG_NEXT_CMD_LEN d5dbd1c95920 xfs: try any AG when allocating the first btree block when reflinking da617af8f0c6 xfs: use iomap new flag for newly allocated delalloc blocks 77aedb0cbe6a xfs: Use xfs_icluster_size_fsb() to calculate inode alignment mask d07b5855ab7f xfs: fix and streamline error handling in xfs_end_io 3b83a02af271 xfs: only reclaim unwritten COW extents periodically a24029369433 xfs: tune down agno asserts in the bmap code 9559c48c1a7d xfs: Use xfs_icluster_size_fsb() to calculate inode chunk alignment 5db7b41b607d xfs: don't reserve blocks for right shift transactions e5e2e56fd4dd xfs: fix uninitialized variable in _reflink_convert_cow c251c6c2dec9 xfs: split indlen reservations fairly when under reserved 2d7c1c7ffafd xfs: handle indlen shortage on delalloc extent merge 47d7d1ea6c5f xfs: don't fail xfs_extent_busy allocation 5bbf5ba693ac xfs: reject all unaligned direct writes to reflinked files 67eb7bf836af xfs: update ctime and mtime on clone destinatation inodes e060f4884c93 xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t e02f0ff252f2 xfs: mark speculative prealloc CoW fork extents unwritten 8370826f7d32 xfs: allow unwritten extents in the CoW fork 3d2bd2fd5cba xfs: verify free block header fields 4056a74aafba xfs: check for obviously bad level values in the bmbt root efab3ae29c15 xfs: filter out obviously bad btree pointers 7e2dd1fb7102 xfs: fail _dir_open when readahead fails 0a6844abacc1 xfs: fix toctou race when locking an inode to access the data map 4127a5d9fb89 xfs: fix eofblocks race with file extending async dio writes 4d725d7474df xfs: sync eofblocks scans under iolock are livelock prone 798b1dc5cbdf xfs: pull up iolock from xfs_free_eofblocks() 08a2a2681682 xfs: use per-AG reservations for the finobt 9be1c33d4a99 xfs: only update mount/resv fields on success in __xfs_ag_resv_init 8b08aec62c24 xen/setup: Don't relocate p2m over existing one 860153772461 libceph: force GFP_NOIO for socket allocations f67677274670 Linux 4.9.20 1dc3a068cc11 usb: musb: fix possible spinlock deadlock 916c5cfeab40 sched/rt: Add a missing rescheduling point 2984e52c75c6 fscrypt: remove broken support for detecting keyring key revocation 21c95eca627b metag/ptrace: Reject partial NT_METAG_RPIPE writes 2d6532ceb45b metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS 2739b4874165 metag/ptrace: Preserve previous registers for short regset write 84b94c4356c6 sparc/ptrace: Preserve previous registers for short regset write 0ba34c87f7ce mips/ptrace: Preserve previous registers for short regset write 616fe993f410 h8300/ptrace: Fix incorrect register transfer count d77bd2d6a478 c6x/ptrace: Remove useless PTRACE_SETREGSET implementation dd6054234bd8 pinctrl: qcom: Don't clear status bit on irq_unmask b82b2f930c2b virtio_balloon: init 1st buffer in stats vq 3e8c6bd9dbc4 KVM: x86: cleanup the page tracking SRCU instance 79191ea36dc9 xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder 64a5465799ee xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window f68a09c7944e xfrm: policy: init locks early c8e131605de2 Linux 4.9.19 bc959a402d1e crypto: algif_hash - avoid zero-sized array 3fd37725c4e0 fbcon: Fix vc attr at deinit c75fe7899538 drm: reference count event->completion 56769e7a0526 nl80211: fix dumpit error path RTNL deadlocks 7b3c8b2a2e63 drm/bridge: analogix dp: Fix runtime PM state on driver bind eae72468c45d device-dax: fix pmd/pte fault fallback handling 81ec3dc1de0a libceph: don't set weight to IN when OSD is destroyed df1fe6c9ad48 Drivers: hv: vmbus: Don't leak memory when a channel is rescinded b1f6b0a5a066 Drivers: hv: vmbus: Don't leak channel ids 3076066bb507 intel_th: Don't leak module refcount on failure to activate b176a6eed370 jbd2: don't leak memory if setting up journal fails 90f39ad2ce94 auxdisplay: img-ascii-lcd: add missing sentinel entry in img_ascii_lcd_matches 9740abe0fd18 drm/amdgpu: reinstate oland workaround for sclk 21d17f1b53ce blk-mq: don't complete un-started request in timeout handler 62f6341c858b cgroup, net_cls: iterate the fds of only the tasks which are being migrated f565084692d6 cpufreq: Restore policy min/max limits on CPU online b9ed800f7188 arm64: kaslr: Fix up the kernel image alignment 2ab97521ce11 ARM: at91: pm: cpu_idle: switch DDR to power-down mode ca5477ad190b Revert "ARM: at91/dt: sama5d2: Use new compatible for ohci node" 352c0214b7f2 iommu/vt-d: Fix NULL pointer dereference in device_to_iommu bc63212d2271 xen/acpi: upload PM state from init-domain to Xen b1ef9daa50cc crypto: ccp - Assign DMA commands to the channel's CCP cb6e07ba5878 mwifiex: pcie: don't leak DMA buffers when removing 35ef543eb372 clk: sunxi-ng: mp: Adjust parent rate for pre-dividers 867f7804ce65 clk: sunxi-ng: sun6i: Fix enable bit offset for hdmi-ddc module clock c445f9969641 hwrng: geode - Revert managed API changes 5d6f7b36111d hwrng: amd - Revert managed API changes 0d69a8804134 mmc: sdhci-pci: Do not disable interrupts in sdhci_intel_set_power b43ba21b3523 mmc: sdhci: Do not disable interrupts while waiting for clock 2ab2e879110b mmc: sdhci-of-arasan: fix incorrect timeout clock ace22e6fdb4f mmc: sdhci-of-at91: Support external regulators 1e360905f61f powerpc/64s: Fix idle wakeup potential to clobber registers 9a9dc3ec7ce1 ext4: lock the xattr block before checksuming it f572ba9a7138 ext4: mark inode dirty after converting inline directory 0f29bcfdcf68 parport: fix attempt to write duplicate procfiles 1e6b50335012 iio: magnetometer: ak8974: remove incorrect __exit markups 9808ff151781 iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3 cf43d679ccc5 iio: sw-device: Fix config group initialization ec271b0e05b2 iio: adc: ti_am335x_adc: fix fifo overrun recovery dfcacd07bf06 mmc: ushc: fix NULL-deref at probe 2e7486a05b81 uwb: hwa-rc: fix NULL-deref at probe f01c54fe0a8f uwb: i1480-dfu: fix NULL-deref at probe 5e50afb2273c USB: usbtmc: fix probe error path 73c4e2ede5a9 USB: usbtmc: add missing endpoint sanity check 4e615886770a usb: hub: Fix crash after failure to read BOS descriptor 51a3f3ec531a usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer 46aeeb2ac18a USB: wusbcore: fix NULL-deref at probe a4887ea588e9 USB: idmouse: fix NULL-deref at probe 21e0621e3cd7 USB: lvtest: fix NULL-deref at probe e4942716bb78 USB: uss720: fix NULL-deref at probe 222ccd4f837b usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk d8ec35ad8b36 usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval ff8d97a822c6 ACM gadget: fix endianness in notifications 381420a46ae5 USB: serial: qcserial: add Dell DW5811e 21586e4dcc9b USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems 0fe8771373c2 ALSA: hda - Adding a group of pin definition to fix headset problem e800ff1fade6 ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call ca79952dfc63 ALSA: seq: Fix racy cell insertions during snd_seq_pool_done() 425823646eae Input: sur40 - validate number of endpoints before using them b1feb4e5aab4 Input: kbtab - validate number of endpoints before using them 83d920e464fa Input: cm109 - validate number of endpoints before using them 9f6a8dca9874 Input: yealink - validate number of endpoints before using them d9a3e6424e61 Input: hanwang - validate number of endpoints before using them 1f5a512844a8 Input: ims-pcu - validate number of endpoints before using them 0afac79f6696 Input: iforce - validate number of endpoints before using them de2ba8081e6d Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000 3c9da7cfb7cf Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw 4ccef6bd3a02 Input: ALPS - fix trackstick button handling on V8 devices 81643d000315 Input: ALPS - fix V8+ protocol handling (73 03 28) 9e13bcef2469 tcp: initialize icsk_ack.lrcvtime at session start time a53ea6051c7f socket, bpf: fix sk_filter use after free in sk_clone_lock 62e85fe59072 ipv4: provide stronger user input validation in nl_fib_input() 2f94dd54cfe6 net: bcmgenet: remove bcmgenet_internal_phy_setup() d80caeb9b86d ipv6: make sure to initialize sockc.tsflags before first use c87ef8734d25 net/mlx5e: Count LRO packets correctly 36bb24fadbaa net/mlx5e: Count GSO packets correctly 0ceb7181e876 net/mlx5: Increase number of max QPs in default profile 38d23e13ba07 net/mlx5e: Use the proper UAPI values when offloading TC vlan actions f375f73c720b net/mlx5: Add missing entries for set/query rate limit commands 4e7c821b6862 net: vrf: Reset rt6i_idev in local dst after put 4b9b7f17bab1 qmi_wwan: add Dell DW5811e 91ad0c0885c8 net: unix: properly re-increment inflight counter of GC discarded candidates ef7c1e297d44 openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD fafc9555d87a amd-xgbe: Fix jumbo MTU processing on newer hardware e9c1b1ab1225 net: properly release sk_frag.page 4d5bc781eb2c net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled 03e9554ac48f net/openvswitch: Set the ipv6 source tunnel key address attribute correctly 2a486264b736 Linux 4.9.18 c2eeabe94145 ext4: fix fencepost in s_first_meta_bg validation dea2f1e0c5e9 drm/amdgpu/si: add dpm quirk for Oland 228514bf2430 cgroup/pids: remove spurious suspicious RCU usage warning 3f406ecddf8a percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages a33e71c5f0cb gfs2: Avoid alignment hole in struct lm_lockname c795d8780cc8 isdn/gigaset: fix NULL-deref at probe 033850b95300 target: Fix VERIFY_16 handling in sbc_parse_cdb de1ff848c74f scsi: libiscsi: add lock around task lists to fix list corruption regression 42ba2c265b08 scsi: lpfc: Add shutdown method for kexec f8e24eab9bcd target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export ad5166415ff3 md/raid1/10: fix potential deadlock 4265e0b487da powerpc/boot: Fix zImage TOC alignment bb8c61ad784d cpufreq: Fix and clean up show_cpuinfo_cur_freq() b76d4fb2d944 NFS prevent double free in async nfs4_exchange_id 87144ec25091 xprtrdma: Squelch kbuild sparse complaint 69efd8e21246 perf/core: Fix event inheritance on fork() c04a938229e7 perf/core: Fix use-after-free in perf_release() 13695ce5b102 parisc: Fix system shutdown halt a690a42ae7b9 parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range 66e70bdca599 qla2xxx: Fix request queue corruption. c5ad350d6144 qla2xxx: Fix memory leak for abts processing 85f687708c81 give up on gcc ilog2() constant optimizations 2bbcbc24474e drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state. dd0b0e22a588 drm/vc4: Fix termination of the initial scan for branch targets. (From OE-Core rev: d42d49cfed9ab7afbf6aceaa4547cece9564c75e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.4: update to v4.4.60Bruce Ashfield2017-04-133-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the korg stable relase with the following shortlog summary: 8f8ee9706b0a Linux 4.4.60 84bd21a708b8 padata: avoid race in reordering 5cca175b6cda blk: Ensure users for current->bio_list can see the full list. 2cbd78f4239b blk: improve order of bio handling in generic_make_request() 063d30f187f5 power: reset: at91-poweroff: timely shutdown LPDDR memories 42462d23e60b KVM: kvm_io_bus_unregister_dev() should never fail 3a1246b46df5 rtc: s35390a: improve irq handling a55ae9d1937b rtc: s35390a: implement reset routine as suggested by the reference fdd4bc9313e5 rtc: s35390a: make sure all members in the output are set b3ed3864912e rtc: s35390a: fix reading out alarm 6280ac931a23 MIPS: Lantiq: Fix cascaded IRQ setup 47e2fe17d14d mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd() ef55c3df5dbd drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags 3eb392056aeb KVM: x86: clear bus pointer when destroyed eac3ab3e6915 USB: fix linked-list corruption in rh_call_control() 0a1757cfa5ba tty/serial: atmel: fix TX path in atmel_console_write() 74b8fc017d76 tty/serial: atmel: fix race condition (TX+DMA) 566a8711a7dd ACPI: Do not create a platform_device for IOAPIC/IOxAPIC 3342857ac074 ACPI: Fix incompatibility with mcount-based function graph tracing ab48ab614b8c ASoC: atmel-classd: fix audio clock rate ce3dcfdbff04 ALSA: hda - fix a problem for lineout on a Dell AIO machine a90d7447e4a1 ALSA: seq: Fix race during FIFO resize 75a03869c93a scsi: libsas: fix ata xfer length a92f411914ca scsi: sg: check length passed to SG_NEXT_CMD_LEN 18639c4bad72 scsi: mpt3sas: fix hang on ata passthrough commands 1eed198ce16b xen/setup: Don't relocate p2m over existing one ba46d8fab00a libceph: force GFP_NOIO for socket allocations 61a4577c9a44 Linux 4.4.59 2bed5987692c sched/rt: Add a missing rescheduling point 7a5202190810 fscrypt: remove broken support for detecting keyring key revocation 573341eba9c4 metag/ptrace: Reject partial NT_METAG_RPIPE writes e441102d8c07 metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS 2d9bc3695012 metag/ptrace: Preserve previous registers for short regset write 962b95a88574 sparc/ptrace: Preserve previous registers for short regset write c8693666856c mips/ptrace: Preserve previous registers for short regset write e1dc8904b33b h8300/ptrace: Fix incorrect register transfer count 6e174bbd0631 c6x/ptrace: Remove useless PTRACE_SETREGSET implementation 800791e7e0fd pinctrl: qcom: Don't clear status bit on irq_unmask 927d04793f8a virtio_balloon: init 1st buffer in stats vq 22c9e7c092f6 xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder cce7e56dd73f xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window a9a76a3e318e xfrm: policy: init locks early 0a5766a6a73b Linux 4.4.58 f8a62dbc7902 crypto: algif_hash - avoid zero-sized array 540d6d756ff8 fbcon: Fix vc attr at deinit ac601978a2aa serial: 8250_pci: Detach low-level driver during PCI error recovery b8687d83b34c ACPI / blacklist: Make Dell Latitude 3350 ethernet work d3607fc2976e ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520 4e2c66bb6658 uvcvideo: uvc_scan_fallback() for webcams with broken chain ce5494107946 s390/zcrypt: Introduce CEX6 toleration 7023f502c835 block: allow WRITE_SAME commands with the SG_IO ioctl 9fd9e1436380 vfio/spapr: Postpone allocation of userspace version of TCE table 4110080574ac PCI: Do any VF BAR updates before enabling the BARs bcbdcf48469b PCI: Ignore BAR updates on virtual functions d4f09ea7e35c PCI: Update BARs using property bits appropriate for type 131f7969048b PCI: Don't update VF BARs while VF memory space is enabled 40a85d68185f PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE 1278c9f87f11 PCI: Add comments about ROM BAR updating cef498a2c75a PCI: Remove pci_resource_bar() and pci_iov_resource_bar() a87693ec42f2 PCI: Separate VF BAR updates from standard BAR updates e4ce31c0265d x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic ca7e3bdc9c7e igb: add i211 to i210 PHY workaround 4db313df4946 igb: Workaround for igb i210 firmware issue ec52364445a4 xen: do not re-use pirq number cached in pci device msi msg data 6d43e485e006 xfs: clear _XBF_PAGES from buffers when readahead page f154de03f416 USB: usbtmc: add missing endpoint sanity check 74c8dd066cc0 nl80211: fix dumpit error path RTNL deadlocks 7922c1becb36 xfs: fix up xfs_swap_extent_forks inline extent handling c4cf86f69597 xfs: don't allow di_size with high bit set 48da8f817b9d libceph: don't set weight to IN when OSD is destroyed 73dd1edf50a6 raid10: increment write counter after bio is split 175039632065 cpufreq: Restore policy min/max limits on CPU online e1af444e52ce ARM: dts: at91: sama5d2: add dma properties to UART nodes 2705b183263b ARM: at91: pm: cpu_idle: switch DDR to power-down mode 55b6c187cf9d iommu/vt-d: Fix NULL pointer dereference in device_to_iommu c856b66c8aac xen/acpi: upload PM state from init-domain to Xen 52e40a2fcc39 mmc: sdhci: Do not disable interrupts while waiting for clock 27d9bf096406 ext4: mark inode dirty after converting inline directory c7d1545c48ff parport: fix attempt to write duplicate procfiles 7413d1f8991e iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3 8f189e1d0eca iio: adc: ti_am335x_adc: fix fifo overrun recovery dcf879cb9ed3 mmc: ushc: fix NULL-deref at probe 2c251e568e1a uwb: hwa-rc: fix NULL-deref at probe 815321da2e26 uwb: i1480-dfu: fix NULL-deref at probe 14a2032287d4 usb: hub: Fix crash after failure to read BOS descriptor 47285be050ca usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer a7cb1fafe429 USB: wusbcore: fix NULL-deref at probe d6389d6abb8a USB: idmouse: fix NULL-deref at probe a7712869e2e7 USB: lvtest: fix NULL-deref at probe 73490abe249c USB: uss720: fix NULL-deref at probe 2c929ea720f9 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk 8a8a8007871a usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval 19f0fe67b9d0 ACM gadget: fix endianness in notifications 9218793a39de USB: serial: qcserial: add Dell DW5811e 8f0f081647cc USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems 1ea551eec703 ALSA: hda - Adding a group of pin definition to fix headset problem ed00b613bbcb ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call b55ffcb1bc8a ALSA: seq: Fix racy cell insertions during snd_seq_pool_done() 549993001e7d Input: sur40 - validate number of endpoints before using them b3c4c0c470b5 Input: kbtab - validate number of endpoints before using them c05490638ddf Input: cm109 - validate number of endpoints before using them e916f1d6188e Input: yealink - validate number of endpoints before using them 0812c6855c89 Input: hanwang - validate number of endpoints before using them 6bed7c1e2b78 Input: ims-pcu - validate number of endpoints before using them a07d3669654a Input: iforce - validate number of endpoints before using them 5f9243e4fca6 Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000 9ac7bd114e13 Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw afaed241928f tcp: initialize icsk_ack.lrcvtime at session start time 95aa915c2f04 socket, bpf: fix sk_filter use after free in sk_clone_lock 38dece41e5be ipv4: provide stronger user input validation in nl_fib_input() 85f00dac91a1 net: bcmgenet: remove bcmgenet_internal_phy_setup() fdcee7c1e2f8 net/mlx5e: Count LRO packets correctly 9d1894cba25c net/mlx5: Increase number of max QPs in default profile 610c6bcc5fcf net: unix: properly re-increment inflight counter of GC discarded candidates ae43f9360a21 amd-xgbe: Fix jumbo MTU processing on newer hardware f3126725228c net: properly release sk_frag.page 12f0bffc489d net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled b362d6735156 net/openvswitch: Set the ipv6 source tunnel key address attribute correctly a5c3f390eb77 Linux 4.4.57 5fa513cb0721 ext4: fix fencepost in s_first_meta_bg validation d88b83e66bbf percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages e08f608ab428 gfs2: Avoid alignment hole in struct lm_lockname 4f47ca488256 isdn/gigaset: fix NULL-deref at probe d267ecbdfdb4 target: Fix VERIFY_16 handling in sbc_parse_cdb 246760c61d9c scsi: libiscsi: add lock around task lists to fix list corruption regression 82bd06aba880 scsi: lpfc: Add shutdown method for kexec 0a621633cdfa target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export 582f548924cd md/raid1/10: fix potential deadlock b24473976b98 powerpc/boot: Fix zImage TOC alignment 09875d1393d4 cpufreq: Fix and clean up show_cpuinfo_cur_freq() f02729f2ab87 perf/core: Fix event inheritance on fork() 4cb0c0b73d1c give up on gcc ilog2() constant optimizations 6052eb871217 kernek/fork.c: allocate idle task for a CPU always on its local node 6cc5b73d7969 hv_netvsc: use skb_get_hash() instead of a homegrown implementation cea050150323 tpm_tis: Use devm_free_irq not free_irq 13a26889cbc1 drm/amdgpu: add missing irq.h include 68ea3948ed3d s390/pci: fix use after free in dma_init 50730d7f361f KVM: PPC: Book3S PR: Fix illegal opcode emulation e2d9577854f5 xen/qspinlock: Don't kick CPU if IRQ is not initialized b1a0f744f8e6 Drivers: hv: avoid vfree() on crash 0a2512768f16 Drivers: hv: balloon: don't crash when memory is added in non-sorted order 3787a071d145 pinctrl: cherryview: Do not mask all interrupts in probe 962c66c74184 ACPI / video: skip evaluating _DOD when it does not exist 12e1a3cd11ea cxlflash: Increase cmd_per_lun for better throughput f8c07cbc2e72 crypto: mcryptd - Fix load failure 10659b8f5c60 crypto: cryptd - Assign statesize properly c78c3376ec67 crypto: ghash-clmulni - Fix load failure 45d9558837d4 USB: don't free bandwidth_mutex too early ac1a97d8a562 usb: core: hub: hub_port_init lock controller instead of bus (From OE-Core rev: 52a6823d4279d580a2b4bbfdc06234a903a17d93) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: classes: Add building dir to uImage creationMylène Josserand2017-04-131-1/+1
| | | | | | | | | | | | | | On the do_uboot_mkimage task from kernel-uimage.bbclass, in case KEEPUIMAGE is different than the default "yes" value, the uboot-mkimage command fails because the path of the created uImage does not exist. On this task, we are under the BUILDDIR so there is no folder arch/<ARCH>/boot. Add the ${B} (for kernel build directory) as prefix to this folder fixes the problem. (From OE-Core rev: e5a6ee0d0655827d06a6030380277ee61a6db0ef) Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/core/runner: Append PID in the test result folder nameLeonardo Sandoval2017-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was found a case (see the bugzilla entry) where two runners were running at the same second, creating identical test result folders, so one of them (the second runner) was not able to create the folder because the other has already created it, raising the following exception (many text was removed from log) NOTE: Executing RunQueue Tasks NOTE: Running task 1 of 2 (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/recipes-core/images/core-image-minimal.bb:do_testsdkext) NOTE: Running task 2 of 2 (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/recipes-sato/images/core-image-sato.bb:do_testsdkext) NOTE: recipe core-image-sato-1.0-r0: task do_testsdkext: Started NOTE: recipe core-image-minimal-1.0-r0: task do_testsdkext: Started . . The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: <module> 0001: *** 0002:do_testsdkext(d) 0003: File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/classes/testsdk.bbclass', lineno: 188, function: do_testsdkext 0184: 0185:testsdkext_main[vardepsexclude] =+ "BB_ORIGENV" 0186: 0187:python do_testsdkext() { *** 0188: testsdkext_main(d) 0189:} 0190:addtask testsdkext 0191:do_testsdkext[nostamp] = "1" 0192: File: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/meta/classes/testsdk.bbclass', lineno: 171, function: testsdkext_main 0167: except Exception as e: 0168: import traceback 0169: bb.fatal("Loading tests failed:\n%s" % traceback.format_exc()) 0170: *** 0171: result = tc.runTests() . . File: '/usr/lib64/python3.5/os.py', lineno: 241, function: makedirs 0237: cdir = bytes(curdir, 'ASCII') 0238: if tail == cdir: # xxx/newdir/. exists if xxx/newdir exists 0239: return 0240: try: *** 0241: mkdir(name, mode) 0242: except OSError: 0243: # Cannot rely on checking for EEXIST, since the operating system 0244: # could give priority to other errors like EACCES or EROFS 0245: if not exist_ok or not path.isdir(name): Exception: FileExistsError: [Errno 17] File exists: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/TestResults_20170409130114' [YOCTO #11318] (From OE-Core rev: 10aa09d39c1b70ce2a88f59601f1f8dbc96ed817) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blacklist.bbclass: fix for multilibRobert Yang2017-04-132-25/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed: The netmap has been blacklisted in meta-networking/recipes-kernel/netmap/netmap_git.bb, but lib32-netmap still can be built (suppose it doesn't depend on another broken recipe netmap-modules, it is a little complicated, will talk below): $ bitbake lib32-netmap This is because of the old code masks on bb.event.ConfigParsed which can only handle global blacklist, netmap sets blacklist in the recipe, so it can't be handled, and lib32-netmap can be built. which was incorrect: blacklist_multilib_eventhandler[eventmask] = "bb.event.ConfigParsed" Move multilib code into multilib.bbclass can fix the problem easily: $ bitbake lib32-netmap ERROR: Nothing PROVIDES 'lib32-netmap' ERROR: lib32-netmap was skipped: Recipe is blacklisted: BROKEN: <foo> * Not fixed Another problem is netmap-modules has also been blacklisted in the recipe, and the recipe inherits module.bbclass, so multilib.bbclass doesn't handle it as the code shows: # There should only be one kernel in multilib configs # We also skip multilib setup for module packages. provides = (e.data.getVar("PROVIDES") or "").split() if "virtual/kernel" in provides or bb.data.inherits_class('module-base', e.data): raise bb.parse.SkipPackage("We shouldn't have multilib variants for the kernel") And netmap-modules provides lib32-netmap-modules which is handled in multilib_global.bbclass, so bitbake lib32-netmap-modules can't show the blacklist message: $ bitbake netmap-modules ERROR: Nothing PROVIDES 'netmap-modules' ERROR: netmap-modules was skipped: Recipe is blacklisted: BROKEN: <foo> ERROR: netmap-modules was skipped: We shouldn't have multilib variants for the kernel $ bitbake lib32-netmap-modules ERROR: Nothing PROVIDES 'lib32-netmap-modules'. Close matches: netmap-modules netmap-modules lib32-fbset-modes Note the different messages between netmap-modules and lib32-netmap-modules. This is because multilib.bbclass doesn't handle the "module" recipe so there is no PN called lib32-netmap-modules, therefore blacklist.bbclass can't handle it. Note, there are two "netmap-modules" which needs to be fixed later. (From OE-Core rev: c8749ed1edcbb544f6656ee5da80f2cf647c405a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: In defconfig enable ASH_CMDCMD for built-in 'command'Nathan Rossi2017-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | It is common for *ash shells to have 'command' available as a built-in function. POSIX 2008 also documents the availability of this command. Additionally the /etc/profile of base-files requires this command to be available as of commit e77cdb7611 ("base-files: profile: Do not assume that the tty command exists"). If it is not available the following message is output during login on a image using busybox. -sh: command: not found It however should be noted that tcsh and csh do not provide 'command' (built-in or otherwise). (From OE-Core rev: e41c90b852167bbcb434da57b84280e855acae33) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes/*-cross recipes: ignore TARGET_ARCH sstate hashPatrick Ohly2017-04-124-0/+12
| | | | | | | | | | | | | | | | | | | | | | "yocto-compat-layer.py --machines" showed that shared packages like gcc-cross-powerpc64 have a sstate signature that depends on TUNEFLAGS. As a result, there are unnecessary rebuilds and potential conflicts in a multiconfig. That's due to the way how TARGET_ARCH is set. Richard Purdie suggested setting TARGET_ARCH[vardepvalue] as fix, which works. It would be shorter to do that in cross.bbclass instead of repeating the relevant line in different recipes, but Richard was concerned about potential side-effects in other usages of cross.bbclass. TARGET_GOARM as used in go.inc is still causing signature differences for go-cross-powerpc64 and machines b4420qds-64b and p5020ds-64b. This needs further investigation. (From OE-Core rev: 39bfa0dd3237cbca47e7fca1075d521f9d073f25) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb-cross: avoid tune specific pathsPatrick Ohly2017-04-121-1/+1
| | | | | | | | | | | | | | | | gdb-cross used to be specific to the tune flags, but isn't anymore. Therefore it is enough to use TARGET_SYS instead of TUNE_PKGARCH to create a unique path. Fixes a sstate signature difference that was found via yocto-compat-layer.py's test_machine_signatures check. In practice it probably showed up as unnecessarily rebuilding gdb-cross when switching between machines like intel-corei7-64 and qemux86-64. (From OE-Core rev: f346473a4868563db7fb63665e808c3fe25a8b58) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go-cross: avoid libgcc dependencyPatrick Ohly2017-04-121-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | libgcc gets compiled differently depending on the tune flags for the target. That dependency would make go-cross also tune specific and prevent sharing it between different machines using the same architecture. For example, MACHINE=intel-corei7-64 and MACHINE=qemux86-64 shared the same go-cross-x86_64, but compiled libgcc differently. The libgcc dependency gets inherited from go.inc, but does not seem to be necessary for go-cross (compiling go-helloworld still succeeds). The dependency is left in go.inc conditionally, just in case that it really is relevant for the various on-target recipes which inherit that. Because go-cross*.bb includes go*.bb, moving the DEPENDS into a .inc file that only gets included for the target recipes doesn't work. Reshuffling the content of three .bb files seems too intrusive at this point. (From OE-Core rev: 58149a7be4172074349951aaf5af95fa40fd4bdb) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ed: update SRC_URI to yoctoproject mirrorMaxin B. John2017-04-121-1/+3
| | | | | | | | | | | | Upstream has removed the 1.14.1 release from ftp.gnu.org and moved to the latest 1.14.2. Since we don't want to upgrade at this point of time, temporarily move the SRC_URI to yoctoproject mirror. (From OE-Core rev: a2f1026b3d8c9f9810cb4389a8a93fabb04e15a4) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* native/nativesdk: Use fixed DISTRO_FEATURESJussi Kukkonen2017-04-124-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There seems to be little advantage to letting distro features affect native builds. There is a significant disadvantage: a change to DISTRO_FEATURES will trigger a lot of unnecessary native tasks. In a test like this: $ bitbake core-image-minimal # append " systemd" to DISTRO_FEATURES $ bitbake core-image-minimal The latter build takes 44 minutes (28%) of cpu-time less with this patch (skipping 135 native tasks). Sadly wall clock time was not affected as glibc remains the bottleneck. Set native distro features to DISTRO_FEATURES_NATIVE appended with an intersection of DISTRO_FEATURES and DISTRO_FEATURES_FILTER_NATIVE. Current default values (baitbake.conf) are * DISTRO_FEATURES_FILTER_NATIVE ?= "api-documentation" (as gtk-doc-native has much less dependencies when built without it) * DISTRO_FEATURES_NATIVE ?= "x11" (to enable native UIs even if target does not containe them) Do the variable setting in native_virtclass_handler() because otherwise it could still be overridden by appends and the feature backfilling. Shuffle the early returns so DISTRO_FEATURES gets set as long as the packagename ends with "-native". Add similar variables for nativesdk. To make nativesdk work we need to enable the locale options so nativesdk-glibc-locales can build and to avoid the init manager check in the nativesdk case so add those fixes. (From OE-Core rev: 731744d5538e315702be828e6f2bd556309dee07) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_manager.py: Add a name for the generated dnf repo.Ian.Arkver2017-04-121-1/+1
| | | | | | | | | | | This adds repo_name as the name, which is the same as the repo ID and hence a bit pointless, but it stops dnf from complaining that the repo doesn't have a configured name. (From OE-Core rev: c92cff23893e87cfb7ef9f77b16761310104543a) Signed-off-by: Ian.Arkver <ian.arkver.dev@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/wic.py: vda -> sdaRobert Yang2017-04-121-3/+3
| | | | | | | | | | | | Previously, runqemu grep root=/dev/sd or root=/dev/hd on the image, and would use vda if no grep result, now we have set QB_DRIVE_TYPE to "/dev/sd" by default, and the device will be /dev/sda, so use sda to replace vda in the test case. (From OE-Core rev: a722016df3f452f7a870157a99a1abb7d97d8280) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-selftest: test wic sparse_copy APIEd Bartosh2017-04-121-0/+29
| | | | | | | | | | | | | Added new parameter 'api' to sparse_copy function to specify underlying filemap API to use. By default sparse_copy will try both available APIs. Added test case for sparse_copy to wic test suite. (From OE-Core rev: 88701cef6ba399e82f96ed1b0eef9a44ed8c1687) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: do not rely on grepping imagesRobert Yang2017-04-121-0/+3
| | | | | | | | | | | | | Fixed when the image is large and not enough memory: grep: memory exhausted Aborted [YOCTO #11073] (From OE-Core rev: a99deb30a0138594147ae28aab016fe4b74b8959) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-runner: Upgrade to minor version 2.0.2Aníbal Limón2017-04-111-2/+2
| | | | | | | | | | | | To fix a problem when print ERROR after a ptest timeout, this causes the user confusion about if a test ends or not. [YOCTO #10842] (From OE-Core rev: 210c518ba8f8d6ec6e9d34e0df8b963a3b2e0593) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-good: Backport patch for v4l2object videometaCarlos Rafael Giani2017-04-112-0/+36
| | | | | | | | | | This patch ensures videometa is added to mem2mem decoder output in case the output frames have padding rows/columns (From OE-Core rev: ef94ffee8f11db57ecea398af76dc22576c2068a) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-bad: Update packageconfigs and config flagsCarlos Rafael Giani2017-04-111-6/+7
| | | | | | | (From OE-Core rev: 5acad7f33aebfac4c5a3a68778f5860f954904fe) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging: Fix sysroot problem with populate_sysroot dependencies on do_fetchRichard Purdie2017-04-111-1/+6
| | | | | | | | | | | | | | | | | Dependencies on svn:// urls were failing as the cleandirs on do_fetch was destroying any sysroot setup by the extend_recipe_sysroot function. Add code so that if the task do_fetch, we move the cleandirs to a separate function before the extend_recipe_sysroot prefunc else we'd wipe out the sysroot we just created. This allows fetcher do_populate_sysroot dependencies to work correctly again. I did try various other approaches and a seperate function with cleandirs was the cleanest way to add this without code duplication or too much complexity. (From OE-Core rev: b32fbfc85b14059f0bfdeeffe2c52f8d3c20f276) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Fix CVE-2017-6965 and CVE-2017-6966Yuanjie Huang2017-04-113-0/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport upstream commit to address vulnerabilities: CVE: CVE-2017-6965 [BZ 21137] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21137 Fix readelf writing to illegal addresses whilst processing corrupt input files containing symbol-difference relocations. PR binutils/21137 * readelf.c (target_specific_reloc_handling): Add end parameter. Check for buffer overflow before writing relocated values. (apply_relocations): Pass end to target_specific_reloc_handling. CVE: CVE-2017-6966 [BZ 21139] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21139 Fix read-after-free error in readelf when processing multiple, relocated sections in an MSP430 binary. PR binutils/21139 * readelf.c (target_specific_reloc_handling): Add num_syms parameter. Check for symbol table overflow before accessing symbol value. If reloc pointer is NULL, discard all saved state. (apply_relocations): Pass num_syms to target_specific_reloc_handling. Call target_specific_reloc_handling with a NULL reloc pointer after processing all of the relocs. (From OE-Core rev: 8c52a530ba2beb438aa47956bcec3777a1eafe5f) Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsolv: correctly attribute musl fixing patchesAlexander Kanavin2017-04-113-33/+137
| | | | | | | | | | | | | Also, they were previously squashed into a single patch; restore the original two-patch arrangement. As requested here: http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135460.html (From OE-Core rev: 378b333fb09d106fb04901f5a4362fc0eb076e82) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python2/3: Move config/Makefile from core package to dev packageLi Zhou2017-04-112-4/+4
| | | | | | | | | | Move config/Makefile in libdir from core package to dev package for python, because it is only needed in development process. (From OE-Core rev: 8b55d055f046677c18eeaefe3ca18869eedeb14d) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: fix the reference to native perl in ptestsAlexander Kanavin2017-04-111-0/+4
| | | | | | | | | | | This was causing a couple of ptest failures. [YOCTO #10840] (From OE-Core rev: 2e8e72790d3cc3236b6a785f3e04702e71e1ac3f) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk/cases/buildcpio: enable use of cached cpio from DL_DIRJoshua Lock2017-04-111-1/+1
| | | | | | | | | | | | | | All build project test cases will try to copy the requested source artefacts from DL_DIR before fetching. This testcase is referencing bzipped tarball whereas the recipe fetches a gzipped tarball. Switch to fetching the gzipped tarball in the test case so that we're able to use a cached tarball from DL_DIR (From OE-Core rev: 27a5883e8ae01e69f5425efe8b035bea7087b2f9) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toaster: fix SDK artifact captureDavid Reyna2017-04-111-5/+16
| | | | | | | | | | | | | | | | | Use the TaskArtifacts event to scan the SDK and ESDK manifests to cleanly collect the respective artifact files. The previous method was broken when the SDK file deployment moved from the do_populate_sdk[_ext] tasks to their sstate tasks. That method is disabled (but not yet removed) in preparation for the rest of refactor work for the parent #10283 work. [YOCTO #10850] (From OE-Core rev: a6ec56d372f833be50f57bcb79b6ebe78bb93be0) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtd-utils: refresh patches now merged upstreamAndre McCurdy2017-04-114-18/+66
| | | | | | | | | | Update Upstream-Status tags and apply 010-fix-rpmatch.patch unconditionally, since it's merged unconditionally upstream. (From OE-Core rev: 87dcaf2094baf9a7b7993c2ff1f60db73f4248f4) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/buildhistory: save output file signatures for sstate tasksPaul Eggleton2017-04-111-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Save a file per task listing sha256sums for each file staged, i.e. the output of the task. Some caveats: 1) This only covers sstate tasks since it uses SSTATEPOSTUNPACKFUNCS, however those are generally the most interesting in terms of output anyway. 2) The signature is taken before applying any relocations, so any relocated files will actually have different signatures, but that's churn that you probably won't want to see here. 3) At the moment if you run the same build twice without sstate you will very likely see changes in the output for certain tasks due to things like timestamps being present in the binary output. Fixing that is a general Linux ecosystem problem - see this page for our efforts to resolve it on our side: https://wiki.yoctoproject.org/wiki/Reproducible_Builds NOTE: you need to set your BUILDHISTORY_FEATURES value to include "task" to enable collection of these signatures as it is is disabled by default. (From OE-Core rev: ca5d1273432e20059ab66d721a9eb314a54e81e7) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/uninative: set SSTATEPOSTUNPACKFUNCS[vardepvalueexclude] properlyPaul Eggleton2017-04-111-1/+1
| | | | | | | | | | | | | Append to the value with appendVarFlag() instead of setting it outright, so that we can also append to it in other places. Accordingly, this varflag is pipe-separated (since we want to be able to exclude any string fragment, in this case including the leading space), thus put a leading pipe character to play nicely with any existing value. (From OE-Core rev: a147838c3dfd4c53084a19b052b8d4e183293412) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory-diff: add option to compare actual signature differencesPaul Eggleton2017-04-111-16/+76
| | | | | | | | | | | | | | | Use the code underpinning bitbake-diffsigs to add an option to buildhistory-diff to determine and display the differences between the actual signature inputs, with a twist - we collapse identical changes across different tasks, showing only the most recent task to have that difference, meaning that there's less noise to wade through when you just want to know what changed in order to cause some rebuilding you're seeing. (From OE-Core rev: 86cb4b01f2020553902554e512c02147eb4e0f51) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory-diff: add option to compare task signature listPaul Eggleton2017-04-112-5/+50
| | | | | | | | | | | | Having added writing out of the task signature list to buildhistory (when BUILDHISTORY_FEATURES includes "task"), we now need a way to compare the list. This just shows which tasks have been added / changed signature / removed. (From OE-Core rev: 63bd7e9f780a98dda458d612877495756bcc5463) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/buildhistory: write out task signatures on every buildPaul Eggleton2017-04-112-0/+22
| | | | | | | | | | | | | | | | | If we want to determine what changed since the last build, one angle from which to look at it is to check the signatures. However, if we don't actually have the signatures from the last build we don't have anywhere to start. Save the signatures on each build in order to give us the starting point. NOTE: you need to set your BUILDHISTORY_FEATURES value to include "task" to enable collection of these signatures as it is is disabled by default. (From OE-Core rev: 11f68f65c46c5bc26ddeeade3021e83b3a7f895a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Upgrade to latest tipKhem Raj2017-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | * 54807d47 aarch64: add single instruction math functions * b6e1fe0d fix strptime output for %C without %y * 834ef7af fix processing of strptime %p format * 85dfab7e fix off-by-one in strptime %j * 9571c531 regex: fix newline matching with negated brackets * e6917ece increase limit on locale name length from 15 to 23 bytes * e4fc9ad7 search locale name variants for gettext translations * 16319a5d make setlocale return a single name for LC_ALL if all categories match * 0c53178e fix dlopen/dlsym regression opening libs already loaded at startup * dbff2bb8 fix POSIX-format TZ dst transition times for southern hemisphere * 74bca42e s390x: fix fpreg_t and remove unused per_struct * a393d5cc precalculate gnu hash rather than doing it lazily in find_sym inner loop * 8cba1dc4 fix threshold constants in j0f, y0f, j1f, y1f (From OE-Core rev: 340b3fa6be034bf6a4cd9b2d1ad4788668fabb5b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* logrotate: replace fedorahosted.org SRC_URI with github.com sourceChoong YinThong2017-04-111-4/+13
| | | | | | | | | | | | | | fedorahosted.org was retired on March 1st, 2017. This is to update the SRC_URI to point to github.com. Update the ${PN} to ${BPN} in order to pass the autobuilder mulitlib enable configuration. [YOCTO #11226] (From OE-Core rev: 73a358bdef99771b493fefb5114a936138cb78ce) Signed-off-by: Choong YinThong <yin.thong.choong@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory.bbclass: do not influence sstate of do_rootfsPatrick Ohly2017-04-111-4/+8
| | | | | | | | | | | | | | | | Enabling or disabling buildhistory caused a rebuild of images, which is undesirable. For example, it prevented image reuse from a main build with buildhistory in a following oe-selftest where buildhistory must be disabled. The reason are the additional ROOTFS_POSTUNINSTALL_COMMAND and ROOTFS_POSTUNINSTALL_COMMAND entries. Those need to be excluded both via vardepvalueexclude and vardepsexclude. (From OE-Core rev: e4c28ea05ef4514deb3d19e8e33f81d352712455) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_manager.py: Split feed_archs for RPM repo URIsIan.Arkver2017-04-111-1/+1
| | | | | | | | | | | By default the feed_archs variable is split into single characters resulting in very many broken short repo_uris. Add a split() to split the string into words first. (From OE-Core rev: 7bd6a4d56c08bf7f9ced7c07327e6163216fee08) Signed-off-by: Ian.Arkver <ian.arkver.dev@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-efi: copy header files for x32 buildSaul Wold2017-04-111-0/+5
| | | | | | | | | | | | | Gnu-efi needs to be build for 64bit since it is a boot time tool. It needs these 2 headers to be in 64 bit versions, we can use the existing 32bit ones as there is not really any difference. [YOCTO #11051] (From OE-Core rev: 3398552663e1e18aaf352d682a77a8ad3af94e5a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classutils.py: deterministic sortingJuro Bystricky2017-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The method "prioritized" returns a list sorted by the value of the "priority" field, in descending order. However, if several list items have the same priority, the ordering of those items within the priority-sorted list becomes random. As a consequence, we may end up with a non-deterministic oe-terminal spawning, as several terminals have the same priority. So running commands such as $ bitbake xxx -cdevshell $ bitbake yyy -cmenuconfig may spawn a different terminal each time, for example sometimes Gnome and sometimes Konsole as hey have the same priority. Rather than modifying the priorities so they all differ, we sub-sort the list based on (terminal) names. This way we achieve a deterministic outcome. [YOCTO#10938] (From OE-Core rev: 82ae62f28dd2d5fb2fb261478ac6161315ac6c38) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "staging: Fix sysroot problem with populate_sysroot dependencies on ↵Richard Purdie2017-04-111-5/+0
| | | | | | | | | | do_fetch" There seems to be an issue with the patch, revert for now. This reverts commit cd5e0a32184d98beb8d81e6b5527166d3ca4fb3c. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging: Fix sysroot problem with populate_sysroot dependencies on do_fetchRichard Purdie2017-04-101-0/+5
| | | | | | | | | | | | | | Dependencies on svn:// urls were failing as the cleandirs on do_fetch was destroying any sysroot setup by the extend_recipe_sysroot function. Add code so that if the task do_fetch, we move the cleandirs to the extend_recipe_sysroot task else we'd wipe out the sysroot we just created. This allows fetcher do_populate_sysroot dependencies to work correctly again. (From OE-Core rev: cd5e0a32184d98beb8d81e6b5527166d3ca4fb3c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: Drop cleanup-workdirRichard Purdie2017-04-101-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This script appears broken and is actively breaking build directories. For example, binutils-cross-i586 gets run do_fetch to do_populate_sysroot by: $ oe-selftest -r devtool.DevtoolTests.test_devtool_virtual_kernel_modify then: $ oe-selftest -r oescripts.BuildhistoryDiffTests.test_buildhistory_diff wipes out the contents of tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/ but does not wipe out the corresponding stamps, then: $ oe-selftest -r runtime-test.Postinst.test_postinst_rootfs_and_boot needs binutils-cross-i586:do_populate_lic and if and only if this is unavailable from sstate, it fails since it thinks the source is already unpacked when it isn't resulting in: WARNING: binutils-cross-i586-2.28-r0 do_populate_lic: Could not copy license file /home/pokybuild/yocto-autobuilder/yocto-worker/nigh tly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB to /home/pokybuild/yocto-autobuilder/yocto -worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/license-destdir/binutils-cross-i586/COPYING3.LI B: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-l inux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB' ERROR: binutils-cross-i586-2.28-r0 do_populate_lic: QA Issue: binutils-cross-i586: LIC_FILES_CHKSUM points to an invalid file: /home/ pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3 [license-checksum] and similar errors. Its safer for users to wipe tmp than try and maintain scripts which try to remove pieces of tmp and get it wrong so remove the script. (From OE-Core rev: 809b23c829f352c0eae455ea89f53e2a9ee87f06) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: Don't use cleanup-workdirRichard Purdie2017-04-102-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cleanup-workdir isn't a partcularly good way to attempt to cleanup after tests and in some cases is actively breaking the workdir. Whilst this is a bug in cleanup-workdir, I'd prefer it didn't break tests, particularly when as far as I can see, these calls are "belt and braces" and don't appear to serve a specific purpose. If this introduces bugs, we should fix this bugs. For the purposes of history, binutils-cross-i586 gets run do_fetch to do_populate_sysroot by: $ oe-selftest -r devtool.DevtoolTests.test_devtool_virtual_kernel_modify then: $ oe-selftest -r oescripts.BuildhistoryDiffTests.test_buildhistory_diff wipes out the contents of tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/ but does not wipe out the corresponding stamps, then: $ oe-selftest -r runtime-test.Postinst.test_postinst_rootfs_and_boot needs binutils-cross-i586:do_populate_lic and if and only if this is unavailable from sstate, it fails since it thinks the source is already unpacked when it isn't resulting in: WARNING: binutils-cross-i586-2.28-r0 do_populate_lic: Could not copy license file /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB to /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/license-destdir/binutils-cross-i586/COPYING3.LIB: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB' ERROR: binutils-cross-i586-2.28-r0 do_populate_lic: QA Issue: binutils-cross-i586: LIC_FILES_CHKSUM points to an invalid file: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3 [license-checksum] and similar errors. (From OE-Core rev: a66857096df3f68d38271b3a6792150f009a54b1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pycurl: create python3-pycurl recipeDmitry Rozhkov2017-04-104-31/+38
| | | | | | | | | | | | | The python-pycurl recipe can be used with python2 only even though python3 is officially supported by upstream. Create python3-pycurl recipe enabling the pycurl module for python3. (From OE-Core rev: 6cb9c0a4e75c647b38c81d2d7217b54b2fdfd972) Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative-flags.inc: Build binutils-native as pieRichard Purdie2017-04-101-0/+8
| | | | | | | | | | | | | Some distros (ubuntu 16.10, debian-testing) default to gcc configured with --enable-default-pie (see gcc -v). This breaks e.g. prelink-native on a pie default system if binutils-native was built on a system which is not pie default We therefore enable pie unconditionally for native recipes where static libs are used such as libiberty from binutils, for now, until our minimum distro set is all default pie. (From OE-Core rev: 80b450cca746f068dd63e4546fa4c1eef2d86a0d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Drop incorrect optionRichard Purdie2017-04-101-1/+0
| | | | | | | | | The --disable-static option doesn't exist in ncurses. Its equivalent is --without-normal so remove the option which does nothing. (From OE-Core rev: 974ddd2f99be04f44978c1bce054ed75c9367631) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* no-static-libs: Add entry for ncursesRichard Purdie2017-04-101-0/+4
| | | | | | | | | Yes, the option to disable static libraries in boost really is "--without-normal". Add this for ncurses and its variants. (From OE-Core rev: 6b386e444e494b852b59a9f9e80426d564382139) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/sstatetests: Replace glibc-initial with linux-libc-headersRichard Purdie2017-04-101-15/+5
| | | | | | | | | | | | The intent in these tests was to find something early in the bootstrap process to run tests against which didn't require long build times. This breaks with the removal of the glibc-initial do_build target. Replacing it with linux-libc-headers seems like a good choice and simplifies the conditionals too. (From OE-Core rev: c37d610272f9d0a506334ff9f724c025acace137) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cross-canadian.bbclass: override TARGET_* flagsMing Liu2017-04-101-0/+5
| | | | | | | | | | | | | | | | Some TARGET_* flags are being exported in bitbake.conf currently, so they are impacting all the tasks of a cross-canadian recipe even they are not in use at all. This can lead a lot of churn when the cross-canadian sysroot are shared by machines while they have defined different TARGET_* flags. Fix it by overriding with BUILDSDK_* flags. (From OE-Core rev: 767335c92b7cc657a008722a908380a3c89c3c66) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk.bbclass: override TARGET_* flagsMing Liu2017-04-101-0/+4
| | | | | | | | | | | | | | | | Some TARGET_* flags are being exported in bitbake.conf currently, so they are impacting all the tasks of a nativesdk recipe even they are not in use at all. This can lead a lot of churn when the nativesdk sysroot are shared by machines while they have defined different TARGET_* flags. Fix it by overriding with BUILDSDK_* flags. (From OE-Core rev: 85b69a5ec9ba9ea9ebdcd8ac18e1e147ddb1ff33) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* crosssdk.bbclass: override TARGET_* flagsMing Liu2017-04-101-0/+5
| | | | | | | | | | | | | | | | Some TARGET_* flags are being exported in bitbake.conf currently, so they are impacting all the tasks of a crosssdk recipe even they are not in use at all. This can lead a lot of churn when the crosssdk sysroot are shared by machines while they have defined different TARGET_* flags. Fix it by overriding with BUILD_* flags. (From OE-Core rev: 3facbe700a2f28a11620c4954686ed5d5e47a3d9) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cross.bbclass: override TARGET_* flagsMing Liu2017-04-101-0/+5
| | | | | | | | | | | | | | | | | | Some TARGET_* flags are being exported in bitbake.conf currently, so they are impacting all the tasks of a cross recipe even they are not in use at all. This can lead a lot of churn when the cross sysroot are shared by machines while they have defined different TARGET_* flags. And sometimes it even causes "Taskhash mismatch" errors. Fix it by overriding with BUILD_* flags. (From OE-Core rev: 55c83cb239df5faf5e2143fffca47f2f16931cb3) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>