24 Aug, 2020

4 commits

  • Linux 5.9-rc2

    Signed-off-by: Greg Kroah-Hartman
    Change-Id: I4dd4b70b085bfa0b5cb49ffa373c18cfe857bcf3

    Greg Kroah-Hartman
     
  • Pull powerpc fixes from Michael Ellerman:

    - Add perf support for emitting extended registers for power10.

    - A fix for CPU hotplug on pseries, where on large/loaded systems we
    may not wait long enough for the CPU to be offlined, leading to
    crashes.

    - Addition of a raw cputable entry for Power10, which is not required
    to boot, but is required to make our PMU setup work correctly in
    guests.

    - Three fixes for the recent changes on 32-bit Book3S to move modules
    into their own segment for strict RWX.

    - A fix for a recent change in our powernv PCI code that could lead to
    crashes.

    - A change to our perf interrupt accounting to avoid soft lockups when
    using some events, found by syzkaller.

    - A change in the way we handle power loss events from the hypervisor
    on pseries. We no longer immediately shut down if we're told we're
    running on a UPS.

    - A few other minor fixes.

    Thanks to Alexey Kardashevskiy, Andreas Schwab, Aneesh Kumar K.V, Anju T
    Sudhakar, Athira Rajeev, Christophe Leroy, Frederic Barrat, Greg Kurz,
    Kajol Jain, Madhavan Srinivasan, Michael Neuling, Michael Roth,
    Nageswara R Sastry, Oliver O'Halloran, Thiago Jung Bauermann,
    Vaidyanathan Srinivasan, Vasant Hegde.

    * tag 'powerpc-5.9-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
    powerpc/perf/hv-24x7: Move cpumask file to top folder of hv-24x7 driver
    powerpc/32s: Fix module loading failure when VMALLOC_END is over 0xf0000000
    powerpc/pseries: Do not initiate shutdown when system is running on UPS
    powerpc/perf: Fix soft lockups due to missed interrupt accounting
    powerpc/powernv/pci: Fix possible crash when releasing DMA resources
    powerpc/pseries/hotplug-cpu: wait indefinitely for vCPU death
    powerpc/32s: Fix is_module_segment() when MODULES_VADDR is defined
    powerpc/kasan: Fix KASAN_SHADOW_START on BOOK3S_32
    powerpc/fixmap: Fix the size of the early debug area
    powerpc/pkeys: Fix build error with PPC_MEM_KEYS disabled
    powerpc/kernel: Cleanup machine check function declarations
    powerpc: Add POWER10 raw mode cputable entry
    powerpc/perf: Add extended regs support for power10 platform
    powerpc/perf: Add support for outputting extended regs in perf intr_regs
    powerpc: Fix P10 PVR revision in /proc/cpuinfo for SMT4 cores

    Linus Torvalds
     
  • Pull EFI fixes from Thomas Gleixner:

    - Enforce NX on RO data in mixed EFI mode

    - Destroy workqueue in an error handling path to prevent UAF

    - Stop argument parser at '--' which is the delimiter for init

    - Treat a NULL command line pointer as empty instead of dereferncing it
    unconditionally.

    - Handle an unterminated command line correctly

    - Cleanup the 32bit code leftovers and remove obsolete documentation

    * tag 'efi-urgent-2020-08-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    Documentation: efi: remove description of efi=old_map
    efi/x86: Move 32-bit code into efi_32.c
    efi/libstub: Handle unterminated cmdline
    efi/libstub: Handle NULL cmdline
    efi/libstub: Stop parsing arguments at "--"
    efi: add missed destroy_workqueue when efisubsys_init fails
    efi/x86: Mark kernel rodata non-executable for mixed mode

    Linus Torvalds
     
  • Pull networking fixes from David Miller:
    "Nothing earth shattering here, lots of small fixes (f.e. missing RCU
    protection, bad ref counting, missing memset(), etc.) all over the
    place:

    1) Use get_file_rcu() in task_file iterator, from Yonghong Song.

    2) There are two ways to set remote source MAC addresses in macvlan
    driver, but only one of which validates things properly. Fix this.
    From Alvin Šipraga.

    3) Missing of_node_put() in gianfar probing, from Sumera
    Priyadarsini.

    4) Preserve device wanted feature bits across multiple netlink
    ethtool requests, from Maxim Mikityanskiy.

    5) Fix rcu_sched stall in task and task_file bpf iterators, from
    Yonghong Song.

    6) Avoid reset after device destroy in ena driver, from Shay
    Agroskin.

    7) Missing memset() in netlink policy export reallocation path, from
    Johannes Berg.

    8) Fix info leak in __smc_diag_dump(), from Peilin Ye.

    9) Decapsulate ECN properly for ipv6 in ipv4 tunnels, from Mark
    Tomlinson.

    10) Fix number of data stream negotiation in SCTP, from David Laight.

    11) Fix double free in connection tracker action module, from Alaa
    Hleihel.

    12) Don't allow empty NHA_GROUP attributes, from Nikolay Aleksandrov"

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (46 commits)
    net: nexthop: don't allow empty NHA_GROUP
    bpf: Fix two typos in uapi/linux/bpf.h
    net: dsa: b53: check for timeout
    tipc: call rcu_read_lock() in tipc_aead_encrypt_done()
    net/sched: act_ct: Fix skb double-free in tcf_ct_handle_fragments() error flow
    net: sctp: Fix negotiation of the number of data streams.
    dt-bindings: net: renesas, ether: Improve schema validation
    gre6: Fix reception with IP6_TNL_F_RCV_DSCP_COPY
    hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
    hv_netvsc: Remove "unlikely" from netvsc_select_queue
    bpf: selftests: global_funcs: Check err_str before strstr
    bpf: xdp: Fix XDP mode when no mode flags specified
    selftests/bpf: Remove test_align leftovers
    tools/resolve_btfids: Fix sections with wrong alignment
    net/smc: Prevent kernel-infoleak in __smc_diag_dump()
    sfc: fix build warnings on 32-bit
    net: phy: mscc: Fix a couple of spelling mistakes "spcified" -> "specified"
    libbpf: Fix map index used in error message
    net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()
    net: atlantic: Use readx_poll_timeout() for large timeout
    ...

    Linus Torvalds
     

