26 Oct, 2020

2 commits

  • Use a more generic form for __section that requires quotes to avoid
    complications with clang and gcc differences.

    Remove the quote operator # from compiler_attributes.h __section macro.

    Convert all unquoted __section(foo) uses to quoted __section("foo").
    Also convert __attribute__((section("foo"))) uses to __section("foo")
    even if the __attribute__ has multiple list entry forms.

    Conversion done using the script at:

    https://lore.kernel.org/lkml/75393e5ddc272dc7403de74d645e6c6e0f4e70eb.camel@perches.com/2-convert_section.pl

    Signed-off-by: Joe Perches
    Reviewed-by: Nick Desaulniers
    Reviewed-by: Miguel Ojeda
    Signed-off-by: Linus Torvalds

    Joe Perches
     
  • Pull timer fixes from Thomas Gleixner:
    "A time namespace fix and a matching selftest. The futex absolute
    timeouts which are based on CLOCK_MONOTONIC require time namespace
    corrected. This was missed in the original time namesapce support"

    * tag 'timers-urgent-2020-10-25' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    selftests/timens: Add a test for futex()
    futex: Adjust absolute futex timeouts with per time namespace offset

    Linus Torvalds
     

25 Oct, 2020

2 commits

  • Pull misc vfs updates from Al Viro:
    "Assorted stuff all over the place (the largest group here is
    Christoph's stat cleanups)"

    * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
    fs: remove KSTAT_QUERY_FLAGS
    fs: remove vfs_stat_set_lookup_flags
    fs: move vfs_fstatat out of line
    fs: implement vfs_stat and vfs_lstat in terms of vfs_fstatat
    fs: remove vfs_statx_fd
    fs: omfs: use kmemdup() rather than kmalloc+memcpy
    [PATCH] reduce boilerplate in fsid handling
    fs: Remove duplicated flag O_NDELAY occurring twice in VALID_OPEN_FLAGS
    selftests: mount: add nosymfollow tests
    Add a "nosymfollow" mount option.

    Linus Torvalds
     
  • Pull powerpc fixes from Michael Ellerman:

    - A fix for undetected data corruption on Power9 Nimbus constraint with GCC 4.9
    powerpc/eeh: Fix eeh_dev_check_failure() for PE#0
    powerpc/64s: Remove TM from Power10 features
    selftests/powerpc: Make alignment handler test P9N DD2.1 vector CI load workaround
    powerpc: Fix undetected data corruption with P9N DD2.1 VSX CI load emulation
    powerpc/powernv/dump: Handle multiple writes to ack attribute
    powerpc/powernv/dump: Fix race while processing OPAL dump
    powerpc/smp: Use GFP_ATOMIC while allocating tmp mask
    powerpc/smp: Remove unnecessary variable
    powerpc/mce: Avoid nmi_enter/exit in real mode on pseries hash
    powerpc/opal_elog: Handle multiple writes to ack attribute

    Linus Torvalds
     

24 Oct, 2020

