16 Feb, 2019

1 commit

  • Pull networking fixes from David Miller:

    1) Fix MAC address setting in mac80211 pmsr code, from Johannes Berg.

    2) Probe SFP modules after being attached, from Russell King.

    3) Byte ordering bug in SMC rx_curs_confirmed code, from Ursula Braun.

    4) Revert some r8169 changes that are causing regressions, from Heiner
    Kallweit.

    5) Fix spurious connection timeouts in netfilter nat code, from Florian
    Westphal.

    6) SKB leak in tipc, from Hoang Le.

    7) Short packet checkum issue in mlx4, similar to a previous mlx5
    change, from Saeed Mahameed. The issue is that whilst padding bytes
    are usually zero, it is not guarateed and the hardware doesn't take
    the padding bytes into consideration when generating the checksum.

    8) Fix various races in cls_tcindex, from Cong Wang.

    9) Need to set stream ext to NULL before freeing in SCTP code, from Xin
    Long.

    10) Fix locking in phy_is_started, from Heiner Kallweit.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (54 commits)
    net: ethernet: freescale: set FEC ethtool regs version
    net: hns: Fix object reference leaks in hns_dsaf_roce_reset()
    mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs
    net: phy: fix potential race in the phylib state machine
    net: phy: don't use locking in phy_is_started
    selftests: fix timestamping Makefile
    net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend()
    net: fix possible overflow in __sk_mem_raise_allocated()
    dsa: mv88e6xxx: Ensure all pending interrupts are handled prior to exit
    net: phy: fix interrupt handling in non-started states
    sctp: set stream ext to NULL after freeing it in sctp_stream_outq_migrate
    sctp: call gso_reset_checksum when computing checksum in sctp_gso_segment
    net/mlx5e: XDP, fix redirect resources availability check
    net/mlx5: Fix a compilation warning in events.c
    net/mlx5: No command allowed when command interface is not ready
    net/mlx5e: Fix NULL pointer derefernce in set channels error flow
    netfilter: nft_compat: use-after-free when deleting targets
    team: avoid complex list operations in team_nl_cmd_options_set()
    net_sched: fix two more memory leaks in cls_tcindex
    net_sched: fix a memory leak in cls_tcindex
    ...

    Linus Torvalds
     

12 Feb, 2019

2 commits


09 Feb, 2019

1 commit


08 Feb, 2019

1 commit


04 Feb, 2019

1 commit

  • Pull x86 fixes from Thomas Gleixner:
    "A few updates for x86:

    - Fix an unintended sign extension issue in the fault handling code

    - Rename the new resource control config switch so it's less
    confusing

    - Avoid setting up EFI info in kexec when the EFI runtime is
    disabled.

    - Fix the microcode version check in the AMD microcode loader so it
    only loads higher version numbers and never downgrades

    - Set EFER.LME in the 32bit trampoline before returning to long mode
    to handle older AMD/KVM behaviour properly.

    - Add Darren and Andy as x86/platform reviewers"

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/resctrl: Avoid confusion over the new X86_RESCTRL config
    x86/kexec: Don't setup EFI info if EFI runtime is not enabled
    x86/microcode/amd: Don't falsely trick the late loading mechanism
    MAINTAINERS: Add Andy and Darren as arch/x86/platform/ reviewers
    x86/fault: Fix sign-extend unintended sign extension
    x86/boot/compressed/64: Set EFER.LME=1 in 32-bit trampoline before returning to long mode
    x86/cpu: Add Atom Tremont (Jacobsville)

    Linus Torvalds
     

03 Feb, 2019

1 commit


02 Feb, 2019

