Re: [OE-core] [PATCH][rocko] linux-yocto/4.12: update to v4.12.20

2018-02-18 Thread akuster808
Bruce,

Sorry, I just saw this one. it would not apply so I am hand applying it.
Arm64 and PPC hash still did not change.

I looked at
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.12/log/?h=standard/qemuarm64
and its still on 4.12.19 and so is PPC. Check tiny too. Looks like .20
was not propagated to those branches.

- armin


On 02/18/2018 06:38 PM, Bruce Ashfield wrote:
> 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 0xff00
>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 

Re: [OE-core] [PATCH 7/7] linux-yocto/4.12: update to v4.12.20

2018-02-18 Thread akuster808
Bruce,

Any reason why PPC and arm64 hashes did not get updated?

I pull this change in for Rocko-next for a test run and both of those
arches failed sanity test. Want me to bug it?

ERROR: linux-yocto-4.12.20+gitAUTOINC+19d815d5a3_4b7a5c1b4e-r0
do_kernel_version_sanity_check: Package Version
(4.12.20+gitAUTOINC+19d815d5a3_4b7a5c1b4e) does not match of kernel
being built (4.12.19). Please update the PV variable to match the kernel
source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe. ERROR:
linux-yocto-4.12.20+gitAUTOINC+19d815d5a3_4b7a5c1b4e-r0
do_kernel_version_sanity_check: Function failed:
do_kernel_version_sanity_check (log file is located at
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/qemuarm64-poky-linux/linux-yocto/4.12.20+gitAUTOINC+19d815d5a3_4b7a5c1b4e-r0/temp/log.do_kernel_version_sanity_check.23346)

ERROR: linux-yocto-4.12.20+gitAUTOINC+19d815d5a3_4b7a5c1b4e-r0
do_kernel_version_sanity_check: Package Version
(4.12.20+gitAUTOINC+19d815d5a3_4b7a5c1b4e) does not match of kernel
being built (4.12.19). Please update the PV variable to match the kernel
source or set KERNEL_VERSION_SANITY_SKIP="1" in your recipe.

ERROR: linux-yocto-4.12.20+gitAUTOINC+19d815d5a3_4b7a5c1b4e-r0
do_kernel_version_sanity_check: Function failed:
do_kernel_version_sanity_check (log file is located at
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/qemuppc-poky-linux/linux-yocto/4.12.20+gitAUTOINC+19d815d5a3_4b7a5c1b4e-r0/temp/log.do_kernel_version_sanity_check.40485)

- armin


On 02/18/2018 06:25 PM, Bruce Ashfield wrote:
> 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 0xff00
>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 

[OE-core] ✗ patchtest: failure for kernel-yocto: consolidated pull request

2018-02-18 Thread Patchwork
== Series Details ==

Series: kernel-yocto: consolidated pull request
Revision: 1
URL   : https://patchwork.openembedded.org/series/10993/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue LIC_FILES_CHKSUM is missing in newly added recipe 
[test_lic_files_chksum_presence] 
  Suggested fixSpecify the variable LIC_FILES_CHKSUM in make-mod-scripts



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines: 
https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH][rocko] linux-yocto/4.12: update to v4.12.20

2018-02-18 Thread Bruce 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 0xff00
   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 we

[OE-core] [PATCH 7/7] linux-yocto/4.12: update to v4.12.20

2018-02-18 Thread Bruce 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 0xff00
   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 we

[OE-core] [PATCH 6/7] linux-yocto/4.15: update to v4.15.3

2018-02-18 Thread Bruce Ashfield
Integrating the korg -stable updates that comprise the following
changes:

   e6e2d12fa46b Linux 4.15.3
   b78dc2478714 crypto: tcrypt - fix S/G table for test_aead_speed()
   65a4a2157f0b gpio: uniphier: fix mismatch between license text and 
MODULE_LICENSE
   222090655dbb media: tegra-cec: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   bc87735cb005 media: soc_camera: soc_scale_crop: add missing 
MODULE_DESCRIPTION/AUTHOR/LICENSE
   fe70ce28670e media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION
   25de2482a958 net: sched: fix use-after-free in tcf_block_put_ext
   41551c14bf0d net_sched: get rid of rcu_barrier() in tcf_block_put_ext()
   4c92abe86a20 soreuseport: fix mem leak in reuseport_add_sock()
   07055dd6c806 ipv6: Fix SO_REUSEPORT UDP socket with implicit sk_ipv6only
   ce6fa12a7ba5 cls_u32: add missing RCU annotation.
   a742a89695ce tcp_bbr: fix pacing_gain to always be unity when using lt_bw
   759f8b0b3ad8 rocker: fix possible null pointer dereference in 
rocker_router_fib_event_work
   d19a4d19ccab net: ipv6: send unsolicited NA after DAD
   b22b76fbd802 Revert "defer call to mem_cgroup_sk_alloc()"
   81259f3592f8 ipv6: change route cache aging logic
   513f3cc3d1d3 ipv6: addrconf: break critical section in addrconf_verify_rtnl()
   cb0fddba2081 vhost_net: stop device during reset owner
   f76c9a0fbf5b tcp: release sk_frag.page in tcp_disconnect
   b0acbef9edb2 r8169: fix RTL8168EP take too long to complete driver 
initialization.
   514377344c30 qmi_wwan: Add support for Quectel EP06
   da1761bde55f qlcnic: fix deadlock bug
   ca89dee1eb41 net: igmp: add a missing rcu locking section
   6555d5440ba2 ip6mr: fix stale iterator
   db22ec452bb4 Linux 4.15.2
   35314545f115 fpga: region: release of_parse_phandle nodes after use
   b796d30928fe serial: core: mark port as initialized after successful IRQ 
change
   bad75ea552a8 KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL
   6d45809fe88f KVM/VMX: Allow direct access to MSR_IA32_SPEC_CTRL
   3d6e862c967f KVM/VMX: Emulate MSR_IA32_ARCH_CAPABILITIES
   4659554aecb0 KVM/x86: Add IBPB support
   f13d17517fd0 KVM/x86: Update the reverse_cpuid list to include CPUID_7_EDX
   9e4d1de59c95 x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL
   d13d4d2a597a x86/pti: Mark constant arrays as __initconst
   28cf1d82995c x86/spectre: Simplify spectre_v2 command line parsing
   76e36defe096 x86/retpoline: Avoid retpolines for built-in __init functions
   9ec4cfcef13f x86/kvm: Update spectre-v1 mitigation
   b399b9864988 KVM: VMX: make MSR bitmaps per-VCPU
   6e337065e6de x86/paravirt: Remove 'noreplace-paravirt' cmdline option
   061c8e740e90 x86/speculation: Use Indirect Branch Prediction Barrier in 
