22 Jun, 2019

1 commit

  • Remove the CONFIG_UEVENT_HELPER_PATH because:
    1. It is disabled since commit

    1be01d4a5714 ("driver: base: Disable CONFIG_UEVENT_HELPER by default")

    as its dependency (UEVENT_HELPER) was made default to 'n',

    2. It is not recommended (help message: "This should not be used today
    [...] creates a high system load") and was kept only for ancient
    userland,

    3. Certain userland specifically requests it to be disabled (systemd
    README: "Legacy hotplug slows down the system and confuses udev").

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Borislav Petkov
    Acked-by: Geert Uytterhoeven
    Cc: Adam Borowski
    Cc: "Ahmed S. Darwish"
    Cc: Alexey Brodkin
    Cc: Andrew Morton
    Cc: Ard Biesheuvel
    Cc: "H. Peter Anvin"
    Cc: Ingo Molnar
    Cc: Masahiro Yamada
    Cc: Thomas Gleixner
    Cc: x86-ml
    Link: https://lkml.kernel.org/r/1559635284-21696-1-git-send-email-krzk@kernel.org

    Krzysztof Kozlowski
     

19 Apr, 2019

1 commit

  • On x86 systems, only MSDOS and GPT partition tables are typically
    encountered. Remove all the rest.

    Note, CONFIG_EFI_PARTITION is also removed since it defaults to `y'.

    Signed-off-by: Ahmed S. Darwish
    Cc: Borislav Petkov
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/20190306004425.GA30537@darwi-home-pc
    Signed-off-by: Ingo Molnar

    Ahmed S. Darwish
     

08 Mar, 2019

2 commits

  • Merge more updates from Andrew Morton:

    - some of the rest of MM

    - various misc things

    - dynamic-debug updates

    - checkpatch

    - some epoll speedups

    - autofs

    - rapidio

    - lib/, lib/lzo/ updates

    * emailed patches from Andrew Morton : (83 commits)
    samples/mic/mpssd/mpssd.h: remove duplicate header
    kernel/fork.c: remove duplicated include
    include/linux/relay.h: fix percpu annotation in struct rchan
    arch/nios2/mm/fault.c: remove duplicate include
    unicore32: stop printing the virtual memory layout
    MAINTAINERS: fix GTA02 entry and mark as orphan
    mm: create the new vm_fault_t type
    arm, s390, unicore32: remove oneliner wrappers for memblock_alloc()
    arch: simplify several early memory allocations
    openrisc: simplify pte_alloc_one_kernel()
    sh: prefer memblock APIs returning virtual address
    microblaze: prefer memblock API returning virtual address
    powerpc: prefer memblock APIs returning virtual address
    lib/lzo: separate lzo-rle from lzo
    lib/lzo: implement run-length encoding
    lib/lzo: fast 8-byte copy on arm64
    lib/lzo: 64-bit CTZ on arm64
    lib/lzo: tidy-up ifdefs
    ipc/sem.c: replace kvmalloc/memset with kvzalloc and use struct_size
    ipc: annotate implicit fall through
    ...

    Linus Torvalds
     
  • This Kconfig option was removed during v4.19 development in commit
    771c035372a0 ("deprecate the '__deprecated' attribute warnings entirely
    and for good") so there's no point to keep it in defconfigs any longer.

    FWIW defconfigs were patched with:
    --------------------------->8----------------------
    find . -name *_defconfig -exec sed -i '/CONFIG_ENABLE_WARN_DEPRECATED/d' {} \;
    --------------------------->8----------------------

    Link: http://lkml.kernel.org/r/20190128152434.41969-1-abrodkin@synopsys.com
    Signed-off-by: Alexey Brodkin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Brodkin
     

11 Feb, 2019

1 commit

  • Enable various options in the defconfigs of both i386 and x86_64
    that could do with some test coverage in automated testing. Note
    that these options are typically enabled by distros as well.

    Signed-off-by: Ard Biesheuvel
    Cc: Linus Torvalds
    Cc: Matt Fleming
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: linux-efi@vger.kernel.org
    Signed-off-by: Ingo Molnar

    Ard Biesheuvel
     

23 Nov, 2018

1 commit

  • There is no good reason to duplicate the PCI menu in every architecture.
    Instead provide a selectable HAVE_PCI symbol that indicates availability
    of PCI support, and a FORCE_PCI symbol to for PCI on and the handle the
    rest in drivers/pci.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Palmer Dabbelt
    Acked-by: Max Filippov
    Acked-by: Thomas Gleixner
    Acked-by: Bjorn Helgaas
    Acked-by: Geert Uytterhoeven
    Acked-by: Paul Burton
    Signed-off-by: Masahiro Yamada

    Christoph Hellwig
     

10 Oct, 2018

1 commit

  • A spanking new machine I just got has all but one USB ports wired as 3.0.
    Booting defconfig resulted in no keyboard or mouse, which was pretty
    uncool. Let's enable that -- USB3 is ubiquitous rather than an oddity.
    As 'y' not 'm' -- recovering from initrd problems needs a keyboard.

    Also add it to the 32-bit defconfig.

    Signed-off-by: Adam Borowski
    Cc: Greg Kroah-Hartman
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: linux-usb@vger.kernel.org
    Link: http://lkml.kernel.org/r/20181009062803.4332-1-kilobyte@angband.pl
    Signed-off-by: Ingo Molnar

    Adam Borowski
     

14 Oct, 2017

1 commit

  • Rename the unwinder config options from:

    CONFIG_ORC_UNWINDER
    CONFIG_FRAME_POINTER_UNWINDER
    CONFIG_GUESS_UNWINDER

    to:

    CONFIG_UNWINDER_ORC
    CONFIG_UNWINDER_FRAME_POINTER
    CONFIG_UNWINDER_GUESS

    ... in order to give them a more logical config namespace.

    Suggested-by: Ingo Molnar
    Signed-off-by: Josh Poimboeuf
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/73972fc7e2762e91912c6b9584582703d6f1b8cc.1507924831.git.jpoimboe@redhat.com
    Signed-off-by: Ingo Molnar

    Josh Poimboeuf
     

12 Oct, 2017

1 commit


10 Aug, 2017

1 commit


26 Jul, 2017

1 commit

  • There are three mutually exclusive unwinders. Make that more obvious by
    combining them into a multiple-choice selection:

    CONFIG_FRAME_POINTER_UNWINDER
    CONFIG_ORC_UNWINDER
    CONFIG_GUESS_UNWINDER (if CONFIG_EXPERT=y)

    Frame pointers are still the default (for now).

    The old CONFIG_FRAME_POINTER option is still used in some
    arch-independent places, so keep it around, but make it
    invisible to the user on x86 - it's now selected by
    CONFIG_FRAME_POINTER_UNWINDER=y.

    Suggested-by: Ingo Molnar
    Signed-off-by: Josh Poimboeuf
    Cc: Andy Lutomirski
    Cc: Borislav Petkov
    Cc: Brian Gerst
    Cc: Denys Vlasenko
    Cc: H. Peter Anvin
    Cc: Jiri Slaby
    Cc: Linus Torvalds
    Cc: Mike Galbraith
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: live-patching@vger.kernel.org
    Link: http://lkml.kernel.org/r/20170725135424.zukjmgpz3plf5pmt@treble
    Signed-off-by: Ingo Molnar

    Josh Poimboeuf
     

20 Jul, 2017

1 commit

  • Remove old, dead Kconfig options (in order appearing in this commit):

    - EXPERIMENTAL is gone since v3.9;
    - IP_NF_TARGET_ULOG: commit d4da843e6fad ("netfilter: kill remnants of ulog targets");
    - USB_LIBUSUAL: commit f61870ee6f8c ("usb: remove libusual");

    Signed-off-by: Krzysztof Kozlowski
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/1500526885-4341-1-git-send-email-krzk@kernel.org
    Signed-off-by: Ingo Molnar

    Krzysztof Kozlowski
     

02 May, 2017

1 commit

  • Pull x86 boot updates from Ingo Molnar:
    "The biggest changes in this cycle were:

    - reworking of the e820 code: separate in-kernel and boot-ABI data
    structures and apply a whole range of cleanups to the kernel side.

    No change in functionality.

    - enable KASLR by default: it's used by all major distros and it's
    out of the experimental stage as well.

    - ... misc fixes and cleanups"

    * 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (63 commits)
    x86/KASLR: Fix kexec kernel boot crash when KASLR randomization fails
    x86/reboot: Turn off KVM when halting a CPU
    x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup
    x86: Enable KASLR by default
    boot/param: Move next_arg() function to lib/cmdline.c for later reuse
    x86/boot: Fix Sparse warning by including required header file
    x86/boot/64: Rename start_cpu()
    x86/xen: Update e820 table handling to the new core x86 E820 code
    x86/boot: Fix pr_debug() API braindamage
    xen, x86/headers: Add dependency to
    x86/boot/e820: Simplify e820__update_table()
    x86/boot/e820: Separate the E820 ABI structures from the in-kernel structures
    x86/boot/e820: Fix and clean up e820_type switch() statements
    x86/boot/e820: Rename the remaining E820 APIs to the e820__*() prefix
    x86/boot/e820: Remove unnecessary #include's
    x86/boot/e820: Rename e820_mark_nosave_regions() to e820__register_nosave_regions()
    x86/boot/e820: Rename e820_reserve_resources*() to e820__reserve_resources*()
    x86/boot/e820: Use bool in query APIs
    x86/boot/e820: Document e820__reserve_setup_data()
    x86/boot/e820: Clean up __e820__update_table() et al
    ...

    Linus Torvalds
     

18 Apr, 2017

1 commit

  • KASLR is mature (and important) enough to be enabled by default on x86.

    Also enable it by default in the defconfigs.

    Acked-by: Thomas Gleixner
    Cc: Baoquan He
    Cc: Borislav Petkov
    Cc: Kees Cook
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Yinghai Lu
    Cc: dan.j.williams@intel.com
    Cc: dave.jiang@intel.com
    Cc: dyoung@redhat.com
    Cc: "H. Peter Anvin"
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Ingo Molnar

    Ingo Molnar
     

06 Mar, 2017

1 commit


12 Oct, 2016

1 commit

  • Pull IOMMU updates from Joerg Roedel:

    - support for interrupt virtualization in the AMD IOMMU driver. These
    patches were shared with the KVM tree and are already merged through
    that tree.

    - generic DT-binding support for the ARM-SMMU driver. With this the
    driver now makes use of the generic DMA-API code. This also required
    some changes outside of the IOMMU code, but these are acked by the
    respective maintainers.

    - more cleanups and fixes all over the place.

    * tag 'iommu-updates-v4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (40 commits)
    iommu/amd: No need to wait iommu completion if no dte irq entry change
    iommu/amd: Free domain id when free a domain of struct dma_ops_domain
    iommu/amd: Use standard bitmap operation to set bitmap
    iommu/amd: Clean up the cmpxchg64 invocation
    iommu/io-pgtable-arm: Check for v7s-incapable systems
    iommu/dma: Avoid PCI host bridge windows
    iommu/dma: Add support for mapping MSIs
    iommu/arm-smmu: Set domain geometry
    iommu/arm-smmu: Wire up generic configuration support
    Docs: dt: document ARM SMMU generic binding usage
    iommu/arm-smmu: Convert to iommu_fwspec
    iommu/arm-smmu: Intelligent SMR allocation
    iommu/arm-smmu: Add a stream map entry iterator
    iommu/arm-smmu: Streamline SMMU data lookups
    iommu/arm-smmu: Refactor mmu-masters handling
    iommu/arm-smmu: Keep track of S2CR state
    iommu/arm-smmu: Consolidate stream map entry state
    iommu/arm-smmu: Handle stream IDs more dynamically
    iommu/arm-smmu: Set PRIVCFG in stage 1 STEs
    iommu/arm-smmu: Support non-PCI devices with SMMUv3
    ...

    Linus Torvalds
     

07 Oct, 2016

1 commit

  • Pull KVM updates from Radim Krčmář:
    "All architectures:
    - move `make kvmconfig` stubs from x86
    - use 64 bits for debugfs stats

    ARM:
    - Important fixes for not using an in-kernel irqchip
    - handle SError exceptions and present them to guests if appropriate
    - proxying of GICV access at EL2 if guest mappings are unsafe
    - GICv3 on AArch32 on ARMv8
    - preparations for GICv3 save/restore, including ABI docs
    - cleanups and a bit of optimizations

    MIPS:
    - A couple of fixes in preparation for supporting MIPS EVA host
    kernels
    - MIPS SMP host & TLB invalidation fixes

    PPC:
    - Fix the bug which caused guests to falsely report lockups
    - other minor fixes
    - a small optimization

    s390:
    - Lazy enablement of runtime instrumentation
    - up to 255 CPUs for nested guests
    - rework of machine check deliver
    - cleanups and fixes

    x86:
    - IOMMU part of AMD's AVIC for vmexit-less interrupt delivery
    - Hyper-V TSC page
    - per-vcpu tsc_offset in debugfs
    - accelerated INS/OUTS in nVMX
    - cleanups and fixes"

    * tag 'kvm-4.9-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (140 commits)
    KVM: MIPS: Drop dubious EntryHi optimisation
    KVM: MIPS: Invalidate TLB by regenerating ASIDs
    KVM: MIPS: Split kernel/user ASID regeneration
    KVM: MIPS: Drop other CPU ASIDs on guest MMU changes
    KVM: arm/arm64: vgic: Don't flush/sync without a working vgic
    KVM: arm64: Require in-kernel irqchip for PMU support
    KVM: PPC: Book3s PR: Allow access to unprivileged MMCR2 register
    KVM: PPC: Book3S PR: Support 64kB page size on POWER8E and POWER8NVL
    KVM: PPC: Book3S: Remove duplicate setting of the B field in tlbie
    KVM: PPC: BookE: Fix a sanity check
    KVM: PPC: Book3S HV: Take out virtual core piggybacking code
    KVM: PPC: Book3S: Treat VTB as a per-subcore register, not per-thread
    ARM: gic-v3: Work around definition of gic_write_bpr1
    KVM: nVMX: Fix the NMI IDT-vectoring handling
    KVM: VMX: Enable MSR-BASED TPR shadow even if APICv is inactive
    KVM: nVMX: Fix reload apic access page warning
    kvmconfig: add virtio-gpu to config fragment
    config: move x86 kvm_guest.config to a common location
    arm64: KVM: Remove duplicating init code for setting VMID
    ARM: KVM: Support vgic-v3
    ...

    Linus Torvalds
     

23 Sep, 2016

1 commit

  • kvm_guest.config is useful for KVM guests on other arches, and nothing
    in it appears to be x86 specific, so just move the whole file. Kbuild
    will find it in either location.

    Signed-off-by: Rob Herring
    Cc: Christoffer Dall
    Cc: Marc Zyngier
    Cc: Paolo Bonzini
    Cc: "Radim Krčmář"
    Cc: kvmarm@lists.cs.columbia.edu
    Cc: kvm@vger.kernel.org
    Acked-by: Christoffer Dall
    Signed-off-by: Radim Krčmář

    Rob Herring
     

20 Sep, 2016

1 commit


05 Sep, 2016

1 commit


02 Sep, 2016

1 commit

  • Using "make tinyconfig" produces a couple of annoying warnings that show
    up for build test machines all the time:

    .config:966:warning: override: NOHIGHMEM changes choice state
    .config:965:warning: override: SLOB changes choice state
    .config:963:warning: override: KERNEL_XZ changes choice state
    .config:962:warning: override: CC_OPTIMIZE_FOR_SIZE changes choice state
    .config:933:warning: override: SLOB changes choice state
    .config:930:warning: override: CC_OPTIMIZE_FOR_SIZE changes choice state
    .config:870:warning: override: SLOB changes choice state
    .config:868:warning: override: KERNEL_XZ changes choice state
    .config:867:warning: override: CC_OPTIMIZE_FOR_SIZE changes choice state

    I've made a previous attempt at fixing them and we discussed a number of
    alternatives.

    I tried changing the Makefile to use "merge_config.sh -n
    $(fragment-list)" but couldn't get that to work properly.

    This is yet another approach, based on the observation that we do want
    to see a warning for conflicting 'choice' options, and that we can
    simply make them non-conflicting by listing all other options as
    disabled. This is a trivial patch that we can apply independent of
    plans for other changes.

    Link: http://lkml.kernel.org/r/20160829214952.1334674-2-arnd@arndb.de
    Link: https://storage.kernelci.org/mainline/v4.7-rc6/x86-tinyconfig/build.log
    https://patchwork.kernel.org/patch/9212749/
    Signed-off-by: Arnd Bergmann
    Reviewed-by: Josh Triplett
    Reviewed-by: Masahiro Yamada
    Acked-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arnd Bergmann
     

24 May, 2016

1 commit


17 May, 2016

1 commit


11 May, 2016

1 commit

  • "make defconfig kvmconfig" is supposed to end up with usable kernel for
    KVM guest. In practice, it won't work for e.g. Hetzner VPS (KVM-based)
    unless you add these options.

    Signed-off-by: Andrey Utkin
    Signed-off-by: Paolo Bonzini

    Andrey Utkin
     

19 Apr, 2016

1 commit


18 Mar, 2016

1 commit

  • Pull security layer updates from James Morris:
    "There are a bunch of fixes to the TPM, IMA, and Keys code, with minor
    fixes scattered across the subsystem.

    IMA now requires signed policy, and that policy is also now measured
    and appraised"

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: (67 commits)
    X.509: Make algo identifiers text instead of enum
    akcipher: Move the RSA DER encoding check to the crypto layer
    crypto: Add hash param to pkcs1pad
    sign-file: fix build with CMS support disabled
    MAINTAINERS: update tpmdd urls
    MODSIGN: linux/string.h should be #included to get memcpy()
    certs: Fix misaligned data in extra certificate list
    X.509: Handle midnight alternative notation in GeneralizedTime
    X.509: Support leap seconds
    Handle ISO 8601 leap seconds and encodings of midnight in mktime64()
    X.509: Fix leap year handling again
    PKCS#7: fix unitialized boolean 'want'
    firmware: change kernel read fail to dev_dbg()
    KEYS: Use the symbol value for list size, updated by scripts/insert-sys-cert
    KEYS: Reserve an extra certificate symbol for inserting without recompiling
    modsign: hide openssl output in silent builds
    tpm_tis: fix build warning with tpm_tis_resume
    ima: require signed IMA policy
    ima: measure and appraise the IMA policy itself
    ima: load policy using path
    ...

    Linus Torvalds
     

09 Mar, 2016

1 commit


10 Feb, 2016

1 commit

  • CONFIG_KEYS_DEBUG_PROC_KEYS is no longer an option as /proc/keys is now
    mandatory if the keyrings facility is enabled (it's used by libkeyutils in
    userspace).

    The defconfig references were removed with:

    perl -p -i -e 's/CONFIG_KEYS_DEBUG_PROC_KEYS=y\n//' \
    `git grep -l CONFIG_KEYS_DEBUG_PROC_KEYS=y`

    and the integrity Kconfig fixed by hand.

    Signed-off-by: David Howells
    cc: Andreas Ziegler
    cc: Dmitry Kasatkin

    David Howells
     

05 Sep, 2015

1 commit

  • Pull drm updates from Dave Airlie:
    "This is the main pull request for the drm for 4.3. Nouveau is
    probably the biggest amount of changes in here, since it missed 4.2.
    Highlights below, along with the usual bunch of fixes.

    All stuff outside drm should have applicable acks.

    Highlights:

    - new drivers:
    freescale dcu kms driver

    - core:
    more atomic fixes
    disable some dri1 interfaces on kms drivers
    drop fb panic handling, this was just getting more broken, as more locking was required.
    new core fbdev Kconfig support - instead of each driver enable/disabling it
    struct_mutex cleanups

    - panel:
    more new panels
    cleanup Kconfig

    - i915:
    Skylake support enabled by default
    legacy modesetting using atomic infrastructure
    Skylake fixes
    GEN9 workarounds

    - amdgpu:
    Fiji support
    CGS support for amdgpu
    Initial GPU scheduler - off by default
    Lots of bug fixes and optimisations.

    - radeon:
    DP fixes
    misc fixes

    - amdkfd:
    Add Carrizo support for amdkfd using amdgpu.

    - nouveau:
    long pending cleanup to complete driver,
    fully bisectable which makes it larger,
    perfmon work
    more reclocking improvements
    maxwell displayport fixes

    - vmwgfx:
    new DX device support, supports OpenGL 3.3
    screen targets support

    - mgag200:
    G200eW support
    G200e new revision support

    - msm:
    dragonboard 410c support, msm8x94 support, msm8x74v1 support
    yuv format support
    dma plane support
    mdp5 rotation
    initial hdcp

    - sti:
    atomic support

    - exynos:
    lots of cleanups
    atomic modesetting/pageflipping support
    render node support

    - tegra:
    tegra210 support (dc, dsi, dp/hdmi)
    dpms with atomic modesetting support

    - atmel:
    support for 3 more atmel SoCs
    new input formats, PRIME support.

    - dwhdmi:
    preparing to add audio support

    - rockchip:
    yuv plane support"

    * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (1369 commits)
    drm/amdgpu: rename gmc_v8_0_init_compute_vmid
    drm/amdgpu: fix vce3 instance handling
    drm/amdgpu: remove ib test for the second VCE Ring
    drm/amdgpu: properly enable VM fault interrupts
    drm/amdgpu: fix warning in scheduler
    drm/amdgpu: fix buffer placement under memory pressure
    drm/amdgpu/cz: fix cz_dpm_update_low_memory_pstate logic
    drm/amdgpu: fix typo in dce11 watermark setup
    drm/amdgpu: fix typo in dce10 watermark setup
    drm/amdgpu: use top down allocation for non-CPU accessible vram
    drm/amdgpu: be explicit about cpu vram access for driver BOs (v2)
    drm/amdgpu: set MEC doorbell range for Fiji
    drm/amdgpu: implement burst NOP for SDMA
    drm/amdgpu: add insert_nop ring func and default implementation
    drm/amdgpu: add amdgpu_get_sdma_instance helper function
    drm/amdgpu: add AMDGPU_MAX_SDMA_INSTANCES
    drm/amdgpu: add burst_nop flag for sdma
    drm/amdgpu: add count field for the SDMA NOP packet v2
    drm/amdgpu: use PT for VM sync on unmap
    drm/amdgpu: make wait_event uninterruptible in push_job
    ...

    Linus Torvalds
     

12 Aug, 2015

1 commit

  • Enable CONFIG_JUMP_LABEL in the defconfigs, the feature already deals with
    GCC not having the asm-goto feature so will not break the build on
    older compilers.

    Having it enabled generates a faster kernel at very little extra cost
    since we already include all the code patching code by having KPROBES
    enabled.

    Signed-off-by: Peter Zijlstra (Intel)
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Ingo Molnar

    Peter Zijlstra
     

15 Jul, 2015

1 commit

  • Backmerge fixes since it's getting out of hand again with the massive
    split due to atomic between -next and 4.2-rc. All the bugfixes in
    4.2-rc are addressed already (by converting more towards atomic
    instead of minimal duct-tape) so just always pick the version in next
    for the conflicts in modeset code.

    All the other conflicts are just adjacent lines changed.

    Conflicts:
    drivers/gpu/drm/i915/i915_drv.h
    drivers/gpu/drm/i915/i915_gem_gtt.c
    drivers/gpu/drm/i915/intel_display.c
    drivers/gpu/drm/i915/intel_drv.h
    drivers/gpu/drm/i915/intel_ringbuffer.h

    Signed-off-by: Daniel Vetter

    Daniel Vetter
     

22 Jun, 2015

1 commit

  • Since we only support modesetting by default (disabling modesetting on
    the command line prevents i915.ko from loading), having a parameter to
    disable modesstting by default is superfluous, i.e. saying
    CONFIG_DRM_I915_KMS=n is equivalent to CONFIG_DRM_I915=n.

    Signed-off-by: Chris Wilson
    Cc: Daniel Veter
    Reviewed-by: Damien Lespiau
    Signed-off-by: Daniel Vetter

    Chris Wilson
     

16 Jun, 2015

1 commit

  • This lets you build a kernel which can support xen dom0
    or xen guests on i386, x86-64 and arm64 by just using:

    make xenconfig

    You can start from an allnoconfig and then switch to xenconfig.
    This also splits out the options which are available currently
    to be built with x86 and 'make ARCH=arm64' under a shared config.

    Technically xen supports a dom0 kernel and also a guest
    kernel configuration but upon review with the xen team
    since we don't have many dom0 options its best to just
    combine these two into one.

    A few generic notes: we enable both of these:

    CONFIG_INET=y
    CONFIG_BINFMT_ELF=y

    although technically not required given you likely will
    end up with a pretty useless system otherwise.

    A few architectural differences worth noting:

    $ make allnoconfig; make xenconfig > /dev/null ; \
    grep XEN .config > 64-bit-config
    $ make ARCH=i386 allnoconfig; make ARCH=i386 xenconfig > /dev/null; \
    grep XEN .config > 32-bit-config
    $ make ARCH=arm64 allnoconfig; make ARCH=arm64 xenconfig > /dev/null; \
    grep XEN .config > arm64-config

    Since the options are already split up with a generic config and
    architecture specific configs you anything on the x86 configs
    are known to only work right now on x86. For instance arm64 doesn't
    support MEMORY_HOTPLUG yet as such although we try to enabe it
    generically arm64 doesn't have it yet, so we leave the xen
    specific kconfig option XEN_BALLOON_MEMORY_HOTPLUG on x86's config
    file to set expecations correctly.

    Then on x86 we have differences between i386 and x86-64. The difference
    between 64-bit-config and 32-bit-config is you don't get XEN_MCE_LOG as
    this is only supported on 64-bit. You also do not get on i386
    XEN_BALLOON_MEMORY_HOTPLUG, there does not seem to be any technical
    reasons to not allow this but I gave up after a few attempts.

    Cc: Josh Triplett
    Cc: Borislav Petkov
    Cc: Pekka Enberg
    Cc: David Rientjes
    Cc: Michal Marek
    Cc: Randy Dunlap
    Cc: penberg@kernel.org
    Cc: levinsasha928@gmail.com
    Cc: mtosatti@redhat.com
    Cc: fengguang.wu@intel.com
    Cc: David Vrabel
    Cc: Ian Campbell
    Cc: Konrad Rzeszutek Wilk
    Cc: xen-devel@lists.xenproject.org
    Acked-by: Stefano Stabellini
    Acked-by: Julien Grall
    Acked-by: Michal Marek
    Acked-by: David Rientjes
    Reviewed-by: Josh Triplett
    Signed-off-by: Luis R. Rodriguez
    Signed-off-by: David Vrabel

    Luis R. Rodriguez
     

19 Feb, 2015

1 commit

  • Some Gentoo users are encountering problems because
    USB_EHCI_TT_NEWSCHED isn't set in the defconfig (and Gentoo
    differs from other distros in not providing a distro .config).
    Alan Stern has said there's no reason to not set it, and the
    ability to turn it off at all should probably be yanked:

    http://article.gmane.org/gmane.linux.usb.general/119920

    This addresses issue:

    https://bugs.gentoo.org/show_bug.cgi?id=533472

    (The problem also theoretically affects the sh, arm, mips,
    powerpc, and sparc archs, but those would be other patches if
    this one that fixes 98% of the problem is accepted).

    Signed-off-by: Valdis Kletnieks
    Acked-by: Alan Stern
    Signed-off-by: Ingo Molnar

    Valdis Kletnieks
     

08 Dec, 2014

1 commit

  • systemd has a hard dependency on CONFIG_FHANDLE.
    If you run systemd with CONFIG_FHANDLE=n it will somehow
    boot but fail to spawn a getty or other basic services.
    As systemd is now used by most x86 distributions it
    makes sense to enabled this by default and save kernel
    hackers a lot of value debugging time.

    Signed-off-by: Richard Weinberger
    Cc: gregkh@linuxfoundation.org
    Cc: rafael.j.wysocki@intel.com
    Cc: pebolle@tiscali.nl
    Cc: Linus Torvalds
    Cc: Andrew Morton
    Link: http://lkml.kernel.org/r/1416958612-7448-1-git-send-email-richard@nod.at
    Signed-off-by: Ingo Molnar

    Richard Weinberger
     

09 Aug, 2014

1 commit

  • Since commit 5d2acfc7b974bbd3858b4dd3f2cdc6362dd8843a ("kconfig: make
    allnoconfig disable options behind EMBEDDED and EXPERT") in 3.15-rc1,
    "make allnoconfig" disables every possible config option.

    However, a few configuration options (CC_OPTIMIZE_FOR_SIZE,
    OPTIMIZE_INLINING) produce a smaller kernel when turned on, and a few
    choices exist (compression, highmem, allocator) for which a non-default
    option produces a smaller kernel.

    Add a "tinyconfig" option, which starts from allnoconfig and then sets
    these options to configure the tiniest possible kernel. This provides a
    better baseline for embedded systems or efforts to reduce kernel size.

    Signed-off-by: Josh Triplett

    Josh Triplett
     

29 May, 2014

1 commit


19 Feb, 2014

1 commit

  • Nothing cares about ACPI_PROCFS. This has been the case since v2.6.38.
    This Kconfig symbol serves no purpose and its help text is now
    misleading. It can safely be removed. If this symbol would be needed
    again in the future it can be readded in a commit that adds code that
    actually uses it.

    Signed-off-by: Paul Bolle
    Signed-off-by: Rafael J. Wysocki

    Paul Bolle
     

05 Nov, 2013

1 commit

  • The defconfig kernel can not run under neither fedora16 x86_64 laptop
    nor fedora17 x86_64 pc. After enable DEVTMPFS* in x86_64_defconfig, it
    will be OK.

    DEVTMPFS* is only related with software, so for i386_defconfig may also
    need them (at least, it has no negative effect for defconfig).

    Signed-off-by: Chen Gang
    Link: http://lkml.kernel.org/r/52784DFF.8040004@asianux.com
    Signed-off-by: H. Peter Anvin

    Chen Gang
     

28 May, 2013

1 commit

  • Add an config file snippet which enables additional options
    useful for running the kernel in a kvm guest. When you execute
    'make kvmconfig' it merges those options with an already
    existing user config before you build the kernel.

    Based on an patch from the external lkvm tree.

    Signed-off-by: Borislav Petkov
    Acked-by: Pekka Enberg
    Cc: David Rientjes
    Cc: Michal Marek
    Cc: Randy Dunlap
    Cc: penberg@kernel.org
    Cc: levinsasha928@gmail.com
    Cc: mtosatti@redhat.com
    Cc: fengguang.wu@intel.com
    Link: http://lkml.kernel.org/r/20130522144638.GB15085@pd.tnic
    Signed-off-by: Ingo Molnar

    Borislav Petkov