4 commits

  • Pull more power management updates from Rafael Wysocki:
    "First of all, the adaptive voltage scaling (AVS) drivers go to new
    platform-specific locations as planned (this part was reported to have
    merge conflicts against the new arm-soc updates in linux-next).

    In addition to that, there are some fixes (intel_idle, intel_pstate,
    RAPL, acpi_cpufreq), the addition of on/off notifiers and idle state
    accounting support to the generic power domains (genpd) code and some
    janitorial changes all over.

    Specifics:

    - Move the AVS drivers to new platform-specific locations and get rid
    of the drivers/power/avs directory (Ulf Hansson).

    - Add on/off notifiers and idle state accounting support to the
    generic power domains (genpd) framework (Ulf Hansson, Lina Iyer).

    - Ulf will maintain the PM domain part of cpuidle-psci (Ulf Hansson).

    - Make intel_idle disregard ACPI _CST if it cannot use the data
    returned by that method (Mel Gorman).

    - Modify intel_pstate to avoid leaving useless sysfs directory
    structure behind if it cannot be registered (Chen Yu).

    - Fix domain detection in the RAPL power capping driver and prevent
    it from failing to enumerate the Psys RAPL domain (Zhang Rui).

    - Allow acpi-cpufreq to use ACPI _PSD information with Family 19 and
    later AMD chips (Wei Huang).

    - Update the driver assumptions comment in intel_idle and fix a
    kerneldoc comment in the runtime PM framework (Alexander Monakov,
    Bean Huo).

    - Avoid unnecessary resets of the cached frequency in the schedutil
    cpufreq governor to reduce overhead (Wei Wang).

    - Clean up the cpufreq core a bit (Viresh Kumar).

    - Make assorted minor janitorial changes (Daniel Lezcano, Geert
    Uytterhoeven, Hubert Jasudowicz, Tom Rix).

    - Clean up and optimize the cpupower utility somewhat (Colin Ian
    King, Martin Kaistra)"

    * tag 'pm-5.10-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (23 commits)
    PM: sleep: remove unreachable break
    PM: AVS: Drop the avs directory and the corresponding Kconfig
    PM: AVS: qcom-cpr: Move the driver to the qcom specific drivers
    PM: runtime: Fix typo in pm_runtime_set_active() helper comment
    PM: domains: Fix build error for genpd notifiers
    powercap: Fix typo in Kconfig "Plance" -> "Plane"
    cpufreq: schedutil: restore cached freq when next_f is not changed
    acpi-cpufreq: Honor _PSD table setting on new AMD CPUs
    PM: AVS: smartreflex Move driver to soc specific drivers
    PM: AVS: rockchip-io: Move the driver to the rockchip specific drivers
    PM: domains: enable domain idle state accounting
    PM: domains: Add curly braces to delimit comment + statement block
    PM: domains: Add support for PM domain on/off notifiers for genpd
    powercap/intel_rapl: enumerate Psys RAPL domain together with package RAPL domain
    powercap/intel_rapl: Fix domain detection
    intel_idle: Ignore _CST if control cannot be taken from the platform
    cpuidle: Remove pointless stub
    intel_idle: mention assumption that WBINVD is not needed
    MAINTAINERS: Add section for cpuidle-psci PM domain
    cpufreq: intel_pstate: Delete intel_pstate sysfs if failed to register the driver
    ...

    Linus Torvalds
     
  • Pull networking fixes from Jakub Kicinski:
    "Cross-tree/merge window issues:

    - rtl8150: don't incorrectly assign random MAC addresses; fix late in
    the 5.9 cycle started depending on a return code from a function
    which changed with the 5.10 PR from the usb subsystem

    Current release regressions:

    - Revert "virtio-net: ethtool configurable RXCSUM", it was causing
    crashes at probe when control vq was not negotiated/available

    Previous release regressions:

    - ixgbe: fix probing of multi-port 10 Gigabit Intel NICs with an MDIO
    bus, only first device would be probed correctly

    - nexthop: Fix performance regression in nexthop deletion by
    effectively switching from recently added synchronize_rcu() to
    synchronize_rcu_expedited()

    - netsec: ignore 'phy-mode' device property on ACPI systems; the
    property is not populated correctly by the firmware, but firmware
    configures the PHY so just keep boot settings

    Previous releases - always broken:

    - tcp: fix to update snd_wl1 in bulk receiver fast path, addressing
    bulk transfers getting "stuck"

    - icmp: randomize the global rate limiter to prevent attackers from
    getting useful signal

    - r8169: fix operation under forced interrupt threading, make the
    driver always use hard irqs, even on RT, given the handler is light
    and only wants to schedule napi (and do so through a _irqoff()
    variant, preferably)

    - bpf: Enforce pointer id generation for all may-be-null register
    type to avoid pointers erroneously getting marked as null-checked

    - tipc: re-configure queue limit for broadcast link

    - net/sched: act_tunnel_key: fix OOB write in case of IPv6 ERSPAN
    tunnels

    - fix various issues in chelsio inline tls driver

    Misc:

    - bpf: improve just-added bpf_redirect_neigh() helper api to support
    supplying nexthop by the caller - in case BPF program has already
    done a lookup we can avoid doing another one

    - remove unnecessary break statements

    - make MCTCP not select IPV6, but rather depend on it"

    * tag 'net-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (62 commits)
    tcp: fix to update snd_wl1 in bulk receiver fast path
    net: Properly typecast int values to set sk_max_pacing_rate
    netfilter: nf_fwd_netdev: clear timestamp in forwarding path
    ibmvnic: save changed mac address to adapter->mac_addr
    selftests: mptcp: depends on built-in IPv6
    Revert "virtio-net: ethtool configurable RXCSUM"
    rtnetlink: fix data overflow in rtnl_calcit()
    net: ethernet: mtk-star-emac: select REGMAP_MMIO
    net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup
    net: hdlc: In hdlc_rcv, check to make sure dev is an HDLC device
    bpf, libbpf: Guard bpf inline asm from bpf_tail_call_static
    bpf, selftests: Extend test_tc_redirect to use modified bpf_redirect_neigh()
    bpf: Fix bpf_redirect_neigh helper api to support supplying nexthop
    mptcp: depends on IPV6 but not as a module
    sfc: move initialisation of efx->filter_sem to efx_init_struct()
    mpls: load mpls_gso after mpls_iptunnel
    net/sched: act_tunnel_key: fix OOB write in case of IPv6 ERSPAN tunnels
    net/sched: act_gate: Unlock ->tcfa_lock in tc_setup_flow_action()
    net: dsa: bcm_sf2: make const array static, makes object smaller
    mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it
    ...

    Linus Torvalds
     
  • Pull KVM updates from Paolo Bonzini:
    "For x86, there is a new alternative and (in the future) more scalable
    implementation of extended page tables that does not need a reverse
    map from guest physical addresses to host physical addresses.

    For now it is disabled by default because it is still lacking a few of
    the existing MMU's bells and whistles. However it is a very solid
    piece of work and it is already available for people to hammer on it.

    Other updates:

    ARM:
    - New page table code for both hypervisor and guest stage-2
    - Introduction of a new EL2-private host context
    - Allow EL2 to have its own private per-CPU variables
    - Support of PMU event filtering
    - Complete rework of the Spectre mitigation

    PPC:
    - Fix for running nested guests with in-kernel IRQ chip
    - Fix race condition causing occasional host hard lockup
    - Minor cleanups and bugfixes

    x86:
    - allow trapping unknown MSRs to userspace
    - allow userspace to force #GP on specific MSRs
    - INVPCID support on AMD
    - nested AMD cleanup, on demand allocation of nested SVM state
    - hide PV MSRs and hypercalls for features not enabled in CPUID
    - new test for MSR_IA32_TSC writes from host and guest
    - cleanups: MMU, CPUID, shared MSRs
    - LAPIC latency optimizations ad bugfixes"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (232 commits)
    kvm: x86/mmu: NX largepage recovery for TDP MMU
    kvm: x86/mmu: Don't clear write flooding count for direct roots
    kvm: x86/mmu: Support MMIO in the TDP MMU
    kvm: x86/mmu: Support write protection for nesting in tdp MMU
    kvm: x86/mmu: Support disabling dirty logging for the tdp MMU
    kvm: x86/mmu: Support dirty logging for the TDP MMU
    kvm: x86/mmu: Support changed pte notifier in tdp MMU
    kvm: x86/mmu: Add access tracking for tdp_mmu
    kvm: x86/mmu: Support invalidate range MMU notifier for TDP MMU
    kvm: x86/mmu: Allocate struct kvm_mmu_pages for all pages in TDP MMU
    kvm: x86/mmu: Add TDP MMU PF handler
    kvm: x86/mmu: Remove disallowed_hugepage_adjust shadow_walk_iterator arg
    kvm: x86/mmu: Support zapping SPTEs in the TDP MMU
    KVM: Cache as_id in kvm_memory_slot
    kvm: x86/mmu: Add functions to handle changed TDP SPTEs
    kvm: x86/mmu: Allocate and free TDP MMU roots
    kvm: x86/mmu: Init / Uninit the TDP MMU
    kvm: x86/mmu: Introduce tdp_iter
    KVM: mmu: extract spte.h and spte.c
    KVM: mmu: Separate updating a PTE from kvm_set_pte_rmapp
    ...

    Linus Torvalds
     
  • * pm-core:
    PM: runtime: Fix typo in pm_runtime_set_active() helper comment

    * pm-sleep:
    PM: sleep: remove unreachable break

    * pm-tools:
    cpupower: speed up generating git version string
    cpupowerutils: fix spelling mistake "dependant" -> "dependent"

    * powercap:
    powercap: Fix typo in Kconfig "Plance" -> "Plane"
    powercap/intel_rapl: enumerate Psys RAPL domain together with package RAPL domain
    powercap/intel_rapl: Fix domain detection

    Rafael J. Wysocki
     

23 Oct, 2020

