01 Apr, 2020

1 commit

  • Pull x86 cleanups from Ingo Molnar:
    "This topic tree contains more commits than usual:

    - most of it are uaccess cleanups/reorganization by Al

    - there's a bunch of prototype declaration (--Wmissing-prototypes)
    cleanups

    - misc other cleanups all around the map"

    * 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (36 commits)
    x86/mm/set_memory: Fix -Wmissing-prototypes warnings
    x86/efi: Add a prototype for efi_arch_mem_reserve()
    x86/mm: Mark setup_emu2phys_nid() static
    x86/jump_label: Move 'inline' keyword placement
    x86/platform/uv: Add a missing prototype for uv_bau_message_interrupt()
    kill uaccess_try()
    x86: unsafe_put-style macro for sigmask
    x86: x32_setup_rt_frame(): consolidate uaccess areas
    x86: __setup_rt_frame(): consolidate uaccess areas
    x86: __setup_frame(): consolidate uaccess areas
    x86: setup_sigcontext(): list user_access_{begin,end}() into callers
    x86: get rid of put_user_try in __setup_rt_frame() (both 32bit and 64bit)
    x86: ia32_setup_rt_frame(): consolidate uaccess areas
    x86: ia32_setup_frame(): consolidate uaccess areas
    x86: ia32_setup_sigcontext(): lift user_access_{begin,end}() into the callers
    x86/alternatives: Mark text_poke_loc_init() static
    x86/cpu: Fix a -Wmissing-prototypes warning for init_ia32_feat_ctl()
    x86/mm: Drop pud_mknotpresent()
    x86: Replace setup_irq() by request_irq()
    x86/configs: Slightly reduce defconfigs
    ...

    Linus Torvalds
     

31 Mar, 2020

1 commit

  • Pull EFI updates from Ingo Molnar:
    "The EFI changes in this cycle are much larger than usual, for two
    (positive) reasons:

    - The GRUB project is showing signs of life again, resulting in the
    introduction of the generic Linux/UEFI boot protocol, instead of
    x86 specific hacks which are increasingly difficult to maintain.
    There's hope that all future extensions will now go through that
    boot protocol.

    - Preparatory work for RISC-V EFI support.

    The main changes are:

    - Boot time GDT handling changes

    - Simplify handling of EFI properties table on arm64

    - Generic EFI stub cleanups, to improve command line handling, file
    I/O, memory allocation, etc.

    - Introduce a generic initrd loading method based on calling back
    into the firmware, instead of relying on the x86 EFI handover
    protocol or device tree.

    - Introduce a mixed mode boot method that does not rely on the x86
    EFI handover protocol either, and could potentially be adopted by
    other architectures (if another one ever surfaces where one
    execution mode is a superset of another)

    - Clean up the contents of 'struct efi', and move out everything that
    doesn't need to be stored there.

    - Incorporate support for UEFI spec v2.8A changes that permit
    firmware implementations to return EFI_UNSUPPORTED from UEFI
    runtime services at OS runtime, and expose a mask of which ones are
    supported or unsupported via a configuration table.

    - Partial fix for the lack of by-VA cache maintenance in the
    decompressor on 32-bit ARM.

    - Changes to load device firmware from EFI boot service memory
    regions

    - Various documentation updates and minor code cleanups and fixes"

    * 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (114 commits)
    efi/libstub/arm: Fix spurious message that an initrd was loaded
    efi/libstub/arm64: Avoid image_base value from efi_loaded_image
    partitions/efi: Fix partition name parsing in GUID partition entry
    efi/x86: Fix cast of image argument
    efi/libstub/x86: Use ULONG_MAX as upper bound for all allocations
    efi: Fix a mistype in comments mentioning efivar_entry_iter_begin()
    efi/libstub: Avoid linking libstub/lib-ksyms.o into vmlinux
    efi/x86: Preserve %ebx correctly in efi_set_virtual_address_map()
    efi/x86: Ignore the memory attributes table on i386
    efi/x86: Don't relocate the kernel unless necessary
    efi/x86: Remove extra headroom for setup block
    efi/x86: Add kernel preferred address to PE header
    efi/x86: Decompress at start of PE image load address
    x86/boot/compressed/32: Save the output address instead of recalculating it
    efi/libstub/x86: Deal with exit() boot service returning
    x86/boot: Use unsigned comparison for addresses
    efi/x86: Avoid using code32_start
    efi/x86: Make efi32_pe_entry() more readable
    efi/x86: Respect 32-bit ABI in efi32_pe_entry()
    efi/x86: Annotate the LOADED_IMAGE_PROTOCOL_GUID with SYM_DATA
    ...

    Linus Torvalds
     

