Commit Graph

52916 Commits

Author SHA1 Message Date
Alexander Kanavin
eca87bf2b4 selftest/distrodata: un-break the upstream version check test
And fix the reported upstream check failures.

(From OE-Core rev: 63af0edcd954fac530ba17b04e5df5837cddc0a4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-11 10:39:08 +00:00
Alexander Kanavin
69a4542fc4 bitbake.conf: add --enable-new-dtags to linker
Various versions of ld have different defaults for this
(even between e.g. Ubuntu 16.04 and 18.04). This has the
consequence of putting either RPATH or RUNPATH into the binary,
depending on the linker, which have different priorities
vs LD_LIBRARY_PATH env var. Also, I think, the original
executable binary is looked up for the tags when resolving
a dependency of a shared library when using RPATH, but not
RUNPATH.

Let's make this deterministic.

(From OE-Core rev: 661d700ab7428b0ad982bfd2714cca134bad85a2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-11 10:39:08 +00:00
Douglas Royds
c3a244b792 patch: reproducibility: Fix host umask leakage
Some patch files create entirely new files, so their permissions are subject to
the host umask. If such a file is later installed into a package with no change
in permissions, it breaks the reproducibility of the package.

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

(From OE-Core rev: 2a2bbd755b330cd63f7f6e2f2b374a3ae065b37a)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-11 10:39:08 +00:00
Anuj Mittal
3049440b28 libpcap: upgrade 1.8.1 -> 1.9.0
* For changes, see:
https://www.tcpdump.org/libpcap-changes.txt

* Merge inc and bb and remove unnecessary flags.

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

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

* Backport a commit to fix musl builds.

(From OE-Core rev: 23fa5d49667c16f6b2763f4da4de63afa632e83d)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-11 10:39:08 +00:00
Anuj Mittal
10ad7a1eea at-spi2-atk: upgrade 2.26.2 -> 2.30.0
For changes, see:
https://github.com/GNOME/at-spi2-atk/blob/AT_SPI2_ATK_2_30_0/NEWS

(From OE-Core rev: 7238f50f9762ef7fc784ef3addf1a6edfa09d5a3)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-11 10:39:08 +00:00
Anuj Mittal
2661cf0a36 atk: upgrade 2.28.1 -> 2.30.0
* For changes, see:
https://github.com/GNOME/atk/blob/ATK_2_30_0/NEWS

* Change in doc and introspection switches and patch refresh.

(From OE-Core rev: 94ad442204346259b9bbcaec5a8df0149fc3a0a7)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-11 10:39:08 +00:00
Anuj Mittal
3bc3af2f51 libjpeg-turbo: upgrade 2.0.0 -> 2.0.1
* For changes, see:
https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/ChangeLog.md

* Removed upstreamed patch

(From OE-Core rev: 737a194042bb83045958b05c77f9ff5934db7982)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-11 10:39:08 +00:00
Anuj Mittal
fca959f466 libsolv: upgrade 0.7.1 -> 0.7.2
>From NEWS:

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

(From OE-Core rev: 5b0d21e4b369821235d5b1d00a578b2dca5c5d09)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-11 10:39:08 +00:00
Chen Qi
53cebfdfcc netbase/base-files: move /etc/hosts from netbase to base-files
Move /etc/hosts to base-files, and also add entry to it according
to hostname setting. This fixes the problem of commands like
`hostname -f' failing due to lack of such entry.

(From OE-Core rev: 31e6d08f20a804fccb958e19045d8f9e9806071a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-11 10:39:08 +00:00
Ross Burton
4dd5103216 oeqa/sdk: add test to exercise Meson
(From OE-Core rev: 29359493e391d68a5a6b4fa4d09ffdc1fe6db620)

(From OE-Core rev: 237ed166f48b0e32684a5307d3b47b9485238ed9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:45 +00:00
Ross Burton
f74574858f oeqa/sdk/assimp: cleanup
Unify style with the other tests.

(From OE-Core rev: 545cde27b13f9d68211fd3a671182203ac47756d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:45 +00:00
Ross Burton
730ffea3a1 oeqa/sdk/cases: clean up DL_DIR handling
(From OE-Core rev: f56c62b9feacd6e08fee3507185261ab3f0180e0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:45 +00:00
Ross Burton
5a0bed5be6 meson: write correct host endian into SDK cross file
Meson doesn't ignore this but will emit a warning, so write the correct value.

(From OE-Core rev: 1239157805a4c363da853de6db05c53083b01189)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:45 +00:00
Ross Burton
c2556c44ec meson: fix nativesdk-meson for multilib SDKs
Multilib SDKs differ only in the environment variables set, so nativesdk-meson's
setup script needs to write a cross file for each environment.

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

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

(From OE-Core rev: 8596f871ef834a38e3375443f7eb08e43816347a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:45 +00:00
Ross Burton
3bda6b8e0a meson: use a sensible default for libdir when cross-compiling
If --libdir isn't passed to Meson a default is used, but as this default value
changes depending on the host (whether it is Debian-like, or has /usr/lib64)
this isn't appropriate for cross builds.

(From OE-Core rev: fdb5a8b3d437537aee53380091dabe6258667a49)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Ross Burton
3085647e0c toolchain-scripts: run post-relocate scripts for every environment
SDKs for multilib configurations have multiple environment scripts, so
re-arrange the post-relocate hook invocation so that it runs the post-relocate
hooks after sourcing each environment script.

(From OE-Core rev: c4897001cb3eeda1f4f11197b28c09c950bdcf02)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Diego Rondini
48901a9f74 gtk+3: add PACKAGECONFIG for cups
(From OE-Core rev: 008ce2534414b505d40128f0a722f44bcf4a4034)

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Changqing Li
7bb927d65f libsndfile1: Security fix CVE-2017-17456/17457 CVE-2018-19661/19662
fix 4 CVEs, which is backport from
585cc28a93

(From OE-Core rev: 8f4af329df5373db8910726a6b954652623003dd)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Alistair Francis
06adfa2696 fts: Bump FTS to version 1.2.7
(From OE-Core rev: 19ad9e86012a012394dfa081fdb03981b01bdb7a)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Yeoh Ee Peng
71a1c1119b scripts/oe-git-archive: fix non-existent key referencing error
Without installing gitpython package, oe-git-archive will face error
below, where it was referencing key that was non-existent inside
metadata object.

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

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

[YOCTO# 13082]

(From OE-Core rev: 9a3cc9b8523b78dda6c3f3f2e12798b2b907d7e5)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Alistair Francis
a9b1f9eca9 swig: Fix configure failure
Fix the swig build failure by calling the default do_configure from autotools.

(From OE-Core rev: 95c78d2166d3f8f47146ad7542569b25794dab6b)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Chen Qi
89dd30049b buildoptions.py: use different STAMPS_DIR and SSTATE_DIR
Use a different STAMPS_DIR and SSTATE_DIR in test_yocto_source_mirror.
Otherwise, when executing `oe-selftest -a', we will get a lot of failures
due to do_unpack failure.

(From OE-Core rev: f8502c68163ec288cf6fb6754829b455501b4a05)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Robert Yang
c75b8f33bf oeqa/selftest/runqemu: Enable kvm when QEMU_USE_KVM is set
(From OE-Core rev: 564de3681353fe8e203425388e8be9703a89d2da)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Robert Yang
274b941b8b oeqa/manual/bsp-qemu.json: Update for QEMU_USE_KVM
Now QEMU_USE_KVM can only be boolean, can not contain MACHINE any more.

(From OE-Core rev: 37e5035a2ba27595eeef22062580a5b04a73ba15)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Robert Yang
dda8084d7a oeqa: Fix for QEMU_USE_KVM
Fixed:
MACHINE = "qemux86"
QEMU_USE_KVM = "qemux86"
IMAGE_CLASSES += "testimage"

$ oe-selftest -r runqemu.RunqemuTests.test_boot_rootfs

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

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

(From OE-Core rev: 7c1a8a624cad8d967635c6cb5f99cf655bde3d44)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Armin Kuster
6464cb55f0 gnutls: update to 3.6.5
Bug fix only release

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

(From OE-Core rev: 6186f98ad489a0508c43ea35bd1514c65f33ccf5)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Armin Kuster
0a835727a8 nettle: update to 3.4.1
Bug fix only release

Include:

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

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

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

[V2]
Add -std=c99 to cflags

(From OE-Core rev: 8ac8fa8ee10c59a081d368a5429e0eced8dd5d3c)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Khem Raj
96dee0ab5c util-linux: Fix build with glibc 2.29
(From OE-Core rev: f2646ea56e5ce82561089956c4a1f0d3c81087b1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Bruce Ashfield
3bbd3b0a7e linux-yocto/4.18: update to v4.18.22
Integrating the -stable commits from Paul Gortmaker:

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

(From OE-Core rev: d288dc17d6fe6e88d6a490f258e8d2502d661aad)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Bruce Ashfield
e185ff92e0 linux-libc-headers: update to v4.19
Updating the linux-libc-headers to match the latest reference
kernel in oe-core.

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

(From OE-Core rev: 11f02b7c6f9854eecd3a49ea47833c8cbffb1581)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
He Zhe
7abac94d38 linux-libc-headers: Fix build failure with fixed input and output files instead of pipe
This is an amendment for
2322dc4 "linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe"
which moves just the temporary input file from /tmp to build directory. But the
build directory may not in the same file system with the output file,
/dev/null, either and thus make it possible to trigger that bug, 67f846b, in
binutil v2.31.

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

(From OE-Core rev: 0d836013e43f29cb7d4a1f8bb9ef04dd8d9132df)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Joshua Watt
adc37721a8 sstate: Implement hash equivalence sstate
Converts sstate so that it can use a hash equivalence server to
determine if a task really needs to be rebuilt, or if it can be restored
from a different (equivalent) sstate object.

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

[YOCTO #13030]

(From OE-Core rev: d889acb4f8f06f09cece80fa12661725e6e5f037)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Joshua Watt
cbdfa37663 classes/sstate: Handle unihash in hash check
Handles the argument that passes task unique hash in the hash check
function, as it is now required by bitbake

[YOCTO #13030]

(From OE-Core rev: 1c14b6969e58b51a325c1c1acf9c96e55675035c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:44 +00:00
Richard Purdie
f008c24dab bitbake: data/siggen: Switch md5 -> sha256
Similarly to the codeparser change, change to sha256 hashes due to worries
over collisions. The main impact of this change is slightly slower parsing
time as well as longer sstate file names.

(Bitbake rev: 66f1b766997d53b4375fdd25719b1175f3828903)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:03 +00:00
Richard Purdie
941c5ddd19 bitbake: codeparser: Switch to sha256 from md5
We've reports of hash collision with codeparser. Looking at the way collision
problems occur with md5 and the way our function templating works, I can believe
we may run into issues.

This patch therefore switches to sha256.

Performance wise, parse time could appear to rise by 4s in 374s

Before:

384329 in 2.966s (md5)

After:

349743 in 2.340s (sha256)
34723 in 1.245s (md5)

since we still have md5 used elsewhere in the code, something we should look at
next (using sha256 everywhere is around 5.3s in total)

Unfortunately this does nearly double the size of the codeparser cache file
due to the hash size change.

(Bitbake rev: 4bed7a97198176503fe8c72d8dd7c36b28fc9dd1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:03 +00:00
Richard Purdie
d4036c6fcf bitbake: cooker: Split recipes to parse amongst threads ahead of time
We have two choices, split the recipes amongst the parsing threads in
blocks ahead of time, or have a queue which parsers pull from when idle.

The optimum approach depends on how similar the pieces are. For the single
recipe reparse case, there is currently a significant wait for the feeder
thread to start (around 0.25s in a 2s command).

Its possible splitting into blocks in advance may be unluckly for some other
workloads but experimentally it seems to work better overall for me at least.

(Bitbake rev: ae79868861568d673a70472e85a4bde9e2d84a8f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:03 +00:00
Richard Purdie
77c3b26533 bitbake: cooker: Remove Feeder() since its no longer needed with moderm multiprocessing
There used to be many bugs in multiprocessing and we implemented our own
feeder process to avoid them. Now that we have python 3.x, these are fixed
and just using the standard Queue mechanism appears to work fine. We can
therefore drop the unneeded code and simplify.

(Bitbake rev: b2d39fc37fcf3c81a562ec1ef4f8b4c1a493fc57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:03 +00:00
Richard Purdie
94b37d134d bitbake: tests.data: Add underscore+numeric in overrides datastore test
Add a test for x86_64 in overrides where is was being incorrectly handled.
There was a previous fix (3a3be518536acc868c7eeb3c1111ad1b321480b7) but
this ensures we don't regress.

(Bitbake rev: 08c314eac231ac9292c8c95f1c5a6fc2023fe749)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:03 +00:00
Joshua Watt
df85dd5485 bitbake: bitbake: hashserv: Add hash equivalence reference server
Implements a reference implementation of the hash equivalence server.
This server has minimal dependencies (and no dependencies outside of the
standard Python library), and implements the minimum required to be a
conforming hash equivalence server.

[YOCTO #13030]

(Bitbake rev: 1bb2ad0b44b94ee04870bf3f7dac4e663bed6e4d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:03 +00:00
Joshua Watt
cea00c1283 bitbake: bitbake: persist_data: Fix Locking Protocol Error
Under heavy load with process delays, sqlite can issues a "locking
protocol" error (SQLITE_PROTOCOL). Unfortunately, it is impossible to
distinguish between actual locking protocol errors and this race
condition, so they best that can be done is to retry the operation when
the error is detected.

[YOCTO #13108]

(Bitbake rev: 93cd15644f9d12b38abea276fee7b5bade0276df)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 11:16:03 +00:00
Changqing Li
fd045373e0 python-native: fix one do_populate_sysroot warning
Fix below warning:
WARNING: Skipping RPATH /usr/lib64 as is a standard search path for
work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/
usr/lib/python2.7/lib-dynload/_bsddb.so

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

(From OE-Core rev: cf994752b69083aaa4f0b873357d6c873b32d7be)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-07 14:38:39 +00:00
Changqing Li
82315924b7 python/python3: use cc_basename to replace CC for checking compiler
When working path contains "clang"/"gcc"/"icc", it might be part of $CC
because of the "--sysroot" parameter. That could cause judgement error
about clang/gcc/icc compilers.

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

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

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

(From OE-Core rev: 96383efa2726ed1bf7893332d726112a8552fc24)

Signed-off-by: Li Zhou <li.zhou@windriver.com>

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-07 14:38:39 +00:00
Manjukumar Matha
6a080d90e5 kernel.bbclass: Fix incorrect deploying of fitimage.initramfs
When kernel-fitimage and initramfs is enabled using
INITRAMFS_IMAGE_BUNDLE = "1", kernel do_deploy tries to deploy
fitImage.initramfs with following error

| install: cannot stat 'arch/arm64/boot/fitImage.initramfs': No such
file or directory

Skip deploying fitimage.initramfs, since fitimage does not
create fitimage.initramfs

(From OE-Core rev: 0f87f8522a2c1b5a7042738887952b98060fbd9d)

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-07 10:54:13 +00:00
Clemens Lang
caf55cf9b4 update-alternatives.bbclass: Stabilize iteration order
The use of a dictionary for link_rename causes problems for higher-order
alternatives, i.e. when an alternative link points to another
alternative link, since these links must be processed in the order in
which they were originally added for symlink correction to work.

Switch from a dict to a list of tuples to ensure processing happens in
the original order.

(From OE-Core rev: 326220267ffc43ec1f507ad0cc47ac59caafd5b7)

Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-07 10:54:13 +00:00
Manjukumar Matha
69431c3982 u-boot.inc: Support menuconfig for u-boot
u-boot mainline supports menuconfig, this patch enables menuconfig for
u-boot using cml1.

u-boot recipe in OE-core handles multi configuration of u-boot using
UBOOT_CONFIG. Since we cannot determine on which u-boot config the
menuconfig should run, the patch limits when UBOOT_CONFIG is not
defined.

(From OE-Core rev: 11278e3b2c75be80645b9841763a97dbb35daadc)

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-07 10:54:13 +00:00
Jacob Kroon
2b9c40e56b classes/buildhistory: avoid git diff churn by sorting more dictionaries
Sort 'srcrevs' and 'tag_srcrevs' before iterating over them in order
to avoid unnecessary changes in the build history.

(From OE-Core rev: 031d708aedda11d65ba9746af4f01b91264a1f86)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-07 10:54:13 +00:00
Liu Haitao
9dfbb877c7 iw: fix parsing of WEP keys
The current iw4.14 has a fatal bug that could casue a Segmentation fault
when parsing WEP keys. The issue has been fixed by upstream.
[https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit/?id=0e39f109c4b8155697a12ef090b59cdb304c8c44]

(From OE-Core rev: 6de9eb72f679dd8d8e4de972b1da978522cff8b4)

Signed-off-by: Liu Haitao <haitao.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-07 10:54:13 +00:00
Khem Raj
fb2e4b1913 arch-armv4.inc, arch-armv5.inc: Do not tie generating thumb ISA to -march
-march=armv5't'e means that CPU can execute thumb ISA, we do not need to
tie this to exclusively generating thumb ISA, this change means that
when we have thumb in tune features then it can use 't' in -march
options irrespective of ISA being thumb or arm.

This fixes derivative of armv5 tunes and paves way for gcc9 where e.g.
armv5e is dropped and minimum arch supported is armv5te

(From OE-Core rev: 49bc3eab2897307a92b538a045e3d4dce245b0e0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-07 10:54:13 +00:00
Robert Yang
fbb390a17f oeqa/utils/qemurunner: set timeout to 60s for run_serial
The 5s timeout for non-kvm is too short, especially when the load is high,
which leads to unexpected errors, so set timeout to 60s by default.

(From OE-Core rev: 8197d0f638a760fc03062c7a9009117d083d7ead)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-07 10:54:13 +00:00
Joshua Watt
445acdffe0 bitbake: runqueue: Pass unique hash to hash validate
If the unique hash is being used to track task dependencies, the hash
validation function needs to know about it in order to properly validate
the hash.

[YOCTO #13030]

(Bitbake rev: 9a529bb2658a4046dafbf32e1eb503d84e64e947)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-03 22:47:11 +00:00