For uninative to work, it relies on it being updated to new versions as
newer glibcs are built. This means the uninative generated by the current
build may not be as recent as the uninative that is being downloaded by
uninative.bbclass.
If this occurs, we can get symbol mismatch errors.
Ultimately, the sstate and the uninative versions need to match so we
should use the same tarball as uninative.bbclass is using, not the one
we built.
[YOCTO #12405]
(From OE-Core rev: 1e6beee55d2bbe40de54c09f7a48fcb1240a426e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've been seeing hangs in smart on the autobuilders where it hangs in
pthread futex calls. It appears to happen when some components are
installed from sstate (which use the interpreter from uninative)
and other components are built natively (and use the host's interpreter).
Its primarily affecting software which uses shared memory with futexs in
for locking purposes (which bdb does called from librpm from smart).
This isn't an issue in pyro and rocko and beyond since they use recipe
specific sysroots which included a change to always change to the
uninative interpreter. We could backport those changes but they're
fairly invasive changes to the sstate code. This patch is a more
minimal change which ensures binaries are always using the uninative
interpreter regardless of whether they're built locally or installed
from sstate.
This is only an issue if you're using an sstate mirror and hosts
with a variety of different libc versions. It has only become an issue
on recent libc versions where there was clearly some forwards compatibility
issue introduced.
(From OE-Core rev: 6b149a88cd33c65c7f306f785f4d24ee2909809c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gnu-efi needs to be build for 64bit since it is a boot time tool. It
needs these 2 headers to be in 64 bit versions, we can use the existing
32bit ones as there is not really any difference.
[YOCTO #11051]
(From OE-Core rev: 3398552663e1e18aaf352d682a77a8ad3af94e5a)
(From OE-Core rev: 7dcf05c29da3faac5ed8129a2b9cc6b00129fb07)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Goes down to 40 seconds from over 4 minutes :)
Note that there is no control over the amount of shell jobs; on my machine
this is not a problem, but if it's a problem on less capable hardware,
we can add some kind of limiter.
(From OE-Core rev: cd9af17028c069f52fb0616074170093dd63c143)
(From OE-Core rev: f7f659340fd54f05ee11bf34fdb2f6025c1d33cd)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
updated to apply to morty
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With out this patch, one can not login to a mips64 machine like qumumips64 or Octeon mips64 when
systemd is enabled.
remove PACKAGECONFIG option too
affects: systemd < 2.3.1
Reviewed-by: Jeremy Puhlman <jpuhlman@mvista.com>
(From OE-Core rev: ce97fa3c673c7adc7a1fb81e0fd47f103fe281de)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add backported patches from the upstream release/2.24/master branch to
fix CVE-2017-1000366. Also add a backported patch that resolves SSE
related build problems introduced by these patches.
(From OE-Core rev: 07e041138f0b037e7ddc75a33c7960668acdb8bb)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was not working in multilib or x32 setups and amazingly, was not
noticed until now.
The actual modification is in Lib/site.py, the rest is just devtool moving things around in the patch.
(From OE-Core rev: 0713d2a325adf87d97ef5936061ff44274d5a913)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer versions of glibc (2.26) moved the struct locale definition from
xlocale.h to bits/types/locale_t.h. For compatibility with build hosts
using this version of glibc, include this header.
See f0be25b6336db7492e47d2e8e72eb8af53b5506d in glibc
(From OE-Core rev: 4e9bb9ab2e5c603f3eb2d52ce272401c8e320cc0)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed release date from November to December 2017
(From yocto-docs rev: f4571c05c9004b0eb20a680cf7d3d1f7e6bc6d6b)
Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch ppp-fix-building-with-linux-4.8.patch tries to fix build error
with 4.8 or newer linux headers, but it would break building with kernel
< 4.8. There is a better solution to fix this issue in upstream.
Backport the upstream patch and replace the old one.
[YOCTO #10457]
(From OE-Core rev: 6e50f316db897c1d64026b3d21acec7712e4cc09)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the stable commits from Paul Gortmaker for 4.8.26:
72fd9e50372d Linux 4.8.26
bca975f9d61e pstore: Shut down worker when unregistering
831528f6d369 libnvdimm, pfn: fix 'npfns' vs section alignment
24e6cea34654 libnvdimm, pmem: fix a NULL pointer BUG in nd_pmem_notify
6585d5899c12 libnvdimm, region: fix flush hint detection crash
5679bab89552 ipmi: Fix kernel panic at ipmi_ssif_thread()
a0edda9d006a Bluetooth: hci_intel: add missing tty-device sanity check
bdfa99dcaf41 Bluetooth: hci_bcm: add missing tty-device sanity check
3a197a20503b Bluetooth: Fix user channel for 32bit userspace on 64bit kernel
2dd96e6a56f6 tty: pty: Fix ldisc flush after userspace become aware of the data already
bcb0e0973a3f serial: omap: suspend device on probe errors
e689fc4ccff0 serial: omap: fix runtime-pm handling on unbind
f1a81a255788 serial: samsung: Use right device for DMA-mapping calls
a437a5323381 padata: free correct variable
a05f144a9d3b CIFS: add misssing SFM mapping for doublequote
349eb07c3118 cifs: fix CIFS_IOC_GET_MNT_INFO oops
4ca4593289e4 CIFS: fix oplock break deadlocks
dfc44a5e2f72 CIFS: fix mapping of SFM_SPACE and SFM_PERIOD
53c2f66294a5 SMB3: Work around mount failure when using SMB3 dialect to Macs
f39f85a9ec9c Set unicode flag on cifs echo request to avoid Mac error
ab4bab94e003 Fix match_prepath()
853849a70bbb mm: prevent potential recursive reclaim due to clearing PF_MEMALLOC
2a5e703230d8 fs/block_dev: always invalidate cleancache in invalidate_bdev()
70a6a7422b35 ceph: fix memory leak in __ceph_setxattr()
1eeca04d2091 fs/xattr.c: zero out memory copied to userspace in getxattr
6fba0c4d3153 orangefs: do not check possibly stale size on truncate
aef961cbc788 orangefs: do not set getattr_time on orangefs_lookup
ad35f4485072 orangefs: clean up oversize xattr validation
decc9664a7e4 orangefs: fix bounds check for listxattr
d62cac98eeb2 ext4: evict inline data when writing to memory map
ae88e436f00e IB/hfi1: Prevent kernel QP post send hard lockups
5512f0343e1c IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level
c831cf234702 IB/mlx4: Fix ib device initialization error flow
a2f97e715839 IB/IPoIB: ibX: failed to create mcg debug file
4bb65c977cec IB/core: For multicast functions, verify that LIDs are multicast LIDs
20ad33c71d4d IB/core: Fix sysfs registration error flow
0c4446e4d65c dm thin: fix a memory leak when passing discard bio down
8d5feb420e3b dm rq: check blk_mq_register_dev() return value in dm_mq_init_request_queue()
c7c19f2ba5db dm era: save spacemap metadata root after the pre-commit
820b3860065f crypto: algif_aead - Require setkey before accept(2)
f0757bc95106 block: fix blk_integrity_register to use template's interval_exp if not 0
491700e5904b KVM: arm/arm64: fix races in kvm_psci_vcpu_on
2146d0cf63d9 KVM: x86: fix user triggerable warning in kvm_apic_accept_events()
42f69a5e282f perf/x86: Fix Broadwell-EP DRAM RAPL events
b07a3600b881 um: Fix PTRACE_POKEUSER on x86_64
583a0e218a99 x86, pmem: Fix cache flushing for iovec write < 8 bytes
57760637e50b selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug
60ca4f96555f x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup
7fbd5421d5be usb: hub: Do not attempt to autosuspend disconnected devices
812c5f577e13 usb: hub: Fix error loop seen after hub communication errors
41c09b5e0036 usb: Make sure usb/phy/of gets built-in
2a164b1e1a37 usb: misc: add missing continue in switch
f184320880ec staging: comedi: jr3_pci: cope with jiffies wraparound
c38aa7ed4029 staging: comedi: jr3_pci: fix possible null pointer dereference
452fd7a68826 staging: gdm724x: gdm_mux: fix use-after-free on module unload
1ad9126ccbcb USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously
ea0e314f4b99 USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit
4e9575b41329 usb: host: xhci: print correct command ring address
fe51d203bf26 usb: xhci: bInterval quirk for TI TUSB73x0
cb3c76399e7d iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement
82d4c0daad4d target/fileio: Fix zero-length READ and WRITE handling
1fb92530ac51 target: Fix compare_and_write_callback handling for non GOOD status
82c59b4dee19 block: get rid of blk_integrity_revalidate()
bb25c9749298 drm/ttm: fix use-after-free races in vm fault handling
04b96345d77c f2fs: sanity check segment count
8004022099cb net: mdio-mux: bcm-iproc: call mdiobus_free() in error path
9974c98f5155 bpf: don't let ldimm64 leak map addresses on unprivileged
8ed935b2461f bnxt_en: allocate enough space for ->ntp_fltr_bmap
547e949b6556 ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf
41c79abb8e54 ipv6: initialize route null entry in addrconf_init()
60b4e1ac1bcd rtnetlink: NUL-terminate IFLA_PHYS_PORT_NAME string
3c76ecbb68fc ipv4, ipv6: ensure raw socket message is big enough to hold an IP header
51f0c06655d7 tcp: do not inherit fastopen_req from parent
4f4ef66f8a54 net: usb: qmi_wwan: add Telit ME910 support
9190457be81e net: ipv6: Do not duplicate DAD on link up
fdbd8c9606d4 tcp: fix wraparound issue in tcp_lp
402219c947aa bpf, arm64: fix jit branch offset related to ldimm64
d1d3b5fac542 tcp: do not underestimate skb->truesize in tcp_trim_head()
b74a9f53923e macsec: dynamically allocate space for sglist
49e7abb4251d sparc64: fix fault handling in NGbzero.S and GENbzero.S
6ed64cb9e610 ALSA: hda - Fix deadlock of controller device lock at unbinding
8b5e31398ade staging: emxx_udc: remove incorrect __init annotations
19c278eaeef5 staging: wlan-ng: add missing byte order conversion
d923e0bc0605 brcmfmac: Make skb header writable before use
ba43849f60c0 brcmfmac: Ensure pointer correctly set if skb data location changes
a092754fb592 MIPS: R2-on-R6 MULTU/MADDU/MSUBU emulation bugfix
f316b49a6127 scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m
276ac4dbab2f serial: 8250_omap: Fix probe and remove for PM runtime
6525e9e63036 clk: rockchip: add "," to mux_pll_src_apll_dpll_gpll_usb480m_p on rk3036
9d393de73c66 USB: serial: io_edgeport: fix descriptor error handling
f66d82e82938 USB: serial: mct_u232: fix modem-status error handling
f8de7e87ed68 USB: serial: quatech2: fix control-message error handling
7070f0b5094f USB: serial: ftdi_sio: fix latency-timer error handling
47f6ccfb10df USB: serial: ark3116: fix open error handling
53aef8f0af7d USB: serial: ti_usb_3410_5052: fix control-message error handling
2f54a3328f7a USB: serial: io_edgeport: fix epic-descriptor handling
5f5f5ba0c0d7 USB: serial: ssu100: fix control-message error handling
4b1da19109b9 USB: serial: digi_acceleport: fix incomplete rx sanity check
c88342441acb USB: serial: keyspan_pda: fix receive sanity checks
b3b834c7459c usb: chipidea: Handle extcon events properly
0ff8c355d1fd usb: chipidea: Only read/write OTGSC from one place
f5dc93d23c27 usb: host: ohci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
f42b266cb8e0 usb: host: ehci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
c350ac01f4f5 KVM: nVMX: do not leak PML full vmexit to L1
3a1e3fa213cf KVM: nVMX: initialize PML fields in vmcs02
2c44b9685a55 Revert "KVM: nested VMX: disable perf cpuid reporting"
48d8e6283bc9 x86/platform/intel-mid: Correct MSI IRQ line for watchdog device
bafa78c1a65e kprobes/x86: Fix kernel panic when certain exception-handling addresses are probed
cf63da5d56fd clk: Make x86/ conditional on CONFIG_COMMON_CLK
7b34882df641 x86/pci-calgary: Fix iommu_free() comparison of unsigned expression >= 0
270dd7dbbf77 x86/ioapic: Restore IO-APIC irq_chip retrigger callback
6a44ffd4dbc8 iwlwifi: mvm: writing zero bytes to debugfs causes a crash
301082e9c9b7 iwlwifi: mvm: synchronize firmware DMA paging memory
ee4cac606ac1 iwlwifi: mvm: fix references to first_agg_queue in DQA mode
97d3c48bd7d4 iwlwifi: mvm: Use aux queue for offchannel frames in dqa
8fffec6fff0b iwlwifi: mvm: fix reorder timer re-arming
46913adaacf1 iwlwifi: pcie: don't increment / decrement a bool
52368ddf6050 iwlwifi: mvm: overwrite skb info later
83a12256b172 iwlwifi: fix MODULE_FIRMWARE for 6030
86c87e0daa7f mwifiex: Avoid skipping WEP key deletion for AP
748491d99d68 mwifiex: remove redundant dma padding in AMSDU
1569633df83e mwifiex: debugfs: Fix (sometimes) off-by-1 SSID print
ad4e8ed421e3 ARM: dts: sun7i: lamobo-r1: Fix CPU port RGMII settings
c60416688ca4 ARM: OMAP5 / DRA7: Fix HYP mode boot for thumb2 build
dd58846a5358 leds: ktd2692: avoid harmless maybe-uninitialized warning
381a374688d0 arm: dts: qcom: Fix ipq board clock rates
a109c21045cf arm64: dts: r8a7795: Mark EthernetAVB device node disabled
23f7727a1514 powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL
8a35dd72827b powerpc/powernv: Fix opal_exit tracepoint opcode
492d4c504275 powerpc/mm: Fixup wrong LPCR_VRMASD value
73ae00c24a34 cpupower: Fix turbo frequency reporting for pre-Sandy Bridge cores
f348742efaa7 tmp: use pdev for parent device in tpm_chip_alloc
024f822c0f84 tpm: fix RC value check in tpm2_seal_trusted
bb61249ebc26 hwmon: (it87) Fix pwm4 detection for IT8620 and IT8628
2484c067e875 drm/sti: fix GDP size to support up to UHD resolution
e90276910177 9p: fix a potential acl leak
b1bde1d61aad dm ioctl: prevent stack leak in dm ioctl call
19952586021f ceph: try getting buffer capability for readahead/fadvise
2afa5529d98e hwmon: (it87) Avoid registering the same chip on both SIO addresses
20f5706414a4 scsi: storvsc: Workaround for virtual DVD SCSI version
bfd008363cd2 timerfd: Protect the might cancel mechanism proper
c5eb2c3f266f ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram
79a67346f310 ARCv2: save r30 on kernel entry as gcc uses it for code-gen
d3b2ff49ba72 net: can: usb: gs_usb: Fix buffer on stack
a0b23de216d0 macsec: avoid heap overflow in skb_to_sgvec
93f3107c481a nfsd: stricter decoding of write-like NFSv2/v3 ops
0b02144efadc nfsd4: minor NFSv2/v3 write decoding cleanup
cf2b8df2aeea nfsd: check for oversized NFSv2/v3 arguments
25673437d3fa Input: i8042 - add Clevo P650RS to the i8042 reset list
328bc25d3525 ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
fe671099fe8d p9_client_readdir() fix
29e8f9612740 MIPS: Avoid BUG warning in arch_check_elf
a10a315719a5 MIPS: cevt-r4k: Fix out-of-bounds array access
da135df655bf MIPS: KGDB: Use kernel context for sleeping threads
741f4ca5cc4a ALSA: seq: Don't break snd_use_lock_sync() loop by timeout
f379be22874a ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
44b8f005e518 ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d
52b55c9a73a4 ipv6: check raw payload size correctly in ioctl
2d55be6b35f3 tcp: memset ca_priv data to 0 properly
3571e0a934e0 ipv6: check skb->protocol before lookup for nexthop
47a52f3af5b3 net: ipv6: regenerate host route if moved to gc list
0719e904a617 macvlan: Fix device ref leak when purging bc_queue
974c18f8cebc net/mlx5e: Fix ETHTOOL_GRXCLSRLALL handling
ef68966cafe2 net/mlx5e: Fix small packet threshold
1a3947d78b89 ip6mr: fix notification device destruction
8907cd376e97 netpoll: Check for skb->queue_mapping
58fb2345c82e net: ipv6: RTF_PCPU should not be settable from userspace
92cfda6d6c88 dp83640: don't recieve time stamps twice
efe73421873e sh_eth: unmap DMA buffers when freeing rings
aa146f0df8e6 net: vrf: Fix setting NLM_F_EXCL flag when adding l3mdev rule
193a114497ae net-timestamp: avoid use-after-free in ip_recv_error
11d565eec8c8 ipv6: Fix idev->addr_list corruption
aa1985f1aff7 tcp: clear saved_syn in tcp_disconnect()
b5323dffe1b4 sctp: listen on the sock only when it's state is listening or closed
eed6013d5c23 net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
12add9d91a53 l2tp: fix PPP pseudo-wire auto-loading
a3fa03ac269b l2tp: take reference on sessions being dumped
9921b663da3b net/packet: fix overflow in check for tp_reserve
fb125e7739e8 net/packet: fix overflow in check for tp_frame_nr
d4380e099256 l2tp: purge socket queues in the .destruct() callback
5ea6fbde7c3a kcm: return immediately after copy_from_user() failure
b7c5f5e113a5 net: phy: handle state correctly in phy_stop_machine
853ff758b593 net: neigh: guard against NULL solicit() method
cc2ac542fad4 sparc64: Fix kernel panic due to erroneous #ifdef surrounding pmd_write()
875b971b846a sparc64: kern_addr_valid regression
1e33ff438412 ping: implement proper locking
fc5b4dcef3f8 Revert "mmc: sdhci-msm: Enable few quirks"
cb66cad28324 x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs
c15018165b38 powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction
19aea564a24f ubi/upd: Always flush after prepared for an update
a4f1bff6eb6e mac80211: reject ToDS broadcast data frames
6e9b4ada4075 mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card
d7f182088aab Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled
1edb7d9791b8 s390/mm: fix CMMA vs KSM vs others
302dc30d4442 CIFS: remove bad_network_name flag
08f16bf5c9ba cifs: Do not send echoes before Negotiate is complete
07c9b2816029 ring-buffer: Have ring_buffer_iter_empty() return true when empty
c2bd41c8a061 tracing: Allocate the snapshot buffer before enabling probe
9ec3d1139f9b KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
46756acd3faf KEYS: Change the name of the dead type to ".dead" to prevent user access
fd9a944708bd KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
970e219ec7e1 Linux 4.8.25
3f6b8912e69f Allow stack to grow up to address space limit
19a363d4402a mm: fix new crash in unmapped_area_topdown()
c8955c83e743 mm: larger stack guard gap, between vmas
a82d21362f92 net: ipv6: check route protocol when deleting routes
e359556b299b virtio-console: avoid DMA from stack
528b66933f17 [media] dvb-usb-firmware: don't do DMA on stack
5655955e2035 [media] dvb-usb: don't use stack for firmware load
b86699b34fa2 mm: Tighten x86 /dev/mem with zeroing reads
d5b2bb5bd980 rtc: tegra: Implement clock handling
ac2ac7ec1681 x86/xen: Fix APIC id mismatch warning on Intel
a831c1987779 platform/x86: acer-wmi: setup accelerometer when machine has appropriate notify event
84170de6d3e2 nbd: fix 64-bit division
c429ae72cf29 nbd: use loff_t for blocksize and nbd_set_size args
1b141a09624f drm/nouveau/disp/mcp7x: disable dptmds workaround
76b43ba43287 mm: memcontrol: use special workqueue for creating per-memcg caches
72728f399c48 ext4: fix inode checksum calculation problem if i_extra_size is small
33046ab810d1 [media] dvb-usb-v2: avoid use-after-free
9ec073c459f4 ath9k: fix NULL pointer dereference
fcbe53258784 crypto: ahash - Fix EINPROGRESS notification callback
137b0eb0f463 crypto: algif_aead - Fix bogus request dereference in completion function
1ff725fc2f3a ftrace: Fix function pid filter on instances
de250a35cfc4 zram: do not use copy_page with non-page aligned address
6285713e76c7 char: lack of bool string made CONFIG_DEVPORT always on
d201330068bb ftrace: Fix removing of second function probe
1c89c5b0ae04 irqchip/irq-imx-gpcv2: Fix spinlock initialization
0f7c92a68fee pwm: rockchip: State of PWM clock should synchronize with PWM enabled state
3618cee7ddb0 can: ifi: use correct register to read rx status
e9561d080af6 libnvdimm: fix reconfig_mutex, mmap_sem, and jbd2_handle lockdep splat
f65e33661a10 xen, fbfront: fix connecting to backend
f582e5052686 target: Avoid mappedlun symlink creation during lun shutdown
be322b49b2c8 scsi: sd: Fix capacity calculation with 32-bit sector_t
c5958346d28c scsi: qla2xxx: Add fix to read correct register value for ISP82xx.
303fe475c738 scsi: sd: Consider max_xfer_blocks if opt_xfer_blocks is unusable
86efd3fc929b scsi: sr: Sanity check returned mode data
edadf1178d73 iscsi-target: Drop work-around for legacy GlobalSAN initiator
1f501b60dde5 iscsi-target: Fix TMR reference leak during session shutdown
2cb216efc35f efi/fb: Avoid reconfiguration of BAR that covers the framebuffer
57765d387d5f efi/libstub: Skip GOP with PIXEL_BLT_ONLY format
d90cac84a86b ACPI / scan: Set the visited flag for all enumerated devices
5abbbaefcd3e x86/vdso: Plug race between mapping and ELF header setup
920f423183ee x86/vdso: Ensure vdso32_enabled gets set to valid values only
f4426d1f0c68 x86, pmem: fix broken __copy_user_nocache cache-bypass assumptions
0624cecc272a x86/signals: Fix lower/upper bound reporting in compat siginfo
9dcf17398d35 perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()
774eb28fa29d Input: xpad - add support for Razer Wildcat gamepad
da3214318021 CIFS: store results of cifs_reopen_file to avoid infinite wait
4c8f2f3e96f7 drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one
fe2c5a1cab29 drm/nouveau/mpeg: mthd returns true on success now
4f0d2ae5a754 zsmalloc: expand class bit
14826db7e76f thp: fix MADV_DONTNEED vs clear soft dirty race
307ea67867f7 thp: fix MADV_DONTNEED vs. MADV_FREE race
84fcd4c616b3 tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
50a18a2c13e7 tcmu: Fix wrongly calculating of the base_command_size
04129b9eac53 tcmu: Fix possible overwrite of t_data_sg's last iov[]
1a96c4236345 cgroup, kthread: close race window where new kthreads can be migrated to non-root cgroups
5af2034c5fa7 dma-buf: add support for compat ioctl
47dc33b02d9f net/mlx4_core: Fix when to save some qp context flags for dynamic VST to VGT transitions
ca1cf7fa5e89 net/mlx4_core: Fix racy CQ (Completion Queue) free
c5d6272b48da net/mlx4_en: Fix bad WQE issue
0cbe1ba52ac8 usb: hub: Wait for connection to be reestablished after port reset
7e3909e459be blk-mq: Avoid memory reclaim when remapping queues
e53675310932 net/packet: fix overflow in check for priv area size
9f81b537bdcd crypto: caam - fix invalid dereference in caam_rsa_init_tfm()
685e2f71d3d7 crypto: caam - fix RNG deinstantiation error checking
4b8d172d131a MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK
06f41eff1758 MIPS: Switch to the irq_stack in interrupts
c48b1c1a49a2 MIPS: Only change $28 to thread_info if coming from user mode
43862dab7d91 MIPS: Stack unwinding while on IRQ stack
7f8386a79663 MIPS: Introduce irq_stack
0f13c368b848 mtd: bcm47xxpart: fix parsing first block after aligned TRX
009b4b307221 rt2x00: Fix incorrect usage of CONFIG_RT2X00_LIB_USB
f436af7dd007 rt2x00usb: do not anchor rx and tx urb's
ee88a8be30c3 rt2x00usb: fix anchor initialization
ff61181a39f4 i2c: bcm2835: Fix hang for writing messages larger than 16 bytes
eb4750b18bbf orangefs: fix buffer size mis-match between kernel space and user space.
72b953eed0ad drm/i915: Stop using RP_DOWN_EI on Baytrail
1701d71fc709 drm/i915: Avoid tweaking evaluation thresholds on Baytrail v3
a8a385efec43 drm/i915: Nuke debug messages from the pipe update critical section
d6e319631aec drm/i915/gen9: Increase PCODE request timeout to 50ms
440e2c3517e5 usb-storage: Add ignore-residue quirk for Initio INIC-3619
dd3716075af6 x86/reboot/quirks: Add ASUS EeeBook X205TA/W reboot quirk
99219a2e9f79 x86/reboot/quirks: Add ASUS EeeBook X205TA reboot quirk
4c3ef6907d0d platform/x86: asus-wmi: Detect quirk_no_rfkill from the DSDT
95315644bbf7 platform/x86: asus-wmi: Set specified XUSB2PR value for X550LB
b590aade4894 watchdog: s3c2410: Fix infinite interrupt in soft mode
6fdc067c889b PCI: Add ACS quirk for Qualcomm QDF2400 and QDF2432
2141fdc4e698 PCI: Sort the list of devices with D3 delay quirk by ID
0ccdd4e7d8fe mmc: sdhci-of-esdhc: remove default broken-cd for ARM
eb6e770ac347 PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports
1b87711b21ed PCI: Add Broadcom Northstar2 PAXC quirk for device class and MPSS
59b53425ef16 ARM: smccc: Update HVC comment to describe new quirk parameter
8d0029108932 drm/msm/adreno: move function declarations to header file
d327e7b178fe firmware: qcom: scm: Fix interrupted SCM calls
71ea9cad84ef arm: kernel: Add SMC structure parameter
ebb1ca9607ad ASoC: sun4i-i2s: Add quirks to handle a31 compatible
72f6e982940a ACPI: save NVS memory for Lenovo G50-45
e362b1d5bfe9 ASoC: Intel: cht_bsw_rt5645: add Baytrail MCLK support
535fcee36f5b ASoC: Intel: cht_bsw_rt5645: harden ACPI device detection
b1ed3fbd993c ASoC: Intel: Baytrail: add quirk for Lenovo Thinkpad 10
eee473322818 ASoC: codecs: rt5670: add quirk for Lenovo Thinkpad 10
beca997c156f ASoC: rt5670: Add missing 10EC5072 ACPI ID
1c8321c341da ACPI / button: Change default behavior to lid_init_state=open
2b02ab5f7391 sata: ahci-da850: implement a workaround for the softreset quirk
11f02d8d7fe6 PCI: Add ACS quirk for Intel Union Point
9acd4d7d243a ARM: dts: STiH407-family: set snps,dis_u3_susphy_quirk
61df7a67273c drm/mga: remove device_is_agp callback
0a834595f470 usb: dwc3: host: pass quirk-broken-port-ped property for known broken revisions
d0f8f71e4164 usb: dwc3: Add revision numbers for the USB 3.0 IP
51ea9fa290a8 usb: host: xhci-plat: enable BROKEN_PED quirk if platform requested
65e185bbe4d0 usb: xhci: add quirk flag for broken PED bits
12757d3bd930 ARM: davinci: PM: support da8xx DT platforms
cbb4822bc2c5 Input: gpio_keys - add support for GPIO descriptors
36a721bb8fac serial: 8250_omap: Add OMAP_DMA_TX_KICK quirk for AM437x
5fc8dd1fcaf5 usb: chipidea: msm: Rely on core to override AHBBURST
9a07b4bc1627 scsi: ufs: issue link starup 2 times if device isn't active
1afa312a5792 scsi: ufs: introduce a new ufshcd_statea UFSHCD_STATE_EH_SCHEDULED
10c3c4d5694e drm/i915: actually drive the BDW reserved IDs
b1451c6b586c drm/i915: more .is_mobile cleanups for BDW
3afb3167148c drm/i915: fix INTEL_BDW_IDS definition
955982e63676 drm/i915: Remove .is_mobile field from platform struct
bc30de19926a drm/edid: constify edid quirk list
4942997e5413 HID: usbhid: Add quirk for Mayflash/Dragonrise DolphinBar.
07a85162b9b8 HID: usbhid: Add quirk for the Futaba TOSD-5711BB VFD
62dce069c3e7 nvme: simplify stripe quirk
38bbd1f16854 platform/x86: acer-wmi: Only supports AMW0_GUID1 on acer family
2135d9cd273b ALSA: usb-audio: Add native DSD support for TEAC 501/503 DAC
1fc78f3d70c3 PCI: Expand "VPD access disabled" quirk message
508e2ef86c69 ALSA: usb-audio: add implicit fb quirk for Axe-Fx II
0c79032c962a scsi: ufs: add quirk to increase host PA_SaveConfigTime
a3cc3396dc8f PCI: thunder-pem: Factor out resource lookup
6f35e25c8609 arm64: PCI: Add local struct device pointers
d529876b02ee arm64: PCI: Manage controller-specific data on per-controller basis
30c5d2cf21f2 x86/intel_idle: Add CPU model 0x4a (Atom Z34xx series)
fade24327d61 svcauth_gss: Close connection when dropping an incoming message
cc8fc2110982 scsi: ufs: ensure that host pa_tactivate is higher than device
ae98a7756e77 mmc: sdhci-msm: Enable few quirks
b1a90b94df54 HID: multitouch: do not retrieve all reports for all devices
3d6c18b57d87 HID: multitouch: enable the Surface 3 Type Cover to report multitouch data
76cc100d5055 HID: microsoft: Add Surface 4 type cover pro 4 (JP)
56974903bdfc HID: sensor-hub: add quirk for Microchip MM7150
3aa2d02479fb HID: sensor-hub add quirk for Microsoft Surface 3
dad6aeb660e1 scsi: ufs: introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk
e1ce839b3c12 scsi: ufs: Enable no vccq quirk for skhynix device
61ebc76124e1 clocksource/drivers/arm_arch_timer: Don't assume clock runs in suspend
7d0017bedd43 net/mlx4_core: Use device ID defines
5f376717da59 HID: i2c-hid: add a simple quirk to fix device defects
b50df0349088 HID: usbhid: Add quirks for Mayflash/Dragonrise GameCube and PS3 adapters
377bf00a97dd clk: lpc32xx: add a quirk for PWM and MS clock dividers
28b80486dd11 random: use chacha20 for get_random_int/long
5c14ae6c7827 mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
c47efb0b87cf Documentation: stable-kernel-rules: fix stable-tag format
fa71007c6e60 MIPS: c-r4k: Fix Loongson-3's vcache/scache waysize calculation
d28f0f2ce69a MIPS: Flush wrong invalid FTLB entry for huge page
2d39761a305e MIPS: Add MIPS_CPU_FTLB for Loongson-3A R2
f4546c48295c MIPS: Check TLB before handle_ri_rdhwr() for Loongson-3
0f0cb6322f50 MIPS: Lantiq: fix missing xbar kernel panic
01b1e6e66f38 MIPS: End spinlocks with .insn
aa476702873f MIPS: ralink: Fix typos in rt3883 pinctrl
003987fb012a MIPS: Force o32 fp64 support on 32bit MIPS64r6 kernels
3788f4d19762 s390/uaccess: get_user() should zero on failure (again)
a18a3a40ad5d s390/decompressor: fix initrd corruption caused by bss clear
cf251fc84ece nios2: reserve boot memory for device tree
c9c6823c8113 dm raid: fix NULL pointer dereference for raid1 without bitmap
c51b530047c4 powerpc/crypto/crc32c-vpmsum: Fix missing preempt_disable()
38494d50d37a powerpc: Don't try to fix up misaligned load-with-reservation instructions
e00fe427b686 powerpc/64: Fix flush_(d|i)cache_range() called from modules
7fd934338c40 powerpc/kernel: Use kprobe blacklist for asm functions
c2517a0fb5c0 powerpc/mm: Add missing global TLB invalidate if cxl is active
d29bfd4a2a5c powerpc: Disable HFSCR[TM] if TM is not supported
9413b2816e7d metag/usercopy: Add missing fixups
60e688fa135c metag/usercopy: Fix src fixup in from user rapf loops
3bd77f9b75ff metag/usercopy: Set flags before ADDZ
78ba0a0bc796 metag/usercopy: Zero rest of buffer from copy_from_user
23fe537faf0a metag/usercopy: Add early abort to copy_to_user
f93708a2faf5 metag/usercopy: Fix alignment error checking
8a27f50ba14b metag/usercopy: Drop unused macros
d3226caf07b4 brcmfmac: use local iftype avoiding use-after-free of virtual interface
b4b6d1cb7013 ring-buffer: Fix return value check in test_ringbuffer()
d06668b5c696 xfs: Honor FALLOC_FL_KEEP_SIZE when punching ends of files
f135506f5ce4 dm verity fec: fix bufio leaks
d10b19745ca0 dm verity fec: limit error correction recursion
9536055f1ec5 ptrace: fix PTRACE_LISTEN race corrupting task->state
bf895e98cfcb mm/page_alloc.c: fix print order in show_free_areas()
93fb8a316b99 Reset TreeId to zero on SMB2 TREE_CONNECT
00a743bf7f88 cfg80211: check rdev resume callback only for registered wiphy
75479ff29b44 arm64: mm: unaligned access by user-land should be received as SIGBUS
4e28a700651d iio: bmg160: reset chip when probing
89d631362aab kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd
d52401c31a5f arm/arm64: KVM: Take mmap_sem in kvm_arch_prepare_memory_region
73ba7e664274 arm/arm64: KVM: Take mmap_sem in stage2_unmap_vm
6f5c6ce2d9e9 staging: android: ashmem: lseek failed due to no FMODE_LSEEK.
a9edcc5125e7 sysfs: be careful of error returns from ops->show()
f9b7f08dea27 drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()
b2e8f39a707a drm/vmwgfx: Remove getparam error message
a339fb1acddf drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
7394c14ce409 drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()
2ba060df6cd2 drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()
f752c3934126 drm/vmwgfx: Type-check lookups of fence objects
(From OE-Core rev: 49dea7745d3f8e182566cb6bdf79e7b03560a699)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using multilib configurations either on arm/arm64 and x86/x86-64
python3 failed to execute due to a failure when looking for its
platform independent and dependent libraries.
This patch fixes this issue by assigning lib_python to the appropriate
macro.
[YOCTO #10812]
(From OE-Core rev: 8ef5c0511e51b82eaa45865df42ecbb2deeb7350)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream init script uses SIGUSR2 to terminate that daemon because
SIGTERM is ignored. As the killproc function does not support specifying
a signal, switch to start-stop-daemon. Drop the retry loop because
SIGUSR2 is lethal for agent.
(From OE-Core rev: 1e6235de0a3f6302cee37332f03b1ba403c789d1)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a conffile has been deleted (common when building a debugfs) the status
command will throw errors instead of handling that situation. Stop the code
being executed in the first place if it wasn't asked for, and handle errors
gracefully.
[ YOCTO #10761 ]
(From OE-Core rev: c32bca840d262ebc5ac93b06d0bce79729a178b1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libevdev configure script contains an unconditional check for
libcheck. If libcheck is found, libevdev unit tests will be built.
Without a dependency, the presence of libcheck in sysroot is non
deterministic (in morty and earlier) and builds can fail if libcheck
is available during do_configure but not during do_compile.
(In pyro and later, the libcheck dependency is not required to make
libevdev builds deterministic due to recipe specific sysroots).
(From OE-Core rev: 9dc52a9959b05c9fa548f1991366f29ae873a793)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since 2017-08-17 (git version 2.14.1.473.g3ec7d702a) using deprecated
git branch parameter "--set-upstream" causes a fetcher error. Replace
it by "--set-upstream-to".
https://git.kernel.org/pub/scm/git/git.git/commit/?id=52668846ea2d41ffbd87cda7cb8e492dea9f2c4d
says, it's deprecated since 2012-08-30 so hopefully all still supported
host distributions have new enough git to support "--set-upstream-to".
ERROR: PACKAGE do_unpack: Fetcher failure: ...;
git -c core.fsyncobjectfiles=0 branch --set-upstream master origin/master failed with exit code 128, output:
fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
ERROR: PACKAGE do_unpack: Function failed: base_do_unpack
(Bitbake rev: 991b533f1d61042a7b3edd1fbf3dea0bf9991606)
Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
WPA2 is vulnerable to replay attacks which result in unauthenticated users
having access to the network.
* CVE-2017-13077: reinstallation of the pairwise key in the Four-way handshake
* CVE-2017-13078: reinstallation of the group key in the Four-way handshake
* CVE-2017-13079: reinstallation of the integrity group key in the Four-way
handshake
* CVE-2017-13080: reinstallation of the group key in the Group Key handshake
* CVE-2017-13081: reinstallation of the integrity group key in the Group Key
handshake
* CVE-2017-13082: accepting a retransmitted Fast BSS Transition Reassociation
Request and reinstalling the pairwise key while processing it
* CVE-2017-13086: reinstallation of the Tunneled Direct-Link Setup (TDLS)
PeerKey (TPK) key in the TDLS handshake
* CVE-2017-13087: reinstallation of the group key (GTK) when processing a
Wireless Network Management (WNM) Sleep Mode Response frame
* CVE-2017-13088: reinstallation of the integrity group key (IGTK) when
processing a Wireless Network Management (WNM) Sleep Mode Response frame
Backport patches from upstream to resolve these CVEs.
(From OE-Core rev: c79b479ab4b129007c6679bb0bdd8e2ec7ecb6ad)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
epitest.fi is down and hostap-utils source is now available in
w1.fi. So, move SRC_URI to https://w1.fi
Since hostap-utils is only meant for old Intersil Prism2/2.5/3 wifi cards,
this recipe will be removed from oe-core in future (most likely to
meta-handheld)
[YOCTO #12051]
(From OE-Core rev: 541b14c58132e8460a762617889bd5e3d736c1a4)
(From OE-Core rev: 0bc03289b775fefcb7f03e5463c79e4f96cd0b12)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Invisible Mirror FTP service is currently down, and FTP is horrible, so
switch to the HTTP mirror.
(From OE-Core rev: f31461f8ea11e82dbe14454a1149d9ec2120404d)
(From OE-Core rev: 4839f039036f3d72f9ef114a37500f9b498101df)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mirrors are not working so remove them. Simplify the SRC_URI as the archive in only in the older-releases dir.
(From OE-Core rev: 889cc3404255e9ba920909e90fbf3ab846a5d97a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Gentoo mirror also deletes old versions when they're not used, so revert
back to the canonical SourceForge site, adding /older-releases/ to MIRRORS to
handle new releases moving the version we want.
Original idea by Maxin B. John <maxin.john@intel.com>.
(From OE-Core rev: 791a3493c88c9c249f21f6d893b2061e1d8a0af6)
(From OE-Core rev: 16af873638830477a435574f1fedc643af2e2661)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hand applied to work with morty version
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer versions of gpg (at least 2.1.5 and 2.2.1) have issues when signing occurs in parallel
so (unfortunately) the signing must be done serially. Once the upstream problem is fixed,
this patch must be reverted, otherwise we loose all the intrinsic parallelism from
bitbake.
[YOCTO #12022]
(From OE-Core rev: 3aced3783b808449cd50f12684c061151861a1a5)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The high-level method tempfile.TemporaryDirectory give us no way to
ignore erros on removal thus use tempfile.mkdtemp instead. Ignoring possible issues
on removal is neccesary because it contains gpg sockets that are automatically removed
by the system once the process terminates, otherwise the following log is observed:
..
..
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.browser'
[YOCTO #11821]
(From OE-Core rev: e7f139c5d97a3871215c88c5bfc07ecf4e8fd7f3)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Porting the mainline commit, to fix gcc7 builds:
474c90156c [give up on gcc ilog2() constant optimizations]
We also integrate the 4.1.39 -stable update to pick up additional
fixes.
(From OE-Core rev: 774e0d3f429d383c55e9f54ab095f13694e1d8e6)
(From OE-Core rev: 7c816700d6f49c0e8fec142912738f36a7b1eb8c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit f0effea8716faae749a7d15003647d68fa0cabf7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
KERNEL_IMAGETYPES lists all the kernel images that we want to build. in
cb17b6c2a7 (kernel.bbclass: support kernel image type of vmlinux.gz), some logic
was added to support vmlinux.gz which is not a target built by kernel
makefiles (only vmlinux). It is clear that the goal of this logic is only to
support vmlinux.gz and not others compressed format (such as Image.gz) which are
valid target for kernel makefiles.
For Image.gz we should rely on the kernel makefiles and not do the compression
in kernel class.
This patch updates the logic used to filter out non supported kernel target from
KERNEL_IMAGETYPES, and make vmlinux.gz a 'special case', instead of *.gz. If
more special cases are needed in the future, we could add them in a similar way.
This patch should be a no-op for anyone using vmlinux or vmlinux.gz, and on top
of that it is fixing the build for Image.gz which was not working until now.
(From OE-Core rev: 241cc3083f873743ac3551237acc62e55abbbf05)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cfc0c897656fe67e81a6a5dcd936dff785529f41)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All versions of the SDP server in BlueZ 5.46 and earlier are vulnerable to an
information disclosure vulnerability which allows remote attackers to obtain
sensitive information from the bluetoothd process memory. This vulnerability
lies in the processing of SDP search attribute requests.
(From OE-Core rev: 8878d599cbc48b700f393d94657fe39db06fd533)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newly added file in the last commit was corrupted, fix it.
(Bitbake rev: 7c9370f7fafc98e4c836255e72ff8acff1138997)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
eSDK testcases Ids were modified on testopia, hence there needs to be a change in the devtool script.
[YOCTO #11603]
(From OE-Core rev: b835e9bf9da6ebc8fd5728b4587470e9a57d5966)
Signed-off-by: libertad <libertad.cruz@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When selected multiple subimages a similar error could happend:
Variable do_image_cpio[subimages] value changed \
from 'cpio.gz.u-boot cpio.gz' to 'cpio.gz cpio.gz.u-boot'
To avoid this, 'ctypes' should be sorted at 'gen_conversion_cmds'.
This garantee that 'CONVERSION_CMD_xxx' are always written in tha same
order and consequently 'do_image_cpio' have the same hash.
(From OE-Core rev: 271f1a5f65b8685a1e3645026876251122ef3974)
(From OE-Core rev: 7401ef4d816030bd6844e2e1f1910ac86cdcbe70)
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the libc.so.6 dependency is detected always:
$ grep FILERDEPENDS BUILD-*/pkgdata/qemux86/runtime/localedef
BUILD-bad/pkgdata/qemux86/runtime/localedef:FILERDEPENDSFLIST_localedef: /usr/bin/localedef
BUILD-bad/pkgdata/qemux86/runtime/localedef:FILERDEPENDS_/usr/bin/localedef_localedef: libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.0) libc.so.6
BUILD-ok/pkgdata/qemux86/runtime/localedef:FILERDEPENDSFLIST_localedef: /usr/bin/localedef
BUILD-ok/pkgdata/qemux86/runtime/localedef:FILERDEPENDS_/usr/bin/localedef_localedef: libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.0) libc.so.6
* but in some builds the glibc dependency isn't built soon enough:
$ diff -uNr BUILD-*/pkgdata/qemux86/runtime/localedef
--- BUILD-bad/pkgdata/qemux86/runtime/localedef 2017-09-02 21:17:50.000000000 +0000
+++ BUILD-ok/pkgdata/qemux86/runtime/localedef 2017-09-11 10:15:49.954381592 +0000
@@ -6,6 +6,7 @@
LICENSE: GPLv2 & LGPLv2.1
DESCRIPTION_localedef: glibc: compile locale definition files
SUMMARY: Locale data from glibc
+RDEPENDS_localedef: glibc (>= 2.26)
SECTION: base
PKG_localedef: localedef
FILES_localedef: /usr/bin/localedef
and the build fails with QA issues:
http://errors.yoctoproject.org/Errors/Details/155529/
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.0), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.15), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.3), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.2), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.1), but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6, but no providers found in RDEPENDS_localedef? [file-rdeps]
ERROR: QA run found fatal errors. Please consider fixing them.
* reproducible with Yocto 2.2 Morty as well, with slightly different
error message:
ERROR: glibc-locale-2.24-r0 do_package_qa: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_localedef? [file-rdeps]
* cherry-picked from master 2d2b4d7383c93174fe8eeb72440e81345df71295
(From OE-Core rev: 6c6a06bb806ecd496bb1c3ad723f074ccb454076)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This only started showing up now for some reason but it does seem like
a legitimate bug in Makefile.am.
(From OE-Core rev: f43290f6e302dbacf5581d1fe1c6c991dd387779)
(From OE-Core rev: 56eae27b3a7bd938d6959e5b671fc48ea2ab80c7)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using httpServer from python for sharing sstate is known to be buggy, it can't
cope with the number/type of requests coming from bitbake and quietly fails
to share files.
This causes intermittent build failures which are hard to debug. We can
use a file:// url for the sstate mirror instead, removing the need for
the http server.
The sdk-update test is simply dropped since the SDK is never published
to this location and hence it would never have any update. Its equiavalent
to pointing at an empty web server. There is a better eSDK update test in
testsdk so rather than improve this one, lets drop it and concentrate on
the one there.
(From OE-Core rev: 7606f05e48ad2e31650e3a56bfcd04b4fbfad1e3)
(From OE-Core rev: 840a317e8a5518dbd1a025381441e13e906519ff)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lately autobuilders are experiencing hangs with selftest,
it seems it is cause if an error happens in setUpClass
method of oeSDKExtSelfTest class because HTTP server
keeps running in background.
This patch will ensure tearDownClass will be run if there
is an error in setUpClass.
(From OE-Core rev: eb1383949f76c6eb36f86c051057f761a71016a3)
(From OE-Core rev: 5dc68a378d9f4ec2c313ac395e91225a02e5b2c7)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Test case adds perl recipe before build eSDK.
2. After this added recipe, the script verifies the update:
${SDK_DEPLOY}/${TOOLCHAINEXT_OUTPUTNAME}.sh
oe-publish-sdk [esdk] [path-to-http]
CORE_IMAGE_EXTRA_INSTALL = "perl"
bitbake -c populate-sdk-ext [some-image]
devtool sdk-update
This should fix [YOCTO #9369]
(From OE-Core rev: 21bd406bf89e9ceafe1a807877406be817cacca6)
(From OE-Core rev: 7824ca273e7e4b25d4efe5461c0402833f535d06)
Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the error below when SSTATE_DIR is not "${BUILDDIR}/sstate-cache".
FileNotFoundError: [Errno 2] No such file or directory: '/xxx/../sstate-cache'
(From OE-Core rev: 785f0343d04c1684363b5289a3012cf7e1caa95f)
(From OE-Core rev: 9d04fe3a0ce7eb418cd48438e1699825904e2dfb)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates to a newer glibc and updates patchelf to include a bugfix
to work with gold.
(From OE-Core rev: a2ab288bd002ebb6e64d46e941fb122e1157ff49)
(From OE-Core rev: 32d172c25072251d6cc7fdd40929d76b5f1f5059)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrades to a version of patchelf which works on newer distros
and doesn't inflate binaries in crazy ways.
(From OE-Core rev: b857ec92564ee3f23adf88d2675d920aff13e141)
(From OE-Core rev: 1496ae0ab32315537649dea7e5a22a16fae0a528)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
getentropy/random() is only available in glibc 2.25+ and uninative may relocate
binaries onto systems that don't have this function. For now, force the code to
the older codepaths until we can come up with a better solution for this kind of
issue.
(From OE-Core rev: 92bda0024d85ae78345665cc2f9646c9881ed61b)
(From OE-Core rev: 2dc6ee0c520442418fa14cf3fe12b059209e9ab7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes compile failures of qemu-native with new versions of glibc. Patch
is taken from upstream.
(From OE-Core rev: b1b7a46f0febe7ac17ec46ecdf88b4120a7d75c4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, SRCREV is set to AUTOREV, causing mismatch between PV and the kernel
version shown in the makefile (see below to see the bitbake log). The solution
is to comment the lines which defaults SRCREV to AUTOREV, leaving the previous
comment to replace the SRCREVs for real ones once kernel changes are done.
ERROR: linux-yocto-4.8.12+gitAUTOINC+4fb6f24600_d4148a2064-r0.1
do_kernel_version_sanity_check: Package Version (4.8.12+gitAUTOINC
+4fb6f24600_d4148a2064) does not match of kernel being built (4.8.21).
Please update the PV variable to match the kernel source.
ERROR: linux-yocto-4.8.12+gitAUTOINC+4fb6f24600_d4148a2064-r0.1
do_kernel_version_sanity_check: Function failed:
do_kernel_version_sanity_check (log file is located
at ../tmp/work/myqemu-poky-linux/linux-yocto/4.8.12+gitAUTOINC+4fb6f24600_d4148a2064-r0.1/temp/log.do_kernel_version_sanity_check.17509)
[YOCTO #11064]
(From meta-yocto rev: 51a42001c39d1b7c8170cc84904fa915295f1358)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dnsproxy: Fix crash on malformed DNS response
If the response query string is malformed, we might access memory
pass the end of "name" variable in parse_response().
[YOCTO #11959]
(From OE-Core rev: fb3e30e45eea2042fdb0b667cbc2c79ae3f5a1a9)
(From OE-Core rev: 55a5a609e7c25fa3e62e1975a33a9cc10448165c)
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Conflicts:
meta/recipes-connectivity/connman/connman_1.33.bb
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently runqemu hardcodes the "ip=" kernel boot parameter
when configuring QEMU to use tap or slirp networking. This makes
the guest system to have a network interface pre-configured
by kernel and causes systemd to fail renaming the interface
to whatever pleases it:
Feb 21 10:10:20 intel-corei7-64 systemd-udevd[201]: Error changing
net interface name 'eth0' to 'enp0s3': Device or resource busy,
Always append user input for kernel boot params after the ones
added by the script. This way user input has priority over runqemu's
default params.
(From OE-Core rev: 3f68b5c8d24b52aed5bb3ed970dd8f779b65b1b3)
(From OE-Core rev: 6050b4ac146722d6714589225ad58ccc26c9ca32)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It isn't clear that the README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
file in the deploy directory warrants the complexity it brings elsewhere.
Let's just remove it entirely.
In particular, if two do_image_complete tasks run in parallel they risk
both trying to put their image into ${DEPLOY_DIR_IMAGE} at the same time.
Both will contain a README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
file. In theory this should be safe because "cp -alf" will just cause one
to overwrite the other. Unfortunately, coreutils cp also has a race[1]
which means that if one copy creates the file at just the wrong point the
other will fail with:
cp: cannot create hard link ‘..../tmp-glibc/deploy/images/pantera/README_-_DO_NOT_DELETE_FILES_IN_THIS_D.txt’ to
+‘..../tmp-glibc/work/rage_against-oe-linux-gnueabi/my-own-image/1.0-r0/deploy-my-own-image-complete/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt’: File exists
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25680
(From OE-Core rev: 71e9e88847d7000781642ea6187ebd8f40dfdcfe)
(From OE-Core rev: 20c39fdbb25c1b1867709c5bfb3ae2baef249be9)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package_qa_check_rdepends() in insane.bbclass has
incorrectly replace its localdata OVERRIDES value with
the package name. Fixing it by appending the package name
to the existing OVERRIDES value. This resolves RDEPENDS QA
error when setting PACKAGECONFIG using a pn- override at
local.conf.
Cherry picked from master 60d28dd72daee235150ab6605cbf953f1ea691df
and modified to work with older bitbake where 2nd parameter in
localdata.getVar was mandatory.
[YOCTO #11374]
(From OE-Core rev: 15fabf4d6507d2a3f9b98ad56e822eba35950662)
Signed-off-by: Gan Yau Wai <yau.wai.gan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* without this we cause nativesdk-linux-libc-headers to depend
on target specific KERNEL_CC (through icecc_get_tool ->
icecc_is_kernel -> KERNEL_CC -> HOST_CC_KERNEL_ARCH ->
TARGET_CC_KERNEL_ARCH -> TUNE_FEATURES(thumb) as shown by
bitbake-diffsigs:
OE qemux86@ ~/build/oe-core $ ls /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemuarm/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.3a9a423878d56524e0ee8e42eba1804f
/OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemux86/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.401071dbaa88903ece37d35a47965ff2
OE qemux86@ ~/build/oe-core $ bitbake-diffsigs /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata*
basehash changed from 39774238b66763c598153132e87a2c1a to aa2d66e770bf533e312536eb0a401c4c
Variable TARGET_CC_KERNEL_ARCH value changed from '${@bb.utils.contains('TUNE_FEATURES', 'thumb', '-mno-thumb-interwork-marm', '', d)} TUNE_FEATURES{thumb} = Set' to ''
(From OE-Core rev: 6aa5dcc472e6be971a4cef06aab5c1c125367eca)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* it reports at least 2 issues in every build (this file in
native and target sysroot) add it to whitelist
(From OE-Core rev: f15f98c2da473a2597e5178058e4855b5d5ac5ec)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* format of bitbake tasks changed in:
2c88afb taskdata/runqueue: Rewrite without use of ID indirection
-ERROR: Task 4 (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb, do_fetch) failed with exit code '1'
+ERROR: Task /OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch) failed with exit code '1'
so strip not only '\.bb, .*' used before, but also '\.bb:.*' to drop
the task name to get recipe name.
* for more details see:
http://lists.openembedded.org/pipermail/openembedded-core/2016-June/123132.html
* without this change you can see test-dependencies.sh trying to rebuild packages
like:
Building recipe: fbprogress (6/21)
Building recipe: fbprogress.bb:do (7/21)
where the later of course doesn't exist as a recipe
(From OE-Core rev: 1cea8997f7ce2d6a137d3648b4942a27e2c6e62e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we have more than one CONVERSION_CMD being used, for example
ext4.gz.sha256sum we will see errors about "metadata is not
deterministic". This is because we do not have a stable order of
intermediate files that will be removed in the generated shell command.
We fix this by calling sorted() on the set of rm_tmp_images so that we
will have a stable hash again.
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: a786b59a42e6b49229e2e0633728fd7b268438a9)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98a2afeb3a53bec7a72a4a9846e1dba636cc6f3d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When chaining of compression/conversion types was added, we had a new
way to handle doing things like "ext4.bz2.sha256sum" or
"ext2.gz.u-boot". However, because the U-Boot image class isn't
included normally, it wasn't properly converted at the time. After the
support was added the "clean" argument that the .u-boot code uses no
longer functions. The fix for this inadvertently broke chaining
compression/conversion. First, correct the u-boot conversion code.
Fixes: 46bc438374de ("image.bbclass: do exact match for rootfs type")
Cc: Zhenhua Luo <zhenhua.luo@nxp.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: e1546856890a438b5ea3763af3cdc13db8e8f236)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0a7ce0b971a208956cb895ba5a869ec8c5d94703)
excluded lz4 and lzo chnages
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a unit has a statement such as User=0day where the username exists but is
strictly speaking invalid, the unit will be started as the root user instead.
Backport a patch from upstream to mitigate this by refusing to start units such
as this.
(From OE-Core rev: e56cb926c170f493ee2a9c4c63d0ecbf883d4685)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The addition of missing.h to user-utils.c was done in v230 with 0b6b45d5.
(From OE-Core rev: b9e5a58f64e45be37b9532b20bf22d91257abbd6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe name needs to be escaped when using it in a regular expression so
that and special characters are treated literally
(From OE-Core rev: a26d12e43059fe37c843d3ff9480ead2e796e21f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since GENTOO_MIRROR removes older binaries, move back to
SOURCEFORGE_MIRROR. Also provide a MIRROR to "older-releases"
directory.
[YOCTO #11556]
(From OE-Core rev: 2340d0d244ea8eb3568d6ce06dd751bedf93eb1e)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-sysv-generator translate sysv services on rcS runlevel to
services that starts before sysinit.target. This behavour conflict
with default dependency on same tartget.
String that define "DefaultDependency=no" was lost from patch for
sysv generator during porting patches to systemd 229 in commit
64ab17b707.
Current commit returns changes required for services that work on
rcS runlevel.
(From OE-Core rev: 5c0a87c94ab086514039f2f8d0e9b06daa2179a7)
Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream lsof releases are hosted on an ftp server which times out
download attempts from hosts for which it can not perform a DNS
reverse-lookup. See:
https://people.freebsd.org/~abe/http://www.mirrorservice.org seems to be the most commonly used
alternative (and using it for SRC_URI allows the custom
UPSTREAM_CHECK_URI to be removed).
(From OE-Core rev: ac31b1b2eaa22d32c5c3e7dcb6fa4f66303123e0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 4e718242c1554021689a7946add055b22b81ec42)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having 'lsof' as a +s (setuid) binary could lead to security issues if
a compromise in the binary is found. It is better that it be -s by
default as a precaution.
(From OE-Core rev: 4ea593aed96129c58e6bc24df71334c2a2bccff0)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 346c65dd6855106069d1861ca965d3121eb084d1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Total number of partitions should be taken into account when calculating
real partition number for msdos partition table. The number can be
different for the 4th partition: it can be 4 if there are 4 partitions in
the table and 5 if there are more than 4 partitions in the table. In the
latter case number 4 is occupied by extended partition.
[YOCTO #11790]
(From OE-Core rev: a1d18c00b8c9ce800a5147eaa71372083b8ae91e)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A vulnerability was found in a way bash expands the $HOSTNAME.
Injecting the hostname with malicious code would cause it to run
each time bash expanded \h in the prompt string.
Porting patch from <https://ftp.gnu.org/gnu/bash/bash-4.3-patches/
bash43-047> to solve CVE-2016-0634
CVE: CVE-2016-0634
(From OE-Core rev: 7dd6aa1a4bf6e9fc8a1998cda6ac5397bb5cd5cb)
(From OE-Core rev: a4b37b05140b549960baef49237ce3316e84a041)
(From OE-Core rev: a75c9657f785be3b2d14b10a7044105329c88e8a)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is heavily based on the oe-core master commit with the same
subject, but includes a backport of upstream's fix for the fallthrough
warnings rebased to 0.166 (the oe-core patch which targeted 0.168 did
not apply), a rebase of the format-truncation patch, and a backport of
the upstream format-length patch.
Info from OE-Core master patch follows:
From OE-Core rev: aaf4c4f3d09ac3897205417eb15e19d54e0c0d05
From: Joshua Lock <joshua.g.lock@intel.com>
Backport a fix from upstream for a -Wformat-truncation=2 warning
and implement a simple fix for a -Wimplicit-fallthrough warning.
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 3b91be97ae8c36cd6bad86fed992efc9800f4c9e)
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building gcc-cross-initial with GCC7 on the host fails due to the
comparison of a pointer to an integer in ubsan_use_new_style_p, which
is forbidden by ISO C++:
ubsan.c:1474:23: error: ISO C++ forbids comparison between pointer and
integer [-fpermissive]
|| xloc.file == '\0' || xloc.file[0] == '\xff'
Backport the fix from upstream GCC to enable the build with GCC 7
(From OE-Core rev: 7a7fcbab0365b9501c737dbc02715be14dda72a3)
(From OE-Core rev: ad685600d52b2e8b6f4cdbf46baa9f14b51565dd)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
| /usr/bin/ld: libcrypto.a(sha1-x86_64.o): relocation R_X86_64_PC32 against undefined symbol `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC
| /usr/bin/ld: final link failed: Bad value
(From OE-Core rev: 9e6a0da06aa832fbce06326622744b2a5ab9c091)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0a19e72081771fca8ed94fb2a2a8996fd3dce00c)
Signed-off-by: Mirza Krak <mirza.krak@endian.se>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you want to be able to use -fstack-protector then you need the
runtime support - you can either write this yourself or use libssp
supplied with GCC. If you're using GCC then it seems likely that you'd
just be using libssp, so include in the SDK by default; however use
RRECOMMENDS just in case it's been disabled or you aren't using GCC.
(From OE-Core rev: 6c990655e35bb3a14d59555662ec5802c9980028)
(From OE-Core rev: 69b5643ec66e1495c9d805736d8765a06f67416c)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mkfs may create EXT file systems which can only be optimized by fsck
and not by itself, e.g. directory optimization (in Pass 3A).
To prevent those optimizations during runtime, it will be performed after
the creation of an EXT file system.
(From OE-Core rev: b8af7c10637c14b2c226fb7063b736755ee46802)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fsck.ext will return an error code of 1 if a file systems was checked
and successfully repaired. Even when an optimization was performed it
will return this error code.
This patch will change the error code to 0 if only optimizations had
changed the file systems.
The reason for this patch is a question I asked at the ext4 ML:
http://www.spinics.net/lists/linux-ext4/msg55700.html
Backport from git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
Based on commit bf9f3b6d5b10d19218b4ed904c12b22e36ec57dd
(From OE-Core rev: 34ccb6b66162400c3a3164cbdcca02fc1b42c92b)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed patches are in upstream.
Rebase monitor-option.patch and no-msgfmt-check.patch
Add support for python 3 probes
(this necessitates the 0001-Do-not-let-configure-write-a-python-location-into-th.patch
and the Add 0001-Install-python-modules-to-correct-library-dir.patch to
install python modules to correct destination).
Add perl to RDEPENDS to fix a QA warning about one of the installed files.
(From OE-Core rev: e3bccfba499565ea13f154a11dadcab48ef5e0ab)
(From OE-Core rev: 74f390351bdf5b8749cba6e2345ef14d3ff9f077)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integration the -stable updates to 4.8, which comprise the following
commits:
ae51b3b4efe6 Linux 4.8.24
accb950219c0 nvme/pci: Disable on removal when disconnected
995be68699ef padata: avoid race in reordering
bea2fdcc6d3e blk: improve order of bio handling in generic_make_request()
26690f5a8bdf mm: workingset: fix premature shadow node shrinking with cgroups
f52ade55d6e9 MIPS: Lantiq: Fix cascaded IRQ setup
feae78cdcaef ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
e36a1a1a9695 ARM: BCM5301X: Add back handler ignoring external imprecise aborts
26fbe60844a9 mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
d15202219abe mm: rmap: fix huge file mmap accounting in the memcg stats
72f38e33793c x86/mce: Fix copy/paste error in exception table entries
9e08a6f8e64e x86/mm/KASLR: Exclude EFI region from KASLR VA space randomization
100aa553e31b x86/mm/64: Enable KASLR for vmemmap memory region
2e5c45495433 drm/etnaviv: (re-)protect fence allocation with GPU mutex
7f160b149090 drm/vc4: Allocate the right amount of space for boot-time CRTC state.
38cdfd6153cf drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
ccd0fc5589ca KVM: kvm_io_bus_unregister_dev() should never fail
332e2ac55d3b KVM: x86: clear bus pointer when destroyed
fcbdbe1290d6 serial: mxs-auart: Fix baudrate calculation
3b7bb3391f62 USB: fix linked-list corruption in rh_call_control()
5f004babfd46 tty/serial: atmel: fix race condition (TX+DMA)
4509ea7b4349 ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
12fddf4d255f ACPI: Fix incompatibility with mcount-based function graph tracing
8805bbdea121 nfsd: map the ENOKEY to nfserr_perm for avoiding warning
1fa18f8fad45 mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection
3a0df02f0387 mmc: sdhci: Disable runtime pm when the sdio_irq is enabled
d742580939f5 ASoC: Intel: Skylake: fix invalid memory access due to wrong reference of pointer
726514355250 ASoC: atmel-classd: fix audio clock rate
0dd77376bd45 ALSA: hda - fix a problem for lineout on a Dell AIO machine
12788ff3a917 ALSA: seq: Fix race during FIFO resize
5ccedc21345f PCI: iproc: Save host bridge window resource in struct iproc_pcie
61b133e83718 scsi: scsi_dh_alua: Ensure that alua_activate() calls the completion function
ae4a71a0b8b4 scsi: scsi_dh_alua: Check scsi_device_get() return value
1b82bcc866c3 scsi: libsas: fix ata xfer length
0b9b5b603f27 scsi: sg: check length passed to SG_NEXT_CMD_LEN
8b02a4b8e3b3 xfs: Use xfs_icluster_size_fsb() to calculate inode alignment mask
a8eded7e1484 xfs: tune down agno asserts in the bmap code
7650b45a6dd8 xfs: Use xfs_icluster_size_fsb() to calculate inode chunk alignment
e9d4a4b55c86 xfs: don't reserve blocks for right shift transactions
81f456210999 xfs: split indlen reservations fairly when under reserved
842c9d864561 xfs: handle indlen shortage on delalloc extent merge
f90db61ed148 xfs: don't fail xfs_extent_busy allocation
590e612677e2 xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t
c493142b3a2c xfs: verify free block header fields
4dda58920fb9 xfs: check for obviously bad level values in the bmbt root
0faf06ef8b24 xfs: filter out obviously bad btree pointers
6974d828ce0c xfs: fail _dir_open when readahead fails
365ec079aeeb xfs: fix toctou race when locking an inode to access the data map
06a1dbe68823 xfs: fix eofblocks race with file extending async dio writes
fc1ff6abfb5d xfs: pull up iolock from xfs_free_eofblocks()
2de02a1aa708 xen/setup: Don't relocate p2m over existing one
bd37e332bc35 libceph: force GFP_NOIO for socket allocations
14d57fe1fcd3 sched/rt: Add a missing rescheduling point
461aa14a19df metag/ptrace: Reject partial NT_METAG_RPIPE writes
35d078d3b1f5 metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
9519f4083b0d metag/ptrace: Preserve previous registers for short regset write
b2d2e181ebe4 sparc/ptrace: Preserve previous registers for short regset write
0a89a38ebbae mips/ptrace: Preserve previous registers for short regset write
a303cc3a707b h8300/ptrace: Fix incorrect register transfer count
576d881764eb c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
1661ca89ebd1 pinctrl: qcom: Don't clear status bit on irq_unmask
5c52be1e1c55 virtio_balloon: init 1st buffer in stats vq
171bd47e04fa KVM: x86: cleanup the page tracking SRCU instance
37c063abc015 xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
f5e8896582a0 xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
ef704417015e xfrm: policy: init locks early
54b82b92b678 crypto: algif_hash - avoid zero-sized array
35a836ab3d9b fbcon: Fix vc attr at deinit
d64422cfc106 drm: reference count event->completion
5b8d397ea73a drm/bridge: analogix dp: Fix runtime PM state on driver bind
409d2330bd85 libceph: don't set weight to IN when OSD is destroyed
cb7f50af5964 Drivers: hv: vmbus: Don't leak channel ids
7d63e96a483f intel_th: Don't leak module refcount on failure to activate
bca70ad00096 blk-mq: don't complete un-started request in timeout handler
7ca7701e2615 cgroup, net_cls: iterate the fds of only the tasks which are being migrated
c3accccd8ebe cpufreq: Restore policy min/max limits on CPU online
42ec5a5b3f7a arm64: kaslr: Fix up the kernel image alignment
b74685fc49ce ARM: at91: pm: cpu_idle: switch DDR to power-down mode
cba43efed603 Revert "ARM: at91/dt: sama5d2: Use new compatible for ohci node"
a54b0f345230 xen/acpi: upload PM state from init-domain to Xen
3700c9549893 crypto: ccp - Assign DMA commands to the channel's CCP
c05851c95c30 clk: sunxi-ng: mp: Adjust parent rate for pre-dividers
298b4bcbee9e mmc: sdhci: Do not disable interrupts while waiting for clock
d3bde483cd4e mmc: sdhci-of-arasan: fix incorrect timeout clock
1a0c2899c1fc mmc: sdhci-of-at91: Support external regulators
512b6b14b972 mmc: sdhci: Rename sdhci_set_power() to sdhci_set_power_noreg()
fcc465466352 powerpc/64s: Fix idle wakeup potential to clobber registers
e31490f131bd ext4: lock the xattr block before checksuming it
9515b8a3e59d ext4: mark inode dirty after converting inline directory
ee78dd996a48 parport: fix attempt to write duplicate procfiles
7aa1f90f7bc9 iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3
46ed5a6a0317 iio: sw-device: Fix config group initialization
4fd6237dcb15 iio: adc: ti_am335x_adc: fix fifo overrun recovery
10481fe5bcc5 mmc: ushc: fix NULL-deref at probe
b18275c8ca06 uwb: hwa-rc: fix NULL-deref at probe
90f875db3d83 uwb: i1480-dfu: fix NULL-deref at probe
fedb7364f161 USB: usbtmc: fix probe error path
19ab12977470 USB: usbtmc: add missing endpoint sanity check
d2f6089a604a usb: hub: Fix crash after failure to read BOS descriptor
4fe7f56d5936 usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
c314f1d496b3 USB: wusbcore: fix NULL-deref at probe
67ca7e6fbefe USB: idmouse: fix NULL-deref at probe
979ce26d7e67 USB: lvtest: fix NULL-deref at probe
bc5daa8fcb39 USB: uss720: fix NULL-deref at probe
778e23f6cd77 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
8d38a9d16950 usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
ac5c5689dd1e ACM gadget: fix endianness in notifications
8e39a4d96fa0 USB: serial: qcserial: add Dell DW5811e
d3e557a5e277 USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems
0ff11fc75667 ALSA: hda - Adding a group of pin definition to fix headset problem
73ac94f75f27 ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
ed79a62ce3b5 Input: sur40 - validate number of endpoints before using them
9f4a9350c962 Input: kbtab - validate number of endpoints before using them
535ecfd9ce37 Input: cm109 - validate number of endpoints before using them
d4d90cc1939b Input: yealink - validate number of endpoints before using them
6cd3c938420d Input: hanwang - validate number of endpoints before using them
114ea08f2b53 Input: ims-pcu - validate number of endpoints before using them
8e536247967f Input: iforce - validate number of endpoints before using them
d8e9da7cf4d2 Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
d7bd4ff902d4 Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
15cbc365f36f tcp: initialize icsk_ack.lrcvtime at session start time
8d816936cb47 socket, bpf: fix sk_filter use after free in sk_clone_lock
599dca4e637a ipv4: provide stronger user input validation in nl_fib_input()
4dce5676bf12 net: bcmgenet: remove bcmgenet_internal_phy_setup()
e54a886d9c7e ipv6: make sure to initialize sockc.tsflags before first use
de7b203e7a07 net/mlx5e: Count LRO packets correctly
7e3b2755ae57 net/mlx5e: Count GSO packets correctly
0bb7b7ed9983 net/mlx5: Increase number of max QPs in default profile
de1454d45e43 net/mlx5: Add missing entries for set/query rate limit commands
aea1c1b15494 net: vrf: Reset rt6i_idev in local dst after put
30467a2d6a10 qmi_wwan: add Dell DW5811e
74a4f76fd1ac net: unix: properly re-increment inflight counter of GC discarded candidates
b4927d54c638 openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD
d98fc268e284 amd-xgbe: Fix jumbo MTU processing on newer hardware
4ceda29faefa net: properly release sk_frag.page
42603fb986e2 net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
40dbeb5b15df net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
81ecfc287d5a cgroup/pids: remove spurious suspicious RCU usage warning
b488f503b905 percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
1924ae622fd9 gfs2: Avoid alignment hole in struct lm_lockname
e279f259f3e2 isdn/gigaset: fix NULL-deref at probe
0907a6cf5831 target: Fix VERIFY_16 handling in sbc_parse_cdb
6d71fefbf405 scsi: libiscsi: add lock around task lists to fix list corruption regression
4835fd5ad7aa scsi: lpfc: Add shutdown method for kexec
93ecb4c0e2cf target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
e5660310dac8 powerpc/boot: Fix zImage TOC alignment
8ce12dd199ac cpufreq: Fix and clean up show_cpuinfo_cur_freq()
4d5c2d2099a8 perf/core: Fix event inheritance on fork()
f7b9504c680d perf/core: Fix use-after-free in perf_release()
848b0d18a847 parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range
fbb1e639d3e1 qla2xxx: Fix request queue corruption.
60d674590d02 qla2xxx: Fix memory leak for abts processing
e5e1af16aeae give up on gcc ilog2() constant optimizations
2401ecb47c7f drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state.
c495444e18c6 drm/vc4: Fix termination of the initial scan for branch targets.
97b74d794fa3 Linux 4.8.23
5d2e054aa127 crypto: powerpc - Fix initialisation of crc32c context
30eacf198cab locking/rwsem: Fix down_write_killable() for CONFIG_RWSEM_GENERIC_SPINLOCK=y
6ceef14519cd futex: Add missing error handling to FUTEX_REQUEUE_PI
0596ef2a1984 futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
e0421c6f49b0 x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
b88efae3588c x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
429bf916381e x86/tsc: Fix ART for TSC_KNOWN_FREQ
5eb6ff068525 drm/vc4: Fix ->clock_select setting for the VEC encoder
4a3f522f63ab drm/vc4: Fix race between page flip completion event and clean-up
02c5256b110c clk: bcm2835: Fix ->fixed_divider of pllh_aux
d5dd232fc11e usb: gadget: udc: atmel: remove memory leak
e85561f6aca8 serial: 8250_pci: Detach low-level driver during PCI error recovery
54c73832c576 ACPI / blacklist: Make Dell Latitude 3350 ethernet work
f92b80712355 ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520
990db74c5c87 slub: move synchronize_sched out of slab_mutex on shrink
06e966ded31e [media] uvcvideo: uvc_scan_fallback() for webcams with broken chain
e30814bb2038 s390/zcrypt: Introduce CEX6 toleration
c73c813f59ed block: allow WRITE_SAME commands with the SG_IO ioctl
bb64e9763f59 drm/nouveau/disp/nv50-: specify ctrl/user separately when constructing classes
3c5d63c13311 drm/nouveau/disp/nv50-: split chid into chid.ctrl and chid.user
49e8233a2726 drm/nouveau/disp/gp102: fix cursor/overlay immediate channel indices
275ff35915b3 vfio/spapr: Postpone default window creation
a6cc475b194a vfio/spapr: Add a helper to create default DMA window
95045ae80bba powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown
789e7eac7ee0 vfio/spapr: Reference mm in tce_container
28a412c87e63 powerpc/iommu: Stop using @current in mm_iommu_xxx
605c802e3cb9 powerpc/iommu: Pass mm_struct to init/cleanup helpers
c70e411994d8 vfio/spapr: Postpone allocation of userspace version of TCE table
89b9c28ca6d7 Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw() (v2)
ea35dd4dc3d5 PCI: Do any VF BAR updates before enabling the BARs
ddb11bb30cbc PCI: Ignore BAR updates on virtual functions
bfaf6ec96d7f PCI: Update BARs using property bits appropriate for type
c09761e3af3f PCI: Don't update VF BARs while VF memory space is enabled
f49fdb5fb9aa PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE
4453d0980e47 PCI: Add comments about ROM BAR updating
e9026b999d64 PCI: Remove pci_resource_bar() and pci_iov_resource_bar()
bf5194f0e771 PCI: Separate VF BAR updates from standard BAR updates
4c25b4da1978 x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic
f86de0bf6845 scsi: ibmvscsis: Synchronize cmds at remove time
03780edbb14b scsi: ibmvscsis: Synchronize cmds at tpg_enable_store time
6e76f14e8da7 scsi: ibmvscsis: Rearrange functions for future patches
87e714992008 scsi: ibmvscsis: Clean up properly if target_submit_cmd/tmr fails
26d9e831807f scsi: ibmvscsis: Return correct partition name/# to client
017f9415d242 scsi: ibmvscsis: Issues from Dan Carpenter/Smatch
1a865ae47435 igb: add i211 to i210 PHY workaround
7af86b0c55e3 igb: Workaround for igb i210 firmware issue
15fdb8c2a904 xen: do not re-use pirq number cached in pci device msi msg data
4af906f27c02 dmaengine: iota: ioat_alloc_chan_resources should not perform sleeping allocations.
7815d4127881 dccp: fix memory leak during tear-down of unsuccessful connection request
348714c022b1 tun: fix premature POLLOUT notification on tun devices
a1bc0a9f122e dccp/tcp: fix routing redirect race
0a787971aa5b bridge: drop netfilter fake rtable unconditionally
ee1d5c66f7d9 ipv6: avoid write to a possibly cloned skb
81ed14c04c32 ipv6: make ECMP route replacement less greedy
0949ba4922e5 mpls: Do not decrement alive counter for unregister events
76aaba0ce52e mpls: Send route delete notifications when router module is unloaded
48325fbb1d05 act_connmark: avoid crashing on malformed nlattrs with null parms
4331398f440e uapi: fix linux/packet_diag.h userspace compilation error
f5f6f5529468 net/tunnel: set inner protocol in network gro hooks
2a00f4bf0780 vrf: Fix use-after-free in vrf_xmit
61e3a5db6e7d dccp: fix use-after-free in dccp_feat_activate_values
39ff72664911 net: fix socket refcounting in skb_complete_tx_timestamp()
9d88ea01fe88 net: fix socket refcounting in skb_complete_wifi_ack()
65f7a3f9b6c0 tcp: fix various issues for sockets morphing to listen state
5531ae9e101d dccp: Unlock sock before calling sk_free()
beb7cb3c2a3d ipv6: orphan skbs in reassembly unit
728edccaedbf net: net_enable_timestamp() can be called from irq contexts
e9f82ae95dcc net: don't call strlen() on the user buffer in packet_bind_spkt()
b0c360a043c0 tcp/dccp: block BH for SYN processing
b64d0db77b52 mlxsw: spectrum_router: Avoid potential packets loss
8e1715480d7c l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
44797e4d24c0 net sched actions: decrement module reference count after table flush.
9c1294eeb41e ipv4: mask tos for input route
368d2236b926 vxlan: don't allow overwrite of config src addr
9ead713bc6ac vti6: return GRE_KEY for vti6
a305478b6e7d vxlan: correctly validate VXLAN ID against VXLAN_N_VID
bc68673783c7 net/mlx5e: Fix wrong CQE decompression
4e8f4987b785 IB/mlx5: Verify that Q counters are supported
f0d5cfb83dcb ext4: don't BUG when truncating encrypted inodes on the orphan list
9ac44a73a4c5 [media] rc: raw decoder for keymap protocol is not loaded on register
56174559c310 dm: flush queued bios when process blocks to avoid deadlock
875142c6e879 KVM: arm/arm64: Let vcpu thread modify its own active state
220f66f1f4d8 KVM: s390: Fix guest migration for huge guests resulting in panic
3dd1f5f0b22c serial: samsung: Continue to work if DMA request fails
2a7c66c1a7c0 USB: serial: io_ti: fix information leak in completion handler
71f396d687e9 USB: serial: io_ti: fix NULL-deref in interrupt callback
d9682fbb1252 USB: iowarrior: fix NULL-deref in write
e1affee35832 USB: iowarrior: fix NULL-deref at probe
07c5918e96e7 USB: serial: omninet: fix reference leaks at open
782317bc4eba USB: serial: safe_serial: fix information leak in completion handler
15b553818e00 usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
e5df1d8231d8 usb: host: xhci-dbg: HCIVERSION should be a binary number
a03e4fb73679 usb: gadget: function: f_fs: pass companion descriptor along
bf600df6aa66 usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox()
40b091328f1c usb: dwc3: gadget: make Set Endpoint Configuration macros safe
7ab8263169d2 usb: gadget: dummy_hcd: clear usb_gadget region before registration
0a9e57a61494 PCI: Prevent VPD access for QLogic ISP2722
0c925288d9e2 powerpc/xics: Work around limitations of OPAL XICS priority handling
e7ef86271857 powerpc: Emulation support for load/store instructions on LE
88cb0342bbc9 i2c: add missing of_node_put in i2c_mux_del_adapters
49817d5f81a0 efi/arm: Fix boot crash with CONFIG_CPUMASK_OFFSTACK=y
b463b3b26bf5 tracing: Add #undef to fix compile error
03a9b9c5eb0f cpmac: remove hopeless #warning
9e7e1616fb69 MIPS: ralink: Remove unused rt*_wdt_reset functions
774bd1f0f2e0 MIPS: ralink: Cosmetic change to prom_init().
1ec4e1a6c373 mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
e6c4a646d490 MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
b70dce737466 MIPS: ip22: Fix ip28 build for modern gcc
c5f71770663f MIPS: Update ip27_defconfig for SCSI_DH change
4baa71bf6ca0 MIPS: ip27: Disable qlge driver in defconfig
810c65dcf036 crypto: improve gcc optimization flags for serpent and wp512
4b256e46c8e3 USB: serial: digi_acceleport: fix OOB data sanity check
b88d9bf6ce41 fat: fix using uninitialized fields of fat_inode/fsinfo_inode
bd390a837bf2 mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()
bc83fdbb1b88 thp: fix another corner case of munlock() vs. THPs
6f3effcbddd2 x86/tlb: Fix tlb flushing when lguest clears PGE
52f93fd5358e x86, mm: fix gup_pte_range() vs DAX mappings
ab0eea711de5 libceph: use BUG() instead of BUG_ON(1)
6dd79e33d04d drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT
267b0207162b drm: Cancel drm_fb_helper_dirty_work on unload
60a94aca40ff drm/i915/gvt: Disable access to stolen memory as a guest
076bb9ce1a9f drm/atomic: fix an error code in mode_fixup()
a6d98a3a3c5c drm/imx: imx-tve: Do not set the regulator voltage
3036e519c3f8 drm/ttm: Make sure BOs being swapped out are cacheable
8c52d5581851 drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058
b4f89786c979 drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
23c1fdaced81 drm/ast: Call open_key before enable_mmio in POST code
cb624df381a6 drm/ast: Fix test for VGA enabled
8b6e3ca35b51 drm/amdgpu: add more cases to DCE11 possible crtc mask setup
77a708d95727 mac80211: use driver-indicated transmitter STA only for data frames
72aaf6d71167 mac80211: don't handle filtered frames within a BA session
680c812d7bdc mac80211: don't reorder frames with SN smaller than SSN
e9d8c725c29b mac80211: flush delayed work when entering suspend
9a7a9c5c88b2 xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
b389c603b09e pwm: pca9685: Fix period change with same duty cycle
711e95e9a7d4 nlm: Ensure callback code also checks that the files match
29f3a5545183 target: Fix NULL dereference during LUN lookup + active I/O shutdown
f82148e9ffd3 pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()
1d53d522e4d1 ceph: remove req from unsafe list when unregistering it
a0e963dbeecc ktest: Fix child exit code processing
d8e905726d90 memory/atmel-ebi: Fix ns <-> cycles conversions
aef2ccf1d832 orangefs: Use RCU for destroy_inode
f0453d44086f fs: Better permission checking for submounts
eef4fcd21313 IB/srp: Fix race conditions related to task management
24960d72feeb IB/srp: Avoid that duplicate responses trigger a kernel bug
f3572a0ce31f IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS
63129c2502c1 IB/mlx5: Fix out-of-bound access
f54cae186e6e IB/ipoib: Fix deadlock between rmmod and set_mode
77563b9714b9 mnt: Tuck mounts under others instead of creating shadow/side mounts.
521cf3b70359 brcmfmac: fix incorrect event channel deduction
55730c566d11 cxl: Prevent read/write to AFU config space while AFU not configured
3c20ea7dd380 net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
7006fe7139f6 s390: use correct input data address for setup_randomness
e936795084d3 s390: make setup_randomness work
bb318913c8ab s390: TASK_SIZE for kernel threads
64deb4069c4b s390/chsc: Add exception handler for CHSC instruction
a35d74c9c4a0 s390/kdump: Use "LINUX" ELF note name instead of "CORE"
b3e8ded18f8e s390/dcssblk: fix device size calculation in dcssblk_direct_access()
e1b323f8b65e s390/qdio: clear DSCI prior to scanning multiple input queues
7d9a72f5eb8c Bluetooth: Add another AR3012 04ca:3018 device
7f422c5aec89 KVM: VMX: use correct vmcs_read/write for guest segment selector/base
61157eabc44e KVM: s390: Disable dirty log retrieval for UCONTROL guests
d44d2ea64003 serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
eaae8c8005c1 tty: n_hdlc: get rid of racy n_hdlc.tbuf
(From OE-Core rev: 78ae0bb02175e601ca99387855a743a37294dee2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
URL decoding was improved in the core a while ago and this looks like
a leftover from those times which caused urls needing a user/password to
fail. Use the parameters from the core instead of the broken split
implementation.
[YOCTO #11262]
(Bitbake rev: 32a249cf33f79b579a2cf6224c7d23cdb20d376f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For shell constructs like
echo hello & wait $!
the process_tokens() method ended up with a situation where "token"
in the "name, value = token" assignment was a list of tuples
and not the expected tuple, causing the assignment to fail.
There were already two for loops (one in _parse_shell(), one in
process_tokens()) which iterated over token lists. Apparently the
actual nesting can also be deeper.
Now there is just one such loop in process_token_list() which calls
itself recursively when it detects that a list entry is another list.
As a side effect (improvement?!) of the loop removal in
_parse_shell(), the local function definitions in process_tokens() get
executed less often.
Fixes: [YOCTO #10668]
(Bitbake rev: 887ea6d25cee5114365dfbf1130603599e13ee80)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In libgcrypt before 1.7.7, an attacker who learns the EdDSA session key (from
side-channel observation during the signing process) can easily recover the
long-term secret key. 1.7.7 makes a cipher/ecc-eddsa.c change to store this
session key in secure memory, to ensure that constant-time point operations are
used in the MPI library.
(From OE-Core rev: 04d7a4adafa09f9f3012c355f4f2f9728cb0b166)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in these two functions is meant to be equivlanet in behaviour
but isn't. Add in code to ensure files that don't exist are handled
consistently by both functions. Users did report being able to generate
tracebacks otherwise.
(Bitbake rev: df69c0257aaa9f4e2f4a20d130b7bc0ce2ca0848)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue: LIN9-1648
Fixed when len(TMPDIR) = 410:
$ bitbake core-image-sato-sdk
[snip]
Subprocess output:
/bin/sh: /bin/cp: Argument list too long
ERROR: core-image-sato-sdk-1.0-r0 do_rootfs: Function failed: do_rootfs
[snip]
This is because "copyhardlinktree(src, dst)" does "cp -afl src/* dst",
while src/* is expanded to "src/file1 src/file2, src/file3..." which
causes the "Argument list too long", use ./* as src and change cwd in
subprocess.check_output() to fix the problem.
(From OE-Core rev: a3dc93eb25fba32109edd1db6e8766074fb52e4b)
(From OE-Core rev: befda6ce3fd916ab04c035d1d82ed173759f7f09)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is the potential for sensitive information to leak through the urls
there and removing it brings this into the behavior of the other package
backends since filtering it is likely error prone.
Since ipks don't appear to be generated at all if we don't set this, set
the field to the recipe name used (basename only, no paths). This avoids
information leaking. We may want to drop the field if opkg can allow that
at a future point but the recipe name is a suitable identifier for now.
Reported-by: Andrej Valek <andrej.valek@siemens.com>
(From OE-Core rev: 4c353eeff45f91533f22392f129bc5a477ee5207)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a branch is re-used, the kernel tools turns off any patch pushing unless
'mark patching' is explicitly set.
[YOCTO #10674]
(From meta-yocto rev: 4f3cd59d76e3d8a43a4460528082c0086bdbba41)
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11578]
The package names "pip3" and "pexpect" do not exist for Ubuntu
and Debian. They need to be "python3-pip3" and "python3-pexpect".
I changed them in the poky.ent file and did some reformatting so
the install lines appear nice. I updated the other distributions
as well.
(From yocto-docs rev: 43c92b88c40815d906cfc5fabb3190b0aa4778c7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 51edde6537 makes a wrong assumption
that SSTATE_MIRRORS have write permissions.
A mirror is by definition outside of it's user control. In my use case
it happens I does not have permissions to update the access time of the
dereferenced symbolic-link file.
Checked if file is writable before changing its atime.
Thanks to Paulo Neves for the patch.
[YOCTO #11307]
(From OE-Core rev: 112ae104287ad4078a9fa90fb2a42f4c814ef824)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test_recipetool_create_github test fetches HEAD of the repository so
upstream changes can (and do) break the test. Avoid these problems by passing
the rev= argument in the URL to lock the checkout to the same version that is
fetched in the github_tarball test.
Also pass the commands to runCmd() as a list instead of a string, the semicolon
in the URL needs more quotes if the shell is involved and passing a list
bypasses the shell entirely.
(From OE-Core rev: cbb5961d3db27f81967345a73267920f2623ccac)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In git://sourceware.org/git/elfutils.git:
----------------
commit 1700fd25e6caf26663af2bd994d1d99fab9df59f
Author: Mark Wielaard <mark@klomp.org>
Date: Sat Dec 24 22:31:41 2016 +0100
http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/
fedorahosted used to be our home, but we are now hosted at sourceware.
Change the elfutils project home to http://elfutils.org/
Point hosted services (email, release, git, bug tracker and web pages)
to https://sourceware.org/elfutils/
Move design notes from README to NOTES.
Add URLs for home, releases, bugs, git and mailinglist to README.
Make the --version output of all tools the same by using a common
print_version function and update the publicly shown copyright holder
to the elfutils developers.
Signed-off-by: Mark Wielaard <mark@klomp.org>
------------------
Based on a patch from Hongxu Jia <hongxu.jia@windriver.com>
(From OE-Core rev: 4ee8ad29e0eb3584eb8c6e1ba21a5a18d7a59714)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: b85905bc8b845c9da7d2a086ea239ec00d5142e3)
(From OE-Core rev: 8ae35a4391bd0313cdc8091140fa8c8648122161)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: 79ae1e98a7c3fd4c732ea4cd0b3099d4e319a111)
(From OE-Core rev: 6785157e7b30ca112ec5c65487a9e7e65b9dd5de)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: bbe3cde5fc2102fd84ba065ed14f2732bcd0d420)
(From OE-Core rev: 34312ac6edf13dc3e3d8f31b2a07df9044a9a8aa)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to pagure.io. pagure.io is a
replacement for fedorahosted.
[YOCTO #11226]
(From OE-Core rev: 441ad240db4ce64d854e263e14dc6a1752aed956)
(From OE-Core rev: 516d55d3550d86c7458d20cea1adca7dc30ab66b)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: b0703175ed650d89870309e4065cda917199ac93)
(From OE-Core rev: a34ca1b1ee4c6e39a7fbc10fc9fc7aebfdbe8abc)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to update
the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: 0fb5427937576fe46d463b9c9953d0bcdc1f256a)
(From OE-Core rev: 5d57ccab9720f6c75cfefdf0cb153007d79beb2e)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
[YOCTO #11226]
(From OE-Core rev: 9b3c9193d4a04061e64e43d55782a4d73ee166ad)
(From OE-Core rev: c9c0528d7f298dae4f543ab4006057022abe71e5)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on OE-Core rev: 8aafed5f4757550f2ff688e1b8981e5e8e6e3428 if systemtap
isn't disabled it's possible to race with systemtap headers being present
during autodetection and disappearing during the build:
tests/sdt.c:14:21: fatal error: sys/sdt.h: No such file or directory
#include <sys/sdt.h>
(From OE-Core rev: b206497bf2a68b1b009ae5a6b1c5a29df3966443)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gna! project announced that the download site from gna.org HTTP server
will soon be closing down. We have verified that the site is no longer
accessible without network proxy cache. We need to update SRC_URI to
point to new alternative (nwl.cc HTTP server) in order to avoid fetcher
issues in future.
[YOCTO #11575]
(From OE-Core rev: eaf1f56a865f8b71ef3ff4e3108b77fcc690d151)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently selftest doesn't use sstates because some tests
clean sstate cache; using sstates would give a performance
boost instead of building everything from scratch.
With this sstates are not corrupted using different methods
depending on tests:
devtool: These tests needed to delete the cache so SSTATE_DIR
as SSTATE_MIRRORS and set a temporal SSTATE_DIR.
sstatetests: This module already used a temporal SSTATE_DIR, so
just set up the SSTATE_MIRRORS.
Rest: Removed cleansstate, some of them required to force a
certain task, others were just removed or changed for another
task.
[YOCTO #10929]
(From OE-Core rev: 62c61087a10cc3b26fbff32c9e2efd1704a39724)
(From OE-Core rev: 44ca8b1c23e4b2cf470e9be42705e3cca23b7f85)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building ed into an sstate mirror, then leaving it enabled for
oe-selftest -r signing.Signing.test_signing_sstate_archive results in:
NOTE: recipe ed-1.14.1-r0: task do_populate_lic_setscene: Started
WARNING: ed-1.14.1-r0 do_populate_lic_setscene: Failed to fetch URL file://29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig;downloadfilename=29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig, attempting MIRRORS if available
ERROR: ed-1.14.1-r0 do_populate_lic_setscene: Fetcher failure: Unable to find file file://29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig;downloadfilename=29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz.sig anywhere. The paths that were searched were:
/media/build1/poky/build/test-sstate
/media/build1/poky/build/test-sstate
WARNING: ed-1.14.1-r0 do_populate_lic_setscene: Cannot verify signature on sstate package /media/build1/poky/build/test-sstate/29/sstate:ed::1.14.1:r0::3:290bbc39f3b25cc27028dafce4b5aa48_populate_lic.tgz
NOTE: recipe ed-1.14.1-r0: task do_populate_lic_setscene: Succeeded
so we need to disable SSTATE_MIRRORS for this test.
(From OE-Core rev: 2ce9962851fe58c099599679340fd87e90f426ec)
(From OE-Core rev: 9bb708cf31850f5a3e53660ee9ea5a9ba7615e43)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test was attempting to exercise a broken test, for some reason this broke
with patches under review but investigation revealed that the test itself is
broken. The test has been removed, so there's no need to test it.
(From OE-Core rev: 4f5f552cd6601ba244ef4efc782616bc477e1340)
(From OE-Core rev: 0b9bb6d9ec4e030ab64bac73680df4657cb7d066)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test aims to detect binaries in /bin which link to libraries in /usr/lib,
for the case where the user has /usr on a separate filesystem to /.
However it doesn't scan both image/ and the sysroot, so if a binary in /bin
links to a library in /usr/lib that was built by the same recipe then it will
error out.
This test isn't enabled by default, and because of this serious bug I suspect
nobody else is enabling it either. As /usr being on a separate partition to /
is a very rare configuration these days I think we should delete the test: if
someone cares sufficiently they should write a test that actually works.
(From OE-Core rev: a6af5bbf3dad6f0951c67a0aae13ef86a8906893)
(From OE-Core rev: 2f5b5685f75fc63489b628b540fcdd4c7cb27096)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 6c69b5edc5711d2e5304a931e43eba562a095191)
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>
Changes include:
* poky.ent - changing variables for 2.2.2
* mega-manual.sed - updated "2.2.1" to "2.2.2" for links
* *.xml - Changed all the manual revision tables to say
"June 2017" for now.
(From yocto-docs rev: 9f3d983b754398b383b754df74d09fa17911137f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[BZ 20116] -- https://sourceware.org/bugzilla/show_bug.cgi?id=20116
The commit documents the ownership rules around 'struct pthread' and
when a thread can read or write to the descriptor. With those ownership
rules in place it becomes obvious that pd->stopped_start should not be
touched in several of the paths during thread startup, particularly so
for detached threads. In the case of detached threads, between the time
the thread is created by the OS kernel and the creating thread checks
pd->stopped_start, the detached thread might have already exited and the
memory for pd unmapped. As a regression test we add a simple test which
exercises this exact case by quickly creating detached threads with
large enough stacks to ensure the thread stack cache is bypassed and the
stacks are unmapped. Before the fix the testcase segfaults, after the
fix it works correctly and completes without issue.
For a detailed discussion see:
https://www.sourceware.org/ml/libc-alpha/2017-01/msg00505.html
(cherry-picked from commit f8bf15febcaf137bbec5a61101e88cd5a9d56ca8)
(From OE-Core rev: eaa844b6ce75d68f952de67ea5145a54a1968171)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg stable relase with the following shortlog summary:
8f8ee9706b0a Linux 4.4.60
84bd21a708b8 padata: avoid race in reordering
5cca175b6cda blk: Ensure users for current->bio_list can see the full list.
2cbd78f4239b blk: improve order of bio handling in generic_make_request()
063d30f187f5 power: reset: at91-poweroff: timely shutdown LPDDR memories
42462d23e60b KVM: kvm_io_bus_unregister_dev() should never fail
3a1246b46df5 rtc: s35390a: improve irq handling
a55ae9d1937b rtc: s35390a: implement reset routine as suggested by the reference
fdd4bc9313e5 rtc: s35390a: make sure all members in the output are set
b3ed3864912e rtc: s35390a: fix reading out alarm
6280ac931a23 MIPS: Lantiq: Fix cascaded IRQ setup
47e2fe17d14d mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
ef55c3df5dbd drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
3eb392056aeb KVM: x86: clear bus pointer when destroyed
eac3ab3e6915 USB: fix linked-list corruption in rh_call_control()
0a1757cfa5ba tty/serial: atmel: fix TX path in atmel_console_write()
74b8fc017d76 tty/serial: atmel: fix race condition (TX+DMA)
566a8711a7dd ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
3342857ac074 ACPI: Fix incompatibility with mcount-based function graph tracing
ab48ab614b8c ASoC: atmel-classd: fix audio clock rate
ce3dcfdbff04 ALSA: hda - fix a problem for lineout on a Dell AIO machine
a90d7447e4a1 ALSA: seq: Fix race during FIFO resize
75a03869c93a scsi: libsas: fix ata xfer length
a92f411914ca scsi: sg: check length passed to SG_NEXT_CMD_LEN
18639c4bad72 scsi: mpt3sas: fix hang on ata passthrough commands
1eed198ce16b xen/setup: Don't relocate p2m over existing one
ba46d8fab00a libceph: force GFP_NOIO for socket allocations
61a4577c9a44 Linux 4.4.59
2bed5987692c sched/rt: Add a missing rescheduling point
7a5202190810 fscrypt: remove broken support for detecting keyring key revocation
573341eba9c4 metag/ptrace: Reject partial NT_METAG_RPIPE writes
e441102d8c07 metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
2d9bc3695012 metag/ptrace: Preserve previous registers for short regset write
962b95a88574 sparc/ptrace: Preserve previous registers for short regset write
c8693666856c mips/ptrace: Preserve previous registers for short regset write
e1dc8904b33b h8300/ptrace: Fix incorrect register transfer count
6e174bbd0631 c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
800791e7e0fd pinctrl: qcom: Don't clear status bit on irq_unmask
927d04793f8a virtio_balloon: init 1st buffer in stats vq
22c9e7c092f6 xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
cce7e56dd73f xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
a9a76a3e318e xfrm: policy: init locks early
0a5766a6a73b Linux 4.4.58
f8a62dbc7902 crypto: algif_hash - avoid zero-sized array
540d6d756ff8 fbcon: Fix vc attr at deinit
ac601978a2aa serial: 8250_pci: Detach low-level driver during PCI error recovery
b8687d83b34c ACPI / blacklist: Make Dell Latitude 3350 ethernet work
d3607fc2976e ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520
4e2c66bb6658 uvcvideo: uvc_scan_fallback() for webcams with broken chain
ce5494107946 s390/zcrypt: Introduce CEX6 toleration
7023f502c835 block: allow WRITE_SAME commands with the SG_IO ioctl
9fd9e1436380 vfio/spapr: Postpone allocation of userspace version of TCE table
4110080574ac PCI: Do any VF BAR updates before enabling the BARs
bcbdcf48469b PCI: Ignore BAR updates on virtual functions
d4f09ea7e35c PCI: Update BARs using property bits appropriate for type
131f7969048b PCI: Don't update VF BARs while VF memory space is enabled
40a85d68185f PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE
1278c9f87f11 PCI: Add comments about ROM BAR updating
cef498a2c75a PCI: Remove pci_resource_bar() and pci_iov_resource_bar()
a87693ec42f2 PCI: Separate VF BAR updates from standard BAR updates
e4ce31c0265d x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic
ca7e3bdc9c7e igb: add i211 to i210 PHY workaround
4db313df4946 igb: Workaround for igb i210 firmware issue
ec52364445a4 xen: do not re-use pirq number cached in pci device msi msg data
6d43e485e006 xfs: clear _XBF_PAGES from buffers when readahead page
f154de03f416 USB: usbtmc: add missing endpoint sanity check
74c8dd066cc0 nl80211: fix dumpit error path RTNL deadlocks
7922c1becb36 xfs: fix up xfs_swap_extent_forks inline extent handling
c4cf86f69597 xfs: don't allow di_size with high bit set
48da8f817b9d libceph: don't set weight to IN when OSD is destroyed
73dd1edf50a6 raid10: increment write counter after bio is split
175039632065 cpufreq: Restore policy min/max limits on CPU online
e1af444e52ce ARM: dts: at91: sama5d2: add dma properties to UART nodes
2705b183263b ARM: at91: pm: cpu_idle: switch DDR to power-down mode
55b6c187cf9d iommu/vt-d: Fix NULL pointer dereference in device_to_iommu
c856b66c8aac xen/acpi: upload PM state from init-domain to Xen
52e40a2fcc39 mmc: sdhci: Do not disable interrupts while waiting for clock
27d9bf096406 ext4: mark inode dirty after converting inline directory
c7d1545c48ff parport: fix attempt to write duplicate procfiles
7413d1f8991e iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3
8f189e1d0eca iio: adc: ti_am335x_adc: fix fifo overrun recovery
dcf879cb9ed3 mmc: ushc: fix NULL-deref at probe
2c251e568e1a uwb: hwa-rc: fix NULL-deref at probe
815321da2e26 uwb: i1480-dfu: fix NULL-deref at probe
14a2032287d4 usb: hub: Fix crash after failure to read BOS descriptor
47285be050ca usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
a7cb1fafe429 USB: wusbcore: fix NULL-deref at probe
d6389d6abb8a USB: idmouse: fix NULL-deref at probe
a7712869e2e7 USB: lvtest: fix NULL-deref at probe
73490abe249c USB: uss720: fix NULL-deref at probe
2c929ea720f9 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
8a8a8007871a usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
19f0fe67b9d0 ACM gadget: fix endianness in notifications
9218793a39de USB: serial: qcserial: add Dell DW5811e
8f0f081647cc USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems
1ea551eec703 ALSA: hda - Adding a group of pin definition to fix headset problem
ed00b613bbcb ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call
b55ffcb1bc8a ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
549993001e7d Input: sur40 - validate number of endpoints before using them
b3c4c0c470b5 Input: kbtab - validate number of endpoints before using them
c05490638ddf Input: cm109 - validate number of endpoints before using them
e916f1d6188e Input: yealink - validate number of endpoints before using them
0812c6855c89 Input: hanwang - validate number of endpoints before using them
6bed7c1e2b78 Input: ims-pcu - validate number of endpoints before using them
a07d3669654a Input: iforce - validate number of endpoints before using them
5f9243e4fca6 Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
9ac7bd114e13 Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
afaed241928f tcp: initialize icsk_ack.lrcvtime at session start time
95aa915c2f04 socket, bpf: fix sk_filter use after free in sk_clone_lock
38dece41e5be ipv4: provide stronger user input validation in nl_fib_input()
85f00dac91a1 net: bcmgenet: remove bcmgenet_internal_phy_setup()
fdcee7c1e2f8 net/mlx5e: Count LRO packets correctly
9d1894cba25c net/mlx5: Increase number of max QPs in default profile
610c6bcc5fcf net: unix: properly re-increment inflight counter of GC discarded candidates
ae43f9360a21 amd-xgbe: Fix jumbo MTU processing on newer hardware
f3126725228c net: properly release sk_frag.page
12f0bffc489d net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
b362d6735156 net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
a5c3f390eb77 Linux 4.4.57
5fa513cb0721 ext4: fix fencepost in s_first_meta_bg validation
d88b83e66bbf percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
e08f608ab428 gfs2: Avoid alignment hole in struct lm_lockname
4f47ca488256 isdn/gigaset: fix NULL-deref at probe
d267ecbdfdb4 target: Fix VERIFY_16 handling in sbc_parse_cdb
246760c61d9c scsi: libiscsi: add lock around task lists to fix list corruption regression
82bd06aba880 scsi: lpfc: Add shutdown method for kexec
0a621633cdfa target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
582f548924cd md/raid1/10: fix potential deadlock
b24473976b98 powerpc/boot: Fix zImage TOC alignment
09875d1393d4 cpufreq: Fix and clean up show_cpuinfo_cur_freq()
f02729f2ab87 perf/core: Fix event inheritance on fork()
4cb0c0b73d1c give up on gcc ilog2() constant optimizations
6052eb871217 kernek/fork.c: allocate idle task for a CPU always on its local node
6cc5b73d7969 hv_netvsc: use skb_get_hash() instead of a homegrown implementation
cea050150323 tpm_tis: Use devm_free_irq not free_irq
13a26889cbc1 drm/amdgpu: add missing irq.h include
68ea3948ed3d s390/pci: fix use after free in dma_init
50730d7f361f KVM: PPC: Book3S PR: Fix illegal opcode emulation
e2d9577854f5 xen/qspinlock: Don't kick CPU if IRQ is not initialized
b1a0f744f8e6 Drivers: hv: avoid vfree() on crash
0a2512768f16 Drivers: hv: balloon: don't crash when memory is added in non-sorted order
3787a071d145 pinctrl: cherryview: Do not mask all interrupts in probe
962c66c74184 ACPI / video: skip evaluating _DOD when it does not exist
12e1a3cd11ea cxlflash: Increase cmd_per_lun for better throughput
f8c07cbc2e72 crypto: mcryptd - Fix load failure
10659b8f5c60 crypto: cryptd - Assign statesize properly
c78c3376ec67 crypto: ghash-clmulni - Fix load failure
45d9558837d4 USB: don't free bandwidth_mutex too early
ac1a97d8a562 usb: core: hub: hub_port_init lock controller instead of bus
(From OE-Core rev: 80712877c843139e1990a4e4360a48dba003a560)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52a6823d4279d580a2b4bbfdc06234a903a17d93)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg release with the following shortlog:
0136bca4e0f6 Linux 4.4.56
99d403faba47 futex: Add missing error handling to FUTEX_REQUEUE_PI
44854c191e2c futex: Fix potential use-after-free in FUTEX_REQUEUE_PI
62f57041fbdf x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm
8e0ec20539f8 x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y
3a19419c50c6 fscrypto: lock inode while setting encryption policy
fd74e8d258da fscrypt: fix renaming and linking special files
c10ffe988f15 net sched actions: decrement module reference count after table flush.
676fe978525d dccp: fix memory leak during tear-down of unsuccessful connection request
4ab956b56133 dccp/tcp: fix routing redirect race
56f9b9502f2d bridge: drop netfilter fake rtable unconditionally
aed728c38c48 ipv6: avoid write to a possibly cloned skb
5f8bc3856e28 ipv6: make ECMP route replacement less greedy
b57955ea30e1 mpls: Send route delete notifications when router module is unloaded
710fbeb3f5c5 act_connmark: avoid crashing on malformed nlattrs with null parms
6c72458ab428 uapi: fix linux/packet_diag.h userspace compilation error
e671f1cc588f vrf: Fix use-after-free in vrf_xmit
d0ebde92fbeb dccp: fix use-after-free in dccp_feat_activate_values
ec4d8692b76e net: fix socket refcounting in skb_complete_tx_timestamp()
9e7683301bee net: fix socket refcounting in skb_complete_wifi_ack()
2681a7853ad7 tcp: fix various issues for sockets morphing to listen state
9216632bf4a0 dccp: Unlock sock before calling sk_free()
a70c32859704 net: net_enable_timestamp() can be called from irq contexts
f331d6445a3e net: don't call strlen() on the user buffer in packet_bind_spkt()
2cd0afc64e33 l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
354f79125f12 ipv4: mask tos for input route
f1b3aae1f1bf vti6: return GRE_KEY for vti6
51a219a1371e vxlan: correctly validate VXLAN ID against VXLAN_N_VID
0c0be310ba29 netlink: remove mmapped netlink support
28ec98bc2e4a Linux 4.4.55
1c5265be54d3 ext4: don't BUG when truncating encrypted inodes on the orphan list
cd8ad4d9eb6d dm: flush queued bios when process blocks to avoid deadlock
66dd58f56eab nfit, libnvdimm: fix interleave set cookie calculation
a084aeef5633 s390/kdump: Use "LINUX" ELF note name instead of "CORE"
b0e85701a776 KVM: s390: Fix guest migration for huge guests resulting in panic
61fbad6a28fd mvsas: fix misleading indentation
72ca0ab30680 serial: samsung: Continue to work if DMA request fails
72bb2b96b856 USB: serial: io_ti: fix information leak in completion handler
e71c7bad6844 USB: serial: io_ti: fix NULL-deref in interrupt callback
6498086195b9 USB: iowarrior: fix NULL-deref in write
179295c38d23 USB: iowarrior: fix NULL-deref at probe
54f11a9662b6 USB: serial: omninet: fix reference leaks at open
3cdc94638746 USB: serial: safe_serial: fix information leak in completion handler
cf09c7d60ccc usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
40c5634ffe3d usb: host: xhci-dbg: HCIVERSION should be a binary number
4a1a3bb70fb4 usb: gadget: function: f_fs: pass companion descriptor along
10af24856503 usb: dwc3: gadget: make Set Endpoint Configuration macros safe
f47b97f2cdaa usb: gadget: dummy_hcd: clear usb_gadget region before registration
2ca39d130015 powerpc: Emulation support for load/store instructions on LE
074893495b72 tracing: Add #undef to fix compile error
127651058594 MIPS: Netlogic: Fix CP0_EBASE redefinition warnings
2e4aff2405af MIPS: DEC: Avoid la pseudo-instruction in delay slots
5fad17434465 mm: memcontrol: avoid unused function warning
5e45d834f762 cpmac: remove hopeless #warning
32883383f5e0 MIPS: ralink: Remove unused rt*_wdt_reset functions
4b91e7a2a9a7 MIPS: ralink: Cosmetic change to prom_init().
3dc8f1e3a8f2 mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
d2a8d746ae95 MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
c018595d83a3 MIPS: ip22: Fix ip28 build for modern gcc
7a6a965f350e MIPS: Update ip27_defconfig for SCSI_DH change
8ed0fdcc0c11 MIPS: ip27: Disable qlge driver in defconfig
adc48c710b7e MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change
e041ad066440 crypto: improve gcc optimization flags for serpent and wp512
a8cb5c02a20f USB: serial: digi_acceleport: fix OOB-event processing
4d95645f3dd5 USB: serial: digi_acceleport: fix OOB data sanity check
(From OE-Core rev: 1b27f57fffb2ac7ffc22e294bda05b851cb2cf1c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aac3bd4b9a3a2dca42eff68beec1b075ae8e532a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating from v4.4.41 to v4.4.53, with the following list of changes:
49616e715061 Linux 4.4.53
9cee69465035 scsi: lpfc: Correct WQ creation for pagesize
1d316060cad5 MIPS: IP22: Fix build error due to binutils 2.25 uselessnes.
4dd29050e46e MIPS: IP22: Reformat inline assembler code to modern standards.
15959b728d07 powerpc/xmon: Fix data-breakpoint
afee78f03ee6 dmaengine: ipu: Make sure the interrupt routine checks all interrupts.
79a7ff1443bd bcma: use (get|put)_device when probing/removing device driver
5a1f03f1ee91 md linear: fix a race between linear_add() and linear_congested()
037cd23726b3 rtc: sun6i: Switch to the external oscillator
ee360e99dae0 rtc: sun6i: Add some locking
a0378b5bfc27 NFSv4: fix getacl ERANGE for some ACL buffer sizes
5d23e89065cd NFSv4: fix getacl head length estimation
52fb4bdcea4c NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
3ee4f442e5b3 nfsd: special case truncates some more
6030493a3422 nfsd: minor nfsd_setattr cleanup
781e6a08381d rtlwifi: rtl8192c-common: Fix "BUG: KASAN:
6e10c33cb87a rtlwifi: Fix alignment issues
70a09029b7be gfs2: Add missing rcu locking for glock lookup
44dd30e04c1f rdma_cm: fail iwarp accepts w/o connection params
88326fe95f59 RDMA/core: Fix incorrect structure packing for booleans
f414af249f1e Drivers: hv: util: Backup: Fix a rescind processing issue
9b45ab285388 Drivers: hv: util: Fcopy: Fix a rescind processing issue
abaeda7f709a Drivers: hv: util: kvp: Fix a rescind processing issue
862d2b7d21d3 hv: init percpu_list in hv_synic_alloc()
374907e8d116 hv: allocate synic pages for all present CPUs
80190fcc48f6 usb: gadget: udc: fsl: Add missing complete function.
61e9e9bcfd7b usb: host: xhci: plat: check hcc_params after add hcd
900466a746f5 usb: musb: da8xx: Remove CPPI 3.0 quirk and methods
89eb5ed1536e w1: ds2490: USB transfer buffers need to be DMAable
1df66c452471 w1: don't leak refcount on slave attach failure in w1_attach_slave_device()
20bc8a897e48 can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
3584716db12a iio: pressure: mpl3115: do not rely on structure field ordering
2ab6b8c7172c iio: pressure: mpl115: do not rely on structure field ordering
e83a28c521a6 arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2
d4a8db66b946 fuse: add missing FR_FORCE
434ed4aff140 crypto: testmgr - Pad aes_ccm_enc_tv_template vector
7666ef1a36cc ath9k: use correct OTP register offsets for the AR9340 and AR9550
1aeced70f77d ath9k: fix race condition in enabling/disabling IRQs
dc7bbf895e43 ath5k: drop bogus warning on drv_set_key with unsupported cipher
6af0acc0b69f target: Fix multi-session dynamic se_node_acl double free OOPs
4a3c526ced41 target: Obtain se_node_acl->acl_kref during get_initiator_node_acl
da259399e487 samples/seccomp: fix 64-bit comparison macros
6ad4196f1952 ext4: return EROFS if device is r/o and journal replay is needed
9a79248c083d ext4: preserve the needs_recovery flag when the journal is aborted
6ec4583e9b03 ext4: fix inline data error paths
9d636818dbac ext4: fix data corruption in data=journal mode
8774c73cf696 ext4: trim allocation requests to group size
a3068b3e8066 ext4: do not polute the extents cache while shifting extents
3daefdae5f8b ext4: Include forgotten start block on fallocate insert range
cd3db55c64ae loop: fix LO_FLAGS_PARTSCAN hang
356d71df7398 block/loop: fix race between I/O and set_status
973f40f368f7 jbd2: don't leak modified metadata buffers on an aborted journal
c0ef1f537a97 Fix: Disable sys_membarrier when nohz_full is enabled
ea240cfed99b sd: get disk reference in sd_check_events()
33950b56d2c2 scsi: use 'scsi_device_from_queue()' for scsi_dh
2dc9a859eb89 scsi: aacraid: Reorder Adapter status check
18dbfcae65a3 scsi: storvsc: properly set residual data length on errors
80bccab34a57 scsi: storvsc: properly handle SRB_ERROR when sense message is present
5cdc8193ac38 scsi: storvsc: use tagged SRB requests if supported by the device
6a284310d5dd dm stats: fix a leaked s->histogram_boundaries array
fdea1f972158 dm cache: fix corruption seen when using cache > 2TB
f0ae01568e0c ipc/shm: Fix shmat mmap nil-page protection
c5c893e7c44e mm: do not access page->mapping directly on page_endio
66f43a576879 mm: vmpressure: fix sending wrong events on underflow
612e4679b865 mm/page_alloc: fix nodes for reclaim in fast path
31dac0e870dd iommu/vt-d: Tylersburg isoch identity map check is done too late.
07852563dba6 iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu
5cc0cd0e3a5a regulator: Fix regulator_summary for deviceless consumers
272d60bfce0e staging: rtl: fix possible NULL pointer dereference
8c8f42c9a4a7 ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine
cd585d3ba5c8 ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming
003aa343724f ALSA: seq: Fix link corruption by event error handling
70dbc00f7e11 ALSA: ctxfi: Fallback DMA mask to 32bit
9879f9d01a3c ALSA: timer: Reject user params with too small ticks
b9bf1f0657c5 ALSA: hda - fix Lewisburg audio issue
1f4f37076d52 ALSA: hda/realtek - Cannot adjust speaker's volume on a Dell AIO
6b1d7b6f54c7 ARM: dts: at91: Enable DMA on sama5d2_xplained console
be83ed085fcd ARM: dts: at91: Enable DMA on sama5d4_xplained console
b401418c6cc3 ARM: at91: define LPDDR types
f3a0b2004080 media: fix dm1105.c build error
b0bde9f6a057 uvcvideo: Fix a wrong macro
5988e7320179 am437x-vpfe: always assign bpp variable
ab7546e49100 MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps
cc387ae0898e MIPS: Calculate microMIPS ra properly when unwinding the stack
d75d675a0552 MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions
72a0cfae59b4 MIPS: Fix get_frame_info() handling of microMIPS function size
2998bf60d385 MIPS: Prevent unaligned accesses during stack unwinding
0d45490221a2 MIPS: Clear ISA bit correctly in get_frame_info()
f1be0f5814a6 MIPS: Lantiq: Keep ethernet enabled during boot
093292b8f8f7 MIPS: OCTEON: Fix copy_from_user fault handling for large buffers
b32e43cf3f74 MIPS: BCM47XX: Fix button inversion for Asus WL-500W
5636da7aba4d MIPS: Fix special case in 64 bit IP checksumming.
faf6aa4b129d samples: move mic/mpssd example code from Documentation
dd4534d88b93 Linux 4.4.52
c171caf7be28 kvm: vmx: ensure VMCS is current while enabling PML
e0913cc300c7 Revert "usb: chipidea: imx: enable CI_HDRC_SET_NON_ZERO_TTHA"
151d4c0fb55b rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down
de5634875b60 block: fix double-free in the failure path of cgwb_bdi_init()
15696979d80f goldfish: Sanitize the broken interrupt handler
d7f97304a485 x86/platform/goldfish: Prevent unconditional loading
67f47e57f9ca USB: serial: ark3116: fix register-accessor error handling
b04a2ca5c4b3 USB: serial: opticon: fix CTS retrieval at open
06b1cf346a4d USB: serial: spcp8x5: fix modem-status handling
22034ee5dab8 USB: serial: ftdi_sio: fix line-status over-reporting
cfad0817222d USB: serial: ftdi_sio: fix extreme low-latency setting
af82872b65e0 USB: serial: ftdi_sio: fix modem-status error handling
bcea8e993772 USB: serial: cp210x: add new IDs for GE Bx50v3 boards
1ae570ab1c06 USB: serial: mos7840: fix another NULL-deref at open
04fae8abfaef tty: serial: msm: Fix module autoload
49ed6307508e net: socket: fix recvmmsg not returning error from sock_error
ce9ecb8d7f3c ip: fix IP_CHECKSUM handling
353dd7290025 irda: Fix lockdep annotations in hashbin_delete().
a95df078e866 dccp: fix freeing skb too early for IPV6_RECVPKTINFO
fe41cfb48f2d packet: Do not call fanout_release from atomic contexts
abd672deb170 packet: fix races in fanout_add()
2b3eb43342a0 net/llc: avoid BUG_ON() in skb_orphan()
e8330cb5ae47 blk-mq: really fix plug list flushing for nomerge queues
f0414c1f8bb7 rtc: interface: ignore expired timers when enqueuing new timers
a82ac399bcf2 rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
f1924ac09c96 Linux 4.4.51
5a86b1150f6c mmc: core: fix multi-bit bus width without high-speed mode
6f26f0ba2435 bcache: Make gc wakeup sane, remove set_task_state()
aee7d0412f17 ntb_transport: Pick an unused queue
c6c6851adbaf NTB: ntb_transport: fix debugfs_remove_recursive
efa061998d22 printk: use rcuidle console tracepoint
6787d3ecbef7 ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()
e6394c7d1c19 futex: Move futex_init() to core_initcall
906bb56e3a12 drm/dp/mst: fix kernel oops when turning off secondary monitor
b32128386bf8 drm/radeon: Use mode h/vdisplay fields to hide out of bounds HW cursor
c6cbae45a57f Input: elan_i2c - add ELAN0605 to the ACPI table
65de8bfbbe20 Fix missing sanity check in /dev/sg
8107096d243d scsi: don't BUG_ON() empty DMA transfers
d7b146c69229 fuse: fix use after free issue in fuse_dev_do_read()
385a592dc7ce siano: make it work again with CONFIG_VMAP_STACK
f9400118b015 vfs: fix uninitialized flags in splice_to_pipe()
c50b74d88661 Linux 4.4.50
b9dee56027ae l2tp: do not use udp_ioctl()
afb4feb8bfef ping: fix a null pointer dereference
9117c897c9aa packet: round up linear to header len
58691e5b4f27 net: introduce device min_header_len
6f99825e7632 sit: fix a double free on error path
a4226c7ebfb5 sctp: avoid BUG_ON on sctp_wait_for_sndbuf
f46f344841ec mlx4: Invoke softirqs after napi_reschedule
0db25098cb6c macvtap: read vnet_hdr_size once
625bd9e43b3b tun: read vnet_hdr_sz once
82e9f6b90a0e tcp: avoid infinite loop in tcp_splice_read()
96ada0a978fa ipv6: tcp: add a missing tcp_v6_restore_cb()
eaa3a58f4503 ip6_gre: fix ip6gre_err() invalid reads
13c3646dac70 netlabel: out of bound access in cipso_v4_validate()
2d9c2e011fd3 ipv4: keep skb->dst around in presence of IP options
22449a01baa5 net: use a work queue to defer net_disable_timestamp() work
f3ece3b38437 tcp: fix 0 divide in __tcp_select_window()
3f5b5134ec7c ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()
41e07a7e01d9 ipv6: fix ip6_tnl_parse_tlv_enc_lim()
e6c654c9c092 can: Fix kernel panic at security_sock_rcv_skb
702c0ce9a7c7 Linux 4.4.49
5b0465dd4ad4 drm/i915: fix use-after-free in page_flip_completed()
a44ca389a736 ALSA: seq: Don't handle loop timeout at snd_seq_pool_done()
e5f20a3fd6db ALSA: seq: Fix race at creating a queue
010ada0cfcb9 xen-netfront: Delete rx_refill_timer in xennet_disconnect_backend()
1c0da0ac217b scsi: mpt3sas: disable ASPM for MPI2 controllers
4d6bdf7c73e7 scsi: aacraid: Fix INTx/MSI-x issue with older controllers
52e02d6bf304 scsi: zfcp: fix use-after-free by not tracing WKA port open/close on failed send
f2d256a2d49f netvsc: Set maximum GSO size in the right place
b9c29d45f980 mac80211: Fix adding of mesh vendor IEs
2f46791849be ARM: 8642/1: LPAE: catch pending imprecise abort on unmask
04ed4a9e21f5 target: Fix COMPARE_AND_WRITE ref leak for non GOOD status
0c863accadb0 target: Fix early transport_generic_handle_tmr abort scenario
ee44e73832c2 target: Use correct SCSI status during EXTENDED_COPY exception
44d03b9280ed target: Don't BUG_ON during NodeACL dynamic -> explicit conversion
fcc038db5959 ARM: 8643/3: arm/ptrace: Preserve previous registers for short regset write
cc187c6200f8 hns: avoid stack overflow with CONFIG_KASAN
3b7ff5ed114f cpumask: use nr_cpumask_bits for parsing functions
fd96835e205d Revert "x86/ioapic: Restore IO-APIC irq_chip retrigger callback"
e72c13d93e9e selinux: fix off-by-one in setprocattr
e871ea6bcf99 ARC: [arcompact] brown paper bag bug in unaligned access delay slot fixup
6a1bd9063246 Linux 4.4.48
87ebcc534d47 base/memory, hotplug: fix a kernel oops in show_valid_zones()
374d06699537 x86/irq: Make irq activate operations symmetric
94c0517fd0cb USB: serial: option: add device ID for HP lt2523 (Novatel E371)
9cf89ade1afd usb: gadget: f_fs: Assorted buffer overflow checks.
e4c1e6648298 USB: Add quirk for WORLDE easykey.25 MIDI keyboard
b4b3442e5032 USB: serial: pl2303: add ATEN device ID
244e7f00035d USB: serial: qcserial: add Dell DW5570 QDL
f4f09b79a0c4 KVM: x86: do not save guest-unsupported XSAVE state
8b51676d6cd9 HID: wacom: Fix poor prox handling in 'wacom_pl_irq'
b3c8c31ed24c percpu-refcount: fix reference leak during percpu-atomic transition
3a8e217851c9 mmc: sdhci: Ignore unexpected CARD_INT interrupts
85fb980acb01 can: bcm: fix hrtimer/tasklet termination in bcm op removal
4025ab36c81c mm, fs: check for fatal signals in do_generic_file_read()
e86a8769579e mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone()
920bba109299 cifs: initialize file_info_lock
7aeb95ceb84b zswap: disable changing params if init fails
5dadebc67586 svcrpc: fix oops in absence of krb5 module
2b4e56fde91b NFSD: Fix a null reference case in find_or_create_lock_stateid()
f584bb6df7a2 powerpc: Add missing error check to prom_find_boot_cpu()
9b993e2c3df6 powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe()
db18e92ceb8d libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices
579a917538f1 ata: sata_mv:- Handle return value of devm_ioremap.
d49d465d178f perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory
72bb4b549085 crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes
ae7d33f53a56 crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg
c4305f00852c drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval
2a3797ef69c5 drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215
e21a3cad35bc ext4: validate s_first_meta_bg at mount time
62e546b2d3a0 PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies
4686ea264f1d Linux 4.4.47
384e4bf0def9 net: dsa: Bring back device detaching in dsa_slave_suspend()
74a7c39ec627 qmi_wwan/cdc_ether: add device ID for HP lt2523 (Novatel E371) WWAN card
0492a033fb71 af_unix: move unix_mknod() out of bindlock
e674c70bafe7 r8152: don't execute runtime suspend if the tx is not empty
980b9afd9ecc bridge: netlink: call br_changelink() during br_dev_newlink()
8f9e4ad8d7f3 tcp: initialize max window for a new fastopen socket
8051bf2890e9 ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock
8a066a87025e net: phy: bcm63xx: Utilize correct config_intr function
6fec199362c4 net: fix harmonize_features() vs NETIF_F_HIGHDMA
4f5e54bdd052 ax25: Fix segfault after sock connection timeout
062b7f35ff6c ravb: do not use zero-length alignment DMA descriptor
7d691d89eed0 openvswitch: maintain correct checksum state in conntrack actions
b82981fb273d tcp: fix tcp_fastopen unaligned access complaints on sparc
ec9e993f30f6 net: systemport: Decouple flow control from __bcm_sysport_tx_reclaim
40e7c725ab0f net: ipv4: fix table id in getroute response
2e84b8ce6fc3 net: lwtunnel: Handle lwtunnel_fill_encap failure
290db2cd517e mlxsw: pci: Fix EQE structure definition
811bb1b9d9ab mlxsw: switchx2: Fix memory leak at skb reallocation
9edb2d75d81b mlxsw: spectrum: Fix memory leak at skb reallocation
595ac452c451 r8152: fix the sw rx checksum is unavailable
6c1ed78cb074 Linux 4.4.46
d0721893214e mm, memcg: do not retry precharge charges
14b97492d6e1 platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT
d430c37db796 pinctrl: broxton: Use correct PADCFGLOCK offset
5ddaf6804e24 s5k4ecgx: select CRC32 helper
5288474d2f48 IB/umem: Release pid in error and ODP flow
e114e66eec3d IB/ipoib: move back IB LL address into the hard header
800a78f9e62b drm/i915: Don't leak edid in intel_crt_detect_ddc()
d79e41188a1e SUNRPC: cleanup ida information when removing sunrpc module
edef1086bf09 NFSv4.0: always send mode in SETATTR after EXCLUSIVE4
0f64f22c0686 nfs: Don't increment lock sequence ID after NFS4ERR_MOVED
bde741e9cc23 parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header
acb63c8b576d ARC: [arcompact] handle unaligned access delay slot corner case
42ad7663677d ARC: udelay: fix inline assembler by adding LP_COUNT to clobber list
bca1a95c9e20 can: ti_hecc: add missing prepare and unprepare of the clock
63fe33a78428 can: c_can_pci: fix null-pointer-deref in c_can_start() - set device pointer
bae49e72f951 s390/ptrace: Preserve previous registers for short regset write
8637de3a318d RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled
d65032ab06f4 ISDN: eicon: silence misleading array-bounds warning
d1b232c2ce53 sysctl: fix proc_doulongvec_ms_jiffies_minmax()
f11e8bf8e99b mm/mempolicy.c: do not put mempolicy before using its nodemask
c83ad9703e71 drm: Fix broken VT switch with video=1366x768 option
23bc4e136bca tile/ptrace: Preserve previous registers for short regset write
63db7c91a3c0 fbdev: color map copying bounds checking
ef30573ef2b1 Linux 4.4.45
8323d0555fe3 arm64: avoid returning from bad_mode
6e65a4c698cf selftest/powerpc: Wrong PMC initialized in pmc56_overflow test
a5291c1a9eae dmaengine: pl330: Fix runtime PM support for terminated transfers
238623ce487f ite-cir: initialize use_demodulator before using it
b02d7a8219bc blackfin: check devm_pinctrl_get() for errors
a4d2fa085b9a ARM: 8613/1: Fix the uaccess crash on PB11MPCore
baa2610c4962 ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
68664ae14535 ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init
c55f8aaf4a19 arm64/ptrace: Reject attempts to set incomplete hardware breakpoint fields
4c87fc7f2059 arm64/ptrace: Avoid uninitialised struct padding in fpr_set()
03ee97d68d8b arm64/ptrace: Preserve previous registers for short regset write - 3
d8263f1753ce arm64/ptrace: Preserve previous registers for short regset write - 2
76e08d2966a9 arm64/ptrace: Preserve previous registers for short regset write
41a9abb0e06b ARM: dts: da850-evm: fix read access to SPI flash
62c3d36309d3 ceph: fix bad endianness handling in parse_reply_info_extra
abfa5e8ae937 ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs
294b0aadc8c2 svcrdma: avoid duplicate dma unmapping during error recovery
098b62b757a4 clocksource/exynos_mct: Clear interrupt when cpu is shut down
a07563c3cf05 ubifs: Fix journal replay wrt. xattr nodes
7ea1eb731453 qla2xxx: Fix crash due to null pointer access
86915782ff65 x86/ioapic: Restore IO-APIC irq_chip retrigger callback
212bab3c5b0b mtd: nand: xway: disable module support
80aeb7bf5ca0 ieee802154: atusb: do not use the stack for buffers to make them DMA able
8f6f508f70ff mmc: mxs-mmc: Fix additional cycles after transmission stop
75c60df15c85 HID: corsair: fix control-transfer error handling
0f37d20fdc70 HID: corsair: fix DMA buffers on stack
4740d1d7d429 PCI: Enumerate switches below PCI-to-PCIe bridges
dc4e372f9a47 fuse: clear FR_PENDING flag when moving requests out of pending queue
6f3002c22087 svcrpc: don't leak contexts on PROC_DESTROY
3b434ca8592a x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F
36672b8b99e2 tmpfs: clear S_ISGID when setting posix ACLs
39d7c9ce35a1 ARM: dts: imx31: fix AVIC base address
d2e4968e3c0d ARM: dts: imx31: move CCM device node to AIPS2 bus devices
280d00a94293 ARM: dts: imx31: fix clock control module interrupts description
2ba399c693c0 perf scripting: Avoid leaking the scripting_context variable
aa02f29e95f3 IB/IPoIB: Remove can't use GFP_NOIO warning
ea470497eb31 IB/mlx4: When no DMFS for IPoIB, don't allow NET_IF QPs
f1c9169478ca IB/mlx4: Fix port query for 56Gb Ethernet links
c7a40c48f7a5 IB/mlx4: Fix out-of-range array index in destroy qp flow
1be54a4ec45a IB/mlx4: Set traffic class in AH
4ffb36efe22c IB/mlx5: Wait for all async command completions to complete
97085e2a386a ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short jumps to it
a7dd347a67c0 Linux 4.4.44
45611fb9e0af pinctrl: sh-pfc: Do not unconditionally support PIN_CONFIG_BIAS_DISABLE
ef6eadbf7b16 powerpc/ibmebus: Fix device reference leaks in sysfs interface
488e7b2c5b6a powerpc/ibmebus: Fix further device reference leaks
4d1b5086f7e2 bus: vexpress-config: fix device reference leak
6e8210ad2585 blk-mq: Always schedule hctx->next_cpu
ddf0c377bf82 ACPI / APEI: Fix NMI notification handling
4af7970b3593 block: cfq_cpd_alloc() should use @gfp
2c1dd423a567 cpufreq: powernv: Disable preemption while checking CPU throttling state
33ebdfe913fd NFSv4.1: nfs4_fl_prepare_ds must be careful about reporting success.
11804232d1ad NFS: Fix a performance regression in readdir
8ff851bf2240 pNFS: Fix race in pnfs_wait_on_layoutreturn
7aae6e3c0c52 pinctrl: meson: fix gpio request disabling other modes
f0382c090a20 btrfs: fix error handling when run_delayed_extent_op fails
205e997acde7 btrfs: fix locking when we put back a delayed ref that's too new
68b97d287e28 x86/cpu: Fix bootup crashes by sanitizing the argument of the 'clearcpuid=' command-line option
0cf23324af1c USB: serial: ch341: fix modem-control and B0 handling
1d25a05642c8 USB: serial: ch341: fix resume after reset
a1a0612b7dde drm/radeon: drop verde dpm quirks
b9d6631395a1 sysctl: Drop reference added by grab_header in proc_sys_readdir
ca81117b7432 sysrq: attach sysrq handler correctly for 32-bit kernel
075f493a974e tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx
4a6716f16517 mnt: Protect the mountpoint hashtable with mount_lock
836fd7c9e6e6 vme: Fix wrong pointer utilization in ca91cx42_slave_get
d5fcd719e889 xhci: fix deadlock at host remove by running watchdog correctly
ae76af251806 i2c: fix kernel memory disclosure in dev interface
f64b9acc368c i2c: print correct device invalid address
085f4ebec797 Input: elants_i2c - avoid divide by 0 errors on bad touchscreen data
214a8e98e6bc USB: serial: ch341: fix open and resume after B0
802b4ef3b989 USB: serial: ch341: fix control-message error handling
bc74606d8d80 USB: serial: ch341: fix open error handling
e29f709c2f56 USB: serial: ch341: fix initial modem-control state
3ef5bc0b385f USB: serial: kl5kusb105: fix line-state error handling
4a1ecf37a59f nl80211: fix sched scan netlink socket owner destruction
9d3875c0c462 KVM: x86: Introduce segmented_write_std
3490e72ad6d0 KVM: x86: emulate FXSAVE and FXRSTOR
d9c4c1e7c2cf KVM: x86: add asm_safe wrapper
4fa0090249fb KVM: x86: add Align16 instruction flag
1fc673d96f9d KVM: x86: flush pending lapic jump label updates on module unload
3d27cd4b2527 jump_labels: API for flushing deferred jump label updates
34a55c9d4a2d KVM: eventfd: fix NULL deref irqbypass consumer
816307c80d4d KVM: x86: fix emulation of "MOV SS, null selector"
1a46e6ecf896 mm/hugetlb.c: fix reservation race when freeing surplus pages
6bbb8ff3b68e ocfs2: fix crash caused by stale lvb with fsdlm plugin
70429b970bde mm: fix devm_memremap_pages crash, use mem_hotplug_{begin, done}
6de62ec07d2a selftests: do not require bash for the generated test
2deaeea23fbd selftests: do not require bash to run netsocktests testcase
2e2679a168fe Input: i8042 - add Pegatron touchpad to noloop table
51377793758a Input: xpad - use correct product id for x360w controllers
d9ea51a9bea4 Linux 4.4.43
e21901d7a5eb mm/init: fix zone boundary creation
e3f77bb158f9 ALSA: usb-audio: Add a quirk for Plantronics BT600
a1c81f839c6f spi: mvebu: fix baudrate calculation for armada variant
dfd64d112a02 ARM: OMAP4+: Fix bad fallthrough for cpuidle
04dc1be104fe ARM: zynq: Reserve correct amount of non-DMA RAM
bed280bbc995 powerpc: Fix build warning on 32-bit PPC
fa48a1607580 ALSA: firewire-tascam: Fix to handle error from initialization of stream data
a2f727149ee4 HID: hid-cypress: validate length of report
70e05a9f2f4f net: vrf: do not allow table id 0
c177d491a948 net: ipv4: Fix multipath selection with vrf
67b21973ecf4 gro: Disable frag0 optimization on IPv6 ext headers
db7119eaacf4 gro: use min_t() in skb_gro_reset_offset()
5169043e9722 gro: Enter slow-path if there is no tailroom
0d3b9c2746d3 r8152: fix rx issue for runtime suspend
c31a3c79928b r8152: split rtl8152_suspend function
807cac887d95 ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rules
0d431f94c181 igmp: Make igmp group member RFC 3376 compliant
14e8d568f14f drop_monitor: consider inserted data in genlmsg_end
81e7916476ca drop_monitor: add missing call to genlmsg_end
1ff0308f33ce net/mlx5: Avoid shadowing numa_node
18d971f84c84 net/mlx5: Check FW limitations on log_max_qp before setting it
3f2847608cb9 net: stmmac: Fix race between stmmac_drv_probe and stmmac_open
67bce5821c9a net, sched: fix soft lockup in tc_classify
58d0d7a45ef8 ipv6: handle -EFAULT from skb_copy_bits
6ac0b3810cdc net: vrf: Drop conntrack data after pass through VRF device on Tx
1e5298d4c82b ser_gigaset: return -ENOMEM on error instead of success
33c7b0f74c57 netvsc: reduce maximum GSO size
49c4446a2e13 Linux 4.4.42
adf640eaefac usb: gadget: composite: always set ep->mult to a sensible value
f108b2de9cd0 Revert "usb: gadget: composite: always set ep->mult to a sensible value"
6053479cbbc5 tick/broadcast: Prevent NULL pointer dereference
af817b3fc6e5 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
9205be7fa632 cx23885-dvb: move initialization of a8293_pdata
6b59fb520123 net: vxge: avoid unused function warnings
8003ac65d0a5 net: ti: cpmac: Fix compiler warning due to type confusion
becfb50c66cb cred/userns: define current_user_ns() as a function
f5a636fd416f staging: comedi: dt282x: tidy up register bit defines
8f251525da14 powerpc/pci/rpadlpar: Fix device reference leaks
ccd7bd29c2e6 md: MD_RECOVERY_NEEDED is set for mddev->recovery
1d3124821f3a crypto: arm64/aes-ce - fix for big endian
5b21c5489206 crypto: arm64/aes-xts-ce: fix for big endian
abca9c2d2cab crypto: arm64/sha1-ce - fix for big endian
83f8a200af45 crypto: arm64/aes-neon - fix for big endian
bd17e2d36615 crypto: arm64/aes-ccm-ce: fix for big endian
bed5c78798e1 crypto: arm/aes-ce - fix for big endian
4c575a30db8c crypto: arm64/ghash-ce - fix for big endian
820c2ac4c9f4 crypto: arm64/sha2-ce - fix for big endian
6119edd2d87a s390/crypto: unlock on error in prng_tdes_read()
85baf9416b7e mmc: mmc_test: Uninitialized return value
b0cb7f60998c PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
fc44d3d05478 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
69dc8473b750 target/iscsi: Fix double free in lio_target_tiqn_addtpg()
e57c830c9041 scsi: mvsas: fix command_active typo
079c4b43e1fe ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
83882724eb65 iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
91bc81b9661c iommu/vt-d: Fix pasid table size encoding
dc78a9e1b4f8 iommu/amd: Fix the left value check of cmd buffer
b54dcc3b68ef iommu/amd: Missing error code in amd_iommu_init_device()
46105512474f clk: imx31: fix rewritten input argument of mx31_clocks_init()
f371ee85268d clk: clk-wm831x: fix a logic error
92e993abb928 hwmon: (g762) Fix overflows and crash seen when writing limit attributes
fd504f529160 hwmon: (nct7802) Fix overflows seen when writing into limit attributes
5e351caeaa96 hwmon: (ds620) Fix overflows seen when writing temperature limits
fbab1832e7e8 hwmon: (amc6821) sign extension temperature
07c05622f63d hwmon: (scpi) Fix module autoload
9453d46a12ba cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
8353a5deec10 ath10k: use the right length of "background"
56ef587b77fd stable-fixup: hotplug: fix unused function warning
acb7df233b72 usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
ecd4ad9ab7e9 usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
efcd2e082f0f usb: dwc3: gadget: always unmap EP0 requests
7927c0314060 staging: iio: ad7606: fix improper setting of oversampling pins
3e4302f99aed mei: bus: fix mei_cldev_enable KDoc
e94800df8c1f USB: serial: io_ti: bind to interface after fw download
1224bb23fe15 USB: phy: am335x-control: fix device and of_node leaks
d36d0122ff51 ARM: dts: r8a7794: Correct hsusb parent clock
de2cf4998a52 USB: serial: kl5kusb105: abort on open exception path
f5531856c2c7 ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
d576c36a3e1f usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
e675483ee2f1 usb: hub: Move hub_port_disable() to fix warning if PM is disabled
02ef64ac647f usb: musb: Fix trying to free already-free IRQ 4
60dffc173220 usb: dwc3: pci: add Intel Gemini Lake PCI ID
59185ef00b46 xhci: Fix race related to abort operation
ce737ba8e23e xhci: Use delayed_work instead of timer for command timeout
b07b4fa72500 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
3e3f05182b39 USB: serial: mos7720: fix parallel probe
5c83e07c3c8b USB: serial: mos7720: fix parport use-after-free on probe errors
2f525ed5efb8 USB: serial: mos7720: fix use-after-free on probe errors
f2e8b37a9970 USB: serial: mos7720: fix NULL-deref at open
857757872704 USB: serial: mos7840: fix NULL-deref at open
1b1fdc715807 USB: serial: kobil_sct: fix NULL-deref in write
b60b91268cd0 USB: serial: cyberjack: fix NULL-deref at open
b835f4cd6700 USB: serial: oti6858: fix NULL-deref at open
374250ed9b26 USB: serial: io_edgeport: fix NULL-deref at open
ad4de3d91872 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
f0bdd7e0ccb2 USB: serial: garmin_gps: fix memory leak on failed URB submit
e3d6a0da47e6 USB: serial: iuu_phoenix: fix NULL-deref at open
11743d704e51 USB: serial: io_ti: fix I/O after disconnect
7ef8807cce7d USB: serial: io_ti: fix another NULL-deref at open
33a5d0cc25f4 USB: serial: io_ti: fix NULL-deref at open
0243498813d2 USB: serial: spcp8x5: fix NULL-deref at open
65d107038ec6 USB: serial: keyspan_pda: verify endpoints at probe
c6aa86222ec5 USB: serial: pl2303: fix NULL-deref at open
4e106709060f USB: serial: quatech2: fix sleep-while-atomic in close
7b5d7880019c USB: serial: omninet: fix NULL-derefs at open and disconnect
d88f0f6c5ba0 usb: xhci: hold lock over xhci_abort_cmd_ring()
f286c2513ba6 xhci: Handle command completion and timeout race
86bb666386ee usb: host: xhci: Fix possible wild pointer when handling abort command
3447b3772934 usb: xhci: fix return value of xhci_setup_device()
2d1b4fcba4a7 xhci: free xhci virtual devices with leaf nodes first
b303a108541e usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
b4b404b99177 xhci: workaround for hosts missing CAS bit
e224b8b7215f usb: xhci: fix possible wild pointer
438efb640e83 usb: dwc3: core: avoid Overflow events
96a21e702606 usb: gadget: composite: Test get_alt() presence instead of set_alt()
bd4e78bbc93f USB: dummy-hcd: fix bug in stop_activity (handle ep0)
7cc00abef071 USB: fix problems with duplicate endpoint addresses
f6ff9981743c USB: gadgetfs: fix checks of wTotalLength in config descriptors
74e36bffe645 USB: gadgetfs: fix use-after-free bug
fe75330a27fc USB: gadgetfs: fix unbounded memory allocation bug
10a4380ea145 usb: gadgetfs: restrict upper bound on device configuration size
9cc601b40d76 usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
96175db0a647 usb: musb: dsps: implement clear_ep_rxintr() callback
2a0e2a89cc41 usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
e72575d2d76e KVM: MIPS: Flush KVM entry code from icache globally
7b95f36fc6fa KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
9b73f43fcef4 mac80211: initialize fast-xmit 'info' later
6e28a02f0e86 ARM: davinci: da850: don't add emac clock to lookup table twice
bb1cacd88e07 ALSA: usb-audio: Fix irq/process data synchronization
16b968a1ca96 ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
b87483c27624 ALSA: hda - Fix up GPIO for ASUS ROG Ranger
(From OE-Core rev: 70c124ae85360428aa6942c5efd527d6139ab7ec)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf00e5e265d3f878d2af36a48d597ce477bd6f4f)
fixed merge conflicts
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
(From OE-Core rev: 96172bb6be3d4baf140b3b7db326930162103ab3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b60f1f2e0a5db22b466c8c812dea1716787c0d9a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker has started doing 4.8 -stable updates. This integrates
his 4.8.18 queue from:
git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-4.8.y.git
Change log is as follows:
28dda89acd7c Linux 4.8.18
936e79682048 tick/broadcast: Prevent NULL pointer dereference
f22b03e15427 clocksource/dummy_timer: Move hotplug callback after the real timers
8f78db7e5df0 xfs: use GPF_NOFS when allocating btree cursors
1d818a81bac6 xfs: ignore leaf attr ichdr.count in verifier during log replay
62ef2c9c1d94 xfs: don't allow di_size with high bit set
db28776559c7 xfs: error out if trying to add attrs and anextents > 0
fb70f2a64910 xfs: don't crash if reading a directory results in an unexpected hole
ebff27d76e7e xfs: complain if we don't get nextents bmap records
14c3f0b270aa xfs: check for bogus values in btree block headers
31f0f90742a3 xfs: pass state not whichfork to trace_xfs_extlist
430a362685e9 xfs: Move AGI buffer type setting to xfs_read_agi
20aa52b53586 xfs: new inode extent list lookup helpers
c7b75fcea4e6 xfs: fix unbalanced inode reclaim flush locking
e89df591f833 xfs: check minimum block size for CRC filesystems
b04a2c02f4d7 xfs: provide helper for counting extents from if_bytes
f4e7f4cd52b1 xfs: don't BUG() on mixed direct and mapped I/O
49f159ae6e80 xfs: check return value of _trans_reserve_quota_nblks
23bb39fdbb96 xfs: don't call xfs_sb_quota_from_disk twice
d3c7d2aa00d4 tpm_tis: Check return values from get_burstcount.
9fc58e555d78 drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases
4f075608d2c4 drm/i915/gen9: unconditionally apply the memory bandwidth WA
55e9c9d00d70 drm/i915: disable PSR by default on HSW/BDW
2c266a9a3631 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
e4d1900e15db s390/topology: always use s390 specific sched_domain_topology_level
b04e5322d8a4 powerpc/pci/rpadlpar: Fix device reference leaks
458e63f135d6 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3)
05a725c46f56 PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+
8d12795b1eac PCI: Convert Mellanox broken INTx quirks to be for listed devices only
24af87eb2ffa PCI: Convert broken INTx masking quirks from HEADER to FINAL
ec9f277f52e9 PCI: Add Mellanox device IDs
9e7c8ebc1316 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs()
8c6c73a692c9 f2fs: hide a maybe-uninitialized warning
a91f2c1d4f45 f2fs: remove percpu_count due to performance regression
93634e1cc928 md: MD_RECOVERY_NEEDED is set for mddev->recovery
239b31c50bde crypto: arm64/aes-ce - fix for big endian
a3141467e092 crypto: arm64/aes-xts-ce: fix for big endian
7c26ef18f05a crypto: arm64/sha1-ce - fix for big endian
cb70151453a1 crypto: arm64/aes-neon - fix for big endian
c1c451bea4af crypto: arm64/aes-ccm-ce: fix for big endian
c4957563b255 crypto: arm/aes-ce - fix for big endian
dcb0c4ebc7ad crypto: arm64/ghash-ce - fix for big endian
d60ecc7f02a4 crypto: arm64/sha2-ce - fix for big endian
f9315853c7c1 s390/crypto: unlock on error in prng_tdes_read()
a76c795f53e7 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration
d3b82f9a9716 mm: khugepaged: fix radix tree node leak in shmem collapse error path
ab533014582f mm: khugepaged: close use-after-free race during shmem collapsing
c9777f749c4c mm/hugetlb.c: use the right pte val for compare in hugetlb_cow
0ff00251359e mmc: mmc_test: Uninitialized return value
abe558647a0f PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
b90b6b8cce53 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
d6229a05dd06 ima: fix memory leak in ima_release_policy
8cbe9b689467 sbp-target: Fix second argument of percpu_ida_alloc()
fed8068fd1de target/iscsi: Fix double free in lio_target_tiqn_addtpg()
ec92af68808e scsi: mvsas: fix command_active typo
efe08cc6939b ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
a5a550bd0768 ASoC: cht_bsw_rt5645: Fix leftover kmalloc
3fcdecb0f9f6 iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
22604a045edb iommu/vt-d: Fix pasid table size encoding
f7dd8813279b iommu/amd: Fix the left value check of cmd buffer
9a134d29af48 iommu/amd: Missing error code in amd_iommu_init_device()
35a294dd5723 clk: renesas: mstp: Support 8-bit registers for r7s72100
8a7022b2ffad clk: imx31: fix rewritten input argument of mx31_clocks_init()
8b4940dd9224 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks
a13af6a13e68 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message
c54f34533601 clk: clk-wm831x: fix a logic error
36c3481984b5 clk: qcom: ipq806x: Fix board clk rates
fdd91f12bebc hwmon: (g762) Fix overflows and crash seen when writing limit attributes
18d749bb756f hwmon: (nct7802) Fix overflows seen when writing into limit attributes
1e6b9473280a hwmon: (ds620) Fix overflows seen when writing temperature limits
0bc18f1d87d9 hwmon: (amc6821) sign extension temperature
4c8493cb90b9 hwmon: (scpi) Fix module autoload
d618b1647e27 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks
b803e5984015 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6
1121b5f49eb7 debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS
f4b9eaba036c clk: renesas: cpg-mssr: Fix inverted debug check
a25cb9b5744b efi/efivar_ssdt_load: Don't return success on allocation failure
b36f676475bd cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
40b0bbe612bb ath10k: use the right length of "background"
3e0f61361a82 nl80211: Use different attrs for BSSID and random MAC addr in scan req
3d04e6a06abc mac80211: fix tid_agg_rx NULL dereference
f4ded840a335 drm/i915: tune down the fast link training vs boot fail
2ed2b3cc6ae3 drm/i915/dp: add lane_count check in intel_dp_check_link_status
ac2370c93a40 usb: dwc3: gadget: always unmap EP0 requests
6039272a760e usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
4f76ead23734 usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
7acc87fae524 iio: accel: st_accel: fix LIS3LV02 reading and scaling
d59378efa7ac staging: iio: ad7606: fix improper setting of oversampling pins
401316ef7253 mei: move write cb to completion on credentials failures
3ab87b8fd267 mei: bus: fix mei_cldev_enable KDoc
c103d55bb7d7 USB: serial: io_ti: bind to interface after fw download
d302588a910f ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support
56dce131ec69 arm64: dts: hip06: Correct hardware pin number of usb node
0c03658a3e7b USB: phy: am335x-control: fix device and of_node leaks
518a4d8d533c ARM: dts: r8a7794: Correct hsusb parent clock
7780eb2fd54b usb: gadget: Fix second argument of percpu_ida_alloc()
a3ff51875d83 USB: serial: kl5kusb105: abort on open exception path
5f8a0a2fd33b ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
fb106dc8b847 usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
1bff22506598 usb: gadget: udc: core: fix return code of usb_gadget_probe_driver()
c7c4ad7fce6d usb: hub: Move hub_port_disable() to fix warning if PM is disabled
b7fb0479ecd6 usb: musb: Fix trying to free already-free IRQ 4
217c03eaf10c usb: dwc3: gadget: Fix full speed mode
7de3c659811a usb: dwc3: pci: Fix dr_mode misspelling
6fdac0047799 usb: dwc3: pci: add Intel Gemini Lake PCI ID
220d6521aac2 xhci: Fix race related to abort operation
d3f3b0bd0756 xhci: Use delayed_work instead of timer for command timeout
0da62a5b5242 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
997d598c694f USB: serial: mos7720: fix parallel probe
eb9e22ac9265 USB: serial: mos7720: fix parport use-after-free on probe errors
c91243377c8d USB: serial: mos7720: fix use-after-free on probe errors
b756fba5e563 USB: serial: mos7720: fix NULL-deref at open
8cc2ae8e130e USB: serial: mos7840: fix NULL-deref at open
68ab1ccfc085 USB: serial: kobil_sct: fix NULL-deref in write
37ca8378e77c USB: serial: cyberjack: fix NULL-deref at open
fd435e99f5ed USB: serial: oti6858: fix NULL-deref at open
1653f66ba3fb USB: serial: io_edgeport: fix NULL-deref at open
73ec9d58b1c7 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
d1706b42d164 USB: serial: garmin_gps: fix memory leak on failed URB submit
b653000d9b0c USB: serial: iuu_phoenix: fix NULL-deref at open
427bac51ce67 USB: serial: io_ti: fix I/O after disconnect
59f740cd834c USB: serial: io_ti: fix another NULL-deref at open
2ef82cf063c8 USB: serial: io_ti: fix NULL-deref at open
8d5f29b2d578 USB: serial: spcp8x5: fix NULL-deref at open
e1fe8df45b74 USB: serial: keyspan_pda: verify endpoints at probe
10da95b6a2eb USB: serial: pl2303: fix NULL-deref at open
e29498ba6e1f USB: serial: quatech2: fix sleep-while-atomic in close
05859d754d6f USB: serial: omninet: fix NULL-derefs at open and disconnect
be17e1c916ce usb: return error code when platform_get_irq fails
0e9fc72194ce usb: xhci: hold lock over xhci_abort_cmd_ring()
527f810d8a86 xhci: Handle command completion and timeout race
c18ca85fd6de usb: host: xhci: Fix possible wild pointer when handling abort command
67a7de5a2f35 usb: xhci: fix return value of xhci_setup_device()
775a2bec9cdf xhci: free xhci virtual devices with leaf nodes first
80c502e0ce6f usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
d3a9f7c7e8c4 usb: xhci: fix possible wild pointer
5ded28d83128 usb: gadget: composite: Test get_alt() presence instead of set_alt()
16718d267e09 USB: dummy-hcd: fix bug in stop_activity (handle ep0)
47acb8434892 USB: fix problems with duplicate endpoint addresses
a45f34e820c6 USB: gadgetfs: fix checks of wTotalLength in config descriptors
27b4d04d1b87 USB: gadgetfs: fix use-after-free bug
cd4da96b1bac USB: gadgetfs: fix unbounded memory allocation bug
1fa95887b663 usb: gadgetfs: restrict upper bound on device configuration size
e4efa88511eb usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
05ace125078d usb: musb: dsps: implement clear_ep_rxintr() callback
38caa4d8986e usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
483c56831853 KVM: MIPS: Flush KVM entry code from icache globally
08aa895b61e1 KVM: MIPS: Don't clobber CP0_Status.UX
d33b04df932e KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
e3843cdbf81a drm/i915: Force VDD off on the new power seqeuencer before starting to use it
dbce182845b4 gcc-plugins: update gcc-common.h for gcc-7
970150316c04 mac80211: initialize fast-xmit 'info' later
cf3b94f8fe70 ARM: davinci: da850: don't add emac clock to lookup table twice
391c21a9ab0a parisc: Mark cr16 clocksource unstable on SMP systems
684f6df20889 fscrypt: fix renaming and linking special files
6c55d3ad7fb3 ALSA: usb-audio: Fix irq/process data synchronization
3074297922e2 ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
81a35981225c ALSA: hda - Fix up GPIO for ASUS ROG Ranger
576b9d7789d8 iio: bmi160: Fix time needed to sleep after command execution
ad2a1ae984c6 iio: max44000: correct value in illuminance_integration_time_available
ee8e4a73dbf6 iio: common: st_sensors: fix channel data parsing
(From OE-Core rev: dc5cb390c5563c5d839c29cf3f85c2317f7cff64)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a3daa89e28d58d35692cd2ae2af3e49c9f536fb)
fix merge conflict do to changes in master
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker has updated 4.8 to the latest -rt release. This
integrates those changes to standard/preempt-rt/*. As usual the
branches are kept fast forward, and a clean copy of the patches
can be found on standard/preempt-rt/rebase.
(From OE-Core rev: f20ab66d2d012c535755af556d81412d5182cefd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 9b4a71785221e2b67180fe6047e2ba2ad83f6523)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -stable release. Changes are as follows:
35327468a79d Linux 4.1.37
c27edfb64bbf scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
016d02981cce tipc: check minimum bearer MTU
efcf38bd4020 net: ping: check minimum size on ICMP header length
e29fdf045048 packet: fix race condition in packet_set_ring
fabaaaa96d54 net: add recursion limit to GRO
7abf32087c1d Bluetooth: Fix potential NULL dereference in RFCOMM bind callback
74cd81c810b9 ptrace: being capable wrt a process requires mapped uids/gids
8165fc3eb28c scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer()
1171afc4a34e mnt: Add a per mount namespace limit on the number of mounts
62fa696b7b43 posix_acl: Clear SGID bit when setting file permissions
de42b9559d0c fs: Avoid premature clearing of capabilities
cb8e1eef351b fs: Give dentry to inode_change_ok() instead of inode
2ee3ceeccd34 nfsd: Disable NFSv2 timestamp workaround for NFSv3+
820bc4582ab9 fuse: Propagate dentry down to inode_change_ok()
89bc54c54027 xfs: Propagate dentry down to inode_change_ok()
1b364dc9edba xattr: Option to disable meta-data block cache
9a66bc6ee0f9 tcp: fix use after free in tcp_xmit_retransmit_queue()
ebdb88b8e465 x86/kexec: add -fno-PIE
672612a21845 scripts/has-stack-protector: add -fno-PIE
e06ded86d961 x86/init: Fix cr4_init_shadow() on CR4-less machines
eec746939372 ARM: 8617/1: dma: fix dma_max_pfn()
58024f829d0b mm,ksm: fix endless looping in allocating memory when ksm enable
d427d645ccf9 can: dev: fix deadlock reported after bus-off
791a92897274 cpuset: handle race between CPU hotplug and cpuset_hotplug_work
6b82b0601ac2 mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl
e537a0977f3e drm/msm: fix use of copy_from_user() while holding spinlock
b56eb9cdc5f1 bus: arm-ccn: Fix PMU handling of MN
7298a8bf4c63 bus: arm-ccn: Provide required event arguments
(From OE-Core rev: f38c64c607373070982d52c40af545d37a7217ee)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 592468a262cc01e4954be33b4281ffca84fea838)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg 4.8.17 -stable release. Changes are as follows:
3d8f8d06abb3 Linux 4.8.17
adf363fd5ab9 drm/i915: skip the first 4k of stolen memory on everything >= gen8
000e612673da drm/i915: Initialize dev_priv->atomic_cdclk_freq at init time
22aba475d97b drm/i915: Fix cdclk vs. dev_cdclk mess when not recomputing things
294bb3402c76 drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
6a412ff3df87 drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting
4803ec2a74c4 net: mvpp2: fix dma unmapping of TX buffers for fragments
48f26edb689c sg_write()/bsg_write() is not fit to be called under KERNEL_DS
d787c6b32c3f kconfig/nconf: Fix hang when editing symbol with a long prompt
e141d1a21e31 target/user: Fix use-after-free of tcmu_cmds if they are expired
29f3d1127c4b libnvdimm, pfn: fix align attribute
3a4e4281b5cd powerpc/ps3: Fix system hang with GCC 5 builds
e451d674bac5 powerpc/64e: Convert cmpi to cmpwi in head_64.S
0349fbebd984 SUNRPC: fix refcounting problems with auth_gss messages.
c513ade4ca56 pNFS: Fix a deadlock between read resends and layoutreturn
abb2903f1ac2 pNFS: Clear NFS_LAYOUT_RETURN_REQUESTED when invalidating the layout stateid
f061c76c1d56 pNFS: Don't clear the layout stateid if a layout return is outstanding
7de1b81c27fd pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed
8f5ff877bf19 nfs_write_end(): fix handling of short copies
1678adac85da libceph: verify authorize reply on connect
1f93d1a77b17 PCI: Check for PME in targeted sleep state
c75bc2bde102 i40iw: Use correct src address in memcpy to rdma stats counters
7d0a6cf3e8c9 Input: drv260x - fix input device's parent assignment
b7843712cbd2 v4l: tvp5150: Add missing break in set control handler
4963b1910090 media: solo6x10: fix lockup by avoiding delayed register write
88bfde25e60f s5p-mfc: fix failure path of s5p_mfc_alloc_memdev()
c3fe33d185e0 mn88473: fix chip id check on probe
84b2f664409c mn88472: fix chip id check on probe
15d1d226eab4 IB/cma: Fix a race condition in iboe_addr_get_sgid()
7b3721aff59b IB/rxe: Fix a memory leak in rxe_qp_cleanup()
2a0aa77a54fb IB/multicast: Check ib_find_pkey() return value
37d4adba02d3 IPoIB: Avoid reading an uninitialized member variable
f079fc11f28e IB/mad: Fix an array index check
e661b5d4b94f fgraph: Handle a case where a tracer ignores set_graph_notrace
b2758da04d73 platform/x86: asus-nb-wmi.c: Add X45U quirk
f61152e3bbf0 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
8569aadeed3f vsock/virtio: fix src/dst cid format
576ea9e5e92e fsnotify: Fix possible use-after-free in inode iteration on umount
43983ce75e61 kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
9a5cf8c4b112 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
b751eb6e9d99 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
0773e9248ae3 scsi: aacraid: remove wildcard for series 9 controllers
b202064f0b3f md/raid5: limit request size according to implementation limits
47090341ec97 sc16is7xx: Drop bogus use of IRQF_ONESHOT
c33e1abd2e31 arm64: KVM: pmu: Reset PMSELR_EL0.SEL to a sane value before entering the guest
d3d61bb37afb s390/kexec: use node 0 when re-adding crash kernel memory
9652b62af49d s390/vmlogrdr: fix IUCV buffer allocation
f356ab038e78 firmware: fix usermode helper fallback loading
5c98bf834d6f ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
cc328ce59a4a scsi: avoid a permanent stop of the scsi device's request queue
6d675dffd425 scsi: zfcp: fix rport unblock race with LUN recovery
057fe03d627e scsi: zfcp: do not trace pure benign residual HBA responses at default level
5cebfea8080c scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
de8a06c673ac iscsi-target: Return error if unable to add network portal
9c3928be0dba scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
dbd4e6c60b4f scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
3863ab6d710d stm class: Fix device leak in open error path
698ac693dbb4 vt: fix Scroll Lock LED trigger name
6d8bb567102c block: protect iterate_bdevs() against concurrent close
2695afd5e9c2 mei: me: add lewisburg device ids
7be0a5f39d64 mei: request async autosuspend at the end of enumeration
dfc3c8a0fa1b drivers/gpu/drm/ast: Fix infinite loop if read fails
0f95e4a58ecd drm/amdgpu: fix init save/restore list in gfx_v8.0
8bfa4f5e6395 drm/gma500: Add compat ioctl
10b598df92d9 drm/radeon/si: load the proper firmware on 0x87 oland boards
cdb7aaaaecff drm/radeon: add additional pci revision to dpm workaround
1f884ec818a6 drm/radeon: Hide the HW cursor while it's out of bounds
6fb94229b2f6 drm/radeon: Also call cursor_move_locked when the cursor size changes
9c6fb7bf404d drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
2a7a43772bff drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
28d186430686 drm/nouveau/ttm: wait for bo fence to signal before unmapping vmas
82d9824d9446 drm/nouveau/ltc: protect clearing of comptags with mutex
ce71868acee2 drm/nouveau/bios: require checksum to match for fast acpi shadow method
764e8e8af190 drm/nouveau/kms: lvds panel strap moved again on maxwell
00e1fb138ffa drm/nouveau/gr: fallback to legacy paths during firmware lookup
fef542735a48 drm/amd/amdgpu: enable GUI idle INT after enabling CGCG
bab520835f81 ACPI / video: Add force_native quirk for HP Pavilion dv6
b7eea51a3a5c ACPI / video: Add force_native quirk for Dell XPS 17 L702X
ce8100660364 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
689d59259385 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
823c5c94f716 hv: acquire vmbus_connection.channel_mutex in vmbus_free_channels()
235394e1625c docs: sphinx-extensions: make rstFlatTable work with docutils 0.13
a26a016a4e2f thermal: hwmon: Properly report critical temperature in sysfs
def2c87dc7ac clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
2f885dafe704 arm64: tegra: Add VDD_GPU regulator to Jetson TX1
bd12562fceb4 gpio: chardev: Return error for seek operations
61d0b7139cf9 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
95d2a43e5a59 regulator: stw481x-vmmc: fix ages old enable error
52980ceb1832 mmc: sdhci: Fix recovery from tuning timeout
0ed0b2592437 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
d80ff7cb5d06 ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on success
42e76c596c93 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
d2546f653bb0 rtl8xxxu: Work around issue with 8192eu and 8723bu devices not reconnecting
2abcc023a460 perf/x86/intel/cstate: Prevent hotplug callback leak
7b9e1a16a1b0 perf/x86: Fix exclusion of BTS and LBR for Goldmont
e24523a80c19 rtlwifi: Fix enter/exit power_save
c9fce6ba9c09 ssb: Fix error routine when fallback SPROM fails
c65ed08dcc04 Linux 4.8.16
645897231f96 driver core: fix race between creating/querying glue dir and its cleanup
f199bdbaab37 Revert "netfilter: move nat hlist_head to nf_conn"
99d6d4e0c50c Revert "netfilter: nat: convert nat bysrc hash to rhashtable"
774225699b4d arm64: mark reserved memblock regions explicitly in iomem
587e89bd56c1 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
959e363eaf14 arm/xen: Use alloc_percpu rather than __alloc_percpu
6fbd3fb6c4df xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
883f12a20583 tpm xen: Remove bogus tpm_chip_unregister
8419f5215db3 kernel/debug/debug_core.c: more properly delay for secondary CPUs
63b33e0885d6 watchdog: qcom: fix kernel panic due to external abort on non-linefetch
bf902ead61d8 watchdog: mei_wdt: request stop on reboot to prevent false positive event
2f826a72ea8b kernel/watchdog: use nmi registers snapshot in hardlockup handler
bbf23f00d55e CIFS: Fix a possible memory corruption in push locks
9f1f5076149a CIFS: Fix missing nls unload in smb2_reconnect()
ff04da387c10 CIFS: Fix a possible memory corruption during reconnect
6cb589c7529f ASoC: intel: Fix crash at suspend/resume without card registration
769c0922d4a6 dm space map metadata: fix 'struct sm_metadata' leak on failed create
ab10ab0a2a3d dm raid: fix discard support regression
454b98d3f2b5 dm rq: fix a race condition in rq_completed()
26011e67339e dm crypt: mark key as invalid until properly loaded
bd5fcd18c8c3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
1ca66d6a19d2 dm table: an 'all_blk_mq' table must be loaded for a blk-mq DM device
d948d3b1e416 dm table: fix 'all_blk_mq' inconsistency when an empty table is loaded
45f631113b36 blk-mq: Do not invoke .queue_rq() for a stopped queue
e3742a15d6cd PM / OPP: Pass opp_table to dev_pm_opp_put_regulator()
8b63a922ac07 usb: gadget: composite: always set ep->mult to a sensible value
d4f4b2e659f5 mm, page_alloc: keep pcp count and list contents in sync if struct page is corrupted
0927d281a2fc mm/vmscan.c: set correct defer count for shrinker
3e0ef1b8e0cc nvmet: Fix possible infinite loop triggered on hot namespace removal
6290a3bcd3c3 loop: return proper error from loop_queue_rq()
bf0f02079039 f2fs: fix overflow due to condition check order
154d83a8384e f2fs: set ->owner for debugfs status file's file_operations
67e5239c8366 Revert "f2fs: use percpu_counter for # of dirty pages in inode"
d06eaf28f1bb ext4: do not perform data journaling when data is encrypted
e33673bef6f0 ext4: return -ENOMEM instead of success
3664877022ea ext4: reject inodes with negative size
1bfcffbb8801 ext4: add sanity checking to count_overhead()
9689eb99ce0f ext4: fix in-superblock mount options processing
52a9daa3d5c0 ext4: use more strict checks for inodes_per_block on mount
7505584356d2 ext4: fix stack memory corruption with 64k block size
86efd99f0ebe ext4: fix mballoc breakage with 64k block size
8022387d236a crypto: caam - fix AEAD givenc descriptors
ade692b8f1f5 ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
23d179acb363 vfs,mm: fix return value of read() at s_maxbytes
e45692fa1aea mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
04804d83d483 block_dev: don't test bdev->bd_contains when it is not stable
52d69727a441 fs: exec: apply CLOEXEC before changing dumpable task flags
781e976ac2c6 exec: Ensure mm->user_ns contains the execed files
fc1d3e5f3cd0 btrfs: make file clone aware of fatal signals
8c59356c1232 Btrfs: fix incremental send failure caused by balance
02fffa116bda Btrfs: don't BUG() during drop snapshot
0f2e022db237 btrfs: fix a possible umount deadlock
65563ab7271b Btrfs: fix memory leak in do_walk_down
364b85c57d25 btrfs: clean the old superblocks before freeing the device
6a6e9276f3f5 Btrfs: don't leak reloc root nodes on error
4d3d9b59d963 Btrfs: return gracefully from balance if fs tree is corrupted
a6522e487b2c Btrfs: bail out if block group has different mixed flag
d7839adcb0e3 Btrfs: fix memory leak in reading btree blocks
1a087cd869c6 clk: ti: omap36xx: Work around sprz319 advisory 2.1
2b96c4b19e0a ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
dc8144f49988 ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
685c4db17890 ALSA: hda - fix headset-mic problem on a Dell laptop
b757fc019fc9 ALSA: hda - ignore the assoc and seq when comparing pin configurations
38c6095f48fe ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
5496ec423449 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
abf549a8b969 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
6b0a56e9aaf3 usbip: vudc: fix: Clear already_seen flag also for ep0
a9143e58d3cc USB: UHCI: report non-PME wakeup signalling for Intel hardware
4422a26936ae usb: gadget: composite: correctly initialize ep->maxpacket
be8f1c44177a usb: gadget: f_uac2: fix error handling at afunc_bind
79d5a30e37ab usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
e3dfbc8904b3 usb: dwc3: gadget: set PCM1 field of isochronous-first TRBs
269edaef820f USB: cdc-acm: add device id for GW Instek AFG-125
741523f3da82 USB: serial: kl5kusb105: fix open error path
f34b7e027eeb USB: serial: option: add dlink dwm-158
e47e81c4e705 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
3aa3cb940878 Btrfs: fix qgroup rescan worker initialization
691ea6c7eb1e Btrfs: fix emptiness check for dirtied extent buffers at check_leaf()
0695d8b10a88 btrfs: store and load values of stripes_min/stripes_max in balance status item
80f7d2836e37 Btrfs: fix relocation incorrectly dropping data references
f1b268d7a8e2 Btrfs: fix tree search logic when replaying directory entry deletes
65553a02a313 Btrfs: fix deadlock caused by fsync when logging directory entries
361e82137a2d Btrfs: fix BUG_ON in btrfs_mark_buffer_dirty
562de9c7ce24 btrfs: limit async_work allocation and worker func duration
f080d7094838 aoe: fix crash in page count manipulation
8bba2e2e62cb Linux 4.8.15
762c9bb16fce crypto: rsa - Add Makefile dependencies to fix parallel builds
014e5a7d9354 hotplug: Make register and unregister notifier API symmetric
3527ad05b46e batman-adv: Check for alloc errors when preparing TT local data
32ccd76788a5 m68k: Fix ndelay() macro
9fc7a4758608 ceph: don't set req->r_locked_dir in ceph_d_revalidate
a05f493f8d4e ARM: dts: imx7d: fix LCDIF clock assignment
798c825fb006 ARM: dts: orion5x: fix number of sata port for linkstation ls-gl
d271b9bec2d3 Revert "ACPI: Execute _PTS before system reboot"
3ee9f16cff18 can: peak: fix bad memory access and free sequence
212e0ff80970 can: raw: raw_setsockopt: limit number of can_filter that can be set
bdb5ed2040f5 crypto: marvell - Don't corrupt state of an STD req for re-stepped ahash
bfef274e4dae crypto: mcryptd - Check mcryptd algorithm compatibility
86bea59218a0 crypto: caam - fix pointer size for AArch64 boot loader, AArch32 kernel
666531ca650e crypto: marvell - Don't copy hash operation twice into the SRAM
04925ba9b944 acpi, nfit: fix bus vs dimm confusion in xlat_status
53ed7c2e8d02 acpi, nfit: validate ars_status output buffer size
e04e2dace316 acpi, nfit, libnvdimm: fix / harden ars_status output length handling
483ac1487a9d acpi, nfit: fix extended status translations for ACPI DSMs
0525cebf8ef7 perf/x86: Fix full width counter, counter overflow
eceab1fd7f9e vhost-vsock: fix orphan connection reset
b0224f36735e sched/autogroup: Fix 64-bit kernel nice level adjustment
2a477999977c scsi: lpfc: fix oops/BUG in lpfc_sli_ringtxcmpl_put()
ac65fe0bbdea device-dax: fix private mapping restriction, permit read-only
2386c6b188c5 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()
7b2347c8e803 locking/rtmutex: Prevent dequeue vs. unlock race
bed4eef2e8fa zram: restrict add/remove attributes to root only
4fb7569c7370 parisc: Fix TLB related boot crash on SMP machines
b81e5db49515 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm
7e8f68aa1833 parisc: Purge TLB before setting PTE
6e284445bab5 fuse: fix clearing suid, sgid for chown()
e70d6d2d7383 powerpc/boot: Fix build failure in 32-bit boot wrapper
a82ad493f045 powerpc/mm: Fix lazy icache flush on pre-POWER5
84b36287c72d powerpc/eeh: Fix deadlock when PE frozen state can't be cleared
7b8c57cad53a Linux 4.8.14
1670d1584701 esp6: Fix integrity verification when ESN are used
b3e9d4982939 esp4: Fix integrity verification when ESN are used
be5339492b29 flowcache: Increase threshold for refusing new allocations
3a116fa8c95d Revert: "ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()"
686182870c6a ipv4: Set skb->protocol properly for local output
e67bd82fb79d ipv6: Set skb->protocol properly for local output
22d94c326660 Don't feed anything but regular iovec's to blk_rq_map_user_iov
e4a6c61c6b71 constify iov_iter_count() and iter_is_iovec()
907bc3181c9a sparc32: Fix inverted invalid_frame_pointer checks on sigreturns
360e257f8cf3 sparc64: fix compile warning section mismatch in find_node()
2f02dcb673a4 sparc64: Fix find_node warning if numa node cannot be found
ad02ec7d37a2 ipv4: Drop suffix update from resize code
0b1c601d367f ipv4: Drop leaf from suffix pull/push functions
cd8a6c0e95bf ipv4: Fix memory leak in exception case for splitting tries
a8780378b39e ipv4: Restore fib_trie_flush_external function and fix call ordering
5ff5e5c06c25 net: ping: check minimum size on ICMP header length
f818e5d86aef net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
bfecf9017f8b geneve: avoid use-after-free of skb->data
4daa2c73eb05 tipc: check minimum bearer MTU
1ff3209a21c8 sh_eth: remove unchecked interrupts for RZ/A1
bbf913d774b7 net: bcmgenet: Utilize correct struct device for all DMA operations
accb7c99fc0f cdc_ether: Fix handling connection notification
34457543e203 ip6_offload: check segs for NULL in ipv6_gso_segment.
cef222d40f2e packet: fix race condition in packet_set_ring
17941a9d6409 GSO: Reload iph after pskb_may_pull
ff0d7874078d net/dccp: fix use-after-free in dccp_invalid_packet
023cd33ece37 net: macb: fix the RX queue reset in macb_rx()
25d9b4bb64ea netlink: Do not schedule work from sk_destruct
f5dad3473d83 netlink: Call cb->done from a worker thread
360d6a23e79d net/sched: pedit: make sure that offset is valid
aa239369bdfa net: dsa: fix unbalanced dsa_switch_tree reference counting
9a7479273949 net, sched: respect rcu grace period on cls destruction
a9437ebc69f5 net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change
ddf053431efe udplite: call proper backlog handlers
7b0aa75be3ab ipv6: bump genid when the IFA_F_TENTATIVE flag is clear
58c8cc33de6c rtnl: fix the loop index update error in rtnl_dump_ifinfo()
84df56749f48 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
7f8b251a0985 rtnetlink: fix FDB size computation
c39caa8f80c0 af_unix: conditionally use freezable blocking calls in read
bdc5c63e4b38 net: sky2: Fix shutdown crash
a75684ab7a12 ip6_tunnel: disable caching when the traffic class is inherited
1b079d5b9fc1 net: check dead netns for peernet2id_alloc()
65dfc8b4547f net: dsa: b53: Fix VLAN usage and how we treat CPU port
f959eb507439 virtio-net: add a missing synchronize_net()
8070f33be6c4 gro_cells: mark napi struct as not busy poll candidates
55d64c0b3c15 Linux 4.8.13
a4edb1a2b045 arm64: suspend: Reconfigure PSTATE after resume from idle
6353400d9130 arm64: mm: Set PSTATE.PAN from the cpu_enable_pan() call
b49b1ae6d341 arm64: cpufeature: Schedule enable() calls instead of calling them via IPI
e4e77deda200 batman-adv: Detect missing primaryif during tp_send as error
f106de5604dd clk: sunxi: Fix M factor computation for APB1
9e2d9e95094a perf/x86: Restore TASK_SIZE check on frame pointer
ab34b429a01f drm/mediatek: fix null pointer dereference
43b5bb262711 pwm: Fix device reference leak
6c6947613979 KVM: use after free in kvm_ioctl_create_device()
ff8b06b4efa6 arm64: dts: juno: fix cluster sleep state entry latency on all SoC versions
f67b89acdfa1 drm/radeon: fix check for port PM availability
835bb5cd3653 drm/amdgpu: fix check for port PM availability
972d595824b6 drm/radeon: fix power state when port pm is unavailable (v2)
be1b75edf20b drm/amdgpu: fix power state when port pm is unavailable
bd78c077f8fe drm/i915: drop the struct_mutex when wedged or trying to reset
5dd86b6e5873 drm/i915: Don't touch NULL sg on i915_gem_object_get_pages_gtt() error
05abe7452b71 KVM: arm/arm64: vgic: Don't notify EOI for non-SPIs
ca42bd35d308 mwifiex: printk() overflow with 32-byte SSIDs
de9ba13ebfdb PCI: Set Read Completion Boundary to 128 iff Root Port supports it (_HPX)
4f4857148b4a PCI: Export pcie_find_root_port
27dce9bcad4d mm: workingset: fix NULL ptr in count_shadow_nodes
60e33689a06e rcu: Fix soft lockup for rcu_nocb_kthread
b6f9e236b7ef Input: psmouse - disable automatic probing of BYD touchpads
6ca8ab7052c4 Input: change KEY_DATA from 0x275 to 0x277
600bec25b855 ovl: fix d_real() for stacked fs
5661a6926871 mm: fix false-positive WARN_ON() in truncate/invalidate for hugetlb
48b6b50a2ba5 kasan: update kasan_global for gcc 7
db04d354b7f1 zram: fix unbalanced idr management at hot removal
010020900006 thp: fix corner case of munlock() of PTE-mapped THPs
08fd95de5eee mm, thp: propagation of conditional compilation in khugepaged.c
76e59ecacd54 ARC: Don't use "+l" inline asm constraint
b43fb9f6f162 ARC: mm: PAE40: Fix crash at munmap
8d1ee7b245ef scsi: libfc: fix seconds_since_last_reset miscalculation
10e2627377b0 scsi: hpsa: use bus '3' for legacy HBA devices
e170c1003c02 libata-scsi: Fixup ata_gen_passthru_sense()
(From OE-Core rev: e58e0ed459c18e2e8de63350e95a45307ce2b7c7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 9cd1850a0a8882796f89c65c073bc80f915f413f)
fix merged conflicts do to changes in master
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release. Changes are as follows:
cdd86b972265 Linux 4.4.41
9f11a0ab6a96 net: mvpp2: fix dma unmapping of TX buffers for fragments
d85727365859 sg_write()/bsg_write() is not fit to be called under KERNEL_DS
7fb5a936457d kconfig/nconf: Fix hang when editing symbol with a long prompt
e321f384d8a5 target/user: Fix use-after-free of tcmu_cmds if they are expired
e5de1c724c06 powerpc: Convert cmp to cmpd in idle enter sequence
cadaba838f1b powerpc/ps3: Fix system hang with GCC 5 builds
8a2bcaae1bc7 nfs_write_end(): fix handling of short copies
b66e3126569e libceph: verify authorize reply on connect
edfe6a79f905 PCI: Check for PME in targeted sleep state
8db00756afbd Input: drv260x - fix input device's parent assignment
44685f03dd56 media: solo6x10: fix lockup by avoiding delayed register write
952a9f5af9f8 IB/cma: Fix a race condition in iboe_addr_get_sgid()
b7f73ada92a3 IB/multicast: Check ib_find_pkey() return value
7b1369215616 IPoIB: Avoid reading an uninitialized member variable
0de381ca35b5 IB/mad: Fix an array index check
e945df4c6bc2 fgraph: Handle a case where a tracer ignores set_graph_notrace
88e41441ccd4 platform/x86: asus-nb-wmi.c: Add X45U quirk
2ef502e860f1 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it
19aa9c14989e kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
129e4323df37 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT
ddf5718adfb8 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state
1c8841c9b7d2 md/raid5: limit request size according to implementation limits
d78006d2345f sc16is7xx: Drop bogus use of IRQF_ONESHOT
b988320dab53 s390/vmlogrdr: fix IUCV buffer allocation
656c9abd574b firmware: fix usermode helper fallback loading
429a533a3d9a ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache
dbb67e1d585d scsi: avoid a permanent stop of the scsi device's request queue
565ae61d8995 scsi: zfcp: fix rport unblock race with LUN recovery
3b3739dfa69c scsi: zfcp: do not trace pure benign residual HBA responses at default level
1cc0f9488b91 scsi: zfcp: fix use-after-"free" in FC ingress path after TMF
bccd78746f88 scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map
49ea06561154 scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset
edf1169bbbaa vt: fix Scroll Lock LED trigger name
f4f02a856a92 block: protect iterate_bdevs() against concurrent close
abb78811e242 mei: request async autosuspend at the end of enumeration
1f9c91a37542 drivers/gpu/drm/ast: Fix infinite loop if read fails
970dc8cdec9c drm/gma500: Add compat ioctl
0e0b70f581fc drm/radeon: add additional pci revision to dpm workaround
62a272498dbe drm/radeon: Hide the HW cursor while it's out of bounds
deac395e0ba8 drm/radeon: Also call cursor_move_locked when the cursor size changes
cb8d63d885e9 drm/nouveau/i2c/gk110b,gm10x: use the correct implementation
adea4a7b0f2b drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex
d32d4b3d7c9f drm/nouveau/ltc: protect clearing of comptags with mutex
3a2990e67b05 drm/nouveau/bios: require checksum to match for fast acpi shadow method
a163451c80b0 drm/nouveau/kms: lvds panel strap moved again on maxwell
69e236e70ead ACPI / video: Add force_native quirk for HP Pavilion dv6
2c2375e40d28 ACPI / video: Add force_native quirk for Dell XPS 17 L702X
01b6089b5622 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
5283a7bedbcb staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
e692edec93c1 thermal: hwmon: Properly report critical temperature in sysfs
9d9541d44a26 clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk
e01b04be3eb0 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion
96ea1b9ea099 regulator: stw481x-vmmc: fix ages old enable error
842ec27cd3f2 mmc: sdhci: Fix recovery from tuning timeout
dae7cb414834 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards.
b63929e8e130 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts
05f4183ab5a4 rtlwifi: Fix enter/exit power_save
f5d90f434c9a ssb: Fix error routine when fallback SPROM fails
a3edc7b2e537 Linux 4.4.40
7a2b4ee54b3f ppp: defer netns reference release for ppp channel
37de955c11b5 driver core: fix race between creating/querying glue dir and its cleanup
f85a337b4066 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket
fdb17ddd0a49 arm/xen: Use alloc_percpu rather than __alloc_percpu
9397e79c4b2d xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing
00a0de085d60 tpm xen: Remove bogus tpm_chip_unregister
f93777c91544 kernel/debug/debug_core.c: more properly delay for secondary CPUs
f2b8b3455b22 kernel/watchdog: use nmi registers snapshot in hardlockup handler
597f9c03b2d5 CIFS: Fix a possible memory corruption in push locks
a9c69e152897 CIFS: Fix missing nls unload in smb2_reconnect()
f0b715409cb9 CIFS: Fix a possible memory corruption during reconnect
6dcb01e78333 ASoC: intel: Fix crash at suspend/resume without card registration
701ec6e5cea7 dm space map metadata: fix 'struct sm_metadata' leak on failed create
85290a163b06 dm crypt: mark key as invalid until properly loaded
9188611f81e3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
f0898dc2852b blk-mq: Do not invoke .queue_rq() for a stopped queue
c53af76d5de1 usb: gadget: composite: always set ep->mult to a sensible value
b35f34f66943 exec: Ensure mm->user_ns contains the execed files
0812936b11ea fs: exec: apply CLOEXEC before changing dumpable task flags
14d8e5cae039 mm/vmscan.c: set correct defer count for shrinker
ffef1630187b loop: return proper error from loop_queue_rq()
011ded975e34 f2fs: set ->owner for debugfs status file's file_operations
3460edfc70c2 ext4: do not perform data journaling when data is encrypted
36af7cd560b9 ext4: return -ENOMEM instead of success
519a30148e23 ext4: reject inodes with negative size
f655b3575c47 ext4: add sanity checking to count_overhead()
3995881b0f72 ext4: fix in-superblock mount options processing
386588013810 ext4: use more strict checks for inodes_per_block on mount
7b74c351de1c ext4: fix stack memory corruption with 64k block size
26492d8a22b0 ext4: fix mballoc breakage with 64k block size
4b6050922fb8 crypto: caam - fix AEAD givenc descriptors
1c1f15f8ebfb ptrace: Capture the ptracer's creds not PT_PTRACE_CAP
03eed7afbc09 mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
d80411dea6a4 block_dev: don't test bdev->bd_contains when it is not stable
85cfbd9db2c6 btrfs: make file clone aware of fatal signals
323ffc03ddb2 Btrfs: don't BUG() during drop snapshot
107800061996 Btrfs: fix memory leak in do_walk_down
5a9b659edef6 Btrfs: don't leak reloc root nodes on error
8ca6845a58cd Btrfs: return gracefully from balance if fs tree is corrupted
78a587c608f9 Btrfs: bail out if block group has different mixed flag
25ee81e54620 Btrfs: fix memory leak in reading btree blocks
590202271ffd clk: ti: omap36xx: Work around sprz319 advisory 2.1
119b6658ce05 ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
f0ea0ade046e ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
fa695bdc1741 ALSA: hda - fix headset-mic problem on a Dell laptop
faff777fb456 ALSA: hda - ignore the assoc and seq when comparing pin configurations
518fca87c645 ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016
29348065c339 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change
d0ba0f6a8291 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks
cbb2a2563587 USB: UHCI: report non-PME wakeup signalling for Intel hardware
8ede2d7908aa usb: gadget: composite: correctly initialize ep->maxpacket
c67c2ed829f3 usb: gadget: f_uac2: fix error handling at afunc_bind
747b31526369 usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices
acca3cf0d62b USB: cdc-acm: add device id for GW Instek AFG-125
5d6a392b6d36 USB: serial: kl5kusb105: fix open error path
6a6e113cd928 USB: serial: option: add dlink dwm-158
17907f291779 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041
1f5adadcd032 Btrfs: fix qgroup rescan worker initialization
b5e715ed11ec btrfs: store and load values of stripes_min/stripes_max in balance status item
919b74ba5ed5 Btrfs: fix tree search logic when replaying directory entry deletes
0d619cf6f982 btrfs: limit async_work allocation and worker func duration
a34f0e8a2f89 Linux 4.4.39
5d488dee9236 crypto: rsa - Add Makefile dependencies to fix parallel builds
1c0f4e0ebb79 hotplug: Make register and unregister notifier API symmetric
537e42d759ae batman-adv: Check for alloc errors when preparing TT local data
f03531d09125 m68k: Fix ndelay() macro
55e15b2f44d7 arm64: futex.h: Add missing PAN toggling
e29949ed3903 can: peak: fix bad memory access and free sequence
083021bdba1e can: raw: raw_setsockopt: limit number of can_filter that can be set
9a3baed9103b crypto: mcryptd - Check mcryptd algorithm compatibility
c4db8a7d1e0c perf/x86: Fix full width counter, counter overflow
c6a5bf4cda12 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()
b27d9147f24a locking/rtmutex: Prevent dequeue vs. unlock race
e286b6c16758 zram: restrict add/remove attributes to root only
a0bd6aa097a4 parisc: Fix TLB related boot crash on SMP machines
605f315c5a83 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm
db9598605768 parisc: Purge TLB before setting PTE
4bcea472de10 powerpc/eeh: Fix deadlock when PE frozen state can't be cleared
c95b7f1fab0c Linux 4.4.38
52783ada69b4 esp6: Fix integrity verification when ESN are used
3bf28ce9c749 esp4: Fix integrity verification when ESN are used
2176ec1c82ea ipv4: Set skb->protocol properly for local output
25d8b7c105e1 ipv6: Set skb->protocol properly for local output
d41fb2fbb28d Don't feed anything but regular iovec's to blk_rq_map_user_iov
fd1aa12c6340 constify iov_iter_count() and iter_is_iovec()
899b60535a2a sparc64: fix compile warning section mismatch in find_node()
ed7b60db00a1 sparc64: Fix find_node warning if numa node cannot be found
438e91da24fa sparc32: Fix inverted invalid_frame_pointer checks on sigreturns
06cdad2b6d92 net: ping: check minimum size on ICMP header length
77125815f058 net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
6e682c528b3e geneve: avoid use-after-free of skb->data
a89e2ff894bc sh_eth: remove unchecked interrupts for RZ/A1
c36a2a14f26d net: bcmgenet: Utilize correct struct device for all DMA operations
5a01eaf19858 packet: fix race condition in packet_set_ring
1a15519fdcdb net/dccp: fix use-after-free in dccp_invalid_packet
baaf0c65bc8e netlink: Do not schedule work from sk_destruct
d1ed9c1dba63 netlink: Call cb->done from a worker thread
6c42bd6a393c net/sched: pedit: make sure that offset is valid
cfa7c16d4577 net, sched: respect rcu grace period on cls destruction
94de6f2ffb3d net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change
56366fa0ad46 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
aece024e38cb rtnetlink: fix FDB size computation
6ef59b986190 af_unix: conditionally use freezable blocking calls in read
acf9504ae220 net: sky2: Fix shutdown crash
49695d1e3b81 ip6_tunnel: disable caching when the traffic class is inherited
2b54505c877f net: check dead netns for peernet2id_alloc()
790fd11f9ed6 virtio-net: add a missing synchronize_net()
(From OE-Core rev: c3c66220630162c84ead895dc98c7d951b0e2e85)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 2042e74352fcec84ac69645387273438794966f6)
fixed up merge conflicts do to changes in master
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: 4d9fcf9f2fa573218cda3a133e0da34c4185838a)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 96ed437d57316153453bb5e170a4fd4f3a95883d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These changes are required for compatibility with ConnMan, which by default
uses table ids greater than 255.
(From OE-Core rev: 8ab20681730a3cbd75ed0c7c208a30b437714915)
Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit e9114bdd8a83b88f59526780910c49e3092fdd57)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream commit to address vulnerabilities:
CVE: CVE-2017-6965
[BZ 21137] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21137
Fix readelf writing to illegal addresses whilst processing corrupt input
files containing symbol-difference relocations.
PR binutils/21137
* readelf.c (target_specific_reloc_handling): Add end parameter.
Check for buffer overflow before writing relocated values.
(apply_relocations): Pass end to target_specific_reloc_handling.
CVE: CVE-2017-6966
[BZ 21139] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21139
Fix read-after-free error in readelf when processing multiple, relocated
sections in an MSP430 binary.
PR binutils/21139
* readelf.c (target_specific_reloc_handling): Add num_syms
parameter. Check for symbol table overflow before accessing
symbol value. If reloc pointer is NULL, discard all saved state.
(apply_relocations): Pass num_syms to target_specific_reloc_handling.
Call target_specific_reloc_handling with a NULL reloc pointer
after processing all of the relocs.
(From OE-Core rev: 477afc5634698d6c5cdb6d7705a31d859495695d)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Backported from master.]
We don't want to run resize on non serial consoles. There's
been an earlier attempt (6557787), so this builds upon that.
The problem we're seeing is that if there is text buffered in
the virtual console (like from a desperate user trying to
enter login details), resize will get stuck while calling
ioctl(tty, TCSETAW);
Since serial consoles are named (not just numbered), this
change limits resize's reach even further to run only on
/dev/tty[A-z] (thus avoiding /dev/tty[0-9]).
(From OE-Core rev: 00ff70dc6284a510e4fe3acfaae6b59663fd3141)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fedorahosted.org was retired on March 1st, 2017. This is to
update the SRC_URI to point to github.com.
Update the ${PN} to ${BPN} in order to pass the autobuilder
mulitlib enable configuration.
[YOCTO #11226]
(From OE-Core rev: b935c1e9dd17afa85a9ffe213d5f94051f585529)
Signed-off-by: Choong YinThong <yin.thong.choong@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-tmpfiles-setup will fail at boot, so we suppress
the default versions of etc.conf and home.conf.
We also make sure that /var/{cache,spool} and /srv are writeable
if they exist.
(From OE-Core rev: a7c6129a7c9c0c7e1b729e16a60b2ca704af3f97)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was already whitelisted, but the 4.8 kernel changed the error
message, causing it to get caught by parselogs again.
Fixes [YOCTO #10494].
(From OE-Core rev: a163060c25615fd29cdc477319f83997e65d0846)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit e1bad14231115f3b1a2bf844ef5b2022c648b55d)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
.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]
(From OE-Core rev: 9f8013e3339533c7d60139c1993a5d077fe02ee5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* when OPKGLIBDIR doesn't have the default /var/lib value it will
silently fail to copy package database from normal rootfs to debugfs
rootfs and then when trying to install *-dbg complimentary packages
it won't install anything, because installed_pkgs.txt file generated
from debugfs is empty
(From OE-Core rev: 0554537271f56d95cb43e09bb831f57f82e8f3ac)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* respect it for incremental rootfs generation
* add lists_dir option to opkg.conf
* also fix setting info_dir and status_file when they use default value, the
problem is that self.opkg_dir is already prefixed with rootfs directory,
comparing it with /var/lib/opkg always returned false and the options were
appended to config file unnecessary
* with opkg 0.3.4 we can use VARDIR prefix added in:
commit d2a8e23dc669adc398f4bb8bcfcabfcf925708f7
Author: Florin Gherendi <floring2502@gmail.com>
Date: Mon Dec 19 12:25:38 2016 +0200
libopkg: make the /var and /etc directories configurable at compile time.
(From OE-Core rev: f1d21d1d408d89cc3bd59cd30ab10c902863c7c0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit: 512334f102a33833d39af53467894315f0715d07
"python-3.5-manifest: Add imp to importlib"
added imp to importlib in the generated manifest, but not in the generator script.
(From OE-Core rev: 70bea8d0be82781ce615794434225418cce63a90)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
* In build1:
$ runqemu nfs qemux86-64
In build2:
$ runqemu nfs qemux86-64
It would fail before since the port numerbs and conf files are
conflicted, now make runqemu-export-rootfs work together with runqemu to
fix the problem.
* And we don't need export PSEUDO_LOCALSTATEDIR in runqemu, the
runqemu-export-rootfs can handle it well based on NFS_EXPORT_DIR.
* Remove "async" option from unfsd to fix warning in syslog:
Warning: unknown exports option `async' ignored
* Fixed typos
Both slirp and tap can work.
(From OE-Core rev: f3a9ff2cea88cf4c90b1037b3ca17e6a63ea33ee)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ runqemu nfs qemux86-64
[snip]
On your target please remember to add the following options for NFS
nfsroot=IP_ADDRESS:/path/to/nfsroot,nfsvers=3,port=,mountprog=,nfsprog=,udp,mountport=
[snip]
Note that the values are null, this is because their var names are
inconsistent.
[YOCTO #10519]
(From OE-Core rev: b572921b359010f281cdb861a73bf05317c6dacf)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the recently implemented update-alternatives for bash binary,
sanity checker may end up with a (false-positive) error such as:
Error, /bin/sh links to /bin/bash.bash, must be dash or bash
This patch modifies the test: presence of "/bash" or "/dash" in shell binary
name results in pass.
[YOCTO#11108]
(From OE-Core rev: 3f2bc735e514b27a21ac47524fe0c5ca16e19dd7)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If image type "foo" depends on image type "bar.xz", then dependencies
should be collected from the base image type (ie "IMAGE_DEPENDS_bar")
not from "IMAGE_DEPENDS_bar.xz".
(From OE-Core rev: 854fff614059100494326adeec7c48fa5272d080)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8a9f249a9166347cc0468191ce130003e3d306e1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously if IMAGE_TYPEDEP_* contained a conversion type of the form,
"foo.bar", the dependency on CONVERSION_DEPENDS_bar would not get added
to the task depends for do_rootfs.
[YOCTO #10883]
(From OE-Core rev: c0ff0e1ff872b04006b26c6db4f8c9cf053b0764)
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 037d39898e0e16c6d5b24a8d3844abfb328d3c14)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gmplib has some assembly routines. These have not been optimized
for MIPS R6 yet. Add --disable-assembly so that the C implementation
is used.
(From OE-Core rev: b21d5c0c615c99bd0d756ab32818acc3b648fb4e)
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b0975809fe43b7506cc30a60245f5e32b275a3ec)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without the int() function this variable will be a string. This will led
to a error in Filemap on line 545 due wrong types.
> [...]
> File
> ".../poky/scripts/lib/wic/filemap.py", line 545, in sparse_copy
> if start < skip < end:
> TypeError: unorderable types: int() < str()
(From OE-Core rev: 5b9bcfef9086c19a4577d36729b7b339f959d5c4)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 46b5814bcdc0e7e3cb293e877e2aa949baf5fef8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.
(From OE-Core rev: e29deac69ed29226b68001db2fcfb3ed24c0568a)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 5c024d71f9413b81ee1707dbc41f0721f8f27bdb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building on a system without "cc" showed this recipe doesn't respect
the $CC variable. Fix this by passing the right option to the makefile.
(From OE-Core rev: 313d977fdfe571ad6edf65c6ed20bbb0110dc320)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 402080c0a77443f541fa3d658b79f3fba327279d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Southern Chile moves from -04/-03 to -03, and Mongolia
discontinues DST.
Changes to future time stamps
Mongolia no longer observes DST. (Thanks to Ganbold Tsagaankhuu.)
Chile's Region of Magallanes moves from -04/-03 to -03 year-round.
Its clocks diverge from America/Santiago starting 2017-05-13 at
23:00, hiving off a new zone America/Punta_Arenas. Although the
Chilean government says this change expires in May 2019, for now
assume it's permanent. (Thanks to Juan Correa and Deborah
Goldsmith.) This also affects Antarctica/Palmer.
Changes to past time stamps
Fix many entries for historical time stamps for Europe/Madrid
before 1979, to agree with tables compiled by Pere Planesas of the
National Astronomical Observatory of Spain. As a side effect,
this changes some time stamps for Africa/Ceuta before 1929, which
are probably guesswork anyway. (Thanks to Steve Allen and
Pierpaolo Bernardi for the heads-ups, and to Michael Deckers for
correcting the 1901 transition.)
Ecuador observed DST from 1992-11-28 to 1993-02-05.
(Thanks to Alois Treindl.)
Asia/Atyrau and Asia/Oral were at +03 (not +04) before 1930-06-21.
(Thanks to Stepan Golosunov.)
Changes to past and future time zone abbreviations
Switch to numeric time zone abbreviations for South America, as
part of the ongoing project of removing invented abbreviations.
This avoids the need to invent an abbreviation for the new Chilean
new zone. Similarly, switch from invented to numeric time zone
abbreviations for Afghanistan, American Samoa, the Azores,
Bangladesh, Bhutan, the British Indian Ocean Territory, Brunei,
Cape Verde, Chatham Is, Christmas I, Cocos (Keeling) Is, Cook Is,
Dubai, East Timor, Eucla, Fiji, French Polynesia, Greenland,
Indochina, Iran, Iraq, Kiribati, Lord Howe, Macquarie, Malaysia,
the Maldives, Marshall Is, Mauritius, Micronesia, Mongolia,
Myanmar, Nauru, Nepal, New Caledonia, Niue, Norfolk I, Palau,
Papua New Guinea, the Philippines, Pitcairn, Qatar, Réunion, St
Pierre & Miquelon, Samoa, Saudi Arabia, Seychelles, Singapore,
Solomon Is, Tokelau, Tuvalu, Wake, Vanuatu, Wallis & Futuna, and
Xinjiang; for 20-minute daylight saving time in Ghana before 1943;
for half-hour daylight saving time in Belize before 1944 and in
the Dominican Republic before 1975; and for Canary Islands before
1946, for Guinea-Bissau before 1975, for Iceland before 1969, for
Indian Summer Time before 1942, for Indonesia before around 1964,
for Kenya before 1960, for Liberia before 1973, for Madeira before
1967, for Namibia before 1943, for the Netherlands in 1937-9, for
Pakistan before 1971, for Western Sahara before 1977, and for
Zaporozhye in 1880-1924.
For Alaska time from 1900 through 1967, instead of "CAT" use the
abbreviation "AST", the abbreviation commonly used at the time
(Atlantic Standard Time had not been standardized yet). Use "AWT"
and "APT" instead of the invented abbreviations "CAWT" and "CAPT".
Use "CST" and "CDT" instead of invented abbreviations for Macau
before 1999 and Taiwan before 1938, and use "JST" instead of the
invented abbreviation "JCST" for Japan and Korea before 1938.
Change to database entry category
Move the Pacific/Johnston link from 'australasia' to 'backward',
since Johnston is now uninhabited.
(From OE-Core rev: 697ea2e2776e54b5cac70461b8aafa2c9b7a0bc3)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 784a8379260759700ab8482b1699c9567d6e9f3f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
zic no longer mishandles some transitions in January 2038 when it
attempts to work around Qt bug 53071. This fixes a bug affecting
Pacific/Tongatapu that was introduced in zic 2016e. localtime.c
now contains a workaround, useful when loading a file generated by
a buggy zic. (Problem and localtime.c fix reported by Bradley
White.)
zdump -i now outputs non-hour numeric time zone abbreviations
without a colon, e.g., "+0530" rather than "+05:30". This agrees
with zic %z and with common practice, and simplifies auditing of
zdump output.
zdump is now buildable again with -DUSE_LTZ=0.
(Problem reported by Joseph Myers.)
zdump.c now always includes private.h, to avoid code duplication
with private.h. (Problem reported by Kees Dekker.)
localtime.c no longer mishandles early or late timestamps
when TZ is set to a POSIX-style string that specifies DST.
(Problem reported by Kees Dekker.)
date and strftime now cause %z to generate "-0000" instead of
"+0000" when the UT offset is zero and the time zone abbreviation
begins with "-".
Changes to documentation and commentary
The 'Theory' file now better documents choice of historical time
zone abbreviations. (Problems reported by Michael Deckers.)
tz-link.htm now covers leap smearing, which is popular in clouds.
(From OE-Core rev: 064457dd47cff339ae442c29ce23648a83a695b9)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 6c95fbf51ec538e29083a4a890d106b732c1b182)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
zic no longer mishandles file systems that lack hard links, fixing
bugs introduced in 2016g. (Problems reported by Tom Lane.)
Also, when the destination already contains symbolic links, zic
should now work better on systems where the 'link' system call
does not follow symbolic links.
Changes to documentation and commentary
tz-link.htm now documents the relationship between release version
numbers and development-repository commit tags. (Suggested by
Paul Koning.)
The 'Theory' file now documents UT.
iso3166.tab now accents "Curaçao", and commentary now mentions
the names "Cabo Verde" and "Czechia". (Thanks to Jiří Boháč.)
(From OE-Core rev: 3fb5ddce97af1d4ada0dcc7f9c0ceef6ac392918)
(From OE-Core rev: b83b3565554c923468049ea1fdc9bb5dcec631aa)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9d6b482f2275c054dff91b81ac901b612f9c9b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Saratov, Russia moves from +03 to +04 on 2016-12-04.
Changes to future time stamps
Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00.
This hives off a new zone Europe/Saratov from Europe/Volgograd.
(Thanks to Yuri Konotopov and Stepan Golosunov.)
Changes to past time stamps
The new zone Asia/Atyrau for Atyraū Region, Kazakhstan, is like
Asia/Aqtau except it switched from +05/+06 to +04/+05 in spring
1999, not fall 1994. (Thanks to Stepan Golosunov.)
Changes to past time zone abbreviations
Asia/Gaza and Asia/Hebron now use "EEST", not "EET", to denote
summer time before 1948. The old use of "EET" was a typo.
(From OE-Core rev: a0b389b5f3effad5194109f9914dec6125b3569d)
(From OE-Core rev: 5e117f4250d6155d3014f85dd1cbbfad0afdf282)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 147d7802926153ef0abb12d5e738576d8dfd02d7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of html5lib 0.9999999/1.0b8 (released on July 14, 2016), some modules
have moved from _base to base. Handle this, while staying compatible
with earlier versions.
(Bitbake rev: bdf7a362ecdafd47f309b7a21feac4b94624f287)
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 87c17b352daa63bc4f62e8802982288ab1839f1b.
Upstream restored the original hashes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Machines that cloned a while ago will have the commit, but new
deployments won't because it seems the upstream changed/rebased
and the old commit ID has been garbage-collected away. Hence
the fetch fails to check out the named commit ID.
Both the old (gone) commit, and the "new" commit show the same
dates and commit log and point at 5.28, so hopefully this is
the right thing to do. A git diff of the two seems to only show
a blanket uprev of CVS tags and deletion of a couple autogen'd
files, and no real source changes.
(From OE-Core rev: adb71e06768adadda7b69c3b5e81ca3ad67237f4)
Cc: Christos Zoulas <christos@zoulas.com>
(From OE-Core rev: 87c17b352daa63bc4f62e8802982288ab1839f1b)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also run sanity check for all additional multiconfig configurations
as listed in BBMULTICONFIG, not just the "default" configuration.
[YOCTO#10810]
(Bitbake rev: 0f7fdaa8212a8b9f1f089d32e652400d6c4b4822)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently you cannot build a target for all the configured multiconfigs without
specifying a list. The list can be quite long, requiring to type several lines
of text.
This enhancement is to support globbing so that you can do this,
e.g. instead of:
$ bitbake multiconfig:A:bash multiconfig:B:bash bash
you can do:
$ bitbake multiconfig:*:bash
There are real world use cases where it is desirable to use multiconfig with
two different tasks. For example: SDKs with multiple toolchains but also
containing set of additional host tools, or multiconfig builds requiring one image for
the main CPU(s) and a different co-image for a companion CPU.
For this reason, two variations of the new syntax are supported.
For example, the following:
$ bitbake multiconfig:*:meta-toolhchain
would expand to:
$ bitbake multiconfig:A:meta-toolchain multiconfig:B:meta-toolchain meta-toolchain
However the following:
$ bitbake multiconfig:*:meta-toolhchain hosttools
would expand to:
$ bitbake multiconfig:A:meta-toolchain multiconfig:B:meta-toolchain hosttools
In other words, if the user specified the "default" task explicitly, it replaces the implicit
"default" task.
[YOCTO#10680]
(Bitbake rev: 3e80d47bea51b64ed6c8bffc033f2d11a630481e)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If was pointed out that if we have:
XXX = " A"
XXX_remove_inactive-override = "YY"
then XXX can become "A" and the leading space can be removed. This is because
the remove override code changes the variable value even when there is no
removals active. In the process it dirties the cache.
We don't really need to do this so tweak the code accordingly.
(Bitbake rev: f1ee6dfd3d193a9055320bdd555c1dbaa63f9475)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to check the gpg version and alter its command line options
accordingly.
[YOCTO #11054]
(From OE-Core rev: 863459e6b565eb6b1a74b78bc01e884ffeac2085)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 44a44b7e582a5a654baf21829d168568481c13d9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new %_gpg_sign_cmd_extra_args macro that allows customizing the
gpg options used when signing rpm packages. This is needed to be able to
sign packages with gpg 2.1 which requires "--pinentry-mode loopback" to
allow non-interactive signing.
[YOCTO #11054]
(From OE-Core rev: 5cbba2c4016ad84a54f83531868aa6e66eef468e)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 373a7146d596d27376a003014df0d06f3df5348d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the file list into chunks in order to avoid
"OSError: [Errno 7] Argument list too long"
This would happend when a package has huge amount of subpackages, e.g.
glibc-locale.
[YOCTO #11069]
(From OE-Core rev: 786eafd7b1080eccfe1c7d417eede20d75d80cb0)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 874f5016fd4dc76bc867b68470297fe59e78a9e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without doing this, locale data is not written
into usr/src/locale.
We could also just use MKDIR_P instead of mkdir_p.
(From OE-Core rev: 6a767f6587a9d60e21fa1d9687c7c08efe3f89ab)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The imp python module is the forerunner of importlib. Include imp in
the importlib subpackage instead of the misc subpackage so that it can
be depended on without bringing in a bunch of unrelated, unused modules.
(Slightly modified backport of afd9de380d
by George McCollister <george.mccollister@gmail.com>)
[YOCTO#11134]
(From OE-Core rev: 65f6010346c08bf90f381a2d834dd9908ba2100c)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing dependency on nativesdk-python3-importlib so the imp Python
module is installed.
Before this patch, running gdb from the sdk would give the following
error:
Python Exception <class 'ImportError'> No module named 'imp':
(From OE-Core rev: ad00a31fbe93e073a2d83616efcd08c5a7ef37c9)
(From OE-Core rev: d6e7dc5cbf1cc09c8882a717cd4dd34d10ec7fa3)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If an SSL/TLS server or client is running on a 32-bit host, and a
specific cipher is being used, then a truncated packet can cause that
server or client to perform an out-of-bounds read, usually resulting
in a crash.
Backported from:
8e204996292198b3a55d
* CVE: CVE-2017-3731
Upstream-status: Backport
(From OE-Core rev: 1fe1cb3e6e03b4f7f0d30b2b67edc8809a18fe70)
Signed-off-by: Alexandru Moise <alexandru.moise@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using an alternative as an initscript, the ordering between
update-rc.d and update-alternatives tasks during prerm and postinst
tasks must always be the following in order to work:
* prerm:
- stop daemon
- remove alternative
* postinst:
- add alternative
- start daemon
This patchset adds comments to the scripts generated by both classes and
organize the generated sections based on those comments.
[YOCTO #10433]
(From OE-Core rev: b0c70bef015f1b2a30556a5db5e255592d5bf316)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit aa87b1a4dcc14e4dfe719b6c55045c5662bc59c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During normal bitbake execution, the environment is cleaned of variables
not on a whitelist while starting up cooker, and then restored
afterwards. Prior to the tinfoil2 rework in master we were taking a
number of shortcuts within tinfoil and one of those was not doing this
environment cleaning. However, prior to OE-Core rev
3d39ca5c91dbb62fb43199f916bd390cd6212e3d we didn't have any code (as far
as I'm aware) that was affected by this shortcut, hence why this wasn't
an issue up to now.
The result is the following error when attempting to run "devtool build"
in the eSDK, as CCACHE_PATH is allowed through from the eSDK's
environment setup script:
----------- snip -----------
ccache: error: Could not find compiler "gcc" in PATH
...
subprocess.CalledProcessError: Command 'gcc --version' returned
non-zero exit status 1
----------- snip -----------
We can fix this by simply doing the environment filtering while we are
starting up cooker, thus the environment when uninative.bbclass comes to
do the gcc version check it is not affected by CCACHE_PATH or other
variables in the external environment that should be filtered out.
For clarity, this patch is only applicable to the bitbake 1.32 branch
as used for the OE-Core morty branch - master uses the reworked
tinfoil2 and doesn't need this fix.
Fixes [YOCTO #10961].
(Bitbake rev: a240f5ff71092cb209c44a071cd6fa07756ccfa0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I noiced builds where tasks seemed to be taking a surprisingly long time.
When I looked at the output of top/pstree, these tasks were no longer
running despite being listed in knotty. Some were in D/Z state waiting for
their exit code to be collected, others were simply not present at all.
strace showed communication problems between the worker and cooker, each
was trying to write to the other and nearly deadlocking. Eventually, timeouts
would allow them to echange 64kb of data but this was only happening every
few seconds.
Whilst this particularly affected builds on machines with large numbers
of cores (and hence highly parallal task execution) and in cases where
I had a lot of debug enabled, this situation is clearly bad in general.
This patch introduces a thread to the worker which is used to write data
back to cooker. This means that the deadlock can't occur and data flows
much more freely and effectively.
(Bitbake rev: f48befe1163147b02a9926ee38af0f7258a477e0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10889]
Missing this package. Speculation is that this package was
part of the Python 2.7 stuff but not Python 3. So, adding it
clears the issue up.
(From yocto-docs rev: fc6bfab923f18a8ec91e29fed2404690d0afeb5d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes following error in configure:
FATAL ERROR: msgfmt does not seem to be installed.
attr cannot be built without a working gettext installation.
(From OE-Core rev: 85e087d9b323ad87c59900f01aad751c9c7a9e3a)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(From OE-Core rev: d044fad8a0ac5d57deb88b25106f3a39cb7c1636)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of awk -F "." in do_install/do_deploy to strip filename extension
was deprecated long time ago in 72980d5bb465f0640ed451d1ebb9c5d2a210ad0c.
Make a similar change in postinst/postrm to properly use basename command.
Otherwise DTB files that contain dots in the name result in broken symlinks
that point to non-existent truncated files.
(From OE-Core rev: ed0f9cf63cb1226f9d92377e13ef63e36a95d29d)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(From OE-Core rev: 40c2addf0f0ee16b1c1334cf00f1490ffeaac475)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With enabled SSTATE_MIRRORS sstate code expects mirrors to
contain entries for all tasks, which is not the case for ext
installer as it uses reduced sstate cache.
Added do_package tasks to BB_SETSCENE_ENFORCE_WHITELIST to prevent
installer failing with ERROR: Sstate artifact unavailable
[YOCTO #10832]
(From OE-Core rev: 2ed46ada4b8e496493835e84b36f7e9c367f59d2)
(From OE-Core rev: eb2fc2cd9081a4533ed30fe81c9f491b06cc5ae1)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mapped uninative sstate directories to make ext SDK installer to
use them when it's run on systems with gcc version different from
gcc version used to build installer.
[YOCTO #10832]
(From OE-Core rev: fb945c0fd2e66d70461e6cf2e602020eeabe32f7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream have removed the file from zlib.net as a new version has
been released, switch to fetching from the official sourceforge
mirror.
[YOCTO #10879]
(From OE-Core rev: bb99e4a620efd59556539c156cd98ea23aae74c8)
(From OE-Core rev: b7599330f1d629384e16a5fbeffc1a65c1555667)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.ent - changed variables appropriately for 2.2.1
* <manual> - updated the manual revision tables to have a new
2.2.1 entry indicating a "January 2017" release
* mega-manual.sed - Updated the "2.2" string to "2.2.1" so
links will work.
(From yocto-docs rev: 20eeccff9fdad25f7b21aa6326999deb3d58abc4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #7096]
Applied a couple review comments to the section to clarify where
to set key variables. Also fixed an incorrect variable name used
to specify the *.cpio file.
(From yocto-docs rev: 1ef9bb89057be46878a70c558268b5ace43967f8)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10763]
The final example in the section describing how to create
the base recipe using receipetool create was wrong. I updated
it to use the -d option in addition to the -o opetion. I also
changed the description to match appropriately.
(From yocto-docs rev: 749970f4394af3855751c776689b7002232f2d13)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #7096]
We did not document how to create an initramfs image to be included
with a kernel build. Various variables sort of inferred the
knowledge. I created a new section in the "Common Tasks" section
of the dev-manual that describes how to create an initramfs image.
Also, I updated the kernel.bbclass reference section to point back
to the new "how-to" section.
Finally, I also created a bunch of cross-reference links from various
related variables back to the new "how-to" section.
(From yocto-docs rev: a14e550494641c46ac2518632cbf251e07d459fd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This term was incorrect and I have replaced it with the
term "partitioned."
(From yocto-docs rev: af1bf889bf862b1bc861de72888a82e25997ab71)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
new information on how wic works
(From yocto-docs rev: c5bfbba2bc810eb1ff8825b66aa1397cfeed8ce1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This new variable points to the location of the wics kickstart
file.
(From yocto-docs rev: 6d9a7220ed41c8a512eccbad0ae170072d40fc6f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10714]
Apparently there is some issues with GTK3 libraries for the Mars
Eclipse version. The note provides a workaround that requires
editing the eclipse.ini file.
(From yocto-docs rev: 89ace71c6d9d3a9db84bb9bb2b2abe4779a516f6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes an error such as:
Exception: File "/master/poky/meta-yocto-bsp/lib/oeqa/controllers/edgeroutertarget.py", line 47
self.image_fstype = self.get_image_fstype(d)
TabError: inconsistent use of tabs and spaces in indentation
(From meta-yocto rev: 5ff5dc2767dfef93c314e7465a52ca2dce553604)
(From meta-yocto rev: d1c50ea67f53b5fa2618b460efe4cc879d7cee0c)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
People are struggling with multiconfig as the point the conf file
is injected into the data store is not what people expect. We can't
really use a post config since that is too late and we can't really
use a pre config file since that is too early. In OE terms, we need
something right around the local.conf point so it behaves in a similar
way.
A way to handle this is to set the new variable BB_CURRENT_MC to be the
currently selected multiconfig, then the metadata itself can choose
when to inject the approriate configuration.
(Bitbake rev: 1469828fa747da0aaaa3e964954ff17f2b3180fa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fakeroot workers usually have dependencies that need to be ready before they
can be started. Starting them as a block therefore doesn't work as the
dependencies may or may not have been built. Therefore start the multiconfig
fakeworkers individually upon demand.
[YOCTO #10344]
(Bitbake rev: ac5ea74152b011256209c8b5664216f290b123e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multiconfig, mutliple tasks can execute which share the same stamp file. These
must not execute in parallel, the idea is the first should execute, the subsequent
ones should see a valid stamp and get skipped.
The normal task execution code has stamps code to handle this, this adds similar
code to the setscene execute() function to handle the issue there too.
(Bitbake rev: df8408a6b54fc908d4de81529b34477b8924d181)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
setscene was being entirelu skipped for multiconfig variants as the tasks
were simply not being spotted. If the default config was also being built
it masked the problem. When this was fixed by using taskfn instead of fn
in lookups against dataCache, several other instances of this problem were
highlighted.
This goes through and corrects the setscene code to correclty use taskfn
instead of fn in the appropriate places meaning setscene tasks for multiconfig
now work correctly.
(Bitbake rev: a5d81eefe9106f2080001b7313e2b15ab21ea55b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tasknames can now start with "multiconfig:" which broke the virtual: comparison code and
lead to unpredictable checksums with nativesdk recipes. This adds in handling for
the new additional prefix which unbreaks nativesdk builds when using multiconfig.
(Bitbake rev: 0ca6b8438624d892ee7ef3b42df0024604b64567)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the UI shows X is building, possibly multiple times but doesn't
say which of the multilibs that might be. This adds a prefix to the task
name so the mulitconfig being built can be identified.
(Bitbake rev: dfb775c67a96a79f3b85104870c0ade46ef2a9ea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The location of the fakeroot command and the various environmental values need
to be taken from the right multiconfig datastore, not the shared one. This
patch ensures the right one is used for cases like a split TMPDIR.
[YOCTO #10344]
(Bitbake rev: c241f16670cada2cdf45ecddb4961e16edb83486)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If many files change and the inotify queue overflows, rather than print
a traceback, invalidate the caches and warn the user.
[YOCTO #10676]
(Bitbake rev: 058f8517c041b80e8b591ad7d34a68281b2d03fc)
(Bitbake rev: 4fafb6c6d261de78dd1bc3824a1389d191b70321)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The processing of the "do_" prefix to tasks is currently inconsistent
and has resulted in "bitbake world -g" being broken as task prefixes
don't get handled correctly.
Make the "do_" task prefix handling consistent through various codepaths.
[YOCTO #10651]
(Bitbake rev: 3d7186353e804c9410096c408bc337a98c8b33fe)
(Bitbake rev: 100439e715841ecfd6460d59cd51c831184b328d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-libgcc doesn't need a symlink into the target space and if we do this
sstate installation of the recipe can fail depending on whether it races with
the cross-canadian toolchains.
(From OE-Core rev: b2c1e1fe4221862e0dbf5d08960f0d0228e47c72)
(From OE-Core rev: 62012e81c6f7aaad5d9c5e8bec2e2417433572e3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
People are strugling with multiconfig as the up front inclusion of the
configuration file doesn't do what people expect. The only way to meet
user expectations is to include the file immediately after local.conf.
We add BB_CURRENT_MC to bitbake so that the metadata can determine when
to include the extra configuration.
(From OE-Core rev: a6a3894fb2cb2097d2404b8b8cb2b85df595cfa9)
(From OE-Core rev: 378ba0c92172ed7850ec1b0eb2971afb0dae427b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means that a user can change TMPDIR in a multiconfig situation
and still only have one path to the uninative setup. Without this change
its not possile to make such a setup work.
(From OE-Core rev: 779422c5458f5f643b3a4a0dedaa4d9ad709367a)
(From OE-Core rev: f50547fb9d70a8ae079380c25e697da3d2c2b181)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting WKS_FILE variable in qemux86-64 made wic test to
use wrong wks file to produce an image and resulted in
test_qemu failure.
Used conditional assignment in qemux86-64 and explicitly
set WKS_FILE in wic testing suite to make the suite to use
wic-image-minimal.wsk. This should fix test_qemu failure.
(From OE-Core rev: 3bca4d18c2712e3b154bacfb917f0a749ebaddeb)
(From OE-Core rev: bda4e3cceda2205a0a5d916ef5b674df560d43f9)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BUILD_CC may reference something like ccache and expect this to come from
ccache-native, we at least have some selftests which assume this. Modify the
code to use PATH when runnig BUILD_CC to ensure the tests continue to work
as expected.
(From OE-Core rev: f3e753372baac43d0921186340cf260df056de20)
(From OE-Core rev: e7ec3228d9a2f40165b60f273205c17438b2c9bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hand applied and used d.getVar(True)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hack: Depending on how glibc was compiled (e.g. optimised
for size or built with _FORTIFY_SOURCE enabled) the strlen
symbol might not be found in ld-XXX.so. Therefore although
we should still try to intercept it, don't make it mandatory
to do so.
(From OE-Core rev: 84ec50e587e7464b260b1b189659b93b6dab0ef6)
(From OE-Core rev: 850735191c131d7baab72e7df6292b189ea56801)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some c++ libraries fail to build if uninative is built
with gcc 5.x and host gcc version is either 4.8 or 4.9.
The issue should be solved by making separate uninative sstate
directory structure sstate-cache/universal-<gcc version> for host gcc
versions 4.8 and 4.9. This causes rebuilds of uninative if host gcc
is either 4.8 or 4.9 and it doesn't match gcc version used to build
uninative.
[YOCTO #10441]
(From OE-Core rev: d36f41e5658bbbb6080ee833027879c119edf3e0)
(From OE-Core rev: 3d39ca5c91dbb62fb43199f916bd390cd6212e3d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Namespace nodes must be copied to avoid use-after-free errors.
But they don't necessarily have a physical representation in a
document, so simply disallow them in XPointer ranges.
(From OE-Core rev: 00e928bd1c2aed9caeaf9e411743805d2139a023)
(From OE-Core rev: cf810d5cc17cb6b9f53d21a404c89afe372accb7)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xpath:
- Check for errors after evaluating first operand.
- Add sanity check for empty stack.
- Include comparation in changes from xmlXPathCmpNodesExt to xmlXPathCmpNodes
(From OE-Core rev: 96ef568f75dded56a2123b63dcc8b443f796afe0)
(From OE-Core rev: 68b0f3a0bf8dfdf49be4aed1745a7f50662c555d)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were calling _log_check() in the RPM-specific rootfs class as well as
in the base class; this is unnecessary and resulted in any errors/warnings
generated during the actual package installation time triggering two warnings
instead of one. Drop the call from RpmRootfs._create() to fix this.
(From OE-Core rev: 541c56d755ba0354297673e857628026ad9e4df2)
(From OE-Core rev: 9654a6a238a44ed1025a45e4ad1cb779a8684344)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Major changes:
The libtiff tools bmp2tiff, gif2tiff, ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed from the distribution, used for demos.
CVEs fixed:
CVE-2016-9297
CVE-2016-9448
CVE-2016-9273
CVE-2014-8127
CVE-2016-3658
CVE-2016-5875
CVE-2016-5652
CVE-2016-3632
plus more that are not identified in the changelog.
removed patches integrated into update.
more info: http://libtiff.maptools.org/v4.0.7.html
(From OE-Core rev: 9945cbccc4c737c84ad441773061acbf90c7baed)
(From OE-Core rev: 009b330591b27bd14d4c8ceb767c78fd7eb924fd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To trap errors and halt processing, do_kernel_metadata was recently
switched to exit on any non zero return code. While the concept is
sound, there are subcommands that have legitimate non-zero return
codes.
Instead of removing set +e, we'll explicitly check the return code
of the commands that can error, and throw a bbfatal to alert the
user.
(From OE-Core rev: a4705e62d0973c290011fc0d250501d358b659e8)
(From OE-Core rev: a4888a63620fa05e1399355d9e20c2da586efb4c)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ARM stack frames for abort and raise were limited to the the actual
abort and raise call, such as:
Obtained 4 stack frames.
./test-app(print_trace+0x1c) [0x10a08]
./test-app() [0x10b3c]
/lib/libc.so.6(__default_sa_restorer+0) [0x4adae1e0]
/lib/libc.so.6(gsignal+0xa0) [0x4adacf74]
This is not terribly useful when trying to figure out what function
may have called called the abort, especially when using pthreads.
After the change the trace would now look like:
Obtained 8 stack frames.
./test-app(print_trace+0x1c) [0x10a08]
./test-app() [0x10b3c]
/lib/libc.so.6(__default_sa_restorer+0) [0x4befe1e0]
/lib/libc.so.6(gsignal+0xa0) [0x4befcf74]
/lib/libc.so.6(abort+0x134) [0x4befe358]
./test-app(dummy_function+0x50) [0x10adc]
./test-app(main+0xd4) [0x10c24]
/lib/libc.so.6(__libc_start_main+0x114) [0x4bee7a58]
(From OE-Core rev: 93bf8713d8e13c278543baea94fb8dad0cb80e49)
(From OE-Core rev: b0e6a6048fa09dceac78bf8c46d484690ff5b098)
Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use weak assignment for SERIAL_CONSOLES in qemu configuration files so that
the value could serve as a default value and could be easily overridden in
configuration files like local.conf.
When using the default value for SERIAL_CONSOLES in qemux86-64,we would have
annoying messages on console complaining about respawning getty on ttyS1.
Although the value is set by purpose, at least we need to provide an easy way
to override it.
(From OE-Core rev: 5f060b66162c41a295995947b918253450870117)
(From OE-Core rev: 5a19335f0f1d763a066a8c9ead23bb332e229f93)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to chdir() as tarfile.add() can be told what name to use in the
archive.
(From OE-Core rev: d0b282bce34db44dde4dd7f53a64dfaafe6789de)
(From OE-Core rev: d637d5f02be4eab26cfab7352a8ea584fb1f7e4d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than erroring out on a single attempt while
terminating EFI services, make a few retries because
such quirks are found in a few implementations.
Also fix a div by zero issue in the same framework
which causes an infinite reboot on the target.
Both patches included here are backports.
(From OE-Core rev: 5e6ac806bd9b8bf885ef1e88484e91e4cdaaa69a)
(From OE-Core rev: dbe597b317067362e7acddbefd0d6768f6a44e8c)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't worth bother with logical partition on MBR partition type (aka
msdos) if disk image generated by wic should have 4 partitions.
(From OE-Core rev: 36a558fbdc96094626e7de1a3510691e30885368)
(From OE-Core rev: 98a3e096eaa6cfdf1532c7c03c57222ae8cd6533)
Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'tar' utility from tar and bsdtar has the same alternative priority.
'cpio' utility from cpio and bsdcpio has the same alternative priority.
Lower the ALTERNATIVE_PRIORITY to avoid conflict.
(From OE-Core rev: 9a59ff628771b586666999d44923968a6bc58956)
(From OE-Core rev: 773ea033e973abd2b97c62b8095d7142c020ad24)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new variable CVE_PRODUCT for the product name to look up in the NVD
database. Default this to BPN, but allow recipes such as tiff (which is libtiff
in NVD) to override it.
(From OE-Core rev: ba330051570a4c991885ee726cb187e0c911bd4f)
(From OE-Core rev: bee636b759feafba544e95d6355c52eb85e4ba72)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ClassType was removed from python3.
The code testing for ClassType kept throwing AttributeError exceptions:
module 'types' has no attribute 'ClassType'
The exceptions prevented loading of any dynamically resolved target
controllers.
(From OE-Core rev: d62f18c39bc0ed3b0f5ac8465b393c15f2143ecf)
(From OE-Core rev: 6258471b7077839519898d537b99dce0a0fc8aa4)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the update to 4.4.36 -rt no longer builds. The fixes for the
issues are found in the v4.4-rt43 release.
(From OE-Core rev: 262fff10ba5cdedbee9ba9ecf00f98dc9159477c)
(From OE-Core rev: 86e24908bb28d4e0ee7defdc64a2efd8eefe37c7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to avoid using shared/common directories for any files that are
part of specific build, since permissions issues in multi user
environments will cause issues.
Integrating the following commit to solve the issue:
scc: move unused patch queue under output dir
(From OE-Core rev: cad65cc0eef2e06cb5ae08062ffae7a4d43a51ad)
(From OE-Core rev: e57f861496ed07aca8785a53971b34c99a4d64bd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shortlog of the changes follow:
356ccf6d2b0c Linux 4.8.12
f81c90012f2f scsi: mpt3sas: Unblock device after controller reset
3de3eebb10fd flow_dissect: call init_default_flow_dissectors() earlier
7838fbe25a95 mm, oom: stop pre-mature high-order OOM killer invocations
374ff835e2b6 can: bcm: fix support for CAN FD frames
7ed8d94b99b3 powerpc/boot: Fix the early OPAL console wrappers
7cbe9568fa04 powerpc/mm: Fixup kernel read only mapping
30988ea31783 powerpc: Set missing wakeup bit in LPCR on POWER9
8d248df485f2 device-dax: fail all private mapping attempts
f87a483126b5 device-dax: check devm_nsio_enable() return value
5b08489eba14 xc2028: Fix use-after-free bug properly
9030deb21f29 X.509: Fix double free in x509_cert_parse() [ver #3]
0257b7e20c07 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
bdab996a7a9e mmc: sdhci-of-esdhc: fixup PRESENT_STATE read
0a80bef18a9f parisc: Also flush data TLB in flush_icache_page_asm
09e35a83cdc9 parisc: Fix race in pci-dma.c
3cb2bc6fdc54 parisc: Switch to generic sched_clock implementation
113b60efa37c parisc: Fix races in parisc_setup_cache_timing()
b2f64572db2e thermal/powerclamp: add back module device table
6dfe1643b56a perf/x86/intel: Cure bogus unwind from PEBS entries
403f47ddbf6b perf/core: Fix address filter parser
c5795c5f682d x86/traps: Ignore high word of regs->cs in early_fixup_exception()
885bad1e5f32 x86/fpu: Fix invalid FPU ptrace state after execve()
1a42cd56229b NFSv4.x: hide array-bounds warning
154c665b2b02 apparmor: fix change_hat not finding hat after policy replacement
9c15a98542f0 cfg80211: limit scan results cache size
f204d21ee0b7 tile: avoid using clocksource_cyc2ns with absolute cycle count
c707019bef62 scsi: mpt3sas: Fix secure erase premature termination
b33387f6a68d Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
89a28f3a3c77 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad
6476f6530187 USB: serial: cp210x: add ID for the Zone DPMX
7445ffb75ed5 usb: chipidea: move the lock initialization to core file
32fe669c8634 KVM: x86: check for pic and ioapic presence before use
c02d13809180 KVM: x86: fix out-of-bounds accesses of rtc_eoi map
39b653013527 KVM: x86: drop error recovery in em_jmp_far and em_ret_far
3c22c81377d4 KVM: x86: fix out-of-bounds access in lapic
eb060c1a03f7 iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions
8b23f16343f6 iommu/vt-d: Fix PASID table allocation
36bd5bfe4349 Linux 4.8.11
a9a0027757f8 gpio: pca953x: Fix corruption of other gpios in set_multiple.
88fce76cf590 gpio: pca953x: Move memcpy into mutex lock for set multiple
9a7b80894951 netfilter: nft_dynset: fix element timeout for HZ != 1000
fd4251fa4d09 IB/cm: Mark stale CM id's whenever the mad agent was unregistered
8ce92be782f8 IB/uverbs: Fix leak of XRC target QPs
160149299f71 IB/hfi1: Remove incorrect IS_ERR check
46e47543175b IB/core: Avoid unsigned int overflow in sg_alloc_table
82c377d05311 IB/mlx5: Fix NULL pointer dereference on debug print
554e4b69f1bb IB/mlx5: Fix fatal error dispatching
32091ee63d17 IB/mlx5: Fix memory leak in query device
21822a5bbddd IB/mlx5: Use cache line size to select CQE stride
ad886a0e9035 IB/mlx5: Validate requested RQT size
76a93a6f8dd7 IB/mlx4: Fix create CQ error flow
4234e6a06f8b IB/mlx4: Check gid_index return value
fc9275365065 IB/rxe: Clear queue buffer when modifying QP to reset
3c87b4a8f6d5 IB/rxe: Fix handling of erroneous WR
c4605a0e9605 IB/rxe: Fix kernel panic in UDP tunnel with GRO and RX checksum
04d016249998 IB/rxe: Update qp state for user query
bac1543b764c perf hists: Fix column length on --hierarchy
4cba876de64d PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails
2e2c8f0e7502 PM / sleep: fix device reference leak in test_suspend
fd669bf2a099 uwb: fix device reference leaks
ab17baeaea91 sunrpc: svc_age_temp_xprts_now should not call setsockopt non-tcp transports
8c7ea73e3a9b mfd: core: Fix device reference leak in mfd_clone_cell
545ea4003db9 iwlwifi: mvm: wake the wait queue when the RX sync counter is zero
8bfaf856695b iwlwifi: mvm: fix d3_test with unified D0/D3 images
8cdfd32398b5 iwlwifi: mvm: fix netdetect starting/stopping for unified images
6e3324dc039c iwlwifi: pcie: mark command queue lock with separate lockdep class
b822907865cc iwlwifi: pcie: fix SPLC structure parsing
edb60ee4bc65 rtc: omap: Fix selecting external osc
5f95e68daae3 clk: imx: fix integer overflow in AV PLL round rate
fec43900c9b7 clk: mmp: mmp2: fix return value check in mmp2_clk_init()
63465eaf7b2e clk: mmp: pxa168: fix return value check in pxa168_clk_init()
a42bbd552ded clk: mmp: pxa910: fix return value check in pxa910_clk_init()
bb6c9ec826be virtio-net: drop legacy features in virtio 1 mode
899f5426eebf drm/i915: Assume non-DP++ port if dvo_port is HDMI and there's no AUX ch specified in the VBT
f6920e506992 drm/i915: Refresh that status of MST capable connectors in ->detect()
56a02a5f60ea drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5)
3eac4767dd7e powerpc/64: Fix setting of AIL in hypervisor mode
fc312878ffe3 crypto: caam - do not register AES-XTS mode on LP units
54f28973e8a5 ARM: dts: imx53-qsb: Fix regulator constraints
7001b98b9dce ext4: sanity check the block and cluster size at mount time
56df604296c2 kbuild: Steal gcc's pie from the very beginning
e14754cb8f0c x86/kexec: add -fno-PIE
ad4e2f324ade scripts/has-stack-protector: add -fno-PIE
1c7727d0bca0 kbuild: add -fno-PIE
20bcbe246933 Disable the __builtin_return_address() warning globally after all
504b60516ba7 i2c: i2c-mux-pca954x: fix deselect enabling for device-tree
45244660281c i2c: mux: fix up dependencies
ce97f5012b6d ALSA: hda - Fix mic regression by ASRock mobo fixup
23e14ee1abcf ALSA: hda - add a new condition to check if it is thinkpad
85fcb62a58b2 ALSA: usb-audio: Fix use-after-free of usb_device at disconnect
e902f10da218 gpio: do not double-check direction on sleeping chips
b21b327d96bc can: bcm: fix warning in bcm_connect/proc_register
50e6cd2feff7 mfd: stmpe: Fix RESET regression on STMPE2401
e015527c6fbd mfd: intel-lpss: Do not put device in reset state on suspend
8b4d44f46bf2 IB/hfi1: Fix rnr_timer addition
06eac15f11e0 IB/rdmavt: rdmavt can handle non aligned page maps
ca720a2b11b4 fuse: fix fuse_write_end() if zero bytes were copied
de58c50e84e2 genirq: Use irq type from irqdata instead of irqdesc
8844024c8839 ftrace: Add more checks for FTRACE_FL_DISABLED in processing ip records
c5d20ce0b459 ftrace: Ignore FTRACE_FL_DISABLED while walking dyn_ftrace records
f271087fb2ea KVM: arm64: Fix the issues when guest PMCCFILTR is configured
8d8b37e242de arm64: KVM: pmu: Fix AArch32 cycle counter access
1cb9b2489e77 KVM: Disable irq while unregistering user notifier
23555ca21394 KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
f8c74cf95655 x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems
(From OE-Core rev: beb9adb4763a1bbed182503371921e676ccd4ae2)
(From OE-Core rev: a09653cae042c287c109f6891f7abedfddaba828)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shortlog of the changes follow:
87c6c6ef5b17 Linux 4.4.36
6eddf5c993dd scsi: mpt3sas: Unblock device after controller reset
c178e4809df7 flow_dissect: call init_default_flow_dissectors() earlier
0b7860d6e88c mei: fix return value on disconnection
bab2f72f70ea mei: me: fix place for kaby point device ids.
4f13967ecd20 mei: me: disable driver on SPT SPS firmware
e1049372d7a7 drm/radeon: Ensure vblank interrupt is enabled on DPMS transition to on
249090830942 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
cd4235a794c0 parisc: Also flush data TLB in flush_icache_page_asm
7a1ab6a2bf3a parisc: Fix race in pci-dma.c
e541fd815db9 parisc: Fix races in parisc_setup_cache_timing()
0c0ddbf7efec NFSv4.x: hide array-bounds warning
be79d7fa43f9 apparmor: fix change_hat not finding hat after policy replacement
8316338a201b cfg80211: limit scan results cache size
4df31626fc08 tile: avoid using clocksource_cyc2ns with absolute cycle count
ffffc1ed47e7 scsi: mpt3sas: Fix secure erase premature termination
ab0867dd8bc8 Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
f3f95f177269 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad
1f36db0b397f USB: serial: cp210x: add ID for the Zone DPMX
55d061bf9d23 usb: chipidea: move the lock initialization to core file
341f9730c29b KVM: x86: check for pic and ioapic presence before use
b7f9404d1b48 KVM: x86: drop error recovery in em_jmp_far and em_ret_far
c091bbddbc5e iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions
d88a1bd00cfa iommu/vt-d: Fix PASID table allocation
0a5b451a53d4 Linux 4.4.35
1ba7fafae3c2 netfilter: nft_dynset: fix element timeout for HZ != 1000
698a8dddb8a5 IB/cm: Mark stale CM id's whenever the mad agent was unregistered
2b026a265a9a IB/uverbs: Fix leak of XRC target QPs
eba83a85caba IB/core: Avoid unsigned int overflow in sg_alloc_table
c524185c81d4 IB/mlx5: Fix fatal error dispatching
734039913373 IB/mlx5: Use cache line size to select CQE stride
7cf5b7882184 IB/mlx4: Fix create CQ error flow
41664d7077e9 IB/mlx4: Check gid_index return value
04c0800c73b2 PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails
469fcbcb84d8 PM / sleep: fix device reference leak in test_suspend
680bc27065b9 uwb: fix device reference leaks
dd214a159de6 mfd: core: Fix device reference leak in mfd_clone_cell
d2adb5ebec61 iwlwifi: pcie: fix SPLC structure parsing
1f995573bac8 rtc: omap: Fix selecting external osc
c8aa3e98c1a8 clk: mmp: mmp2: fix return value check in mmp2_clk_init()
96576127ffb7 clk: mmp: pxa168: fix return value check in pxa168_clk_init()
a4709b4582ac clk: mmp: pxa910: fix return value check in pxa910_clk_init()
d039fc37ec7f drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5)
96f10a6239a2 crypto: caam - do not register AES-XTS mode on LP units
454cf79b05c5 ext4: sanity check the block and cluster size at mount time
147117cf23c0 kbuild: Steal gcc's pie from the very beginning
e543f094a38a x86/kexec: add -fno-PIE
3a868dde1824 scripts/has-stack-protector: add -fno-PIE
f740b5cc39dd kbuild: add -fno-PIE
936d157fa7ae i2c: mux: fix up dependencies
4e583b89add6 can: bcm: fix warning in bcm_connect/proc_register
0c6e0db9686b mfd: intel-lpss: Do not put device in reset state on suspend
b7321bcc8b1c fuse: fix fuse_write_end() if zero bytes were copied
d4a774fdb92f KVM: Disable irq while unregistering user notifier
b689e86c9a8f KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
aea9d760b8ba x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems
4eb9a8100248 Linux 4.4.34
b4bbdcef7d90 sparc64: Delete now unused user copy fixup functions.
cb85910b0d45 sparc64: Delete now unused user copy assembler helpers.
1c7e17b1c4d6 sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.
7181969338f8 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
bfc8be659309 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.
dc3a7a7d2c85 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.
1731d90d8a55 sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.
8a444c770f6e sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
c718e917b3d3 sparc64: Convert copy_in_user to accurate exception reporting.
dd8a78b2b6ad sparc64: Prepare to move to more saner user copy exception handling.
756723ad553d sparc64: Delete __ret_efault.
f5a69ff7486e sparc64: Handle extremely large kernel TLB range flushes more gracefully.
d36a1ac49d24 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.
5d8eb954763d sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.
217f829ae967 sparc64: Fix illegal relative branches in hypervisor patched TLB code.
2ba06323db41 sparc64: Handle extremely large kernel TSB range flushes sanely.
75931800733c sparc: Handle negative offsets in arch_jump_label_transform
8fd11efa2140 sparc64 mm: Fix base TSB sizing when hugetlb pages are used
4e90b6880135 sparc: serial: sunhv: fix a double lock bug
a395f7a66eec sparc: Don't leak context bits into thread->fault_address
4e772c53ab98 tty: Prevent ldisc drivers from re-using stale tty fields
225a24ae9733 tcp: take care of truncations done by sk_filter()
ae9e052a58ef ipv4: use new_gw for redirect neigh lookup
5c67f9477bb2 net: __skb_flow_dissect() must cap its return value
b67ed647d135 sock: fix sendmmsg for partial sendmsg
0650eeb4f187 fib_trie: Correct /proc/net/route off by one error
3f8857a4971d sctp: assign assoc_id earlier in __sctp_connect
65d29c185614 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
99131760a885 ipv6: dccp: fix out of bound access in dccp_v6_err()
a2df29ed840f dccp: fix out of bound access in dccp_v4_err()
ad6d0a82016b dccp: do not send reset to already closed sockets
69a5c7ca2e62 tcp: fix potential memory corruption
8777977b22c4 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()
c5bad811ca4d bgmac: stop clearing DMA receive control register right after it is set
6e9ca1b61cc8 net: mangle zero checksum in skb_checksum_help()
ac4c2cf6f57a net: clear sk_err_soft in sk_clone_lock()
74e53a3a053f dctcp: avoid bogus doubling of cwnd after loss
86429bd405de Linux 4.4.33
21cc1a183a9d netfilter: fix namespace handling in nf_log_proc_dostring
ee5dd6878886 btrfs: qgroup: Prevent qgroup->reserved from going subzero
ae6d4df4a7a0 mmc: mxs: Initialize the spinlock prior to using it
ae5b8dbfe6be ASoC: sun4i-codec: return error code instead of NULL when create_card fails
125e84726d7c ACPI / APEI: Fix incorrect return value of ghes_proc()
5cd2cd84d573 i40e: fix call of ndo_dflt_bridge_getlink()
5be7e6b48b21 hwrng: core - Don't use a stack buffer in add_early_randomness()
ba8580f6cf03 lib/genalloc.c: start search from start of chunk
c048b6711ed6 mei: bus: fix received data size check in NFC fixup
19426f065d1e iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
f029e7b34f25 iommu/amd: Free domain id when free a domain of struct dma_ops_domain
f5bb84163704 tty/serial: at91: fix hardware handshake on Atmel platforms
49163391881a dmaengine: at_xdmac: fix spurious flag status for mem2mem transfers
fff40ee4d224 drm/i915: Respect alternate_ddc_pin for all DDI ports
d7b0055e5566 KVM: MIPS: Precalculate MMIO load resume PC
d24587404922 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk
6e897d034d4c scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init
29cf142cefed iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
caff14e99c63 iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation.
dbbc5e6bcf36 clk: qoriq: Don't allow CPU clocks higher than starting value
2c5cdadeab5d toshiba-wmi: Fix loading the driver on non Toshiba laptops
f523deedff82 drbd: Fix kernel_sendmsg() usage - potential NULL deref
f1de32232db3 usb: gadget: u_ether: remove interrupt throttling
0ab4186bf238 USB: cdc-acm: fix TIOCMIWAIT
290ffd550e34 staging: nvec: remove managed resource from PS2 driver
4aa859ea591e Revert "staging: nvec: ps2: change serio type to passthrough"
729eb8d9f7b7 drivers: staging: nvec: remove bogus reset command for PS/2 interface
6bba8c37ceed staging: iio: ad5933: avoid uninitialized variable in error case
a98e483ca784 pinctrl: cherryview: Prevent possible interrupt storm on resume
126d0a2fe878 pinctrl: cherryview: Serialize register access in suspend/resume
c45bfaa9211e ARC: timer: rtc: implement read loop in "C" vs. inline asm
3b21a0b468a3 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment
e835220ed25f coredump: fix unfreezable coredumping task
5c54f79ad234 swapfile: fix memory corruption via malformed swapfile
2f7496c48a7b dib0700: fix nec repeat handling
a04769029386 ASoC: cs4270: fix DAPM stream name mismatch
f3155797b91c ALSA: info: Limit the proc text input size
c1ea2b3c07c6 ALSA: info: Return error for invalid read/write
(From OE-Core rev: 7d8d71ba5bc2dd8884c3f43a8d71a6d399c4e2fe)
(From OE-Core rev: ccca1eda8bb40dc79099d80e0314521aafa9f4aa)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when len(TMPDIR) = 410:
aclocal: error: cannot open echo [snip]: Argument list too long
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
It doesn't happen when MACHINE="qemux86", I think it is because
intel-x86-64 is longer than qemux86.
(From OE-Core rev: 5210ccd61ef52a191454a4587cfeb22079df746d)
(From OE-Core rev: 3903e93c50616b592ac1a2a241573305bb9265a9)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These files cause warnings because they don't get packaged, now that they
don't land in kernel-vmlinux anymore.
(From OE-Core rev: a49569e3a7534779bbe3f01a0647fd076c95798d)
(From OE-Core rev: 6a4e09b295d760654fd43897841c014d50f109ab)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With multiple kernel images enabled starting with 'vmlinux', e.g.
vmlinux.gz and vmlinux.bin, all files landed inside the
kernel-vmlinux package.
On top of that, even initramfs images were included, e.g.
vmlinux.gz-initramfs-*.
(From OE-Core rev: b7f4133b44b740e8ac8e758b0d4a3ee32d326332)
(From OE-Core rev: a248ef51ae680e81cf78f07fe242ac6e01a5fcb4)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When iterating over kernel image types to set up their packaging
variables, don't use make targets but the real names.
It was surprising if both vmlinux.bin and vmlinux.gz were enabled
and only the latter had its filename extension removed from the
package name.
(From OE-Core rev: aa189f183e10588f7e8d642f351bd9b8d69f3ea9)
(From OE-Core rev: 07e93839ee0dc25904fb93d6ae236e3ab16982ec)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yet another instance of us expecting a string back from subprocess when
in Python 3 what you get back is bytes. Just decode the output within
run_command() so we avoid this everywhere.
(From OE-Core rev: 103faae78cdff5280c7b7cdb7ca01e0868d02ec9)
(From OE-Core rev: f9e0267a64069fa2488ceb7ca1f6dbe5bfb66c18)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing sed expression can match expressions like
--sysroot=/some/path/xxx-linux/ which clearly isn't intended and
injects incorrect paths into LDFLAGS.
Fix this in the same way we address the problem in CFLAGS. This fixes corrupt
build paths and incorrect paths in .la files amongst other issues.
(From OE-Core rev: 9a8382422ddbb0972dc25b752204f4908bb9857c)
(From OE-Core rev: 980140fc0735df66592c09acda9686386711f2b5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A SSTATEPOSTINSTFUNCS function here is overkill, just do this in a
do_install_append_class-native and create relative symlinks rather
than absolute ones which would then have to be relocated.
(From OE-Core rev: 518e8d0216b0f42f574e42288804f553b9ff6f99)
(From OE-Core rev: f884ee9b911d1ce38b84d90113113c6e8c30253b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This hasn't been used in years and isn't referenced anywhere, drop
the definition.
(From OE-Core rev: 68258f856f08f35813964e58ef761471e29373ad)
(From OE-Core rev: b8b261d2e40457ee2e0cf1e8f40bd22230eb8ca7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Historically the processing of kernel meta data contained some
commands that exited with a non-zero return code. Special processing
was required to properly deal with their exit.
That is no longer true, and instead of handling all return codes
and doing an explicit 'exit' call, we can remove set -e from the
routine and have all errors be trapped and stop processing.
(From OE-Core rev: 476ffd57cf5b6fba40d4e3f5dd913824ab8a8d3d)
(From OE-Core rev: 620c74336dad517037fcf26c8f7bf8c013b213c1)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lernel meta-data that has patches, but no branches, can trigger an
error due to no branch specific patch queue.
This error then cascades to more issues since the tools are using
a named file in /tmp to store and display error messages to the
user.
We fix both issues though the following kern tools tweaks:
commit bd9e1d6c9b0a34ff3e19a06999aaf57ffadfd04c
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Dec 2 13:09:40 2016 -0500
scc: use mktemp for consolidated output capture
To provide useful error messages the tools dump pre-processed
files and messages to a temporary file. If multiple users are
doing builds, this means they either race, or can have permissions
issues.
By creating the temporary file via mktemp, we avoid both issues.
(We also make sure to clean these up on exit, or /tmp will get
polluted quickly).
commit a287da4bfe0b4acb8f2b0627bd8e7abd1a1dde26
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Dec 2 13:08:08 2016 -0500
patch: do not assume a branch specific patch queue is needed
When processing input files per-branch and global patch queues are
generated. If the meta-data has not created any branches in the
repo, no branch specific queue is required.
The tools assumed that one is always valid, and hence would throw a
non-zero exit code and stop processing.
By testing for a named per-branch queue, we avoid this issue.
(From OE-Core rev: 0fd7da7375f0dcc59b56791fd482de557507c04c)
(From OE-Core rev: 6bc941a2a8e83e2db409af50ad77a0932e3ffe28)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the 4.8.9 and 4.8.10 -stable updates. The commit log is
as follows:
cf5ae2989a32 Linux 4.8.10
5cd8f6788ff3 usb: gadget: f_fs: stop sleeping in ffs_func_eps_disable
e2458382c792 usb: gadget: f_fs: edit epfile->ep under lock
e34a0f1c53b5 sparc64: Delete now unused user copy fixup functions.
af97481a6f5b sparc64: Delete now unused user copy assembler helpers.
ac663c54f40b sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.
d91bb7a87e26 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
a15859f9d839 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.
bb522726d311 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.
b0580eadc19f sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.
50e927483ccf sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
620ec41010d1 sparc64: Convert copy_in_user to accurate exception reporting.
bf4d0da8e800 sparc64: Prepare to move to more saner user copy exception handling.
bbbab9f59ea7 sparc64: Delete __ret_efault.
81a91edbb91a sparc64: Handle extremely large kernel TLB range flushes more gracefully.
7f8a50eb38d3 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.
f7ef55af2f1b sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.
2a28ab3d4148 sparc64: Fix illegal relative branches in hypervisor patched TLB code.
f4fb552a033e sparc64: Handle extremely large kernel TSB range flushes sanely.
51915c6d9070 sparc: Handle negative offsets in arch_jump_label_transform
da6fe239ceff spi: spidev_test: fix build with musl libc
4ea98e573d65 net: stmmac: Fix lack of link transition for fixed PHYs
150b491b1b88 sctp: change sk state only when it has assocs in sctp_shutdown
5235fcfa6cf8 bnx2: Wait for in-flight DMA to complete at probe stage
6523ff2e27fe Revert "bnx2: Reset device during driver initialization"
224fb8cbefb2 mlxsw: spectrum_router: Correctly dump neighbour activity
9092bbd64bd9 mlxsw: spectrum: Fix refcount bug on span entries
5712922773b5 Revert "include/uapi/linux/atm_zatm.h: include linux/time.h"
2b5f22e4f7fd tcp: take care of truncations done by sk_filter()
22a78d4c7f43 ipv4: use new_gw for redirect neigh lookup
bccb4093d464 net: __skb_flow_dissect() must cap its return value
a1632e969a55 net: icmp_route_lookup should use rt dev to determine L3 domain
9885f474d92b sock: fix sendmmsg for partial sendmsg
b78ba0a0f231 fib_trie: Correct /proc/net/route off by one error
92fd1c1f2fd2 net: icmp6_send should use dst dev to determine L3 domain
09ee09498bca bpf: fix htab map destruction when extra reserve is in use
de289ad2e575 sctp: assign assoc_id earlier in __sctp_connect
76b5fee5cfa0 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
84d9c612bb7a ipv6: dccp: fix out of bound access in dccp_v6_err()
ba93cf7d2118 dccp: fix out of bound access in dccp_v4_err()
378a61101374 dccp: do not send reset to already closed sockets
72b03e549b95 dccp: do not release listeners too soon
b3523a0773ed tcp: fix return value for partial writes
1f49cc6fa91c ipv4: allow local fragmentation in ip_finish_output_gso()
842a858fa048 tcp: fix potential memory corruption
fc3b825f2c81 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()
f5f4b71d5632 bgmac: stop clearing DMA receive control register right after it is set
0c7f764d2c6a net: mangle zero checksum in skb_checksum_help()
ac22a3ba0796 net: clear sk_err_soft in sk_clone_lock()
5b078dc6fb64 dctcp: avoid bogus doubling of cwnd after loss
876577321657 Linux 4.8.9
07d00beb1e04 netfilter: fix namespace handling in nf_log_proc_dostring
8ef009e09c13 drm/i915: Fix mismatched INIT power domain disabling during suspend
88a45e5d2c0d drm/amdgpu: fix a vm_flush fence leak
25ed6e4b0b65 drm/amdgpu: fix fence slab teardown
de5e9aa77a3c NFSv4.1: work around -Wmaybe-uninitialized warning
18c801047a18 libceph: fix legacy layout decode with pool 0
53c1792b94da memcg: prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLAB
02e1ee6b3e1c mmc: mxs: Initialize the spinlock prior to using it
ce0702e35aeb pinctrl: iproc: Fix iProc and NSP GPIO support
320244ac9eb6 ASoC: sun4i-codec: return error code instead of NULL when create_card fails
2140d4fd9277 ASoC: Intel: Skylake: Always acquire runtime pm ref on unload
5037fdbc62c2 gpio: of: fix GPIO drivers with multiple gpio_chip for a single node
7a9239fd0480 gpio/mvebu: Use irq_domain_add_linear
6de98e87effb batman-adv: Modify neigh_list only with rcu-list functions
a3f000ce7b44 ACPI/PCI: pci_link: Include PIRQ_PENALTY_PCI_USING for ISA IRQs
6c76dd0c7066 ACPI/PCI: pci_link: penalize SCI correctly
86c711665c84 ACPI/PCI/IRQ: assign ISA IRQ directly during early boot stages
ad185d9251e1 ACPI / APEI: Fix incorrect return value of ghes_proc()
b55ebc89ab1d mmc: sdhci-msm: Fix error return code in sdhci_msm_probe()
85284c0850f9 i40e: fix call of ndo_dflt_bridge_getlink()
1242c9dfab0c hwrng: core - Don't use a stack buffer in add_early_randomness()
c1a2ada73dac lib/genalloc.c: start search from start of chunk
06bb5ebedbb4 s390/dumpstack: restore reliable indicator for call traces
1ef1bd02ad23 rtc: pcf2123: Add missing error code assignment before test
4baabb72e9dd clk: samsung: clk-exynos-audss: Fix module autoload
3bbdbd8aa3c8 x86/build: Fix build with older GCC versions
f5eadc27a60c Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"
645a6b823739 nvme: Delete created IO queues on reset
07c4cbe01341 svcrdma: Tail iovec leaves an orphaned DMA mapping
4131e00a436e svcrdma: Skip put_page() when send_reply() fails
755ab7aa1466 mei: bus: fix received data size check in NFC fixup
d1b564536c6a perf top: Fix refreshing hierarchy entries on TUI
6ac4e06b717f Input: synaptics-rmi4 - fix error handling in I2C transport driver
d3716f1b3e4b Input: synaptics-rmi4 - fix error handling in SPI transport driver
66503ec38f34 watchdog: core: Fix devres_alloc() allocation size
c5e9e5cc8cd1 agp/intel: Flush chipset writes after updating a single PTE
813617a4c8dc iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
b6ef0b142208 iommu/amd: Free domain id when free a domain of struct dma_ops_domain
2ef38255b588 iommu/io-pgtable-arm: Check for v7s-incapable systems
d3d9428d7133 xprtrdma: Fix DMAR failure in frwr_op_map() after reconnect
31c749bee3de xprtrdma: use complete() instead complete_all()
67080e2785a3 drm/amd: fix scheduler fence teardown order v2
b0da5ab2ffb5 drm/amdgpu: fix sched fence slab teardown
920a85ba4306 tty/serial: at91: fix hardware handshake on Atmel platforms
9d76a886eb2f drm/amdgpu: fix crash in acp_hw_fini
6e652d18d73d drm/amdgpu: disable runtime pm in certain cases
8c8fdc683295 drm/i915/dp: Extend BDW DP audio workaround to GEN9 platforms
db8e005bf2ba drm/i915/dp: BDW cdclk fix for DP audio
f50b7450a8e4 drm/i915: Respect alternate_ddc_pin for all DDI ports
e1b24f6a0b3c drm/radeon: disable runtime pm in certain cases
eb13abb0e515 KVM: arm/arm64: vgic: Prevent access to invalid SPIs
2850fad5acb0 scsi: scsi_dh_alua: Fix a reference counting bug
5fac70d772a4 scsi: scsi_dh_alua: fix missing kref_put() in alua_rtpg_work()
f29bcd11a170 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk
b2040deabb07 scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init
1281b9683f96 iio: st_sensors: fix scale configuration for h3lis331dl
4dfb6d1dd11d iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
341c5534edad iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation.
b9d031f354da cdc-acm: fix uninitialized variable
c480880cd12c clk: qoriq: Don't allow CPU clocks higher than starting value
ee27fd32c499 toshiba-wmi: Fix loading the driver on non Toshiba laptops
f713523a234c drbd: Fix kernel_sendmsg() usage - potential NULL deref
31da266e4b9a usb: gadget: u_ether: remove interrupt throttling
264e4131a167 USB: cdc-acm: fix TIOCMIWAIT
c12c24eeaf77 usb: dwc3: Fix error handling for core init
6b95417150b7 staging: nvec: remove managed resource from PS2 driver
82239ab105a5 Revert "staging: nvec: ps2: change serio type to passthrough"
529789866abe drivers: staging: nvec: remove bogus reset command for PS/2 interface
dea774aac054 staging: comedi: ni_tio: fix buggy ni_tio_clock_period_ps() return value
5d510185f99a staging: sm750fb: Fix bugs introduced by early commits
45983d678b70 staging: iio: ad5933: avoid uninitialized variable in error case
5289e59246dd mmc: mmc: Use 500ms as the default generic CMD6 timeout
ce4dfe7d927e mmc: sdhci: Fix unexpected data interrupt handling
bde8d3f73375 mmc: sdhci: Fix CMD line reset interfering with ongoing data transfer
10d24701f3f4 cpupower: Correct return type of cpu_power_is_cpu_online() in cpufreq-set
f062e738c19b pinctrl: cherryview: Prevent possible interrupt storm on resume
1d99fe3317e3 pinctrl: cherryview: Serialize register access in suspend/resume
f5ad96462615 arc: Implement arch-specific dma_map_ops.mmap
004e7c97f181 PCI: Don't attempt to claim shadow copies of ROM
7fac0361f94e ARC: timer: rtc: implement read loop in "C" vs. inline asm
4058116db4d0 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment
2f3e0b82ebe9 coredump: fix unfreezable coredumping task
d6ee4f47e2e7 mm/hugetlb: fix huge page reservation leak in private mapping error paths
e87bf4f558f1 mm: hwpoison: fix thp split handling in memory_failure()
67c79e166d46 swapfile: fix memory corruption via malformed swapfile
c87739e5d029 shmem: fix pageflags after swapping DMA32 object
5b5243b606ec mm, frontswap: make sure allocated frontswap map is assigned
2e594273d4c5 dib0700: fix nec repeat handling
9964230320d5 ASoC: cs4270: fix DAPM stream name mismatch
9386a722d250 ALSA: info: Limit the proc text input size
c3ea1b15b71e ALSA: info: Return error for invalid read/write
(From OE-Core rev: b5e43be6aaf912cf6c679ee98ed61cf34dd00ee8)
(From OE-Core rev: 05c1981319f4f5637e72ed4f86e91d38483c8dc8)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The warning occurs when the GPT image is not the same size than the
media into which it's being flashed, causing the backup GPT table
not being at the end of the disk. However, this is expected as the
image is created before having the information about the destination
media. The error is harmless, so it will be whitelisted.
Fixes [YOCTO 10481].
(From OE-Core rev: 5cc5cdc788308a79f8f0706e6d794c602ef427ed)
(From OE-Core rev: 941194d29d8e4c334d3f85ce7709c894cf34b8d1)
Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The iwlwifi module of any given kernel has a minimum and maximum
supported firmware version. The kernel begins by attempting to load the
maximum version, and decrements until it is successful. The 4.8 kernel's
maximum supported firmware version is 24, but thus far only 22 has been
released, meaning we get errors for 24 and 23.
Filter out iwlwifi firmware load error messages, as they are not
necessarily indicative of real problems.
(From OE-Core rev: 7df570c2310efac8f9898da15deaac2b7df16655)
(From OE-Core rev: 23aa95a8a15cd0b7bdc43dba9375e139f4b20607)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a patch set with cover letter using the
send-pull-request script, both the "In-Reply-To" and "References"
headers are appended twice in patch 2 and subsequent.
That's because git-format-patch already inserted them and then
git-send-email repeats that. Suppressing mail threading in
git-send-email with --no-thread avoids the problem and is the
right solution because it works regardless whether git-send-email is
called once or twicee.
Repeating these headers is a violation of RFC 2822 and can confuse
mail programs. For example, Patchwork does not detect a patch series
problem when there are these extra headers.
[YOCTO #10718]
(From OE-Core rev: 303a1aa3df43eb0b693d8602062fa33c4a08fdd6)
(From OE-Core rev: 025d21b856e650c8edefd2d06493e84f8416d50f)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on run() in bitbake/lib/bb/process.py, ExecutionError() expects strings
not bytes. Passing bytes results in a "TypeError: Can't convert 'bytes' object
to str implicitly" exception.
Fixes Bug 10729
(From OE-Core rev: 063b63d4d324c23322ac1b6b7c7928e725d7b968)
(From OE-Core rev: df4d5246d47acc54aa322b777364c9b86f9a4c54)
Signed-off-by: Martin Vuille <jpmv27@yahoo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Installation task fails if run in parallel. This case happens if we
define PARALLEL_MAKEINST to a different value of PARALLEL_MAKE.
(From OE-Core rev: bbe59d7c49b540d65c871666c95cc89a23cab474)
(From OE-Core rev: 1aff7c867c0ad926f204459b65d3088900871ec9)
Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current class works fine when a recipe uses SYSTEMD_AUTO_ENABLE
'enable' and has no on device pkg_postinst(), ie when the postinst is
run as part of rootfs creation. However, when there is a component of
pkg_postinst() that is run on device the 'systemctl restart' is run as
part of the run_postinsts.service at boot. This results in the boot
spinning indefinitely with:
[ *** ] A start job is running for Run pending postinsts (7s / no limit)
The issue could potentially be that the packages service has an
'After' clause which comes later in the boot, beyond
run_postinsts.service, creating a chicken before the egg
scenario. Even service files without an 'After' clause cause this
situation however. Despite this not being the cause of the issue this
fix will prevent this scenario from happenning.
Using strace we are able to find that during boot, when
run_postinsts.service is running attempting to start or restart any
service will result in the call get stuck on poll(). Since the
run_postinsts.service does not monitor the outcome of the call to
restart we can work around this by using '--no-block'.
(From OE-Core rev: 6ad6a0084a73088fc2a27ab9958e5c46d6e094fc)
(From OE-Core rev: caad8aa89f9815a278e39296497596996a35fe95)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set directdisk.wks as default wks to use for qemux86 machines.
Set requried dependeincies to build directdisk image.
This should simplify building wic images for qemux86* machines.
It should be enough to add wic to the list of IMAGE_FSTYPES to get
the images built.
[YOCTO #10637, YOCTO #8719]
(From OE-Core rev: 8716b8b9be05e3f140bfa426a8e0d4eeaa2edcbe)
(From OE-Core rev: 3d99674a712cf06c62aa3a98b6696d430547fcec)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since there is no libgles3-mesa package that would pull in the headers,
add dependency to libgles2-mesa-dev. Now there no need to manually add
GLES3 headers to image or toolchain.
(From OE-Core rev: a93bbfa096cd7de8e935c6c2d2ad98d72a1c297f)
(From OE-Core rev: fd02a12e875a900e46f50d92772098298ed4bc73)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of being executed for every file in every package, this is now just
called for each package. It is also now correctly called for packages which
don't have any content but do have postinst scripts.
[ YOCTO #10711 ]
(From OE-Core rev: afda72b2424528eaff9054327530bdf5654bec66)
(From OE-Core rev: b653bfb800a470894ec93c8bb4acd12a143716a6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QAPATHTEST defines a function that is executed for every file in every package.
For tests which just need to look at the datastore this is massive overkill.
Add QAPKGTEST, which is invoked for each package in the recipe.
(From OE-Core rev: acc3cc26099c77e4eeb44c75bc7167ab58ef1147)
(From OE-Core rev: e7751fa0bdb5bc9b217a0bf267a9c658bec997fa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test should be looking for the expanded value of ${D} in the expanded value
of pkg_postinst and so on, but one of the getVar() calls was passing
expand=False so the test would never be true.
(From OE-Core rev: cc545044cba51317bee32e3bf674723e422e3a8a)
(From OE-Core rev: 9d4f094a7c9cbff0d3db5f339d084b2b7c70df86)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During processing of the kernel meta data the kern tools were
not properly exiting on syntax errors or invalid commands.
Noticing and debugging these issues wasn't trivial. To make this
easier, we now trap the error and dump the offending meta-data
for the user to see.
There was also an issue with creating branches during tree
generation, which is resolved by always switching to the
active branch.
The following are the commit logs of the changes themselves:
[
commit b36f6f9a5695f2084b83823393e13ca42284bed9
Author: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Sat Oct 22 17:23:25 2016 -0400
kgit-scc: dont mention meta-repo in help ; it doesnt exist
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
commit 08463d684c1952e74c25344cddace4c3f24c739d
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Mon Oct 31 14:30:12 2016 -0400
scc: exit on error
If there is an error in the processing of the input files, scc
should exit and inform the user.
scc is executed on a combined/preprocessed file and as a result
it doesn't have the granularity to see each input file individually.
Rather than moving preprocessing into scc (from spp), we can trap
the line number of the error and dump context around the line.
This gives the user a pointer to the input file and the specific
line that caused the problem.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
commit bf99953e8ac14cee653e559f2d4a6022c847a182
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Fri Oct 28 21:23:27 2016 -0400
kgit-meta: always checkout branches on branch commands
During a tree generation we must always make the branch active when
we see any kind of branch command. This ensures that any subsequent
patches are applied in the proper context.
Previously, only branch creation was changing the active branch, and
this mean that tree generation was not determinstic and relied
on the order of processing to generate a correct tree.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 83d10e2acef936b1f38804988f10eafa48db36f9)
(From OE-Core rev: 95dd034a5d911c6f703856d7baeb6e61cb625396)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release 4.8.8. The short log change
summary follows:
61385cc1db42 Linux 4.8.8
8ed841d6c045 scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
32f60e9b621f scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices
eb2ca7aac349 usb: dwc3: gadget: properly account queued requests
38db26fb3ae5 arch/powerpc: Update parameters for csum_tcpudp_magic & csum_tcpudp_nofold
a143c6022cef packet: on direct_xmit, limit tso and csum to supported devices
a6289d9ac3fe ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()
c9e086b9009a sctp: validate chunk len before actually using it
5a37dce1b679 net sched filters: fix notification of filter delete with proper handle
d46b19687fec net: ipv6: Do not consider link state for nexthop validation
eb77db88ea11 macsec: Fix header length if SCI is added if explicitly disabled
027ab3b8ee5a netvsc: fix incorrect receive checksum offloading
b75edf27a6c3 udp: fix IP_CHECKSUM handling
5ee356021c42 sctp: fix the panic caused by route update
d90cbfaf5439 net: sctp, forbid negative length
64774617da37 net: fec: Call swap_buffer() prior to IP header alignment
c6c82c2b707e ipv4: use the right lock for ping_group_range
8418193f7052 ipv4: disable BH in set_ping_group_range()
23c110c4cdbc net: add recursion limit to GRO
d3bbd04b92fd net: core: Correctly iterate over lower adjacency list
fc5722f8f8f2 rtnetlink: Add rtnexthop offload flag to compare mask
4ac3ca8c2933 switchdev: Execute bridge ndos only for bridge ports
63d82a2cbd0c bridge: multicast: restore perm router ports on multicast enable
e9a5921c393f net: pktgen: remove rcu locking in pktgen_change_name()
2eeb5735dd04 net/mlx4_en: fixup xdp tx irq to match rx
27bb6e31d32d IB/ipoib: move back IB LL address into the hard header
f280126ec8d8 ipv6: correctly add local routes when lo goes up
0f3e77623916 ip6_tunnel: fix ip6_tnl_lookup
a148a818df84 net: phy: Trigger state machine on state change and not polling.
2a9099899a6a ipv6: tcp: restore IP6CB for pktoptions skbs
50b43ad1dce6 net_sched: reorder pernet ops and act ops registrations
dac04913ee27 drivers/ptp: Fix kernel memory disclosure
3f841d1555ad netlink: do not enter direct reclaim from netlink_dump()
5086cadf8fa4 packet: call fanout_release, while UNREGISTERING a netdev
6fff1319fdac net: Add netdev all_adj_list refcnt propagation to fix panic
9caee42c800e net/sched: act_vlan: Push skb->data to mac_header prior calling skb_vlan_*() functions
c002dfd8adaa net: pktgen: fix pkt_size
ff1b27c31706 net: fec: set mac address unconditionally
567aeca9fbb7 Linux 4.8.7
1bf121d3b234 HID: usbhid: add ATEN CS962 to list of quirky devices
05a833d4b051 cpufreq: intel_pstate: Set P-state upfront in performance mode
c89771511deb ubi: fastmap: Fix add_vol() return value test in ubi_attach_fastmap()
591bf1362e9e btrfs: qgroup: Prevent qgroup->reserved from going subzero
0c879624701d kvm: x86: Check memopp before dereference (CVE-2016-8630)
725a92be3926 ARM: fix oops when using older ARMv4T CPUs
e339609bf377 tty: vt, fix bogus division in csi_J
4a22930a74ac v4l: vsp1: Prevent pipelines from running when not streaming
59f9693a170a usb: musb: Fix hardirq-safe hardirq-unsafe lock order error
086ac9180437 usb: chipidea: host: fix NULL ptr dereference during shutdown
07bae478e1c1 usb: dwc3: Fix size used in dma_free_coherent()
fedede0963c4 pwm: Unexport children before chip removal
7b4b77b9566d omapfb: fix return value check in dsi_bind()
a3e55d6342b2 video: fbdev: pxafb: potential NULL dereference on error
13d0f5b3a399 uapi: add missing install of sync_file.h
db5025bd08ef UBI: fastmap: scrub PEB when bitflips are detected in a free PEB EC header
cc94524e8940 netfilter: xt_NFLOG: fix unexpected truncated packet
720a40113e78 i2c: mark device nodes only in case of successful instantiation
f7d8d44a68de drm: i915: Wait for fences on new fb, not old
1cefe4cb4f8c drm/i915/fbc: fix CFB size calculation for gen8+
809e9e6fc390 drm/i915: Clean up DDI DDC/AUX CH sanitation
ba0a959e0334 drm/i915: Respect alternate_aux_channel for all DDI ports
426a724c9972 drm: Release reference from blob lookup after replacing property
5064a6a05387 drm/dp/mst: Check peer device type before attempting EDID read
e6fcf953a995 drm/i915/gen9: fix watermarks when using the pipe scaler
0f7f9c456380 drm/i915/gen9: fix DDB partitioning for multi-screen cases
0cc98b5963f8 drm/fb-helper: Keep references for the current set of used connectors
14f4a463dc78 drm/fb-helper: Fix connector ref leak on error
6222f1e0b9ef drm/fb-helper: Don't call dirty callback for untouched clips
7290da41b8da drm/nouveau/acpi: fix check for power resources support
fd5f9e1e28cb drm/radeon: drop register readback in cayman_cp_int_cntl_setup
e136de5d7331 drm/radeon/si_dpm: workaround for SI kickers
fe777e7a595c drm/radeon/si_dpm: Limit clocks on HD86xx part
fa6227dbfd6a drm/imx: ipuv3-plane: Access old u/vbo properly in ->atomic_check for YU12/YV12
d040374f3473 drm/imx: ipuv3-plane: Switch EBA buffer only when we don't need modeset
51ed5a2bbf38 Revert "drm/radeon: fix DP link training issue with second 4K monitor"
ac6f210dd7a6 md: be careful not lot leak internal curr_resync value into metadata. -- (all)
eba4fe9db92f RAID10: ignore discard error
21faa6dbf53f RAID1: ignore discard error
b80fcd58e6f6 mmc: dw_mmc-pltfm: fix the potential NULL pointer dereference
1244d3c3a0f6 scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware
2a1a0a6f1d60 scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded
5bac49422b4a ath10k: cache calibration data when the core is stopped
a7d092e946f5 Revert "ath9k_hw: implement temperature compensation support for AR9003+"
aea7cb3b7ceb mac80211: discard multicast and 4-addr A-MSDUs
27fa1e735c70 firewire: net: fix fragmented datagram_size off-by-one
032430fb6a2c firewire: net: guard against rx buffer overflows
facb17b67ac9 Input: i8042 - add XMG C504 to keyboard reset table
8b535f07898a rtl8xxxu: Fix rtl8723bu driver reload issue
1c9edb27261e rtl8xxxu: Fix big-endian problem reporting mactime
ece1b51ae1c4 rtl8xxxu: Fix memory leak in handling rxdesc16 packets
5a805cd29284 dm raid: fix activation of existing raid4/10 devices
6e5456768ba1 dm raid: fix compat_features validation
056290446e8a dm rq: clear kworker_task if kthread_run() returned an error
13a59a868756 dm table: fix missing dm_put_target_type() in dm_table_add_target()
159a17e8dbf6 dm mirror: fix read error on recovery after default leg failure
d8db5234adef virtio: console: Unlock vqs while freeing buffers
7569d22a820d virtio_pci: Limit DMA mask to 44 bits for legacy virtio devices
0c2f67a6196d virtio_ring: Make interrupt suppression spec compliant
c528df925fba parisc: Ensure consistent state when switching to kernel stack at syscall entry
592de1000694 ovl: fsync after copy-up
3ad464dadb7c ovl: update S_ISGID when setting posix ACLs
be9015460ed5 ovl: fix get_acl() on tmpfs
2b632307635f MIPS: KASLR: Fix handling of NULL FDT
1734afcce32b nfsd: Fix general protection fault in release_lock_stateid()
202c6676b963 ARM: dts: fix the SD card on the Snowball
db20b510ca5c ARM: mvebu: Select corediv clk for all mvebu v7 SoC
c627b2e76ae2 KVM: MIPS: Precalculate MMIO load resume PC
f3a0c969e788 KVM: MIPS: Make ERET handle ERL before EXL
961cf133b710 KVM: s390: Fix STHYI buffer alignment for diag224
88aca01f8cb4 KVM: x86: fix wbinvd_dirty_mask use-after-free
ea261d177aed dm: free io_barrier after blk_cleanup_queue call
377a2a273c4b Staging: wilc1000: Fix kernel Oops on opening the device
0c4ffbf9e118 iio:chemical:atlas-ph-sensor: Fix use of 32 bit int to hold 16 bit big endian value
52a1e76f16e2 arm64: dts: marvell: fix clocksource for CP110 master SPI0
0dff3c6321a5 tty: limit terminal size to 4M chars
44f0722dc9ac xhci: workaround for hosts missing CAS bit
0894224ae7c0 xhci: add restart quirk for Intel Wildcatpoint PCH
b2d28d93cf83 hv: do not lose pending heartbeat vmbus packets
eeae0a12a166 vt: clear selection before resizing
9710f5b19328 x86/smpboot: Init apic mapping before usage
58b0a7f115f8 GenWQE: Fix bad page access during abort of resource allocation
b9aa0a7290f5 usb: increase ohci watchdog delay to 275 msec
241208e7b721 usb: renesas_usbhs: add wait after initialization for R-Car Gen3
00dbeb06292b xhci: use default USB_RESUME_TIMEOUT when resuming ports.
1e306cd37a66 USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7
d082fd105eb9 USB: serial: cp210x: fix tiocmget error handling
e8bf726705bd USB: serial: fix potential NULL-dereference at probe
23124735a6f0 usb: gadget: function: u_ether: don't starve tx request queue
fe4af125085a usb: gadget: udc: atmel: fix endpoint name
420d16894425 mei: txe: don't clean an unprocessed interrupt cause.
5d30e8f65073 ubifs: Fix regression in ubifs_readdir()
b8176cc56bf1 ubifs: Abort readdir upon error
1755f43e9a90 timers: Lock base for same bucket optimization
e18ed431d7da timers: Plug locking race vs. timer migration
b5e3a038997a timers: Prevent base clock corruption when forwarding
665f7bf33aa8 timers: Prevent base clock rewind when forwarding clock
0d621c57e739 x86/microcode/AMD: Fix more fallout from CONFIG_RANDOMIZE_MEMORY=y
e599203f55ad powerpc/64: Fix race condition in setting lock bit in idle/wakeup code
51d784b54768 powerpc/64: Re-fix race condition between going idle and entering guest
2c7ff0e5c311 powerpc/mm/radix: Use tlbiel only if we ever ran on the current cpu
ae150de2d5e0 powerpc: Convert cmp to cmpd in idle enter sequence
1198fbca645e btrfs: fix races on root_log_ctx lists
bc720ae2ffab cxl: Fix leaking pid refs in some error paths
2a997e83960b ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct
599cfd58ffde ANDROID: binder: Add strong ref checks
2a0efa30b15c ALSA: hda - Fix headset mic detection problem for two Dell laptops
2585e17b71c7 ALSA: hda - Fix surround output pins for ASRock B150M mobo
14456570a4a5 ALSA: hda - Adding a new group of pin cfg into ALC295 pin quirk table
54186c7dd2ec ALSA: hda - allow 40 bit DMA mask for NVidia devices
0f574c90d747 ALSA: seq: Fix time account regression
8ccf154b2654 ALSA: usb-audio: Add quirk for Syntek STK1160
9d3f5b85ef8b device-dax: fix percpu_ref_exit ordering
33bcff297228 security/keys: make BIG_KEYS dependent on stdrng.
5152986c9257 KEYS: Sort out big_key initialisation
5daa841d0437 KEYS: Fix short sprintf buffer in /proc/keys show function
0a38e6c551c4 thermal/powerclamp: correct cpu support check
5db5e0c11c13 mm: memcontrol: do not recurse in direct reclaim
68adb469dd3b mm/slab: fix kmemcg cache creation delayed issue
67ae004e2c52 mm/list_lru.c: avoid error-path NULL pointer deref
5cb73199ca48 libxfs: clean up _calc_dquots_per_chunk
d00057ecf82f gpio: GPIO_GET_LINE{HANDLE,EVENT}_IOCTL: Fix file descriptor leak
c70eb2cc1276 gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix another information leak
6bba4b226521 gpio: GPIO_GET_LINEEVENT_IOCTL: Reject invalid line and event flags
e2144827d96b gpio: GPIO_GET_LINEHANDLE_IOCTL: Reject invalid line flags
c0699405b147 gpio: GPIO_GET_LINEEVENT_IOCTL: Validate line offset
49bdfb21e37d gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix information leak
e22edf53b40f gpio: GPIO_GET_LINEHANDLE_IOCTL: Validate line offset
a23a59c56a53 gpio: GPIO_GET_CHIPINFO_IOCTL: Fix information leak
78ae767553e4 gpio: GPIO_GET_CHIPINFO_IOCTL: Fix line offset validation
56ffab4f532e gpio / ACPI: fix returned error from acpi_dev_gpio_irq_get()
4366246129ca h8300: fix syscall restarting
a639266ae0c3 spi: mark device nodes only in case of successful instantiation
d6634d871199 spi: fsl-espi: avoid processing uninitalized data on error
0cee66b72acc drm/dp/mst: Clear port->pdt when tearing down the i2c adapter
f2ffb21fb495 i2c: core: fix NULL pointer dereference under race condition
0fda1cdcbb72 i2c: xgene: Avoid dma_buffer overrun
9c619c2a8d4d i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings
(From OE-Core rev: f95903012735e764ae0608a17fc6d4d8c139eb83)
(From OE-Core rev: 02cbbeb726923df8122d5e30a1908a0897e8cd6c)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker sent along updates to the latest 4.8 -rt version.
Updating the SRCREVs to include the following commits:
f83a3d4a643b v4.8.6-rt5
74c7ffc2e3f2 NFSv4: don't disable preemption on !RT
9711dc408890 kbuild: Add -fno-pie to KBUILD_AFLAGS:
7b4d4278e307 v4.8.6-rt4
24aa22031f3c v4.8.2-rt3
8541163464e2 kbuild: add -fno-PIE
81b61ced2d45 NFSv4: replace seqcount_t with a seqlock_t
a8300ce29d0c worqueue: document the proper argument
9711591ebdc3 genirq: document swork member
1aace69fd88f rbtree: include barrier.h
74d4589809f2 rxrpc: remove unused static variables
a941e2f0611c x86/apic: get rid of "warning: 'acpi_ioapic_lock' defined but not used"
9888d1c2e3ab hotplug: Call mmdrop_delayed() in sched_cpu_dying() if PREEMPT_RT_FULL
debf0ec42b2e drivers/zram: Don't disable preemption in zcomp_stream_get/put()
c84b472ee376 mm/zs_malloc: Fix bit spinlock replacement
c17de80bfeba zsmalloc: turn that get_cpu_light() into a local_lock()
33586701e8ad connector/cn_proc: Protect send_msg() with a local lock on RT
b20867d36bcd ftrace: Fix trace header alignment
(From OE-Core rev: 6840594c43b892056886f471575ccb49a78f34e4)
(From OE-Core rev: 0ec50af0cbc8c3fc6301637e4efeaf99fea0512e)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that compilation was broken for the in tree variant of
cryptodev. This commit integrates two patches that fix the issue:
efbdfa1ed95f cryptodev: stomp dynamic version numbering for in tree builds
32f54070205f cryptodev: fix compile error when enable CONFIG_CRYPTODEV
(From OE-Core rev: b91469ac21825a86eb7a71f1e91206719061bcaa)
(From OE-Core rev: 4ce2375e4ef1ef37e87c95faa0cae6171f390afa)
Signed-off-by: Liwei Song <liwei.song@windriver.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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a common include file for compiler flags which allow native binaries to
be interoperable on a wide range of hosts. In particular the C++ ABI is
problematic so choose the CXX11 version to allow interoperation between gcc4 and
gcc5 based hosts. Moving this to a common include instead of uninative.bbclass
allows uninative to be configured later and used in the eSDK (where its
mandatory) even if the base configuration doesn't enable uninative by default
(e.g. nodistro in OE-Core).
[ YOCTO #10645 ]
(From OE-Core rev: 60c912ae9306532bdd4c5e09a65863ee77c12f43)
(From OE-Core rev: 10dea25aac31c156350e3e73f937472404c22d81)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We explicitly check for --fstype if no source was provided for a
partition. However, this was not the case for rootfs partitions. Make
sure to raise an error if filesystem was left unspecified when preparing
a rootfs partition image.
(From OE-Core rev: b8c35fcad57810a87aa25ebeb533adf286eed565)
(From OE-Core rev: dc4d1cfc4d6bd01432857448f66af5492cad7574)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The size field of Partition class is expected to be an integer and ought
to be set inside prepare_*() method. Make sure that this is always the
case.
(From OE-Core rev: a37838f995ae642b0b8bdd47a605a264fb3bf200)
(From OE-Core rev: 4e869343952aef8748b40e538c14ad8b94221910)
Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mount nfs directory would fail if no specific nfsvers:
mount -t nfs IP:/foo/bar/ /mnt/
mount.nfs: an incorrect mount option was specified
mount.nfs currently expects mount(2) to fail with EPROTONOSUPPORT if
the kernel doesn't understand the requested NFS version.
Unfortunately if the requested minor is not known to the kernel
it returns -EINVAL.
Backport patch from nfs-utils-1.3.4 to fix this issue.
(From OE-Core rev: 332596628697d28ae6e8c2271c9658aaf5e54796)
(From OE-Core rev: 2b8362c42f9a7d689084ad956370d2d6c4fa9179)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use SHA256 as default digest for OpenSSL instead of MD5.
CVE: CVE-2004-2761
The MD5 Message-Digest Algorithm is not collision resistant,
which makes it easier for context-dependent attackers to
conduct spoofing attacks, as demonstrated by attacks on the
use of MD5 in the signature algorithm of an X.509 certificate.
Upstream-Status: Backport
Backport from OpenSSL 2.0 to OpenSSL 1.0.2
Commit f8547f62c212837dbf44fb7e2755e5774a59a57b
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(From OE-Core rev: f924428cf0c22a0b62769f8f31f11f173f25014f)
(From OE-Core rev: 0066e5c5559009f250b6e5953d5830db2c8769e1)
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: T.O. Radzy Radzykewycz <radzy@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We strip the TOOLCHAIN_OPTIONS and HOST_CC_ARCH from CC/CXX in cmake.bbclass
whereas CFLAFS and CXXFLAGS assume that TOOLCHAIN_OPTIONS are
part of CC/CXX variables, this causes compile failures when cmake
is running compiler tests during configure on some architectures
especially armhf, because hf ABI information -mfloat-abi is part
of TOOLCHAIN_OPTIONS, so what happens is that testcase gets compiled
without hard-float, howver, during linking the float ABI option
is passed via LDFLAGS, now linker rejects this and fails like
/mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/6.2.0/ld: error: cmTC_27947 uses VFP register arguments, CMakeFiles/cmTC_27947.dir/src.cxx.o does not
mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/6.2.0/ld: failed to merge target specific data of file CMakeFiles/cmTC_27947.dir/src.cxx.o
collect2: error: ld returned 1 exit status
This means that CMake now fails the configure time test too
which is not right, e.g. it might disable features which actually do exist
and should be enabled e.g. in case above it is resulting as below
Performing C++ SOURCE FILE Test HAS_BUILTIN_SYNC_SUB_AND_FETCH failed with the following output:
Its actually a bug in CMake see
https://gitlab.kitware.com/cmake/cmake/issues/16421
CMake is ignoring CMAKE_CXX_FLAGS when using CHECK_CXX_SOURCE_COMPILES
function.
Until it is fixed upstream, we add HOST_CC_ARCH and TOOLCHAIN_OPTIONS
to CFLAGS and CXXFLAGS, so that we can ensure that compiler invocation
remains consistent.
(From OE-Core rev: 826f3cdb474b5728b22f08d2342fc90235ca9e7d)
(From OE-Core rev: 7e5fd5914e15397a56425130c2322ace67da2ee4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script claims to be a /bin/sh script, but it uses
a bashism:
from checkbashisms:
possible bashism in meta/recipes-connectivity/openssl/openssl/openssl-c_rehash.sh line 151 (should be 'b = a'):
if [ "x/" == "x$( echo ${FILE} | cut -c1 -)" ]
This causes build issues on systems that don't have
/bin/sh symlinked to bash:
Updating certificates in ${WORKDIR}/rootfs/etc/ssl/certs...
<builddir>/tmp/sysroots/x86_64-linux/usr/bin/c_rehash: 151: [: x/: unexpected operator
...
Fix this by using POSIX shell syntax for the comparison.
(From OE-Core rev: 0526524c74d4c9019fb014a2984119987f6ce9d3)
(From OE-Core rev: 2ece9c0e955ee99543968ddfd14da909e23ae611)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latest Ubuntu uses yet more aggressive hardening options, which causes the
unconventional build order used by systemtap to fail.
[ YOCTO #10521 ]
(From OE-Core rev: 5ca6ac8739ea4a273df7b8e5c5f7d481619923d8)
(From OE-Core rev: 3397af5877a41a6a59aeb90f8610c759cad38795)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Passing --disable-nls should be enough to disable the requirement for a full
gettext to be present, but the upstream configure explicitly checks for msgfmt
even if it isn't going to be used. To avoid having to depend on gettext-native,
patch this check out.
(From OE-Core rev: 2f8d2a74f73490c1ae35131d3eb3592f7ee0a1e4)
(From OE-Core rev: 7d689876574ba47e5ad07d67ad40fd865b0c27f5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Root device name in systemd-bootdisk.wks is 'sda'. This can cause
images, produced using this wks to refuse booting if real device
name is not 'sda'. For example, when booting MinnowBoard MAX from
MicroSD card the boot process stucks with this message on the boot
console output: Waiting for root device /dev/sda2...
This happens because real device name of MicroSD card on this device
is mmcblk1.
Used --use-uuid option for root partition. This should make
wic to put partiion UUID instead of device name into kernel command
line.
[YOCTO #10485]
(From OE-Core rev: 5b73d5f484cc844affe91ec19d881d42e187f30c)
(From OE-Core rev: 71a365d57359dd8d9bfce66985975b1533e983d7)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
a.out.h support is not across all architectures only
x86/x86_64 support is in linux/a.out.h, this patch
abstracts the minimum needed constructs into itself
(From OE-Core rev: 757224640bbf4ebf17aea22fa1419c9c3bcd89ce)
(From OE-Core rev: 7985b295384f98fd6ea88f3aff197ccf0369977b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The swpb in macro MUTEX_SET will cause "undefined instruction" error
on the new arm arches which don't support this assembly instruction
any more. If use ldrex/strex to replace swpb, the old arm arches don't
support them. So to avoid this issue, just disable the ARM assembler
mutex code, and use the default pthreads mutex.
(From OE-Core rev: aafbc548ebc66dc0d703526f9a98f784e9c9605b)
(From OE-Core rev: d6a0ef7e9dfbda3d55ba18f2bcc69f04d502495d)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The included patch, backported from Weston master (and OE-Core
master since Weston 1.11.1, b6864b1), allows it to run without
any input device at launch. An ini option is introduced for
this purpose, so there is no behavioral change.
Related change in weston.ini:
[core]
require-input=true
Default is true; setting it false allows Weston to run
without a keyboard or mouse, which is handy for automated
environments.
(From OE-Core rev: 8fa5e442d16b1d04066b51b9fd56be41ae67d2d5)
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Android-tools depends on it and to build the native versions of fastboot, adb, mkbootimg and others libbsd needs to support native builds.
(From OE-Core rev: 5d6761dacd370fdb6f29269a22cfbca86f301024)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b02cef58ee35dd277fff48538ce2803df1cbc4d5)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly: Cyprus split into two time zones on 2016-10-30, and Tonga
reintroduces DST on 2016-11-06.
Changes to future time stamps
Pacific/Tongatapu begins DST on 2016-11-06 at 02:00, ending on
2017-01-15 at 03:00. Assume future observances in Tonga will be
from the first Sunday in November through the third Sunday in
January, like Fiji. (Thanks to Pulu ʻAnau.) Switch to numeric
time zone abbreviations for this zone.
Changes to past and future time stamps
Northern Cyprus is now +03 year round, causing a split in Cyprus
time zones starting 2016-10-30 at 04:00. This creates a zone
Asia/Famagusta. (Thanks to Even Scharning and Matt Johnson.)
Antarctica/Casey switched from +08 to +11 on 2016-10-22.
(Thanks to Steffen Thorsen.)
Changes to past time stamps
Several corrections were made for pre-1975 time stamps in Italy.
These affect Europe/Malta, Europe/Rome, Europe/San_Marino, and
Europe/Vatican.
First, the 1893-11-01 00:00 transition in Italy used the new UT
offset (+01), not the old (+00:49:56). (Thanks to Michael
Deckers.)
Second, rules for daylight saving in Italy were changed to agree
with Italy's National Institute of Metrological Research (INRiM)
except for 1944, as follows (thanks to Pierpaolo Bernardi, Brian
Inglis, and Michael Deckers):
The 1916-06-03 transition was at 24:00, not 00:00.
The 1916-10-01, 1919-10-05, and 1920-09-19 transitions were at
00:00, not 01:00.
The 1917-09-30 and 1918-10-06 transitions were at 24:00, not
01:00.
The 1944-09-17 transition was at 03:00, not 01:00. This
particular change is taken from Italian law as INRiM's table,
(which says 02:00) appears to have a typo here. Also, keep the
1944-04-03 transition for Europe/Rome, as Rome was controlled by
Germany then.
The 1967-1970 and 1972-1974 fallback transitions were at 01:00,
not 00:00.
(From OE-Core rev: daf95f7fd9f7ab65685d7b764d8e50df8d00d308)
(From OE-Core rev: 550901db388eda2476da24b71117223be999688b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
The code should now be buildable on AmigaOS merely by setting the
appropriate Makefile variables. (From a patch by Carsten Larsen.)
(From OE-Core rev: d2b8c4ee535684f5d874082a7f76efbda1907ea5)
(From OE-Core rev: 757f2cb2f2acaf41d3f81c5b9bb0afd8e05001db)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ELF parser was assuming that the segment tables are in the first 4kb of the
binary. Whilst this generally appears to be the case, there have been instances
where the segment table is elsewhere (offset 2MB, in this sample I have). Solve
this problem by mmap()ing the file instead.
Also clean up the code a little whilst chasing the problem.
(From OE-Core rev: b88c6bd61e7c3388b3902de1adb5e48a88f2e235)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version of epiphany still needs libwnck3.
This reverts commit fb5c4f181176710a4cfb3c875b5edb4e5aa5df73.
(From OE-Core rev: eec53627ac5c3aa811a0bd97f06a4827ef0189d3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The epiphany in morty still needs libwnck3, so bring it back.
This reverts commit 129281e8557ec8d29ecf863675884713a3050f4b.
(From OE-Core rev: d09108805dab4595101706f6e75a0a622d3b0cda)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fact that the OpenEmbedded build system can now build
multiple image types caused the KERNEL_IMAGE_BASE_NAME variable
to have the KERNEL_IMAGETYPE portion removed. This could cause
existing recipes that use the KERNEL_IMAGE_BASE_NAME variable
directly issues. I added a section indicating that the user
should address those recipes to avoid problems.
(From yocto-docs rev: 2b4a36b45846e296c15d62ee8fabdd9ff29b2b0f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10717]
Now that multiple images can be built, the KERNEL_IMAGE_BASE_NAME
no longer requires "${KERNEL_IMAGETYPE}" as part of its default
value. I have removed this portion of the default definition
described in the glossary.
(From yocto-docs rev: 54abeb3fbbac8b6d319183f88803fbe71b27fcbe)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10351]
I added a note to the "Post Installation Scripts" section of the
"Writing a New Recipe" section to call out the fact that the
RPM package manager will not install packages on the target when
any RPM post-install script returns a non-zero exit code when
the script is run on the target.
(From yocto-docs rev: a2b36b4a352522e3c576a45ee239af51eda518c1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10692]
I updated the STAGING_DIR variable description to have a reference
to the SYSROOT_DIRS variable as well as the "Sharing Files
Between Recipes" section of the dev-manual.
I also updated the "Sharing Files Between Recipes" section so
that the role of SYSROOT_DIRS is explained and actually used
in an example to add another directory.
(From yocto-docs rev: 23114b4bc708398bae8c4559793dd36bc53c96a2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #8584]
Made some edits to tighten this down and make it more efficient.
(From yocto-docs rev: f25c0cf08877b62a6e2523b5d4caa83c008ef004)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of Django 1.8.16, Django is rejecting any HTTP_HOST header that is
not on the ALLOWED_HOST list. We often need to reference the
toaster server via a fqdn, if we start it via webport=0.0.0.0:8000 for
instance, and are hitting the server from a laptop. This change does
reduce the protection from a DNS rebinding attack, however, if you are
running the toaster server outside a protected network, you should be
using the production instance.
[YOCTO #10578]
(Bitbake rev: 59a3f391ac5ac194f30d11a39676356464269d55)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #8584]
This fix essentially had to document how to add the API
documentation to the standard SDK. The fix required adding a
new appendix to the SDK manual on how to customize that
standard SDK. I could not put just one topic in a new appendix
so I also added a sub-section on how to add indidual packages
to the standard SDK.
Other changes here were the introduction of a new file for the new
appendix, updated the mega-manual.xml file so that it would include
the new chapter when the MM was built. Finally, I added some
cross-referencing to the new appendix from the TOOLCHAIN_HOST_TASK
and TOOLCHAIN_TARGET_TASK variables. And a cross reference from the
distro features section on the api-documentation bullet.
(From yocto-docs rev: d2b5224df82959e0ce52d12f579a572b86f9fc70)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #8584]
Updated the "Distro Features" section to include the
"api-documentation" feature.
(From yocto-docs rev: ad02528f13390c2c0dc5717c1f9088212def37be)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The string appeared in the text as "$(INC_PR).0". So, fixed
it to be proper with the curly braces.
(From yocto-docs rev: 113296272e60da09c88660d09a5e8ba06f0fda7a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The way I had this string was incorrect. I changed it to "openSUSE".
(From yocto-docs rev: 1b44f58f7cf9c68186dd271b4779b3a368757b1d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10445]
Pointed out that the EXTENDPKGV variable is hard to locate in the
BB manual. Firstly, we don't document that variable in the
BB manual.... maybe we should. For the ref-manual, however, it is
barely referenced in a side example from the dev-manual. So, I
updated the RDEPENDS variable to have a "Tip" box in the area where
it is shown how to use the package version as part of the RDEPENDs
variable.
(From yocto-docs rev: f42525ba8a4d20722d15c9fa250c494a90ff478b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed [YOCTO #10588]
This section was confusing due to the fact that it used an actual
set of IP addresses and image name where they should be clearly
called out as examples. Fixed it.
(From yocto-docs rev: 006a25fad282b03aacd59eb8dc1a44cad2c19fc4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10451]
Added a missing closing parentheses to a sentence.
(From yocto-docs rev: 8fc10d592eb426c5b173be2280b72fa7ccf3510c)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "runqemu Ported to Python" section was using past tense
for a note about previous usage patterns being supported. I
changed this to present tense.
(From yocto-docs rev: 15aa9d5a0164fa9553cf252a651d6aa5fb1c23f0)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Print full traceback instead of just the exception message in the
child() function inside fork_off_task(). This makes debugging a lot
easier as the function catches a generic "Exception" and the exception
message alone might not give much information.
[YOCTO #10393]
(Bitbake rev: 61cc397a5b7136afb37052a2860c6c39a176ddab)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a bug where a totally wrong value of a variable would be exported if
an exception happened during d.getVar(). Also, print a warning if an
exception happends instead of silently ignoring it. It would probably be
best just to raise the exception, instead, but use the warning for now
in order to avoid breaking existing builds.
[YOCTO #10393]
(Bitbake rev: 59c606cfc6e0a4f367344d4e3def6017fb560d75)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We recalculate the taskhash to ensure the version we have matches
what we think it should be. When we write out a sigdata file, use
the calculated value so that we don't overwrite any existing file.
This leaves any original taskhash sigdata file intact to allow a
debugging comparison.
(Bitbake rev: dac68af6f4add9c99cb7adcf23b2ae89b96ca075)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake can parse metadata in the cooker and in the worker during builds. If
the metadata isn't deterministic, it can change between these two parses and
this confuses things a lot. It turns out to be hard to debug these issues
currently.
This patch ensures the basehashes from the original parsing are passed into
the workers and that these are checked when reparsing for consistency. The user
is shown an error message if inconsistencies are found.
There is debug code in siggen.py (see the "Slow but can be useful for debugging
mismatched basehashes" commented code), we don't enable this by default due to
performance issues. If you run into this message, enable this code and you will
find "sigbasedata" files in tmp/stamps which should correspond to the hashes
shown in this error message. bitbake-diffsigs on the files should show which
variables are changing.
(Bitbake rev: 46207262ee6cdd2e49c4765481a6a24702ca4843)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.
(Bitbake rev: 06e7c00f2e1ddda6a2632ec2354a3c8f5c34562d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.
(From OE-Core rev: 988349f90c8dc5498b1f08f71e99b13e928a0fd0)
(From OE-Core rev: c8d96b10ee3bc2eae0fd269d2564286fd0bc82ed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.
(From OE-Core rev: 1ebd85f8dfe45b92c0137547c05e013e340f9cec)
(From OE-Core rev: 3764a5ce8a1f26b46c389c256c10596ed8d31cc7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
41d8236 Set GDB version number to 7.11.1.
136613e Fix PR gdb/19828: gdb -p <process from a container>: internal error
a0de87e Make gdb/linux-nat.c consider a waitstatus pending on the infrun side
cf2cd51 Add mi-threads-interrupt.exp test (PR 20039)
f0a8d0d Fix double prompt output after run control MI commands with mi-async on (PR 20045)
b5f0db4 Fix -exec-run not running asynchronously with mi-async on (PR gdb/18077)
7f8e34d Use target_terminal_ours_for_output in MI
(From OE-Core rev: 371345c0dc49bf781c27aea1e9f6a4c947fa30e6)
(From OE-Core rev: 23a7c411b39eece9c80e1fde84894c75ca8dcbe0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When run the following command on x86:
svnadmin create /var/test_repo
It cause segmentation fault error like the following:
[16499.751837] svnadmin[21117]: segfault at 83 ip 00000000f74bf7f6 sp 00000000ffdd9b34 error 4 in libc-2.24.so[f7441000+1af000]
Segmentation fault (core dumped)
This is because in source code ./subversion/libsvn_fs_fs/low_level.c,
function svn_fs_fs__unparse_footer, when:
target arch: x86
apr_off_t: 4 bytes
if the "APR_OFF_T_FMT" is "lld", it still use type "apr_off_t" to pass
data to apr, but in apr source code file apr_snprintf.c the function
apr_vformatter meet "lld", it would use the:
i_quad = va_arg(ap, apr_int64_t);
It uses the apr_int64_t to deal data, it read 8 bytes, so the follow-up
data may be error.
(From OE-Core rev: 7ea7e3db7801b58495b89a95ec2751d618d3a29f)
(From OE-Core rev: 81b9ac05bdb3dc89c6fd17acbfff7cc4f4685108)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you are using a repository which contains a .templateconf file that
sets TEMPLATECONF to point into a layer it contains, but you aren't
using that layer in your bblayers.conf, the eSDK would produce an error
during the preparation step of the installation. An example would be
using the poky repository but setting DISTRO to your own custom distro
and removing meta-poky from your bblayers.conf. The eSDK doesn't
support creating new build directories, so we don't care about the
templates and can thus force a known good value to prevent this from
happening.
Fixes [YOCTO #10568].
(From OE-Core rev: 5ee32191a18013061dfa72e64713a94c5d321496)
(From OE-Core rev: 7fbc086f47ef6e36c819836deaa1b2fb3f0ec97a)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This directory shouldn't contain local.conf and bblayers.conf - just
templates for them; except it doesn't have to contain those, it just has
to exist to pass this test. Change the error message accordingly, and
mention TEMPLATECONF so that the user has at least some context.
(From OE-Core rev: 61adaaa4348c670769f8750223977dbefe369ffb)
(From OE-Core rev: 3136666fee621d94ec4c48e706f0dad3b6b6f08c)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure the recipe version matches what we're
actually shipping, so that tools like cve-check
can do the right thing.
Rather than fetching version 3.2.48 and applying all
patches up to and including version 3.2.57, we just
fetch the latter in the first place.
(From OE-Core rev: 614ac87f2832c5359f371439559be88d6106cd6b)
(From OE-Core rev: db3f5330d7a38bb07aca0d65aa94ca36beb721d6)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Acked-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to future time stamps
Asia/Gaza and Asia/Hebron end DST on 2016-10-29 at 01:00, not
2016-10-21 at 00:00. (Thanks to Sharef Mustafa.) Predict that
future fall transitions will be on the last Saturday of October
at 01:00, which is consistent with predicted spring transitions
on the last Saturday of March. (Thanks to Tim Parenti.)
Changes to past time stamps
In Turkey, transitions in 1986-1990 were at 01:00 standard time
not at 02:00, and the spring 1994 transition was on March 20, not
March 27. (Thanks to Kıvanç Yazan.)
Changes to past and future time zone abbreviations
Asia/Colombo now uses numeric time zone abbreviations like "+0530"
instead of alphabetic ones like "IST" and "LKT". Various
English-language sources use "IST", "LKT" and "SLST", with no
working consensus. (Usage of "SLST" mentioned by Sadika
Sumanapala.)
(From OE-Core rev: ff11ca44fec8e4b2aa523e032bd967e3ab8339a8)
(From OE-Core rev: 5637d1555b51569cdd7202ee47a0b913a0b429cb)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to code
zic no longer mishandles relativizing file names when creating
symbolic links like /etc/localtime, when these symbolic links
are outside the usual directory hierarchy. This fixes a bug
introduced in 2016g. (Problem reported by Andreas Stieger.)
(From OE-Core rev: 9c5de646e01a83219be74e99dcf7c1e56ba38b53)
(From OE-Core rev: 9288b6e699abbf5b314029b0db9230ca159b335a)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Compiling texi2html 5.0 out-of-source with USE_NLS set to no failed
because it tried to copy from srcdir without using that variable.
Fix this issue and add a reference to the upstream commit.
(From OE-Core rev: 28a37020f50e513b247015b1b0a784c99d41aae3)
(From OE-Core rev: f31ec69379a752e18321ce600a09db9de48fc263)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove backported gcc5-port.patch
Remove 11_mips-link-tool.patch as there is nothing in the target file
(or the entire source tree) that resembles anything contained in the patch.
(From OE-Core rev: 221093e850fbc3c154e9069f1958384b59ba3f70)
(From OE-Core rev: 7178febeb04f9b7326554f6b57ed50345fd95126)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream had a 2.0 tag for a while, then removed it and added a 1.1 tag :-/
Let's make it match to avoid confusion. There's only one new commit
added, which adds a missing manpage.
Also, update the outdated version comment in rt-tests.inc
(From OE-Core rev: 799a7b74f1219040fe2d43dcdcd145600a9fecbd)
(From OE-Core rev: 5a577f1aa4891646075a559fc94e52cfe34b96c9)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libxrandr dependency has been removed upstream
Udev dependecy has been added upstream:
commit b8cbfbe06475703f333367976eae9477f229891a
pnp-ids: Use udev's hwdb to query PNP IDs
(From OE-Core rev: 5f939fbf229e3c05d6b726f481a0e862ad5a5ceb)
(From OE-Core rev: 623f9eb815ae0a53f96222947b566c4e6d74ab97)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was creating a race in runtime library dependency resolution
where sometimes the library was assumed to be provided by the ptest
package.
(From OE-Core rev: c4a10c0b4bc14f4bac06deed8ecb64d0303f4029)
(From OE-Core rev: 10e32463236df05458af7fb7d1ef388f380ab10c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This manpage is also shipped in util-linux-doc as an alternative, so it needs to
be managed as an alternative here too.
(From OE-Core rev: 0c1e8e0939b39dcf6ea753b41da5ec9bc6ebb82a)
(From OE-Core rev: 4a916484adbf7ae38338279b83f8a64c2cee4f3e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The su binary is handled by alternatives but the man page wasn't, so
installing both util-linux-doc and shadow-doc produces errors.
Also use d.expand() to neaten the code.
(From OE-Core rev: 70a161ee88d3d54fec6d59039c181b43f1857dc3)
(From OE-Core rev: bec07530536c36b2ab2a7818a9ffc475faba27ac)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
eMMC devices may report block devices like "mmcblk0rpmb" and
"mmcblk0boot0". These are not actually block devices and any
read/write operation on them will fail. To prevent spamming error
messages attempting to mount them, just ignore these devices.
(From OE-Core rev: 9f4a85eb929f67420d9689d7dddadd120ed49843)
(From OE-Core rev: 50d97edaeb18a4c6374101d222410a3b0f344bf2)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not use --force-depends when trying to remove all dependent packages,
as it removes only the selected package and not the dependent packages.
(From OE-Core rev: a82e8725902086dab785a0b14305927dae1e4e8d)
(From OE-Core rev: 0666c66b2719f59e556c12d5875dea696006ed0b)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
open() is default to 'rt' which may cause decoding errors when open
binary file:
$ bitbake xcursor-transparent-theme
[snip]
Exception: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfd in position 18: invalid start byte
[snip]
(From OE-Core rev: ddbab61f47efd9b4fde38ef8f0f3482c78abe37c)
(From OE-Core rev: 8364558a2904d21c9b31d29bfb8f2d9cbeac8659)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SDK_OLDEST_KERNEL currently only controls the check on SDK installation,
however as with OLDEST_KERNEL it should be controlling the OLDEST_KERNEL
value for building glibc used in the SDK. Thus, set it in
nativesdk.bbclass. This means we need to move the default to
bitbake.conf so that it can be seen in both places.
Also set a more reasonable default for SDK_OLDEST_KERNEL for x86/x86-64 as
glibc 2.24 still supports back to 2.6.32 there and there are still
people wanting to build SDKs that will install on older distros (e.g.
CentOS 6). However it's not possible to set this with overrides since
there aren't any for the SDK_ARCH, however we can instead set the variable
from conf files in conf/machine-sdk especially as there is now a soft
default for SDKMACHINE.
Fixes [YOCTO #10561].
(From OE-Core rev: 42d5781e31c5bf76b5b7e27abed4f6f3fd65bf40)
(From OE-Core rev: e02aa8e8b62eae0f83beca850466408dd060b248)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you used an & character in SDK_TITLE (possibly indirectly from
DISTRO_NAME) then sed interpreted this as a directive to paste in the
replaced string (@SDK_TITLE@ in this case). Escape any & characters in
SDK_TITLE to avoid that.
(From OE-Core rev: acb85689c13cfdac21435509001048af5c3a7e99)
(From OE-Core rev: bbad3402d431ac178cabdc00fcaf37b3a1a6bfd6)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manager_invoke_notify_message function in systemd 231 and earlier allows
local users to cause a denial of service (assertion failure and PID 1 hang)
via a zero-length message received over a notify socket.
The patch is a backport from the latest git repo.
Please see the link below for more information.
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-7795
(From OE-Core rev: 543570cafa8d7f595b489d03d05f0aa4478f8539)
(From OE-Core rev: df3f4785fc69d3ddbd30ccd954aad3d3618c5916)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When there is a relative symlink in the layer, for example:
symA -> ../out/of/layer/file
symA will be invalid fater copied, it would be invalid from build time
if it points to a relative path, and would be invalid after extracted
the sdk if it points to a absolute py. Dereference symlink when copy
will fix the problem.
Use tar rather than shutil.copytree() to copy is because:
1) shutil.copytree(symlinks=Fasle) has bugs when dereference symlinks:
https://bugs.python.org/issue21697
And Ubunutu 1404 doesn't upgrade python3 to fix the problem.
2) shutil.copytree(symlinks=False) raises errors when there is a invalid
symlink, and tar just prints a warning, tar is preferred here since
the real world is unpredicatable
3) tar is faster than shutil.copytree() as said by oe.path.copytree()
So use tar to copy.
(From OE-Core rev: f4d70bb0882eec4fb46cd942f2796fad57c72982)
(From OE-Core rev: 51d3cab8aab593481be16cadaca6fcddbb64bc52)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The c_rehash utility is supposed to be run in the folder /etc/ssl/certs
of a rootfs where the package ca-certificates puts symlinks to
various CA certificates stored in /usr/share/ca-certificates/mozilla/.
These symlinks are absolute. This means that when c_rehash is run
at rootfs creation time it can't hash the actual files since they
actually reside in the build host's directory
$SYSROOT/usr/share/ca-certificates/mozilla/.
This problem doesn't reproduce when building on Debian or Ubuntu
hosts though, because these OSs have the certificates installed
in the same /usr/share/ca-certificates/mozilla/ folder.
Images built in other distros, e.g. Fedora, have problems with
connecting to https servers when using e.g. python's http lib.
The patch fixes c_rehash to check if it runs on a build host
by testing $SYSROOT and to translate the paths to certificates
accordingly.
(From OE-Core rev: 5199b990edf4d9784c19137d0ce9ef141cd85e46)
(From OE-Core rev: 9ab0cba49d9ab67aacfcfb47689f4a77a72a0866)
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm2cpio is in ${PN}-common, but rpm2cpio.real is in ${PN}. This seperation
is really weird. Put them both in ${PN}-common.
(From OE-Core rev: 8a0af7e4ae8ba8ce0c7fd2a9f6ab7cc070f47af0)
(From OE-Core rev: 0f87812a515ae349885929558fbfb315f4a10ec7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The AC_PATH_XTRA check for X11 headers is never actually used, so patch that out
and remove the options in EXTRA_OECONF.
Move pcre/png/zlib toggles to PACKAGECONFIG, retaining the behaviour that only
PCRE is enabled by default.
Add missing libiconv dependency.
(From OE-Core rev: 3587053646c34002fa18b87834516ce27fbd0788)
(From OE-Core rev: 200cc00b048dbef11b01c6402d6525559de76306)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The slang maintainer only puts the current release at
jedsoft.org/releases/slang/slang-1.2.3.tar.bz2, all previous releases are moved
into /releases/slang/old/.
As this breaks the fetch the moment a new version is released, use PREMIRRORS to
also look in the /old/ directory.
(From OE-Core rev: 50d49766ab76b67e312f6a1d91977a40d1020919)
(From OE-Core rev: f2783109ac7939eba722dc2f863661ade03e4a8a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you set LIC_FILES_CHKSUM to point to a relative symlink then you'll
get "Could not copy license file" warnings in copy_license_files() since
the symlink won't be valid after it's copied. If the source is a symlink
then we need to dereference it first.
I encountered this when I used recipetool on the sources for capnproto,
where the c++ directory contains a LICENSE.txt symlink to the LICENSE
file in the parent directory, and this symlink ends up being pointed to
in LIC_FILES_CHKSUM.
(From OE-Core rev: c4d3b1e9c37b920444e53d3231552da18d101882)
(From OE-Core rev: 650ddf1d8b687845099a8ac463c3a550a7965095)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Import a patch from upstream, which fixes a connman daemon freeze
under certain conditions (multiple active interfaces, no r/w storage).
(From OE-Core rev: bba18cdce6fb6c5ff2f7161198d46607a72747d6)
(From OE-Core rev: 87d6ccd8c7775b1d3e2571b6e17091538a8bd6c8)
Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When modifying the PATH variable in .bashrc, double quote characters
were used, resulting in expanding the variable $PATH with the value of
PATH of the system building the Build Appliance.
The original intent was to enter an un-expanded (literal) $PATH.
In order to that, one must use single quotes instead of double quotes.
[YOCTO#10434] [YOCTO#10504]
(From OE-Core rev: 6238faf901956e2a350315a66ca1ce557deaa513)
(From OE-Core rev: ac2b0413526df46cfdcae2d3f9add1a29fe3c2b5)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes segfaults when doing partial linking and generaring binary objects
/tmp/binu/ld/ld-new -r -b binary -o etc_certs_ui_ca_pem.o etc_certs_ui_ca_pem
0 elf32_arm_count_additional_relocs (sec=0x79bf40) at /mnt/a/work/oe/binutils-gdb/bfd/elf32-arm.c:18210
1 0x000000000047635a in bfd_elf_final_link (abfd=abfd@entry=0x783250, info=info@entry=0x748400 <link_info>) at /mnt/a/work/oe/binutils-gdb/bfd/elflink.c:11224
2 0x000000000044df7b in elf32_arm_final_link (abfd=0x783250, info=0x748400 <link_info>) at /mnt/a/work/oe/binutils-gdb/bfd/elf32-arm.c:12131
3 0x0000000000418917 in ldwrite () at /mnt/a/work/oe/binutils-gdb/ld/ldwrite.c:577
4 0x000000000040365f in main (argc=<optimized out>, argv=<optimized out>) at /mnt/a/work/oe/binutils-gdb/ld/ldmain.c:433
gold works ok. The patch is already applied in master binutils
(From OE-Core rev: 00d1913520f1572fa7def865e57852c7f25b0ec4)
(From OE-Core rev: 2b1a571899eec018d6f44876b743e06835ed761d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were presuming that all the layer dependency information was of the
form "^/path/to/layer" to we were just stripping the leading "^" off of
the layer information when we were matching the layer priorities to the
toaster database. This patch splits out the priorities layer match which
gets a regex from the task/recipe match which is gets a path.
(Bitbake rev: 82775c80d169266cc18ca2b2065a05c79dc6fbfc)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Built and boot test for all these boards on 4.1, 4.4 and 4.8 kernels.
(From meta-yocto rev: d4627701a3a5d8c82f49747c41c5b3226da56d07)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The initial 4.8 -rt feature was directly from Paul Gortmaker, and
now the 'upstream' -rt has done a release on the same kernel
version.
Paul has sync'd the initial effort with the upstream work, and we
now have a consolidated standard/preempt-rt/*
Along with the rsync'd content, Paul has fixed -rt boot on 32 bit
x86.
(From OE-Core rev: 1270050079feeefc38744fdbfe23b16aa1b632a3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new runqemu script assumes that if OECORE_NATIVE_SYSROOT is set then
it shouldn't try to run bitbake to find out the values of various
variables such as DEPLOY_DIR_IMAGE; this assumption is incorrect for the
extensible SDK. To work around this, clear OECORE_NATIVE_SYSROOT in the
environment when running runqemu.
Fixes [YOCTO #10447].
(From OE-Core rev: abff69a48bf3076ce8e21356accdc8d85d2c8dbf)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These requirements were in place for the ADT, which is gone now.
I have removed the four supported host lists for packages to
support the SDK.
(From yocto-docs rev: e0f36333b3a0e5f3503f6ac48b87c3ae8c23afe3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moved a couple notes around and changed some wordings...
nothing major.
(From yocto-docs rev: 518d368c4c981df5ddde6681859906c9eb16ff62)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10462]
The section that shows how to build images had two examples all
within the same section. It was suggested to place these examples
in their own sub-sections. Good suggestion. I broke them out into
sub-sections titled appropriately.
(From yocto-docs rev: b97918820cfa12a2d5dfbccd6c0ce22b16d65206)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10451]
The example that writes the image to bootable media did not seem
to work when using 'mkefidisk.sh'. It does work using 'dd'. I changed
the procedure to use 'dd'.
(From yocto-docs rev: e3f90869291f619db1d830b127ade66986eba886)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a new section in the "Common Tasks" chapter to support
the fact that BB can now build for multi-configurations.
(From yocto-docs rev: 0bf464908200d6c40c35fbf753712a8b0201dd88)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Indicated that the configuration file is not mandatory. Also,
documented the supported qemu* machines should you run the
script without a configuration file.
(From yocto-docs rev: c01e8ff8e3233e56a220be042616d5810f181a58)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-25 17:56:27 +01:00
8547 changed files with 490140 additions and 522010 deletions
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
bb.utils.check_system_locale()
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
unihash_exists_parser = subparsers.add_parser('unihash-exists', help="Check if a unihash is known to the server")
unihash_exists_parser.add_argument("--quiet", action="store_true", help="Don't print status. Instead, exit with 0 if unihash exists and 1 if it does not")
unihash_exists_parser.add_argument("unihash", help="Unihash to check")
parser.add_argument('-q', '--quiet', help='Print only errors', action='store_true')
parser.add_argument('-F', '--force', help='Forced execution: can be specified multiple times. -F will force add without recipe parse verification and -FF will additionally force the run withput layer parsing.', action='count', default=0)
sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.")
# Users shouldn't be running this code directly
if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"):
# TODO: add argument to automatically keep local-only refs, since they
# can't be easily restored with a git fetch.
parser = argparse.ArgumentParser(description='Remove the history of the specified revisions, then optionally filter the available refs to those specified.')
parser.add_argument('--ref', '-r', metavar='REF', action='append', dest='refs', help='remove all but the specified refs (cumulative)')
parser.add_argument('--shrink', '-s', action='store_true', help='shrink the git repository by repacking and pruning')
echo "Failed migrations, aborting system start" 1>&2
return $retval
fi
# Make sure that checksettings can pick up any value for TEMPLATECONF
export TEMPLATECONF
$MANAGE checksettings --traceback || retval=1
if [ $retval -eq 1 ]; then
printf "\nError while checking settings; aborting\n"
return $retval
fi
echo "Starting webserver..."
$MANAGE runserver --noreload "$ADDR_PORT" \
</dev/null >>${TOASTER_LOGS_DIR}/web.log 2>&1 \
$MANAGE runserver "$ADDR_PORT" \
</dev/null >>${BUILDDIR}/toaster_web.log 2>&1 \
& echo $! >${BUILDDIR}/.toastermain.pid
sleep 1
@@ -95,7 +79,6 @@ webserverStartAll()
else
echo "Toaster development webserver started at http://$ADDR_PORT"
echo -e "\nYou can now run 'bitbake <target>' on the command line and monitor your build in Toaster.\nYou can also use a Toaster project to configure and run a build.\n"
them? BitBake's error messaging helps you answer these types of
questions and helps you better understand exactly what is going on.
Following is the complete "Hello World" example.
#.**Create a Project Directory:** First, set up a directory for the
"Hello World" project. Here is how you can do so in your home
directory::
$ mkdir ~/hello
$ cd ~/hello
This is the directory that
BitBake will use to do all of its work. You can use this directory
to keep all the metafiles needed by BitBake. Having a project
directory is a good way to isolate your project.
#.**Run BitBake:** At this point, you have nothing but a project
directory. Run the ``bitbake`` command and see what it does::
$ bitbake
ERROR: The BBPATH variable is not set and bitbake did not find a conf/bblayers.conf file in the expected location.
Maybe you accidentally invoked bitbake from the wrong directory?
When you run BitBake, it begins looking for metadata files. The
:term:`BBPATH` variable is what tells BitBake where
to look for those files. :term:`BBPATH` is not set and you need to set
it. Without :term:`BBPATH`, BitBake cannot find any configuration files
(``.conf``) or recipe files (``.bb``) at all. BitBake also cannot
find the ``bitbake.conf`` file.
#.**Setting BBPATH:** For this example, you can set :term:`BBPATH` in
the same manner that you set ``PATH`` earlier in the appendix. You
should realize, though, that it is much more flexible to set the
:term:`BBPATH` variable up in a configuration file for each project.
From your shell, enter the following commands to set and export the
:term:`BBPATH` variable::
$ BBPATH="projectdirectory"
$ export BBPATH
Use your actual project directory in the command. BitBake uses that
directory to find the metadata it needs for your project.
..note::
When specifying your project directory, do not use the tilde
("~") character as BitBake does not expand that character as the
shell would.
#.**Run BitBake:** Now that you have :term:`BBPATH` defined, run the
``bitbake`` command again::
$ bitbake
ERROR: Unable to parse /home/scott-lenovo/bitbake/lib/bb/parse/__init__.py
Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/parse/__init__.py", line 127, in resolve_file(fn='conf/bitbake.conf', d=<bb.data_smart.DataSmart object at 0x7f22919a3df0>):
if not newfn:
> raise IOError(errno.ENOENT, "file %s not found in %s" % (fn, bbpath))
fn = newfn
FileNotFoundError: [Errno 2] file conf/bitbake.conf not found in <projectdirectory>
This sample output shows that BitBake could not find the
``conf/bitbake.conf`` file in the project directory. This file is
the first thing BitBake must find in order to build a target. And,
since the project directory for this example is empty, you need to
provide a ``conf/bitbake.conf`` file.
#.**Creating conf/bitbake.conf:** The ``conf/bitbake.conf`` includes
a number of configuration variables BitBake uses for metadata and
recipe files. For this example, you need to create the file in your
project directory and define some key BitBake variables. For more
process. Here, the ``TMPDIR`` directory is set to ``hello/tmp``.
..tip::
You can always safely delete the tmp directory in order to rebuild a
BitBake target. The build process creates the directory for you when you
run BitBake.
For information about each of the other variables defined in this
example, check :term:`PN`, :term:`TOPDIR`, :term:`CACHE`, :term:`STAMP`,
:term:`T` or :term:`B` to take you to the definitions in the
glossary.
#.**Run BitBake:** After making sure that the ``conf/bitbake.conf`` file
exists, you can run the ``bitbake`` command again::
$ bitbake
ERROR: Unable to parse /home/scott-lenovo/bitbake/lib/bb/parse/parse_py/BBHandler.py
Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 67, in inherit(files=['base'], fn='configuration INHERITs', lineno=0, d=<bb.data_smart.DataSmart object at 0x7fab6815edf0>):
discussion mailing list about the BitBake build tool.
</para>
<note>
This example was inspired by and drew heavily from these sources:
<itemizedlist>
<listitem><para>
<ulinkurl="http://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html">Mailing List post - The BitBake equivalent of "Hello, World!"</ulink>
</para></listitem>
<listitem><para>
<ulinkurl="http://hambedded.org/blog/2012/11/24/from-bitbake-hello-world-to-an-image/">Hambedded Linux blog post - From Bitbake Hello World to an Image</ulink>
</para></listitem>
</itemizedlist>
</note>
<para>
As stated earlier, the goal of this example
is to eventually compile "Hello World".
However, it is unknown what BitBake needs and what you have
to provide in order to achieve that goal.
Recall that BitBake utilizes three types of metadata files:
$('#outdated-warning').html('Version '+release+' of the project is now considered obsolete, please select and use a more recent version');
$('#outdated-warning').css('padding','.5em');
}elseif(release!="dev"){
$.each(all_versions,function(version,title){
varseries=version.substr(0,3);
if(series==current_series&&version!=release){
$('#outdated-warning').html('This document is for outdated version '+release+', you should select the latest release version in this series, '+version+'.');
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.