summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* linux-yocto/4.18: update to v4.18.9Bruce Ashfield2018-09-223-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the korg -stable commits for 4.18.8/9, that comprise the following commits: 86e014f514f9 Linux 4.18.9 175ad0cbd818 mm: get rid of vmacache_flush_all() entirely 39998fd58036 autofs: fix autofs_sbi() does not check super block type 51d34e94c470 clocksource: Revert "Remove kthread" 777c7b8464de RDMA/cma: Do not ignore net namespace for unbound cm_id 9daa1d751d51 MIPS: mscc: ocelot: fix length of memory address space for MIIM 20452f8f04a2 MIPS: WARN_ON invalid DMA cache maintenance, not BUG_ON 1c7b8cf2a76a RDMA/hns: Update the data type of immediate data 137fee538bb0 NFSv4.1: Fix a potential layoutget/layoutrecall deadlock 1256eeb12678 RDMA/hns: Add illegal hop_num judgement b6f493453c78 f2fs: fix to do sanity check with extra_attr feature 059311916fbb f2fs: fix to propagate return value of scan_nat_page() 8d65ffb36708 f2fs: fix to do sanity check with {sit,nat}_ver_bitmap_bytesize ea08014059c6 mfd: ti_am335x_tscadc: Fix struct clk memory leak ff418359bfcb iommu/ipmmu-vmsa: Fix allocation in atomic context 3ca5bae4d2d8 mfd: rave-sp: Initialize flow control and parity of the port 0342426f2bf7 f2fs: fix to do sanity check with secs_per_zone ee0b97e19865 f2fs: avoid potential deadlock in f2fs_sbi_store d92dadb83be8 media: em28xx: Fix DualHD disconnect oops aba03a8b544a f2fs: Fix uninitialized return in f2fs_ioc_shutdown() eade994be5e6 f2fs: fix to wait on page writeback before updating page f9ce9240ebbe iommu/arm-smmu-v3: Abort all transactions if SMMU is enabled in kdump kernel 1b210d52abf5 media: em28xx: Fix dual transport stream operation 088ce054c745 drm/amd/display: Prevent PSR from being enabled if initialization fails fdc340f5a710 media: helene: fix xtal frequency setting at power on 18f4b79efb40 media: rcar-csi2: update stream start for V3M e681be2362e8 partitions/aix: fix usage of uninitialized lv_info and lvname structures 06a557d12a90 partitions/aix: append null character to print data from disk c57525ab6f77 media: s5p-mfc: Fix buffer look up in s5p_mfc_handle_frame_{new, copy_time} functions 3f6592445cbe Input: atmel_mxt_ts - only use first T9 instance 5864b9e06e17 dm cache: only allow a single io_mode cache feature to be requested 24983c8101c9 net: dcb: For wild-card lookups, use priority -1, not 0 e66813955581 thermal_hwmon: Sanitize attribute name passed to hwmon 8cc36414d815 thermal: rcar_thermal: avoid NULL dereference in absence of IRQ resources 273234f22e95 MIPS: generic: fix missing of_node_put() 9449bd8ff770 MIPS: Octeon: add missing of_node_put() 235fd393825b f2fs: fix to do sanity check with reserved blkaddr of inline inode d44e0ddb577d tpm/tpm_i2c_infineon: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT) d229e7ecc0cb tpm_tis_spi: Pass the SPI IRQ down to the driver 4f268d981258 f2fs: fix to skip GC if type in SSA and SIT is inconsistent 2cf9708981e7 pktcdvd: Fix possible Spectre-v1 for pkt_devs bf5cde3c685b f2fs: try grabbing node page lock aggressively in sync scenario b493d05c0402 net: mvneta: fix mtu change on port without link d35bf0a213ec pinctrl/amd: only handle irq if it is pending and unmasked d288d8163c97 gpio: ml-ioh: Fix buffer underwrite on probe error path 9b9ceea29ad2 gpio: pxa: disable pinctrl calls for PXA3xx 6871146498a7 pinctrl: imx: off by one in imx_pinconf_group_dbg_show() 9d8c6300d158 regulator: tps65217: Fix NULL pointer dereference on probe 0d268eaecd3d x86/mm: Remove in_nmi() warning from vmalloc_fault() 73941b28bcdd Bluetooth: hidp: Fix handling of strncpy for hid->name information dc00dc4ccf8b powerpc/mm: Don't report PUDs as memory leaks when using kmemleak 81a4ff2429e7 PCI: mobiveil: Fix struct mobiveil_pcie.pcie_reg_base address type 94ee251c1ed4 PCI: mobiveil: Add missing ../pci.h include 1f1e9c39a6a7 media: em28xx: explicitly disable TS packet filter ddd0ae7f02d4 ath10k: disable bundle mgmt tx completion event support 0bf7bf9931ad tools/testing/nvdimm: kaddr and pfn can be NULL to ->direct_access() 83d9430bd43b scsi: 3ware: fix return 0 on the error path of probe 0a964871ccea nfs: Referrals not inheriting proto setting from parent 0c8b7991f40d ata: libahci: Correct setting of DEVSLP register d12d3336fe95 ata: libahci: Allow reconfigure of DEVSLP register b0f09f787d38 MIPS: Fix ISA virt/bus conversion for non-zero PHYS_OFFSET 2916355cbc9c scsi: tcmu: do not set max_blocks if data_bitmap has been setup 15ce90b8346f mtd: rawnand: make subop helpers return unsigned values e5d9ae0077a5 rpmsg: core: add support to power domains for devices d397e7c9d663 wlcore: Set rx_status boottime_ns field on rx b19c6e698558 ath10k: prevent active scans on potential unusable channels 23aa633d564b ath9k_hw: fix channel maximum power level test ce5127257d99 ath9k: report tx status on EOSP 1e83b3b9c60e perf build: Fix installation directory for eBPF e01f7c77ce21 macintosh/via-pmu: Add missing mmio accessors 14335f6beb3f powerpc/pseries: fix EEH recovery of some IOV devices d8551bc50c57 perf evlist: Fix error out while applying initial delay and LBR 96e8b14b1f42 perf c2c report: Fix crash for empty browser 3ce0566333dd NFSv4.0 fix client reference leak in callback aa405740d359 device-dax: avoid hang on error before devm_memremap_pages() f2d46f40bb92 perf tools: Allow overriding MAX_NR_CPUS at compile time 528000132554 ASoC: soc-pcm: Use delay set in component pointer function 9590fe082ac4 f2fs: fix to detect looped node chain correctly 7d2914dac206 f2fs: fix defined but not used build warnings 86750bef4029 f2fs: issue discard align to section in LFS mode 14580e8d9655 f2fs: Keep alloc_valid_block_count in sync 2ab744266b20 f2fs: do not set free of current section 9a83044805f9 f2fs: fix to active page in lru list for read path b70fdc0ffc14 IB/IPoIB: Set ah valid flag in multicast send flow 17732e7759e8 iwlwifi: pcie: don't access periphery registers when not available a1354f0d718a uio: fix possible circular locking dependency 40dc1eb129a5 tty: rocket: Fix possible buffer overwrite on register_PCI e951163fb87c Drivers: hv: vmbus: Cleanup synic memory free path 15e5a96b1e1a firmware: vpd: Fix section enabled flag on vpd_section_destroy 386b28c2de45 uio: potential double frees if __uio_register_device() fails baec9ce83ad5 misc: ti-st: Fix memory leak in the error path of probe() 7fef1a4f376a gpu: ipu-v3: default to id 0 on missing OF alias 0bbd7344b42a media: camss: csid: Configure data type and decode format properly b3f70869623d timers: Clear timer_base::must_forward_clk with timer_base::lock held 5a149d67afa9 md/raid5: fix data corruption of replacements after originals dropped b54ac5fd6d6a scsi: target: fix __transport_register_session locking 9db9eb8c4e30 scsi: lpfc: Fix driver crash when re-registering NVME rports. abe0bde4dd8c blk-mq: fix updating tags depth a73a10b78563 clk: scmi: Fix the rounding of clock rate 846f4edf32b6 scsi: qla2xxx: Silent erroneous message 8e2b7c2c14f5 scsi: qla2xxx: Fix session state stuck in Get Port DB 549f85194379 scsi: qla2xxx: Fix unintended Logout 8246055b5c6b net: phy: Fix the register offsets in Broadcom iProc mdio mux driver e78e5a975500 media: dw2102: Fix memleak on sequence of probes e88a48b70c31 media: davinci: vpif_display: Mix memory leak on probe error path c3b51c11c836 selftests/bpf: fix a typo in map in map test c9feebab869c powerpc/4xx: Fix error return path in ppc4xx_msi_probe() 35fa5df6c79a powerpc/powernv: Fix concurrency issue with npu->mmio_atsd_usage 7e3d17181c13 gpio: tegra: Move driver registration to subsys_init level 9a5cbf5c84a1 pinctrl: berlin: fix 'pctrl->functions' allocation in berlin_pinctrl_build_state 074f319a5c13 Bluetooth: h5: Fix missing dependency on BT_HCIUART_SERDEV 516771283149 i2c: aspeed: Add an explicit type casting for *get_clk_reg_val e6ab983acd1b ethtool: Remove trailing semicolon for static inline 0906eb972eea ALSA: hda/realtek - Add mute LED quirk for HP Spectre x360 c6fe80156828 misc: mic: SCIF Fix scif_get_new_port() error handling 40b9d96cea9f tc-testing: remove duplicate spaces in connmark match patterns 86bebb604160 tc-testing: flush gact actions on test teardown e114758826f5 ARC: [plat-axs*]: Enable SWAP f688bf1511c9 switchtec: Fix Spectre v1 vulnerability 5b7497c02dac x86/apic/vector: Make error return value negative 0d07d02abd58 x86/process: Don't mix user/kernel regs in 64bit __show_regs() c6f8e398c10e x86/microcode: Update the new microcode revision unconditionally e0a8f85b0aee x86/microcode: Make sure boot_cpu_data.microcode is up-to-date 875872547357 cpu/hotplug: Prevent state corruption on error rollback 6b7b020bef06 cpu/hotplug: Adjust misplaced smb() in cpuhp_thread_fun() a4db12abb871 ALSA: hda - Fix cancel_work_sync() stall from jackpoll work ce987db2b52f memory: ti-aemif: fix a potential NULL-pointer dereference 8bf0dc8d0a67 ACPI / LPSS: Force LPSS quirks on boot e8cc3b38a0b6 ARC: [plat-axs*/plat-hsdk]: Allow U-Boot to pass MAC-address to the kernel 18d40b7836d4 KVM: x86: Do not re-{try,execute} after failed emulation in L2 4ff64069721a KVM: x86: Default to not allowing emulation retry in kvm_mmu_page_fault 3e88f92cd118 KVM: x86: Merge EMULTYPE_RETRY and EMULTYPE_ALLOW_REEXECUTE 172c718af8b2 KVM: x86: Invert emulation re-execute behavior to make it opt-in 9a89243cb1c7 KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO instr a7e360b1086b KVM: x86: SVM: Set EMULTYPE_NO_REEXECUTE for RSM emulation 625a6bcb11a2 KVM: s390: vsie: copy wrapping keys to right place 33cd6d44e8c6 KVM: PPC: Book3S HV: Use correct pagesize in kvm_unmap_radix() 9e7e9f25ef3e KVM: arm/arm64: Clean dcache to PoC when changing PTE due to CoW a2359d3d80fe arm64: KVM: Only force FPEXC32_EL2.EN if trapping FPSIMD e9773e97f502 Btrfs: fix data corruption when deduplicating between different files 29d76c9853a2 btrfs: fix qgroup_free wrong num_bytes in btrfs_subvolume_reserve_metadata 15c4b1902f0e cifs: connect to servername instead of IP for IPC$ share dc0416dcd3ab smb3: check for and properly advertise directory lease support d88717b6ce78 SMB3: Backup intent flag missing for directory opens with backupuid mounts 521983976c38 MIPS: VDSO: Match data page cache colouring when D$ aliases 67b987648258 android: binder: fix the race mmap and alloc_new_buf_locked c583d8956d83 block: bfq: swap puts in bfqg_and_blkg_put d927dea6392d block: don't warn when doing fsync on read-only devices 56935391aba9 nbd: don't allow invalid blocksize settings e847a545edae scsi: lpfc: Correct MDS diag and nvmet configuration faeb7c279e48 mac80211: don't update the PM state of a peer upon a multicast frame 15a6f8974a8c memory_hotplug: fix kernel_panic on offline page processing f1549c67f23f mm/hugetlb: filter out hugetlb pages if HUGEPAGE migration is not supported. c0cbb9e5d448 HID: input: fix leaking custom input node name 81bb35902b63 HID: i2c-hid: Fix flooded incomplete report after S3 on Rayd touchscreen 7bc3f187fd30 HID: core: fix grouping by application e114a409eef6 HID: multitouch: fix Elan panels with 2 input modes declaration b94023f1ab51 i2c: i801: fix DNV's SMBCTRL register offset 824ca3763057 i2c: xiic: Make the start and the byte count write atomic dfba61ec760e Linux 4.18.8 d27f3eb84d52 ASoC: wm8994: Fix missing break in switch e496c9a4c17d HID: redragon: fix num lock and caps lock LEDs 838ddbf08cc7 x86: kvm: avoid unused variable warning d9b47449c1a1 kvm: x86: Set highest physical address bits in non-present/reserved SPTEs f9acfbec6652 kbuild: make missing $DEPMOD a Warning instead of an Error 30566a3520bb x86/xen: don't write ptes directly in 32-bit PV guests 22b734b0c850 x86/pae: use 64 bit atomic xchg function in native_ptep_get_and_clear 9fdac0148450 debugobjects: Make stack check warning more informative 977f362a1f7b drm/amdgpu: Don't warn on destroying a pinned BO ff9ac76caaee drm/amdgpu: Warn and update pin_size values when destroying a pinned BO e2a81121f62a drm/amdgpu: Make pin_size values atomic df058ec846fe drm/amdgpu: Keep track of amount of pinned CPU visible VRAM dd458c42c28a x86/tsc: Prevent result truncation on 32bit 009a091aae1c drm/i915: set DP Main Stream Attribute for color range on DDI platforms 7a5d47d5faa3 mm: respect arch_dup_mmap() return value 153fedc6ba32 uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name 97cdbf04a052 drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse" 15ca3cf67c18 drm/amdgpu: fix incorrect use of drm_file->pid dd4a6ffb5bc1 drm/amdgpu: fix incorrect use of fcheck 0d34ba1b3d33 drm/amdgpu:add VCN booting with firmware loaded by PSP e765455ea299 drm/amdgpu:add VCN support in PSP driver 56c8d038c465 drm/amdgpu:add new firmware id for VCN 467fce24d137 drm/amdgpu:add tmr mc address into amdgpu_firmware_info 9eba3ada1217 drm/amdgpu: update tmr mc address 1e7e7a541e08 drm/amd/display: Check if clock source in use before disabling dfe84b71296f drm/amd/display: Pass connector id when executing VBIOS CT 433009dc1b81 drm/rockchip: vop: fix irq disabled after vop driver probed 5e1f742d4bbb drm/rockchip: vop: split out core clock enablement into separate functions 2781b277d589 drm/rockchip: lvds: add missing of_node_put 590eda32ee42 drm/amd/display: Report non-DP display as disconnected without EDID 823057fc0a2c drm/amd/display: Use requested HDMI aspect ratio 691f2d763d07 drm/amd/display: update clk for various HDMI color depths b31d6596d7d2 drm/amd/display: Don't share clk source between DP and HDMI a74410c9d4e4 drm/amd/display: fix type of variable 401a86f73216 drm/edid: Add 6 bpc quirk for SDC panel in Lenovo B50-80 fd0f192ab66c drm/edid: Quirk Vive Pro VR headset non-desktop. ef78d745f0fd drm/amd/pp/Polaris12: Fix a chunk of registers missed to program e32774810036 drm/amd/powerplay: fixed uninitialized value 8ec9ca91819f drm/amd/pp: Convert voltage unit in mV*4 to mV on CZ/ST 4c518d5abdf4 drm/amdgpu: Fix RLC safe mode test in gfx_v9_0_enter_rlc_safe_mode 7acffde7a949 drm/amdgpu: fix a reversed condition c8fe7d36e49b drm/amdgpu: update uvd_v6_0_ring_vm_funcs to use new nop packet 7ddb29b09517 drm/i915: Free write_buf that we allocated with kzalloc. 087ed76cb538 drm/i915: Increase LSPCON timeout cfc7d9e0064b drm/i915: Nuke the LVDS lid notifier a23feb39586a drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks" 760d0077abc1 btrfs: fix mount and ioctl device scan ioctl race 49db06e7f366 btrfs: reorder initialization before the mount locks uuid_mutex 1ef9a3009ba9 btrfs: lift uuid_mutex to callers of btrfs_parse_early_options 71ddab54bee5 btrfs: lift uuid_mutex to callers of btrfs_scan_one_device 40ce21951aab btrfs: use device_list_mutex when removing stale devices b57a7b0d4122 btrfs: rename local devices for fs_devices in btrfs_free_stale_devices( 0b40d58d469f btrfs: extend locked section when adding a new device in device_list_add 2d4bbb81bac6 btrfs: do btrfs_free_stale_devices outside of device_list_add 8515518d6365 ARM: rockchip: Force CONFIG_PM on Rockchip systems c4e3acea0ebc arm64: rockchip: Force CONFIG_PM on Rockchip systems 3ffbbcafe9a5 btrfs: Fix a C compliance issue c8c9b6c07166 btrfs: Don't remove block group that still has pinned down bytes 122fe306d072 btrfs: lift uuid_mutex to callers of btrfs_open_devices f88b40c1472a btrfs: check-integrity: Fix NULL pointer dereference for degraded mount 4fb2799b05c2 btrfs: tree-checker: Detect invalid and empty essential trees 13b0dbef7dd5 btrfs: relocation: Only remove reloc rb_trees if reloc control has been initialized 4c8415cf5b5a btrfs: fix in-memory value of total_devices after seed device deletion 32455d96e3ee btrfs: replace: Reset on-disk dev stats value after replace 464a90e380f2 btrfs: Exit gracefully when chunk map cannot be inserted to the tree f5cf5b0383e3 drm/etnaviv: fix crash in GPU suspend when init failed due to buffer placement fc73680f9cf7 kvm: nVMX: Fix fault vector for VMX operation at CPL > 0 68b0ce42a7f4 KVM: vmx: track host_state.loaded using a loaded_vmcs pointer ac5395827d48 drm/amd/display: Read back max backlight value at boot 5bd634167f2f clk: rockchip: Add pclk_rkpwm_pmu to PMU critical clocks in rk3399 214d87aee3af powerpc/pseries: Avoid using the size greater than RTAS_ERROR_LOG_MAX. b070664de855 um: fix parallel building with O= option d7e16ec6ee19 powerpc/64s: Make rfi_flush_fallback a little more robust a4b8adb73ba1 powerpc/platforms/85xx: fix t1042rdb_diu.c build errors & warning 813cbe22dc04 smb3: if server does not support posix do not allow posix mount option c2704b5e4688 SMB3: Number of requests sent should be displayed for SMB3 not just CIFS 31bd39126330 CIFS: fix memory leak and remove dead code b91052f95055 smb3: fix reset of bytes read and written stats 0cf56c159d64 cfq: Suppress compiler warnings about comparisons 8b59b7c743dc RDS: IB: fix 'passing zero to ERR_PTR()' warning fe5e418c6bc3 selinux: cleanup dentry and inodes on error in selinuxfs c3fb1a354ccf selftests/powerpc: Kill child processes on SIGINT 0510985d1460 iommu/omap: Fix cache flushes on L2 table entries 8041b94f4eda ASoC: rt5677: Fix initialization of rt5677_of_match.data 3fb096cdad59 staging: comedi: ni_mio_common: fix subdevice flags for PFI subdevice aee3d110a104 dm kcopyd: avoid softlockup in run_complete_job ab131d7f7a9c PCI: mvebu: Fix I/O space end address calculation 00bb59025eaf xen/balloon: fix balloon initialization for PVH Dom0 19f2289b4ec9 Input: do not use WARN() in input_alloc_absinfo() 4d89c871694a NFSv4: Fix error handling in nfs4_sp4_select_mode() 12af4639cfe2 scsi: aic94xx: fix an error code in aic94xx_init() d5fed61a3d2e blk-mq: count the hctx as active before allocating tag e904dff96e84 ACPI / scan: Initialize status to ACPI_STA_DEFAULT e1d82ba3d835 s390/dasd: fix panic for failed online processing 70866799dd6f s390/dasd: fix hanging offline processing due to canceled worker 151751ec48a2 brcmfmac: fix brcmf_wiphy_wowl_params() NULL pointer dereference d0e21e43cd3e block: bvec_nr_vecs() returns value for wrong slab c728031a3535 perf probe powerpc: Fix trace event post-processing 6f3bddbfb636 powerpc: Fix size calculation using resource_size() 118522ed5fa7 powerpc/uaccess: Enable get_user(u64, *p) on 32-bit c565269d06e9 bpf: fix bpffs non-array map seq_show issue 77197f8d9628 pinctrl: axp209: Fix NULL pointer dereference after allocation 0fbcbc408cec f2fs: fix to clear PG_checked flag in set_page_dirty() ec3fb9172b86 net/9p: fix error path of p9_virtio_probe 91ca7c5644c3 net/9p/trans_fd.c: fix race by holding the lock 8542647689ad irqchip/bcm7038-l1: Hide cpu offline callback when building for !SMP e51977e08ef0 irqchip/stm32: Fix init error handling e71ea647e9ae RISC-V: Use KBUILD_CFLAGS instead of KCFLAGS when building the vDSO bd2b9872d3cb f2fs: fix avoid race between truncate and background GC 7038712b79a1 f2fs: avoid race between zero_range and background GC aa8ce04f531f perf tools: Check for null when copying nsinfo. 6d39ab3401ff coccicheck: return proper error code on fail 243b6c6a90cc drm/amd/display: Guard against null crtc in CRC IRQ 1e0892195475 PCI: Match Root Port's MPS to endpoint's MPSS as necessary 0472229e385c net: hns3: Fix for phy link issue when using marvell phy driver b02fd8a8dc25 block: don't warn for flush on read-only device 534dde34bb7d net: hns3: Fix for command format parsing error in hclge_is_all_function_id_zero faba3f032e96 perf arm spe: Fix uninitialized record error variable 7da94d53075d ACPICA: ACPICA: add status check for acpi_hw_read before assigning return value 08100b285966 RDMA/hns: Fix usage of bitmap allocation functions return values 59e8e46ada76 ubi: Initialize Fastmap checkmapping correctly 58d705bdcd85 tcp, ulp: add alias for all ulp modules 30d2d473b6c2 netfilter: fix memory leaks on netlink_dump_start error 2d24a4ca6204 platform/x86: asus-nb-wmi: Add keymap entry for lid flip action on UX360 3bf9fa21774a netfilter: x_tables: do not fail xt_alloc_table_info too easilly 8dea99cf8b43 mfd: sm501: Set coherent_dma_mask when creating subdevices c63f900720ba ipvs: fix race between ip_vs_conn_new() and ip_vs_del_dest() df1ce63447ea s390/kdump: Fix memleak in nt_vmcoreinfo 875fefda91d4 netfilter: ip6t_rpfilter: set F_IFACE for linklocal addresses bdcdbe6e48f0 samples/bpf: all XDP samples should unload xdp/bpf prog on SIGTERM 2262b26d750d bpf, sockmap: fix leakage of smap_psock_map_entry ea775b698008 net/xdp: Fix suspicious RCU usage warning 7fb58bc7549d bpf, sockmap: fix sock_map_ctx_update_elem race with exist/noexist 4cd728b4b50a tcp, ulp: fix leftover icsk_ulp_ops preventing sock from reattach 98d30c6ae96a bpf, sockmap: fix map elem deletion race with smap_stop_sock af160422460e platform/x86: intel_punit_ipc: fix build errors 56d0f1c6d4d2 fs/dcache.c: fix kmemcheck splat at take_dentry_name_snapshot() 8bca1a92d8b8 mm: make DEFERRED_STRUCT_PAGE_INIT explicitly depend on SPARSEMEM b9f9fc3844d8 mm/fadvise.c: fix signed overflow UBSAN complaint dfb5ad65ca17 powerpc/topology: Get topology for shared processors at boot 3940236559d1 pwm: meson: Fix mux clock names 216011668891 IB/hfi1: Invalid NUMA node information can cause a divide by zero 8fb30bf797fe i2c: core: ACPI: Make acpi_gsb_i2c_read_bytes() check i2c_transfer return value 106fabc844a1 x86/mce: Add notifier_block forward declaration 34f91b3d0e55 virtio: pci-legacy: Validate queue pfn cad3dc0a4563 apparmor: fix an error code in __aa_create_ns() fb6fc1b6a408 scripts: modpost: check memory allocation results 13892551c76f workqueue: re-add lockdep dependencies for flushing b7a3d36d6c32 workqueue: skip lockdep wq dependency in cancel_work_sync() 798d80a612dd fat: validate ->i_start before using 739956488c79 fs/proc/kcore.c: use __pa_symbol() for KCORE_TEXT list entries 69177abd89a5 iommu/rockchip: Move irq request past pm_runtime_enable d30de7347e29 hfsplus: fix NULL dereference in hfsplus_lookup() 5a476ca109bc iommu/rockchip: Handle errors returned from PM framework 9f0114724473 reiserfs: change j_timestamp type to time64_t df67ae0bd579 fs/proc/vmcore.c: hide vmcoredd_mmap_dumps() for nommu builds 0de1a99801ff fork: don't copy inconsistent signal handler state to child 19ca1a2830e9 sunrpc: Don't use stack buffer with scatterlist 3d872bd5ae87 hfs: prevent crash on exit from failed search 84ac254ed287 hfsplus: don't return 0 when fill_super() failed 8043c90bada1 cifs: check if SMB2 PDU size has been padded and suppress the warning ded39314abc0 hv_netvsc: ignore devices that are not PCI c56a2888ac2b vhost: correctly check the iova range when waking virtqueue a6fddbba3e63 mlxsw: spectrum_switchdev: Do not leak RIFs when removing bridge 98c4cc4c81e8 sctp: hold transport before accessing its asoc in sctp_transport_get_next eb4f28d8f9e0 nfp: wait for posted reconfigs when disabling the device ade76212f72a ip6_vti: fix a null pointer deference when destroy vti6 tunnel b7f172c4b692 ip6_vti: fix creating fallback tunnel device for vti6 aff760646722 Revert "net: stmmac: Do not keep rearming the coalesce timer in stmmac_xmit" e366979eb8f0 r8169: set RxConfig after tx/rx is enabled for RTL8169sb/8110sb devices 0981fb60a006 net/mlx5: Fix SQ offset in QPs with small RQ 2ff8354c2317 net/ipv6: Put lwtstate when destroying fib6_info b24b39afa411 net/ipv6: Only update MTU metric if it set 6568eedbe939 net/ipv6: init ip6 anycast rt->dst.input as ip6_input 078e7d112fbc ipv6: don't get lwtstate twice in ip6_rt_copy_init() 23f64bad173c net: macb: Fix regression breaking non-MDIO fixed-link PHYs 630403ba9183 erspan: set erspan_ver to 1 by default when adding an erspan dev 0f6387a1087d sctp: remove useless start_fail from sctp_ht_iter in proc b68d53c36108 tipc: fix the big/little endian issue in tipc_dest 78d378ed13e8 hv_netvsc: Fix a deadlock by getting rtnl lock earlier in netvsc_probe() 36b59c8e48e4 tipc: fix a missing rhashtable_walk_exit() f6fb6b2993ab net/sched: act_pedit: fix dump of extended layered op a2cea09396bd bnxt_en: Do not adjust max_cp_rings by the ones used by RDMA. e779d52e66d1 bnxt_en: Clean up unused functions. 510fd03c5231 net: sched: action_ife: take reference to meta module e57d65cf4692 act_ife: fix a potential deadlock 5c1dfc425994 act_ife: move tcfa_lock down to where necessary 8563554006c5 vti6: remove !skb->ignore_df check from vti6_xmit() 028d57cc5e44 tcp: do not restart timewait timer on rst reception ad99830d972c r8169: add support for NCube 8168 network card 2b3b1f121306 r8152: disable RX aggregation on new Dell TB16 dock 5379200c84c2 qlge: Fix netdev features configuration. 9c03cfa220c1 net: sched: Fix memory exposure from short TCA_U32_SEL 716fc5ce90cf net: macb: do not disable MDIO bus at open/close time 5b47db7fa7b1 net: bcmgenet: use MAC link status for fixed phy e242b5c405b9 ipv4: tcp: send zero IPID for RST and ACK sent in SYN-RECV and TIME-WAIT state f5c34c4a092e act_ife: fix a potential use-after-free (From OE-Core rev: 0f455c8a37223617fffb3aac06325bf0a79cbe2a) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.14: fix kernel configuration audit warningsBruce Ashfield2018-09-223-3/+3
| | | | | | | | | | | | | | | | | | Some of the reference BSPs for 4.14 need fixes that have been done on 4.18 and master to silence warnings, so we cherry-pick the following changes: f991b21d7858 config: flash: drop obselete config values da7524cf2980 edgerouter: Drop the obsolete kernel options 675c5b0cde65 cfg: drop MACH_VERSATILE_PB and MACH_VERSTAILE_AB 0936b18ed8d5 cfg/timer/rtc: toggle RTC_CLASS instead of GEN_RTC 634d8f2230d1 mpc8315e-rdb: Drop the obsolete kernel options 9beb3a28736e rt: drop obselete configuration options (From OE-Core rev: bfe6a9b2d1a118791cebcd1019f3e80bced294c6) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: tweak RTC configurationBruce Ashfield2018-09-226-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | [ Author: Jens Rehsack <sno@netbsd.org> Date: Thu Sep 13 19:29:54 2018 +0200 cfg/timer/rtc: toggle RTC_CLASS instead of GEN_RTC In 2016, the final removal of GEN_RTC happened with commit 6705fdb3 char/genrtc: remove the rest of the driver What is remaining, is a legacy driver (char/rtc) and the new RTC_CLASS framework - which supports everything except S390 and Atari. Many platforms automatically support the right driver for RTC_CLASS framework. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] (From OE-Core rev: 7ddcba89a3bbed4b582768661585684ffdc85f31) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.18: update to v4.18.7Bruce Ashfield2018-09-223-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the 4.18 kernel with the latest -stable releases that comprise the following commits: 8ea7eadbef2f Linux 4.18.7 239043b876b8 arm64: mm: always enable CONFIG_HOLES_IN_ZONE a70bc6c6a621 cpuidle: menu: Retain tick when shallow state is selected 7f401f160a9c udf: Fix mounting of Win7 created UDF filesystems c1ef3feca667 fs/quota: Fix spectre gadget in do_quotactl 7ab1035b3fc6 crypto: caam/qi - fix error path in xts setkey 3290dec64398 crypto: caam/jr - fix descriptor DMA unmapping f39f1f81c74e crypto: caam - fix DMA mapping direction for RSA forms 2 & 3 26b165edc3e4 crypto: arm64/sm4-ce - check for the right CPU feature bit dce1a2c6f339 crypto: aesni - Use unaligned loads from gcm_context_data 61c8901dbf43 crypto: vmx - Fix sleep-in-atomic bugs 8d02bd8d4a6c perf auxtrace: Fix queue resize 5ad671c8520d mm, dev_pagemap: Do not clear ->mapping on final put ff1663fc9483 cap_inode_getsecurity: use d_find_any_alias() instead of d_find_alias() 476738bbc962 kconfig: fix "Can't open ..." in parallel build a0725910f3e2 bcache: release dc->writeback_lock properly in bch_writeback_thread() 437d23a6792a libnvdimm: fix ars_status output length calculation 54ce46aa9870 libnvdimm: Use max contiguous area for namespace size 118cb27721f9 getxattr: use correct xattr length fd13ae7e102a udlfb: set line_length in dlfb_ops_set_par f551b193299b udlfb: handle allocation failure 0b5373ea7298 udlfb: make a local copy of fb_ops af0890aa4565 udlfb: set optimal write delay 76aab4b1d804 udlfb: don't switch if we are switching to the same videomode 1a5656245bd6 udlfb: fix display corruption of the last line 27f6b46dd248 udlfb: fix semaphore value leak 1a9ec6296e18 fb: fix lost console when the user unplugs a USB adapter f72831f9cbb6 pwm: tiehrpwm: Fix disabling of output of PWMs e0e08ede24c9 pwm: tiehrpwm: Don't use emulation mode bits to control PWM output 3ce08627b3e3 ubifs: Fix synced_i_size calculation for xattr inodes f9b28f9a2b7f ubifs: Fix directory size calculation for symlinks cef393ce9aea ubifs: xattr: Don't operate on deleted inodes ce0504b74d04 ubifs: Check data node size before truncate aa8298662e52 Revert "UBIFS: Fix potential integer overflow in allocation" 3863ba26f271 ubifs: Fix memory leak in lprobs self-check 7131c193fcc3 userns: move user access out of the mutex 1497f1e0714a sys: don't hold uts_sem while accessing userspace memory 11f44063756f iommu/vt-d: Fix dev iotlb pfsid use e7feba89574d iommu/vt-d: Add definitions for PFSID 3245925a8e9c iommu/ipmmu-vmsa: Don't register as BUS IOMMU if machine doesn't have IPMMU-VMSA 2d0363ffc0ab mm/tlb: Remove tlb_remove_table() non-concurrent condition 6bdfc65b5062 pwm: omap-dmtimer: Return -EPROBE_DEFER if no dmtimer platform data 1ba930714d12 ARM: dts: am57xx-idk: Enable dual role for USB2 port da43c1c103c8 ARM: tegra: Fix Tegra30 Cardhu PCA954x reset 1750f49b26c2 NFSv4: Fix a sleep in atomic context in nfs4_callback_sequence() c8f825303e49 NFSv4: Fix locking in pnfs_generic_recover_commit_reqs b8cbfd88d132 NFSv4 client live hangs after live data migration recovery e16dac834b32 nfsd: fix leaked file lock with nfs exported overlayfs f7169718defc pnfs/blocklayout: off by one in bl_map_stripe() 6ee996baf1ab block, bfq: return nbytes and not zero from struct cftype .write() method fbd0c9d27ccb xtensa: increase ranges in ___invalidate_{i,d}cache_all 27077422f951 xtensa: limit offsets in __loop_cache_{all,page} 3bb34bba5624 KVM: PPC: Book3S: Fix guest DMA when guest partially backed by THP pages f90625c7172b KVM: VMX: fixes for vmentry_l1d_flush module parameter 09747f7004ab i2c: designware: Re-init controllers with pm_disabled set on resume 7bb7ef09b3db ALSA: ac97: fix unbalanced pm_runtime_enable d7cff0016036 ALSA: ac97: fix check of pm_runtime_get_sync failure 52977303d997 ALSA: ac97: fix device initialization in the compat layer cd67823c9d34 PM / sleep: wakeup: Fix build error caused by missing SRCU support 00e4955e677b cpufreq: governor: Avoid accessing invalid governor_data f83952c64769 cpuidle: menu: Handle stopped tick more aggressively cc8ea9dd0c24 sched: idle: Avoid retaining the tick when it has been stopped fe759487ee98 drivers/block/zram/zram_drv.c: fix bug storing backing_dev 1cc1c4e06562 ACPICA: Clear status of all events when entering sleep states ab08867f08e4 ACPICA: AML Parser: skip opcodes that open a scope upon parse failure 0c3339c82b9e ovl: fix wrong use of impure dir cache in ovl_iterate() 8856ca57dcb1 mfd: hi655x: Fix regmap area declared size for hi655x f8d649720924 uprobes: Use synchronize_rcu() not synchronize_sched() ee20433f60ae livepatch: Validate module/old func name length 640d29c1236e printk/tracing: Do not trace printk_nmi_enter() cfe603dd4e39 tracing/blktrace: Fix to allow setting same value b0d32c7b0cda tracing: Do not call start/stop() functions when tracing_on does not change 187bee9b94fb rtc: omap: fix potential crash on power off 949d4ca049eb rtc: omap: fix resource leak in registration error path ad7a3f8c456f vmw_balloon: fix VMCI use when balloon built into kernel 32b5be5b44e9 vmw_balloon: VMCI_DOORBELL_SET does not check status 45696b968345 vmw_balloon: do not use 2MB without batching f288edefc2c6 vmw_balloon: fix inflation of 64-bit GFNs a5e6360c4322 eventpoll.h: wrap casts in () properly 5f4a5b6fed24 extcon: Release locking when sending the notification of connector state cbdfa40c8187 iio: ad9523: Fix return value for ad952x_store() 10508adb4df0 iio: ad9523: Fix displayed phase 5ef899676e25 iio: sca3000: Fix missing return in switch 35949ad3f2d7 Drivers: hv: vmbus: Reset the channel callback in vmbus_onoffer_rescind() 4f8eac4396c7 Drivers: hv: vmbus: Fix the offer_in_progress in vmbus_process_offer() d7b108aae76c uart: fix race between uart_put_char() and uart_shutdown() 6cdc67be3e12 dm writecache: fix a crash due to reading past end of dirty_bitmap d94cf7087099 dm crypt: don't decrease device limits 25b25e552439 dm cache metadata: set dirty on all cache blocks after a crash 7bbb3231d6f7 dm cache metadata: save in-core policy_hint_size to on-disk superblock f308e9fbe04f dm thin: stop no_space_timeout worker when switching to write-mode 0da098366e8c dm integrity: change 'suspending' variable from bool to int 6d7bd0a68a4a net/9p/trans_fd.c: fix race-condition by flushing workqueue before the kfree() fe7e153d9564 net/9p/client.c: version pointer uninitialized 372ed5efc933 9p/virtio: fix off-by-one error in sg list bounds check ba74c64c00a5 fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed db6cb8a7c458 9p: fix multiple NULL-pointer-dereferences a34932007267 RDMA/rxe: Set wqe->status correctly if an unexpected response is received 8a3f37b0da74 ib_srpt: Fix a use-after-free in __srpt_close_all_ch() 41cc5e9aff78 ib_srpt: Fix a use-after-free in srpt_close_ch() 2ea037fe87b1 RDMA/mlx5: Fix shift overflow in mlx5_ib_create_wq c34579cc3ea7 overflow.h: Add arithmetic shift helper 74d835f7fdf7 IB/srpt: Support HCAs with more than two ports 32a46b60c50e IB/srpt: Fix srpt_cm_req_recv() error path (2/2) e46df54477b4 IB/srpt: Fix srpt_cm_req_recv() error path (1/2) 103a3a62e0fb IB/mlx5: Fix leaking stack memory to userspace e48fd87e93e1 IB/mlx5: Honor cnt_set_id_valid flag instead of set_id 7ab793382972 ocxl: Fix page fault handler in case of fault on dying process 9833940072b3 cxl: Fix wrong comparison in cxl_adapter_context_get() 6757519a48ca powerpc/powernv/pci: Work around races in PCI bridge enabling 96f829b77bf1 powerpc64/ftrace: Include ftrace.h needed for enable/disable calls d4e41dc984f2 powerpc/nohash: fix pte_access_permitted() bb691eafb6df powerpc/pkeys: Preallocate execute-only key 44d146b99b08 powerpc/pkeys: Fix calculation of total pkeys. 5e2727bf84c5 powerpc/pkeys: Save the pkey registers before fork 0d86f5345672 powerpc/pkeys: key allocation/deallocation must not change pkey registers 72ebe30452ef powerpc/pkeys: Deny read/write/execute by default 8ed3d6a90178 powerpc/pkeys: Give all threads control of their key permissions 174f12c1f3ef powerpc/pseries: Fix endianness while restoring of r3 in MCE handler. 8bfd9029bc79 powerpc/64s: Fix page table fragment refcount race vs speculative references 7c0850fb2b60 powerpc/fadump: handle crash memory ranges array index overflow ec4ad94be6ce Fix kexec forbidding kernels signed with keys in the secondary keyring to boot 54fb49e87c23 Replace magic for trusting the secondary keyring with #define 686baf538b8c mailbox: xgene-slimpro: Fix potential NULL pointer dereference 71849f9c7c55 media: Revert "[media] tvp5150: fix pad format frame height" a0e70000075e libertas: fix suspend and resume for SDIO connected cards 9be8dc35bceb dma-buf: Move BUG_ON from _add_shared_fence to _add_shared_inplace e561eea4a424 apparmor: fix bad debug check in apparmor_secid_to_secctx() ac89e9c33de3 block: Ensure that a request queue is dissociated from the cgroup controller d367a6927ffd block: Introduce blk_exit_queue() d9ef3176a398 blkcg: Introduce blkg_root_lookup() 0c2e7eb1a4c3 block: really disable runtime-pm for blk-mq cde67159df4d block: blk_init_allocated_queue() set q->fq as NULL in the fail case 4bc567311980 block: fix infinite loop if the device loses discard capability d3949a0a1341 readahead: stricter check for bdi io_pages 3a9bc441b671 mmc: renesas_sdhi_internal_dmac: fix #define RST_RESERVED_BITS 74b83d076cdf mmc: renesas_sdhi_internal_dmac: mask DMAC interrupts cf8871c4121c mmc: block: Fix unsupported parallel dispatch of requests e27421b3b394 spi: cadence: Change usleep_range() to udelay(), for atomic context db597647506d spi: spi-fsl-dspi: Fix imprecise abort on VF500 during probe 3b45f480496c spi: pxa2xx: Add support for Intel Ice Lake e52c91662cef spi: davinci: fix a NULL pointer dereference b84ea5862258 9p/net: Fix zero-copy path in the 9p virtio transport 8c37a4ca229d net: mac802154: tx: expand tailroom if necessary 6ce27549cc14 net: 6lowpan: fix reserved space for single frames 832fa8183637 rcu: Make expedited GPs handle CPU 0 being offline 3a2c23838bc5 Linux 4.18.6 8e6d15678656 x86/dumpstack: Don't dump kernel memory based on usermode RIP 6575b15002bf cdrom: Fix info leak/OOB read in cdrom_ioctl_drive_status f90252556e1a watchdog: Mark watchdog touch functions as notrace 0f9bf062f1f1 power: generic-adc-battery: check for duplicate properties copied from iio channels 7ffb7b7e8348 power: generic-adc-battery: fix out-of-bounds write when copying channel properties 86b0dd9d0ebc PM / clk: signedness bug in of_pm_clk_add_clks() 350192f495ae clk: npcm7xx: fix memory allocation a8b0c3c7c494 clk: rockchip: fix clk_i2sout parent selection bits on rk3399 f905fc199d7d mtd: rawnand: qcom: wait for desc completion in all BAM channels 21ab6022cb67 mtd: rawnand: marvell: add suspend and resume hooks f05cb63dc0dc mtd: rawnand: fsmc: Stop using chip->read_buf() 307b0cf42c9b mtd: rawnand: hynix: Use ->exec_op() in hynix_nand_reg_write_op() d47b35b84da5 iscsi target: fix session creation failure handling 9558fc1bab40 scsi: core: Avoid that SCSI device removal through sysfs triggers a deadlock 807d1d299a04 scsi: sysfs: Introduce sysfs_{un,}break_active_protection() 373a1411a103 scsi: mpt3sas: Fix _transport_smp_handler() error path 8039fa72ff4d scsi: mpt3sas: Fix calltrace observed while running IO & reset 7624ac8705f5 tpm: separate cmd_ready/go_idle from runtime_pm b64b3b46074e tpm: Return the actual size when receiving an unsupported command d07d4e8b68fd MIPS: lib: Provide MIPS64r6 __multi3() for GCC < 7 8f55e1f507d6 MIPS: Change definition of cpu_relax() for Loongson-3 9238ea28869e MIPS: Always use -march=<arch>, not -<arch> shortcuts 8d6a4b45018c MIPS: memset.S: Fix byte_fixup for MIPSr6 d06e5e4a8a28 MIPS: Correct the 64-bit DSP accumulator register size 968a9a4a8a97 kprobes: Make list and blacklist root user read only 2f56c8af315b kprobes/arm: Fix %p uses in error messages 10334e1ad3d0 kprobes: Replace %p with other pointer types b143efb4242c kprobes: Show blacklist addresses as same as kallsyms does d6c96d240daa s390/purgatory: Add missing FORCE to Makefile targets 5a2e51f95908 s390/purgatory: Fix crash with expoline enabled 87509861a989 s390/pci: fix out of bounds access during irq setup b51627dc7fdb s390/numa: move initial setup of node_to_cpumask_map d695333c5de6 s390/qdio: reset old sbal_state flags dacf5e594708 s390: fix br_r1_trampoline for machines without exrl 6a32f6f857af s390/lib: use expoline for all bcr instructions 120c776a2ab1 s390/mm: fix addressing exception after suspend/resume 77207a7ee4b6 x86: Allow generating user-space headers without a compiler 3fef5c2f4d9c x86/entry/64: Wipe KASAN stack shadow before rewind_stack_do_exit() b1491daecd6e hwmon: (nct6775) Fix potential Spectre v1 2ff13cec042e x86/speculation/l1tf: Increase l1tf memory limit for Nehalem+ 084c0d5b4cf5 x86/spectre: Add missing family 6 check to microcode check c6941f12e9e4 x86/irqflags: Mark native_restore_fl extern inline 20a103149aa5 x86/nmi: Fix NMI uaccess race against CR3 switching aa3ad4314551 x86/vdso: Fix lsl operand order 306f625c2231 scsi: qla2xxx: Fix stalled relogin 82964fac7ac2 pinctrl: freescale: off by one in imx1_pinconf_group_dbg_show() f8fa13e1f53a soc: qcom: rmtfs-mem: fix memleak in probe error paths e550a74a7d12 ASoC: wm_adsp: Correct DSP pointer for preloader control 00bdd9bfd3eb ASoC: sirf: Fix potential NULL pointer dereference cde7486adce1 ASoC: zte: Fix incorrect PCM format bit usages aeb4906d3222 ASoC: dpcm: don't merge format from invalid codec dai a8d156323e5b b43/leds: Ensure NUL-termination of LED name string 579cdda6ba4c b43legacy/leds: Ensure NUL-termination of LED name string dccaa28ec448 udl-kms: avoid division 930e10ea2156 udl-kms: fix crash due to uninitialized memory 723119f9aab5 udl-kms: handle allocation failure 69900129d68f udl-kms: change down_interruptible to down 684ca9975c53 lib/vsprintf: Do not handle %pO[^F] as %px 15b584de9ab1 fuse: Add missed unlock_page() to fuse_readpages_fill() c00f07a1f66c fuse: Fix oops at process_init_reply() e4631745286f fuse: umount should wait for all requests 19e0fafd9e68 fuse: fix unlocked access to processing queue bcdb9bd38da6 fuse: fix double request_end() 6ffb58d4f74e fuse: fix initial parallel dirops 8bebc8585fab fuse: Don't access pipe->buffers without pipe_lock() 9b4b6acf0280 KVM: x86: SVM: Call x86_spec_ctrl_set_guest/host() with interrupts disabled 150b420a2959 KVM: x86: ensure all MSRs can always be KVM_GET/SET_MSR'd 1e227ae17f08 x86/process: Re-export start_thread() e0fb4e0e375e x86/vdso: Fix vDSO build if a retpoline is emitted 0ea75fa0f6bd x86/speculation/l1tf: Suggest what to do on systems with too much RAM ed1fa683e01b x86/speculation/l1tf: Fix off-by-one error when warning that system has too much RAM 63da8b8a387b x86/speculation/l1tf: Fix overflow in l1tf_pfn_limit() on 32bit e43594dabdc8 mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE 575a66cbe443 mm: move tlb_table_flush to tlb_flush_mmu_free 8c7181608026 platform/x86: ideapad-laptop: Apply no_hw_rfkill to Y20-15IKBM, too 6ef37c5f0142 platform/x86: wmi: Do not mix pages and kmalloc 6bdd19331fc6 x86/gpu: reserve ICL's graphics stolen memory 4debdc1d06a7 nvme-pci: add a memory barrier to nvme_dbbuf_update_and_check_event 7036ab018947 ext4: fix race when setting the bitmap corrupted flag eafb2d82ca7e ext4: reset error code in ext4_find_entry in fallback 3f2541a7e58c ext4: sysfs: print ext4_super_block fields as little-endian 6891c3c114fc ext4: use ext4_warning() for sb_getblk failure f34a0bc19575 ext4: check for NUL characters in extended attribute's name 55472d881c48 stop_machine: Atomically queue and wake stopper threads 3fc7316acc67 stop_machine: Reflow cpu_stop_queue_two_works() 19a5808f8b73 perf kvm: Fix subcommands on s390 32a52f0bded3 s390/kvm: fix deadlock when killed by oom 1d0bd8c92361 KVM: arm/arm64: Skip updating PTE entry if no change c7bcb09e4e35 KVM: arm/arm64: Skip updating PMD entry if no change 166b04aee70e KVM: arm/arm64: Fix lost IRQs from emulated physcial timer when blocked 52df41f653bb KVM: arm/arm64: Fix potential loss of ptimer interrupts 5c2fd3598fb8 arm64: dts: rockchip: corrected uart1 clock-names for rk3328 88e798da7c29 arm64: mm: check for upper PAGE_SHIFT bits in pfn_valid() ca41d82d4e66 arm64: Handle mismatched cache type faed5cb96b91 arm64: Fix mismatched cache line size detection bc10c237ecd8 kprobes/arm64: Fix %p uses in error messages a4ed70a386c0 printk/nmi: Prevent deadlock when accessing the main log buffer in NMI 50631d1b2613 printk: Create helper function to queue deferred console handling b0eea4d14b94 printk: Split the code for storing a message into the log buffer 2297091c7a6c iommu/arm-smmu: Error out only if not enough context interrupts b5563064b99e regulator: arizona-ldo1: Use correct device to get enable GPIO 29ac604e627b bpf, arm32: fix stack var offset in jit 6289b80699af hwmon: (k10temp) 27C Offset needed for Threadripper2 df5c4d19606d Btrfs: send, fix incorrect file layout after hole punching beyond eof 23dd2c5d90a1 Btrfs: fix send failure when root has deleted files still open 7ecc8a106c53 Btrfs: fix btrfs_write_inode vs delayed iput deadlock 84717fb63dad Btrfs: fix mount failure after fsync due to hard link recreation 8b08e816f47a btrfs: don't leak ret from do_chunk_alloc 258c1eb7cde6 btrfs: use correct compare function of dirty_metadata_bytes fb35368feb7f smb3: fill in statfs fsid and correct namelen 107d9ee2e080 smb3: don't request leases in symlink creation and query 1316a0cc27d1 smb3: Do not send SMB3 SET_INFO if nothing changed 25b981bfe192 smb3: enumerating snapshots was leaving part of the data off end a66f62737197 cifs: check kmalloc before use a1ac808c81a6 cifs: use a refcount to protect open/closing the cached file handle 5ba293d099ce cifs: add missing debug entries for kconfig options 52b9e2a58be2 CIFS: fix uninitialized ptr deref in smb2 signing a673044fbe8b cifs: add missing support for ACLs in SMB 3.11 08aee5c2c26f mei: don't update offset in write 6bdbaa2fdd48 xprtrdma: Fix disconnect regression 84342771f595 scsi: libsas: dynamically allocate and free ata host 16edb8e6d472 scripts/kernel-doc: Escape all literal braces in regexes 10bb2648f16c PATCH scripts/kernel-doc (From OE-Core rev: db4c334fc376d7f7eab46fa956195020a1d3aee7) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: configuration warning fixesBruce Ashfield2018-09-226-6/+6
| | | | | | | | | | | | | | | | | | | Integrating the following commits to address kernel configuration audit warnings: 856794172e8f features/intel-pinctrl: Fix conflict with configs 397b67321037 bsp/intel-x86: Rename CONFIG_R8723BE to CONFIG_RTL8723BE fca2a16483f2 features/thermal: Add dependency for kernel option b6110e2e8e55 features/tpm: fix conflict with configs and add dependency ee22bc1f8fcd features/mmc: modify dependency e50eb6bd929b features: drop the obsolete kernel option f5327047994f features/hostapd: drop obsolete configs 48b54e625876 bsp/intel-x86: Drop configs that has been removed by kernel (From OE-Core rev: a49c66844c8c3a87f8383085661ff59bfb045452) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt: Add paravirt_kvm support for qemux86-64Hongzhi.Song2018-09-222-2/+2
| | | | | | | | | | | | This feature includes paravirtualized KVM guest support, including KVMCLOCK for enhancing clock accuracy of guest OS. (From OE-Core rev: 2b2238e5e81748475de8a339c33529484971b0ff) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Avoid iterating over KERNEL_IMAGETYPES twiceAlex Kiernan2018-09-221-7/+4
| | | | | | | | | | | During deploy we iterate over KERNEL_IMAGETYPES twice, with no consumer of our changes in the interim. Collapse these two loops into one. (From OE-Core rev: 8d3139640ed4cd4e196dc2d1f6ae02d612fb9564) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Fix modules tarball generation with usrmergeAlex Kiernan2018-09-221-2/+2
| | | | | | | | | | | | When usrmerge is enabled the kernel modules aren't under /lib, but /usr/lib; ensure we fetch the modules from the correct location so we don't have a tarball which consists of a single symlink. (From OE-Core rev: 62d2d7d12dda69d6019a1a2d5492450487e41bfd) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-fitimage: Fix dangling symlink to image tree sourceAlex Kiernan2018-09-221-1/+1
| | | | | | | | | | | When deploying the its file, the target of the symlink is missing the its extension, add it here. (From OE-Core rev: df72761760d453b2dfc7cc2fa1344bb016df9712) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "kernel.bbclass: do not deploy fitImage; kernel-fitimage.bbclass does ↵Alex Kiernan2018-09-221-12/+6
| | | | | | | | | | | | | | | | that." This reverts commit 65cded55fa96b1ba72149a31689c081ac27af7f7. The fitImage deployed here is the one generated in kernel-fitimage.bbclass, whereas the one deployed by kernel-fitimage.bbclass is a raw image, so we need the one deployed here keeping. (From OE-Core rev: 798d2acc0141b13da7ddd18875a417b2df9d57b3) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-uimage.bbclass: Dependency on u-boot-mkimage-native for all uImagesReto Schneider2018-09-221-1/+1
| | | | | | | | | | | | | | | | | u-boot-mkimage-native is needed to build any type of uImages, be it the uImage target itself or for example uImage.lzma. The dependency however gets only added when at least one of KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE is exactly uImage. Building uImage.bin and uImage.lzma is not possible this way. This patch adds a dependency to u-boot-mkimage-native for all imagetypes which contains the string uImage. (From OE-Core rev: ac4ce0b07b2742c64d44f988ecb27e7200b5a0bc) Signed-off-by: Reto Schneider <code@reto-schneider.ch> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Fix Glibc building for ARCAlexey Brodkin2018-09-225-0/+329
| | | | | | | | (From OE-Core rev: c2b7410aaac0c68dc1bcf8d0f4102ff55dc870aa) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix specs generation for ARCAlexey Brodkin2018-09-222-0/+45
| | | | | | | | | | | | | | | GCC's built-in spec for LD is missing a space after "--eh-frame-hdr" thus with the next option merged together they are not understood by LD and so LD fails. Back-port from upstream GCC, see: https://github.com/gcc-mirror/gcc/commit/892142379c6b99fe8c3ebdfe0b79e2a435228c1d (From OE-Core rev: 0757187bdbed3025b022a82dd85ee35dc7b71f1f) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: fix Segmentation fault in gethostid.cMingli Yu2018-09-212-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679] A NULL value can happen with certain gethostbyname_r failures. Before this patch, there is a Segmentation fault as below: # /mybuild/hostid Segmentation fault # gdb /mybuild/hostid GNU gdb (GDB) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-wrs-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /mybuild/hostid...done. (gdb) r Starting program: /mybuild/hostid Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7f0330e in gethostid () at ../sysdeps/unix/sysv/linux/gethostid.c:125 125 memcpy (&in, hp->h_addr, (gdb) bt #0 0x00007ffff7f0330e in gethostid () at ../sysdeps/unix/sysv/linux/gethostid.c:125 #1 0x0000555555555159 in main () # cat /mybuild/hostid.c #include <stdio.h> #include <unistd.h> int main(int argc, char *argv[]) { long hostid; hostid = gethostid(); printf("the hostid is %ld\n", hostid); } (From OE-Core rev: 92c266fd9b1c4034a13bd5b102d1817df388a7b5) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo.bbclass: Add LatticeMico32 architecture site infoNathan Rossi2018-09-211-0/+1
| | | | | | | | | | | Add the basic architecture site info targets for the LatticeMico32 architecture. This architecture does not target Linux. (From OE-Core rev: 216f8ea907c8ac7e580e33dcbd12c0f30608bf74) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-targets.inc: Mark 'lm32' as softmmu only architectureNathan Rossi2018-09-211-1/+1
| | | | | | | | | | | The lm32 architecture does not support linux-user within QEMU as it is not a Linux supported target. (From OE-Core rev: 2f6c85da5202cdd0d2da2ce53e0a62b09a711b16) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/elf.py: Add LatticeMico32 architecture definitionNathan Rossi2018-09-211-0/+1
| | | | | | | | | | | Add the ELF definition for the LaticeMico32 architecture. This architecture is 'elf' OS only as it does not target Linux. (From OE-Core rev: d14f86f39a25649c923deecc24a283ba968b13f5) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgloss_3.0.0.bb: Ensure ${D}${libdir} exists installing contentNathan Rossi2018-09-211-0/+1
| | | | | | | | | | | Some targets do not populate any content into libdir, so make sure it is created before attempting to move files/directories into it. (From OE-Core rev: f8d7394f314041de7bcbf06ccb6405f64c68fad0) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Disable libitm for ARCAlexey Brodkin2018-09-211-0/+1
| | | | | | | | | | The libitm is not supported on ARC, so disable it (From OE-Core rev: 6840f54cbac88e8a8f70384775771c4fda20b9c9) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: Add ARC supportAlexey Brodkin2018-09-212-0/+28
| | | | | | | | (From OE-Core rev: 7b7b0fb8c27d06919f537a272107fc3f0b9cf9e5) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nspr: Add ARC supportAntoine Tenart2018-09-212-0/+89
| | | | | | | | | | | [Alexey: Rebased on top of other patches like RiscV, NIOS2 etc] (From OE-Core rev: bc9259fad8f90f0cbabd3db7509c401b071e4ff3) Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Add support for ARCAlexey Brodkin2018-09-212-2/+2
| | | | | | | | (From OE-Core rev: 479d0e0d1002c025c9cbb0f03ed038c3feba44a7) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-arch.bbclass: Add ARC to kernel arch mapAlexey Brodkin2018-09-211-0/+1
| | | | | | | | (From OE-Core rev: d53b0b885fcf038d26d3f8aa8c5b46ec86649cea) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo: Define data for ARCAlexey Brodkin2018-09-212-0/+13
| | | | | | | | (From OE-Core rev: a66834f63e190377c3464ea180ccdc0262226049) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* p11-kit: Add PACKAGECONFIG for trust pathsAlex Kiernan2018-09-211-1/+3
| | | | | | | | | | | Add trust-paths PACKAGECONFIG item which enables support for default trust-paths in /etc/ssl/certs/ca-certificates.crt (From OE-Core rev: d63f16f03ad60ab77fd5c78de1bbf1f248c51c6e) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* p11-kit: Upgrade from 0.22.1 -> 0.23.14Alex Kiernan2018-09-212-11/+6
| | | | | | | | | | | p11-kit is no longer doing odd/even for development/stable releases, so drop the custom UPSTREAM_CHECK_GITTAGREGEX. (From OE-Core rev: 1a38f27342c5a40f81e579b2d0feb7b6e9880ac7) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsolv: make rpm optionalMax Kellermann2018-09-211-2/+5
| | | | | | | | (From OE-Core rev: dfe55fdc34ae32b75934ea42b44d9ab6023e0250) Signed-off-by: Max Kellermann <max.kellermann@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter: simplify SRC_URIRoss Burton2018-09-211-6/+1
| | | | | | | | | | The Clutter class's ability to switch between tarballs and git isn't really useful, so remove it. If it comes back, it should use the devupstream class. (From OE-Core rev: 6150ec737bad895b9fb62f711449a259887ebd1b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mobile-broadband-provider: fix SRC_URIAnuj Mittal2018-09-211-1/+1
| | | | | | | | | | | Fixes build for older versions of git which don't follow redirects properly if the .git suffix is missing. (From OE-Core rev: 77c353cc9bdfbf1b6453b2579b72726db05eb69c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable virgl driver for qemux86/qemux86-64Ming Liu2018-09-211-0/+2
| | | | | | | | | | | virgl driver should be enabled for qemux86/qemux86-64 machines, or else it will cause runtime issue due to virtio_gpu driver missing. (From OE-Core rev: 5f143ceb1fac06ac84370ceb0cf0fba656effdf8) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: update to latest HEADRoss Burton2018-09-211-1/+1
| | | | | | | | | | This incorporates two fixes for large inodes, which hopefully solves some of the rare mysterious behaviour. (From OE-Core rev: 6921e7f91eb646a2b7b865eccd91552825a4ab78) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: rewrite xorg-server.m4 patchRoss Burton2018-09-214-26/+35
| | | | | | | | | | | | | | Instead of having a patch that upstream won't accept, rewrite it in a upstreamable way and <gasp> submit it upstream. The fundamental problem is that pkg-config --variable=sdkdir will return the value of sdkdir literally, whereas --cflags will return -I${sdkdir} *but* will do sysroot relocation magic on the path so it is usable. (From OE-Core rev: 4af34cb1193fe86b862566becfb560b3d19155f4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: remove obsolete patchRoss Burton2018-09-212-48/+0
| | | | | | | | | | This patch is forcing input to use SIGIO, despite the fact that since 2015 xserver has used an input thread. (From OE-Core rev: cde11398e6d74ad8f27334199b4bd99cdf1f0ff7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: remove specal handling of sqite3-testsRoss Burton2018-09-211-1/+1
| | | | | | | | | | This package doesn't exist anymore so the manifest tool doesn't need to handle it specially. (From OE-Core rev: 30eadb119a64d8561b946d5b8ee30244caeaf134) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: consolidate testsRoss Burton2018-09-211-22/+14
| | | | | | | | | | | | Currently the bulk of the tests in python3-tests, some more in python3-sqlite3-tests, and others in their parent module (such as python3-ctypes). This is pointless space usage if we're not planning on running the tests, so consolidate all the tests into python3-tests. (From OE-Core rev: 554d3690dab49fee3c93b6b677eb3ef58cff64c1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: respect package order in manifestRoss Burton2018-09-211-4/+2
| | | | | | | | | | Don't sort the manifest when using it to generate packaging rules, so ordering can be used to have complex packaging rules. (From OE-Core rev: 80dae6218efd25c92b9c43360e0846bb0af56c7e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: don't sort the manifest in create_manifestRoss Burton2018-09-212-480/+479
| | | | | | | | | | | | | | | | Instead of sorting the entire manifest when it is updated, use OrderedDict to preserve the order of fields. This means that packages can be ordered in the manifest to allow non-trivial FILES assignments (such as a package that picks up pieces of other packages) The manifest has been regenerated with the new stable ordering, and distutils-staticdev moved above distutils so the packaging rules work as expected. (From OE-Core rev: 1c67c2146e3644a26367a32885d27a4378f17ac6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: consolidate testsAndrew Geissler2018-09-211-19/+14
| | | | | | | | | | | | | | | | | | Currently the bulk of the tests in python-tests, some more in python-sqlite3-tests, and others in their parent module (such as python-ctypes). This is pointless space usage if we're not planning on running the tests, so consolidate all the tests into python-tests. This is a backport of the same changes done by Ross Burton for python3 Changes since v1: - Rebase (From OE-Core rev: 0e94737e7124f689c3697d4227bfcd228cc04295) Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: respect package order in manifestAndrew Geissler2018-09-211-4/+2
| | | | | | | | | | | | | | | | Don't sort the manifest when using it to generate packaging rules, so ordering can be used to have complex packaging rules. This is a backport of the same changes done by Ross Burton for python3 Changes since v1: - Rebase (From OE-Core rev: 5a5a97b1c3914ad4a3e94981bf53897d0a3f4fb3) Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: don't sort the manifest in create_manifestAndrew Geissler2018-09-212-836/+840
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of sorting the entire manifest when it is updated, use OrderedDict to preserve the order of fields.This means that packages can be ordered in the manifest to allow non-trivial FILES assignments (such as a package that picks up pieces of other packages) The manifest has been regenerated with the new stable ordering, and distutils-staticdev moved above distutils so the packaging rules work as expected. This is a backport of the same changes done by Ross Burton for python3 Changes since v1: - Moved distutils-staticdev above distutils so packaging rules work as expected. Changes since v2: - Rebase (From OE-Core rev: 3c62c42ebde9dd4acdc74c56160d6ce8639b497c) Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distutils{, 3}.bbclass: improve error messagesJens Rehsack2018-09-212-8/+8
| | | | | | | | | | | | | For non-python developers it's difficult to identify where start searching in case of errors. Fixing and marking the string to grep for might help finding some root causes of issues slightly quicker. (From OE-Core rev: 44fff749ee7bfe47e88286aec1e8a22e63079ca7) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gpgme: Inherit from distutils-common-baseAlex Kiernan2018-09-211-3/+3
| | | | | | | | | | | | | Inherit from distutils-common-base and pythonnative/python3native to avoid runtime dependency on Python, whilst still fixing clang builds. Fixes: 8bfb54edc6fa ("gpgme: Inherit distutils3-base") Suggested-by: Khem Raj <raj.khem@gmail.com> (From OE-Core rev: 4e1e914101146149cbfd70ff00cfcd0fdcf1a88c) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Add util-linux-fsck to RDEPENDSAlex Kiernan2018-09-211-2/+2
| | | | | | | | | | | | | | | systemd-fsck expects util-linux-fsck passing a number of options that busybox fsck doesn't interpret. It then continues silently when run, so disks end up not having fsck run at all. Move util-linux-fsck from RRECOMMENDS to RDEPENDS to ensure we have the fsck which systemd expects. (From OE-Core rev: 409c3424250d55d1c5549841ddae22288aaa4859) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_manager: use normalized path when doing the filtered copyMax Krummenacher2018-09-211-0/+1
| | | | | | | | | | | | | | | | | The linking/copying of the package files failes if the deploy dir is set in a non normalized way e.g. like this DEPLOY_DIR = "${TOPDIR}/../deploy" Then the simple string replacement which is used to calculated the link destination from the link source fails, as the link source is normalized but the deploydir prefix is not. Normalizing deploydir fixes this. (From OE-Core rev: e0ebfaa92bbfd3158b48e28dfb6435890c73bef3) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Upgrade 3.12.1 -> 3.12.2Otavio Salvador2018-09-213-2/+2
| | | | | | | | (From OE-Core rev: a585c51f8107e52cf7fa16b46b889b3f81eca600) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libarchive: Update 3.3.2 -> 3.3.3Otavio Salvador2018-09-216-232/+3
| | | | | | | | | | | This upgrades to 3.3.3 release and drop the backported patches when doing the recipe update. (From OE-Core rev: 60d99a4e64fdddbbe5863fa5879c813fa004600b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: Bump revision to 44d4fcaOtavio Salvador2018-09-211-2/+2
| | | | | | | | | | | | | | | | 44d4fca Merge https://github.com/pmachata/linux-firmware 253a573 brcm: update firmware for bcm43362 sdio 3cee728 Mellanox: Add new mlxsw_spectrum firmware 13.1703.4 ccab6c7 rtl_bt: Add firmware and configuration files for the Bluetooth part of RTL8822CU 75d2b12 Mellanox: Add new mlxsw_spectrum firmware 13.1703.4 85c5d90 nvidia: switch GP10[2467] to newer scrubber/ACR firmware (from GP108) License-Update: new firmware files additions (From OE-Core rev: f82738fd14f18fab368b397faac2f70167b16b8a) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: add a patch for source code to fix issue about fcntlHongzhi.Song2018-09-212-0/+185
| | | | | | | | | | | | | | | The testcases of fcntl fail on 32-bit arch To cope with glibc commit: 06ab719d30b0 ("Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251)") Make OFD command use fcntl64() syscall on 32-bit. (From OE-Core rev: 67fca07c9487ccd1a28357da32c9987c00d1ba77) Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgloss_3.0.0.bb: Consolidate rmdir with -pNathan Rossi2018-09-211-2/+1
| | | | | | | | | | | Consolidate the rmdir of multiple directories with the use of -p to delete the leaf empty directory and any empty ancestor directories. (From OE-Core rev: ba2f5ad890ecf94f541d84cc04669a6b02990d39) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* reproducible: Consistent debug loggingDouglas Royds2018-09-211-8/+11
| | | | | | | | | | | | | | | Log both the source of the source_date_epoch and the resulting source_date_epoch in all cases. Also, now that we are determining the source_date_epoch successfully for both yocto and non-yocto kernels, remove the inherits_class('kernel') exception. We will log a failure to find a source_date_epoch for kernels as well. (From OE-Core rev: 48fe0e83435f9fb53b1e5b37d5d9f1c2caccd22d) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>