28 Mar, 2020

1 commit

  • Provide more information about __ex_table sorting post link.

    The exception tables and fixup tables use a commonly recurring pattern
    in the kernel of storing the address of labels as date in custom ELF
    sections, then finding these sections, iterating elements within them,
    and possibly revisiting them or modifying the data at these addresses.

    Sorting readonly arrays to minimize runtime penalties is quite clever.

    Suggested-by: H. Peter Anvin
    Signed-off-by: Nick Desaulniers
    Link: https://lore.kernel.org/r/20200327000951.84071-1-ndesaulniers@google.com
    Signed-off-by: Jonathan Corbet

    Nick Desaulniers
     

27 Mar, 2020

1 commit


21 Mar, 2020

1 commit

  • Changeset 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst")
    enabled a new feature at Sphinx: it will now generate index for each
    document title, plus to each chapter inside it.

    There's a drawback, though: one document cannot have two sections
    with the same name anymore.

    A followup patch will change the logic of autosectionlabel to
    avoid most creating references for every single section title,
    but still we need to be able to reference the chapters inside
    a document.

    There are a few places where there are two chapters with the
    same name. This patch renames one of the chapters, in order to
    avoid symbol conflict within the same document.

    PS.: as I don't speach Chinese, I had some help from a friend
    (Wen Liu) at the Chinese translation for "publishing patches"
    for this document:

    Documentation/translations/zh_CN/process/5.Posting.rst

    Fixes: 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst")
    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/2bffb91e4a63d41bf5fae1c23e1e8b3bba0b8806.1584716446.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

08 Mar, 2020

1 commit


25 Feb, 2020

