27 Sep, 2020

1 commit

  • We forget to add the suffix to the workingset_restore string, so fix it.

    And also update the documentation of cgroup-v2.rst.

    Fixes: 170b04b7ae49 ("mm/workingset: prepare the workingset detection infrastructure for anon LRU")
    Signed-off-by: Muchun Song
    Signed-off-by: Andrew Morton
    Reviewed-by: Shakeel Butt
    Cc: Joonsoo Kim
    Cc: Johannes Weiner
    Cc: Vlastimil Babka
    Cc: Tejun Heo
    Cc: Zefan Li
    Cc: Jonathan Corbet
    Cc: Michal Hocko
    Cc: Vladimir Davydov
    Cc: Roman Gushchin
    Cc: Randy Dunlap
    Link: https://lkml.kernel.org/r/20200916100030.71698-1-songmuchun@bytedance.com
    Signed-off-by: Linus Torvalds

    Muchun Song
     

25 Sep, 2020

1 commit


24 Sep, 2020

1 commit

  • …device-mapper/linux-dm

    Pull device mapper fixes from Mike Snitzer:

    - DM core fix for incorrect double bio splitting. Keep "fixing" this
    because past attempts didn't fully appreciate the liability relative
    to recursive bio splitting. This fix limits DM's bio splitting to a
    single method and does _not_ use blk_queue_split() for normal IO.

    - DM crypt Documentation updates for features added during 5.9 merge.

    * tag 'for-5.9/dm-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
    dm crypt: document encrypted keyring key option
    dm crypt: document new no_workqueue flags
    dm: fix comment in dm_process_bio()
    dm: fix bio splitting and its bio completion order for regular IO

    Linus Torvalds
     

23 Sep, 2020

