17 Mar, 2019

1 commit

  • Pull more block layer changes from Jens Axboe:
    "This is a collection of both stragglers, and fixes that came in after
    I finalized the initial pull. This contains:

    - An MD pull request from Song, with a few minor fixes

    - Set of NVMe patches via Christoph

    - Pull request from Konrad, with a few fixes for xen/blkback

    - pblk fix IO calculation fix (Javier)

    - Segment calculation fix for pass-through (Ming)

    - Fallthrough annotation for blkcg (Mathieu)"

    * tag 'for-5.1/block-post-20190315' of git://git.kernel.dk/linux-block: (25 commits)
    blkcg: annotate implicit fall through
    nvme-tcp: support C2HData with SUCCESS flag
    nvmet: ignore EOPNOTSUPP for discard
    nvme: add proper write zeroes setup for the multipath device
    nvme: add proper discard setup for the multipath device
    nvme: remove nvme_ns_config_oncs
    nvme: disable Write Zeroes for qemu controllers
    nvmet-fc: bring Disconnect into compliance with FC-NVME spec
    nvmet-fc: fix issues with targetport assoc_list list walking
    nvme-fc: reject reconnect if io queue count is reduced to zero
    nvme-fc: fix numa_node when dev is null
    nvme-fc: use nr_phys_segments to determine existence of sgl
    nvme-loop: init nvmet_ctrl fatal_err_work when allocate
    nvme: update comment to make the code easier to read
    nvme: put ns_head ref if namespace fails allocation
    nvme-trace: fix cdw10 buffer overrun
    nvme: don't warn on block content change effects
    nvme: add get-feature to admin cmds tracer
    md: Fix failed allocation of md_register_thread
    It's wrong to add len to sector_nr in raid10 reshape twice
    ...

    Linus Torvalds
     

13 Mar, 2019

1 commit

  • When the Partial Parity Log is enabled, circular buffer is used to store
    PPL data. Each write to RAID device causes overwrite of data in this buffer
    so some write_hint can be set to those request to help drives handle
    garbage collection. This patch adds new sysfs attribute which can be used
    to specify which write_hint should be assigned to PPL.

    Acked-by: Guoqing Jiang
    Signed-off-by: Mariusz Dabrowski
    Signed-off-by: Song Liu

    Mariusz Dabrowski
     

11 Mar, 2019

2 commits

  • Pull watchdog core update from Thomas Gleixner:
    "A single commit adding a command line parameter which allows to set
    the watchdog threshold on the kernel command-line, so kernels with
    massive debug facilities enabled won't trigger the watchdog during
    early boot and before the threshold can be changed via sysctl"

    * 'core-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    watchdog/core: Add watchdog_thresh command line parameter

    Linus Torvalds
     
  • Pull arm64 updates from Catalin Marinas:

    - Pseudo NMI support for arm64 using GICv3 interrupt priorities

    - uaccess macros clean-up (unsafe user accessors also merged but
    reverted, waiting for objtool support on arm64)

    - ptrace regsets for Pointer Authentication (ARMv8.3) key management

    - inX() ordering w.r.t. delay() on arm64 and riscv (acks in place by
    the riscv maintainers)

    - arm64/perf updates: PMU bindings converted to json-schema, unused
    variable and misleading comment removed

    - arm64/debug fixes to ensure checking of the triggering exception
    level and to avoid the propagation of the UNKNOWN FAR value into the
    si_code for debug signals

    - Workaround for Fujitsu A64FX erratum 010001

    - lib/raid6 ARM NEON optimisations

    - NR_CPUS now defaults to 256 on arm64

    - Minor clean-ups (documentation/comments, Kconfig warning, unused
    asm-offsets, clang warnings)

    - MAINTAINERS update for list information to the ARM64 ACPI entry

    * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (54 commits)
    arm64: mmu: drop paging_init comments
    arm64: debug: Ensure debug handlers check triggering exception level
    arm64: debug: Don't propagate UNKNOWN FAR into si_code for debug signals
    Revert "arm64: uaccess: Implement unsafe accessors"
    arm64: avoid clang warning about self-assignment
    arm64: Kconfig.platforms: fix warning unmet direct dependencies
    lib/raid6: arm: optimize away a mask operation in NEON recovery routine
    lib/raid6: use vdupq_n_u8 to avoid endianness warnings
    arm64: io: Hook up __io_par() for inX() ordering
    riscv: io: Update __io_[p]ar() macros to take an argument
    asm-generic/io: Pass result of I/O accessor to __io_[p]ar()
    arm64: Add workaround for Fujitsu A64FX erratum 010001
    arm64: Rename get_thread_info()
    arm64: Remove documentation about TIF_USEDFPU
    arm64: irqflags: Fix clang build warnings
    arm64: Enable the support of pseudo-NMIs
    arm64: Skip irqflags tracing for NMI in IRQs disabled context
    arm64: Skip preemption when exiting an NMI
    arm64: Handle serror in NMI context
    irqchip/gic-v3: Allow interrupts to be set as pseudo-NMI
    ...

    Linus Torvalds
     