1 commit

  • "Resource Control" is a very broad term for this CPU feature, and a term
    that is also associated with containers, cgroups etc. This can easily
    cause confusion.

    Make the user prompt more specific. Match the config symbol name.

    [ bp: In the future, the corresponding ARM arch-specific code will be
    under ARM_CPU_RESCTRL and the arch-agnostic bits will be carved out
    under the CPU_RESCTRL umbrella symbol. ]

    Signed-off-by: Johannes Weiner
    Signed-off-by: Borislav Petkov
    Cc: Babu Moger
    Cc: Fenghua Yu
    Cc: "H. Peter Anvin"
    Cc: Ingo Molnar
    Cc: James Morse
    Cc: Jonathan Corbet
    Cc: "Kirill A. Shutemov"
    Cc: linux-doc@vger.kernel.org
    Cc: Peter Zijlstra
    Cc: Pu Wen
    Cc: Reinette Chatre
    Cc: Thomas Gleixner
    Cc: Tony Luck
    Cc: x86-ml
    Link: https://lkml.kernel.org/r/20190130195621.GA30653@cmpxchg.org

    Johannes Weiner
     

01 Feb, 2019

1 commit

  • Pull clk fixes from Stephen Boyd:
    "Mostly driver fixes, but there's a core framework fix in here too:

    - Revert the commits that introduce clk management for the SP clk on
    MMP2 SoCs (used for OLPC). Turns out it wasn't a good idea and
    there isn't any need to manage this clk, it just causes more
    headaches.

    - A performance regression that went unnoticed for many years where
    we would traverse the entire clk tree looking for a clk by name
    when we already have the pointer to said clk that we're looking for

    - A parent linkage fix for the qcom SDM845 clk driver

    - An i.MX clk driver rate miscalculation fix where order of
    operations were messed up

    - One error handling fix from the static checkers"

    * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
    clk: qcom: gcc: Use active only source for CPUSS clocks
    clk: ti: Fix error handling in ti_clk_parse_divider_data()
    clk: imx: Fix fractional clock set rate computation
    clk: Remove global clk traversal on fetch parent index
    Revert "dt-bindings: marvell,mmp2: Add clock id for the SP clock"
    Revert "clk: mmp2: add SP clock"
    Revert "Input: olpc_apsp - enable the SP clock"

    Linus Torvalds
     

31 Jan, 2019

2 commits

  • The current dentry number tracking code doesn't distinguish between
    positive & negative dentries. It just reports the total number of
    dentries in the LRU lists.

    As excessive number of negative dentries can have an impact on system
    performance, it will be wise to track the number of positive and
    negative dentries separately.

    This patch adds tracking for the total number of negative dentries in
    the system LRU lists and reports it in the 5th field in the
    /proc/sys/fs/dentry-state file. The number, however, does not include
    negative dentries that are in flight but not in the LRU yet as well as
    those in the shrinker lists which are on the way out anyway.

    The number of positive dentries in the LRU lists can be roughly found by
    subtracting the number of negative dentries from the unused count.

    Matthew Wilcox had confirmed that since the introduction of the
    dentry_stat structure in 2.1.60, the dummy array was there, probably for
    future extension. They were not replacements of pre-existing fields.
    So no sane applications that read the value of /proc/sys/fs/dentry-state
    will do dummy thing if the last 2 fields of the sysctl parameter are not
    zero. IOW, it will be safe to use one of the dummy array entry for
    negative dentry count.

    Signed-off-by: Waiman Long
    Signed-off-by: Linus Torvalds

    Waiman Long
     
  • 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
     

27 Jan, 2019

1 commit


25 Jan, 2019