3 commits

  • Pull networking fixes from Jakub Kicinski:

    - fix failure to add bond interfaces to a bridge, the offload-handling
    code was too defensive there and recent refactoring unearthed that.
    Users complained (Ido)

    - fix unnecessarily reflecting ECN bits within TOS values / QoS marking
    in TCP ACK and reset packets (Wei)

    - fix a deadlock with bpf iterator. Hopefully we're in the clear on
    this front now... (Yonghong)

    - BPF fix for clobbering r2 in bpf_gen_ld_abs (Daniel)

    - fix AQL on mt76 devices with FW rate control and add a couple of AQL
    issues in mac80211 code (Felix)

    - fix authentication issue with mwifiex (Maximilian)

    - WiFi connectivity fix: revert IGTK support in ti/wlcore (Mauro)

    - fix exception handling for multipath routes via same device (David
    Ahern)

    - revert back to a BH spin lock flavor for nsid_lock: there are paths
    which do require the BH context protection (Taehee)

    - fix interrupt / queue / NAPI handling in the lantiq driver (Hauke)

    - fix ife module load deadlock (Cong)

    - make an adjustment to netlink reply message type for code added in
    this release (the sole change touching uAPI here) (Michal)

    - a number of fixes for small NXP and Microchip switches (Vladimir)

    [ Pull request acked by David: "you can expect more of this in the
    future as I try to delegate more things to Jakub" ]

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (167 commits)
    net: mscc: ocelot: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries
    net: dsa: seville: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries
    net: dsa: felix: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries
    inet_diag: validate INET_DIAG_REQ_PROTOCOL attribute
    net: bridge: br_vlan_get_pvid_rcu() should dereference the VLAN group under RCU
    net: Update MAINTAINERS for MediaTek switch driver
    net/mlx5e: mlx5e_fec_in_caps() returns a boolean
    net/mlx5e: kTLS, Avoid kzalloc(GFP_KERNEL) under spinlock
    net/mlx5e: kTLS, Fix leak on resync error flow
    net/mlx5e: kTLS, Add missing dma_unmap in RX resync
    net/mlx5e: kTLS, Fix napi sync and possible use-after-free
    net/mlx5e: TLS, Do not expose FPGA TLS counter if not supported
    net/mlx5e: Fix using wrong stats_grps in mlx5e_update_ndo_stats()
    net/mlx5e: Fix multicast counter not up-to-date in "ip -s"
    net/mlx5e: Fix endianness when calculating pedit mask first bit
    net/mlx5e: Enable adding peer miss rules only if merged eswitch is supported
    net/mlx5e: CT: Fix freeing ct_label mapping
    net/mlx5e: Fix memory leak of tunnel info when rule under multipath not ready
    net/mlx5e: Use synchronize_rcu to sync with NAPI
    net/mlx5e: Use RCU to protect rq->xdp_prog
    ...

    Linus Torvalds
     
  • Commit 27f5411a718c4 ("dm crypt: support using encrypted keys")
    introduced support for encrypted keyring type.

    Fix documentation in admin guide to mention this type.

    Fixes: 27f5411a718c4 ("dm crypt: support using encrypted keys")
    Signed-off-by: Milan Broz
    Signed-off-by: Mike Snitzer

    Milan Broz
     
  • Commit 39d42fa96ba1 ("dm crypt: add flags to optionally bypass kcryptd
    workqueues") introduced new dm-crypt 'no_read_workqueue' and
    'no_write_workqueue' flags.

    Add documentation to admin guide for them.

    Fixes: 39d42fa96ba1 ("dm crypt: add flags to optionally bypass kcryptd workqueues")
    Signed-off-by: Milan Broz
    Signed-off-by: Mike Snitzer

    Milan Broz
     

22 Sep, 2020

1 commit


21 Sep, 2020

1 commit

  • Pull kvm fixes from Paolo Bonzini:
    "ARM:
    - fix fault on page table writes during instruction fetch

    s390:
    - doc improvement

    x86:
    - The obvious patches are always the ones that turn out to be
    completely broken. /me hangs his head in shame"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
    Revert "KVM: Check the allocation of pv cpu mask"
    KVM: arm64: Remove S1PTW check from kvm_vcpu_dabt_iswrite()
    KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch
    docs: kvm: add documentation for KVM_CAP_S390_DIAG318

    Linus Torvalds
     

19 Sep, 2020

1 commit

  • Pull powerpc fixes from Michael Ellerman:
    "Some more powerpc fixes for 5.9:

    - Opt us out of the DEBUG_VM_PGTABLE support for now as it's causing
    crashes.

    - Fix a long standing bug in our DMA mask handling that was hidden
    until recently, and which caused problems with some drivers.

    - Fix a boot failure on systems with large amounts of RAM, and no
    hugepage support and using Radix MMU, only seen in the lab.

    - A few other minor fixes.

    Thanks to Alexey Kardashevskiy, Aneesh Kumar K.V, Gautham R. Shenoy,
    Hari Bathini, Ira Weiny, Nick Desaulniers, Shirisha Ganta, Vaibhav
    Jain, and Vaidyanathan Srinivasan"

    * tag 'powerpc-5.9-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
    powerpc/papr_scm: Limit the readability of 'perf_stats' sysfs attribute
    cpuidle: pseries: Fix CEDE latency conversion from tb to us
    powerpc/dma: Fix dma_map_ops::get_required_mask
    Revert "powerpc/build: vdso linker warning for orphan sections"
    powerpc/mm: Remove DEBUG_VM_PGTABLE support on powerpc
    selftests/powerpc: Skip PROT_SAO test in guests/LPARS
    powerpc/book3s64/radix: Fix boot failure with large amount of guest memory

    Linus Torvalds
     

18 Sep, 2020

1 commit

  • Tunnel offload info code uses ETHTOOL_MSG_TUNNEL_INFO_GET message type (cmd
    field in genetlink header) for replies to tunnel info netlink request, i.e.
    the same value as the request have. This is a problem because we are using
    two separate enums for userspace to kernel and kernel to userspace message
    types so that this ETHTOOL_MSG_TUNNEL_INFO_GET (28) collides with
    ETHTOOL_MSG_CABLE_TEST_TDR_NTF which is what message type 28 means for
    kernel to userspace messages.

    As the tunnel info request reached mainline in 5.9 merge window, we should
    still be able to fix the reply message type without breaking backward
    compatibility.

    Fixes: c7d759eb7b12 ("ethtool: add tunnel info interface")
    Signed-off-by: Michal Kubecek
    Reviewed-by: Jakub Kicinski
    Signed-off-by: David S. Miller

    Michal Kubecek
     

16 Sep, 2020

1 commit

  • Alexei Starovoitov says:

    ====================
    pull-request: bpf 2020-09-15

    The following pull-request contains BPF updates for your *net* tree.

    We've added 12 non-merge commits during the last 19 day(s) which contain
    a total of 10 files changed, 47 insertions(+), 38 deletions(-).

    The main changes are:

    1) docs/bpf fixes, from Andrii.

    2) ld_abs fix, from Daniel.

    3) socket casting helpers fix, from Martin.

    4) hash iterator fixes, from Yonghong.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     

15 Sep, 2020

1 commit

  • Make path to bench_ringbufs.c just a text, not a special link.

    Fixes: 97abb2b39682 ("docs/bpf: Add BPF ring buffer design notes")
    Reported-by: Mauro Carvalho Chehab
    Signed-off-by: Andrii Nakryiko
    Signed-off-by: Alexei Starovoitov
    Link: https://lore.kernel.org/bpf/20200915005031.2748397-1-andriin@fb.com

    Andrii Nakryiko
     

14 Sep, 2020