23 Aug, 2020

1 commit

  • Pull devicetree fixes from Rob Herring:
    "Another set of DT fixes:

    - restore range parsing error check

    - workaround PCI range parsing with missing 'device_type' now
    required

    - correct description of 'phy-connection-type'

    - fix erroneous matching on 'snps,dw-pcie' by 'intel,lgm-pcie' schema

    - a couple of grammar and whitespace fixes

    - update Shawn Guo's email"

    * tag 'devicetree-fixes-for-5.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    dt-bindings: vendor-prefixes: Remove trailing whitespace
    dt-bindings: net: correct description of phy-connection-type
    dt-bindings: PCI: intel,lgm-pcie: Fix matching on all snps,dw-pcie instances
    of: address: Work around missing device_type property in pcie nodes
    dt: writing-schema: Miscellaneous grammar fixes
    dt-bindings: Use Shawn Guo's preferred e-mail for i.MX bindings
    of/address: check for invalid range.cpu_addr

    Linus Torvalds
     

22 Aug, 2020

5 commits

  • Fixes: f516fb704d02fff2 ("dt-bindings: Whitespace clean-ups in schema files")
    Signed-off-by: Geert Uytterhoeven
    Link: https://lore.kernel.org/r/20200819092058.1526-1-geert+renesas@glider.be
    Signed-off-by: Rob Herring

    Geert Uytterhoeven
     
  • The phy-connection-type parameter is described in ePAPR 1.1:

    Specifies interface type between the Ethernet device and a physical
    layer (PHY) device. The value of this property is specific to the
    implementation.

    Signed-off-by: Madalin Bucur
    Link: https://lore.kernel.org/r/1597917724-11127-1-git-send-email-madalin.bucur@oss.nxp.com
    Signed-off-by: Rob Herring

    Madalin Bucur
     
  • The intel,lgm-pcie binding is matching on all snps,dw-pcie instances
    which is wrong. Add a custom 'select' entry to fix this.

    Fixes: e54ea45a4955 ("dt-bindings: PCI: intel: Add YAML schemas for the PCIe RC controller")
    Cc: Bjorn Helgaas
    Cc: linux-pci@vger.kernel.org
    Reviewed-by: Dilip Kota
    Signed-off-by: Rob Herring

    Rob Herring
     
  • Pull RISC-V fixes from Palmer Dabbelt:

    - The CLINT driver has been split in two: one to handle the M-mode
    CLINT (memory mapped and used on NOMMU systems) and one to handle the
    S-mode CLINT (via SBI).

    - The addition of SiFive's drivers to rv32_defconfig

    * tag 'riscv-for-linus-5.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
    riscv: Add SiFive drivers to rv32_defconfig
    dt-bindings: timer: Add CLINT bindings
    RISC-V: Remove CLINT related code from timer and arch
    clocksource/drivers: Add CLINT timer driver
    RISC-V: Add mechanism to provide custom IPI operations

    Linus Torvalds
     
  • Pull ext4 updates from Ted Ts'o:
    "Improvements to ext4's block allocator performance for very large file
    systems, especially when the file system or files which are highly
    fragmented. There is a new mount option, prefetch_block_bitmaps which
    will pull in the block bitmaps and set up the in-memory buddy bitmaps
    when the file system is initially mounted.

    Beyond that, a lot of bug fixes and cleanups. In particular, a number
    of changes to make ext4 more robust in the face of write errors or
    file system corruptions"

    * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (46 commits)
    ext4: limit the length of per-inode prealloc list
    ext4: reorganize if statement of ext4_mb_release_context()
    ext4: add mb_debug logging when there are lost chunks
    ext4: Fix comment typo "the the".
    jbd2: clean up checksum verification in do_one_pass()
    ext4: change to use fallthrough macro
    ext4: remove unused parameter of ext4_generic_delete_entry function
    mballoc: replace seq_printf with seq_puts
    ext4: optimize the implementation of ext4_mb_good_group()
    ext4: delete invalid comments near ext4_mb_check_limits()
    ext4: fix typos in ext4_mb_regular_allocator() comment
    ext4: fix checking of directory entry validity for inline directories
    fs: prevent BUG_ON in submit_bh_wbc()
    ext4: correctly restore system zone info when remount fails
    ext4: handle add_system_zone() failure in ext4_setup_system_zone()
    ext4: fold ext4_data_block_valid_rcu() into the caller
    ext4: check journal inode extents more carefully
    ext4: don't allow overlapping system zones
    ext4: handle error of ext4_setup_system_zone() on remount
    ext4: delete the invalid BUGON in ext4_mb_load_buddy_gfp()
    ...

    Linus Torvalds
     