1 commit

  • MPX was removed in commit 45fc24e89b7c ("x86/mpx: remove MPX from
    arch/x86"), this removes the corresponding entry in the x86 toc.

    This was suggested by a Sphinx warning.

    Signed-off-by: Stephen Kitt
    Fixes: 45fc24e89b7cc ("x86/mpx: remove MPX from arch/x86")
    Acked-by: Dave Hansen
    Signed-off-by: Jonathan Corbet

    Stephen Kitt
     

23 Feb, 2020

1 commit

  • Commit a24e785111a3 ("i386: paravirt boot sequence") added this flag for
    use by paravirtualized environments such as Xen. However, Xen never made
    use of this flag [1], and it was only ever used by lguest [2].

    Commit ecda85e70277 ("x86/lguest: Remove lguest support") removed
    lguest, so KEEP_SEGMENTS has lost its last user.

    [1] https://lore.kernel.org/lkml/4D4B097C.5050405@goop.org
    [2] https://www.mail-archive.com/lguest@lists.ozlabs.org/msg00469.html

    Signed-off-by: Arvind Sankar
    Link: https://lore.kernel.org/r/20200202171353.3736319-2-nivedita@alum.mit.edu
    Signed-off-by: Ard Biesheuvel

    Arvind Sankar
     

31 Jan, 2020

1 commit

  • Pull x86 MPX removal from Dave Hansen:
    "MPX requires recompiling applications, which requires compiler
    support. Unfortunately, GCC 9.1 is expected to be be released without
    support for MPX. This means that there was only a relatively small
    window where folks could have ever used MPX. It failed to gain wide
    adoption in the industry, and Linux was the only mainstream OS to ever
    support it widely.

    Support for the feature may also disappear on future processors.

    This set completes the process that we started during the 5.4 merge
    window when the MPX prctl()s were removed. XSAVE support is left in
    place, which allows MPX-using KVM guests to continue to function"

    * tag 'mpx-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/daveh/x86-mpx:
    x86/mpx: remove MPX from arch/x86
    mm: remove arch_bprm_mm_init() hook
    x86/mpx: remove bounds exception code
    x86/mpx: remove build infrastructure
    x86/alternatives: add missing insn.h include

    Linus Torvalds
     

30 Jan, 2020

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "It has been a relatively quiet cycle for documentation, but there's
    still a couple of things of note:

    - Conversion of the NFS documentation to RST

    - A new document on how to help with documentation (and a maintainer
    profile entry too)

    Plus the usual collection of typo fixes, etc"

    * tag 'docs-5.6' of git://git.lwn.net/linux: (40 commits)
    docs: filesystems: add overlayfs to index.rst
    docs: usb: remove some broken references
    scripts/find-unused-docs: Fix massive false positives
    docs: nvdimm: use ReST notation for subsection
    zram: correct documentation about sysfs node of huge page writeback
    Documentation: zram: various fixes in zram.rst
    Add a maintainer entry profile for documentation
    Add a document on how to contribute to the documentation
    docs: Keep up with the location of NoUri
    Documentation: Call out example SYM_FUNC_* usage as x86-specific
    Documentation: nfs: fault_injection: convert to ReST
    Documentation: nfs: pnfs-scsi-server: convert to ReST
    Documentation: nfs: convert pnfs-block-server to ReST
    Documentation: nfs: idmapper: convert to ReST
    Documentation: convert nfsd-admin-interfaces to ReST
    Documentation: nfs-rdma: convert to ReST
    Documentation: nfsroot.rst: COSMETIC: refill a paragraph
    Documentation: nfsroot.txt: convert to ReST
    Documentation: convert nfs.txt to ReST
    Documentation: filesystems: convert vfat.txt to RST
    ...

    Linus Torvalds
     

29 Jan, 2020

1 commit

  • Pull x86 cleanups from Ingo Molnar:
    "Misc cleanups all around the map"

    * 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/CPU/AMD: Remove amd_get_topology_early()
    x86/tsc: Remove redundant assignment
    x86/crash: Use resource_size()
    x86/cpu: Add a missing prototype for arch_smt_update()
    x86/nospec: Remove unused RSB_FILL_LOOPS
    x86/vdso: Provide missing include file
    x86/Kconfig: Correct spelling and punctuation
    Documentation/x86/boot: Fix typo
    x86/boot: Fix a comment's incorrect file reference
    x86/process: Remove set but not used variables prev and next
    x86/Kconfig: Fix Kconfig indentation

    Linus Torvalds
     

24 Jan, 2020

1 commit

  • From: Dave Hansen

    MPX is being removed from the kernel due to a lack of support
    in the toolchain going forward (gcc).

    This removes all the remaining (dead at this point) MPX handling
    code remaining in the tree. The only remaining code is the XSAVE
    support for MPX state which is currently needd for KVM to handle
    VMs which might use MPX.

    Cc: Peter Zijlstra (Intel)
    Cc: Andy Lutomirski
    Cc: x86@kernel.org
    Cc: Linus Torvalds
    Cc: Andrew Morton
    Signed-off-by: Dave Hansen

    Dave Hansen
     

11 Jan, 2020

1 commit


06 Jan, 2020

1 commit


31 Dec, 2019

1 commit


20 Dec, 2019

1 commit

  • Fix a Sphinx documentation format warning by breaking a long line
    into 2 lines.

    Also drop the ':' usage after the Protocol version numbers since
    other Protocol versions don't use colons.

    Documentation/x86/boot.rst:72: WARNING: Malformed table.
    Text in column margin in table line 57.

    Fixes: 2c33c27fd603 ("x86/boot: Introduce kernel_info")
    Fixes: 00cd1c154d56 ("x86/boot: Introduce kernel_info.setup_type_max")
    Signed-off-by: Randy Dunlap
    Reviewed-by: Daniel Kiper
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: Borislav Petkov
    Cc: "H. Peter Anvin"
    Link: https://lore.kernel.org/r/c6fbf592-0aca-69d9-e903-e869221a041a@infradead.org
    Signed-off-by: Jonathan Corbet

    Randy Dunlap
     

18 Dec, 2019

1 commit

  • s/Fileds/Fields/g

    Signed-off-by: Enrico Weigelt, metux IT consult
    Signed-off-by: Borislav Petkov
    Cc: "H. Peter Anvin"
    Cc: Ingo Molnar
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Thomas Gleixner
    Cc: x86-ml
    Link: https://lkml.kernel.org/r/20191203113314.26810-1-info@metux.net

    Enrico Weigelt
     

27 Nov, 2019

1 commit

  • Pull x86 boot updates from Ingo Molnar:
    "The main changes were:

    - Extend the boot protocol to allow future extensions without hitting
    the setup_header size limit.

    - Add quirk to devicetree systems to disable the RTC unless it's
    listed as a supported device.

    - Fix ld.lld linker pedantry"

    * 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/boot: Introduce setup_indirect
    x86/boot: Introduce kernel_info.setup_type_max
    x86/boot: Introduce kernel_info
    x86/init: Allow DT configured systems to disable RTC at boot time
    x86/realmode: Explicitly set entry point via ENTRY in linker script

    Linus Torvalds
     

12 Nov, 2019

3 commits

  • The setup_data is a bit awkward to use for extremely large data objects,
    both because the setup_data header has to be adjacent to the data object
    and because it has a 32-bit length field. However, it is important that
    intermediate stages of the boot process have a way to identify which
    chunks of memory are occupied by kernel data. Thus introduce an uniform
    way to specify such indirect data as setup_indirect struct and
    SETUP_INDIRECT type.

    And finally bump setup_header version in arch/x86/boot/header.S.

    Suggested-by: H. Peter Anvin (Intel)
    Signed-off-by: Daniel Kiper
    Signed-off-by: Borislav Petkov
    Reviewed-by: Ross Philipson
    Reviewed-by: H. Peter Anvin (Intel)
    Acked-by: Konrad Rzeszutek Wilk
    Cc: Andy Lutomirski
    Cc: ard.biesheuvel@linaro.org
    Cc: Boris Ostrovsky
    Cc: dave.hansen@linux.intel.com
    Cc: eric.snowberg@oracle.com
    Cc: Ingo Molnar
    Cc: Jonathan Corbet
    Cc: Juergen Gross
    Cc: kanth.ghatraju@oracle.com
    Cc: linux-doc@vger.kernel.org
    Cc: linux-efi
    Cc: Peter Zijlstra
    Cc: rdunlap@infradead.org
    Cc: ross.philipson@oracle.com
    Cc: Thomas Gleixner
    Cc: x86-ml
    Cc: xen-devel@lists.xenproject.org
    Link: https://lkml.kernel.org/r/20191112134640.16035-4-daniel.kiper@oracle.com

    Daniel Kiper
     
  • This field contains maximal allowed type for setup_data.

    Do not bump setup_header version in arch/x86/boot/header.S because it
    will be followed by additional changes coming into the Linux/x86 boot
    protocol.

    Suggested-by: H. Peter Anvin (Intel)
    Signed-off-by: Daniel Kiper
    Signed-off-by: Borislav Petkov
    Reviewed-by: Konrad Rzeszutek Wilk
    Reviewed-by: Ross Philipson
    Reviewed-by: H. Peter Anvin (Intel)
    Cc: Andy Lutomirski
    Cc: ard.biesheuvel@linaro.org
    Cc: Boris Ostrovsky
    Cc: dave.hansen@linux.intel.com
    Cc: eric.snowberg@oracle.com
    Cc: Ingo Molnar
    Cc: Jonathan Corbet
    Cc: Juergen Gross
    Cc: kanth.ghatraju@oracle.com
    Cc: linux-doc@vger.kernel.org
    Cc: linux-efi
    Cc: Peter Zijlstra
    Cc: rdunlap@infradead.org
    Cc: ross.philipson@oracle.com
    Cc: Thomas Gleixner
    Cc: x86-ml
    Cc: xen-devel@lists.xenproject.org
    Link: https://lkml.kernel.org/r/20191112134640.16035-3-daniel.kiper@oracle.com

    Daniel Kiper
     
  • The relationships between the headers are analogous to the various data
    sections:

    setup_header = .data
    boot_params/setup_data = .bss

    What is missing from the above list? That's right:

    kernel_info = .rodata

    We have been (ab)using .data for things that could go into .rodata or .bss for
    a long time, for lack of alternatives and -- especially early on -- inertia.
    Also, the BIOS stub is responsible for creating boot_params, so it isn't
    available to a BIOS-based loader (setup_data is, though).

    setup_header is permanently limited to 144 bytes due to the reach of the
    2-byte jump field, which doubles as a length field for the structure, combined
    with the size of the "hole" in struct boot_params that a protected-mode loader
    or the BIOS stub has to copy it into. It is currently 119 bytes long, which
    leaves us with 25 very precious bytes. This isn't something that can be fixed
    without revising the boot protocol entirely, breaking backwards compatibility.

    boot_params proper is limited to 4096 bytes, but can be arbitrarily extended
    by adding setup_data entries. It cannot be used to communicate properties of
    the kernel image, because it is .bss and has no image-provided content.

    kernel_info solves this by providing an extensible place for information about
    the kernel image. It is readonly, because the kernel cannot rely on a
    bootloader copying its contents anywhere, but that is OK; if it becomes
    necessary it can still contain data items that an enabled bootloader would be
    expected to copy into a setup_data chunk.

    Do not bump setup_header version in arch/x86/boot/header.S because it
    will be followed by additional changes coming into the Linux/x86 boot
    protocol.

    Suggested-by: H. Peter Anvin (Intel)
    Signed-off-by: Daniel Kiper
    Signed-off-by: Borislav Petkov
    Reviewed-by: Konrad Rzeszutek Wilk
    Reviewed-by: Ross Philipson
    Reviewed-by: H. Peter Anvin (Intel)
    Cc: Andy Lutomirski
    Cc: ard.biesheuvel@linaro.org
    Cc: Boris Ostrovsky
    Cc: dave.hansen@linux.intel.com
    Cc: eric.snowberg@oracle.com
    Cc: Ingo Molnar
    Cc: Jonathan Corbet
    Cc: Juergen Gross
    Cc: kanth.ghatraju@oracle.com
    Cc: linux-doc@vger.kernel.org
    Cc: linux-efi
    Cc: Peter Zijlstra
    Cc: rdunlap@infradead.org
    Cc: ross.philipson@oracle.com
    Cc: Thomas Gleixner
    Cc: x86-ml
    Cc: xen-devel@lists.xenproject.org
    Link: https://lkml.kernel.org/r/20191112134640.16035-2-daniel.kiper@oracle.com

    Daniel Kiper
     

28 Oct, 2019

1 commit

  • Add the documenation for TSX Async Abort. Include the description of
    the issue, how to check the mitigation state, control the mitigation,
    guidance for system administrators.

    [ bp: Add proper SPDX tags, touch ups by Josh and me. ]

    Co-developed-by: Antonio Gomez Iglesias

    Signed-off-by: Pawan Gupta
    Signed-off-by: Antonio Gomez Iglesias
    Signed-off-by: Borislav Petkov
    Signed-off-by: Thomas Gleixner
    Reviewed-by: Mark Gross
    Reviewed-by: Tony Luck
    Reviewed-by: Josh Poimboeuf

    Pawan Gupta
     

03 Sep, 2019

1 commit

  • After commit cf65a0f6f6ff ("dma-mapping: move all DMA mapping code to
    kernel/dma") some of the files are referring to outdated information,
    i.e. old file names of DMA mapping sources. Fix it here.

    Note, the lines with "Glue code for..." have been removed completely.

    Signed-off-by: Andy Shevchenko
    Signed-off-by: Christoph Hellwig

    Andy Shevchenko
     

17 Jul, 2019

1 commit


15 Jul, 2019

3 commits


10 Jul, 2019

1 commit

  • Pull Documentation updates from Jonathan Corbet:
    "It's been a relatively busy cycle for docs:

    - A fair pile of RST conversions, many from Mauro. These create more
    than the usual number of simple but annoying merge conflicts with
    other trees, unfortunately. He has a lot more of these waiting on
    the wings that, I think, will go to you directly later on.

    - A new document on how to use merges and rebases in kernel repos,
    and one on Spectre vulnerabilities.

    - Various improvements to the build system, including automatic
    markup of function() references because some people, for reasons I
    will never understand, were of the opinion that
    :c:func:``function()`` is unattractive and not fun to type.

    - We now recommend using sphinx 1.7, but still support back to 1.4.

    - Lots of smaller improvements, warning fixes, typo fixes, etc"

    * tag 'docs-5.3' of git://git.lwn.net/linux: (129 commits)
    docs: automarkup.py: ignore exceptions when seeking for xrefs
    docs: Move binderfs to admin-guide
    Disable Sphinx SmartyPants in HTML output
    doc: RCU callback locks need only _bh, not necessarily _irq
    docs: format kernel-parameters -- as code
    Doc : doc-guide : Fix a typo
    platform: x86: get rid of a non-existent document
    Add the RCU docs to the core-api manual
    Documentation: RCU: Add TOC tree hooks
    Documentation: RCU: Rename txt files to rst
    Documentation: RCU: Convert RCU UP systems to reST
    Documentation: RCU: Convert RCU linked list to reST
    Documentation: RCU: Convert RCU basic concepts to reST
    docs: filesystems: Remove uneeded .rst extension on toctables
    scripts/sphinx-pre-install: fix out-of-tree build
    docs: zh_CN: submitting-drivers.rst: Remove a duplicated Documentation/
    Documentation: PGP: update for newer HW devices
    Documentation: Add section about CPU vulnerabilities for Spectre
    Documentation: platform: Delete x86-laptop-drivers.txt
    docs: Note that :c:func: should no longer be used
    ...

    Linus Torvalds
     

09 Jul, 2019

2 commits

  • Pull cgroup updates from Tejun Heo:
    "Documentation updates and the addition of cgroup_parse_float() which
    will be used by new controllers including blk-iocost"

    * 'for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
    docs: cgroup-v1: convert docs to ReST and rename to *.rst
    cgroup: Move cgroup_parse_float() implementation out of CONFIG_SYSFS
    cgroup: add cgroup_parse_float()

    Linus Torvalds
     
  • Pull x86 topology updates from Ingo Molnar:
    "Implement multi-die topology support on Intel CPUs and expose the die
    topology to user-space tooling, by Len Brown, Kan Liang and Zhang Rui.

    These changes should have no effect on the kernel's existing
    understanding of topologies, i.e. there should be no behavioral impact
    on cache, NUMA, scheduler, perf and other topologies and overall
    system performance"

    * 'x86-topology-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    perf/x86/intel/rapl: Cosmetic rename internal variables in response to multi-die/pkg support
    perf/x86/intel/uncore: Cosmetic renames in response to multi-die/pkg support
    hwmon/coretemp: Cosmetic: Rename internal variables to zones from packages
    thermal/x86_pkg_temp_thermal: Cosmetic: Rename internal variables to zones from packages
    perf/x86/intel/cstate: Support multi-die/package
    perf/x86/intel/rapl: Support multi-die/package
    perf/x86/intel/uncore: Support multi-die/package
    topology: Create core_cpus and die_cpus sysfs attributes
    topology: Create package_cpus sysfs attribute
    hwmon/coretemp: Support multi-die/package
    powercap/intel_rapl: Update RAPL domain name and debug messages
    thermal/x86_pkg_temp_thermal: Support multi-die/package
    powercap/intel_rapl: Support multi-die/package
    powercap/intel_rapl: Simplify rapl_find_package()
    x86/topology: Define topology_logical_die_id()
    x86/topology: Define topology_die_id()
    cpu/topology: Export die_id
    x86/topology: Create topology_max_die_per_package()
    x86/topology: Add CPUID.1F multi-die/package support

    Linus Torvalds
     

21 Jun, 2019

4 commits


15 Jun, 2019

1 commit

  • Convert the cgroup-v1 files to ReST format, in order to
    allow a later addition to the admin-guide.

    The conversion is actually:
    - add blank lines and identation in order to identify paragraphs;
    - fix tables markups;
    - add some lists markups;
    - mark literal blocks;
    - adjust title markups.

    At its new index.rst, let's add a :orphan: while this is not linked to
    the main index.rst file, in order to avoid build warnings.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Tejun Heo
    Signed-off-by: Tejun Heo

    Mauro Carvalho Chehab
     

09 Jun, 2019

2 commits

  • Mostly due to x86 and acpi conversion, several documentation
    links are still pointing to the old file. Fix them.

    Signed-off-by: Mauro Carvalho Chehab
    Reviewed-by: Wolfram Sang
    Reviewed-by: Sven Van Asbroeck
    Reviewed-by: Bhupesh Sharma
    Acked-by: Mark Brown
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • This document is used by multiple architectures:

    $ echo $(git grep -l pkey_mprotect arch|cut -d'/' -f 2|sort|uniq)
    alpha arm arm64 ia64 m68k microblaze mips parisc powerpc s390 sh sparc x86 xtensa

    So, let's move it to the core book and adjust the links to it
    accordingly.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

24 May, 2019

1 commit

  • Signed-off-by: Ira Weiny
    Cc: Jonathan Corbet
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: linux-doc@vger.kernel.org
    Link: http://lkml.kernel.org/r/20190520205253.23762-1-ira.weiny@intel.com
    [ Adjusted the patch to the RST conversion. ]
    Signed-off-by: Ingo Molnar

    Ira Weiny
     

23 May, 2019

1 commit

  • Some new systems have multiple software-visible die within each package.

    Update Linux parsing of the Intel CPUID "Extended Topology Leaf" to handle
    either CPUID.B, or the new CPUID.1F.

    Add cpuinfo_x86.die_id and cpuinfo_x86.max_dies to store the result.

    die_id will be non-zero only for multi-die/package systems.

    Signed-off-by: Len Brown
    Signed-off-by: Thomas Gleixner
    Reviewed-by: Ingo Molnar
    Acked-by: Peter Zijlstra (Intel)
    Cc: linux-doc@vger.kernel.org
    Link: https://lkml.kernel.org/r/7b23d2d26d717b8e14ba137c94b70943f1ae4b5c.1557769318.git.len.brown@intel.com

    Len Brown
     

16 May, 2019

1 commit

  • On x86_64, all returns to usermode go through
    prepare_exit_to_usermode(), with the sole exception of do_nmi().
    This even includes machine checks -- this was added several years
    ago to support MCE recovery. Update the documentation.

    Signed-off-by: Andy Lutomirski
    Cc: Borislav Petkov
    Cc: Frederic Weisbecker
    Cc: Greg Kroah-Hartman
    Cc: Jon Masters
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: stable@vger.kernel.org
    Fixes: 04dcbdb80578 ("x86/speculation/mds: Clear CPU buffers on exit to user")
    Link: http://lkml.kernel.org/r/999fa9e126ba6a48e9d214d2f18dbde5c62ac55c.1557865329.git.luto@kernel.org
    Signed-off-by: Ingo Molnar

    Andy Lutomirski