3 commits

  • The patch partially reverts some of the UAPI bits of the buffer
    cache management hints. Namely, the queue consistency (memory
    coherency) user-space hint because, as it turned out, the kernel
    implementation of this feature was misusing DMA_ATTR_NON_CONSISTENT.

    The patch reverts both kernel and user space parts: removes the
    DMA consistency attr functions, rolls back changes to v4l2_requestbuffers,
    v4l2_create_buffers structures and corresponding UAPI functions
    (plus compat32 layer) and cleans up the documentation.

    [hverkuil: fixed a few typos in the commit log]
    [hverkuil: fixed vb2_core_reqbufs call in drivers/media/dvb-core/dvb_vb2.c]
    [mchehab: fixed a typo in the commit log: revers->reverts]

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Sergey Senozhatsky
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Sergey Senozhatsky
     
  • Documentation for the s390 DIAGNOSE 0x318 instruction handling.

    Signed-off-by: Collin Walling
    Reviewed-by: Cornelia Huck
    Reviewed-by: David Hildenbrand
    Link: https://lore.kernel.org/kvm/20200625150724.10021-2-walling@linux.ibm.com/
    Message-Id:
    Signed-off-by: Christian Borntraeger

    Collin Walling
     
  • Pull ARM SoC fixes from Olof Johansson:
    "A collection of fixes I've been accruing over the last few weeks, none
    of them have been severe enough to warrant flushing the queue but it's
    been long enough now that it's a good idea to send them in.

    A handful of them are fixups for QSPI DT/bindings/compatibles, some
    smaller fixes for system DMA clock control and TMU interrupts on i.MX,
    a handful of fixes for OMAP, including a fix for DSI (display) on
    omap5"

    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (27 commits)
    arm64: dts: ns2: Fixed QSPI compatible string
    ARM: dts: BCM5301X: Fixed QSPI compatible string
    ARM: dts: NSP: Fixed QSPI compatible string
    ARM: dts: bcm: HR2: Fixed QSPI compatible string
    dt-bindings: spi: Fix spi-bcm-qspi compatible ordering
    ARM: dts: imx6sx: fix the pad QSPI1B_SCLK mux mode for uart3
    arm64: dts: imx8mp: correct sdma1 clk setting
    arm64: dts: imx8mq: Fix TMU interrupt property
    ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy
    ARM: dts: vfxxx: Add syscon compatible with OCOTP
    ARM: dts: imx6q-logicpd: Fix broken PWM
    arm64: dts: imx: Add missing imx8mm-beacon-kit.dtb to build
    ARM: dts: imx6q-prtwd2: Remove unneeded i2c unit name
    ARM: dts: imx6qdl-gw51xx: Remove unneeded #address-cells/#size-cells
    ARM: dts: imx7ulp: Correct gpio ranges
    ARM: dts: ls1021a: fix QuadSPI-memory reg range
    arm64: defconfig: Enable ptn5150 extcon driver
    arm64: defconfig: Enable USB gadget with configfs
    ARM: configs: Update Integrator defconfig
    ARM: dts: omap5: Fix DSI base address and clocks
    ...

    Linus Torvalds
     

13 Sep, 2020

2 commits

  • Pull char / misc driver fixes from Greg KH:
    "Here are a number of small driver fixes for 5.9-rc5

    Included in here are:

    - habanalabs driver fixes

    - interconnect driver fixes

    - soundwire driver fixes

    - dyndbg fixes for reported issues, and then reverts to fix it all up
    to a sane state.

    - phy driver fixes

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

    * tag 'char-misc-5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
    Revert "dyndbg: accept query terms like file=bar and module=foo"
    Revert "dyndbg: fix problem parsing format="foo bar""
    scripts/tags.sh: exclude tools directory from tags generation
    video: fbdev: fix OOB read in vga_8planes_imageblit()
    dyndbg: fix problem parsing format="foo bar"
    dyndbg: refine export, rename to dynamic_debug_exec_queries()
    dyndbg: give %3u width in pr-format, cosmetic only
    interconnect: qcom: Fix small BW votes being truncated to zero
    soundwire: fix double free of dangling pointer
    interconnect: Show bandwidth for disabled paths as zero in debugfs
    habanalabs: fix report of RAZWI initiator coordinates
    habanalabs: prevent user buff overflow
    phy: omap-usb2-phy: disable PHY charger detect
    phy: qcom-qmp: Use correct values for ipq8074 PCIe Gen2 PHY init
    soundwire: bus: fix typo in comment on INTSTAT registers
    phy: qualcomm: fix return value check in qcom_ipq806x_usb_phy_probe()
    phy: qualcomm: fix platform_no_drv_owner.cocci warnings

    Linus Torvalds
     
  • Pull kvm fixes from Paolo Bonzini:
    "A bit on the bigger side, mostly due to me being on vacation, then
    busy, then on parental leave, but there's nothing worrisome.

    ARM:
    - Multiple stolen time fixes, with a new capability to match x86
    - Fix for hugetlbfs mappings when PUD and PMD are the same level
    - Fix for hugetlbfs mappings when PTE mappings are enforced (dirty
    logging, for example)
    - Fix tracing output of 64bit values

    x86:
    - nSVM state restore fixes
    - Async page fault fixes
    - Lots of small fixes everywhere"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (25 commits)
    KVM: emulator: more strict rsm checks.
    KVM: nSVM: more strict SMM checks when returning to nested guest
    SVM: nSVM: setup nested msr permission bitmap on nested state load
    SVM: nSVM: correctly restore GIF on vmexit from nesting after migration
    x86/kvm: don't forget to ACK async PF IRQ
    x86/kvm: properly use DEFINE_IDTENTRY_SYSVEC() macro
    KVM: VMX: Don't freeze guest when event delivery causes an APIC-access exit
    KVM: SVM: avoid emulation with stale next_rip
    KVM: x86: always allow writing '0' to MSR_KVM_ASYNC_PF_EN
    KVM: SVM: Periodically schedule when unregistering regions on destroy
    KVM: MIPS: Change the definition of kvm type
    kvm x86/mmu: use KVM_REQ_MMU_SYNC to sync when needed
    KVM: nVMX: Fix the update value of nested load IA32_PERF_GLOBAL_CTRL control
    KVM: fix memory leak in kvm_io_bus_unregister_dev()
    KVM: Check the allocation of pv cpu mask
    KVM: nVMX: Update VMCS02 when L2 PAE PDPTE updates detected
    KVM: arm64: Update page shift if stage 2 block mapping not supported
    KVM: arm64: Fix address truncation in traces
    KVM: arm64: Do not try to map PUDs when they are folded into PMD
    arm64/x86: KVM: Introduce steal-time cap
    ...

    Linus Torvalds
     