21 Aug, 2020

3 commits

  • Commit 792f73f747b8 ("powerpc/hv-24x7: Add sysfs files inside hv-24x7
    device to show cpumask") added cpumask file as part of hv-24x7 driver
    inside the interface folder. The cpumask file is supposed to be in the
    top folder of the PMU driver in order to make hotplug work.

    This patch fixes that issue and creates new group 'cpumask_attr_group'
    to add cpumask file and make sure it added in top folder.

    command:# cat /sys/devices/hv_24x7/cpumask
    0

    Fixes: 792f73f747b8 ("powerpc/hv-24x7: Add sysfs files inside hv-24x7 device to show cpumask")
    Signed-off-by: Kajol Jain
    Signed-off-by: Michael Ellerman
    Link: https://lore.kernel.org/r/20200821080610.123997-1-kjain@linux.ibm.com

    Kajol Jain
     
  • - Remove pinctrl consumer properties, as they are handled by core
    dt-schema,
    - Document missing properties,
    - Document missing PHY child node,
    - Add "additionalProperties: false".

    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Rob Herring
    Reviewed-by: Sergei Shtylyov
    Signed-off-by: David S. Miller

    Geert Uytterhoeven
     
  • We add DT bindings documentation for CLINT device.

    Signed-off-by: Anup Patel
    Reviewed-by: Palmer Dabbelt
    Tested-by: Emil Renner Berhing
    Reviewed-by: Atish Patra
    Reviewed-by: Rob Herring
    Reviewed-by: Palmer Dabbelt
    Signed-off-by: Palmer Dabbelt

    Anup Patel
     

20 Aug, 2020

3 commits

  • The old EFI runtime region mapping logic that was kept around for some
    time has finally been removed entirely, along with the SGI UV1 support
    code that was its last remaining user. So remove any mention of the
    efi=old_map command line parameter from the docs.

    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Signed-off-by: Ard Biesheuvel

    Ard Biesheuvel
     
  • - Add missing verb,
    - Fix accidental plural.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Rob Herring
    Link: https://lore.kernel.org/r/20200819124850.20543-1-geert+renesas@glider.be

    Geert Uytterhoeven
     
  • In the scenario of writing sparse files, the per-inode prealloc list may
    be very long, resulting in high overhead for ext4_mb_use_preallocated().
    To circumvent this problem, we limit the maximum length of per-inode
    prealloc list to 512 and allow users to modify it.

    After patching, we observed that the sys ratio of cpu has dropped, and
    the system throughput has increased significantly. We created a process
    to write the sparse file, and the running time of the process on the
    fixed kernel was significantly reduced, as follows:

    Running time on unfixed kernel:
    [root@TENCENT64 ~]# time taskset 0x01 ./sparse /data1/sparce.dat
    real 0m2.051s
    user 0m0.008s
    sys 0m2.026s

    Running time on fixed kernel:
    [root@TENCENT64 ~]# time taskset 0x01 ./sparse /data1/sparce.dat
    real 0m0.471s
    user 0m0.004s
    sys 0m0.395s

    Signed-off-by: Chunguang Xu
    Link: https://lore.kernel.org/r/d7a98178-056b-6db5-6bce-4ead23f4a257@gmail.com
    Signed-off-by: Theodore Ts'o

    brookxu
     

19 Aug, 2020

2 commits

  • Pull spi fixes from Mark Brown:
    "A bunch of fixes that came in for SPI during the merge window.

    Some from ST and others for their controller, one from Lukas for a
    race between device addition and controller unregistration and one
    from fix from Geert for the DT bindings which unbreaks validation"

    * tag 'spi-fix-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
    dt-bindings: lpspi: Add missing boolean type for fsl,spi-only-use-cs1-sel
    spi: stm32: always perform registers configuration prior to transfer
    spi: stm32: fixes suspend/resume management
    spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate
    spi: stm32: fix fifo threshold level in case of short transfer
    spi: stm32h7: fix race condition at end of transfer
    spi: stm32: clear only asserted irq flags on interrupt
    spi: Prevent adding devices below an unregistering controller

    Linus Torvalds
     
  • Use Shawn Guo's kernel.org address for the i.MX related bindings
    as per the MAINTAINERS entries.

    Signed-off-by: Fabio Estevam
    Link: https://lore.kernel.org/r/20200818111245.17047-1-festevam@gmail.com
    Signed-off-by: Rob Herring

    Fabio Estevam
     

18 Aug, 2020

1 commit

  • Pull networking fixes from David Miller:
    "Another batch of fixes:

    1) Remove nft_compat counter flush optimization, it generates warnings
    from the refcount infrastructure. From Florian Westphal.

    2) Fix BPF to search for build id more robustly, from Jiri Olsa.

    3) Handle bogus getopt lengths in ebtables, from Florian Westphal.

    4) Infoleak and other fixes to j1939 CAN driver, from Eric Dumazet and
    Oleksij Rempel.

    5) Reset iter properly on mptcp sendmsg() error, from Florian
    Westphal.

    6) Show a saner speed in bonding broadcast mode, from Jarod Wilson.

    7) Various kerneldoc fixes in bonding and elsewhere, from Lee Jones.

    8) Fix double unregister in bonding during namespace tear down, from
    Cong Wang.

    9) Disable RP filter during icmp_redirect selftest, from David Ahern"

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (75 commits)
    otx2_common: Use devm_kcalloc() in otx2_config_npa()
    net: qrtr: fix usage of idr in port assignment to socket
    selftests: disable rp_filter for icmp_redirect.sh
    Revert "net: xdp: pull ethernet header off packet after computing skb->protocol"
    phylink: : fix function prototype kernel-doc warning
    mptcp: sendmsg: reset iter on error redux
    net: devlink: Remove overzealous WARN_ON with snapshots
    tipc: not enable tipc when ipv6 works as a module
    tipc: fix uninit skb->data in tipc_nl_compat_dumpit()
    net: Fix potential wrong skb->protocol in skb_vlan_untag()
    net: xdp: pull ethernet header off packet after computing skb->protocol
    ipvlan: fix device features
    bonding: fix a potential double-unregister
    can: j1939: add rxtimer for multipacket broadcast session
    can: j1939: abort multipacket broadcast session when timeout occurs
    can: j1939: cancel rxtimer on multipacket broadcast session complete
    can: j1939: fix support for multipacket broadcast message
    net: fddi: skfp: cfm: Remove seemingly unused variable 'ID_sccs'
    net: fddi: skfp: cfm: Remove set but unused variable 'oldstate'
    net: fddi: skfp: smt: Remove seemingly unused variable 'ID_sccs'
    ...

    Linus Torvalds
     