10 Mar, 2019

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "A fairly routine cycle for docs - lots of typo fixes, some new
    documents, and more translations. There's also some LICENSES
    adjustments from Thomas"

    * tag 'docs-5.1' of git://git.lwn.net/linux: (74 commits)
    docs: Bring some order to filesystem documentation
    Documentation/locking/lockdep: Drop last two chars of sample states
    doc: rcu: Suspicious RCU usage is a warning
    docs: driver-api: iio: fix errors in documentation
    Documentation/process/howto: Update for 4.x -> 5.x versioning
    docs: Explicitly state that the 'Fixes:' tag shouldn't split lines
    doc: security: Add kern-doc for lsm_hooks.h
    doc: sctp: Merge and clean up rst files
    Docs: Correct /proc/stat path
    scripts/spdxcheck.py: fix C++ comment style detection
    doc: fix typos in license-rules.rst
    Documentation: fix admin-guide/README.rst minimum gcc version requirement
    doc: process: complete removal of info about -git patches
    doc: translations: sync translations 'remove info about -git patches'
    perf-security: wrap paragraphs on 72 columns
    perf-security: elaborate on perf_events/Perf privileged users
    perf-security: document collected perf_events/Perf data categories
    perf-security: document perf_events/Perf resource control
    sysfs.txt: add note on available attribute macros
    docs: kernel-doc: typo "if ... if" -> "if ... is"
    ...

    Linus Torvalds
     

08 Mar, 2019

2 commits

  • Pull security subsystem updates from James Morris:

    - Extend LSM stacking to allow sharing of cred, file, ipc, inode, and
    task blobs. This paves the way for more full-featured LSMs to be
    merged, and is specifically aimed at LandLock and SARA LSMs. This
    work is from Casey and Kees.

    - There's a new LSM from Micah Morton: "SafeSetID gates the setid
    family of syscalls to restrict UID/GID transitions from a given
    UID/GID to only those approved by a system-wide whitelist." This
    feature is currently shipping in ChromeOS.

    * 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: (62 commits)
    keys: fix missing __user in KEYCTL_PKEY_QUERY
    LSM: Update list of SECURITYFS users in Kconfig
    LSM: Ignore "security=" when "lsm=" is specified
    LSM: Update function documentation for cap_capable
    security: mark expected switch fall-throughs and add a missing break
    tomoyo: Bump version.
    LSM: fix return value check in safesetid_init_securityfs()
    LSM: SafeSetID: add selftest
    LSM: SafeSetID: remove unused include
    LSM: SafeSetID: 'depend' on CONFIG_SECURITY
    LSM: Add 'name' field for SafeSetID in DEFINE_LSM
    LSM: add SafeSetID module that gates setid calls
    LSM: add SafeSetID module that gates setid calls
    tomoyo: Allow multiple use_group lines.
    tomoyo: Coding style fix.
    tomoyo: Swicth from cred->security to task_struct->security.
    security: keys: annotate implicit fall throughs
    security: keys: annotate implicit fall throughs
    security: keys: annotate implicit fall through
    capabilities:: annotate implicit fall through
    ...

    Linus Torvalds
     
  • Pull cgroup updates from Tejun Heo:

    - Oleg's pids controller accounting update which gets rid of rcu delay
    in pids accounting updates

    - rstat (cgroup hierarchical stat collection mechanism) optimization

    - Doc updates

    * 'for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
    cpuset: remove unused task_has_mempolicy()
    cgroup, rstat: Don't flush subtree root unless necessary
    cgroup: add documentation for pids.events file
    Documentation: cgroup-v2: eliminate markup warnings
    MAINTAINERS: Update cgroup entry
    cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix the accounting

    Linus Torvalds
     

07 Mar, 2019