11 Sep, 2020

3 commits

  • Remove link to litmus tests that didn't make it to upstream. Fix ringbuf
    benchmark link.

    I wasn't able to test this with `make htmldocs`, unfortunately, because of
    Sphinx dependencies. But bench_ringbufs.c path is certainly correct now.

    Fixes: 97abb2b39682 ("docs/bpf: Add BPF ring buffer design notes")
    Reported-by: Mauro Carvalho Chehab
    Signed-off-by: Andrii Nakryiko
    Signed-off-by: Alexei Starovoitov
    Link: https://lore.kernel.org/bpf/20200910225245.2896991-1-andriin@fb.com

    Andrii Nakryiko
     
  • drm-misc-fixes for v5.9-rc5:
    - Fix double free in virtio.
    - Add missing put_device in sun4i, and other fixes.
    - Small ingenic fixes.
    - Handle sun4i alpha on lowest plane correctly.
    - Remove output->enabled from virtio, as it should use crtc_state.
    - Fix tve200 enable/disable.
    - Documentation fix.
    - Fix virtio unblank.

    Signed-off-by: Dave Airlie

    From: Maarten Lankhorst
    Link: https://patchwork.freedesktop.org/patch/msgid/478b49d1-b1b3-c983-7056-8a89249be435@mblankhorst.nl

    Dave Airlie
     
  • This reverts commit 14775b04964264189caa4a0862eac05dab8c0502 as there
    were still some parsing problems with it, and the follow-on patch for
    it.

    Let's revisit it later, just drop it for now.

    Cc:
    Cc: Jim Cromie
    Reported-by: Naresh Kamboju
    Cc: Stephen Rothwell
    Fixes: 14775b049642 ("dyndbg: accept query terms like file=bar and module=foo")
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

10 Sep, 2020

1 commit

  • The binding is currently incorrectly defining the compatible strings
    from least specifice to most specific instead of the converse. Re-order
    them from most specific (left) to least specific (right) and fix the
    examples as well.

    Fixes: 5fc78f4c842a ("spi: Broadcom BRCMSTB, NSP, NS2 SoC bindings")
    Reviewed-by: Rob Herring
    Signed-off-by: Florian Fainelli

    Florian Fainelli
     

05 Sep, 2020