4 commits

  • Pull drm fixes from Dave Airlie:
    "Live from LCA pull, some fixes all over the place,

    i915:
    - GVT workload destruction fix

    msm:
    - A6XX opp-level fix
    - build fixes
    - hard-coded irq removal

    amdgpu:
    - overclocking fix
    - hybrid gfx fix

    sun4i:
    - fix TMDS clock usage"

    * tag 'drm-fixes-2019-01-25-1' of git://anongit.freedesktop.org/drm/drm:
    drm/msm: avoid unused function warning
    drm/msm: Add __printf verification
    drm/msm: Fix A6XX support for opp-level
    drm/msm: honor GPU_READONLY flag
    drm/msm: drop interrupt-names
    drm/msm/gpu: Remove hardcoded interrupt name
    drm/msm/gpu: fix building without debugfs
    drm/i915/execlists: Mark up priority boost on preemption
    drm/i915/gvt: release shadow batch buffer and wa_ctx before destroy one workload
    drm/sun4i: hdmi: Fix usage of TMDS clock
    drm/amd/powerplay: OD setting fix on Vega10
    drm/amdgpu: Add APTX quirk for Lenovo laptop
    drm/msm: Unblock writer if reader closes file

    Linus Torvalds
     
  • A few fixes for v5.0.. the opp-level fix and removal of hard-coded irq
    name is partially to make things smoother in v5.1 merge window to
    avoid dependency on drm vs dt trees, but are otherwise sane changes.

    Signed-off-by: Dave Airlie
    From: Rob Clark
    Link: https://patchwork.freedesktop.org/patch/msgid/CAF6AEGsAEHd2tGRQxRTs+A-8y_tthPs2iUgCCCEwR5vDMXab4A@mail.gmail.com

    Dave Airlie
     
  • Each GPU core only uses one interrupt so we don't to look up
    an interrupt by name and thereby we don't need interrupt-names.

    Signed-off-by: Jordan Crouse
    Reviewed-by: Rob Herring
    Signed-off-by: Rob Clark

    Jordan Crouse
     
  • Turns out this is not such a great idea. Once the SP clock is disabled,
    it's not sufficient to just enable in order to bring the SP core back up.

    It seems that the kernel has no business managing this clock. Just let
    the firmware keep it enabled.

    This reverts commit ed22cee91a88c47e564478b012fdbcb079653499.

    Link: https://lore.kernel.org/lkml/154783267051.169631.3197836544646625747@swboyd.mtv.corp.google.com/
    Signed-off-by: Lubomir Rintel
    Acked-by: Dmitry Torokhov
    Signed-off-by: Stephen Boyd

    Lubomir Rintel
     

23 Jan, 2019

1 commit


22 Jan, 2019

1 commit

  • Pull XArray fixes from Matthew Wilcox:
    "Fix some oversights in the XArray porcelain API:

    - support for m68k's two-byte aligned pointers

    - reserving entries using xa_insert()

    - missing xa_insert_bh() and xa_insert_irq() functions

    - simplify using xa_for_each()

    - use lockdep correctly

    - a few other minor fixes and improvements"

    * tag 'xarray-5.0-rc3' of git://git.infradead.org/users/willy/linux-dax:
    XArray: Fix an arithmetic error in xa_is_err
    XArray tests: Check mark 2 gets squashed
    XArray: Fix typo in comment
    XArray: Honour reserved entries in xa_insert
    XArray: Permit storing 2-byte-aligned pointers
    XArray: Change xa_for_each iterator
    XArray: Turn xa_init_flags into a static inline
    XArray tests: Add RCU locking

    Linus Torvalds
     

21 Jan, 2019