17 Aug, 2020

1 commit


16 Aug, 2020

1 commit

  • Pull x86 fixes from Ingo Molnar:
    "Misc fixes and small updates all around the place:

    - Fix mitigation state sysfs output

    - Fix an FPU xstate/sxave code assumption bug triggered by
    Architectural LBR support

    - Fix Lightning Mountain SoC TSC frequency enumeration bug

    - Fix kexec debug output

    - Fix kexec memory range assumption bug

    - Fix a boundary condition in the crash kernel code

    - Optimize porgatory.ro generation a bit

    - Enable ACRN guests to use X2APIC mode

    - Reduce a __text_poke() IRQs-off critical section for the benefit of
    PREEMPT_RT"

    * tag 'x86-urgent-2020-08-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/alternatives: Acquire pte lock with interrupts enabled
    x86/bugs/multihit: Fix mitigation reporting when VMX is not in use
    x86/fpu/xstate: Fix an xstate size check warning with architectural LBRs
    x86/purgatory: Don't generate debug info for purgatory.ro
    x86/tsr: Fix tsc frequency enumeration bug on Lightning Mountain SoC
    kexec_file: Correctly output debugging information for the PT_LOAD ELF header
    kexec: Improve & fix crash_exclude_mem_range() to handle overlapping ranges
    x86/crash: Correct the address boundary of function parameters
    x86/acrn: Remove redundant chars from ACRN signature
    x86/acrn: Allow ACRN guest to use X2APIC mode

    Linus Torvalds
     

