summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux
Commit message (Collapse)AuthorAgeFilesLines
* qemux86: disable paravirt guest in linux 3.4, causes test failuresRoss Burton2013-05-081-1/+1
| | | | | | | | | | | | | | | | | The shutdown sanity test that we previously saw on qemux86-64 in 2.6.37 have started to re-appear reproducably on qemux86 in 3.4 in the Danny series. Until this can be root-caused and fixed in the kernel, disable paravirtualisation across all kernels and all qemu machines. [ YOCTO #4196 ] (From OE-Core rev: 6091d041e94397a4dda6827868ba48d2e3250d26) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: meta/recipes-kernel/linux/linux-yocto_3.4.bb
* linux-dtb: fix whitespace in bash functionsChase Maupin2013-04-231-43/+43
| | | | | | | | | | | * Fix the whitespace in the base functions to use TAB instead of spaces. This is to address feedback from: Darren Hart <dvhart@linux.intel.com> (From OE-Core rev: fa0831bb57ed3af55c3547be14131989c4330f7d) Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-dtb: Add simple DTB symlinks for devicetreeChase Maupin2013-04-231-0/+20
| | | | | | | | | | | | | | | | * This is similar to the symlinks provided for the kernel image in the /boot directory of a file system. The goal is to have simply named symlinks in /boot that mirror the device tree name in the kernel sources. This is so that programs like U-Boot can easily find the default device tree binary in the /boot directory and use that when booting the kernel. * Use update-alternatives to handle proper creation and removal of the symlinks. (From OE-Core rev: f972ec9522ade7dc35c535a65b04c9f31663f9aa) Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemux86-64: Disable paravirt guest, causes test failure on older kernelsDarren Hart2013-04-231-1/+1
| | | | | | | | | | | The 2.6.37 kernel on the AB occasionally fails dmesg and shutdown tests with general protection faults. (From OE-Core rev: 6bac3375f14e326a06537d329afad72325fb6a4f) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: perf: parallel build and tools fixesBruce Ashfield2012-10-103-10/+10
| | | | | | | | | | | | | | | | | | | | | | korg commit 42dcd1f4e [perf tools: Fix parallel build] fixes parallel build issues that are being seen in the autobuilder. We also have a fix from Tom: [ perf annotate: replace 'expand' with equivalent sed expression We don't have 'expand' in our userspace so we need to accomplish the same thing using 'sed', which we do have. ] So we apply it to all BSP branches and kernel types. (From OE-Core rev: f06e7d38db35c56c71a42264361ec45fb3777a14) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernelDarren Hart2012-10-101-0/+27
| | | | | | | | | | | | | | | This recipe builds the "tiny" kernel type defined by the linux-yocto meta-data. Support is defined for the qemux86 machine via common-pc-tiny.scc in the linux-yocto meta branch. The resulting kernel is 1.8 MB and boots to a serial console with with qemux86 and core-image-minimal using the following command: qemu -kernel tmp/deploy/images/bzImage-qemux86.bin -initrd tmp/deploy/images/core-image-minimal-qemux86.cpio.gz -append "root=/dev/ram0 console=ttyS0" -nographic (From OE-Core rev: cf25f211ec420e1e8dd48c8e62f60deefe2c6d53) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: tiny: Add qemu KMACHINE to common-pc-tiny.sccBruce Ashfield2012-10-101-1/+1
| | | | | | | | | | | | | Updating the meta SRCREV to pickup the following change: Ensure the qemux86 machine is defined in common-pc-tiny as it is for -standard and -rt. (From OE-Core rev: 1076910ac3cd55a3f87b5ca7a1db1e38c623480a) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: fix kconfig warnings and unnecessary optionsBruce Ashfield2012-10-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Updating the kernel configuration fragments to fix the following issues: - remove options that are no longer in the 3.4 kernel - disable unused, but large kernel modules - fix kconfig audit warnings for x86 BSPs - make uprobes reusable by multiple fragments The following meta branch commits are represented by this update: 3da1172 uprobes: split into enable and patch fragments 17ec51a meta: cleanup invalid/obselete 3.4 CONFIG options b5cee42 meta: disable OCFS2 by default efe937e meta: drm: tag DRM options as 'hardware' 10b5155 meta: emenlow: clean emenlow configuration warnings a907b82 meta: add CONFIG_SHMEM to standard kernel config (From OE-Core rev: a01bb3ec72c375c0f06006769969f63fed3ef566) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: update beagleboard configsBruce Ashfield2012-09-252-3/+2
| | | | | | | | | | | | | | Updating to pickup a couple of configuration tweaks that were done as part of a bump to the 3.4 linux-yocto tree for the beagleboard. In particular, this updates DVI and USB settings to enable the perhipherals out of the box. (From OE-Core rev: 3c562b8360edf52aea6280849fa33e8a0f34742b) Signed-off-by: Liang Li <liang.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: update kver to v3.4.11Bruce Ashfield2012-09-252-12/+12
| | | | | | | | | | | | Updating the machine and meta SRCREVs to the latest 3.4.x -stable release. See git whatchanged v3.4.10..v3.4.11 for the full changelog. (From OE-Core rev: b164d9776802784a2fee01f2ab267dab4c2beafe) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: Update fri2 and sys940x to emgd-1.14Bruce Ashfield2012-09-242-2/+3
| | | | | | | | | | | Bumping the meta SRCREV to pickup a newer emgd for the fri2 and sys940x. (From OE-Core rev: abb23d987184f76fb922af15508f2e251399e3ed) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: use profiling and latencytop features in yocto bspsBruce Ashfield2012-09-212-2/+2
| | | | | | | | | | | | | Updating the meta SRCREVs to pickup the following configuration change: 594994c meta: use profiling and latencytop features in yocto bsps (From OE-Core rev: df0197810e72337093ea6ced1c8b28eeeef8a7a8) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemux86-64: Support for KVM, paravirt and virtio addedCristian Iorga2012-09-211-1/+2
| | | | | | | | | | | | | | | KVM, paravirtualization and virtio drivers are now activated in runqemu using the kvm option flag for qemux86-64. Host CPU features are also exported to guest OS (Yocto Linux). Usage example: runqemu qemux86-64 core-image-x11 kvm Implements [YOCTO #2550]. (From OE-Core rev: cbb6431b3ee9128ea15c9ae0a19e7d2998ffc561) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemux86: Support for KVM, paravirt and virtio addedCristian Iorga2012-09-211-0/+1
| | | | | | | | | | | | | | | KVM, paravirtualization and virtio drivers are now activated in runqemu using the kvm option flag for qemux86. Host CPU features are also exported to guest OS (Yocto Linux). Usage example: runqemu qemux86 core-image-x11 kvm Implements [YOCTO #2550]. (From OE-Core rev: a35d03e2eb905de4eadc9c7df5b50bff1fb7f897) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: make uprobes select perf eventsBruce Ashfield2012-09-142-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | uprobes depends on functionality provided by perf events. After uprobes was enabled in the standard kernel the mpc8315 board showed link errors due to missing perf event functions. This problem isn't isolated to the board or powerpc arch, but all other boards have PERF_EVENTS enabled. To fix this, we make UPROBE_EVENT select PERF_EVENTS, and any new boards will be protected from the same failure. We also update the configuration fragments since CONFIG_UPROBES depends on CONFIG_PERF_EVENTS being set, so PERF_EVENTS needs to be added whenever uprobes are enabled. [YOCTO #3111] (From OE-Core rev: b681b74624d1c8c4c98b2a121828e010fc5c3a25) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: virtio and KVM guest configurationBruce Ashfield2012-09-142-2/+2
| | | | | | | | | | | | | | Updating the meta branch SRCREV to pick up virtio and kvm guest configuration fragments. 79947f1 meta: add paravirtualized KVM guest config fragment 3ed86ed meta: add MMIO support in virtio config fragment (From OE-Core rev: b6b5b501fbe7158f190e887c3edc1214bb3671ed) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: add x32 configuration fragmentBruce Ashfield2012-09-122-2/+4
| | | | | | | | | | | | | | | | When x32 is the tuning for a x86 MACHINE, the kernel should also have CONFIG_X86_X32=y. This adds a x32 fragment that can be used to trigger the right ABI. The commit also contains a check for mx32 in TUNE_FEATURES, and if present, the new fragment will be appended to KERNEL_FEATURES and trigger the support in the kernel. cc: Saul Wold <sgw@linux.intel.com> (From OE-Core rev: bf689c60caa905eb8866101b9e99dd4ae246a2ca) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto*: append to KERNEL_FEATURES instead of assigningBruce Ashfield2012-09-126-6/+6
| | | | | | | | | | | | | | | | | It is sometimes useful for KERNEL_FEATURES to be set in a machine or other configuration file. The linux-yocto recipes currently initialize the variable, which clobbers any values set by .conf files. Appending to the variables allows these settings to propagate to the kernel configuration, while maintaining the existing set of added kernel features. (From OE-Core rev: 7121fe8d836fc178e9ab8f0e6f8eb34a99325c81) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: v3.4.10 and uprobes/kprobes configuration updatesBruce Ashfield2012-09-122-12/+12
| | | | | | | | | | | | | | | | | Updating to 3.4.10 which has been soaking for a bit now, as well as picking up the following meta commits from Tom Z: a82db2f meta: have systemtap use kprobes and uprobes feature d5d5b80 meta: add kprobes support to ktypes/standard b32d373 meta: add kprobes feature d40ed99 meta: have uprobe feature use uprobe.cfg a69d1db meta: add uprobe.cfg (From OE-Core rev: fb71d8c3ab735739baedcb5c8c44b028890d8a5e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt: 3.4.9-rt17 remaining changesBruce Ashfield2012-09-051-2/+2
| | | | | | | | | | | | | | | The first import of 3.4.9-rt17 only picked up part of the import due to a merge conflict with the modified files, and then SRCREVs being generated from the pre-merge commit. This SRCREV update picks up the rest of the modified files for full -rt support. (From OE-Core rev: d1ec0b64018dafaa6e47233b3465fbe4189e6280) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt: update to 3.4.9-rt17Bruce Ashfield2012-09-041-2/+2
| | | | | | | | | | | | | Bumping the 3.4 kernel to -rt17. As well as picking up the normal set of bug fixes, this update fixes a boot issue that was introduced during merging of kernel.org -stable updates into the -rt branches (in the timekeeping code). (From OE-Core rev: 0c060a81ade685aee5492e0273f199850dffaf76) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.2/3.4: arm: Fix linking errors with binutils 2.23Bruce Ashfield2012-09-045-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the 3.2/3.4 linux-yocto SRCREVs to pickup the following fix: arm: Fix linking errors with binutils 2.23 We end up with linking errors on arm using latest binutils because we are linking asm generated objects which use -march=all generating different attributes into object and use some c objects e.g. misc.o which use different march therefore generating a different set of attributes into object. When linking is done the ld complains since it finds incompatible attributes and ends up with errors like error: DIV usage mismatch between arch/arm/boot/compressed/head.o and output error: DIV usage mismatch between arch/arm/boot/compressed/misc.o and output error: DIV usage mismatch between arch/arm/boot/compressed/decompress.o and output error: DIV usage mismatch between arch/arm/boot/compressed/lib1funcs.o and output This patch fixes it by providing correct march to assembly routines which than matches with output of ld. Signed-off-by: Khem Raj <raj.khem@gmail.com> (From OE-Core rev: e67ffb708522a622d149641ea09b249259ed3fb4) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: v3.4.9, unionfs, perf and configuration changesBruce Ashfield2012-09-042-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the SRCREVs for the following updates: - v3.4.8, v3.4.9 - bug fixes: a4c7a04 perf: add SLANG_INC for slang.h e32ab98 unionfs: restore FD_* utility defines 9f0fe58 unionfs: update unionfs fork to align with mainline b3fcc2f codel: refine one condition to avoid a nul rec_inv_sqrt ef7cf65 fq_codel: should use qdisc backlog as threshold 3f0ed1d net: codel: fix build errors 4c06aa1 net/codel: Add missing #include <linux/prefetch.h> 2888bf2 codel: use u16 field instead of 31bits for rec_inv_sqrt 6edeb2e codel: use Newton method instead of sqrt() and divides 2faecd6 fq_codel: Fair Queue Codel AQM edca95f netem: add ECN capability - config/BSP updates: 463299b meta: bump kver to v3.4.9 6b961c8 CrystalForest: Enable PCI IOV feature 4bc2238 meta: Add new pci iov feature 70346e6 mpc8315: remove now obsolete CONFIG_MISC_DEVICES (From OE-Core rev: 696252de3a8e5c1bdc0e2c8c2c92cdeefd0babe2) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: fix INC directory for SLANGLiang Li2012-08-254-29/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In the kernel's tools/perf/Makefile CFLAGS was previously hard coded to contain "-I/usr/include/slang" to work with hosts that have "/usr/include/slang/slang.h" as well as hosts that have "/usr/include/slang.h". This path can cause compile warnings like: cc1: warning: '/usr/include/slang' doesn't exists. or cc1: warning: include location "/usr/include/slang" is unsafe for cross-compilation [-Wpoison-system-directories] Then in some cases warnings become errors if WERROR is enabled hence build errors. In coordination with a kernel fix, we can fix this error for all kernels by modifying the perf Makefile within the staged kernel source. (From OE-Core rev: 4e0daf05ed04e9fb4343032c6290a379f53b89f3) Signed-off-by: Liang Li <liang.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: Remove parens from COMPATIBLE_MACHINE regexpKhem Raj2012-08-233-3/+3
| | | | | | | | | | | | | This helps in appending to this regexp from bbappends coming from other layers who want to leverage linux-yocto with minimum tweaks by using a standard prefefined machine from linux-yocto (From OE-Core rev: 32ba716e71fb7a16f13c83ab6c8cc51de56b3be2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.0: update meta SRCREVBruce Ashfield2012-08-192-2/+2
| | | | | | | | | | | | | | | Bumping the meta SRCREV to pickup this fix: meta: rename virto.scc to virtio.scc The virtio configuration block is misnamed. BSPs that include it with the proper name, now throw an error (as they should). So fixing the name of the fragment fixes the build. (From OE-Core rev: c6b335099224d590109a8bcda22bf54c597c7eee) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-tiny: set default branchBruce Ashfield2012-08-191-1/+2
| | | | | | | | | | | | | | To streamline the creation of build time branches (branches that are not always present in the upstream kernel repository), linux-yocto-tiny should specify a default kernel branch. By setting the default branch (KBRANCH_DEFAULT) and also setting the build branch (KBRANCH) to that default, the tools will allow the board description to be processed and no branching forced. (From OE-Core rev: 07e422138b89e4f4a0cc911db70e2ce953b7623b) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: remove explicit KBRANCH designationsBruce Ashfield2012-08-191-9/+2
| | | | | | | | | | | | | | | | A BSP specific KBRANCH assignment is no longer a required element to locate and build a yocto kernel. As such we can set the default kbranch, and remove all other explicit assignments. KBRANCH is still used, and if it is changed from the default, that branch will be built. (From OE-Core rev: 7984a9f6ccd00bf282c9eedab7ab933add68448c) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: BSP, uprobes, config and cleanupsBruce Ashfield2012-08-192-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the linux-yocto 3.4 recipe with consolidated fixes, BSPs and cleanups. From the kernel meta branch: 28bcd46 meta: move emgd features to staging 6c01949 meta: Crystal Forest Machine Created. 3c19c4d meta/qemuppc: remove redundant profiling options a5da4d5 meta: kgdb: update configuration for out of box functionality 1d13e00 meta: update status/series and patches for v3.4 b96c408 fsl-mpc8315e-rdb: replace leading dot with hash in cfg file 7c9a3b0 usb: fix scc and cfg filename collision with ktypes/base/ aa0e1f6 kconfig: make CONFIG_BLOCK=y part of base config 3d1a2f2 kconfig: add tty/serial file to hardware listing 60b600f routerstationpro: specify chosen filesystems in audit input. 8b5c8c7 routerstationpro: add config data for audit purposes d7ae8fa meta: add ath79 Kconfig to hardware listing. And from the standard branch: c77666c powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr. c262f3e powerpc: Uprobes port to powerpc d40e73d powerpc: Add trap_nr to thread_struct 6a64190 Revert "This is the port of uprobes to powerpc. Usage is similar to x86." e422119 Revert "powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr." d4ef82f keys: kill task_struct->replacement_session_keyring 1cc141e keys: kill the dummy key_replace_session_keyring() 090ca45 keys: change keyctl_session_to_parent() to use task_work_add() 61bc7a8 genirq: reimplement exit_irq_thread() hook via task_work_add() 5ee34dd task_work_add: generic process-context callbacks 70754de move key_repace_session_keyring() into tracehook_notify_resume() 6f70bc1 powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr. e5f6a4c This is the port of uprobes to powerpc. Usage is similar to x86. 2bc4597 On RISC architectures like powerpc, instructions are fixed size. Instruction analysis on such pl 8893371 perf probe: Detect probe target when m/x options are absent 544d531a perf probe: Provide perf interface for uprobes 103b503 tracing: Fix kconfig warning due to a typo 9bb012e tracing: Provide trace events interface for uprobes b9b7281 tracing: Extract out common code for kprobes/uprobes trace events 91f0360 tracing: Modify is_delete, is_return from int to bool a8600f2 uprobes/core: Decrement uprobe count before the pages are unmapped a252056 uprobes/core: Make background page replacement logic account for rss_stat counters 3efc15b uprobes/core: Optimize probe hits with the help of a counter 20f3d76 uprobes/core: Allocate XOL slots for uprobes use 77bfad8 uprobes/core: Handle breakpoint and singlestep exceptions 7196d9a uprobes/core: Rename bkpt to swbp c99bc18 uprobes/core: Make order of function parameters consistent across functions 7e9be99 uprobes/core: Make macro names consistent c4247f2 uprobes: Update copyright notices f066ff9 uprobes/core: Move insn to arch specific structure e91cf65 uprobes/core: Remove uprobe_opcode_sz 942b91c uprobes/core: Make instruction tables volatile 56c1e99 uprobes: Move to kernel/events/ 0a7ad1c uprobes/core: Clean up, refactor and improve the code 3760d62 uprobes, mm, x86: Add the ability to install and remove uprobes breakpoints Two BSP updates: - Crystal Forest Machine has been added - routerstationpro configuration updates for 3.4 (From OE-Core rev: bd05dcb634cbb4022b4189985585f73c86f01fae) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: bump version to 3.4.7Bruce Ashfield2012-08-192-12/+12
| | | | | | | | | | | The v3.4.7 -stable update has been released, updating all in-tree BSPs to this new baseline. (From OE-Core rev: 89a0587d5affe8d8986efce7738b7b3774792154) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-3.2: Apply slang workaround fixing perf builds to 3.2 kernels tooRichard Purdie2012-08-071-0/+2
| | | | | | (From OE-Core rev: b033000900ef2082a2d2d2be3e36b6b813309902) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-3.0: Apply slang workaround fixing perf builds to 3.0 kernels tooRichard Purdie2012-08-071-0/+2
| | | | | | (From OE-Core rev: 6b4ed64c04bbeb019192a7db1f77cfd002281be4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-3.4: Disable extra slang header search pathRichard Purdie2012-08-072-0/+22
| | | | | | | | | | | Add in a workaround to avoid host infection detection build failures from the slang include directory in perf. I'll defer to Bruce to fix this properly but we need a workaround now as this is breaking builds. (From OE-Core rev: 4fd4b2eafb5f4ff2ef85d7f5ff3238a41c34313b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/rt: update BSP preempt-rt.scc files to enable live bootBruce Ashfield2012-07-265-5/+5
| | | | | | | | | | | | | | | | | | | | Updating the meta branch SCREV to pickup the preempt-rt commits to fix live boot on the x86 boards: 7ff48aa sys940x: Append default preempt-rt policy 052ecea sugarbay: Append default preempt-rt policy b8230e3 jasperforest: Append default preempt-rt policy 7fb788a chiefriver: Append default preempt-rt policy ffbb5ea romley: Append default preempt-rt policy 5fe5f68 cedartrail: Append default preempt-rt policy 85bee0c atom-pc: Append default preempt-rt policy (From OE-Core rev: 055f0392bb468eac669ae941613feb618bf26f20) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: 3.4.6 and 3.4.x-rt14Bruce Ashfield2012-07-262-12/+12
| | | | | | | | | | | | | Updating the 3.4 kernel to the latest -stable release and updating preempt-rt to 3.4.4-rt14. Tested on qemu* (From OE-Core rev: 955fd1408713634d9a96b00ef53ed0a6a188e9fe) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: emgd, mtd nand and kmemcheck fixesBruce Ashfield2012-07-222-2/+2
| | | | | | | | | | | | | | Updating the 3.4 meta SRCREV for the following fixes: 949fddd meta: crownbay.scc change emgd branch name cd0721a yocto/emgd: emgd 1.14 driver c2b5ee3 meta: disable CONFIG_MTD_NAND_VERIFY_WRITE 004cadb meta: kmemcheck: 'other' configs turning on CONFIG_FUNCTION_TRACER (From OE-Core rev: c192b2da74b20f091b6191349ceb1cf195aae8c6) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove a number of unneeded import os/bb callsRichard Purdie2012-07-191-2/+0
| | | | | | | | | | The bb and os modules are always imported so having these extra import calls are a waste of space/execution time. They also set a bad example for people copy and pasting code so clean them up. (From OE-Core rev: 7d674820958be3a7051ea619effe1a6061d9cbe2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.0: perf scripting supportBruce Ashfield2012-07-112-8/+8
| | | | | | | | | | | | | | | | Updating the 3.0 SRCREVs to pickup the recent perf scripting fixes. cef17a1 perf: add sgidefs.h to for mips builds 3258da3 perf: change --root to --prefix for python install 1f9c25b perf: add 'libperl not found' warning f2b1bf1 perf: use pkg-config instead of python-config 568e05f perf tools: Add support to install perf python extension 7e47f81 Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON" (From OE-Core rev: 20405bdab18b7a2b101f818e72863d289d5945e4) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: perf, unionfs and yaffs2 fixesBruce Ashfield2012-07-102-8/+8
| | | | | | | | | | | | | | Updating the 3.4 SRCREVs to pickup the following changes: 6297e4c perf: add sgidefs.h to for mips builds 69b7817 yaffs: add leading underscore to mtd_info function names 160f1ac yaffs: change type for mode to umode_t 2d875e8 Unionfs: use mode_t (From OE-Core rev: 9d75c34948f5d961cff9d72fbaa628ff58821cc7) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.2: perf: fix mips buildBruce Ashfield2012-07-103-9/+9
| | | | | | | | | | | | | | | | | | | Updating SRCREVs for the following fix: Author: Tom Zanussi <tom.zanussi@intel.com> Date: Tue Jul 10 09:38:40 2012 -0500 perf: add sgidefs.h to for mips builds Allow Python.h to find the definitions it needs on mips i.e. get rid of the error: "_ABIN32" is not defined. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> (From OE-Core rev: 04396899dc7973261404d5fbec3f85aa03a32e03) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.2: perf scripting updatesBruce Ashfield2012-07-103-12/+12
| | | | | | | | | | | | | | | | | | Updating the 3.2 SRCREVs to reflect the perf scripting fixes by TomZ standard/default/base: 0ec416e perf: change --root to --prefix for python install 18ad076 perf: add 'libperl not found' warning e0f641d perf: use pkg-config instead of python-config 3195098 Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON" meta: 07ee09b features/ftrace: enable FTRACE_SYSCALLS (From OE-Core rev: c8f60299424dd912c6402847773f89c0490a1857) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: perf scripting & unionfs fixesBruce Ashfield2012-07-092-10/+10
| | | | | | | | | | | | | | | | | | | Updating the SRCREVs to pickup the following changes: standard/base: 95c79fb Unionfs: update ->show_options prototype 49f1599 perf: change --root to --prefix for python install 8ff1ab6 perf: add 'libperl not found' warning b4bc865 perf: use pkg-config instead of python-config a2257bf Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON" meta: a8cf770 features/ftrace: enable FTRACE_SYSCALLS (From OE-Core rev: 8d8b9e77aa3403e880cbbdfefc7f24a993b3161f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Add kernel headers to kernel-dev packageDarren Hart2012-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [YOCTO #1614] Add the kernel headers to the kernel-dev package. This packages what was already built and kept in sysroots for building modules with bitbake. Making this available on the target requires removing some additional host binaries. Move the location to /usr/src/kernel Before use on the target, the user will need to: # cd /usr/src/kernel # make scripts This renders the kernel-misc recipe empty, so remove it. As we use /usr/src/kernel in several places (and I missed one in the previous version), add a KERNEL_SRC_DIR variable and use that throughout the class to avoid update errors in the future. Now that we package the kernel headers, drop the kernel_package_preprocess function which removed them from PKGD. All *-sdk image recipes include dev-pkgs, so the kernel-dev package will be installed by default on all such images. (From OE-Core rev: 6125ea40d4483965f793bd847b3ce14b668a5b1e) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-tiny: add KMETA specificationBruce Ashfield2012-07-041-0/+2
| | | | | | | | | | | | | | | | | | With recent kern tools changes, having a meta branch is opt-in. The other linux-yocto recipes were updated, but linux-yocto-tiny was missed. Without specifying a meta branch, the kernel configuration audit won't return any useful results, and throws a warning message. WARNING: Can't find any BSP hardware or required configuration fragments. WARNING: Looked at //cfg///hdw_frags.txt and //cfg///required_frags.txt in directory: //cfg// NOTE: package linux-yocto-tiny-3.2.18+git1+ee78519365bdb25287703bbc31c06b193263c654_1+27b68a93eb791e830da8d3a2c0fc99780897ad89-r3.0: task do_kernel (From OE-Core rev: 29dbe7d7ba66c66e9e5c8dc438f89d9b46c509a0) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: update preempt-rt to 3.4.4-rt13Bruce Ashfield2012-07-042-4/+4
| | | | | | | | | | Updating preempt-rt in the 3.4 kernel to the latest upstream version 3.4.4-rt13. (From OE-Core rev: f5ed8bc876fd24e4f08d29da06454037eec818e6) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: v3.4.4 + configuration updatesBruce Ashfield2012-07-042-13/+12
| | | | | | | | | | | | | | | | | | | | | Bumping the kernel version to v3.4.4 and importing the following meta branch commits: 9b7c74b meta: bump kver to v3.4.4 8231dec ck: relocate config post patches 26b965e net_sched: remove dupicate configuration option df8bf19 meta: remove non applying routerstationpro patch 292d8ea arm: import upstream versatile io.h fix f4824b1 net_sched: select ACT as a dependency of INGRESS 30ae722 cgroups: delete obsolete namespace option 51f94f0 meta: add qemumipsel mapping Built and boot tested on qemu* (From OE-Core rev: 3d33b8c8b3be5dcdac30c115b9fec427269db2b4) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.4: add qemumipsel machine mappingBruce Ashfield2012-07-042-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the meta branch with a board description and configuration that can be found from the linux-yocto recipes without doing a MACHINE -> KMACHINE mapping. From the meta branch commit: The mti malta board description for a little endian config can't be found by default unless it has a matching KMACHINE, or the KMACHINE is set in a kernel recipe. In this case, it is easier to just add qemumipsel in the KMACHINE list, so the recipe doesn't need to do the mapping. The little endian mips support reuses everything but the endianess settings from the big endian mti malta board emulation. This change adds the required mappings and SRCREVs, but does not update the machine compatibilty, since official support is still pending. The compatibility can be set in addon layers until that time. (From OE-Core rev: de2535b2bb47b80bdaeb3053b0ac0d1bbb9c5d53) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: Use INC_PR and move kernel require to linux-yocto.incDarren Hart2012-06-298-14/+10
| | | | | | | | | | | | | | | When making changes to kernel.bbclass, it would be nice not to have to manually change the PR of every linux-yocto*.bb file that requires it. Move the "require kernel" line to linux-yocto.inc and update the linux-yocto recipes to use INC_PR. (From OE-Core rev: 7a41d96c946029aeec03cd26f326bc6ca26e74fd) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/3.0: update BSP descriptions to new kern-tools formatBruce Ashfield2012-06-282-2/+2
| | | | | | | | | | | | | | | | | | | In tree linux-yocto 3.0 boards indicate that they are BSPs via the older/obsolete syntax "scc_leaf". This line in their board description is detected by the build process and is used to find the BSP description and the kernel type they use as their base. To work with the latest kern tools, the BSP descriptions should be updated to "include <ktype> branch <machine>" to acheive the same result. All trees newer than 3.0 already have this change and do not need to be updated. (From OE-Core rev: e32c993859337964033a285922dac3971e5add2d) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-dtb: add multi-dtb build supportZhenhua Luo2012-06-281-7/+29
| | | | | | | | | | | | including following enhancement: * support multi-dtb build * skip dtb build and install when KERNEL_DEVICETREE is empty * print a warning message when specified dts file is not available (From OE-Core rev: 66f7921f34dfa8b3c7f8f7184715214164f3f8b0) Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>