4 commits

  • Pull USB/PHY updates from Greg KH:
    "Here is the big USB/PHY driver pull request for 5.1-rc1.

    The usual set of gadget driver updates, phy driver updates, xhci
    updates, and typec additions. Also included in here are a lot of small
    cleanups and fixes and driver updates where needed.

    All of these have been in linux-next for a while with no reported
    issues"

    * tag 'usb-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (167 commits)
    wusb: Remove unnecessary static function ckhdid_printf
    usb: core: make default autosuspend delay configurable
    usb: core: Fix typo in description of "authorized_default"
    usb: chipidea: Refactor USB PHY selection and keep a single PHY
    usb: chipidea: Grab the (legacy) USB PHY by phandle first
    usb: chipidea: imx: set power polarity
    dt-bindings: usb: ci-hdrc-usb2: add property power-active-high
    usb: chipidea: imx: remove unused header files
    usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
    usb: core: add option of only authorizing internal devices
    usb: typec: tps6598x: handle block writes separately with plain-I2C adapters
    usb: xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI
    usb: xhci: fix build warning - missing prototype
    usb: xhci: dbc: Fixing typo error.
    usb: xhci: remove unused member 'parent' in xhci_regset struct
    xhci: tegra: Prevent error pointer dereference
    USB: serial: option: add Telit ME910 ECM composition
    usb: core: Replace hardcoded check with inline function from usb.h
    usb: core: skip interfaces disabled in devicetree
    usb: typec: mux: remove redundant check on variable match
    ...

    Linus Torvalds
     
  • Pull driver core updates from Greg KH:
    "Here is the big driver core patchset for 5.1-rc1

    More patches than "normal" here this merge window, due to some work in
    the driver core by Alexander Duyck to rework the async probe
    functionality to work better for a number of devices, and independant
    work from Rafael for the device link functionality to make it work
    "correctly".

    Also in here is:

    - lots of BUS_ATTR() removals, the macro is about to go away

    - firmware test fixups

    - ihex fixups and simplification

    - component additions (also includes i915 patches)

    - lots of minor coding style fixups and cleanups.

    All of these have been in linux-next for a while with no reported
    issues"

    * tag 'driver-core-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (65 commits)
    driver core: platform: remove misleading err_alloc label
    platform: set of_node in platform_device_register_full()
    firmware: hardcode the debug message for -ENOENT
    driver core: Add missing description of new struct device_link field
    driver core: Fix PM-runtime for links added during consumer probe
    drivers/component: kerneldoc polish
    async: Add cmdline option to specify drivers to be async probed
    driver core: Fix possible supplier PM-usage counter imbalance
    PM-runtime: Fix __pm_runtime_set_status() race with runtime resume
    driver: platform: Support parsing GpioInt 0 in platform_get_irq()
    selftests: firmware: fix verify_reqs() return value
    Revert "selftests: firmware: remove use of non-standard diff -Z option"
    Revert "selftests: firmware: add CONFIG_FW_LOADER_USER_HELPER_FALLBACK to config"
    device: Fix comment for driver_data in struct device
    kernfs: Allocating memory for kernfs_iattrs with kmem_cache.
    sysfs: remove unused include of kernfs-internal.h
    driver core: Postpone DMA tear-down until after devres release
    driver core: Document limitation related to DL_FLAG_RPM_ACTIVE
    PM-runtime: Take suppliers into account in __pm_runtime_set_status()
    device.h: Add __cold to dev_ logging functions
    ...

    Linus Torvalds
     
  • Pull power management updates from Rafael Wysocki:
    "These are PM-runtime framework changes to use ktime instead of jiffies
    for accounting, new PM core flag to mark devices that don't need any
    form of power management, cpuidle updates including driver API
    documentation and a new governor, cpufreq updates including a new
    driver for Armada 8K, thermal cleanups and more, some energy-aware
    scheduling (EAS) enabling changes, new chips support in the intel_idle
    and RAPL drivers and assorted cleanups in some other places.

    Specifics:

    - Update the PM-runtime framework to use ktime instead of jiffies for
    accounting (Thara Gopinath, Vincent Guittot)

    - Optimize the autosuspend code in the PM-runtime framework somewhat
    (Ladislav Michl)

    - Add a PM core flag to mark devices that don't need any form of
    power management (Sudeep Holla)

    - Introduce driver API documentation for cpuidle and add a new
    cpuidle governor for tickless systems (Rafael Wysocki)

    - Add Jacobsville support to the intel_idle driver (Zhang Rui)

    - Clean up a cpuidle core header file and the cpuidle-dt and ACPI
    processor-idle drivers (Yangtao Li, Joseph Lo, Yazen Ghannam)

    - Add new cpufreq driver for Armada 8K (Gregory Clement)

    - Fix and clean up cpufreq core (Rafael Wysocki, Viresh Kumar, Amit
    Kucheria)

    - Add support for light-weight tear-down and bring-up of CPUs to the
    cpufreq core and use it in the cpufreq-dt driver (Viresh Kumar)

    - Fix cpu_cooling Kconfig dependencies, add support for CPU cooling
    auto-registration to the cpufreq core and use it in multiple
    cpufreq drivers (Amit Kucheria)

    - Fix some minor issues and do some cleanups in the davinci,
    e_powersaver, ap806, s5pv210, qcom and kryo cpufreq drivers
    (Bartosz Golaszewski, Gustavo Silva, Julia Lawall, Paweł Chmiel,
    Taniya Das, Viresh Kumar)

    - Add a Hisilicon CPPC quirk to the cppc_cpufreq driver (Xiongfeng
    Wang)

    - Clean up the intel_pstate and acpi-cpufreq drivers (Erwan Velu,
    Rafael Wysocki)

    - Clean up multiple cpufreq drivers (Yangtao Li)

    - Update cpufreq-related MAINTAINERS entries (Baruch Siach, Lukas
    Bulwahn)

    - Add support for exposing the Energy Model via debugfs and make
    multiple cpufreq drivers register an Energy Model to support
    energy-aware scheduling (Quentin Perret, Dietmar Eggemann, Matthias
    Kaehlcke)

    - Add Ice Lake mobile and Jacobsville support to the Intel RAPL
    power-capping driver (Gayatri Kammela, Zhang Rui)

    - Add a power estimation helper to the operating performance points
    (OPP) framework and clean up a core function in it (Quentin Perret,
    Viresh Kumar)

    - Make minor improvements in the generic power domains (genpd), OPP
    and system suspend frameworks and in the PM core (Aditya Pakki,
    Douglas Anderson, Greg Kroah-Hartman, Rafael Wysocki, Yangtao Li)"

    * tag 'pm-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (80 commits)
    cpufreq: kryo: Release OPP tables on module removal
    cpufreq: ap806: add missing of_node_put after of_device_is_available
    cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies
    cpufreq: Pass updated policy to driver ->setpolicy() callback
    cpufreq: Fix two debug messages in cpufreq_set_policy()
    cpufreq: Reorder and simplify cpufreq_update_policy()
    cpufreq: Add kerneldoc comments for two core functions
    PM / core: Add support to skip power management in device/driver model
    cpufreq: intel_pstate: Rework iowait boosting to be less aggressive
    cpufreq: intel_pstate: Eliminate intel_pstate_get_base_pstate()
    cpufreq: intel_pstate: Avoid redundant initialization of local vars
    powercap/intel_rapl: add Ice Lake mobile
    ACPI / processor: Set P_LVL{2,3} idle state descriptions
    cpufreq / cppc: Work around for Hisilicon CPPC cpufreq
    ACPI / CPPC: Add a helper to get desired performance
    cpufreq: davinci: move configuration to include/linux/platform_data
    cpufreq: speedstep: convert BUG() to BUG_ON()
    cpufreq: powernv: fix missing check of return value in init_powernv_pstates()
    cpufreq: longhaul: remove unneeded semicolon
    cpufreq: pcc-cpufreq: remove unneeded semicolon
    ..

    Linus Torvalds
     
  • Merge misc updates from Andrew Morton:

    - a few misc things

    - ocfs2 updates

    - most of MM

    * emailed patches from Andrew Morton : (159 commits)
    tools/testing/selftests/proc/proc-self-syscall.c: remove duplicate include
    proc: more robust bulk read test
    proc: test /proc/*/maps, smaps, smaps_rollup, statm
    proc: use seq_puts() everywhere
    proc: read kernel cpu stat pointer once
    proc: remove unused argument in proc_pid_lookup()
    fs/proc/thread_self.c: code cleanup for proc_setup_thread_self()
    fs/proc/self.c: code cleanup for proc_setup_self()
    proc: return exit code 4 for skipped tests
    mm,mremap: bail out earlier in mremap_to under map pressure
    mm/sparse: fix a bad comparison
    mm/memory.c: do_fault: avoid usage of stale vm_area_struct
    writeback: fix inode cgroup switching comment
    mm/huge_memory.c: fix "orig_pud" set but not used
    mm/hotplug: fix an imbalance with DEBUG_PAGEALLOC
    mm/memcontrol.c: fix bad line in comment
    mm/cma.c: cma_declare_contiguous: correct err handling
    mm/page_ext.c: fix an imbalance with kmemleak
    mm/compaction: pass pgdat to too_many_isolated() instead of zone
    mm: remove zone_lru_lock() function, access ->lru_lock directly
    ...

    Linus Torvalds
     

06 Mar, 2019

4 commits

  • Pull EFI updates from Ingo Molnar:
    "The main EFI changes in this cycle were:

    - Use 32-bit alignment for efi_guid_t

    - Allow the SetVirtualAddressMap() call to be omitted

    - Implement earlycon=efifb based on existing earlyprintk code

    - Various minor fixes and code cleanups from Sai, Ard and me"

    * 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    efi: Fix build error due to enum collision between efi.h and ima.h
    efi/x86: Convert x86 EFI earlyprintk into generic earlycon implementation
    x86: Make ARCH_USE_MEMREMAP_PROT a generic Kconfig symbol
    efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted
    efi: Replace GPL license boilerplate with SPDX headers
    efi/fdt: Apply more cleanups
    efi: Use 32-bit alignment for efi_guid_t
    efi/memattr: Don't bail on zero VA if it equals the region's PA
    x86/efi: Mark can_free_region() as an __init function

    Linus Torvalds
     
  • Currently THP allocation events data is fairly opaque, since you can
    only get it system-wide. This patch makes it easier to reason about
    transparent hugepage behaviour on a per-memcg basis.

    For anonymous THP-backed pages, we already have MEMCG_RSS_HUGE in v1,
    which is used for v1's rss_huge [sic]. This is reused here as it's
    fairly involved to untangle NR_ANON_THPS right now to make it per-memcg,
    since right now some of this is delegated to rmap before we have any
    memcg actually assigned to the page. It's a good idea to rework that,
    but let's leave untangling THP allocation for a future patch.

    [akpm@linux-foundation.org: fix build]
    [chris@chrisdown.name: fix memcontrol build when THP is disabled]
    Link: http://lkml.kernel.org/r/20190131160802.GA5777@chrisdown.name
    Link: http://lkml.kernel.org/r/20190129205852.GA7310@chrisdown.name
    Signed-off-by: Chris Down
    Acked-by: Johannes Weiner
    Cc: Tejun Heo
    Cc: Roman Gushchin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Down
     
  • PG_balloon was introduced to implement page migration/compaction for
    pages inflated in virtio-balloon. Nowadays, it is only a marker that a
    page is part of virtio-balloon and therefore logically offline.

    We also want to make use of this flag in other balloon drivers - for
    inflated pages or when onlining a section but keeping some pages offline
    (e.g. used right now by XEN and Hyper-V via set_online_page_callback()).

    We are going to expose this flag to dump tools like makedumpfile. But
    instead of exposing PG_balloon, let's generalize the concept of marking
    pages as logically offline, so it can be reused for other purposes later
    on.

    Rename PG_balloon to PG_offline. This is an indicator that the page is
    logically offline, the content stale and that it should not be touched
    (e.g. a hypervisor would have to allocate backing storage in order for
    the guest to dump an unused page). We can then e.g. exclude such pages
    from dumps.

    We replace and reuse KPF_BALLOON (23), as this shouldn't really harm
    (and for now the semantics stay the same). In following patches, we
    will make use of this bit also in other balloon drivers. While at it,
    document PGTABLE.

    [akpm@linux-foundation.org: fix comment text, per David]
    Link: http://lkml.kernel.org/r/20181119101616.8901-3-david@redhat.com
    Signed-off-by: David Hildenbrand
    Acked-by: Konstantin Khlebnikov
    Acked-by: Michael S. Tsirkin
    Acked-by: Pankaj gupta
    Cc: Jonathan Corbet
    Cc: Alexey Dobriyan
    Cc: Mike Rapoport
    Cc: Christian Hansen
    Cc: Vlastimil Babka
    Cc: "Kirill A. Shutemov"
    Cc: Stephen Rothwell
    Cc: Matthew Wilcox
    Cc: Michal Hocko
    Cc: Pavel Tatashin
    Cc: Alexander Duyck
    Cc: Naoya Horiguchi
    Cc: Miles Chen
    Cc: David Rientjes
    Cc: Kazuhito Hagio
    Cc: Arnd Bergmann
    Cc: Baoquan He
    Cc: Borislav Petkov
    Cc: Boris Ostrovsky
    Cc: Dave Young
    Cc: Greg Kroah-Hartman
    Cc: Haiyang Zhang
    Cc: Juergen Gross
    Cc: Julien Freche
    Cc: Kairui Song
    Cc: "K. Y. Srinivasan"
    Cc: Len Brown
    Cc: Lianbo Jiang
    Cc: Michal Hocko
    Cc: Nadav Amit
    Cc: Omar Sandoval
    Cc: Pavel Machek
    Cc: Rafael J. Wysocki
    Cc: "Rafael J. Wysocki"
    Cc: Stefano Stabellini
    Cc: Stephen Hemminger
    Cc: Vitaly Kuznetsov
    Cc: Xavier Deguillard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Hildenbrand
     
  • Pull RCU updates from Ingo Molnar:
    "The main RCU related changes in this cycle were:

    - Additional cleanups after RCU flavor consolidation

    - Grace-period forward-progress cleanups and improvements

    - Documentation updates

    - Miscellaneous fixes

    - spin_is_locked() conversions to lockdep

    - SPDX changes to RCU source and header files

    - SRCU updates

    - Torture-test updates, including nolibc updates and moving nolibc to
    tools/include"

    * 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (71 commits)
    locking/locktorture: Convert to SPDX license identifier
    linux/torture: Convert to SPDX license identifier
    torture: Convert to SPDX license identifier
    linux/srcu: Convert to SPDX license identifier
    linux/rcutree: Convert to SPDX license identifier
    linux/rcutiny: Convert to SPDX license identifier
    linux/rcu_sync: Convert to SPDX license identifier
    linux/rcu_segcblist: Convert to SPDX license identifier
    linux/rcupdate: Convert to SPDX license identifier
    linux/rcu_node_tree: Convert to SPDX license identifier
    rcu/update: Convert to SPDX license identifier
    rcu/tree: Convert to SPDX license identifier
    rcu/tiny: Convert to SPDX license identifier
    rcu/sync: Convert to SPDX license identifier
    rcu/srcu: Convert to SPDX license identifier
    rcu/rcutorture: Convert to SPDX license identifier
    rcu/rcu_segcblist: Convert to SPDX license identifier
    rcu/rcuperf: Convert to SPDX license identifier
    rcu/rcu.h: Convert to SPDX license identifier
    RCU/torture.txt: Remove section MODULE PARAMETERS
    ...

    Linus Torvalds
     

04 Mar, 2019

1 commit

  • * pm-cpuidle:
    ACPI / processor: Set P_LVL{2,3} idle state descriptions
    intel_idle: add support for Jacobsville
    cpuidle: dt: bail out if the idle-state DT node is not compatible
    cpuidle: use BIT() for idle state flags and remove CPUIDLE_DRIVER_FLAGS_MASK
    Documentation: driver-api: PM: Add cpuidle document
    cpuidle: New timer events oriented governor for tickless systems

    * powercap:
    powercap/intel_rapl: add Ice Lake mobile
    powercap: intel_rapl: add support for Jacobsville

    Rafael J. Wysocki
     

26 Feb, 2019

1 commit

  • To avoid potential confusion, explicitly ignore "security=" when "lsm=" is
    used on the command line, and report that it is happening.

    Suggested-by: Tetsuo Handa
    Signed-off-by: Kees Cook
    Acked-by: Casey Schaufler
    Acked-by: John Johansen
    Signed-off-by: James Morris

    Kees Cook
     

25 Feb, 2019

1 commit

  • Three conflicts, one of which, for marvell10g.c is non-trivial and
    requires some follow-up from Heiner or someone else.

    The issue is that Heiner converted the marvell10g driver over to
    use the generic c45 code as much as possible.

    However, in 'net' a bug fix appeared which makes sure that a new
    local mask (MDIO_AN_10GBT_CTRL_ADV_NBT_MASK) with value 0x01e0
    is cleared.

    Signed-off-by: David S. Miller

    David S. Miller
     

22 Feb, 2019

2 commits

  • Fix minimum gcc version as specified in Documentation/process/changes.rst.

    Suggested-by: Matthew Wilcox
    Signed-off-by: Randy Dunlap
    Signed-off-by: Jonathan Corbet

    Randy Dunlap
     
  • On Chrome OS we want to use USBguard to potentially limit access to USB
    devices based on policy. We however to do not want to wait for userspace to
    come up before initializing fixed USB devices to not regress our boot
    times.

    This patch adds option to instruct the kernel to only authorize devices
    connected to the internal ports. Previously we could either authorize
    all or none (or, by default, we'd only authorize wired devices).

    The behavior is controlled via usbcore.authorized_default command line
    option.

    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Greg Kroah-Hartman

    Dmitry Torokhov
     

21 Feb, 2019

1 commit


18 Feb, 2019

6 commits


16 Feb, 2019

1 commit

  • The netfilter conflicts were rather simple overlapping
    changes.

    However, the cls_tcindex.c stuff was a bit more complex.

    On the 'net' side, Cong is fixing several races and memory
    leaks. Whilst on the 'net-next' side we have Vlad adding
    the rtnl-ness support.

    What I've decided to do, in order to resolve this, is revert the
    conversion over to using a workqueue that Cong did, bringing us back
    to pure RCU. I did it this way because I believe that either Cong's
    races don't apply with have Vlad did things, or Cong will have to
    implement the race fix slightly differently.

    Signed-off-by: David S. Miller

    David S. Miller
     

14 Feb, 2019

1 commit

  • Asynchronous driver probing can help much on kernel fastboot, and
    this option can provide a flexible way to optimize and quickly verify
    async driver probe.

    Also it will help in below cases:
    * Some driver actually covers several families of HWs, some of which
    could use async probing while others don't. So we can't simply
    turn on the PROBE_PREFER_ASYNCHRONOUS flag in driver, but use this
    cmdline option, like igb driver async patch discussed at
    https://www.spinics.net/lists/netdev/msg545986.html

    * For SOC (System on Chip) with multiple spi or i2c controllers, most
    of the slave spi/i2c devices will be assigned with fixed controller
    number, while async probing may make those controllers get different
    index for each boot, which prevents those controller drivers to be
    async probed. For platforms not using these spi/i2c slave devices,
    they can use this cmdline option to benefit from the async probing.

    Suggested-by: Alexander Duyck
    Cc: Randy Dunlap
    Signed-off-by: Feng Tang
    Signed-off-by: Greg Kroah-Hartman

    Feng Tang
     

13 Feb, 2019

1 commit

  • …/linux-rcu into core/rcu

    Pull the latest RCU tree from Paul E. McKenney:

    - Additional cleanups after RCU flavor consolidation
    - Grace-period forward-progress cleanups and improvements
    - Documentation updates
    - Miscellaneous fixes
    - spin_is_locked() conversions to lockdep
    - SPDX changes to RCU source and header files
    - SRCU updates
    - Torture-test updates, including nolibc updates and moving
    nolibc to tools/include

    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Ingo Molnar
     

09 Feb, 2019

1 commit

  • Fix markup warnings in cgroup-v2.rst:

    Documentation/admin-guide/cgroup-v2.rst:1509: WARNING: Block quote ends without a blank line; unexpected unindent.
    Documentation/admin-guide/cgroup-v2.rst:1511: WARNING: Block quote ends without a blank line; unexpected unindent.
    Documentation/admin-guide/cgroup-v2.rst:1512: WARNING: Block quote ends without a blank line; unexpected unindent.

    Signed-off-by: Randy Dunlap
    Cc: Tejun Heo
    Cc: Li Zefan
    Cc: Johannes Weiner
    Cc: cgroups@vger.kernel.org
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Signed-off-by: Tejun Heo

    Randy Dunlap
     

07 Feb, 2019

2 commits

  • For a while Arm64 has been capable of force enabling
    or disabling the kpti mitigations. Lets make sure the
    documentation reflects that.

    Signed-off-by: Jeremy Linton
    Reviewed-by: Andre Przywara
    Signed-off-by: Jonathan Corbet

    Jeremy Linton
     
  • Legacy IO schedulers (cfq, deadline and noop) were removed in
    f382fb0bcef4.

    The documentation for deadline was retained because it carries over to
    mq-deadline as well, but location of the doc file was changed over time.

    The old iosched algorithms were removed from elevator= kernel parameter
    and mq-deadline, kyber and bfq were added with a reference to their
    documentation.

    Fixes: f382fb0bcef4 ("block: remove legacy IO schedulers")
    Signed-off-by: Otto Sabart
    Signed-off-by: Jonathan Corbet

    Otto Sabart
     

06 Feb, 2019

1 commit


04 Feb, 2019

1 commit

  • Move the x86 EFI earlyprintk implementation to a shared location under
    drivers/firmware and tweak it slightly so we can expose it as an earlycon
    implementation (which is generic) rather than earlyprintk (which is only
    implemented for a few architectures)

    This also involves switching to write-combine mappings by default (which
    is required on ARM since device mappings lack memory semantics, and so
    memcpy/memset may not be used on them), and adding support for shared
    memory framebuffers on cache coherent non-x86 systems (which do not
    tolerate mismatched attributes).

    Note that 32-bit ARM does not populate its struct screen_info early
    enough for earlycon=efifb to work, so it is disabled there.

    Signed-off-by: Ard Biesheuvel
    Reviewed-by: Alexander Graf
    Cc: AKASHI Takahiro
    Cc: Bjorn Andersson
    Cc: Borislav Petkov
    Cc: Heinrich Schuchardt
    Cc: Jeffrey Hugo
    Cc: Lee Jones
    Cc: Leif Lindholm
    Cc: Linus Torvalds
    Cc: Matt Fleming
    Cc: Peter Jones
    Cc: Peter Zijlstra
    Cc: Sai Praneeth Prakhya
    Cc: Thomas Gleixner
    Cc: linux-efi@vger.kernel.org
    Link: http://lkml.kernel.org/r/20190202094119.13230-10-ard.biesheuvel@linaro.org
    Signed-off-by: Ingo Molnar

    Ard Biesheuvel
     

02 Feb, 2019

1 commit

  • commit 3fb72f1e6e61 ("ipconfig wait for carrier") added a
    "wait for carrier" policy, with a fixed worst case maximum wait
    of two minutes.

    Now make the wait for carrier timeout configurable on the kernel
    commandline and use the 120s as the default.

    The timeout messages introduced with
    commit 5e404cd65860 ("ipconfig: add informative timeout messages while
    waiting for carrier") are done in a fixed interval of 20 seconds, just
    like they were before (240/12).

    Signed-off-by: Martin Kepplinger
    Signed-off-by: David S. Miller

    Martin Kepplinger
     

31 Jan, 2019

1 commit

  • Commit 765b6a98c1de3 ("iommu/vt-d: Enumerate the scalable
    mode capability") enables VT-d scalable mode if hardware
    advertises the capability. As we will bring up different
    features and use cases to upstream in different patch
    series, it will leave some intermediate kernel versions
    which support partial features. Hence, end user might run
    into problems when they use such kernels on bare metals
    or virtualization environments.

    This leaves scalable mode default off and end users could
    turn it on with "intel-iommu=sm_on" only when they have
    clear ideas about which scalable features are supported
    in the kernel.

    Cc: Liu Yi L
    Cc: Jacob Pan
    Suggested-by: Ashok Raj
    Suggested-by: Kevin Tian
    Signed-off-by: Lu Baolu
    Signed-off-by: Joerg Roedel

    Lu Baolu
     

26 Jan, 2019

3 commits

  • The rcutree.jiffies_till_sched_qs kernel boot parameter used to solicit
    help only from rcu_note_context_switch(), but now also solicits help
    from cond_resched(). This commit therefore updates kernel-parameters.txt
    accordingly.

    Signed-off-by: Paul E. McKenney

    Paul E. McKenney
     
  • Life is hard if RCU manages to get stuck without triggering RCU CPU
    stall warnings or triggering the rcu_check_gp_start_stall() checks
    for failing to start a grace period. This commit therefore adds a
    boot-time-selectable sysrq key (commandeering "y") that allows manually
    dumping Tree RCU state. The new rcutree.sysrq_rcu kernel boot parameter
    must be set for this sysrq to be available.

    Signed-off-by: Paul E. McKenney

    Paul E. McKenney
     
  • SafeSetID gates the setid family of syscalls to restrict UID/GID
    transitions from a given UID/GID to only those approved by a
    system-wide whitelist. These restrictions also prohibit the given
    UIDs/GIDs from obtaining auxiliary privileges associated with
    CAP_SET{U/G}ID, such as allowing a user to set up user namespace UID
    mappings. For now, only gating the set*uid family of syscalls is
    supported, with support for set*gid coming in a future patch set.

    Signed-off-by: Micah Morton
    Acked-by: Kees Cook
    Signed-off-by: James Morris

    Micah Morton