15 Aug, 2020

6 commits

  • Pull devicetree fixes from Rob Herring:
    "Another round of 'allOf' removals and whitespace clean-ups of schemas"

    * tag 'devicetree-fixes-for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    dt-bindings: Remove more cases of 'allOf' containing a '$ref'
    dt-bindings: Whitespace clean-ups in schema files

    Linus Torvalds
     
  • Pull one more power management update from Rafael Wysocki:
    "Modify the intel_pstate driver to allow it to work in the passive mode
    with hardware-managed P-states (HWP) enabled"

    * tag 'pm-5.9-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    cpufreq: intel_pstate: Implement passive mode with HWP enabled

    Linus Torvalds
     
  • Pull MFD updates from Lee Jones:
    "Core Frameworks
    - Make better attempt at matching device with the correct OF node
    - Allow batch removal of hierarchical sub-devices

    New Drivers
    - Add STM32 Clocksource driver
    - Add support for Khadas System Control Microcontroller

    Driver Removal
    - Remove unused driver for TI's SMSC ECE1099

    New Device Support
    - Add support for Intel Emmitsburg PCH to Intel LPSS PCI
    - Add support for Intel Tiger Lake PCH-H to Intel LPSS PCI
    - Add support for Dialog DA revision to Dialog DA9063

    New Functionality
    - Add support for AXP803 to be probed by I2C

    Fix-ups
    - Numerous W=1 warning fixes
    - Device Tree changes (stm32-lptimer, gateworks-gsc, khadas,mcu, stmfx, cros-ec, j721e-system-controller)
    - Enabled Regmap 'fast I/O' in stm32-lptimer
    - Change BUG_ON to WARN_ON in arizona-core
    - Remove superfluous code/initialisation (madera, max14577)
    - Trivial formatting/spelling issues (madera-core, madera-i2c, da9055, max77693-private)
    - Switch to of_platform_populate() in sprd-sc27xx-spi
    - Expand out set/get brightness/pwm macros in lm3533-ctrlbank
    - Disable IRQs on suspend in motorola-cpcap
    - Clean-up error handling in intel_soc_pmic_mrfld
    - Ensure correct removal order of sub-devices in madera
    - Many s/HTTP/HTTPS/ link changes
    - Ensure name used with Regmap is unique in syscon

    Bug Fixes
    - Properly 'put' clock on unbind and error in arizona-core
    - Fix revision handling in da9063
    - Fix 'assignment of read-only location' error in kempld-core
    - Avoid using the Regmap API when atomic in rn5t618
    - Redefine volatile register description in rn5t618
    - Use locking to protect event handler in dln2"

    * tag 'mfd-next-5.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (76 commits)
    mfd: syscon: Use a unique name with regmap_config
    mfd: Replace HTTP links with HTTPS ones
    mfd: dln2: Run event handler loop under spinlock
    mfd: madera: Improve handling of regulator unbinding
    mfd: mfd-core: Add mechanism for removal of a subset of children
    mfd: intel_soc_pmic_mrfld: Simplify the return expression of intel_scu_ipc_dev_iowrite8()
    mfd: max14577: Remove redundant initialization of variable current_bits
    mfd: rn5t618: Fix caching of battery related registers
    mfd: max77693-private: Drop a duplicated word
    mfd: da9055: pdata.h: Drop a duplicated word
    mfd: rn5t618: Make restart handler atomic safe
    mfd: kempld-core: Fix 'assignment of read-only location' error
    mfd: axp20x: Allow the AXP803 to be probed by I2C
    mfd: da9063: Add support for latest DA silicon revision
    mfd: da9063: Fix revision handling to correctly select reg tables
    dt-bindings: mfd: st,stmfx: Remove I2C unit name
    dt-bindings: mfd: ti,j721e-system-controller.yaml: Add J721e system controller
    mfd: motorola-cpcap: Disable interrupt for suspend
    mfd: smsc-ece1099: Remove driver
    mfd: core: Add OF_MFD_CELL_REG() helper
    ...

    Linus Torvalds
     
  • Daniel Borkmann says:

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

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

    We've added 23 non-merge commits during the last 4 day(s) which contain
    a total of 32 files changed, 421 insertions(+), 141 deletions(-).

    The main changes are:

    1) Fix sock_ops ctx access splat due to register override, from John Fastabend.

    2) Batch of various fixes to libbpf, bpftool, and selftests when testing build
    in 32-bit mode, from Andrii Nakryiko.

    3) Fix vmlinux.h generation on ARM by mapping GCC built-in types (__Poly*_t)
    to equivalent ones clang can work with, from Jean-Philippe Brucker.

    4) Fix build_id lookup in bpf_get_stackid() helper by walking all NOTE ELF
    sections instead of just first, from Jiri Olsa.

    5) Avoid use of __builtin_offsetof() in libbpf for CO-RE, from Yonghong Song.

    6) Fix segfault in test_mmap due to inconsistent length params, from Jianlin Lv.

    7) Don't override errno in libbpf when logging errors, from Toke Høiland-Jørgensen.

    8) Fix v4_to_v6 sockaddr conversion in sk_lookup test, from Stanislav Fomichev.

    9) Add link to bpf-helpers(7) man page to BPF doc, from Joe Stringer.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Removed obsolete resources from bonding.rst doc:
    - bonding-devel@lists.sourceforge.net hasn't been used since 2008
    - admin interface is 404
    - Donald Becker's domain/content no longer online

    Signed-off-by: Nivedita Singhvi
    Acked-by: Jay Vosburgh
    Signed-off-by: David S. Miller

    Nivedita Singhvi
     
  • * pm-cpufreq:
    cpufreq: intel_pstate: Implement passive mode with HWP enabled

    Rafael J. Wysocki
     

