Commit Graph

741 Commits

Author SHA1 Message Date
Bruce Ashfield 79ecef6b56 linux-yocto/4.1: Galileo updates
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.

(From OE-Core rev: e901ce43d789e26ec0524153c5665cd2dbeed374)

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-02 22:39:44 +00:00
Bruce Ashfield 7e19f88e13 linux-yocto/4.1: capabilities backports
Backporting the following upstream commits to the 4.1 yocto tree:

   bdf4565e5dcc capabilities: add a securebit to disable PR_CAP_AMBIENT_RAISE
   2483c95caedc selftests/capabilities: Add tests for capability evolution
   4c274aa74e5d capabilities: ambient capabilities

(From OE-Core rev: e864caec7a9b522d86d164ffbaadaa4ea7de0f9b)

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-02-19 15:33:02 +00:00
Richard Purdie 94abdb2eea linux-yocto: Work around PAT issue on qemux86
We have an issue with PAT handling on older processes with limited PAT bits,
see the patch description for the full problem. This replaces the runqemu
workaround with a kernel patch until we can get the kernel trees sorted
out and discuss a proper fix with upstream. It should be safe everywhere
so is applied unconditionally.

(From OE-Core rev: e00f0794a535c8e68ae1c87c8b01dd65645d570b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-15 16:28:45 +00:00
Bruce Ashfield d255f4f72a linux-yocto/4.1: galileo backports and support
Updating the 4.1 branches with backported mainline support for the
galileo.

   a5327464dad9 iio: light: add support for ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light sensors
   7a868ce12675 pwm-pca9685: enable ACPI device found on Galileo Gen2
   9f169f0f6493 at24: enable ACPI device found on Galileo Gen2
   8b662e6343a1 gpio: pca953x: support ACPI devices found on Galileo Gen2
   a9939d26a6a0 gpio: pca953x: store driver_data for future use
   52355b7a7fee mfd: intel_quark_i2c_gpio: support devices behind i2c bus
   ba850c2a9965 mfd: intel_quark_i2c_gpio: load gpio driver first
   8b322e7df2bf mfd: core: redo ACPI matching of the children devices
   23c1fb4bc37d i2c / ACPI: Rework I2C device scanning
   f7eea071b03c gpio / ACPI: Return -EPROBE_DEFER if the gpiochip was not found
   bdc90004c8d5 GPIO / ACPI: export acpi_gpiochip_request(free)_interrupts for module use
   447db37b6df9 gpio / ACPI: Add support for retrieving GpioInt resources from a device
   edce965b0881 i2c: fix leaked device refcount on of_find_i2c_* error path
   f9b93689fdf5 i2c: core: only use set_scl for bus recovery after calling prepare_recovery
   a10a703575bd i2c: core: Reduce stack size of acpi_i2c_space_handler()
   ad91512127cd i2c: core: fix typo in comment
   b16ba95782f1 i2c: check for proper length of the reg property
   028a8d9209b7 i2c: slave: add error messages to slave core
   58551fe2320d i2c / ACPI: Assign IRQ for devices that have GpioInt automatically
   85153945ad9e i2c / ACPI: Use 0 to indicate that device does not have interrupt assigned

(From OE-Core rev: 2ff6c2ca2e22eaef37ccb4025bc0b78c42695eed)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11 22:57:19 +00:00
Bruce Ashfield fdcb373de1 linux-yocto/4.1: update to v4.1.17
Updating to the -stable korg release with the following changes:

   2d5f6b041335 Linux 4.1.17
   d17367a77457 recordmcount: Fix endianness handling bug for nop_mcount
   1f6d936d33f4 arm64: restore bogomips information in /proc/cpuinfo
   705164dbe08f mn10300: Select CONFIG_HAVE_UID16 to fix build failure
   57b7d61c2d89 fix the regression from "direct-io: Fix negative return from dio read beyond eof"
   8885e7f3d76a direct-io: Fix negative return from dio read beyond eof
   b824d64b153a media/vivid-osd: fix info leak in ioctl
   3f0cf7dcf712 staging: lustre: echo_copy.._lsm() dereferences userland pointers directly
   b50a2b556d1e HID: core: Avoid uninitialized buffer access
   c777e9ab2a44 parisc iommu: fix panic due to trying to allocate too large region
   e479822e1e3a iommu/vt-d: Fix ATSR handling for Root-Complex integrated endpoints
   f21731a54a66 arm64: mm: ensure that the zero page is visible to the page table walker
   3e804c36399e arm64: Clear out any singlestep state on a ptrace detach operation
   426bfb6a7784 ARM/arm64: KVM: correct PTE uncachedness check
   3f0b20e1a2d8 arm64: fix building without CONFIG_UID16
   f94cf332a806 arm64: KVM: Fix AArch32 to AArch64 register mapping
   959cad3a68a7 ARM/arm64: KVM: test properly for a PTE's uncachedness
   75f1fde24b56 arm64: kernel: pause/unpause function graph tracer in cpu_suspend()
   f22c64cd0745 arm64: bpf: fix mod-by-zero case
   40c5dde6eb7e arm64: bpf: fix div-by-zero case
   8831ded35abd recordmcount: arm64: Replace the ignored mcount call into nop
   a33b8ff3d6cb powerpc/module: Handle R_PPC64_ENTRY relocations
   1e2c53f19cef scripts/recordmcount.pl: support data in text section on powerpc
   4126ac7cdcef powerpc: Make {cmp}xchg* and their atomic_ versions fully ordered
   af69fe1f70af powerpc: Make value-returning atomics fully ordered
   1e14dd5a3864 powerpc/powernv: pr_warn_once on unsupported OPAL_MSG type
   a54d3a423412 powerpc/tm: Check for already reclaimed tasks
   567a215dd158 powerpc/tm: Block signal return setting invalid MSR state
   eeca98948d8c xfrm: dst_entries_init() per-net dst_ops
   139bd872dc68 xen-netfront: update num_queues to real created
   a1edfa789d1a xen-netfront: respect user provided max_queues
   21edf40b5ccb xen-netback: respect user provided max_queues
   534e9016cd88 sctp: Prevent soft lockup when sctp_accept() is called during a timeout event
   490c963c1eb9 team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid
   95785b105fa2 batman-adv: Drop immediate orig_node free function
   ae3eb44e0e8b batman-adv: Drop immediate batadv_hard_iface free function
   924224c6e44a batman-adv: Drop immediate neigh_ifinfo free function
   620493a90c78 batman-adv: Drop immediate batadv_neigh_node free function
   9d188c6b672c batman-adv: Drop immediate batadv_orig_ifinfo free function
   34c5bf7c7bf4 batman-adv: Avoid recursive call_rcu for batadv_nc_node
   016cb1d02db9 batman-adv: Avoid recursive call_rcu for batadv_bla_claim
   a50a93cc9928 ppp, slip: Validate VJ compression slot parameters completely
   5984398539a2 isdn_ppp: Add checks for allocation failure in isdn_ppp_open()
   9ba3d77689a5 tcp/dccp: fix old style declarations
   479b539a3101 tcp/dccp: fix timewait races in timer handling
   332fb8799ed1 bridge: fix lockdep addr_list_lock false positive splat
   2980502b9f6d ipv6: update skb->csum when CE mark is propagated
   dc1cfcc26697 net: bpf: reject invalid shifts
   2a1e5e4ab662 phonet: properly unshare skbs in phonet_rcv()
   7d9fb947be67 bonding: Prevent IPv6 link local address on enslaved devices
   abefd1b4087b net: preserve IP control block during GSO segmentation
   4bb526bce19d udp: disallow UFO for sockets with SO_NO_CHECK option
   e7bbeacbafc1 tcp_yeah: don't set ssthresh below 2
   add92082e2d1 ipv6: tcp: add rcu locking in tcp_v6_send_synack()
   bcea43fb3164 net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
   a33704eb6085 vxlan: fix test which detect duplicate vxlan iface
   8f5cd6eea811 net: possible use after free in dst_release
   02a1fef61d06 net: sched: fix missing free per cpu on qstats
   5596242a6263 net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
   a6b1d2489380 bridge: Only call /sbin/bridge-stp for the initial network namespace
   dc6b0ec667f6 unix: properly account for FDs passed over unix sockets
   f45f0213b831 connector: bump skb->users before callback invocation
   c000d76ec0d8 sctp: sctp should release assoc when sctp_make_abort_user return NULL in sctp_close
   45d52b0b1f9f net: cdc_ncm: avoid changing RX/TX buffers on MTU changes
   6866b52c56db addrconf: always initialize sysctl table data
   8a39e24931d1 ipv6/addrlabel: fix ip6addrlbl_get()
   57d0c018b46e veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.
   3fabd53542c8 xhci: refuse loading if nousb is used
   3f5e25aa380d USB: cp210x: add ID for ELV Marble Sound Board 1
   887c3cc2557b USB: ipaq.c: fix a timeout loop
   a7e83b16c8d8 USB: fix invalid memory access in hub_activate()
   5241134a79fa airspy: increase USB control message buffer size
   abcbfda367d4 usb: xhci: fix config fail of FS hub behind a HS hub with MTT
   1f6a2cc39913 ASoC: compress: Fix compress device direction check
   20091f9139bc ASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz
   6ac84206a212 ASoC: davinci-mcasp: Fix XDATA check in mcasp_start_tx
   1fce19176555 ASoC: wm8974: set cache type for regmap
   5a1109e05e09 ASoC: es8328: Fix deemphasis values
   64fa05313b0a ASoC: wm8962: correct addresses for HPF_C_0/1
   1c98861e6467 ASoC: rsnd: fixup SCU_SYS_INT_EN1 address
   b309c8bf5a4a ALSA: timer: Handle disconnection more safely
   2b332719b8f0 ALSA: hda - Flush the pending probe work at remove
   a63fabd4ac6c ALSA: hda - Fix bass pin fixup for ASUS N550JX
   efcf073d7fa1 ALSA: control: Avoid kernel warnings from tlv ioctl with numid 0
   965b1203f399 ALSA: hrtimer: Fix stall by hrtimer_cancel()
   281bedb8728f ALSA: pcm: Fix snd_pcm_hw_params struct copy in compat mode
   d1a55757feff ALSA: seq: Fix snd_seq_call_port_info_ioctl in compat mode
   dc5697eb3297 ALSA: timer: Fix double unlink of active_list
   ac905ca58370 ALSA: timer: Fix race among timer ioctls
   042b42c579b9 ALSA: hda - fix the headset mic detection problem for a Dell laptop
   466c99bd815a ALSA: timer: Harden slave timer list handling
   27b496cc9e8c ALSA: usb-audio: Fix mixer ctl regression of Native Instrument devices
   6aee1f8440bf ALSA: hda - Fix white noise on Dell Latitude E5550
   49c9eb3db864 ALSA: seq: Fix race at timer setup and close
   9a6003a362ac ALSA: seq: Fix missing NULL check at remove_events ioctl
   aa13585b6672 ALSA: usb: Add native DSD support for Oppo HA-1
   37191bd8b4dd ALSA: hda/realtek - Fix silent headphone output on MacPro 4,1 (v2)
   b40f630cfe4d ALSA: hda - Set SKL+ hda controller power at freeze() and thaw()
   73a5fdacba1f ALSA: usb-audio: Add sample rate inquiry quirk for AudioQuest DragonFly
   271126c7cbb6 ALSA: usb-audio: Add a more accurate volume quirk for AudioQuest DragonFly
   228a0e09d53a ALSA: hda - Set codec to D3 at reboot/shutdown on Thinkpads
   be7c9844eea1 ALSA: hda - Apply click noise workaround for Thinkpads generically
   dff55bf1b247 ALSA: hda - Add a fixup for Thinkpad X1 Carbon 2nd
   bc4d35b2c8c7 ALSA: hda - Fix noise problems on Thinkpad T440s
   c5e609dc5cab ALSA: hda - Add inverted dmic for Packard Bell DOTS
   af95ff49d83b ALSA: rme96: Fix unexpected volume reset after rate changes
   9bc3da2497b3 ALSA: hda - Fix noise on Gigabyte Z170X mobo
   842dd2467a24 ALSA: hda - Add fixup for Acer Aspire One Cloudbook 14
   5c7e814c1b3a ALSA: hda - Apply HP headphone fixups more generically
   c397bc975aa4 ALSA: fireworks/bebob/oxfw/dice: enable to make as built-in
   055fb07950be ALSA: hda - Apply pin fixup for HP ProBook 6550b
   29923678a8ef ALSA: hda - Add Intel Lewisburg device IDs Audio
   e702f5856baa ALSA: hda - Disable 64bit address for Creative HDA controllers
   69bed67bc32f ipmi: move timer init to before irq is setup
   8dfca273353b ipmi: Start the timer and thread on internal msgs
   c1a631b482a7 x86/mm: Improve switch_mm() barrier comments
   ae535caf02c7 x86/mm: Add barriers and document switch_mm()-vs-flush synchronization
   4b6c3a55305d x86/boot: Double BOOT_HEAP_SIZE to 64KB
   eec2baa86479 x86/reboot/quirks: Add iMac10,1 to pci_reboot_dmi_table[]
   17f33d468f4d KVM: x86: correctly print #AC in traces
   8a3185c54d65 KVM: x86: expose MSR_TSC_AUX to userspace
   e052d6eeedf1 KVM: PPC: Book3S HV: Prohibit setting illegal transaction state in MSR
   19eaffefc4b0 KVM: svm: unconditionally intercept #DB
   03e572f3dda7 KVM: VMX: fix SMEP and SMAP without EPT
   c12a3752a390 x86/xen: don't reset vcpu_info on a cancelled suspend
   702d87e2ff77 xen/gntdev: Grant maps should not be subject to NUMA balancing
   3ab6a090acfb x86/signal: Fix restart_syscall number for x32 tasks
   c24eedeca7b8 x86/mpx: Fix instruction decoder condition

(From OE-Core rev: 8dd87247c224877c2948364048b736abc8e633e7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11 22:57:19 +00:00
Bruce Ashfield 5688cab6d4 linux-yocto/4.4: update to v4.4.1
Integrating the 4.4.1 stable korg update.

(From OE-Core rev: 1a6e4c4a4c6c4556580a08a2040baa54a64eb10e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11 22:57:18 +00:00
Bruce Ashfield 93fcee6882 linux-yocto/4.4: CVEs and preempt-rt update
Integrating the following CVE update:

  Author: Yevgeny Pats <yevgeny@perception-point.io>
  Date:   Tue Jan 19 22:09:04 2016 +0000

      KEYS: Fix keyring ref leak in join_session_keyring()

      This fixes CVE-2016-0728.

We also integrate the 4.4-rt3 version.

(From OE-Core rev: cca987b2f62dc6b51a02564ccd4041bde2897f13)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-30 11:37:00 +00:00
Bruce Ashfield 07c182fbde linux-yocto/4.1: update to 4.1.16
(From OE-Core rev: 82875cc321cdad2c8d521e660d6f6d5a23cb4295)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-30 11:36:59 +00:00
Bruce Ashfield e9280d13a8 linux-yocto: introduce v4.4 standard/preempt-rt/standard kernel
The 4.4 kernel has been under test via linux-yocto-dev, and is the next
LTS/LTSI kernel.

So we take our -dev support and created a named/versioned recipe for use
in upcoming releases.

(From OE-Core rev: 2dbc788bc3988532f0932e8e51e24ba702c28f6a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-18 11:47:03 +00:00
Christopher Larson c3b96fffac linux-dtb.inc: use absolute upd-alt paths
This works around a limitation of the chkconfig update-alternatives, so it
works with all our update-alternatives providers.

(From OE-Core rev: f78c640f1f41eb12ef7919e7dc99aae7db6f6b17)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-11 23:26:29 +00:00
Bruce Ashfield 883193a66d linux-yocto: remove 3.14 and 3.19 recipes
In preparation for the introduction of new (supported) kernel versions,
we remove the 3.14 and 3.19 variants.

The kernel trees will still be available, but the recipes are removed
from master. These versions can still be built on older releases, or
with private copies of the recipes.

3.14 LTSI is replaced by the 4.1 LTSI kernel, and 3.19 will be replaced
by 4.4+.

(From OE-Core rev: 6814521d0b88ee66442158ed70e77cbdd35d4782)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-28 09:25:16 +00:00
Bruce Ashfield 51619440e2 linux-yocto/4.1: update to v4.1.15
Updating the 4.1 kernel repo to the latest 4.1.x stable.

(From OE-Core rev: 1df3a79cf454754e6be6c1ffc91ba8310a880616)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-28 09:25:16 +00:00
Bruce Ashfield a462d16239 linux-yocto-dev: bump to 4.4-rcX
(From OE-Core rev: 30afd55016b7f3e63fdf07b0856f9bbf9be53f3d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-28 09:25:16 +00:00
Bruce Ashfield 9563aa8a25 yaffs2: fix checkpoint functionality
Updating the linux-yocto SRCREVs to pull in the following change:

  Author: He Zhe <zhe.he@windriver.com>
  Date:   Wed Dec 2 01:31:31 2015 -0500

    fs/yaffs2: fix missing checkpoint on yaffs

    For yaffs file system, the mode of reading or writing is restricted
    at four pointer where are mnt->mnt_flags,mnt->mnt_sb->s_flags,mtd->flags and
    dev->read_only,the first three is used handle file and file
    system(eg,remount) operation, and last one(dev->read_only) almost is
    used handle checkpoint of yaffs2. However, in current code, the
    dev->read_only only can be changed at first time when the yaffs2
    file system is mounted, later it can't be changed again(eg,mount -o
    remount), the result is that the checkpoint's saving operation
    always can't succeed if you set readonly mode for yaffs2 file system
    when it is mounted at the first time.

    To fix this issue, we implement yaffs_remount_fs() which allows the
    rootfs to be remounted as r/w.

    Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
    Signed-off-by: He Zhe <zhe.he@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: 289fd2bf61d0761a93d17f18b9079fc9f61e0031)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-28 09:25:16 +00:00
Bruce Ashfield c093fd8bd2 linux-yocto/4.1: Fix kernel oops on qemuarm boot
Backporting two mainline commits to address kernel oops:

   Internal error: Oops: 17 [#1] PREEMPT ARM
   Modules linked in:
   CPU: 0 PID: 42 Comm: jbd2/vda-8 Not tainted 4.1.8-yocto-standard #1
   Hardware name: ARM-Versatile PB
   task: c7223300 ti: c725e000 task.ti: c725e000
   PC is at blk_mq_tag_to_rq+0x24/0x78
   LR is at bt_for_each+0x70/0xc4
   pc : [<c0364458>]    lr : [<c0368118>]    psr: 20000113
   sp : c725fa18  ip : c725fa30  fp : c725fa2c
   r10: c0365ce0  r9 : 00000020  r8 : c7104200
   r7 : c70ee5ac  r6 : 00000001  r5 : 00000021  r4 : c7122da0
   r3 : c7104000  r2 : 00000000  r1 : 00000021  r0 : 00000000
   Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
   Control: 00093177  Table: 072f4000  DAC: 00000017
   Process jbd2/vda-8 (pid: 42, stack limit = 0xc725e190)
   Stack: (0xc725fa18 to 0xc7260000)

[YOCTO #8663]

(From OE-Core rev: 04b22b6b4953360ea383c4d928dea66f7b1796e6)

Signed-off-by: Alimon Limon <anibal.limon@linux.intel.com
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08 17:22:31 +00:00
Alexander Kanavin 12ba5cc325 package_regex.inc: split GITTAGREGEX entries into recipe files
(From OE-Core rev: 589f5442372a7ab0f8bc40403e1739ce1cdd1cc0)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-08 10:20:51 +00:00
Bruce Ashfield b7f610d3e9 linux-yocto/4.1: Bluetooth:Fix the connection fail of 6lowpan over BT LE
Backporting the 4.4 fix for 6lowpan:

   Author: Wu Zheng <wu.zheng@intel.com>
   Date:   Fri Nov 20 13:25:57 2015 +0800

       Bluetooth:Fix the connection fail of 6lowpan over BT LE

       When two devices with 6lowpan over BT LE connect each other,
       6lowpan over BT LE channel is set up between the two devices.
       However, the status of channel is not right.
       It always is set to CONNECTED and the channel can't be created.

       The status of channel need to be removed when connection is created.

       (The patch's reference from
       b0c09f94ff1660a1873549b788c998284ea5fb8a)

       Signed-off-by: Wu Zheng <wu.zheng@intel.com>

(From OE-Core rev: 2b6a6cad90bfef3afd5a721ec985f71336914fa7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01 21:32:13 +00:00
Bruce Ashfield d08e761b44 linux-yocto-rt/4.1: update to -rt15
Updating the 4.1-rt kernel to the latest and greatest upstream version.

(From OE-Core rev: 22912a99163402581e8e92dcacbf46f9049f6ff9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01 21:32:13 +00:00
Bruce Ashfield 6aa464cb1f linux-yocto/4.1: fsl-mpc8315e-rdb: Enable EEPROM
Updating the 4.1 SRCREVs for:

  Update the mpc8315erdb.dts to contain the eeprom device
  information. Coupled with adding "MISC_DEVICES" into the
  kernel configuration, we have a working eeprom.

  Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
  Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: 47a222ad6f3ee8b14b9eea28b63397077978f42f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01 21:32:13 +00:00
Bruce Ashfield bd29006d23 linux-yocto/4.1: update to v4.1.13
Updating the 4.1 kernel to the latest stable (and resolving minor
conflicts with -rt).

(From OE-Core rev: 12be8565b16f0fb571f859d3ef256767feaafc7f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01 21:32:12 +00:00
Paul Eggleton 0a30a1fd3f linux-yocto.inc: set SUMMARY instead of DESCRIPTION
We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

(From OE-Core rev: 1d655e2407267ed91e371e078e9a9a10183e3d62)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:37 +00:00
Stefan Christ dcc446fee0 linux-dtb.inc: refactor common code to function get_real_dtb_path_in_kernel
(From OE-Core rev: 04ed298520d38e0b078723b1b45368b7037cf6e0)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:31 +00:00
Stefan Christ af9c7a4c57 linux-dtb.inc: refactor common code to function normalize_dtb
(From OE-Core rev: 5dfa10978ef540a7a8cd89766c40625ccfeffda2)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:31 +00:00
Stefan Christ 7eecb81b6d linux-dtb.inc: explicit test for empty string not needed
The for loop already handles the case when KERNEL_DEVICETREE is empty.

(From OE-Core rev: 49010f4a1ae9570e96691c9faeb17808174488fe)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:31 +00:00
Stefan Christ 3a0bd40dfc linux-dtb.inc: use same variable name DTB for all elements of KERNEL_DEVICETREE
(From OE-Core rev: 1e9ac2c4970b2fc7f8ed939bce7cf0a5c7715ca3)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:28 +00:00
Stefan Christ a879312713 linux-dtb.inc: remove unneeded 'cd'
(From OE-Core rev: 2d7680a104e2910c90d8aceeb12c24dfde2cd2d6)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:28 +00:00
Aníbal Limón 304c95696e linux-yocto{, -rt}: Enable support for virtio drivers in qemu machines.
In order to use virtio devices as default in runqemu script
because these drivers are designed to use in vrit providing
better performance.

[YOCTO #8427]

(From OE-Core rev: 16dad3a6ccba01639b3a711426599af49c30a088)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-27 07:24:28 +00:00
Bruce Ashfield 5e42593d8d linux-yocto: nf_tables: Add nf_tables feature
Updating the META SRCREVs to make the nf_tables feature available.

(From OE-Core rev: 43ed2494ae4f89cab6e018f289bb048289d478f5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-27 07:24:24 +00:00
Bruce Ashfield 1c2fdd967e linux-yocto/3.19: fix ARM boot with gcc5.x
Updating the SRCREVs to apply the same fix as 3.14 and 4.1 already
have to fix qemuarm boots with gcc5.x

[YOCTO: #8415]

(From OE-Core rev: fa9852d5d7383e6d03c756b8ad615668857b0b86)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-27 07:24:24 +00:00
Bruce Ashfield 47dcee24ed linux-yocto/4.1: drm/i915: Fix the VBT child device parsing for BSW
Updating the 4.1 SRCREVs to integrate the following fix:

[
    drm/i915: Fix the VBT child device parsing for BSW

    Recent BSW VBT has a VBT child device size 37 bytes instead of the 33
    bytes our code assumes. This means we fail to parse the VBT and thus
    fail to detect eDP ports properly and just register them as DP ports
    instead.

    Fix it up by using the reported child device size from the VBT instead
    of assuming it matches out struct defintions.

    The latest spec I have shows that the child device size should be 36
    bytes for rev >= 195, however on my BSW the size is actually 37 bytes.
    And our current struct definition is 33 bytes.

    Feels like the entire VBT parses would need to be rewritten to handle
    changes in the layout better, but for now I've decided to do just the
    bare minimum to get my eDP port back.

    Cc: Vijay Purushothaman <vijay.a.purushothaman@linux.intel.com>
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
    Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
    (cherry picked from commit 90e4f1592bb6e82f6690f0e05a8aadcf04d7bce7)
    Signed-off-by: abdul arif abdul muttalib
    <abdul.arif.b.abdul.muttalib@intel.com>
    Signed-off-by: Tan Jui Nee <jui.nee.tan@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]

(From OE-Core rev: 1f575df04f003c1e1fe9413f95023c20a2f30e19)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-27 07:24:23 +00:00
Bruce Ashfield 380f2c69d4 linux-yocto: axxia configuration updates
Updating the configuration fragments for the Intel Axxia on the 3.14
and 4.1 kernels.

(From OE-Core rev: a4964955257a1ab2586fd5efeedc2e32b725895d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-27 07:24:23 +00:00
Bruce Ashfield ad8c0216dd linux-yocto/4.1: drm/i915 backports
Updating the SRCREVs to integrate the following backports:

  52a4a9f4a2b4 drm/i915/gen8: Initialize page tables
  a95cb62f8e85 drm/i915: Remove unnecessary gen8_ppgtt_unmap_pages
  a24d98fc488d drm/i915: Remove _entry from PPGTT page structures

(From OE-Core rev: 6bf364687c2d524f836a7b1d0f60f7b018dce839)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-07 00:11:20 +01:00
Aníbal Limón ec1146e3e4 linux-yocto_{3.14,3.19,4.1}: qemuarm enable virtio drivers
We are experimenting segfault in qemu arm SCSI driver because
it's broken [1][2] so enable virtio drivers to use as default.

[YOCTO #8060]

[1] https://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00093.html
[2] https://lists.nongnu.org/archive/html/qemu-devel/2010-07/msg01473.html

(From OE-Core rev: e8e4cf4e830ee5c5f92dd8ab38c4072a3a43c411)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 07:43:37 +01:00
Bruce Ashfield b0545068c7 linux-yocto/4.1: braswell bug fixes
Updating the 4.1 SRCREVs to integrate the following DRM backports:

  a8abc111a96d drm/i915: Only wait for required lanes in vlv_wait_port_ready()
  81354180432b Revert "drm/i915: Hack to tie both common lanes together on chv"
  d660fc117731 drm/i915: Work around DISPLAY_PHY_CONTROL register corruption on CHV
  0e797e9cb717 drm/i915: Implement chv display PHY lane stagger setup

(From OE-Core rev: 2ea7533b5d45bb459284dd1c3f81d4bcac88f882)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 07:43:34 +01:00
Bruce Ashfield c6c093b6f7 linux-yocto/4.1: update to 4.1.8 -stable
There are some important fixes and CVEs in 4.1.8, so we update the
SRCREVs to integrate the -stable changes.

(From OE-Core rev: 0cd10fc32fd6a3faced69ef206271c8afde17533)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 07:43:34 +01:00
Bruce Ashfield a502a2d70e linux-yocto-rt/4.1: integrate axxia BSP
As part of the axxia preempt-rt integration, the preempt-rt
branch now becomes standard/preempt-rt/base, to allow proper
branch inheritance as: standard/preempt-rt/axxia/base.

No functional changes happen to the base -rt, just the default
KBRANCH changes.

(From OE-Core rev: 5c91535baf876a3e2c4fd91be046dc3a92dc0ad2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 07:43:34 +01:00
Bruce Ashfield 677a4631e4 linux-yocto/4.1: rt update to 4.1.x-rt8
The -rt build suffered the same breakage in master as the standard
kernel builds: due to a bad git history merge, existing patches were
dropped from branches.

This meant that we were missing the -rt changes, which re-introduced
some failures with linux-yocto-rt.

With these SRCREV updates, we have the latest 4.1.x-rt and all
architectures build.

(From OE-Core rev: 96db930d8add6623168ec5e638769d5c0f348265)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-28 12:00:27 +01:00
Bruce Ashfield cdd9c4c927 linux-yocto/4.1: common-pc-drivers: add CONFIG_PATA_SCH
Updating the meta SRCREVs to integrate the following config change:

Author: Saul Wold <sgw@linux.intel.com>
Date:   Tue Sep 22 07:23:06 2015 -0700

    common-pc-drivers: add CONFIG_PATA_SCH

    The NUC uses this hardware and should still operate correctly with a
    genericx86

    Signed-off-by: Saul Wold <sgw@linux.intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: c597c230b4f66bd04d47a448a00cf54fca71c0f2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-28 12:00:27 +01:00
Bruce Ashfield 7fb3fb9cc2 linux-yocto/4.1: hid, bluetooth, aufs and yaffs2 updates
Setting the SRCREVs to import the following changes in the
4.1 kernel tree:

  79a31b9d23db hid-core: Avoid uninitialized buffer access
  121593d3a0a4 aufs: call mutex.owner only when DEBUG_MUTEXES or MUTEX_SPIN_ON_OWNER is defined
  efa7952a190f Bluetooth: Delay check for conn->smp in smp_conn_security()
  69428ec43bd9 cc2520: set the default fifo pin value from platform data
  ee0ddf37f3d6 fs/yaffs2: Fix a judgement logic for ACL operations
  fff29e47f5c4 yaffs2: remove read and write methods
  b3b9d030ad84 yaffs2: replace f_dentry to f_path.dentry

(From OE-Core rev: 6398e9be3c3a2af5e650a4e7ee7f8f61c7b520fd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23 09:53:10 +01:00
Marek Vasut ba1e0eef99 linux-yocto: depend on libgcc for nios2
Make nios2 kernel depend on libgcc.

In arch/nios2/Makefile, it adds LIBGCC to libs-y:

LIBGCC          := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
libs-y          += $(LIBGCC)

In file Makefile in top directory, libs-y is assigned to to var
KBUILD_VMLINUX_MAIN. It uses script link-vmlinux.sh to link vmlinux.o,
and when execute function vmlinux_link() in link-vmlinux.sh,
KBUILD_VMLINUX_MAIN is passed to ${LD}.

If build without libgcc, the value of LIBGCC is just libgcc.a without
parent directory. linux-yocto fails to build:

|   LD      vmlinux.o
| nios2-poky-linux-ld.bfd: cannot find libgcc.a: No such file or directory

Add libgcc to nios2 kernel dependency.

(From OE-Core rev: d3ccab5bb717da57dcaaeb1993ae0f790ce45dcb)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23 09:53:08 +01:00
Bruce Ashfield 12772c8888 linux-yocto/4.1: hid-core: Avoid uninitialized buffer access
Updating the 4.1 SRCREVs to integrate the following commit:

    hid-core: Avoid uninitialized buffer access

    hid_connect adds various strings to the buffer but they're all
    conditional. You can find circumstances where nothing would be
    written
    to it but the kernel will still print the supposedly empty buffer
    with
    printk. This leads to corruption on the console/in the logs.

    Ensure buf is initialized to an empty string.

    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    [dvhart: Initialize string to "" rather than assign buf[0] = NULL;]
    Cc: Jiri Kosina <jikos@kernel.org>
    Cc: linux-input@vger.kernel.org
    Cc: stable@vger.kernel.org
    Signed-off-by: Darren Hart <dvhart@linux.intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: 1c6c1af385a481b0a57ab06cd40af56be3425cc8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23 09:52:50 +01:00
Bruce Ashfield 0864782bbd linux-yocto/4.1: aufs, yaffs2 and driver fixes
Updating the 4.1 SRCREVs to integrate the following changes:

  f830ab33799d aufs: call mutex.owner only when DEBUG_MUTEXES or MUTEX_SPIN_ON_OWNER is defined
  87df2e93ed65 Bluetooth: Delay check for conn->smp in smp_conn_security()
  b09c3eab3e50 cc2520: set the default fifo pin value from platform data
  62b01c325d42 fs/yaffs2: Fix a judgement logic for ACL operations
  1d19c4e95cfc yaffs2: remove read and write methods
  2c822dbc43b9 yaffs2: replace f_dentry to f_path.dentry

(From OE-Core rev: c49ddbf254c2d170d0aeced78ef6c87e60736a26)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23 09:52:49 +01:00
Bruce Ashfield 8ad2c024f3 linux-yocto/3.14: fix edgerouter (octeon) build
Upating the SRCREVs to import the following commit:

    Author: Kevin Hao <kexin.hao@windriver.com>
    Date:   Mon Aug 31 19:34:48 2015 +0800

        mips: octeon: use ll/sc for the atomic ops for all the predecessor
        of octeon2

        Even the octeon plus has the support of the 'saa' instruction, but
        we
        don't have a way to distinguish between octeon and octeon plus at
        compile time and pass "-march=octeon" to all the predecessor of
        octeon2. So it will cause the following error when trying to
        assemble
        the "saa" instruction with option "-march=octeon":
          {standard input}: Assembler messages:
          {standard input}:360: Error: Unrecognized opcode `saa $2,($4)'
          scripts/Makefile.build:308: recipe for target
        'arch/mips/cavium-octeon/executive/cvmx-lap.o' failed

        Forcing to use the "ll/sc" for the atomic ops for all the
        predecessor
        of octeon2 to fix this issue.

        Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
        Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: a31c715fe484af7fe582d8becac0f20a33acac42)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-09 14:27:47 +01:00
Richard Purdie 92c3f03b79 linux-yocto-3.14: Use a revision thats on the branch for qemuppc
At a guess, Bruce's scripts have mixed up the -rt and on -rt versions
of the qemuppc branches. Set this to a revision on the
standard/qemuppc branch.

(From OE-Core rev: d19f6900a07a718660fcd75d36a3facf048ce157)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 16:47:48 +01:00
Bruce Ashfield b0db6c2a7f linux-yocto/3.14/4.1: fix ARM boot with gcc 5.x
Booting qemuarm when the kernel was built with gcc 5.x would result in
a boot hang (or at least no visible output).

Updating the SRCREVs for the following change:

    Author: Jianchuan Wang
    Email: jianchuan.wang@windriver.com
    Subject: Omit to optimize vsprintf.c/kasprintf.c
    Date: Wed, 26 Aug 2015 13:54:57 +0800

    Add "-O0" for vsprintf.c/kasprintf.c

    Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>

While this may not be the final fix (it still has to go usptream and
be better explained), it gets us booting, so is good enough for the
time being.

(From OE-Core rev: 8610017e4e017ddc59d76e64c4d4557fcffc363e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:47:50 +01:00
Bruce Ashfield 38bc164700 linux-yocto-dev: update to 4.2-rc
The -dev kernel is now tracking 4.2 content, so we update the
linux-yocto-dev recipes PV to match.

(From OE-Core rev: fc22f6ee38731e60b2bc15640fa697e5af663422)

(From OE-Core rev: 468fef1ccfcc5495b6d20576864269da0cdba948)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:36:05 +01:00
Bruce Ashfield 6e0a56305f linux-yocto/4.1: CIRRUS config and quark thermal support
Updating the meta SRCREVs for the following changes:

  92977854ff52 graphics: disable CIRRUS DRM for qemumips and qemuppc
  57f4dc4dfe16 intel-quark: Enable thermal support

(From OE-Core rev: 5c9d414fc8e88cd5ef8e7e530ba4c5e788e03bb7)

(From OE-Core rev: d0cc398d3cd47963fbe3fa22db0a1e73c162e67f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:36:05 +01:00
Bruce Ashfield 474f66c59e linux-yocto/4.1: enable DRM_CIRRUS_QEMU and EXT4_USE_FOR_EXT23
Updating the meta SRCREV to enable cirrus graphics emulation and wider
compatibility for the ext4 driver.

[YOCTO: #7348]
[YOCTO: #6667]

(From OE-Core rev: 530c51e5354d5cd233b7015a3d0dfe94cb9cbaa1)

(From OE-Core rev: db02cf0734ce059b7bf47edeb1107e23e20e7160)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:36:04 +01:00
Bruce Ashfield 6dd4209c2d linux-yocto/4.1: update to v4.1.6 and v4.1.6-rt5
Bumping the SRCREVs to import the latest 4.1-stable and 4.1-rt changes.

(From OE-Core rev: 21fd4093bbd0177453a1e749d825cf510746f201)

(From OE-Core rev: 576fb9f267f7dbca2b76a68903f335be108160e7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:36:04 +01:00
Bruce Ashfield d1d3b6466a linux-yocto/3.14: cleanups and gcc5 ARM build fixes
Updating the 3.14 SRCREVs to match the latest kernel meta data updates
and also to merge four patches Richard Purdie located that fix the
gcc 5.x ARM build (we still have boot issues, but building is the
first step).

(From OE-Core rev: 24a888ddd04e44f8a069364bfbde06871ad33ae8)

(From OE-Core rev: b9509a02c4dae0fabbba730d3311bca29e353e4f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:36:04 +01:00
Bruce Ashfield ad4ab1b392 linux-yocto/4.1: quark configuration and thermal support
Updating the 4.1 SRECREVs to reflect the following changes:

  74159a303c21 thermal: intel Quark SoC X1000 DTS thermal driver

  833214b33303 intel-quark-tiny: Add tiny KTYPE .scc file
  45ecab18d462 amd.cfg: Add X86_AMD_PLAFORM_DEVICE to default
  9a31d2cbc251 intel-quark-standard: add mass storage and boot live support
  4ea43922558a bsp: add coretemp to intel-common-drivers

(From OE-Core rev: e1aa475dd362d3545911b0677404ced644e394eb)

(From OE-Core rev: e14df247df097811e0fab86ec0af5b6cde4d5b21)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:36:03 +01:00
Bruce Ashfield 98152706db linux-yocto/3.19/4.1: add coretemp to intel-common-drivers
Updating the 3.19 and 4.1 meta SRCREVs to pull in the coretemp
configuration values.

Partial fix for [YOCTO #8107].

(From OE-Core rev: 4511961afca854d8006c0d058f46f8ba46f277c4)

(From OE-Core rev: 39eff54fec9a90c9a5f49d8beb643ec9152add2e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:36:03 +01:00
Bruce Ashfield de7e449b87 linux-yocto/4.1: fix qemuarm preempt-rt configuration
With the recent changes to the kernel meta data handling and the
removal of BSP branches, we need to shuffle some patches around to
match.

This prevents patches from being applied twice, and the qemuarm BSP
can be configured for preempt-rt.

[YOCTO: #8122]

(From OE-Core rev: b6b7a80440521a8e82cfe6c56dddedf061de6208)

(From OE-Core rev: f18b19e1be0b84d431328f87ec4a694ac1415469)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-30 12:36:03 +01:00
Bruce Ashfield 3a4b0d6373 linux-yocto: introduce 4.1 versioned recipes
Updating the linux-yocto kernel recipes to include a named/versioned 4.1
recipe. This will be the LTSI kernel, and the 3.14 and 3.19 kernels will
be removed in subsequent commites (once reference boards have transitioned).

(From OE-Core rev: c027c1283e6444ab05f444eb5d292ec1a36b5821)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-25 14:41:44 +01:00
Bruce Ashfield c29aac6a8b linux-yocto: split meta data from kernel repository
The linux-yocto tree has always been a combined set of kernel changes
and configuration (meta) data carried in a single tree. While this
format is effective at keeping kernel configuration and source
modifications synchronized, it isn't always obvious to developers on
how to manipulate the meta data versus the source.

With this change, we remove the meta data processing from the
kernel-yocto class and use the external meta-data repository that
has always been used to seed the linux-yocto meta branch.

After this change, linux-yocto can no longer process combined trees,
and is simplified as a result.

(From OE-Core rev: 523e4f6a6913b64453579d27a02467e14f7df42e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-25 14:41:44 +01:00
Bruce Ashfield 058b53e68b linux-yocto/3.19: drm and axxia updates
Bumping the 3.19 SRCREVs for the following fixes:

  e152349de59b drm/i915: Reset CSB read pointer in ring init
  a87a6ffb3459 drm/i915/bdw: Enable execlists by default where supported
  a70b2eb273ef meta: axxiaarm: add configuration fragments

(From OE-Core rev: 1b3d77195210d7d2b17c1bb8ab756053d72c7d4c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-20 10:40:39 +01:00
Bruce Ashfield d7c633cc30 linux-yocto/3.14: fix gcc 4.9.4/5.1 build issues, yaffs2 memory leak
Updating the 3.14 SRCREVs for the following commits:

  7534aeb01883 yaffs2: fix memory leak in mount/umount
  4287412436cb MIPS: Fix build with binutils 2.24.51+

(From OE-Core rev: 370cd615ea3aa11d39e4c7303e8bca79e3ec6621)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-20 10:40:39 +01:00
Bruce Ashfield ea63603e20 linux-yocto: update beaglebone, mpc8315e and edgerouter to 3.19
Bumping the linux-yocto SRCREVs to integrate fixes for the h/w reference
BSPs to the 3.19 kernel.

(From OE-Core rev: 4c992854414360a10e1b452c9a776cbd993dee1f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-05 16:42:01 +01:00
Marek Vasut d2e26ef348 kernel: Build DTBs early
Pull out the compilation of the DTB blobs right after the kernel's
own do_compile function finishes. This makes them available just in
time for the kernel image construction functions.

(From OE-Core rev: 86b3f29f93e3f87903668ea317c6bd97be4cdf62)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-26 10:57:51 +01:00
Bruce Ashfield 887fcb5653 linux-yocto/3.19: NFC config, Braswell fixes and axxia support
Updating the 3.19 kernel SRCREVs for the following commits:

NFC:

   727cfce45077 meta: intel-common: enable generic NFC support
   f3e890065903 meta: features/nfc: add generic configuration for NFC support

Braswell:

   d3c0b958e688 drm/i915: New offset for reading frequencies on CHV.
   dac6babbba62 drm/i915/chv: Populate total EU count on Cherryview

Axxia:

   c706cb356dea arch/arm/axxia: Remove the axxia zImage.fm build
   45a1aaacf6cb drivers/hwmon: Remove adt75 redundant driver
   7203ee166c01 arch/arm/mach-axxia: Fixed L2 power up failure
   a1541e9f0a4c kernel/irq/manage.c: Fix irq_set_affinity to allow use with buslocks
   d42c0bd1c8be arch/arm/mach-axxia: Reverse checkpatch compatibility
   5dbd07431a7a arch/arm/mach-axxia: changed affinity parameter to cpu
   23e4ebc66acb char: hwrng: AXXIA TRNG driver added for AXM55xx
   61eb3c8ee1d7 arch/arm/mach-axxia: Updated Axxia 55xx PCIe driver to use correct Doorbell interrupt IRQs
   b03e0655094a AXM55xx RapidIO : Added support for Device revision and link down Monitor.
   7577ad26cf73 rionet: Fix the corruption of tx_cnt during Transmit.
   07fd2163ae56 arch/arm/mach-axxia: fixed NO SMP
   c9371e98cc80 arch/arm/mach-axxia: fixed compiler warning
   0a814fe7e747 arch/arm/mach-axxia: Updated PCIe driver doorbell support
   cd3d9b46bea4 misc: lsi-ncr: Only use AMP lock on PPC platforms.
   826c600c6ad6 fs: vmfs: Use generic mmap function
   e2d0047cb106 arch/arm/mach-axxia: Removed axxia_circular_queue
   f1ff06eaabed ARM: axxia: Add cluster and L2 power off in hotplug
   b98711344263 ARM: irq: Return error when set_affinity is called from hotplug
   9fd9306a30ae arch/arm/mach-axxia: Enable L3
   68989d446582 Revert "arch/arm/mach-axxia: Fixed affinity error on IRQ migration"
   0be0ef90a887 Revert "arch/arm/mach-axxia: fixed failure to power up cluster"
   1c6522a03e81 Revert "arch/arm/mach-axxia: fixed hang in preempt kernel"
   ef06a68393a3 fs/vmfs: Changes to add VMFS support for axxia.
   3025e9deede6 drivers/usb/host: Changes to support the axxia BSP
   b128b4f0d4e8 drivers/tty: Changes to support the axxia BSP
   d1b60a7e62ef drivers/hwmon: Changes made to support the axxia BSP
   2899ccbf1438 drivers/spi: Changes to support the axxia BSP
   8e9cff566254 drivers/rapidio/devices: Changes to support axxia BSP
   3424d2ca2653 drivers/net/ethernet: Changes to support the axxia BSP
   2353dc816d6b drivers/mtd: Changes to support the axxia BSP
   4b5fa2bf86cf drivers/misc: Changes made to support axxia BSP
   8a5bd53ec241 drivers/i2c: Changes to support axxia BSP
   02bfe1548d1a arch/arm/drivers/edac: Changes to support axxia BSP
   2431db7c0c90 arch/arm/drivers/dma: Changes to support the axxia BSP
   61fa3f268d5c arch/arm: arm changes to support the axxia BSP
   22e0fb7be665 arch/arm/mach-axxia: add power management support
   5cab63c5a1f2 arch/arm/mach-axxia: kernel files to support the mach-axxia
   1336aba51616 arch/arm/boot: Changes to support the axxia BSP
   97324fa920cb arch/arm/boot/dts: Files added to support axxia 5500 board

(From OE-Core rev: b74dafa8a3aad069140978420c535c18e89a964b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24 07:19:18 +01:00
Bruce Ashfield c1ed724c74 linux-yocto/3.19: CONFIG_ATA_BMDMA and gcc5 ARM64
Integrating the following commit to remove a ATA configuration warning:

    common-pc-drivers: Enable CONFIG_ATA_BMDMA

    Enabling the ATA_BMDMA re-enables ATA_PIIX which was getting
    disabled

    Signed-off-by: Saul Wold <sgw@linux.intel.com>

And the following to fix the ARM64 gcc5 boot:

    arm64: psci: move psci firmware calls out of line

    An arm64 allmodconfig fails to build with GCC 5 due to __asmeq
    assertions in the PSCI firmware calling code firing due to mcount
    preambles breaking our assumptions about register allocation of
    function
    arguments:

      /tmp/ccDqJsJ6.s: Assembler messages:
      /tmp/ccDqJsJ6.s:60: Error: .err encountered
      /tmp/ccDqJsJ6.s:61: Error: .err encountered
      /tmp/ccDqJsJ6.s:62: Error: .err encountered
      /tmp/ccDqJsJ6.s:99: Error: .err encountered
      /tmp/ccDqJsJ6.s💯 Error: .err encountered
      /tmp/ccDqJsJ6.s:101: Error: .err encountered

    This patch fixes the issue by moving the PSCI calls out-of-line into
    their own assembly files, which are safe from the compiler's
    meddling
    fingers.

    Reported-by: Andy Whitcroft <apw@canonical.com>
    Signed-off-by: Will Deacon <will.deacon@arm.com>
    Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
    Signed-off-by: Armin Kuter <akuster@mvista.com>

(From OE-Core rev: 3977a70c197bf0d853ea9eb01f2185ae2c75ca4f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24 07:19:18 +01:00
Bruce Ashfield be1442e78e linux-yocto/3.19: Braswell DRM fixes
Updating the 3.19 kernel SRCREVs to integrate the following Braswell
changes:

  374b5d0e09ea drm/i915: Only wait for required lanes in vlv_wait_port_ready()
  fca99e8ee111 Revert "drm/i915: Hack to tie both common lanes together on chv"
  00682f31b612 drm/i915: Work around DISPLAY_PHY_CONTROL register corruption on CHV
  654b1a4497c5 drm/i915: Implement chv display PHY lane stagger setup

(From OE-Core rev: 211b631b0d7bf4df3152f4d8d626d798d023d512)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24 07:19:18 +01:00
Bruce Ashfield f92f3369ee linux-yocto/3.19: braswell DRM/i915 Graphics fixes
Updating the SRCREVs to integrate the following fixes:

   0befa35f4099 drm/i915/chv: Remove DPIO force latency causing interpair skew issue
   184e0374e4eb drm/i915: Fix chv cdclk support
   e2a99b9cd086 drm/i915: Increase the range of sideband address.
   9d5d55ede53b drm/i915: Disable DDR DVFS on CHV
   96cce945ac97 drm/i915: Enable the maxfifo PM5 mode when appropriate on CHV
   b5005319da56 drm/i915: Program PFI credits for VLV
   c7aa33eb3697 drm/i915: Rewrite VLV/CHV watermark code
   a421d8bcaa6d drm/i915: Make sure PND deadline mode is enabled on VLV/CHV
   631afc98c4b5 drm/i915: Read out display FIFO size on VLV/CHV
   e0dcdc019b8a drm/i915: Pass plane to vlv_compute_drain_latency()
   a6a5562b7754 drm/i915: Reorganize VLV DDL setup
   bb662a47ec0c drm/i915: Hide VLV DDL precision handling
   3d2d93239cd7 drm/i915: Simplify VLV drain latency computation
   f68614743b92 drm/i915: Kill DRAIN_LATENCY_PRECISION_* defines
   86c658c06ede drm/i915: Reduce CHV DDL multiplier to 16/8
   8c4cdd96a3f2 drm/i915: Allow pixel clock up to 95% of cdclk on CHV
   d9d4fb889c2a drm/i915: Reduce CHV DPLL min vco frequency to 4.8 GHz

(From OE-Core rev: 5eaa3c2c57dad400305e5ca64c62b2507fd96a54)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24 07:19:17 +01:00
Bruce Ashfield ada5e493bf linux-yocto/3.14: cavium and configuration changes
Updating the 3.14 SRCREVs to integrate the latest round of cavium
support patches, as well as configuration backports from 3.19.

(From OE-Core rev: df552f18cf9852e0f04780399b78605c8085d935)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24 07:19:17 +01:00
Bruce Ashfield 5929d94ab7 linux-yocto/3.14: fix qemumips build error
Updating the SRCREVs to import the following fix:

    mips: define cpu_has_saa in common features include

    To avoid build failures such as the following on non-cavium
    platforms:

     | arch/mips/include/asm/atomic.h: In function 'atomic_add':
     | arch/mips/include/asm/atomic.h:52:6: error: 'cpu_has_saa'
     | undeclared (first use in this function)
     |   if (cpu_has_saa) {
     |       ^

    We define a disabled cpu_has_saa unless the machine specific feature
    overrides define a value.

(From OE-Core rev: b2f786ca319714bd41d6f9e7ba9efaa8a6d412ab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-09 22:26:44 +01:00
Bruce Ashfield 61e077e998 linux-yocto/3.19: Braswell support and bug fixes
Updating to include the following commits:

   a4d0c407cced dmaengine: dw: don't handle interrupt when dmaengine is not used
   e92b2ce791b2 dmaengine: dw: define DW_DMA_MAX_NR_MASTERS
   931304a6567e dmaengine: dw: provide DMA capabilities
   468bad4f7a6f dmaengine: dw: Split device_control
   b4afd7710db7 i2c: i801: Use managed pcim_* PCI device initialization and reservation
   d81a8a11ecba i2c: i801: Remove pci_enable_device() call from i801_resume()
   40e18604e70c i2c: i801: Use managed devm_* memory and irq allocation
   b54f65dbe57b i2c: i801: Remove i801_driver forward declaration
   e95740d4d079 i2c: i801: Don't break user-visible strings
   423e98721e04 ACPI: Introduce has_acpi_companion()
   291f620dc052 i2c: designware: Suppress error message if platform_get_irq() < 0
   cf5ff51a8e3f i2c: designware-pci: no need to provide clk_khz
   4f583ce420d3 i2c: designware-pci: remove Moorestown support
   e000c549c9d8 i2c: designware: Add Intel Baytrail PMIC I2C bus support
   7ffbd9ca19a7 i2c: designware: fixup return handling of wait_for_completion_timeout
   5758d5a1df32 i2c: designware: Do not calculate SCL timing parameters needlessly
   2f58fcae92db i2c: designware: Add i2c bus locking support
   84a73e51e900 i2c: designware: use {readl|writel}_relaxed instead of readl/writel
   f672bb8424e6 serial: 8250_dw: Fix get_mctrl behaviour
   91bd64585489 serial: 8250: add support for ACPI-probed serial port for X-Gene platform
   1190cba71f09 serial:8250:8250_pci: delete unneeded quirk entries
   6405a4b71451 serial:8250:8250_pci: fix redundant entry report for WCH_CH352_2S
   0a1a31bbbc19 serial: 8250_pci: remove one useless explicit type conversion
   4edc52a55f82 intel_idle: Add support for the Airmont Core in the Cherrytrail and Braswell SOCs
   934f85e8bfdb x86/irq, ACPI: Implement ACPI driver to support IOAPIC hotplug
   c6a3440252a8 ACPI / LPSS: check the result of ioremap()
   6aacc0c931b7 pinctrl: update direction_output function of cherryview driver
   cb4a43a2177d pinctrl: cherryview: Configure HiZ pins to be input when requested as GPIOs
   0df22c007ce1 pinctrl: intel: drop owner assignment from platform_drivers
   07b16f04700b pinctrl: cherryview: Save and restore pin configs over system sleep
   e8e5cfffa231 pinctrl: baytrail: Save pin context over system sleep
   04cb3cc0ff21 pinctrl: baytrail: Rework interrupt handling
   4cac25d2574d pinctrl: baytrail: Clear interrupt triggering from pins that are in GPIO mode
   eacab9ab234a pinctrl: baytrail: Relax GPIO request rules

(From OE-Core rev: d2dd36bafdef7b0424041f5369706b9152ea13da)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-09 22:26:44 +01:00
Bruce Ashfield 9f400313bf linux-yocto-dev: introduce 4.1-rc development kernel
(From OE-Core rev: b5f59d58ec658af7477664cb13458b496a55a618)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-03 11:43:50 +01:00
Bruce Ashfield 383fb05276 linux-yocto: add core bluetooth support to qemux86* and common-pc*
Updating the configuration for the common x86 platforms to always
include core bluetooth support.

(From OE-Core rev: 388de1bfa1de1086d500aa8b2d4ece69cce6d5f6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-03 11:43:50 +01:00
Bruce Ashfield e12d2be09a linux-yocto/3.14: refresh -rt support
Paul Gortmaker refreshed the 3.14-rt support to the latest rt stable
content.

With these SRCREV bumps, the 3.14 LTSI kernel is now at -rt37.

   91dc6afcecd4 rt: bump localversion from 32 to 37
   e69f7430b620 rt: bump localversion to 32
   c060800318e4 netpoll: guard the access to dev->npinfo with rcu_read_lock/unlock_bh() for CONFIG_PREEMPT_RT_FULL=y
   833c21beba79 Revert "timers: do not raise softirq unconditionally"
   6c9337ff352c fs,btrfs: fix rt deadlock on extent_buffer->lock
   2d542663bfb9 staging: Mark rtl8821ae as broken
   988e4701df83 timers: Reduce future __run_timers() latency for first add to empty list
   2549262883c5 timers: Reduce future __run_timers() latency for newly emptied list
   073fac19d3e4 timers: Reduce __run_timers() latency for empty list
   25ca11173e64 timers: Track total number of timers in list
   277a4ae36580 fs/aio: simple simple work
   7b2ebc4e590b lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals
   9afc01954298 thermal: Defer thermal wakups to threads
   84d35d05b236 locking: ww_mutex: fix ww_mutex vs self-deadlock
   f0c8e4837a51 Revert "rwsem-rt: Do not allow readers to nest"
   df0d51ecf13f sunrpc: make svc_xprt_do_enqueue() use get_cpu_light()
   f069e339ca02 work-simple: Simple work queue implemenation
   0d9e6cbead39 scheduling while atomic in cgroup code
   8405cdab8c2c sas-ata/isci: dont't disable interrupts in qc_issue handler
   dfb7e1ab2427 mips: rt: Replace pagefault_* to raw version
   ddbe4584a13b ARM: cmpxchg: define __HAVE_ARCH_CMPXCHG for armv6 and later
   607f2a27c2ee arm/futex: disable preemption during futex_atomic_cmpxchg_inatomic()
   58de8f60159f ARM: enable irq in translation/section permission fault handlers
   62d90b45607c x86: UV: raw_spinlock conversion
   e8d164191f65 rtmutex: enable deadlock detection in ww_mutex_lock functions
   9612daf936db rt,locking: fix __ww_mutex_lock_interruptible() lockdep annotation
   47915a120d41 rtmutex.c: Fix incorrect waiter check
   a6a68d53df5f locking/rt-mutex: avoid a NULL pointer dereference on deadlock
   fb2c256f8a91 futex: Simplify futex_lock_pi_atomic() and make it more robust
   7e59d4d5900e futex: Split out the first waiter attachment from lookup_pi_state()
   45ccc2e3f25f futex: Split out the waiter check from lookup_pi_state()
   c5133997a345 futex: Use futex_top_waiter() in lookup_pi_state()
   4726c8b47964 futex: Make unlock_pi more robust
   b55c2c7782ee rtmutex: Avoid pointless requeueing in the deadlock detection chain walk
   ff7cfbb757d4 rtmutex: Cleanup deadlock detector debug logic
   e80ba665fa71 rtmutex: Confine deadlock logic to futex
   7a9e7c37ccf4 rtmutex: Simplify remove_waiter()
   d664c14c1db3 rtmutex: Document pi chain walk
   64bcb809c720 rtmutex: Clarify the boost/deboost part
   02323ee362c4 rtmutex: No need to keep task ref for lock owner check
   063983fb0497 rtmutex: Simplify and document try_to_take_rtmutex()
   f87319b715f1 rtmutex: Simplify rtmutex_slowtrylock()
   de9723ae23f9 gpio: omap: use raw locks for locking
   705ad635f56a rt: bump localversion from 22 to 31
   22b5a5cda73a mm/page_alloc: fixup warning from stable merges to -rt

(From OE-Core rev: aa1900021aa05ce1d5b8e607de094ae7cf3fcd10)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-03 11:43:50 +01:00
Robert Yang c3537bd112 kernel-devsrc: depends on virtual/kernel:do_install
The linux-yocto.inc may remove the meta dir:
do_install_append(){
	if [ -n "${KMETA}" ]; then
		rm -rf ${STAGING_KERNEL_DIR}/${KMETA}
	fi
}

Which may cause the error:
[snip]
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0073-FogBugz-116676-Align-clk.c-with-kernel.org.patch': No such file or directory
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0047-FogBugz-90657-Fix-SD-MMC-driver-for-VT.patch': No such file or directory
find: `./meta/cfg/kernel-cache/bsp/altera-socfpga/0006-spi-qspi-cadence-Add-spi-and-qspi-driver.patch': No such file or directory
[snip]
cpio: ./meta/scripts/kgit-config-cleaner: Cannot stat: No such file or directory
cpio: ./meta/scripts/kgit-s2q: Cannot stat: No such file or directory
cpio: ./meta/scripts/kgit-clean: Cannot stat: No such file or directory
[snip]

(From OE-Core rev: 0866086c6a9d9f518388f2962db784ab15d49330)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-28 07:56:56 +01:00
Bruce Ashfield 34ddfb6559 linux-yocto/3.19: configuration updates and stable integration
Bumping the linux-yocto 3.19 SRCREVs to integrate the 3.19.5 korg
stable updates, as well as the following meta data changes:

  205aca0c1241 meta: intel-common: Enable USB-based Bluetooth hardware
  b6a810e8e808 meta: features/bluetooth: add support for USB Bluetooth hardware
  767f3fa34680 common-pc-drivers: Add CONFIG_EEPROM_AT24
  e308b2c52519 intel-core*: Add Braswell soc support
  8c1c74d5052b braswell: Add features/soc/braswell

(From OE-Core rev: 2b163b8bbe8363e24f951ec507691ac692bc80b0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-27 14:59:50 +01:00
Ross Burton 6978d8aaa9 kernel-yocto: merge duplicate kernel_configme task definitions
The kernel_configme task was added twice (once in the .bbclass, one in a .inc)
with different ordering constraints.

Change this to be just one definition in the bbclass with the stronger ordering
constraints.

(From OE-Core rev: b9646b9d31c3e0c70337a8c10ebfc087a0e2b829)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-31 22:23:13 +01:00
Ross Burton a9025e876d linux-yocto: add kern-tools-native to kernel_metadata depends
The autobuilder failed like this:

  temp/run.do_kernel_metadata.25242: line 165: createme: command not found

createme is provided by kern-tools-native.  do_patch has a dependency on
kern-tools-native, but do_kernel_metadata runs before do_patch.  So move the
dependency from do_patch to do_kernel_metadata, moving the statement from the
.inc to the class so it's alongside the task definition.

[ YOCTO #7531 ]

(From OE-Core rev: 4a0371847ff0c30d9b60db63559d89dddfcb009f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-31 22:23:13 +01:00
Bruce Ashfield dbfafd8493 linux-yocto/3.19: fixes for Intel core warnings
Updating the 3.19 meta branch to include the following configuration
change to deal with kernel configuration audit warnings:

  9e70b482d377 romley: remove common video and media config items
  8a4e096759ad intel-common: remove eg20t from common config
  c2f5ab15620c drm-cdvpvr: Add STAGING_MEDIA
  ac4693c1db39 media: Prefer modules(m) to yes(y) and update for 3.19 Kernel

(From OE-Core rev: aa57c02e12a3ecd26eff410f70de28013aed2e00)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-25 12:39:48 +00:00
Bruce Ashfield c0f931aa74 linux-yocto/3.14: integrate korg stable and meta data changes
Updating the 3.14 SRCREVs to import the v3.14.36 korg stable changes and
configuration changes to the meta branch.

(From OE-Core rev: 3ca86a30bcbdf59753b7ad611d5e307b65d3c0f6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-25 12:39:47 +00:00
Bruce Ashfield 9dbc258b3f linux-yocto/3.19: configuration updates and stable import
Updating the 3.19 SRCREVs to pick up the korg 3.19.2 release, as well
as the following meta data changes:

  ed82e1ac3196 features: soc: fix typo in baytrail.cfg
  76bc151242d7 tiny.cfg: Enable BINFMT_SCRIPT

(From OE-Core rev: 486c40b6d9566e882c841f0cb398612ba70256e7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-25 12:39:47 +00:00
Bruce Ashfield 76730a8171 linux-yocto/3.19: integrate korg -stable update
Updating to the latest and greatest -stable release for the 3.19 series.

(From OE-Core rev: 1e60b5216a89a34eba7749244eeb53d5d12864eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-20 23:56:01 +00:00
Alexandru.Vaduva 59e01b0262 linux-yocto-rt: removed duplicated line
Seemed that the recipe contained redundant information.

(From OE-Core rev: 22c0bc1b80d87bfd4f8d1fcbbb231b994f7e03b8)

Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-16 17:42:07 +00:00
Jonathan Liu 3cbc509a5f kernel-devsrc: fix file ownership
The file ownership needs to be explicitly set otherwise it inherits
the user and group id of the build user.

(From OE-Core rev: 9ce5b600cb1663f8c2a625c7f7c08ab3e61b58c8)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-16 17:42:01 +00:00
Bruce Ashfield 49d7aae7df linux-yocto/3.14: OcteonIII support
With these SRCREV updates, we add the following support to the kernel:

The following has been verified with the branch sources:

 On 68xx:

   * SGMII, XAUI Packet IO interfaces.
   * PCIe devices
   * EHCI/OHCI USB driver

 On 78XX:

   * Ran LTP testsuite
   * SGMII, XAUI Packet IO interfaces
   * MMC driver (which covers GPIO interrupts in the driver)
   * PCIe devices
   * XHCI USB driver

(From OE-Core rev: c32023e75b1cd722f3fca226ec8651dc10cf9dab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-02 22:05:35 +00:00
Bruce Ashfield e02016e73b kernel-yocto: inhibit BSP description warnings for custom linux-yocto kernels
We don't require that a yocto custom kernel + defconfig have a full BSP
description (but of course it would be better if they did). Since this
isn't a requirement, we shouldn't alarm users by generating a BSP
description warning.

To implement this, we add a bsp audit level flag (like the one that
exists for kconfig audits), and only set it to activate in the versioned
linux-yocto recipes.

[YOCTO: #7370]

(From OE-Core rev: d2fb7fff291b83700d487be093223c1533d915ce)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-02 22:05:34 +00:00
Bruce Ashfield dd1d4e55c6 linux-yocto: fix qemux86-64 config warning
During the 3.19 update a 32 bit option in the 64 bit config was missed,
which results in the option being dropped (and reported as a warning):

  Value requested for CONFIG_PCI_GOANY not in final ".config"
  Requested value: "CONFIG_PCI_GOANY=y"
  Actual value set: ""

So we split the 32bit only drivers out of the common driver include and
the problem goes away.

[YOCTO: 7354]

(From OE-Core rev: 4dc9bde20602c7565979c7ebdea1a36c7ab3f458)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-02 22:05:34 +00:00
Bruce Ashfield 7e6147bdbf linux-yocto: introduce 3.19 versioned recipes
Introducing the v3.19.x recipes for the validated linux-yocto kernel.

Build, boot and sanity testing was performed on qemu for all major
architectures.

(From OE-Core rev: 329a028bec428e8dc8cf3420c6e462de2898c8aa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-21 22:05:34 +00:00
Bruce Ashfield c75d6c8853 linux-yocto: remove 3.10 and 3.17 recipes
In accordance with the kernel release criteria we support the latest
mainline kernel + the last LSTI kernel + a development kernel.

3.19 will be introduced as the latest mainline, and 3.14 is the released
LTSI kernel, which means that we remove the 3.10 and 3.17 variants.

(From OE-Core rev: 19203a95f4b65e0a009a738fb4fc216e985a0835)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-21 22:05:33 +00:00
Bruce Ashfield dfa83e6625 linux-yocto: make kernel configuration audit user visible
After a linux-yocto style kernel is configured, a kernel configuration
audit is executed to detect common errors or issues with the config.

This output used to be visible, but was made less obvious to not alarm
users unnecessarily (since some configuration issues are acceptable).

There are some classes of configuration issue that are worth being
visible, and that is specified configuration values that do not make the
final .config. These dropped options can result in any number of runtime
failures, so flagging them at build time makes sense.

The visibility of auditing is controlled by KCONF_AUDIT_LEVEL:

   0: no reporting
   1: report options that are specified, but not in the final config
   2: report options that are not hardware related, but set by a BSP

The default level is 1, with level 2 and above being for BSP development
only.

If these conditions are detected, warnings will be generated as follows:

  WARNING: [kernel config]: specified values did not make it into the
  kernel's final configuration:

  Value requested for CONFIG_SND_PCSP not in final ".config"
  Requested value: "CONFIG_SND_PCSP=y"
  Actual value set: ""

or

  WARNING: [kernel config]: BSP specified non-hw configuration:

  CONFIG_BLOCK
  CONFIG_CFG80211_WEXT
  CONFIG_CORDIC
  CONFIG_CRC8
  CONFIG_EFIVAR_FS
  CONFIG_EFI_PARTITION
  CONFIG_NET
  CONFIG_NETDEVICES
  CONFIG_PARTITION_ADVANCED
  CONFIG_WEXT_CORE
  CONFIG_WEXT_PROC
  CONFIG_WIRELESS

At this point thse are only a warnings, since there needs to be time for
layers and configuration fragments to be validated against this new
check.

[YOCTO: #6943]

(From OE-Core rev: ad4d59495194b37bc510e9891bd14c0a2ac30dba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-21 22:05:33 +00:00
Bruce Ashfield 870323cac1 linux-yocto/3.14: fix qemumips build error
The merge of the 3.14 -stable series triggered a build failure in the
32 bit mips builds.

Updating the SRCREVs to import the fix for the issue.

(From OE-Core rev: 234b4feef24ffe0cea9b6d88d9c51a05ee63db9e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08 08:00:30 +00:00
Bruce Ashfield 9348049d99 linux-yocto-dev: update to v3.19+
(From OE-Core rev: f102bf7691af52ea45b5798d359f73528089166d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08 08:00:30 +00:00
Bruce Ashfield 46b1b96324 linux-yocto: basic octeon III support
Importing the following commits to add basic octeon III support to the
3.14 linux-yocto kernel:

   1e0bbd1dd68e MIPS:OCTEON: More OCTEONIII support
   f51a5843ee2d MIPS: Octeon: CVMSEG LM loads may cause dcache parity errors
   58bcba842781 MIPS: Octeon: Implement the core-16057 workaround
   ba5a219685e8 MIPS Override assembler ISA for kernel FPU instruction.
   7759a0511965 MIPS donot build fast TLB refill handler with 32-bit kernels.
   3f51e46ff641 MIPS Add minimal support for OCTEON3 to c-r4k.c
   bbde024d903a MIPS Add function get ebase cpunum
   9f18310679cb MIPS OCTEON Enable use of FPU
   d24496ee8fc8 MIPS OCTEON Add OCTEON3 to get cpu type

(From OE-Core rev: 451142572f156ff0e88943931b924bfb0d9c30ce)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08 08:00:30 +00:00
Bruce Ashfield ef3fa6011b linux-yocto/3.17: update to v3.17.8
Updating to the latest korg stable version.

(From OE-Core rev: 4d342c2531bbb33c9101dcd7a669a620c8cf6917)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08 08:00:30 +00:00
Bruce Ashfield d0fe36e78e linux-yocto/3.10: update to v3.10.65
Integrating the latest korg -stable updates for 3.10 LTSI.

(From OE-Core rev: d159e9db537f68ed91d4a1ab0f432ac1d0020697)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08 08:00:29 +00:00
Bruce Ashfield 5848c9219a linux-yocto/3.14: update to 3.14.29
Updating to the latest korg -stable release for 3.14.

(From OE-Core rev: a6a64ee87182c6fa62117e68fafc4ec25ceefc0b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08 08:00:29 +00:00
Saul Wold 0de948f85e linux-yocto-tiny_3.17: Update to actually use 3.17 git repo
The named release was still using the -dev git repo which did not contain
the SRCREV referenced in the numbered/named version.

(From OE-Core rev: b4f2f39ce0f4690ed51d14d1034b9f5e21c0f5a0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-08 08:00:26 +00:00
Koen Kooi 609898aab9 linux-dummy: provide empty shared_workdir method
Perf.bb (among others) requires access to the kernel source, so have linux-dummy fake that as well. As before, perf will fail to build, but there are use cases where this patch is needed. For example a perf.bbappend that will always build it from the debian linux-tools tarball.

Using linux-dummy is still a bad, bad idea, but it shouldn't start breaking existing use cases.

(From OE-Core rev: 56142f002046d319a2cdc326ea8f8c0892f3061f)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-29 15:36:51 +00:00
Darren Hart fddf343bec kernel-devsrc: Depend on virtual/kernel:do_compile
Since virtual/kernel do_compile modifies ${B}, we need to wait for
do_compile to copy everything across in order to ensure a deterministic
file set.

Currently, we race against the build and can see .debug directories, and
the do_compile dependency we will always see them. Add .debug to the
find path pruning.

(From OE-Core rev: 20dd877d36e85911b57bec079cf978a577fba866)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-16 23:08:18 +00:00
Bruce Ashfield 46cdaf1c7b kernel: move source and build output to work-shared
commit 3b3f7e785e279 [kernel: Rearrange for 1.8] began the process of
moving the kernel source and build artefacts out of sstate control and
into a shared location.

This changed triggered some workflow issues, as well as bugs related
to the kernel source containing build output, and hence being dirty and
breaking kernel rebuilds.

To solve these issues, and to make it clear that the kernel is not under
sstate control, we move the source and build outputs to:

  work-shared/MACHINE/kernel-source
  work-shared/MACHINE/kernel-build-artifacts

Where kernel-build-artifacts is the kernel build output and
kernel-source is kept "pristine". The build-artifacts contain everything
that is required to build external modules against the kernel source,
and includes the defconfig, the kernel-abiversion, System.map files and
output from "make scripts".

External module builds should either pass O= on the command line, or
set KBUILD_OUTPUT to point to the build-artifacts. module-base.bbclass
takes care of setting KBUILD_OUTPUT, so most existing external module
recipes are transparently adapted to the new source/build layout.

recipes that depend on the kernel source must have a depedency on the
do_shared_workdir task:

 do_configure[depends] += "virtual/kernel:do_shared_workdir"

With this dependency added, the STAGING_KERNEL_DIR will be populated and
available to the rest of the build.

(From OE-Core rev: 6a1ff0e7eacef595738f2fed086986fd622ec32a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-16 23:08:18 +00:00
Mark Hatle eef1d41751 linux-yocto: Fixup linux-yocto for aarch64
linux-yocto is updated to pass the sysroot path to the compiler when necessary.

linux-yocto_ver.bb are updated to reference the correct linux-yocto branchs and
SRCREVs.

(From OE-Core rev: af67a2938e007e08fd1d082a0932c78deaedb527)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-23 10:18:19 +00:00
Kai Kang 28ba4d349e linux-yocto: depend on libgcc for aarch64
Make aarch aarch64 kernel depend on libgcc.

In arch/arm64/Makefile, it adds LIBGCC to libs-y:

LIBGCC          := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
libs-y          += $(LIBGCC)

In file Makefile in top directory, libs-y is assigned to to var
KBUILD_VMLINUX_MAIN. It uses script link-vmlinux.sh to link vmlinux.o,
and when execute function vmlinux_link() in link-vmlinux.sh,
KBUILD_VMLINUX_MAIN is passed to ${LD}.

If build without libgcc, the value of LIBGCC is just libgcc.a without
parent directory. linux-yocto fails to build:

|   LD      vmlinux.o
| aarch64-poky-linux-ld.bfd: cannot find libgcc.a: No such file or directory

Add libgcc to aarch64 kernel dependency.

(From OE-Core rev: 69ab638adcd8d30f35bb863254d9b112ad12b925)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-23 10:18:17 +00:00
Richard Purdie 15de188692 kernel-devsrc: Ensure we have a dependency on the actual source
Tthe kernel populate_sysroot can come from sstate, we need the full
source here. We therefore depend on the configure task which isn't
covered by sstate to ensure we get the right set of files.

(From OE-Core rev: c3598cf720e04ab27ab5d2817c09f2496b677560)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 13:52:17 +00:00
Richard Purdie 6eb95d654e kernel-devsrc: Ensure we don't race against do_make_scripts from module-base.bbclass
do_install for kernel-devsrc can race against do_make_scripts from
module-base.bbclass. Since there is a lock there to guard against concurrency
already, we can just use it here to avoid a race.

Ultimately, this can all likely be much more streamlined but this resolves
the immediate build failures.

(From OE-Core rev: 17fb28156737e803b36d7b3fd59d092fe152d126)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 12:37:55 +00:00
Richard Purdie da2764e184 kernel-devsrc: Handle ppc crtsaves.o explictly for now
Resolve kernel module build failures for qemuppc by including crtsaves.o.

I'm not particularly happy to be doing this, it should perhaps be contained
in the kernel-dev package. Until the overlap between kernel-devsrc and
kernel-dev is resolved, this at least removed the regressions.

(From OE-Core rev: 5fa888894384eff18df77d0a5aaa007eba1406c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 12:37:55 +00:00
Richard Purdie 76b7e81ff7 kernel-devsrc: Inherit module-base
As a "normal" recipe, mulitlib would try and extend it for multilibs.
By inheriting module-base, we can avoid this since we now look more
'kernel' like.

(From OE-Core rev: 59f08c9144e6f81906154cb306db6fee14dc42ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 12:37:55 +00:00
Bruce Ashfield fc152d9fe7 linux-yocto/3.14: update to 3.14.26, integrate ltsi and -rt updates
Updating the 3.14 tree to the latest korg 3.14.26, as well as
integrating 3.14 LTSI content, and refreshing preempt-rt. Minor
conflict resolutions were performed between ltsi, stable and -rt

(From OE-Core rev: 8c30cec8233605cbec334fcc5c2b9ef5cf8f6482)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 12:37:54 +00:00
Bruce Ashfield 88fb739149 linux-yocto/3.10: update to v3.10.62
Updating to the latest korg -stable update for the 3.10 series. Minor
merge conflict resolution was done with the standard/ltsi and
standard/preempt-rt branches.

(From OE-Core rev: a87bf5d3d435d333f5ee9d15b8c641b03ff4bb9c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 12:37:54 +00:00
Bruce Ashfield d02bb17bfc linux-yocto/3.17: update to v3.17.6
Integrating the latest korg -stable update for v3.17

(From OE-Core rev: 4408bfc7dd0fd2223791cb5da706dde986f4ddef)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 12:37:54 +00:00
Bruce Ashfield 662f39e004 linux-yocto/3.14: update to v3.14.24
(From OE-Core rev: e2c2960ae79953b5ef69444d91f2e784a35bfefd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 12:37:54 +00:00
Bruce Ashfield bb9812799b linux-yocto/3.10: update to v3.10.59
Updating to the latest 3.10 -korg stable update. We also bring in a meta
change for the valley island IO configuration.

(From OE-Core rev: 22d5ac7e1fc096dc11c766eda91c9e131398c6c5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 12:37:54 +00:00
Bruce Ashfield f0fe7dc45d linux-yocto/3.17: update to v3.17.2
Updating to the korg 3.17.2 -stable release.

(From OE-Core rev: d63b126b8d68824fe900012fafe0e65afa2b264f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 12:37:54 +00:00
Bruce Ashfield 33437d6ac8 linux-yocto/3.17: update to v3.17.1
Updating to the kver to the latest korg stable update. This fixes some
important bugs (as well as the usual mix of more minor ones), in particular
libata bugs and SSD corruption issues are fixed.

(From OE-Core rev: 82f93cfed946fb56e53997bf6a873480bb6d3fc5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 12:37:54 +00:00
Bruce Ashfield a1c24ecbe8 kerneldev: create kernel-devsrc packaging
kernel-devsrc is responsible for creating and a packaging an environment
appropriate for kernel development (on or off target).

To create this support, we only need to copy/install the results of the
virtual/kernel providers build in the staging dir ... with some minor
manipulations to the source tree (.git removal and a clean up). This
produces a source tree that is capable of rebuilding the kernel on the
target.

Installing the kernel-devsrc package on a target (along with a
toolchain) is all that remains to be done.

 $ cd /usr/src/kernel
 $ make oldconfig
 $ make -j2 bzImage

(From OE-Core rev: 6412dc1df434f774c434ec08bf9b3706edb756f2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21 12:37:53 +00:00
Bruce Ashfield 2f93628290 linux-yocto/3.17: v3.17 release and config
Updating the SRCREVs to incoroprate the full 3.17 release, and also
updating the meta data to match the v3.17 content:

  9ba007f8d0ab meta: bump kver to v3.17-final
  5c6c5fe9b0bf config: remove CONFIG_HOTPLUG
  0ceecad5f15a qemu: explicitly include usb configuration fragments
  f6c78ada8655 gfx: convert CONFIG_TABLET_USB_WACOM to CONFIG_HID_USB_WACOM
  cd1dbedfa3c9 x86: Support 32 bit binaries

(From OE-Core rev: 18de1328dc99b851742468a3f366e3acdcce48d4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-24 17:36:17 +01:00
Bruce Ashfield cdfe99f22a linux-yocto/3.10: 8250/8250_dw: fix compile failure due to stable/Yocto conflict
Updating the SRCREVs for the following fix:

   8250/8250_dw: fix compile failure due to stable/Yocto conflict

    As of merge 60a9d9fc565e4503dbb8705803e83d906afc4ad2, "Merge
    tag 'v3.10.48' into standard/base" the 8250_dw.c fails to
    compile due to an undeclared variable.

    This happens because stable brought in:

     -------------------------
     commit 6d5e79331417886196cb3a733bdb6645ba85bc42
     Author: Tim Kryger <tim.kryger@linaro.org>
     Date:   Tue Oct 1 10:18:08 2013 -0700

        serial: 8250_dw: Improve unwritable LCR workaround

        commit c49436b657d0a56a6ad90d14a7c3041add7cf64d upstream.

     [...]

        [wangnan: backport to 3.10.43:
          - adjust context
          - remove unneeded local var]
        Signed-off-by: Wang Nan <wangnan0@huawei.com>
        Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
     ------------------------

    ...which deletes the p->private_data declaration since it became
    unused at that point, however in Yocto, we also have this:

     -----------------------
     commit 0e02b050c3cafbcbf9952125089a27e02d6ecea9
     Author: David Daney <david.daney@cavium.com>
     Date:   Wed Jun 19 20:37:27 2013 +0000

        tty/8250_dw: Add support for OCTEON UARTS.

     [...]

        Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
        (cherry picked from commit d5f1af7ece96cf52e0b110c72210ac15c2f65438)
        Signed-off-by: Darren Hart <dvhart@linux.intel.com>
     -----------------------

    ...which _adds_ another user of the p->private_data.

    Here we restore the declaration in order that 8250_dw compiles.

    Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
    [PG: add root cause info to commit log.]
    Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: 4b4d1f38ea54ef8545e726ac9e181da08a2bad05)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-24 17:36:17 +01:00
Bruce Ashfield 96c46db3c0 linux-yocto/3.17: update to v3.17-rc7
Updating the 3.17 tree to the rc7 release.

(From OE-Core rev: 6957ce3e726de5dbdcf3e94c5919916d88736e8d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-02 00:42:43 +01:00
Bruce Ashfield f351b74de5 linux-yocto/3.14/3.17: allmodconfig/allyesconfig build fixes
It was found that some of the recent feature merges for 3.14/3.17 are
not allmodconfig and allyesconfig safe.

Since this is a basic test before kernel patches are submitted, we've
fixed the features to meet this standard.

Integrating the following fixes from Paul Gortmaker:

  b4213d81ea3f fat: don't use obsolete random32 call in namei_vfat
  2cc7eba15c1f cryptodev: stomp dynamic version numbering for in tree builds
  5d1dda7aae4b Target/dif: Introduce protection-passthough-only mode
  3d9772d8facf vhost: fix compile fail due to reallocated acked_features field.
  efad59d3a174 virtio-scsi.h: Add virtio_scsi_cmd_req_pi + VIRTIO_SCSI_F_T10_PI bits
  902f34d36102 aufs: apply aufs3-mmap.patch from 3.14 branch
  30efc2e9484e aufs: import core files from aufs3.14 20140915
  e42f87adef10 Revert "aufs: aufs3-mmap.patch"
  a818774bd338 Revert "aufs: core aufs filesystem"

(From OE-Core rev: d1c40ccb522b5c5a61d5faab7e0f65491e201a27)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-02 00:42:43 +01:00
Bruce Ashfield 1e3a3cd6e7 linux-yocto/3.14: revert BFP feature, and fix intel-common -rt
The BPF feature is causing build failures, so we are reverting it
for now.

In this update we also have the following fix for -rt:

  fb6271a942b5 intel: Remove the standard ktype nesting

(From OE-Core rev: 57a82d3bf0bf34bba9d0801057a4b8a6aa230228)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-02 00:42:43 +01:00
Bruce Ashfield ce9f31aaee linux-yocto/3.14/3.17: menuconfig and cryptodev
Two issues were reported with the 3.14 kernel, cryptodev was not properly
building and working on all devices, and menuconfig was not working on some
hosts.

To fix this, we pull in the latest cryptodev updates, and restore an old
ncurses patch for menuconfig.

(From OE-Core rev: 35f932314541067b16b60ed5bc054a80f973dd35)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-10-02 00:42:43 +01:00
Bruce Ashfield b65e3e26cb linux-yocto/3.14: update to v3.14.19
Updating to the latest korg -stable update.

(From OE-Core rev: 7212dcb3a67b9a9b844b74e997d2e3ea7902555f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-23 19:58:49 +01:00
Bruce Ashfield ca4f364daa linux-yocto/3.10: update to v3.10.55
Updating to the latest korg -stable update.

(From OE-Core rev: 9745ffc0ae25be980d92f195937cef6d1f406ab2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-23 19:58:49 +01:00
Bruce Ashfield 001db8407d linux-yocto/3.17: bump to v3.17-rc6
Updating the 3.17 recipe to -rc6. This is nearly the release kernel, and should
have very few changes aftert this point.

(From OE-Core rev: 845e01d906982c2147828b97129e95e8a79dce7c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-23 19:58:49 +01:00
Bruce Ashfield 0243bcf6bc linux-yocto/3.17: switch to dedicated 3.17 repository
The 3.17 repository is ready, so we no longer need to reuse the
linux-yocto-dev tree.

(From OE-Core rev: c304674833360e0e2dceca3ebeb535025597e46f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-23 19:58:49 +01:00
Bruce Ashfield cef6884a79 linux-yocto/3.17: update to v3.17-rc5
Bumping the SRCREVs to import the latest korg -rc.

(From OE-Core rev: 8ae153f7da3244c3dd24cc5dbd722af26624201b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-23 19:58:48 +01:00
Bruce Ashfield 5b68bcf453 linux-yocto/3.14: update to v3.14.18 and -rt9
Refreshing the 3.14 kernel to a new korg stable and -rt release.

(From OE-Core rev: 91204afeb508ae21f8f2a32c340ec85efbf33fd0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-23 19:58:48 +01:00
Bruce Ashfield 7040b6f3c6 linux-yocto/3.10: update to v3.10.54 and -rt55
The 3.10 kernel needed a refresh to the latest -stable and -rt releases.

(From OE-Core rev: c7360e9e72f06dab2617e16ae546f4d8e5262fa1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-23 19:58:48 +01:00
Bruce Ashfield 7a497b8315 linux-yocto-dev: bump to v3.17+
Update the -dev recipes PV to reflect that the development tree is
now at v3.17-rc4.

(From OE-Core rev: 0a5353ef42814afea33ce5d69c1fe80e3b3257ba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-10 15:38:56 +01:00
Bruce Ashfield 56e93f5292 linux-yocto/3.14: configuration updates and feature merges.
Updating the 3.14 meta and machine SRCREVs to pick up the following changes:

meta/config:

    a94680bfeb0e drm-gma500: build GMA500 DRM driver as kernel module
    21783e2e6be2 intel-common: intel-core-32: use tunnelcreek.scc
    0b46240ac3b3 soc: tunnelcreek: create tunnelcreek scc
    c7207d9c0e6a qemuppc64: create bsp config
    8f553f77e0ad meta: Create kernel config and scc for CRIU
    dacb1c1ab011 meta: common-pc: add support for booting via EFI
    b85e4cb574d6 meta: Add CONFIG_TTY to common-pc-drivers.cfg
    33f2c8d2ba33 meta: Add CONFIG_TTY to 8250.cfg
    e6f31e4894d5 GRE: enable gre feature.

Features:

    b85edae6fd61 net: e1000e calls skb_set_hash
    b45e6dec1972 net: ppp: use sk_unattached_filter api
    d310945fb6d8 tracing: accelerate tracing filters with BPF
    6742a0d5e218 net: filter: x86: internal BPF JIT
    66f2b151dd09 net: filter: x86: split bpf_jit_compile()
    3c82c5d1fc49 net: filter: Fix redefinition warnings on x86-64.
    5ad74ef546a4 net: filter: additional BPF tests
    f097814fc305 net: filter: BPF testsuite
    1bcefe39e229 net: filter: make BPF conversion more readable
    e75a3abd0c6f net: filter: misc/various cleanups
    f5cd96317979 net: filter: make register naming more comprehensible
    2f485870e68b net: filter: simplify label names from jump-table
    d381512d96f0 bpf_dbg: fix wrong register usage
    d99d91c2c5a9 sched, cls: check if we could overwrite actions when changing a filter
    8a03c23319dc net: filter: initialize A and X registers
    77a8a3fb86cb filter: added BPF random opcode
    a9bb9bcd5a04 net: filter: seccomp: fix wrong decoding of BPF_S_ANC_SECCOMP_LD_W
    724096236a68 filter: prevent nla extensions to peek beyond the end of the message
    41bdf9a8c75f net: filter: be more defensive on div/mod by X==0
    2f908136e311 net: filter: minor: fix kdoc in __sk_run_filter
    2c733311d285 net: filter: rework/optimize internal BPF interpreter's instruction set
    40155402aff6 net: filter: move filter accounting to filter core
    2635af59e1b6 net: filter: keep original BPF program around
    97147dbf46f8 net: filter: add jited flag to indicate jit compiled filters
    676d895e105a net: Rename skb->rxhash to skb->hash
    1e4f73c14307 tools: bpf_dbg: various misc code cleanups
    47956b735bf6 timerfd: Implement timerfd_ioctl method to restore timerfd_ctx::ticks, v3
    26b3ef638e06 docs: Procfs -- Document timerfd output
    af3430a5fdc8 timerfd: Implement show_fdinfo method
    5dd4e59bf04b mm: softdirty: clear VM_SOFTDIRTY flag inside clear_refs_write() instead of clear_soft_dirty()
    c2a643b6da96 mm: softdirty: don't forget to save file map softdiry bit on unmap
    8a98c67f7124 mm/memory.c: don't forget to set softdirty on file mapped fault
    5886c8ea1f26 mm: softdirty: make freshly remapped file pages being softdirty unconditionally
    8f4adad45df3 proc: show mnt_id in /proc/pid/fdinfo
    d7e814681dd4 gre6: Call skb_checksum_simple_validate
    f17fe1ff70a1 net: Generalize checksum_init functions
    b6d250d7bead ip6gre: add x-netns support
    aebe8ead74e5 gre: allow changing mac address when device is up
    98268e587a24 gre: add x-netns support
    923b14472945 yaffs: fix yaffs_vfs.c warnings.
    1cc6b7d49394 yaffs: Avoid setting any ACL releated xattr

(From OE-Core rev: 7c9a0f87cfe07ddc94e63eb6b8b3b547895ada80)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-10 15:38:56 +01:00
Bruce Ashfield e7d0486f3a linux-yocto/3.10: update valleyisland-io merge branch
Updating the topic branch that is used for valleyisland-io merges.

(From OE-Core rev: 4d804dc8d683024ef2a0a07200492f458f52b535)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-10 15:38:56 +01:00
Bruce Ashfield 4a82041d8a linux-yocto: introduce v3.17
With this commit, we introduce the v3.17-rcX kernels, which will be
released as part of the 1.7 yocto project.

All architectures have been compiled and booted with this revision
of the kernel.

(From OE-Core rev: 07315861450ebf3cd224f4700eb125b74057aa0f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-10 15:38:56 +01:00
Bruce Ashfield e107239181 linux-yocto/3.10: baytrail i/o updates
Updating the 3.10 kernel with baytrail feature backports:

   e313fe1374d spi/pxa2xx: fix incorrect SW mode chipselect setting for BayTrail LPSS SPI
   da387aea86a8 spi/pxa2xx: change default supported DMA burst size to 1
   119e77242d80 spi/pxa2xx: fix runtime PM enabling order
   ac2ff9de705c spi/pxa2xx: Prevent DMA from transferring too many bytes
   2260921e859c spi: pxa2xx: remove unnecessary OOM messages
   59f141f4a558 spi/pxa2xx-pci: Add PCI mode support for BayTrail LPSS SPI
   25c8232cbb66 spi: remove DEFINE_PCI_DEVICE_TABLE macro
   6eb21efb3641 i2c: designware-pci: set ideal HCNT, LCNT and SDA hold time value
   4e2bd3da1739 i2c: designware-pci: add 10-bit addressing mode functionality for BYT I2C
   7b813400820f i2c: designware-pci: Add Baytrail PCI IDs
   5fe4585c09d1 usb: gadget: udc-core: move sysfs_notify() to a workqueue
   cdbdda47494a usb: gadget: don't fail when DMA isn't present
   8c1914c2e3bc mmc: sdhci: add DDR50 1.8V mode support for BayTrail eMMC Controller
   5ad460bf8d4a mmc: sdhci: Preset value not supported in Baytrail eMMC
   3359f2b4d2d4 mmc: sdhci: Allow for irq being shared
   0663d41d3b8c 8250_dw: Support all baudrates on baytrail
   1866808f61bf serial: 8250_pci: add support for Intel BayTrail
   472c007ce197 serial: 8250: don't change the fifo trigger level when using dma
   fadb6c538a2b serial: 8250_dma: check the result of TX buffer mapping
   e48701bee23b dmaengine: dw: don't perform DMA when dmaengine_submit is called
   9fda0d3bfdd8 dmaengine: dw: introduce dwc_dostart_first_queued() helper
   a0b8d0199e8f dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.
   f1c1bd979f71 pwm: lpss: Fix const qualifier and sparse warnings
   d6aa3e78c2ea pwm: lpss: Add support for PCI devices
   a8fe7a1badcd pwm: add support for Intel Low Power Subsystem PWM
   cd9e2e0a810c ACPI / LPSS: Add Intel BayTrail ACPI mode PWM
   b8dab93f3e79 pwm: Add sysfs interface

(From OE-Core rev: 2c01ce4341b6745e2a778505d4840b64eb053e74)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-10 15:38:55 +01:00
Bruce Ashfield 76f05ee9d1 linux-yocto: ensure that recipe specific defaults take precedence
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>
2014-09-01 14:35:42 +01:00
Bruce Ashfield 61c15c03b4 linux-yocto/3.4: remove 3.4 name recipes
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>
2014-09-01 14:35:41 +01:00
Bruce Ashfield 05371f426e linux-yocto/3.14: update to v3.14.17
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>
2014-09-01 14:35:41 +01:00
Bruce Ashfield aeef310bf4 linux-yocto/3.14: vhost, vxland, openvswitch and block/bfq updates
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>
2014-09-01 14:35:41 +01:00
Bruce Ashfield cf8a0ac1b0 kernel-yocto: remove KBRANCH_DEFAULT
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>
2014-09-01 14:35:41 +01:00
Ming Liu bbf1040f8c linux-dummy: bundle_initramfs should not be nostamp any more
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>
2014-08-28 15:12:42 +01:00
Bruce Ashfield 8d59fca331 linux-yocto/3.14: feature merges and configuration updates
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>
2014-08-23 23:01:58 +01:00
Bruce Ashfield 29f428d726 linux-yocto/3.14: cgroups and hugetlb updates
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>
2014-08-23 23:01:58 +01:00
Bruce Ashfield 2cc9643ac2 linux-yocto/3.14: fix common clock framework support in PCI glue layer
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>
2014-08-23 23:01:58 +01:00
Bruce Ashfield 4045d61468 linux-yocto/3.14: KASLR and VDSO backports
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>
2014-08-23 23:01:58 +01:00
Bruce Ashfield d4fbc5402a linux-yocto/3.14: update to v3.14.13
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>
2014-08-23 23:01:58 +01:00
Bruce Ashfield 321cb592ef linux-yocto/3.14: add ARM kprobes support
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>
2014-08-23 23:01:58 +01:00
Bruce Ashfield 2ffbc2729a linux-yocto: intel-common: Enable Industrial IO
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>
2014-08-23 23:01:57 +01:00
Bruce Ashfield bc76ecc6ea linux-yocto/3.14: libata and generic CPU modalias handling
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>
2014-07-25 15:33:57 +01:00
Bruce Ashfield 366e7a6b02 linux-yocto-dev: bump to v3.16+
(From OE-Core rev: f90af1a78c2b616469ab49e3d426878602ad3e7b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-25 15:33:57 +01:00
Bruce Ashfield d332ad770e linux-yocto: x86_64: expand kernel stack to 16K
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>
2014-07-25 15:33:57 +01:00
Bruce Ashfield d90124c042 linux-yocto/3.14: vexpress and MVM firmware support
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>
2014-07-25 15:33:56 +01:00
Bruce Ashfield f3394914fd linux-yocto/3.10: update to v3.10.43
Importing the v3.10.42 and 43 korg -stable updates.

(From OE-Core rev: f506d0660c9949485268a92724ac770b5457b0ca)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17 17:56:57 +01:00
Bruce Ashfield 869e3d7052 linux-yocto/3.14: enable mpc8315e NAND and Yaffs2 gcc 4.9 fix
Updating the meta branch with configuration changes to enable NAND
booting on the mpc8315e reference board.

We also update the BSP SRCREVs to fix a compilation issue with
date/time on Yaffs2 and gcc 4.9.

(From OE-Core rev: d7f3b457de1a541a4ba986c7e6dcdf136a3b831c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17 17:56:57 +01:00
Bruce Ashfield 3b65c42bbb linux-yocto/3.4: update to v3.4.91
Updating to the latest korg -stable release.

(From OE-Core rev: 4121ab3a6ebfa9f8c33157a70533069ef1067fae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17 17:56:57 +01:00
Bruce Ashfield c9743d3b37 linux-yocto/3.14: update to v3.14.5
(From OE-Core rev: c6a44b388f88b3ec106ffb982c711083c24b7f96)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17 17:56:57 +01:00
Bruce Ashfield ddab1a50ae linux-yocto/3.10: update to v3.10.41
(From OE-Core rev: f3f9d92f7554ca5428e709831fd14bf9239f7aab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17 17:56:57 +01:00
Darren Hart 46c2aa4041 linux-yocto-dev: Dynamic SRCREV update
The current implementation would result in the default SRCREVs being
used by the fetcher, even though the anonymous python would update them
to AUTOREV. This appears to be something to do with early parsing
bitbake black magic.

This patch ensures the default is never assigned if we are actually
building the recipe by using a function to assign it in the first place.

The USE_DEFAULT* variables are removed as they are not necessary to
allow for overriding the SRCREVs.

The anonymous python parse check is moved closer to the top of the
recipe to be a bit more logically representative of its intended
purpose.

(From OE-Core rev: a0334b0de654a41c53df54ef80625094368113f6)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-28 08:32:27 +01:00
Bruce Ashfield 594097f53d linux-yocto/3.10: bump kver to v3.10.40
Integrating the latest korg releases for the 3.10 kernel.

(From OE-Core rev: 574c03bd5fd73281472f8267a31cfecb235f1c65)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-28 08:31:56 +01:00
Bruce Ashfield c539cb5c97 beaglebone: enable the nowayout option for the watchdog
Bumping the meta SRCREV for the following fix:

[
  The default watchdog behaviour is to stop the timer if the process
  managing it closes the file /dev/watchdog. The system would not reboot
  if watchdog daemon crashes due to a bug in it or get killed by other
  malicious code. So we prefer to enable nowayout option for the
  watchdong. With this enabled, there is no way of disabling the watchdog
  once it has been started. This option is also enabled in the predecessor
  of this BSP (beagleboard)
]

[YOCTO: 3937]

(From OE-Core rev: 7006412c285a4a6c75d5349f60dc71b0b735ff90)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-28 08:31:56 +01:00
Bruce Ashfield b9cd001f70 linux-yocto-rt/3.14: update to 3.14-rt5
Updating the the latest 3.14-rt release.

(From OE-Core rev: ca1d952c964ce25bf78d47c7a856105d59d72cac)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-28 08:31:56 +01:00
Bruce Ashfield 3869eba7dc linux-yocto/3.14: update to v3.14.4
Bumping the 3.14 recipes to the latest korg -stable release.

(From OE-Core rev: 5c0088767a59c63d2197b54450a54578fa10fa07)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-28 08:31:55 +01:00
Bruce Ashfield 920ca71dc2 linux-yocto/3.10: mei.cfg: enable Intel chipsets
Importing the mei meta data change from the yocto 3.14 kernel tree.

(From OE-Core rev: 2a39c6c11d9438a6d9cab9255e69c52779709e3e)

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>
2014-05-06 17:59:17 +01:00
Bruce Ashfield 8dc545c511 linux-yocto/3.14: update to v3.14.2
Updating to the korg 3.14.2 -stable release.

(From OE-Core rev: 34afc38d86d169f0c0c5f2427f644b0dcc3bf9a1)

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>
2014-05-06 17:59:17 +01:00
Bruce Ashfield 5fa25041c3 linux-yocto/3.10: update to v3.10.38
Updating to the korg -stable release.

(From OE-Core rev: f71e40ff6ae98644800e15f8f472be6022a32f1e)

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>
2014-05-06 17:59:17 +01:00
Bruce Ashfield 4aec869f6b linux-yocto/3.4: update to v3.4.88
Updating the 3.4 SRCREVs to import the korg v3.4.88 -stable release.

(From OE-Core rev: faf8ccedf8956590cfcf01825ad3d421fb7f7a0e)

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>
2014-05-06 17:59:17 +01:00
Bruce Ashfield 07cb1c02dc linux-yocto/3.14: aufs, edgerouter config and -rt
Updating the 3.14 SRCREVs to import the following changes:

  - enable AUFS: a missing Kbuild patch was preventing aufs from compiling
  - edgerouter: remove RTC configuration options
  - preempt-rt recipe. The patch for 3.14 is availble, so we populate the recipe.

(From OE-Core rev: 8e38a24a9d9cd44733a25d3de307907a788d643d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-23 11:43:27 +01:00
Bruce Ashfield 344feb15b3 linux-yocto/3.10: intel BSP configuration updates
Updating the SRCREV for the following configuration changes:

  7df9ef8ee47d minnow: Add minnow-drivers-extra fragment
  4f12b62002ca meta: smp.scc: increase default NR_CPUS to 64
  de70ccd19f86 intel-common: change intel-corei7064-preempt-rt-scc filename
  e3780cd93809 meta: mohonpeak: remove branch 'mohonpeak'

(From OE-Core rev: 20625df0f88b1948bfc05be0d2cbdaa201c3b2f0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-10 17:35:16 +01:00
Bruce Ashfield 7d58ef3b3d linux-yocto/3.14: beagleboard black: USB, DRM config tweaks
Importing the meta SRCREV to pick up the following two fixes:

  928d7b2ddad0 beaglebone: enhance USB support and enable MUSB modules
  fbe38387ac61 beaglebone: enable DRM for HDMI output

(From OE-Core rev: c95ae50dc0817fee291ca981c41cb556bf7db582)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-10 17:35:16 +01:00
Bruce Ashfield c3a0496b0a linux-yocto/3.14: intel configuration fixes
Importing the intel configuration fixes from Darren Hart:

   a82ccc635e7a meta: Purge retired BSPs chiefriver, sys940x, and atom-pc
   b50ba1e37c26 x86: Drop X86_32 configs
   8aa0a946f528 x86: Move MTRR config into x86 common fragments
   ddae217aefee common-pc: Remove SMP from common-pc*-cpu fragments
   f3ad83aa4c39 x86: Consolidate common x86* CPU features

(From OE-Core rev: 399d3d51f35fd8782367e82c7b6e641f32396f80)

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>
2014-04-10 17:35:16 +01:00
Bruce Ashfield 1ac45f78d9 linux-yocto/3.10: intel-common: Add preempt-rt ktype targets
Updating the meta SRCREV to incorporate the intel common preempt-rt kernel
support.

(From OE-Core rev: 63de385a2dce1727d6d4b42dfdf8cb38d8ae5792)

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>
2014-04-10 17:35:16 +01:00
Bruce Ashfield 4f6259987f linux-yocto/3.10: v3.10.35 and emenlow boot fixes
Updating the 3.10 SRCREVs to pick up 3.10.35 and a LTSI cherry pick that
fixes a boot issue with the emenlow.

(From OE-Core rev: f0990363aaeb3f8f7a8e02fc2acb0af2171e4eba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-10 17:35:16 +01:00
Bruce Ashfield 4c6d49fe14 linux-yocto/3.4: update to v3.4.85
Updating the SRCREVs to integrate the latest korg -stable update.

(From OE-Core rev: c6fe4b287c204d31a9ab86e3f38336d8828903ee)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-10 17:35:16 +01:00
Stefan Stanacar 02e455f90f qemux86-64: re-enable paravirt guest, bring it in sync with qemux86
Seems wrong that qemux86 has this enabled and qemux86-64 doesn't.
Also this will allow people to use kvm with -cpu=host.
Right now, runqemu qemux86-64 kvm uses -cpu=kvm64 because without this
feature you can't use cpu=host on newer host kernels (>= 3.8).

This basically reverts poky e6149ec6c4 /
oe-core 64749308fadabb4aa7c39f360c6395827bc5eb3a
The reason of that commit (which is more than a year old) was that on
the AB running old kernels (2.6.37) we would see occasional shutdown failures.
(but if memory serves me right the fix might have been just a coincidence).

I've tested this change with by:
  - run tests on runqemu qemux86-64 (without kvm) (300 seconds)
  - run tests on runqemu qemux86-64 kvm (which uses by default cpu=kvm64) - (tests
took 20 seconds)
  - run tests on runqemu qemux86-64 kvm with cpu=host - (tests took 18 seconds)

[ YOCTO #5956 ]

(From OE-Core rev: 4b09a1869895e4cd18e82b7d190fbfea3c7922af)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-01 23:37:01 +01:00
Bruce Ashfield 3746a51f46 linux-yocto/3.14: introduce versioned recipes
The release kernel for Yocto 1.6 is the 3.14 kernel, so we introduce
the versioned recipes here.

(From OE-Core rev: 92776093766d4b0bb2613214274fa28dc59b6126)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-31 23:04:35 +01:00
Bruce Ashfield 4f80de9a56 linux-yocto/3.10: fix qemuarm build failure
The v3.10.24 merge created a merge conflict, which was not properly
resolved. Fixing the merge conflict and fixing the build of qemu arm.

(From OE-Core rev: 2116e326d9d7039aac4ec6c7ae5d2a2bedfb4a74)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 23:53:00 +01:00
Bruce Ashfield c565d76ce1 linux-yocto/3.8: remove versioned recipes
Yocto 1.6 will support the LTSI 3.4/3.10 kernels and the 3.14 kernel. As
such, we remove the 3.8 linux-yocto recipes to keep our number of supported
kernels at three.

(From OE-Core rev: 940137ed36e1274bcb4e6b246b69c8c9172cabf7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:34 +01:00
Bruce Ashfield fb8b51c4ff linux-yocto/3.10: fix drm build failure
Andrea Adami reported the following build failure:

    .../drm/drm_mm.h:105:2: error: implicit declaration of function
    'BUG_ON' [-Werror=implicit-function-declaration]
    |   BUG_ON(!hole_node->hole_follows);
    |   ^
    |   CC      drivers/pci/setup-res.o
    |   CC      drivers/gpu/drm/i915/i915_drv.o
    | cc1: some warnings being treated as errors
    | make[6]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
    | make[5]: *** [drivers/gpu/drm/ttm] Error 2

Cherry picking mainline commit 86e81f0e6 [drm/mm: include required headers in drm_mm.h]
fixes the build problems.

cc: Andrea Adami <andrea.adami@gmail.com>
(From OE-Core rev: 42c0eba4fac6b8bd28b58ec04574d04b0ab0c457)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:34 +01:00
Bruce Ashfield d00ca40312 linux-yocto/3.10: update intel common meta data
Bumping the meta branch SRCREV for the following two commits:

  df3aa753c882 intel-common: Add media-all to the standard builds
  4b0d57269dae intel-common: Add mohonpeak BSP

(From OE-Core rev: 821b1c03db3793609e3ae564358de10e23591604)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:34 +01:00
Bruce Ashfield 7f853aa158 linux-yocto/3.10: update to v3.10.34
Updating to the latest korg -stable release.

(From OE-Core rev: 4d636396435f1165481cb103512026a8660ca8b2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:33 +01:00
Bruce Ashfield 400f831742 linux-yocto/3.10: add valleyisland io
Updating the 3.10 meta SRCREV to include the valleyisland IO .scc and
configuration files.

(From OE-Core rev: 5adccadee00ac4408d3b3d4e6a0b7ee7c84cba97)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:33 +01:00
Bruce Ashfield 1b9990478e linux-yocto/3.10: update to v3.10.33
Updating to the latest -stable release.

(From OE-Core rev: 9acc956c23ea161d0af691ff4685b472d3eff086)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:33 +01:00
Bruce Ashfield 09d875e532 linux-yocto/3.10: update EFI configuration
Importing the following two meta data changes for EFI configuration:

  284e9589436a meta: efi.cfg/efi-ext.cfg: add EFIVAR_FS to default efi fragment
  0a8c4971e2d9 meta: update efi config fragment to include EFI_STUB by default

(From OE-Core rev: ec6ff275ba44ec183c00910f47e5b8916e58ab14)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:33 +01:00
Bruce Ashfield 433768bb41 linux-yocto/3.4: update mohonpeak.cfg for SATA, SMBus, LPC, WDT, crypto & highmem64g
Updating the meta SRCREV with the latest configuration updates.

(From OE-Core rev: 8e98af96a4b2b725724cd97276168c03e95aa99d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:33 +01:00
Bruce Ashfield 3019972193 linux-yocto/3.10: intel-core*/common configuration updates
Importing the following configuration changes to support the latest intel
common BSPs:

  6e0e756d5137 intel-common: Remove GMA500 support
  226c3b7a2b82 intel-core*: Add baytrail soc support
  25df7acf2cc4 baytrail: Add feature/soc/baytrail
  8715856ab617 meta: input: add CONFIG_INPUT dependency

(From OE-Core rev: 88d2bb9c5959a9b1e744bb517c26a322cd537023)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:33 +01:00
Matthieu Crapet 5a78852a6e linux-dummy: provide kernel-modules (empty) package
Like it is done in kernel.bbclass

(From OE-Core rev: 5df4e63e747028c3ce89f1f9ae01a766ae34dc3d)

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-21 12:05:52 +00:00
Bruce Ashfield d6596f5e04 linux-yocto-dev: bump to v3.14-rc4
Updating the version of linux-yocto-dev to reflect the integration of
the 3.14-rc4 kernel.

(From OE-Core rev: 9c5734b91c274be85200a9790202326dd6debfc1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28 14:51:38 +00:00
Bruce Ashfield c7d9a07791 linux-yocto/3.10: integrate latest LTSI changes
Integrating the latest 3.10 LTSI changes into the yocto tree.

(From OE-Core rev: 19e9dded1761e09ed713c72c7153501e625a3859)

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>
2014-02-28 14:01:14 +00:00
Bruce Ashfield 967fca6f34 linux-yocto/3.4: update to v3.4.82 and latest LTSI
Updating the 3.4 tree to the 3.4.82 -stable update, and integrating
the latest LTSI changes.

(From OE-Core rev: 97518da4d03cdc6a3a9ddfce0475d2f6189dc390)

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>
2014-02-28 14:01:14 +00:00
Bruce Ashfield 771803ecf3 linux-yocto/3.10: update to v3.10.32
Integrating the latest korg -stable update for the 3.10 series of
kernels.

(From OE-Core rev: 66d976af752708579d86a505b899854abc111a19)

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>
2014-02-28 14:01:14 +00:00
Bruce Ashfield 4b967d90ea linux-yocto/3.10: enable CONFIG_FHANDLE for standard and preempt-rt kernels
CONFIG_FHANDLE is now a requirement for systemd support:

      http://cgit.freedesktop.org/systemd/systemd/commit/README?id=c2cb7cbbd526e572b1caa1d7f70be68195b513a9

    So we add it into our default standard and preempt-rt kernel types, the
    overhead is small and having this always configured allows init system
    switching, without a kernel rebuild.

(From OE-Core rev: 63d5be8f7fec74a7e4bac36b28e93071119cdf6d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-14 22:58:45 +00:00
Bruce Ashfield 9be7accfec linux-yocto/3.10: add minnow-io feature to LTSI
The initial merge of the LTSI 3.10 content was missing the minnow-io feature.
This has now been added to standard/ltsi and merged to all branches in the
tree. We also update the meta branch to ensure that the existing feature
will not attempt to apply patches to the tree, since they have now been
integrated.

(From OE-Core rev: 8569e2488e45fc7cabbdafe240ca404b2b2e8519)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-14 22:58:45 +00:00
Bruce Ashfield 3fefbe35c3 linux-yocto/3.10: arbitrary write with CONFIG_X86_X32 (CVE-2014-0038)
Integrating the upstream commit for CVE-2014-0038.

(From OE-Core rev: 9073969d7b7d5d20377ab0c1a49f8e5bb051601b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-14 22:58:45 +00:00
Bruce Ashfield 088677afc5 linux-yocto/3.10: update to v3.10.28
Updating the 3.10 kernel SRCREVs to integrate the v3.10.27, 27 and 28 -stable
releases.

(From OE-Core rev: 91fb7cfaeb8ea1c05a15a0be8a56ac50b95fd6e4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-14 22:58:45 +00:00
Darren Hart 5518885e41 linux-yocto: Use PACKAGE_ARCH in build dir
The current linux-yocto build dir (B) includes MACHINE. This has been
appropriate as kernels are typically built machine-specific. We have
recently introduced an intel-common type kernel which can be shared
across multiple machines sharing a common base (intel-core2-32,
intel-corei7-64). In these cases, the kernel is built for a something
more generic than MACHINE, and the current mechanism results in
something like this when building for MACHINE=sys940x (using intel-common):

tmp/work/core2-32-intel-common-poky-linux/linux-yocto-dev/ \
3.13++gitAUTOINC+e5d23e7879_889c6bec6b-r0/linux-sys940x-noemgd-standard-build

Note the descrepancy between core2-32-intel-common and
linux-sys940x-noemgd-standard-build. This becomes counterintuitive at
the very least when switching to another machine and attempting to reuse
this build. This patch swaps MACHINE for PACKAGE_ARCH (which is
typically MACHINE_ARCH for linux-yocto), resulting in the following
build path:

tmp/work/core2-32-intel-common-poky-linux/linux-yocto-dev/ \
3.13++gitAUTOINC+e5d23e7879_889c6bec6b-r0/linux-core2-32-intel-common-standard-build

The impact to existing MACHINEs is a replace of - with _ if MACHINE
contains one or more - charachters.

(From OE-Core rev: 54590cdb940b6145ac92729ebf9bb7e7e537f5e2)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-11 11:58:31 +00:00
Bruce Ashfield ab9c3456f5 linux-yocto/3.10: add powermanagement config to 32 bit common-pc
The introduction of LTSI has exposed a missing dependency on cpufreq
being enabled. To fix the build, we enable power management in the
32 bit BSP, which aligns it with 64 bit.

(From OE-Core rev: e859ebf08e73091640bd4d7329bbbe44270c4bf0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-11 11:56:57 +00:00
Bruce Ashfield 897d13a284 linux-yocto/3.10: integrate LTSI
Updating the SRCREVs of the 3.10 tree to reflect the integration of
of commit 68054859 from:

    git://git.linuxfoundation.org/ltsi-kernegit://git.linuxfoundation.org/ltsi-kernel.git

Build and boot tested on all qemu architectures.

(From OE-Core rev: 41a6b620f6e00d9222989058b3620cadc940ac21)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-11 11:56:56 +00:00
Bruce Ashfield 6ed41e2523 linux-yocto-dev: bump version to 3.13+
(From OE-Core rev: 0e0307a23d50b2a0efd228e7e99baabc980ab9de)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-19 16:32:10 +00:00
Bruce Ashfield e7f8537d5f linux-yocto/3.10: mohonpeak bsp config and scc files
(From OE-Core rev: 9f086987f995729235601281161858d851b8df72)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:46 +00:00
Bruce Ashfield a166c2e035 linux-yocto/3.10: update to 3.10.25
Updating the 3.10 tree to the 3.10.25 korg -stable release.

(From OE-Core rev: 85ec7e0bb1306b3ac3506627a3aa04a42c0ec180)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:46 +00:00
Bruce Ashfield 5d90065858 linux-yocto/3.10: update meta data for media fragments
Updating the meta SRCREV to import the following changes:

   d9cd83c0292b remove old MEDIA config fragments
   06b76256d7e2 common-pc-standard.scc: Enable USB webcam support
   acb8b43837d8 common-pc-64.scc: update as per changes in the media config fragments
   5513fd2ad72a minnow-standard.scc: Enable media features
   172ba799bedc media-all.scc: A feature including all the media features
   1a7e1d3a292e media-platform: A feature for platform media devices
   03c48dacbb9a media-dvb-frontends : A feature for Digital Video Broadcast Devices
   59b92b9d6c72 media-usb-tv: A feature for USB TV media adapters
   5ec0709b1fed media-tuners: A feature for media tuner devices
   356dc83e39f3 media-rc: A feature for remote control media devices
   89d96cf9d574 media-radio: A feature for AM/FM radio devices
   3dd2ebeaf49b media-pci-capture: A feature for PCI media capture devices
   9ee0e95bfc52 media-i2c: A feature for I2C media devices
   28976f4a3e27 media-usb-webcams: A feature for USB media devices
   f8206f4e00b1 media: A feature for media infrastructure
   08bfb248a17f standard.scc: Add firmware loading feature
   e567a3d53593 firmware: A feature for firmware loading support

(From OE-Core rev: f4b00c4ddf1efb2a728b7a08b542c9c7254c787f)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-16 12:05:46 +00:00
Paul Eggleton 2de5f44a65 linux-dummy: set reasonable DESCRIPTION
(From OE-Core rev: 2deb5211fdad0df501c3c2cdb0ed14caccb37ebe)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02 12:50:21 +00:00
Paul Eggleton bc16384ef7 linux-dummy: set LICENSE to GPLv2 to avoid license warning
This recipe doesn't actually produce any non-empty packages, but since
it's pretending to be a Linux kernel it might as well pretend to have
the same license, if for no other reason than to avoid producing a
warning since the previous value ("GPL") isn't acceptable.

(From OE-Core rev: 92cbf6962b82f9118bdc55883851adf2b5fcc930)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02 12:50:21 +00:00
Paul Eggleton cec8b230cf Replace one-line DESCRIPTION with SUMMARY
A lot of our recipes had short one-line DESCRIPTION values and no
SUMMARY value set. In this case it's much better to just set SUMMARY
since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY
is at least useful. I also took the opportunity to fix up a lot of the
new SUMMARY values, making them concisely explain the function of the
recipe / package where possible.

(From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02 12:50:18 +00:00
Bruce Ashfield 4bb18c41e8 linux-yocto-dev: allow static SRCREVs via include
The linux-yocto dev recipe is intended to track the latest revisions of the
kernel tree by default. To control revision churn, and integrate into a
regular build schedule having the ability to specify a set of SRCREVs without
modifying the recipe itself is desired.

So we introduce an optional include file, and variables that control whether
or not the static SRCREVs are used: USE_MACHINE_AUTOREV and USE_META_AUTOREV,
to add this flexibility.

(From OE-Core rev: 5877781d1dcb2883d00097b66ff2481a4a5ff930)

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>
2013-12-14 09:11:15 +00:00
Chong Lu 511997535f meta/*: remove unnecessary patches
The following patches are found, but not used by any recipe, so we should
remove them.

	meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch
	meta/recipes-connectivity/dhcp/dhcp/fix-client-path.patch
	meta/recipes-connectivity/libnss-mdns/files/alignment-fix.patch
	meta/recipes-core/dbus/dbus-1.6.10/test-run-path.patch
	meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch
	meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch
	meta/recipes-core/systemd/systemd/use-rootlibdir.patch
	meta/recipes-core/util-linux/util-linux/remove-lscpu.patch
	meta/recipes-core/util-linux/util-linux/remove_sigsetmark.patch
	meta/recipes-core/util-linux/util-linux/uclibc-compile.patch
	meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch
	meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build.patch
	meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch
	meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch
	meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch
	meta/recipes-devtools/gdb/gdb/libiberty-cross.patch
	meta/recipes-devtools/perl/perl-5.14.3/asm-pageh-fix.patch
	meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch
	meta/recipes-devtools/python/python-pygobject/generate-constants.patch
	meta/recipes-devtools/qemu/files/3f08ffb4a4741d147634761dc053ed386243a0de.patch
	meta/recipes-devtools/qemu/files/enable-i386-linux-user.patch
	meta/recipes-devtools/qemu/files/init-info.patch
	meta/recipes-devtools/rpm/rpm/rpm_fix_for_automake-1.12.patch
	meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch
	meta/recipes-extended/iputils/files/arping-break-libsysfs-dependency.patch
	meta/recipes-extended/libarchive/libarchive/0003-Patch-from-upstream-rev-2516.patch
	meta/recipes-extended/procps/procps-3.2.8/pagesz-not-constant.patch
	meta/recipes-gnome/gtk+/gtk+-2.24.22/no-demos.patch
	meta/recipes-gnome/libglade/libglade-2.6.4/no-deprecation.patch
	meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch
	meta/recipes-graphics/xorg-lib/libxxf86dga/libxxf86dga-1.1.3_fix_for_x32.patch
	meta/recipes-kernel/kmod/kmod/fix-undefined-O_CLOEXEC.patch
	meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch
	meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch
	meta/recipes-support/gnutls/gnutls/gnutls-texinfo-euro.patch
	meta/recipes-support/nspr/nspr/fix-build-on-aarch64.patch

[YOCTO #5180]

(From OE-Core rev: e5d81f757de4bd1bfd37a96300edd50b77b0d21c)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-10 17:42:43 +00:00
Bruce Ashfield 121dcd3855 linux-yocto/*: restore branch designations
The fetcher now confirms that a given SRCREV exists on the branch specified
in the SRC_URI. The linux-yocto recipes used to do this themselves, but that
functionality was removed to allow builds when only the SRCREV was set and
to be similar to other recipes.

Now that the fetcher checks this value, and other recipes must also have
SRCREV + branch information, this extra information can be put back into
the recipes.

(From OE-Core rev: 4a562fd2614bb6ccce1222d47b9268d6980cf315)

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>
2013-12-06 13:54:23 +00:00
Koen Kooi baf7765719 linux-dummy: catch up with image.bbclass changes
image.bbclass now depends on virtual/kernel:do_deploy, so add a task for that.

This fixes errors like this:

	ERROR: Task do_build in /build/linaro/build/meta-linaro/meta-linaro/recipes-linaro/images/linaro-image-lng.bb depends upon non-existent task do_deploy in /build/linaro/build/openembedded-core/meta/recipes-kernel/linux/linux-dummy.bb

(From OE-Core rev: 26d07f2a5bef42a113c9c81f2b5701b4f3d10d47)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-03 12:27:26 +00:00
Bruce Ashfield 04e3487b4a linux-yocto/3.10: -rt, ebtables and e1000 fixes
Updating the 3.10 SRCREVs for the following fixes:

  f47ea28 bridge: enable EBTABLES
  a9ec82e e1000: prevent oops when adapter is being closed and reset simultaneously
  a4e1bd7 Revert "arm: add dummy swizzle for versatile with qemu"

(From OE-Core rev: 20139a693677c23324c89c963735f3b8c18eeb84)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-30 22:26:29 +00:00
Bruce Ashfield 8bd91ec328 linux-yocto/3.4: update to v3.4.69
Bumping the 3.4 kernel to the latest korg -stable release.

(From OE-Core rev: b9049f6394d58610ecd3b0c77ccee5ef95ebdb73)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-30 22:26:28 +00:00
Bruce Ashfield 5745f594e3 linux/yocto-3.10: merge v3.10.19
Updating the linux-yocto-3.10 SRCREVs to the latest korg -stable
release.

(From OE-Core rev: 1da738722c9f81260dfbada6a97a21eb812d20a1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-30 22:26:28 +00:00
Bruce Ashfield e1e1ee5ebf linux-yocto/3.10: meta: ARM: OMAP3: Add USB PHY driver for Beagleboard
Updating the meta branch SRCREV to update the USB configuration:

    The Beagleboard needs the USB PHY drivers in the kernel in order to enable
    USB and Ethernet functionality. This fix ensures that they are built in
    by tweaking the kernel config.

    Tested on Beagleboard xM Rev. C2.

(From OE-Core rev: 89a372840a957e540bed954e629aa68335b3dfe0)

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>
2013-11-14 19:51:42 +00:00
Bruce Ashfield 779dec9218 linux-yocto-rt/3.10: fix ntp merge issue
Updating the -rt SRCREVs to pick up the following fix:

    ntp: fix ntp_notify_cmos_timer merge issue

    PREEMPT_RT_FULL has a stubbed ntp_notify_cmos_timer due to a bad merge.
    Renaming and restoring the full -rt functionality to this routine.

(From OE-Core rev: 41d4f0feca69bf1b41f16f5f7d21bf7540e6c47a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-14 17:01:54 +00:00
Bruce Ashfield 89c986c2b2 linux-yocto/3.10: meta: ARM: OMAP3: Add USB PHY driver for Beagleboard
Updating the meta branch SRCREV to update the USB configuration:

    The Beagleboard needs the USB PHY drivers in the kernel in order to enable
    USB and Ethernet functionality. This fix ensures that they are built in
    by tweaking the kernel config.

    Tested on Beagleboard xM Rev. C2.

(From OE-Core rev: 2a9944514362445ee891f6e77c4ae62950e247b3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-14 17:01:54 +00:00
Bruce Ashfield e9ec1538b5 linux-yocto/3.10: fix qemuarm boot and spurious mips build warning
This update fixes two issues:

a) qemuarm boot failure

v3.10.13 picked up a patch for arm versatile interrupt mappings that fixes
the emulator boot out of the box. But it interacts badly with our previous
fix for the issue. Reverting the existing patch and going with the mainline
solution fixes the boot.

b) qemumips build warning and failure

Depending on the build host and compiler, the build of menuconfig throws
an potentially uninitialized variable warning. That warning causes an
error on archs with -Werror. We can do a trivial change to avoid the
warning all together (initilize it to null), and keep everyone happy.

[YOCTO #5460]

(From OE-Core rev: 8d1a041891c87d0c2003c80f84b0501bdc9403a1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-05 22:04:29 +00:00
Bruce Ashfield baf005b0a5 linux-yocto/3.10: common-pc: add missing dependencies for BRCMSMAC
Updating the meta branch SRCREV to import some configuration updates
for the common-pc-wifi feature:

   CONFIG_WEXT_CORE=y
   CONFIG_WEXT_PROC=y
   CONFIG_CFG80211_WEXT=y

   CONFIG_BCMA=m
   CONFIG_BCMA_HOST_PCI_POSSIBLE=y
   CONFIG_BCMA_HOST_PCI=y
   CONFIG_BCMA_DRIVER_GMAC_CMN=y

   CONFIG_CRC8=m
   CONFIG_CORDIC=m

(From OE-Core rev: cdd8145a7f4abc75c4089a30206c277db2712649)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-04 09:36:20 +00:00
Bruce Ashfield dd361f07f0 linux-yocto/3.8: add crystalforest bsp legacy block drivers configurations
Updating the meta SRCREV to include the latest crystalforest configuration
updates.

(From OE-Core rev: 9480e5b7231a2923b5ebff9623827c5d90334df3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-04 09:36:20 +00:00
Bruce Ashfield 1fe7bca49d linux-yocto/3.10: haswell-wc and crystalforest support
Updating the 3.10 SRCREVs to add support for the haswell-sc and crystalforest
boards.

(From OE-Core rev: 47ebe8677ac0dc4f8799d0af75f5b7bc611fd882)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-04 09:36:20 +00:00
Bruce Ashfield a23c7e9ab7 linux-yocto-3.10: bump to 3.10.17 and -rt11
Updating the SRCREVs to reflect the integration of the .17 -stable release
and the preempt-rt up date to -rt11.

(From OE-Core rev: cefa022b814b8b4f9afacecf3bb035d211a0f3bf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-04 09:36:20 +00:00
Richard Purdie 5e42796675 recipes: Remove PR = r0 from all recipes
Remove all PR = "r0" from all .bb files in oe-core. This was done
with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i

We've switching to the PR server, PR bumps are no longer needed and
this saves people either accidentally bumping them or forgetting to
remove the lines (r0 is the default anyway).

(From OE-Core rev: 58ae94f1b06d0e6234413dbf9869bde85f154c85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-30 14:52:04 +00:00
Bruce Ashfield 56cc2f29bb linux-yocto/3.10: MinnowBoard support
Updating the 3.10 SRCREVs to update minnowboard support via the following changes:

   3F6C824 pch_gbe: Add MinnowBoard support
   9f52743 pch_gbe: Use PCH_GBE_PHY_REGS_LEN instead of 32
   ec7b5e6 pch_gbe: use managed functions pcim_* and devm_*
   fd8bf50 pch_gbe: convert pr_* to netdev_*
   9b278e9 serial: pch_uart: fix compilation warning
   8982d79 serial: pch_uart: Fix signed-ness and casting of uartclk related fields
   cdbf456 serial: pch_uart: Remove __initdata annotation from dmi_table
   9e7c25e pch_uart: Use DMI interface for board detection

(From OE-Core rev: 6c7115a56c3d0bf3d6d0275bd2d49d8cfef5c028)

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>
2013-10-22 10:03:34 +01:00
Bruce Ashfield aeb7909cc4 linux-yocto/3.10: integrate lxc kernel feature and 32 bit x86 config
Updating the meta branch SRCREV to incorporate the two following
configuration changes:

  452f067 lxc: Add lxc kernel config
  a249eba x86_32: Enable X86_32 and disable 64BIT explicitly

(From OE-Core rev: 64d4c508652bc5d8a0b4c01f0d0813e58d6b39a6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-14 16:55:23 +01:00
Bruce Ashfield 73513f94ef linux-yocto/3.10: boot-live.cfg: Add CONFIG_ZISO=y
Updating the meta branch SRCREV with the following commit:

[
    The oe-core live class now fully support compressed ISO images this is
    the corresponding kernel change.

    Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
]

(From OE-Core rev: af2ef5085e92ca6291dabb134a7a3fb194a21d7a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-14 16:55:23 +01:00
Bruce Ashfield ff843e56d1 linux-yocto/3.8: re-use common-pc-64 for hasswell-wc
Updating the meta branch SRCREV with the following commit:

[
    meta-haswell-wc: update bsp scc to use linux-yocto-3.8 standard/common-pc-64/base branch

    Remove "branch haswell-wc" from haswell-wc-standard.scc
    so that "haswell-wc" BSP uses standard/common-pc-64/base branch
    on linux-yocto-3.8 repo.

    Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
]

(From OE-Core rev: 978c77cae12f69e05ad97c6edd03d292098fff88)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-14 16:55:22 +01:00
Bruce Ashfield 9d64f3de4a linux-yocto: enable CONFIG_INPUT_EVDEV as standard policy
We have a number (in fact most) BSPs that require INPUT_EVDEV for basic
functionality. The size increase is minimal, so we'll add it to the
standard configuration for all platforms.

(From OE-Core rev: 965affabbf36fa5b5e466d331479c2295269242e)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@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>
2013-10-04 18:26:51 +01:00
Nathan Rossi 43a960abf4 linux-dummy.bb: Resolve missing task issues
Commit 609d5a9ab9e58bb1c2bcc2145399fbc8b701b85a added additional
initramfs functionality and created an additional task on kernel.bbclass
Adding this task was missed on the linux-dummy recipe, which causes task
dependency issues due to image.bbclass depending on
"virtual/kernel:do_bundle_initramfs". This change adds a dummy task
which resolves the dependency issue.

(From OE-Core rev: c0a8c5c07e0dd6f0ae302e9a4dcf7973e73e68e1)

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-01 22:56:04 +01:00
Bruce Ashfield 41875facc9 linux-yocto/3.10: common-pc* config updates
Bumping the 3.10 meta branch SRCREV to import the following config changes
for tghe sugarbay and common-pc wifi fragments.

   dad2b7e common-pc-64: add kernel CONFIG options for sugarbay platform
   37c617d common-pc-wifi.cfg: add support for broadcom wifi drivers

[YOCTO #5117]
[YOCTO #5238]

(From OE-Core rev: 180f465b0cab13e17dc92ac5c88d7d9001cd5b11)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-26 16:37:56 +01:00
Bruce Ashfield 4ed858bc76 linux-yocto/3.10: fix long perf compile times
perf's builtin-sched.c triggers extremly long build times on some
architectures due to gcc 4.7+ var-tracking functionality.

To fix this, we can cherry pick the 3.12 commit:

  f36f83f94 [perf sched: Move struct perf_sched definition out of cmd_sched()]

With this change build times are reduced from 15 to 20 minutes for qemuarm to:

  real    2m19.940s
  user    1m35.438s
  sys     0m11.165s

For kernel's that are not carrying this patch, the following can be added
to the perf recipe to also fix the issue:

    +++ b/meta/recipes-kernel/perf/perf.bb
    @@ -68,6 +68,7 @@ EXTRA_OEMAKE = \
		    CC="${CC}" \
		    AR="${AR}" \
		    perfexecdir=${libexecdir} \
    +               EXTRA_CFLAGS="-fno-var-tracking" \
		    NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${SCRIPTING_DEFINES} \

(From OE-Core rev: 82ad5305381c2f541ef051a8fc28243cd91776fe)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-18 19:49:41 +01:00
Bruce Ashfield 2ad268ff8e linux-yocto/3.10: mips configuration changes
Updating the 3.10 SRCREV to import the following MIPS configuration changes

   4f689aa meta: remove ftrace/ftrace-disable feature
   3058d81 mips: have the mips BSPs disable function tracing instead of ftrace
   935f43f meta: add ftrace/ftrace-function-tracer-disable feature
   0d72a03 mti-malta64: Default to support o32 and n32 userspace binaries

The first three changes improve the ftrace disabling fragments, to allow tracepoints
and ftrace to be enabled, while only disabling dynamic ftrace. This allows tools
that required tracepoints (like lttng) to be built against MIPS.

The mti-malta64 change adds n32 and o32 support to the default configuration to
support a broader range of userspace binaries.

[YOCTO #5215]

(From OE-Core rev: b2cadab5c7a5d3f772c34c04b759823ed6a122bf)

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>
2013-09-18 19:49:41 +01:00
Bruce Ashfield 6942108fdb linux-yocto/3.8: add haswell-wc board config and branch
Bumping the meta branch SRCREV to import the following board support:

  meta: add haswell-wc bsp for Intel Haswell Platform (Walnut Canyon CRB) scc and config files

Signed-off-by Ong Boon Leong <boon.leong.ong@intel.com>
(From OE-Core rev: fcca6317543e8be0bd2da1f45ac99448c24b4e48)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-18 19:49:41 +01:00
Bruce Ashfield 5fca4d286e linux-yocto/3.10: genericx86 meta data factoring
Updating the 3.10 meta branch to import the following commits from Darren
Hart:

   285f93b meta/common-pc-64: Add USB 3.0 support
   75072e4 meta/common-pc*: Refactor common-pc-64 to reuse common-pc drivers
   da06bde meta/common-pc: Split out CPU and Drivers config fragments
   5f55e40 meta/common-pc: Cleanup common-pc.cfg and common-pc-gfx.cfg
   0a3f784 meta/common-pc: Add common Wifi drivers
   f4b9f5e meta/common-pc: Add common Realtek and Atheros Ethernet drivers
   4d9d3eb meta/common-pc: Build Ethernet and Wifi drivers as modules
   13141ee meta/common-pc: Refactor Ethernet and Wifi options

These are in support of a new genericx86 multi-target BSP.

(From OE-Core rev: 1ab0813c819d3b785178faa458486efa6992c636)

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>
2013-09-14 08:36:26 +01:00
Bruce Ashfield 74f148ce8c linux-yocto/3.10: bump kver to 3.10.11
Bumping to the 3.10.11 -stable release. Of note in this update is
the timer_list fix, which broke ssh access in the previous 3.10
series of updates:

    timer_list: correct the iterator for timer_list

    commit 84a78a6504f5c5394a8e558702e5b54131f01d14 upstream.

With this, we can revert the two temporary fixes for timer lists.
ssh access has been directly tested after this update.

(From OE-Core rev: 659528f0f99cec94991ec96fa124c4497237e9f8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10 22:58:32 +01:00
Bruce Ashfield fbd629745f linux-yocto/3.10: update meta SRCREV for beagleboard config changes
Updating the beagleboard configuration to match the 3.10 kernel changes.
With this, the beagle* boards boot out of the box, with no additional
changes required.

Simarpreet Singh <simar@linux.com>
(From OE-Core rev: 410a4db2faec084a0e918dfce9fcb6c54d2aeaaf)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06 23:04:52 +01:00
Bruce Ashfield ed3ef0823f qemumips: fix keyboard entry in graphical boots
qemumips* (aka mti-malta32/64) still need to revert the following in
3.10:

   "Input: i8042-io - fix up region handling on MIPS" (commit 197a1e96)

It was understood that this was no longer necessary, but X based boots
still suffer the issue.

(From OE-Core rev: 57483db524cdf7c42af48bbaee163f5396294ac0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-05 16:27:54 +01:00
Bruce Ashfield cec4879eda linux-yocto/3.10: update to v3.10.10
Updating the BSP SRCREVs for the 3.10.10 korg -stable release.

(From OE-Core rev: 9171dc4bb56109d65eeb1d1a434b6e311c89b173)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-05 16:27:54 +01:00
Bruce Ashfield 19904ae51b linux-yocto/3.10: fix YAFFS2 build issues
The 3.10 yaffs2 refresh caused several build errors. One due the single kernel
version support being incomplete, and two others due to core kernel changes
creating incompatbilies with the yaffs2 code.

The following three commits fix the issues.

  b76f445 yaffs2: disable procfs support
  ecfe5ed yaffs2: convert to kuid_t and kgid_t
  fa8efc9 yaffs2: restore multi-kernel version functionality

bumping the SRCREVs for all BSPs to import the fix.

(From OE-Core rev: 5799df791043bd77c0f31e6068ab99e21d6ad25e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-05 16:27:53 +01:00
Jackie Huang 88c5e10d62 remove the unnecessary protocol parameters
It's not necessary to specify the protocol parameter when it's the
default protocol for the fetcher, e.g. the default protocol for
git fetcher it git, "protocol=git" isn't needed.

(From OE-Core rev: a2bab241c64428d5109c3c5ac5de4463fbad70c5)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-30 16:23:46 +01:00
Bruce Ashfield a79afb3c91 linux-yocto/3.4: v3.4.59, mohonpeak
This is a standard refresh of the 3.4 LTSI kernel to include v3.4.59 and to
introduce the updated mohonpeak BSP.

Build and boot testing on qemu showed no issues.

(From OE-Core rev: 3f8d61517d31c3351a45f95adbd81e1c0147b98e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-28 23:33:25 +01:00
Bruce Ashfield 8b36aa4092 linux-yocto/3.10: fix ssh login and restore CC_OPTIMIZE_FOR_SIZE
Updating the BSP SRCREVs with the following changes:

  7144bcc Revert "timer_list: Split timer_list_show_tickdevices"
  1c0d1d8 Revert "timer_list: Convert timer list to be a proper seq_file"

To temporarily fix the ability to log in via ssh on some host/image combinations.

Updating the meta SRCREV for:

  cd502a8 meta/standard: standard configuration fragment must be first

Which was incorrectly overriding feature and arch configuration values.

[YOCTO #5064]
[YOCTO #5062]

(From OE-Core rev: 3bfe8aa750f88efad7e87185b8eff8c03418efd4)

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>
2013-08-28 23:33:25 +01:00
Bruce Ashfield c2533fb717 linux-yocto-rt: add qemumips and qemuppc to COMPATIBLE_MACHINES
3.10-rt boots and has good cyclictest results on qemuppc and qemumips,
so we can now safely add them into COMPATIBLE_MACHINES.

(From OE-Core rev: 9dd21e4baf0d6220c2f751e62f417b73c6474759)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-28 00:25:56 +01:00
Bruce Ashfield afda1bc2f5 linux-yocto: add bc-native dependency, and move to linux-yocto.inc
As reported by Martin Jansa <martin.jansa@gmail.com>, the following error happens
when building in a minimal environment:

   |   BC      kernel/timeconst.h
   | /bin/sh: bc: command not found
   | make[3]: *** [kernel/timeconst.h] Error 127
   | make[2]: *** [kernel] Error 2
   | make[2]: *** Waiting for unfinished jobs....

kernel commit 70730bca [kernel: Replace timeconst.pl with a bc script] added
a kernel dependency on bc. To support the build of linux-yocto recipes in
these configurations, we add bc-native to the common dependencies.

(From OE-Core rev: c888857b060f04b8689f393ec2d77a950da40f5a)

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>
2013-08-27 10:55:07 +01:00
Bruce Ashfield 3883187066 linux-yocto: introduce v3.10
Introduce the 3.10 kernel. This is based on the 3.10.9 upstream kernel
and replaces the 3.8 recipes, which will be removed once all reference
boards have been updated.

3.10 also the latest LTSI and will be updated with that content when it
becomes available.

Other features of the 3.10 kernel include:

  - refreshed -rt support
  - refreshed yaffs2, aufs3
  - cryptodev
  - bfs, edf, and OCF staged features
  - scrubbed and updated meta data for v3.10
  - improved tools support for meta data updates and queue maintenance
  - patch carry forward from all previous linux-yocto kernels and
    configuration.

This kernel has been built and boot tested on all qemu machines and architectures.

(From OE-Core rev: 6dc46834c6edaf358c18b26e4304bc9e7413eb60)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-26 11:29:45 +01:00
Otavio Salvador 3c1f166ce5 linux-dtb.inc: Fix dtb generation for kernels newer than 3.8
The 3.8 kernel has change the default directory where the dtb file is
stored. The change has been done at:

,----[ Quote of 3.8 kernel change ]
| commit 499cd8298628eeabf0eb5eb6525d4faa0eec80d8
| Author: Grant Likely <grant.likely@secretlab.ca>
| Date:   Tue Nov 27 16:29:11 2012 -0700
|
|     ARM: dt: change .dtb build rules to build in dts directory
|
|     The current rules have the .dtb files build in a different directory
|     from the .dts files. The only reason for this is that it was what
|     PowerPC has done historically. This patch changes ARM to use the generic
|     dtb rule which builds .dtb files in the same directory as the source .dts.
|
|     Cc: Russell King <linux@arm.linux.org.uk>
|     Cc: Arnd Bergmann <arnd@arndb.de>
|     Acked-by: Olof Johansson <olof@lixom.net>
|     Cc: linux-arm-kernel@lists.infradead.org
|     Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
|     [swarren: added rm command for old stale .dtb files]
|     Signed-off-by: Stephen Warren <swarren@nvidia.com>
|     Signed-off-by: Rob Herring <rob.herring@calxeda.com>
`----

This change adds support for both places to backward and forward
compatibility.

(From OE-Core rev: 0ec3710b8dcae311e8d9d676d5f1c6843a81383b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-20 15:31:25 +01:00
Bruce Ashfield 11293d9f5a linux-yocto-3.8/meta: enable ALTIVEC for qemuppc
As part of the qemuppc tuning activities, we are aligning on ppc74xx, and
as a result we can enable ALTIVEC support in the base BSP config.

[YOCTO #1914]

(From OE-Core rev: 81c5c93fb0589dc24c10a4d3722da72d4774db22)

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>
2013-08-20 15:31:23 +01:00
Bruce Ashfield 339ecae26e linux-yocto-3.8/meta: update drm and intel power management settings
Updating the meta branch SRCREV to import the following config
changes:

  f706bd4 drm-emgd.cfg: convert some config options from y to m
  5995fa5 meta: features/power/intel.cfg

(From OE-Core rev: 1c9703c9e8b79f5c225c585c154416c1e7e6899f)

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>
2013-08-20 15:31:23 +01:00
Otavio Salvador 03b3e4b62f linux-dtb: Use kernel build system to generate the dtb files
As the Linux kernel, unconditionally, builds the dtc application and
it is the compatible version with the DeviceTree files shipped within
the kernel it is better to use it and the kernel build system to
generate the dtb files.

Some DeviceTree files rely on CPP and kernel headers to be able to
generate the dtb binary contents and it is harder to replicate it
outside of Linux kernel build system so we /use/ it.

To comply with these assumptions we need to use the dtb file when
calling 'make' instead of pointing to the DeviceTree source file; the
code has been made backward compatible but it is advised to move to
the new definition to avoid warnings as:

,----[ Original definition ]
| KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6q-sabresd.dts"
`----

Becomes:

,----[ New definition ]
| KERNEL_DEVICETREE = "imx6q-sabresd.dtb"
`----

(From OE-Core rev: 72980d5bb465f0640ed451d1ebb9c5d2a210ad0c)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-16 11:14:30 +01:00
Mike Looijmans 5bac0df201 linux-dtb.inc: Replace /boot/ with /${KERNEL_IMAGEDEST}/
Devicetree files were installed hard-coded in /boot. When KERNEL_IMAGEDEST
is anything else but "boot", the postinstall script and the file locations
no longer match and the postinstall will fail.

Replace "boot" with "${KERNEL_IMAGEDEST}" to fix this problem, and to allow
the devicetree files to be installed in another location.

(From OE-Core rev: 0f589b9a38397fdf55025062a45889b19d1c83c4)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-13 23:06:01 +01:00
Bruce Ashfield 462acd212a linux-yocto/3.8: revert .gitignore: do not ignore meta directory
We made a change to allow meta branch/directory changes to be visible
when working with the kernel tree. But without associated tool changes
.gitignore is different between branches and hence causes errors when
changing branches and processing the tree.

The tools changes are not ready yet, so to avoid patching issues,
temporarily reverting the change.

(From OE-Core rev: f7e66abf279781d7c0cc1fb3c32c93c15a83c52c)

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>
2013-07-29 13:09:05 +01:00
Bruce Ashfield 5a170bd4ba linux-yocto/3.8: restore qemumips64 SRCREV
In commit 00e0ec6c [linux-yocto: v3.8.13 and v3.4.46], the qemumips64 SRCREV
was inadvertently dropped. This patch restores the SRCREV and a booting
qemumips64.

(From OE-Core rev: de5dbfb172aaa4dd31e90e8883e8f68ed1ac86a7)

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>
2013-07-18 21:24:30 +01:00
Bruce Ashfield f7f9f1673e linux-yocto/3.4: mips: fix gcc 4.8 compilation
Updating the SRCREVs to enable the following fix for gcc 4.8 mips
compilation:

    Author: Steven J. Hill <sjhill@mips.com>
    Date:   Fri Jul 6 21:56:01 2012 +0200

    MIPS: Refactor 'clear_page' and 'copy_page' functions.

    Remove usage of the '__attribute__((alias("...")))' hack that aliased
    to integer arrays containing micro-assembled instructions. This hack
    breaks when building a microMIPS kernel. It also makes the code much
    easier to understand.

    [ralf@linux-mips.org: Added back export of the clear_page and copy_page
    symbols so certain modules will work again.  Also fixed build with
    CONFIG_SIBYTE_DMA_PAGEOPS enabled.]

    Signed-off-by: Steven J. Hill <sjhill@mips.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/3866/
    Acked-by: David Daney <david.daney@cavium.com>
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    (cherry picked from commit c022630633624a75b3b58f43dd3c6cc896a56cff)

    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

(From OE-Core rev: 5cd0d0f0e19b53a002feb91ba0cde9ea7ec19f29)

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>
2013-07-18 21:24:30 +01:00
Bruce Ashfield d0947c9195 linux-yocto/3.8: update META srcrev
Bumping the linux-yocto-3.8 meta branch SRCREV to pick up the following
changes:

  8ef9136 .gitignore: do not ignore meta directory
  f846f12 uvcvideo: a new config for a webcam device driver
  02014ca v4l2: config fragment for enabling v4l2 interface to camera devices
  71a5cc0 media-camera: a feature to enable camera infrastructure
  2396656 drm-emgd.scc: remove config for non-existing driver
  aad8aa7 drm-emgd-1.18.scc: add a kernel feature for emgd-1.18 driver
  fcf81f8 meta: restore NAT Feature

(From OE-Core rev: 0fabe26eabff716909b6c241fcb5b4cc7b78ceac)

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>
2013-07-18 21:24:30 +01:00
Bruce Ashfield da2f4a0378 linux-yocto/3.4: update to v3.4.52
Updating the 3.4 kernel to the latest korg -stable release.

(From OE-Core rev: 5f5cd51eeb93a51b8cad42165b0535e764a01bbf)

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>
2013-07-10 09:41:53 +01:00
Bruce Ashfield aa8eba7eb9 linux-yocto-dev: bump version to 3.10+
The linux-yocto-dev kernel is at 3.10-rcX, so we should bump the version to
reflect reality.

(From OE-Core rev: 8be4d1314a1334f5218e4eb46d3f8b734d5516f5)

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>
2013-06-28 09:14:05 +01:00
Bruce Ashfield 3fac79f42e linux-yocto/3.4: ltsi: sync to LTSI commit 5f05247ed
Updating the 3.4 branches to the latest LTSI baseline.

(From OE-Core rev: f53de5834559ed24b05f6bec8aaccdfc36f0a806)

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>
2013-06-28 09:14:05 +01:00
Bruce Ashfield 173a02cc18 linux-yocto/3.8: add USB screen configuration and net sched options
Bumping the meta branch SRCREV for the followiong commits:

 meta: enable additional NET_SCHED options

    This change turns on NET_ACT_MIRRED (packet redirecting and mirroring)
    and NET_CLS_U32 (universal 32bit comparisons w/ hashing classification).

    Signed-off-by: Michael Barabanov <michael.barabanov@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

    meta: add BSP-specific touchscreen support

    Add touchscreen-composite support to machines based on common-pc and
    common-pc-64, along with several other Atom boards that don't inherit
    from those, thus providing those machines with the out-of-the-box
    ability to make use of the set of USB touchscreen devices supported by
    the composite USB driver.

    Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>

 meta: add usb/touchscreen-composite feature

    Add support for the 'composite' USB touchscreen driver.

    Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>

 meta: add features/input/touchscreen

    Add a feature enabling basic support for touchscreen input devices.

    Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>

(From OE-Core rev: 722f949f7defef62c4d258716cebc77c55edbbe2)

Signed-off-by: Michael Barabanov <michael.barabanov@windriver.com>
Signed-off-by: Tom Zanussi <tom.zanussi@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>
2013-06-28 09:14:05 +01:00
Bruce Ashfield c48b822b9e linux-yocto/3.4: allow kernel feature _appends to be overriden
Updating the linux-yocto 3.4 recipe's feature flags to match the 3.8
recipe, which has the following change:

    It was pointed out that the current way the KERNEL_FEATURES variable
    is appended in the base linux-yocto recipe doesn't allow the appended
    features to be prevented in a layer without using python code and
    a recipe finalize hook.

    To allow easier overriding of 'extra' or 'optional' features that are
    defined in the linux-yocto recipe, we create a KERNEL_EXTRA_FEATURES
    variable. This variable can be set in a layer to define extra features
    or cleared to prevent the recipe's extra features from being appended
    to the core functionality.

(From OE-Core rev: 3bd592e832c6ce10947882f37564c12f4fa7f8e2)

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>
2013-06-28 09:14:05 +01:00
Richard Purdie de6657ec46 Sync with PRINC removal from meta-intel
PRINC usage is removed from meta-intel, bump core PR values to ensure
no version regressions.

(From OE-Core rev: c6108ebe116eafaf0a22b5f22a3eec87c86859f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-24 14:58:35 +01:00
Bruce Ashfield fe77047364 linux-yocto/3.8: fix gcc 4.8 ARM boot issues
Updating the linux-yocto-3.8 SRCREVs to fix a boot issue with ARM boards
when gcc 4.8 is used.

Without the following mainline backports:

  f200475 ARM: 7670/1: fix the memset fix
  8215b0e ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations

The following trap will be seen on boot:

    [<c00fc3b8>] (kmem_cache_alloc_trace+0x54/0x210) from [<c039f074>] (con_insert_unipair+0xcc/0x11c)
    [<c039f074>] (con_insert_unipair+0xcc/0x11c) from [<c039fec8>] (con_set_default_unimap+0xfc/0x198)
    [<c039fec8>] (con_set_default_unimap+0xfc/0x198) from [<c07ee258>] (console_map_init+0x44/0x58)
    [<c07ee258>] (console_map_init+0x44/0x58) from [<c07ee738>] (vty_init+0x16c/0x1b0)
    [<c07ee738>] (vty_init+0x16c/0x1b0) from [<c07edb68>] (tty_init+0x108/0x148)
    [<c07edb68>] (tty_init+0x108/0x148) from [<c07eead0>] (chr_dev_init+0xb4/0xd8)
    [<c07eead0>] (chr_dev_init+0xb4/0xd8) from [<c0008a18>] (do_one_initcall+0x11c/0x18c)
    [<c0008a18>] (do_one_initcall+0x11c/0x18c) from [<c07d89d0>] (kernel_init_freeable+0x16c/0x254)
    [<c07d89d0>] (kernel_init_freeable+0x16c/0x254) from [<c05a3810>] (kernel_init+0x18/0x160)
    [<c05a3810>] (kernel_init+0x18/0x160) from [<c000e530>] (ret_from_fork+0x14/0x20)
    Code: e593a000 e35a0000 0a000020 e5943014 (e79a1003)
    ---[ end trace e6c62de166779f86 ]---
    Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Moderate stress and board testing shows the fix to hold, and it is good for
broader testing.

[YOCTO #4549]

(From OE-Core rev: 8ef393bc08a20053765ad58c1ebd9ab621cdd704)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-18 17:33:16 +01:00