3 commits

  • …/masahiroy/linux-kbuild

    Pull Kbuild fixes from Masahiro Yamada:

    - fix documents

    - fix warning in 'make localmodconfig'

    * tag 'kbuild-fixes-v5.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
    kconfig: remove redundant assignment prompt = prompt
    kbuild: Documentation: clean up makefiles.rst
    kconfig: streamline_config.pl: check defined(ENV variable) before using it
    Documentation/llvm: Improve formatting of commands, variables, and arguments

    Linus Torvalds
     
  • Pull power management fixes from Rafael Wysocki:
    "These fix reference counting in the operating performance points (OPP)
    framework and address a few intel_pstate driver issues, mostly related
    to switching driver operation modes and similar with hardware-managed
    P-states (HWP) enabled.

    Specifics:

    - Fix reference counting of operating performance points (OPP) tables
    (Viresh Kumar).

    - Address intel_pstate driver interface issues, mostly related to
    switching operation modes and handling CPU offline and online and
    system-wide suspend/resume with hardware-managed P-states (HWP)
    enabled (Rafael Wysocki).

    - Fix the maximum frequency computation in the intel_pstate driver
    with turbo P-states disabled by the platform firmware and HWP
    enabled (Francisco Jerez)"

    * tag 'pm-5.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    cpufreq: intel_pstate: Fix intel_pstate_get_hwp_max() for turbo disabled
    cpufreq: intel_pstate: Free memory only when turning off
    cpufreq: intel_pstate: Add ->offline and ->online callbacks
    cpufreq: intel_pstate: Tweak the EPP sysfs interface
    cpufreq: intel_pstate: Update cached EPP in the active mode
    cpufreq: intel_pstate: Refuse to turn off with HWP enabled
    opp: Don't drop reference for an OPP table that was never parsed

    Linus Torvalds
     
  • Pull sound fixes from Takashi Iwai:
    "A collection of small changes, nothing intrusive:

    - remaining tasklet API conversions, now all sound stuff have been
    converted

    - a few HD-audio and USB-audio quirks and minor fixes

    - FireWire Tascam and Digi00xx fixes

    - drop a kernel WARNING from PCM OSS for syzkaller"

    * tag 'sound-5.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (29 commits)
    ALSA: hda/realtek - Improved routing for Thinkpad X1 7th/8th Gen
    ALSA: hda: use consistent HDAudio spelling in comments/docs
    ALSA: hda: add dev_dbg log when driver is not selected
    ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled
    ALSA: hda: hdmi - add Rocketlake support
    ALSA: ua101: convert tasklets to use new tasklet_setup() API
    ALSA: usb-audio: convert tasklets to use new tasklet_setup() API
    ASoC: txx9: convert tasklets to use new tasklet_setup() API
    ASoC: siu: convert tasklets to use new tasklet_setup() API
    ASoC: fsl_esai: convert tasklets to use new tasklet_setup() API
    ALSA: hdsp: convert tasklets to use new tasklet_setup() API
    ALSA: riptide: convert tasklets to use new tasklet_setup() API
    ALSA: pci/asihpi: convert tasklets to use new tasklet_setup() API
    ALSA: firewire: convert tasklets to use new tasklet_setup() API
    ALSA: core: convert tasklets to use new tasklet_setup() API
    ALSA: pcm: oss: Remove superfluous WARN_ON() for mulaw sanity check
    ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO
    ALSA: hda/hdmi: always check pin power status in i915 pin fixup
    ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion NT950XCJ-X716A
    ALSA: usb-audio: Add basic capture support for Pioneer DJ DJM-250MK2
    ...

    Linus Torvalds
     

04 Sep, 2020

2 commits

  • Pull networking fixes from David Miller:

    1) Use netif_rx_ni() when necessary in batman-adv stack, from Jussi
    Kivilinna.

    2) Fix loss of RTT samples in rxrpc, from David Howells.

    3) Memory leak in hns_nic_dev_probe(), from Dignhao Liu.

    4) ravb module cannot be unloaded, fix from Yuusuke Ashizuka.

    5) We disable BH for too lokng in sctp_get_port_local(), add a
    cond_resched() here as well, from Xin Long.

    6) Fix memory leak in st95hf_in_send_cmd, from Dinghao Liu.

    7) Out of bound access in bpf_raw_tp_link_fill_link_info(), from
    Yonghong Song.

    8) Missing of_node_put() in mt7530 DSA driver, from Sumera
    Priyadarsini.

    9) Fix crash in bnxt_fw_reset_task(), from Michael Chan.

    10) Fix geneve tunnel checksumming bug in hns3, from Yi Li.

    11) Memory leak in rxkad_verify_response, from Dinghao Liu.

    12) In tipc, don't use smp_processor_id() in preemptible context. From
    Tuong Lien.

    13) Fix signedness issue in mlx4 memory allocation, from Shung-Hsi Yu.

    14) Missing clk_disable_prepare() in gemini driver, from Dan Carpenter.

    15) Fix ABI mismatch between driver and firmware in nfp, from Louis
    Peens.

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (110 commits)
    net/smc: fix sock refcounting in case of termination
    net/smc: reset sndbuf_desc if freed
    net/smc: set rx_off for SMCR explicitly
    net/smc: fix toleration of fake add_link messages
    tg3: Fix soft lockup when tg3_reset_task() fails.
    doc: net: dsa: Fix typo in config code sample
    net: dp83867: Fix WoL SecureOn password
    nfp: flower: fix ABI mismatch between driver and firmware
    tipc: fix shutdown() of connectionless socket
    ipv6: Fix sysctl max for fib_multipath_hash_policy
    drivers/net/wan/hdlc: Change the default of hard_header_len to 0
    net: gemini: Fix another missing clk_disable_unprepare() in probe
    net: bcmgenet: fix mask check in bcmgenet_validate_flow()
    amd-xgbe: Add support for new port mode
    net: usb: dm9601: Add USB ID of Keenetic Plus DSL
    vhost: fix typo in error message
    net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init()
    pktgen: fix error message with wrong function name
    net: ethernet: ti: am65-cpsw: fix rmii 100Mbit link mode
    cxgb4: fix thermal zone device registration
    ...

    Linus Torvalds
     
  • In the "single port" example code for configuring a DSA switch without
    tagging support from userspace the command to bring up the "lan2" link
    was typo'd.

    Signed-off-by: Paul Barker
    Acked-by: Florian Fainelli
    Signed-off-by: David S. Miller

    Paul Barker
     

