summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* lib/oe/rootfs: fix log_check warnings being printed twice with RPM packagingPaul Eggleton2017-01-111-2/+0
| | | | | | | | | | | | | | | | | We were calling _log_check() in the RPM-specific rootfs class as well as in the base class; this is unnecessary and resulted in any errors/warnings generated during the actual package installation time triggering two warnings instead of one. Drop the call from RpmRootfs._create() to fix this. (From OE-Core rev: 541c56d755ba0354297673e857628026ad9e4df2) (From OE-Core rev: 9654a6a238a44ed1025a45e4ad1cb779a8684344) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtiff: Update to 4.0.7Armin Kuster2017-01-1120-2221/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major changes: The libtiff tools bmp2tiff, gif2tiff, ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed from the distribution, used for demos. CVEs fixed: CVE-2016-9297 CVE-2016-9448 CVE-2016-9273 CVE-2014-8127 CVE-2016-3658 CVE-2016-5875 CVE-2016-5652 CVE-2016-3632 plus more that are not identified in the changelog. removed patches integrated into update. more info: http://libtiff.maptools.org/v4.0.7.html (From OE-Core rev: 9945cbccc4c737c84ad441773061acbf90c7baed) (From OE-Core rev: 009b330591b27bd14d4c8ceb767c78fd7eb924fd) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: explicitly trap subcommand errorsBruce Ashfield2017-01-111-0/+7
| | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: a4705e62d0973c290011fc0d250501d358b659e8) (From OE-Core rev: a4888a63620fa05e1399355d9e20c2da586efb4c) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.8: update to -rt7Bruce Ashfield2017-01-113-4/+4
| | | | | | | | | | | | | | | Updating to the latest 4.8-rt (From OE-Core rev: 9f4565a308be55c1bf11706041c0565d48bda4f4) (From OE-Core rev: d7ca7a37c8a5f8baefadc44bdfc1a697d2fe4616) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Enable backtrace from abort on ARMYuanjie Huang2017-01-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ARM stack frames for abort and raise were limited to the the actual abort and raise call, such as: Obtained 4 stack frames. ./test-app(print_trace+0x1c) [0x10a08] ./test-app() [0x10b3c] /lib/libc.so.6(__default_sa_restorer+0) [0x4adae1e0] /lib/libc.so.6(gsignal+0xa0) [0x4adacf74] This is not terribly useful when trying to figure out what function may have called called the abort, especially when using pthreads. After the change the trace would now look like: Obtained 8 stack frames. ./test-app(print_trace+0x1c) [0x10a08] ./test-app() [0x10b3c] /lib/libc.so.6(__default_sa_restorer+0) [0x4befe1e0] /lib/libc.so.6(gsignal+0xa0) [0x4befcf74] /lib/libc.so.6(abort+0x134) [0x4befe358] ./test-app(dummy_function+0x50) [0x10adc] ./test-app(main+0xd4) [0x10c24] /lib/libc.so.6(__libc_start_main+0x114) [0x4bee7a58] (From OE-Core rev: 93bf8713d8e13c278543baea94fb8dad0cb80e49) (From OE-Core rev: b0e6a6048fa09dceac78bf8c46d484690ff5b098) Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Use weak assignment for SERIAL_CONSOLES in qemu configuration filesChen Qi2017-01-117-7/+7
| | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 5f060b66162c41a295995947b918253450870117) (From OE-Core rev: 5a19335f0f1d763a066a8c9ead23bb332e229f93) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* archiver: don't change directory when generating tarballRoss Burton2017-01-111-6/+2
| | | | | | | | | | | | | | There's no need to chdir() as tarfile.add() can be told what name to use in the archive. (From OE-Core rev: d0b282bce34db44dde4dd7f53a64dfaafe6789de) (From OE-Core rev: d637d5f02be4eab26cfab7352a8ea584fb1f7e4d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2: fix some quirks and div by zeroAwais Belal2017-01-113-0/+124
| | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 5e6ac806bd9b8bf885ef1e88484e91e4cdaaa69a) (From OE-Core rev: dbe597b317067362e7acddbefd0d6768f6a44e8c) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libarchive: fix ALTERNATIVE_PRIORITY to avoid conflictChen Qi2017-01-111-1/+1
| | | | | | | | | | | | | | | | | 'tar' utility from tar and bsdtar has the same alternative priority. 'cpio' utility from cpio and bsdcpio has the same alternative priority. Lower the ALTERNATIVE_PRIORITY to avoid conflict. (From OE-Core rev: 9a59ff628771b586666999d44923968a6bc58956) (From OE-Core rev: 773ea033e973abd2b97c62b8095d7142c020ad24) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: allow recipes to override the product nameRoss Burton2017-01-111-1/+5
| | | | | | | | | | | | | | | 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. (From OE-Core rev: ba330051570a4c991885ee726cb187e0c911bd4f) (From OE-Core rev: bee636b759feafba544e95d6355c52eb85e4ba72) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: set CVE_PRODUCTRoss Burton2017-01-111-0/+1
| | | | | | | | | | | | | This is 'libcurl' in NVD. (From OE-Core rev: f5381da49ac781ef017a1b9816c00b512ca9c7c2) (From OE-Core rev: ae9910f08207d0bb1c57e72e4463768bc0445e48) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: set CVE_PRODUCTRoss Burton2017-01-111-1/+1
| | | | | | | | | | | | | This is 'libtiff' in NVD. (From OE-Core rev: 0c8d1523f3ad0ada2d1b8f9abffbc2b898a744ca) (From OE-Core rev: e89a617a64e25036b4f172692c7a461b5291cabb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* targetloader.py: drop test for ClassTypeJuro Bystricky2017-01-111-2/+0
| | | | | | | | | | | | | | | | | | | ClassType was removed from python3. The code testing for ClassType kept throwing AttributeError exceptions: module 'types' has no attribute 'ClassType' The exceptions prevented loading of any dynamically resolved target controllers. (From OE-Core rev: d62f18c39bc0ed3b0f5ac8465b393c15f2143ecf) (From OE-Core rev: 6258471b7077839519898d537b99dce0a0fc8aa4) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.x: CVE-2016-8655Bruce Ashfield2017-01-119-30/+30
| | | | | | | | | | | | | | Backporting upstream commit 84ac726023 [packet: fix race condition in packet_set_ring] to address CVE-2016-8655 (From OE-Core rev: db7799747b263507427e325638353142ae79403c) (From OE-Core rev: 9ec9712436080bb08c99d5ac6783383955bb7dc1) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt/4.4: update to -rt43Bruce Ashfield2017-01-111-1/+1
| | | | | | | | | | | | | | After the update to 4.4.36 -rt no longer builds. The fixes for the issues are found in the v4.4-rt43 release. (From OE-Core rev: 262fff10ba5cdedbee9ba9ecf00f98dc9159477c) (From OE-Core rev: 86e24908bb28d4e0ee7defdc64a2efd8eefe37c7) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: ensure that no shared directories are usedBruce Ashfield2017-01-111-1/+1
| | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: cad65cc0eef2e06cb5ae08062ffae7a4d43a51ad) (From OE-Core rev: e57f861496ed07aca8785a53971b34c99a4d64bd) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.8: update to v4.8.12Bruce Ashfield2017-01-113-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: beb9adb4763a1bbed182503371921e676ccd4ae2) (From OE-Core rev: a09653cae042c287c109f6891f7abedfddaba828) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.4: update to v4.4.36Bruce Ashfield2017-01-113-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 7d8d71ba5bc2dd8884c3f43a8d71a6d399c4e2fe) (From OE-Core rev: ccca1eda8bb40dc79099d80e0314521aafa9f4aa) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yoct/4.1: update to v4.1.36Bruce Ashfield2017-01-113-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shortlog of the changes: 8576fa45c10e Linux 4.1.36 39f99860357c kbuild: add -fno-PIE bf5d3d296abf firewire: net: fix fragmented datagram_size off-by-one c604dec3d5a6 firewire: net: guard against rx buffer overflows 9fe6256c0020 parisc: Ensure consistent state when switching to kernel stack at syscall entry 83a474ed7003 ovl: fsync after copy-up c0b309f18b01 virtio: console: Unlock vqs while freeing buffers 4fe9ae4d3fcf md: be careful not lot leak internal curr_resync value into metadata. -- (all) e1e5cab9b43c md: sync sync_completed has correct value as recovery finishes. 97d53c4d89e0 scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware d207c6603fc6 scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded 169eb57c9e8d drm/radeon/si_dpm: workaround for SI kickers c1593e5dcc2a drm/dp/mst: Check peer device type before attempting EDID read e5c6bbbcc7be drm/dp/mst: add some defines for logical/physical ports dadd5803301f drm/dp/mst: Clear port->pdt when tearing down the i2c adapter a2d4bd9c99cc KVM: MIPS: Precalculate MMIO load resume PC b05ff0cb0dea KVM: MIPS: Make ERET handle ERL before EXL 90a107c0b85b drm/radeon: drop register readback in cayman_cp_int_cntl_setup 9a9a2373142a scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices 1b15bd739689 Revert "drm/radeon: fix DP link training issue with second 4K monitor" 5bc028b10d04 powerpc: Convert cmp to cmpd in idle enter sequence 00a4335dfaa5 drm/radeon/si_dpm: Limit clocks on HD86xx part 469bc68e081c drm/radeon/si/dpm: add workaround for for Jet parts 85a2af9f690a USB: serial: cp210x: fix tiocmget error handling 0854ce492ec3 Input: i8042 - add XMG C504 to keyboard reset table 0e9bbbdfe9f8 ALSA: hda - Merge RIRB_PRE_DELAY into CTX_WORKAROUND caps 02426cf24407 mac80211: discard multicast and 4-addr A-MSDUs f065a553f36e ubifs: Fix regression in ubifs_readdir() 5fdb4fad291f GenWQE: Fix bad page access during abort of resource allocation 55a2f87cd564 mm/list_lru.c: avoid error-path NULL pointer deref 52e7b6bd8378 btrfs: fix races on root_log_ctx lists 9f2d48f0745f vt: clear selection before resizing 93ec720c6f10 tty: limit terminal size to 4M chars ca963122cab2 ALSA: usb-audio: Add quirk for Syntek STK1160 3dc8f1f0decb KEYS: Fix short sprintf buffer in /proc/keys show function 1f7ff6f7910e hv: do not lose pending heartbeat vmbus packets 9662d19bab68 mei: txe: don't clean an unprocessed interrupt cause. a64291d578dd ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct 11924cba404d ANDROID: binder: Add strong ref checks 39709c84807f dm table: fix missing dm_put_target_type() in dm_table_add_target() c91812c8ef76 usb: increase ohci watchdog delay to 275 msec 51b231bd1a95 arm64: KVM: Take S1 walks into account when determining S2 write faults bb21e0295064 arm/arm64: KVM: Handle out-of-RAM cache maintenance as a NOP 7fbfac87fbf5 USB: serial: fix potential NULL-dereference at probe 605a6960617f xhci: workaround for hosts missing CAS bit c23a6dce1147 xhci: add restart quirk for Intel Wildcatpoint PCH 4c17f91bb370 kvm: x86: memset whole irq_eoi 9c5e89d59d56 libxfs: clean up _calc_dquots_per_chunk d1375c3e4f2e target: Don't override EXTENDED_COPY xcopy_pt_cmd SCSI status code ac49951623e1 target: Re-add missing SCF_ACK_KREF assignment in v4.1.y eaf55207fe3b ubifs: Abort readdir upon error b9ce8700a2e3 UBIFS: Fix possible memory leak in ubifs_readdir() cad1ca2a9485 ubifs: Fix xattr_names length in exit paths dfeb7e4f30e9 arm64: percpu: rewrite ll/sc loops in assembly 3c9c01324032 powerpc/mm: Prevent unlikely crash in copro_calculate_slb() c1f5e5f89b99 isofs: Do not return EACCES for unknown filesystems b15662c8e266 irqchip/gic-v3-its: Fix entry size mask for GITS_BASER af17243fc1b4 arm64: kernel: Init MDCR_EL2 even in the absence of a PMU c911b72eaff1 USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7 59eabe8bb60f memstick: rtsx_usb_ms: Manage runtime PM when accessing the device 86559fc191ca memstick: rtsx_usb_ms: Runtime resume the device when polling for cards a89634cf709b mmc: rtsx_usb_sdmmc: Handle runtime PM while changing the led e79c2f2f7b30 mmc: rtsx_usb_sdmmc: Avoid keeping the device runtime resumed when unused f125e7f2285c mmc: sdhci: cast unsigned int to unsigned long long to avoid unexpeted error 517052446f36 usb: gadget: function: u_ether: don't starve tx request queue 66f38bf99faa ceph: fix error handling in ceph_read_iter 9e9ca450cd93 irqchip/gicv3: Handle loop timeout proper 88b6c9f4146a drm/radeon: change vblank_time's calculation method to reduce computational error. dcf4c1144f3a jbd2: fix incorrect unlock on j_list_lock a3da255ead60 scsi: Fix use-after-free 8df981058e4f mmc: core: Annotate cmd_hdr as __le32 7ea3d2e9c6aa x86/mm: Expand the exception table logic to allow new handling options (From OE-Core rev: 41ab5422d4dc62b6e21ccad975b2a22960d3a44b) (From OE-Core rev: cf6fd639735709e8216b257ccc0c4a431dec499e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.4/4.8: Fix remaining kernel_configcheck warnings in Intel BSPsBruce Ashfield2017-01-116-6/+6
| | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 2cf5fae50a3b7f232ad667c6c60eaa3f2aafd149) (From OE-Core rev: 84268e01a48d074f45af8d5e8f36ab9a99505176) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.8: aufs warning and ixgbe calltraceBruce Ashfield2017-01-113-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following commits to fix aufs/ixgbe issues: Author: Liwei Song <liwei.song@windriver.com> Date: Mon Dec 5 00:50:16 2016 -0500 ixgbe: initialize u64_stats_sync structures early at ixgbe_probe Fix the following CallTrace: INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 71 PID: 1 Comm: swapper/0 Not tainted 4.8.8-WR9.0.0.1_standard #11 Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS GRNDSDP1.86B.0036.R05.1407140519 07/14/2014 00200086 00200086 eb5e1ab8 c144dd70 00000000 00000000 eb5e1af8 c10af89a c1d23de4 eb5e1af8 00000009 eb5d8600 eb5d8638 eb5e1af8 c10b14d8 00000009 0000000a c1d32911 00000000 00000000 e44c826c eb5d8000 eb5e1b74 c10b214e Call Trace: [<c144dd70>] dump_stack+0x5f/0x8f [<c10af89a>] register_lock_class+0x25a/0x4c0 [<c10b14d8>] ? check_irq_usage+0x88/0xc0 [<c10b214e>] __lock_acquire+0x5e/0x17a0 [<c1abdb9b>] ? _raw_spin_unlock_irqrestore+0x3b/0x70 [<c10cf14a>] ? rcu_read_lock_sched_held+0x8a/0x90 [<c10b3c5f>] lock_acquire+0x9f/0x1f0 [<c1922dcf>] ? dev_get_stats+0x5f/0x110 [<c176e6b3>] ixgbe_get_stats64+0x113/0x320 [<c1922dcf>] ? dev_get_stats+0x5f/0x110 [<c1922dcf>] dev_get_stats+0x5f/0x110 [<c1ab5415>] rtnl_fill_stats+0x40/0x105 [<c193dd45>] rtnl_fill_ifinfo+0x4c5/0xd20 [<c11c5115>] ? __kmalloc_node_track_caller+0x1a5/0x410 [<c1917487>] ? __kmalloc_reserve.isra.42+0x27/0x80 [<c191754f>] ? __alloc_skb+0x6f/0x270 [<c1942291>] rtmsg_ifinfo_build_skb+0x71/0xd0 [<c194230a>] rtmsg_ifinfo.part.23+0x1a/0x50 [<c1923dad>] ? call_netdevice_notifiers_info+0x2d/0x60 [<c194236b>] rtmsg_ifinfo+0x2b/0x40 [<c192f997>] register_netdevice+0x3d7/0x4d0 [<c192faa7>] register_netdev+0x17/0x30 [<c177b83d>] ixgbe_probe+0x118d/0x1610 [<c1498202>] local_pci_probe+0x32/0x80 [<c1498172>] ? pci_match_device+0xd2/0x100 [<c14991e0>] pci_device_probe+0xc0/0x110 [<c1652cc5>] driver_probe_device+0x1c5/0x280 [<c1498172>] ? pci_match_device+0xd2/0x100 [<c1652e09>] __driver_attach+0x89/0x90 [<c1652d80>] ? driver_probe_device+0x280/0x280 [<c165114f>] bus_for_each_dev+0x4f/0x80 [<c165269e>] driver_attach+0x1e/0x20 [<c1652d80>] ? driver_probe_device+0x280/0x280 [<c1652317>] bus_add_driver+0x1a7/0x220 [<c1653a79>] driver_register+0x59/0xe0 [<c1f897b8>] ? igb_init_module+0x49/0x49 [<c1497b2a>] __pci_register_driver+0x4a/0x50 [<c1f8985d>] ixgbe_init_module+0xa5/0xc4 [<c1000485>] do_one_initcall+0x35/0x150 [<c107e818>] ? parameq+0x18/0x70 [<c1f395d8>] ? repair_env_string+0x12/0x51 [<c107ead0>] ? parse_args+0x260/0x3b0 [<c1074f73>] ? __usermodehelper_set_disable_depth+0x43/0x50 [<c1f39e90>] kernel_init_freeable+0x19b/0x267 [<c1f395c6>] ? set_debug_rodata+0xf/0xf [<c10b1e7b>] ? trace_hardirqs_on+0xb/0x10 [<c1abdc02>] ? _raw_spin_unlock_irq+0x32/0x50 [<c1085f0b>] ? finish_task_switch+0xab/0x1f0 [<c1085ec9>] ? finish_task_switch+0x69/0x1f0 [<c1ab6a30>] kernel_init+0x10/0x110 [<c108bd65>] ? schedule_tail+0x25/0x80 [<c1abe422>] ret_from_kernel_thread+0xe/0x24 [<c1ab6a20>] ? rest_init+0x130/0x130 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> (From OE-Core rev: ae7d870954cf6a3608933335fedc425677aee0e3) (From OE-Core rev: 815e3fdaa7964773587e24d40f3eaedc00cae10b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffutils: do_configure: fix "Argument list too long"Robert Yang2017-01-111-0/+3
| | | | | | | | | | | | | | | | | | | | | Fixed when len(TMPDIR) = 410: aclocal: error: cannot open echo [snip]: Argument list too long This is becuase it has a lot of m4 files, use relative path for them can fix the problem. It doesn't happen when MACHINE="qemux86", I think it is because intel-x86-64 is longer than qemux86. (From OE-Core rev: 5210ccd61ef52a191454a4587cfeb22079df746d) (From OE-Core rev: 3903e93c50616b592ac1a2a241573305bb9265a9) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: fix kernel_do_compile for KERNEL_IMAGETYPE = "vmlinux.gz" on ↵Andreas Oberritter2017-01-111-0/+1
| | | | | | | | | | | | | | | | mips The target directory didn't exist. (From OE-Core rev: bd62851dc236a0279c735b290782602e275de5c1) (From OE-Core rev: a7c49e98cff402b5400643ae2a04ae3f345c5bce) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: do not copy bundled initramfs to /bootAndreas Oberritter2017-01-111-6/+0
| | | | | | | | | | | | | | | These files cause warnings because they don't get packaged, now that they don't land in kernel-vmlinux anymore. (From OE-Core rev: a49569e3a7534779bbe3f01a0647fd076c95798d) (From OE-Core rev: 6a4e09b295d760654fd43897841c014d50f109ab) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Avoid wildcards for kernel imagesAndreas Oberritter2017-01-111-2/+2
| | | | | | | | | | | | | | | | | | | With multiple kernel images enabled starting with 'vmlinux', e.g. vmlinux.gz and vmlinux.bin, all files landed inside the kernel-vmlinux package. On top of that, even initramfs images were included, e.g. vmlinux.gz-initramfs-*. (From OE-Core rev: b7f4133b44b740e8ac8e758b0d4a3ee32d326332) (From OE-Core rev: a248ef51ae680e81cf78f07fe242ac6e01a5fcb4) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Use real filenames in kernel packagesAndreas Oberritter2017-01-111-1/+1
| | | | | | | | | | | | | | | | | | | When iterating over kernel image types to set up their packaging variables, don't use make targets but the real names. It was surprising if both vmlinux.bin and vmlinux.gz were enabled and only the latter had its filename extension removed from the package name. (From OE-Core rev: aa189f183e10588f7e8d642f351bd9b8d69f3ea9) (From OE-Core rev: 07e93839ee0dc25904fb93d6ae236e3ab16982ec) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: allow uncompressed initramfs archivesAndreas Oberritter2017-01-111-1/+1
| | | | | | | | | | | | | | | The code failed to copy the initramfs in case it was a plain cpio archive. (From OE-Core rev: 7dbdb4ea91aa027866da2bd46c65fe65a25c848f) (From OE-Core rev: 0d65292296ed9fb82e7bfbcca42d4b7a39ba6ca9) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2: enforce -no-pie if supported by compilerAlexander Kanavin2017-01-112-0/+46
| | | | | | | | | | | | | | | Recent distros are enabling -pie by default; in case of grub we need to turn it off. (From OE-Core rev: aaff6c99dde3f1058bb3c4b320f27753c6c992ad) (From OE-Core rev: ba7cfc296b07fe62d46a6c143d9a7d344de9f446) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Fix several CVE issuesMingli Yu2017-01-112-0/+282
| | | | | | | | | | | | | | | | | | | | | | | | Fix CVE-2016-9533, CVE-2016-9534, CVE-2016-9536 and CVE-2016-9537 External References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9533 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9534 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9536 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9537 Patch from: https://github.com/vadz/libtiff/commit/83a4b92815ea04969d494416eaae3d4c6b338e4a#diff-c8b4b355f9b5c06d585b23138e1c185f (From OE-Core rev: f75ecefee21ef89b147fff9afae01a6f09c93198) (From OE-Core rev: 48d672e514d730ddda14f25f19f09c6d865a6526) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Security fix CVE-2016-9538Mingli Yu2017-01-112-0/+68
| | | | | | | | | | | | | | | | | | | | | * tools/tiffcrop.c: fix read of undefined buffer in readContigStripsIntoBuffer() due to uint16 overflow. External References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9538 Patch from: https://github.com/vadz/libtiff/commit/43c0b81a818640429317c80fea1e66771e85024b#diff-c8b4b355f9b5c06d585b23138e1c185f (From OE-Core rev: 9af5d5ea882c853e4cb15006f990d3814eeea9ae) (From OE-Core rev: 33cad1173f6d1b803b794a2ec57fe8a9ef19fb44) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Security fix CVE-2016-9535Mingli Yu2017-01-113-0/+492
| | | | | | | | | | | | | | | | | | | | | | | | * 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. External References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9535 Patch from: https://github.com/vadz/libtiff/commit/3ca657a8793dd011bf869695d72ad31c779c3cc1 https://github.com/vadz/libtiff/commit/6a984bf7905c6621281588431f384e79d11a2e33 (From OE-Core rev: 61d3feb9cad9f61f6551b43f4f19bfa33cadd275) (From OE-Core rev: d55b4470c20f4a4b73b1e6f148a45d94649dfdb5) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: set CVE NAMERoss Burton2017-01-111-0/+2
| | | | | | | | (From OE-Core rev: a28dc4cf7a8f67444f2f88248966478e385491d2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* subversion: Fix issues in LDFLAGS sed manipulationRichard Purdie2017-01-112-0/+23
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 9a8382422ddbb0972dc25b752204f4908bb9857c) (From OE-Core rev: 980140fc0735df66592c09acda9686386711f2b5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Convert SSTATEPOSTINSTFUNCS to a do_install_appendRichard Purdie2017-01-111-25/+22
| | | | | | | | | | | | | | 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. (From OE-Core rev: 518e8d0216b0f42f574e42288804f553b9ff6f99) (From OE-Core rev: f884ee9b911d1ce38b84d90113113c6e8c30253b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging: Drop unused SYSROOT_LOCKRichard Purdie2017-01-111-1/+0
| | | | | | | | | | | | | This hasn't been used in years and isn't referenced anywhere, drop the definition. (From OE-Core rev: 68258f856f08f35813964e58ef761471e29373ad) (From OE-Core rev: b8b261d2e40457ee2e0cf1e8f40bd22230eb8ca7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: exit on non-zero return codeBruce Ashfield2017-01-111-1/+0
| | | | | | | | | | | | | | | | | | | | Historically the processing of kernel meta data contained some commands that exited with a non-zero return code. Special processing was required to properly deal with their exit. That is no longer true, and instead of handling all return codes and doing an explicit 'exit' call, we can remove set -e from the routine and have all errors be trapped and stop processing. (From OE-Core rev: 476ffd57cf5b6fba40d4e3f5dd913824ab8a8d3d) (From OE-Core rev: 620c74336dad517037fcf26c8f7bf8c013b213c1) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: fix processing for no branch meta-dataBruce Ashfield2017-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lernel meta-data that has patches, but no branches, can trigger an error due to no branch specific patch queue. This error then cascades to more issues since the tools are using a named file in /tmp to store and display error messages to the user. We fix both issues though the following kern tools tweaks: commit bd9e1d6c9b0a34ff3e19a06999aaf57ffadfd04c Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Fri Dec 2 13:09:40 2016 -0500 scc: use mktemp for consolidated output capture To provide useful error messages the tools dump pre-processed files and messages to a temporary file. If multiple users are doing builds, this means they either race, or can have permissions issues. By creating the temporary file via mktemp, we avoid both issues. (We also make sure to clean these up on exit, or /tmp will get polluted quickly). commit a287da4bfe0b4acb8f2b0627bd8e7abd1a1dde26 Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Fri Dec 2 13:08:08 2016 -0500 patch: do not assume a branch specific patch queue is needed When processing input files per-branch and global patch queues are generated. If the meta-data has not created any branches in the repo, no branch specific queue is required. The tools assumed that one is always valid, and hence would throw a non-zero exit code and stop processing. By testing for a named per-branch queue, we avoid this issue. (From OE-Core rev: 0fd7da7375f0dcc59b56791fd482de557507c04c) (From OE-Core rev: 6bc941a2a8e83e2db409af50ad77a0932e3ffe28) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-dev: update to 4.9-rcXBruce Ashfield2017-01-111-1/+1
| | | | | | | | | | | | (From OE-Core rev: 27c53cb8d0f1d408cb9791697305187944ad07b9) (From OE-Core rev: c71f23e5ad72368045c44026955664dc69faef66) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.8: update to v4.8.10Bruce Ashfield2017-01-113-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the 4.8.9 and 4.8.10 -stable updates. The commit log is as follows: cf5ae2989a32 Linux 4.8.10 5cd8f6788ff3 usb: gadget: f_fs: stop sleeping in ffs_func_eps_disable e2458382c792 usb: gadget: f_fs: edit epfile->ep under lock e34a0f1c53b5 sparc64: Delete now unused user copy fixup functions. af97481a6f5b sparc64: Delete now unused user copy assembler helpers. ac663c54f40b sparc64: Convert U3copy_{from,to}_user to accurate exception reporting. d91bb7a87e26 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting. a15859f9d839 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting. bb522726d311 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting. b0580eadc19f sparc64: Convert U1copy_{from,to}_user to accurate exception reporting. 50e927483ccf sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting. 620ec41010d1 sparc64: Convert copy_in_user to accurate exception reporting. bf4d0da8e800 sparc64: Prepare to move to more saner user copy exception handling. bbbab9f59ea7 sparc64: Delete __ret_efault. 81a91edbb91a sparc64: Handle extremely large kernel TLB range flushes more gracefully. 7f8a50eb38d3 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code. f7ef55af2f1b sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending. 2a28ab3d4148 sparc64: Fix illegal relative branches in hypervisor patched TLB code. f4fb552a033e sparc64: Handle extremely large kernel TSB range flushes sanely. 51915c6d9070 sparc: Handle negative offsets in arch_jump_label_transform da6fe239ceff spi: spidev_test: fix build with musl libc 4ea98e573d65 net: stmmac: Fix lack of link transition for fixed PHYs 150b491b1b88 sctp: change sk state only when it has assocs in sctp_shutdown 5235fcfa6cf8 bnx2: Wait for in-flight DMA to complete at probe stage 6523ff2e27fe Revert "bnx2: Reset device during driver initialization" 224fb8cbefb2 mlxsw: spectrum_router: Correctly dump neighbour activity 9092bbd64bd9 mlxsw: spectrum: Fix refcount bug on span entries 5712922773b5 Revert "include/uapi/linux/atm_zatm.h: include linux/time.h" 2b5f22e4f7fd tcp: take care of truncations done by sk_filter() 22a78d4c7f43 ipv4: use new_gw for redirect neigh lookup bccb4093d464 net: __skb_flow_dissect() must cap its return value a1632e969a55 net: icmp_route_lookup should use rt dev to determine L3 domain 9885f474d92b sock: fix sendmmsg for partial sendmsg b78ba0a0f231 fib_trie: Correct /proc/net/route off by one error 92fd1c1f2fd2 net: icmp6_send should use dst dev to determine L3 domain 09ee09498bca bpf: fix htab map destruction when extra reserve is in use de289ad2e575 sctp: assign assoc_id earlier in __sctp_connect 76b5fee5cfa0 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped 84d9c612bb7a ipv6: dccp: fix out of bound access in dccp_v6_err() ba93cf7d2118 dccp: fix out of bound access in dccp_v4_err() 378a61101374 dccp: do not send reset to already closed sockets 72b03e549b95 dccp: do not release listeners too soon b3523a0773ed tcp: fix return value for partial writes 1f49cc6fa91c ipv4: allow local fragmentation in ip_finish_output_gso() 842a858fa048 tcp: fix potential memory corruption fc3b825f2c81 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit() f5f4b71d5632 bgmac: stop clearing DMA receive control register right after it is set 0c7f764d2c6a net: mangle zero checksum in skb_checksum_help() ac22a3ba0796 net: clear sk_err_soft in sk_clone_lock() 5b078dc6fb64 dctcp: avoid bogus doubling of cwnd after loss 876577321657 Linux 4.8.9 07d00beb1e04 netfilter: fix namespace handling in nf_log_proc_dostring 8ef009e09c13 drm/i915: Fix mismatched INIT power domain disabling during suspend 88a45e5d2c0d drm/amdgpu: fix a vm_flush fence leak 25ed6e4b0b65 drm/amdgpu: fix fence slab teardown de5e9aa77a3c NFSv4.1: work around -Wmaybe-uninitialized warning 18c801047a18 libceph: fix legacy layout decode with pool 0 53c1792b94da memcg: prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLAB 02e1ee6b3e1c mmc: mxs: Initialize the spinlock prior to using it ce0702e35aeb pinctrl: iproc: Fix iProc and NSP GPIO support 320244ac9eb6 ASoC: sun4i-codec: return error code instead of NULL when create_card fails 2140d4fd9277 ASoC: Intel: Skylake: Always acquire runtime pm ref on unload 5037fdbc62c2 gpio: of: fix GPIO drivers with multiple gpio_chip for a single node 7a9239fd0480 gpio/mvebu: Use irq_domain_add_linear 6de98e87effb batman-adv: Modify neigh_list only with rcu-list functions a3f000ce7b44 ACPI/PCI: pci_link: Include PIRQ_PENALTY_PCI_USING for ISA IRQs 6c76dd0c7066 ACPI/PCI: pci_link: penalize SCI correctly 86c711665c84 ACPI/PCI/IRQ: assign ISA IRQ directly during early boot stages ad185d9251e1 ACPI / APEI: Fix incorrect return value of ghes_proc() b55ebc89ab1d mmc: sdhci-msm: Fix error return code in sdhci_msm_probe() 85284c0850f9 i40e: fix call of ndo_dflt_bridge_getlink() 1242c9dfab0c hwrng: core - Don't use a stack buffer in add_early_randomness() c1a2ada73dac lib/genalloc.c: start search from start of chunk 06bb5ebedbb4 s390/dumpstack: restore reliable indicator for call traces 1ef1bd02ad23 rtc: pcf2123: Add missing error code assignment before test 4baabb72e9dd clk: samsung: clk-exynos-audss: Fix module autoload 3bbdbd8aa3c8 x86/build: Fix build with older GCC versions f5eadc27a60c Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init" 645a6b823739 nvme: Delete created IO queues on reset 07c4cbe01341 svcrdma: Tail iovec leaves an orphaned DMA mapping 4131e00a436e svcrdma: Skip put_page() when send_reply() fails 755ab7aa1466 mei: bus: fix received data size check in NFC fixup d1b564536c6a perf top: Fix refreshing hierarchy entries on TUI 6ac4e06b717f Input: synaptics-rmi4 - fix error handling in I2C transport driver d3716f1b3e4b Input: synaptics-rmi4 - fix error handling in SPI transport driver 66503ec38f34 watchdog: core: Fix devres_alloc() allocation size c5e9e5cc8cd1 agp/intel: Flush chipset writes after updating a single PTE 813617a4c8dc iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path b6ef0b142208 iommu/amd: Free domain id when free a domain of struct dma_ops_domain 2ef38255b588 iommu/io-pgtable-arm: Check for v7s-incapable systems d3d9428d7133 xprtrdma: Fix DMAR failure in frwr_op_map() after reconnect 31c749bee3de xprtrdma: use complete() instead complete_all() 67080e2785a3 drm/amd: fix scheduler fence teardown order v2 b0da5ab2ffb5 drm/amdgpu: fix sched fence slab teardown 920a85ba4306 tty/serial: at91: fix hardware handshake on Atmel platforms 9d76a886eb2f drm/amdgpu: fix crash in acp_hw_fini 6e652d18d73d drm/amdgpu: disable runtime pm in certain cases 8c8fdc683295 drm/i915/dp: Extend BDW DP audio workaround to GEN9 platforms db8e005bf2ba drm/i915/dp: BDW cdclk fix for DP audio f50b7450a8e4 drm/i915: Respect alternate_ddc_pin for all DDI ports e1b24f6a0b3c drm/radeon: disable runtime pm in certain cases eb13abb0e515 KVM: arm/arm64: vgic: Prevent access to invalid SPIs 2850fad5acb0 scsi: scsi_dh_alua: Fix a reference counting bug 5fac70d772a4 scsi: scsi_dh_alua: fix missing kref_put() in alua_rtpg_work() f29bcd11a170 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk b2040deabb07 scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init 1281b9683f96 iio: st_sensors: fix scale configuration for h3lis331dl 4dfb6d1dd11d iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver) 341c5534edad iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation. b9d031f354da cdc-acm: fix uninitialized variable c480880cd12c clk: qoriq: Don't allow CPU clocks higher than starting value ee27fd32c499 toshiba-wmi: Fix loading the driver on non Toshiba laptops f713523a234c drbd: Fix kernel_sendmsg() usage - potential NULL deref 31da266e4b9a usb: gadget: u_ether: remove interrupt throttling 264e4131a167 USB: cdc-acm: fix TIOCMIWAIT c12c24eeaf77 usb: dwc3: Fix error handling for core init 6b95417150b7 staging: nvec: remove managed resource from PS2 driver 82239ab105a5 Revert "staging: nvec: ps2: change serio type to passthrough" 529789866abe drivers: staging: nvec: remove bogus reset command for PS/2 interface dea774aac054 staging: comedi: ni_tio: fix buggy ni_tio_clock_period_ps() return value 5d510185f99a staging: sm750fb: Fix bugs introduced by early commits 45983d678b70 staging: iio: ad5933: avoid uninitialized variable in error case 5289e59246dd mmc: mmc: Use 500ms as the default generic CMD6 timeout ce4dfe7d927e mmc: sdhci: Fix unexpected data interrupt handling bde8d3f73375 mmc: sdhci: Fix CMD line reset interfering with ongoing data transfer 10d24701f3f4 cpupower: Correct return type of cpu_power_is_cpu_online() in cpufreq-set f062e738c19b pinctrl: cherryview: Prevent possible interrupt storm on resume 1d99fe3317e3 pinctrl: cherryview: Serialize register access in suspend/resume f5ad96462615 arc: Implement arch-specific dma_map_ops.mmap 004e7c97f181 PCI: Don't attempt to claim shadow copies of ROM 7fac0361f94e ARC: timer: rtc: implement read loop in "C" vs. inline asm 4058116db4d0 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment 2f3e0b82ebe9 coredump: fix unfreezable coredumping task d6ee4f47e2e7 mm/hugetlb: fix huge page reservation leak in private mapping error paths e87bf4f558f1 mm: hwpoison: fix thp split handling in memory_failure() 67c79e166d46 swapfile: fix memory corruption via malformed swapfile c87739e5d029 shmem: fix pageflags after swapping DMA32 object 5b5243b606ec mm, frontswap: make sure allocated frontswap map is assigned 2e594273d4c5 dib0700: fix nec repeat handling 9964230320d5 ASoC: cs4270: fix DAPM stream name mismatch 9386a722d250 ALSA: info: Limit the proc text input size c3ea1b15b71e ALSA: info: Return error for invalid read/write (From OE-Core rev: b5e43be6aaf912cf6c679ee98ed61cf34dd00ee8) (From OE-Core rev: 05c1981319f4f5637e72ed4f86e91d38483c8dc8) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* parselogs: Whitelist GPT warnings as the device is fully functionalJair Gonzalez2017-01-111-2/+3
| | | | | | | | | | | | | | | | | | | | The warning occurs when the GPT image is not the same size than the media into which it's being flashed, causing the backup GPT table not being at the end of the disk. However, this is expected as the image is created before having the information about the destination media. The error is harmless, so it will be whitelisted. Fixes [YOCTO 10481]. (From OE-Core rev: 5cc5cdc788308a79f8f0706e6d794c602ef427ed) (From OE-Core rev: 941194d29d8e4c334d3f85ce7709c894cf34b8d1) Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* parselogs.py: Whitelist iwlwifi firmware load error messagesCalifornia Sullivan2017-01-111-0/+1
| | | | | | | | | | | | | | | | | | | | | The iwlwifi module of any given kernel has a minimum and maximum supported firmware version. The kernel begins by attempting to load the maximum version, and decrements until it is successful. The 4.8 kernel's maximum supported firmware version is 24, but thus far only 22 has been released, meaning we get errors for 24 and 23. Filter out iwlwifi firmware load error messages, as they are not necessarily indicative of real problems. (From OE-Core rev: 7df570c2310efac8f9898da15deaac2b7df16655) (From OE-Core rev: 23aa95a8a15cd0b7bdc43dba9375e139f4b20607) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* terminal.py: Pass string instead of bytes to ExecutionError to avoid exceptionMartin Vuille2017-01-111-0/+2
| | | | | | | | | | | | | | | | | | Based on run() in bitbake/lib/bb/process.py, ExecutionError() expects strings not bytes. Passing bytes results in a "TypeError: Can't convert 'bytes' object to str implicitly" exception. Fixes Bug 10729 (From OE-Core rev: 063b63d4d324c23322ac1b6b7c7928e725d7b968) (From OE-Core rev: df4d5246d47acc54aa322b777364c9b86f9a4c54) Signed-off-by: Martin Vuille <jpmv27@yahoo.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: Security fix CVE-2016-5131Yi Zhao2017-01-112-0/+181
| | | | | | | | | | | | | | | | | | | | | | | CVE-2016-5131 libxml2: Use-after-free vulnerability in libxml2 through 2.9.4, as used in Google Chrome before 52.0.2743.82, allows remote attackers to cause a denial of service or possibly have unspecified other impact via vectors related to the XPointer range-to function. External References: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-5131 Patch from: https://git.gnome.org/browse/libxml2/commit/?id=9ab01a277d71f54d3143c2cf333c5c2e9aaedd9e (From OE-Core rev: 640bd2b98ff33e49b42f1087650ebe20d92259a4) (From OE-Core rev: 1e284447b9bf42e1fd6080f5a50fe01c8267a4e6) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Security fix CVE-2016-9539Zhixiong Chi2017-01-112-0/+61
| | | | | | | | | | | | | | | | | | | | | tools/tiffcrop.c in libtiff 4.0.6 has an out-of-bounds read in readContigTilesIntoBuffer(). Reported as MSVR 35092. External References: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9539 Patch from: https://github.com/vadz/libtiff/commit/ae9365db1b271b62b35ce018eac8799b1d5e8a53 (From OE-Core rev: 58bf0a237ca28459eb8c3afa030c0054f5bc1f16) (From OE-Core rev: 0933a11707a369c8eaefebd31e8eea634084d66e) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Security fix CVE-2016-9540Zhixiong Chi2017-01-112-0/+61
| | | | | | | | | | | | | | | | | | | | | | tools/tiffcp.c in libtiff 4.0.6 has an out-of-bounds write on tiled images with odd tile width versus image width. Reported as MSVR 35103, aka "cpStripToTile heap-buffer-overflow." External References: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9540 Patch from: https://github.com/vadz/libtiff/commit/5ad9d8016fbb60109302d558f7edb2cb2a3bb8e3 (From OE-Core rev: cc97dc66006c7892473e3b4790d05e12445bb927) (From OE-Core rev: ad2c4710ef15c35f6dd4e7642efbceb2cbf81736) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* slang: Disable parallel make installDavid Vincent2017-01-111-0/+1
| | | | | | | | | | | | | | | Installation task fails if run in parallel. This case happens if we define PARALLEL_MAKEINST to a different value of PARALLEL_MAKE. (From OE-Core rev: bbe59d7c49b540d65c871666c95cc89a23cab474) (From OE-Core rev: 1aff7c867c0ad926f204459b65d3088900871ec9) Signed-off-by: David Vincent <freesilicon@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd.bbclass: don't block on service restartMark Asselstine2017-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current class works fine when a recipe uses SYSTEMD_AUTO_ENABLE 'enable' and has no on device pkg_postinst(), ie when the postinst is run as part of rootfs creation. However, when there is a component of pkg_postinst() that is run on device the 'systemctl restart' is run as part of the run_postinsts.service at boot. This results in the boot spinning indefinitely with: [ *** ] A start job is running for Run pending postinsts (7s / no limit) The issue could potentially be that the packages service has an 'After' clause which comes later in the boot, beyond run_postinsts.service, creating a chicken before the egg scenario. Even service files without an 'After' clause cause this situation however. Despite this not being the cause of the issue this fix will prevent this scenario from happenning. Using strace we are able to find that during boot, when run_postinsts.service is running attempting to start or restart any service will result in the call get stuck on poll(). Since the run_postinsts.service does not monitor the outcome of the call to restart we can work around this by using '--no-block'. (From OE-Core rev: 6ad6a0084a73088fc2a27ab9958e5c46d6e094fc) (From OE-Core rev: caad8aa89f9815a278e39296497596996a35fe95) Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix ptest update hash of ExtUtils/Liblist/Kid.pm in customized.datAníbal Limón2017-01-111-1/+1
| | | | | | | | | | | | | | | | | The perl ptest is failing due to a patch changes the file ExtUtils/Liblist/Kid.pm and the customized.dat file wasn't updated. [YOCTO #8656] (From OE-Core rev: 0ed3cc09e3988367fa57bd08fb7db12b7fb9dabe) (From OE-Core rev: 5a0ee17cf17ce0b0deac54f990e2128674768b38) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemux86*.conf: set wic-related parametersEd Bartosh2017-01-112-0/+6
| | | | | | | | | | | | | | | | | | | | | Set directdisk.wks as default wks to use for qemux86 machines. Set requried dependeincies to build directdisk image. This should simplify building wic images for qemux86* machines. It should be enough to add wic to the list of IMAGE_FSTYPES to get the images built. [YOCTO #10637, YOCTO #8719] (From OE-Core rev: 8716b8b9be05e3f140bfa426a8e0d4eeaa2edcbe) (From OE-Core rev: 3d99674a712cf06c62aa3a98b6696d430547fcec) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: include fix for xattr corruptionPatrick Ohly2017-01-113-1/+39
| | | | | | | | | | | | | | | pseudo_1.8.1.bb gets the backported patch and pseudo_git.bb gets updated to include the commit. (From OE-Core rev: 4e98f3a6e6f61d9d9037ac828b9c4869f7e11458) (From OE-Core rev: 264114805cc942e052e79bdaa5ae7978d68fdd8e) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>