4 commits

  • Pull Kbuild updates from Masahiro Yamada:

    - Support 'make compile_commands.json' to generate the compilation
    database more easily, avoiding stale entries

    - Support 'make clang-analyzer' and 'make clang-tidy' for static checks
    using clang-tidy

    - Preprocess scripts/modules.lds.S to allow CONFIG options in the
    module linker script

    - Drop cc-option tests from compiler flags supported by our minimal
    GCC/Clang versions

    - Use always 12-digits commit hash for CONFIG_LOCALVERSION_AUTO=y

    - Use sha1 build id for both BFD linker and LLD

    - Improve deb-pkg for reproducible builds and rootless builds

    - Remove stale, useless scripts/namespace.pl

    - Turn -Wreturn-type warning into error

    - Fix build error of deb-pkg when CONFIG_MODULES=n

    - Replace 'hostname' command with more portable 'uname -n'

    - Various Makefile cleanups

    * tag 'kbuild-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (34 commits)
    kbuild: Use uname for LINUX_COMPILE_HOST detection
    kbuild: Only add -fno-var-tracking-assignments for old GCC versions
    kbuild: remove leftover comment for filechk utility
    treewide: remove DISABLE_LTO
    kbuild: deb-pkg: clean up package name variables
    kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n
    kbuild: enforce -Werror=return-type
    scripts: remove namespace.pl
    builddeb: Add support for all required debian/rules targets
    builddeb: Enable rootless builds
    builddeb: Pass -n to gzip for reproducible packages
    kbuild: split the build log of kallsyms
    kbuild: explicitly specify the build id style
    scripts/setlocalversion: make git describe output more reliable
    kbuild: remove cc-option test of -Werror=date-time
    kbuild: remove cc-option test of -fno-stack-check
    kbuild: remove cc-option test of -fno-strict-overflow
    kbuild: move CFLAGS_{KASAN,UBSAN,KCSAN} exports to relevant Makefiles
    kbuild: remove redundant CONFIG_KASAN check from scripts/Makefile.kasan
    kbuild: do not create built-in objects for external module builds
    ...

    Linus Torvalds
     
  • Pull initial set_fs() removal from Al Viro:
    "Christoph's set_fs base series + fixups"

    * 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
    fs: Allow a NULL pos pointer to __kernel_read
    fs: Allow a NULL pos pointer to __kernel_write
    powerpc: remove address space overrides using set_fs()
    powerpc: use non-set_fs based maccess routines
    x86: remove address space overrides using set_fs()
    x86: make TASK_SIZE_MAX usable from assembly code
    x86: move PAGE_OFFSET, TASK_SIZE & friends to page_{32,64}_types.h
    lkdtm: remove set_fs-based tests
    test_bitmap: remove user bitmap tests
    uaccess: add infrastructure for kernel builds with set_fs()
    fs: don't allow splice read/write without explicit ops
    fs: don't allow kernel reads and writes without iter ops
    sysctl: Convert to iter interfaces
    proc: add a read_iter method to proc proc_ops
    proc: cleanup the compat vs no compat file ops
    proc: remove a level of indentation in proc_get_inode

    Linus Torvalds
     
  • Daniel Borkmann says:

    ====================
    pull-request: bpf 2020-10-22

    1) Fix enforcing NULL check in verifier for new helper return types of
    RET_PTR_TO_{BTF_ID,MEM_OR_BTF_ID}_OR_NULL, from Martin KaFai Lau.

    2) Fix bpf_redirect_neigh() helper API before it becomes frozen by adding
    nexthop information as argument, from Toke Høiland-Jørgensen.

    3) Guard & fix compilation of bpf_tail_call_static() when __bpf__ arch is
    not defined by compiler or clang too old, from Daniel Borkmann.

    4) Remove misplaced break after return in attach_type_to_prog_type(), from
    Tom Rix.
    ====================

    Signed-off-by: Jakub Kicinski

    Jakub Kicinski
     
  • Pull nfsd updates from Bruce Fields:
    "The one new feature this time, from Anna Schumaker, is READ_PLUS,
    which has the same arguments as READ but allows the server to return
    an array of data and hole extents.

    Otherwise it's a lot of cleanup and bugfixes"

    * tag 'nfsd-5.10' of git://linux-nfs.org/~bfields/linux: (43 commits)
    NFSv4.2: Fix NFS4ERR_STALE error when doing inter server copy
    SUNRPC: fix copying of multiple pages in gss_read_proxy_verf()
    sunrpc: raise kernel RPC channel buffer size
    svcrdma: fix bounce buffers for unaligned offsets and multiple pages
    nfsd: remove unneeded break
    net/sunrpc: Fix return value for sysctl sunrpc.transports
    NFSD: Encode a full READ_PLUS reply
    NFSD: Return both a hole and a data segment
    NFSD: Add READ_PLUS hole segment encoding
    NFSD: Add READ_PLUS data support
    NFSD: Hoist status code encoding into XDR encoder functions
    NFSD: Map nfserr_wrongsec outside of nfsd_dispatch
    NFSD: Remove the RETURN_STATUS() macro
    NFSD: Call NFSv2 encoders on error returns
    NFSD: Fix .pc_release method for NFSv2
    NFSD: Remove vestigial typedefs
    NFSD: Refactor nfsd_dispatch() error paths
    NFSD: Clean up nfsd_dispatch() variables
    NFSD: Clean up stale comments in nfsd_dispatch()
    NFSD: Clean up switch statement in nfsd_dispatch()
    ...

    Linus Torvalds
     

22 Oct, 2020