14 Aug, 2020

8 commits

  • Another wack-a-mole pass of killing off unnecessary 'allOf + $ref'
    usage.

    json-schema versions draft7 and earlier have a weird behavior in that
    any keywords combined with a '$ref' are ignored (silently). The correct
    form was to put a '$ref' under an 'allOf'. This behavior is now changed
    in the 2019-09 json-schema spec and '$ref' can be mixed with other
    keywords. The json-schema library doesn't yet support this, but the
    tooling now does a fixup for this and either way works.

    This has been a constant source of review comments, so let's change this
    treewide so everyone copies the simpler syntax.

    Signed-off-by: Rob Herring

    Rob Herring
     
  • Clean-up incorrect indentation, extra spaces, long lines, and missing
    EOF newline in schema files. Most of the clean-ups are for list
    indentation which should always be 2 spaces more than the preceding
    keyword.

    Found with yamllint (which I plan to integrate into the checks).

    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-clk@vger.kernel.org
    Cc: dri-devel@lists.freedesktop.org
    Cc: linux-spi@vger.kernel.org
    Cc: linux-gpio@vger.kernel.org
    Cc: linux-remoteproc@vger.kernel.org
    Cc: linux-hwmon@vger.kernel.org
    Cc: linux-i2c@vger.kernel.org
    Cc: linux-fbdev@vger.kernel.org
    Cc: linux-iio@vger.kernel.org
    Cc: linux-input@vger.kernel.org
    Cc: linux-pm@vger.kernel.org
    Cc: linux-media@vger.kernel.org
    Cc: alsa-devel@alsa-project.org
    Cc: linux-mmc@vger.kernel.org
    Cc: linux-mtd@lists.infradead.org
    Cc: netdev@vger.kernel.org
    Cc: linux-rtc@vger.kernel.org
    Cc: linux-serial@vger.kernel.org
    Cc: linux-usb@vger.kernel.org
    Acked-by: Sam Ravnborg
    Signed-off-by: Rob Herring

    Rob Herring
     
  • …net") into android-mainline

    Steps on the way to 5.9-rc1

    Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
    Change-Id: I927040e73701d3ed235f871edd336beaa575ad96

    Greg Kroah-Hartman
     
  • Pull networking fixes from David Miller:
    "Some merge window fallout, some longer term fixes:

    1) Handle headroom properly in lapbether and x25_asy drivers, from
    Xie He.

    2) Fetch MAC address from correct r8152 device node, from Thierry
    Reding.

    3) In the sw kTLS path we should allow MSG_CMSG_COMPAT in sendmsg,
    from Rouven Czerwinski.

    4) Correct fdputs in socket layer, from Miaohe Lin.

    5) Revert troublesome sockptr_t optimization, from Christoph Hellwig.

    6) Fix TCP TFO key reading on big endian, from Jason Baron.

    7) Missing CAP_NET_RAW check in nfc, from Qingyu Li.

    8) Fix inet fastreuse optimization with tproxy sockets, from Tim
    Froidcoeur.

    9) Fix 64-bit divide in new SFC driver, from Edward Cree.

    10) Add a tracepoint for prandom_u32 so that we can more easily
    perform usage analysis. From Eric Dumazet.

    11) Fix rwlock imbalance in AF_PACKET, from John Ogness"

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (49 commits)
    net: openvswitch: introduce common code for flushing flows
    af_packet: TPACKET_V3: fix fill status rwlock imbalance
    random32: add a tracepoint for prandom_u32()
    Revert "ipv4: tunnel: fix compilation on ARCH=um"
    net: accept an empty mask in /sys/class/net/*/queues/rx-*/rps_cpus
    net: ethernet: stmmac: Disable hardware multicast filter
    net: stmmac: dwmac1000: provide multicast filter fallback
    ipv4: tunnel: fix compilation on ARCH=um
    vsock: fix potential null pointer dereference in vsock_poll()
    sfc: fix ef100 design-param checking
    net: initialize fastreuse on inet_inherit_port
    net: refactor bind_bucket fastreuse into helper
    net: phy: marvell10g: fix null pointer dereference
    net: Fix potential memory leak in proto_register()
    net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init
    ionic_lif: Use devm_kcalloc() in ionic_qcq_alloc()
    net/nfc/rawsock.c: add CAP_NET_RAW check.
    hinic: fix strncpy output truncated compile warnings
    drivers/net/wan/x25_asy: Added needed_headroom and a skb->len check
    net/tls: Fix kmap usage
    ...

    Linus Torvalds
     
  • Pull i2c updates from Wolfram Sang:

    - bus recovery can now be given a pinctrl handle and the I2C core will
    do all the steps to switch to/from GPIO which can save quite some
    boilerplate code from drivers

    - "fallthrough" conversion

    - driver updates, mostly ID additions

    * 'i2c/for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (32 commits)
    i2c: iproc: fix race between client unreg and isr
    i2c: eg20t: use generic power management
    i2c: eg20t: Drop PCI wakeup calls from .suspend/.resume
    i2c: mediatek: Fix i2c_spec_values description
    i2c: mediatek: Add i2c compatible for MediaTek MT8192
    dt-bindings: i2c: update bindings for MT8192 SoC
    i2c: mediatek: Add access to more than 8GB dram in i2c driver
    i2c: mediatek: Add apdma sync in i2c driver
    i2c: i801: Add support for Intel Tiger Lake PCH-H
    i2c: i801: Add support for Intel Emmitsburg PCH
    i2c: bcm2835: Replace HTTP links with HTTPS ones
    Documentation: i2c: dev: 'block process call' is supported
    i2c: at91: Move to generic GPIO bus recovery
    i2c: core: treat EPROBE_DEFER when acquiring SCL/SDA GPIOs
    i2c: core: add generic I2C GPIO recovery
    dt-bindings: i2c: add generic properties for GPIO bus recovery
    i2c: rcar: avoid race when unregistering slave
    i2c: tegra: Avoid tegra_i2c_init_dma() for Tegra210 vi i2c
    i2c: tegra: Fix runtime resume to re-init VI I2C
    i2c: tegra: Fix the error path in tegra_i2c_runtime_resume
    ...

    Linus Torvalds
     
  • Pull documentation fixes from Jonathan Corbet:
    "A handful of obvious fixes that wandered in during the merge window"

    * tag 'docs-5.9-2' of git://git.lwn.net/linux:
    Documentation/locking/locktypes: fix the typo
    doc/zh_CN: resolve undefined label warning in admin-guide index
    doc/zh_CN: fix title heading markup in admin-guide cpu-load
    docs: remove the 2.6 "Upgrading I2C Drivers" guide
    docs: Correct the release date of 5.2 stable
    mailmap: Update comments for with format and more detalis
    docs: cdrom: Fix a typo and rst markup
    Doc: admin-guide: use correct legends in kernel-parameters.txt
    Documentation/features: refresh RISC-V arch support files
    documentation: coccinelle: Improve command example for make C={1,2}
    Core-api: Documentation: Replace deprecated :c:func: Usage
    Dev-tools: Documentation: Replace deprecated :c:func: Usage
    Filesystems: Documentation: Replace deprecated :c:func: Usage
    docs: trace: fix a typo

    Linus Torvalds
     
  • The bpf-helpers(7) man pages provide an invaluable description of the
    functions that an eBPF program can call at runtime. Link them here.

    Signed-off-by: Joe Stringer
    Signed-off-by: Daniel Borkmann
    Link: https://lore.kernel.org/bpf/20200813180807.2821735-1-joe@wand.net.nz

    Joe Stringer
     
  • We have three categories locks, not two.

    Signed-off-by: Huang Shijie
    Acked-by: Will Deacon
    Link: https://lore.kernel.org/r/20200813060220.18199-1-sjhuang@iluvatar.ai
    Signed-off-by: Jonathan Corbet

    Huang Shijie
     

13 Aug, 2020

5 commits