03 Sep, 2020

3 commits

  • Pull affs fix from David Sterba:
    "One fix to make permissions work the same way as on AmigaOS"

    * tag 'affs-for-5.9-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
    affs: fix basic permission bits to actually work

    Linus Torvalds
     
  • This is a general cleanup of kbuild/makefiles.rst:

    * Use "Chapter" for major heading references and use "section" for
    the next-level heading references, for consistency.
    * Section 3.8 was deleted long ago.
    * Drop the ending ':' in section names in the contents list.
    * Correct some section numbering references.
    * Correct verb agreement typo.
    * Fix run-on sentence punctuation.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Masahiro Yamada

    Randy Dunlap
     
  • We use HDaudio and HDAudio, pick one to make searches easier.
    No functionality change

    Also fix timestamping typo in documentation.

    Reported-by: Guennadi Liakhovetski
    Signed-off-by: Pierre-Louis Bossart
    Reviewed-by: Bard Liao
    Reviewed-by: Guennadi Liakhovetski
    Signed-off-by: Kai Vehmanen
    Link: https://lore.kernel.org/r/20200902154250.1440585-1-kai.vehmanen@linux.intel.com
    Signed-off-by: Takashi Iwai

    Pierre-Louis Bossart
     

02 Sep, 2020

3 commits

  • The test is broken w.r.t page table update rules and results in kernel
    crash as below. Disable the support until we get the tests updated.

    [ 21.083519] kernel BUG at arch/powerpc/mm/pgtable.c:304!
    cpu 0x0: Vector: 700 (Program Check) at [c000000c6d1e76c0]
    pc: c00000000009a5ec: assert_pte_locked+0x14c/0x380
    lr: c0000000005eeeec: pte_update+0x11c/0x190
    sp: c000000c6d1e7950
    msr: 8000000002029033
    current = 0xc000000c6d172c80
    paca = 0xc000000003ba0000 irqmask: 0x03 irq_happened: 0x01
    pid = 1, comm = swapper/0
    kernel BUG at arch/powerpc/mm/pgtable.c:304!
    [link register ] c0000000005eeeec pte_update+0x11c/0x190
    [c000000c6d1e7950] 0000000000000001 (unreliable)
    [c000000c6d1e79b0] c0000000005eee14 pte_update+0x44/0x190
    [c000000c6d1e7a10] c000000001a2ca9c pte_advanced_tests+0x160/0x3d8
    [c000000c6d1e7ab0] c000000001a2d4fc debug_vm_pgtable+0x7e8/0x1338
    [c000000c6d1e7ba0] c0000000000116ec do_one_initcall+0xac/0x5f0
    [c000000c6d1e7c80] c0000000019e4fac kernel_init_freeable+0x4dc/0x5a4
    [c000000c6d1e7db0] c000000000012474 kernel_init+0x24/0x160
    [c000000c6d1e7e20] c00000000000cbd0 ret_from_kernel_thread+0x5c/0x6c

    With DEBUG_VM disabled

    [ 20.530152] BUG: Kernel NULL pointer dereference on read at 0x00000000
    [ 20.530183] Faulting instruction address: 0xc0000000000df330
    cpu 0x33: Vector: 380 (Data SLB Access) at [c000000c6d19f700]
    pc: c0000000000df330: memset+0x68/0x104
    lr: c00000000009f6d8: hash__pmdp_huge_get_and_clear+0xe8/0x1b0
    sp: c000000c6d19f990
    msr: 8000000002009033
    dar: 0
    current = 0xc000000c6d177480
    paca = 0xc00000001ec4f400 irqmask: 0x03 irq_happened: 0x01
    pid = 1, comm = swapper/0
    [link register ] c00000000009f6d8 hash__pmdp_huge_get_and_clear+0xe8/0x1b0
    [c000000c6d19f990] c00000000009f748 hash__pmdp_huge_get_and_clear+0x158/0x1b0 (unreliable)
    [c000000c6d19fa10] c0000000019ebf30 pmd_advanced_tests+0x1f0/0x378
    [c000000c6d19fab0] c0000000019ed088 debug_vm_pgtable+0x79c/0x1244
    [c000000c6d19fba0] c0000000000116ec do_one_initcall+0xac/0x5f0
    [c000000c6d19fc80] c0000000019a4fac kernel_init_freeable+0x4dc/0x5a4
    [c000000c6d19fdb0] c000000000012474 kernel_init+0x24/0x160
    [c000000c6d19fe20] c00000000000cbd0 ret_from_kernel_thread+0x5c/0x6c
    33:mon>

    Signed-off-by: Aneesh Kumar K.V
    Signed-off-by: Michael Ellerman
    Link: https://lore.kernel.org/r/20200902040122.136414-1-aneesh.kumar@linux.ibm.com

    Aneesh Kumar K.V
     
  • Pull tasklet API conversions.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Modify the EPP sysfs interface to reject attempts to change the EPP
    to values different from 0 ("performance") in the active mode with
    the "performance" policy (ie. scaling_governor set to "performance"),
    to avoid situations in which the kernel appears to discard data
    passed to it via the EPP sysfs attribute.

    Signed-off-by: Rafael J. Wysocki
    Reviewed-by: Artem Bityutskiy
    Acked-by: Srinivas Pandruvada

    Rafael J. Wysocki
     

