Jackie Huang [Mon, 12 Dec 2016 05:22:14 +0000 (13:22 +0800)]
gcr: add missing dependencies for vapi
According to the vapi_DEPS definition:
gcr-3.vapi depends on gck-1.vapi,
gcr-ui-3.vapi depends on gck-1.vapi and gcr-3.vapi
But these dependencies are missing for the make targets,
so it will fail when build in parallel:
error: Package `gck-1' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `gcr-3' not found in specified Vala API directories or GObject-Introspection GIR directories
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Armin Kuster [Sat, 10 Dec 2016 17:38:43 +0000 (09:38 -0800)]
libtiff: Update to 4.0.7
Major changes:
The libtiff tools bmp2tiff, gif2tiff, ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed from the distribution, used for demos.
The Joule is very new hardware and there is ongoing kernel and firmware
work to fix these issues, which will be available in future kernel and
firmware releases. In the meantime, don't clog QA reports.
[YOCTO #10611]
Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Bruce Ashfield [Fri, 9 Dec 2016 19:28:00 +0000 (14:28 -0500)]
kernel-yocto: explicitly trap subcommand errors
To trap errors and halt processing, do_kernel_metadata was recently
switched to exit on any non zero return code. While the concept is
sound, there are subcommands that have legitimate non-zero return
codes.
Instead of removing set +e, we'll explicitly check the return code
of the commands that can error, and throw a bbfatal to alert the
user.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Bruce Ashfield [Fri, 9 Dec 2016 19:27:59 +0000 (14:27 -0500)]
linux-yocto/4.8: update to -rt7
Updating to the latest 4.8-rt
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Jason Wessel [Fri, 9 Dec 2016 17:16:20 +0000 (09:16 -0800)]
systemd: Backport cgroup fix from 233 to 232
There is a critical regression in the default behavior with systemd
232 which prevents lxc, docker, and opencontainers from working
properly out of the box. The change was already committed to the
systemd 233 code stream.
The failure looks like what is shown below.
% lxc-start -n container -F
lxc-start: cgfsng.c: parse_hierarchies: 825 Failed to find current cgroup for controller 'name=systemd'
lxc-start: cgfsng.c: all_controllers_found: 431 no systemd controller mountpoint found
lxc-start: start.c: lxc_spawn: 1082 failed initializing cgroup support
lxc-start: start.c: __lxc_start: 1332 failed to spawn 'container'
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.
Ismo Puustinen [Fri, 9 Dec 2016 02:58:01 +0000 (18:58 -0800)]
gstreamer-vaapi-1.0: check for "opengl" feature
If "opengl" distro feature is not set, libva recipe is skipped. Since
missing libva breaks gstreamer-vaapi-1.0 build, the same check has to be
done in gstreamer-vaapi-1.0 recipe too.
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Patrick Ohly [Fri, 9 Dec 2016 08:40:20 +0000 (09:40 +0100)]
buildstats.py: skip collecting unavailable /proc data
Some virtualized environments like Linux-VServer do not have the
entries under /proc that the new system usage sampling expected,
leading to an exception when trying to open the files.
Now the presence of these files is checked once before enabling the
corresponding data collection. When a file is missing, the
corresponding log file is not written either and pybootchart will not
draw the chart that normally displays the data.
Errors while reading or writing of data samples is intentionally still
a fatal error, because that points towards a bigger problem that
should not be ignored.
Reported-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Ismo Puustinen [Fri, 9 Dec 2016 02:58:00 +0000 (18:58 -0800)]
libva: check for "opengl" feature
In case "opengl" is missing from DISTRO_FEATURES, libva fails to satisfy
its dependencies. The dependency check is done by BitBake when
meta-world-pkgdata gathers information about all available packages
during image builds, even if libva isn't included in the build. This
patch makes libva recipe be skipped if the "opengl" DISTRO_FEATURE isn't
found.
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Chen Qi [Fri, 9 Dec 2016 07:43:03 +0000 (15:43 +0800)]
Use weak assignment for SERIAL_CONSOLES in qemu configuration files
Use weak assignment for SERIAL_CONSOLES in qemu configuration files so that
the value could serve as a default value and could be easily overridden in
configuration files like local.conf.
When using the default value for SERIAL_CONSOLES in qemux86-64,we would have
annoying messages on console complaining about respawning getty on ttyS1.
Although the value is set by purpose, at least we need to provide an easy way
to override it.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Ola x Nilsson [Tue, 25 Oct 2016 11:03:35 +0000 (13:03 +0200)]
recipetool: Load plugins in a well defined order
To allow recipetool plugins in one layer to shadow another in a well
defined way, first search BBPATH/lib/recipetool directories and then
scripts/lib/recipetool and load only the first found.
The previous search and load loop would load all found plugins with the
ones found later replacing any found before.
Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Ola x Nilsson [Tue, 25 Oct 2016 11:03:34 +0000 (13:03 +0200)]
devtool: Load plugins in a well defined order
To allow devtool plugins in one layer to shadow another in a well
defined way, first search BBPATH/lib/devtool directories and then
scripts/lib/devool and load only the first found.
The previous search and load loop would load all found plugins with the
ones found later replacing any found before.
Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Awais Belal [Thu, 8 Dec 2016 14:09:39 +0000 (19:09 +0500)]
grub2: fix some quirks and div by zero
Rather than erroring out on a single attempt while
terminating EFI services, make a few retries because
such quirks are found in a few implementations.
Also fix a div by zero issue in the same framework
which causes an infinite reboot on the target.
Both patches included here are backports.
Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Upstream fixed the issue with GCC. But the build still fails with Clang.
Therefore reintroduce this patch until a better solution is found.
Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=161697
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Mariano Lopez [Thu, 17 Nov 2016 12:18:52 +0000 (12:18 +0000)]
oe-selftest: Add option to submit test result to a git repository.
This new option allows to commit the result to a git repository,
along with the results it will add a metadata file for information
of the current selftest run, such as: hostname, machine, distro,
distro version, host version, and layers.
This implementation will have a branch per different hostname,
testing branch, and machine.
Mariano Lopez [Wed, 30 Nov 2016 16:48:21 +0000 (10:48 -0600)]
oeqa/utils/commands.py: Make a copy of variables in get_bb_vars
The function get_bb_vars will remove items for the list passed
as the function argument, this will leave the caller with an
empty list and the function never says it will consume the items.
This hasn't been found before because only get_bb_var uses this
function.
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Ross Burton [Wed, 7 Dec 2016 11:25:53 +0000 (11:25 +0000)]
cve-check: allow recipes to override the product name
Add a new variable CVE_PRODUCT for the product name to look up in the NVD
database. Default this to BPN, but allow recipes such as tiff (which is libtiff
in NVD) to override it.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Bruce Ashfield [Thu, 8 Dec 2016 17:58:53 +0000 (12:58 -0500)]
kern-tools: ensure that no shared directories are used
We need to avoid using shared/common directories for any files that are
part of specific build, since permissions issues in multi user
environments will cause issues.
Integrating the following commit to solve the issue:
scc: move unused patch queue under output dir
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 8 Dec 2016 17:58:52 +0000 (12:58 -0500)]
linux-yocto/4.8: update to v4.8.12
shortlog of the changes follow:
356ccf6d2b0c Linux 4.8.12 f81c90012f2f scsi: mpt3sas: Unblock device after controller reset 3de3eebb10fd flow_dissect: call init_default_flow_dissectors() earlier 7838fbe25a95 mm, oom: stop pre-mature high-order OOM killer invocations 374ff835e2b6 can: bcm: fix support for CAN FD frames 7ed8d94b99b3 powerpc/boot: Fix the early OPAL console wrappers 7cbe9568fa04 powerpc/mm: Fixup kernel read only mapping 30988ea31783 powerpc: Set missing wakeup bit in LPCR on POWER9 8d248df485f2 device-dax: fail all private mapping attempts f87a483126b5 device-dax: check devm_nsio_enable() return value 5b08489eba14 xc2028: Fix use-after-free bug properly 9030deb21f29 X.509: Fix double free in x509_cert_parse() [ver #3] 0257b7e20c07 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3] bdab996a7a9e mmc: sdhci-of-esdhc: fixup PRESENT_STATE read 0a80bef18a9f parisc: Also flush data TLB in flush_icache_page_asm 09e35a83cdc9 parisc: Fix race in pci-dma.c 3cb2bc6fdc54 parisc: Switch to generic sched_clock implementation 113b60efa37c parisc: Fix races in parisc_setup_cache_timing() b2f64572db2e thermal/powerclamp: add back module device table 6dfe1643b56a perf/x86/intel: Cure bogus unwind from PEBS entries 403f47ddbf6b perf/core: Fix address filter parser c5795c5f682d x86/traps: Ignore high word of regs->cs in early_fixup_exception() 885bad1e5f32 x86/fpu: Fix invalid FPU ptrace state after execve() 1a42cd56229b NFSv4.x: hide array-bounds warning 154c665b2b02 apparmor: fix change_hat not finding hat after policy replacement 9c15a98542f0 cfg80211: limit scan results cache size f204d21ee0b7 tile: avoid using clocksource_cyc2ns with absolute cycle count c707019bef62 scsi: mpt3sas: Fix secure erase premature termination b33387f6a68d Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y 89a28f3a3c77 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad 6476f6530187 USB: serial: cp210x: add ID for the Zone DPMX 7445ffb75ed5 usb: chipidea: move the lock initialization to core file 32fe669c8634 KVM: x86: check for pic and ioapic presence before use c02d13809180 KVM: x86: fix out-of-bounds accesses of rtc_eoi map 39b653013527 KVM: x86: drop error recovery in em_jmp_far and em_ret_far 3c22c81377d4 KVM: x86: fix out-of-bounds access in lapic eb060c1a03f7 iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions 8b23f16343f6 iommu/vt-d: Fix PASID table allocation 36bd5bfe4349 Linux 4.8.11 a9a0027757f8 gpio: pca953x: Fix corruption of other gpios in set_multiple. 88fce76cf590 gpio: pca953x: Move memcpy into mutex lock for set multiple 9a7b80894951 netfilter: nft_dynset: fix element timeout for HZ != 1000 fd4251fa4d09 IB/cm: Mark stale CM id's whenever the mad agent was unregistered 8ce92be782f8 IB/uverbs: Fix leak of XRC target QPs 160149299f71 IB/hfi1: Remove incorrect IS_ERR check 46e47543175b IB/core: Avoid unsigned int overflow in sg_alloc_table 82c377d05311 IB/mlx5: Fix NULL pointer dereference on debug print 554e4b69f1bb IB/mlx5: Fix fatal error dispatching 32091ee63d17 IB/mlx5: Fix memory leak in query device 21822a5bbddd IB/mlx5: Use cache line size to select CQE stride ad886a0e9035 IB/mlx5: Validate requested RQT size 76a93a6f8dd7 IB/mlx4: Fix create CQ error flow 4234e6a06f8b IB/mlx4: Check gid_index return value fc9275365065 IB/rxe: Clear queue buffer when modifying QP to reset 3c87b4a8f6d5 IB/rxe: Fix handling of erroneous WR c4605a0e9605 IB/rxe: Fix kernel panic in UDP tunnel with GRO and RX checksum 04d016249998 IB/rxe: Update qp state for user query bac1543b764c perf hists: Fix column length on --hierarchy 4cba876de64d PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails 2e2c8f0e7502 PM / sleep: fix device reference leak in test_suspend fd669bf2a099 uwb: fix device reference leaks ab17baeaea91 sunrpc: svc_age_temp_xprts_now should not call setsockopt non-tcp transports 8c7ea73e3a9b mfd: core: Fix device reference leak in mfd_clone_cell 545ea4003db9 iwlwifi: mvm: wake the wait queue when the RX sync counter is zero 8bfaf856695b iwlwifi: mvm: fix d3_test with unified D0/D3 images 8cdfd32398b5 iwlwifi: mvm: fix netdetect starting/stopping for unified images 6e3324dc039c iwlwifi: pcie: mark command queue lock with separate lockdep class b822907865cc iwlwifi: pcie: fix SPLC structure parsing edb60ee4bc65 rtc: omap: Fix selecting external osc 5f95e68daae3 clk: imx: fix integer overflow in AV PLL round rate fec43900c9b7 clk: mmp: mmp2: fix return value check in mmp2_clk_init() 63465eaf7b2e clk: mmp: pxa168: fix return value check in pxa168_clk_init() a42bbd552ded clk: mmp: pxa910: fix return value check in pxa910_clk_init() bb6c9ec826be virtio-net: drop legacy features in virtio 1 mode 899f5426eebf drm/i915: Assume non-DP++ port if dvo_port is HDMI and there's no AUX ch specified in the VBT f6920e506992 drm/i915: Refresh that status of MST capable connectors in ->detect() 56a02a5f60ea drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5) 3eac4767dd7e powerpc/64: Fix setting of AIL in hypervisor mode fc312878ffe3 crypto: caam - do not register AES-XTS mode on LP units 54f28973e8a5 ARM: dts: imx53-qsb: Fix regulator constraints 7001b98b9dce ext4: sanity check the block and cluster size at mount time 56df604296c2 kbuild: Steal gcc's pie from the very beginning e14754cb8f0c x86/kexec: add -fno-PIE ad4e2f324ade scripts/has-stack-protector: add -fno-PIE 1c7727d0bca0 kbuild: add -fno-PIE 20bcbe246933 Disable the __builtin_return_address() warning globally after all 504b60516ba7 i2c: i2c-mux-pca954x: fix deselect enabling for device-tree 45244660281c i2c: mux: fix up dependencies ce97f5012b6d ALSA: hda - Fix mic regression by ASRock mobo fixup 23e14ee1abcf ALSA: hda - add a new condition to check if it is thinkpad 85fcb62a58b2 ALSA: usb-audio: Fix use-after-free of usb_device at disconnect e902f10da218 gpio: do not double-check direction on sleeping chips b21b327d96bc can: bcm: fix warning in bcm_connect/proc_register 50e6cd2feff7 mfd: stmpe: Fix RESET regression on STMPE2401 e015527c6fbd mfd: intel-lpss: Do not put device in reset state on suspend 8b4d44f46bf2 IB/hfi1: Fix rnr_timer addition 06eac15f11e0 IB/rdmavt: rdmavt can handle non aligned page maps ca720a2b11b4 fuse: fix fuse_write_end() if zero bytes were copied de58c50e84e2 genirq: Use irq type from irqdata instead of irqdesc 8844024c8839 ftrace: Add more checks for FTRACE_FL_DISABLED in processing ip records c5d20ce0b459 ftrace: Ignore FTRACE_FL_DISABLED while walking dyn_ftrace records f271087fb2ea KVM: arm64: Fix the issues when guest PMCCFILTR is configured 8d8b37e242de arm64: KVM: pmu: Fix AArch32 cycle counter access 1cb9b2489e77 KVM: Disable irq while unregistering user notifier 23555ca21394 KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr f8c74cf95655 x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 8 Dec 2016 17:58:51 +0000 (12:58 -0500)]
linux-yocto/4.4: update to v4.4.36
shortlog of the changes follow:
87c6c6ef5b17 Linux 4.4.36 6eddf5c993dd scsi: mpt3sas: Unblock device after controller reset c178e4809df7 flow_dissect: call init_default_flow_dissectors() earlier 0b7860d6e88c mei: fix return value on disconnection bab2f72f70ea mei: me: fix place for kaby point device ids. 4f13967ecd20 mei: me: disable driver on SPT SPS firmware e1049372d7a7 drm/radeon: Ensure vblank interrupt is enabled on DPMS transition to on 249090830942 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3] cd4235a794c0 parisc: Also flush data TLB in flush_icache_page_asm 7a1ab6a2bf3a parisc: Fix race in pci-dma.c e541fd815db9 parisc: Fix races in parisc_setup_cache_timing() 0c0ddbf7efec NFSv4.x: hide array-bounds warning be79d7fa43f9 apparmor: fix change_hat not finding hat after policy replacement 8316338a201b cfg80211: limit scan results cache size 4df31626fc08 tile: avoid using clocksource_cyc2ns with absolute cycle count ffffc1ed47e7 scsi: mpt3sas: Fix secure erase premature termination ab0867dd8bc8 Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y f3f95f177269 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad 1f36db0b397f USB: serial: cp210x: add ID for the Zone DPMX 55d061bf9d23 usb: chipidea: move the lock initialization to core file 341f9730c29b KVM: x86: check for pic and ioapic presence before use b7f9404d1b48 KVM: x86: drop error recovery in em_jmp_far and em_ret_far c091bbddbc5e iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions d88a1bd00cfa iommu/vt-d: Fix PASID table allocation 0a5b451a53d4 Linux 4.4.35 1ba7fafae3c2 netfilter: nft_dynset: fix element timeout for HZ != 1000 698a8dddb8a5 IB/cm: Mark stale CM id's whenever the mad agent was unregistered 2b026a265a9a IB/uverbs: Fix leak of XRC target QPs eba83a85caba IB/core: Avoid unsigned int overflow in sg_alloc_table c524185c81d4 IB/mlx5: Fix fatal error dispatching 734039913373 IB/mlx5: Use cache line size to select CQE stride 7cf5b7882184 IB/mlx4: Fix create CQ error flow 41664d7077e9 IB/mlx4: Check gid_index return value 04c0800c73b2 PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails 469fcbcb84d8 PM / sleep: fix device reference leak in test_suspend 680bc27065b9 uwb: fix device reference leaks dd214a159de6 mfd: core: Fix device reference leak in mfd_clone_cell d2adb5ebec61 iwlwifi: pcie: fix SPLC structure parsing 1f995573bac8 rtc: omap: Fix selecting external osc c8aa3e98c1a8 clk: mmp: mmp2: fix return value check in mmp2_clk_init() 96576127ffb7 clk: mmp: pxa168: fix return value check in pxa168_clk_init() a4709b4582ac clk: mmp: pxa910: fix return value check in pxa910_clk_init() d039fc37ec7f drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5) 96f10a6239a2 crypto: caam - do not register AES-XTS mode on LP units 454cf79b05c5 ext4: sanity check the block and cluster size at mount time 147117cf23c0 kbuild: Steal gcc's pie from the very beginning e543f094a38a x86/kexec: add -fno-PIE 3a868dde1824 scripts/has-stack-protector: add -fno-PIE f740b5cc39dd kbuild: add -fno-PIE 936d157fa7ae i2c: mux: fix up dependencies 4e583b89add6 can: bcm: fix warning in bcm_connect/proc_register 0c6e0db9686b mfd: intel-lpss: Do not put device in reset state on suspend b7321bcc8b1c fuse: fix fuse_write_end() if zero bytes were copied d4a774fdb92f KVM: Disable irq while unregistering user notifier b689e86c9a8f KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr aea9d760b8ba x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems 4eb9a8100248 Linux 4.4.34 b4bbdcef7d90 sparc64: Delete now unused user copy fixup functions. cb85910b0d45 sparc64: Delete now unused user copy assembler helpers. 1c7e17b1c4d6 sparc64: Convert U3copy_{from,to}_user to accurate exception reporting. 7181969338f8 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting. bfc8be659309 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting. dc3a7a7d2c85 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting. 1731d90d8a55 sparc64: Convert U1copy_{from,to}_user to accurate exception reporting. 8a444c770f6e sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting. c718e917b3d3 sparc64: Convert copy_in_user to accurate exception reporting. dd8a78b2b6ad sparc64: Prepare to move to more saner user copy exception handling. 756723ad553d sparc64: Delete __ret_efault. f5a69ff7486e sparc64: Handle extremely large kernel TLB range flushes more gracefully. d36a1ac49d24 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code. 5d8eb954763d sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending. 217f829ae967 sparc64: Fix illegal relative branches in hypervisor patched TLB code. 2ba06323db41 sparc64: Handle extremely large kernel TSB range flushes sanely. 75931800733c sparc: Handle negative offsets in arch_jump_label_transform 8fd11efa2140 sparc64 mm: Fix base TSB sizing when hugetlb pages are used 4e90b6880135 sparc: serial: sunhv: fix a double lock bug a395f7a66eec sparc: Don't leak context bits into thread->fault_address 4e772c53ab98 tty: Prevent ldisc drivers from re-using stale tty fields 225a24ae9733 tcp: take care of truncations done by sk_filter() ae9e052a58ef ipv4: use new_gw for redirect neigh lookup 5c67f9477bb2 net: __skb_flow_dissect() must cap its return value b67ed647d135 sock: fix sendmmsg for partial sendmsg 0650eeb4f187 fib_trie: Correct /proc/net/route off by one error 3f8857a4971d sctp: assign assoc_id earlier in __sctp_connect 65d29c185614 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped 99131760a885 ipv6: dccp: fix out of bound access in dccp_v6_err() a2df29ed840f dccp: fix out of bound access in dccp_v4_err() ad6d0a82016b dccp: do not send reset to already closed sockets 69a5c7ca2e62 tcp: fix potential memory corruption 8777977b22c4 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit() c5bad811ca4d bgmac: stop clearing DMA receive control register right after it is set 6e9ca1b61cc8 net: mangle zero checksum in skb_checksum_help() ac4c2cf6f57a net: clear sk_err_soft in sk_clone_lock() 74e53a3a053f dctcp: avoid bogus doubling of cwnd after loss 86429bd405de Linux 4.4.33 21cc1a183a9d netfilter: fix namespace handling in nf_log_proc_dostring ee5dd6878886 btrfs: qgroup: Prevent qgroup->reserved from going subzero ae6d4df4a7a0 mmc: mxs: Initialize the spinlock prior to using it ae5b8dbfe6be ASoC: sun4i-codec: return error code instead of NULL when create_card fails 125e84726d7c ACPI / APEI: Fix incorrect return value of ghes_proc() 5cd2cd84d573 i40e: fix call of ndo_dflt_bridge_getlink() 5be7e6b48b21 hwrng: core - Don't use a stack buffer in add_early_randomness() ba8580f6cf03 lib/genalloc.c: start search from start of chunk c048b6711ed6 mei: bus: fix received data size check in NFC fixup 19426f065d1e iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path f029e7b34f25 iommu/amd: Free domain id when free a domain of struct dma_ops_domain f5bb84163704 tty/serial: at91: fix hardware handshake on Atmel platforms 49163391881a dmaengine: at_xdmac: fix spurious flag status for mem2mem transfers fff40ee4d224 drm/i915: Respect alternate_ddc_pin for all DDI ports d7b0055e5566 KVM: MIPS: Precalculate MMIO load resume PC d24587404922 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk 6e897d034d4c scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init 29cf142cefed iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver) caff14e99c63 iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation. dbbc5e6bcf36 clk: qoriq: Don't allow CPU clocks higher than starting value 2c5cdadeab5d toshiba-wmi: Fix loading the driver on non Toshiba laptops f523deedff82 drbd: Fix kernel_sendmsg() usage - potential NULL deref f1de32232db3 usb: gadget: u_ether: remove interrupt throttling 0ab4186bf238 USB: cdc-acm: fix TIOCMIWAIT 290ffd550e34 staging: nvec: remove managed resource from PS2 driver 4aa859ea591e Revert "staging: nvec: ps2: change serio type to passthrough" 729eb8d9f7b7 drivers: staging: nvec: remove bogus reset command for PS/2 interface 6bba8c37ceed staging: iio: ad5933: avoid uninitialized variable in error case a98e483ca784 pinctrl: cherryview: Prevent possible interrupt storm on resume 126d0a2fe878 pinctrl: cherryview: Serialize register access in suspend/resume c45bfaa9211e ARC: timer: rtc: implement read loop in "C" vs. inline asm 3b21a0b468a3 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment e835220ed25f coredump: fix unfreezable coredumping task 5c54f79ad234 swapfile: fix memory corruption via malformed swapfile 2f7496c48a7b dib0700: fix nec repeat handling a04769029386 ASoC: cs4270: fix DAPM stream name mismatch f3155797b91c ALSA: info: Limit the proc text input size c1ea2b3c07c6 ALSA: info: Return error for invalid read/write
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 8 Dec 2016 17:58:49 +0000 (12:58 -0500)]
linux-yocto/4.4/4.8: Fix remaining kernel_configcheck warnings in Intel BSPs
Integrating the following meta-data change to remove warnings during
kernel configuration checking:
bec7e0ace0e5 leds.cfg: Remove CONFIG_LEDS_TRIGGER_CPU cc857e64ea34 bsp/intel-quark: Remove bosch-pressure-sensor-i2c 3198ab25af74 features/i2c: Support I2C_MUX by default
Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CallTrace occurred on 32-bit kernel with CONFIG_PROVE_LOCKING
enabled.
This happens at ixgbe driver probe hardware stage, when comes to
ixgbe_get_stats64, the seqcount/seqlock still not initialize, although
this was initialize in TX/RX resources setup routin, but it was too late,
then lockdep give this Warning.
To fix this, move the u64_stats_init function to driver probe stage,
which before we get the status of seqcount and after the RX/TX ring
was finished init.
Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Author: Kexin(Casey) Chen <Casey.Chen@windriver.com>
Date: Tue Nov 29 14:14:07 2016 -0800
aufs: fix compile warning
fs/aufs/debug.h:95:19: warning: comparison of constant '0'
with boolean expression is always false [-Wbool-compare]
if (unlikely((e) < 0)) \
^
fs/aufs/vdir.c:852:2: note: in expansion of macro 'AuTraceErr'
AuTraceErr(!valid);
^~~~~~~~~~
In expansion of AuTraceErr(!valid), comparison of (!valid)
and constant '0' always passes unlikely(x) false. function
'static int seek_vdir(struct file *file, struct dir_context *ctx)'
is to find whether there is a valid vd_deblk following ctx->pos.
return 1 means valid, 0 for not. Change to AuTraceErr(valid - 1)
makes more sense.
Signed-off-by: Kexin(Casey) Chen <Casey.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The imp python module is the forerunner of importlib. Include imp in
the importlib subpackage instead of the misc subpackage so that it can
be depended on without bringing in a bunch of unrelated, unused modules.
Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Andreas Müller [Tue, 6 Dec 2016 10:33:31 +0000 (11:33 +0100)]
liburi-perl: update to 1.71
Old version was broken by perl update. It was found by investigating configure
errors in meta-qt5-extra/kf5:
| [superandy@mueller-a-nb-linux 5.28.0-r0]$ /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/bin/perl-native/perl -e "use URI::Escape"
| \C no longer supported in regex; marked by <-- HERE in m/(\ <-- HERE C)/ at /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/lib/perl-native/perl/vendor_perl/5.24.0/URI/Escape.pm line 205.
| Compilation failed in require at -e line 1.
| BEGIN failed--compilation aborted at -e line 1.
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Haris Okanovic [Mon, 5 Dec 2016 21:48:18 +0000 (15:48 -0600)]
run-postinsts: Print message before running deferred postinst scripts
Opkg can defer running postinst scripts to first boot, which can take
a while on some systems. The output of `opkg configure` (or whatever pm
is used) is redirected to a file when logging is enabled
(I.e. $POSTINST_LOGGING == 1), making the machine appear hung during
this process. This change simply prints a wait message on the console
to inform the user of this potentially long and silent operation so
that they do not mistakenly reboot their machine.
Why not simply `tee` the output instead?
Tee might be provided by BusyBox in some distros, which may need to run
update-alternatives in the very postinst scripts being executed by this
process. It's therefore not safe to assume Tee (or any other packaged
util) is available until the configure process finishes.
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Marek Vasut [Mon, 7 Nov 2016 18:20:06 +0000 (19:20 +0100)]
u-boot: mkimage: Fix build of u-boot-mkimage
The build failed in multiple configurations. First, the native and
nativesdk was using the host compiler and was pulling host libraries
into the build. Second, the target configuration was attempting to
execute tools/bin2header tool on host, which is compiled for target,
to generate license header file that is not used by tools.
This patch changes the EXTRA_OEMAKE to address these issues, to build
both native and target builds with the correct compilers and correct
sysroots. Moreover, this patch removes the CONFIG_CMD_LICENSE from
tools build, thus disabling the execution of target tools/bin2header.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Ross Burton <ross.burton@intel.com>
Contains just enough to mount and unmount nfs volumes, i.e.
the same as nfs-utils-client before commit 39bb7e3 ("nfs-utils:
separate package as Debain style").
Drop nfs-utils-client's dependency on bash. It contains two shell
scripts, /etc/init.d/nfscommon and /usr/sbin/start-statd, both
using /bin/sh.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
update-rc.d: ignore initscript in prerm and preinst when systemd is active
In hybrid systemd/sysvinit builds, if the recipe inherits systemd and systemd
is installed, we can safely assume that the service gets stopped by the prerm
script fragment from systemd.bbclass. This fixes deinstallation of packages
with initscripts returning errors when no running service was found. The preinst
shouldn't run the initscript either, because postinst will call systemctl restart.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
libc-package.bbclass: split binary localedata even more if asked to
If GLIBC_SPLIT_LC_PACKAGES is set to a non-zero value, convert
glibc-binary-localedata-XX-YY to be a meta package depending on
glibc-binary-localedata-XX-YY-lc-address and so on. This enables
saving quite some space if someone doesn't need LC_COLLATE for
example.
Some regex code was removed from output_locale_binary_rdepends,
because legitimize_package_name already converts to lowercase.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
Robert Yang [Mon, 5 Dec 2016 14:54:40 +0000 (06:54 -0800)]
image.bbclass: inherit image_types_uboot when needed
Fixed:
MACHINE = "qemuarm"
IMAGE_FSTYPES += "ext3.bz2.u-boot"
[snip]
No IMAGE_CMD defined for IMAGE_FSTYPES entry 'ext3.bz2.u-boot' - possibly invalid type name or missing support class
[snip]
This is because image_types_uboot is not inherited, inherit it when
needed will fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Yet another instance of us expecting a string back from subprocess when
in Python 3 what you get back is bytes. Just decode the output within
run_command() so we avoid this everywhere.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Khem Raj [Mon, 28 Nov 2016 21:26:06 +0000 (13:26 -0800)]
systemd: Upgrade to 232
* Drop support for rcS.d SysV init scripts.
These are prone to cause dependency loops, and almost all packages with
rcS scripts now ship a native systemd service.
* Drop mount propagation patch, it only happens with libseccomp, OE doesnt
enable it
* kdbus option has disappeared from configure
* Ignore dev-so for PN now since systemd introduced private .so see
https://github.com/systemd/systemd/issues/3810
* Add libnss* to PACKAGES_DYNAMIC for libnss-resolve to work correctly
* Forward port systemd-boot patches to systemd-232
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Khem Raj [Fri, 2 Dec 2016 19:32:52 +0000 (11:32 -0800)]
libva: Import from meta-intel and update to 1.7.3
This recipe is used by intel and amd BSP layers
additional copies are also there see
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=libva
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Mingli Yu [Wed, 7 Dec 2016 08:01:11 +0000 (16:01 +0800)]
tiff: Security fix CVE-2016-9535
* libtiff/tif_predict.h, libtiff/tif_predict.c:
Replace assertions by runtime checks to avoid assertions in debug mode,
or buffer overflows in release mode. Can happen when dealing with
unusual tile size like YCbCr with subsampling.
Richard Purdie [Wed, 7 Dec 2016 13:54:18 +0000 (13:54 +0000)]
subversion: Fix issues in LDFLAGS sed manipulation
The existing sed expression can match expressions like
--sysroot=/some/path/xxx-linux/ which clearly isn't intended and
injects incorrect paths into LDFLAGS.
Fix this in the same way we address the problem in CFLAGS. This fixes corrupt
build paths and incorrect paths in .la files amongst other issues.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 7 Dec 2016 12:07:31 +0000 (12:07 +0000)]
attr: Convert SSTATEPOSTINSTFUNCS to a do_install_append
A SSTATEPOSTINSTFUNCS function here is overkill, just do this in a
do_install_append_class-native and create relative symlinks rather
than absolute ones which would then have to be relocated.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>