summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
...
* systemtap: Cross compilation fixMikhail Durnev2014-09-032-0/+24
| | | | | | | | | | | | This is a cross compilation fix. It allows systemtap to find the kernel map file in the right place, i.e. in the kernel build tree. Without this fix it takes a map file from the build host, if available. (From OE-Core rev: 787bed708676fc04aee2850825e803273152f657) Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com> Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Fixed probe syscall.sendfile failureMikhail Durnev2014-09-032-0/+23
| | | | | | | | | | Marked __syscall.compat_sendfile as optional (From OE-Core rev: 74bfb662246411aa062cd8b2acd37be1bbed39d3) Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com> Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* modutils-initscripts: mask modutils in case of systemdChen Qi2014-09-031-0/+10
| | | | | | | | | | | | | We need to prevent the init script from running via systemd because its functionality has been implemented interanlly in systemd. In a systemd system, we can add configuration files under /etc/modules-load.d/ to make things work. (From OE-Core rev: 8fc304a59bb3977146645fe2c3570a3aaa4aac39) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf.bb: fix multilib buildRobert Yang2014-09-031-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed: $ bitbake perf lib32-perf ERROR: QA Issue: lib32-perf: Files/directories were installed but not shipped /usr/lib64 /usr/lib64/traceevent /usr/lib64/traceevent/plugins /usr/lib64/traceevent/plugins/plugin_function.so /usr/lib64/traceevent/plugins/plugin_scsi.so /usr/lib64/traceevent/plugins/plugin_hrtimer.so /usr/lib64/traceevent/plugins/plugin_kmem.so /usr/lib64/traceevent/plugins/plugin_jbd2.so /usr/lib64/traceevent/plugins/plugin_xen.so /usr/lib64/traceevent/plugins/plugin_mac80211.so /usr/lib64/traceevent/plugins/plugin_cfg80211.so /usr/lib64/traceevent/plugins/plugin_sched_switch.so /usr/lib64/traceevent/plugins/plugin_kvm.so [installed-vs-shipped] The perf.do_configure edits kernel's ${STAGING_KERNEL_DIR}/tools/perf/config/Makefile, there would be problems since kernel doesn't have multilib, and the build result is undetermined. Previously, the sed command changed libdir to /usr/lib64 (or 32) in the Makefile, so the build result was different if we build perf (64) first or lib32-perf first. Use the weak assignment "libdir ?=" to instead of "libdir =" will fix the problem since the multilib builds are in different processes, and they won't affect each other any more. The sed command will match both $(prefix)/$(lib) and $(prefix)/lib since the Makefile may has been modified before this patch. (From OE-Core rev: c62d693e1341be4afcaaeb1ee37360ecac71f46a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: ensure that recipe specific defaults take precedenceBruce Ashfield2014-09-016-11/+12
| | | | | | | | | | | | | | | | | In order to make KBRANCH assignments more flexible and easy to override the default in each recipe as changed to a conditional assignment. But the common include file, sets its own branch default to master. This results in the recipes not overriding KBRANCH and master always being used. By putting the include after the default assignment, we now get the proper default branch. (From OE-Core rev: ef48de6a4c1454c6f6e2de8636277b374ee44b50) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: remove 3.4 name recipesBruce Ashfield2014-09-013-92/+0
| | | | | | | | | | Removing the 3.4 recipes, since support has not shifted to 3.10 and 3.14 for LTSI kernel versions, with 3.16+ as the development version. (From OE-Core rev: 362aaebbeb7b241edba00dd8ea08eab07596378c) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.14: update to v3.14.17Bruce Ashfield2014-09-013-13/+13
| | | | | | | | | Updating the 3.14 repository to the latest korg stable udpate. (From OE-Core rev: 1bb73c05ff0304d5626d977d2751107bb23de48c) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.14: vhost, vxland, openvswitch and block/bfq updatesBruce Ashfield2014-09-013-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the linux-yocto/3.14 SRCREVs to integrate more feature additions and backports to the LTSI kernel base: 42477caf6bfd block, bfq: add Early Queue Merge (EQM) to BFQ-v7r5 for 3.14.0 349aa3f0848d block: introduce the BFQ-v7r5 I/O sched for 3.14 121ed2738c47 block: cgroups, kconfig, build bits for BFQ-v7r5-3.14 9925795a3e54 vhost-scsi: Include prot_bytes into expected data transfer length 68fe340cb836 vhost: move memory pointer to VQs 72fa27bcf526 vhost: move acked_features to VQs 757680234478 vhost: replace rcu with mutex 050c1440ac73 vhost-net: extend device allocation to vmalloc d68641313156 vhost/scsi: Enable T10 PI IOV -> SGL memory mapping fb89a8df7f1c vhost/scsi: Add T10 PI IOV -> SGL memory mapping logic 5caf8475ee8a vhost/scsi: Add preallocation of protection SGLs c0785b9490a8 vhost/scsi: Move sanity check into vhost_scsi_map_iov_to_sgl bd947327cdf6 vhost: don't open-code sockfd_put() 83fab2df94c6 openvswitch: Use exact lookup for flow_get and flow_del. 9c185c40f7a8 openvswitch: Fix tracking of flags seen in TCP flows. 0d2455332847 openvswitch: supply a dummy err_handler of gre_cisco_protocol to prevent kernel crash 4513a2fd2703 openvswitch: Fix a double free bug for the sample action 1acf10deff18 openvswitch: Simplify genetlink code. 9ea6a4dea3f5 openvswitch: Minimize ovs_flow_cmd_new|set critical sections. 9e76764432cf openvswitch: Split ovs_flow_cmd_new_or_set(). 7bafcd59a838 openvswitch: Minimize ovs_flow_cmd_del critical section. 67980f929444 openvswitch: Reduce locking requirements. 347f9442b559 openvswitch: Fix ovs_flow_stats_get/clear RCU dereference. c7aa7c522ec0 openvswitch: Fix typo. b244c7b19a55 openvswitch: Minimize dp and vport critical sections. 21883a3ffdb6 openvswitch: Make flow mask removal symmetric. ffa173197cf5 openvswitch: Build flow cmd netlink reply only if needed. f3e8e5c07505 openvswitch: Clarify locking. df42a8f505c2 openvswitch: Avoid assigning a NULL pointer to flow actions. 91b07542da22 openvswitch: Compact sw_flow_key. 24bb1a576332 net/openvswitch: Use with RCU_INIT_POINTER(x, NULL) in vport-gre.c 808868318939 openvswitch: Use TCP flags in the flow key for stats. a57851bae1cf openvswitch: Fix output of SCTP mask. 8b70125106ee openvswitch: Per NUMA node flow stats. 606497442f52 openvswitch: Remove 5-tuple optimization. 01e74b175909 openvswitch: Use ether_addr_copy b5d02cfdc985 openvswitch: flow_netlink: Use pr_fmt to OVS_NLERR output 4da9e8d176f9 openvswitch: Use net_ratelimit in OVS_NLERR ee8f673dd798 openvswitch: Added (unsigned long long) cast in printf b67f35f8b0aa openvswitch: avoid cast-qual warning in vport_priv 3e01428f6e0c openvswitch: avoid warnings in vport_from_priv 069ee359a487 openvswitch: use const in some local vars and casts cbec86356a89 vxlan: add x-netns support a51970560923 vxlan: ensure to advertise the right fdb remote 696068dca072 vxlan: remove unused port variable in vxlan_udp_encap_recv() e94003f3b58d sched/deadline: Fix sched_yield() behavior (From OE-Core rev: b05729f22dbda6257a9469313a401c5ed3211ada) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: allow meta branch and meta data directory to differBruce Ashfield2014-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | From the kern-tools commit: tools: allow meta directories that are not the same as the branch name With this change it is now possible to have a meta branch with meta data in a directory that is not the same name as the branch. The changes to three parts of the build are required to discover the name of the meta directory by relying on the fact that in a clean/proper build the meta directory is the only untracked, top level directory in the build. As such, we can restore a checkpoint and then examine the build directory to determine the meta directory name .. avoiding any new variables to indicate this to the scripts and build system. (From OE-Core rev: 36823f7aff5c8e28900997c96a97c302947981b0) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: remove KBRANCH_DEFAULTBruce Ashfield2014-09-0110-35/+30
| | | | | | | | | | KBRANCH_DEFAULT is no longer used, so we can remove it from all recipes (and it won't be missed). (From OE-Core rev: e631fc989b08873f559c5927117301294f04298c) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: update to 3.16Bruce Ashfield2014-08-312-7/+7
| | | | | | | | | | | Updating the linux-libc-headers to the 3.16 release. This matches the current -dev kernel version, and is compatible with the existing named kernel versions (3.10, 3.14). (From OE-Core rev: 7246d62406acf862d3c79e6f615e0c595d46845e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: fix ptest execution failureChong Lu2014-08-291-6/+7
| | | | | | | | | | | Ptest will hang when execute "./run.sh fast_regression" and lttng background daemon can't be killed normally. This patch fixes this issue and use ${PTEST_PATH} instead of long path. (From OE-Core rev: 0a90616b09290e4651aafe1186229d861392e89f) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind/oprofile/systemd: no bashism in run-ptestRobert Yang2014-08-281-1/+2
| | | | | | | | | | There is no bashism in the scripts, so use /bin/sh, and add /bin/sh interpreter for systemd's run-ptest. (From OE-Core rev: 62d455f89fb1d2c22cf987bdbb56a55e6d031ce0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: fix RDEPNEDS for the test related pkgsRobert Yang2014-08-281-1/+1
| | | | | | | | | Add bash, python or perl to the ptest pkgs to fix the RDEPENDS issues. (From OE-Core rev: d081a85fc76e2b7a469c6c70175ecf7aed9de053) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-dummy: bundle_initramfs should not be nostamp any moreMing Liu2014-08-281-2/+1
| | | | | | | | | | | | The same change has already been applied to kernel.bbclass in commit 55989cb5: [ kernel.bbclass: Stop bundle_initramfs thwarting sstate cache and fix race ] The dummy kernel should comply with it. (From OE-Core rev: 0897fd6feb19b545af2ebc148a2f6f99341841a9) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.14: feature merges and configuration updatesBruce Ashfield2014-08-233-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | As part of LTSI efforts, the 3.14 kernel is receiving feature backports from newer kernels. With this change, we update the 3.14 SRCREVs to make the following changes available: - full nohz backports (v3.16) - loopback NFS (v3.16) - numa updates (v3.16) - cgroups: vm_cgroup: basic infrastructure - cgroups: Resource controller for open files And the following configuration change: - meta: features/ieee802154: add configuration fragment for IEEE 802.15.4 - meta: features/bluetooth: add configuration fragment for Bluetooth support - meta: intel-common-standard: add ericson-3g to intel-common-standard.scc - cgroups: enable virtual memory resource controller - full nohz: Enable full dynticks system for nohz (From OE-Core rev: fe2f51571f97e2cceae974f6a18782025e080c32) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.14: cgroups and hugetlb updatesBruce Ashfield2014-08-233-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update SRCREVs for the following feature ports: d61940e2aaee fs/hugetlbfs/inode.c: remove null test before kfree 01a9d1b96a67 fs/hugetlbfs/inode.c: use static const for dentry_operations b58086c38038 fs/hugetlbfs/inode.c: add static to hugetlbfs_i_mmap_mutex_key 182a45b35b74 fs/hugetlbfs/inode.c: complete conversion to pr_foo() a3c4b02bbb05 mm: hugetlb: fix copy_hugetlb_page_range() 3757fbab4c89 hugetlb: rename hugepage_migration_support() to ..._supported() 4d91ab2d26a0 mm, hugetlb: move the error handle logic out of normal code path 49ea68f6eb8b hugetlb: add support for gigantic page allocation at runtime 78dcff916fdf hugetlb: move helpers up in the file 07b911e0a765 hugetlb: update_and_free_page(): don't clear PG_reserved bit d38ffe086659 hugetlb: add hstate_is_gigantic() 46b2dd4acbaa hugetlb: prep_compound_gigantic_page(): drop __init marker 8b4da9338c22 hugetlb: ensure hugepage access is denied if hugepages are not supported 450e7d23d98c mm/hugetlb.c: add NULL check of return value of huge_pte_offset 370cd4423fc4 mm, hugetlb: mark some bootstrap functions as __init 31f0f8869bc9 mm, hugetlb: improve page-fault scalability f57f488c939b mm, hugetlb: use vma_resv_map() map types 3263ee955d10 mm, hugetlb: remove resv_map_put 92067ee5ebfd mm, hugetlb: fix race in region tracking 30e1ab0b7502 mm, hugetlb: improve, cleanup resv_map parameters 2d5919397a7b mm, hugetlb: unify region structure handling a36af1327d41 Fix [RFC] cgroups: Resource controller for open files. 7dc531576e41 cgroups: Resource controller for open files. (From OE-Core rev: 37fb3b84f701b88e95d6a3e2efccc46e8c01c1cf) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.14: fix common clock framework support in PCI glue layerBruce Ashfield2014-08-233-10/+10
| | | | | | | | | | | | | | The initial version of "spi/pxa2xx: Add common clock framework support in PCI glue layer" enables the baytrail series of processors, but breaks some existing users of the framework. There's a new version of the patch out for review, so we revert the broken one and udpate to the latest. (From OE-Core rev: beae066d5af96e78d3bbaa52884922cb39bb48fd) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.14: KASLR and VDSO backportsBruce Ashfield2014-08-233-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | Updating the 3.14 linux-yocto SRCREVs for feature backports: 6cfe9c448741 x86, kaslr: boot-time selectable with hibernation 881a5f5812fd x86, kaslr: fix module lock ordering problem 121ec40d905d x86, kaslr: randomize module base load address 6efd2d21273c x86, vdso: Add 32 bit VDSO time support for 64 bit kernel 642441e17072 x86, vdso: Add 32 bit VDSO time support for 32 bit kernel 1d8dd2e617d4 x86, vdso: Patch alternatives in the 32-bit VDSO 353f3eadb16d x86, vdso: Introduce VVAR marco for vdso32 5e6e6ec6eb5c x86, vdso: Cleanup __vdso_gettimeofday() 91efa61ed6c2 x86, vdso: Replace VVAR(vsyscall_gtod_data) by gtod macro f9c259ee1b2f x86, vdso: __vdso_clock_gettime() cleanup 63d9b1c4ec72 x86, vdso: Revamp vclock_gettime.c e3a8ed44c964 mm: Add new func _install_special_mapping() to mmap.c 02a67e32e58d x86, vdso: Make vsyscall_gtod_data handling x86 generic d076cfb68504 x86, vdso, xen: Remove stray reference to FIX_VDSO 949153696c99 x86_32, mm: Remove user bit from identity map PDE e5cf7dfec74d x86, vdso: Remove compat vdso support (From OE-Core rev: 00dcb084682b7599f2a3e69dcb4978cbb38f5c58) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.14: update to v3.14.13Bruce Ashfield2014-08-233-16/+16
| | | | | | | | | | Updating from 3.14.5 -> 3.14.13 to pick up the latest series of korg stable updates. (From OE-Core rev: bb1b6b7e580d5dfebf8aa424bff83f9ccadfba19) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.14: add ARM kprobes supportBruce Ashfield2014-08-233-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | Adding the following commits to the 3.14 tree for ARM kprobe support: c1750e55eb75 ARM: add uprobes support 33e8a1334afe ARM: Make arch_specific_insn a define for new arch_probes_insn structure b1d3feead083 ARM: Add an emulate flag to the kprobes/uprobes instruction decode functions 84b5b70a01a2 ARM: Change the remaining shared kprobes/uprobes symbols to something generic 624e5e9aab5a ARM: Rename the shared kprobes/uprobe return value enum 7741eac39c2e ARM: Change more ARM kprobes symbol names to something more generic 47f51bac6a2d ARM: Make the kprobes condition_check symbol names more generic 3af2f454bb8e ARM: Remove use of struct kprobe from generic probes code a31964d3143a ARM: use a function table for determining instruction interpreter action 6de77767abfc ARM: move generic thumb instruction parsing code to new files for use by other feature eb2db188b856 ARM: Move generic arm instruction parsing code to new files for sharing between features bbc0a43ff46e ARM: move shared uprobe/kprobe definitions into new include file f5f2896020e6 uprobes: allow ignoring of probe hits cb133db6bd60 ARM: Fix missing includes in kprobes sources (From OE-Core rev: 835bb10d07d1a64119379e9837dd853dacfe79bc) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: intel-common: Enable Industrial IOBruce Ashfield2014-08-233-3/+3
| | | | | | | | | Updating the META branch SRCREV to import iio configuration settings. (From OE-Core rev: bb8cada68e70b1246a76046a37ba57a3ca7aedde) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: add python-core to RDEPENDS_lttng-ust-binRobert Yang2014-08-231-0/+1
| | | | | | | | | | | | There is only one script lttng-gen-tp which is a python in lttng-ust-bin, and it is a python script. And the lttng-ust doesn't have to rdepend on python. (From OE-Core rev: 99570ce7c5a9276d1d934533339e10de8fcf0aab) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: add bash to RDEPENDS_dtc-miscRobert Yang2014-08-231-0/+2
| | | | | | | | | | | | | Bash script: dtc-misc/usr/bin/dtdiff There are two files in this pacakge, another one is (binary): dtc-misc/usr/bin/convert-dtsv0 (From OE-Core rev: 4b609d099d91840ec05d71d29fe33786122b2d81) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: update to version 2.5.0Ross Burton2014-08-152-54/+10
| | | | | | | | | | | | | | | | Update to latest stable-2.5 revision. * Drop Fix-alignment-problems-on-targets-not-supporting-una.patch, merged upstream. * New build-dependency on libxml2, so inherit pkgconfig so the test works and delete the copy of libxml.m4 that overrides our sysroot. Based on a patch from Yasir-Khan <yasir_khan@mentor.com>. (From OE-Core rev: 19c16a45a3410b9ecae8682b628f2badffec9375) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust/lttng-modules: Update LICENSE to reflect MITRichard Purdie2014-08-152-2/+2
| | | | | | | | | | The code in question clearly states MIT is a third license. Update LICENSE to reflect this (in one case, we did list BSD which is effectively the same thing but this removes confusion). (From OE-Core rev: d7f79359d7f7fe9da12f27abe5d79ec0fefba058) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools/lttng-ust: Drop old 2.3.1 versionsRichard Purdie2014-08-152-92/+0
| | | | | | (From OE-Core rev: dc9611c14f6282353c99cc042aafb37a278fa238) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: update to version 2.5.0Yasir-Khan2014-08-151-3/+3
| | | | | | | | | update to latest stable-2.5 revision (From OE-Core rev: 872af34f7da2843cbcec9754f226d8b3f42700f4) Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* trace-cmd: fix recompile errorRobert Yang2014-08-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixed: make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `parse-events.o'. Stop. make: *** Waiting for unfinished jobs.... ERROR: oe_runmake failed This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .parse-events.d isn't regenerated when recompile, the content of it are: [snip] parse-events.o: /path/to/sysroot/4.9.0/include/stddef.h [snip] And Makefile includes the .parse-events.d file if it exists, so there would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist. Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix the problem. (From OE-Core rev: d56657cf5def88682954a97b4d94603ad81fd6e5) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernelshark: add dependency on libxml2Martin Jansa2014-08-111-1/+1
| | | | | | | | | | * fixes floating dependency: kernelshark-1.2+gitAUTOINC+7055ffd37b: kernelshark rdepends on libxml2, but it isn't a build dependency? [build-deps] (From OE-Core rev: 99300ef40c4b1f7eeaf5503fa293114d7b602d30) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* trace-cmd: Update to version 2.3.2Yasir-Khan2014-08-116-248/+36
| | | | | | | | | | | | | | | | | | | Current trace-cmd version 1.2 throws "recorder error in splice input" error while recording a trace on kernel version 3.10. Update the trace-cmd version to latest 2.3.2 to resolve this error and drop the redundant patches. * patches dropped - not needed anymore - trace-cmd-Add-checks-for-invalid-pointers-to-fix-seg.patch - backport - trace-cmd-Do-not-call-stop_threads-if-doing-latency-.patch - backport - trace-cmd-Setting-plugin-to-nop-clears-data-before-i.patch - backport - trace-cmd-fix-syntax-error-of-shell.patch - backport (From OE-Core rev: 3b5e792f3245e28495d61d7d7e8df0ef30070ebc) Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kexec-tools: reinstate 'kexec-tools' packageKoen Kooi2014-08-111-0/+3
| | | | | | | | | | | | | | | The vmcore commit emptied out ${PN} leading to things like: Collected errors: * opkg_install_cmd: Cannot install package kexec-tools. Let's do the right thing and make ${PN} an empty meta-package that drags in all tools like people expect it to do. (From OE-Core rev: 9e4f66ec4921c4886203dce99c105141787cc77b) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernelshark: fix recompile errorRobert Yang2014-08-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed: make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `parse-events.o'. Stop. make: *** Waiting for unfinished jobs.... ERROR: oe_runmake failed This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .parse-events.d isn't regenerated when recompile, the content of it are: [snip] parse-events.o: /path/to/sysroot/4.9.0/include/stddef.h [snip] And Makefile includes the .parse-events.d file if it exists, so there would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist. Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix the problem. (From OE-Core rev: 46b697b5861041dc3f67723efae301163b623f22) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kexec-tools: fix recompile errorRobert Yang2014-08-111-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | Fixed: NOTE: make -j 32 make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `kexec/kexec.o'. Stop. This happens when upgrade gcc from 4.9.0 to 4.9.1, and the kexec/kexec.d isn't regenerated when recompile, the content of it are: [snip] kexec/kexec.o: /path/to/sysroot/4.9.0/include/stddef.h [snip] And Makefile includes the kexec/kexec.d file if it exists, so there would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist. Remove kexec/kexec.d and other similar files will fix the problem. (From OE-Core rev: 674e14555e6912453a96747ff017f49ac9350a52) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: fix indentationMartin Jansa2014-08-061-27/+27
| | | | | | | | | | | | | * multiline variables should use spaces not tabs for indentation * do_configure is also using wrong indentation, but I'm not fixing this one (still hoping that we'll eventually fix styleguide to use 4 spaces everywhere) (From OE-Core rev: a8f1e40ddd2bb6f4364281e62935e3cdec148f08) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: explicitly disable libunwindMartin Jansa2014-08-061-1/+1
| | | | | | | | | | * it's not included in DEPENDS and it's detected from sysroot (From OE-Core rev: c714ab3cf7b96e1ae25489478135924d410fcb53) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kexec-tools: Create separate package for vmcore-dmesgRicardo Neri2014-08-061-1/+2
| | | | | | | | | | | | The kexec-tools recipe already specifies separate packages for kexec and kdump. Thus, it follows that a separate package can also be used to install vmcore-dmesg granularly. (From OE-Core rev: e0f7ceb44b256e85c0c602d142184e3ec769085e) Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: adjust to full history meta-dataBruce Ashfield2014-07-251-1/+1
| | | | | | | | | | | | | In order to generate and support kernel trees with full history, we need to modify the kernel tools e914d570232a kgit-checkpoint: ensure that full meta-data artifacts are maintained 192be836d318 kgit-scc: allow meta-data history to be maintained (From OE-Core rev: f2015ead17c875ae37a9ad496fdafef2b931f771) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.14: libata and generic CPU modalias handlingBruce Ashfield2014-07-253-10/+10
| | | | | | | | | | | | | | | | Updating the 3.14 yocto kernel to incorporate the following fix and feature of interest. 5724bf17acbf x86: align x86 arch with generic CPU modalias handling 6b9a52451a78 cpu: add generic support for CPU feature based module 38367de316bb libata: support the ata host which implements a queue depth less than 32 [YOCTO: #6489] (From OE-Core rev: 1fcb9843d663a5746690c81fe1cd6cf84dac04b9) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-dev: bump to v3.16+Bruce Ashfield2014-07-251-1/+1
| | | | | | | (From OE-Core rev: f90af1a78c2b616469ab49e3d426878602ad3e7b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: x86_64: expand kernel stack to 16KBruce Ashfield2014-07-253-10/+10
| | | | | | | | | | | | | | | | | | | | | | | Updating to backport the following mainline commit: [ x86_64: expand kernel stack to 16K commit 6538b8ea886e472f4431db8ca1d60478f838d14b upstream While I play inhouse patches with much memory pressure on qemu-kvm, 3.14 kernel was randomly crashed. The reason was kernel stack overflow. When I investigated the problem, the callstack was a little bit deeper by involve with reclaim functions but not direct reclaim path. .... ] (From OE-Core rev: b162bcf26a5b97fddd2a64789f97ec705bb354f9) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: re-enable ARM buildsBruce Ashfield2014-07-251-2/+1
| | | | | | | | | With lttng 2.4.2 and gcc 4.9, we can now enable lttng-modules for ARM. (From OE-Core rev: f6587be6cd3dc864143b1c0be0bb8179a61dc835) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to 2.5.0Bruce Ashfield2014-07-254-39/+157
| | | | | | | | | | | | | | During the uprev of the yocto kernel to 3.16, lttng-modules failed to build. To grab the latest stable content, we update to 2.5.0, and add two patches to also make it build against 3.16+. We also drop the older 2.3.3 lttng-modules, since it is no longer required to support ARM builds. (From OE-Core rev: 10680c8f06c52b25ed63d315596707701402646d) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.14: vexpress and MVM firmware supportBruce Ashfield2014-07-253-13/+13
| | | | | | | | | | | | Updating the 3.14 SRCREVs to integrate the following changes: meta: iwlwifi: Add MVM firmware support vexpress: Pass LOADADDR to Makefile (From OE-Core rev: da1eca40b5ff608df6f4041a92b2d4c71ee6784e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: remove CFLAGS overrideTing Liu2014-07-231-7/+0
| | | | | | | | | | | | | | | | | | | | | | definition of __SANE_USERSPACE_TYPES__ was added in kernel source by commit e3541ec75219819d3235f80125a1a75d798ff6e1 perf tools, powerpc: Fix compile warnings in tests/attr.c Overriding the CFLAGS makes it impossible for kernel build system to append to it, thus making the build fail in various ways as: | CC /.../perf/1.0-r9/perf-1.0/perf.o | In file included from builtin.h:4:0, | from perf.c:9: | util/util.h:74:24: fatal error: lk/debugfs.h: No such file or directory | #include <lk/debugfs.h> | ^ | compilation terminated. (From OE-Core rev: 7e7063e495d6451b46e06d08d16f92d0597a7d11) Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernelshark: Remove trace-cmd from the kernelshark packageDarren Hart2014-07-191-0/+1
| | | | | | | | | | | | | | | | | | | | Fixes [YOCTO 6550] Images installing both trace-cmd and kernelshark would fail with: error: file /usr/bin/trace-cmd conflicts between attempted installs of kernelshark-1.2+git0+7055ffd37b-r3.core2_32 and trace-cmd-1.2+git0+7055ffd37b-r3.core2_32 This patch removes ${bindir}/trace-cmd from the install prior to packaging, as is already done with the ${datadir}. Reported-by: California Sullivan <california.l.sullivan@intel.com> (From OE-Core rev: 3cd92ac652e12fc2f4d67cbc5e7f83dd95f6bd1d) Signed-off-by: Darren Hart <dvhart@linux.intel.com> (cherry picked from commit eb08ae8f729ef77329892d19b23ddfdaa7953de0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: backport two patches to support e500mc/e6500Ting Liu2014-07-193-0/+585
| | | | | | | | (From OE-Core rev: 687cfed641e6ce3d7e2de7e7b8ed55e0324743a6) Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Upgrade to latest gitSaul Wold2014-07-172-2/+30
| | | | | | | | | | Update to version 18 with an additional patch from the git repo to address an issue. (From OE-Core rev: 5a16da19eda60992e094b38ebb185875529b3b4c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: Upgrade 2.5 -> 2.6.1Richard Purdie2014-07-171-2/+3
| | | | | | | | Needed to create the directory to avoid B != S build issues. (From OE-Core rev: 6612c5e48c94fcfcd2c3ed48f7d8f2650e5b6abe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: use "foreign" automake strictnessRoss Burton2014-07-162-0/+8
| | | | | | | | | | oprofile doesn't want GNU-levels of automake strictness so tell it to be "foreign". (From OE-Core rev: 01943188f85ce6411717fb5bf702d609f55813f2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>