1 commit

  • Pull networking fixes from David Miller:

    1) Fix endless loop in nf_tables, from Phil Sutter.

    2) Fix cross namespace ip6_gre tunnel hash list corruption, from
    Olivier Matz.

    3) Don't be too strict in phy_start_aneg() otherwise we might not allow
    restarting auto negotiation. From Heiner Kallweit.

    4) Fix various KMSAN uninitialized value cases in tipc, from Ying Xue.

    5) Memory leak in act_tunnel_key, from Davide Caratti.

    6) Handle chip errata of mv88e6390 PHY, from Andrew Lunn.

    7) Remove linear SKB assumption in fou/fou6, from Eric Dumazet.

    8) Missing udplite rehash callbacks, from Alexey Kodanev.

    9) Log dirty pages properly in vhost, from Jason Wang.

    10) Use consume_skb() in neigh_probe() as this is a normal free not a
    drop, from Yang Wei. Likewise in macvlan_process_broadcast().

    11) Missing device_del() in mdiobus_register() error paths, from Thomas
    Petazzoni.

    12) Fix checksum handling of short packets in mlx5, from Cong Wang.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (96 commits)
    bpf: in __bpf_redirect_no_mac pull mac only if present
    virtio_net: bulk free tx skbs
    net: phy: phy driver features are mandatory
    isdn: avm: Fix string plus integer warning from Clang
    net/mlx5e: Fix cb_ident duplicate in indirect block register
    net/mlx5e: Fix wrong (zero) TX drop counter indication for representor
    net/mlx5e: Fix wrong error code return on FEC query failure
    net/mlx5e: Force CHECKSUM_UNNECESSARY for short ethernet frames
    tools: bpftool: Cleanup license mess
    bpf: fix inner map masking to prevent oob under speculation
    bpf: pull in pkt_sched.h header for tooling to fix bpftool build
    selftests: forwarding: Add a test case for externally learned FDB entries
    selftests: mlxsw: Test FDB offload indication
    mlxsw: spectrum_switchdev: Do not treat static FDB entries as sticky
    net: bridge: Mark FDB entries that were added by user as such
    mlxsw: spectrum_fid: Update dummy FID index
    mlxsw: pci: Return error on PCI reset timeout
    mlxsw: pci: Increase PCI SW reset timeout
    mlxsw: pci: Ring CQ's doorbell before RDQ's
    MAINTAINERS: update email addresses of liquidio driver maintainers
    ...

    Linus Torvalds
     

19 Jan, 2019

2 commits

  • Fix "reference to nonexisting document" warnings.

    Fixes: b255e500c8dc ("net: documentation: build a directory structure for drivers")
    Signed-off-by: Otto Sabart
    Signed-off-by: David S. Miller

    Otto Sabart
     
  • Pull fbdev fixes from Bartlomiej Zolnierkiewicz:

    - fix stack memory leak in omap2fb driver (Vlad Tsyrklevich)

    - fix OF node name handling v4.20 regression in offb driver (Rob
    Herring)

    - convert CONFIG_FB_LOGO_CENTER config option added in v5.0-rc1 into a
    kernel parameter (Peter Rosin)

    * tag 'fbdev-v5.0-rc3' of git://github.com/bzolnier/linux:
    fbdev: fbmem: convert CONFIG_FB_LOGO_CENTER into a cmd line option
    fbdev: offb: Fix OF node name handling
    omap2fb: Fix stack memory disclosure

    Linus Torvalds
     

18 Jan, 2019

2 commits

  • net_tstamp.h is an UAPI header, so it was moved under include/uapi.

    Signed-off-by: Jakub Kicinski
    Signed-off-by: David S. Miller

    Jakub Kicinski
     
  • Pull Devicetree fixes from Rob Herring:

    - Remove now unused struct device_node.type pointer

    - Fix meson-axg reset header SPDX tag

    - Add missing of_node_put in of_graph_get_remote_port_parent

    - Fix several binding doc file references and typos

    * tag 'devicetree-fixes-for-5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    dt-bindings: reset: meson-axg: fix SPDX license id
    dt-bindings: soc: qcom: Fix trivial language typos
    doc: gpio-mvebu: fix broken reference to cp110-system-controller0.txt file
    OF: properties: add missing of_node_put
    doc: bindings: fix bad reference to ARM CPU bindings
    dt-bindings: marvell,mmp2: fix typos in bindings doc
    of: Remove struct device_node.type pointer

    Linus Torvalds
     

17 Jan, 2019

3 commits


16 Jan, 2019