context switch
   9a417b0fe093 x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on 
Intel
   7aa1a1703133 x86/spectre: Fix spelling mistake: "vunerable"-> "vulnerable"
   bdfaac0f1811 x86/spectre: Report get_user mitigation for spectre_v1
   d583ef2659da nl80211: Sanitize array index in parse_txq_params
   64dab840017d vfs, fdtable: Prevent bounds-check bypass via speculative 
execution
   fecca4925b89 x86/syscall: Sanitize syscall table de-references under 
speculation
   31d4cf78bb3d x86/get_user: Use pointer masking to limit speculation
   d193324bd64f x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec
   bd74e76bfd3d x86/usercopy: Replace open coded stac/clac with 
__uaccess_{begin, end}
   fa46638b0bbf x86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec
   7ec7f5580122 x86: Introduce barrier_nospec
   d9f24681fd02 x86: Implement array_index_mask_nospec
   8a1c71c817f7 array_index_nospec: Sanitize speculative array de-references
   a35f71001b40 Documentation: Document array_index_nospec
   6adfc96f74dc x86/asm: Move 'status' from thread_struct to thread_info
   6a35b18b3dca x86/entry/64: Push extra regs right away
   dd9708c3dbac x86/entry/64: Remove the SYSCALL64 fast path
   6ff25f602b37 x86/spectre: Check CONFIG_RETPOLINE in command line parser
   62c00e6122a6 x86/mm: Fix overlap of i386 CPU_ENTRY_AREA with FIX_BTMAP
   dd1256185482 objtool: Warn on stripped section symbol
   1e7c7191e892 objtool: Add support for alternatives at the end of a section
   0603b3626273 objtool: Improve retpoline alternative handling
   3dcc78148a15 KVM: VMX: introduce alloc_loaded_vmcs
   81e19f12d180 KVM: nVMX: Eliminate vmcs02 pool
   b053d9d2926b ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   793cc747e390 pinctrl: pxa: pxa2xx: add missing 
MODULE_DESCRIPTION/AUTHOR/LICENSE
   39e8aa5b30d6 iio: adc/accel: Fix up module licenses
   c7faead761c5 auxdisplay: img-ascii-lcd: add missing 
MODULE_DESCRIPTION/AUTHOR/LICENSE
   0f6e6bce69d9 x86/speculation: Simplify indirect_branch_prediction_barrier()
   058840da8002 x86/retpoline: Simplify vmexit_fill_RSB()
   24516e9a2e3f x86/cpufeatures: Clean up Spectre v2 related CPUID flags
   d815b3ac3a14 x86/cpu/bugs: Make retpoline module warning conditional
   b635216640

[OE-core] [PATCH 4/7] linux-yocto/4.14: add -rt and update to v4.4.18

2018-02-18 Thread Bruce Ashfield
Integrating the preempt-rt patch to v4.14 and also updating the -stable
version to 4.14.18 to pickup the following fixes:

   81d0cc85caab Linux 4.14.18
   8d1ed7d4e1ce fpga: region: release of_parse_phandle nodes after use
   a252f37c5f8b serial: core: mark port as initialized after successful IRQ 
change
   f6d90612c96c KVM/SVM: Allow direct access to MSR_IA32_SPEC_CTRL
   4a82531c96a2 KVM/VMX: Allow direct access to MSR_IA32_SPEC_CTRL
   0716f551d5a2 KVM/VMX: Emulate MSR_IA32_ARCH_CAPABILITIES
   d395d69de67e KVM/x86: Add IBPB support
   8f7c4d52a0e8 KVM/x86: Update the reverse_cpuid list to include CPUID_7_EDX
   4c8298c1fdd3 x86/speculation: Fix typo IBRS_ATT, which should be IBRS_ALL
   6dd1f6989a54 x86/pti: Mark constant arrays as __initconst
   ebaf2271a024 x86/spectre: Simplify spectre_v2 command line parsing
   838dbae0acd0 x86/retpoline: Avoid retpolines for built-in __init functions
   6f6eb84b14ac x86/kvm: Update spectre-v1 mitigation
   7f8da2c8a191 KVM: VMX: make MSR bitmaps per-VCPU
   ad368e5b2d56 x86/paravirt: Remove 'noreplace-paravirt' cmdline option
   7a3f12294da4 x86/speculation: Use Indirect Branch Prediction Barrier in 
context switch
   85543d7613c4 x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on 
Intel
   c962dfa4aca0 x86/spectre: Fix spelling mistake: "vunerable"-> "vulnerable"
   863b308dbb19 x86/spectre: Report get_user mitigation for spectre_v1
   c9daf8144642 nl80211: Sanitize array index in parse_txq_params
   98116c32d3b4 vfs, fdtable: Prevent bounds-check bypass via speculative 
execution
   003513404120 x86/syscall: Sanitize syscall table de-references under 
speculation
   edaf1538d3a5 x86/get_user: Use pointer masking to limit speculation
   5f40de41ccae x86/uaccess: Use __uaccess_begin_nospec() and uaccess_try_nospec
   2406eb9f4568 x86/usercopy: Replace open coded stac/clac with 
__uaccess_{begin, end}
   31c5b332189e x86: Introduce __uaccess_begin_nospec() and uaccess_try_nospec
   437ac7b6868d x86: Introduce barrier_nospec
   4820d42835b2 x86: Implement array_index_mask_nospec
   478742cf80b7 array_index_nospec: Sanitize speculative array de-references
   e72041f70c3c Documentation: Document array_index_nospec
   fb9f2d9ab83d x86/asm: Move 'status' from thread_struct to thread_info
   90522d30b223 x86/entry/64: Push extra regs right away
   8459ebcbd6ec x86/entry/64: Remove the SYSCALL64 fast path
   74ae346691dd x86/spectre: Check CONFIG_RETPOLINE in command line parser
   04e073072d14 x86/mm: Fix overlap of i386 CPU_ENTRY_AREA with FIX_BTMAP
   23a4ca4e749a objtool: Warn on stripped section symbol
   3e04e09855c5 objtool: Add support for alternatives at the end of a section
   a358df03279e objtool: Improve retpoline alternative handling
   92f4b68ed14c KVM: VMX: introduce alloc_loaded_vmcs
   2e9521197f08 KVM: nVMX: Eliminate vmcs02 pool
   76f06358ec40 ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
   bc484da3e18c pinctrl: pxa: pxa2xx: add missing 
