Updating the SRCREVs to make Paul Gortmaker's port of 4.9-rt6 active.
(From OE-Core rev: b3e3ef85f5fd64473cae4aa72243665ac1e618e9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A typo introduced an extra } in the logging of the bsp_definition.
While this won't cause problems .. it needs to be fixed!
(From OE-Core rev: 9b95f3fca2a94ca922e05321096e07a11e98f9bb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
(From OE-Core rev: e853327447908d1be085a96f8dda1c53305f9552)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: e1866b78d8365855583250877db7f11f98de65df)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: 7fc93859ce805a604814b1b373d77ecc547e812f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: bf822184419592bb680fa6886c0d18f105857f0e)
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>
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
(From OE-Core rev: c1fd9a544d2165c0f3d827d3ad3c90f9c7781f09)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: 1a3daa89e28d58d35692cd2ae2af3e49c9f536fb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: 83722e881167e3b6414a9a83056f7a25ee23ae91)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: d57aeafdd2b49010a9fa6d1cd9d10f3cfd5754a5)
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>
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.
(From OE-Core rev: c826233ad08ee5a4b9943a05d4e73f3fb3281588)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 6987b317d5ce8dc50a37ebba395aa8424bec358c)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Libraries must be linked with "-lm", otherwise gold fails to link
binaries with those libraries.
(From OE-Core rev: 9175164380b50852a21a05d4e81294394c5486f4)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebased remove-gets.patch.
(From OE-Core rev: d87a41d2dc611259989cb1252c34d0c6ef802971)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: de4a795ea584673cb39f94e48f3430fb014628a8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
strace-4.15: /usr/lib/strace/ptest/tests/caps-abbrev.awk contained in package strace-ptest requires /bin/gawk, but no providers found in RDEPENDS_strace-ptest? [file-rdeps]
The path should be /usr/bin/gawk as other scripts use in this package.
(From OE-Core rev: e71c205d7672d33ad00a5a5c6c41452746c77e2f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: e24a98f703472a3893e241601bc21a3bb0eb58e1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: b74b8fe61f3cf619133b7fbdd1db80e5c67d0878)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LIC_FILES_CHKSUM is changed because the date is changed, here is
diff result:
< Copyright (c) 1997-2017 University of Cambridge
(From OE-Core rev: 5ad1c48cf7819eb12138706503106c7253c84df8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 973f4962c5bca8270eb10e2bb2bb65330ad518bf)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove aarch64-initplat.c-fix-const-qualifier.patch which is already
in the source.
(From OE-Core rev: b8ae433bebaff4c85415ab91e865fbfefeebe345)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: c0db9b1b3725cd07b3980314112a8d3873c38568)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rebased Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch.
* The mkfs.ext4dev is gone.
(From OE-Core rev: 54a012bff9430a8e973ddef61d14ac10d9ec9ed3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use RRECOMMENDS for the udev hardware data base, to allow for this
to be suppressed if desired (saves many MB - useful for smaller systems)
(From OE-Core rev: b9035db1c6915020a394c455f8dab48936aa851a)
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent kernel build jvmti, java profiling agent, if a host jdk is
detected. The library will be packaged in -dev and throws a qa error.
Disable the jvmti build per default.
(From OE-Core rev: c2cae2874d88c8e41e12da04198b5368d9968131)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to cd to the target directory when creating symlinks, so don't.
[ YOCTO #10985 ]
(From OE-Core rev: 64d75438955c39e01187e897e9df47c93ac6c45a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In git://sourceware.org/git/elfutils.git:
----------------
commit 1700fd25e6caf26663af2bd994d1d99fab9df59f
Author: Mark Wielaard <mark@klomp.org>
Date: Sat Dec 24 22:31:41 2016 +0100
http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/
fedorahosted used to be our home, but we are now hosted at sourceware.
Change the elfutils project home to http://elfutils.org/
Point hosted services (email, release, git, bug tracker and web pages)
to https://sourceware.org/elfutils/
Move design notes from README to NOTES.
Add URLs for home, releases, bugs, git and mailinglist to README.
Make the --version output of all tools the same by using a common
print_version function and update the publicly shown copyright holder
to the elfutils developers.
Signed-off-by: Mark Wielaard <mark@klomp.org>
------------------
(From OE-Core rev: 8c25c6999c990d63dfeb35b411ae40554553f433)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Backport patches from debian to 0.168 and add US tags.
- Rebase 0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch to support libc musl
(From OE-Core rev: 13e5819dc4ef44d99d0f22686365fd3c988d6bce)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- errorref.txt is part of the documentation so should be in PN-doc.
(From OE-Core rev: 9bbd661303473b8ecf51cdaa25510c90ea926387)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is required by various pieces in the dnf stack
(From OE-Core rev: 757c8a3e76d31b0151ec45bc891aac9516d8c6f7)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop gpgme.pc, it is duplicated with pkgconfig.patch
- Rebase pkgconfig.patch to 1.8.0
- Split cmake config to ${PN}-dev
- Update LIC_FILES_CHKSUM, because copytright year changed.
- The libgpgme-pthread is obsolete by upstream;
- Add package libgpgcpp;
TODO: Do not remove gpgme-pthread.pc from pkgconfig.patch,
the upstream explains:
git://git.gnupg.org/gpgme.git
commit 09b64554328445e99a8cc78fc34ea49c2ea2e7f9
------------------------------
libgpgme-pthread is removed but gpgme-config still supports
--thread=pthread for compatibility with find scripts.
------------------------------
(From OE-Core rev: 62b91f655977bdf2faaf53443c47785738c1d0f6)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise this fails to build the libraries:
relocation R_X86_64_PC32 against undefined hidden symbol `__init_array_start'
can not be used when making a shared object
(From OE-Core rev: 632eee4fbd4627482aae752eb41104b3a848fd58)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update LIC_FILES_CHKSUM md5 checksum, because "http" has been
changed to "https".
(From OE-Core rev: ec672ab878ca203385b3fbd764c17af6b56d8475)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
watchdog-keepalive is a simplified version of the watchdog daemon
and can't be installed along with watchdog daemon, we need to
choose which daemon install.
(From OE-Core rev: 35e36f7f2d1f7e3ef70ba473a91fb6f946752f1b)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configure.ac uses pkg-config now and this macro doesn't exist in the tarball
anymore, so remove the deletion.
(From OE-Core rev: 371ec2cb0ed5b04082b29b949cb831d69a8ebb32)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we've fixed the string formatting issue in console-tools, we don't
need to override SECURITY_STRINGFORMAT for console-tools any more.
[YOCTO #9540]
(From OE-Core rev: 3883332f84d9da0792c2c7337e842da34ea1b06c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix string formatting issue in console-tools. Otherwise, when compiling with
'-Wformat -Wformat-security -Werror=format-security', we would have compilation
error.
[YOCTO #9540]
(From OE-Core rev: bee65a820842c233e74502ee2af0a6223c60b45f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix userns05 case:
<<<test_output>>>
user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2
user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2
user_namespace5 0 TINFO : Child process returned TPASS
user_namespace5 0 TINFO : Child process returned TPASS
user_namespace5 0 TINFO : Child process returned TFAIL
incrementing stop
Rename the previous patch to add a number prefix
(From OE-Core rev: b96c5d18839cff345a3a2c4b952dd62aad119121)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from 2.7 branch to fix a regression with glibc
2.24 causing "OSError: [Errno 38] Function not implemented" when
calling urandom() with older kernels.
(From OE-Core rev: 3f2be1c857a44030478ce25b4a722667b73de446)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to the newly minted 1.8.2, dropping several patches we'd
backported since the last release.
(From OE-Core rev: 6437f14c9177fd7ec7a9b6bca873362b0c94abfb)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit be0cabf816 on 2016/05/17, smartpm will retry the transaction if ts.run() returns with an empty list of problems, and we're in attempt mode.
But then, since all the packages are already installed, the transaction will fail with "package already installed" error.
In attempt mode, it's fine to not retry nor generate an error when the transaction fails for no reason linked to files/packages conflicts, so this patch fixes this behaviour.
(From OE-Core rev: 327f263be285525adcbbf472db6ac7722c84ac2f)
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Relase notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/10.0/
The checksum of the LICENSE file changed due to some clarifications.
There were no changes to the actual licensing terms.
The LICENSE variable was not accurate, so I made changes to it.
Specifically:
* there's no GPL code in PulseAudio so I dropped GPL from the list
* the LGPL code allows using later versions of the license rather than
limiting to just 2.1
* there are some MIT and BSD licensed bits
I added more files to LIC_FILES_CHKSUM to have better coverage of all
the differently licensed code.
Dropped json-c and gdbm from DEPENDS. The new release doesn't use json-c
any more. gdbm isn't used when --with-database=simple is passed to
configure, so it should have been removed from DEPENDS a long time ago.
The new release dropped the Xen module, so the --without-xen configure
option isn't needed any more.
Added a comment for why --without-fftw is used.
Disabled the adrian echo canceller, because it has an unusual license,
and disabling the code was simpler than adding a new license to OE-Core.
Dropped upstreamed patches.
(From OE-Core rev: 4ddaf28fd36294fd940f26d55973da20eeeeb0d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the two patches that add the ability to disable GLX, this has been added
upstream.
Drop the Python3 patch as the code generator works with Py3 now.
(From OE-Core rev: 8ba197b3ae10a90ca988f0021597dfd20463c2d2)
(From OE-Core rev: 0066327d79b2ea942c414208a3daa0ecf4361730)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
because of the way that the test cases are looked in the results,
the file logger is incompatible with extended implementations of the
unittest runner.
as the xml runner extends the unittest runner, it shares the id()
method which returns the full name of the test, not only the test
function name. With that, a single check of the full name reviews at
the same time the class name as well as the function name.
[YOCTO#11012]
(From OE-Core rev: 19b025333846018fd3e4ee4ca5cc18d375fa6213)
Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stop capturing output of the shell commands into <test>/commands.log.
Redirecting output into a file prevented the unittest framework from
capturing it, causing useless errors (with empty output) like:
oeqa.utils.CommandError: Command '['bitbake', 'core-image-sato']'
returned non-zero exit status 1 with output:
In general, the console output of commands is only interesting when
something fails. Also, dropping the commands.log file is a huge saving
in disk space, and thus, repository size when results are archived in
Git.
(From OE-Core rev: e004664287ec03e7367a7bf553d9a3038444e82e)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes have the option of specifying a 'beginline' and 'endline'
options in LIC_FILES_CHKSUM which will cause the license bbclass to
only extract those specific lines from the license file when generating
the license database.
(From OE-Core rev: 515f4c129ad27e9502621738d0bf7f5552627f19)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unlike rpm, debian packaging does not allow file paths in 'Provides:' field.
When 'usrmerge' distro feature enabled bash/busybox packages adds '/bin/sh' to
it's RPROVIDES to satisfy build dependencies, this entry should be filtered out.
(From OE-Core rev: a36165ea8bf8c7a061a0173076c83ae6806d65b6)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If for some reason (most likely incorrect TEST_SUITES var)
you end with an empty test suite, testimage will start the
target (qemu by default) and will run an empty suite, so
better have a check before starting the target.
[YOCTO #10979]
(From OE-Core rev: 8345f834a080737f03bee3f0c615dd9654401d93)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When 'populate_sdk_ext' was first introduced in commit bf81d6bb7f6 it
replaced the inheriting of 'populate_sdk_base'. For non-linux targets
building the extensible SDK caused build errors, and the image class was
changed to inherit 'populate_sdk' when targeting a non-linux SDK_OS (in
commmit e471ce3464d). However inheriting 'populate_sdk' instead of
'populate_sdk_base' causes the SDK to always be built, this is not
expected for the image class.
This change makes the image class inherit 'populate_sdk_base' in the
non-linux SDK_OS case so that it behaves the same as it is expected to
behave where 'bitbake <image> -c populate_sdk' must be executed to
generate the SDK deployables.
(From OE-Core rev: b7d6bb07fd37c55d07903a1e8921f17e39afde0a)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using docker with the Fedora 23 container exposed an issue with
the rpm-native configure step. If which is not present the configure
script fork bombs. After much pain, I tracked this to which not being
present in the default container. Add a check for which so others
do not have to have this experience.
(From OE-Core rev: 096c07900250db157bb0c38785b9d8efc6301cab)
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When multible targets are defined it is useful to allow for
a default target along with a timeout. After timeout, the
default target will be selected.
(From OE-Core rev: 1e01c2e32c168805a9b71c1dba4b487916955813)
Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're including all GPL licenses then we should include AGPL in
the default COPYLEFT_LICENSE_INCLUDE since it has similar terms (and
currently we do have one AGPL-licensed recipe in OE-Core, namely db).
(Note that the default list isn't meant to be a guaranteed complete
safe list - seek legal advice based on what you're distributing if
unsure.)
(From OE-Core rev: a16fbf6970056a79cac8b70ce54e55e61ef63a8d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The changes committed with 6e58f54be103814b6b8a85b236510633c49e6832 did only
consider the vmlinuz ELF kernel but some devices do reqire a raw vmlinuz.bin
(as for example gcw0 in meta-handheld booted by ubiboot).
Expand the above mentioned patch to consider this case.
(From OE-Core rev: 413a5faf99280f4e083358e4134aebbcfa47bb4c)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Native libcurl looks for CA certs in the wrong place by
default.
* Add patch that allows overriding the default CA certificate
location. Patch is originally from meta-security-isafw.
* Use the new --cacert to set the correct CA bundle path
(From OE-Core rev: 73bd11d5190a072064128cc13b4537154d07b129)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Use --enable-relative-plugins so cve-check-tool looks for
loadable modules relative to binary location instead of
hard-coding a wrong sysroot location
* do_populate_cve_db() assumes that the binary cve-check-update is in
the sysroot. Ensure that this is true by adding a task dependency
(From OE-Core rev: 2da6b01893d0afe8750bd0b12a8d55aafa82f58c)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recipe-specific sysroots the cve_check task must depend on
cve-check-tool-native:do_populate_sysroot to get the cve-check-tool
binary into the recipe sysroot.
A normal DEPENDS isn't used to avoid cyclic dependencies.
(From OE-Core rev: bd60b1018bc0304bc928701e6d1090c8b1223616)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch implements custom target loading for testimage, currently
missing due to major changes to the test framework.
Custom targets can be defined in various meta-layers, so we
need an extra path information in order to find them.
Any other additional info is retrieved as usual via the variables
TEST_TARGET and TEST_SUITES
(From OE-Core rev: 1dc8010afd71fe46fb28bb86fb7c07a5fbd3d7cf)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this an exception would occur
(From OE-Core rev: d1bda068d4bc0ad3ff81ab1f104dc12cedd20b3f)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add 'elf' as also supported by OEQemuTarget.
(From OE-Core rev: c1ec42ee9beb1603012db5cf990cdbf1596b2a3d)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has moved to use 01.org and github, Update the various URIs
that track info. S needs to be changed to WORKDIR/git as we are now a
git repo.
(From OE-Core rev: 9f80b36a74d4eb407f9fc4d3afc056c41241cbc6)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change conditional to avoid losing stack traces when log
into the logger. The logic only needs to don't log empty lines.
(From OE-Core rev: 545dd180cc27a69732f2332565038bd06d01c014)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the datastore works dynamically we don't need the update_data calls
so we can just remove them. They're not actually done anything at all for
a while.
(From OE-Core rev: 8de0c5d3bd01919e2bf0394f9c485936d6098cec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switching between 32 and 64 bit BUILD_ARCH shows:
$ bitbake-diffsigs tmp-sstatesamehash*/stamps/*/nss-native/3.27.1-r0.do_compile.sigdata.*
basehash changed from 944cc4554a823ba966aeda0ac3d33b79 to 2475db3659c248d81d0e4dadb3c1b4cd
Variable SITEINFO_BITS value changed from '32' to '64'
We shouldn't have this dependency and it would fail oe-selftest test_sstate_32_64_same_hash
if nss-native were included, therefore exclude it.
(From OE-Core rev: d1109378d730c5cf50240c4d1a468e3aef5208ea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current relocation code is broken, at least in the native case. Fixing it
would mean trying pass in new data on sstate tasks about the relative positioning
of symlinks compared to the sstate relocation paths. Whilst we could do this,
right now I'm favouring making this an error and fixing the small number of
problematic recipes we have in OE-Core (3).
(From OE-Core rev: cf94de4ddee3e5072da8608c9151301fcec02cd0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Absolute path symlinks are a bit of a pain for sstate and the native versions
of these recipes currently contain broken symlinks as a result. There are
only a small number of problematic recipes, at least in OE-Core, namely the
three here.
Rather than trying to make sstate handle this magically, which turns out to
be a harder problem than you'd first realise, simply make the symlinks relative
early in the process and avoid all the problems.
The alternative is adding new complexity to sstate which we could really
do without as without the complexity, you can't always tell where the
absolute symlink is relative to (due to prefixes used for native sstate).
(From OE-Core rev: e478550c8cd889f12e336e268e9e3b30827bf840)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need a function to walk a directory and replace absolute symlinks with
relative ones. Add such a function to the path module of lib/oe.
It does this relative to the directory being walked for files.
(From OE-Core rev: 15376e5ff35367c1b40941d10e7b19302058a53e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We used to need to build gcc-cross-initial against a bare sysroot to avoid
contamination. With RSS, we no longer need to do this since the recipe sysroot
is already bare. We can therefore simply point at that and drop this code.
(From OE-Core rev: f70603887f823c14030bb738c4951d7aa3f022db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removing these nearly halves the python3-native disk footprint meaning
more optimal sysroot operations. We don't need these tests for anything.
(From OE-Core rev: 5c8dda390cacef69bc7996eb26099d55e2b8427b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change to make do_stash_locale an sstate task between do_install and
do_package has some unforeseen problems since the function deletes part of
${D} but may or may not run depending on whether the task is installed from
sstate.
This cleans up the current "pre packaging" function to be more deterministic
and result in the same set of files, whichever code path we end up reaching
that point by. Its not an ideal sitation but it should avoid the race
failures we've seen on some builds.
(From OE-Core rev: 2a60bba00da9c4e2b1a1ce30e509dba82cc6c94a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pkgdata test broke due to oe-core cf0fd8b which added alternatives support
to bash, so the binary is now /bin/bash.bash.
Instead of fixing the test case for this new name, use the m4 recipe instead as
it has less build dependencies.
(From OE-Core rev: 68da6c98841f4450736ae170e443aa744c8b77eb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
upgrade dosfstools from 4.0 to 4.1
(From OE-Core rev: 38c9e4531bcac71b873dd3bc0b264954c9d90150)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If image type "foo" depends on image type "bar.xz", then dependencies
should be collected from the base image type (ie "IMAGE_DEPENDS_bar")
not from "IMAGE_DEPENDS_bar.xz".
(From OE-Core rev: 8a9f249a9166347cc0468191ce130003e3d306e1)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it possible to restore the behaviour changed by commit 78cde87
"kernel-module-split: Append KERNEL_VERSION string to kernel module name".
(From OE-Core rev: 4aabdddf67859cd8518e5cb672fb391c859817e0)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
ERROR: iproute2-4.9.0-r0 do_package: QA Issue: iproute2: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/tc
(From OE-Core rev: eac08770b1ea3ca6640941dc8fd03fc3fa5ff869)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
ERROR: pcmciautils-018-r1 do_package: QA Issue: pcmciautils: Files/directories were installed but not shipped in any package:
/pcmcia-socket-startup
/pcmcia-check-broken-cis
/rules.d
/rules.d/60-pcmcia.rules
Since we do not have pkg-config in native sysroot it is not
computing paths correctly and causes above error
(From OE-Core rev: 748b14caed95e7c0d45f1196398689a22975dcc9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The monster configure file does call pkg-config somewhere in there.
(From OE-Core rev: 8f7eb210257318dfa630bbc39b3eb9be936fddcc)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The usage of pkg-config is sneakily hidden in do_compile()
(From OE-Core rev: b55186f93163e120c73bacb7400b94c21cfaa675)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In do_compile we set HOME so that ~/.npm* only get created in the work
directory; we need to do the same in do_install as well or they'll go
into the user's home directory which we do not want.
(From OE-Core rev: a667cb9ed2dceb804b85d1a024e2619bc34d2681)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Any custom tasks that were added on the image between do_image_complete
and do_build were not being taken into account. Use the newly added
bb.build.tasksbetween() function to take care of that.
(From OE-Core rev: c966dee6208d3b7a9fa3c1b8aa1266058dcb65ff)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A generic version of the code to work out the tasks between two
tasks (based on the code here) has been added to bb.build, so use that
instead.
(From OE-Core rev: 1226e2eb2678407c315befd5700e653602e616a0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Up until recently it was possible to set SDK_TARGETS to include a native
recipe you wanted installed into the sysroot when installing the eSDK.
I'm not sure what happened but now when you try to add a native recipe
to SDK_TARGETS you get a missing task error because this recipe has no
do_package_write_* task. Of course such a task dependency is erroneous
and is apparently caused by setting SDK_RDEPENDS. I've checked and it
turns out that we no longer need to set SDK_RDEPENDS anyway (probably
because we explicitly set up task dependencies further down in the
class, which I don't think we were fully doing in early versions of the
eSDK). Thus, drop setting this variable to restore the functionality.
(From OE-Core rev: fe8268ede33a8c76492b85da0f41062f47a5279c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recent devtool change needs bitbake changes so bump the minmium bitbake
version requirement to match.
(From OE-Core rev: e7b624c268cb917c00e88e8e9a6a87585eb98eac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you abort a build mid execution of the staging extend_sysroot function
there are currently races and cleanup of that function may fail.
This change splits the code into separate phases so that the manifests are
manipulated before files are installed, meaning we should be able to reverse
actions if builds fail, crash or are interrupted.
(From OE-Core rev: fc504b6b8538453d2f058d7cc69be098f52f8091)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is large and needs fixups to relocate it in each case. We can drop it, save
the work and the ~150MB disk space its various copies take up. Its not needed
for anything that I can see.
(From OE-Core rev: 9792ba51c5caf56d182f1290df41f2a89b85f744)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This wastes space/time as the ptest files aren't going to be used in the
sysroot so add them to the blacklist.
(From OE-Core rev: 61591fe2eea588ff92ff7f81f2ed8844617f5307)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Putting the locale and script files into the sysroot for use by their
specific recipes used to be a simple way to share the files. With RSS,
we don't want to copy these into many different recipes so put these
files in their own sstate task.
(From OE-Core rev: c283f2532851e2a65e08fe7b3fd71c5d9abb70f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCC provides some of std* headers including stddef.h
and it syncs with glibc definitions via __needed* defines
to find which datatypes are expected to be defined on top
of glibc. we need same for musl.
Drop unused 0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch
(From OE-Core rev: 7da04721a620ad741ea50adf116e6b5afd47caa5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In an attempt to make them more compact and coherent.
(From OE-Core rev: 7e7252108d5e3503888efe0e603b3883fdc793e8)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates decorators for eSDK in test cases at:
sdkext/cases/devtool.py and oeqa/selftest/eSDK.py
(From OE-Core rev: 36783b17085e73bbf47242e87bbf054352ae0a9d)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Busybox may offer a bash applet. If enabled, the alternatives mechanism
avoids breaking logins if bash gets deinstalled while /bin/bash is configured
as a login shell.
(From OE-Core rev: cf0fd8bff79a12b6eec45145ef168ebf5afebdcc)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed 'IMAGE_FSTYPES = "iso" as this functionality depends on
do_bootimg, which is going to be obsoleted soon.
As wic doesn't depend on bootimg it's safe to remove this.
(From OE-Core rev: a08e2019223d7c04916967d8fd42279e8e1e186f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
STAGING_DIR variable is used to get path to a boot dir.
It's better to use wic-tools recipe to it as it contains
all bootloader artifacts.
Modified test_build_artifacts and test_rootfs_artifacts to
use wic-tools target to get STAGING_DIR.
(From OE-Core rev: eb648ac5566fbcc679e8544fd8403a730ce71058)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make name of the wic image type class consistent with
existing naming scheme for image types.
(From OE-Core rev: 4aab1b77d5f9403cbb3fae790069ef54821491fb)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The runtime oeqa tests were failing in the on-target case, only for
aarch64. This was because an old config.sub was being used.
Similar to the SDK testing, call gnu-configize in the on-target
case too to resolve the failing tests.
(From OE-Core rev: 7918fe08d8e48f46cf2402afa66d35063eb72545)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Printing a message which says "configure failed" without the log output
is effectively useless. If a command fails, print the output by default
and simplify the calling code which makes debugging any of these failures
much easier.
(From OE-Core rev: b6352ff001c29f0bff10c18879b92c5618ec645c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New bugfix release:
* updated version/checksums
* removed 1 patch in -good which was merged upstream
(From OE-Core rev: f61cdef0a8b2771225c6bc86881a16f8ef747983)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xxx-native packages should not depend on ${DISTRO} settings. Doing
so feels inherently wrong and limits the usefulness of sstate-cache.
This patch changes how this package is installed, in particular
removing the dependency on the ${DISTRO_FEATURES} variable in
glib-2.0-native. This will further improve the ability to share
native packages between builds with differences in ${DISTRO_FEATURES}
(From OE-Core rev: ef2b49408f82daaf9bb72b3b339b70a48b9a134b)
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 6a5a4e60373c1386b311b2a8bb666c32d68a9d99 removes the configure of
useSIGIO option:
xfree86 SIGIO support is reworked to use internal versions of
OsBlockSIGIO and OsReleaseSIGIO
The check for useSIGIO is no longer needed.
(From OE-Core rev: 5ed1bc5b4dadc74f1db52179238fbbd145a59043)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging three fixes to yaffs2, which adjust to mainline changes in the
vfs subsystem:
4700f2f8b9db fs: yaffs2: fix the prototype of function yaffs_rename()
56e654cab1db fs: yaffs2: switch to the generic xattr handler
102082f3c245 fs/yaffs2: adjust to the change of inode_change_ok()
(From OE-Core rev: 3fac012408e4f6aac6520539bc6c6b0d59e2e629)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When debugging a kernel configuration issue, one of the first questions
is "what BSP was used". To answer this qusetion, we log the BSP .scc
file that was used to generate the kernel configuration in the kernel
source meta directory.
(From OE-Core rev: 1003615b866bfe196994bdc25d305ff5eace2715)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker has refreshed the 4.9 -rt support to -rt3.
(From OE-Core rev: 3d2f5c60b69afe787624a1a175d57d0e46e8b638)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The common-pc ethernet selection has drivers that depend on pci_iov
being defined. As such, we should include that feature fragment
or we get build warnings:
---------- CONFIG_BNX2X_SRIOV -----------------
Config: CONFIG_BNX2X_SRIOV
From: work-shared/qemux86-64/kernel-source/.kernel-meta/configs/standard/bsp/common-pc/common-pc-eth.cfg
Requested value: CONFIG_BNX2X_SRIOV=y
Actual value:
Config 'BNX2X_SRIOV' has the following conditionals:
BNX2X && PCI_IOV (value: "n")
BNX2X && PCI_IOV (value: "n")
Dependency values are:
BNX2X [m] PCI_IOV [n] y [y]
---------- CONFIG_BNXT_SRIOV -----------------
Config: CONFIG_BNXT_SRIOV
From: work-shared/qemux86-64/kernel-source/.kernel-meta/configs/standard/bsp/common-pc/common-pc-eth.cfg
Requested value: CONFIG_BNXT_SRIOV=y
Actual value:
Config 'BNXT_SRIOV' has the following conditionals:
BNXT && PCI_IOV (value: "n")
BNXT && PCI_IOV (value: "n")
Dependency values are:
y [y] BNXT [m] PCI_IOV [n]
(From OE-Core rev: c08d3519c4408e8c51853ffb4b69f05fc55d2df8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the 4.9.5 and 4.9.6 -stable updates. The commit logs
are as follows:
09f886dc5a69 Linux 4.9.6
f77ef5348d4b libceph: stop allocating a new cipher on every crypto request
5b482bf58868 libceph: uninline ceph_crypto_key_destroy()
12274f2c17f2 tools/virtio/ringtest: fix run-on-all.sh for offline cpus
fa555d021d2b selftest/powerpc: Wrong PMC initialized in pmc56_overflow test
f37b7a3004bb soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()
97d5e2057564 spi: pxa2xx: add missed break
d21814a8068a dmaengine: pl330: Fix runtime PM support for terminated transfers
172270c74348 dmaengine: rcar-dmac: unmap slave resource when channel is freed
3bef7578e05f s5p-mfc: Fix clock management in s5p_mfc_release() function
d47e1e7c46fe s5p-cec: mark PM functions as __maybe_unused again
dfe8e5730fa1 st-hva: fix some error handling in hva_hw_probe()
b9dc16170dbf ite-cir: initialize use_demodulator before using it
278997a8e002 gs1662: drop kfree for memory allocated with devm_kzalloc
cec5ef6ac520 platform: pxa_camera: add VIDEO_V4L2 dependency
2a3060531768 blackfin: check devm_pinctrl_get() for errors
fcdab6ca9c31 rpmsg: virtio_rpmsg_bus: fix channel creation
0f3418442d7b mtd: spi-nor: Fix some error codes in cqspi_setup_flash()
e55e6c026b7c mtd: spi-nor: Off by one in cqspi_setup_flash()
ebdfcaa14eef PM / devfreq: Fix the bug of devfreq_add_device when governor is NULL
795983547317 PM / devfreq: exynos-bus: Fix the wrong return value
16236802bfec scsi: mpt3sas: fix hang on ata passthrough commands
a07a122ad2a2 scsi: ses: Fix SAS device detection in enclosure
41c6b3e8989e swiotlb: Add swiotlb=noforce debug option
1fd1e6cd6314 swiotlb: Convert swiotlb_force from int to enum
776c2b2d165d arm64: Fix swiotlb fallback allocation
962957889d74 arm64: mm: avoid name clash in __page_to_voff()
d34b6684e60f xprtrdma: Squelch "max send, max recv" messages at connect time
8ade1c2b4530 xprtrdma: Make FRWR send queue entry accounting more accurate
a193c7247596 libceph: make sure ceph_aes_crypt() IV is aligned
6e9fa67c58cc ceph: fix endianness bug in frag_tree_split_cmp
2e4f2131b66f ceph: fix endianness of getattr mask in ceph_d_revalidate
8934e069674a ceph: fix ceph_get_caps() interruption
48baa924108e ceph: fix scheduler warning due to nested blocking
04c9fe63166f ARM: 8613/1: Fix the uaccess crash on PB11MPCore
dd8334a5e17e ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
cd9601caa2fa ARM: dts: omap3: Fix Card Detect and Write Protect on Logic PD SOM-LV
a075ac9c0a40 ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init
cfcb94b3a498 ARM: dts: omap2: Add an empty chosen node to top level DTSI
5921b26bf744 ARM: dts: omap3: Add an empty chosen node to top level DTSI
bec062cd47bd ARM: dts: am4372: Add an empty chosen node to top level DTSI
c3f7ca43b2d4 ARM: dts: omap5: Add an empty chosen node to top level DTSI
835bf872d924 ARM: dts: omap4: Add an empty chosen node to top level DTSI
355a8fced2bf ARM: dts: am33xx: Add an empty chosen node to top level DTSI
3e1c70972204 ARM: dts: dm814x: Add an empty chosen node to top level DTSI
ab6dc01db1f7 ARM: dts: dm816x: Add an empty chosen node to top level DTSI
d4f12aa133db ARM: dts: dra7: Add an empty chosen node to top level DTSI
b8add6715c9a libceph: remove now unused ceph_*{en,de}crypt*() functions
2982b9c92a66 libceph: switch ceph_x_decrypt() to ceph_crypt()
717a145bd5a9 libceph: switch ceph_x_encrypt() to ceph_crypt()
6e371f9a4144 libceph: tweak calcu_signature() a little
788a0bbc7011 libceph: rename and align ceph_x_authorizer::reply_buf
ecf7ced85628 libceph: introduce ceph_crypt() for in-place en/decryption
0548b8298938 libceph: introduce ceph_x_encrypt_offset()
be60457612a2 libceph: old_key in process_one_ticket() is redundant
2e62bf3c6fe9 libceph: ceph_x_encrypt_buflen() takes in_len
6d9b544d88a4 Input: ALPS - fix TrackStick support for SS5 hardware
6e53a62a0d52 arm64/ptrace: Reject attempts to set incomplete hardware breakpoint fields
f9081dd0c8be arm64/ptrace: Avoid uninitialised struct padding in fpr_set()
5c5839be0842 arm64/ptrace: Preserve previous registers for short regset write - 3
a4aafb8c4204 arm64/ptrace: Preserve previous registers for short regset write - 2
357cfd6c83ee arm64/ptrace: Preserve previous registers for short regset write
de327948c009 arm64: avoid returning from bad_mode
71c496495514 ARM: dts: da850-evm: fix read access to SPI flash
5b6618615215 ARM: dts: OMAP5 / DRA7: indicate that SATA port 0 is available.
1f75575aca7b ceph: fix bad endianness handling in parse_reply_info_extra
a14aeccb65e5 ibmvscsis: Fix max transfer length
51cff2c64d20 ibmvscsis: Fix sleeping in interrupt context
df35a8f51fcb ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs
73a2e2405d30 svcrdma: avoid duplicate dma unmapping during error recovery
c49b31b585a1 clocksource/exynos_mct: Clear interrupt when cpu is shut down
ce5c52f039cf ubifs: Fix journal replay wrt. xattr nodes
bab10a549fd6 mac80211: implement multicast forwarding on fast-RX path
beecb1e72cc5 qla2xxx: Fix crash due to null pointer access
33038189bcab x86/ioapic: Restore IO-APIC irq_chip retrigger callback
bf15e45eee7a powerpc: Ignore reserved field in DCSR and PVR reads and writes
e09778546713 powerpc/ptrace: Preserve previous TM fprs/vsrs on short regset write
9e10a0fc7312 powerpc/ptrace: Preserve previous fprs/vsrs on short regset write
98e60a8345ae powerpc/perf: Fix PM_BRU_CMPL event code for power9
09187cdf50c1 powerpc/icp-opal: Fix missing KVM case and harden replay
26c4d513b6af KVM: arm/arm64: vgic: Fix deadlock on error handling
e0641f201114 KVM: s390: do not expose random data via facility bitmap
001ed27d088a mtd: nand: xway: fix build because of module functions
c8dce6e0ef2c mtd: nand: xway: disable module support
d8d82ac42e27 mtd: nand: lpc32xx: fix invalid error handling of a requested irq
86249aef233e ieee802154: atusb: do not use the stack for buffers to make them DMA able
ad17175732ca mmc: mxs-mmc: Fix additional cycles after transmission stop
c1274eeb2fe3 mmc: sdhci-acpi: Only powered up enabled acpi child devices
35028599bc88 HID: corsair: fix control-transfer error handling
63df1ccb937f HID: corsair: fix DMA buffers on stack
4922a6a5cfa7 PCI: Enumerate switches below PCI-to-PCIe bridges
c6bdc450fe93 PCI: designware: Check for iATU unroll only on platforms that use ATU
07f0267561c6 fuse: fix time_to_jiffies nsec sanity check
0181b3603681 fuse: clear FR_PENDING flag when moving requests out of pending queue
bb82fb48df8c ARC: module: Fix !CONFIG_ARC_DW2_UNWIND builds
3c4d83a1a41e libnvdimm, namespace: fix pmem namespace leak, delete when size set to zero
f29f3616b932 svcrpc: don't leak contexts on PROC_DESTROY
a297ed84b928 sunrpc: don't call sleeping functions from the notifier block callbacks
90687fc3c8c3 rcu: Narrow early boot window of illegal synchronous grace periods
bdeaa468e221 rcu: Remove cond_resched() from Tiny synchronize_sched()
f779e00d2e86 x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F
782b361c9306 tmpfs: clear S_ISGID when setting posix ACLs
9170948a24b7 ARM: dts: omap3: Add DTS for Logic PD SOM-LV 37xx Dev Kit
efba7a37efe2 ARM: dts: imx31: fix AVIC base address
173470b1b10a ARM: dts: imx31: move CCM device node to AIPS2 bus devices
979f63227c98 ARM: dts: imx31: fix clock control module interrupts description
e95bd2ca11a9 ARM: dts: imx6q-cm-fx6: fix fec pinctrl
387812143cbe ARM: dts: r8a7794: remove Z clock
57a10f29e0b3 ARM: dts: r8a7794: Use SYSC "always-on" PM Domain for sound
97136d1ef47a ARM: dts: bcm283x: fix typo in mailbox address
03f5be20ec9b perf jit: Enable jitdump support without dwarf
3ef6a3c0136b perf scripting: Avoid leaking the scripting_context variable
ea738532666a perf callchain: Fixup help/config for no-unwinding
a1d308914090 perf diff: Do not overwrite valid build id
0f242c0ae0a6 perf trace: Check if MAP_32BIT is defined (again)
8b5484fab145 perf mem: Fix --all-user/--all-kernel options
567eea578016 perf trace: Use the syscall raw_syscalls:sys_enter timestamp
d622b626270a IB/IPoIB: Remove can't use GFP_NOIO warning
656a7d657533 IB/mlx4: Check if GRH is available before using it
661600ff77f1 IB/mlx4: When no DMFS for IPoIB, don't allow NET_IF QPs
8f95735412ad IB/mlx4: Fix port query for 56Gb Ethernet links
1039b7f5c7ef IB/mlx4: Handle well-known-gid in mad_demux processing
618d14b01a45 IB/mlx4: Fix out-of-range array index in destroy qp flow
970f6806c2b1 IB/mlx4: Set traffic class in AH
0d64860aa638 IB/mlx5: Wait for all async command completions to complete
7c8441c89043 IB/mlx5: Assign SRQ type earlier
dae9f4f14411 IB/mlx5: Fix reported max SGE calculation
4db097fe49ea IB/mlx5: Avoid system crash when enabling many VFs
45f3a7eb2ca0 IB/rxe: avoid putting a large struct rxe_qp on stack
25c72b518734 IB/rxe: Increase max number of completions to 32k
b7c551559834 IB/core: Release allocated memory in cache setup failure
40bf0662fe3f Linux 4.9.5
4e764538512e pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLE
b90a617fef04 arm64: hugetlb: fix the wrong return value for huge_ptep_set_access_flags
2021e55d719a arm64: hugetlb: remove the wrong pmd check in find_num_contig()
736aec92c4e9 arm64: hugetlb: fix the wrong address for several functions
3083593700dd powerpc/powernv: Don't warn on PE init if unfreeze is unsupported
dcd15c20c208 powerpc/ibmebus: Fix device reference leaks in sysfs interface
25bba7152f2a powerpc/ibmebus: Fix further device reference leaks
ae4c24b2d584 powerpc/mm: Correct process and partition table max size
42eded92c42b bus: vexpress-config: fix device reference leak
d9c19f90f3a5 blk-mq: Always schedule hctx->next_cpu
cb50d45c3d42 power: supply: bq27xxx_battery: Fix register map for BQ27510 and BQ27520
df386a0c2804 bq24190_charger: Fix PM runtime use for bq24190_battery_set_property
4b07d85374f5 iw_cxgb4: Fix error return code in c4iw_rdev_open()
aa3ee06a2ae2 powercap/intel_rapl: fix and tidy up error handling
f53cfb081f00 ACPI / APEI: Fix NMI notification handling
f57d8710096d block: cfq_cpd_alloc() should use @gfp
f99694cdaf76 block: Change extern inline to static inline
a4e73cc229d8 ACPI / CPPC: set an error code on probe error path
26991b28b47c regulators: helpers: Fix handling of bypass_val_on in get_bypass_regmap
89c728ed9237 cpufreq: powernv: Disable preemption while checking CPU throttling state
e5f33ef0a601 powerpc/64: Simplify adaptation to new ISA v3.00 HPTE format
f607fd883654 remoteproc: st: Fix error return code in st_rproc_probe()
0e38a0b7acbb remoteproc: qcom_wcnss: Fix circular module dependency
b4a69e3877ca drm: Initialise drm_mm.head_node.allocated
5bdb57418845 drm/i915: Move the min_pixclk[] handling to the end of readout
699fbc4cb7d4 drm/panel: simple: Check against num_timings when setting preferred for timing
214417a0419b drm: avoid uninitialized timestamp use in wait_vblank
3b376640445a drm/i915/gen9: Fix PCODE polling during SAGV disabling
26eae206b786 i2c: mux: pca954x: fix i2c mux selection caching
396b25173370 NFSv4.1: nfs4_fl_prepare_ds must be careful about reporting success.
e331f2f2b1fb NFS: Fix a performance regression in readdir
4c4d4bec6c90 pNFS: Fix race in pnfs_wait_on_layoutreturn
633b57037699 NFS: fix typo in parameter description
a5209aa99042 pinctrl: meson: fix gpio request disabling other modes
7a1dcd92fd39 btrfs: fix error handling when run_delayed_extent_op fails
003e3163fcc7 btrfs: fix locking when we put back a delayed ref that's too new
0aefd99f37f3 nvme: apply DELAY_BEFORE_CHK_RDY quirk at probe time too
9bae3c370a9e x86/cpu: Fix bootup crashes by sanitizing the argument of the 'clearcpuid=' command-line option
64e236812197 i2c: piix4: Avoid race conditions with IMC
ce31072b4342 net/mlx5: Only cancel recovery work when cleaning up device
2f946414a080 USB: serial: ch341: fix modem-control and B0 handling
12a26bd342b5 drm/amdgpu: drop verde dpm quirks
d52e714b39ce drm/amdgpu: update si kicker smc firmware
0c37b07002d5 drm/radeon: drop verde dpm quirks
7cd7aea3dc78 drm/radeon: update smc firmware selection for SI
5375b71f3b17 drm: Clean up planes in atomic commit helper failure path
6d15a83af982 drm/i915/gen9: Fix PCODE polling timeout in stable backport
9297e0c189f5 net/af_iucv: don't use paged skbs for TX on HiperSockets
00cf64fbaa1e sysctl: Drop reference added by grab_header in proc_sys_readdir
eca02f01be96 Clearing FIFOs in RS485 emulation mode causes subsequent transmits to break
86820a103f51 extcon: return error code on failure
ef8ee4495171 sysrq: attach sysrq handler correctly for 32-bit kernel
4a940d6503e1 orinoco: Use shash instead of ahash for MIC calculations
0edcc47cdb7f ibmvscsis: Fix srp_transfer_data fail return code
ba04d869974e tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx
2d789bd1fc24 tty/serial: atmel: RS485 half duplex w/DMA: enable RX after TX is done
199c89fd32b2 virtio_blk: avoid DMA to stack for the sense buffer
6c6ae8c43df9 dmaengine: omap-dma: Fix dynamic lch_map allocation
3fbaff3adc76 drivers: char: mem: Fix thinkos in kmem address checks
1a62a0f76556 mnt: Protect the mountpoint hashtable with mount_lock
52fd0ab07676 pid: fix lockdep deadlock warning due to ucount_lock
57bfd5a3710b vme: Fix wrong pointer utilization in ca91cx42_slave_get
1f363639eb30 Revert "tty: serial: 8250: add CON_CONSDEV to flags"
f9cf776b0555 ASoC: hdmi-codec: use unsigned type to structure members with bit-field
28dad9aa9b36 btrfs: fix crash when tracepoint arguments are freed by wq callbacks
4d0f302bf56a xhci: fix deadlock at host remove by running watchdog correctly
d06367ac1730 fix a fencepost error in pipe_advance()
ab8957396a69 i2c: fix kernel memory disclosure in dev interface
93c94ec23fae i2c: print correct device invalid address
61a8c3372adb Input: elants_i2c - avoid divide by 0 errors on bad touchscreen data
0556a65e8b7d USB: serial: ch341: fix open and resume after B0
3ed1f6da3a17 USB: serial: ch341: fix control-message error handling
139556a98511 USB: serial: ch341: fix open error handling
1685daad0b0c USB: serial: ch341: fix resume after reset
4aeab97a0515 USB: serial: ch341: fix initial modem-control state
58ede4beda66 USB: serial: kl5kusb105: fix line-state error handling
dfd48efcde84 usb: musb: fix runtime PM in debugfs
88d3670a1de4 wusbcore: Fix one more crypto-on-the-stack bug
99ff99b830c1 x86/CPU/AMD: Fix Bulldozer topology
bd7e769457f9 x86/bugs: Separate AMD E400 erratum and C1E bug
e2d9ad2c540b x86/cpu/AMD: Clean up cpu_llc_id assignment per topology feature
259495a0440f bridge: netfilter: Fix dropping packets that moving through bridge interface
6ba35da690f3 xfs: Timely free truncated dirty pages
86673e9331c9 gpio: Move freeing of GPIO hogs before numbing of the device
0a28f5393689 nl80211: fix sched scan netlink socket owner destruction
14d6c966744d x86/efi: Don't allocate memmap through memblock after mm_init()
99b17ac0014b efi/x86: Prune invalid memory map entries and fix boot regression
74ce3fd64bc4 efi/libstub/arm*: Pass latest memory map to the kernel
736e77c07fba KVM: x86: Introduce segmented_write_std
83fedbb76051 KVM: x86: emulate FXSAVE and FXRSTOR
aae8f3464b1f KVM: x86: add asm_safe wrapper
bc5e1316efd6 KVM: x86: add Align16 instruction flag
90f70fcd6f72 KVM: x86: fix NULL deref in vcpu_scan_ioapic
5ed21cc0cf26 KVM: x86: flush pending lapic jump label updates on module unload
483ecebb22c1 jump_labels: API for flushing deferred jump label updates
7caf473f99b8 KVM: eventfd: fix NULL deref irqbypass consumer
7718ffcf9a64 KVM: x86: fix emulation of "MOV SS, null selector"
1e26cec60668 mm/hugetlb.c: fix reservation race when freeing surplus pages
8315c22ea879 mm/slab.c: fix SLAB freelist randomization duplicate entries
6ca29ee3ca0d mm: support anonymous stable page
07fc9575e88a mm, memcg: fix the active list aging for lowmem requests when memcg is enabled
6c9bd81cb9ea ocfs2: fix crash caused by stale lvb with fsdlm plugin
692755b1006d mm: fix devm_memremap_pages crash, use mem_hotplug_{begin, done}
8edd365ee94c mm: pmd dirty emulation in page fault handler
87fa6f37fa29 dax: fix deadlock with DAX 4k holes
2e264fb546fa zram: support BDI_CAP_STABLE_WRITES
ad4764b4c8eb zram: revalidate disk under init_lock
057ac4429aef selftests: do not require bash for the generated test
91ee732cb563 selftests: do not require bash to run netsocktests testcase
d65146c7fb91 drm/savage: dereferencing an error pointer
c730a84aff6f drm/vc4: Fix a couple error codes in vc4_cl_lookup_bos()
a63bb198dc14 drm/tegra: dpaux: Fix error handling
6b94626c9edf regulator: axp20x: Fix axp809 ldo_io registration error on cold boot
8ac055af47ae regulator: tps65086: Fix 25mV ranges for BUCK regulators
9229336861cb pinctrl: sh-pfc: Add helper to handle bias lookup table
5e1595223a2c pinctrl: sh-pfc: r8a7795: Use lookup function for bias data
b01bbf221fcc pinctrl: imx: fix imx_pinctrl_desc initialization
f34fbb92fe81 Input: i8042 - add Pegatron touchpad to noloop table
5975358bf2ad Input: xpad - use correct product id for x360w controllers
(From OE-Core rev: 629ec06de1c2b3aba5a941ac03e92f023c9703f1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid kernel-devsrc failing with missing a dependency on "/bin/awk".
Due to the way this script is invoked, using #!/usr/bin/env can run into
issue when invoked.
Since most distros have awk in /usr/bin and not /bin, we change the
script while this is sorted out upstream.
(From OE-Core rev: 3360eadb719f1d3b406e6cf48d99a74fdb2f6c77)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following kernel config updates:
f7f388ec4d89 Add support and drivers for CAN bus as feature
2b20935eb14b Filesystem encryption support
8520e18f2956 Update NFC support
a079d66845cd Add eCryptFS filesystem feature
(From OE-Core rev: 8a83c808988f646bd6ecab4905a74c33699451ef)
Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ability to merge two branches directly from a .scc file was
dropped during the streamlining of the tools.
As was pointed out by David Vincent <freesilicon@gmail.com>, there is
once again a valid use case for this functionality, so we restore the
capability.
(From OE-Core rev: a0059ebbb52c659282e355664bba1a2fa282170e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding a feature fragment that enables a broad range of TPM
drivers. They service as a baseline for production kernels.
(From OE-Core rev: 460071785c58de6d45698046e70f1121438537cd)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release with the following changes:
75353ac8ff43 Linux 4.9.4
6fea974494af rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
7dae85b5c355 rtlwifi: Fix enter/exit power_save
3f41ee3a45cb drm/i915/gen9: Fix PCODE polling during CDCLK change notification
93f2976eb027 ALSA: usb-audio: Add a quirk for Plantronics BT600
f52e670a5b29 spi: mvebu: fix baudrate calculation for armada variant
05b7bdf1c3d8 ARM: omap2+: am437x: rollback to use omap3_gptimer_timer_init()
b8ba5faa7a6b ARM: 8631/1: clkdev: Detect errors in clk_hw_register_clkdev() for mass registration
87dbf3dc1652 ARM: OMAP4+: Fix bad fallthrough for cpuidle
b336dc57bc92 ARM: OMAP5: Fix build for PM code
0f665deba9bc ARM: OMAP5: Fix mpuss_early_init
aa1c7b01c9c7 bus: arm-ccn: Prevent hotplug callback leak
bd99e7a6036e svcrdma: Clear xpt_bc_xps in xprt_setup_rdma_bc() error exit arm
c2ce1c4133b3 ARM: qcom_defconfig: Fix MDM9515 LCC and GCC config
e925eb342659 ARM: zynq: Reserve correct amount of non-DMA RAM
78e2d9405e2d ARM: pxa: fix pxa25x interrupt init
596ff0afbe8e ARM64: dts: bcm2835: Fix bcm2837 compatible string
e3937bc1cc0b ARM64: dts: bcm2837-rpi-3-b: remove incorrect pwr LED
d40152d5ac67 arm64: dts: mt8173: Fix auxadc node
08aed6e8883d tools/virtio: fix READ_ONCE()
e7d05ec1923e powerpc: Fix build warning on 32-bit PPC
2fc33ff4ba81 ALSA: firewire-tascam: Fix to handle error from initialization of stream data
2c867216c555 HID: hid-cypress: validate length of report
e425ed1d3c75 net: vrf: do not allow table id 0
7b7a5a85b1d9 net: ipv4: Fix multipath selection with vrf
7cc73483a4c7 net/mlx5e: Remove WARN_ONCE from adaptive moderation code
17a561b19a27 gro: Disable frag0 optimization on IPv6 ext headers
934ca017c850 gro: use min_t() in skb_gro_reset_offset()
ec0fdcb88c6f gro: Enter slow-path if there is no tailroom
33364eee1fe4 net: add the AF_QIPCRTR entries to family name tables
2ff4a0243c9e net: dsa: Ensure validity of dst->ds[0]
66f24d624baa r8152: fix rx issue for runtime suspend
c8a89b4f5248 r8152: split rtl8152_suspend function
294f2c889637 net: dsa: bcm_sf2: Utilize nested MDIO read/write
ac77aab46168 net: dsa: bcm_sf2: Do not clobber b53_switch_ops
b55f6ca7380d bpf: change back to orig prog on too many passes
a4d205a59521 net: vrf: Add missing Rx counters
efc455f08ea8 ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rules
fe1e13cfe2c4 igmp: Make igmp group member RFC 3376 compliant
7826d11cf44c flow_dissector: Update pptp handling to avoid null pointer deref.
9f65f5d4746b drop_monitor: consider inserted data in genlmsg_end
9f7551e05b0f drop_monitor: add missing call to genlmsg_end
a8a213f296ae net: ipv4: dst for local input routes should use l3mdev if relevant
e7422080e35d net: fix incorrect original ingress device index in PKTINFO
2ffc694b5727 rtnl: stats - add missing netlink message size checks
8cb7d6277f01 net/mlx5e: Disable netdev after close
ee9f2fd3f6b6 net/mlx5e: Don't sync netdev state when not registered
33c782dd1514 net/mlx5: Prevent setting multicast macs for VFs
b22c86ff8e78 net/mlx5: Mask destination mac value in ethtool steering rules
efbbc75c00fc net/mlx5: Avoid shadowing numa_node
ca8a64467f2a net/mlx5: Cancel recovery work in remove flow
7bf1de7f2749 net/mlx5: Check FW limitations on log_max_qp before setting it
9b4a34ff8987 net/sched: cls_flower: Fix missing addr_type in classify
99f40c6bf565 net: stmmac: Fix race between stmmac_drv_probe and stmmac_open
09babe4ce12e net, sched: fix soft lockup in tc_classify
ee99e2bc5e8a ipv6: handle -EFAULT from skb_copy_bits
d36a1cb1e328 inet: fix IP(V6)_RECVORIGDSTADDR for udp sockets
ed3cc329c7bc sctp: sctp_transport_lookup_process should rcu_read_unlock when transport is null
8b8fbe5c25ab net: vrf: Drop conntrack data after pass through VRF device on Tx
d4a0b2e40c46 net: vrf: Fix NAT within a VRF
(From OE-Core rev: 9b4c9986ebed75ee71a8179e04a4384624c0e7e0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fixes release.
This is really needed for Qualcomm based h/w since freedreno
driver had a regression in 13.0.x branch which is fixed in 13.0.4.
(From OE-Core rev: bc4804dccb268831e2fdffb21c15d6d78a2a06d3)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the following Backported patches:
1. 0001-configure-don-t-add-Werror-to-build-flags.patch
2. 0002-ASN.y-corrected-compiler-warning.patch
3. 0003-parser_aux-corrected-potential-null-pointer-derefere.patch
4. 0004-tools-eliminated-compiler-warnings.patch
fixed the following build error with musl
...
| from ../../libtasn1-4.10/gl/getopt.c:28:
| ./stdint.h:89:5: error: #if with no expression
| #if
| ^
(From OE-Core rev: 70138279e4f4da74cd63402d7201c74ab2528fa8)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to use typing.py without having to add the whole
python3-misc package.
(From OE-Core rev: 66c282541a13f2d1224d3ba933a953c0f613fb2a)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to use ipaddress without requiring the add the whole
python3-misc.
(From OE-Core rev: d0e9013f6c68104369de940f5dd8a6ef76cd0210)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to depend on _compat_pickle.* wihtout having to add the whole
python3-misc.
(From OE-Core rev: 6c435672b27d1c97ce3776c98d073a92fde887cd)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
socketserver.* should be part of python3-netserver.
(From OE-Core rev: 8aa71c7133f996f6ed09a3c094e553bed7f33c7a)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to use html.py without importing misc.
(From OE-Core rev: d1fefcaa10b85837d18458e291a3df9093b3a6ea)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pkg-config currently only handles -I and -L correctly, but misses
-isystem, so we need to do this workaround to fix this issue.
There's a open bug in:
https://bugzilla.freedesktop.org/show_bug.cgi?id=99516
This appears when building lldpd and shows error:
ERROR: lldpd-0.9.6-r0 do_configure: This autoconf log indicates
errors, it looked at host include and/or library paths while
determining system capabilities.
Rerun configure task after fixing this.
ERROR: lldpd-0.9.6-r0 do_configure: Function failed: do_qa_configure
Change-Id: I83255b5952e19bb2f516b1186276cd03eb67eed3
(From OE-Core rev: 5bd23c01fd800c43ba3979b23585fe8ac30d7ec8)
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Discovered on beaglebone black
(From OE-Core rev: 21fcb42d97e90eb76283b69ab876729f4cee7ad7)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise the common name udev-hwdb is only provided by systemd, meaning that
other recipes can't depend on a single name.
(From OE-Core rev: dea267d576695e23223a2f402f6c9c126b0413dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we switched to recipe specific sysroots (rss), performance took a nose dive. Its
easy to blame rss but it turns out not to be entirely at fault.
Three configurations are compared here:
a) Pre-RSS (revision 45df694a9f)
b) Post-RSS (revision 226a508da9)
c) as b) with this change
Overall build times:
a) 22794.25user 2687.88system 30:32.84elapsed 1390%CPU (0avgtext+0avgdata 919056maxresident)k
b) 22677.25user 3238.79system 36:16.68elapsed 1190%CPU (0avgtext+0avgdata 918896maxresident)k
c) 23571.84user 3383.65system 31:36.83elapsed 1421%CPU (0avgtext+0avgdata 919068maxresident)k
For the overall build and sstate directories, du -s shows:
a)
3992588 build-pre-rss/sstate-cache
30804484 build-pre-rss/tmp
b)
4013272 build-with-rss/sstate-cache
36519084 build-with-rss/tmp
c)
4014744 build-with-rss2/sstate-cache
35336960 build-with-rss2/tmp
However more worryingly:
$ du -s build-pre-rss/tmp/sysroots/
2506092 build-pre-rss/tmp/sysroots/
$ du -s build-with-rss/tmp/sysroots-components/
3790712 build-with-rss/tmp/sysroots-components/
$ du -s build-with-rss2/tmp/sysroots-components/
2467544 build-with-rss2/tmp/sysroots-components/
These numbers *should* be equivalent but as you can see, b) is ~1.2GB larger. The reason turned out
to be patchelf. Taking a specific binary from a specific recipe, bc from bc-native, in a) its 82kb
(stripped) yet in b) its 2.17MB.
$ ./patchelf --set-interpreter /bin/rp bc
warning: working around a Linux kernel bug by creating a hole of 2084864 bytes in ‘bc’
https://github.com/NixOS/patchelf/blob/master/src/patchelf.cc#L710 shows that this "hole" is just
padded zeros using memset, its not a proper sparse hole.
This patch copies files with cp --sparse=always after modifying them with patchelf, then replacing
the original file. The better fix will be to fix this in patchself itself and seek() there
when writing the new file but that means new uninative tarballs and will take a bit of work
so I'm proposing this workaround in the meantime.
Also, this patch drops error handling since subprocess check_output() tracebacks will print this
information if the command fails so we can simplify the code.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libudev will be autodetected by the linkage, the intention here was to depend on
udev-hwdb to ensure that the USB ID lists are installed.
(From OE-Core rev: 04624464690da71b3ec904a48d5caa8087ca6381)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently test_postinst_roofs_and_boot is building a full-cmdline image
this is taking a lot of time to execute the test, so a minimal image
will be build instead.
(From OE-Core rev: 3a6b0b9f94b7097a825edf3fe258a2f86b73edd6)
Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extra configuration data should be write using the write_config
method instead of manually appending to the local.conf file
(From OE-Core rev: 65c26d51eedc687c92e8ade262d24dc53ca71cec)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed hddimg from FSTYPES in wic test suite as
wic doesn't depend on hddimg anymore.
[YOCTO #10835]
(From OE-Core rev: a332d9618c2d0f46b6c0c8fdeee8bec4cc73f2cf)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sysroot of wic-tools is needed for wic, but if rm_work is enabled,
it will be removed before wic has a chance to use it, hence this fix.
(From OE-Core rev: fc59d35a8ceae6302e0a161bab04829fdfd157cd)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building for the target, pkg-config uses the target glib-2.0 instead of
it's own minimal fork. To find this it needs to use pkg-config so ensure this
dependency exists in case it doesn't exist on the host already.
(From OE-Core rev: 2e55ecb93ecbbd8bfe626c07d3a032c2fe98efca)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This puts the dependencies on the correct task and removes pointless
noexec tasks allowing for a slightly cleaner task structure.
(From OE-Core rev: 8b80aee29150fcd50b11dedaab42cdec6e3f222b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The number of mkdir calls was showing up high on the profile charts since
it was getting called once per file which is excessive. Each call results
in one or more syscalls which is bad for performance. Cache which
directories we've seen to reduce the calls to a more reasonable number
and speed up recipe specific sysroots.
(From OE-Core rev: 680fb343be5d0a7f9abbe9c75ca232abe5871663)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to profile data, repeated calls to bb.debug and bb.note in
the extend_recipe_sysroot() codepath were accounting for 75% of the time
(1.5s) in calls from tasks like do_image_complete.
This batches up the log messages into one call into the logging system
which gives similar behaviour to disabling the logging but retains the
debug information.
Since setscene_depvalid is also called from bitbake's setscene code,
we have to be a little creative with the function parameters and leave
the other debug output mechanism in place. This should hopefully
speed up recipe specific sysroots.
(From OE-Core rev: 3b0af8dc0f796345d1f1ba77ea35bbd090a5feb3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need to hardcode a path to tail, follow the other tools examples and
don't specify a path since PATH is good enough for us.
(From OE-Core rev: 1a1e70304932cce5ad194e0a7ebb495da7b24c2e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't put target libs into a native/cross ${exec_prefix} but having
this in the default search path means all linker scripts have to be relocated.
This is a considerable chunk of files to create multiple copies of for no good
reason.
Instead, patch out the paths we don't need.
(From OE-Core rev: 20816eb5398512652c971a37589a2ca28ffd3d68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Relocation of native .la files during recipe specific sysroot relocation
is probably the final straw in just killing these files off.
Change things so this class is inherited by default. If distros don't want to
do this, they can opt out but it seems like the best thing to do now since
.la files aren't needed on Linux.
(From OE-Core rev: 11d801f6a7319a95f824842df118c446f8da7a71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The native .pc files currently have hardcoded paths in them meaning each has
to be relocated at final install time. pkg-config has built in functionality
to avoid this, namely the pcfiledir variable.
This function translates .pc files to use the variable meaning further
relocation later is unnecessary.
(From OE-Core rev: a3f4e9ff55c7d9eba175e83eb6c99cf349a74432)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst the path to the executable is dynamically determined, the passed in
environment variables or parameters are not relocatable and rely on the sstate
remapping code. In the recipe specific sysroot case this has become more costly.
This patch translates such paths into relocatable entries which means that
a sed replacement at final installation isn't needed.
(From OE-Core rev: 3e02a7cda0ba70e3f9886c5cce37d71361280b11)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The run-tests option is optional so if isn't specified set
to None instead of crash on split().
(From OE-Core rev: 877732406cad2ee4bf11293dc8ccddc2998ffbaf)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian based distros has a builtin syslog module so when
try to load tests using unittest it references the builtin
module instead of runtime/cases.
[YOCTO #10964]
(From OE-Core rev: 9923e3cdb58c2b3c54ec5fe99b2cec4cdc9fff92)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some missing suites on sato-sdk and lsb-sdk images so add it.
The createrepo-native needs to be built before run testimage in
order to create a repository from install packages.
The DL_DIR data also needs to be updated from the current bitbake
environment instead of use the value from testdata file.
[YOCTO #10964]
(From OE-Core rev: 42f3026b39519ba98ae3153329622ce670d57c09)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes a potential pollution by the build host and build error
when yacc isn't installed on the build host:
| ../../libtasn1-4.9/build-aux/ylwrap: line 175: yacc: command not found
| Makefile:1116: recipe for target 'ASN1.c' failed
| make[3]: *** [ASN1.c] Error 127
(From OE-Core rev: 1135024502bb120c331e065f4c441d6a3efb6d4f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Found via verify-bashisms.
(From OE-Core rev: b690b8dc634844b4f6672d524f0e6f1d86dc4e20)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing dependency revealed by recipe specific sysroots. If the host
system does not have glib-compile-schemas installed have (via
libglib2.0-dev, glib2, glib2-tools or similar) do_configure would fail
with:
configure: error: glib-compile-schemas not found.
(From OE-Core rev: 483801020f358fb201703b56326cb90e6df84fdb)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing dependency uncovered after recipe specific sysroots were enabled.
(From OE-Core rev: 3173505ba6014271e59fdde2450ecc0d3cd4c8c2)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rpm needs pkg-config in order to build successfully. Recipe specific
sysroots revealed this missing dependency when trying to build on a host
without pkg-config.
(From OE-Core rev: 6ad1deb0d728b8d34589b1a42acc8fa268e95f28)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows both grub and systemd-boot efi bootloaders to co-exisit
(From OE-Core rev: 26f4eb19b6e9c71374659605a01af762a0361f41)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When booting core-image-tiny-initramfs, since we want to live on initrd,
on purpose, we never find a rootfs image to switch root to,
this causes init to show an error as it would with other images,
this patch replaces the message shown to the user, avoiding confusion
when it was indeed a successful boot.
(From OE-Core rev: 3378c322247f5c261f40d06480379da9a24e3082)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an image that simply creates image artifacts using
image-live-artifacts support instead of creating an actual image.
The image artifacts can then be subsequently assembled by an external
tool such as wic to create an actual image.
This eliminates redundant image creation when using such tools.
(From OE-Core rev: 97237259a9acb9a1511823914dea52b9719fbafd)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The memory management interface has changed in Kernel 4.9.
This patch adds a patch which fixes the paramter of the function call.
Backport from https://github.com/cryptodev-linux/cryptodev-linux
Based on commit f126e4837e6334d0464540995df7426fedf6b175
(From OE-Core rev: 29e3e2999ae0fd92fd41c2180359e110301a488c)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Release note available at this location:
https://ccache.samba.org/releasenotes.html#_ccache_3_3_3
Moving to tarball source as git.samba.org is not used anymore.
License checksum change is due to an update in URL, now refering to "https"
protocol instead of "http", line 32:
'https://ccache.samba.org/authors.html'
(From OE-Core rev: d6b064fc19ba66b503fd7ad1fe56338f81499dc8)
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The source makes no reference to insert_feed_uris any more, simply drop
the unused reference, to avoid confusing the developers.
(From OE-Core rev: 26dddb7d4a4945abaaefd460a342de6abd609594)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a complementary fix to commit 2dea9e49:
[ meta: remove True option to getVarFlag calls ]
it intended to remove all True option to getVarFlag calls, but there are
still some remaining.
Search made with the following regex: getVarFlag ?\((.*), True\)
(From OE-Core rev: 5b53b34dcb64dc65ee651cbf78cbbd9105dc4f4c)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a complementary fix to commit 7c552996:
[ meta: remove True option to getVar calls ]
it intended to remove all True option to getVar calls, but there are
still some remaining.
Search made with the following regex: getVar ?\((.*), True\)
(From OE-Core rev: 87d03ffe03d6f01e360bfd51714be96e62506e0a)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the change to the new framework data store dependecy was
removed, instead a new file is generated and used in testimage.
When testing builds from the autobuilders the test data values
are from the autobuilder, including the paths.
Some tests require paths to current environment in order to run,
this commit will update such paths and fix the error of running
images donwloaded from autobuilders.
[YOCTO #10964]
(From OE-Core rev: 26ad5105fc2ce03b7ee8ecc6911fd40a52bd573a)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
smart test requires to build the image using rpm packages, this check was
included, but it checked for PACKAGE_CLASSES=='package_rpm', and this is
not true when building packages for rpm and deb/ipk. So this would check
IMAGE_PKGTYPE instead.
[YOCTO #10964]
(From OE-Core rev: 570f50b30072a10c5eadfbbfea2647339ee85176)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oeRuntimeTest class is not used anymore as part of runtime
migration, this particular case was missed, so fix it.
[YOCTO #10964]
(From OE-Core rev: d928e5166d8812e7e20bc95c0a8b5cb5439ec497)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a module parameter on the command line contains quotes, any
spaces inside those quotes should be included as part of the
parameter.
Upstream-Status: Accepted
(From OE-Core rev: a54be23887cdc24a9b128be0913029fc8e63973d)
Signed-off-by: James Minor <james.minor@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specify whether to use libseccomp or not. Do not
just let configure check for it.
(From OE-Core rev: 62cc91e8831c72e9beceff13ad68dd69298135b5)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not reference unavailable system calls when
building for ARM_EABI.
(From OE-Core rev: 67f0094af624866f02e7fb0173c335a7e8942921)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates sanity tests to cope with minimal eSDK installer
1. Skips the validation of sanity if packagegroup-cross-canadian is in
host package.
2. Skips if SDK does not include toolchain at cases/devtool.py
This should fix [YOCTO #10794]
(From OE-Core rev: 59a99cd8661af594ee0c33e086578d29d50a6268)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add created symlinks to the exclude file. This will both make them
less distracting and hide them from the srctree_hash_files function.
(From OE-Core rev: c11fcd6fbde4a90913960b223451e0ce9e6b4b64)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For this we move them out of the python section so they can be
overridden on a per-recipe basis.
The motivation for this change is that not all tool chains need the
path modifications provided by the command, and these will provide
alternative or empty commands. The Go compiler is such an example.
(From OE-Core rev: 7d2a2160336413736dd4640f5b84ba4d74bb00f5)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If ext sdk is built by gcc version higher than host gcc version
and host gcc version is 4.8 or 4.9 the installation is known to
fail due to the way uninative sstate package is built.
It's a known issue and we don't have a way to fix it for above
mentioned combinations of build and host gcc versions.
Detected non-installable combinations of gcc versions and
print an installation error.
[YOCTO #10881]
(From OE-Core rev: bfb9ea2604557804bd8c16adb57ccdd868a4020f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add readline support to PACKAGECONFIG. If readline needs if left out
of compilation, the bluez utilities which depend on readline are not
included in build or packages.
The defaults in PACKAGECONFIG are the same as before, so there should be
no change to current users.
(From OE-Core rev: 3985eed70c194c3d9d0c6e94a65e2edfa3f29a8e)
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Libtiff is vulnerable to a heap buffer overflow in the tools/tiffcp
resulting in DoS or code execution via a crafted BitsPerSample value.
Porting patch from <https://github.com/vadz/libtiff/commit/
5c080298d59efa53264d7248bbe3a04660db6ef7> to solve CVE-2017-5225.
(From OE-Core rev: 434990304bdfb70441b399ff8998dbe3fe1b1e1f)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To enable glamor, we need to also enable both dri3 and xshmfence as dependencies.
(From OE-Core rev: 33864ddc1ca5326e0b2bb7443410069a8cd9f57b)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using the modesetting with glamor and MUSL, the glamoregl
library needs to be pre-loaded, so add it to the list here.
(From OE-Core rev: 95701f1491e50e894a7c5f2543137c3bda1877b9)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make's switch '-e' replaced important compiler flags from the
project's Makefile, i.e. -D_FILE_OFFSET_BITS=64.
(From OE-Core rev: 93996a327d4c8652a16292824a06a163b13dc228)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let util-linux-bash-completion depend on it, because it uses it.
(From OE-Core rev: 27efae1e0ba8fc6b08117b31c4cb35638afc37e4)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ACLs are pretty useful in the modern world, with security systems such as
SELinux and Smack that use them extensively. As the overhead is minimal, add
ACL to DEFAULT_DISTRO_FEATURES so that support for them is enabled by default.
The overhead for core-image-sato is that coreutils, libarchive, and opkg link
against libacl. The size increase of those packages is minimal, and libacl is
35kb.
[ YOCTO #8200 ]
(From OE-Core rev: 0c4d6dec32615af10fdaa4f1685b8c4f2a167feb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was discovered that buildtools-tarball can't be built with Debian packaging:
E: Unable to locate package nativesdk-buildtools-perl-dummy
The package exists but dpkg doesn't see it because the Architecture field isn't
valid: for this package the Architecture field is 'allarch' which isn't in the
list of valid architectures we define.
package_deb already has a mapping of OE architectures (PACKAGE_ARCH) to dpkg
architectures (DPKG_ARCH), for example our x86_64 is amd64 in dpkg. However
allarch.bbclass sets an invalid TARGET_ARCH of 'allarch' (to break anything
which attempts to use the target architecture) and package_deb relied on the
PACKAGE_ARCH check later turning the Architecture field into 'all'.
This usually works, but nativesdk-buildtools-perl-dummy inherits allarch but
then changes PACKAGE_ARCH to buildtools-dummy-nativesdk to isolate the packages
in a separate feed. We can handle this by explictly checking for allarch in the
TARGET_ARCH check, as that everything that inherits allarch will want to have
Architecture: all in their packages.
[ YOCTO #10700 ]
(From OE-Core rev: 58a5771f20f7851816b5f39df0ada8f16438065c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This task uses DATETIME so add it to vardepsexclude so bitbake doesn't refuse to
execute the task when the time changes between the controller and the worker
calculating the hash.
[ YOCTO #10960 ]
(From OE-Core rev: e6784ef0d56a1b297001bc59c0da3aecebd1c656)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added systemd-boot to the list of dependencies of wic-tools
as wic bootimg-efi plugin depends on it.
(From OE-Core rev: 1ac0a182bd21e38588fc5b168e7dfea01a6c4b26)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
grub-efi recipe added 'grub-efi-' prefix to the file name of
efi binary. Changed grub-efi.bbclass accordingly.
(From OE-Core rev: 860c44435ea7cbbe3517d5ab9146213cc80fd0e7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added "iso" to IMAGE_FSTYPES to build iso artifacts required
to fix test of isoimage-isohybrid wic plugin.
(From OE-Core rev: 055d6814f6de2e54ae27c5fa2e0c40e3e531590e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed hddimg from IMAGE_FEATURES as wic code doesn't
use hddimg anymore.
[YOCTO #10835]
(From OE-Core rev: 885a5beae86a55cc228fb2aa998a8b1135371eb4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
isoimage-sihybrid plugin uses MACHINE_ARCH to get the name of initrd image.
It doesn't work for all machines, for example for quemux86-64 machine
MACHINE_ARCH is quemux86_64 and initrd name is
core-image-minimal-initramfs-qemux86-64.cpio.gz
Used TRANSLATED_TARGET_ARCH variable to get the initrd image name.
Replaced MACHINE_ARCH->TRANSLATED_TARGET_ARCH in WICVARS variable to
make it available from <image>.env file.
(From OE-Core rev: edf0830412de66eada9ef3f3947ca42e301c5377)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than have each image type look for artifacts in image-specific
locations, move towards having them look for artifacts in a common
location, in this case DEPLOY_DIR_IMAGE
Use the existing deploy.bbclass to have the bootloaders put their binaries
in DEPLOY_DIR_IMAGE and then wic will find them and place them in the image
(From OE-Core rev: 1c8acea91e775b1b6f8b25e774aaba3e790fc59b)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed HDDDIR as it's not used by wic anymore.
Stopped usage of HDDDIR in wic test suite.
(From OE-Core rev: b3ed3a79852f85651c8fa192a8118f9904e88ef8)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
INITRD variable is not set if hddimg is disabled.
isoimage-isohybrid can't get correct name for initrd if INITRD
variable is not set.
Added INITRD_LIVE to WICVARS and used it in isoimage-isohybrid
code to get initrd artifact name. Used INITRD if INITRD_LIVE is not set.
(From OE-Core rev: c672753be60550b15d5d593c251b61776d5b104d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a lot of wic code in image.bbclass and image_types.bbclass
Having all code separated in one file should make it more readable
and easier to maintain.
(From OE-Core rev: 786368568a9525212e69f5cbf6da236f0a6be013)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tested that result images are produced in test_image_vars_dir_long
and test_image_vars_dir_short test cases.
(From OE-Core rev: 9ed399b99e40ec9ec76df1fbdedfb8104a463acc)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split tests to run wic only once per test case.
This should fix failures caused by result images left
from the previous wic run.
(From OE-Core rev: 71e3c631bac859d00cef05bbf7bd901a96bac520)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current location of .env files $STAGING_DIR/imagedata. It doesn't
depend on machine and be rewritten by the builds for different
machines.
Changed location to $STAGING_DIR/$MACHINE/imagedata to avoid .env
files to be rewritten.
(From OE-Core rev: 94245144f5cef344d90bc2a7b3267cdae9d192e4)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As tests now explicitly specify output directory we don't
need test_alternate_output_dir test case. However, we need
to test wic output to default output location.
Removed test_alternate_output_dir test case.
Added test_default_output_dir test case.
(From OE-Core rev: c1be1161cf555727aa56ee2109ee77f420f67c9f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic started to use current directory as a default output dir.
Specified output directory in wic command line to make tests
more predictable and easier to maintain.
(From OE-Core rev: 0f205aed90edd90fcba0a565a6cadfe96339b410)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wic put result images into <output dir>/build, which was confusing.
Now it's fixed in wic code and images are put into output directory.
Changed code in image_types to reflect this.
[YOCTO #10783]
(From OE-Core rev: 3983507bf859f6c3c29e9dea06ffe51f42c0759c)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a stale sysroot object was found the complete stamp wasn't removed,
meaning later code could fail when the new link creation was attempted.
Ensure the stale complete stamp is also removed if present.
(From OE-Core rev: d7d26488f252d60628862ee114a4404e8d6cb6f1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent changes exposed the fact this dependency was missing in nativesdk
cases, fix this.
(From OE-Core rev: 46bd7e48cb5ae654d915fa493420534219682e85)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Splitted to test_debug_short and test_debug_long to make each
of the test cases to run wic once. This is consistent with the
rest of the test cases and ensures that test cases are set up
properly.
This also fixes the following test failure caused by the image
left from the first wic run:
FAIL: test_debug (oeqa.selftest.wic.Wic)
Test debug
----------------------------------------------------------------------
Traceback (most recent call last):
File "meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
return func(*args, **kwargs)
File "meta/lib/oeqa/selftest/wic.py", line 270, in test_debug
self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
AssertionError: 1 != 2
(From OE-Core rev: a453009821d7d7cb1dd8a7ae05c0d32227b4753b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With rss, moving these around was having an increasing overhead and we don't
need them in the native case so remove them.
(From OE-Core rev: 3b8dcd210a494baecead7dd1e568fb60ac93ed9b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main sysroot components of unreachable build targets will be removed by the core
code. This currently doesn't trigger a removal in the individual workdirs. This
adds in symlinking between the complete stamps and the component sysroot meaning
we can detect when someting was removed and hence remove it from the sysroot.
This fixes cases where DISTRO_FEATURES like systemd are changed amongst other
things and makes builds more robust against configuration changes.
If a dependency is rebuild, that is caught by checksum comparision code elsewhere
in this function as before.
(From OE-Core rev: 7656347c556915dc9acc5a2311ec4e879de6f43d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manifest files containing the same duplicated prefix are wasteful on space
and ultimately this costs build time. Drop the WORKDIR prefix from the manifest
files since this small change mounts up a lot.
(From OE-Core rev: 1cb245a99762e21a170b6a9beabb07e558424946)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manifest files containing the same duplicated prefix are wasteful on space
and ultimately this costs build time. Add support for manifest files with
common prefixes removed and use the prefix if the path isn't absolute.
(From OE-Core rev: 71e8c98238d627f9665faee9d7c226b9c07bd256)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recipe specific sysroots, the gzip-replacement-native dance/class
is obsolete, simplify the code accordingly.
(From OE-Core rev: 39865fdf3698a130f792d41853f9c9ca1901e335)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that STAGINGDIR_HOST doesn't contain MACHINE, we no longer need to expand
the value. Pre-expansion can mean components like PV can be expanded too early
and cause problems for certain use cases.
(From OE-Core rev: d04f0363a1e8ae641da3e80ffbd4c8803cb1c91a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We used to have issues removing tasks like do_fetch due to implications
for targets like world and universe. These have now been resolved.
Removing uneeded tasks has advantages compared to noexec since it means
that accidentally left in dependencies are no longer needed/processed
(e.g. do_patch depends on quilt-native).
This cleans up a number of cases which local analysis highlighted as
being unneeded leading to slightly cleaner task graphs.
(From OE-Core rev: 4e6ee37e09c60e83c0dfd844ba9cf8a07507f099)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
WKS_FILE(S) can refer to .wks.in files which get expanded during the
build by do_write_wks_template. The actual content of the .wks.in file
gets added to the recipe meta data during parsing, and thus we need to
ensure that the recipe gets re-parsed when the file changes.
This fixes two related problems:
- editing the .wks.in file and rebuilding an image did not recreate
the image unless something else changed or "bitbake -c clean" was
used explicitly
- when forcing a rebuild, the cached meta data and the actual one
do not match, leading to "ERROR: Taskhash mismatch ... for ....bb.do_write_wks_template"
(From OE-Core rev: d00b95b18237b276c221b16dfc511a6da150ef06)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we don't do this, things break with rm_work which removes things
before the task completes causing task failures.
(From OE-Core rev: bfea0e6a5aee9ce15bf20bcb2781329e6281284c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipe specific sysroots and mutliconfig need recent versions of bitbake,
look for version 1.33.0 as a minimum
(From OE-Core rev: 3a617a4c66941cecbdccb6f410e1b0d8bfde9845)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Point release with bug fixes.
(From OE-Core rev: a99cca0e8ee15f7b542986d89b70054ac7cb24be)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Small release with bug fixes and config improvements.
(From OE-Core rev: 8fcffd2ac817a44dc60f915977d498b944d4c74e)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Small release with bug fixes.
(From OE-Core rev: 043f0b03a4993a97b68128ce4a4666d33cf8f2be)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fixes, new quirks and touchpad acceleration improvements.
(From OE-Core rev: b719dc085b1f120a0520611e4df3d3bf2d25a7e9)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only changes in helper tools and a header (to support new keycodes in
linux 4.9 headers).
(From OE-Core rev: b84e78a793fec4e36d9f9c7821b20f63e19675d2)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Point releases with mostly just bug fixes.
(From OE-Core rev: 068a1e50ab1060238b8c320e1ebb5b3e05065852)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fixes and some new features: support for Adobe CFF2 font format
and OpenType 1.8 variation fonts.
(From OE-Core rev: 1f99a31609be7028444075b176e752a44c93115c)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Drop CVE patch: fix-CVE-2016-8858.patch, because the version 7.4p1 have
been fixed it.
2. Rebase the remaining patchs on the version 7.4p1.
(From OE-Core rev: b648b382046bd94f0cf5fe0aa4b77ab250f126cd)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrade fixes the vulnerability: CVE-2016-10087
License file changes are due to updates in Version and Copyright date. ie:
'libpng versions 1.0.7, July 1, 2000, through 1.2.57, December 29, 2016, are
Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson'
(From OE-Core rev: ca763e7e784e7f485423752d1e23917652a057a1)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrade fixes the vulnerability: CVE-2016-10087
License file changes are due to updates in Package Version
and Copyright date. ie:
'libpng version 1.6.28, January 5, 2017'
(From OE-Core rev: 94bb606b9f21b7fe4c5d7e9ae3fda17da047ece5)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for building the swtpm TPM simulator (recipe
in meta-security).
Native compilation disables tcp-wrappers by default to simplify
the build.
"nativesdk" is added just in case that someone also wants this
in an SDK.
(From OE-Core rev: a33a252462e2d7b90a1c89e42a96b9696eb08b23)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for building the swtpm TPM simulator (recipe
in meta-security).
"nativesdk" is added just in case that someone also wants this
in an SDK.
(From OE-Core rev: 4b43aab5b2043a5b83ef1fa9a8406f8a46ccfa72)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the linux-libc-headers to the 4.9 kernel variant. Since 4.9
will be a LTSI kernel, and there will be an associated linux-yocto
it is worth moving to these headers sooner rather than later.
This commit also drops the 4.8 headers and sets 4.9 to be the default.
(From OE-Core rev: cb0ef6e5fe096cecade81d42e95918f056bba052)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kernel headers break when musl defines IFF_LOWER_UP. While
waiting for more proper fix in musl, add a workaround to connman.
(From OE-Core rev: e6178138968717e1bdb7af7b5aed42fc74d956ab)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds systemd test automatically when an image
is build with systemd DISTRO_FEATURE
[YOCTO #10935]
(From OE-Core rev: 2e6ba167bee7c7b42b1e0e96eb5a7be2eb0fd2c0)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even old hardware these days doesn't really need fixed-integer Vorbis decoding
by default, so disable Tremor out of the box.
(From OE-Core rev: 958926dd51d5e18ef983280a6e3b50fc8f33eb12)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros uses non-glibc so skip those tests requiring glibc-initial as target
(From OE-Core rev: 41f02cb7307faec32b13733e41f78a0ebdc1b52b)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perform_groupdel() tries to delete a group irrespective if other
users have it as their primary group, thus the call to groupdel will
fail with the following error error:
groupdel: cannot remove the primary group of user '<user>'
Add a check to perform_groupdel() to determine if there are other
users and keep the group, printing a warning. This is called right
after a user is deleted to delete it's group. If the last user is
deleted, only then the group is also deleted.
(From OE-Core rev: bba1f02cb6d80279c6fed34bb18f010aa921fc1e)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a group name is duplicated between USERADD_PARAM and
GROUPADD_PARAM, this class tries to add it twice which results in
failure of the groupadd command.
(From OE-Core rev: 5b84cc895500c28674d2a7b7c2dd618cf8fb30e9)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CCACHE_PATH was added to the toolchain-scripts in commit
1d31ddb856a80ba9da1a64ed5d701dc0f7351ef7 without a detailed
explanation as to why. This commit removes that environment
variable as it's causing failures since the introduction of
host_gcc_version() to oe.utils in
d36f41e5658bbbb6080ee833027879c119edf3e0, as used by
uninative to determine NATIVELSBSTRING.
This causes errors when the host has ccache available in in PATH
- host_gcc_version() fails because ccache has been told to only
look for the compiler in CCACHE_PATH and can't find gcc in order
to check its version. Toolchain compilers aren't detected due to
the binaries being prefixed with the triplet of the target.
(From OE-Core rev: e47fb403c2cb472d2666ed3ba4b10933467c8c7b)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rsync.samba.org has disappeared from the Internet and isn't responding anymore,
so point the SRC_URI at the canonical samba.org download server instead.
(From OE-Core rev: 792368afdf61e7670bc5002e99880449098d50fb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ppp.samba.org has disappeared from the Internet and isn't responding anymore, so
point the SRC_URI at the canonical samba.org download server instead.
(From OE-Core rev: 9b2f5a57bdff46973cc1625da78d04b666710209)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This really is the last subversion url in OE-Core so replacing it with
a mirror tarball will save us from the subversion-native build chain.
(From OE-Core rev: 187f7c18582e76beca76c523cad6be2d5fff5786)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We currently have to override the default setting using a particular
assignment order in the recipe, setting it weakly helps to get rid
of this problem.
(From OE-Core rev: 57be81156f74666ff2ed2755f5faa48edf00e4dc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of bb.fatal means build-sysroots fails as soon as multiple gdb's are
built with overlapping files, or multiple recipes with overlapping headers
exist.
Change the fatal call into an exception which we can then trap. Also
avoid trying to call readlink on something with isn't a symlink.
This allows build-sysroots to work better under various scenarios.
(From OE-Core rev: e20343a90e401bc92167867729076d321081d120)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting do_populate_sysroot as noexec means the code keeps thinking it can find
a manifest file for it. It also complicates sstate installtion since the code
would believe there is an sstate object there it should look for.
Instead, delete the task. This causes sdk failures as the dependencies are wrong
so fix those as well.
(From OE-Core rev: bd7d0314038a4c1a8e8c9ebdb7194f8e17db3fef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SDKPKGSUFFIX could only really be "nativesdk" and TARGET_SYS never contains
that so the code manipulating TARGET_SYS is pointless. I suspect this once
worked against MULTIMACH_TARGET_SYS which would be a different question but
it no longer does. Its been cut and pasted everywhere.
This patch cleans up the variable references to make things a little more
readable.
(From OE-Core rev: 5599cb72d17bce2ba6e2be16ef64d9a388bcfb25)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently there is a race where if you build -cross-canadian without building gcc (target)
you see QA errors about RPATHS. I've tracked this down to this manipulation where the
target gcc recipe changes libcc1 in the shared sources directory. As long as you build
things in the right order, the problem doesn't occur.
Since its changing ${S} move it to gcc-source and avoid the race, saving RP
some head scratching about why unrelated changes failed to build cleanly.
(From OE-Core rev: 626064c69b6fd1b5cead6995097f99e5fbda3f19)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we stashed the gcc build directory for use in generating the various runtimes
we were being lazy and just used the staging directory. With recipe specific
sysroots this means we're copying a large chunk of data around with the cross
compiler which we don't really need in most cases.
Separate out the data into its own task and inject this into the configure
step. We have to do that here since autotools will wipe out ${B} if it thinks
we're rebuilding and we therefore have to time its recreation after that.
This also takes the opportunity to remove some pointless (as far as I can tell)
conditionals from the do_install code.
(From OE-Core rev: dcf15ccf3cc9d55e77228ba8d526f967fc9791b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mixing PACKAGE_ARCH with BUILD_* has always seemed somewhat odd. This
comes into play when building different SDKMACHINES as the PN space
for the recipes did once overlap. With the modern build process we
use, this overlap is a thing of the past since PN has SDK_SYS appended
to it.
cross.bbclass sets PACKAGE_ARCH == BUILD_ARCH so this change only affects
crosssdk.bbclass where PACKAGE_ARCH == SDK_ARCH.
The current structure is quite confusing and this removes this artefact
of history, allowing other gcc cleanups rather than meaning we futher
complicate the code.
(From OE-Core rev: 525bbfd08dacba84c92da0ab34310a85369526b7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code was making an assumption that the only PACKAGE_ARCH in use
was TUNE_PKGARCH. This is incorrect so iterate over the list from
PACKAGE_EXTRA_ARCH instead.
We also need to change allarch to preserve this variable, else the
staging code doesn't function. We do this in a way which clears the
variable history so that the task hashes remain unaffected.
[Thanks to Andrew Goodbody <andrew.goodbody@cambrionix.com> for
testing/fixing]
(From OE-Core rev: b1bab7a6eff6b195824be7d754de58c6e9ee2bfb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you use subprocess.check_output() the traceback will contain the output
when the command fails which is very useful for debugging. There is no
good reason not to use this everywhere.
(From OE-Core rev: ad750dd1cc9d789abe723daddd098ce41d8547f5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the recipe specific sysroots, we need a clean tmpdir, else pseudo-native,
openssl-native, subversion-native and serf-native need to be manually cleaned.
After these there are probably more places where software doesn't rebuild correctly
even if we pass in new parameters to it.
The simplest solution is to force people to start from a clean TMPDIR since
everything would rebuild anyway.
(From OE-Core rev: da58e27a0f8fc8200f1953f05888834abd79c9f8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clearly the echo into ld.so.conf doesn't make sense and there was a cut and paste
error when writing this code. As long as the directory existed, the builds worked
so it created a race. Fix it as people hit build failures.
(From OE-Core rev: b7b45faaf1246bef262a65d033aa1daa3219e318)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has removed a number of releases from the canonical download site,
including the 1.9 release we were using.
We shoud upgrade to the latest release but as new releases are only compressed
using lzip that means adding lzip-native to oe-core, so this is a suitable
short-term fix.
(From OE-Core rev: 7d24d476e03f88bf47385f7a85ceb7c82662ed76)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the only remaining svn url in OE-Core and building subversion-native
for things like the url checker is wearing and slows down builds. Since
this rarely changes, use the mirror tarball instead.
(From OE-Core rev: 0be6f3b5a69a65107b49a90bee98815a5a7ac9d8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If busybox is interrupted during do_compile, it can corrupt .config with
the suid version, or worse. Typically this leads to files disappearing,
particularly /etc/init.d/* which leads to an empty busybox-hwclock.
That then results in errors at do_rootfs time due to the missing package.
The fix is to use any 'orig' present to restore stat at the start of
compile.
(From OE-Core rev: 601abb497531823a73bdec3baf56952086e5b4f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel-fitimage:fitimage_assemble() was calling copy_initramfs from
kernel.bbclass which decompresses the initramfs cpio. Assume that if
INITRAMFS_FSTYPES includes a compressed cpio, that is what it desired in
the FIT image.
(From OE-Core rev: 842ad404b36e00c89f615a3f7db4a2d30062effa)
Signed-off-by: Rick Altherr <raltherr@google.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the following meta-data changes:
03a2d3f7f999 Add support for NVMe storage devices
27a79fa51d44 Modularize PCI/PCIe ethernet drivers
53d2a7d9c9f8 Modularize USB network drivers
And the 4.9.3 -stable update, which has the following shortlog:
584fd7872c1b Linux 4.9.3
3999c535da7a usb: gadget: composite: always set ep->mult to a sensible value
7ff469ceba26 Revert "usb: gadget: composite: always set ep->mult to a sensible value"
ec3d5c521af8 Revert "rtlwifi: Fix enter/exit power_save"
cf365b117388 tick/broadcast: Prevent NULL pointer dereference
34db201f0de7 clocksource/dummy_timer: Move hotplug callback after the real timers
1b9c2556809a xfs: fix max_retries _show and _store functions
91192ae41e6f xfs: fix crash and data corruption due to removal of busy COW extents
b96e4e87d2b0 xfs: use the actual AG length when reserving blocks
d9c7c9fa600a xfs: fix double-cleanup when CUI recovery fails
aa38f370b25a xfs: use GPF_NOFS when allocating btree cursors
3c382dda47e4 xfs: ignore leaf attr ichdr.count in verifier during log replay
c00203386d50 xfs: don't cap maximum dedupe request length
f8b20705a383 xfs: don't allow di_size with high bit set
12815dd15c48 xfs: error out if trying to add attrs and anextents > 0
cd4bf1d416ef xfs: don't crash if reading a directory results in an unexpected hole
b88398de1833 xfs: complain if we don't get nextents bmap records
4bb31bccea38 xfs: check for bogus values in btree block headers
b85f32481d93 xfs: forbid AG btrees with level == 0
4081d4a79a95 xfs: handle cow fork in xfs_bmap_trace_exlist
a585e1c4ec93 xfs: pass state not whichfork to trace_xfs_extlist
bdbfd4ee6bc7 xfs: Move AGI buffer type setting to xfs_read_agi
06ac11df915d xfs: pass post-eof speculative prealloc blocks to bmapi
553937d3cce8 xfs: use new extent lookup helpers xfs_file_iomap_begin_delay
3d6e3b12bb4e xfs: clean up cow fork reservation and tag inodes correctly
4a323331d8c9 xfs: use new extent lookup helpers in __xfs_reflink_reserve_cow
cf168f2ff8ba xfs: track preallocation separately in xfs_bmapi_reserve_delalloc()
cf4fb510473b xfs: remove prev argument to xfs_bmapi_reserve_delalloc
390325766033 xfs: always succeed when deduping zero bytes
2b7dae91a134 xfs: factor rmap btree size into the indlen calculations
49dc19915d3b xfs: new inode extent list lookup helpers
b49ef758f600 xfs: fix unbalanced inode reclaim flush locking
63fa793e757d xfs: check minimum block size for CRC filesystems
f380ee72a7a4 xfs: provide helper for counting extents from if_bytes
3978c5bb0043 xfs: don't BUG() on mixed direct and mapped I/O
2f092422e1ce xfs: don't skip cow forks w/ delalloc blocks in cowblocks scan
a11f90ca5f30 xfs: check return value of _trans_reserve_quota_nblks
ae8b6cb40cb2 xfs: don't call xfs_sb_quota_from_disk twice
56d22b912542 tpm_tis: Check return values from get_burstcount.
4ffac6f06dfa drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases
f482823e99f0 drm/i915/gen9: unconditionally apply the memory bandwidth WA
2bdb638de2fc drm/i915: disable PSR by default on HSW/BDW
9ab30a6529b5 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
5417f59cb996 s390/pci: fix dma address calculation in map_sg
dae9151a88f7 s390/topology: always use s390 specific sched_domain_topology_level
b3539f813578 powerpc/pci/rpadlpar: Fix device reference leaks
1aaa777ec009 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3)
c444cc34534b PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+
e2822904ace5 PCI: Convert Mellanox broken INTx quirks to be for listed devices only
890661544739 PCI: Convert broken INTx masking quirks from HEADER to FINAL
04b97a6be2ed PCI: Add Mellanox device IDs
090cce6f6f88 PCI: rockchip: Correct the use of FTS mask
6e4bcf8539af PCI: rockchip: Fix negotiated lanes calculation
257349bedca3 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs()
a299abd23081 f2fs: hide a maybe-uninitialized warning
725ba1a3ebc4 f2fs: remove percpu_count due to performance regression
5cc85ef4ffe6 md: fix refcount problem on mddev when stopping array.
60a931c20d1a md: MD_RECOVERY_NEEDED is set for mddev->recovery
d33a490770e5 crypto: arm64/aes-ce - fix for big endian
eb64cbc5665d crypto: arm64/aes-xts-ce: fix for big endian
c3edfe038a75 crypto: arm64/sha1-ce - fix for big endian
39b7e1c2fdda crypto: arm64/aes-neon - fix for big endian
d018dc9540f7 crypto: arm64/aes-ccm-ce: fix for big endian
e6ce55f7be90 crypto: arm/aes-ce - fix for big endian
a7c9666735f4 crypto: arm64/ghash-ce - fix for big endian
cdeaed7dda7b crypto: arm64/sha2-ce - fix for big endian
a05aa258b237 s390/crypto: unlock on error in prng_tdes_read()
5d7d362abc40 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration
dc1b6d0aed97 mm: khugepaged: fix radix tree node leak in shmem collapse error path
058a4a534c23 mm: khugepaged: close use-after-free race during shmem collapsing
cd6d9ffffc4c docs-rst: fix LaTeX \DURole renewcommand with Sphinx 1.3+
66c677037936 mm/hugetlb.c: use the right pte val for compare in hugetlb_cow
17df3e74fb51 rpmsg: qcom_smd: Correct return value for O_NONBLOCK
1d8286ccbcc6 mmc: mmc_test: Uninitialized return value
74e365e69687 genirq/affinity: Fix node generation from cpumask
65f796837e00 PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
3b198ddd5855 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
5cbea795f4d1 PCI/MSI: Check for NULL affinity mask in pci_irq_get_affinity()
825e6a0f7c51 ima: fix memory leak in ima_release_policy
c4c11b4bdbf6 relay: check array offset before using it
3dd50a5e2be9 sbp-target: Fix second argument of percpu_ida_alloc()
0e79a6b45677 target/iscsi: Fix double free in lio_target_tiqn_addtpg()
962a12f8e523 scsi: mvsas: fix command_active typo
5157e98aa024 scsi: g_NCR5380: Fix release_region in error handling
d451b3cc89c7 ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
574bac4f4022 ASoC: Intel: Skylake: Fix a shift wrapping bug
d61a969f0e94 ASoC: cht_bsw_rt5645: Fix leftover kmalloc
311742c40da9 ASoC: lpass-platform: initialize dma channel number
afd7e2b4258a iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
ef41459ab279 iommu/vt-d: Fix pasid table size encoding
2148835de3c2 iommu/amd: Fix the left value check of cmd buffer
48ffae87e913 iommu/amd: Missing error code in amd_iommu_init_device()
54eed7ab1367 clk: renesas: mstp: Support 8-bit registers for r7s72100
5dd700e897e4 clk: imx31: fix rewritten input argument of mx31_clocks_init()
6c9f62846872 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks
36a6f7005f38 clk: sunxi-ng: sun8i-a23: Set CLK_SET_RATE_PARENT for audio module clocks
7af503c02b33 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message
411873a0390e clk: clk-wm831x: fix a logic error
e3b665ef4110 clk: qcom: ipq806x: Fix board clk rates
447433e5f804 Input: synaptics-rmi4 - unlock on error
584cb7dd15a3 hwmon: (lm90) fix temp1_max_alarm attribute
2aca9a4fe104 hwmon: (g762) Fix overflows and crash seen when writing limit attributes
81616a9f751e hwmon: (nct7802) Fix overflows seen when writing into limit attributes
a69a6ebd036a hwmon: (ds620) Fix overflows seen when writing temperature limits
29e7b170db90 hwmon: (amc6821) sign extension temperature
af3cd3f0a805 hwmon: (scpi) Fix module autoload
7a13086bd457 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks
36c1bc65d211 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6
bedcab8723ce x86/prctl/uapi: Remove #ifdef for CHECKPOINT_RESTORE
e641c92fd2ae debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS
629138cd28be clk: renesas: cpg-mssr: Fix inverted debug check
47e3472507f0 efi/efivar_ssdt_load: Don't return success on allocation failure
4e1dfb0035e1 cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
15e0355a1ec5 ath10k: use the right length of "background"
ac86312e0870 mfd: tps65217: Fix page fault on unloading modules
a24f1f3520e6 ath10k: fix failure to send NULL func frame for 10.4
45816391e1a5 nl80211: Use different attrs for BSSID and random MAC addr in scan req
cd84516473a7 mac80211: fix tid_agg_rx NULL dereference
1d9c33f1b45c drm/i915: tune down the fast link training vs boot fail
8b4879154a67 drm/i915/dp: add lane_count check in intel_dp_check_link_status
5af6f56bb16c usb: dwc3: gadget: always unmap EP0 requests
c008309f53e5 usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
5f7fd4d2f94d usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
96a0c8ee7ce6 iio: accel: st_accel: fix LIS3LV02 reading and scaling
a673f99884e3 staging: iio: ad7606: fix improper setting of oversampling pins
fc322290fc06 mei: move write cb to completion on credentials failures
5d46c4e9a05e mei: bus: fix mei_cldev_enable KDoc
af776953108b mei: fix parameter rename KDoc
c1ec6ba3d7c7 USB: serial: io_ti: bind to interface after fw download
fb0a00fb0843 dibusb: fix possible memory leak in dibusb_rc_query()
5f6136debf7e ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support
5ef54ae37b13 arm64: dts: hip06: Correct hardware pin number of usb node
93f6891a383f USB: phy: am335x-control: fix device and of_node leaks
d387f98cb0c1 ARM: dts: r8a7794: Correct hsusb parent clock
a10a1b797a0f usb: gadget: fix request length error for isoc transfer
b429e37b80fd usb: gadget: Fix second argument of percpu_ida_alloc()
8da83724d491 USB: serial: kl5kusb105: abort on open exception path
e7c72dccd725 ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
2eb09ccfa45b usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
64244edf304b usb: gadget: udc: core: fix return code of usb_gadget_probe_driver()
8ecf70fb0889 usb: hub: Move hub_port_disable() to fix warning if PM is disabled
d7550d7d6ae2 usb: musb: Fix trying to free already-free IRQ 4
5e3c2920e9f2 usb: dwc3: gadget: Fix full speed mode
81f1f24d1873 usb: dwc3: pci: Fix dr_mode misspelling
6af3ba285acb usb: dwc3: pci: add Intel Gemini Lake PCI ID
63d92d10a820 xhci: Fix race related to abort operation
799dfdeb33a0 xhci: Use delayed_work instead of timer for command timeout
6db52153fea3 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
1bd67e85edf1 USB: serial: mos7720: fix parallel probe
6ea44fb2183c USB: serial: mos7720: fix parport use-after-free on probe errors
e7cf756c8932 USB: serial: mos7720: fix use-after-free on probe errors
ac81f1fa956f USB: serial: mos7720: fix NULL-deref at open
bd52ddb0996a USB: serial: mos7840: fix NULL-deref at open
9de856caff86 USB: serial: kobil_sct: fix NULL-deref in write
b2aa55142ea5 USB: serial: cyberjack: fix NULL-deref at open
4de811c61ac5 USB: serial: oti6858: fix NULL-deref at open
65914eeb39f4 USB: serial: io_edgeport: fix NULL-deref at open
2e5167b239e6 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
0556702bf34e USB: serial: garmin_gps: fix memory leak on failed URB submit
9401cc62b7f5 USB: serial: iuu_phoenix: fix NULL-deref at open
69017618a61e USB: serial: io_ti: fix I/O after disconnect
a66274a9b2f4 USB: serial: io_ti: fix another NULL-deref at open
32631d1a739f USB: serial: io_ti: fix NULL-deref at open
b5264ea24484 USB: serial: spcp8x5: fix NULL-deref at open
dda7611ec4a5 USB: serial: keyspan_pda: verify endpoints at probe
69c415ed5c98 USB: serial: pl2303: fix NULL-deref at open
2a4ae7bc3d8d USB: serial: quatech2: fix sleep-while-atomic in close
6ae3e89aa6b1 USB: serial: omninet: fix NULL-derefs at open and disconnect
9acba5179d6c usb: return error code when platform_get_irq fails
cb02cce9a7f8 usb: xhci: hold lock over xhci_abort_cmd_ring()
9e6c400bb582 xhci: Handle command completion and timeout race
78ccc1966c9e usb: host: xhci: Fix possible wild pointer when handling abort command
a2118d097409 usb: xhci: fix return value of xhci_setup_device()
3bf5e7410178 xhci: free xhci virtual devices with leaf nodes first
40359f915694 usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
9da8e3e48e88 usb: xhci: fix possible wild pointer
9bdd47c53b7c usb: dwc3: core: avoid Overflow events
2b95c939cb88 usb: gadget: composite: Test get_alt() presence instead of set_alt()
735daeec9e60 USB: dummy-hcd: fix bug in stop_activity (handle ep0)
05b0f2fc3c2f USB: fix problems with duplicate endpoint addresses
da4543b3bce0 USB: gadgetfs: fix checks of wTotalLength in config descriptors
46427c247b62 USB: gadgetfs: fix use-after-free bug
b946777664db USB: gadgetfs: fix unbounded memory allocation bug
404954e5b8a6 usb: gadgetfs: restrict upper bound on device configuration size
72271ae49d6b usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
4a37dbe68289 usb: musb: dsps: implement clear_ep_rxintr() callback
5de2dd7f1be1 usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
84fd8feb5bb5 KVM: MIPS: Flush KVM entry code from icache globally
26a401a6a52f KVM: MIPS: Don't clobber CP0_Status.UX
f39969ab0418 KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
fe4fc2d67d0b drm/i915: Initialize overlay->last_flip properly
f0f7f38e8068 drm/i915: Force VDD off on the new power seqeuencer before starting to use it
73d425635989 drm/i915: Fix oops in overlay due to frontbuffer tracking
5652dd3f005d drm/i915: Fix oopses in the overlay code due to i915_gem_active stuff
8f8157c2a72a gcc-plugins: update gcc-common.h for gcc-7
8c775affbbd6 asm-prototypes: Clear any CPP defines before declaring the functions
5e7598a625ee mac80211: initialize fast-xmit 'info' later
3c4eef316703 pinctrl/amd: Set the level based on ACPI tables
c7b1b7951d9d ARM: davinci: da850: don't add emac clock to lookup table twice
5f390df2baf7 HID: sensor-hub: Move the memset to sensor_hub_get_feature()
0c8033357b1d parisc: Mark cr16 clocksource unstable on SMP systems
e569eef6298a parisc: Add line-break when printing segfault info
d259b6853732 fscrypt: fix renaming and linking special files
be4e3aec5667 ALSA: usb-audio: Fix irq/process data synchronization
5b2c3cafcafc ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
71c88fc3bde7 ALSA: hda - Fix up GPIO for ASUS ROG Ranger
755259ba2a3a staging: octeon: Call SET_NETDEV_DEV()
ea991c8354c3 iio: bmi160: Fix time needed to sleep after command execution
7090b8da3836 iio: max44000: correct value in illuminance_integration_time_available
cf49219364fd iio: common: st_sensors: fix channel data parsing
(From OE-Core rev: 0f72ddb55b42bc96acca2ee52257e5beabf8d071)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker has updated 4.8 to the latest -rt release. This
integrates those changes to standard/preempt-rt/*. As usual the
branches are kept fast forward, and a clean copy of the patches
can be found on standard/preempt-rt/rebase.
(From OE-Core rev: 9b4a71785221e2b67180fe6047e2ba2ad83f6523)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable release. Changes are as follows:
35327468a79d Linux 4.1.37
c27edfb64bbf scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
016d02981cce tipc: check minimum bearer MTU
efcf38bd4020 net: ping: check minimum size on ICMP header length
e29fdf045048 packet: fix race condition in packet_set_ring
fabaaaa96d54 net: add recursion limit to GRO
7abf32087c1d Bluetooth: Fix potential NULL dereference in RFCOMM bind callback
74cd81c810b9 ptrace: being capable wrt a process requires mapped uids/gids
8165fc3eb28c scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer()
1171afc4a34e mnt: Add a per mount namespace limit on the number of mounts
62fa696b7b43 posix_acl: Clear SGID bit when setting file permissions
de42b9559d0c fs: Avoid premature clearing of capabilities
cb8e1eef351b fs: Give dentry to inode_change_ok() instead of inode
2ee3ceeccd34 nfsd: Disable NFSv2 timestamp workaround for NFSv3+
820bc4582ab9 fuse: Propagate dentry down to inode_change_ok()
89bc54c54027 xfs: Propagate dentry down to inode_change_ok()
1b364dc9edba xattr: Option to disable meta-data block cache
9a66bc6ee0f9 tcp: fix use after free in tcp_xmit_retransmit_queue()
ebdb88b8e465 x86/kexec: add -fno-PIE
672612a21845 scripts/has-stack-protector: add -fno-PIE
e06ded86d961 x86/init: Fix cr4_init_shadow() on CR4-less machines
eec746939372 ARM: 8617/1: dma: fix dma_max_pfn()
58024f829d0b mm,ksm: fix endless looping in allocating memory when ksm enable
d427d645ccf9 can: dev: fix deadlock reported after bus-off
791a92897274 cpuset: handle race between CPU hotplug and cpuset_hotplug_work
6b82b0601ac2 mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl
e537a0977f3e drm/msm: fix use of copy_from_user() while holding spinlock
b56eb9cdc5f1 bus: arm-ccn: Fix PMU handling of MN
7298a8bf4c63 bus: arm-ccn: Provide required event arguments
(From OE-Core rev: 592468a262cc01e4954be33b4281ffca84fea838)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release. Changes are as follows:
cdd86b972265 Linux 4.4.41
9f11a0ab6a96 net: mvpp2: fix dma unmapping of TX buffers for fragments
d85727365859 sg_write()/bsg_write() is not fit to be called under KERNEL_DS
7fb5a936457d kconfig/nconf: Fix hang when editing symbol with a long prompt
e321f384d8a5 target/user: Fix use-after-free of tcmu_cmds if they are expired
e5de1c724c06 powerpc: Convert cmp to cmpd in idle enter sequence
cadaba838f1b powerpc/ps3: Fix system hang with GCC 5 builds
8a2bcaae1bc7 nfs_write_end(): fix handling of short copies
b66e3126569e libceph: verify authorize reply on connect
edfe6a79f905 PCI: Check for PME in targeted sleep state
8db00756afbd Input: drv260x - fix input device's parent assignment
44685f03dd56 media: solo6x10: fix lockup by avoiding delayed register write
952a9f5af9f8 IB/cma: Fix a race condition in iboe_addr_get_sgid()
b7f73ada92a3 IB/multicast: Check ib_find_pkey() return value
7b1369215616 IPoIB: Avoid reading an uninitialized member variable
0de381ca35b5 IB/mad: Fix an array index check
e945df4c6bc2 fgraph: Handle a case where a tracer ignores set_graph_notrace
88e41441ccd4 platform/x86: asus-nb-wmi.c: Add X45U quirk
2ef502e860f1 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
19aa9c14989e kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
129e4323df37 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
ddf5718adfb8 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
1c8841c9b7d2 md/raid5: limit request size according to implementation limits
d78006d2345f sc16is7xx: Drop bogus use of IRQF_ONESHOT
b988320dab53 s390/vmlogrdr: fix IUCV buffer allocation
656c9abd574b firmware: fix usermode helper fallback loading
429a533a3d9a ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
dbb67e1d585d scsi: avoid a permanent stop of the scsi device's request queue
565ae61d8995 scsi: zfcp: fix rport unblock race with LUN recovery
3b3739dfa69c scsi: zfcp: do not trace pure benign residual HBA responses at default level
1cc0f9488b91 scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
bccd78746f88 scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
49ea06561154 scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
edf1169bbbaa vt: fix Scroll Lock LED trigger name
f4f02a856a92 block: protect iterate_bdevs() against concurrent close
abb78811e242 mei: request async autosuspend at the end of enumeration
1f9c91a37542 drivers/gpu/drm/ast: Fix infinite loop if read fails
970dc8cdec9c drm/gma500: Add compat ioctl
0e0b70f581fc drm/radeon: add additional pci revision to dpm workaround
62a272498dbe drm/radeon: Hide the HW cursor while it's out of bounds
deac395e0ba8 drm/radeon: Also call cursor_move_locked when the cursor size changes
cb8d63d885e9 drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
adea4a7b0f2b drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
d32d4b3d7c9f drm/nouveau/ltc: protect clearing of comptags with mutex
3a2990e67b05 drm/nouveau/bios: require checksum to match for fast acpi shadow method
a163451c80b0 drm/nouveau/kms: lvds panel strap moved again on maxwell
69e236e70ead ACPI / video: Add force_native quirk for HP Pavilion dv6
2c2375e40d28 ACPI / video: Add force_native quirk for Dell XPS 17 L702X
01b6089b5622 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
5283a7bedbcb staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
e692edec93c1 thermal: hwmon: Properly report critical temperature in sysfs
9d9541d44a26 clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
e01b04be3eb0 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
96ea1b9ea099 regulator: stw481x-vmmc: fix ages old enable error
842ec27cd3f2 mmc: sdhci: Fix recovery from tuning timeout
dae7cb414834 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
b63929e8e130 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
05f4183ab5a4 rtlwifi: Fix enter/exit power_save
f5d90f434c9a ssb: Fix error routine when fallback SPROM fails
a3edc7b2e537 Linux 4.4.40
7a2b4ee54b3f ppp: defer netns reference release for ppp channel
37de955c11b5 driver core: fix race between creating/querying glue dir and its cleanup
f85a337b4066 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
fdb17ddd0a49 arm/xen: Use alloc_percpu rather than __alloc_percpu
9397e79c4b2d xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
00a0de085d60 tpm xen: Remove bogus tpm_chip_unregister
f93777c91544 kernel/debug/debug_core.c: more properly delay for secondary CPUs
f2b8b3455b22 kernel/watchdog: use nmi registers snapshot in hardlockup handler
597f9c03b2d5 CIFS: Fix a possible memory corruption in push locks
a9c69e152897 CIFS: Fix missing nls unload in smb2_reconnect()
f0b715409cb9 CIFS: Fix a possible memory corruption during reconnect
6dcb01e78333 ASoC: intel: Fix crash at suspend/resume without card registration
701ec6e5cea7 dm space map metadata: fix 'struct sm_metadata' leak on failed create
85290a163b06 dm crypt: mark key as invalid until properly loaded
9188611f81e3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
f0898dc2852b blk-mq: Do not invoke .queue_rq() for a stopped queue
c53af76d5de1 usb: gadget: composite: always set ep->mult to a sensible value
b35f34f66943 exec: Ensure mm->user_ns contains the execed files
0812936b11ea fs: exec: apply CLOEXEC before changing dumpable task flags
14d8e5cae039 mm/vmscan.c: set correct defer count for shrinker
ffef1630187b loop: return proper error from loop_queue_rq()
011ded975e34 f2fs: set ->owner for debugfs status file's file_operations
3460edfc70c2 ext4: do not perform data journaling when data is encrypted
36af7cd560b9 ext4: return -ENOMEM instead of success
519a30148e23 ext4: reject inodes with negative size
f655b3575c47 ext4: add sanity checking to count_overhead()
3995881b0f72 ext4: fix in-superblock mount options processing
386588013810 ext4: use more strict checks for inodes_per_block on mount
7b74c351de1c ext4: fix stack memory corruption with 64k block size
26492d8a22b0 ext4: fix mballoc breakage with 64k block size
4b6050922fb8 crypto: caam - fix AEAD givenc descriptors
1c1f15f8ebfb ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
03eed7afbc09 mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
d80411dea6a4 block_dev: don't test bdev->bd_contains when it is not stable
85cfbd9db2c6 btrfs: make file clone aware of fatal signals
323ffc03ddb2 Btrfs: don't BUG() during drop snapshot
107800061996 Btrfs: fix memory leak in do_walk_down
5a9b659edef6 Btrfs: don't leak reloc root nodes on error
8ca6845a58cd Btrfs: return gracefully from balance if fs tree is corrupted
78a587c608f9 Btrfs: bail out if block group has different mixed flag
25ee81e54620 Btrfs: fix memory leak in reading btree blocks
590202271ffd clk: ti: omap36xx: Work around sprz319 advisory 2.1
119b6658ce05 ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
f0ea0ade046e ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
fa695bdc1741 ALSA: hda - fix headset-mic problem on a Dell laptop
faff777fb456 ALSA: hda - ignore the assoc and seq when comparing pin configurations
518fca87c645 ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
29348065c339 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
d0ba0f6a8291 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
cbb2a2563587 USB: UHCI: report non-PME wakeup signalling for Intel hardware
8ede2d7908aa usb: gadget: composite: correctly initialize ep->maxpacket
c67c2ed829f3 usb: gadget: f_uac2: fix error handling at afunc_bind
747b31526369 usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
acca3cf0d62b USB: cdc-acm: add device id for GW Instek AFG-125
5d6a392b6d36 USB: serial: kl5kusb105: fix open error path
6a6e113cd928 USB: serial: option: add dlink dwm-158
17907f291779 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
1f5adadcd032 Btrfs: fix qgroup rescan worker initialization
b5e715ed11ec btrfs: store and load values of stripes_min/stripes_max in balance status item
919b74ba5ed5 Btrfs: fix tree search logic when replaying directory entry deletes
0d619cf6f982 btrfs: limit async_work allocation and worker func duration
a34f0e8a2f89 Linux 4.4.39
5d488dee9236 crypto: rsa - Add Makefile dependencies to fix parallel builds
1c0f4e0ebb79 hotplug: Make register and unregister notifier API symmetric
537e42d759ae batman-adv: Check for alloc errors when preparing TT local data
f03531d09125 m68k: Fix ndelay() macro
55e15b2f44d7 arm64: futex.h: Add missing PAN toggling
e29949ed3903 can: peak: fix bad memory access and free sequence
083021bdba1e can: raw: raw_setsockopt: limit number of can_filter that can be set
9a3baed9103b crypto: mcryptd - Check mcryptd algorithm compatibility
c4db8a7d1e0c perf/x86: Fix full width counter, counter overflow
c6a5bf4cda12 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()
b27d9147f24a locking/rtmutex: Prevent dequeue vs. unlock race
e286b6c16758 zram: restrict add/remove attributes to root only
a0bd6aa097a4 parisc: Fix TLB related boot crash on SMP machines
605f315c5a83 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm
db9598605768 parisc: Purge TLB before setting PTE
4bcea472de10 powerpc/eeh: Fix deadlock when PE frozen state can't be cleared
c95b7f1fab0c Linux 4.4.38
52783ada69b4 esp6: Fix integrity verification when ESN are used
3bf28ce9c749 esp4: Fix integrity verification when ESN are used
2176ec1c82ea ipv4: Set skb->protocol properly for local output
25d8b7c105e1 ipv6: Set skb->protocol properly for local output
d41fb2fbb28d Don't feed anything but regular iovec's to blk_rq_map_user_iov
fd1aa12c6340 constify iov_iter_count() and iter_is_iovec()
899b60535a2a sparc64: fix compile warning section mismatch in find_node()
ed7b60db00a1 sparc64: Fix find_node warning if numa node cannot be found
438e91da24fa sparc32: Fix inverted invalid_frame_pointer checks on sigreturns
06cdad2b6d92 net: ping: check minimum size on ICMP header length
77125815f058 net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
6e682c528b3e geneve: avoid use-after-free of skb->data
a89e2ff894bc sh_eth: remove unchecked interrupts for RZ/A1
c36a2a14f26d net: bcmgenet: Utilize correct struct device for all DMA operations
5a01eaf19858 packet: fix race condition in packet_set_ring
1a15519fdcdb net/dccp: fix use-after-free in dccp_invalid_packet
baaf0c65bc8e netlink: Do not schedule work from sk_destruct
d1ed9c1dba63 netlink: Call cb->done from a worker thread
6c42bd6a393c net/sched: pedit: make sure that offset is valid
cfa7c16d4577 net, sched: respect rcu grace period on cls destruction
94de6f2ffb3d net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change
56366fa0ad46 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
aece024e38cb rtnetlink: fix FDB size computation
6ef59b986190 af_unix: conditionally use freezable blocking calls in read
acf9504ae220 net: sky2: Fix shutdown crash
49695d1e3b81 ip6_tunnel: disable caching when the traffic class is inherited
2b54505c877f net: check dead netns for peernet2id_alloc()
790fd11f9ed6 virtio-net: add a missing synchronize_net()
(From OE-Core rev: 2042e74352fcec84ac69645387273438794966f6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg 4.8.17 -stable release. Changes are as follows:
3d8f8d06abb3 Linux 4.8.17
adf363fd5ab9 drm/i915: skip the first 4k of stolen memory on everything >= gen8
000e612673da drm/i915: Initialize dev_priv->atomic_cdclk_freq at init time
22aba475d97b drm/i915: Fix cdclk vs. dev_cdclk mess when not recomputing things
294bb3402c76 drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
6a412ff3df87 drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting
4803ec2a74c4 net: mvpp2: fix dma unmapping of TX buffers for fragments
48f26edb689c sg_write()/bsg_write() is not fit to be called under KERNEL_DS
d787c6b32c3f kconfig/nconf: Fix hang when editing symbol with a long prompt
e141d1a21e31 target/user: Fix use-after-free of tcmu_cmds if they are expired
29f3d1127c4b libnvdimm, pfn: fix align attribute
3a4e4281b5cd powerpc/ps3: Fix system hang with GCC 5 builds
e451d674bac5 powerpc/64e: Convert cmpi to cmpwi in head_64.S
0349fbebd984 SUNRPC: fix refcounting problems with auth_gss messages.
c513ade4ca56 pNFS: Fix a deadlock between read resends and layoutreturn
abb2903f1ac2 pNFS: Clear NFS_LAYOUT_RETURN_REQUESTED when invalidating the layout stateid
f061c76c1d56 pNFS: Don't clear the layout stateid if a layout return is outstanding
7de1b81c27fd pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed
8f5ff877bf19 nfs_write_end(): fix handling of short copies
1678adac85da libceph: verify authorize reply on connect
1f93d1a77b17 PCI: Check for PME in targeted sleep state
c75bc2bde102 i40iw: Use correct src address in memcpy to rdma stats counters
7d0a6cf3e8c9 Input: drv260x - fix input device's parent assignment
b7843712cbd2 v4l: tvp5150: Add missing break in set control handler
4963b1910090 media: solo6x10: fix lockup by avoiding delayed register write
88bfde25e60f s5p-mfc: fix failure path of s5p_mfc_alloc_memdev()
c3fe33d185e0 mn88473: fix chip id check on probe
84b2f664409c mn88472: fix chip id check on probe
15d1d226eab4 IB/cma: Fix a race condition in iboe_addr_get_sgid()
7b3721aff59b IB/rxe: Fix a memory leak in rxe_qp_cleanup()
2a0aa77a54fb IB/multicast: Check ib_find_pkey() return value
37d4adba02d3 IPoIB: Avoid reading an uninitialized member variable
f079fc11f28e IB/mad: Fix an array index check
e661b5d4b94f fgraph: Handle a case where a tracer ignores set_graph_notrace
b2758da04d73 platform/x86: asus-nb-wmi.c: Add X45U quirk
f61152e3bbf0 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
8569aadeed3f vsock/virtio: fix src/dst cid format
576ea9e5e92e fsnotify: Fix possible use-after-free in inode iteration on umount
43983ce75e61 kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
9a5cf8c4b112 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
b751eb6e9d99 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
0773e9248ae3 scsi: aacraid: remove wildcard for series 9 controllers
b202064f0b3f md/raid5: limit request size according to implementation limits
47090341ec97 sc16is7xx: Drop bogus use of IRQF_ONESHOT
c33e1abd2e31 arm64: KVM: pmu: Reset PMSELR_EL0.SEL to a sane value before entering the guest
d3d61bb37afb s390/kexec: use node 0 when re-adding crash kernel memory
9652b62af49d s390/vmlogrdr: fix IUCV buffer allocation
f356ab038e78 firmware: fix usermode helper fallback loading
5c98bf834d6f ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
cc328ce59a4a scsi: avoid a permanent stop of the scsi device's request queue
6d675dffd425 scsi: zfcp: fix rport unblock race with LUN recovery
057fe03d627e scsi: zfcp: do not trace pure benign residual HBA responses at default level
5cebfea8080c scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
de8a06c673ac iscsi-target: Return error if unable to add network portal
9c3928be0dba scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
dbd4e6c60b4f scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
3863ab6d710d stm class: Fix device leak in open error path
698ac693dbb4 vt: fix Scroll Lock LED trigger name
6d8bb567102c block: protect iterate_bdevs() against concurrent close
2695afd5e9c2 mei: me: add lewisburg device ids
7be0a5f39d64 mei: request async autosuspend at the end of enumeration
dfc3c8a0fa1b drivers/gpu/drm/ast: Fix infinite loop if read fails
0f95e4a58ecd drm/amdgpu: fix init save/restore list in gfx_v8.0
8bfa4f5e6395 drm/gma500: Add compat ioctl
10b598df92d9 drm/radeon/si: load the proper firmware on 0x87 oland boards
cdb7aaaaecff drm/radeon: add additional pci revision to dpm workaround
1f884ec818a6 drm/radeon: Hide the HW cursor while it's out of bounds
6fb94229b2f6 drm/radeon: Also call cursor_move_locked when the cursor size changes
9c6fb7bf404d drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
2a7a43772bff drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
28d186430686 drm/nouveau/ttm: wait for bo fence to signal before unmapping vmas
82d9824d9446 drm/nouveau/ltc: protect clearing of comptags with mutex
ce71868acee2 drm/nouveau/bios: require checksum to match for fast acpi shadow method
764e8e8af190 drm/nouveau/kms: lvds panel strap moved again on maxwell
00e1fb138ffa drm/nouveau/gr: fallback to legacy paths during firmware lookup
fef542735a48 drm/amd/amdgpu: enable GUI idle INT after enabling CGCG
bab520835f81 ACPI / video: Add force_native quirk for HP Pavilion dv6
b7eea51a3a5c ACPI / video: Add force_native quirk for Dell XPS 17 L702X
ce8100660364 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
689d59259385 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
823c5c94f716 hv: acquire vmbus_connection.channel_mutex in vmbus_free_channels()
235394e1625c docs: sphinx-extensions: make rstFlatTable work with docutils 0.13
a26a016a4e2f thermal: hwmon: Properly report critical temperature in sysfs
def2c87dc7ac clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
2f885dafe704 arm64: tegra: Add VDD_GPU regulator to Jetson TX1
bd12562fceb4 gpio: chardev: Return error for seek operations
61d0b7139cf9 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
95d2a43e5a59 regulator: stw481x-vmmc: fix ages old enable error
52980ceb1832 mmc: sdhci: Fix recovery from tuning timeout
0ed0b2592437 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
d80ff7cb5d06 ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on success
42e76c596c93 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
d2546f653bb0 rtl8xxxu: Work around issue with 8192eu and 8723bu devices not reconnecting
2abcc023a460 perf/x86/intel/cstate: Prevent hotplug callback leak
7b9e1a16a1b0 perf/x86: Fix exclusion of BTS and LBR for Goldmont
e24523a80c19 rtlwifi: Fix enter/exit power_save
c9fce6ba9c09 ssb: Fix error routine when fallback SPROM fails
c65ed08dcc04 Linux 4.8.16
645897231f96 driver core: fix race between creating/querying glue dir and its cleanup
f199bdbaab37 Revert "netfilter: move nat hlist_head to nf_conn"
99d6d4e0c50c Revert "netfilter: nat: convert nat bysrc hash to rhashtable"
774225699b4d arm64: mark reserved memblock regions explicitly in iomem
587e89bd56c1 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
959e363eaf14 arm/xen: Use alloc_percpu rather than __alloc_percpu
6fbd3fb6c4df xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
883f12a20583 tpm xen: Remove bogus tpm_chip_unregister
8419f5215db3 kernel/debug/debug_core.c: more properly delay for secondary CPUs
63b33e0885d6 watchdog: qcom: fix kernel panic due to external abort on non-linefetch
bf902ead61d8 watchdog: mei_wdt: request stop on reboot to prevent false positive event
2f826a72ea8b kernel/watchdog: use nmi registers snapshot in hardlockup handler
bbf23f00d55e CIFS: Fix a possible memory corruption in push locks
9f1f5076149a CIFS: Fix missing nls unload in smb2_reconnect()
ff04da387c10 CIFS: Fix a possible memory corruption during reconnect
6cb589c7529f ASoC: intel: Fix crash at suspend/resume without card registration
769c0922d4a6 dm space map metadata: fix 'struct sm_metadata' leak on failed create
ab10ab0a2a3d dm raid: fix discard support regression
454b98d3f2b5 dm rq: fix a race condition in rq_completed()
26011e67339e dm crypt: mark key as invalid until properly loaded
bd5fcd18c8c3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
1ca66d6a19d2 dm table: an 'all_blk_mq' table must be loaded for a blk-mq DM device
d948d3b1e416 dm table: fix 'all_blk_mq' inconsistency when an empty table is loaded
45f631113b36 blk-mq: Do not invoke .queue_rq() for a stopped queue
e3742a15d6cd PM / OPP: Pass opp_table to dev_pm_opp_put_regulator()
8b63a922ac07 usb: gadget: composite: always set ep->mult to a sensible value
d4f4b2e659f5 mm, page_alloc: keep pcp count and list contents in sync if struct page is corrupted
0927d281a2fc mm/vmscan.c: set correct defer count for shrinker
3e0ef1b8e0cc nvmet: Fix possible infinite loop triggered on hot namespace removal
6290a3bcd3c3 loop: return proper error from loop_queue_rq()
bf0f02079039 f2fs: fix overflow due to condition check order
154d83a8384e f2fs: set ->owner for debugfs status file's file_operations
67e5239c8366 Revert "f2fs: use percpu_counter for # of dirty pages in inode"
d06eaf28f1bb ext4: do not perform data journaling when data is encrypted
e33673bef6f0 ext4: return -ENOMEM instead of success
3664877022ea ext4: reject inodes with negative size
1bfcffbb8801 ext4: add sanity checking to count_overhead()
9689eb99ce0f ext4: fix in-superblock mount options processing
52a9daa3d5c0 ext4: use more strict checks for inodes_per_block on mount
7505584356d2 ext4: fix stack memory corruption with 64k block size
86efd99f0ebe ext4: fix mballoc breakage with 64k block size
8022387d236a crypto: caam - fix AEAD givenc descriptors
ade692b8f1f5 ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
23d179acb363 vfs,mm: fix return value of read() at s_maxbytes
e45692fa1aea mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
04804d83d483 block_dev: don't test bdev->bd_contains when it is not stable
52d69727a441 fs: exec: apply CLOEXEC before changing dumpable task flags
781e976ac2c6 exec: Ensure mm->user_ns contains the execed files
fc1d3e5f3cd0 btrfs: make file clone aware of fatal signals
8c59356c1232 Btrfs: fix incremental send failure caused by balance
02fffa116bda Btrfs: don't BUG() during drop snapshot
0f2e022db237 btrfs: fix a possible umount deadlock
65563ab7271b Btrfs: fix memory leak in do_walk_down
364b85c57d25 btrfs: clean the old superblocks before freeing the device
6a6e9276f3f5 Btrfs: don't leak reloc root nodes on error
4d3d9b59d963 Btrfs: return gracefully from balance if fs tree is corrupted
a6522e487b2c Btrfs: bail out if block group has different mixed flag
d7839adcb0e3 Btrfs: fix memory leak in reading btree blocks
1a087cd869c6 clk: ti: omap36xx: Work around sprz319 advisory 2.1
2b96c4b19e0a ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
dc8144f49988 ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
685c4db17890 ALSA: hda - fix headset-mic problem on a Dell laptop
b757fc019fc9 ALSA: hda - ignore the assoc and seq when comparing pin configurations
38c6095f48fe ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
5496ec423449 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
abf549a8b969 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
6b0a56e9aaf3 usbip: vudc: fix: Clear already_seen flag also for ep0
a9143e58d3cc USB: UHCI: report non-PME wakeup signalling for Intel hardware
4422a26936ae usb: gadget: composite: correctly initialize ep->maxpacket
be8f1c44177a usb: gadget: f_uac2: fix error handling at afunc_bind
79d5a30e37ab usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
e3dfbc8904b3 usb: dwc3: gadget: set PCM1 field of isochronous-first TRBs
269edaef820f USB: cdc-acm: add device id for GW Instek AFG-125
741523f3da82 USB: serial: kl5kusb105: fix open error path
f34b7e027eeb USB: serial: option: add dlink dwm-158
e47e81c4e705 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
3aa3cb940878 Btrfs: fix qgroup rescan worker initialization
691ea6c7eb1e Btrfs: fix emptiness check for dirtied extent buffers at check_leaf()
0695d8b10a88 btrfs: store and load values of stripes_min/stripes_max in balance status item
80f7d2836e37 Btrfs: fix relocation incorrectly dropping data references
f1b268d7a8e2 Btrfs: fix tree search logic when replaying directory entry deletes
65553a02a313 Btrfs: fix deadlock caused by fsync when logging directory entries
361e82137a2d Btrfs: fix BUG_ON in btrfs_mark_buffer_dirty
562de9c7ce24 btrfs: limit async_work allocation and worker func duration
f080d7094838 aoe: fix crash in page count manipulation
8bba2e2e62cb Linux 4.8.15
762c9bb16fce crypto: rsa - Add Makefile dependencies to fix parallel builds
014e5a7d9354 hotplug: Make register and unregister notifier API symmetric
3527ad05b46e batman-adv: Check for alloc errors when preparing TT local data
32ccd76788a5 m68k: Fix ndelay() macro
9fc7a4758608 ceph: don't set req->r_locked_dir in ceph_d_revalidate
a05f493f8d4e ARM: dts: imx7d: fix LCDIF clock assignment
798c825fb006 ARM: dts: orion5x: fix number of sata port for linkstation ls-gl
d271b9bec2d3 Revert "ACPI: Execute _PTS before system reboot"
3ee9f16cff18 can: peak: fix bad memory access and free sequence
212e0ff80970 can: raw: raw_setsockopt: limit number of can_filter that can be set
bdb5ed2040f5 crypto: marvell - Don't corrupt state of an STD req for re-stepped ahash
bfef274e4dae crypto: mcryptd - Check mcryptd algorithm compatibility
86bea59218a0 crypto: caam - fix pointer size for AArch64 boot loader, AArch32 kernel
666531ca650e crypto: marvell - Don't copy hash operation twice into the SRAM
04925ba9b944 acpi, nfit: fix bus vs dimm confusion in xlat_status
53ed7c2e8d02 acpi, nfit: validate ars_status output buffer size
e04e2dace316 acpi, nfit, libnvdimm: fix / harden ars_status output length handling
483ac1487a9d acpi, nfit: fix extended status translations for ACPI DSMs
0525cebf8ef7 perf/x86: Fix full width counter, counter overflow
eceab1fd7f9e vhost-vsock: fix orphan connection reset
b0224f36735e sched/autogroup: Fix 64-bit kernel nice level adjustment
2a477999977c scsi: lpfc: fix oops/BUG in lpfc_sli_ringtxcmpl_put()
ac65fe0bbdea device-dax: fix private mapping restriction, permit read-only
2386c6b188c5 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()
7b2347c8e803 locking/rtmutex: Prevent dequeue vs. unlock race
bed4eef2e8fa zram: restrict add/remove attributes to root only
4fb7569c7370 parisc: Fix TLB related boot crash on SMP machines
b81e5db49515 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm
7e8f68aa1833 parisc: Purge TLB before setting PTE
6e284445bab5 fuse: fix clearing suid, sgid for chown()
e70d6d2d7383 powerpc/boot: Fix build failure in 32-bit boot wrapper
a82ad493f045 powerpc/mm: Fix lazy icache flush on pre-POWER5
84b36287c72d powerpc/eeh: Fix deadlock when PE frozen state can't be cleared
7b8c57cad53a Linux 4.8.14
1670d1584701 esp6: Fix integrity verification when ESN are used
b3e9d4982939 esp4: Fix integrity verification when ESN are used
be5339492b29 flowcache: Increase threshold for refusing new allocations
3a116fa8c95d Revert: "ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()"
686182870c6a ipv4: Set skb->protocol properly for local output
e67bd82fb79d ipv6: Set skb->protocol properly for local output
22d94c326660 Don't feed anything but regular iovec's to blk_rq_map_user_iov
e4a6c61c6b71 constify iov_iter_count() and iter_is_iovec()
907bc3181c9a sparc32: Fix inverted invalid_frame_pointer checks on sigreturns
360e257f8cf3 sparc64: fix compile warning section mismatch in find_node()
2f02dcb673a4 sparc64: Fix find_node warning if numa node cannot be found
ad02ec7d37a2 ipv4: Drop suffix update from resize code
0b1c601d367f ipv4: Drop leaf from suffix pull/push functions
cd8a6c0e95bf ipv4: Fix memory leak in exception case for splitting tries
a8780378b39e ipv4: Restore fib_trie_flush_external function and fix call ordering
5ff5e5c06c25 net: ping: check minimum size on ICMP header length
f818e5d86aef net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
bfecf9017f8b geneve: avoid use-after-free of skb->data
4daa2c73eb05 tipc: check minimum bearer MTU
1ff3209a21c8 sh_eth: remove unchecked interrupts for RZ/A1
bbf913d774b7 net: bcmgenet: Utilize correct struct device for all DMA operations
accb7c99fc0f cdc_ether: Fix handling connection notification
34457543e203 ip6_offload: check segs for NULL in ipv6_gso_segment.
cef222d40f2e packet: fix race condition in packet_set_ring
17941a9d6409 GSO: Reload iph after pskb_may_pull
ff0d7874078d net/dccp: fix use-after-free in dccp_invalid_packet
023cd33ece37 net: macb: fix the RX queue reset in macb_rx()
25d9b4bb64ea netlink: Do not schedule work from sk_destruct
f5dad3473d83 netlink: Call cb->done from a worker thread
360d6a23e79d net/sched: pedit: make sure that offset is valid
aa239369bdfa net: dsa: fix unbalanced dsa_switch_tree reference counting
9a7479273949 net, sched: respect rcu grace period on cls destruction
a9437ebc69f5 net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change
ddf053431efe udplite: call proper backlog handlers
7b0aa75be3ab ipv6: bump genid when the IFA_F_TENTATIVE flag is clear
58c8cc33de6c rtnl: fix the loop index update error in rtnl_dump_ifinfo()
84df56749f48 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
7f8b251a0985 rtnetlink: fix FDB size computation
c39caa8f80c0 af_unix: conditionally use freezable blocking calls in read
bdc5c63e4b38 net: sky2: Fix shutdown crash
a75684ab7a12 ip6_tunnel: disable caching when the traffic class is inherited
1b079d5b9fc1 net: check dead netns for peernet2id_alloc()
65dfc8b4547f net: dsa: b53: Fix VLAN usage and how we treat CPU port
f959eb507439 virtio-net: add a missing synchronize_net()
8070f33be6c4 gro_cells: mark napi struct as not busy poll candidates
55d64c0b3c15 Linux 4.8.13
a4edb1a2b045 arm64: suspend: Reconfigure PSTATE after resume from idle
6353400d9130 arm64: mm: Set PSTATE.PAN from the cpu_enable_pan() call
b49b1ae6d341 arm64: cpufeature: Schedule enable() calls instead of calling them via IPI
e4e77deda200 batman-adv: Detect missing primaryif during tp_send as error
f106de5604dd clk: sunxi: Fix M factor computation for APB1
9e2d9e95094a perf/x86: Restore TASK_SIZE check on frame pointer
ab34b429a01f drm/mediatek: fix null pointer dereference
43b5bb262711 pwm: Fix device reference leak
6c6947613979 KVM: use after free in kvm_ioctl_create_device()
ff8b06b4efa6 arm64: dts: juno: fix cluster sleep state entry latency on all SoC versions
f67b89acdfa1 drm/radeon: fix check for port PM availability
835bb5cd3653 drm/amdgpu: fix check for port PM availability
972d595824b6 drm/radeon: fix power state when port pm is unavailable (v2)
be1b75edf20b drm/amdgpu: fix power state when port pm is unavailable
bd78c077f8fe drm/i915: drop the struct_mutex when wedged or trying to reset
5dd86b6e5873 drm/i915: Don't touch NULL sg on i915_gem_object_get_pages_gtt() error
05abe7452b71 KVM: arm/arm64: vgic: Don't notify EOI for non-SPIs
ca42bd35d308 mwifiex: printk() overflow with 32-byte SSIDs
de9ba13ebfdb PCI: Set Read Completion Boundary to 128 iff Root Port supports it (_HPX)
4f4857148b4a PCI: Export pcie_find_root_port
27dce9bcad4d mm: workingset: fix NULL ptr in count_shadow_nodes
60e33689a06e rcu: Fix soft lockup for rcu_nocb_kthread
b6f9e236b7ef Input: psmouse - disable automatic probing of BYD touchpads
6ca8ab7052c4 Input: change KEY_DATA from 0x275 to 0x277
600bec25b855 ovl: fix d_real() for stacked fs
5661a6926871 mm: fix false-positive WARN_ON() in truncate/invalidate for hugetlb
48b6b50a2ba5 kasan: update kasan_global for gcc 7
db04d354b7f1 zram: fix unbalanced idr management at hot removal
010020900006 thp: fix corner case of munlock() of PTE-mapped THPs
08fd95de5eee mm, thp: propagation of conditional compilation in khugepaged.c
76e59ecacd54 ARC: Don't use "+l" inline asm constraint
b43fb9f6f162 ARC: mm: PAE40: Fix crash at munmap
8d1ee7b245ef scsi: libfc: fix seconds_since_last_reset miscalculation
10e2627377b0 scsi: hpsa: use bus '3' for legacy HBA devices
e170c1003c02 libata-scsi: Fixup ata_gen_passthru_sense()
(From OE-Core rev: 9cd1850a0a8882796f89c65c073bc80f915f413f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The shortlog of changes follows:
6f2fabab8d63 Linux 4.9.2
8ed8791885aa drm/i915: Fix setting of boost freq tunable
18a00ac6d7f1 drm/i915: skip the first 4k of stolen memory on everything >= gen8
639641105443 drm/i915: Initialize dev_priv->atomic_cdclk_freq at init time
159e2ea9ed49 drm/i915: Fix cdclk vs. dev_cdclk mess when not recomputing things
d816da6f5766 drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
6cb4179f97cf drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting
2037b1b46cdb net: mvpp2: fix dma unmapping of TX buffers for fragments
3f3a6bbe6f9f sg_write()/bsg_write() is not fit to be called under KERNEL_DS
d024532a97db kconfig/nconf: Fix hang when editing symbol with a long prompt
173fd37a3d21 target/user: Fix use-after-free of tcmu_cmds if they are expired
630a2ef354bb libnvdimm, pfn: fix align attribute
6838ac125324 of, numa: Return NUMA_NO_NODE from disable of_node_to_nid() if nid not possible.
d5cf5ae25c95 powerpc/boot: Request no dynamic linker for boot wrapper
efcb3d9442ff powerpc/ps3: Fix system hang with GCC 5 builds
4b23132d6cf5 powerpc/64e: Convert cmpi to cmpwi in head_64.S
369b330c9d82 SUNRPC: fix refcounting problems with auth_gss messages.
ba15defe1807 pNFS: Fix a deadlock between read resends and layoutreturn
e523ce8c99f9 pNFS: Clear NFS_LAYOUT_RETURN_REQUESTED when invalidating the layout stateid
f32659df6e15 pNFS: Don't clear the layout stateid if a layout return is outstanding
24b049fa0cd9 pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed
b775b86a5fe8 nfs_write_end(): fix handling of short copies
fc6cb9c303e2 libceph: verify authorize reply on connect
d8c34b0cc0be PCI: Check for PME in targeted sleep state
7cc603e9a828 i40iw: Use correct src address in memcpy to rdma stats counters
6195cd1a9628 bad_inode: add missing i_op initializers
afd2a1994ea4 Input: drv260x - fix input device's parent assignment
e5d92c0c84f3 v4l: tvp5150: Add missing break in set control handler
7f89c1373637 media: solo6x10: fix lockup by avoiding delayed register write
3fbe140e9d36 s5p-mfc: fix failure path of s5p_mfc_alloc_memdev()
9fd64b830259 mn88473: fix chip id check on probe
eb9afff9513d mn88472: fix chip id check on probe
9aff8b170fe0 IB/cma: Fix a race condition in iboe_addr_get_sgid()
476ed812c42d IB/rxe: Fix a memory leak in rxe_qp_cleanup()
5984423bf7eb IB/multicast: Check ib_find_pkey() return value
4187dfa67fa9 IPoIB: Avoid reading an uninitialized member variable
382072e09f19 IB/mad: Fix an array index check
239b40eb6189 fgraph: Handle a case where a tracer ignores set_graph_notrace
a035dc674dd4 x86/smpboot: Make logical package management more robust
3168762e8ad3 platform/x86: asus-nb-wmi.c: Add X45U quirk
21be088c36c6 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
e80ceb2da52e vsock/virtio: fix src/dst cid format
d06485e0fcf5 fsnotify: Fix possible use-after-free in inode iteration on umount
3f618a0b872f kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
94107133ae81 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
75b1053c2b8c KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
483eeca2cf38 scsi: aacraid: remove wildcard for series 9 controllers
8beb252f2be2 md/raid5: limit request size according to implementation limits
a0357979d620 sc16is7xx: Drop bogus use of IRQF_ONESHOT
7d5ec9eb3eea latent_entropy: fix ARM build error on earlier gcc
959e95305f13 arm64: KVM: pmu: Reset PMSELR_EL0.SEL to a sane value before entering the guest
111e0ccaf979 s390/kexec: use node 0 when re-adding crash kernel memory
53bbee3348d8 s390/vmlogrdr: fix IUCV buffer allocation
b3854cefe3d2 firmware: fix usermode helper fallback loading
ce7ec3d7526c ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
9d33a3995667 scsi: avoid a permanent stop of the scsi device's request queue
2a940b853ef6 scsi: zfcp: fix rport unblock race with LUN recovery
744807cb251f scsi: zfcp: do not trace pure benign residual HBA responses at default level
2ce34d9da427 scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
8032a30081c1 iscsi-target: Return error if unable to add network portal
113783ec1cdb scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
6089f8712dcb scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
2d2914349286 stm class: Fix device leak in open error path
fbb28e76454f vt: fix Scroll Lock LED trigger name
11aa5c10102a block: protect iterate_bdevs() against concurrent close
09c154920e77 mei: me: add lewisburg device ids
0814c3ede27a mei: request async autosuspend at the end of enumeration
66469319c01a drivers/gpu/drm/ast: Fix infinite loop if read fails
8dbd6f709e62 drm/amdgpu: fix init save/restore list in gfx_v8.0
f2d3d7f84cdf drm/amdgpu: fix enable_cp_power_gating in gfx_v8.0.
326760ba1802 drm/amd/powerplay: bypass fan table setup if no fan connected
aa286e88fd91 drm/gma500: Add compat ioctl
6187f21f8c97 drm/radeon/si: load the proper firmware on 0x87 oland boards
851bedd86b95 drm/radeon: add additional pci revision to dpm workaround
126f676b087d drm/radeon: Hide the HW cursor while it's out of bounds
45ec673dfe0f drm/radeon: Also call cursor_move_locked when the cursor size changes
9195157f7d03 drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
64a5c4725fd3 drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
bfa563bae251 drm/nouveau/ttm: wait for bo fence to signal before unmapping vmas
a5b4c77c92da drm/nouveau/ltc: protect clearing of comptags with mutex
d95ef8af5425 drm/nouveau/bios: require checksum to match for fast acpi shadow method
2c256b8e81bf drm/nouveau/kms: lvds panel strap moved again on maxwell
42e5fd6bce5b drm/nouveau/gr: fallback to legacy paths during firmware lookup
c2a51dd3138d drm/amd/amdgpu: enable GUI idle INT after enabling CGCG
8e1b86f30bc1 drm/amdgpu: Also call cursor_move_locked when the cursor size changes
2cea21516231 drm/amdgpu: Store CRTC relative amdgpu_crtc->cursor_x/y values
eb0d743b4188 drm/amdgpu: add additional pci revision to dpm workaround
f3dd47e0f683 drm/amdgpu/si: load the proper firmware on 0x87 oland boards
a04465251f94 ACPI / video: Add force_native quirk for HP Pavilion dv6
6d46601e6564 ACPI / video: Add force_native quirk for Dell XPS 17 L702X
745f7d0d1951 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
bd1692bed615 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
3b2f287b7795 staging: lustre: ldlm: pl_recalc time handling is wrong
38b2dc0b0f38 staging/lustre/osc: Revert erroneous list_for_each_entry_safe use
bf6a9b31e8a9 hv: acquire vmbus_connection.channel_mutex in vmbus_free_channels()
5bd6ccd9c95f docs: sphinx-extensions: make rstFlatTable work with docutils 0.13
fab303ba78ee thermal: hwmon: Properly report critical temperature in sysfs
05bc2071b11b clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
b6d666315b99 arm64: tegra: Add VDD_GPU regulator to Jetson TX1
5f654078b760 gpio: chardev: Return error for seek operations
acd0993f8e97 gpio: stmpe: fix interrupt handling bug
ca22975afa14 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
efd16f76f4da mmc: sd: Meet alignment requirements for raw_ssr DMA
dbcde92b1b44 regulator: stw481x-vmmc: fix ages old enable error
cee935845420 mmc: sdhci: Fix recovery from tuning timeout
5bb425033ef1 Revert "mmc: sdhci: Reset cmd and data circuits after tuning failure"
71717a3ef900 ath9k: do not return early to fix rcu unlocking
de5d62f892c3 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
072ebf89ca23 ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on success
1976c7689a58 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
3f23f7f21ac5 rtl8xxxu: Work around issue with 8192eu and 8723bu devices not reconnecting
19d55b9f32b6 perf/x86/intel/cstate: Prevent hotplug callback leak
ba12b35fbd69 perf annotate: Don't throw error for zero length symbols
54fa190d0a54 perf/x86: Fix exclusion of BTS and LBR for Goldmont
98068574928f rtlwifi: Fix enter/exit power_save
ea23fca0c600 ath10k: fix soft lockup during firmware crash/hw-restart
b8425f413466 ssb: Fix error routine when fallback SPROM fails
6437abdb624e Linux 4.9.1
705df55bd0cf x86/kbuild: enable modversions for symbols exported from asm
c728f2b5edf2 builddeb: fix cross-building to arm64 producing host-arch debs
e12096297ea5 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
c11a13d6f527 xfs: fix up xfs_swap_extent_forks inline extent handling
e67053ad4840 arm/xen: Use alloc_percpu rather than __alloc_percpu
45394bf3e11e xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
b7bbf06c21aa tpm xen: Remove bogus tpm_chip_unregister
f726f4f411f9 kernel/debug/debug_core.c: more properly delay for secondary CPUs
9b78d6905424 watchdog: qcom: fix kernel panic due to external abort on non-linefetch
2eccf0e0bcb1 watchdog: mei_wdt: request stop on reboot to prevent false positive event
36b08b819713 kernel/watchdog: use nmi registers snapshot in hardlockup handler
c954acc0007b CIFS: Fix a possible memory corruption in push locks
9f9d98246e5f CIFS: Decrease verbosity of ioctl call
46890ffba1d6 CIFS: Fix a possible double locking of mutex during reconnect
69d13b69e79c CIFS: Fix missing nls unload in smb2_reconnect()
48f9526f4dcb CIFS: Fix a possible memory corruption during reconnect
7aa58e7ad53b cifs: Fix smbencrypt() to stop pointing a scatterlist at the stack
41c856b32900 ASoC: intel: Fix crash at suspend/resume without card registration
f5dca4881fac dm space map metadata: fix 'struct sm_metadata' leak on failed create
461f272954cf dm raid: fix discard support regression
e362c317ba76 dm rq: fix a race condition in rq_completed()
2c017f77e13d dm crypt: mark key as invalid until properly loaded
3fae2a9e994b dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
e74fb822281e dm table: an 'all_blk_mq' table must be loaded for a blk-mq DM device
470b6910f7c1 dm table: fix 'all_blk_mq' inconsistency when an empty table is loaded
67b0069a5175 blk-mq: Do not invoke .queue_rq() for a stopped queue
7ac62bcde2d4 PM / OPP: Don't use OPP structure outside of rcu protected section
c7a8a0ac8fee PM / OPP: Pass opp_table to dev_pm_opp_put_regulator()
eab1c4e2d0ad usb: gadget: composite: always set ep->mult to a sensible value
44919a2ac4c6 mm, page_alloc: keep pcp count and list contents in sync if struct page is corrupted
04597beae7c2 mm/vmscan.c: set correct defer count for shrinker
fe3d462821b0 nvmet: Fix possible infinite loop triggered on hot namespace removal
890c39d35eb0 loop: return proper error from loop_queue_rq()
01e15b3328c4 f2fs: fix to determine start_cp_addr by sbi->cur_cp_pack
027611ef345d f2fs: fix overflow due to condition check order
1134ef11ffff f2fs: set ->owner for debugfs status file's file_operations
a43e1c459a3d Revert "f2fs: use percpu_counter for # of dirty pages in inode"
9abce3ca80a7 ext4: do not perform data journaling when data is encrypted
acf3efd6f003 ext4: return -ENOMEM instead of success
3e4f8da9d177 ext4: reject inodes with negative size
8084f57bc468 ext4: add sanity checking to count_overhead()
956e2a0e6779 ext4: fix in-superblock mount options processing
01772f4683a9 ext4: use more strict checks for inodes_per_block on mount
b493c715cdce ext4: fix stack memory corruption with 64k block size
c3881abae6e7 ext4: fix mballoc breakage with 64k block size
24d1251a5d83 ext4: don't lock buffer in ext4_commit_super if holding spinlock
21cc91554c3d crypto: caam - fix AEAD givenc descriptors
e71b4e061c96 ptrace: Don't allow accessing an undumpable mm
e747b4ae3b6b ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
48466c4772d2 vfs,mm: fix return value of read() at s_maxbytes
694a95fa6dae mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
cfa2d65b2622 block_dev: don't test bdev->bd_contains when it is not stable
b6cce9b8e813 splice: reinstate SIGPIPE/EPIPE handling
c1df5a63716b fs: exec: apply CLOEXEC before changing dumpable task flags
21245b8635e8 exec: Ensure mm->user_ns contains the execed files
0de98eef9c11 clk: ti: omap36xx: Work around sprz319 advisory 2.1
0ce4f00087b4 ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
e029ef3a9c82 ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
0119d5d44034 ALSA: hda - fix headset-mic problem on a Dell laptop
37b7c5db5a30 ALSA: hda - ignore the assoc and seq when comparing pin configurations
0f1047be4a9f ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
fa2e770f88bc ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
205d3de9637f ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
77bd73ce21fa usbip: vudc: fix: Clear already_seen flag also for ep0
420f170ce1ba USB: UHCI: report non-PME wakeup signalling for Intel hardware
e0aa5ec40d6e usb: gadget: composite: correctly initialize ep->maxpacket
5180169dae85 usb: gadget: f_uac2: fix error handling at afunc_bind
eab169397ad6 usb: core: usbport: Use proper LED API to fix potential crash
32a35351b7ec usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
3666b6280351 usb: dwc3: gadget: set PCM1 field of isochronous-first TRBs
20d7c1a68b5b USB: cdc-acm: add device id for GW Instek AFG-125
c094cd32b0c7 USB: serial: kl5kusb105: fix open error path
5e7c90bd53c6 USB: serial: option: add dlink dwm-158
142513d6dc7c USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
1a5ec7dd17a9 Btrfs: fix qgroup rescan worker initialization
a1e0e0476afb Btrfs: fix emptiness check for dirtied extent buffers at check_leaf()
c01ea880e88a btrfs: store and load values of stripes_min/stripes_max in balance status item
01f285fe1d88 Btrfs: fix relocation incorrectly dropping data references
26dc52465f0d Btrfs: fix tree search logic when replaying directory entry deletes
664b053c5363 Btrfs: fix deadlock caused by fsync when logging directory entries
7d470f04e36c Btrfs: fix BUG_ON in btrfs_mark_buffer_dirty
3bac322e18c3 btrfs: limit async_work allocation and worker func duration
56eaecc8ecf3 hotplug: Make register and unregister notifier API symmetric
(From OE-Core rev: 338874156bbe1b63a225643910bcdf0491d5c7f9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating firewire and audio configuration updates from Jussi:
Add support for IEEE-1394 (Firewire)
Adds support for IEEE-1394 aka Firewire bus and some commonly used
devices.
Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
Update audio support
Updates audio support to work with modern audio hardware while
dropping some legacy parts.
Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
(From OE-Core rev: bbde3fa90ea4470630049a92ee7f683115868466)
Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changes adds 'nat' table in iptables. The netfilter side
is already configured for NAT but iptables config was missing.
Further, CONFIG_IP_NF_TARGET* configured below depend on
CONFIG_IP_NF_NAT but remain disabled unless CONFIG_IP_NF_NAT
is explicitly enabled.
CONFIG_IP_NF_TARGET_MASQUERADE is needed by Connman to
support tethering.
(From OE-Core rev: 0a382b58c01bb359b225f48f312f696f0badf27b)
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following patches for the 4.4/4.8 and 4.9
kernel to enable LTO for linux-yocto-tiny configurations
(i.e. poky-tiny).
b9735c0b4235 intel-quark: Remove support for serial-all
ce02da2e7833 features/usb/serial: Add new usb serial feature
f5b00d3a7e68 soc/x1000: Remove 'default policy' features
ca2dc186ff32 soc/x1000: Remove unnecessary features
90061752cbb5 soc/x1000: Remove bsp/common-pc/*
00b26ed213c4 meta/intel-common: Have intel-quark-tiny use common-drivers-32-essential
7ce24a2c497b meta/intel-common: Add intel-common-drivers-32-essential feature
ef711e0ab70e meta: Add lto-debug feature
1ca570817bf3 meta: Add lto-disable feature
45e5c2e9118e meta: Add lto (Link-Time Optimization) enablement feature
(From OE-Core rev: 6a8e6b66ff65cf849a3c34a506cf650abfef2420)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 4.9-rt kernel has been released, and this commit integrates
the 286 patches in that series.
(From OE-Core rev: 5249e168ac3afac7ddc5d67d526c3bf74d82aa5c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introducing the 4.9 kernel recipes. 4.9 will be a LTSI kernel, so we
introduce these recipes with the intent that they'll replace 4.1 as
the LTSI kernel, and other older kernels (i.e 4.4/4.8) once 4.9
shown to be stable.
linux-yocto-tiny and linux-yocto-rt are also part of this commit, but
are placeholders while we wait for their content to be available. They
will build, but provide nothing above the standard kernel at the
moment.
(From OE-Core rev: e8a1f4ccb10af234af1f2cb6905c638992558556)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Test case adds perl recipe before build eSDK.
2. After this added recipe, the script verifies the update:
${SDK_DEPLOY}/${TOOLCHAINEXT_OUTPUTNAME}.sh
oe-publish-sdk [esdk] [path-to-http]
CORE_IMAGE_EXTRA_INSTALL = "perl"
bitbake -c populate-sdk-ext [some-image]
devtool sdk-update
This should fix [YOCTO #9369]
(From OE-Core rev: 21bd406bf89e9ceafe1a807877406be817cacca6)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newer firmware blobs were versioned and landing in the default
package so move them to their appropriately named package.
[YOCTO #10942]
(From OE-Core rev: d7657df13d18f982d8ca08f1c992f4605f88ceb4)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add blank lines in comments to make it easy for readind and updating.
(From OE-Core rev: 3f3344d1c063b0013a9ae7203bac30ab8f4ea17c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
- Add QB_NETWORK_DEVICE to set network device, it will be used by both
slirp and tap.
- Set QB_NETWORK_DEVICE to "-device virtio-net-pci" in qemuboot.bbclass
but runqemu will default to "-device e1000" when QB_NETWORK_DEVICE is
not set, this is because oe-core's qemu targets support
virtio-net-pci, but the one outside of oe-core may not,
"-device e1000" is more common.
- Set hostfwd by default: 2222 -> 22, 2323 -> 23, and it will choose a
usable port when the one like 222 is being used. This can avoid
conflicts when multilib slirp qemus are running. We can forward more
ports by default if needed, and bsp.conf can custom it.
- Use different mac sections for slirp and tap to fix conflicts when
running both of them on the same host.
[YOCTO #7887]
CC: Nathan Rossi <nathan@nathanrossi.com>
CC: Randy Witt <randy.e.witt@linux.intel.com>
(From OE-Core rev: 7dddd090806914a62d977730440d803e48f44763)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade U-Boot to the latest version.
(From OE-Core rev: d151d86d18127ae63be3cddde605e7953bd812d9)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to have scriptlet output captured in log. If we don't do so,
some useful information from scriptlets (especially postinstall script)
would be missing. In case a script has a warning message but it does not
necessarily have to fail, the message should be captured.
Opkg has already done that. Change for rpm and dpkg so that scriptlet
output is captured and no warning message is missing.
(From OE-Core rev: 0e52e0c619e02327602d83999a61d978d3a9240e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, PV is "git" and contains no version information.
(From OE-Core rev: e1fe3f8a601ba289a2e9963ef3f1309e431704eb)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc 2.25 release is in freeze stage now
(From OE-Core rev: b72dbf70646e9dca0dbb5b22bc70d919e6eb8bdc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Store measurements as a dict, instead of an array, in the JSON report.
This change makes traversing of the report much easier. The change also
disallows identically named measurements under one test, as a sanity
check for the test cases.
[YOCTO #10590]
(From OE-Core rev: 81065092f38c9631dcf5917d70a25809a21de5f4)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use OrderedDict() instead of sort_keys=True (of json.dump()). Makes for
more logical sorting of the values in the report.
[YOCTO #10590]
(From OE-Core rev: 75e8aec0e0d81888be47b35c3c84df73edb91868)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch introduces a new metadata (.json or .xml) file in the output
directory. All test meta data, e.g. git revision information and tester
host information is now stored there. The JSON report format is slightly
changed as the metadata is not present in results.json anymore.
[YOCTO #10590]
(From OE-Core rev: 2036c646019660e32f1bc277fdec0cdbff0afdd4)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Write results in the report file in chronological order, instead of
random order dependent on test statuses.
[YOCTO #10590]
(From OE-Core rev: 91ba6ea9fe2eb82f992a6516d7971b435e1cfd32)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add test description as an attribute to the <testcase> element.
[YOCTO #10590]
(From OE-Core rev: 7c23ddfeb4a46ee519cafdbd83ad1880621fba4d)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>