01 Sep, 2020

3 commits

  • /home/rdunlap/lnx/lnx-59-rc2/Documentation/driver-api/dma-buf.rst:182: WARNING: Title underline too short.
    Indefinite DMA Fences
    ~~~~~~~~~~~~~~~~~~~~

    Fixes: 72b6ede73623 ("dma-buf.rst: Document why indefinite fences are a bad idea")
    Signed-off-by: Randy Dunlap
    Cc: Daniel Vetter
    Cc: Daniel Vetter
    Cc: Dave Airlie
    Signed-off-by: Daniel Vetter
    Link: https://patchwork.freedesktop.org/patch/msgid/1b22d4c3-4ea5-c633-9e35-71ce65d8dbcc@infradead.org

    Randy Dunlap
     
  • Pull documentation fixes from Jonathan Corbet:
    "A handful of documentation fixes for 5.9"

    * tag 'docs-5.9-3' of git://git.lwn.net/linux:
    Documentation: laptops: thinkpad-acpi: fix underline length build warning
    Documentation: fix typo for abituguru documentation
    docs: Fix function name trailing double-()s
    devices.txt: fix typo of "ubd" as "udb"
    Documentation: add riscv entry in list of existing profiles
    MAINTAINERS: mention documentation maintainer entry profile
    Fpga: Documentation: Replace deprecated :c:func: Usage
    IIO: Documentation: Replace deprecated :c:func: Usage
    Documentation/locking/locktypes: fix local_locks documentation

    Linus Torvalds
     
  • Pull MMC fixes from Ulf Hansson:

    - Fix HS400 tuning for ACPI ID AMDI0040

    - Fix reset of CQHCI for Intel GLK-based controllers

    - Use correct timeout clock for Tegra186/194/210

    - Fix eMMC mounting on mt7622/Bpi-64

    * tag 'mmc-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
    sdhci: tegra: Add missing TMCLK for data timeout
    arm64: tegra: Add missing timeout clock to Tegra194 SDMMC nodes
    arm64: tegra: Add missing timeout clock to Tegra186 SDMMC nodes
    arm64: tegra: Add missing timeout clock to Tegra210 SDMMC
    dt-bindings: mmc: tegra: Add tmclk for Tegra210 and later
    sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra186
    sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra210
    arm64: dts: mt7622: add reset node for mmc device
    dt-bindings: mmc: Add missing description for clk_in/out_sd1
    mmc: mediatek: add optional module reset property
    mmc: dt-bindings: Add resets/reset-names for Mediatek MMC bindings
    mmc: sdhci-pci: Fix SDHCI_RESET_ALL for CQHCI for Intel GLK-based controllers
    mmc: sdhci-acpi: Fix HS400 tuning for AMDI0040

    Linus Torvalds
     

31 Aug, 2020

