summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-yocto_4.12.bb
AgeCommit message (Collapse)Author
2018-03-08linux-yocto/4.12: warning: drm/i915/cfl: Coffee Lake works on Kaby Lake PCHBruce Ashfield
Integrating the following warning backport: commit eb371933cf4d3495d0899880b2e0e252ce9db517 upstream. Coffee Lake CPU on Kaby Lake PCH is possible. It does exist, and it does work. The only missed case was this warning here noticed by Wendy who could get one system with this configuration and reported the issue for us: Hardware Configuration Board ID KBL S DDR4 UDIMM EV CRB Processor Intel® Processor code named Coffee Lake S, (6+2), 6 cores 12 threads, GT2, A0 (Internal) (QNJ4) [ 3.220585] WARNING: CPU: 10 PID: 206 at drivers/gpu/drm/i915/i915_drv.c:340 i915_driver_load+0x1210/0x1660 [i915] [ 3.221312] Modules linked in: hid_generic usbhid i915 i2c_algo_bit drm_kms_helper e1000e syscopyarea sysfillrect sysimgblt nvme fb_sys_fops ptp ahci i2c_hid drm pps_core nvme_core libahci wmi hid video [ 3.222050] CPU: 10 PID: 206 Comm: systemd-udevd Not tainted 4.13.0-rc5-intel-next+ #1 [ 3.222706] Hardware name: Intel Corporation Kabylake Client platform/KBL S DDR4 UDIMM EV CRB, BIOS KBLSE2R1.R00.X089.P00.1705051000 05/05/2017 Cc: Wendy Wang <wendy.wang@intel.com> Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170821235056.9015-1-rodrigo.vivi@intel.com 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>
2018-03-08linux-yocto: aufs and systemtapBruce Ashfield
Integrating a configuration change for systemtap: features/systemtap/systemtap.cfg: enable CONFIG_KERNEL_DEBUG And porting the aufs warning fix to 4.14 and 4.15: aufs: fix compile warning Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-08linux-yocto/4.12: memleak and build warning fixesBruce Ashfield
Integrating the warning/leak fixes: 73873cb152c brd: remove unused brd_mutex 912c53b1b346 audit: fix memleak in auditd_send_unicast_skb. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-08linux-yocto/4.12: fix aufs compile warningBruce Ashfield
From: "Kexin(Casey) Chen" <Casey.Chen@windriver.com> Forward port linux-yocto-4.8's patch to fix the build warning. http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.8/commit/?h=standard/base&id=7e0dd2f2b0971f0e3191e1ddc088e09eb9855567 fs/aufs/debug.h:95:19: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] if (unlikely((e) < 0)) \ ^ fs/aufs/vdir.c:852:2: note: in expansion of macro 'AuTraceErr' AuTraceErr(!valid); ^~~~~~~~~~ In expansion of AuTraceErr(!valid), comparison of (!valid) and constant '0' always passes unlikely(x) false. function 'static int seek_vdir(struct file *file, struct dir_context *ctx)' is to find whether there is a valid vd_deblk following ctx->pos. return 1 means valid, 0 for not. Change to AuTraceErr(valid - 1) makes more sense. Signed-off-by: Kexin(Casey) Chen <Casey.Chen@windriver.com> Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-03-03linux-yocto/4.12: add stratix10 SoC development boardBruce Ashfield
Integrating the patches to introduce support for stratix10 SOC, which comprises the following commits: 22f73c1fe991 drivers: ethernet: stmmac: keep Ethernet clock in enable status on Stratix10 platform c3ceae6df341 drivers: ethernet: stmmac: improve phy control during ethernet suspend/resume 883d8df59543 drivers: ethernet: stmmac: set delay_us value as 0 063b17881fed arm64: dts: stratix10: add interrupt-parent property in root node e991516fa777 arm64: dts: stratix10: correct PMU interrupt number 555f51414098 arm64: dts: stratix10: add alias for i2c1 a5dd201f0e8c arm64: dts: stratix10: control FPGA IO from linux kernel 67e763e631bd mtd: spi-nor: add support for mt25qu02g serial flash 6068e35ed261 arm64: dts: stratix10: enable qspi feature 2d019c47939c arm64: dts: stratix10: add USB ECC reset bit d9b9d63a6417 FogBugz #516572: add clock to USB nodes f4bca65baf07 arm64: dts: stratix10: enable USB on the devkit 1ed12c04eac6 arm64: dts: stratix10: remove phy node for usb b9b8f08f50ca usb: dwc2: add optional usb ecc reset bit 7a04b5cba903 usb: dwc2: disable erroneous overcurrent condition aac3bd2a2e23 dts: stratix10_socdk: enable gpio1 and leds 9807c107b1c3 arm64: dts: stratix10: fix interrupt number for gpio1 cbd264cde6bc arm64: dts: stratix10: add gpio header f91f7117ef93 gpio: gpio-dwapb: add optional reset 3aa90a6801aa mtd: spi-nor: Allow Cadence QSPI support for ARM64 3bb156eb80b6 FogBugz #495013-1: dts: stratix10: Add QSPI support for Stratix10 81981997697b reset: socfpga: fix for 64-bit compilation 882cc1f9800d FogBugz #491967-5: dts: stratix10: add ltc2497 d7b3bc0833a6 FogBugz #492768: Revert "i2c: dw: temporary workaround for i2c clocks" 60711b82517f arm64: dts: stratix10: add reset property for various peripherals f9aeefce1310 arm64: stratix10: add the 'altr,modrst-off' property e65b02b3b5b7 arm64: stratix10: include the reset manager bindings 7ffbb161ee30 reset: socfpga: build the reset-socfpga for Stratix10 SOC 95197b89dd72 FogBugz #493310: dts: use the clocks for the timers and uarts c6ec92c9222a FogBugz #493306: mark the l4_sp_clk as a critical clock 7caf335dd0fa FogBugz #492768: i2c: dw: temporary workaround for i2c clocks b247b5ed60c0 FogBugz #491967-2: dts: stratix10: enable i2c b0ea5bac0b3a FogBugz #492420: fix up the correct order of parents for noc_clk c81d19a6683b arm64: dts: stratix10: add ethernet/sdmmc support to S10 devkit 00d6740c9ec9 FogBugz #491251: temporary remove PSCI node 789aabac6e9d arm64: dts: fix up the gic register for the Stratix10 platform 9504049ea576 FogBugz #488936-2: Add clocks to emac/sdmmc node 8ad32e880376 FogBugz #488936-1: dts: bringup SoCFPGA Stratix10 devkit f826ccc79752 FogBugz #488843-2: add clock driver for Stratix10 SOC 56594bb54083 FogBugz #488843-1: dts: clock bindings for the SoCFPGA Stratix10 2a25f1e19487 FogBugz #488851: dts: use spin-table for SMP d36f9d7f16c3 net: stmmac: Adjust dump offset of DMA registers for ethtool 50eb2994beea Revert "FogBugz #470510: Update stratix10_swvp.dts file for S10 SoC Simics/VP" 9cc3c6bc11a7 net: stmmac: Add additional registers for dwmac1000_dma ethtool 4b12474ecb09 FogBugz #470512: Update stratix10_swvp.dts file for S10 SoC Simics/VP 2e1cf1b70e9a FogBugz #468942-2: Modify QSPI read_delay for Arria10. a2baa4e9366e FogBugz #454145: Update stratix10_swvp.dts file for S10 SoC VP 352eccb9c28e dt-bindings: reset: Add reset manager offsets for Stratix10 4951f51f6650 FogBugz #458420-2: ARM: dts: add lcd character panel 52625560a859 FogBugz #458420-1: dts: arria10 socdk: add max1619 a7926b2fe419 ARM: dts: socfpga: set the i2c frequency af2c59f5810f FogBugz #374571: Fix Sysid driver hotplug support. b1d136a8001d FogBugz #284482-2: A10 cache coherency is different than A5/C5. 8dc53e9000e6 FogBugz #284482-1: A10 cache coherency is different than A5/C5. cf59a2fb8882 FogBugz #408870: add debugfs interface for fpga config complete timeout a2a924222a02 FogBugz #421690: use a unique name to register freeze controller db0c754560cb FogBugz #403389-1: Altera Partial Reconfiguration IP Core 2b11bb966e23 FogBugz #412211: fpga: fix fpga mgr debugfs for module 546b85ceb86f FogBugz #411427: fpga: memory leaks in fpga manager debugfs 186529660ef2 FogBugz #405628-1: fpga: doc: add config complete timeout e97cb7797091 FogBugz #404467: add missing binding documentation 9454b288338e FogBugz #411698-3: hwmon: Add Altera A10-SR power supply alarms 181766fbe257 FogBugz #411698-2: Add Altera A10-SR power supply alarms 995c713ce65a FogBugz #408205: fix printf format error ff30a92ebff5 FogBugz #398879-2: fpga mgr debugfs 46856886744c FogBugz #398879-1: fpga: doc: documentation for FPGA debugfs 559f1b2b61f1 FogBugz #365525-3: socfpga: dts: remove fpga image specific info 6ac61db6de48 ARM: DT: Enable symbols when CONFIG_OF_OVERLAY is used 784a7fe5585c OF: DT-Overlay configfs interface (v7) dcc6ae577325 FogBugz #334039: enable SMP for the Stratix10 SWVP 83c3f4a2b7dc FogBugz #332965: missing Makefile to build Stratix10 SWVP dts 5604a2ed0cd1 FogBugz #331066: misc: altera_hwmutex: remove redundant unused of_match_ptr e5ad2362d2bc FogBugz #331067: misc: altera_hwmutex: remove .owner fdcb3fa5a3a5 FogBugz #332657-2: Stratix 10 Software Virtual Platform d64f00ea688a FogBugz #332657-1: Stratix 10 Software Virtual Platform 86026fe01b25 FogBugz #299928: arria10 swvp: add device tree 146f064db340 devicetree: net: micrel-ksz90x1.txt: correct documentation 71244d32db2b TRCom NAND board device tree. bb328948b0b5 FogBugz #184650: Cleanup Altera license headers. 8e855ce4b0c2 misc: sysid: use IS_ERR and PTR_ERR to check for error d5e88e198db0 misc: hwmutex: use IS_ERR and PTR_ERR to check for error 8e7d24910197 FogBugz #236669: Add a Kconfig for ILC driver 790e85ef4b28 misc: ilc: replace devm_request_and_ioremap with devm_ioremap_and_resource 1025d2218b88 misc: sysid: replace devm_request_and_ioremap with devm_ioremap_and_resource 0b1dbbb5a411 misc: hwmutex: replace devm_request_and_ioremap with devm_ioremap_resource f78ea9d901c6 FogBugz #240546: Move VIP driver into FB hardware folder 56c37d32951b FogBugz #177284: add Altera VIP framebuffer driver c006613bfc15 FogBugz #229601: newhaven lcd: fix kbuild test robot warnings a20f46e5560c FogBugz #101176: add sys entry to set lcd module brightness effc29afd46a FogBugz #125882: lcd module needs time to process commands. ffab5da4edbf FogBugz #118160: support tilde character on newhaven lcd module c72219530e09 FogBugz #114479: load custom character for backslash 0eb518db5832 FogBugz #107683: handle backspace better in lcd driver c62a261496fc tty: newhaven_lcd: Remove devinit and devexit 717f3b73f7c7 FogBugz #102358: i2c newhaven lcd driver uses faulty hyphen 394b437bac51 FogBugz #100586: Set lcd backlight brightness to max 3754d6b77c1b FogBugz #84276: lcd driver on i2c 115230c21271 FogBugz #143478: drivers/misc: Move sysid from arch to drivers 8e28bdd388c4 FogBugz #178225: Add Altera interrupt latency counter driver 095297e45627 FogBugz #144109: Remove extra lines from license header 6534e0969ae2 FogBugz #143451: Fix mutex compatible string 8eb7914d1532 FogBugz #138162: Add Altera hardware mutex driver 075f0367ff60 FogBugz #184646: Turn on all peripheral clocks for a system reboot d695a0616fda FogBugz #172665: Sample driver for DMA transfer to FPGA soft IP (FIFO) f7b3f6418bbc FogBugz #143478: arch/arm: Move sysid from arch to drivers 1dd2f4af39a0 ARM: socfpga: Turn on ARM errata for L2 cache 40146055677a mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-02-20linux-yocto/4.12: fix qemuarm64 boot failureBruce Ashfield
The -stable update to 4.12 needs one more commit to fix the boot of qemuarm64. This will be part of the next 4.12 -stable series, but for now, we merge the patch directly. 40146055677a mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-19linux-yocto/4.12: update to v4.12.20Bruce Ashfield
Updating to Paul Gortmaker's 4.12.20 release, which comprises the following commits: 26041ea62c10 Linux 4.12.20 80da9fc42759 kvm: x86: fix RSM when PCID is non-zero 94ff73e84af3 x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN 1c6aaef6e08f x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm a14ac5bc4953 x86/tlb: Drop the _GPL from the cpu_tlbstate export a95cc558c4ba x86/events/intel/ds: Use the proper cache flush method for mapping ds buffers e94e2440d266 x86/kaslr: Fix the vaddr_end mess ec2c4771ab78 x86/mm: Map cpu_entry_area at the same place on 4/5 level 21390d1cf697 x86/mm: Set MODULES_END to 0xffffffffff000000 a657f6bde81f x86/process: Define cpu_tss_rw in same section as declaration f0ca9ecfacd8 x86/pti: Switch to kernel CR3 at early in entry_SYSCALL_compat() 882c46ebc1eb x86/pti: Make sure the user/kernel PTEs match 0920dd036f51 x86/cpu, x86/pti: Do not enable PTI on AMD processors 2832199b24b5 x86/pti: Enable PTI by default abe84bdf0450 mm/mprotect: add a cond_resched() inside change_pmd_range() 79c74e87dd70 kernel/acct.c: fix the acct->needcheck check in check_free_space() 8097b1b3ed8e x86/espfix/64: Fix espfix double-fault handling on 5-level systems 1a698b5094c6 x86/decoder: Fix and update the opcodes map 3bc0a0230c85 x86/idt: Load idt early in start_secondary 96523a6b3c9f x86/ldt: Make LDT pgtable free conditional 0930c225b7fd x86/ldt: Plug memory leak in error path 7b392c0fd57c x86/mm: Remove preempt_disable/enable() from __native_flush_tlb() a569be19aca4 x86/smpboot: Remove stale TLB flush invocations 171c680cd430 x86/ldt: Make the LDT mapping RO b20a4e9c0824 x86/mm/dump_pagetables: Allow dumping current pagetables 4cb373d5878c x86/mm/dump_pagetables: Check user space page table for WX pages 419aaf9950b0 x86/mm/dump_pagetables: Add page table directory to the debugfs VFS hierarchy f2ea744855ef x86/mm/pti: Add Kconfig 21ee6ef0b6da x86/dumpstack: Indicate in Oops whether PTI is configured and enabled 4792df02eaa2 x86/mm: Clarify the whole ASID/kernel PCID/user PCID naming 079aafe7e55e x86/mm: Use INVPCID for __native_flush_tlb_single() f82db33b19f6 x86/mm: Optimize RESTORE_CR3 156823d62b52 x86/mm: Use/Fix PCID to optimize user/kernel switches 3c6ddf8979d7 x86/mm: Abstract switching CR3 842c1304aa61 x86/mm: Allow flushing for future ASID switches 54ccd28274b7 x86/pti: Map the vsyscall page if needed 05347c693d0a x86/pti: Put the LDT in its own PGD if PTI is on 86aa46082664 x86/mm/64: Make a full PGD-entry size hole in the memory map bd91c7622d4b x86/events/intel/ds: Map debug buffers in cpu_entry_area f2a19cac5364 x86/cpu_entry_area: Add debugstore entries to cpu_entry_area 788856fff986 x86/mm/pti: Map ESPFIX into user space 2946dc511e38 x86/mm/pti: Share entry text PMD 8f01f3ca70af x86/entry: Align entry text section to PMD boundary 419ac1b145f8 x86/mm/pti: Share cpu_entry_area with user space page tables 43ac2d12a830 x86/mm/pti: Force entry through trampoline when PTI active c0226c119bb4 x86/mm/pti: Add functions to clone kernel PMDs 0de21941f44c x86/mm/pti: Populate user PGD dc46e9eafde8 x86/mm/pti: Allocate a separate user PGD a3293057588e x86/mm/pti: Allow NX poison to be set in p4d/pgd b51aa0399145 x86/mm/pti: Add mapping helper functions 66d1447e7cd8 x86/pti: Add the pti= cmdline option and documentation 399981179cc2 x86/mm/pti: Add infrastructure for page table isolation ff4703d2378d x86/mm/pti: Prepare the x86/entry assembly code for entry/exit CR3 switching 6eb83fa9c76d x86/mm/pti: Disable global pages if PAGE_TABLE_ISOLATION=y 0cbc392772c6 x86/cpufeatures: Add X86_BUG_CPU_INSECURE bb426b09a2b3 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick() f8da34e6aea2 ring-buffer: Do no reuse reader page if still in use f56cc813891f ring-buffer: Mask out the info bits when returning buffer page length 99df0a6bd678 x86/cpu_entry_area: Prevent wraparound in setup_cpu_entry_area_ptes() on 32bit dd6eac2b6f66 init: Invoke init_espfix_bsp() from mm_init() fc78bbdec893 x86/cpu_entry_area: Move it out of the fixmap b73f4c11bfb7 x86/cpu_entry_area: Move it to a separate unit 90383f5be7ac x86/mm: Create asm/invpcid.h f7938aecc9e1 x86/mm: Put MMU to hardware ASID translation in one place 21c7af3777f8 x86/mm: Remove hard-coded ASID limit checks 546fe7d48686 x86/mm: Move the CR3 construction functions to tlbflush.h 029ed77f57b6 x86/mm: Add comments to clarify which TLB-flush functions are supposed to flush what c786774ceccb x86/mm: Remove superfluous barriers f0c8c4bd2347 x86/mm: Use __flush_tlb_one() for kernel memory c1d18bf3f32b x86/microcode: Dont abuse the TLB-flush interface cba3ab6a6841 x86/uv: Use the right TLB-flush API 8a7c2006beba x86/entry: Rename SYSENTER_stack to CPU_ENTRY_AREA_entry_stack d6a432d4d3a0 x86/doc: Remove obvious weirdnesses from the x86 MM layout documentation 07e8a63c2c4f x86/mm/64: Improve the memory map documentation 1dddc45476c4 x86/ldt: Prevent LDT inheritance on exec 93439585326e x86/ldt: Rework locking 315b737482ac arch, mm: Allow arch_dup_mmap() to fail 3cd977c67053 x86/vsyscall/64: Warn and fail vsyscall emulation in NATIVE mode e5667337a507 x86/vsyscall/64: Explicitly set _PAGE_USER in the pagetable hierarchy 4664833b9c38 x86/mm/dump_pagetables: Make the address hints correct and readable 9ed67a029dd7 x86/mm/dump_pagetables: Check PAGE_PRESENT for real 0f9f378903ae x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount 358a83a1de54 x86/cpufeatures: Make CPU bugs sticky ae16a824dd62 x86/paravirt: Provide a way to check for hypervisors 93231925335a x86/paravirt: Dont patch flush_tlb_single 3e9cf8fb4db0 x86/entry/64: Make cpu_entry_area.tss read-only 47cb726a9600 x86/entry: Clean up the SYSENTER_stack code ff29cda6c2f2 x86/entry/64: Remove the SYSENTER stack canary 33e8a0a90105 x86/entry/64: Move the IST stacks into struct cpu_entry_area 8aa71a5cdc32 x86/entry/64: Create a per-CPU SYSCALL entry trampoline 077a04534cc4 x86/entry/64: Return to userspace from the trampoline stack 698892158210 x86/entry/64: Use a per-CPU trampoline stack for IDT entries 7df5dc38dc29 x86/espfix/64: Stop assuming that pt_regs is on the entry stack 7b6d319e2616 x86/entry/64: Separate cpu_current_top_of_stack from TSS.sp0 e75df8aedce8 x86/entry: Remap the TSS into the CPU entry area 0e0055bbeb2a x86/entry: Move SYSENTER_stack to the beginning of struct tss_struct d9e17c57f62a x86/dumpstack: Handle stack overflow on all stacks b6645c3c626e x86/entry: Fix assumptions that the HW TSS is at the beginning of cpu_tss 99a47d22f1fa x86/kasan/64: Teach KASAN about the cpu_entry_area 0863f76db090 x86/mm/fixmap: Generalize the GDT fixmap mechanism, introduce struct cpu_entry_area 3b825a015513 x86/entry/gdt: Put per-CPU GDT remaps in ascending order 8e905774d607 x86/dumpstack: Add get_stack_info() support for the SYSENTER stack ca02a72c9150 x86/entry/64: Allocate and enable the SYSENTER stack 4eec07ec7a5c x86/irq/64: Print the offending IP in the stack overflow warning a7b282cd43ba x86/irq: Remove an old outdated comment about context tracking races d2408cf269d1 x86/entry/64/paravirt: Use paravirt-safe macro to access eflags 6a99c031df60 x86/mm/kasan: Don't use vmemmap_populate() to initialize shadow b3f96767d068 locking/barriers: Convert users of lockless_dereference() to READ_ONCE() c1763d787577 locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE() 756428416ce0 perf/x86: Enable free running PEBS for REGS_USER/INTR 2eecb0acd97a x86: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on AMD 493513aefcc5 x86/cpufeature: Add User-Mode Instruction Prevention definitions 019141d42ebe drivers/misc/intel/pti: Rename the header file to free up the namespace 871d6926064c x86/xen: Fix xen head ELF annotations d20c9ba72b8f x86/boot: Annotate verify_cpu() as a callable function d32d0f94a7ee x86/head: Fix head ELF function annotations 18f077dfae1c x86/head: Remove unused 'bad_address' code d5d921a047b9 x86/head: Remove confusing comment f6dd6567d09d kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal() cf2791ad9e53 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals 2071cfd700f6 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL 806424fd3065 kvm, mm: account kvm related kmem slabs to kmemcg 9575a6ffb4b7 x86/virt: Add enum for hypervisors to replace x86_hyper e8baad3e5158 x86/virt, x86/platform: Merge 'struct x86_hyper' into 'struct x86_platform' and 'struct x86_init' cb995fcf5ae2 x86/mm/64: Rename the register_page_bootmem_memmap() 'size' parameter to 'nr_pages' c94b6dded6eb x86/xen: Drop 5-level paging support code from the XEN_PV code 119347a0ef41 x86/xen: Provide pre-built page tables only for CONFIG_XEN_PV=y and CONFIG_XEN_PVH=y 199e4741c8b9 x86/kasan: Use the same shadow offset for 4- and 5-level paging 1c5ea732a936 mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y 8915a13ca5a4 mm, x86/mm: Fix performance regression in get_user_pages_fast() 66ea32e385a8 x86/insn-eval: Add a utility function to get register offsets 7ce86fc1e901 x86/insn-eval: Do not BUG on invalid register type c958c84cf7c2 x86/mpx, x86/insn: Relocate insn util functions to a new insn-eval file 8d8f073eaa31 x86/mpx: Do not use SIB.base if its value is 101b and ModRM.mod = 0 ec1786527e7f x86/mpx: Do not use SIB.index if its value is 100b and ModRM.mod is not 11b 897aeabaf3c1 x86/mpx: Use signed variables to compute effective addresses bdc345828604 x86/mpx: Simplify handling of errors when computing linear addresses d35dbe818a6a ptrace,x86: Make user_64bit_mode() available to 32-bit builds ef02e49ac1a7 x86/boot: Relocate definition of the initial state of CR0 1542a015ace2 x86/mm: Relocate page fault error codes to traps.h 7edfe87940e2 selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as well be33b76702d9 selftests/x86/ldt_gdt: Add infrastructure to test set_thread_area() 738b110511ba selftests/x86/ldt_gdt: Robustify against set_thread_area() and LAR oddities 1f9e12c2e81e x86/cpufeatures: Fix various details in the feature definitions 14fe162f996f x86/cpufeatures: Re-tabulate the X86_FEATURE definitions be9780fb7a30 x86/build: Beautify build log of syscall headers 601a71aa8028 x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE 6a9dda277c24 bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h") c3e13e28aa72 x86/cpuid: Replace set/clear_bit32() a87fa3721441 x86/cpufeatures: Enable new SSE/AVX/AVX512 CPU features 8bf58a744e9a x86/cpuid: Prevent out of bound access in do_clear_cpu_cap() 5dd037e50e83 x86/fpu: Remove the explicit clearing of XSAVE dependent features 691bb62c5c87 x86/fpu: Make XSAVE check the base CPUID features before enabling 384a2d7af44d x86/fpu: Parse clearcpuid= as early XSAVE argument 36381d76b645 x86/cpuid: Add generic table for CPUID dependencies 50c6c061f4d6 bitops: Add clear/set_bit32() to linux/bitops.h 4ef351ff7bab x86/fpu/debug: Remove unused 'x86_fpu_state' and 'x86_fpu_deactivate_state' tracepoints cc2b5786a84b x86/entry/64: Shorten TEST instructions d26fc8d39309 x86/traps: Use a new on_thread_stack() helper to clean up an assertion f475d79e9115 x86/entry/64: Remove thread_struct::sp0 ee2f1a81b613 x86/entry/32: Fix cpu_current_top_of_stack initialization at boot a69652f6e628 x86/entry/64: Remove all remaining direct thread_struct::sp0 reads f7945199711d x86/entry/64: Stop initializing TSS.sp0 at boot 3476ab68a9bf x86/xen/64, x86/entry/64: Clean up SP code in cpu_initialize_context() c2e6ce4b2921 x86/entry: Add task_top_of_stack() to find the top of a task's stack 45c4053bf8d4 x86/entry/64: Pass SP0 directly to load_sp0() 1acf96028d04 x86/entry/32: Pull the MSR_IA32_SYSENTER_CS update code out of native_load_sp0() ab80fe6f16d3 x86/entry/64: De-Xen-ify our NMI code d067fb259523 xen, x86/entry/64: Add xen NMI trap entry 13ead6fcd2ab x86/entry/64: Remove the RESTORE_..._REGS infrastructure 6793d49993e4 x86/entry/64: Use POP instead of MOV to restore regs on NMI return ba46462c7964 x86/entry/64: Merge the fast and slow SYSRET paths 905d20dd5054 x86/entry/64: Use pop instead of movq in syscall_return_via_sysret 99bc33079304 x86/entry/64: Shrink paranoid_exit_restore and make labels local 3c16e0932979 x86/entry/64: Simplify reg restore code in the standard IRET paths 4fc1d8b76f21 x86/entry/64: Move SWAPGS into the common IRET-to-usermode path f32123527bed x86/entry/64: Split the IRET-to-user and IRET-to-kernel paths 3b475309f976 x86/entry/64: Remove the restore_c_regs_and_iret label f3bd88849f88 x86/asm: Don't use the confusing '.ifeq' directive d36e0d395ca2 x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt() ca024e7d1862 x86/asm: Remove unnecessary \n\t in front of CC_SET() from asm templates dcc5f2f8c5db x86/mm/64: Remove the last VM_BUG_ON() from the TLB code c01d65a2df94 x86/mm: Flush more aggressively in lazy TLB mode 71570531a921 x86/mm/32: Load a sane CR3 before cpu_init() on secondary CPUs 7896047cb4de x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier 557c6cb2e892 x86/mm/64: Stop using CR3.PCID == 0 in ASID-aware code bdf06611e863 x86/mm: Factor out CR3-building code 28dfb0cf1cd6 x86/mm/64: Initialize CR4.PCIDE early c45360a1779f x86/mm: Get rid of VM_BUG_ON in switch_tlb_irqs_off() 50522881fb0b x86/mm: Document how CR4.PCIDE restore works d8fa770e4331 x86/mm: Reinitialize TLB state on hotplug and resume 223590ce02fa x86/xen: Get rid of paravirt op adjust_exception_frame 9148019af215 x86/mm, mm/hwpoison: Clear PRESENT bit for kernel 1:1 mappings of poison pages 93753465c1fb x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y 866ec7bd5055 x86/mm: Implement PCID based optimization: try to preserve old TLB entries using PCID 0ca4a0dcd2b1 x86/mpx: Do not allow MPX if we have mappings above 47-bit 69fa7265508d x86/mm/dump_pagetables: Fix printout of p4d level 172774bfa3ef x86/boot: Add early cmdline parsing for options with arguments 47c915550f9e x86/mm: Enable CR4.PCIDE on supported systems 4bda31395beb x86/mm: Add the 'nopcid' boot option to turn off PCID ae3c78546a4d x86/mm: Disable PCID on 32-bit kernels a506eb1a28ee x86/mm: Stop calling leave_mm() in idle code 8d640d568fc8 x86/mm: Rework lazy TLB mode and TLB freshness tracking 6856a6907443 x86/mm: Track the TLB's tlb_gen and update the flushing algorithm 75309cc8a392 x86/mm: Give each mm TLB flush generation a unique ID 90d8521ed090 x86/xen/64: Rearrange the SYSCALL entries cd77afb4a51a x86/asm: Add suffix macro for GEN_*_RMWcc() 5d4c36800831 x86/entry/64: Refactor IRQ stacks and make them NMI-safe 9b1ff5eeadc1 irq: Make the irqentry text section unconditional 2df8e4dd8ad5 x86: provide an init_mem_mapping hypervisor hook 03a415bbc469 x86/kasan: don't allocate extra shadow memory e5881507ab4b x86/mm: Delete a big outdated comment about TLB flushing 2612885620dc x86/mm: Don't reenter flush_tlb_func_common() 8c33de3d1431 x86/mm: Remove reset_lazy_tlbstate() 22e8e068200a x86/ldt: Simplify the LDT switching logic 306b70104b69 x86/boot/64: Put __startup_64() into .head.text 6785f222adc3 x86/mm: Add support for 5-level paging for KASLR 3591558ac071 x86/mm: Make kernel_physical_mapping_init() support 5-level paging e93998d5a995 x86/mm: Add sync_global_pgds() for configuration with 5-level paging 8d08f0f9511a x86/boot/64: Add support of additional page table level during early boot 08ef52fc8c27 x86/boot/64: Rename init_level4_pgt and early_level4_pgt 8e3d8cc05bab x86/boot/64: Rewrite startup_64() in C 40029728da7c x86/boot/compressed: Enable 5-level paging during decompression stage 9f9cc4499abe x86/boot/efi: Define __KERNEL32_CS GDT on 64-bit configurations f56c74bc479b x86/asm: Fix comment in return_from_SYSCALL_64() 37edb519e13e x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3() ae39e66a6c22 x86/ldt: Rename ldt_struct::size to ::nr_entries 8e9fceb46493 mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP 73c1f133b39a x86/mm, KVM: Teach KVM's VMX code that CR3 isn't a constant 6652b39ab9a7 x86/mm: Be more consistent wrt PAGE_SHIFT vs PAGE_SIZE in tlb flush code 5f8577a5dfcb x86/mm: Rework lazy TLB to track the actual loaded mm 0444036bd674 x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code a8c7f8a7a0b3 x86/mm: Use new merged flush logic in arch_tlbbatch_flush() d47f84368847 x86/mm: Refactor flush_tlb_mm_range() to merge local and remote cases 5a32e49af880 x86/mm: Change the leave_mm() condition for local TLB flushes c2c97859bbc5 x86/mm: Pass flush_tlb_info to flush_tlb_others() etc 30210c7c83b5 mm, x86/mm: Make the batched unmap TLB flush API more generic a56dacbe25a0 x86/mm: Reduce indentation in flush_tlb_func() 4e69fbba04b0 x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range() Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-02-09linux-yocto/4.12: pinctrl backportsBruce Ashfield
Backporting the following pinctrl commits to enable controllers on Intel Cannon Lake: 4b7a5c1b4ec5 pinctrl: intel: Add Intel Cannon Lake PCH-H pin controller support 044631ce1937 pinctrl: intel: Add Intel Cannon Lake PCH pin controller support 2054b0ea59a7 pinctrl: intel: Make it possible to specify mode per pin in a group 55b9053b5a5a pinctrl: intel: Add support for variable size pad groups Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-01-26linux-yocto/4.12: update to v4.12.19Bruce Ashfield
Integrating the -stable update from Paul Gortmaker which comprises the following commits: 4aff9b16f4ba Linux 4.12.19 28f16fcc84f9 Bluetooth: Prevent stack info leak from the EFS element. a430cb040780 loop: fix concurrent lo_open/lo_release 4dd428f5965c net: ipv4: fix for a race condition in raw_sendmsg 4428a99052e6 bpf: fix lockdep splat 686f16d77fee bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN 2c4577f1274b bpf: fix branch pruning logic d16a3b7b0642 bpf: reject out-of-bounds stack pointer calculation a1177b36876f x86/microcode/AMD: Add support for fam17h microcode loading 19be0f0937af iommu/arm-smmu-v3: Cope with duplicated Stream IDs 2e9834fd3352 iommu/arm-smmu-v3: Don't free page table ops twice 1e67d5342bde KVM: X86: Fix load RFLAGS w/o the fixed bit b45b19d6e92d KVM: PPC: Book3S HV: Fix pending_pri value in kvmppc_xive_get_icp() ce4ad56d8b44 KVM: PPC: Book3S: fix XIVE migration of pending interrupts 721f59a0bf4f KVM: arm/arm64: Fix HYP unmapping going off limits a7dbd1b73e6c arm64: kvm: Prevent restoring stale PMSCR_EL1 for vcpu 3e4266c9ea63 KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table c15b6348058e x86/asm: Use register variable to get stack pointer value 19af84ace857 x86/asm: Fix inline asm call constraints for GCC 4.4 78d54c1f3ac1 x86/asm: Fix inline asm call constraints for Clang 9a6d78ff4fb7 arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27 3af55325636e mm: Handle 0 flags in _calc_vm_trans() macro f951c9e762b6 arm-ccn: perf: Prevent module unload while PMU is in use 21bc2a95624c arm64: fix CONFIG_DEBUG_WX address reporting a2fb441f8cbd arm64: Initialise high_memory global variable earlier 2b2e733345b0 kbuild: do not call cc-option before KBUILD_CFLAGS initialization 4c67bceb55f4 jump_label: Invoke jump_label_test() via early_initcall() 7cdf334210c3 ARM: BUG if jumping to usermode address in kernel mode 77358b0b4d2f arm64: SW PAN: Update saved ttbr0 value on enter_lazy_tlb 09bddb96452b arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm f451d0e885e1 arm64: fpsimd: Prevent registers leaking from dead tasks bf4bfcfd1780 KVM: arm/arm64: vgic-its: Check result of allocation before use bdd70c122339 KVM: arm/arm64: vgic: Preserve the revious read from the pending table 6b99a8c8cdc0 KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion eadaba010c36 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts b31b0eb03c2c arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one 7c5a020deec8 arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one e1d48f51262e KVM: x86: fix APIC page invalidation 4465b8b94411 x86/PCI: Make broadcom_postcore_init() check acpi_disabled 74d50f1ac954 perf tools: Fix leaking rec_argv in error cases a8698071c4ba KVM: lapic: Fixup LDR on load in x2apic 18db8c0cd612 KVM: lapic: Split out x2apic ldr calculation 06e79931a082 KVM: x86: inject exceptions produced by x86_decode_insn 1c7ccddc0a60 KVM: x86: Exit to user-mode on #UD intercept when emulator requires 933a293d5925 KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk 27a37b1b39b5 mm/madvise.c: fix madvise() infinite loop under special circumstances 9a415da9c31c mm, hugetlbfs: introduce ->split() to vm_operations_struct ab1e80ae2b42 mm: fix device-dax pud write-faults triggered by get_user_pages() 84392a1ffc54 mm/cma: fix alloc_contig_range ret code/potential leak 390e49975c0c mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d() c9d8192b4165 mm, oom_reaper: gather each vma to prevent leaking TLB entry 557cc85757eb mm, memory_hotplug: do not back off draining pcp free pages from kworker context e7f78f55bdcb KVM: SVM: obey guest PAT eee1b36f5bd8 KVM: nVMX: set IDTR and GDTR limits when loading L1 host state eca2c0a4f6fd KVM: PPC: Book3S HV: Don't call real-mode XICS hypercall handlers if not enabled 139c8678fb65 x86/decoder: Add new TEST instruction pattern f06e373ee93d RDS: Heap OOB write in rds_message_alloc_sgs() 4f72d5339c6f RDS: null pointer dereference in rds_atomic_free_op 3911496c7b54 net: Fix double free and memory corruption in get_net_ns_by_id() 5c9f58b167bd MIPS: math-emu: do not use bools for arithmetic a756ea350c02 crypto: salsa20 - fix blkcipher_walk API usage 632cfeb3cb42 crypto: hmac - require that the underlying hash algorithm is unkeyed fdd279fd5561 netlink: Add netns check on taps c142151947e9 dccp: CVE-2017-8824: use-after-free in DCCP code edd820b4ba76 media: hdpvr: Fix an error handling path in hdpvr_probe() aa0327d3dddc powerpc/tm: Add commandline option to disable hardware transactional memory Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-01-26linux-yocto/4.12: iwlwifi and pci id backportsBruce Ashfield
Integrating the following wilwifi and pci ID backports. These are bug fixes, enablements and minor updates. 850696176565 mmc: sdhci-pci: Add support for Intel CNP d7265bddf328 mmc: sdhci-pci: Use macros in pci_ids definition 3a78458e37c1 spi: pxa2xx: Add support for Intel Cannonlake 9de152318ec0 mfd: intel-lpss: Add Intel Cannonlake PCI IDs 533713968b7d i2c: i801: Add support for Intel Cannon Lake b3a84be8dc44 Bluetooth: Add support for Intel Bluetooth device 9460/9560 [8087:0aaa] 08dea20dfcdd iwlwifi: pcie: fix DMA memory mapping / unmapping 9846e33915f4 iwlwifi: mvm: mark MIC stripped MPDUs d47d7a5921ec iwlwifi: mvm: enable RX offloading with TKIP and WEP 295c08159f25 iwlwifi: mvm: flush queue before deleting ROC a49b4d426747 iwlwifi: add new cards for 9260 and 22000 series 49f247c26220 iwlwifi: fix access to prph when transport is stopped 3716aa8c7fb2 iwlwifi: pcie: fix erroneous "Read failed message" 8ea811068131 iwlwifi: mvm: fix packet injection ce6f582d7790 iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type 789e2b172917 iwlwifi: mvm: don't use transmit queue hang detection when it is not possible 4d697c7f2f30 iwlwifi: mvm: set correct chains in Rx status 14f5ee3d7f2a iwlwifi: fix firmware names for 9000 and A000 series hw 10f670720316 mac80211: add api to start ba session timer expired flow 6975296fb60f timer: Prepare to change timer callback argument type 617d38a55701 iwlwifi: fix PCI IDs and configuration mapping for 9000 series 7768d0301e76 iwlwifi: mvm: support version 7 of the SCAN_REQ_UMAC FW command d10e7c4752ad iwlwifi: add new cards for a000 series f93a0bd94f2e iwlwifi: add new cards for 8265 series fd7fb7407891 iwlwifi: add new cards for 8260 series 155e2cf7cf48 iwlwifi: drop RX frames during hardware restart a6a61a5c3dc6 iwlwifi: mvm: Convert timers to use timer_setup() 2c55829d53e9 iwlwifi: mvm: hold mutex when flushing in iwl_mvm_flush_no_vif() c9d9e2dabd5b iwlwifi: mvm: add missing implementation of flush for a000 devices 3793a1ba0652 iwlwifi: mvm: refactor iwl_mvm_flush_no_vif ef5fe37f634b iwlwifi: fix multi queue notification for a000 devices 76b84cc9a0a7 iwlwifi: Add more call-sites for pcie reg dumper c76d3e3c5401 iwlwifi: remove host assisted paging d04bbe0546b1 iwlwifi: remove dead code for internal devices only f2aa0f94c3ed iwlwifi: mvm: improve latency when there is a reorder timeout 16472c63581e iwlwifi: mvm: rs: remove the ANT C from the toogle antenna logic b12c3acdedd4 iwlwifi: mvm: reset seq num after restart b80a2cffd5ae iwlwifi: mvm: cleanup references to aggregation count limit 08fb17fe5d5d iwlwifi: mvm: use RS macro instead of duplicating the code 4ee07409e310 iwlwifi: pcie: remove set but not used variable tcph a707114d30c7 iwlwifi: pcie: sort IDs for the 9000 series for easier comparisons 5437405de942 iwlwifi: mvm: add missing lq_color 5b9fdea44032 iwlwifi: define minimum valid address for umac_error_event_table in cfg 66130a345dc0 iwlwifi: mvm: move umac_error_event_table validity check to where it's set 02ae1833fe0a iwlwifi: mvm: allow reading UMAC error data from SMEM in A000 devices 92f982fbedea iwlwifi: mvm: pass baid_data to iwl_mvm_release_frames() f5373043dbf2 iwlwifi: mvm: remove duplicated fields in mvm reorder buffer 46023b1981e8 iwlwifi: mvm: allocate reorder buffer according to need 8b46150fdcba iwlwifi: remove dflt_pwr_limit from the transport 1a0b98c751d9 iwlwifi: mvm: warn on invalid statistics size fd3b380a9842 iwlwifi: acpi: move code that reads SPLC to acpi 390680e904da iwlwifi: fix indentation in a000 family configuration eff6a99d6123 iwlwifi: acpi: move function to get mcc into acpi code 2c78cb7d30a5 iwlwifi: acpi: remove a couple of unnecessary ifdefs 913d3ee53285 iwlwifi: acpi: make iwl_get_bios_mcc() use the common acpi functions 99fb9256d5db iwlwifi: acpi: use iwl_acpi_get_wifi_pkg when reading reading SPLC ebe44b941059 iwlwifi: acpi: generalize iwl_mvm_sar_find_wifi_pkg() f9975d6cd5cb iwlwifi: acpi: move ACPI-related definitions to acpi.h c82427d45403 iwlwifi: acpi: move ACPI method definitions to acpi.h 230d7769570e iwlwifi: acpi: add common code to read from ACPI 11fe78e4e712 iwlwifi: mvm: change warning to warn_once() 5bdafa97f8c2 iwlwifi: pcie: dump registers when HW becomes inaccessible e23f32f76e1b iwlwifi: mvm: add marker cmd response struct. 29921783721e iwlwifi: fw: api: remove excess enum value documentation 7d535c46c8a9 iwlwifi: mvm: don't send identical PHY_CTXT_CMD 271cf21e8e38 iwlwifi: remove redundant reading from NVM file 1f97d139cf89 iwlwifi: pcie: dynamic Tx command queue size 49cd37c4bf52 iwlwifi: Add few debug prints to the WRT dump flow 275329860324 iwlwifi: mvm: support firmware debug trigger on frame reorder timeout 04901364779d iwlwifi: mvm: remove support for Link Quality Measurements 36b34fa8d705 iwlwifi: mvm: Add new quota command API ebe4543c05ca iwlwifi: add a new a000 device c18499f54fb6 iwlwifi: fix wrong struct for a000 device b446945d074c iwlwifi: trans: move ref/unref code to the common part of the transport 0c1dddd47c6e iwlwifi: mvm: add dbgfs entry for fw info 6f04e26ed094 iwlwifi: nvm: set the correct offsets to 3168 series 9cd4e5a40c94 iwlwifi: nvm-parse: unify channel flags printing 81d96355b478 iwlwifi: mvm: return -ENODATA when reading the temperature with the FW down 191792ca6c7b iwlwifi: stop dbgc recording before stopping DMA 55b03bd59426 iwlwifi: mvm: do not print security error in monitor mode d25afe43ac2b iwlwifi: mvm: fix reorder buffer for 9000 devices dab206263245 iwlwifi: mvm: set status before calling iwl_mvm_send_cmd_status() 4cd70ffaa6b4 iwlwifi: mvm: initialize status in iwl_mvm_add_int_sta_common() 8b949c472671 iwlwifi: mvm: handle FIF_ALLMULTI when setting multicast addresses a8789c53df4c iwlwifi: mvm: wake the correct mac80211 queue e3fc497bcb1f iwlwifi: mvm: change state when queueing agg start work e64485ba374a iwlwifi: mvm: send all non-bufferable frames on the probe queue 39853a2897ca iwlwifi: mvm: Flush non STA TX queues a79f9da1c39f iwlwifi: mvm: fix wowlan resume failed to load INIT ucode 030cb8bb462b iwlwifi: mvm: only send LEDS_CMD when the FW supports it 9d5c1397f0ba iwlwifi: mvm: bump API to 34 for 8000 and up 0e4e899155b2 iwlwifi: mvm: Avoid deferring non bufferable frames bbb1538f4415 iwlwifi: fix long debug print fba7875cbf2b iwlwifi: pcie: move rx workqueue initialization to iwl_trans_pcie_alloc() cbe2772aa5ac iwlwifi: use big-endian for the hw section of the nvm 5a9ed1a9e7a1 iwlwifi: mvm: remove useless check for mvm->cfg in iwl_parse_nvm_section() 5dce0bb2c1e4 iwlwifi: mvm: remove useless argument in iwl_nvm_init() 44a34b9133f6 iwlwifi: fw: fix lar_enabled endian problem in iwl_fw_get_nvm 6ed7a437ada4 iwlwifi: add workaround to disable wide channels in 5GHz 9fdf34b63469 iwlwifi: mvm: change open and close criteria of a BA session 00fee168712f iwlwifi: update channel flags parser 51fe7153860f iwlwifi: distinguish different RF modules in A000 devices 04b2b5fe60ec iwlwifi: mvm: Fix channel switch in case of count <= 1 12cb62ad92f1 iwlwifi: Demote messages about fw flags size to info ec7db94d2ac8 iwlwifi: move BT_MBOX_PRINT macro to common header 9096228d343c iwlwifi: mvm: don't send BAR on flushed frames 0200459abfe5 iwlwifi: mvm: remove session protection to allow channel switch 4ed04628ce99 iwlwifi: mvm: update the firmware API in TX a9c710c755bd iwlwifi: mvm: use mvmsta consistently in rs.c db9f3872c6fa iwlwifi: mvm: group all dummy SAR function declarations together e59229f94610 iwlwifi: mvm: add command name for FRAME_RELEASE 52c144d07be9 iwlwifi: pcie: support short Tx queues for A000 device family 9768c491c7d2 iwlwifi: mvm: support new Coex firmware API 899413b64660 iwlwifi: call iwl_remove_notification from iwl_wait_notification 1e627b700dbb iwlwifi: mvm: consider RFKILL during INIT as success c9ef6cbdc1b9 iwlwifi: mvm: remove the corunning support 6e83c9cbc23f iwlwifi: mvm: fix the coex firmware API 537da96de818 iwlwifi: pcie: free the TSO page when a Tx queue is unmapped on A000 devices 5fcd36459941 iwlwifi: remove references to unsupported HW b73ab3bf441b iwlwifi: fix nmi triggering from host c0594a59199d iwlwifi: pcie: don't init a Tx queue with an SSN > size of the queue 0d23bd8c8cbf iwlwifi: mvm: add station before allocating a queue bd8e6c146cc2 iwlwifi: mvm: don't send CTDP commands via debugfs if not supported 2f36c927e0b6 iwlwifi: mvm: support new beacon template command 55ed6e274d45 iwlwifi: mvm: send delba upon rx ba session timeout f9cc252d82fc iwlwifi: mvm: set the default cTDP budget 1d41aa6b2727 iwlwifi: mvm: move a000 device NVM retrieval to a common place e7b6180a4e80 iwlwifi: dump smem configuration when firmware crashes 30d9d2f6ec84 iwlwifi: fix a000 RF_ID define 064eaeb94cdd iwlwifi: add support of FPGA fw 4d58ad2d7dd4 iwlwifi: fix a few instances of misaligned kerneldoc parameters a854f76ba000 iwlwifi: change functions that can only return 0 to void 583ab36a2c38 iwlwifi: mvm: add debugfs to force CT-kill 59f3b92bc9d5 iwlwifi: mvm: add const to thermal_cooling_device_ops structure 6065eab05454 iwlwifi: mvm: use firmware LED command where applicable bdd1f8e6cd04 iwlwifi: mvm: remove useless condition in LED code 8690797a9a10 iwlwifi: mvm: don't WARN when a legit race happens in A-MPDU bfa6caa712e9 iwlwifi: mvm: start mac queues when deferred tx frames are purged b8055bcadf7c iwlwifi: mvm: Fix a memory leak in an error handling path in 'iwl_mvm_sar_get_wgds_table()' 446ea78b678c iwlwifi: mvm: don't retake the pointer to skb's CB f8fecb61f48f iwlwifi: mvm: remove non-DQA mode 2afb27a925ce iwlwifi: mvm: rename p2p-specific sta functions to include p2p in the names 6c1a64e3ef75 iwlwifi: mvm: simplify bufferable MMPDU check 37d2db886acb iwlwifi: mvm: require AP_LINK_PS for TVQM cc0f8aa5bd8c iwlwifi: pcie: rename iwl_trans_check_hw_rf_kill() to pcie d680a553246e iwlwifi: mvm: add compile-time option to disable EBS eb39ff9703cb iwlwifi: implement fseq version mismatch warning 248737b38907 iwlwifi: mvm: support fw reading empty OTP 4c521e875d7a iwlwifi: pcie: fix A-MSDU on gen2 devices cae215d55c66 iwlwifi: mvm: fix uninitialized var while waiting for queues to empty 3c7d7c6a8dbd iwlwifi: mvm: fix the FIFO numbers in A000 devices e9ac52a93832 iwlwifi: mvm: refactor beacon template command code 585dde6c1b9b iwlwifi: dvm: remove unused defines 7eec01ad4c9e iwlwifi: mvm: byte-swap constant instead of variable 099c0a80ad9f iwlwifi: mvm: check family instead of new TX API for workarounds 2e44edff43bb iwlwifi: mvm: add and use iwl_mvm_has_unified_ucode() 571909b0fc2f iwlwifi: fw api: fix various kernel-doc warnings 231a0f260c9f iwlwifi: reorganize firmware API 45a9716e520c iwlwifi: refactor firmware debug code 6bc25ab6637f iwlwifi: track current firmware image in common code 2e8f9d07d433 iwlwifi: refactor shared mem parsing e99db11387dd iwlwifi: refactor out paging code 87e461c198f2 iwlwifi: add the new 9000 series PCI IDs ccd7ba236f4c iwlwifi: mvm: set the RTS_MIMO_PROT bit in flag mask when sending sta to fw 117a3d6f9f1d iwlwifi: fix fw_pre_next_step to apply also for C step 2176967bd330 iwlwifi: mvm: rs: fix TLC statistics collection 7e12ee6aadfd iwlwifi: mvm: set A-MPDU bit upon empty BA notification from FW a52eff0e4979 iwlwifi: split the regulatory rules when the bandwidth flags require it 3a5a68e76e90 iwlwifi: add TLV for MLME offload firmware capability a33aab491b28 iwlwifi: mvm: fix TCP CSUM offload with WEP and A000 series 4aaa3afd80b2 iwlwifi: mvm: defer setting IWL_MVM_STATUS_IN_HW_RESTART 824bd3878358 iwlwifi: mvm: handle IBSS probe_queue in a few missing places cfa94cd7b0eb iwlwifi: fix tracing when tx only is enabled 2137706c9531 iwlwifi: missing error code in iwl_trans_pcie_alloc() 7f6264621aa1 iwlwifi: mvm: fix a NULL pointer dereference of error in recovery f20a2719d785 iwlwifi: pcie: fix unused txq NULL pointer dereference 9e14453045b2 iwlwifi: bump MAX API for 8000/9000/A000 to 33 b177ff5b4d37 iwlwifi: pcie: wait longer after device reset 1a57bfb1ca30 iwlwifi: pcie: propagate iwl_pcie_apm_init's status 5d80ae738313 iwlwifi: mvm: quietly accept non-sta disassoc frames 4413e18698bd iwlwifi: mvm: update rx statistics cmd api 8a1e4d649107 iwlwifi: mvm: remove DQA non-STA client mode special case ba3b437ac257 iwlwifi: mvm: don't mess the SNAP header in TSO for non-QoS packets 6a8a1d8ff04f iwlwifi: pcie: reconfigure MSI-X HW on resume 370b3f671b84 iwlwifi: mvm: don't send fetch the TID from a non-QoS packet in TSO dd9d9e230b3b iwlwifi: mvm: fix mac80211's hw_queue in DQA mode 67f0a8051df7 iwlwifi: mvm: map cab_queue to real one earlier 279ca413640e iwlwifi: mvm: fix mac80211 queue tracking ac34301b93d9 iwlwifi: mvm: properly enable IP header checksumming b7e49fba6de4 iwlwifi: pcie: add MSI-X interrupt tracing 073e3ae0697d iwlwifi: mvm: quietly accept non-sta assoc response frames 000225c8540e iwlwifi: mvm: remove version 2 of paging command 01adad1afb4b iwlwifi: move configuration into sub-directory 1c945c0a2365 iwlwifi: move notification wait into fw/ 707cab759b03 iwlwifi: create new subdirectory for FW interaction 11498c406c1d iwlwifi: mvm: rename iwl_shared_mem_cfg_v1 to the correct _v2 36d920ab8301 iwlwifi: mvm: fix deduplication start logic f639f74a16db iwlwifi: mvm: unconditionally stop device after init 6d351ad19e9e iwlwifi: pcie: warn if paging is already initialized during init f440538d499e iwlwifi: pcie: make ctxt-info free idempotent b6d799e30c37 iwlwifi: unify external & internal modparam names da2431c19209 iwlwifi: mvm: support multi tid ba notif 9ef205fbc7f6 iwlwifi: mvm: change when the BT_COEX is sent ffeceb4d747d iwlwifi: pcie: improve debug in iwl_pcie_rx_handle_rb() 03eb5a5191b5 iwlwifi: mvm: support aggs of 64 frames in A000 family 2385536aa6aa iwlwifi: pcie: improve "invalid queue" warning 15a398ef172d iwlwifi: mvm: use proper CDB check in PHY context modify 864be96cece8 iwlwifi: add twelve new 9560 series PCI IDs ec6054472dfb iwlwifi: add the new a000_2ax series 968a39b62c95 iwlwifi: mvm: simplify CHECK_MLME_TRIGGER macro df311987c49c iwlwifi: mvm: change sta_id to u8 883fb2c8e201 iwlwifi: pcie: fix 9000-series RF-kill interrupt propagation 91acf229d6cd iwlwifi: pcie: only apply retention workaround on 9000-series A-step 09a2f42e69fb iwlwifi: dvm: use macros for format strings 7ca1a7dd8f3e iwlwifi: mvm: fix a bunch of kernel-doc warnings b458b063bc76 iwlwifi: mvm: add documentation for all command IDs d1790ece9b75 iwlwifi: mvm: use __le16 even for reserved fields 046c12a1dc80 iwlwifi: mvm: remove various unused command IDs/structs 2848902362f0 iwlwifi: mvm: fix various "Excess ... description" kernel-doc warnings 623a8552fda4 iwlwifi: mvm: remove some CamelCase from firmware API e3b3b727c40d iwlwifi: mvm: Add debugfs entry to retrieve SAR geographic profile fdc992fb8d18 iwlwifi: mvm: refactor geo init c5a3a5eefbea iwlwifi: mvm: support TX on MONITOR iface dc57bda29216 iwlwifi: pcie: work around suspend/resume issue 0ae7c6c46fd8 iwlwifi: mvm: fix typo in CTDP_CMD_OPERATION_REPORT description c7434aa46639 iwlwifi: pcie: delete the Tx queue timer earlier upon firmware crash 958f6310f57a iwlwifi: pcie: reduce unwanted noise in the logs 47b740d6fdad iwlwifi: mvm: print base HW address during init 576b5f6d20aa iwlwifi: mvm: document assoc_beacon_arrive_time 0f5456ddc9e1 iwlwifi: mvm: reset the fw_dump_desc pointer after ASSERT 143b28afd061 iwlwifi: mvm: set assoc_beacon_arrive_time 277925710d13 iwlwifi: pcie: make iwl_pcie_apm_stop_master() return void 2c60b669ee2f iwlwifi: add a W/A for a scheduler hardware bug ea2c2d55b740 iwlwifi: mvm: don't mark TIDs that are not idle wrt BA as inactive 6334bb289021 iwlwifi: mvm: reset the HW before dumping if HW error is detected 47cc9c8ef1e2 iwlwifi: pcie: don't disable bh when handling FW errors c7507a1c27da iwlwifi: mvm: fix nvm_data leak 997a0c1940c0 iwlwifi: remove useless iwl_free_nvm_data() function 85ffc85a8631 iwlwifi: document transmit buffer bits better b354e56f9170 iwlwifi: mvm: add documentation for enum iwl_debug_cmds 862b5ca77cb7 iwlwifi: mvm: disentangle union in TX status struct 62bcece33632 iwlwifi: mvm: fix fw monitor 7000 HW recollecting 779d40dcefef iwlwifi: mvm: docs: fix enum link, provide TX response link 07654dd35785 iwlwifi: pcie: fix command completion name debug fe6742b239a5 iwlwifi: fix TX tracing for non-linear SKBs b45290710c5f iwlwifi: simplify data tracepoint 30c0d59cb96e iwlwifi: mvm: better link scan notification results length 2af91c751cb1 iwlwifi: pcie: use kstrtou32_from_user() 476da255e452 iwlwifi: mvm: support aggregations on A000 HW 9589a1e03918 iwlwifi: mvm: document status bits ba68df149d76 iwlwifi: pcie: remove pointless debugfs parsing for csr file 69cb66f56e31 iwlwifi: pcie: don't report RF-kill enabled while shutting down 95cf3d6024f3 iwlwifi: mvm: don't warn in queue sync on RF-kill f29197139bd5 iwlwifi: pcie: add fake RF-kill to debugfs 9d66c60c017c iwlwifi: pcie: pull out common rfkill IRQ handling code ecc56c4e3f8a iwlwifi: mvm: rs: add logs for the wrong antenna case 9fa7ff152d17 iwlwifi: mvm: make iwl_mvm_update_mcc() easier to follow 5873c905dd46 iwlwifi: mvm: change the firmware name loading f48b4417b6bb iwlwifi: mvm: support D0I3_END_CMD at the start of resume db5d313c1366 iwlwifi: mvm: make D0I3_END_CMD sync during system resume cef60bd42b53 iwlwifi: mvm: track and report IBSS manager status to mac80211 c9592bc2295b iwlwifi: use bitfield.h for some registers a981c4683faa iwlwifi: mvm: use scnprintf() instead of snprintf() 94da2d3b1962 iwlwifi: pcie: fix TVQM queue ID range check ffc4fbe862d0 iwlwifi: mvm: remove pointless num_stored condition fffa02450281 iwlwifi: mvm: avoid unnecessary cache trashing in Tx path ef694dd2c96a iwlwifi: mvm: Enable security on new TX API 8628d427548a iwlwifi: mvm: disable dbg data collect when fw isn't alive 29e776b74ca4 iwlwifi: remove resp_pkt NULL checks b697ec7ebaa3 iwlwifi: mvm: remove txq EMPTYING_DELBA state for DQA c1c666e4b9e1 iwlwifi: remove unnecessary code in iwl_trans_alloc_tx_cmd aac2dec2caa9 iwlwifi: fw-api: cleanup cycle includes 6d409c70b759 iwlwifi: mvm: remove SCAN_GROUP 57cba4f2c3bb iwlwifi: mvm: link to TX commands in documentation 2792b27534b3 iwlwifi: mvm: document structures used for BEACON_TEMPLATE_CMD 7bafd04ebb12 iwlwifi: mvm: link queue cmd docs to A000 command structs c99a3509d9a9 iwlwifi: split firmware API from iwl-trans.h 4180802e550f iwlwifi: fix a kernel-doc tag fee5c3ea3ccc iwlwifi: mvm: clear firmware running bit earlier 1a6cb6ae5305 iwlwifi: mvm: convert ucode_loaded to a status bit 28abcc34d47f iwlwifi: mvm: use schedule_delayed_work() 2b8c8c6a247c iwlwifi: mvm: check firmware is up in debugfs f2a41abb9acc iwlwifi: mvm: disable prph collection in a000 hw 8945686f242b iwlwifi: pcie: support dumping FH in a000 hw e8e293176ae2 iwlwifi: add 9000 and A000 device families 3610276b8a6c iwlwifi: mvm: support init flow debugging ca41111b2b1c iwlwifi: mvm: add TLV for NAN API differentiation afbea5518455 iwlwifi: add dbgc_supported to transport configuration acdc73097588 iwlwifi: remove references to 8000 B-step devices 595bbac1c406 iwlwifi: cleanup references to 8000 family in NVM code 11faed6da368 iwlwifi: pcie: add AMSDU to gen2 fcdca8ea1328 iwlwifi: mvm: document RX structures 767327919d86 iwlwifi: mvm: add AMSDU flag to offload assist f322fb5df757 iwlwifi: mvm: fix many kernel-doc warnings 50cc8892d845 iwlwifi: mvm: remove unused REPLY_MAX 484994be6f9c iwlwifi: kernel-doc: make proper links 118480297594 iwlwifi: mvm: remove unused TX_CMD_NEXT_FRAME_* d51079922e78 iwlwifi: Add fw_name_pre_rf_next_step to support different rf steps 75ae58fb9f09 iwlwifi: pcie: support page dumping in wrt in gen2 1257922aa9ba iwlwifi: mvm: remove wrt support of page dumps in gen2 dd16d8dd7ffa iwlwifi: mvm: document structures used by commands c1707f389f38 iwlwifi: mvm: create/name various enums f7284177ca6b iwlwifi: mvm: disentangle binding command versions 2e2a50a2385b iwlwifi: update device ID for a000 family 1a2dfbdfc6a6 iwlwifi: mvm: add documentation links to various fields af89f3bcefe0 iwlwifi: mvm: fix some kernel-doc dd9e1bc0ab78 iwlwifi: mvm: add documentation to some WoWLAN commands f3a49c387b0c iwlwifi: mvm: disentangle paging command structs 99663cdb5f32 iwlwifi: mvm: use u8 for reserved fields 889c4a104258 iwlwifi: mvm: fix MCC endianness bug a391ff99187a iwlwifi: mvm: use proper sta_addr in firmware API 27b6fcbdb9dd iwlwifi: mvm: document which group enums are used with which group ID 6eb27e533f68 iwlwifi: mvm: fix endianness in lq_cmd declaration 0fbd3eb814df iwlwifi: mvm: support old method of NVM parsing dc5fc94c7ad3 iwlwifi: mvm: support getting nvm data from firmware Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-01-26linux-yocto/4.12: drm & mips fixesBruce Ashfield
Integrating the following bug fixes (mainline backports): d572780c455f Mips kernel warining:resolve some warning when compiling arch/mips/math-emu/cp1emu.c f79ac7203257 drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode() Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-01-26linux-yocto/4.12: coffeeLake-s graphics and audio supportBruce Ashfield
Integrating the following backports to enable graphics and audito for the coffeelake-s board: e0256c639caf ALSA: hda/realtek - Fix ALC700 family no sound issue a3bd263fa5f3 ALSA: hda - Add model string for Intel reference board quirk c12ee7fbc382 ALSA: hda/realtek - Enable jack detection function for Intel ALC700 ff8d2c896572 ALSA: hda: Add Cannonlake PCI ID 88ee594b72e6 ALSA: hda - Fix unbalance of i915 module refcount c7d38955ce7f ALSA: hda - Fix doubly initialization of i915 component 5ca2b95b131f ALSA: hda - Bind with i915 component before codec binding 648c24f8d385 ALSA: hda - Add AZX_DRIVER_SKL for simplification f406fd3d0c63 drm/i915/cnl: Implement CNL display init/unit sequence 1e07bbf553c0 drm/i915/cnl: Implement .set_cdclk() for CNL 901336fddca0 drm/i915/cnl: Implement .get_display_clock_speed() for CNL be7a1f129e42 drm/i915/cfl: Coffee Lake reuses Kabylake DMC. ee6ac7be14c3 drm/i915/huc: Load HuC on Coffee Lake 35a913347462 drm/i915/guc: Load GuC on Coffee Lake 443e68bbbe46 drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku. 0ef98275c834 drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku. 594a1d673403 drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus. 8732a393ce1e drm/i915/cfl: Introduce Display workarounds for Coffee Lake. 676a4c1b92ab drm/i915/cfl: Coffee Lake uses CNP PCH. f5eb462f524f drm/i915/cfl: Introduce Coffee Lake platform definition. 8a3a080c7028 drm/i915/cnl: Also need power well sanitize. b5620b75db38 drm/i915/cnl: Add power wells for CNL b747f1806205 drm/i915/cnl: Cannonlake has same MOCS table than Skylake. fc8aee64eaeb drm/i915/cnl: Configure EU slice power gating. a9b5e8f00440 drm/i915/cnl: Cannonlake has 4 planes (3 sprites) per pipe 03a55f9a6082 drm/i915/cnl: add IS_CNL_REVID macro 7236995c6b04 drm/i915/cnl: Add Cannonlake PCI IDs for Y-skus. b2f7e93bcb56 drm/i915/cnl: Add Cannonlake PCI IDs for U-skus. 30c5a76e52a6 drm/i915/cnl: Cannonlake uses CNP PCH. 27bb6860ebf1 drm/i915/cnl: Introduce Cannonlake platform defition. b4d4cf3529e0 drm/i915/cnp: Panel Power sequence changes for CNP PCH. ee2e2af1cf34 drm/i915/cnp: add CNP gmbus support 35964d298c7d drm/i915/cnp: Backlight support for CNP. ccfab7d5ae88 drm/i915/cnp: Get/set proper Raw clock frequency on CNP. abdbbc6157d7 drm/i915/cnp: Add PCI ID for Cannonpoint LP PCH 87482dfba004 drm/i915/cnp: Introduce Cannonpoint PCH. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-01-26linux-yocto/4.12: CQM and rdt backportsBruce Ashfield
Integrating the following fixes to CQM and rdt: 6039d7e04ee9 x86/intel_rdt: Turn off most RDT features on Skylake bda0ec91ba67 x86/intel_rdt: Add command line options for resource director technology a3c30e14a0c6 x86/intel_rdt: Move special case code for Haswell to a quirk function 8b85cfaa3e71 perf tests: Remove Intel CQM perf test c52eafb271db x86/intel_rdt: Remove redundant assignment 59eded4485bd x86/intel_rdt/cqm: Make integer rmid_limbo_count static f353fcc5381a perf test: Add 'struct test *' to the test functions 3ab7007dc138 perf tools: Remove warning() 16373473698d tools: Adopt __printf from kernel sources 1b6df81b0ec0 perf event-parse: Use pr_warning() 49304e0a40bb tools: Adopt __noreturn from kernel sources 404c63ba6ad9 x86/intel_rdt: Fix a silent failure when writing zero value schemata 0ccb572e7d9a x86/intel_rdt: Initialize bitmask of shareable resource if CDP enabled 9e35007e23ea x86/intel_rdt: Add diagnostics when making directories 68cd327250f4 x86/intel_rdt: Add diagnostics when writing the cpus file d00dfe37ca54 x86/intel_rdt: Add diagnostics when writing the tasks file 63536c68faa4 x86/intel_rdt: Add diagnostics when writing the schemata file b626cc5e2b2a x86/intel_rdt: Add framework for better RDT UI diagnostics cf0468526b24 x86/intel_rdt: Remove redundant ternary operator on return 8bba47d15f54 x86/intel_rdt: Modify the intel_pqr_state for better performance dcddbbf53ff7 x86/intel_rdt/cqm: Clear the default RMID during hotcpu 6d4f2689b04b x86/intel_rdt/cqm: Improve limbo list processing 360834344240 x86/intel_rdt/mbm: Fix MBM overflow handler during CPU hotplug 02a3de9b826d x86/intel_rdt: Show bitmask of shareable resource with other executing units cb73d2dea025 x86/intel_rdt/mbm: Handle counter overflow f8886547bdc5 x86/intel_rdt/mbm: Add mbm counter initialization 77d89a70fbea x86/intel_rdt/mbm: Basic counting of MBM events (total and local) 81825b49c811 x86/intel_rdt/cqm: Add CPU hotplug support e23cf266aac4 x86/intel_rdt/cqm: Add sched_in support b690bc426fdf x86/intel_rdt: Introduce rdt_enable_key for scheduling 5a810cfc457c x86/intel_rdt/cqm: Add mount,umount support 8ee1a2a746b7 x86/intel_rdt/cqm: Add rmdir support 899eeb375632 x86/intel_rdt: Separate the ctrl bits from rmdir 549388e78852 x86/intel_rdt/cqm: Add mon_data 51d07512e645 x86/intel_rdt: Prepare for RDT monitor data support 41b1dbc8e6d1 x86/intel_rdt/cqm: Add cpus file support 6f2b9b502232 x86/intel_rdt: Prepare to add RDT monitor cpus file support 1cf7f59b18bb x86/intel_rdt/cqm: Add tasks file support b84af6f5654d x86/intel_rdt: Change closid type from int to u32 0ee69d488d44 x86/intel_rdt/cqm: Add mkdir support for RDT monitoring 58da4f0768cf x86/intel_rdt: Prepare for RDT monitoring mkdir support ebc3f80d3cdd x86/intel_rdt/cqm: Add info files for RDT monitoring be500fe614a7 x86/intel_rdt: Simplify info and base file lists 0a60b55c6fdd x86/intel_rdt/cqm: Add RMID (Resource monitoring ID) management 14ddd52ae741 x86/intel_rdt/cqm: Add RDT monitoring initialization 0d2a5b765e74 x86/intel_rdt: Make rdt_resources_all more readable 5ecd779f63d9 x86/intel_rdt: Cleanup namespace to support RDT monitoring 47715abe4ae3 x86/intel_rdt: Mark rdt_root and closid_alloc as static 72c19e0f78e1 x86/intel_rdt: Change file names to accommodate RDT monitor code 1d38ddcfa2b0 x86/intel_rdt: Introduce a common compile option for RDT 7dd744520602 x86/intel_rdt/cqm: Documentation for resctrl based RDT Monitoring 58d3bad357a9 x86/perf/cqm: Wipe out perf based cqm 8f921be6408b perf/x86/intel/cqm: Use cpuhp_setup_state_cpuslocked() 56b2f2883750 perf, bpf: Add BPF support to all perf_event types Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-12-21linux-yocto/4.12: CQM and kmemleak fixesBruce Ashfield
Integrating the following commits for kmemleak fixes and CQM backports: 58fe84d691a mm: kmemleak: treat vm_struct as alternative reference to vmalloc'ed objects 5babb9c8f695 mm: kmemleak: factor object reference updating out of scan_block() 8c22ef5ee138 mm: kmemleak: slightly reduce the size of some structures on 64-bit architectures 7ea6b560ef4c netfilter: conntrack: do not enable connection tracking unless needed 4fdf0a5a0863 netfilter: nf_ct_dccp/sctp: fix memory leak after netns cleanup 85385ffd1e9b netfilter: move table iteration out of netns exit paths c95b3f8e1cbc netfilter: conntrack: add nf_ct_iterate_destroy 753c83b98a1e netfilter: conntrack: don't call iter for non-confirmed conntracks bcf21cba7fd5 netfilter: conntrack: rename nf_ct_iterate_cleanup f5c3a4c19075 perf/x86/intel/uncore: Fix missing marker for skx_uncore_cha_extra_regs c44ebea2f116 perf/x86/intel/uncore: Fix SKX CHA event extra regs 1d70f7feb408 perf/x86/intel/uncore: Remove invalid Skylake server CHA filter field eb3059e9e0ea perf/x86/intel/uncore: Fix Skylake server CHA LLC_LOOKUP event umask 3514c02c7bff perf/x86/intel/uncore: Fix Skylake server PCU PMU event format 804530f02515 perf/x86/intel/uncore: Fix Skylake UPI PMU event masks Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-21linux-yocto/4.12: common-pc*: enable X2APIC by defaultBruce Ashfield
Enabling CONFIG_X86_X2APIC=y by default for common-pc* (and hence qemux86*) to work around interrupt delivery issues when running on some host kernels. There's little overhead with this, and no impact to non x2apic platforms, so we enable it for all builds. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-21linux-yocto/4.12: update to v.4.12.18Bruce Ashfield
Integrating the -stable backports from Paul Gortmaker, which comprise the following commits: 33070a47be56 Linux 4.12.18 7441b94462dd sctp: use right member as the param of list_for_each_entry 393004dcde90 packet: fix crash in fanout_demux_rollover() 0a9012474dc5 coda: fix 'kernel memory exposure attempt' in fsync b5cc211a6240 x86/cpu/amd: Derive L3 shared_cpu_map from cpu_llc_shared_mask 2567785ab75b mm/page_ext.c: check if page_ext is not prepared 40991abd5541 mm/page_alloc.c: broken deferred calculation 7fd5cc66154b ipmi: fix unsigned long underflow fa5ba256bc53 ocfs2: should wait dio before inode lock in ocfs2_setattr() 97181d7d56ab ocfs2: fix cluster hang after a node dies 3e60437f8fac mm/pagewalk.c: report holes in hugetlb ranges 2974b65a0852 rcu: Fix up pending cbs check in rcu_prepare_for_idle 3048be8b900f tpm-dev-common: Reject too short writes 60bf233eeed8 serial: 8250_fintek: Fix finding base_port with activated SuperIO 1539a3ace4ee serial: omap: Fix EFR write on RTS deassertion 7c601c15e06d ima: do not update security.ima if appraisal status is not INTEGRITY_PASS 42e3beae3ace net/sctp: Always set scope_id in sctp_inet6_skb_msgname 09fc4fe93e10 fealnx: Fix building error on MIPS 01c2c1581c94 sctp: do not peel off an assoc from one netns to another one 0a2e9fbdc391 vxlan: fix the issue that neigh proxy blocks all icmpv6 packets 1063c860aecd af_netlink: ensure that NLMSG_DONE never fails in dumps 045a67694539 vlan: fix a use-after-free in vlan_device_event() eb1321c9ad5e tcp: fix tcp_fastretrans_alert warning 55bfb1ef83e0 qmi_wwan: Add missing skb_reset_mac_header-call 315ea5f8348b net: qmi_wwan: fix divide by 0 on bad descriptors 554d1d375f1c bonding: discard lowest hash bit for 802.3ad layer3+4 6b6b2c804d4e l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6 30ec586cda8a netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed 62bd603f2677 net: systemport: Correct IPG length settings 70cd6d6bea88 tcp: do not mangle skb->cb[] in tcp_make_synack() 26ab537f2e5f net: vrf: correct FRA_L3MDEV encode type f2561863b0d6 tcp_nv: fix division by zero in tcpnv_acked() 5dfe41dc67fc staging: greybus: spilib: fix use-after-free after deregistration 2c7eb0674a3d staging: sm750fb: Fix parameter mistake in poke32 008bfaf7b155 HID: wacom: generic: Recognize WACOM_HID_WD_PEN as a type of pen collection 695db9d1697c HID: cp2112: add HIDRAW dependency b9edc34d9c29 x86/MCE/AMD: Always give panic severity for UC errors in kernel context 90e3029e582c selftests/x86/protection_keys: Fix syscall NR redefinition warnings 4ef762021938 USB: serial: garmin_gps: fix memory leak on probe errors f1423a77b98b USB: serial: garmin_gps: fix I/O after failed probe and remove 68a94c90dfc3 USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update 885e857a7c26 USB: serial: Change DbC debug device binding ID 3e7a792beda2 USB: serial: metro-usb: stop I/O after failed open da73445f1b69 usb: gadget: f_fs: Fix use-after-free in ffs_free_inst d3cc53bd3a61 USB: Add delay-init quirk for Corsair K70 LUX keyboards 402588b38460 USB: usbfs: compute urb->actual_length for isochronous 5a8714de40ac USB: early: Use new USB product ID and strings for DbC device 83f0fdf7ccc6 crypto: dh - Don't permit 'key' or 'g' size longer than 'p' b494fa860365 crypto: dh - Don't permit 'p' to be 0 4ffcf85d08b7 crypto: dh - Fix double free of ctx->p d20a9c0d1233 crypto: dh - fix memleak in setkey ad8b281c05c5 Bluetooth: btusb: fix QCA Rome suspend/resume 21fc98337c60 dmaengine: dmatest: warn user when dma test times out 72a0fc7e4f7d tcp: fix tcp_mtu_probe() vs highest_sack ca42624b53de ipv6: addrconf: increment ifp refcount before ipv6_del_addr() 751e5b20c03f tun/tap: sanitize TUNSETSNDBUF input eea9efba6bdc net_sched: avoid matching qdisc with zero handle e76cd730f32e sctp: reset owner sk for data chunks on out queues when migrating a sock 6027b882617c tun: allow positive return values on dev_get_valid_name() call 984a8b424c58 tap: reference to KVA of an unloaded module causes kernel panic 92adaa4247c1 tcp: refresh tcp_mstamp from timers callbacks 026ff0f99bbf tcp: refresh tp timestamp before tcp_mtu_probe() aa3fb0cbb88d ip6_gre: update dst pmtu if dev mtu has been updated by toobig in __gre6_xmit 88f0bf544d46 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err 7256c950ca70 ipip: only increase err_count for some certain type icmp in ipip_err 62e3502c1991 net/mlx5e: Properly deal with encap flows add/del under neigh update 84d26c8a74fc tap: double-free in error path in tap_open() 94946f4812fa net/unix: don't show information about sockets from other namespaces 43997314bb13 net: dsa: check master device before put d5c769c98986 tcp/dccp: fix other lockdep splats accessing ireq_opt 1d4c7c3266a4 tcp/dccp: fix lockdep splat in inet_csk_route_req() 462504bc99ac sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND fe91475c8310 ipv6: flowlabel: do not leave opt->tot_len with garbage 009a3e7461cd soreuseport: fix initialization race 16e36e55f822 net: bridge: fix returning of vlan range op errors 3d32d75474d1 geneve: Fix function matching VNI and tunnel ID on big-endian 04e37f3a5c02 packet: avoid panic in packet_getsockopt() 3895ca099a69 tcp/dccp: fix ireq->opt races eda355607691 sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect 785b144296af netlink: fix netlink_ack() extack race 01af773e7a6b tun: call dev_get_valid_name() before register_netdevice() 1b522844eabe l2tp: check ps->sock before running pppol2tp_session_ioctl() ae90bb6362cd net: call cgroup_sk_alloc() earlier in sk_clone_lock() 1ec7babcf934 netlink: do not set cb_running if dump's start() errs 7fa820a09305 gso: fix payload length when gso_size is zero 463a7737df22 ppp: fix race in ppp device destruction 57b61ea36589 xfs: move two more RT specific functions into CONFIG_XFS_RT b5bea8ab390b tty: fix __tty_insert_flip_char regression 1d4d3f8e98b3 KVM: add X86_LOCAL_APIC dependency 737d1a26d83a pinctrl/amd: Fix build dependency on pinmux code 5f9a4e690c9f seccomp: make function __get_seccomp_filter static 407108cebb23 Fix tracing sample code warning. e53f80ca68ae security/keys: BIG_KEY requires CONFIG_CRYPTO b177131cdd05 udp: fix bcast packet reception 51165c2e0923 Linux 4.12.17 e37973f85463 media: dib0700: fix invalid dvb_detach argument 2be5d96a5441 media: imon: Fix null-ptr-deref in imon_probe 6cc6ecdb2ad9 Input: ims-psu - check if CDC union descriptor is sane dcc13ac27971 net: cdc_ether: fix divide by 0 on bad descriptors 6a98f24f0530 net: usb: asix: fill null-ptr-deref in asix_suspend 1da204e5439f usb: usbtest: fix NULL pointer dereference 39795ceb702b x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context cf6308a136f2 x86/smpboot: Make optimization of delay calibration work correctly 5cee51d999ed x86/debug: Handle warnings before the notifier chain, to fix KGDB crash 7faef4f041ed can: c_can: don't indicate triple sampling support for D_CAN 2efab93ab541 can: ifi: Fix transmitter delay calculation 9a9a3a778c22 can: peak: Add support for new PCIe/M2 CAN FD interfaces befd4aa29428 can: sun4i: handle overrun in RX FIFO ce274815fdac drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue 327b1f353263 rbd: use GFP_NOIO for parent stat and data requests 81a57d23e6f9 Input: elan_i2c - add ELAN060C to the ACPI table 8b43ca400436 MIPS: AR7: Ensure that serial ports are properly set up fd11bdb71a3a MIPS: AR7: Defer registration of GPIO 361b86eaf6ec MIPS: BMIPS: Fix missing cbr address 1f5ee962f2cd MIPS: Fix CM region target definitions 95eca04aa013 ALSA: seq: Fix OSS sysex delivery in OSS emulation a77a957d8dd4 ALSA: hda - fix headset mic problem for Dell machines with alc274 5e838d3a8e07 ALSA: usb-audio: support new Amanero Combo384 firmware version af199c8af86e ALSA: timer: Limit max instances per timer 7f740a514450 ARM: 8720/1: ensure dump_instr() checks addr_limit 378309492920 ACPI / scan: Enable GPEs before scanning the namespace 3d41affb49ba ACPICA: Make it possible to enable runtime GPEs earlier 73b2b51c57bc ACPICA: Dispatch active GPEs at init time b8a8b7486b60 KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2] 1dd87968f2e3 crypto: x86/sha256-mb - fix panic due to unaligned access ad3194d5cdd7 crypto: x86/sha1-mb - fix panic due to unaligned access 176121ac7fe1 crypto: ccm - preserve the IV buffer 565a57ec4f8d workqueue: Fix NULL pointer dereference 86d04817638d x86/mcelog: Get rid of RCU remnants 61f8603bcb05 perf/cgroup: Fix perf cgroup hierarchy support c39d83f28cf5 MIPS: microMIPS: Fix incorrect mask in insn_table_MM ff06d106db71 MIPS: smp-cmp: Use right include for task_struct 6da5b0e13e3e drm/i915/edp: read edp display control registers unconditionally 89e68088def8 drm/i915: Do not rely on wm preservation for ILK watermarks 052130e6dd1c mm, swap: fix race between swap count continuation operations 92ede622224e ocfs2: fstrim: Fix start offset of first cluster group during fstrim d4e8f4c82ec4 userfaultfd: hugetlbfs: prevent UFFDIO_COPY to fill beyond the end of i_size bf69e4b41953 drm/amdgpu: allow harvesting check for Polaris VCE aa09acb11a5b drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting 707ba2820623 ARM: 8715/1: add a private asm/unaligned.h 4fa5fe6ea340 ARM: dts: mvebu: pl310-cache disable double-linefill a01a5c2e6e9e arm/arm64: kvm: Disable branch profiling in HYP code 3441fa885cf3 arm/arm64: KVM: set right LR register value for 32 bit guest when inject abort a650f10a6423 KVM: arm64: its: Fix missing dynamic allocation check in scan_its_table 24d22fb868e3 arm64: ensure __dump_instr() checks addr_limit cac0dcc9179e ASoC: adau17x1: Workaround for noise bug in ADC 7e34e27aaf91 KEYS: fix out-of-bounds read during ASN.1 parsing 53ec125b27a1 KEYS: trusted: fix writing past end of buffer in trusted_read() 9b453e30fc82 cifs: check MaxPathNameComponentLength != 0 before using it 69828d917713 ALSA: seq: Fix nested rwsem annotation for lockdep splat 11f1d2059857 ALSA: timer: Add missing mutex lock for compat ioctls 86306c8bf739 powerpc/xive: Fix the size of the cpumask used in xive_find_target_in_mask() 7d5b350c311e regulator: fan53555: fix I2C device ids bba7a802ffa0 ipsec: Fix aborted xfrm policy dump crash 3f17c12b2ef6 cfg80211: fix connect/disconnect edge cases 036cb11e2b93 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages 25a5d333b556 can: kvaser_usb: Correct return value in printout 0dea0f030394 can: sun4i: fix loopback mode b26722135e12 drm/i915/perf: fix perf enable/disable ioctls with 32bits userspace 748e46331dc7 drm/amd/powerplay: fix uninitialized variable 859bc7ad2aa9 x86/cpu/AMD: Apply the Erratum 688 fix when the BIOS doesn't 1370811ed5b7 scsi: aacraid: Fix controller initialization failure 626a5aae973e scsi: zfcp: fix erp_action use-before-initialize in REC action trace 250835c62a90 assoc_array: Fix a buggy node-splitting case fea99b11049a SMB3: Validate negotiate request must always be signed d030ae8043b8 Fix encryption labels and lengths for SMB3.1.1 158c28974465 Input: gtco - fix potential out-of-bound access a603b795cb7e Input: elan_i2c - add ELAN0611 to the ACPI table 9bb1ce736e36 CIFS: Fix NULL pointer deref on SMB2_tcon() failure fbe5c09ee805 xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap() 950c2786017a fuse: fix READDIRPLUS skipping an entry 1be2e5e41f0e spi: armada-3700: Fix failing commands with quad-SPI 733d72531cc5 spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path cffec62ffee5 spi: a3700: Return correct value on timeout detection be9198ea33e1 spi: uapi: spidev: add missing ioctl header 9b5c3ee4ed3f KVM: PPC: Book3S: Protect kvmppc_gpa_to_ua() with SRCU 9574b6e81e45 KVM: PPC: Book3S HV: POWER9 more doorbell fixes bceb8e9d95be KVM: PPC: Book3S HV: Use msgsync with hypervisor doorbells on POWER9 229642d22e3a KVM: PPC: Fix oops when checking KVM_CAP_PPC_HTM 32e77b72733b ceph: unlock dangling spinlock in try_flush_caps() f4180593b1e9 ALSA: hda - fix headset mic problem for Dell machines with alc236 33477d1e5e6b ALSA: hda/realtek - Add support for ALC236/ALC3204 0230f9ed329f workqueue: replace pool->manager_arb mutex with a flag 5ec0d1c9d5a9 xfs: trim writepage mapping to within eof fcc029896ba9 xfs: cancel dirty pages on invalidation da45acc2e9cd xfs: handle error if xfs_btree_get_bufs fails 7d57f66d6f17 xfs: reinit btree pointer on attr tree inactivation walk 731ead3be639 xfs: don't change inode mode if ACL update fails 173d49a9a531 xfs: move more RT specific code under CONFIG_XFS_RT ba899492a1d5 xfs: handle racy AIO in xfs_reflink_end_cow 72ac4f1186a6 xfs: always swap the cow forks when swapping extents 204bdfa1f67c xfs: perag initialization should only touch m_ag_max_usable for AG 0 7b74f08372bd xfs: update i_size after unwritten conversion in dio completion a387eb05ff73 xfs: report zeroed or not correctly in xfs_zero_range() 7df2a96d20a4 fs/xfs: Use %pS printk format for direct addresses 4c71c06ac80f xfs: evict CoW fork extents when performing finsert/fcollapse f0f53f176d94 xfs: don't unconditionally clear the reflink flag on zero-block files 032e53c378a8 iomap_dio_rw: Allocate AIO completion queue before submitting dio bd603f7110b9 pkcs7: Prevent NULL pointer dereference, since sinfo is not always set. 362a37a0cf59 KEYS: don't let add_key() update an uninstantiated key e4968379c1b6 FS-Cache: fix dereference of NULL user_key_payload 047fe074b659 KEYS: Fix race between updating and finding a negative key 8ea691e39413 ecryptfs: fix dereference of NULL user_key_payload bfd7bc34be16 fscrypt: fix dereference of NULL user_key_payload 83f4c52d9fd7 lib/digsig: fix dereference of NULL user_key_payload e966d2d4f6a1 x86/microcode/intel: Disable late loading on model 79 d647900b826d rtlwifi: rtl8821ae: Fix connection lost problem 3f4f2f812312 clockevents/drivers/cs5535: Improve resilience to spurious interrupts 6bd3022f41a1 bus: mbus: fix window size calculation for 4GB windows c7a86caa19f2 brcmsmac: make some local variables 'static const' to reduce stack size 4df70a6e8969 brcmfmac: Add check for short event packets f6f7db182f44 i2c: piix4: Fix SMBus port selection for AMD Family 17h chips dfc7eebd0b5d ALSA: hda: Abort capability probe at invalid register read a7252ee01e59 ALSA: hda: Remove superfluous '-' added by printk conversion 514d11ccc861 ALSA: seq: Enable 'use' locking in all configurations a4476518e1e7 tracing/samples: Fix creation and deletion of simple_thread_fn creation ad84c20a9f47 media: dvb: i2c transfers over usb cannot be done from stack 11fbb0237319 media: cec: Respond to unregistered initiators, when applicable 43ac45e69b11 media: s5p-cec: add NACK detection support 686020330a68 drm/nouveau/mmu: flush tlbs before deleting page tables 90905608e49e drm/nouveau/bsp/g92: disable by default a276b1329f6e drm/nouveau/kms/nv50: fix oops during DP IRQ handling on non-MST boards 75c7d377d125 drm/i915: Use bdw_ddi_translations_fdi for Broadwell a4e778fda246 mmc: sdhci-pci: Fix default d3_retune for Intel host controllers c51c64badbdf KEYS: encrypted: fix dereference of NULL user_key_payload 8d5f0ae655f9 can: flexcan: fix p1010 state transition issue 32a5167fcdae can: flexcan: fix i.MX28 state transition issue 5babb6c595a6 can: flexcan: fix i.MX6 state transition issue 9319913df979 can: flexcan: implement error passive state quirk 1c93f600ac19 can: flexcan: rename legacy error state quirk 25cb31c3f806 can: flexcan: fix state transition regression f433519c4cba can: af_can: can_pernet_init(): add missing error handling for kzalloc returning NULL 947a57f938f3 can: esd_usb2: Fix can_dlc value for received RTR, frames 792c8810f196 usb: xhci: Handle error condition in xhci_stop_device() c83a48144395 xhci: Cleanup current_cmd in xhci_cleanup_command_queue() 666fd52c080b xhci: Identify USB 3.1 capable hosts by their port protocol capability 523dad046e0f usb: musb: Check for host-mode using is_host_active() on reset interrupt 5e277dcadf45 usb: musb: musb_cppi41: Configure the number of channels for DA8xx 1ddbc42b569c usb: musb: musb_cppi41: Fix cppi41_set_dma_mode() for DA8xx b4ae14cc4f93 usb: musb: musb_cppi41: Fix the address of teardown and autoreq registers dbb13f2fcbc9 USB: musb: fix late external abort on suspend cff06a4ae7d5 USB: musb: fix session-bit runtime-PM quirk 7545aa66403b usb: musb: sunxi: Explicitly release USB PHY on exit 8447db4b2e33 iio: dummy: events: Add missing break 9d8a108edff7 parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels 58bacefc0b50 s390/cputime: fix guest/irq/softirq times after CPU hotplug 7543b1a05d0c nbd: don't set the device size until we're connected b7e699fcefbe can: gs_usb: fix busy loop if no more TX context is available 2053fee203fb ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital a069429516bc usb: hub: Allow reset retry for USB2 devices on connect bounce 79d5e5d8d2fe usb: quirks: add quirk for WORLDE MINI MIDI keyboard 4d493d5a62ea usb: cdc_acm: Add quirk for Elatec TWN3 d553fc8e775f USB: serial: metro-usb: add MS7820 device id 9872dc2ad066 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor() 4d75d952a2ac USB: devio: Revert "USB: devio: Don't corrupt user memory" b5264fc112b2 staging: bcm2835-audio: Fix memory corruption Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-21linux-yocto/4.12: bug fixes and feature backportsBruce Ashfield
Integrating the following changes to the 4.12 tree: 1b85adfc0b81 mtd: intel-spi: Add Intel Lewisburg PCH SPI super SKU PCI ID b373e336eb84 mtd: spi-nor: intel-spi: Add support for Intel Cedar Fork SPI serial flash c37662f04d7c mtd: spi-nor: intel-spi: Add support for Intel Lewisburg SPI serial flash a8a4ae37e8b7 mtd: spi-nor: intel-spi: Add support for Intel Denverton SPI serial flash controller aa830ab86985 net/bluetooth: make bluetooth socket can be created in net namespace 2e98dc285831 x86/debug: Handle warnings before the notifier chain, to fix KGDB crash These are all bug fixes, or mainline backports. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-21linux-yocto/4.12: ipv4 stable backport and config changesBruce Ashfield
Integrating the following ipv4 backport: ipv4: net namespace does not inherit network configurations patch from https://lkml.org/lkml/2014/7/29/119 Ipv4 net namespace requires a similar logic change as commit a79ca223e029 [ipv6: fix bad free of addrconf_init_net] introduces for newer kernels. Since a net namespace is independent to another. That is, there is no any relationship between the net namespaces. So a new net namespace should not inherit network configurations from another net namespace including the host. CC: Hong Zhiguo <honkiko@gmail.com> CC: David S. Miller <davem@davemloft.net> Signed-off-by: Zhu Yanjun <zyjzyj2000@gmail.com> Signed-off-by: yzhu1 <yanjun.zhu@windriver.com> Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> And the following configuration changes: 3574bb061c1b mti-malta32: enable CONFIG_HIGHMEM for qemumips to support up to 2GiB RAM f187df8fca31 features/i915/i915.cfg: compile i915 as a module 332b38cb83a2 common-pc*.scc: Add igb to common-pc drivers Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-21linux-yocto/4.12: bug fixes and VRF feature additionBruce Ashfield
Integrating two bug fixes (functionality regressions): 1d685baca196 iwlwifi: bump max FW API to 31 cb8ce8c4ad0f tty: fix __tty_insert_flip_char regression And the following configuration fragment: vrf: Add feature Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-21linux-yocto/4.12: update to v4.12.16Bruce Ashfield
Integrating the -stable updates from Paul Gortmaker that cover the following commits: 8500552cb6f7 Linux 4.12.16 3041c36e51aa vmbus: more host signalling avoidance 170ce449d952 vmbus: eliminate duplicate cached index 1843e4c61d03 vmbus: refactor hv_signal_on_read 3114e4beb799 vmbus: simplify hv_ringbuffer_read 47cd1be8a9b1 HID: hid-elecom: extend to fix descriptor for HUGE trackball 663b5513c683 mm: page_vma_mapped: ensure pmd is loaded with READ_ONCE outside of lock 8a0af0f30b6b perf pmu: Unbreak perf record for arm/arm64 with events with explicit PMU 20ce8834fc99 KVM: nVMX: update last_nonleaf_level when initializing nested EPT bf6a0ec7751f x86/alternatives: Fix alt_max_short macro to really be a max() 8566ad9542c8 x86/microcode: Do the family check first d369002c85c7 RAS/CEC: Use the right length for "cec_disable" 2f5df0825d43 USB: serial: console: fix use-after-free after failed setup 38d29750c751 USB: serial: console: fix use-after-free on disconnect 3312688774a5 USB: serial: qcserial: add Dell DW5818, DW5819 8ceb1ab5b8b6 USB: serial: option: add support for TP-Link LTE module 9a492331d4d8 USB: serial: cp210x: add support for ELV TFD500 05a76c3972a3 USB: serial: cp210x: fix partnum regression 36db7ee477f7 USB: serial: ftdi_sio: add id for Cypress WICED dev board f5f28aa1189d bio_copy_user_iov(): don't ignore ->iov_offset 2e23ac57b91b more bio_map_user_iov() leak fixes be96ea60abf4 fix unbalanced page refcounting in bio_map_user_iov 62272a78cd64 direct-io: Prevent NULL pointer access in submit_page_section da889b1de1e2 usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options 82bb04bf4ef3 usb: gadget: configfs: Fix memory leak of interface directory data 48f321f266d2 drm/i915: Use crtc_state_is_legacy_gamma in intel_color_check 300533678314 drm/i915/bios: parse DDI ports also for CHV for HDMI DDC pin and DP AUX channel 6e7077ce8b8f drm/i915: Read timings from the correct transcoder in intel_crtc_mode_get() a89c571ae8a8 drm/i915/edp: Get the Panel Power Off timestamp after panel is off 002894140f21 drm/atomic: Unref duplicated drm_atomic_state in drm_atomic_helper_resume() 7e9518d4926c ALSA: line6: Fix leftover URB at error-path during probe 44a4ce6662bd ALSA: line6: Fix missing initialization before error path 7f16c070632d ALSA: line6: Fix NULL dereference at podhd_disconnect() 317938e88d45 ALSA: caiaq: Fix stray URB at probe error path 39921169c481 ALSA: seq: Fix copy_from_user() call inside lock dc744c119f6d ALSA: seq: Fix use-after-free at creating a port 3da32e1a4a3a ALSA: usb-audio: Kill stray URB at exiting cbf3f880a31c fs/mpage.c: fix mpage_writepage() for pages with buffers 24bb3d33bf9c Revert "vmalloc: back off when the current task is killed" 076e98e18525 device property: Track owner device of device property 2404f2c63a8f iommu/amd: Finish TLB flush in amd_iommu_unmap() 2681ccd7a877 usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet 014b37ece737 KVM: nVMX: fix guest CR4 loading when emulating L2 to L1 exit c0f617345da5 KVM: MMU: always terminate page walks at level 1 810fa30a4ec6 crypto: shash - Fix zero-length shash ahash digest crash c55f32198aa4 crypto: skcipher - Fix crash on zero-length input 688d47df70db HID: usbhid: fix out-of-bounds bug fceb5f74236c NFS: Fix uninitialized rpc_wait_queue 3936965498e9 dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse 232ab7abddce dmaengine: edma: Align the memcpy acnt array size with the transfer a1b8e04e4478 mei: always use domain runtime pm callbacks. ff7884c2afbf MIPS: math-emu: Remove pr_err() calls from fpu_emu() c43a87667d3f USB: dummy-hcd: Fix deadlock caused by disconnect detection 111001ffa651 watchdog: Revert "iTCO_wdt: all versions count down twice" d6703459b5bf udp: perform source validation for mcast early demux 5a2bdca5336a nl80211: Define policy for packet pattern attributes fd4bee8c17d9 mmc: core: add driver strength selection when selecting hs400es 11a49827d263 nvme-pci: Use PCI bus address for data/queues in CMB bfd19d3e3511 drm/i915/bios: ignore HDMI on port A 8ab3d473cbfd drm/i915: always update ELD connector type after get modes ec338aac41a5 brcmfmac: setup passive scan if requested by user-space a2db156a40ef brcmfmac: add length check in brcmf_cfg80211_escan_handler() fda708d0e6c9 scsi: sd: Do not override max_sectors_kb sysfs setting 9d0c3a0c8ed3 scsi: sd: Implement blacklist option for WRITE SAME w/ UNMAP e57b8ad57afc scsi: remove various unused blist flags 86d40a1cfd5e iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD 0a1447d60118 kvm/x86: Avoid async PF preempting the kernel incorrectly 9dfcfa3ac381 KVM: PPC: Book3S: Fix server always zero from kvmppc_xive_get_xive() 4d93aae9b293 dm crypt: fix memory leak in crypt_ctr_cipher_old() 8ab4dc921826 dm crypt: reject sector_size feature if device length is not aligned to it da3c3bd6ad07 netlink: fix nla_put_{u8,u16,u32} for KASAN dbe7d8a9dba2 rocker: fix rocker_tlv_put_* functions for KASAN 1fa70078bcba HID: wacom: bits shifted too much for 9th and 10th buttons de1b19226d80 HID: wacom: Always increment hdev refcount within wacom_get_hdev_data 78fbbdd94b75 HID: wacom: generic: Clear ABS_MISC when tool leaves proximity 4c0d78da4868 HID: wacom: generic: Send MSC_SERIAL and ABS_MISC when leaving prox f4efe333405d HID: wacom: Correct coordinate system of touchring and pen twist 3dd5dae733f6 HID: wacom: Properly report negative values from Intuos Pro 2 Bluetooth 429ea46a9d3a HID: wacom: leds: Don't try to control the EKR's read-only LEDs ffb802b9d7f9 HID: i2c-hid: allocate hid buffers for real worst case 9a95f1edac92 HID: rmi: Make sure the HID device is opened on resume 16be0f8ec04d arm64: Ensure the instruction emulation is ready for userspace 8fe55ce33212 ftrace: Fix kmemleak in unregister_ftrace_graph 86f8a516079a auxdisplay: charlcd: properly restore atomic counter on error path 99ff327c8738 stm class: Fix a use-after-free d68b3c9e3511 vmbus: don't acquire the mutex in vmbus_hvsock_device_unregister() 07d4af70fd2e Drivers: hv: fcopy: restore correct transfer length c106e296904b cgroup: Reinit cgroup_taskset structure before cgroup_migrate_execute() returns 336cc70e7777 driver core: platform: Don't read past the end of "driver_override" buffer 4384e4fd5416 intel_th: pci: Add Lewisburg PCH support 6b8889bc67cf percpu: make this_cpu_generic_read() atomic w.r.t. interrupts 5524a161ced3 powerpc/tm: Fix illegal TM state in signal handler 11939f4de59b powerpc/64s: Use emergency stack for kernel TM Bad Thing program checks 19cae92eb3d3 powerpc/powernv: Increase memory block size to 1GB on radix 6834ed0682d8 ALSA: usx2y: Suppress kernel warning at page allocation failures c73650323e57 Revert "ALSA: echoaudio: purge contradictions between dimension matrix members and total number of members" 435ad40590e7 ALSA: compress: Remove unused variable d62ff966e300 lsm: fix smack_inode_removexattr and xattr_getsecurity memleak 8907604ceee1 lib/ratelimit.c: use deferred printk() version a646d2e16d5e userfaultfd: non-cooperative: fix fork use after free 7376b8c10bde mm: avoid marking swap cached page as lazyfree d912b7cf15a6 mm: fix RODATA_TEST failure "rodata_test: test data was not read only" 3a8584637eb7 mm, oom_reaper: skip mm structs with mmu notifiers a3a2270666cb ksm: fix unlocked iteration over vmas in cmp_and_merge_page() 0b833e6215f1 staging: vchiq_2835_arm: Fix NULL ptr dereference in free_pagelist 21163f7980af uwb: ensure that endpoint is interrupt 3474cb66fea2 uwb: properly check kthread_run return value 27a8bc07aaaa iio: adc: mcp320x: Fix oops on module unload 3f8385a599bb iio: adc: mcp320x: Fix readout of negative voltages 143b44819564 iio: ad7793: Fix the serial interface reset c15998910ffd iio: trigger: stm32-timer: fix a corner case to write preset e4445ff462ff iio: trigger: stm32-timer: preset shouldn't be buffered 620dfbd1d966 IIO: BME280: Updates to Humidity readings need ctrl_reg write! 3f78bc054bd0 iio: core: Return error for failed read_reg bb9ad7727c30 staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack. ef8f8aac9c40 iio: ad_sigma_delta: Implement a dedicated reset function 91cec30e5600 iio: adc: twl4030: Disable the vusb3v1 rugulator in the error handling path of 'twl4030_madc_probe()' 0694b17d52b5 iio: adc: twl4030: Fix an error handling path in 'twl4030_madc_probe()' 9598144dd7fe Revert "xhci: Limit USB2 port wake support for AMD Promontory hosts" d075a0375ff9 xhci: set missing SuperSpeedPlus Link Protocol bit in roothub descriptor 214dd70fd584 usb: host: xhci-plat: allow sysdev to inherit from ACPI f1741099affe xhci: fix wrong endpoint ESIT value shown in tracing ce2e382d152c xhci: fix finding correct bus_state structure for USB 3.1 hosts 49398e9c9987 USB: fix out-of-bounds in usb_set_configuration fbe76115049a usb: Increase quirk delay for USB devices 2d3ad4d1d46d USB: core: harden cdc_parse_cdc_header 58134902731a USB: uas: fix bug in handling of alternate settings 4fea0da59600 USB: devio: Don't corrupt user memory 14e7521b5253 USB: devio: Prevent integer overflow in proc_do_submiturb() 7b6d9826473c USB: dummy-hcd: Fix erroneous synchronization change 110b5cb4d9b4 USB: dummy-hcd: fix infinite-loop resubmission bug 86481bcda003 USB: dummy-hcd: fix connection failures (wrong speed) 4ffa59b1c5ef USB: cdc-wdm: ignore -EPIPE from GetEncapsulatedResponse 9faf2caf8cfa usb: pci-quirks.c: Corrected timeout values used in handshake d039e3d01004 ALSA: usb-audio: Check out-of-bounds access by corrupted buffer descriptor 7c4a2bdf47db usb: renesas_usbhs: fix usbhsf_fifo_clear() for RX direction 928b7190418b usb: renesas_usbhs: fix the BCLR setting condition for non-DCP pipe a6302dbe96dc usb-storage: fix bogus hardware error messages for ATA pass-thru devices 78b35c89cf5e usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives c2aafffef836 usb: gadget: udc: renesas_usb3: Fix return value of usb3_write_pipe() 3317d2d0ff4c usb: gadget: udc: renesas_usb3: fix Pn_RAMMAP.Pn_MPKT value 251a4b607db6 usb: gadget: udc: renesas_usb3: fix for no-data control transfer 3cb875dbac15 usb: gadget: udc: atmel: set vbus irqflags explicitly 21f8963948de USB: gadgetfs: fix copy_to_user while holding spinlock 57dddf4436e3 USB: gadgetfs: Fix crash caused by inadequate synchronization 13ac3ba437dd bpf: fix bpf_tail_call() x64 JIT 9377e85e3d96 net: rtnetlink: fix info leak in RTM_GETSTATS call 73229f01c713 socket, bpf: fix possible use after free 721915e62286 l2tp: fix l2tp_eth module loading ef4721707447 tipc: use only positive error codes in messages 9b2249636b6e IPv4: early demux can return an error code 857c4b1f1004 ip6_tunnel: update mtu properly for ARPHRD_ETHER tunnel device in tx path 5222b3c935d8 ip6_gre: ip6gre_tap device should keep dst 59d0df52c04c netlink: do not proceed if dump's start() errs cd53a041d929 net/mlx5e: IPoIB, Fix access to invalid memory address 6e2af86f894f net: Set sk_prot_creator when cloning sockets to the right proto fd767b3c9282 net: dsa: mv88e6xxx: lock mutex when freeing IRQs a9b7868d8603 packet: only test po->has_vnet_hdr once in packet_snd 49791a17d4f4 packet: in packet_do_bind, test fanout with bind_lock held c45234f432ed tun: bail out from tun_get_user() if the skb is empty f6a0ed8e5f3c l2tp: fix race condition in l2tp_tunnel_delete b2861a38475a vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit b1c7b474de2d net: qcom/emac: specify the correct size when mapping a DMA buffer 366fcb432b12 net_sched: always reset qdisc backlog in qdisc_reset() 95cee692dafa isdn/i4l: fetch the ppp_write buffer in one shot 2f707d184b55 net: change skb->mac_header when Generic XDP calls adjust_head 53097ad73f85 bpf: one perf event close won't free bpf program attached by another perf event f42a78ad68f6 packet: hold bind lock when rebinding to fanout hook 495589ad7efc net: ipv6: fix regression of no RTM_DELADDR sent after DAD failure f8fcd8e80c6b net: emac: Fix napi poll list corruption 942383d73c7e tcp: fastopen: fix on syn-data transmit failure b9156f4cbc05 8139too: revisit napi_complete_done() usage c7da54ebfc21 net/sched: cls_matchall: fix crash when used with classful qdisc d366a6d8fa78 ip6_tunnel: do not allow loading ip6_tunnel if ipv6 is disabled in cmdline 13b1a41fff28 net: phy: Fix mask value write on gmii2rgmii converter speed register 8786b0419353 ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header 4064c6617aca udpv6: Fix the checksum computation when HW checksum does not apply 8c1ca8be42a4 bpf/verifier: reject BPF_ALU64|BPF_END 8c8468276d86 tcp: update skb->skb_mstamp more carefully 6746b3e1e62f tcp: use tp->tcp_mstamp in output path 1708658272d8 sctp: potential read out of bounds in sctp_ulpevent_type_enabled() 4adf05c23f5d net: sched: fix use-after-free in tcf_action_destroy and tcf_del_walker 807813b1440a net_sched: gen_estimator: fix scaling error in bytes/packets samples 2280d8256b8f net: bonding: fix tlb_dynamic_lb default value 9ba28de2fb47 mlxsw: spectrum: Prevent mirred-related crash on removal d843223f43a8 net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs 1b7ddba95ec0 Linux 4.12.15 9d16c1a513c7 video: fbdev: aty: do not leak uninitialized padding in clk to userspace bc94f3c025d3 KVM: VMX: use cmpxchg64 cea4b7ad6495 KVM: VMX: remove WARN_ON_ONCE in kvm_vcpu_trigger_posted_interrupt 4cebefacc13f KVM: VMX: do not change SN bit in vmx_update_pi_irte() 5a44051221c3 x86/mm: Fix fault error path using unsafe vma pointer d791f8cc082d PM / OPP: Call notifier without holding opp_table->lock 8fa3761f3899 btrfs: prevent to set invalid default subvolid 8b7eb4320d6e btrfs: propagate error to btrfs_cmp_data_prepare caller 66fff45ff37a btrfs: finish ordered extent cleaning if no progress is found d382eb1c62d7 btrfs: clear ordered flag on cleaning up ordered extents 61f18171d910 btrfs: fix NULL pointer dereference from free_reloc_roots() 3f619f467ff2 PCI: Fix race condition with driver_override 8420e1f0af47 md: separate request handling 12319e7484d2 md: fix a race condition for flush request handling e676df0b1216 futex: Fix pi_state->owner serialization b36416a27475 etnaviv: fix gem object list corruption 691ffb4f0df4 etnaviv: fix submit error path a84cfcb017eb mtd: nand: atmel: fix buffer overflow in atmel_pmecc_user 10abcdf16087 sched/sysctl: Check user input value of sysctl_sched_time_avg 5419de995f66 xfs: validate bdev support for DAX inode flag 1e278dd0b455 kvm: nVMX: Don't allow L2 to access the hardware CR8 25d709528376 KVM: VMX: Do not BUG() on out-of-bounds guest IRQ 1b5878780e93 kvm/x86: Handle async PF in RCU read-side critical sections acc5982be80a KVM: VMX: simplify and fix vmx_vcpu_pi_load 1c16ff161d31 KVM: VMX: avoid double list add with VT-d posted interrupts 0a43cc31678e KVM: VMX: extract __pi_post_block e7eb9c1ba767 arm64: fault: Route pte translation faults via do_translation_fault 7babcf8e63c1 arm64: mm: Use READ_ONCE when dereferencing pointer to pte table 38085d92217f arm64: Make sure SPsel is always set 94a2d9d24d33 seccomp: fix the usage of get/put_seccomp_filter() in seccomp_get_filter() 65185bc520d1 selftests/seccomp: Support glibc 2.26 siginfo_t.h fc5162ded95e extable: Enable RCU if it is not watching in kernel_text_address() e022bf93a924 extable: Consolidate *kernel_text_address() functions 6d755f70dff5 mmc: sdhci-pci: Fix voltage switch for some Intel host controllers c2125202b46c rcu: Allow for page faults in NMI handlers 0b4ff86ce0a2 iw_cxgb4: put ep reference in pass_accept_req() 70f0bf226a5e iw_cxgb4: remove the stid on listen create failure c39cd8c519dd iw_cxgb4: drop listen destroy replies if no ep found 48a056a511a4 bsg-lib: don't free job in bsg_prepare_job 0f4a3495da6a gfs2: Fix debugfs glocks dump 5284e4435c06 brd: fix overflow in __brd_direct_access da1b0075cf0c nl80211: check for the required netlink attributes presence f5231169840c vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets 98da77ff8eb5 SMB3: Don't ignore O_SYNC/O_DSYNC and O_DIRECT flags 60746c15130d SMB3: handle new statx fields f874292f3df8 SMB: Validate negotiate (to protect against downgrade) even if signing off 274d2957576d SMB3: Warn user if trying to sign connection that authenticated as guest 69543984ef44 Fix SMB3.1.1 guest authentication to Samba 848c26a04de0 Revert "IB/ipoib: Update broadcast object if PKey value was changed in index 0" df3f543b639e PM: core: Fix device_pm_check_callbacks() 65bee7492116 s390/mm: fix write access check in gup_huge_pmd() b0b70437296e s390/mm: make pmdp_invalidate() do invalidation only 3d8166e70730 s390/perf: fix bug when creating per-thread event 5887ff9cbff2 MIPS: Fix perf event init ef9d7b3442ab powerpc/pseries: Fix parent_dn reference leak in add_dt_node() 0970872dc16c KEYS: prevent KEYCTL_READ on negative key 7427f0ec5e24 KEYS: prevent creating a different user's keyrings 535c77f6cc0c KEYS: fix writing past end of user-supplied buffer in keyring_read() 65e577e5d218 security/keys: rewrite all of big_key crypto 6e4990d8d226 random: add get_random_{bytes,u32,u64,int,long,once}_wait family 20543a488913 random: add wait_for_random_bytes() API 37e408cf708d security/keys: properly zero out sensitive key material in big_key a25aa12be307 crypto: talitos - fix hashing e2a61a9c8de8 crypto: talitos - fix sha224 deea80b71ca1 crypto: talitos - Don't provide setkey for non hmac hashing algs. 42b449e1e74b crypto: drbg - fix freeing of resources 60b92951710b drm/radeon: disable hard reset in hibernate for APUs b9e88e67fa58 Revert "drm/i915/bxt: Disable device ready before shutdown command" 3f97a3dc28cc drm/i915/gvt: Fix incorrect PCI BARs reporting 5cde5ed0e3e9 scsi: aacraid: Fix 2T+ drives on SmartIOC-2000 31fe32c4c118 scsi: scsi_transport_iscsi: fix the issue that iscsi_if_rx doesn't parse nlmsg properly b051b4ae9e6a md/raid5: preserve STRIPE_ON_UNPLUG_LIST in break_stripe_batch_list 58b050319933 md/raid5: fix a race condition in stripe batch 805f300c67bd tracing: Remove RCU work arounds from stack tracer 682542006df3 tracing: Erase irqsoff trace with empty write 82306dc328b9 tracing: Fix trace_pipe behavior for instance traces dbc8d3db80a1 KVM: PPC: Book3S HV: Hold kvm->lock around call to kvmppc_update_lpcr ffd067e2cbb0 genirq/msi: Fix populating multiple interrupts aab5f168d7c6 genirq: Make sparse_irq_lock protect what it should protect dac8a5354b20 mac80211: flush hw_roc_start work before cancelling the ROC f6dc54e4edf3 mac80211_hwsim: Use proper TX power e991455baa63 mac80211: fix VLAN handling with TXQs 3722540c8cb3 scsi: scsi_transport_fc: fix NULL pointer dereference in fc_bsg_job_timeout 71a7d27fd864 fs/proc: Report eip/esp in /prod/PID/stat for coredumping 3941feee3478 cifs: release auth_key.response for reconnect. 86806e1ac9ab cifs: release cifs root_cred after exit_cifs 0de25f7acd91 cifs: check rsp for NULL before dereferencing in SMB2_open 8737eec0e579 sched/cpuset/pm: Fix cpuset vs. suspend-resume bugs a3f1d53c1c2b bcache: fix bch_hprint crash and improve output 0fa332456800 bcache: fix for gc and write-back race 6ec401ab79a1 bcache: fix sequential large write IO bypass 273676b9a143 bcache: Correct return value for sysfs attach errors d8cc6ff5d172 bcache: correct cache_dirty_target in __update_writeback_rate() 64a03d02ce82 bcache: do not subtract sectors_to_gc for bypassed IO bec155f8ae9b bcache: Fix leak of bdev reference 809094f51397 bcache: initialize dirty stripes in flash_dev_run() 6c2a71ced908 ALSA: seq: Cancel pending autoload work at unbinding device c29f8277f34c PM / devfreq: Fix memory leak when fail to register device 2872fe22451a media: adv7180: add missing adv7180cp, adv7180st i2c device IDs c84111b698c8 media: uvcvideo: Prevent heap overflow when accessing mapped controls 56575dd7a0ed media: v4l2-compat-ioctl32: Fix timespec conversion bb6ccacff00c s390/mm: fix race on mm->context.flush_mm 7b33ee224620 s390/mm: fix local TLB flushing vs. detach of an mm address space e2813581906a net/netfilter/nf_conntrack_core: Fix net_conntrack_lock() 77f420b4d792 PCI: pciehp: Report power fault only once until we clear it a58bbffad34d PCI: shpchp: Enable bridge bus mastering if MSI is enabled 9caa334f7158 ARC: Re-enable MMU upon Machine Check exception fceed125b7a5 tracing: Apply trace_clock changes to instance max buffer e183b93ae81e tracing: Add barrier to trace_printk() buffer nesting modification b9b3fa21babe ftrace: Fix memleak when unregistering dynamic ops when tracing disabled 82e12dcbfd1f ftrace: Fix selftest goto location on error 5ab726174eae ftrace: Fix debug preempt config name in stack_tracer_{en,dis}able 59ce93476f82 mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE() ddaf72eb0d17 scsi: qla2xxx: Fix an integer overflow in sysfs code f74974648540 scsi: qla2xxx: Use fabric name for Get Port Speed command b4cb86cdb179 scsi: qla2xxx: Use BIT_6 to acquire FAWWPN from switch 432d773132a5 scsi: qla2xxx: Correction to vha->vref_count timeout 6fa7602be640 scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE d55c1d09656d scsi: sg: Re-fix off by one in sg_fill_request_table() 3992966852f4 scsi: sg: factor out sg_fill_request_table() c15de6f030a9 scsi: storvsc: fix memory leak on ring buffer busy 3c710fb3c2a0 scsi: megaraid_sas: Return pended IOCTLs with cmd_status MFI_STAT_WRONG_STATE in case adapter is dead 8323a8af45f4 scsi: megaraid_sas: Check valid aen class range to avoid kernel panic b06876d957af scsi: megaraid_sas: set minimum value of resetwaittime to be 1 secs a128d0520218 scsi: megaraid_sas: mismatch of allocated MFI frame size and length exposed in MFI MPT pass through command d3065824b5d8 scsi: aacraid: Fix command send race condition 9ef86a2c2f9c scsi: qedi: off by one in qedi_get_cmd_from_tid() 991a1a973948 scsi: zfcp: trace high part of "new" 64 bit SCSI LUN 7373c36cf075 scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response 2bfe5894d999 scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records c679798f4383 scsi: zfcp: fix missing trace records for early returns in TMF eh handlers d456a6a7eba5 scsi: zfcp: fix passing fsf_req to SCSI trace on TMF to correlate with HBA c3542a2687e4 scsi: zfcp: fix capping of unsuccessful GPN_FT SAN response trace records 159e38c80f1c scsi: zfcp: add handling for FCP_RESID_OVER to the fcp ingress path c6c3b0a8f550 scsi: zfcp: fix queuecommand for scsi_eh commands when DIX enabled c3df0e8d390b skd: Submit requests to firmware before triggering the doorbell 90b434ca7fd1 skd: Avoid that module unloading triggers a use-after-free d850e6fbdea2 md/bitmap: disable bitmap_resize for file-backed bitmaps. aee5be4e0cf6 md/bitmap: copy correct data for bitmap super ee6afcd47b63 block: directly insert blk-mq request from blk_insert_cloned_request() 4dfcf18b9669 block: Relax a check in blk_start_queue() dd7a87a9600e powerpc: Fix DAR reporting when alignment handler faults 4ccf03cf6796 powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs 57a7853a3297 powerpc/powernv/npu: Move tlb flush before launching ATSD fce49edeb7b8 cxl: Fix driver use count adcbc87965eb ext4: fix quota inconsistency during orphan cleanup for read-only mounts 6d8326041868 ext4: fix incorrect quotaoff if the quota feature is enabled 699ec491aa59 ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets b9aa3e877bea wcn36xx: Introduce mutual exclusion of fw configuration b51f1d0bed48 regulator: cpcap: Fix standby mode 961497c9322b crypto: AF_ALG - remove SGL terminator indicator when chaining e66082e0af79 crypto: caam/qi - properly set IV after {en,de}crypt be48e355e2b0 crypto: caam/qi - fix typo in authenc alg driver name c1b0aa5e489e crypto: scompress - don't sleep with preemption disabled bedc673ee431 crypto: ccp - Fix XTS-AES-128 support on v5 CCPs 32bb68256227 docs: disable KASLR when debugging kernel ebb451616d95 MIPS: math-emu: <MADDF|MSUBF>.D: Fix accuracy (64-bit case) 8a9e0b68b344 MIPS: math-emu: <MADDF|MSUBF>.S: Fix accuracy (32-bit case) f1045424c538 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Clean up "maddf_flags" enumeration db1ba5de2711 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of zero inputs b9891c4cf672 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix some cases of infinite inputs 12ab5ebcc3f3 MIPS: math-emu: <MADDF|MSUBF>.<D|S>: Fix NaN propagation b3a6ac0d63b6 MIPS: math-emu: MINA.<D|S>: Fix some cases of infinity and zero inputs 797910efa67c MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of both infinite inputs 32401438ab1c MIPS: math-emu: <MAXA|MINA>.<D|S>: Fix cases of input values with opposite signs b4095004e721 MIPS: math-emu: <MAX|MIN>.<D|S>: Fix cases of both inputs negative 47e062700023 MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix cases of both inputs zero 9db3b8a2ffed MIPS: math-emu: <MAX|MAXA|MIN|MINA>.<D|S>: Fix quiet NaN propagation c8b054b62131 Input: i8042 - add Gigabyte P57 to the keyboard reset table 39d29eb95f64 pinctrl/amd: save pin registers over suspend/resume b36d90f0b2fb pinctrl: samsung: Fix NULL pointer exception on external interrupts on S3C24xx b098a309db19 pinctrl: samsung: Fix invalid register offset used for Exynos5433 external interrupts a6a33ff37c4c tty: improve tty_insert_flip_char() slow path d584d1580fc4 tty: improve tty_insert_flip_char() fast path 361c23e37c1f drm/amdgpu: read reg in each iterator of psp_wait_for loop c29802eb2b14 Input: xpad - validate USB endpoint type during probe f56b7f2bf63e smp/hotplug: Handle removal correctly in cpuhp_store_callbacks() c4705a91ac8f srcu: Provide ordering for CPU not involved in grace period 7ac16054fc2b IB/mlx5: Fix cached MR allocation flow 1183d4d2624c IB/{qib, hfi1}: Avoid flow control testing for RDMA write operation 3e5ed45a45e0 IB/hfi1: Revert egress pkey check enforcement 1994169a2b63 <linux/uaccess.h>: Fix copy_in_user() declaration f8d5b811ae66 orangefs: Don't clear SGID when inheriting ACLs Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-10linux-yocto/4.12: iwlwifi calltrace fixes and configuration warning cleanupsBruce Ashfield
Merging the following upstream backports to fix a iwlwifi calltrace: 0b17e1b52f99 iwlwifi: mvm: support new flush API 89025056c0d1 iwlwifi: mvm: avoid variable shadowing d6dc077966e7 iwlwifi: mvm: add and use iwl_mvm_device_running() 5dfb593df8f0 iwlwifi: add wait for tx queue empty 0e8726bf748a iwlwifi: mvm: wait for the flushed queue only 8e2d37ae55a7 iwlwifi: mvm: flush per station for DQA mode Also merging the following configuration changes to cleanup kernel audit warnings: 9f1f122a7d87 features/dca/dca.cfg: fix CONFIG_IXGBE_DCA can not enble if build ixgbe in kernel d355f082c54d features/iommu/iommu.cfg: remove CONFIG_INTEL_IOMMU_DEFAULT_ON=n 9399ae045c72 features/tpm/tpm.cfg: set CONFIG_HW_RANDOM_TPM as module Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-03linux-yocto/4.12: ide:ide-cd: fix kernel panic resulting from missing ↵Bruce Ashfield
scsi_req_init Integrating a backport of upstream commit: ide:ide-cd: fix kernel panic resulting from missing scsi_req_init commit 79d73346ac05bc31 upstream Since we split the scsi_request out of struct request, while the standard prep_rq_fn builds 10 byte cmds, it missed to invoke scsi_req_init() to initialize certain fields of a scsi_request structure (.__cmd[], .cmd, .cmd_len and .sense_len but no other members of struct scsi_request). An example panic on virtual machines (qemu/virtualbox) to boot from IDE cdrom: ... [ 8.754381] Call Trace: [ 8.755419] blk_peek_request+0x182/0x2e0 [ 8.755863] blk_fetch_request+0x1c/0x40 [ 8.756148] ? ktime_get+0x40/0xa0 [ 8.756385] do_ide_request+0x37d/0x660 [ 8.756704] ? cfq_group_service_tree_add+0x98/0xc0 [ 8.757011] ? cfq_service_tree_add+0x1e5/0x2c0 [ 8.757313] ? ktime_get+0x40/0xa0 [ 8.757544] __blk_run_queue+0x3d/0x60 [ 8.757837] queue_unplugged+0x2f/0xc0 [ 8.758088] blk_flush_plug_list+0x1f4/0x240 [ 8.758362] blk_finish_plug+0x2c/0x40 ... [ 8.770906] RIP: ide_cdrom_prep_fn+0x63/0x180 RSP: ffff92aec018bae8 [ 8.772329] ---[ end trace 6408481e551a85c9 ]--- ... Fixes: 82ed4db499b8 ("block: split scsi_request out of struct request") Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> [bva: modified for 4.12 context] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-03linux-yocto/4.12: configuration fragment updatesBruce Ashfield
Integrating the following configuration updates: dcf1317b36d2 features/mmc/mmc-realtek: enable Realtek PCI-E card reader support 1a144ffe5f76 edac: split scc into enablement and patching (for treegen) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-03linux-yocto/4.12: stable backports and bug fixesBruce Ashfield
Integrating the following bugfixes to the 4.12 tree: 26c1863a7448 ALSA: hda: Fix regression of hdmi eld control created based on invalid pcm 2b020e00dd49 arm64: mm: select CONFIG_ARCH_PROC_KCORE_TEXT abcf00d7171c fs/proc: kcore: use kcore_list type to check for vmalloc/module address Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-03linux-yocto/4.12: update to v4.12.14Bruce Ashfield
Integrating the korg -stable releases with the following commit summary: fa394784e74b Linux 4.12.14 d0fa64e2a3e8 ipv6: Fix may be used uninitialized warning in rt6_check 7816eb3874a2 md/raid5: release/flush io in raid5_do_work() b57c1b424549 md/raid1/10: reset bio allocated from mempool c3f9d09e70a3 idr: remove WARN_ON_ONCE() when trying to replace negative ID a82e202cbb72 fuse: allow server to run in different pid_ns 7b777a6cc52a x86/switch_to/64: Rewrite FS/GS switching yet again to fix AMD CPUs 831621ada28a x86/fsgsbase/64: Report FSBASE and GSBASE correctly in core dumps 90ecd1c5bc55 x86/fsgsbase/64: Fully initialize FS and GS state in start_thread_common cb14d4cebdb2 f2fs: check hot_data for roll-forward recovery 96a069a6babb f2fs: let fill_super handle roll-forward errors 442df0425e95 sctp: fix missing wake ups in some situations aa02286a03c7 ipv6: fix typo in fib6_net_exit() 18c6d4c4d17a ipv6: fix memory leak with multiple tables during netns destruction 888b7a94104a ip6_gre: update mtu properly in ip6gre_err 88f6c6f254bf vhost_net: correctly check tx avail during rx busy polling fc33f146d9f1 gianfar: Fix Tx flow control deactivation a44bb1c4596a Revert "net: fix percpu memory leaks" 8fbf9f919597 Revert "net: use lib/percpu_counter API for fragmentation mem accounting" 79f08820eeb8 bridge: switchdev: Clear forward mark when transmitting packet 2f4232ba8001 mlxsw: spectrum: Forbid linking to devices that have uppers a9e548de4cf9 net: fec: Allow reception of frames bigger than 1522 bytes b8fcbae2fefa Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()" b88be44f595f net/mlx5e: Fix CQ moderation mode not set properly 8049c41db78d net/mlx5e: Fix inline header size for small packets 8db40bcf439f net/mlx5: E-Switch, Unload the representors in the correct order b0034cb5014e net/mlx5e: Properly resolve TC offloaded ipv6 vxlan tunnel source address 53c5525785bc net/mlx5e: Don't override user RSS upon set channels ba008489371d net/mlx5e: Fix dangling page pointer on DMA mapping error 7ae1eccbde90 net/mlx5: Fix arm SRQ command for ISSI version 0 0b6b3028c005 net/mlx5e: Fix DCB_CAP_ATTR_DCBX capability for DCBNL getcap. 9b919ad3f99f net/mlx5e: Check for qos capability in dcbnl_initialize 31034e443fbf net: dsa: bcm_sf2: Fix number of CFP entries for BCM7278 f9901adf536c kcm: do not attach PF_KCM sockets to avoid deadlock e7ebdeb47c8b packet: Don't write vnet header beyond end of buffer ef5a20f0cbae ipv6: do not set sk_destruct in IPV6_ADDRFORM sockopt 440ea29af6a5 ipv6: set dst.obsolete when a cached route has expired 24bd86e62739 cxgb4: Fix stack out-of-bounds read due to wrong size to t4_record_mbox() 59b304fdff15 net: mvpp2: fix the mac address used when using PPv2.2 38ca2d395e1c udp6: set rx_dst_cookie on rx_dst updates b4426cf20366 netvsc: fix deadlock betwen link status and removal 3f0204b0b7b5 net: systemport: Free DMA coherent descriptors on errors 71dd9ac555c5 net: bcmgenet: Be drop monitor friendly 7def678f47fc net: systemport: Be drop monitor friendly c86a65cf30ac tipc: Fix tipc_sk_reinit handling of -EAGAIN 8aafed19d523 qlge: avoid memcpy buffer overflow 6da138247b47 sctp: Avoid out-of-bounds reads from address storage 207ab5d5a250 fsl/man: Inherit parent device and of_node 4670d7961333 bpf: fix map value attribute for hash of maps 79d6457e8036 udp: on peeking bad csum, drop packets even if not at head 1999821fa500 macsec: add genl family module alias 517e43bd1eba ipv6: fix sparse warning on rt6i_node 640efece69a4 ipv6: add rcu grace period before freeing fib6_node 76d3e7ff2362 ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt() 5d7d2e03e0f0 Linux 4.12.13 9f7df0bca168 xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present da0f4931ec52 NFSv4: Fix up mirror allocation 3307d5f5099c NFS: Sync the correct byte range during synchronous writes 6f50e3a1b8c3 NFS: Fix 2 use after free issues in the I/O code 7714f302294d ARM: 8692/1: mm: abort uaccess retries upon fatal signal b9a489e1d4a3 ARM64: dts: marvell: armada-37xx: Fix GIC maintenance interrupt 8329b5e8c6cf Bluetooth: Properly check L2CAP config option output buffer length 99dc1296b47c rt2800: fix TX_PIN_CFG setting for non MT7620 chips 2bce0fe7d0cd KVM: SVM: Limit PFERR_NESTED_GUEST_PAGE error_code check to L1 guest 9d6412aa06ce ALSA: msnd: Optimize / harden DSP and MIDI loops 846073130799 mm/memory.c: fix mem_cgroup_oom_disable() call missing 46791eb9f13e mm/swapfile.c: fix swapon frontswap_map memory leak on error 637f25e5ba94 mm: kvfree the swap cluster info if the swap file is unsatisfactory 58989dc3af0d selftests/x86/fsgsbase: Test selectors 1, 2, and 3 9ed3dc1c0431 radix-tree: must check __radix_tree_preload() return value 0af760ab3882 rtlwifi: btcoexist: Fix breakage of ant_sel for rtl8723be 8004198bb025 btrfs: resume qgroup rescan on rw remount 9a5537a76b62 nvme-fabrics: generate spec-compliant UUID NQNs 02c54b35cad8 mtd: nand: qcom: fix config error for BCH f2339a072e47 mtd: nand: qcom: fix read failure without complete bootchain 71515c37777d mtd: nand: mxc: Fix mxc_v1 ooblayout c54a31845019 mtd: nand: hynix: add support for 20nm NAND chips 2b8b46b24217 mtd: nand: make Samsung SLC NAND usable again Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-03linux-yocto/4.12: configuration and feature updatesBruce Ashfield
Integrating features and new configurations for the 4.12 kernel. With this update, a CGL-ready kernel can be configured out of the box. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/4.12: bluetooth: CVE-2017-1000251Bruce Ashfield
Integrating the following commit: [ commit 16de0149674ed12d983b77a453852ac2e64584b4 Author: Ben Seri <ben@armis.com> Date: Sat Sep 9 23:15:59 2017 +0200 Bluetooth: Properly check L2CAP config option output buffer length Validate the output buffer length for L2CAP config requests and responses to avoid overflowing the stack buffer used for building the option blocks. Cc: stable@vger.kernel.org Signed-off-by: Ben Seri <ben@armis.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/4.12: integrate aufs4 core supportBruce Ashfield
The aufs4 now has a 4.12 port, so we can integrate it into the reference kernel and stay consistent with previous releases. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/4.12: update to v4.12.12Bruce Ashfield
Integrating the korg stable update comprising the following commits: 6ff98e8e5d24 Linux 4.12.12 ce4ef9346d9f rtlwifi: Fix fallback firmware loading 21da5e36f41e rtlwifi: Fix memory leak when firmware request fails 3ef5220bdba7 of/device: Prevent buffer overflow in of_device_modalias() aee0b37b710e scsi: sg: recheck MMAP_IO request length with lock held b0f24dc0e57b scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE 1054309aca02 cs5536: add support for IDE controller variant e5298cd80371 ahci: don't use MSI for devices with the silly Intel NVMe remapping scheme f21c4eea8bb4 workqueue: Fix flag collision daf316ac4a6c drm/nouveau: Fix error handling in nv50_disp_atomic_commit 75bc569a0d4b drm/nouveau/pci/msi: disable MSI on big-endian platforms by default e3b9fb20262f s390/mm: fix BUG_ON in crst_table_upgrade 2ce0e0495177 s390/mm: avoid empty zero pages for KVM guests to avoid postcopy hangs d859d5a434f1 MCB: add support for SC31 to mcb-lpc f7fb789880dd mwifiex: correct channel stat buffer overflows 0bfb078274ed dlm: avoid double-free on error path in dlm_device_{register,unregister} 985696916329 iwlwifi: pci: add new PCI ID for 7265D cbe865a2e67d Bluetooth: Add support of 13d3:3494 RTL8723BE device 7d20c5530a56 rtlwifi: rtl_pci_probe: Fix fail path of _rtl_pci_find_adapter a47814b210eb Input: trackpoint - assume 3 buttons when buttons detection fails d49ea1b6f98f ath10k: fix memory leak in rx ring buffer allocation 270f0aadd1d2 intel_th: pci: Add Cannon Lake PCH-LP support d2192374b951 intel_th: pci: Add Cannon Lake PCH-H support 055be595e016 fpga: altera-hps2fpga: fix multiple init of l3_remap_lock ba89dc8dce4e crypto: caam/qi - fix compilation with DEBUG enabled aa57cf57df95 crypto: caam/qi - fix compilation with CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y 693ef09dc616 binder: free memory on error bbe1a3b3d20d HID: wacom: Do not completely map WACOM_HID_WD_TOUCHRINGSTATUS usage af617519a8c2 driver core: bus: Fix a potential double free 6c6c3c6bd954 iio: adc: ti-ads1015: add adequate wait time to get correct conversion 00202ded930e iio: adc: ti-ads1015: don't return invalid value from buffer setup callbacks 303d31eb5adf iio: adc: ti-ads1015: avoid getting stale result after runtime resume 6c164a8ad918 iio: adc: ti-ads1015: enable conversion when CONFIG_PM is not set 6c5595e0815d iio: adc: ti-ads1015: fix scale information for ADS1115 1d7fadc5937f iio: adc: ti-ads1015: fix incorrect data rate setting update 70bfcf9e319e staging/rts5208: fix incorrect shift to extract upper nybble ed68c935f5ae USB: core: Avoid race of async_completed() w/ usbdev_release() ffdb5b9e299a ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES. 74ffccfed38f ANDROID: binder: add padding to binder_fd_array_object. 68596cc21060 USB: musb: fix external abort on suspend c927f42c8e38 usb:xhci:Fix regression when ATI chipsets detected 0e8e379786da usb: Add device quirk for Logitech HD Pro Webcam C920-C c8ff3d1a47a2 USB: serial: option: add support for D-Link DWM-157 C1 572bcfc7fbce usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard 13817987369a Linux 4.12.11 9c2144e80db8 epoll: fix race between ep_poll_callback(POLLFREE) and ep_free()/ep_remove() 38f5d65ad997 drm/nouveau/i2c/gf119-: add support for address-only transactions bdacc5fcf4f9 nvme: fix the definition of the doorbell buffer config support bit c6d2779d8f0d drm/ttm: Fix accounting error when fail to get pages for pool 6c5b60edd786 xfrm: policy: check policy direction value 6cc6f45db016 lib/mpi: kunmap after finishing accessing buffer a3deff1d3285 mmc: sdhci-xenon: add set_power callback d767ccb7c387 wl1251: add a missing spin_lock_init() 619d31a0d247 drm/vmwgfx: Fix F26 Wayland screen update issue 399081a50c48 dm mpath: do not lock up a CPU with requeuing activity 77ab9e7fb431 CIFS: remove endian related sparse warning 0627f7136685 CIFS: Fix maximum SMB2 header size f3e9dc4504b1 alpha: uapi: Add support for __SANE_USERSPACE_TYPES__ ae53897e22db cpuset: Fix incorrect memory_pressure control file mapping fd20ca80f807 cpumask: fix spurious cpumask_of_node() on non-NUMA multi-node configs 3d7aeba120fd ceph: fix readpage from fscache b3010084e111 mm, madvise: ensure poisoned pages are removed from per-cpu lists 8c46edd78de9 mm, uprobes: fix multiple free of ->uprobes_state.xol_area 726bd348ead3 crypto: algif_skcipher - only call put_page on referenced and used pages 44c6b4a96625 i2c: ismt: Return EMSGSIZE for block reads with bogus length 7a90bfae6345 i2c: ismt: Don't duplicate the receive length for block reads 6fb972d03751 crypto: chacha20 - fix handling of chunked input 6b31ae8707a7 Input: xpad - fix PowerA init quirk for some gamepad models 2ed56448f555 Input: synaptics - fix device info appearing different on reconnect 55a5a10ce349 irqchip: mips-gic: SYNC after enabling GIC region 691208979811 x86/io: Add "memory" clobber to insb/insw/insl/outsb/outsw/outsl 34ed350889dd arm64: mm: abort uaccess retries upon fatal signal Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-14linux-yocto/meta: configuration feature additionsBruce Ashfield
Introducing the following configuration features: d67d2221cc2d bpf: add bpf kernel config 3f9fb678aa31 sysrq: add sysrq kernel config 729eb982ffd8 kexec/kdump: Add config fragments e00e63ef3068 kdump: add config fragments Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-31linux-yocto/4.12: update to v4.12.10Bruce Ashfield
Updating to the korg -stable release with the following commit summary: 6371f030c4dc Linux 4.12.10 849e96758ab2 powerpc/mm: Ensure cpumask update is ordered 53220a20cec0 ACPI: EC: Fix regression related to wrong ECDT initialization order 6e80b88a7f7d ACPI: APD: Fix HID for Hisilicon Hip07/08 49fa8c02e4a6 ntb: transport shouldn't disable link due to bogus values in SPADs ab75f0274d34 ntb: ntb_test: ensure the link is up before trying to configure the mws 03e58884668e Clarify (and fix) MAX_LFS_FILESIZE macros 0b9a3f300f89 iommu: Fix wrong freeing of iommu_device->dev 75005bf89ad7 staging: rtl8188eu: add RNX-N150NUB support 91628e2afc86 iio: magnetometer: st_magn: remove ihl property for LSM303AGR e59c095c11af iio: magnetometer: st_magn: fix status register address for LSM303AGR fc7957b6cdd7 iio: hid-sensor-trigger: Fix the race with user space powering up sensors a1d7b7e7e116 iio: imu: adis16480: Fix acceleration scale factor for adis16480 bf9b9d3b382b ANDROID: binder: fix proc->tsk check. f6fc60d91549 binder: Use wake up hint for synchronous transactions. 7771e3f4b0b9 binder: use group leader instead of open thread 62ccb816aab8 Revert "android: binder: Sanity check at binder ioctl" b42c44ade798 Bluetooth: bnep: fix possible might sleep error in bnep_session b741896229c1 Bluetooth: cmtp: fix possible might sleep error in cmtp_session e792d2d48928 Bluetooth: hidp: fix possible might sleep error in hidp_session_thread 1eb33a1b89e1 netfilter: nfnetlink: Improve input length sanitization in nfnetlink_rcv 8b5041077024 netfilter: nat: fix src map lookup f5263887165a netfilter: expect: fix crash when putting uninited expectation 4909a7b79965 net: sunrpc: svcsock: fix NULL-pointer exception a8da876c1e45 x86/mm: Fix use-after-free of ldt_struct 2e11eedec6f0 timers: Fix excessive granularity of new timers after a nohz idle 2c0dc7f00e19 perf/core: Fix group {cpu,task} validation aa2da6c4d548 ftrace: Check for null ret_stack on profile function graph entry function 1b8ca8851c25 virtio_pci: fix cpu affinity support 78f2e29f27f1 ring-buffer: Have ring_buffer_alloc_read_page() return error on offline CPU 8d4f126c0791 nfsd: Limit end of page list when decoding NFSv4 WRITE ea5745a5117f cifs: return ENAMETOOLONG for overlong names in cifs_open()/cifs_lookup() 1bc1c4391b79 cifs: Fix df output for users with quota limits 3b278d7e8945 kbuild: linker script do not match C names unless LD_DEAD_CODE_DATA_ELIMINATION is configured 51f49383a924 RDMA/uverbs: Initialize cq_context appropriately 53a38dfbb5e4 tracing: Fix freeing of filter in create_filter() when set_str is false 983ba8148e18 tracing: Fix kmemleak in tracing_map_array_free() a23e782823d6 tracing: Missing error code in tracer_alloc_buffers() 3888c3aeb6bc tracing: Call clear_boot_tracer() at lateinit_sync 1344db83ee17 ACPI: device property: Fix node lookup in acpi_graph_get_child_prop_value() dbe5b2d70cfd Revert "drm/amdgpu: fix vblank_time when displays are off" 4ac9a5daaf82 drm/i915/gvt: Fix the kernel null pointer error bbb04b377f85 drm/i915/vbt: ignore extraneous child devices for a port d76df456a313 drm/atomic: If the atomic check fails, return its value first 247122f138c0 drm/atomic: Handle -EDEADLK with out-fences correctly d4ae641cc285 drm/sun4i: Implement drm_driver lastclose to restore fbdev console 08353913312a drm: Release driver tracking before making the object available again b96c15655125 drm: Fix framebuffer leak 865d89f80907 arm64: fpsimd: Prevent registers leaking across exec 1c229d7ad7b9 mm/memblock.c: reversed logic in memblock_discard() f5024bb32d4d fork: fix incorrect fput of ->exe_file causing use-after-free 4823f4630bfd mm/madvise.c: fix freeing of locked page with MADV_FREE c237efed8b35 i2c: designware: Fix system suspend 3a9495fd3719 dax: fix deadlock due to misaligned PMD faults 735a252fc5b8 mm, shmem: fix handling /sys/kernel/mm/transparent_hugepage/shmem_enabled b2719637b16e PM/hibernate: touch NMI watchdog when creating snapshot 8b366972d7d4 ARCv2: PAE40: set MSB even if !CONFIG_ARC_HAS_PAE40 but PAE exists in SoC fcedf2f28570 ARCv2: PAE40: Explicitly set MSB counterpart of SLC region ops addresses 763ad31728e8 ARCv2: SLC: Make sure busy bit is set properly for region ops 8537b1e0ff7f ALSA: firewire-motu: destroy stream data surely at failure of card initialization 59d000610dc3 ALSA: firewire: fix NULL pointer dereference when releasing uninitialized data of iso-resource 2f45c61ba400 ALSA: hda - Add stereo mic quirk for Lenovo G50-70 (17aa:3978) ba6b08b62f0c ALSA: core: Fix unexpected error at replacing user TLV 1157dcda136a ALSA: usb-audio: Add delay quirk for H650e/Jabra 550a USB headsets 2f76f62aef90 KVM: x86: block guest protection keys unless the host has them enabled 3c498d4bde88 KVM, pkeys: do not use PKRU value in vcpu->arch.guest_fpu.state d0e52c825f00 KVM: x86: simplify handling of PKRU 6dc06cd600d0 KVM: s390: sthyi: fix specification exception detection e516834ae81b KVM: s390: sthyi: fix sthyi inline assembly ddae9e6ec5d5 Input: ALPS - fix two-finger scroll breakage in right side on ALPS touchpad 8dcee8e81a0e Input: elan_i2c - add ELAN0602 ACPI ID to support Lenovo Yoga310 38c36f9d1fca Input: trackpoint - add new trackpoint firmware ID c9c682f3f029 bpf/verifier: fix min/max handling in BPF_SUB eb6cf01cd6b7 bpf: fix mixed signed/unsigned derived min/max value bounds 659ee9687a11 bpf, verifier: add additional patterns to evaluate_reg_imm_alu d8a4ae09809a net_sched: fix order of queue length updates in qdisc_replace() 09e1d36d0289 net: sched: fix NULL pointer dereference when action calls some targets f4e4a2969919 irda: do not leak initialized list.dev to userspace 754df4da61d1 net/mlx4_core: Enable 4K UAR if SRIOV module parameter is not enabled 2d093adfb109 tcp: when rearming RTO, if RTO time is in past then fire RTO ASAP 7bbc60d9c916 ipv6: repair fib6 tree in failure case 368129fe14f6 ipv6: reset fn->rr_ptr when replacing route c549de482f89 tipc: fix use-after-free 62b3580fc3f0 sctp: fully initialize the IPv6 address in sctp_v6_to_addr() dda844773c47 tun: handle register_netdevice() failures properly 3c3181e17b35 nfp: fix infinite loop on umapping cleanup 9c579acf6522 ipv4: better IP_MAX_MTU enforcement 12ee6d75d6a1 ptr_ring: use kmalloc_array() cb445bfc1041 openvswitch: fix skb_panic due to the incorrect actions attrlen c6fc7b9892a5 net: igmp: Use ingress interface rather than vrf device 921739a95d4f bpf: fix bpf_trace_printk on 32 bit archs 99f635d1e70d net_sched: remove warning from qdisc_hash_add cf665a603368 net_sched/sfq: update hierarchical backlog when drop packet 163db2c61aa1 ipv4: fix NULL dereference in free_fib_info_rcu() f1d055463980 dccp: defer ccid_hc_tx_delete() at dismantle time a8de69b93e86 dccp: purge write queue in dccp_destroy_sock() 94fd355614e3 af_key: do not use GFP_KERNEL in atomic contexts 729420142979 bonding: ratelimit failed speed/duplex update warning b39ae1c8bdc4 bonding: require speed/duplex only for 802.3ad, alb and tlb 16caf8dff7ee sparc64: remove unnecessary log message e0e7ae96b723 Linux 4.12.9 3f40666fff96 usb: qmi_wwan: add D-Link DWM-222 device ID e2322bcce288 usb: optimize acpi companion search for usb port devices 6632ae821b59 debug: Fix WARN_ON_ONCE() for modules c170b7930db3 pids: make task_tgid_nr_ns() safe e950adf8983f Sanitize 'move_pages()' permission checks 7cbc3a8aaaa3 kernel/watchdog: Prevent false positives with turbo modes ee7025fef78c genirq/ipi: Fixup checks against nr_cpu_ids 8eee5da54afe genirq: Restore trigger settings in irq_modify_status() 399193e8ef2d irqchip/atmel-aic: Fix unbalanced refcount in aic_common_rtc_irq_fixup() 2eceab663b9d irqchip/atmel-aic: Fix unbalanced of_node_put() in aic_common_irq_fixup() c4ab73ef2cfc x86/elf: Remove the unnecessary ADDR_NO_RANDOMIZE checks 932769e10de9 x86: Fix norandmaps/ADDR_NO_RANDOMIZE c588e0cb269d x86/asm/64: Clear AC on NMI entries 44e9d5afcec3 perf/x86: Fix RDPMC vs. mm_struct tracking 33f1d0c79b04 xen-blkfront: use a right index when checking requests bd876f33dbeb powerpc: Fix VSX enabling/flushing to also test MSR_FP and MSR_VEC a77b5b81ad59 blk-mq-pci: add a fallback when pci_irq_get_affinity returns NULL e88bdec3ff7c ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset c1cee6062ac9 xen: fix bio vec merging aab425db4279 mm: revert x86_64 and arm64 ELF_ET_DYN_BASE base changes 8ac8e1d2a254 mm/vmalloc.c: don't unconditonally use __GFP_HIGHMEM 6b2676ed32ba mm/mempolicy: fix use after free when calling get_mempolicy 8b53b7560a8b mm/cma_debug.c: fix stack corruption due to sprintf usage 76e8fe02bf50 mm: fix double mmap_sem unlock on MMF_UNSTABLE enforced SIGBUS 889a17078f25 slub: fix per memcg cache leak on css offline 4d45f00b927c mm: discard memblock data later c24138794d14 ALSA: usb-audio: add DSD support for new Amanero PID c482b084491b ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices b33fcbb01b3a ALSA: usb-audio: Apply sample rate quirk to Sennheiser headset 8f05296965d8 ALSA: seq: 2nd attempt at fixing race creating a queue 6a280cd12306 MD: not clear ->safemode for external metadata array 7987c4066cbb md: always clear ->safemode when md_check_recovery gets the mddev lock. febaf83252f2 md: fix test in md_write_start() 5f46f337bdeb Input: elan_i2c - Add antoher Lenovo ACPI ID for upcoming Lenovo NB 04d0645d62a5 Input: elan_i2c - add ELAN0608 to the ACPI table b5e042f90f1f drm/amdgpu: save list length when fence is signaled 2149506faff1 drm/i915: Perform an invalidate prior to executing golden renderstate aac1a12cc700 crypto: x86/sha1 - Fix reads beyond the number of blocks passed f1615538cd1c crypto: ixp4xx - Fix error handling path in 'aead_perform()' 0a76684da5c2 parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo dfaf892df105 audit: Fix use after free in audit_remove_watch_rule() a0fb6543b40f Linux 4.12.8 1d4efdd222c4 powerpc: Fix /proc/cpuinfo revision for POWER9 DD2 d40a54500008 MIPS: Octeon: Fix broken EDAC driver. bc60edb6aa3f Revert "MIPS: Don't unnecessarily include kmalloc.h into <asm/cache.h>." 0a5a16f6cefd MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression 888986477133 pinctrl: meson-gxl: Add missing GPIODV_18 pin entry d7b28b4cae66 pinctrl: meson-gxbb: Add missing GPIODV_18 pin entry 155407bbf9f2 pinctrl: samsung: Remove bogus irq_[un]mask from resource management 21d22dffc344 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20 338ac5dd59b9 pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11 be9f65893e3b pinctrl: intel: merrifield: Correct UART pin lists 5fa72b4b746a pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver c75a48eed01f pinctrl: cherryview: Add Setzer models to the Chromebook DMI quirk cc7f330bed71 pnfs/blocklayout: require 64-bit sector_t e8a1edad18fa iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits 0e1f0eaed6c2 xhci: Reset Renesas uPD72020x USB controller for 32-bit DMA issue ea9647cf87f5 PCI: Add pci_reset_function_locked() c71305e6854d PCI: Remove __pci_dev_reset() and pci_dev_reset() 31e71939a4dd PCI: Protect pci_error_handlers->reset_notify() usage with device_lock() b23ef7b8dd7e usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume 73e7a2dca9cc usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter 488f4d8048e2 usb: core: unlink urbs from the tail of the endpoint's urb_list 7ff799af2c21 USB: Check for dropped connection before switching to full speed c45923eb9413 usb: renesas_usbhs: Fix UGCTRL2 value for R-Car Gen3 f5324020bcef usb: gadget: udc: renesas_usb3: Fix usb_gadget_giveback_request() calling 7926348676f5 block: Make blk_mq_delay_kick_requeue_list() rerun the queue at a quiet time 67e1a98e3a74 firmware: avoid invalid fallback aborts by using killable wait b1b5c0b23a90 firmware: fix batched requests - send wake up on failure on direct lookups c2c32ed5e6bf firmware: fix batched requests - wake all waiters f0834df3d97e uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069 c208cb9a5596 staging: comedi: comedi_fops: do not call blocking ops when !TASK_RUNNING 20035abc9e08 iio: adc: Revert "axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications" c1164cc258bc iio: light: tsl2563: use correct event code 39e07a5c112c iio: pressure: st_pressure_core: disable multiread by default for LPS22HB 8886738d06fa iio: accel: bmc150: Always restore device to normal mode after suspend-resume 3fdd0854800e iio: accel: st_accel: add SPI-3wire support 5f26ebe1afdc iio: aspeed-adc: wait for initial sequence. f0ab97d1aa14 staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read 9ccd63a6fdbd USB: hcd: Mark secondary HCD as dead if the primary one died 792c00cb2377 usb: musb: fix tx fifo flush handling again ab51515ece30 USB: serial: pl2303: add new ATEN device id 492eb6125c83 USB: serial: cp210x: add support for Qivicon USB ZigBee dongle b576de1e12c9 USB: serial: option: add D-Link DWM-222 device ID 59f1322cc1e5 drm/i915: Fix out-of-bounds array access in bdw_load_gamma_lut 4eedc8a7f03b drm/etnaviv: Fix off-by-one error in reloc checking 8f0f15cc167d drm/bridge: tc358767: fix probe without attached output node 1cc5cd5b97b5 nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays 8d189f60407f mmc: mmc: correct the logic for setting HS400ES signal voltage 3329fe0e05f8 nand: fix wrong default oob layout for small pages using soft ecc 1f2f0f1a75bd i2c: designware: Some broken DSTDs use 1MiHz instead of 1MHz cfea0422a154 fuse: initialize the flock flag in fuse_file on allocation 59c74236092d target: Fix node_acl demo-mode + uncached dynamic shutdown regression 7b0d44e25fdb usb-storage: fix deadlock involving host lock and scsi_done 428048128bf0 iscsi-target: Fix iscsi_np reset hung task during parallel delete f838bd1752be iscsi-target: fix memory leak in iscsit_setup_text_cmd() a0e1953e0310 mtd: nand: Declare tBERS, tR and tPROG as u64 to avoid integer overflow 867c07788e97 mtd: nand: Fix timing setup for NANDs that do not support SET FEATURES a34d48d5ca47 mtd: nand: atmel: Fix DT backward compatibility in pmecc.c 0eda7e0bf238 pinctrl: armada-37xx: Fix number of pin in south bridge 8452494828f7 xfs: Fix leak of discard bio 0af6995672cb xtensa: don't limit csum_partial export by CONFIG_NET 094849d602a0 xtensa: mm/cache: add missing EXPORT_SYMBOLs 5e96389b3adc xtensa: fix cache aliasing handling code for WT cache 5c1d458de22b futex: Remove unnecessary warning from get_futex_key 5f064f8a0d4b mm: fix list corruptions on shmem shrinklist 10df347170c3 mm: ratelimit PFNs busy info message Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-31linux-yocto/4.12: silence qeumarma9 config warningsBruce Ashfield
When building the qemuarma9 BSP, we get the following warnings: ---------- CONFIG_VGA_CONSOLE ----------------- Config: CONFIG_VGA_CONSOLE From: tmp/work-shared/qemuarma9/kernel-source/.kernel-meta/configs/standard/arm-versatile-926ejs/bsp/qemuarma9/qemuarma9.cfg Requested value: # CONFIG_VGA_CONSOLE is not set Actual value: ---------- CONFIG_USB_ISP1760_HCD ----------------- Config: CONFIG_USB_ISP1760_HCD From: tmp/work-shared/qemuarma9/kernel-source/.kernel-meta/configs/standard/arm-versatile-926ejs/bsp/qemuarma9/qemuarma9.cfg Requested value: CONFIG_USB_ISP1760_HCD=y Actual value: Both of these options no longer need to be in the BSP fragments for qemuarma9, we fix them with these meta data changes: a2edeff915b9 qemuarma9: remove USB_ISP1760_HCD 5f76e8f64fa5 qemuarma9: drop VGA console disable Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-31linux-yocto/4.12: fix yaffs2 buildBruce Ashfield
Yaffs2 needs some tweaks to build against the 4.12 kernel, we import the following two commits: 084d8ae2f349 fs: yaffs2: includes the missing header file 595f7d1759d9 fs: yaffs2: replace CURRENT_TIME by other appropriate apis Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-23linux-yocto: introduce 4.12 recipesBruce Ashfield
The 4.12 kernel will be the default/reference for the fall 2017 release. These recipes represent the introduction of 4.12.7 + related kernel meta data. Existing functionality has been validated against this new kernel version, and older versions will be removed in separate commits. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>