aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-02-20security_flags.inc: let gettext be securerbt/gettextRobert Yang
It has been fixed. [YOCTO #9544] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2017-02-20gettext: fix formatting issuesRobert Yang
Fixed when compile with "-Wformat -Wformat-security -Werror=format-security": | gettext-tools/gnulib-lib/libcroco/cr-statement.c: In function 'cr_statement_dump_charset': | gettext-tools/gnulib-lib/libcroco/cr-statement.c:2661:17: error: format not a string literal and no format arguments [-Werror=format-security] | fprintf (a_fp, str) ; And: gettext-tools/gnulib-lib/libxml/timsort.h:326:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] fprintf(stderr, "Error allocating temporary storage for tim sort: need %lu bytes", sizeof(SORT_TYPE) * new_size); [YOCTO #9544] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2017-02-19layer.conf: bump version for change in eSDK selftest behaviourJoshua Lock
Since 59a99cd8 "oeqa/sdk: Updates sanity tests for minimal eSDK" we can now run oe-selftests against a minimal eSDK. We need to increase the layer version so that we can detect this change in behaviour in our automated testing. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19selftest/containerimage.py: Add container IMAGE_FSTYPES testRandy Witt
This test checks to make sure only the files expected exist in a container image. Currently only ROOTFS_BOOTSTRAP_INSTALL, gets added to all images without the user specifying it. But this test should help if a developer in the future ever silently adds more than just ROOTFS_BOOTSTRAP_INSTALL, and that the developer can make sure it also gets removed from a container image. [YOCTO #9502] Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-19image-container.bbclass: Error if not using linux-dummyRandy Witt
In the typical case of a container, the user doesn't particularly care about the kernel version used. Since using linux-dummy prevents building a kernel in the most common case, alert the user if they choose a container image, but don't also specify linux-dummy. In the cases the user actually does want to build against particular kernel headers, etc, they can override by setting IMAGE_CONTAINER_NO_DUMMY = "1". [YOCTO #9502] Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-19image-container.bbclass: Add the "container" IMAGE_FSTYPESRandy Witt
The "container" fstype does very little other than pick tar.bz2 as the actual image type and disable installation of ROOTFS_BOOTSTRAP_INSTALL. [YOCTO #9502] Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-19oeqa/selftest/bbtests: Update after changes to dependency graph file generationRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19wget: Upgrade 1.19 -> 1.19.1Richard Purdie
This fixes musl build issues and avoids autobuilder failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19rootfspostcommands: remove shadow backup files instead of trying to sortPatrick Ohly
Backup are files sometimes are inconsistent and then cannot be sorted (YOCTO #11043), and more importantly, are not needed in the initial rootfs, so they get deleted. Fixes: [YOCTO #11007] Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2017-02-19linux-yocto-rt/4.9: update to 4.9-rt6Bruce Ashfield
Updating the SRCREVs to make Paul Gortmaker's port of 4.9-rt6 active. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19kernel-yocto: trivial: remove extra } from bsp_definitionBruce Ashfield
A typo introduced an extra } in the logging of the bsp_definition. While this won't cause problems .. it needs to be fixed! Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19linux-yocto/4.4: meta/configuration updatesBruce Ashfield
Integrating the following commit already in 4.9 and 4.8: intel-quark: Add intel-quark-preempt-rt bsp configuration While there are intel-quark configurations for the KTYPEs standard and tiny in bsp/intel-common, there's none for the preempt-rt KTYPE. Trying to build preempt-rt enabled kernels such as linux-yocto-rt for intel-quark yields a .config having a potentially misconfigured architecture. More importantly, however, preempt-rt related CONFIG options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does not result in a preempt-rt enabled kernel. This patch qualifies to be (back)ported to other branches than master. Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19linux-yocto/4.9: update to v4.9.9Bruce Ashfield
Updating to the korg -stable release. Changelog is as follows: d2e4b66b4ef2 Linux 4.9.9 f2a0409a0850 drm/i915/execlists: Reset RING registers upon resume 72cd604cfd86 fs: break out of iomap_file_buffered_write on fatal signals bf9ab22c350d iw_cxgb4: set correct FetchBurstMax for QPs 13363b6988f6 x86/irq: Make irq activate operations symmetric e02136282296 irqdomain: Avoid activating interrupts more than once c6b0333baea0 iio: health: max30100: fixed parenthesis around FIFO count check 12c2fcf6bcf7 iio: dht11: Use usleep_range instead of msleep for start signal 7baa8491d47d iio: health: afe4403: retrieve a valid iio_dev in suspend/resume 5f0ee562605b iio: health: afe4404: retrieve a valid iio_dev in suspend/resume 54d2ccc4003b iio: adc: palmas_gpadc: retrieve a valid iio_dev in suspend/resume db0e02ef6b82 staging: greybus: timesync: validate platform state callback 89cc65c1117f USB: serial: option: add device ID for HP lt2523 (Novatel E371) 12a9c11c2e19 usb: gadget: f_fs: Assorted buffer overflow checks. e40d15fce929 usb: musb: Fix host mode error -71 regression cbd819e7db3a USB: Add quirk for WORLDE easykey.25 MIDI keyboard 4807725aab0b USB: serial: pl2303: add ATEN device ID 8bc382a9652b USB: serial: qcserial: add Dell DW5570 QDL 0dcbd0aa44e6 KVM: x86: do not save guest-unsupported XSAVE state bc05a2e940fe dmaengine: cppi41: Fix oops in cppi41_runtime_resume 2c2e7fe7c9c5 dmaengine: cppi41: Fix runtime PM timeouts with USB mass storage bebb9d75e84d perf/x86/intel/uncore: Clean up hotplug conversion fallout e6bd712154aa HID: wacom: Fix poor prox handling in 'wacom_pl_irq' f24bc920612c HID: hid-lg: Fix immediate disconnection of Logitech Rumblepad 2 80246551c7d7 HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL 40add19d3897 iwlwifi: mvm: avoid crash on restart w/o reserved queues 97663735a96f iwlwifi: fix double hyphen in MODULE_FIRMWARE for 8000 3d8ec7d2d5f9 pinctrl: intel: merrifield: Add missed check in mrfld_config_set() 2cf6c49264e4 pinctrl: baytrail: Debounce register is one per community 449d3ecfbd76 Revert "vring: Force use of DMA API for ARM-based systems with legacy devices" 16f61dee7e7c Revert "bcma: init serial console directly from ChipCommon code" 12f822d23dee percpu-refcount: fix reference leak during percpu-atomic transition 8ee8ff9e2652 regulator: axp20x: AXP806: Fix dcdcb being set instead of dcdce 1594edd9ea0d vhost: fix initialization for vq->is_le 04eb7db25bb1 mmc: sdhci: Ignore unexpected CARD_INT interrupts 1d88791d5ed5 cgroup: don't online subsystems before cgroup_name/path() are operational a150e08704b2 can: bcm: fix hrtimer/tasklet termination in bcm op removal a93ae8dccc3c tracing: Fix hwlat kthread migration b67c7d39bc28 mm, fs: check for fatal signals in do_generic_file_read() 6cb0497aec81 base/memory, hotplug: fix a kernel oops in show_valid_zones() 72f7419610c8 mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone() 9e255997c2e1 cifs: initialize file_info_lock f0c3a0ac3349 zswap: disable changing params if init fails a3d729526f2f svcrpc: fix oops in absence of krb5 module 743146d347f3 NFSD: Fix a null reference case in find_or_create_lock_stateid() 4c953848c95b powerpc/mm: Use the correct pointer when setting a 2MB pte 8f415333be3a powerpc: Fix build failure with clang due to BUILD_BUG_ON() bbf69e5197da powerpc: Add missing error check to prom_find_boot_cpu() 73d45909780e powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe() 4b70d598c2ee libata: Fix ATA request sense 6d08607ef35b libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices fc794153c407 ata: sata_mv:- Handle return value of devm_ioremap. b41615aa7056 perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory 3996a91e3bdc perf/core: Fix use-after-free bug 53bed1f64025 crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes b04a39f88ced crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg 2eb8f7c4225a drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval bd5cefed1ccc drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215 c9fb422fd938 drm/amdgpu/si: fix crash on headless asics 20658b3df8b9 pinctrl: baytrail: Add missing spinlock usage in byt_gpio_irq_handler 7396685a1bca HID: cp2112: fix gpio-callback error handling a18c4584a489 HID: cp2112: fix sleep-while-atomic dfd713307adb xtensa: fix noMMU build on cores with MMU f2e24dd91818 efi/fdt: Avoid FDT manipulation after ExitBootServices() f0c7412edfc1 x86/efi: Always map the first physical page into the EFI pagetables 13e6ef99d23b ext4: validate s_first_meta_bg at mount time 610c2b7ff8f6 PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19linux-yocto-dev: bump to v4.10+Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19linux-yocto/4.8/4.9: fix tpm.cfg and add dm-verityBruce Ashfield
Integrating the following commits to fix a configuration warning and to add a tpm configuration feature: 8f3bc608ae61 features: add dm-verity 0ad64750fef1 tpm: avoid warning due to double CONFIG_TCG_TPM Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19linux-yocto/4.9: Intel-quark: Add intel-quark-preempt-rt bsp configurationBruce Ashfield
While there are intel-quark configurations for the KTYPEs standard and tiny in bsp/intel-common, there's none for the preempt-rt KTYPE. Trying to build preempt-rt enabled kernels such as linux-yocto-rt for intel-quark yields a .config having a potentially misconfigured architecture. More importantly, however, preempt-rt related CONFIG options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does not result in a preempt-rt enabled kernel. Signed-off-by: Christian Storm <christian.storm@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19linux-yocto-rt/4.9: integrate 4.9-rt4Bruce Ashfield
Integrating the 4.9-rt4 new changes: 56a3dd6fb4e9 x86/mm/cpa: avoid wbinvd() for PREEMPT 221db3244e71 pinctrl: qcom: Use raw spinlock variants 43158f23e188 radix-tree: use local locks 109a8fea2c4a cpuset: Convert callback_lock to raw_spinlock_t 3741fb19d20f softirq: wake the timer softirq if needed Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19linux-yocto/4.8: update to v4.8.18Bruce Ashfield
Paul Gortmaker has started doing 4.8 -stable updates. This integrates his 4.8.18 queue from: git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-4.8.y.git Change log is as follows: 28dda89acd7c Linux 4.8.18 936e79682048 tick/broadcast: Prevent NULL pointer dereference f22b03e15427 clocksource/dummy_timer: Move hotplug callback after the real timers 8f78db7e5df0 xfs: use GPF_NOFS when allocating btree cursors 1d818a81bac6 xfs: ignore leaf attr ichdr.count in verifier during log replay 62ef2c9c1d94 xfs: don't allow di_size with high bit set db28776559c7 xfs: error out if trying to add attrs and anextents > 0 fb70f2a64910 xfs: don't crash if reading a directory results in an unexpected hole ebff27d76e7e xfs: complain if we don't get nextents bmap records 14c3f0b270aa xfs: check for bogus values in btree block headers 31f0f90742a3 xfs: pass state not whichfork to trace_xfs_extlist 430a362685e9 xfs: Move AGI buffer type setting to xfs_read_agi 20aa52b53586 xfs: new inode extent list lookup helpers c7b75fcea4e6 xfs: fix unbalanced inode reclaim flush locking e89df591f833 xfs: check minimum block size for CRC filesystems b04a2c02f4d7 xfs: provide helper for counting extents from if_bytes f4e7f4cd52b1 xfs: don't BUG() on mixed direct and mapped I/O 49f159ae6e80 xfs: check return value of _trans_reserve_quota_nblks 23bb39fdbb96 xfs: don't call xfs_sb_quota_from_disk twice d3c7d2aa00d4 tpm_tis: Check return values from get_burstcount. 9fc58e555d78 drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases 4f075608d2c4 drm/i915/gen9: unconditionally apply the memory bandwidth WA 55e9c9d00d70 drm/i915: disable PSR by default on HSW/BDW 2c266a9a3631 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values e4d1900e15db s390/topology: always use s390 specific sched_domain_topology_level b04e5322d8a4 powerpc/pci/rpadlpar: Fix device reference leaks 458e63f135d6 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3) 05a725c46f56 PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+ 8d12795b1eac PCI: Convert Mellanox broken INTx quirks to be for listed devices only 24af87eb2ffa PCI: Convert broken INTx masking quirks from HEADER to FINAL ec9f277f52e9 PCI: Add Mellanox device IDs 9e7c8ebc1316 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs() 8c6c73a692c9 f2fs: hide a maybe-uninitialized warning a91f2c1d4f45 f2fs: remove percpu_count due to performance regression 93634e1cc928 md: MD_RECOVERY_NEEDED is set for mddev->recovery 239b31c50bde crypto: arm64/aes-ce - fix for big endian a3141467e092 crypto: arm64/aes-xts-ce: fix for big endian 7c26ef18f05a crypto: arm64/sha1-ce - fix for big endian cb70151453a1 crypto: arm64/aes-neon - fix for big endian c1c451bea4af crypto: arm64/aes-ccm-ce: fix for big endian c4957563b255 crypto: arm/aes-ce - fix for big endian dcb0c4ebc7ad crypto: arm64/ghash-ce - fix for big endian d60ecc7f02a4 crypto: arm64/sha2-ce - fix for big endian f9315853c7c1 s390/crypto: unlock on error in prng_tdes_read() a76c795f53e7 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration d3b82f9a9716 mm: khugepaged: fix radix tree node leak in shmem collapse error path ab533014582f mm: khugepaged: close use-after-free race during shmem collapsing c9777f749c4c mm/hugetlb.c: use the right pte val for compare in hugetlb_cow 0ff00251359e mmc: mmc_test: Uninitialized return value abe558647a0f PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend b90b6b8cce53 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback d6229a05dd06 ima: fix memory leak in ima_release_policy 8cbe9b689467 sbp-target: Fix second argument of percpu_ida_alloc() fed8068fd1de target/iscsi: Fix double free in lio_target_tiqn_addtpg() ec92af68808e scsi: mvsas: fix command_active typo efe08cc6939b ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call a5a550bd0768 ASoC: cht_bsw_rt5645: Fix leftover kmalloc 3fcdecb0f9f6 iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped 22604a045edb iommu/vt-d: Fix pasid table size encoding f7dd8813279b iommu/amd: Fix the left value check of cmd buffer 9a134d29af48 iommu/amd: Missing error code in amd_iommu_init_device() 35a294dd5723 clk: renesas: mstp: Support 8-bit registers for r7s72100 8a7022b2ffad clk: imx31: fix rewritten input argument of mx31_clocks_init() 8b4940dd9224 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks a13af6a13e68 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message c54f34533601 clk: clk-wm831x: fix a logic error 36c3481984b5 clk: qcom: ipq806x: Fix board clk rates fdd91f12bebc hwmon: (g762) Fix overflows and crash seen when writing limit attributes 18d749bb756f hwmon: (nct7802) Fix overflows seen when writing into limit attributes 1e6b9473280a hwmon: (ds620) Fix overflows seen when writing temperature limits 0bc18f1d87d9 hwmon: (amc6821) sign extension temperature 4c8493cb90b9 hwmon: (scpi) Fix module autoload d618b1647e27 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks b803e5984015 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6 1121b5f49eb7 debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS f4b9eaba036c clk: renesas: cpg-mssr: Fix inverted debug check a25cb9b5744b efi/efivar_ssdt_load: Don't return success on allocation failure b36f676475bd cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected 40b0bbe612bb ath10k: use the right length of "background" 3e0f61361a82 nl80211: Use different attrs for BSSID and random MAC addr in scan req 3d04e6a06abc mac80211: fix tid_agg_rx NULL dereference f4ded840a335 drm/i915: tune down the fast link training vs boot fail 2ed2b3cc6ae3 drm/i915/dp: add lane_count check in intel_dp_check_link_status ac2370c93a40 usb: dwc3: gadget: always unmap EP0 requests 6039272a760e usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb() 4f76ead23734 usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb() 7acc87fae524 iio: accel: st_accel: fix LIS3LV02 reading and scaling d59378efa7ac staging: iio: ad7606: fix improper setting of oversampling pins 401316ef7253 mei: move write cb to completion on credentials failures 3ab87b8fd267 mei: bus: fix mei_cldev_enable KDoc c103d55bb7d7 USB: serial: io_ti: bind to interface after fw download d302588a910f ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support 56dce131ec69 arm64: dts: hip06: Correct hardware pin number of usb node 0c03658a3e7b USB: phy: am335x-control: fix device and of_node leaks 518a4d8d533c ARM: dts: r8a7794: Correct hsusb parent clock 7780eb2fd54b usb: gadget: Fix second argument of percpu_ida_alloc() a3ff51875d83 USB: serial: kl5kusb105: abort on open exception path 5f8a0a2fd33b ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream() fb106dc8b847 usb: musb: blackfin: add bfin_fifo_offset in bfin_ops 1bff22506598 usb: gadget: udc: core: fix return code of usb_gadget_probe_driver() c7c4ad7fce6d usb: hub: Move hub_port_disable() to fix warning if PM is disabled b7fb0479ecd6 usb: musb: Fix trying to free already-free IRQ 4 217c03eaf10c usb: dwc3: gadget: Fix full speed mode 7de3c659811a usb: dwc3: pci: Fix dr_mode misspelling 6fdac0047799 usb: dwc3: pci: add Intel Gemini Lake PCI ID 220d6521aac2 xhci: Fix race related to abort operation d3f3b0bd0756 xhci: Use delayed_work instead of timer for command timeout 0da62a5b5242 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL 997d598c694f USB: serial: mos7720: fix parallel probe eb9e22ac9265 USB: serial: mos7720: fix parport use-after-free on probe errors c91243377c8d USB: serial: mos7720: fix use-after-free on probe errors b756fba5e563 USB: serial: mos7720: fix NULL-deref at open 8cc2ae8e130e USB: serial: mos7840: fix NULL-deref at open 68ab1ccfc085 USB: serial: kobil_sct: fix NULL-deref in write 37ca8378e77c USB: serial: cyberjack: fix NULL-deref at open fd435e99f5ed USB: serial: oti6858: fix NULL-deref at open 1653f66ba3fb USB: serial: io_edgeport: fix NULL-deref at open 73ec9d58b1c7 USB: serial: ti_usb_3410_5052: fix NULL-deref at open d1706b42d164 USB: serial: garmin_gps: fix memory leak on failed URB submit b653000d9b0c USB: serial: iuu_phoenix: fix NULL-deref at open 427bac51ce67 USB: serial: io_ti: fix I/O after disconnect 59f740cd834c USB: serial: io_ti: fix another NULL-deref at open 2ef82cf063c8 USB: serial: io_ti: fix NULL-deref at open 8d5f29b2d578 USB: serial: spcp8x5: fix NULL-deref at open e1fe8df45b74 USB: serial: keyspan_pda: verify endpoints at probe 10da95b6a2eb USB: serial: pl2303: fix NULL-deref at open e29498ba6e1f USB: serial: quatech2: fix sleep-while-atomic in close 05859d754d6f USB: serial: omninet: fix NULL-derefs at open and disconnect be17e1c916ce usb: return error code when platform_get_irq fails 0e9fc72194ce usb: xhci: hold lock over xhci_abort_cmd_ring() 527f810d8a86 xhci: Handle command completion and timeout race c18ca85fd6de usb: host: xhci: Fix possible wild pointer when handling abort command 67a7de5a2f35 usb: xhci: fix return value of xhci_setup_device() 775a2bec9cdf xhci: free xhci virtual devices with leaf nodes first 80c502e0ce6f usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake d3a9f7c7e8c4 usb: xhci: fix possible wild pointer 5ded28d83128 usb: gadget: composite: Test get_alt() presence instead of set_alt() 16718d267e09 USB: dummy-hcd: fix bug in stop_activity (handle ep0) 47acb8434892 USB: fix problems with duplicate endpoint addresses a45f34e820c6 USB: gadgetfs: fix checks of wTotalLength in config descriptors 27b4d04d1b87 USB: gadgetfs: fix use-after-free bug cd4da96b1bac USB: gadgetfs: fix unbounded memory allocation bug 1fa95887b663 usb: gadgetfs: restrict upper bound on device configuration size e4efa88511eb usb: storage: unusual_uas: Add JMicron JMS56x to unusual device 05ace125078d usb: musb: dsps: implement clear_ep_rxintr() callback 38caa4d8986e usb: musb: core: add clear_ep_rxintr() to musb_platform_ops 483c56831853 KVM: MIPS: Flush KVM entry code from icache globally 08aa895b61e1 KVM: MIPS: Don't clobber CP0_Status.UX d33b04df932e KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS e3843cdbf81a drm/i915: Force VDD off on the new power seqeuencer before starting to use it dbce182845b4 gcc-plugins: update gcc-common.h for gcc-7 970150316c04 mac80211: initialize fast-xmit 'info' later cf3b94f8fe70 ARM: davinci: da850: don't add emac clock to lookup table twice 391c21a9ab0a parisc: Mark cr16 clocksource unstable on SMP systems 684f6df20889 fscrypt: fix renaming and linking special files 6c55d3ad7fb3 ALSA: usb-audio: Fix irq/process data synchronization 3074297922e2 ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL 81a35981225c ALSA: hda - Fix up GPIO for ASUS ROG Ranger 576b9d7789d8 iio: bmi160: Fix time needed to sleep after command execution ad2a1ae984c6 iio: max44000: correct value in illuminance_integration_time_available ee8e4a73dbf6 iio: common: st_sensors: fix channel data parsing Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19linux-yocto/4.9: bump to v4.9.8Bruce Ashfield
Integrating the -stable releases. Changelog is as follows: c8ea2f3b8247 Linux 4.9.8 b5b4d4a9141e xfs: fix bmv_count confusion w/ shared extents 5d44dd54bd57 xfs: clear _XBF_PAGES from buffers when readahead page 29f96b7e9023 xfs: extsize hints are not unlikely in xfs_bmap_btalloc aab858dabd5e xfs: remove racy hasattr check from attr ops 29094164ea99 xfs: verify dirblocklog correctly 214d55efa255 xfs: fix COW writeback race 29f319275e76 xfs: fix xfs_mode_to_ftype() prototype d062d90c35f2 xfs: don't wrap ID in xfs_dq_get_next_id d3201a14b36a xfs: sanity check inode di_mode 43ce5921773b xfs: sanity check inode mode when creating new dentry b5f68e24cc7b xfs: replace xfs_mode_to_ftype table with switch statement 4fac84ba1da7 xfs: add missing include dependencies to xfs_dir2.h e5325fcf70b1 xfs: sanity check directory inode di_size 624e54b5aff1 xfs: make the ASSERT() condition likely 4f4d5082ec73 xfs: don't print warnings when xfs_log_force fails e9b776519107 xfs: don't rely on ->total in xfs_alloc_space_available 6b81365b1e57 xfs: adjust allocation length in xfs_alloc_space_available c63f4d3aa09d xfs: fix bogus minleft manipulations d20e4ad06c4b xfs: bump up reserved blocks in xfs_alloc_set_aside 9f42bc4f9c1c net: dsa: Bring back device detaching in dsa_slave_suspend() e972cce0c833 lwtunnel: Fix oops on state free after encap module unload 89c2588627c2 net: Specify the owning module for lwtunnel ops 087c2ecb21af qmi_wwan/cdc_ether: add device ID for HP lt2523 (Novatel E371) WWAN card 93ff5e03bcba af_unix: move unix_mknod() out of bindlock 37b27b20a8a9 r8152: don't execute runtime suspend if the tx is not empty ad864d9fce0e net: mpls: Fix multipath selection for LSR use case 74423145d931 bridge: netlink: call br_changelink() during br_dev_newlink() 087dced61adc net/mlx5e: Do not recycle pages from emergency reserve 0c687a735cdb tcp: initialize max window for a new fastopen socket 79453ab88164 ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock e9db042dca20 lwtunnel: fix autoload of lwt modules b335e6566661 net: phy: bcm63xx: Utilize correct config_intr function 948e137ad9ba net: fix harmonize_features() vs NETIF_F_HIGHDMA d1c95f9ce102 vxlan: fix byte order of vxlan-gpe port number 1e7cbb413f63 virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving 3eab5dd0eb19 virtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on xmit b260a714a638 net sched actions: fix refcnt when GETing of action after bind 2d6b61ec9d3a ax25: Fix segfault after sock connection timeout c7a5df92d1e8 ip6_tunnel: Account for tunnel header in tunnel MTU 08e650708dd0 ravb: do not use zero-length alignment DMA descriptor 77ce30dc4df4 mlx4: do not call napi_schedule() without care 18767acb7b67 openvswitch: maintain correct checksum state in conntrack actions 3524f64224bd tcp: fix tcp_fastopen unaligned access complaints on sparc b66b1f5ac33d net: systemport: Decouple flow control from __bcm_sysport_tx_reclaim 958bb1bdc2c2 net: ipv4: fix table id in getroute response 6980c52c4efb net: lwtunnel: Handle lwtunnel_fill_encap failure ec1aa8d49532 mlxsw: pci: Fix EQE structure definition 4ec59d1fe470 mlxsw: switchx2: Fix memory leak at skb reallocation 7c249f3306b6 mlxsw: spectrum: Fix memory leak at skb reallocation 5b3df4401064 netvsc: add rcu_read locking to netvsc callback a37f2311e63c r8152: fix the sw rx checksum is unavailable fd2ffe57dda0 Linux 4.9.7 b59dd202f231 drm/i915: Remove WaDisableLSQCROPERFforOCL KBL workaround. 922813f4d66f perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race f5f415c13209 mm, memcg: do not retry precharge charges 98185d4b18a1 platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT adb260d15134 platform/x86: mlx-platform: free first dev on error 776050a9b55e virtio_mmio: Set DMA masks appropriately 143a9ad4e68c memory_hotplug: make zone_can_shift() return a boolean value da1fdb8456ac pinctrl: baytrail: Rectify debounce support 583eded5860b pinctrl: uniphier: fix Ethernet (RMII) pin-mux setting for LD20 35948ae694c0 pinctrl: broxton: Use correct PADCFGLOCK offset 668a827a6c9d s5k4ecgx: select CRC32 helper 9a335996bfcf IB/rxe: Prevent from completer to operate on non valid QP fed1e89a16e3 IB/rxe: Fix rxe dev insertion to rxe_dev_list c81ee4ed9c0d IB/umem: Release pid in error and ODP flow d7c3d7e453b7 drm/i915: Check for NULL atomic state in intel_crtc_disable_noatomic() 181478cdb75e drm/i915: Fix calculation of rotated x and y offsets for planar formats ff4956555513 drm/i915: Don't init hpd polling for vlv and chv from runtime_suspend() 8d7c76ae613e drm/i915: Don't leak edid in intel_crt_detect_ddc() 2cff678d0bb5 drm/i915: prevent crash with .disable_display parameter 9913aca2d587 drm/i915: Clear ret before unbinding in i915_gem_evict_something() 1b8ff91ae545 v4l: tvp5150: Don't override output pinmuxing at stream on/off time 11e5015ae1d1 v4l: tvp5150: Fix comment regarding output pin muxing d25f9bfeb62f v4l: tvp5150: Reset device at probe time, not in get/set format handlers fe6531075e1d pctv452e: move buffer to heap, no mutex 0bd3cb8d470b iw_cxgb4: free EQ queue memory on last deref cb1d48f55a6d SUNRPC: cleanup ida information when removing sunrpc module 5637949edb50 NFSv4.0: always send mode in SETATTR after EXCLUSIVE4 0a7023506112 NFSv4.1: Fix a deadlock in layoutget 73fdda3b01cd nfs: Don't increment lock sequence ID after NFS4ERR_MOVED 2b95f1210e50 parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header ca332b96ba62 ARC: [arcompact] handle unaligned access delay slot corner case 9d5f2c151ec0 ARC: udelay: fix inline assembler by adding LP_COUNT to clobber list 50f5972cc231 can: ti_hecc: add missing prepare and unprepare of the clock 9f56548b0077 can: c_can_pci: fix null-pointer-deref in c_can_start() - set device pointer a1af471b4151 IB/srp: fix invalid indirect_sg_entries parameter value c2293e76babe IB/srp: fix mr allocation when the device supports sg gaps 24be606cd3b4 IB/iser: Fix sg_tablesize calculation 95600605ffaa IB/cxgb3: fix misspelling in header guard d7f56ee1198a s390/ptrace: Preserve previous registers for short regset write 62d7f2123f19 s390/mm: Fix cmma unused transfer from pgste into pte 97a2e39b7ab9 RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled ffb97c11d05f Btrfs: remove ->{get, set}_acl() from btrfs_dir_ro_inode_operations ad80fada9d6d Btrfs: disable xattr operations on subvolume directories 79babd4a6ce2 Btrfs: remove old tree_root case in btrfs_read_locked_inode() 959f9709c025 ISDN: eicon: silence misleading array-bounds warning 485952414360 xfs: prevent quotacheck from overloading inode lru 03707d6c36f9 sysctl: fix proc_doulongvec_ms_jiffies_minmax() c7556867782e userns: Make ucounts lock irq-safe 13e39d5930ec vring: Force use of DMA API for ARM-based systems with legacy devices 96e5cec10e7a mm, page_alloc: fix premature OOM when racing with cpuset mems update b678e4ff7ce0 mm, page_alloc: move cpuset seqcount checking to slowpath d1656c5aef4d mm, page_alloc: fix fast-path race with cpuset update or removal ade7afe9dca6 mm, page_alloc: fix check for NULL preferred_zone 9b1a1ae9b528 mm/mempolicy.c: do not put mempolicy before using its nodemask 6676aa65464f mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp a2104c7cd3b2 drm/atomic: clear out fence when duplicating state bbae3c452596 Revert "drm/radeon: always apply pci shutdown callbacks" 5270c017f19f drm/vc4: fix a bounds check cfba2a001d0e drm/vc4: Return -EINVAL on the overflow checks failing. b9edac54cb85 drm/vc4: Fix an integer overflow in temporary allocation layout. 32600835ebe1 drm/vc4: Fix memory leak of the CRTC state. 4c741e2adb35 drm/i915: Ignore bogus plane coordinates on SKL when the plane is not visible f1dc9aaee029 drm: Fix broken VT switch with video=1366x768 option 2abb7f408f7c drm: Schedule the output_poll_work with 1s delay if we have delayed event e4be4d4942b9 tile/ptrace: Preserve previous registers for short regset write 544160b6ea18 fbdev: color map copying bounds checking Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-19kernel-yocto.bbclass: ensure repatching when HEAD is checked outAwais Belal
In some cases it is seen that kernel_checkout and validate_branches are run again in simultaneous builds. During do_patch the kgit-s2q mechanism looks for a sentinel file inside the .git directory, finds a fence post and starts picking up patches after that. This can create trouble as validate_branches checks out the HEAD of the branch and so the patches should be reapplied rather than skipped due to finding of the fence post. We can call kgit-s2q --clean to remove the sentinel file when the branches are checked out. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-15wic: direct: move creation of PartitionedImage to __init__Ed Bartosh
Moved creation of PartitionedImage object from DirectPlugin.create method to init. It makes the code a bit more readable and logical. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: direct: move generation of part.realnum to PartitionedImageEd Bartosh
Moved the code that generates real partition numbers from DirectPlugin to PartitionedImage. The idea is to have all code that works with partitions in PartitionedImage class. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: direct: add PartitionedImage.prepare methodEd Bartosh
Moved code that calls prepare method of Partition objects from DirectPlugin to PartitionedImage.prepare. The idea is to have all code that works with partitions in PartitionedImage class. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: direct: set bootloader.source in the __init__Ed Bartosh
Moved setting of bootloader source from do_create method to __init__ as it doesn't have anything to do with image creation. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: direct: move UUID generation to PartitionedImageEd Bartosh
Moved code that generates partition UUIDs from DirectPlugin to PartitionedImage class as it's more logical to have it there. This allows the code to be reused by other imager plugins. Got rid of having yet another list of partitions in PartitionedImage. Reused the list passed from DirectPlugin. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: direct: add 'realnum' attribute to partitionEd Bartosh
Replaced call of _get_part_num method with an attribute. This eliminates the need to call the method and loop over partitions every time we need to know realnum for partition. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: direct: remove useless codeEd Bartosh
Removed catching CreatorError and raising it again. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: direct: don't catch ImagerErrorEd Bartosh
Don't transform ImagerError exception into warning. Let wic to catch it on the upper level. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: direct: remove set_bootimg_dir setterEd Bartosh
Removed java-like setter set_bootimg_dir. It's more pythonic to access public attributes directly. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: ksparser: set default disk to 'sda'Ed Bartosh
Set default value of --ondisk to 'sda' to ensure we always have disk name for the partition. This is a first step of replacing --ondisk with disk <name> attribute of .wks. This is better as all partitions share the same disk. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: remove utils/oe/__init__.pyEd Bartosh
This file and utils/oe folder are not needed anymore as all modules were removed or moved out of this directory. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: move PartitionedImage class to direct.pyEd Bartosh
As PartitionedImage is only used in direct.py it makes sense to move it there. It's easier to maintain (and refactor) it this way. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15wic: move disk operations to PartitionImage classEd Bartosh
Disk operations were spread over DirectPlugin, DiskImage and Image code making the code hard to understand. Renamed Image class to PartitionedImage. Removed DiskImage class. Moved disk operations to PartitionedImage. There was an implicit support for multiple disks: if different devices were specified in .wks file (e.g. --ondisk sda and --ondisk sdb), wic would theoretically generate multiple images. This is quite confusing option and the code supporting it was broken for a long time. The same effect (multiple output images) can be achieved in obvious and clear way - by using multiple .wks files. This functionality was removed. PartitionedImage works only with one image. This makes the code less complex and easier to maintain. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
2017-02-15selftest/wic: Add tests for --exclude-dir option.Kristian Amlie
Based partially on an earlier patch by Maciej Borzecki. Note that because tools now reside in recipe specific sysroots, we need to import the path from bitbake and apply it during the test. Signed-off-by: Kristian Amlie <kristian.amlie@mender.io> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15wic: Add --exclude-path option to rootfs source plugin.Kristian Amlie
It will omit the given path from the resulting partition, and if the given path ends in a slash, it will only delete the content, and keep the directory. Since mkfs only accepts whole directories as input, we need to copy the rootfs directory to the workdir so that we can selectively delete files from it. Since we want to use the copyhardlinktree() function, we need to put the generic oe lib in the module search path. Signed-off-by: Kristian Amlie <kristian.amlie@mender.io> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15wic: remove unused argument scripts_pathEd Bartosh
There is no need to pass scripts_path from main wic module down the stack as it's not used there. Removed scripts_path argument from DirectPlugin class and wic_create function. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15wic: direct: remove unused importEd Bartosh
Removed unused import of wic.errors module. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15wic: direct: remove unused plugin attributesEd Bartosh
Removed unused _disks, _disk_format and _disk_names attributes from DirectPlugin class. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15wic: make sure layout_partitions is called onceEd Bartosh
Removed artificial _partitions_layed_out attribute and unneeded call of layout_partitions method. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15wic: use the same partition object in direct and partitionedfsEd Bartosh
Partition attributes were copied to the dictionary in partitionedfs code, which makes the code hard to follow. Used partition object passed from direct.py module as is in partitionedfs. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15wic: direct: get rid of _get_parts getterEd Bartosh
Replaced _get_parts getter with direct attribute access to self.parts Removed code that implicitly created partition if there are no partitions mentioned in .wks file Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15wic: partitionedfs: rename __create_partition and __add_diskEd Bartosh
Renamed private methods with leading double underscores: __create_partition -> _create_partition __add_disk -> _add_disk There is no point to have those names mangled, one underscore is enough. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15wic: partitionedfs: get rid of __add_partitionEd Bartosh
3 lines long private method __add_partition is called only from add_partition method. Merged them together to increase readability. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15wic: partitionedfs: merged __format_disks and createEd Bartosh
Private method __format_disks is called only from create method making the code less readable. Merged the code into one method. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15m4: use wildcard for selftest bbappendRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15bash: fix CVE-2016-9401Li Zhou
popd in bash might allow local users to bypass the restricted shell and cause a use-after-free via a crafted address. Porting patch from <https://ftp.gnu.org/pub/gnu/bash/bash-4.4-patches/ bash44-006> to solve CVE-2016-9401. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15libxslt: Add build fix (with ld-is-gold)Jussi Kukkonen
Libraries must be linked with "-lm", otherwise gold fails to link binaries with those libraries. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15lighttpd: Upgrade 1.4.43 -> 1.4.45Andrej Valek
Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15m4: 1.4.17 -> 1.4.18Robert Yang
Rebased remove-gets.patch. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-02-15mklibs-native: 0.1.41 -> 0.1.43Robert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>