3 commits

  • add document for below counters:
    TcpEstabResets
    TcpAttemptFails
    TcpOutRsts
    TcpExtTCPSACKDiscard
    TcpExtTCPDSACKIgnoredOld
    TcpExtTCPDSACKIgnoredNoUndo
    TcpExtTCPSackShifted
    TcpExtTCPSackMerged
    TcpExtTCPSackShiftFallback
    TcpExtTCPWantZeroWindowAdv
    TcpExtTCPToZeroWindowAdv
    TcpExtTCPFromZeroWindowAdv
    TcpExtDelayedACKs
    TcpExtDelayedACKLocked
    TcpExtDelayedACKLost
    TcpExtTCPLossProbes
    TcpExtTCPLossProbeRecovery

    Signed-off-by: yupeng
    Signed-off-by: David S. Miller

    yupeng
     
  • The changes introduced to allow rxrpc calls to be retried creates an issue
    when it comes to refcounting afs_call structs. The problem is that when
    rxrpc_send_data() queues the last packet for an asynchronous call, the
    following sequence can occur:

    (1) The notify_end_tx callback is invoked which causes the state in the
    afs_call to be changed from AFS_CALL_CL_REQUESTING or
    AFS_CALL_SV_REPLYING.

    (2) afs_deliver_to_call() can then process event notifications from rxrpc
    on the async_work queue.

    (3) Delivery of events, such as an abort from the server, can cause the
    afs_call state to be changed to AFS_CALL_COMPLETE on async_work.

    (4) For an asynchronous call, afs_process_async_call() notes that the call
    is complete and tried to clean up all the refs on async_work.

    (5) rxrpc_send_data() might return the amount of data transferred
    (success) or an error - which could in turn reflect a local error or a
    received error.

    Synchronising the clean up after rxrpc_kernel_send_data() returns an error
    with the asynchronous cleanup is then tricky to get right.

    Mostly revert commit c038a58ccfd6704d4d7d60ed3d6a0fca13cf13a4. The two API
    functions the original commit added aren't currently used. This makes
    rxrpc_kernel_send_data() always return successfully if it queued the data
    it was given.

    Note that this doesn't affect synchronous calls since their Rx notification
    function merely pokes a wait queue and does not refcounting. The
    asynchronous call notification function *has* to do refcounting and pass a
    ref over the work item to avoid the need to sync the workqueue in call
    cleanup.

    Signed-off-by: David Howells
    Signed-off-by: David S. Miller

    David Howells
     
  • Pull networking fixes from David Miller:

    1) Fix regression in multi-SKB responses to RTM_GETADDR, from Arthur
    Gautier.

    2) Fix ipv6 frag parsing in openvswitch, from Yi-Hung Wei.

    3) Unbounded recursion in ipv4 and ipv6 GUE tunnels, from Stefano
    Brivio.

    4) Use after free in hns driver, from Yonglong Liu.

    5) icmp6_send() needs to handle the case of NULL skb, from Eric
    Dumazet.

    6) Missing rcu read lock in __inet6_bind() when operating on mapped
    addresses, from David Ahern.

    7) Memory leak in tipc-nl_compat_publ_dump(), from Gustavo A. R. Silva.

    8) Fix PHY vs r8169 module loading ordering issues, from Heiner
    Kallweit.

    9) Fix bridge vlan memory leak, from Ido Schimmel.

    10) Dev refcount leak in AF_PACKET, from Jason Gunthorpe.

    11) Infoleak in ipv6_local_error(), flow label isn't completely
    initialized. From Eric Dumazet.

    12) Handle mv88e6390 errata, from Andrew Lunn.

    13) Making vhost/vsock CID hashing consistent, from Zha Bin.

    14) Fix lack of UMH cleanup when it unexpectedly exits, from Taehee Yoo.

    15) Bridge forwarding must clear skb->tstamp, from Paolo Abeni.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (87 commits)
    bnxt_en: Fix context memory allocation.
    bnxt_en: Fix ring checking logic on 57500 chips.
    mISDN: hfcsusb: Use struct_size() in kzalloc()
    net: clear skb->tstamp in bridge forwarding path
    net: bpfilter: disallow to remove bpfilter module while being used
    net: bpfilter: restart bpfilter_umh when error occurred
    net: bpfilter: use cleanup callback to release umh_info
    umh: add exit routine for UMH process
    isdn: i4l: isdn_tty: Fix some concurrency double-free bugs
    vhost/vsock: fix vhost vsock cid hashing inconsistent
    net: stmmac: Prevent RX starvation in stmmac_napi_poll()
    net: stmmac: Fix the logic of checking if RX Watchdog must be enabled
    net: stmmac: Check if CBS is supported before configuring
    net: stmmac: dwxgmac2: Only clear interrupts that are active
    net: stmmac: Fix PCI module removal leak
    tools/bpf: fix bpftool map dump with bitfields
    tools/bpf: test btf bitfield with >=256 struct member offset
    bpf: fix bpffs bitfield pretty print
    net: ethernet: mediatek: fix warning in phy_start_aneg
    tcp: change txhash on SYN-data timeout
    ...

    Linus Torvalds
     