MODULE_DESCRIPTION/AUTHOR/LICENSE
   ce094a80f019 iio: adc/accel: Fix up module licenses
   c8aa5cd906a5 auxdisplay: img-ascii-lcd: add missing 
MODULE_DESCRIPTION/AUTHOR/LICENSE
   9f8955f96bd5 x86/speculation: Simplify indirect_branch_prediction_barrier()
   52d78bce4965 x86/retpoline: Simplify vmexit_fill_RSB()
   7f3e0daa9e12 x86/cpufeatures: Clean up Spectre v2 related CPUID flags
   249b1f7a7f09 x86/cpu/bugs: Make retpoline module warning conditional
   91ff9a75f360 x86/bugs: Drop one "mitigation" from dmesg
   b955239cf4ea x86/nospec: Fix header guards names
   67eb59b8ecfb x86/alternative: Print unadorned pointers
   dbbbafce5380 x86/speculation: Add basic IBPB (Indirect Branch Prediction 
Barrier) support
   0fd222b19766 x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre 
v2 microcodes
   d9b47a41160c x86/pti: Do not enable PTI on CPUs which are not vulnerable to 
Meltdown
   a65710dc584c x86/msr: Add definitions for new speculation control MSRs
   15ee82be40b6 x86/cpufeatures: Add AMD feature bits for Speculation Control
   343c91242d09 x86/cpufeatures: Add Intel feature bits for Speculation Control
   76c4bd53969b x86/cpufeatures: Add CPUID_7_EDX CPUID leaf
   86b5b1eb18aa module/retpoline: Warn about missing retpoline in module
   c927726674c7 KVM: VMX: Make indirect call speculation safe
   76bee09efb89 KVM: x86: Make indirect calls in emulator speculation safe
   4ce354deed2c x86/retpoline: Remove the esp/rsp thunk
   d6eded6c9453 powerpc/64s: Allow control of RFI flush via debugfs
   517bdccc3af6 powerpc/64s: Wire up cpu_show_meltdown()
   16d3d10d29f7 scripts/faddr2line: fix CROSS_COMPILE unset error
   0146985addc3 Linux 4.14.17
   04178b1709b6 x86/efi: Clarify that reset attack mitigation needs appropriate 
userspace
   01ab9886ea78 Input: synaptics-rmi4 - do not delete interrupt memory too early
   fced3c99e726 Input: synaptics-rmi4 - unmask F03 interrupts when port is 
opened
   aad757b65717 test_firmware: fix missing unlock on error in 
config_num_requests_stor

[OE-core] [PATCH 5/7] linux-yocto/4.14: update to v4.14.19

2018-02-18 Thread Bruce Ashfield
Integrating the korg -stable release with the following change summary:

   1722fe372784 Linux 4.14.19
   d2aeb4e2bd8d Revert "x86/alternative: Print unadorned pointers"
   22f16a74c474 scsi: storvsc: missing error code in storvsc_probe()
   f18046f7a50a kernel/exit.c: export abort() to modules
   c5c91d830507 arch: define weak abort()
   3a570cfe785a crypto: tcrypt - fix S/G table for test_aead_speed()
   68a9f19264fd media: soc_camera: soc_scale_crop: add missing 
MODULE_DESCRIPTION/AUTHOR/LICENSE
   1bf81cff1bad media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION
   981f20bc7595 soreuseport: fix mem leak in reuseport_add_sock()
   456add4c9bd3 ipv6: Fix SO_REUSEPORT UDP socket with implicit sk_ipv6only
   c04818abad46 tcp_bbr: fix pacing_gain to always be unity when using lt_bw
   1da27118f419 rocker: fix possible null pointer dereference in 
rocker_router_fib_event_work
   07ca93e3176b net: ipv6: send unsolicited NA after DAD
   799a34d5b048 Revert "defer call to mem_cgroup_sk_alloc()"
   b9b70c876a7a vhost_net: stop device during reset owner
   6d35430fdaf4 tcp: release sk_frag.page in tcp_disconnect
   e8513f250d1b r8169: fix RTL8168EP take too long to complete driver 
initialization.
   a7c2cf702a40 qmi_wwan: Add support for Quectel EP06
   fcee7812ea05 qlcnic: fix deadlock bug
   166f27322f8c net: igmp: add a missing rcu locking section
   2726946dfcd2 ip6mr: fix stale iterator
   806d61d66900 kbuild: rpm-pkg: keep spec file until make mrproper
   abc5896b7785 .gitignore: move *.dtb and *.dtb.S patterns to the top-level 
.gitignore
   bafda5d37527 .gitignore: sort normal pattern rules alphabetically

Signed-off-by: Bruce Ashfield 
---
 meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb   |  6 +++---
 meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_4.14.bb  | 20 ++--
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb
index 841d5f03b8f3..d1f338f52ca9 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb
@@ -11,13 +11,13 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "b91765955a6403e4b68b9e0735b439b7fea5e1b7"
-SRCREV_meta ?= "245d701df6c3691a078a268eff54009959beb842"
+SRCREV_machine ?= "801d947020635762ac9af9ddf2edfaa1b2858414"
+SRCREV_meta ?= "b4468b54b2a7e7fbdf207ead7ca925bc24976d1b"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "4.14.18"
+LINUX_VERSION ?= "4.14.19"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb
index 3bfd0b6c93b1..62d6a34fb0fa 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb
@@ -4,13 +4,13 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "4.14.18"
+LINUX_VERSION ?= "4.14.19"
 
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "47cfdc0923bd6af61cea53e7bd6d9a23761efd32"
-SRCREV_meta ?= "245d701df6c3691a078a268eff54009959beb842"
+SRCREV_machine ?= "537602db26fe2d26c1959f1ecb43966770c10ff2"
+SRCREV_meta ?= "b4468b54b2a7e7fbdf207ead7ca925bc24976d1b"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.14.bb 
b/meta/recipes-kernel/linux/linux-yocto_4.14.bb
index 660807555975..070d08e01038 100644
--- a/meta/recipes-kernel/linux/linux-yocto_4.14.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_4.14.bb
@@ -11,20 +11,20 @@ KBRANCH_qemux86  ?= "v4.14/standard/base"
 KBRANCH_qemux86-64 ?= "v4.14/standard/base"
 KBRANCH_qemumips64 ?= "v4.14/standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "3144baf8ff07651b13bc2043266eac713aafb965"