5 commits

  • Recently, CONFIG_MPTCP_IPV6 no longer selects CONFIG_IPV6. As a
    consequence, if CONFIG_MPTCP_IPV6=y is added to the kconfig, it will no
    longer ensure CONFIG_IPV6=y. If it is not enabled, CONFIG_MPTCP_IPV6
    will stay disabled and selftests will fail.

    We also need CONFIG_IPV6 to be built-in. For more details, please see
    commit 0ed37ac586c0 ("mptcp: depends on IPV6 but not as a module").

    Note that 'make kselftest-merge' will take all 'config' files found in
    'tools/testsing/selftests'. Because some of them already set
    CONFIG_IPV6=y, MPTCP selftests were still passing. But they will fail if
    MPTCP selftests are launched manually after having executed this command
    to prepare the kernel config:

    ./scripts/kconfig/merge_config.sh -m .config \
    ./tools/testing/selftests/net/mptcp/config

    Fixes: 010b430d5df5 ("mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it")
    Signed-off-by: Matthieu Baerts
    Reviewed-by: Mat Martineau
    Link: https://lore.kernel.org/r/20201021155549.933731-1-matthieu.baerts@tessares.net
    Signed-off-by: Jakub Kicinski

    Matthieu Baerts
     
  • Yaniv reported a compilation error after pulling latest libbpf:

    [...]
    ../libbpf/src/root/usr/include/bpf/bpf_helpers.h:99:10: error:
    unknown register name 'r0' in asm
    : "r0", "r1", "r2", "r3", "r4", "r5");
    [...]

    The issue got triggered given Yaniv was compiling tracing programs with native
    target (e.g. x86) instead of BPF target, hence no BTF generated vmlinux.h nor
    CO-RE used, and later llc with -march=bpf was invoked to compile from LLVM IR
    to BPF object file. Given that clang was expecting x86 inline asm and not BPF
    one the error complained that these regs don't exist on the former.

    Guard bpf_tail_call_static() with defined(__bpf__) where BPF inline asm is valid
    to use. BPF tracing programs on more modern kernels use BPF target anyway and
    thus the bpf_tail_call_static() function will be available for them. BPF inline
    asm is supported since clang 7 (clang
    Signed-off-by: Daniel Borkmann
    Acked-by: Andrii Nakryiko
    Acked-by: Yonghong Song
    Tested-by: Yaniv Agman
    Link: https://lore.kernel.org/bpf/CAMy7=ZUk08w5Gc2Z-EKi4JFtuUCaZYmE4yzhJjrExXpYKR4L8w@mail.gmail.com
    Link: https://lore.kernel.org/bpf/20201021203257.26223-1-daniel@iogearbox.net

    Daniel Borkmann
     
  • This updates the test_tc_neigh prog in selftests to use the new syntax of
    bpf_redirect_neigh(). To exercise the helper both with and without the
    optional parameter, add an additional test_tc_neigh_fib test program, which
    does a bpf_fib_lookup() followed by a call to bpf_redirect_neigh() instead
    of looking up the ifindex in a map.

    Update the test_tc_redirect.sh script to run both versions of the test,
    and while we're add it, fix it to work on systems that have a consolidated
    dual-stack 'ping' binary instead of separate ping/ping6 versions.

    Signed-off-by: Toke Høiland-Jørgensen
    Signed-off-by: Daniel Borkmann
    Link: https://lore.kernel.org/bpf/160322915724.32199.17530068594636950447.stgit@toke.dk

    Toke Høiland-Jørgensen
     
  • Based on the discussion in [0], update the bpf_redirect_neigh() helper to
    accept an optional parameter specifying the nexthop information. This makes
    it possible to combine bpf_fib_lookup() and bpf_redirect_neigh() without
    incurring a duplicate FIB lookup - since the FIB lookup helper will return
    the nexthop information even if no neighbour is present, this can simply
    be passed on to bpf_redirect_neigh() if bpf_fib_lookup() returns
    BPF_FIB_LKUP_RET_NO_NEIGH. Thus fix & extend it before helper API is frozen.

    [0] https://lore.kernel.org/bpf/393e17fc-d187-3a8d-2f0d-a627c7c63fca@iogearbox.net/

    Signed-off-by: Toke Høiland-Jørgensen
    Signed-off-by: Daniel Borkmann
    Reviewed-by: David Ahern
    Link: https://lore.kernel.org/bpf/160322915615.32199.1187570224032024535.stgit@toke.dk

    Toke Høiland-Jørgensen
     
  • Pick up bugfixes from 5.9, otherwise various tests fail.

    Paolo Bonzini
     

21 Oct, 2020

1 commit

  • Pull XArray updates from Matthew Wilcox:

    - Fix the test suite after introduction of the local_lock

    - Fix a bug in the IDA spotted by Coverity

    - Change the API that allows the workingset code to delete a node

    - Fix xas_reload() when dealing with entries that occupy multiple
    indices

    - Add a few more tests to the test suite

    - Fix an unsigned int being shifted into an unsigned long

    * tag 'xarray-5.9' of git://git.infradead.org/users/willy/xarray:
    XArray: Fix xas_create_range for ranges above 4 billion
    radix-tree: fix the comment of radix_tree_next_slot()
    XArray: Fix xas_reload for multi-index entries
    XArray: Add private interface for workingset node deletion
    XArray: Fix xas_for_each_conflict documentation
    XArray: Test marked multiorder iterations
    XArray: Test two more things about xa_cmpxchg
    ida: Free allocated bitmap in error path
    radix tree test suite: Fix compilation

    Linus Torvalds
     

20 Oct, 2020

5 commits

  • Output on success:
    1..2
    ok 1 futex with the 0 clockid
    ok 2 futex with the 1 clockid
    # Totals: pass:2 fail:0 xfail:0 xpass:0 skip:0 error:0

    Signed-off-by: Andrei Vagin
    Signed-off-by: Thomas Gleixner
    Link: https://lore.kernel.org/r/20201015160020.293748-2-avagin@gmail.com

    Andrei Vagin
     
  • The kci_test_encap_fou() test from kci_test_encap() in rtnetlink.sh
    needs the fou module to work. Otherwise it will fail with:

    $ ip netns exec "$testns" ip fou add port 7777 ipproto 47
    RTNETLINK answers: No such file or directory
    Error talking to the kernel

    Add the CONFIG_NET_FOU into the config file as well. Which needs at
    least to be set as a loadable module.

    Fixes: 6227efc1a20b ("selftests: rtnetlink.sh: add vxlan and fou test cases")
    Signed-off-by: Po-Hsu Lin
    Link: https://lore.kernel.org/r/20201019030928.9859-1-po-hsu.lin@canonical.com
    Signed-off-by: Jakub Kicinski

    Po-Hsu Lin
     
  • This patch tests all pointers returned by bpf_per_cpu_ptr() must be
    tested for NULL first before it can be accessed.

    This patch adds a subtest "null_check", so it moves the ".data..percpu"
    existence check to the very beginning and before doing any subtest.

    Signed-off-by: Martin KaFai Lau
    Signed-off-by: Alexei Starovoitov
    Link: https://lore.kernel.org/bpf/20201019194225.1051596-1-kafai@fb.com

    Martin KaFai Lau
     
  • This patch tests:

    int bpf_cls(struct __sk_buff *skb)
    {
    /* REG_6: sk
    * REG_7: tp
    * REG_8: req_sk
    */

    sk = skb->sk;
    if (!sk)
    return 0;

    tp = bpf_skc_to_tcp_sock(sk);
    req_sk = bpf_skc_to_tcp_request_sock(sk);
    if (!req_sk)
    return 0;

    /* !tp has not been tested, so verifier should reject. */
    return *(__u8 *)tp;
    }

    Signed-off-by: Martin KaFai Lau
    Signed-off-by: Alexei Starovoitov
    Link: https://lore.kernel.org/bpf/20201019194219.1051314-1-kafai@fb.com

    Martin KaFai Lau
     
  • alignment_handler currently only tests the unaligned cases but it can
    also be useful for testing the workaround for the P9N DD2.1 vector CI
    load issue fixed by p9_hmi_special_emu(). This workaround was
    introduced in 5080332c2c89 ("powerpc/64s: Add workaround for P9 vector
    CI load issue").

    This changes the loop to start from offset 0 rather than 1 so that we
    test the kernel emulation in p9_hmi_special_emu().

    Signed-off-by: Michael Neuling
    Signed-off-by: Michael Ellerman
    Link: https://lore.kernel.org/r/20201013043741.743413-2-mikey@neuling.org

    Michael Neuling
     

19 Oct, 2020

4 commits

  • …/kernel/git/shuah/linux-kselftest

    Pull more Kunit updates from Shuah Khan:

    - add Kunit to kernel_init() and remove KUnit from init calls entirely.

    This addresses the concern that Kunit would not work correctly during
    late init phase.

    - add a linker section where KUnit can put references to its test
    suites.

    This is the first step in transitioning to dispatching all KUnit
    tests from a centralized executor rather than having each as its own
    separate late_initcall.

    - add a centralized executor to dispatch tests rather than relying on
    late_initcall to schedule each test suite separately. Centralized
    execution is for built-in tests only; modules will execute tests when
    loaded.

    - convert bitfield test to use KUnit framework

    - Documentation updates for naming guidelines and how
    kunit_test_suite() works.

    - add test plan to KUnit TAP format

    * tag 'linux-kselftest-kunit-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
    lib: kunit: Fix compilation test when using TEST_BIT_FIELD_COMPILE
    lib: kunit: add bitfield test conversion to KUnit
    Documentation: kunit: add a brief blurb about kunit_test_suite
    kunit: test: add test plan to KUnit TAP format
    init: main: add KUnit to kernel init
    kunit: test: create a single centralized executor for all tests
    vmlinux.lds.h: add linker section for KUnit test suites
    Documentation: kunit: Add naming guidelines

    Linus Torvalds
     
  • Pull RCU changes from Ingo Molnar:

    - Debugging for smp_call_function()

    - RT raw/non-raw lock ordering fixes

    - Strict grace periods for KASAN

    - New smp_call_function() torture test

    - Torture-test updates

    - Documentation updates

    - Miscellaneous fixes

    [ This doesn't actually pull the tag - I've dropped the last merge from
    the RCU branch due to questions about the series. - Linus ]

    * tag 'core-rcu-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (77 commits)
    smp: Make symbol 'csd_bug_count' static
    kernel/smp: Provide CSD lock timeout diagnostics
    smp: Add source and destination CPUs to __call_single_data
    rcu: Shrink each possible cpu krcp
    rcu/segcblist: Prevent useless GP start if no CBs to accelerate
    torture: Add gdb support
    rcutorture: Allow pointer leaks to test diagnostic code
    rcutorture: Hoist OOM registry up one level
    refperf: Avoid null pointer dereference when buf fails to allocate
    rcutorture: Properly synchronize with OOM notifier
    rcutorture: Properly set rcu_fwds for OOM handling
    torture: Add kvm.sh --help and update help message
    rcutorture: Add CONFIG_PROVE_RCU_LIST to TREE05
    torture: Update initrd documentation
    rcutorture: Replace HTTP links with HTTPS ones
    locktorture: Make function torture_percpu_rwsem_init() static
    torture: document --allcpus argument added to the kvm.sh script
    rcutorture: Output number of elapsed grace periods
    rcutorture: Remove KCSAN stubs
    rcu: Remove unused "cpu" parameter from rcu_report_qs_rdp()
    ...

    Linus Torvalds
     
  • When 'rp_filter' is configured in strict mode (1) the tests fail because
    packets received from the macvlan netdevs would not be forwarded through
    them on the reverse path.

    Fix this by disabling the 'rp_filter', meaning no source validation is
    performed.

    Fixes: 1538812e0880 ("selftests: forwarding: Add a test for VXLAN asymmetric routing")
    Fixes: 438a4f5665b2 ("selftests: forwarding: Add a test for VXLAN symmetric routing")
    Signed-off-by: Ido Schimmel
    Reported-by: Hangbin Liu
    Tested-by: Hangbin Liu
    Link: https://lore.kernel.org/r/20201015084525.135121-1-idosch@idosch.org
    Signed-off-by: Jakub Kicinski

    Ido Schimmel
     
  • This patch reduces the running time for hmm-tests from about 10+ seconds,
    to just under 1.0 second, for an approximately 10x speedup. That brings
    it in line with most of the other tests in selftests/vm, which mostly run
    in < 1 sec.

    This is done with a one-line change that simply reduces the number of
    iterations of several tests, from 256, to 10. Thanks to Ralph Campbell
    for suggesting changing NTIMES as a way to get the speedup.

    Suggested-by: Ralph Campbell
    Signed-off-by: John Hubbard
    Signed-off-by: Andrew Morton
    Cc: SeongJae Park
    Cc: Shuah Khan
    Link: https://lkml.kernel.org/r/20201003011721.44238-1-jhubbard@nvidia.com
    Signed-off-by: Linus Torvalds

    John Hubbard
     

18 Oct, 2020

2 commits

  • …x/kernel/git/acme/linux

    Pull perf tools updates from Arnaldo Carvalho de Melo:

    - cgroup improvements for 'perf stat', allowing for compact
    specification of events and cgroups in the command line.

    - Support per thread topdown metrics in 'perf stat'.

    - Support sample-read topdown metric group in 'perf record'

    - Show start of latency in addition to its start in 'perf sched
    latency'.

    - Add min, max to 'perf script' futex-contention output, in addition to
    avg.

    - Allow usage of 'perf_event_attr->exclusive' attribute via the new
    ':e' event modifier.

    - Add 'snapshot' command to 'perf record --control', using it with
    Intel PT.

    - Support FIFO file names as alternative options to 'perf record
    --control'.

    - Introduce branch history "streams", to compare 'perf record' runs
    with 'perf diff' based on branch records and report hot streams.

    - Support PE executable symbol tables using libbfd, to profile, for
    instance, wine binaries.

    - Add filter support for option 'perf ftrace -F/--funcs'.

    - Allow configuring the 'disassembler_style' 'perf annotate' knob via
    'perf config'

    - Update CascadelakeX and SkylakeX JSON vendor events files.

    - Add support for parsing perchip/percore JSON vendor events.

    - Add power9 hv_24x7 core level metric events.

    - Add L2 prefetch, ITLB instruction fetch hits JSON events for AMD
    zen1.

    - Enable Family 19h users by matching Zen2 AMD vendor events.

    - Use debuginfod in 'perf probe' when required debug files not found
    locally.

    - Display negative tid in non-sample events in 'perf script'.

    - Make GTK2 support opt-in

    - Add build test with GTK+

    - Add missing -lzstd to the fast path feature detection

    - Add scripts to auto generate 'mmap', 'mremap' string<->id tables for
    use in 'perf trace'.

    - Show python test script in verbose mode.

    - Fix uncore metric expressions

    - Msan uninitialized use fixes.

    - Use condition variables in 'perf bench numa'

    - Autodetect python3 binary in systems without python2.

    - Support md5 build ids in addition to sha1.

    - Add build id 'perf test' regression test.

    - Fix printable strings in python3 scripts.

    - Fix off by ones in 'perf trace' in arches using libaudit.

    - Fix JSON event code for events referencing std arch events.

    - Introduce 'perf test' shell script for Arm CoreSight testing.

    - Add rdtsc() for Arm64 for used in the PERF_RECORD_TIME_CONV metadata
    event and in 'perf test tsc'.

    - 'perf c2c' improvements: Add "RMT Load Hit" metric, "Total Stores",
    fixes and documentation update.

    - Fix usage of reloc_sym in 'perf probe' when using both kallsyms and
    debuginfo files.

    - Do not print 'Metric Groups:' unnecessarily in 'perf list'

    - Refcounting fixes in the event parsing code.

    - Add expand cgroup event 'perf test' entry.

    - Fix out of bounds CPU map access when handling armv8_pmu events in
    'perf stat'.

    - Add build-id injection 'perf bench' benchmark.

    - Enter namespace when reading build-id in 'perf inject'.

    - Do not load map/dso when injecting build-id speeding up the 'perf
    inject' process.

    - Add --buildid-all option to avoid processing all samples, just the
    mmap metadata events.

    - Add feature test to check if libbfd has buildid support

    - Add 'perf test' entry for PE binary format support.

    - Fix typos in power8 PMU vendor events JSON files.

    - Hide libtraceevent non API functions.

    * tag 'perf-tools-for-v5.10-2020-10-15' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (113 commits)
    perf c2c: Update documentation for metrics reorganization
    perf c2c: Add metrics "RMT Load Hit"
    perf c2c: Correct LLC load hit metrics
    perf c2c: Change header for LLC local hit
    perf c2c: Use more explicit headers for HITM
    perf c2c: Change header from "LLC Load Hitm" to "Load Hitm"
    perf c2c: Organize metrics based on memory hierarchy
    perf c2c: Display "Total Stores" as a standalone metrics
    perf c2c: Display the total numbers continuously
    perf bench: Use condition variables in numa.
    perf jevents: Fix event code for events referencing std arch events
    perf diff: Support hot streams comparison
    perf streams: Report hot streams
    perf streams: Calculate the sum of total streams hits
    perf streams: Link stream pair
    perf streams: Compare two streams
    perf streams: Get the evsel_streams by evsel_idx
    perf streams: Introduce branch history "streams"
    perf intel-pt: Improve PT documentation slightly
    perf tools: Add support for exclusive groups/events
    ...

    Linus Torvalds
     
  • Pull rdma updates from Jason Gunthorpe:
    "A usual cycle for RDMA with a typical mix of driver and core subsystem
    updates:

    - Driver minor changes and bug fixes for mlx5, efa, rxe, vmw_pvrdma,
    hns, usnic, qib, qedr, cxgb4, hns, bnxt_re

    - Various rtrs fixes and updates

    - Bug fix for mlx4 CM emulation for virtualization scenarios where
    MRA wasn't working right

    - Use tracepoints instead of pr_debug in the CM code

    - Scrub the locking in ucma and cma to close more syzkaller bugs

    - Use tasklet_setup in the subsystem

    - Revert the idea that 'destroy' operations are not allowed to fail
    at the driver level. This proved unworkable from a HW perspective.

    - Revise how the umem API works so drivers make fewer mistakes using
    it

    - XRC support for qedr

    - Convert uverbs objects RWQ and MW to new the allocation scheme

    - Large queue entry sizes for hns

    - Use hmm_range_fault() for mlx5 On Demand Paging

    - uverbs APIs to inspect the GID table instead of sysfs

    - Move some of the RDMA code for building large page SGLs into
    lib/scatterlist"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (191 commits)
    RDMA/ucma: Fix use after free in destroy id flow
    RDMA/rxe: Handle skb_clone() failure in rxe_recv.c
    RDMA/rxe: Move the definitions for rxe_av.network_type to uAPI
    RDMA: Explicitly pass in the dma_device to ib_register_device
    lib/scatterlist: Do not limit max_segment to PAGE_ALIGNED values
    IB/mlx4: Convert rej_tmout radix-tree to XArray
    RDMA/rxe: Fix bug rejecting all multicast packets
    RDMA/rxe: Fix skb lifetime in rxe_rcv_mcast_pkt()
    RDMA/rxe: Remove duplicate entries in struct rxe_mr
    IB/hfi,rdmavt,qib,opa_vnic: Update MAINTAINERS
    IB/rdmavt: Fix sizeof mismatch
    MAINTAINERS: CISCO VIC LOW LATENCY NIC DRIVER
    RDMA/bnxt_re: Fix sizeof mismatch for allocation of pbl_tbl.
    RDMA/bnxt_re: Use rdma_umem_for_each_dma_block()
    RDMA/umem: Move to allocate SG table from pages
    lib/scatterlist: Add support in dynamic allocation of SG table from pages
    tools/testing/scatterlist: Show errors in human readable form
    tools/testing/scatterlist: Rejuvenate bit-rotten test
    RDMA/ipoib: Set rtnl_link_ops for ipoib interfaces
    RDMA/uverbs: Expose the new GID query API to user space
    ...

    Linus Torvalds
     

17 Oct, 2020

3 commits

  • Pull powerpc updates from Michael Ellerman:

    - A series from Nick adding ARCH_WANT_IRQS_OFF_ACTIVATE_MM & selecting
    it for powerpc, as well as a related fix for sparc.

    - Remove support for PowerPC 601.

    - Some fixes for watchpoints & addition of a new ptrace flag for
    detecting ISA v3.1 (Power10) watchpoint features.

    - A fix for kernels using 4K pages and the hash MMU on bare metal
    Power9 systems with > 16TB of RAM, or RAM on the 2nd node.

    - A basic idle driver for shallow stop states on Power10.

    - Tweaks to our sched domains code to better inform the scheduler about
    the hardware topology on Power9/10, where two SMT4 cores can be
    presented by firmware as an SMT8 core.

    - A series doing further reworks & cleanups of our EEH code.

    - Addition of a filter for RTAS (firmware) calls done via sys_rtas(),
    to prevent root from overwriting kernel memory.

    - Other smaller features, fixes & cleanups.

    Thanks to: Alexey Kardashevskiy, Andrew Donnellan, Aneesh Kumar K.V,
    Athira Rajeev, Biwen Li, Cameron Berkenpas, Cédric Le Goater, Christophe
    Leroy, Christoph Hellwig, Colin Ian King, Daniel Axtens, David Dai, Finn
    Thain, Frederic Barrat, Gautham R. Shenoy, Greg Kurz, Gustavo Romero,
    Ira Weiny, Jason Yan, Joel Stanley, Jordan Niethe, Kajol Jain, Konrad
    Rzeszutek Wilk, Laurent Dufour, Leonardo Bras, Liu Shixin, Luca
    Ceresoli, Madhavan Srinivasan, Mahesh Salgaonkar, Nathan Lynch, Nicholas
    Mc Guire, Nicholas Piggin, Nick Desaulniers, Oliver O'Halloran, Pedro
    Miraglia Franco de Carvalho, Pratik Rajesh Sampat, Qian Cai, Qinglang
    Miao, Ravi Bangoria, Russell Currey, Satheesh Rajendran, Scott Cheloha,
    Segher Boessenkool, Srikar Dronamraju, Stan Johnson, Stephen Kitt,
    Stephen Rothwell, Thiago Jung Bauermann, Tyrel Datwyler, Vaibhav Jain,
    Vaidyanathan Srinivasan, Vasant Hegde, Wang Wensheng, Wolfram Sang, Yang
    Yingliang, zhengbin.

    * tag 'powerpc-5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (228 commits)
    Revert "powerpc/pci: unmap legacy INTx interrupts when a PHB is removed"
    selftests/powerpc: Fix eeh-basic.sh exit codes
    cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_reboot_notifier
    powerpc/time: Make get_tb() common to PPC32 and PPC64
    powerpc/time: Make get_tbl() common to PPC32 and PPC64
    powerpc/time: Remove get_tbu()
    powerpc/time: Avoid using get_tbl() and get_tbu() internally
    powerpc/time: Make mftb() common to PPC32 and PPC64
    powerpc/time: Rename mftbl() to mftb()
    powerpc/32s: Remove #ifdef CONFIG_PPC_BOOK3S_32 in head_book3s_32.S
    powerpc/32s: Rename head_32.S to head_book3s_32.S
    powerpc/32s: Setup the early hash table at all time.
    powerpc/time: Remove ifdef in get_dec() and set_dec()
    powerpc: Remove get_tb_or_rtc()
    powerpc: Remove __USE_RTC()
    powerpc: Tidy up a bit after removal of PowerPC 601.
    powerpc: Remove support for PowerPC 601
    powerpc: Remove PowerPC 601
    powerpc: Drop SYNC_601() ISYNC_601() and SYNC()
    powerpc: Remove CONFIG_PPC601_SYNC_FIX
    ...

    Linus Torvalds
     
  • Merge more updates from Andrew Morton:
    "155 patches.

    Subsystems affected by this patch series: mm (dax, debug, thp,
    readahead, page-poison, util, memory-hotplug, zram, cleanups), misc,
    core-kernel, get_maintainer, MAINTAINERS, lib, bitops, checkpatch,
    binfmt, ramfs, autofs, nilfs, rapidio, panic, relay, kgdb, ubsan,
    romfs, and fault-injection"

    * emailed patches from Andrew Morton : (155 commits)
    lib, uaccess: add failure injection to usercopy functions
    lib, include/linux: add usercopy failure capability
    ROMFS: support inode blocks calculation
    ubsan: introduce CONFIG_UBSAN_LOCAL_BOUNDS for Clang
    sched.h: drop in_ubsan field when UBSAN is in trap mode
    scripts/gdb/tasks: add headers and improve spacing format
    scripts/gdb/proc: add struct mount & struct super_block addr in lx-mounts command
    kernel/relay.c: drop unneeded initialization
    panic: dump registers on panic_on_warn
    rapidio: fix the missed put_device() for rio_mport_add_riodev
    rapidio: fix error handling path
    nilfs2: fix some kernel-doc warnings for nilfs2
    autofs: harden ioctl table
    ramfs: fix nommu mmap with gaps in the page cache
    mm: remove the now-unnecessary mmget_still_valid() hack
    mm/gup: take mmap_lock in get_dump_page()
    binfmt_elf, binfmt_elf_fdpic: use a VMA list snapshot
    coredump: rework elf/elf_fdpic vma_dump_size() into common helper
    coredump: refactor page range dumping into common helper
    coredump: let dump_emit() bail out on short writes
    ...

    Linus Torvalds
     
  • This produces a PIE binary with a variety of p_align requirements,
    suitable for verifying that the load address meets that alignment
    requirement.

    Signed-off-by: Chris Kennelly
    Signed-off-by: Andrew Morton
    Cc: Shuah Khan
    Cc: Alexander Viro
    Cc: Alexey Dobriyan
    Cc: David Rientjes
    Cc: Fangrui Song
    Cc: Hugh Dickens
    Cc: Ian Rogers
    Cc: "Kirill A. Shutemov"
    Cc: Mike Kravetz
    Cc: Nick Desaulniers
    Cc: Sandeep Patil
    Cc: Song Liu
    Cc: Suren Baghdasaryan
    Link: https://lkml.kernel.org/r/20200820170541.1132271-3-ckennelly@google.com
    Link: https://lkml.kernel.org/r/20200821233848.3904680-3-ckennelly@google.com
    Signed-off-by: Linus Torvalds

    Chris Kennelly
     

16 Oct, 2020

8 commits

  • Pull cpupower utility updates for 5.10-rc1 from Shuah Khan:

    "This update consists of minor fixes for spelling and speeding up
    generating git version string which will in turn speed up compiles."

    * tag 'linux-cpupower-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux:
    cpupower: speed up generating git version string
    cpupowerutils: fix spelling mistake "dependant" -> "dependent"

    Rafael J. Wysocki
     
  • Pull networking updates from Jakub Kicinski:

    - Add redirect_neigh() BPF packet redirect helper, allowing to limit
    stack traversal in common container configs and improving TCP
    back-pressure.

    Daniel reports ~10Gbps => ~15Gbps single stream TCP performance gain.

    - Expand netlink policy support and improve policy export to user
    space. (Ge)netlink core performs request validation according to
    declared policies. Expand the expressiveness of those policies
    (min/max length and bitmasks). Allow dumping policies for particular
    commands. This is used for feature discovery by user space (instead
    of kernel version parsing or trial and error).

    - Support IGMPv3/MLDv2 multicast listener discovery protocols in
    bridge.

    - Allow more than 255 IPv4 multicast interfaces.

    - Add support for Type of Service (ToS) reflection in SYN/SYN-ACK
    packets of TCPv6.

    - In Multi-patch TCP (MPTCP) support concurrent transmission of data on
    multiple subflows in a load balancing scenario. Enhance advertising
    addresses via the RM_ADDR/ADD_ADDR options.

    - Support SMC-Dv2 version of SMC, which enables multi-subnet
    deployments.

    - Allow more calls to same peer in RxRPC.

    - Support two new Controller Area Network (CAN) protocols - CAN-FD and
    ISO 15765-2:2016.

    - Add xfrm/IPsec compat layer, solving the 32bit user space on 64bit
    kernel problem.

    - Add TC actions for implementing MPLS L2 VPNs.

    - Improve nexthop code - e.g. handle various corner cases when nexthop
    objects are removed from groups better, skip unnecessary
    notifications and make it easier to offload nexthops into HW by
    converting to a blocking notifier.

    - Support adding and consuming TCP header options by BPF programs,
    opening the doors for easy experimental and deployment-specific TCP
    option use.

    - Reorganize TCP congestion control (CC) initialization to simplify
    life of TCP CC implemented in BPF.

    - Add support for shipping BPF programs with the kernel and loading
    them early on boot via the User Mode Driver mechanism, hence reusing
    all the user space infra we have.

    - Support sleepable BPF programs, initially targeting LSM and tracing.

    - Add bpf_d_path() helper for returning full path for given 'struct
    path'.

    - Make bpf_tail_call compatible with bpf-to-bpf calls.

    - Allow BPF programs to call map_update_elem on sockmaps.

    - Add BPF Type Format (BTF) support for type and enum discovery, as
    well as support for using BTF within the kernel itself (current use
    is for pretty printing structures).

    - Support listing and getting information about bpf_links via the bpf
    syscall.

    - Enhance kernel interfaces around NIC firmware update. Allow
    specifying overwrite mask to control if settings etc. are reset
    during update; report expected max time operation may take to users;
    support firmware activation without machine reboot incl. limits of
    how much impact reset may have (e.g. dropping link or not).

    - Extend ethtool configuration interface to report IEEE-standard
    counters, to limit the need for per-vendor logic in user space.

    - Adopt or extend devlink use for debug, monitoring, fw update in many
    drivers (dsa loop, ice, ionic, sja1105, qed, mlxsw, mv88e6xxx,
    dpaa2-eth).

    - In mlxsw expose critical and emergency SFP module temperature alarms.
    Refactor port buffer handling to make the defaults more suitable and
    support setting these values explicitly via the DCBNL interface.

    - Add XDP support for Intel's igb driver.

    - Support offloading TC flower classification and filtering rules to
    mscc_ocelot switches.

    - Add PTP support for Marvell Octeontx2 and PP2.2 hardware, as well as
    fixed interval period pulse generator and one-step timestamping in
    dpaa-eth.

    - Add support for various auth offloads in WiFi APs, e.g. SAE (WPA3)
    offload.

    - Add Lynx PHY/PCS MDIO module, and convert various drivers which have
    this HW to use it. Convert mvpp2 to split PCS.

    - Support Marvell Prestera 98DX3255 24-port switch ASICs, as well as
    7-port Mediatek MT7531 IP.

    - Add initial support for QCA6390 and IPQ6018 in ath11k WiFi driver,
    and wcn3680 support in wcn36xx.

    - Improve performance for packets which don't require much offloads on
    recent Mellanox NICs by 20% by making multiple packets share a
    descriptor entry.

    - Move chelsio inline crypto drivers (for TLS and IPsec) from the
    crypto subtree to drivers/net. Move MDIO drivers out of the phy
    directory.

    - Clean up a lot of W=1 warnings, reportedly the actively developed
    subsections of networking drivers should now build W=1 warning free.

    - Make sure drivers don't use in_interrupt() to dynamically adapt their
    code. Convert tasklets to use new tasklet_setup API (sadly this
    conversion is not yet complete).

    * tag 'net-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (2583 commits)
    Revert "bpfilter: Fix build error with CONFIG_BPFILTER_UMH"
    net, sockmap: Don't call bpf_prog_put() on NULL pointer
    bpf, selftest: Fix flaky tcp_hdr_options test when adding addr to lo
    bpf, sockmap: Add locking annotations to iterator
    netfilter: nftables: allow re-computing sctp CRC-32C in 'payload' statements
    net: fix pos incrementment in ipv6_route_seq_next
    net/smc: fix invalid return code in smcd_new_buf_create()
    net/smc: fix valid DMBE buffer sizes
    net/smc: fix use-after-free of delayed events
    bpfilter: Fix build error with CONFIG_BPFILTER_UMH
    cxgb4/ch_ipsec: Replace the module name to ch_ipsec from chcr
    net: sched: Fix suspicious RCU usage while accessing tcf_tunnel_info
    bpf: Fix register equivalence tracking.
    rxrpc: Fix loss of final ack on shutdown
    rxrpc: Fix bundle counting for exclusive connections
    netfilter: restore NF_INET_NUMHOOKS
    ibmveth: Identify ingress large send packets.
    ibmveth: Switch order of ibmveth_helper calls.
    cxgb4: handle 4-tuple PEDIT to NAT mode translation
    selftests: Add VRF route leaking tests
    ...

    Linus Torvalds
     
  • Pull tracing updates from Steven Rostedt:
    "Updates for tracing and bootconfig:

    - Add support for "bool" type in synthetic events

    - Add per instance tracing for bootconfig

    - Support perf-style return probe ("SYMBOL%return") in kprobes and
    uprobes

    - Allow for kprobes to be enabled earlier in boot up

    - Added tracepoint helper function to allow testing if tracepoints
    are enabled in headers

    - Synthetic events can now have dynamic strings (variable length)

    - Various fixes and cleanups"

    * tag 'trace-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (58 commits)
    tracing: support "bool" type in synthetic trace events
    selftests/ftrace: Add test case for synthetic event syntax errors
    tracing: Handle synthetic event array field type checking correctly
    selftests/ftrace: Change synthetic event name for inter-event-combined test
    tracing: Add synthetic event error logging
    tracing: Check that the synthetic event and field names are legal
    tracing: Move is_good_name() from trace_probe.h to trace.h
    tracing: Don't show dynamic string internals in synthetic event description
    tracing: Fix some typos in comments
    tracing/boot: Add ftrace.instance.*.alloc_snapshot option
    tracing: Fix race in trace_open and buffer resize call
    tracing: Check return value of __create_val_fields() before using its result
    tracing: Fix synthetic print fmt check for use of __get_str()
    tracing: Remove a pointless assignment
    ftrace: ftrace_global_list is renamed to ftrace_ops_list
    ftrace: Format variable declarations of ftrace_allocate_records
    ftrace: Simplify the calculation of page number for ftrace_page->records
    ftrace: Simplify the dyn_ftrace->flags macro
    ftrace: Simplify the hash calculation
    ftrace: Use fls() to get the bits for dup_hash()
    ...

    Linus Torvalds
     
  • Pull parisc updates from Helge Deller:

    - Added fw_cfg support for parisc on qemu

    - Added font support in sti text console driver for byte- and word-mode
    ROMs

    - Switch to more fine grained lws locks and improve spinlock handling

    - Add ioread64_hi_lo() and iowrite64_hi_lo() to avoid 0-day linking
    errors

    - Mark pointers volatile in __xchg8(), __xchg32() and __xchg64() to
    help compiler

    - Header file cleanups, mostly removal of unused HP-UX compat defines

    - Drop one bit from our O_NONBLOCK define to become now 000200000

    - Add MAP_UNINITIALIZED define to avoid userspace compile errors

    - Drop CONFIG_IDE from defconfigs

    - Speed up synchronize_caches() on UP machines

    - Rewrite tlb flush threshold calculation

    - Comment fixes and cleanups

    * 'parisc-5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
    parisc/sticon: Add user font support
    parisc/sticon: Always register sticon console driver
    parisc: Add MAP_UNINITIALIZED define
    parisc: Improve spinlock handling
    parisc: Install vmlinuz instead of zImage file
    parisc: Rewrite tlb flush threshold calculation
    parisc: Switch to more fine grained lws locks
    parisc: Mark pointers volatile in __xchg8(), __xchg32() and __xchg64()
    parisc: Fix comments and enable interrupts later
    parisc: Add alternative patching to synchronize_caches define
    parisc: Add ioread64_hi_lo() and iowrite64_hi_lo()
    parisc: disable CONFIG_IDE in defconfigs
    parisc: Drop useless comments in uapi/asm/signal.h
    parisc: Define O_NONBLOCK to become 000200000
    parisc: Drop HP-UX specific fcntl and signal flags
    parisc: Avoid external interrupts when IPI finishes
    parisc: Add qemu fw_cfg interface
    fw_cfg: Add support for parisc architecture

    Linus Torvalds
     
  • …/linux/kernel/git/shuah/linux-kselftest

    Pull Kunit updates from Shuah Khan:
    "Several kunit tool bug fixes in flag handling, run outside kernel
    tree, make errors, and generating results"

    * tag 'linux-kselftest-kunit-fixes-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
    kunit: tool: fix display of make errors
    kunit: tool: handle when .kunit exists but .kunitconfig does not
    kunit: tool: fix --alltests flag
    kunit: tool: allow generating test results in JSON
    kunit: tool: fix running kunit_tool from outside kernel tree

    Linus Torvalds
     
  • …kernel/git/shuah/linux-kselftest

    Pull kselftest updates from Shuah Khan:

    - speed up headers_install done during selftest build

    - add generic make nesting support

    - add support to select individual tests:

    Selftests build/install generates run_kselftest.sh script to run
    selftests on a target system. Currently the script doesn't have
    support for selecting individual tests. Add support for it.

    With this enhancement, user can select test collections (or tests)
    individually. e.g:

    run_kselftest.sh -c seccomp -t timers:posix_timers -t timers:nanosleep

    Additionally adds a way to list all known tests with "-l", usage with
    "-h", and perform a dry run without running tests with "-n".

    * tag 'linux-kselftest-next-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
    doc: dev-tools: kselftest.rst: Update examples and paths
    selftests/run_kselftest.sh: Make each test individually selectable
    selftests: Extract run_kselftest.sh and generate stand-alone test list
    selftests: Add missing gitignore entries
    selftests: more general make nesting support
    selftests: use "$(MAKE)" instead of "make" for headers_install

    Linus Torvalds
     
  • Pull trivial updates from Jiri Kosina:
    "The latest advances in computer science from the trivial queue"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial:
    xtensa: fix Kconfig typo
    spelling.txt: Remove some duplicate entries
    mtd: rawnand: oxnas: cleanup/simplify code
    selftests: vm: add fragment CONFIG_GUP_BENCHMARK
    perf: Fix opt help text for --no-bpf-event
    HID: logitech-dj: Fix spelling in comment
    bootconfig: Fix kernel message mentioning CONFIG_BOOT_CONFIG
    MAINTAINERS: rectify MMP SUPPORT after moving cputype.h
    scif: Fix spelling of EACCES
    printk: fix global comment
    lib/bitmap.c: fix spello
    fs: Fix missing 'bit' in comment

    Linus Torvalds
     
  • Pull livepatching update from Jiri Kosina:
    "livepatching kselftest output fix from Miroslav Benes"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching:
    selftests/livepatch: Do not check order when using "comm" for dmesg checking

    Linus Torvalds