Bruce Ashfield [Tue, 14 Mar 2017 13:31:16 +0000 (09:31 -0400)]
linux-yocto/4.10: update to v4.10.2
Integrating the korg -stable update, which contains the following changes:
1e4d47787a21 Linux 4.10.2 92d90f089848 ceph: update readpages osd request according to size of pages 519f6fa2addb scsi: lpfc: Correct WQ creation for pagesize 209cf1f25d0d MIPS: IP22: Fix build error due to binutils 2.25 uselessnes. b647284905d6 MIPS: IP22: Reformat inline assembler code to modern standards. 84c131c8c9d0 module: fix memory leak on early load_module() failures cf1c6beafa75 powerpc/mm/hash: Always clear UPRT and Host Radix bits when setting up CPU 543fd2ab74dc powerpc/mm: Add MMU_FTR_KERNEL_RO to possible feature mask 4ffde229727e powerpc/xmon: Fix data-breakpoint 737af93c3dce xprtrdma: Reduce required number of send SGEs 387fb7dc3fde xprtrdma: Disable pad optimization by default 5d53884b2c1b xprtrdma: Per-connection pad optimization 921fe03af2b5 xprtrdma: Fix Read chunk padding 143ac52c3ba8 dmaengine: ipu: Make sure the interrupt routine checks all interrupts. 700c30c5179d mtd: nand: ifc: Fix location of eccstat registers for IFC V1.0 6c12c1cec4bd bcma: use (get|put)_device when probing/removing device driver fe83da6961f8 md linear: fix a race between linear_add() and linear_congested() 3c1afb4c72be rtc: sun6i: Switch to the external oscillator 5fcdc5edafc2 rtc: sun6i: Add some locking c45b4fe3ca45 rtc: sun6i: Disable the build as a module b97cb8ece888 f2fs: Fix zoned block device support e8917cd860db f2fs: avoid to issue redundant discard commands c85fc3f1d59f f2fs: add ovp valid_blocks check for bg gc victim to fg_gc f213a0f926de f2fs: fix multiple f2fs_add_link() calls having same name 88cf812869fd f2fs: fix a problem of using memory after free fd414a3e7d2c NFSv4: fix getacl ERANGE for some ACL buffer sizes ca83d7a97e36 NFSv4: fix getacl head length estimation 81df387e03e0 Revert "NFSv4.1: Handle NFS4ERR_BADSESSION/NFS4ERR_DEADSESSION replies to OP_SEQUENCE" ad2ce81eeeb0 pNFS/flexfiles: If the layout is invalid, it must be updated before retrying 7776aaacda12 NFSv4: Fix reboot recovery in copy offload 607137e3f171 NFSv4: Fix memory and state leak in _nfs4_open_and_get_state 982898d7f97a nfsd: special case truncates some more 8defb389140f nfsd: minor nfsd_setattr cleanup 11596d936ec4 VME: restore bus_remove function causing incomplete module unload 031fad61741f rtlwifi: rtl8192c-common: Fix "BUG: KASAN: d0ff495de343 rtlwifi: Fix alignment issues 28cd8db6a715 remoteproc: qcom: mdt_loader: Don't overwrite firmware object 8e2b7672b43e gfs2: Add missing rcu locking for glock lookup 6baafeb34b87 rdma_cm: fail iwarp accepts w/o connection params fc11f49a6a46 RDMA/core: Fix incorrect structure packing for booleans 93919359467c Drivers: hv: util: Backup: Fix a rescind processing issue 48dc52df9155 Drivers: hv: util: Fcopy: Fix a rescind processing issue f38bcff39862 Drivers: hv: util: kvp: Fix a rescind processing issue ec6f27bd19e0 Drivers: hv: vmbus: Fix a rescind handling bug 42b0681b7fe9 Drivers: hv: vmbus: Prevent sending data on a rescinded channel f791a7b4a7ae hv: don't reset hv_context.tsc_page on crash a34da99e9468 hv: init percpu_list in hv_synic_alloc() aa2765857f74 hv: allocate synic pages for all present CPUs d03229ccf262 usb: gadget: f_hid: fix: Move IN request allocation to set_alt() ae1756eb2af9 usb: gadget: f_hid: Use spinlock instead of mutex b1d6621ad636 usb: gadget: f_hid: fix: Prevent accessing released memory afa9556b5fe6 usb: gadget: f_hid: fix: Free out requests 6be8bf7cbcc2 usb: gadget: udc: fsl: Add missing complete function. 0d95b60e8e9e usb: gadget: udc-core: Rescan pending list on driver unbind 3afb5a0bd1f1 usb: host: xhci: plat: check hcc_params after add hcd 8fd8890d42fc usb: dwc3: gadget: skip Set/Clear Halt when invalid fed46b526628 usb: musb: da8xx: Remove CPPI 3.0 quirk and methods 53021fb71918 w1: ds2490: USB transfer buffers need to be DMAable 1d1b1e1738ef w1: don't leak refcount on slave attach failure in w1_attach_slave_device() c903cc53f760 can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer e9394d5a762d can: gs_usb: Don't use stack memory for USB transfers 8d0db6065243 iio: pressure: mpl3115: do not rely on structure field ordering bab740787fd1 iio: pressure: mpl115: do not rely on structure field ordering 615b1dc4f615 Revert "arm64: mm: set the contiguous bit for kernel mappings where appropriate" b6c72c4e3d93 KVM: arm/arm64: vgic: Stop injecting the MSI occurrence twice 68b83bee9b90 arm64: fix erroneous __raw_read_system_reg() cases c5d1e9cc2879 arm64: dma-mapping: Fix dma_mapping_error() when bypassing SWIOTLB 91dc54c352c4 arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2 6039863d6c97 x86/pkeys: Check against max pkey to avoid overflows f7e1174b9d53 fuse: add missing FR_FORCE f5e2e7ca6e6a crypto: vmx - Use skcipher for xts fallback 1fd2ec10d3e1 crypto: vmx - Use skcipher for cbc fallback e7fa3bd29e07 crypto: api - Add crypto_requires_off helper ddde9085f58c crypto: xts - Propagate NEED_FALLBACK bit d5b190f8689c crypto: testmgr - Pad aes_ccm_enc_tv_template vector 0c2f646b90b7 crypto: xts - Add ECB dependency 0fd8c1cb80a1 Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg() 2c849a5c6a83 PCI: altera: Fix TLP_CFG_DW0 for TLP write bc4c9766324a pci/hotplug/pnv-php: Disable MSI and PCI device properly 91f5bce789d9 PCI: hv: Fix wslot_to_devfn() to fix warnings on device removal 1306371f6cac ath9k: use correct OTP register offsets for the AR9340 and AR9550 5bdf880b74c3 ath9k: fix race condition in enabling/disabling IRQs a5294659a572 ath5k: drop bogus warning on drv_set_key with unsupported cipher 21b7618b6a79 ath10k: fix boot failure in UTF mode/testmode 8fbc16143918 mei: remove support for broken parallel read 8655a4538d01 samples/seccomp: fix 64-bit comparison macros 4c30d59d397e ext4: fix fencepost in s_first_meta_bg validation b1062240132b ext4: return EROFS if device is r/o and journal replay is needed 9605f3406975 ext4: preserve the needs_recovery flag when the journal is aborted 5dda2495d85f ext4: fix inline data error paths c9bcbdfebb1f ext4: fix use-after-iput when fscrypt contexts are inconsistent c8f246b40261 ext4: fix data corruption in data=journal mode c4fbdc012479 ext4: trim allocation requests to group size 011fe6ade610 ext4: do not polute the extents cache while shifting extents ac870011b6dc ext4: Include forgotten start block on fallocate insert range cdc13a3e453e loop: fix LO_FLAGS_PARTSCAN hang d957eb76b468 block/loop: fix race between I/O and set_status 94cbe6f239a8 jbd2: don't leak modified metadata buffers on an aborted journal f4639f7eef3c Fix: Disable sys_membarrier when nohz_full is enabled 112db4f65c53 power: reset: at91-poweroff: timely shutdown LPDDR memories c2990d648cf2 scsi: use 'scsi_device_from_queue()' for scsi_dh 9acc751068e8 scsi: aacraid: Reorder Adapter status check 154f7a1523b7 scsi: qla2xxx: Fix Regression introduced by pci_alloc_irq_vectors_affinity call. 699abe249b0e scsi: qla2xxx: Fix response queue count for Target mode. cf9d91108064 scsi: qla2xxx: Cleaned up queue configuration code. e5fbe2328cc5 scsi: storvsc: properly set residual data length on errors 0aeb049529f3 scsi: storvsc: properly handle SRB_ERROR when sense message is present 99b3ba253c8b scsi: storvsc: use tagged SRB requests if supported by the device 4517ad77e7e6 dm raid: fix data corruption on reshape request 37ce3ec1e70b dm round robin: revert "use percpu 'repeat_count' and 'current_path'" 72ea8179bc80 dm stats: fix a leaked s->histogram_boundaries array d18f5797ecf3 dm cache: fix corruption seen when using cache > 2TB ae74de54c982 PM / devfreq: Fix wrong trans_stat of passive devfreq device f1aa0ed61368 PM / devfreq: Fix available_governor sysfs 45c01d51bb34 ima: fix ima_d_path() possible race with rename 87d1f686d6bf ipc/shm: Fix shmat mmap nil-page protection 7d24d588d82e sigaltstack: support SS_AUTODISARM for CONFIG_COMPAT 97ddabf533f7 mm, vmscan: consider eligible zones in get_scan_count e2338022cded mm, vmscan: cleanup lru size claculations 3b156aab44c9 mm balloon: umount balloon_mnt when removing vb device e560c8b23c3b mm: do not access page->mapping directly on page_endio 67b5c7997148 mm: vmpressure: fix sending wrong events on underflow 6fd7a425d925 mm/page_alloc: fix nodes for reclaim in fast path d0e2f86dff3a mm, devm_memremap_pages: hold device_hotplug lock over mem_hotplug_{begin, done} 069634bd9e51 CIFS: Fix splice read for non-cached files 9d654322f85e iommu/vt-d: Tylersburg isoch identity map check is done too late. 1f8d55b2050c iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu b54dc49d8c4f tpm_tis: fix the error handling of init_tis() c15aff9ef901 tpm_tis: use default timeout value if chip reports it as zero 992b0ac79a12 regulator: Fix regulator_summary for deviceless consumers 2eb4d8daec86 coresight: fix kernel panic caused by invalid CPU 91b8d5b2f2e3 coresight: STM: Balance enable/disable 805c95a692ed staging: rtl: fix possible NULL pointer dereference f2bdb905fec2 staging/lustre/lnet: Fix allocation size for sv_cpt_data d43004bdde3f staging: greybus: loopback: fix broken udelay 75225bc818b0 hwmon: (it87) Ensure that pwm control cache is current before updating values 3b43f4161a5f hwmon: (it87) Do not overwrite bit 2..6 of pwm control registers 3d2c16ca46bd ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine dfd8367d0c85 ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming 80ed6047658c ALSA: seq: Fix link corruption by event error handling 7b1c5904ad8d ALSA: ctxfi: Fallback DMA mask to 32bit cff10ccb6060 ALSA: timer: Reject user params with too small ticks a517802c5b33 ALSA: hda - fix Lewisburg audio issue 3895ed1823d4 ALSA: hda/realtek - Cannot adjust speaker's volume on a Dell AIO 75cf4b6b6e29 ARM: dts: at91: Enable DMA on sama5d2_xplained console 67f1dd02b98d ARM: dts: at91: Enable DMA on sama5d4_xplained console 55015e149d5b ARM: at91: define LPDDR types 8e07d34fd09c spi: s3c64xx: fix inconsistency between binding and driver 7cf6b709b641 ext4: fix deadlock between inline_data and ext4_expand_extra_isize_ea() c4b6ff75838f media: Properly pass through media entity types in entity enumeration 81d5066323a8 lirc_dev: LIRC_{G,S}ET_REC_MODE do not work 1a0fc4b1d6ae dvb-usb: don't use stack for firmware load aa315c9614c8 cxd2820r: fix gpio null pointer dereference a1403c576b0b media: fix dm1105.c build error 0dafb0204953 uvcvideo: Fix a wrong macro 895bff918136 am437x-vpfe: always assign bpp variable 4dc455047ef2 mmc: sdhci-acpi: support deferred probe 70d4818d1c89 MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps 6f6914d77b18 MIPS: Calculate microMIPS ra properly when unwinding the stack f4ab4d6fd79b MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions 6ec5e28dfb8d MIPS: Fix get_frame_info() handling of microMIPS function size f9bba20eaae7 MIPS: Prevent unaligned accesses during stack unwinding 953f805442e1 MIPS: Clear ISA bit correctly in get_frame_info() 734696a238da MIPS: Lantiq: Keep ethernet enabled during boot 1764303e5e5a MIPS: OCTEON: Fix copy_from_user fault handling for large buffers f2b15d500123 MIPS: BCM47XX: Fix button inversion for Asus WL-500W 890fb4e3c3e1 MIPS: Fix special case in 64 bit IP checksumming. 87592def9b31 MIPS: pic32mzda: Fix linker error for pic32_get_pbclk()
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 14 Mar 2017 13:31:18 +0000 (09:31 -0400)]
linux-yocto/4.1: update to v4.1.38
Updating to the korg 4.1.38 -stable release with the following changes:
f40b3cc69de8 Linux 4.1.38 d8435bb5e8fb gro: Allow tunnel stacking in the case of FOU/GUE 066b300e5be4 tunnels: Don't apply GRO to multiple layers of encapsulation. b11e1542feca net: ipv4: Convert IP network timestamps to be y2038 safe 5023ae270216 ipip: Properly mark ipip GRO packets as encapsulated. 3e3267311e3b sg_write()/bsg_write() is not fit to be called under KERNEL_DS 363f1a90b7f3 fs: exec: apply CLOEXEC before changing dumpable task flags c63e64ae7665 IB/cma: Fix a race condition in iboe_addr_get_sgid() 6242668e855c Revert "ALSA: usb-audio: Fix race at stopping the stream" dd5035276792 kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF) 6fdb4af13f9f drivers/gpu/drm/ast: Fix infinite loop if read fails d1b9fb84c423 target/user: Fix use-after-free of tcmu_cmds if they are expired bbe48c2f932e kernel/debug/debug_core.c: more properly delay for secondary CPUs 1b51fce881b2 scsi: avoid a permanent stop of the scsi device's request queue f413092ea8e0 IB/multicast: Check ib_find_pkey() return value 8c84816cedcb IPoIB: Avoid reading an uninitialized member variable 5eba61298b74 block_dev: don't test bdev->bd_contains when it is not stable 25e9e2367457 btrfs: limit async_work allocation and worker func duration ced9b7a66a35 mm/vmscan.c: set correct defer count for shrinker a62e45871b7b Input: drv260x - fix input device's parent assignment e1589b27ffb9 libceph: verify authorize reply on connect ed21b94ebbf4 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change f8c36e2b98b7 s390/vmlogrdr: fix IUCV buffer allocation 0848a2672eb3 kconfig/nconf: Fix hang when editing symbol with a long prompt 7b53fb41d447 SUNRPC: fix refcounting problems with auth_gss messages. 14927595fec9 ext4: return -ENOMEM instead of success 576cfe615feb nfs_write_end(): fix handling of short copies 77f3c11c13dd fgraph: Handle a case where a tracer ignores set_graph_notrace 29955c9a00d5 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion 951f4b1f13a7 USB: serial: option: add dlink dwm-158 0c4f2f61d68f USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041 0a32f5b4f72d ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks 1d53a630766e dm space map metadata: fix 'struct sm_metadata' leak on failed create 67bcfac25cb8 arm/xen: Use alloc_percpu rather than __alloc_percpu d09b66f9e70b drm/radeon: add additional pci revision to dpm workaround e9631583d6c0 drm/radeon: Hide the HW cursor while it's out of bounds beeda93356ae drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values 7198dbbaa242 drm/radeon: Also call cursor_move_locked when the cursor size changes 15a12fbbf365 CIFS: Fix a possible memory corruption during reconnect 51fce08b64ec CIFS: Fix a possible memory corruption in push locks 7f16769173df CIFS: Fix missing nls unload in smb2_reconnect() 0ee8faf89305 USB: cdc-acm: add device id for GW Instek AFG-125 a2080cc28041 mmc: sdhci: Fix recovery from tuning timeout 2a1dc36fdc71 ALSA: usb-audio: Fix race at stopping the stream 93f5b2b5d28b xfs: set AGI buffer type in xlog_recover_clear_agi_bucket 73e7d7aef06c block: protect iterate_bdevs() against concurrent close a6d0744b18ae ASoC: intel: Fix crash at suspend/resume without card registration 90604ed2f10c Btrfs: fix tree search logic when replaying directory entry deletes 575b6eddbf73 Btrfs: fix deadlock caused by fsync when logging directory entries 32a27da220fb powerpc/ps3: Fix system hang with GCC 5 builds 07340eaf0743 USB: serial: kl5kusb105: fix open error path b4fa7414cb79 thermal: hwmon: Properly report critical temperature in sysfs 3225aec938da md/raid5: limit request size according to implementation limits 93da0de16c94 firmware: fix usermode helper fallback loading d7a1bfa59593 xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing 315419538d84 tpm xen: Remove bogus tpm_chip_unregister fee2ddaee775 f2fs: set ->owner for debugfs status file's file_operations f52d439916f0 ALSA: hda - fix headset-mic problem on a Dell laptop 506d7d521174 dm crypt: mark key as invalid until properly loaded 4a7036809383 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT ec05ce11c1e9 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state b1a758009739 ext4: add sanity checking to count_overhead() 31eb998aa42d ext4: use more strict checks for inodes_per_block on mount 526cfedac0b3 ext4: sanity check the block and cluster size at mount time c2404d06b82e usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices 2861b336b594 ssb: Fix error routine when fallback SPROM fails 44ef406441e2 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards. be733405b057 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask 9d45d2e79800 ext4: fix stack memory corruption with 64k block size d6ddc9cf431b ext4: fix mballoc breakage with 64k block size b3409ef1849b loop: return proper error from loop_queue_rq() 9e19c28455b3 crypto: caam - fix AEAD givenc descriptors 332086b806ac regulator: stw481x-vmmc: fix ages old enable error 9e4033f56d3d USB: UHCI: report non-PME wakeup signalling for Intel hardware 257cb82ee6d7 PCI: Check for PME in targeted sleep state 78ef3e710efd scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset 28a8e88f1d2f drm/gma500: Add compat ioctl 6ec54b062038 usb: gadget: composite: correctly initialize ep->maxpacket 33166482bf49 drm/i915: Unalias obj->phys_handle and obj->userptr d7633e23c7f6 drm/i915/gen9: fix the WaWmMemoryReadLatency implementation
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds a kernel feature to have the kernel support
for Intel Memory Protection Extensions (MPX).
A quote from kernel arch/x86/Kconfig:
"MPX provides hardware features that can be used in conjuction
with compiler-instrumented code to check memory references. It
is designed to detect buffer overflow or underflow bugs."
Intel MPX is available, e.g., on Skylake and on Goldmont (e.g.,
Intel 570x).
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 14 Mar 2017 13:31:12 +0000 (09:31 -0400)]
linux-yocto/4.9: bump to v4.9.13
Change summary is as follows:
3737a5f72234 Linux 4.9.13 d00400605597 xfs: clear delalloc and cache on buffered write failure 57d759622aa7 rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down 1cb3de83ab74 block: fix double-free in the failure path of cgwb_bdi_init() 62c153f346fe ACPICA: Linuxize: Restore and fix Intel compiler build 8f9872be6db9 netfilter: nf_ct_helper: warn when not applying default helper assignment e6bdd8d2fffc goldfish: Sanitize the broken interrupt handler 2709c2a1b016 x86/platform/goldfish: Prevent unconditional loading fef3fdf2d83c USB: serial: console: fix uninitialised spinlock 960a38eae80a USB: serial: ark3116: fix register-accessor error handling a2ce74e35d5f USB: serial: opticon: fix CTS retrieval at open a1fc6fb5f31e USB: serial: spcp8x5: fix modem-status handling 26805681a45d USB: serial: ftdi_sio: fix line-status over-reporting a1510a8c0ded USB: serial: ftdi_sio: fix extreme low-latency setting f3d56f7a586e USB: serial: ftdi_sio: fix modem-status error handling 4420e0f8fddf USB: serial: cp210x: add new IDs for GE Bx50v3 boards 308a96c857cc USB: serial: mos7840: fix another NULL-deref at open 9ab870e7425c tty: serial: msm: Fix module autoload 1a0e2594ef76 net: socket: fix recvmmsg not returning error from sock_error 481aedf869fb ip: fix IP_CHECKSUM handling 7c56012e92b5 ptr_ring: fix race conditions when resizing c2219da51664 irda: Fix lockdep annotations in hashbin_delete(). f23fd87e154f vxlan: fix oops in dev_fill_metadata_dst 171d92a9d915 dccp: fix freeing skb too early for IPV6_RECVPKTINFO 6c854afc5399 net: neigh: Fix netevent NETEVENT_DELAY_PROBE_TIME_UPDATE notification 9206efc8a1f7 packet: Do not call fanout_release from atomic contexts 722737f27774 packet: fix races in fanout_add() e0cb28247882 net: ethernet: ti: cpsw: fix cpsw assignment in resume 42b52783a59c net/llc: avoid BUG_ON() in skb_orphan() 859900c24bff net/mlx5e: Disable preemption when doing TC statistics upcall 90aa7993d5c7 kcm: fix a null pointer dereference in kcm_sendmsg() 1409935400aa kcm: fix 0-length case for kcm_sendmsg() ae7d43192ff2 Linux 4.9.12 7b0712345376 videodev2.h: go back to limited range Y'CbCr for SRGB and, ADOBERGB 8629aed2387c bcache: Make gc wakeup sane, remove set_task_state() 68214ad3926c ntb_transport: Pick an unused queue f42026015094 ntb: ntb_perf missing dmaengine_unmap_put 43325382fc7a NTB: ntb_transport: fix debugfs_remove_recursive 215d4d62ccfd timekeeping: Use deferred printk() in debug code 7ee210365adf printk: use rcuidle console tracepoint 5c3765bbc1db PCI/PME: Restore pcie_pme_driver.remove 48a415827882 Revert "i2c: designware: detect when dynamic tar update is possible" 17c443421458 ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user() 808de347ebd4 futex: Move futex_init() to core_initcall dfe8f5757ec4 drm/dp/mst: fix kernel oops when turning off secondary monitor 7499da90c0cc drm/radeon: Use mode h/vdisplay fields to hide out of bounds HW cursor 19d2d869d00e Input: elan_i2c - add ELAN0605 to the ACPI table a975e8e81e55 Fix missing sanity check in /dev/sg a026c97e8824 scsi: don't BUG_ON() empty DMA transfers 920b60aa3cc2 powerpc/64: Disable use of radix under a hypervisor ef746a305de3 mmc: core: fix multi-bit bus width without high-speed mode 80a0477665d0 fuse: fix uninitialized flags in pipe_buffer 7283448f8273 fuse: fix use after free issue in fuse_dev_do_read() 6cf921be8fb9 siano: make it work again with CONFIG_VMAP_STACK 166a2464cdcf vfs: fix uninitialized flags in splice_to_pipe() eee1550b3e89 Linux 4.9.11 724aedaa5ca6 x86/fpu/xstate: Fix xcomp_bv in XSAVES header 0d4c19ee68c9 tcp: don't annotate mark on control socket from tcp_v6_send_response() 0e0751cdfa46 net/mlx5: Don't unlock fte while still using it 7c4c32a2976e tcp: fix mark propagation with fwmark_reflect enabled 16a3fbe5239a igmp, mld: Fix memory leak in igmpv3/mld_del_delrec() 53a76d633b86 mld: do not remove mld souce list info when set link down 5b1bb4cbd7ec l2tp: do not use udp_ioctl() 12758a282435 net: dsa: Do not destroy invalid network devices a700cf26a3be ping: fix a null pointer dereference 82849541895f packet: round up linear to header len 6ebde312a8ed net: introduce device min_header_len 4cd0362114c8 sit: fix a double free on error path 2b7f50d67f5d lwtunnel: valid encap attr check should return 0 when lwtunnel is disabled 00eff2ebbd22 sctp: avoid BUG_ON on sctp_wait_for_sndbuf 4400acce6881 mlx4: Invoke softirqs after napi_reschedule 970390fd5d53 catc: Use heap buffer for memory size test 61bf9f381c38 catc: Combine failure cleanup code in catc_probe() e898f6f008aa rtl8150: Use heap buffers for all register access 878b015bcc72 pegasus: Use heap buffers for all register access b90cb484c068 macvtap: read vnet_hdr_size once 26989c9d9904 tun: read vnet_hdr_sz once 0f895f51a831 tcp: avoid infinite loop in tcp_splice_read() 1e340bb22af3 ipv6: tcp: add a missing tcp_v6_restore_cb() ae1768bbbc46 ip6_gre: fix ip6gre_err() invalid reads 66cdd4347573 netlabel: out of bound access in cipso_v4_validate() f5b54446630a ipv4: keep skb->dst around in presence of IP options d5b6fd77519d net: use a work queue to defer net_disable_timestamp() work 455a457780b6 stmmac: Discard masked flags in interrupt status register ca876dff1e8c tcp: fix 0 divide in __tcp_select_window() e6fbace87c7b ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim() a7fe4e5d0633 ipv6: fix ip6_tnl_parse_tlv_enc_lim() 6c8556f6e114 net/sched: matchall: Fix configuration race 64cc7ef5cf1d net/mlx5e: Fix update of hash function/key via ethtool adf86d59bb9b can: Fix kernel panic at security_sock_rcv_skb
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 13 Mar 2017 22:46:18 +0000 (22:46 +0000)]
package: Fix various rpmdeps relocation issues
There are several issues with rpmdeps after the rpm v5 -> v4 transition:
* _rpmfc_magic_path is an invalid option for rpm4
* --rpmpopt is an invalid option for rpm4
* we need to use the path to rpmrc since otherwise it poitns at the
original build path
* we need to set MAGIC in the environment so libmagic can find its
files.
This patch addresses those and ensures rpmdeps works in relocated builds
from sstate (or with rm_work).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 14 Mar 2017 07:20:38 +0000 (07:20 +0000)]
testimage: Don't use systemd.log_level=debug logging
This causes MBs of log messages which overload the standard 200kb syslog limit
used by busybox syslog by default. This means some tests which rely on messages
being detected in syslog, e.g.
rpm.RpmInstallRemoveTest.test_check_rpm_install_removal_log_file_size
fail (AssertionError: 54 not greater than or equal to 80 : Cound not find sufficient
amount of rpm entries in /var/log/messages, found 54 entries).
We enabled this to aid debugging of some systemd race issues, those are
now resolved so we can disable this. Leave the log level parameter as a
comment to save others having to look it up if they need debugging.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 13 Mar 2017 07:29:23 +0000 (07:29 +0000)]
u-boot: Update patch to match upstream
After discussions with upstream this version of the patch was proposed
and is being submitted to upstream u-boot. Update to that version
(which is better than my workaround).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package.bbclass: don't exclude package groups from runtime mapping
This ensures that remapping happens correctly, particularly
when package groups list noarch packages, and multilib is in use. Previously
this was masked by rpm doing *another* layer of remapping on top of this.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
package_rpm.bbclass: add a /bin/sh Provides for nativesdk- packages
nativesdk-* rpm packages all require /bin/sh because postinst scriptlets
are run with it. We can either teach rpm4 and dnf to ignore that dependency
(a lot of non-upstreamable work), or add auto-satisfy the dependency
in each package. I've chosen to do the latter.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
This means
a) calling rpmkeys and rpmsign instead of rpm
b) instructing gpg to run non-interactively; otherwise on my machine
it pops up windows requesting a key passphrase
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
selftest: do not perform a full build in test_continue
This was fetching and building the toolchain and everything else
against empty download dir and sstate cache, and so was enormously slow.
The test does not need that, it only checks that one fetch task fails and
another succeeds when using bitbake's -k option.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Version 6.x of Berkeley DB has been rejected by open source community due to its hostile
AGPLv3 license; both Fedora and Debian are sticking with db 5.x - and by extension,
all the open source projects are still developed and tested with db 5.x
In oe-core the only thing that was requiring db 6.x was rpm 5.x, and so there's no reason
to continue carrying db 6.x in oe-core. If someone needs API features that are only available in
db 6.x, it can be re-added to meta-oe.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
This is replacing Smart package manager, which is unsupported upstream, and has a growing
amount of issues (lack of python 3.x support in particular). We identified dnf as
the only feasible replacement.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
The dnf stack is written and tested against rpm 4.x. So if we want to use dnf for packaging,
we should also use rpm 4 - there's simply too much work involved in making rpm 5 work with it due
to significant API differences, and supporting that going forward.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
package.bbclass: fix locations of debugedit and rpmdeps utilities
rpm4 installs them in different locations than rpm5. This also replaces
our custom rpmdeps-oecore with standard rpmdeps; I'm not seeing a
significant performance penalty.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Jack Mitchell [Sat, 11 Mar 2017 14:16:02 +0000 (14:16 +0000)]
u-boot: fix extlinux creation race
There was a race condition in the uboot-extlinux bbclass where
only a half written extlinux.conf would be put in the deploy
directory. Fix this by adding the deploy task after the do_install
rather than after the do_compile.
Signed-off-by: Jack Mitchell <jack@embed.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 13 Mar 2017 09:26:54 +0000 (09:26 +0000)]
terminal: Use original PATH for terminals
Now that we filter out PATH to only the utilities we rely upon, the devshel
terminal was broken since it can no longer find the terminals. Even if
we fix that, the user couldn't access any of their commands within
devshell which somewhat defeats its purpose.
Add the original PATH back to the environment to restore that behaviour
since this is more in line with user expectations and it wouldn't be possible
(or desireable) to whitelist all the commands a user might want to use from
the shell.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
patchelf no longer inflates file sizes. Since the files are no longer
inflated by patchelf, we can skip using cp with the --sparse option.
More details as to how patchelf has changed are available in that
commit log.
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
base-files: do not write the current date into /etc/issue and /etc/issue.net
This is causing a problem in multilib where base-files and lib64/32-base-files
clash because they may have different dates. Also, if the package is coming
from sstate it has an incorrect date anyway.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's a machine-specific script, which is causing conflicts
when multiple versions of bash are installed in multilib setting,
and it also does not really make sense for embedded systems anyway.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 10 Mar 2017 14:43:45 +0000 (14:43 +0000)]
glib-2.0: improve determinism for GIO ptests
Previously the GIO tests would be built or not depending on whether the host had
a dbus-daemon binary available. Fix this by seeding the AC_CHECK_PROGS check
with the right value, and adding a RDEPENDS for dbus-daemon on the target.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Joe Slater [Fri, 10 Mar 2017 02:01:29 +0000 (18:01 -0800)]
pkgconfig: specify --disable-indirect-deps to configure
This preserves the current behaviour because the auto
test by configure will never return yes. ./libtool is
needed by the test and it will never exist.
Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Kristian Amlie [Thu, 9 Mar 2017 14:37:09 +0000 (15:37 +0100)]
wic/direct.py: Avoid exception if using multiple rawcopy/no-table entries.
If we are both having a bootloader and a U-Boot environment file, we
can end up with two entries using "--source rawcopy" and "--no-table",
and since they reuse the same file [1], their cleanup handlers will
try to delete the same file twice. So make sure we only do it once.
[1] Although they reuse the same file, the resulting output is
correct, so it appears the file is accessed in properly sequential
order.
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io> Signed-off-by: Ross Burton <ross.burton@intel.com>
The libsolv backend is vastly superior than the currently enabled
internal ad-hoc solver. While the switch does have a small impact on
disk and memory footprint, it make sense to change the default as for
most cases the disk/memory footprint hit should be acceptable.
This variant will have DEFAULT_PREFERENCE set to -1 so it needs to be selected
to be used, and any development-specific tweaks can be done with the
class-devupstream override, for example:
It currently only supports creating a development variant of the target recipe,
not native or nativesdk. The BBCLASSEXTEND syntax (devupstream:target) was
chosen so that support for native and nativesdk can be added at a later date.
Support for other version control systems such as subversion is limited, as
bitbake's automatic fetch dependencies on for example subversion-native are not
generated.
[ YOCTO #10215 ]
Signed-off-by: Ross Burton <ross.burton@intel.com>
Richard Purdie [Thu, 9 Mar 2017 00:14:38 +0000 (00:14 +0000)]
base/bitbake.conf: Filter contents of PATH to only allow whitelisted tools
We currently have a determinism problem in that the host tools present
in PATH can influence the build. In particular, the presence of pkg-config
on the build host can mask missing pkgconfig class dependencies.
This adds in a new HOSTTOOLS variable and then uses it to set up a directory
of symlinks to the whitelisted host tools. This directory is placed as PATH
instead of the usual /usr/bin:/bin and so on.
This should improve determinism of builds and avoid the issues which have
been particularly obvious since the introduction of recipe specific sysroots.
If users find there is a tool missing, they can extend HOSTTOOLS from a global
class or global conf file.
Right now the settings should be enough to build everything in OE-Core.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 11 Mar 2017 10:37:38 +0000 (10:37 +0000)]
u-boot-mkimage: Fix use of 'cc' instead of BUILD_CC
OE needs to be able to change the default compiler. If we pass in HOSTCC
through the make command, it overwrites not only this setting but also the
setting in tools/Makefile wrapped in ifneq ($(CROSS_BUILD_TOOLS),) which
breaks the build.
We therefore add a way of changing the default in the top level Makefile
without interfering with the other setting.
I've emailed this workaround to Masahiro Yamada for discussion.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 10 Mar 2017 12:26:04 +0000 (12:26 +0000)]
quilt: Avoid hardcoding paths into output
Avoids:
quilt-0.65-r0 do_package_qa: QA Issue: /usr/lib/quilt/ptest/quilt/scripts/edmail contained in package
quilt-ptest requires /media/build1/poky/build/tmp/hosttools/perl, but no providers found in
RDEPENDS_quilt-ptest? [file-rdeps]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 9 Mar 2017 13:23:58 +0000 (13:23 +0000)]
quilt: Don't add hardcoded links to utilities
This triggers warnings about absolute symlink paths with the PATH changes.
In reality we simply don't need/care about these so just remove/disable
them.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 9 Mar 2017 22:13:36 +0000 (22:13 +0000)]
toolchain-shar-extract.sh: Ensure sbin directories are in PATH in clean environment
For the PATH host tool whitelisting to work, the sbin directories need to be
in PATH. In the cleaned SDK environment on some distros, this isn't the case
and the SDK would then fail to setup there. This adds code to add such paths
if they do happen to be missing, ugly, but unblocks the PATH whitelisting
which I believe to be important.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joshua Lock [Wed, 8 Mar 2017 17:24:14 +0000 (17:24 +0000)]
chkconfig-alternatives-native: fix obey_variables
This postfunc assumes it's run from S, whereas that seems not to always
be the case in practice. Explicitly define the full path of the file
we wish to sed.
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Haiqing Bai [Wed, 8 Mar 2017 09:27:30 +0000 (17:27 +0800)]
busybox: ifupdown:pass interface device name for ipv6 route command
IPv6 routes need the device argument for link-local routes, or they
cannot be used at all. E.g. "gateway fe80::def" seems to be used in
some places, but kernel refuses to insert the route unless device
name is explicitly specified in the route addition.
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
David Vincent [Mon, 23 Jan 2017 13:59:16 +0000 (14:59 +0100)]
openssl: Fix symlink creation
Symlinking the openssl configuration file at install time results in
errors when overriding it using an external package which also provides
openssl-conf. This should be done as a postinstall task for such
packages.
Signed-off-by: David Vincent <freesilicon@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Daniel Schultz [Tue, 7 Mar 2017 13:41:56 +0000 (14:41 +0100)]
wic: filemap: Fixed spared_copy skip
This patches removes the empty space in front of the copied file which
was skipped. Without this reduction it's not possible to place a
partition with rawcopy and skip parameter on a desired alignment.
Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
Andre McCurdy [Mon, 6 Mar 2017 23:29:48 +0000 (15:29 -0800)]
conf/machine/include: enable hardfloat by default for ARMv6 and above
Defaulting to softfp probably isn't the best choice anymore,
especially as there are now ARM BSP layers which leave DEFAULTTUNE
entirely up to the distro:
Andre McCurdy [Tue, 7 Mar 2017 01:42:25 +0000 (17:42 -0800)]
dropbear: drop support for DSA host keys in dropbear init script
Bring the dropbear init script into sync with the systemd service
file (dropbearkey.service supports RSA host keys only) and with
recent versions of openssh which deprecate DSA host keys.
Jussi Kukkonen [Wed, 8 Mar 2017 13:21:52 +0000 (15:21 +0200)]
vulkan: Add recipe for Vulkan common loader
Add a recipe for vulkan loader library and the vulkaninfo binary.
Vulkan can be built to support X11 or wayland or both. There is
currently no support for building tests, validation layers or even
the demos as that would require a bunch of otherwise unnecessary
dependencies.
Fix the build on musl by defaulting to getenv() if secure_getenv()
is not available.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Jussi Kukkonen [Tue, 28 Feb 2017 09:26:57 +0000 (11:26 +0200)]
mesa: Enable vulkan driver for intel
PACKAGECONFIG "vulkan" enables building libvulkan_intel.so.
The radeon driver can be added to recipe as well but it requires
llvm so recent that I couldn't test it.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Ed Bartosh [Mon, 6 Mar 2017 15:31:00 +0000 (17:31 +0200)]
sstate.bbclass: update .siginfo atime
.siginfo files are not being accessed from local or NFS-mounted
sstate mirrors when sstate package is installed, so their atime
is not updated. If sstate mirror is cleaned based on access time,
they get deleted, even though they are still being used.
Updated atime of .siginfo symlinks with 'touch -a'. This command
dereferences symlinks pointing to the local mirror and updates
atime of the .siginfo file on the mirror.
[YOCTO #10857]
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Joshua Lock [Wed, 8 Mar 2017 17:24:17 +0000 (17:24 +0000)]
lib/oeqa/selftest/bbtests: update test_non_gplv3 to use selftest-ed
GPLv2 recipes have been moved to a new layer (meta-gplv2), instead of
readline perform this test on the selftest-ed recipe in meta-selftest
which has gplv2 and gplv3 variants.
Tested with oe-selftest -r bbtests.BitbakeTests.test_non_gplv3
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Joshua Lock [Wed, 8 Mar 2017 17:24:16 +0000 (17:24 +0000)]
lib/oeqa/selftest/oescripts: make test_cleanup_workdir use selftest-ed
Use a recipe which is bundled in the meta-selftest layer for this test,
rather than relying on OE-Core remaining static (or updating the tests
when OE-Core changes recipes).
Tested with oe-selftest -r oescripts.TestScripts.test_cleanup_workdir
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Joshua Lock [Wed, 8 Mar 2017 17:24:15 +0000 (17:24 +0000)]
meta-selftest: add selftest-ed recipes
The oe-selftest oescripts.TestScripts.test_cleanup_workdir was using
gzip and the GPLv2 variant to test cleanup of the workdir. This broke
with the removal of GPLv2 recipes from OE-Core.
Instead of relying on recipes in OE-Core remaining static we should
ensure that meta-selftest provides recipes required for the tests to pass.
To that end we take a copy of the current GPLv2 and GPLv3 variants of ed
and include them in meta-selftest as new recipes.
We chose ed over gzip as gzip has dependencies which would require
additional GPLv2 recipes to be included in meta-selftest.
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Martin Jansa [Wed, 8 Mar 2017 10:03:15 +0000 (11:03 +0100)]
gcc-runtime: Fix QA issue
ERROR: gcc-runtime-6.3.0-r0 do_package: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package:
/usr/lib/libmpxwrappers.la
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
gcc-runtime: 1 installed and not shipped files. [installed-vs-shipped]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>