linux-4.9.git
8 years agoPartially revert "MIPS: Add -Werror to arch/mips/Kbuild"
Ben Hutchings [Mon, 13 Sep 2010 01:16:18 +0000 (02:16 +0100)]
Partially revert "MIPS: Add -Werror to arch/mips/Kbuild"

This reverts commit 66f9ba101f54bda63ab1db97f9e9e94763d0651b.

We really don't want to add -Werror anywhere.

Gbp-Pq: Topic debian
Gbp-Pq: Name mips-disable-werror.patch

8 years agoTweak gitignore for Debian pkg-kernel using git svn.
Ian Campbell [Thu, 17 Jan 2013 08:55:21 +0000 (08:55 +0000)]
Tweak gitignore for Debian pkg-kernel using git svn.

[bwh: Tweak further for pure git]

Gbp-Pq: Topic debian
Gbp-Pq: Name gitignore.patch

8 years agokbuild: Make the toolchain variables easily overwritable
Bastian Blank [Sun, 22 Feb 2009 14:39:35 +0000 (15:39 +0100)]
kbuild: Make the toolchain variables easily overwritable

Allow make variables to be overridden for each flavour by a file in
the build tree, .kernelvariables.

We currently use this for ARCH, KERNELRELEASE, CC, and in some cases
also CROSS_COMPILE, CFLAGS_KERNEL and CFLAGS_MODULE.

This file can only be read after we establish the build tree, and all
use of $(ARCH) needs to be moved after this.

Gbp-Pq: Topic debian
Gbp-Pq: Name kernelvariables.patch

8 years agoMake mkcompile_h accept an alternate timestamp string
Ben Hutchings [Tue, 12 May 2015 18:29:22 +0000 (19:29 +0100)]
Make mkcompile_h accept an alternate timestamp string

We want to include the Debian version in the utsname::version string
instead of a full timestamp string.  However, we still need to provide
a standard timestamp string for gen_initramfs_list.sh to make the
kernel image reproducible.

Make mkcompile_h use $KBUILD_BUILD_VERSION_TIMESTAMP in preference to
$KBUILD_BUILD_TIMESTAMP.

Gbp-Pq: Topic debian
Gbp-Pq: Name uname-version-timestamp.patch

8 years agoInclude package version along with kernel release in stack traces
Ben Hutchings [Tue, 24 Jul 2012 02:13:10 +0000 (03:13 +0100)]
Include package version along with kernel release in stack traces

For distribution binary packages we assume
$DISTRIBUTION_OFFICIAL_BUILD, $DISTRIBUTOR and $DISTRIBUTION_VERSION
are set.

Gbp-Pq: Topic debian
Gbp-Pq: Name version.patch

8 years agolinux (4.9.65-3+deb9u2) stretch-security; urgency=high
Yves-Alexis Perez [Thu, 4 Jan 2018 11:12:40 +0000 (11:12 +0000)]
linux (4.9.65-3+deb9u2) stretch-security; urgency=high

  * x86: setup PCID, preparation work for KPTI.
    - x86/mm/64: Fix reboot interaction with CR4.PCIDE
    - x86/mm: Add the 'nopcid' boot option to turn off PCID
    - x86/mm: Disable PCID on 32-bit kernels
    - x86/mm: Enable CR4.PCIDE on supported systems
  * [amd64] Implement Kernel Page Table Isolation (KPTI, aka KAISER)
    (CVE-2017-5754)
    - kaiser: add "nokaiser" boot option, using ALTERNATIVE
    - kaiser: align addition to x86/mm/Makefile
    - kaiser: asm/tlbflush.h handle noPGE at lower level
    - kaiser: cleanups while trying for gold link
    - kaiser: delete KAISER_REAL_SWITCH option
    - kaiser: disabled on Xen PV
    - kaiser: do not set _PAGE_NX on pgd_none
    - kaiser: drop is_atomic arg to kaiser_pagetable_walk()
    - kaiser: enhanced by kernel and user PCIDs
    - kaiser: ENOMEM if kaiser_pagetable_walk() NULL
    - kaiser: fix build and FIXME in alloc_ldt_struct()
    - kaiser: fix perf crashes
    - kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
    - kaiser: fix unlikely error in alloc_ldt_struct()
    - kaiser: KAISER depends on SMP
    - kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
    - kaiser: kaiser_remove_mapping() move along the pgd
    - KAISER: Kernel Address Isolation
    - x86_64: KAISER - do not map kernel in user mode
    - kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
    - kaiser: merged update
    - kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
    - kaiser: paranoid_entry pass cr3 need to paranoid_exit
    - kaiser: PCID 0 for kernel and 128 for user
    - kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
    - kaiser: tidied up asm/kaiser.h somewhat
    - kaiser: tidied up kaiser_add/remove_mapping slightly
    - kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
    - kaiser: vmstat show NR_KAISERTABLE as nr_overhead
    - kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
    - KPTI: Rename to PAGE_TABLE_ISOLATION
    - KPTI: Report when enabled
    - x86/boot: Add early cmdline parsing for options with arguments
    - x86/kaiser: Check boottime cmdline params
    - x86/kaiser: Move feature detection up
    - x86/kaiser: Reenable PARAVIRT
    - x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
    - x86/paravirt: Dont patch flush_tlb_single
  * Bump ABI to 5.

[dgit import unpatched linux 4.9.65-3+deb9u2]

8 years agoImport linux_4.9.65-3+deb9u2.debian.tar.xz
Yves-Alexis Perez [Thu, 4 Jan 2018 11:12:40 +0000 (11:12 +0000)]
Import linux_4.9.65-3+deb9u2.debian.tar.xz

[dgit import tarball linux 4.9.65-3+deb9u2 linux_4.9.65-3+deb9u2.debian.tar.xz]

8 years agoImport linux_4.9.65.orig.tar.xz
Ben Hutchings [Sat, 2 Dec 2017 15:53:59 +0000 (15:53 +0000)]
Import linux_4.9.65.orig.tar.xz

[dgit import orig linux_4.9.65.orig.tar.xz]