14 Jan, 2019

2 commits

  • Pull ARM SoC fixes from Olof Johansson:
    "A bigger batch than I anticipated this week, for two reasons:

    - Some fallout on Davinci from board file -> DTB conversion, that
    also includes a few longer-standing fixes (i.e. not recent
    regressions).

    - drivers/reset material that has been in linux-next for a while, but
    didn't get sent to us until now for a variety of reasons
    (maintainer out sick, holidays, etc). There's a functional
    dependency in there such that one platform (Altera's SoCFPGA) won't
    boot without one of the patches; instead of reverting the patch
    that got merged, I looked at this set and decided it was small
    enough that I'll pick it up anyway. If you disagree I can revisit
    with a smaller set.

    That being said, there's also a handful of the usual stuff:

    - Fix for a crash on Armada 7K/8K when the kernel touches
    PSCI-reserved memory

    - Fix for PCIe reset on Macchiatobin (Armada 8K development board,
    what this email is sent from in fact :)

    - Enable a few new-merged modules for Amlogic in arm64 defconfig

    - Error path fixes on Integrator

    - Build fix for Renesas and Qualcomm

    - Initialization fix for Renesas RZ/G2E

    .. plus a few more fixlets"

    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (28 commits)
    ARM: integrator: impd1: use struct_size() in devm_kzalloc()
    qcom-scm: Include header
    gpio: pl061: handle failed allocations
    ARM: dts: kirkwood: Fix polarity of GPIO fan lines
    arm64: dts: marvell: mcbin: fix PCIe reset signal
    arm64: dts: marvell: armada-ap806: reserve PSCI area
    ARM: dts: da850-lcdk: Correct the sound card name
    ARM: dts: da850-lcdk: Correct the audio codec regulators
    ARM: dts: da850-evm: Correct the sound card name
    ARM: dts: da850-evm: Correct the audio codec regulators
    ARM: davinci: omapl138-hawk: fix label names in GPIO lookup entries
    ARM: davinci: dm644x-evm: fix label names in GPIO lookup entries
    ARM: davinci: dm355-evm: fix label names in GPIO lookup entries
    ARM: davinci: da850-evm: fix label names in GPIO lookup entries
    ARM: davinci: da830-evm: fix label names in GPIO lookup entries
    arm64: defconfig: enable modules for amlogic s400 sound card
    reset: uniphier-glue: Add AHCI reset control support in glue layer
    dt-bindings: reset: uniphier: Add AHCI core reset description
    reset: uniphier-usb3: Rename to reset-uniphier-glue
    dt-bindings: reset: uniphier: Replace the expression of USB3 with generic peripherals
    ...

    Linus Torvalds
     
  • Pull driver core fixes from Greg KH:
    "Here is one small sysfs change, and a documentation update for 5.0-rc2

    The sysfs change moves from using BUG_ON to WARN_ON, as discussed in
    an email thread on lkml while trying to track down another driver bug.
    sysfs should not be crashing and preventing people from seeing where
    they went wrong. Now it properly recovers and warns the developer.

    The documentation update removes the use of BUS_ATTR() as the kernel
    is moving away from this to use the specific BUS_ATTR_RW() and friends
    instead. There are pending patches in all of the different subsystems
    to remove the last users of this macro, but for now, don't advertise
    it should be used anymore to keep new ones from being introduced.

    Both have been in linux-next with no reported issues"

    * tag 'driver-core-5.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
    Documentation: driver core: remove use of BUS_ATTR
    sysfs: convert BUG_ON to WARN_ON

    Linus Torvalds
     

13 Jan, 2019

2 commits

  • Pull block fixes from Jens Axboe:

    - NVMe pull request from Christoph, with little fixes all over the map

    - Loop caching fix for offset/bs change (Jaegeuk Kim)

    - Block documentation tweaks (Jeff, Jon, Weiping, John)

    - null_blk zoned tweak (John)

    - ahch mvebu suspend/resume support. Should have gone into the merge
    window, but there was some confusion on which tree had it. (Miquel)

    * tag 'for-linus-20190112' of git://git.kernel.dk/linux-block: (22 commits)
    ata: ahci: mvebu: request PHY suspend/resume for Armada 3700
    ata: ahci: mvebu: add Armada 3700 initialization needed for S2RAM
    ata: ahci: mvebu: do Armada 38x configuration only on relevant SoCs
    ata: ahci: mvebu: remove stale comment
    ata: libahci_platform: comply to PHY framework
    loop: drop caches if offset or block_size are changed
    block: fix kerneldoc comment for blk_attempt_plug_merge()
    nvme: don't initlialize ctrl->cntlid twice
    nvme: introduce NVME_QUIRK_IGNORE_DEV_SUBNQN
    nvme: pad fake subsys NQN vid and ssvid with zeros
    nvme-multipath: zero out ANA log buffer
    nvme-fabrics: unset write/poll queues for discovery controllers
    nvme-tcp: don't ask if controller is fabrics
    nvme-tcp: remove dead code
    nvme-pci: fix out of bounds access in nvme_cqe_pending
    nvme-pci: rerun irq setup on IO queue init errors
    nvme-pci: use the same attributes when freeing host_mem_desc_bufs.
    nvme-pci: fix the wrong setting of nr_maps
    block: doc: add slice_idle_us to bfq documentation
    block: clarify documentation for blk_{start|finish}_plug
    ...

    Linus Torvalds
     
  • Pull KVM fixes from Radim Krčmář:
    "Minor fixes for new code, corner cases, and documentation"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
    x86/kvm/nVMX: don't skip emulated instruction twice when vmptr address is not backed
    Documentation/virtual/kvm: Update URL for AMD SEV API specification
    KVM/VMX: Avoid return error when flush tlb successfully in the hv_remote_flush_tlb_with_range()
    kvm: sev: Fail KVM_SEV_INIT if already initialized
    KVM: validate userspace input in kvm_clear_dirty_log_protect()
    KVM: x86: Fix bit shifting in update_intel_pt_cfg

    Linus Torvalds
     

12 Jan, 2019

5 commits

  • The primecell.txt and cpus.txt files were converted into YAML. This
    patch updates old references with new ones.

    Fixes: d3c207eeb905 ("dt-bindings: arm: Convert primecell binding to json-schema")
    Fixes: 672951cbd1b7 ("dt-bindings: arm: Convert cpu binding to json-schema")
    Signed-off-by: Otto Sabart
    Signed-off-by: Rob Herring

    Otto Sabart
     
  • A pair of rather trivial ones.

    Signed-off-by: Lubomir Rintel
    Signed-off-by: Rob Herring

    Lubomir Rintel
     
  • The URL of [api-spec] in Documentation/virtual/kvm/amd-memory-encryption.rst
    is no longer valid, replaced space with underscore.

    Signed-off-by: Christophe de Dinechin
    Reviewed-by: Brijesh Singh
    Signed-off-by: Radim Krčmář

    Christophe de Dinechin
     
  • Pull x86 fixes from Ingo Molnar:
    "A 32-bit build fix, CONFIG_RETPOLINE fixes and rename CONFIG_RESCTRL
    to CONFIG_X86_RESCTRL"

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINE
    x86/cache: Rename config option to CONFIG_X86_RESCTRL
    samples/seccomp: Fix 32-bit build

    Linus Torvalds
     
  • Pull power management updates from Rafael Wysocki:
    "These fix fallout after starting to use hrtimers in the runtime PM
    framework, fix a few cpufreq issues, fix a recently broken reference
    to cpuidle documentation, update MAINTAINERS entries for cpufreq and
    cpuidle and make the recently added system suspend and resume support
    in devfreq actually work.

    Specifics:

    - Prevent integer overflows from occurring on 32-bit when converting
    milliseconds to nanoseconds in the runtime PM framework and update
    comments that still refer to jiffies in it (Vincent Guittot,
    Ladislav Michl).

    - Fix the SCMI cpufreq driver to always use the same frequency units
    for arch_set_freq_scale() and make the scale-invariant load
    tracking acutally work with this driver (Quentin Perret).

    - Fix freeing of dynamic OPPs in the SCPI and SCMI cpufreq drivers
    broken during the 4.20 defelopment cycle (Viresh Kumar).

    - Prevent the cpufreq core from attempting to return the current
    frequency of offline CPUs (Sudeep Holla).

    - Add devfreq suspend and resume hooks (missed previously) to the PM
    core to make the recently added system suspend and resume support
    in devfreq actually work (Lukasz Luba).

    - Update MAINTAINERS entries for cpufreq and cpuidle, mostly to add
    references to new/current documentation to them (Rafael Wysocki).

    - Fix a recently broken reference to cpuidle documentation (Otto
    Sabart)"

    * tag 'pm-5.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    PM-runtime: Fix autosuspend_delay on 32bits arch
    PM-runtime: Fix 'jiffies' in comments after switch to hrtimers
    cpufreq: scmi: Fix frequency invariance in slow path
    doc: trace: fix reference to cpuidle documentation file
    cpufreq: check if policy is inactive early in __cpufreq_get()
    cpufreq: scpi/scmi: Fix freeing of dynamic OPPs
    cpuidle / Documentation: Update cpuidle MAINTAINERS entry
    cpufreq / Documentation: Update cpufreq MAINTAINERS entry
    PM: sleep: call devfreq suspend/resume

    Linus Torvalds
     

11 Jan, 2019

1 commit

  • * pm-cpuidle:
    doc: trace: fix reference to cpuidle documentation file
    cpuidle / Documentation: Update cpuidle MAINTAINERS entry

    * pm-cpufreq:
    cpufreq: scmi: Fix frequency invariance in slow path
    cpufreq: check if policy is inactive early in __cpufreq_get()
    cpufreq: scpi/scmi: Fix freeing of dynamic OPPs
    cpufreq / Documentation: Update cpufreq MAINTAINERS entry

    * pm-sleep:
    PM: sleep: call devfreq suspend/resume

    Rafael J. Wysocki
     

10 Jan, 2019

1 commit

  • Pull arch/csky bug fixes from Guo Ren:
    "Here are some fixup patches for 5.0-rc1:

    - fix compile error with pte_alloc

    - fix handle_irq_perbit break irq flow

    - fix CACHEV1 store instruction fast retire

    - fix module relocation error with 807 & 860

    - add csky kernel features to documentation"

    * tag 'csky-for-linus-5.0-rc1' of git://github.com/c-sky/csky-linux:
    irqchip/csky: fixup handle_irq_perbit break irq
    csky: fixup compile error with pte_alloc
    csky: fixup CACHEV1 store instruction fast retire
    csky: fixup relocation error with 807 & 860
    Documentation/features: Add csky kernel features

    Linus Torvalds