summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2016-03-07tune-cortexa17.inc: apply changes similar to a15Trevor Woerner1
Apply the same sort of changes to the Cortex-A17 tune as were done in commit 35392025f3236f5e5393f9cf0857732da9a2e503. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07sstate: Allow late expansion of NATIVELSBSTRINGRichard Purdie1
uninative needs to adjust NATIVELSBSTRING fairly late in the configuration parsing process but the sstate code encodes it into variables. Since this string doesn't vary on a per recipe basis, we defer its expansion until usage time. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07linuxloader/image-prelink/image-mklibs: Fix non-standard path prelinkingRichard Purdie3
Prelinking on x86-64 wasn't working out the box as it uses /lib and not /lib64 for libs. Prelink was refusing to link as the dynamic loader didn't match its idea of the right path. Passing in the --dyanmic-linker option avoids this. We can share code from image-mklibs so abstract that into a new class, linuxloader.bbclass. This does break prelinking of multilib images, I've opened a bug so we can loop back and fix that problem, the code would need to iterate the dynamic loaders (and setup ld.so.conf files for it). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06insane/prelink: Handle nonstandard library pathsRichard Purdie3
Prelink contains some hardcoded assumptions about the path layout of the target system. Unfortunately if the system doesn't match, prelink doesn't work. This breaks: a) prelink of those images b) the unsafe-references-in-binaries QA test (which uses prelink-rtld) One way to work around this is to construct an ld.so.conf file which lists the library paths in question. We do this in sanity QA check and in the rootfs prelink code, being careful not to trample any existing target ld.so.conf. There is an additional problem that $LIB references in RPATHs won't be handled correctly, I've not see any system use these in reality though so this change at least improves things. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06ext-sdk-prepare: Catch setscene tasks which should have run but didn'tRichard Purdie1
When installing the eSDK, if setscene task fail for some reason, the tests would ignore this. This is bad since we assume they're working. This adds some sanity test code which detects if setscene tasks are needing to run and errors if there are any. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06createrepo: Fix stat floating timestampsRichard Purdie2
When reading the mtime from disk, the system can get a floating point value. Convert this to an int for comparision purposes, else some packages always get reindexed as the value in the index is an int. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06xmlto: ensure /bin/bash is used as bashRoss Burton1
The xmlto script uses bashisms and checks at configure time to find a bash binary. If the build host has /bin/sh as bash then this gets detected, which causes problems in native builds if the sstate is then shared to a machine with /bin/sh as dash. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06openssl: add a patch to fix parallel buildsRoss Burton2
Apply a patch taken from Gentoo to hopefully fix the remaining parallel make races. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06xdg-utils: remove trailing whitespace in multiline stringRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06btrfs-tools: Add libgcc to RDEPENDSRobert Joslyn1
libgcc_s.so.1 is required by btrfs-tools at runtime for certain operations, such as scrub due to the use of pthread_cancel. Signed-off-by: Robert Joslyn <robert_joslyn@selinc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06bitbake.conf: Add libgcc-native to ASSUME_PROVIDEDRichard Purdie1
Changes to the btrfs-tools recipe means we need to add libgcc-native to ASSUME_PROVIDED. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06net-tools: Override CFLAGS/LDFLAGS in do_install tooKhem Raj1
do_compile does this but do_install needs same env as well Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06nspr: Fix build regression on musl from last upgradeKhem Raj2
This patch is no longer required as upstreamed has fixed the problem in more comprehensive way Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06gdb: fix builds with internal readline and no static librariesRoss Burton2
If gdb was configured to use the internal readline but static libraries were disabled, gdb wouldn't dutifully not build libreadline.a which was a problem when it tried to link with that library. Solve this by ensuring --enable-static is passed to the readline configure. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06feature-arm-thumb.inc: Fix thumb tune override warningNathan Rossi1
Fix the quotes in the bb.utils.contains feature check so that the call results in a boolean value instead of a string, which allows the warning check to occur. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06formfactor: assume a keyboard is plugged inRoss Burton1
A sensible assumption is that BSPs have a USB keyboard and mouse connected unless told otherwise, so flip the logic in the formfactor config script that previously assumed that a keyboard was not connected by default. [ YOCTO #9174 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06acl: Fix re pattern in test casesHe Zhe3
ls adds a '.' at the end of the permission field list on SELinux machines, filter this out so root tests work on SELinux machines. And backport one patch for other tests. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06gcc-runtime.inc: disable libitm for little endian MIPS tooAndre McCurdy1
libitm is already disabled for big endian MIPS, but needs to be disabled for little endian MIPS targets too. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-04devtool: add build-sdk subcommandPaul Eggleton2
Add a build-sdk command which is only available within the extensible SDK that builds a derivative extensible SDK. The idea is recipes in the workspace become a part of the new SDK - for example, this allows taking a vendor provided SDK, adding a few libs and then producing a new SDK with those included. When normally building the extensible SDK, the workspace is excluded; here we need to copy into the new SDK (renaming it in the process); the recipes' task signatures become locked and thus the sources are no longer needed, so they are removed along with the workspace bbappends which would interfere with the locked signatures. Additionally we need to just copy the configuration files (i.e. local.conf and auto.conf) rather than filtering and appending to them since that work has already been done when constructing the original SDK. The extra sstate artifacts from workspace recipes are also determined and copied into the new SDK in minimal mode (on the assumption that you won't set up a new sstate mirror). This reuses some code from build-image, so that needed to be generalised to allow that. Implements [YOCTO #8892]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-04oeqa/buildoptions: Improve unsafe references testsRichard Purdie1
Fixing one of the recipes not to contain unsafe references to paths results in this QA test failing. Improve the test so that we test the recipe works, then if we intentionally break the recipe, the issue is detected. Also split out the binaries test from the scripts test. The binaries issue may also get 'fixed' in future and need the same fix. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-04insane.bbclass: make the checking stricter for unsafe references in scriptsChen Qi1
Previously, the checking for unsafe references is not strict enough. It only checks whether '/usr/' is in the script. As a result, any script containing statements like below will match this check. PATH="/bin:/sbin:/usr/bin:/usr/sbin" However, as we can see, this is actually not an unsafe reference. What we really want to check is something like '/usr/bin/tail', so we should make the checking stricter. This patch solves the QA warning in gzip and nfs-utils. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-03-03e2fsprogs: do not enable non-stable features by defaultJonathan Liu2
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-03sdk_update.py: Enable local sdk-update testsJuro Bystricky1
Testing of local sdk updates was commented out. Local sdk updates are functional now, so the tests should be re-enabled. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-03eudev: recipe formatting improvementsAndre McCurdy1
Formatting improvements only, no functional changes. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-03openssl: Security fix Drown via 1.0.2g updateArmin Kuster3
CVE-2016-0800 CVE-2016-0705 CVE-2016-0798 CVE-2016-0797 CVE-2016-0799 CVE-2016-0702 CVE-2016-0703 CVE-2016-0704 https://www.openssl.org/news/secadv/20160301.txt Updated 2 debian patches to match changes in 1.0.2g Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02layer.conf: Update after replacement of udev with eudevRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02bootimg: set default value for LABELS variableEd Bartosh1
With empty LABELS variable build_efi_cfg skips most of its functionality producing warning message: 'LABELS not defined, nothing to do' This causes build failure for efi images. Setting default value for LABELS to 'boot install' should fix this issue. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02sanity: Do not mistake meta-yocto-bsp for meta-yoctoPeter Kjellerstedt1
The code in oecore_update_bblayers() handling the transition from meta-yocto to meta-poky was not very resilient. It would, e.g., mistake meta-yocto-bsp for meta-yocto if the former occurred before the latter in BBLAYERS. The code also failed to update multiple existences of meta-yocto in the bblayers.conf file, e.g., if it was present in BBLAYERS_NON_REMOVABLE in addition to BBLAYERS (which it is by default). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-03-02sanity.bbclass: remove conflict checking for image vm and liveRobert Yang1
[YOCTO #9161] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-03-02syslinux.bbclass: make vm and live can be built togetherRobert Yang5
* The vm image(hdddirect, vmdk, qcow2, vdi) and live image (hddimg, iso) couldn't be built together because the following vars settings are conflicted: - SYSLINUX_ROOT (/dev/sda2 vs /dev/ram0) - LABELS (boot vs boot install) - INITRD (None vs live install) - SYSLINUX_CFG (see above) Introduce new vars (SYSLINUX_ROOT_VM/_LIVE, the samilar to others) to make them can work together, now we can build all of them together: IMAGE_FSTYPES += "live iso hddimg hdddirect vmdk qcow2 vdi" * Use SYSLINUX_CFG rather than SYSLINUXCFG to keep align with others SYSLINUX vars. * The SYSLINUX_TIMEOUT had been set, but it didn't work since AUTO_SYSLINUXMENU wasn't set, this would cause confusions, so also set AUTO_SYSLINUXMENU. * Move SYSLINUX_PROMPT and SYSLINUX_TIMEOUT to syslinux.bbclass rather than in separate classes since they are the same. * Set SYSLINUX_TIMEOUT to 50 to have a unique timeout for syslinux. [YOCTO #9161] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-03-02gcc: Add support for atomic opertions (libitm) where availableMark Hatle2
GCC 4.7 and newer have supported various automic operation directives, however these have not been previously enabled. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02classes/externalsrc: fix symlinking if symlink exists pointing to another pathPaul Eggleton1
If the oe-workdir / oe-logs symlink exists and points to a different path then the symlink needs to be removed before calling os.symlink() or it'll fail. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02populate_sdk_ext: Only write LCONF_VERSION to bblayers if it is setRandy Witt1
It is possible that LCONF_VERSION won't be set, such as if meta-poky is used. Without this change, bblayers.conf would have LCONF_VERSION = "None" if LCONF_VERSION wasn't set, which would cause a sanity check failure. Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02automake: don't delete .pyc filesJoseph A. Lutz2
The patch being removed in this commit removes *.pyc files from being compiled. This dose not allow a user to select which files are included in the image. Since optimization is no longer the default for python we should have the ability to choose what is included in the image. Signed-off-by: Joseph A. Lutz <joseph.lutz@novatechweb.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02cracklib: fix Python packagingRoss Burton1
Don't assume that we know precisely what Python files were installed as patching automake can change what optimised forms get installed by matching *.py* in FILES and not deleting *.pyo explictly. Similarly, remove all forms of test_cracklib from the packages. The python .la file is mostly redundant but if we're shipping it, put it in -python where it belongs instead of -staticdev. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02populate_sdk_base: handle empty SDK_PACKAGING_FUNCChristopher Larson1
Currently, the pre/post process command variables are parsed as shell, even though they're not shell anymore. As a result, an empty SDK_PACKAGING_FUNC results in a parsing error. Rather than manually adding their vardeps, only append its ; when the var is set. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02linux-yocto/4.4: update to 4.4.3Bruce Ashfield3
The korg stable for 4.4.3 is out with the following changes: 2134d97aa3a7 Linux 4.4.3 e2f712dc927e modules: fix modparam async_probe request a24d9a2fee98 module: wrapper for symbol name. 82e730baa9f7 itimers: Handle relative timers with CONFIG_TIME_LOW_RES proper 1c94da3e7480 posix-timers: Handle relative timers with CONFIG_TIME_LOW_RES proper 565f222968d3 timerfd: Handle relative timers with CONFIG_TIME_LOW_RES proper e5e99792b647 prctl: take mmap sem for writing to protect against others f86701c4f3cd xfs: log mount failures don't wait for buffers to be released 16f14a28f660 Revert "xfs: clear PF_NOFREEZE for xfsaild kthread" 7530e6fdd9f2 xfs: inode recovery readahead can race with inode buffer creation 888959f2fd50 libxfs: pack the agfl header structure so XFS_AGFL_SIZE is correct 8373f6590f6b ovl: setattr: check permissions before copy-up 7193e802960f ovl: root: copy attr 367e439dbc23 ovl: check dentry positiveness in ovl_cleanup_whiteouts() fa932190a5f3 ovl: use a minimal buffer in ovl_copy_xattr 85a7ed329aca ovl: allow zero size xattr acaf84251f8d futex: Drop refcount if requeue_pi() acquired the rtmutex 30066dcdf98a devm_memremap_release(): fix memremap'd addr handling 15db15e2f10a ipc/shm: handle removed segments gracefully in shm_mmap() fe90acff2798 intel_scu_ipcutil: underflow in scu_reg_access() edfde263bd8a mm,thp: khugepaged: call pte flush at the time of collapse e31e46725596 dump_stack: avoid potential deadlocks 55e0d9869f1d radix-tree: fix oops after radix_tree_iter_retry 077b6173a8c8 drivers/hwspinlock: fix race between radix tree insertion and lookup f4595e008149 radix-tree: fix race in gang lookup 262139f0244b MAINTAINERS: return arch/sh to maintained state, with new maintainers ececa3ebe27f memcg: only free spare array when readers are done 4b20545910cb numa: fix /proc/<pid>/numa_maps for hugetlbfs on s390 db33368ca32d fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list() b105aa33af0d scripts/bloat-o-meter: fix python3 syntax error dad5038f3fe2 dma-debug: switch check from _text to _stext 275adaf191c6 m32r: fix m32104ut_defconfig build fail 71e5a4a747b0 xhci: Fix list corruption in urb dequeue at host removal d15298509b86 Revert "xhci: don't finish a TD if we get a short-transfer event mid TD" 2231e5748746 iommu/vt-d: Clear PPR bit to ensure we get more page request interrupts db3ac35cbd31 iommu/vt-d: Fix 64-bit accesses to 32-bit DMAR_GSTS_REG 7c6471cb94ad iommu/vt-d: Fix mm refcounting to hold mm_count not mm_users d63a009a9bd9 iommu/amd: Correct the wrong setting of alias DTE in do_attach c65a7b684133 iommu/vt-d: Don't skip PCI devices when disabling IOTLB b864f4e50c56 Input: vmmouse - fix absolute device registration 726ecfc32199 string_helpers: fix precision loss for some inputs 5c73252f746d Input: i8042 - add Fujitsu Lifebook U745 to the nomux list 1d70d30a5fa2 Input: elantech - mark protocols v2 and v3 as semi-mt d1f8217a9a6e mm: fix regression in remap_file_pages() emulation 413aab16bc7b mm: replace vma_lock_anon_vma with anon_vma_lock_read/write 918a2c388ed7 mm: fix mlock accouting 6e8ea2f2258c libnvdimm: fix namespace object confusion in is_uuid_busy() bd55913cf208 mm: soft-offline: check return value in second __get_any_page() call a6a3f3ddf6a6 perf kvm record/report: 'unprocessable sample' error while recording/reporting guest data b58731d6263a KVM: PPC: Fix ONE_REG AltiVec support 921fa9b77380 KVM: PPC: Fix emulation of H_SET_DABR/X on POWER8 b3e336de65eb KVM: arm/arm64: Fix reference to uninitialised VGIC 593337c55ac3 arm64: dma-mapping: fix handling of devices registered before arch_initcall a6e01f0c81d5 ARM: OMAP2+: Fix ppa_zero_params and ppa_por_params for rodata 82de5956e9f4 ARM: OMAP2+: Fix save_secure_ram_context for rodata 31a50ee1ad3e ARM: OMAP2+: Fix l2dis_3630 for rodata 98b3f17a7235 ARM: OMAP2+: Fix l2_inv_api_params for rodata ec776d670e2d ARM: OMAP2+: Fix wait_dll_lock_timed for rodata 6ec8b7c5bbdd ARM: dts: at91: sama5d4ek: add phy address and IRQ for macb0 3b18631fbcea ARM: dts: at91: sama5d4 xplained: fix phy0 IRQ type 080fc28fe475 ARM: dts: at91: sama5d4: fix instance id of DBGU 5542d00c4653 ARM: dts: at91: sama5d4 xplained: properly mux phy interrupt a482d9448169 ARM: dts: omap5-board-common: enable rtc and charging of backup battery 41a94b382396 ARM: dts: Fix omap5 PMIC control lines for RTC writes 671a5bc6f54d ARM: dts: Fix wl12xx missing clocks that cause hangs 323f7cd28b7f ARM: nomadik: fix up SD/MMC DT settings 53d991bbbc51 ARM: 8517/1: ICST: avoid arithmetic overflow in icst_hz() 9fe0b68c4949 ARM: 8519/1: ICST: try other dividends than 1 a68f555363f5 arm64: mm: avoid calling apply_to_page_range on empty range 242813b9a1b6 ARM: mvebu: remove duplicated regulator definition in Armada 388 GP 602acfedc981 powerpc/ioda: Set "read" permission when "write" is set b5311270caba powerpc/powernv: Fix stale PE primary bus 5ecdf58c1945 powerpc/eeh: Fix stale cached primary bus 64f10cf83a6c powerpc/eeh: Fix PE location code 782126b22522 SUNRPC: Fixup socket wait for memory d0452554b9a1 udf: Check output buffer length when converting name to CS0 eec1445767cc udf: Prevent buffer overrun with multi-byte characters aef22a3d6945 udf: limit the maximum number of indirect extents in a row 66b8812e87f3 pNFS/flexfiles: Fix an XDR encoding bug in layoutreturn d65eb5b3dfb1 nfs: Fix race in __update_open_stateid() c8841e15d6de pNFS/flexfiles: Fix an Oopsable typo in ff_mirror_match_fh() 1873e6f48606 NFS: Fix attribute cache revalidation dadfe9220750 cifs: fix erroneous return value 7e30995b26cc cifs_dbg() outputs an uninitialized buffer in cifs_readdir() 5d80673404e6 cifs: fix race between call_async() and reconnect() 88413fceab84 cifs: Ratelimit kernel log messages 224f259d9393 iio: inkern: fix a NULL dereference on error e16eb4bb193c iio: pressure: mpl115: fix temperature offset sign 909e9c55196d iio: light: acpi-als: Report data as processed 377d1f59388f iio: dac: mcp4725: set iio name property in sysfs 1c1d4f2d7629 iio: add IIO_TRIGGER dependency to STK8BA50 dfa6e741d472 iio: add HAS_IOMEM dependency to VF610_ADC f865d8c326dd iio-light: Use a signed return type for ltr501_match_samp_freq() e9b0f0e411d0 iio:adc:ti_am335x_adc Fix buffered mode by identifying as software buffer. dc275a6eb9d0 iio: adis_buffer: Fix out-of-bounds memory access a258a959fcf3 scsi: fix soft lockup in scsi_remove_target() on module removal 900ae746c1e9 SCSI: Add Marvell Console to VPD blacklist 32c55052aa33 scsi_dh_rdac: always retry MODE SELECT on command lock violation 4c654fc9357b drivers/scsi/sg.c: mark VMA as VM_IO to prevent migration d763177d00d7 SCSI: fix crashes in sd and sr runtime PM dcec7af70910 iscsi-target: Fix potential dead-lock during node acl delete 954bb20f70ed scsi: add Synology to 1024 sector blacklist 5b27adfac012 klist: fix starting point removed bug in klist iterators 152fb02241b6 tracepoints: Do not trace when cpu is offline 2fa82bbbc73a tracing: Fix freak link error caused by branch tracer 6fa74f50e357 perf tools: tracepoint_error() can receive e=NULL, robustify it 6e50ddaf0991 tools lib traceevent: Fix output of %llu for 64 bit values read on 32 bit machines 969624b7c1c8 ptrace: use fsuid, fsgid, effective creds for fs access checks ba6d92801ba4 Btrfs: fix direct IO requests not reporting IO error to user space e8eced78e025 Btrfs: fix hang on extent buffer lock caused by the inode_paths ioctl be1232bcea11 Btrfs: fix page reading in extent_same ioctl leading to csum errors df567e6dcd22 Btrfs: fix invalid page accesses in extent_same (dedup) ioctl b58081d430b4 btrfs: properly set the termination value of ctx->pos in readdir dfd2961ab6ed Revert "btrfs: clear PF_NOFREEZE in cleaner_kthread()" 4e6943903a8e Btrfs: fix fitrim discarding device area reserved for boot loader's use c57e49b50bc5 btrfs: handle invalid num_stripes in sys_array bbfe21c87bd0 ext4: don't read blocks from disk after extents being swapped 600d41f4ecb5 ext4: fix potential integer overflow 33f48f8ab0b9 ext4: fix scheduling in atomic on group checksum failure 5859b9077763 serial: omap: Prevent DoS using unprivileged ioctl(TIOCSRS485) 76e88140aa91 serial: 8250_pci: Add Intel Broadwell ports 124efa9fd567 tty: Add support for PCIe WCH382 2S multi-IO card 1bdf16025dfc pty: make sure super_block is still valid in final /dev/tty close 3ceeb564198c pty: fix possible use after free of tty->driver_data a45f23edb00e staging/speakup: Use tty_ldisc_ref() for paste kworker 3375ee8b9964 phy: twl4030-usb: Fix unbalanced pm_runtime_enable on module reload a90e66cb949a phy: twl4030-usb: Relase usb phy on unload a40efb855068 ALSA: seq: Fix double port list deletion 6bb345ac7b30 ALSA: seq: Fix leak of pool buffer at concurrent writes ef0ca96169a2 ALSA: pcm: Fix rwsem deadlock for non-atomic PCM stream 434e26d6f6a0 ALSA: hda - Cancel probe work instead of flush at remove 6deb0ec93da6 x86/mm: Fix vmalloc_fault() to handle large pages properly e0c89043e71a x86/uaccess/64: Handle the caching of 4-byte nocache copies properly in __copy_user_nocache() 1e2e0ad1cc16 x86/uaccess/64: Make the __copy_user_nocache() assembly code more readable 4f298c10c35d x86/mm/pat: Avoid truncation when converting cpa->numpages to address 75a101ba31fa x86/mm: Fix types used in pgprot cacheability flags translations Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02linux-yocto/4.1: iwlwifi: mvm: don't allow sched scans without matches to be ↵Bruce Ashfield3
started Integrating the following commit: iwlwifi: mvm: don't allow sched scans without matches to be started commit 5e56276e7555b34550d51459a801ff75eca8b907 upstream. The firmware can perform a scheduled scan with not matchsets passed, but it can't send notification that results were found. Since the userspace then cannot know when we got new results and the firmware wouldn't trigger a wake in case we are sleeping, it's better not to allow scans without matchsets. This fixes https://bugzilla.kernel.org/show_bug.cgi?id=110831 Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wu Zheng <wu.zheng@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02linux-yocto/4.4: update to -stable 4.4.2Bruce Ashfield3
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02linux-yocto: braswell: Remove feature and move ↵Bruce Ashfield6
DRM_I915_PRELIMINARY_HW_SUPPORT option >From Cal: fixes the issue where Skylake doesn't have graphics support by default before kernel version 4.4, and also brings the kernel metadata closer together for intel-* and common-pc* BSPs. [YOCTO 9#319] 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>
2016-03-02linux-yocto/4.4: yaffs2 build fixesBruce Ashfield3
Integrating fixes for yaffs2 on the 4.4.x kernel: d4eb3ab036f8 yaffs2: using new ->follow_link() and ->put_link() calling conventions da1c7fd61d13 yaffs2: NULL ->read/->write b4c6a6aca7e7 yaffs2: replace f_dentry to f_path.dentry Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02linux-yocto/4.1: update to 4.1.18Bruce Ashfield3
Integrating the korg -stable update to 4.1 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02linux-yocto/4.1: clkdev updatesBruce Ashfield3
Backporting the following clkdev updates to the 4.1 kernel: c1b6f28fb457 clkdev: get rid of redundant clk_add_alias() prototype in linux/clk.h f9a70df2d491 clk: update clk API documentation to clarify clk_round_rate() db2d98fa3908 clkdev: fix clk_add_alias() with a NULL alias device name 1b2c3a175637 clkdev: add clkdev_create() helper 9b3d61ea0c57 clkdev: const-ify connection id to clk_add_alias() 76b7b02f10dc clkdev: drop __init from clkdev_add_table() 22f16b822d18 clkdev: use clk_hw internally Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02linux-yocto/4.1: Galileo updatesBruce Ashfield3
Integrating the following patches for improved galileo support: e02ac252f68d gpio-pca953x: add "drive" property. 68d3fd5134f7 adc1x8s102: support ACPI-based enumeration. 89f6aea44d01 staging:iio: add support for ADC1x8s102. 2fb3159a70c0 spi-pxa2xx: fixed ACPI-based enumeration of SPI devices. 510501941fd3 pca9685: PCA9685 PWM and GPIO multi-function device. 94bfb66b8887 gpio: pca953x: provide GPIO base based on _UID c39f26cd9092 acpi: added a custom DSDT file. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02usbutils: Fix for new eudev implementationAlejandro Hernandez4
usbutils was only compatible with systemds udev, since we now provide a udev alternative compatible with upstream systemds udev, we can now use the newer version of usbutils along with it too. Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02libgudev: Fix for new eudev implementationAlejandro Hernandez1
systemd is not a necessary feature for libgudev anymore since we are providing eudev as an alternative to udev Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02eudev: Replaces udev with eudev for compatibility when using sysvinit on ↵Alejandro Hernandez20
newer kernels udev has started to fail on new kernels (4.4), due to being deprecated in favor of systemd's udev implementation. To maintain a sysvinit alternative we also need to provide an alternative to udev. Eudev is a fork of systemds udev, this new eudev recipe provides upstream udev 220 funcitonality. - Removes patches that dont apply anymore - ToDo: eudev-ptest? [YOCTO #8998] Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02populate_sdk_ext: Delete the buildtools tar file after installationRandy Witt1
When installing the ext sdk, buildtools is extracted and installed as well. The tar file containing buildtools isn't used after installation so was wasted space and clutter. [YOCTO #9172] Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-03-02libarchive: Set xattrs after setting timesDmitry Rozhkov2
With Integrity Measurement Architecture (IMA) enabled in Linux kernel the security.ima extended attribute gets overwritten when setting times on a file with a futimens() call. So it's safer to set xattrs after times. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-03-02classes/populate_sdk_ext: prepend to PATH rather than appendingPaul Eggleton1
The rest of the environment setup script prepends to PATH, so when we add the path to run devtool we should be prepending as well. This also ensures that when you run the environment setup script from extensible SDK installation A and then in the same shell session run the environment setup script from installation B, and then run devtool, that you're running B's devtool and not A's. Fixes [YOCTO #9046]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>