4 commits

  • While reviewing a separate patch, I noticed that the formatting of the
    commands, variables, and arguments was not in a monospaced font like the
    rest of the Kbuild documentation (see kbuild/kconfig.rst for an
    example). This is due to a lack of "::" before indented command blocks
    and single backticks instead of double backticks for inline formatting.

    Add those so that the document looks nicer in an HTML format, while not
    ruining the look in plain text.

    As a result of this, we can remove the escaped backslashes in the last
    code block and move them to single backslashes.

    Signed-off-by: Nathan Chancellor
    Reviewed-by: Nick Desaulniers
    Signed-off-by: Masahiro Yamada

    Nathan Chancellor
     
  • The basic permission bits (protection bits in AmigaOS) have been broken
    in Linux' AFFS - it would only set bits, but never delete them.
    Also, contrary to the documentation, the Archived bit was not handled.

    Let's fix this for good, and set the bits such that Linux and classic
    AmigaOS can coexist in the most peaceful manner.

    Also, update the documentation to represent the current state of things.

    Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
    Cc: stable@vger.kernel.org
    Signed-off-by: Max Staudt
    Signed-off-by: David Sterba

    Max Staudt
     
  • Pull irq fixes from Thomas Gleixner:
    "A set of fixes for interrupt chip drivers:

    - Revert the platform driver conversion of interrupt chip drivers as
    it turned out to create more problems than it solves.

    - Fix a trivial typo in the new module helpers which made probing
    reliably fail.

    - Small fixes in the STM32 and MIPS Ingenic drivers

    - The TI firmware rework which had badly managed dependencies and had
    to wait post rc1"

    * tag 'irq-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    irqchip/ingenic: Leave parent IRQ unmasked on suspend
    irqchip/stm32-exti: Avoid losing interrupts due to clearing pending bits by mistake
    irqchip: Revert modular support for drivers using IRQCHIP_PLATFORM_DRIVER helperse
    irqchip: Fix probing deferal when using IRQCHIP_PLATFORM_DRIVER helpers
    arm64: dts: k3-am65: Update the RM resource types
    arm64: dts: k3-am65: ti-sci-inta/intr: Update to latest bindings
    arm64: dts: k3-j721e: ti-sci-inta/intr: Update to latest bindings
    irqchip/ti-sci-inta: Add support for INTA directly connecting to GIC
    irqchip/ti-sci-inta: Do not store TISCI device id in platform device id field
    dt-bindings: irqchip: Convert ti, sci-inta bindings to yaml
    dt-bindings: irqchip: ti, sci-inta: Update docs to support different parent.
    irqchip/ti-sci-intr: Add support for INTR being a parent to INTR
    dt-bindings: irqchip: Convert ti, sci-intr bindings to yaml
    dt-bindings: irqchip: ti, sci-intr: Update bindings to drop the usage of gic as parent
    firmware: ti_sci: Add support for getting resource with subtype
    firmware: ti_sci: Drop unused structure ti_sci_rm_type_map
    firmware: ti_sci: Drop the device id to resource type translation

    Linus Torvalds
     
  • Pull powerpc fixes from Michael Ellerman:

    - Revert our removal of PROT_SAO, at least one user expressed an
    interest in using it on Power9. Instead don't allow it to be used in
    guests unless enabled explicitly at compile time.

    - A fix for a crash introduced by a recent change to FP handling.

    - Revert a change to our idle code that left Power10 with no idle
    support.

    - One minor fix for the new scv system call path to set PPR.

    - Fix a crash in our "generic" PMU if branch stack events were enabled.

    - A fix for the IMC PMU, to correctly identify host kernel samples.

    - The ADB_PMU powermac code was found to be incompatible with
    VMAP_STACK, so make them incompatible in Kconfig until the code can
    be fixed.

    - A build fix in drivers/video/fbdev/controlfb.c, and a documentation
    fix.

    Thanks to Alexey Kardashevskiy, Athira Rajeev, Christophe Leroy,
    Giuseppe Sacco, Madhavan Srinivasan, Milton Miller, Nicholas Piggin,
    Pratik Rajesh Sampat, Randy Dunlap, Shawn Anastasio, Vaidyanathan
    Srinivasan.

    * tag 'powerpc-5.9-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
    powerpc/32s: Disable VMAP stack which CONFIG_ADB_PMU
    Revert "powerpc/powernv/idle: Replace CPU feature check with PVR check"
    powerpc/perf: Fix reading of MSR[HV/PR] bits in trace-imc
    powerpc/perf: Fix crashes with generic_compat_pmu & BHRB
    powerpc/64s: Fix crash in load_fp_state() due to fpexc_mode
    powerpc/64s: scv entry should set PPR
    Documentation/powerpc: fix malformed table in syscall64-abi
    video: fbdev: controlfb: Fix build for COMPILE_TEST=y && PPC_PMAC=n
    selftests/powerpc: Update PROT_SAO test to skip ISA 3.1
    powerpc/64s: Disallow PROT_SAO in LPARs by default
    Revert "powerpc/64s: Remove PROT_SAO support"

    Linus Torvalds
     

29 Aug, 2020

1 commit

  • Pull power management fixes from Rafael Wysocki:
    "These fix the recently added Tegra194 cpufreq driver and the handling
    of devices using runtime PM during system-wide suspend, improve the
    intel_pstate driver documentation and clean up the cpufreq core.

    Specifics:

    - Make the recently added Tegra194 cpufreq driver use
    read_cpuid_mpir() instead of cpu_logical_map() to avoid exporting
    logical_cpu_map (Sumit Gupta).

    - Drop the automatic system wakeup event reporting for devices with
    pending runtime-resume requests during system-wide suspend to avoid
    spurious aborts of the suspend flow (Rafael Wysocki).

    - Fix build warning in the intel_pstate driver documentation and
    improve the wording in there (Randy Dunlap).

    - Clean up two pieces of code in the cpufreq core (Viresh Kumar)"

    * tag 'pm-5.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    cpufreq: Use WARN_ON_ONCE() for invalid relation
    cpufreq: No need to verify cpufreq_driver in show_scaling_cur_freq()
    PM: sleep: core: Fix the handling of pending runtime resume requests
    Documentation: fix pm/intel_pstate build warning and wording
    cpufreq: replace cpu_logical_map() with read_cpuid_mpir()

    Linus Torvalds