-SRCREV_machine_qemuarm64 ?= "47cfdc0923bd6af61cea53e7bd6d9a23761efd32"
-SRCREV_machine_qemumips ?= "bbb7ba114946c2aa95d86ccbf543dede7f147470"
-SRCREV_machine_qemuppc ?= "47cfdc0923bd6af61cea53e7bd6d9a23761efd32"
-SRCREV_machine_qemux86 ?= "47cfdc0923bd6af61cea53e7bd6d9a23761efd32"
-SRCREV_machine_qemux86-64 ?= "47cfdc0923bd6af61cea53e7bd6d9a23761efd32"
-SRCREV_machine_qemumips64 ?= "74e50a115b86a392c610e73193b49dd029391cb4"
-SRCREV_machine ?= "47cfdc0923bd6af61cea53e7bd6d9a23761efd32"
-SRCREV_meta ?= "245d701df6c3691a078a268eff54009959beb842"
+SRCREV_machine_qemuarm ?= "773cb1d2d59644bf9574abed9803f8ec12bbabe1"
+SRCREV_machine_qemuarm64 ?= "537602db26fe2d26c1959f1ecb43966770c10ff2"
+SRCREV_machine_qemumips ?= "5fad9fa9377a7badd71ae4c1f1b1108d8cfcb047"
+SRCREV_machine_qemuppc ?= "537602db26fe2d26c1959f1ecb43966770c10ff2"
+SRCREV_machine_qemux

[OE-core] [PATCH 1/7] make-mod-scripts: change how some kernel module tools are built

2018-02-18 Thread Bruce Ashfield
From: Joe Slater 

Remove do_make_scripts() from module-base.bbclass and put
functionality in a recipe.  This will build the scripts only
once instead of each time an external module is built.

[YOCTO #12228]

Signed-off-by: Joe Slater 
Signed-off-by: Bruce Ashfield 
---
 meta/classes/module-base.bbclass   | 12 +++
 meta/classes/module.bbclass|  4 
 .../make-mod-scripts/make-mod-scripts_1.0.bb   | 25 ++
 3 files changed, 28 insertions(+), 13 deletions(-)
 create mode 100644 meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb

diff --git a/meta/classes/module-base.bbclass b/meta/classes/module-base.bbclass
index f851b851639a..27bd69ff33bf 100644
--- a/meta/classes/module-base.bbclass
+++ b/meta/classes/module-base.bbclass
@@ -1,7 +1,8 @@
 inherit kernel-arch
 
-# This is instead of DEPENDS = "virtual/kernel"
-do_configure[depends] += "virtual/kernel:do_compile_kernelmodules"
+# We do the dependency this way because the output is not preserved
+# in sstate, so we must force do_compile to run (once).
+do_configure[depends] += "make-mod-scripts:do_compile"
 
 export OS = "${TARGET_OS}"
 export CROSS_COMPILE = "${TARGET_PREFIX}"
@@ -18,10 +19,3 @@ KERNEL_OBJECT_SUFFIX = ".ko"
 # kernel modules are generally machine specific
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-# Function to ensure the kernel scripts are created. Expected to
-# be called before do_compile. See module.bbclass for an example.
-do_make_scripts() {
-   unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS 
-   make CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \
-  -C ${STAGING_KERNEL_DIR} O=${STAGING_KERNEL_BUILDDIR} scripts
-}
diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass
index 78d1b21dbd83..e34496024434 100644
--- a/meta/classes/module.bbclass
+++ b/meta/classes/module.bbclass
@@ -1,9 +1,5 @@
 inherit module-base kernel-module-split pkgconfig
 
-addtask make_scripts after do_prepare_recipe_sysroot before do_configure
-do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
-do_make_scripts[depends] += "virtual/kernel:do_shared_workdir"
-
 EXTRA_OEMAKE += "KERNEL_SRC=${STAGING_KERNEL_DIR}"
 
 MODULES_INSTALL_TARGET ?= "modules_install"
diff --git a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb 
b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
new file mode 100644
index ..bd606a539eab
--- /dev/null
+++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Build tools needed by external modules"
+LICENSE = "GPLv2"
+
+inherit kernel-arch
+inherit pkgconfig
+
+S = "${WORKDIR}"
+
+do_configure[depends] += "virtual/kernel:do_shared_workdir"
+do_compile[depends] += "virtual/kernel:do_compile_kernelmodules"
+
+# Build some host tools under work-shared.  CC, LD, and AR are probably
+# not used, but this is the historical way of invoking "make scripts".
+#
+do_configure() {
+   unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+   make CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \
+  -C ${STAGING_KERNEL_DIR} O=${STAGING_KERNEL_BUILDDIR} scripts
+}
+
+
+# There is no reason to build this on its own.
+#
+EXCLUDE_FROM_WORLD = "1"
+
-- 
2.5.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/7] linux-yocto/4.15: add build dependencies

2018-02-18 Thread Bruce Ashfield
Some required build dependencies were missed when the -rt variant
for linux-yocto was created. We add them here to match the 4.15
recipe. Eventually, these can be placed in a common location and
included automatically.

Signed-off-by: Bruce Ashfield 
---
 meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb
index 31f8c23cef52..03726a46a40d 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb
@@ -19,6 +19,9 @@ SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=mac
 
 LINUX_VERSION ?= "4.15"
 
+DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
+DEPENDS += "openssl-native util-linux-native"
+
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
 KMETA = "kernel-meta"
-- 
2.5.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/7] make-mod-scripts: add build requirements for external modules

2018-02-18 Thread Bruce Ashfield
Newer kernels (4.14/v4.15+) have dependencies for the build of
modules (and hence external modules). Without these dependencies
explicitly in the build chain, you can end up with build failures like:

  work-shared/qemux86/kernel-source/scripts/extract-cert.c:21:25: fatal
  error: openssl/bio.h: No such file or directory
  |  #include 
  |  ^
  | compilation terminated.
  | make[2]: *** [scripts/extract-cert] Error 1
  | make[1]: *** [scripts] Error 2

To ensure that these headers are in place, and that the scripts use
our build environment flags, we add a dependency on openssl-native
and use oe_make to invoke the build.

Older kernels have no issues with the extra dependency, so there's no
need to make this conditional.

Signed-off-by: Bruce Ashfield 
---
 meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb 
b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
index bd606a539eab..3cb76e2f6a0d 100644
--- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
+++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
@@ -6,15 +6,17 @@ inherit pkgconfig
 
 S = "${WORKDIR}"
 
-do_configure[depends] += "virtual/kernel:do_shared_workdir"
+do_configure[depends] += "virtual/kernel:do_shared_workdir 
openssl-native:do_populate_sysroot"
 do_compile[depends] += "virtual/kernel:do_compile_kernelmodules"
 
+EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" 
HOSTCPP="${BUILD_CPP}""
+
 # Build some host tools under work-shared.  CC, LD, and AR are probably
 # not used, but this is the historical way of invoking "make scripts".
 #
 do_configure() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
-   make CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \
+   oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \
   -C ${STAGING_KERNEL_DIR} O=${STAGING_KERNEL_BUILDDIR} scripts
 }
 
-- 
2.5.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/7] kernel-yocto: consolidated pull request

2018-02-18 Thread Bruce Ashfield
Hi all,

Here is the next set of kernel (and kernel-yocto) changes. Now that we've
got 4.14 and 4.15 in master, these are the follow on tweaks.

 - stable updates for 4.14 and 4.15
 - -rt addition and build dependency fixes for 4.14
 - 4.12 -stable updates (which include meltdown patches). This is also
   valid for rocko, and I'll send it separately as a single patch for
   that branch.

Outside of the kernel updates, I've also included my changes for
make-mod-scripts that were sent as a RFC in my last pull request. These have
been in my tree for a while, and have been commented/tested by others. I now
have a second patch in that sub-series that adds the right openssl dependencies
for 4.15+ kernels when building out of tree modules (since they do appear
to solve the issues reported on the mailing list).

Cheers,

Bruce

The following changes since commit 02641ef12d681e4402fdaee1038513bfdb8c79b1:

  ltp: fix knob to control numa support (2018-02-16 18:05:41 +)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib zedd/kernel
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Bruce Ashfield (6):
  make-mod-scripts: add build requirements for external modules
  linux-yocto/4.15: add build dependencies
  linux-yocto/4.14: add -rt and update to v4.4.18
  linux-yocto/4.14: update to v4.14.19
  linux-yocto/4.15: update to v4.15.3
  linux-yocto/4.12: update to v4.12.20

Joe Slater (1):
  make-mod-scripts: change how some kernel module tools are built

 meta/classes/module-base.bbclass   | 12 +++---
 meta/classes/module.bbclass|  4 
 meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb   |  6 ++---
 meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb   |  6 ++---
 meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb   |  9 +---
 meta/recipes-kernel/linux/linux-yocto-tiny_4.12.bb |  4 ++--
 meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb |  6 ++---
 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb |  6 ++---
 meta/recipes-kernel/linux/linux-yocto_4.12.bb  | 16 ++---
 meta/recipes-kernel/linux/linux-yocto_4.14.bb  | 20 
 meta/recipes-kernel/linux/linux-yocto_4.15.bb  | 20 
 .../make-mod-scripts/make-mod-scripts_1.0.bb   | 27 ++
 12 files changed, 78 insertions(+), 58 deletions(-)
 create mode 100644 meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb

-- 
2.5.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [meta-oe][PATCH 1/2] libmpc: fix SRC_URI

2018-02-18 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk 
---
 meta/recipes-support/libmpc/libmpc_1.0.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/libmpc/libmpc_1.0.3.bb 
b/meta/recipes-support/libmpc/libmpc_1.0.3.bb
index 9c8c5f643f..d37de3831a 100644
--- a/meta/recipes-support/libmpc/libmpc_1.0.3.bb
+++ b/meta/recipes-support/libmpc/libmpc_1.0.3.bb
@@ -3,7 +3,7 @@ require libmpc.inc
 DEPENDS = "gmp mpfr"
 
 LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02"
-SRC_URI = "http://www.multiprecision.org/mpc/download/mpc-${PV}.tar.gz";
+SRC_URI = "https://ftp.gnu.org/gnu/mpc/mpc-${PV}.tar.gz";
 
 SRC_URI[md5sum] = "d6a1d5f8ddea3abd2cc3e98f58352d26"
 SRC_URI[sha256sum] = 
"617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3"
-- 
2.14.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [meta-oe][PATCH 2/2] curl: upgrade to 7.58.0

2018-02-18 Thread Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk 
---
 meta/recipes-support/curl/{curl_7.57.0.bb => curl_7.58.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/curl/{curl_7.57.0.bb => curl_7.58.0.bb} (95%)

diff --git a/meta/recipes-support/curl/curl_7.57.0.bb 
b/meta/recipes-support/curl/curl_7.58.0.bb
similarity index 95%
rename from meta/recipes-support/curl/curl_7.57.0.bb
rename to meta/recipes-support/curl/curl_7.58.0.bb
index 47e3d45460..5535a5609b 100644
--- a/meta/recipes-support/curl/curl_7.57.0.bb
+++ b/meta/recipes-support/curl/curl_7.58.0.bb
@@ -15,8 +15,8 @@ SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
 #
 SRC_URI += " file://configure_ac.patch"
 
-SRC_URI[md5sum] = "dd3e22e923be17663e67f721c2aec054"
-SRC_URI[sha256sum] = 
"c92fe31a348eae079121b73884065e600c533493eb50f1f6cee9c48a3f454826"
+SRC_URI[md5sum] = "fa049f9f90c1ae473a2a7bcfa14de976"
+SRC_URI[sha256sum] = 
"1cb081f97807c01e3ed747b6e1c9fee7a01cb10048f1cd0b5f56cfe0209de731"
 
 CVE_PRODUCT = "libcurl"
 inherit autotools pkgconfig binconfig multilib_header
-- 
2.14.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] libdrm: Upgrade 2.4.89 -> 2.4.90

2018-02-18 Thread Otavio Salvador
The 2.4.90 was announced in Feb 17th 2018 and had following changes
are listed:

,
| Andrey Grodzovsky (2):
|   amdgpu: Update deadlock test to not assert on ECANCELED
|   amdgpu: Fix segfault in deadlock test.
|
| Anuj Phogat (1):
|   intel: Add more Coffeelake PCI IDs
|
| Bas Nieuwenhuizen (1):
|   drm: Fix 32-bit drmSyncobjWait.
|
| Christian König (5):
|   amdgpu: fix 32bit VA manager max address
|   headers: sync up amdgpu_drm.h with drm-next
|   amdgpu: use the high VA range if possible v2
|   test/amdgpu: fix compiler warnings
|   amdgpu: fix high VA mask
|
| Christoph Haag (1):
|   meson: fix the install path of amdgpu.ids
|
| Chunming Zhou (5):
|   fix return value for syncobj wait
|   amdgpu: fix inefficient vamgr algorithm
|   amdgpu: clean up non list code path for vamgr
|   tests/amdgpu: add bo eviction test
|   amdgpu: clean up non list code path for
|   vamgr v2
|
| Dylan Baker (7):
|   Add meson build system
|   autotools: Include meson.build files in tarball
|   README: Add note about meson
|   meson: set proper pkg-config version for
|   libdrm_freedreno
|   meson: set the minimum version correctly
|   meson: fix libdrm_nouveau pkgconfig include directories
|   meson: include headers in root directory in ext_libdrm
|
| Emil Velikov (1):
|   tests/amdgpu: add missing config.h include
|
| Eric Engestrom (25):
|   remove unnecessary double-semicolon
|   tests/amdgpu: add parentheses to make operation priority explicit
|   tests/amdgpu: drop unused variables
|   tests/util: fix signed/unsigned comparisons
|   tests/util: drop unused parameters
|   tests/etnaviv: drop unused `return 0`
|   meson: add missing HAVE_RADEON
|   configure: remove unused HAVE_CUNIT define
|   configure: remove unused HAVE_INSTALL_TESTS define
|   meson,configure: remove unused HAVE_OMAP define
|   meson,configure: remove unused HAVE_TEGRA define
|   meson,configure: remove unused HAVE_FREEDRENO define
|   meson,configure: remove unused HAVE_ETNAVIV define
|   meson,configure: always define 
HAVE_{INTEL,VMWGFX,NOUVEAU,EXYNOS,VC4,RADEON}
|   always define HAVE_FREEDRENO_KGSL
|   always define HAVE_CAIRO
|   always define HAVE_VALGRIND
|   meson: sort HAVE_* defines
|   xf86atomic: fix -Wundef warning
|   meson: cleanup whitespace
|   meson,configure: add warning when using undefined preprocessor tokens
|   xf86drmHash: remove always-false #if guards
|   configure: always define HAVE_LIBDRM_ATOMIC_PRIMITIVES and 
HAVE_LIB_ATOMIC_OPS
|   exynos/tests: use #ifdef for never-defined token
|   meson,configure: turn undefined preprocessor tokens warnings into errors
|
| Hawking Zhang (3):
|   tests/amdgpu: execute write linear on all the available rings
|   tests/amdgpu: execute const fill on all the available rings
|   tests/amdgpu: execute copy linear on all the available rings
|
| Marek Olšák (2):
|   amdgpu: add amdgpu_query_sw_info for querying high bits of 32-bit 
address space
|   configure.ac: bump version to 2.4.90
|
| Michel Dänzer (7):
|   amdgpu: Don't print error message if parse_one_line returned -EAGAIN
|   amdgpu: Don't dereference device_handle after
|   amdgpu_device_deinitialize
|   amdgpu: Symlink .editorconfig to tests/amdgpu
|   amdgpu: Disable deadlock test suite by default for SI ASICs
|   amdgpu: Disable VM test suite by default for SI ASICs
|   Revert "amdgpu: clean up non list code path for vamgr"
|   amdgpu: Add amdgpu_query_sw_info to amdgpu-symbol-check
|
| Rob Clark (1):
|   freedreno: clamp priority based on # of rings
|
| Robert Foss (5):
|   android: Move gralloc handle struct to libdrm
|   android: Add version variable to gralloc_handle_t
|   android: Mark gralloc_handle_t magic variable as const
|   android: Remove member name from gralloc_handle_t
|   android: Change gralloc_handle_t members to be fixed width
|
| Seung-Woo Kim (2):
|   amdgpu: fix not to add amdgpu.ids when building without amdgpu
|   modetest: Fix to check return value of asprintf()
`

Signed-off-by: Otavio Salvador 
---

 meta/recipes-graphics/drm/{libdrm_2.4.89.bb => libdrm_2.4.90.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/drm/{libdrm_2.4.89.bb => libdrm_2.4.90.bb} (93%)

diff --git a/meta/recipes-graphics/drm/libdrm_2.4.89.bb 
b/meta/recipes-graphics/drm/libdrm_2.4.90.bb
similarity index 93%
rename from meta/recipes-graphics/drm/libdrm_2.4.89.bb
rename to meta/recipes-graphics/drm/libdrm_2.4.90.bb
index 6754a932427..462ed157855 100644
--- a/meta/recipes-graphics/drm/libdrm_2.4.89.bb
+++ b/meta/recipes-graphics/drm/libdrm_2.4.90.bb
@@ -16,8 +16,8 @@ SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \

file://0001-configure.ac-Allow-explicit-enabling-of-cunit-tests

[OE-core] [PATCH 1/2] mtd-utils: Bump revision to 1bfee866

2018-02-18 Thread Otavio Salvador
This bumps the version to 2.0.1 release plus some more changes.

The following patches were merged upstream:

 - 0001-Fix-build-with-musl.patch
 - 010-fix-rpmatch.patch
 - fix-armv7-neon-alignment.patch

The `mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch`
patch has been removed as the issue seems to have been addressed
in the Linux MTD subsystem. The discussion can be seen at:

 http://lists.infradead.org/pipermail/linux-mtd/2011-August/037320.html

Also a research to see if any other distribution had a similar patch
included and they don't. So there is no clear need to keep diverging
from upstream.

See the logs below:

,[ Changes from 2.0.0 -> 2.0.1 ]
| 81049e5 Release mtd-utils-2.0.1
| 4458ad6 mtd-utils: tests: Avoid using less than two blocks in nandpagetest
| 76a55b1 mtd-utils: ubinfo: add parameter check
| 454a3d0 mkfs-ubifs: fix inclusion of uuid.h
| df913e4 mtd-utils: tests: Add Erased Pages Bit Flip Test
| f8bc7d9 Add const modifier to read only strings and string constants
| a7c8cb3 Silence warnings about unused arguments
| e511691 Remove unused variables and functions
| ca517e8 Eliminate warnings about missing prototypes
| 3029b65 Enable compiler warnings
| 9eae306 Move libfec declarations to public header in global include directory
| 022ce62 Use autoconf header detection correctly for libmissing
| 1a3e3af Restructure autoconf configure.ac
| e772dc8 Replace defunct ubifs_assert
| b0b1bc5 mtd-utils: tests: Fix nandbiterrs Failure Check
| 76e27a7 ubi-utils: Return error code if command line option is unknown
| b8e785a nor-utils: Return error code if command line option is unknown
| 12e27a1 jffsX-utils: Return error code if command line option is unknown
| 9a357ee ftl_format: Use return directly to leave main function
| 6890608 flashcp: Drop exit code defines
| ccffc10 Use defines for exit code values
| 871c2f1 mkfs.ubifs: Add support for symlinks in device table
| c0972a5 libiniparser: remove unused function needing float
| 5c57076 libubi.c: add klibc specific fixes for ioctl
| dede98f Return correct error number in ubi_get_vol_info1
| a2eeedb Fix libmtd behaviour if MTD is not present on the system
| 4dab9be Fix build with musl
| 82839c3 Replace rpmatch() usage with checking first character of line
| 7d026a8 Fix alignment trap triggered by NEON instructions
| d7e8612 mtd-utils: Support jffs2 flash-erase for large OOB (>32b)
| fc7aa01 ubi: tests: Speedup io_paral by using rand_r()
| fdec8a4 ubi: tests: Support up to 65k NAND page size
| d600419 ubi: tests: Replace variable-length array with malloc()
| 1710e0c Remove README.udev from ubi-tests extra dist
| e3e010c ubirename: trivial fixes to the help text
| 1fed9b4 Remove UDEV_SETTLE_HACK
| 22089b0 mtd-utils: serve_image: Use PRIdoff_t as format specifier.
| 5a80691 mtd-utils: Fix format specifier definitions for off_t and loff_t.
| 44558d1 nanddump: Add --skip-bad-blocks-to-start option
| 2fc8058 nandwrite: Add --skip-bad-blocks-to-start option
| 6df83fd nandwrite: fix/cleanup bad block skipping
| 7b8981a nandwrite: replace erase loop with mtd_erase_multi
| dffaa1d nandwrite: add stricter sanity checking for blockalign
`

,[ Changes from 2.0.1 -> 9c61735 ]
| 9c61735 mtd: unittests: Stop testing stat() calls
| daef4f1 mtd: unittests: Decode arg size from ioctl request
| fd0b70b mtd: unittests: Use proper unsigned long type for ioctl requests
| c75d104 ubi-utils: ubiformat.c: convert to integer arithmetic
| 61afcc6 mtd-utils: common.c: convert to integer arithmetic
| 6766178 Run unit test programs through "make check"
| 098e91a mtd: tests: Fix check on ebcnt in nandpagetest
| 9cfb02c libscan: fix a comment typo in libscan.h
| 7086393 libmtd: fix a comment typo in dev_node2num
| 3c54e4e ubi-utils: ubicrc32: process command line arguments first
| ce50e6d nandbiterrs: Fix copy & paste fail
| 03dafe3 Enable further warning flags, address new warnings
| 0555cb2 jittertest: Use the appropriate versions of abs()
| 475bf70 Mark or fix switch cases that fall through
| cb2fcfc Add no-return attribute to usage() style functions
| 81fd176 Remove self-assignments of unused paramters
| 3b421ab mkfs.ubifs: ignore EOPNOTSUPP when listing extended attributes
| 030a63b tests: checkfs: Remove unused source file from makefiles
| 40dd609 misc-utils: initialize "ip" in docfdisk to NULL
| 94f6573 ubi-tests: io_update: fix missleading indentation
| afba4fc mkfs.ubifs: Apply squash-uids to the root node
| 3a34784 Add ctags files to .gitignore
`

Signed-off-by: Otavio Salvador 
---

 .../mtd/mtd-utils/0001-Fix-build-with-musl.patch   |  28 -
 .../mtd/mtd-utils/010-fix-rpmatch.patch|  63 --
 .../mtd/mtd-utils/fix-armv7-neon-alignment.patch   |  55 -
 ...t-cleanmarker-with-flash_erase--j-command.patch | 137 -
 meta/recipes-devtools/mtd/mtd-utils_git.bb |   8 +-
 5 files changed, 2 insertions(+), 289 deletions(-)
 delete mode 100644 
meta/recipes-devtools/mtd/mtd-utils/0001-Fix-bu

Re: [OE-core] [PATCH] pseudo: update to latest master

2018-02-18 Thread Martin Jansa
I've tried again with the change from Alex (without additional SRCREV bump)
on ubuntu-14.04

To make it simple I've triggered the build of just to recipes (which caused
"tried to close client 0 (highest is 1)" before:

$ bitbake tzdata update-rc.d
and again I quickly got:
23G tzdata/2018c-r0/pseudo/
24G update-rc.d/0.7-r5/pseudo/

There is nothing special in the pseudo.log before this "tried to close
client 0 (highest is 1)"
==> tzdata/2018c-r0/pseudo/pseudo.log <==
debug_logfile: fd 2
pid 8489 [parent 8484], doing new pid setup and server start
Setup complete, sending SIGUSR1 to pid 8484.
tried to close client 0 (highest is 1)
tried to close client 0 (highest is 1)

==> update-rc.d/0.7-r5/pseudo/pseudo.log <==
debug_logfile: fd 2
pid 8488 [parent 8481], doing new pid setup and server start
Setup complete, sending SIGUSR1 to pid 8481.
tried to close client 0 (highest is 1)
tried to close client 0 (highest is 1)

And there is actually nothing else after those 3 lines at the beginning
until I've killed the bitbake build (which didn't kill pseudo itself) and
then killed both pseudo processes - which resulted with left-over
bitbake-worker starting 2 new pseudo processes which kept spamming "tried
to close client 0 (highest is 1)" after initial setup:

$grep -v "^tried to close client 0 (highest is 1)$" */*/pseudo/pseudo.log
tzdata/2018c-r0/pseudo/pseudo.log:debug_logfile: fd 2
tzdata/2018c-r0/pseudo/pseudo.log:pid 8489 [parent 8484], doing new pid
setup and server start
tzdata/2018c-r0/pseudo/pseudo.log:Setup complete, sending SIGUSR1 to pid
8484.
tzdata/2018c-r0/pseudo/pseudo.log:Received signal 15, quitting.
tzdata/2018c-r0/pseudo/pseudo.log:db cleanup for server shutdown,
19:10:01.424
tzdata/2018c-r0/pseudo/pseudo.log:memory-to-file backup complete,
19:10:01.436.
tzdata/2018c-r0/pseudo/pseudo.log:db cleanup finished, 19:10:01.436
tzdata/2018c-r0/pseudo/pseudo.log:debug_logfile: fd 2
tzdata/2018c-r0/pseudo/pseudo.log:pid 11205 [parent 11199], doing new pid
setup and server start
tzdata/2018c-r0/pseudo/pseudo.log:Setup complete, sending SIGUSR1 to pid
11199.
update-rc.d/0.7-r5/pseudo/pseudo.log:debug_logfile: fd 2
update-rc.d/0.7-r5/pseudo/pseudo.log:pid 8488 [parent 8481], doing new pid
setup and server start
update-rc.d/0.7-r5/pseudo/pseudo.log:Setup complete, sending SIGUSR1 to pid
8481.
update-rc.d/0.7-r5/pseudo/pseudo.log:Received signal 15, quitting.
update-rc.d/0.7-r5/pseudo/pseudo.log:db cleanup for server shutdown,
19:10:01.423
update-rc.d/0.7-r5/pseudo/pseudo.log:memory-to-file backup complete,
19:10:01.436.
update-rc.d/0.7-r5/pseudo/pseudo.log:db cleanup finished, 19:10:01.436
update-rc.d/0.7-r5/pseudo/pseudo.log:debug_logfile: fd 2
update-rc.d/0.7-r5/pseudo/pseudo.log:pid 11212 [parent 11200], doing new
pid setup and server start
update-rc.d/0.7-r5/pseudo/pseudo.log:Setup complete, sending SIGUSR1 to pid
11200.

$ du -hs */*/pseudo/
28G tzdata/2018c-r0/pseudo/
28G update-rc.d/0.7-r5/pseudo/

Without --enable-epoll in pseudo.inc tzdata built fine and pseudo.log is
very short:
debug_logfile: fd 2
pid 14630 [parent 14629], doing new pid setup and server start
14630: new pid: 14630 [pseudo]
14630: Setup complete, sending SIGUSR1 to pid 14629.
14630: path mismatch [2 links]: ino 282238092 db '/run/shm/sem.mp-yluz7s8j'
req '/run/shm/sem.5mP74h'.
14630: db cleanup for server shutdown, 20:19:27.475
14630: memory-to-file backup complete, 20:19:27.475.
14630: db cleanup finished, 20:19:27.475

Shouldn't PSEUDO_DEBUG=4 in the environment generate a bit more verbose log?

I've also tried to add it in FAKEROOTENV (because pseudo seems to lock up
before run.do_install is executed, so the export there probably didn't
happen soon enough, but then even when it worked without --enable-epoll the
log wasn't any bigger).

meta/conf/bitbake.conf:export PSEUDO_DEBUG = "4"
meta/conf/bitbake.conf:FAKEROOTBASEENV =
"PSEUDO_BINDIR=${PSEUDO_SYSROOT}${bindir_native}
PSEUDO_LIBDIR=${PSEUDO_SYSROOT}${prefix_native}/lib/pseudo/lib
PSEUDO_PREFIX=${PSEUDO_SYSROOT}${prefix_native} PSEUDO_DISABLED=1
PSEUDO_DEBUG=4"
meta/conf/bitbake.conf:FAKEROOTENV =
"PSEUDO_PREFIX=${PSEUDO_SYSROOT}${prefix_native}
PSEUDO_LOCALSTATEDIR=${PSEUDO_LOCALSTATEDIR} PSEUDO_PASSWD=${PSEUDO_PASSWD}
PSEUDO_NOSYMLINKEXP=1 PSEUDO_DEBUG=4 PSEUDO_DISABLED=0"

Regards,

On Sun, Feb 18, 2018 at 12:43 PM, Martin Jansa 
wrote:

> The do_install tasks failing with exit code '134'/SIGABRT were caused by
> left over pseudo processes from previous builds still holding the
> pseudo.lock.
>
> Manually killing those (still spinning at around 90% CPU for last 2 days)
> resolved the do_install failures.
>
> It also explains the lack of log.do_install files, because do_install
> failed before it even properly started.
>
> Regards,
>
> On Sat, Feb 17, 2018 at 9:17 PM, Seebs  wrote:
>
>> On Sat, 17 Feb 2018 15:28:55 +0200
>> Alexander Kanavin  wrote:
>>
>> > For me, with epoll enabled:
>> >
>> > b6a015a works
>> > 23f089f and 26e30fa both lock up
>>
>> Huh. It's

Re: [OE-core] [PATCH] pseudo: update to latest master

2018-02-18 Thread Martin Jansa
The do_install tasks failing with exit code '134'/SIGABRT were caused by
left over pseudo processes from previous builds still holding the
pseudo.lock.

Manually killing those (still spinning at around 90% CPU for last 2 days)
resolved the do_install failures.

It also explains the lack of log.do_install files, because do_install
failed before it even properly started.

Regards,

On Sat, Feb 17, 2018 at 9:17 PM, Seebs  wrote:

> On Sat, 17 Feb 2018 15:28:55 +0200
> Alexander Kanavin  wrote:
>
> > For me, with epoll enabled:
> >
> > b6a015a works
> > 23f089f and 26e30fa both lock up
>
> Huh. It's possible that the initial "don't try to close fd 0" was
> correct, and the real problem is that the attempt is getting made
> mistakenly. I'll study that more; the epoll code was a contribution and
> I may not have fully understood it.
>
> -s
>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/2] glibc: Upgrade to 2.27 release

2018-02-18 Thread Khem Raj

Wanted to send update on this issue

I got to bottom of this issue and Ross you should have known it :)

https://patchwork.openembedded.org/patch/127105/

introduced an optimization into nativesdk glibc to let it ride on 
localedate from SDK host. This has now broken in glibc with


https://github.com/kraj/glibc/commit/95cb863a1ef7760a11272bbd7ba5fe62dc41be54

it is recommended for static programs to be relinked if using glibc 2.27
our case is also similar mismatch of libc version and localedata just in 
opposite direction where we are trying to read old data with new glibc 
instead.


I have initiated a discussion within glibc community on it to explore 
what options we have, but be prepared to ship full localedata in worst 
case with glibc 2.27,  this might be the worst case option if no 
alternative is found.


Thank you
-Khem

On 2/15/18 4:12 AM, Burton, Ross wrote:

Yes, that's it.

Ross

On 12 February 2018 at 07:32, Khem Raj > wrote:


On Sat, Feb 3, 2018 at 2:21 AM, Burton, Ross mailto:ross.bur...@intel.com>> wrote:
> Getting there: https://autobuilder.yocto.io/tgrid 

>
> Just two actual problems:
> - The non-gplv3 build failed as the make fix needs to be backported to
> meta-gplv2
> - The eSDK selftests all failed with en_US.UTF-8 problems, the new glibc
> shouldn't be causing a problem with uninative so this is interesting, 
maybe
> the new one is behaving slightly differently.  Should be easy to 
replicate.
> The same problem caused selftest to fail.
>

is the UTF error like this one
https://gist.github.com/25a84d23618824f0e5e6857a960eaca4


 > Ross



--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core