Skip to contentSkip to conversation

Linux 6.5.4

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Sep 19, 2023 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.5.4 kernel.

All users of the 6.5 kernel series must upgrade.

The updated 6.5.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.5.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

------------

 Documentation/admin-guide/cgroup-v1/memory.rst                                                     |    2 
 Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml                                       |    2 
 Makefile                                                                                           |    4 
 arch/arc/include/asm/atomic-llsc.h                                                                 |    6 
 arch/arc/include/asm/atomic64-arcv2.h                                                              |    6 
 arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts                                           |    3 
 arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts                              |    8 
 arch/arm/boot/dts/samsung/exynos4210-i9100.dts                                                     |    4 
 arch/arm64/boot/dts/nvidia/tegra186.dtsi                                                           |    3 
 arch/arm64/boot/dts/nvidia/tegra194.dtsi                                                           |    3 
 arch/arm64/boot/dts/nvidia/tegra210.dtsi                                                           |    3 
 arch/arm64/boot/dts/nvidia/tegra234.dtsi                                                           |    3 
 arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts                                                  |    1 
 arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi                                                   |    4 
 arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi                                                  |    2 
 arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi                                                  |    4 
 arch/mips/Makefile                                                                                 |    6 
 arch/parisc/include/asm/led.h                                                                      |    4 
 arch/parisc/include/asm/mckinley.h                                                                 |    8 
 arch/s390/net/bpf_jit_comp.c                                                                       |   10 
 arch/sh/boards/mach-ap325rxa/setup.c                                                               |    2 
 arch/sh/boards/mach-ecovec24/setup.c                                                               |    6 
 arch/sh/boards/mach-kfr2r09/setup.c                                                                |    2 
 arch/sh/boards/mach-migor/setup.c                                                                  |    2 
 arch/sh/boards/mach-se/7724/setup.c                                                                |    6 
 arch/sh/drivers/push-switch.c                                                                      |    2 
 arch/x86/include/asm/virtext.h                                                                     |    6 
 arch/x86/kvm/svm/avic.c                                                                            |   59 +
 arch/x86/kvm/svm/nested.c                                                                          |    9 
 arch/x86/kvm/svm/sev.c                                                                             |   14 
 arch/x86/kvm/svm/svm.c                                                                             |   45 -
 arch/x86/kvm/vmx/vmx.c                                                                             |   21 
 block/blk-throttle.c                                                                               |   99 +-
 drivers/accel/ivpu/ivpu_jsm_msg.c                                                                  |    3 
 drivers/ata/ahci.c                                                                                 |    2 
 drivers/ata/pata_falcon.c                                                                          |   50 -
 drivers/ata/pata_ftide010.c                                                                        |    1 
 drivers/ata/sata_gemini.c                                                                          |    1 
 drivers/block/null_blk/main.c                                                                      |   12 
 drivers/bus/mhi/host/pm.c                                                                          |    5 
 drivers/char/tpm/tpm_crb.c                                                                         |    5 
 drivers/clk/imx/clk-pll14xx.c                                                                      |   13 
 drivers/clk/qcom/camcc-sc7180.c                                                                    |    2 
 drivers/clk/qcom/dispcc-sm8450.c                                                                   |   13 
 drivers/clk/qcom/dispcc-sm8550.c                                                                   |   13 
 drivers/clk/qcom/gcc-mdm9615.c                                                                     |    2 
 drivers/clk/qcom/lpasscc-sc7280.c                                                                  |   16 
 drivers/clk/qcom/mss-sc7180.c                                                                      |   13 
 drivers/clk/qcom/q6sstop-qcs404.c                                                                  |   15 
 drivers/clk/qcom/turingcc-qcs404.c                                                                 |   13 
 drivers/clocksource/arm_arch_timer.c                                                               |    7 
 drivers/dma/sh/rz-dmac.c                                                                           |   11 
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c                                                        |   26 
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c                                                   |    3 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c                                                  |    4 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c                                            |    7 
 drivers/gpu/drm/amd/display/dc/Makefile                                                            |    1 
 drivers/gpu/drm/amd/display/dc/core/dc.c                                                           |   68 +
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c                                                   |    5 
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c                                                 |   11 
 drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c                                               |   25 
 drivers/gpu/drm/amd/display/modules/freesync/freesync.c                                            |    9 
 drivers/gpu/drm/ast/ast_post.c                                                                     |    2 
 drivers/gpu/drm/i915/gt/intel_engine_types.h                                                       |    1 
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c                                                  |    3 
 drivers/gpu/drm/i915/gvt/gtt.c                                                                     |   27 
 drivers/gpu/drm/i915/gvt/gtt.h                                                                     |    1 
 drivers/gpu/drm/i915/i915_request.c                                                                |    7 
 drivers/gpu/drm/mxsfb/mxsfb_kms.c                                                                  |    9 
 drivers/gpu/drm/virtio/virtgpu_submit.c                                                            |   32 
 drivers/hwspinlock/qcom_hwspinlock.c                                                               |    9 
 drivers/i3c/master/svc-i3c-master.c                                                                |    1 
 drivers/input/keyboard/tca6416-keypad.c                                                            |   31 
 drivers/input/misc/iqs7222.c                                                                       |    8 
 drivers/mailbox/qcom-ipcc.c                                                                        |    4 
 drivers/misc/fastrpc.c                                                                             |   22 
 drivers/mtd/nand/raw/brcmnand/brcmnand.c                                                           |  112 ++
 drivers/mtd/spi-nor/winbond.c                                                                      |    5 
 drivers/net/dsa/microchip/ksz_common.c                                                             |   16 
 drivers/net/dsa/sja1105/sja1105.h                                                                  |    4 
 drivers/net/dsa/sja1105/sja1105_dynamic_config.c                                                   |   93 +-
 drivers/net/dsa/sja1105/sja1105_main.c                                                             |  120 ++-
 drivers/net/dsa/sja1105/sja1105_spi.c                                                              |    4 
 drivers/net/ethernet/adi/adin1110.c                                                                |   10 
 drivers/net/ethernet/cadence/macb_main.c                                                           |    5 
 drivers/net/ethernet/freescale/enetc/enetc_pf.c                                                    |    2 
 drivers/net/ethernet/google/gve/gve_rx_dqo.c                                                       |    5 
 drivers/net/ethernet/hisilicon/hns3/hnae3.h                                                        |    1 
 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c                                                 |    7 
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c                                                    |   19 
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c                                                 |    4 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c                                             |   20 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c                                         |   14 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c                                            |    5 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h                                            |    2 
 drivers/net/ethernet/intel/igb/igb.h                                                               |    4 
 drivers/net/ethernet/intel/igb/igb_main.c                                                          |   10 
 drivers/net/ethernet/intel/igbvf/igbvf.h                                                           |    4 
 drivers/net/ethernet/intel/igc/igc.h                                                               |    4 
 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c                                                       |   28 
 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c                                                    |    5 
 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c                                                |   21 
 drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c                                                 |    6 
 drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h                                                 |    2 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c                                           |   43 -
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h                                           |    3 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c                                               |    7 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c                                             |   30 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.h                                             |    4 
 drivers/net/ethernet/mediatek/mtk_eth_soc.c                                                        |    3 
 drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ct.c                                             |    4 
 drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/mirred.c                                         |    1 
 drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/pedit.c                                          |    4 
 drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/redirect_ingress.c                               |    1 
 drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/vlan.c                                           |    1 
 drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/vlan_mangle.c                                    |    4 
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c                                                    |    1 
 drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c                                         |   62 +
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c                                                  |   64 +
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h                                                  |    8 
 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c                                         |   75 +
 drivers/net/ethernet/microchip/vcap/vcap_api.c                                                     |   18 
 drivers/net/ethernet/renesas/rswitch.c                                                             |    8 
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c                                                  |   10 
 drivers/net/phy/micrel.c                                                                           |    9 
 drivers/net/usb/r8152.c                                                                            |    3 
 drivers/net/veth.c                                                                                 |    6 
 drivers/parisc/led.c                                                                               |    4 
 drivers/parisc/sba_iommu.c                                                                         |   10 
 drivers/pinctrl/intel/pinctrl-cherryview.c                                                         |    5 
 drivers/platform/mellanox/Kconfig                                                                  |    4 
 drivers/platform/mellanox/mlxbf-pmc.c                                                              |   41 -
 drivers/platform/mellanox/mlxbf-tmfifo.c                                                           |   90 +-
 drivers/pwm/pwm-atmel-tcb.c                                                                        |   64 -
 drivers/pwm/pwm-lpc32xx.c                                                                          |   16 
 drivers/regulator/raa215300.c                                                                      |   32 
 drivers/regulator/tps6287x-regulator.c                                                             |    2 
 drivers/regulator/tps6594-regulator.c                                                              |   31 
 drivers/s390/crypto/zcrypt_api.c                                                                   |    1 
 drivers/scsi/qla2xxx/qla_attr.c                                                                    |    2 
 drivers/scsi/qla2xxx/qla_dbg.c                                                                     |    2 
 drivers/scsi/qla2xxx/qla_def.h                                                                     |   21 
 drivers/scsi/qla2xxx/qla_dfs.c                                                                     |   10 
 drivers/scsi/qla2xxx/qla_gbl.h                                                                     |    1 
 drivers/scsi/qla2xxx/qla_init.c                                                                    |  234 +++---
 drivers/scsi/qla2xxx/qla_inline.h                                                                  |   57 +
 drivers/scsi/qla2xxx/qla_iocb.c                                                                    |    1 
 drivers/scsi/qla2xxx/qla_isr.c                                                                     |    7 
 drivers/scsi/qla2xxx/qla_mbx.c                                                                     |    7 
 drivers/scsi/qla2xxx/qla_nvme.c                                                                    |    3 
 drivers/scsi/qla2xxx/qla_os.c                                                                      |   26 
 drivers/scsi/qla2xxx/qla_target.c                                                                  |   14 
 drivers/soc/qcom/qmi_encdec.c                                                                      |    4 
 drivers/ufs/core/ufs_bsg.c                                                                         |    3 
 drivers/ufs/core/ufshcd.c                                                                          |   10 
 drivers/video/backlight/gpio_backlight.c                                                           |    3 
 drivers/video/backlight/lp855x_bl.c                                                                |   20 
 drivers/video/fbdev/ep93xx-fb.c                                                                    |    1 
 drivers/watchdog/Kconfig                                                                           |    2 
 drivers/watchdog/intel-mid_wdt.c                                                                   |    1 
 fs/btrfs/disk-io.c                                                                                 |    5 
 fs/btrfs/extent-tree.c                                                                             |   43 -
 fs/btrfs/file-item.c                                                                               |   34 
 fs/btrfs/file-item.h                                                                               |    6 
 fs/btrfs/inode.c                                                                                   |    7 
 fs/btrfs/raid56.c                                                                                  |    4 
 fs/btrfs/relocation.c                                                                              |   12 
 fs/btrfs/scrub.c                                                                                   |  152 ++--
 fs/btrfs/space-info.c                                                                              |    6 
 fs/btrfs/transaction.c                                                                             |   26 
 fs/btrfs/zoned.c                                                                                   |   16 
 fs/ext4/balloc.c                                                                                   |   15 
 fs/ext4/block_validity.c                                                                           |    8 
 fs/ext4/crypto.c                                                                                   |    4 
 fs/ext4/ext4.h                                                                                     |    2 
 fs/ext4/extents_status.c                                                                           |   44 -
 fs/ext4/file.c                                                                                     |   25 
 fs/f2fs/data.c                                                                                     |    8 
 fs/f2fs/f2fs.h                                                                                     |   24 
 fs/f2fs/inline.c                                                                                   |    3 
 fs/f2fs/segment.c                                                                                  |    2 
 fs/fuse/readdir.c                                                                                  |   10 
 fs/gfs2/aops.c                                                                                     |    4 
 fs/gfs2/log.c                                                                                      |   25 
 fs/jbd2/checkpoint.c                                                                               |   22 
 fs/jbd2/recovery.c                                                                                 |   12 
 fs/kernfs/dir.c                                                                                    |    4 
 fs/nfs/direct.c                                                                                    |   20 
 fs/nfs/pnfs_dev.c                                                                                  |    2 
 fs/smb/client/cached_dir.c                                                                         |    2 
 fs/smb/client/cifsglob.h                                                                           |    1 
 fs/smb/client/connect.c                                                                            |    1 
 fs/smb/client/fscache.c                                                                            |    2 
 fs/smb/client/smb2ops.c                                                                            |   11 
 fs/smb/client/smb2pdu.c                                                                            |   11 
 fs/smb/common/smb2pdu.h                                                                            |   22 
 include/linux/audit.h                                                                              |    2 
 include/linux/bpf.h                                                                                |   12 
 include/linux/export-internal.h                                                                    |    2 
 include/linux/ipv6.h                                                                               |    1 
 include/linux/micrel_phy.h                                                                         |    7 
 include/linux/phylink.h                                                                            |    4 
 include/linux/tca6416_keypad.h                                                                     |    1 
 include/net/ip.h                                                                                   |    3 
 include/net/ip6_fib.h                                                                              |    5 
 include/net/ip_fib.h                                                                               |    5 
 include/net/ip_tunnels.h                                                                           |   15 
 include/net/ipv6.h                                                                                 |    7 
 include/net/scm.h                                                                                  |   14 
 include/net/sock.h                                                                                 |   29 
 kernel/auditsc.c                                                                                   |    2 
 kernel/bpf/bpf_local_storage.c                                                                     |   49 -
 kernel/bpf/core.c                                                                                  |   10 
 kernel/bpf/syscall.c                                                                               |    2 
 kernel/bpf/trampoline.c                                                                            |    5 
 kernel/trace/bpf_trace.c                                                                           |   11 
 lib/idr.c                                                                                          |    2 
 lib/kunit/test.c                                                                                   |    3 
 lib/test_meminit.c                                                                                 |    2 
 lib/test_scanf.c                                                                                   |    2 
 mm/hugetlb_vmemmap.c                                                                               |   34 
 mm/memcontrol.c                                                                                    |   32 
 mm/mremap.c                                                                                        |    2 
 mm/vmscan.c                                                                                        |   13 
 net/can/j1939/socket.c                                                                             |   10 
 net/core/flow_dissector.c                                                                          |    3 
 net/core/skbuff.c                                                                                  |   10 
 net/core/skmsg.c                                                                                   |   12 
 net/core/sock.c                                                                                    |   27 
 net/handshake/netlink.c                                                                            |   18 
 net/hsr/hsr_forward.c                                                                              |    1 
 net/ipv4/devinet.c                                                                                 |   10 
 net/ipv4/fib_semantics.c                                                                           |    5 
 net/ipv4/fib_trie.c                                                                                |    3 
 net/ipv4/inet_hashtables.c                                                                         |   36 
 net/ipv4/ip_input.c                                                                                |    3 
 net/ipv4/ip_output.c                                                                               |    2 
 net/ipv4/ip_sockglue.c                                                                             |    2 
 net/ipv4/route.c                                                                                   |    1 
 net/ipv4/tcp.c                                                                                     |    4 
 net/ipv4/tcp_output.c                                                                              |    2 
 net/ipv4/udp.c                                                                                     |    6 
 net/ipv6/addrconf.c                                                                                |    2 
 net/ipv6/ip6_input.c                                                                               |    3 
 net/ipv6/ip6_output.c                                                                              |    2 
 net/ipv6/ping.c                                                                                    |    2 
 net/ipv6/raw.c                                                                                     |    2 
 net/ipv6/route.c                                                                                   |    3 
 net/ipv6/udp.c                                                                                     |    2 
 net/kcm/kcmsock.c                                                                                  |   15 
 net/mptcp/protocol.c                                                                               |   23 
 net/netfilter/nf_tables_api.c                                                                      |   54 +
 net/netfilter/nfnetlink_osf.c                                                                      |    8 
 net/netfilter/nft_exthdr.c                                                                         |   22 
 net/netfilter/nft_set_rbtree.c                                                                     |    8 
 net/sched/sch_fq_pie.c                                                                             |   27 
 net/sched/sch_plug.c                                                                               |    2 
 net/sched/sch_qfq.c                                                                                |   22 
 net/sctp/proc.c                                                                                    |    2 
 net/sctp/socket.c                                                                                  |   10 
 net/smc/smc_core.c                                                                                 |    2 
 net/socket.c                                                                                       |   15 
 net/tls/tls_sw.c                                                                                   |    4 
 net/unix/af_unix.c                                                                                 |    2 
 net/unix/scm.c                                                                                     |    6 
 net/xdp/xsk_diag.c                                                                                 |    3 
 scripts/dummy-tools/gcc                                                                            |    3 
 scripts/kconfig/preprocess.c                                                                       |    3 
 scripts/mod/modpost.c                                                                              |    9 
 scripts/package/mkspec                                                                             |    2 
 sound/soc/tegra/tegra210_sfc.c                                                                     |   31 
 sound/soc/tegra/tegra210_sfc.h                                                                     |    4 
 tools/build/Makefile.build                                                                         |   10 
 tools/mm/Makefile                                                                                  |    4 
 tools/perf/Documentation/perf-dlfilter.txt                                                         |   22 
 tools/perf/Makefile.perf                                                                           |    2 
 tools/perf/builtin-lock.c                                                                          |    1 
 tools/perf/builtin-script.c                                                                        |   22 
 tools/perf/builtin-top.c                                                                           |    1 
 tools/perf/builtin-trace.c                                                                         |    9 
 tools/perf/dlfilters/dlfilter-test-api-v2.c                                                        |  377 ++++++++++
 tools/perf/include/perf/perf_dlfilter.h                                                            |   11 
 tools/perf/pmu-events/Build                                                                        |    6 
 tools/perf/pmu-events/arch/arm64/ampere/ampereone/cache.json                                       |    3 
 tools/perf/pmu-events/arch/powerpc/power10/cache.json                                              |   47 -
 tools/perf/pmu-events/arch/powerpc/power10/floating_point.json                                     |   66 +
 tools/perf/pmu-events/arch/powerpc/power10/frontend.json                                           |  188 ----
 tools/perf/pmu-events/arch/powerpc/power10/marked.json                                             |  194 +++--
 tools/perf/pmu-events/arch/powerpc/power10/memory.json                                             |   91 --
 tools/perf/pmu-events/arch/powerpc/power10/metrics.json                                            |   56 -
 tools/perf/pmu-events/arch/powerpc/power10/others.json                                             |  209 -----
 tools/perf/pmu-events/arch/powerpc/power10/pipeline.json                                           |  269 +++++--
 tools/perf/pmu-events/arch/powerpc/power10/pmc.json                                                |  193 ++++-
 tools/perf/pmu-events/arch/powerpc/power10/translation.json                                        |   42 -
 tools/perf/pmu-events/jevents.py                                                                   |    2 
 tools/perf/tests/dlfilter-test.c                                                                   |   38 -
 tools/perf/tests/shell/stat_bpf_counters.sh                                                        |    4 
 tools/perf/tests/shell/stat_bpf_counters_cgrp.sh                                                   |   28 
 tools/perf/ui/browsers/hists.c                                                                     |   60 -
 tools/perf/util/annotate.c                                                                         |   10 
 tools/perf/util/bpf-filter.c                                                                       |   14 
 tools/perf/util/dlfilter.c                                                                         |   30 
 tools/perf/util/expr.c                                                                             |    4 
 tools/perf/util/header.c                                                                           |   42 -
 tools/perf/util/parse-events.c                                                                     |    4 
 tools/perf/util/parse-events.y                                                                     |  256 ++++--
 tools/perf/util/pmu.c                                                                              |    4 
 tools/testing/selftests/bpf/prog_tests/bpf_obj_pinning.c                                           |    5 
 tools/testing/selftests/bpf/prog_tests/sockmap_helpers.h                                           |   26 
 tools/testing/selftests/bpf/prog_tests/sockmap_listen.c                                            |    7 
 tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-dynstring.tc     |    2 
 tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic_event_syntax_errors.tc |    2 
 tools/testing/selftests/kselftest/runner.sh                                                        |    3 
 tools/testing/selftests/lib.mk                                                                     |    4 
 tools/testing/selftests/net/bind_wildcard.c                                                        |    2 
 315 files changed, 3884 insertions(+), 2307 deletions(-)

Adrian Hunter (1):
perf dlfilter: Add al_cleanup()

Ahmad Fatoum (1):

      clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz

Aleksey Nasibulin (1):
ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2

Alex Henrie (1):
net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr

Anand Jain (1):
btrfs: use the correct superblock to compare fsid in btrfs_validate_super

Andreas Gruenbacher (2):
gfs2: Switch to wait_event in gfs2_logd
gfs2: low-memory forced flush fixes

Andrew Donnellan (1):
lib/test_meminit: allocate pages up to order MAX_ORDER

Andrzej Hajda (1):
drm/i915: mark requests for GuC virtual engines to avoid use-after-free

Andy Shevchenko (1):
s390/zcrypt: don't leak memory if dev_set_name() fails

Ariel Marcovitch (1):
idr: fix param name in idr_alloc_cyclic() doc

Arnaldo Carvalho de Melo (5):
perf trace: Really free the evsel->priv area
perf annotate bpf: Don't enclose non-debug code with an assert()
perf dlfilter: Initialize addr_location before passing it to thread__find_symbol_fb() perf top: Don't pass an ERR_PTR() directly to perf_session__delete() perf lock: Don't pass an ERR_PTR() directly to perf_session__delete()

Arnd Bergmann (1):
bpf: fix bpf_probe_read_kernel prototype mismatch

Artur Weber (1):
backlight: lp855x: Initialize PWM state on first brightness change

Baokun Li (1):
ext4: fix slab-use-after-free in ext4_es_insert_extent()

Bean Huo (1):
scsi: ufs: core: Add advanced RPMB support where UFSHCI 4.0 does not support EHS length in UTRD

Bharath SM (1):
cifs: update desired access while requesting for directory lease

Biju Das (2):
regulator: raa215300: Change the scope of the variables {clkin_name, xin_name}
regulator: raa215300: Fix resource leak in case of error

Björn Töpel (2):
kselftest/runner.sh: Propagate SIGTERM to runner child
selftests: Keep symlinks, when possible

Bodong Wang (1):
mlx5/core: E-Switch, Create ACL FT for eswitch manager in switchdev mode

Boris Burkov (2):
btrfs: fix start transaction qgroup rsv double free
btrfs: free qgroup rsv on io failure

Brian Foster (1):
ext4: drop dio overwrite only flag and associated warning

Chengming Zhou (1):
null_blk: fix poll request timeout handling

Chris Lew (1):
soc: qcom: qmi_encdec: Restrict string length in decode

Chris Paterson (1):
arm64: dts: renesas: rzg2l: Fix txdv-skew-psec typos

Christian Marangi (1):
hwspinlock: qcom: add missing regmap config for SFPB MMIO implementation

Christophe JAILLET (1):
tpm_crb: Fix an error handling path in crb_acpi_add()

Ciprian Regus (1):
net:ethernet:adi:adin1110: Fix forwarding offload

Corinna Vinschen (2):
igb: disable virtualization features on 82580
igb: clean up in all error paths when enabling SR-IOV

Damien Le Moal (2):
ata: sata_gemini: Add missing MODULE_DESCRIPTION
ata: pata_ftide010: Add missing MODULE_DESCRIPTION

Dmitry Baryshkov (1):
clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock

Dmitry Torokhov (2):
Input: tca6416-keypad - always expect proper IRQ number in i2c client
Input: tca6416-keypad - fix interrupt enable disbalance

Duoming Zhou (1):
sh: push-switch: Reorder cleanup operations to avoid use-after-free bug

Ekansh Gupta (2):
misc: fastrpc: Fix remote heap allocation request
misc: fastrpc: Fix incorrect DMA mapping unmap request

Eric Dumazet (13):

      net/sched: fq_pie: avoid stalls in fq_pie_timer()
      sctp: annotate data-races around sk->sk_wmem_queued
      ipv4: annotate data-races around fi->fib_dead
      net: read sk->sk_family once in sk_mc_loop()
      net/handshake: fix null-ptr-deref in handshake_nl_done_doit()
      net: use sk_forward_alloc_get() in sk_get_meminfo()
      net: annotate data-races around sk->sk_forward_alloc
      mptcp: annotate data-races around msk->rmem_fwd_alloc
      net: annotate data-races around sk->sk_tsflags
      net: annotate data-races around sk->sk_bind_phc
      gve: fix frag_list chaining
      ip_tunnels: use DEV_STATS_INC()
      ipv6: fix ip6_sock_set_addr_preferences() typo

Fangzhi Zuo (1):
drm/amd/display: Temporary Disable MST DP Colorspace Property

Fedor Pchelkin (1):
NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info

Filipe Manana (1):
btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART

Florent CARLI (1):
watchdog: advantech_ec_wdt: fix Kconfig dependencies

Florian Westphal (2):
net: fib: avoid warn splat in flow dissector
netfilter: nftables: exthdr: fix 4-byte stack OOB write

Gabe Teeger (1):
drm/amd/display: Remove wait while locked

Geert Uytterhoeven (1):
platform/mellanox: NVSW_SN2201 should depend on ACPI

Geetha sowjanya (1):
octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler

Greg Kroah-Hartman (1):

      Linux 6.5.4

Guangguan Wang (1):
net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add

Gurchetan Singh (1):
drm/virtio: Conditionally allocate virtio_gpu_fence

Hamza Mahfooz (5):
drm/amd/display: fix mode scaling (RMX_.*)
Revert "drm/amd/display: Remove v_startup workaround for dcn3+" drm/amd/display: limit the v_startup workaround to ASICs older than DCN3.1 drm/amd/display: prevent potential division by zero errors drm/amdgpu: register a dirty framebuffer callback for fbcon

Hangyu Hua (2):
net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()

Hao Chen (2):
net: hns3: fix byte order conversion issue in hclge_dbg_fd_tcam_read()
net: hns3: fix debugfs concurrency issue between kfree buffer and read

Hayes Wang (1):

      r8152: check budget for r8152_poll()

Helge Deller (3):
parisc: led: Fix LAN receive and transmit LEDs
parisc: led: Reduce CPU overhead for disk & lan LED computation
parisc: sba_iommu: Fix build warning if procfs if disabled

Hien Huynh (1):
dmaengine: sh: rz-dmac: Fix destination and source data size setting

Ian Kent (1):
kernfs: fix missing kernfs_iattr_rwsem locking

Ian Rogers (5):
perf parse-events: Separate YYABORT and YYNOMEM cases perf parse-events: Move instances of YYABORT to YYNOMEM perf parse-events: Separate ENOMEM memory handling perf parse-events: Additional error reporting perf header: Fix missing PMU caps

Ilkka Koskinen (1):
perf vendor events arm64: Remove L1D_CACHE_LMISS from AmpereOne list

Ilya Leoshkevich (1):
s390/bpf: Pass through tail call counter in trampolines

Ivan Babrou (1):
perf script: Print "cgroup" field on the same line as "comm"

Jaegeuk Kim (3):
f2fs: get out of a repeat loop when getting a locked data page
f2fs: flush inode if atomic file is aborted
f2fs: avoid false alarm of circular locking

Jakub Kicinski (1):
net: phylink: fix sphinx complaint about invalid literal

Jay Cornwall (1):
drm/amdkfd: Add missing gfx11 MQD manager callbacks

Jeff LaBundy (1):
Input: iqs7222 - configure power mode before triggering ATI

Jerome Neanne (1):
regulator: tps6594-regulator: Fix random kernel crash

Jian Shen (1):
net: hns3: fix tx timeout issue

Jianbo Liu (1):
net/mlx5e: Clear mirred devices array if the rule is split

Jie Wang (1):
net: hns3: remove GSO partial feature bit

Jijie Shao (1):
net: hns3: fix invalid mutex between tc qdisc and dcb ets command issue

Jinjie Ruan (2):
kunit: Fix wild-memory-access bug in kunit_free_suite_set()
net: microchip: vcap api: Fix possible memory leak for vcap_dup_rule()

Jiri Pirko (3):
net/mlx5: Give esw_offloads_load/unload_rep() "mlx5_" prefix
net/mlx5: Rework devlink port alloc/free into init/cleanup
net/mlx5: Push devlink port PF/VF init/cleanup calls out of devlink_port_register/unregister()

Jiri Slaby (1):
kbuild: dummy-tools: make MPROFILE_KERNEL checks work on BE

Johan Hovold (7):
clk: qcom: camcc-sc7180: fix async resume during probe
clk: qcom: turingcc-qcs404: fix missing resume during probe
clk: qcom: dispcc-sm8450: fix runtime PM imbalance on probe errors
clk: qcom: dispcc-sm8550: fix runtime PM imbalance on probe errors
clk: qcom: lpasscc-sc7280: fix missing resume during probe
clk: qcom: q6sstop-qcs404: fix missing resume during probe
clk: qcom: mss-sc7180: fix missing resume during probe

Johannes Weiner (1):
memcontrol: ensure memcg acquired by id is properly set up

John Fastabend (1):
bpf, sockmap: Fix skb refcnt race after locking changes

Jonathan Marek (1):
mailbox: qcom-ipcc: fix incorrect num_chans counting

Josef Bacik (1):
btrfs: set page extent mapped after read_folio in relocate_one_page

Justin Stitt (1):
accel/ivpu: refactor deprecated strncpy

Kajol Jain (6):
perf vendor events: Update the JSON/events descriptions for power10 platform perf vendor events: Drop some of the JSON/events for power10 platform perf vendor events: Drop STORES_PER_INST metric event for power10 platform perf vendor events: Move JSON/events to appropriate files for power10 platform perf vendor events: Update metric event names for power10 platform perf test stat_bpf_counters_cgrp: Fix shellcheck issue about logical operators

Kalesh Singh (1):
Multi-gen LRU: avoid race in inc_min_seq()

Katya Orlova (1):
smb: propagate error code of extract_sharename()

Konstantin Meskhidze (1):
kconfig: fix possible buffer overflow

Krzysztof Kozlowski (5):
ARM: dts: qcom: msm8974pro-castor: correct inverted X of touchscreen
arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt
ARM: dts: qcom: msm8974pro-castor: correct touchscreen function names
ARM: dts: qcom: msm8974pro-castor: correct touchscreen syna,nosleep-mode
dt-bindings: clock: xlnx,versal-clk: drop select:false

Kuniyuki Iwashima (10):
af_unix: Fix msg_controllen test in scm_pidfd_recv() for MSG_CMSG_COMPAT.
af_unix: Fix data-races around user->unix_inflight.
af_unix: Fix data-race around unix_tot_inflight.
af_unix: Fix data-races around sk->sk_shutdown.
af_unix: Fix data race around sk->sk_err.
tcp: Factorise sk_family-independent comparison in inet_bind2_bucket_match(_addr_any).
tcp: Fix bind() regression for v4-mapped-v6 wildcard address.
tcp: Fix bind() regression for v4-mapped-v6 non-wildcard address.
selftest: tcp: Fix address length in bind_wildcard.c.
kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().

Liang Chen (1):
veth: Fixing transmit return status for dropped packets

Liming Sun (2):
platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors platform/mellanox: mlxbf-tmfifo: Drop jumbo frames

Linus Torvalds (1):
vm: fix move_vma() memory accounting being off

Linus Walleij (1):
mtd: spi-nor: Correct flags for Winbond w25q128

Liu Jian (2):
net: ipv4: fix one memleak in __inet_del_ifa()
net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()

Liu Ying (1):
drm/mxsfb: Disable overlay plane in mxsfb_plane_overlay_atomic_disable()

Lukasz Majewski (1):

      net: phy: Provide Module 4 KSZ9477 errata (DS80000754C)

Luís Henriques (1):

      ext4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup}

Maciej W. Rozycki (2):
MIPS: Only fiddle with CHECKFLAGS if `need-compiler'
MIPS: Fix CONFIG_CPU_DADDI_WORKAROUNDS `modules_install' regression

Magnus Karlsson (1):
xsk: Fix xsk_diag use-after-free error during socket cleanup

Manish Rangankar (1):
scsi: qla2xxx: Remove unsupported ql2xenabledif option

Marco Felsch (1):
clk: imx: pll14xx: align pdiv with reference manual

Martin KaFai Lau (2):
bpf: bpf_sk_storage: Fix invalid wait context lockdep report
bpf: bpf_sk_storage: Fix the missing uncharge in sk_omem_alloc

Masahiro Yamada (3):
kbuild: rpm-pkg: define _arch conditionally
kbuild: do not run depmod for 'make modules_sign' linux/export: fix reference to exported functions for parisc64

Melissa Wen (1):
drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma

Michael Schmitz (1):
ata: pata_falcon: fix IO base selection for Q40

Michal Hocko (1):
memcg: drop kmem.limit_in_bytes

Miquel Raynal (1):
i3c: master: svc: Describe member 'saved_regs'

Muchun Song (1):
mm: hugetlb_vmemmap: fix a race between vmemmap pmd split

Namhyung Kim (8):
perf bpf-filter: Fix sample flag check with ||
perf test stat_bpf_counters_cgrp: Enhance perf stat cgroup BPF counter test perf hists browser: Fix hierarchy mode header
perf build: Update build rule for generated files
perf test shell stat_bpf_counters: Fix test on Intel
perf tools: Handle old data in PERF_RECORD_ATTR
perf build: Include generated header files properly
perf hists browser: Fix the number of entries for 'e' key

Naohiro Aota (2):
btrfs: zoned: do not zone finish data relocation block group
btrfs: zoned: re-enable metadata over-commit for zoned mode

Nathan Chancellor (1):
lib: test_scanf: Add explicit type cast to result initialization in test_number_prefix()

Naveen N Rao (1):
selftests/ftrace: Fix dependencies for some of the synthetic event tests

Nilesh Javali (1):
scsi: qla2xxx: Fix smatch warn for qla_init_iocb_limit()

Oleksij Rempel (1):
net: phy: micrel: Correct bit assignments for phy_device flags

Olga Zaborska (3):
igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
igb: Change IGB_MIN to allow set rx/tx value between 64 and 80

Pablo Neira Ayuso (2):
netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
netfilter: nf_tables: Unbreak audit log reset

Paul Cercueil (1):
ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size

Pavel Kozlov (1):
ARC: atomics: Add compiler barrier to atomic operations...

Petr Tesarik (1):
sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()

Phil Sutter (2):
netfilter: nf_tables: Audit log setelem reset
netfilter: nf_tables: Audit log rule reset

Qiang Yu (1):
bus: mhi: host: Skip MHI reset if device is in RDDM

Qu Wenruo (3):
btrfs: scrub: avoid unnecessary extent tree search preparing stripes
btrfs: scrub: avoid unnecessary csum tree search preparing stripes
btrfs: scrub: fix grouping of read IO

Quan Tian (1):
net/ipv6: SKB symmetric hash should incorporate transport ports

Quinn Tran (12):
scsi: qla2xxx: Adjust IOCB resource on qpair create
scsi: qla2xxx: Limit TMF to 8 per function
scsi: qla2xxx: Fix deletion race condition
scsi: qla2xxx: fix inconsistent TMF timeout
scsi: qla2xxx: Fix command flush during TMF
scsi: qla2xxx: Fix erroneous link up failure
scsi: qla2xxx: Turn off noisy message log
scsi: qla2xxx: Fix session hang in gnl
scsi: qla2xxx: Fix TMF leak through
scsi: qla2xxx: Flush mailbox commands on chip reset
scsi: qla2xxx: Error code did not return to upper layer
scsi: qla2xxx: Fix firmware resource tracking

Raag Jadav (2):
pinctrl: cherryview: fix address_space_handler() argument
watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load

Ratheesh Kannoth (1):
octeontx2-pf: Fix page pool cache index corruption.

Sameer Pujar (1):
arm64: tegra: Update AHUB clock parent and rate

Sascha Hauer (1):
net: macb: fix sleep inside spinlock

Sean Christopherson (13):
KVM: SVM: Don't defer NMI unblocking until next exit for SEV-ES guests x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm() drm/i915/gvt: Verify pfn is "valid" before dereferencing "struct page" drm/i915/gvt: Put the page reference obtained by KVM's gfn_to_pfn() drm/i915/gvt: Drop unused helper intel_vgpu_reset_gtt()
KVM: VMX: Refresh available regs and IDT vectoring info before NMI handling
KVM: SVM: Take and hold ir_list_lock when updating vCPU's Physical ID entry
KVM: SVM: Don't inject #UD if KVM attempts to skip SEV guest insn
KVM: SVM: Get source vCPUs from source VM for SEV-ES intrahost migration
KVM: nSVM: Check instead of asserting on nested TSC scaling support
KVM: nSVM: Load L1's TSC multiplier based on L1 state, not L2 state
KVM: SVM: Set target pCPU during IRTE update if target vCPU is running
KVM: SVM: Skip VMSA init in sev_es_init_vmcb() if pointer is NULL

Sebastian Andrzej Siewior (2):
bpf: Invoke __bpf_prog_exit_sleepable_recur() on recursion in kern_sys_bpf().
bpf: Assign bpf_tramp_run_ctx::saved_run_ctx before recursion check.

Sheetal (2):
ASoC: tegra: Fix SFC conversion for few rates
arm64: tegra: Update AHUB clock parent and rate on Tegra234

Shigeru Yoshida (2):
kcm: Destroy mutex in kcm_exit_net()
kcm: Fix memory leak in error path of kcm_sendmsg()

Shravan Kumar Ramani (2):
platform/mellanox: mlxbf-pmc: Fix potential buffer overflows platform/mellanox: mlxbf-pmc: Fix reading of unprogrammed events

Sriram Yagnaraman (2):
ipv4: ignore dst hint for multipath routes
ipv6: ignore dst hint for multipath routes

Steve French (1):
send channel sequence number in SMB3 requests after reconnects

Thomas Zimmermann (2):
fbdev/ep93xx-fb: Do not assign to struct fb_info.dev drm/ast: Fix DRAM init on AST2200

Toke Høiland-Jørgensen (1):
veth: Update XDP feature set when bringing up device

Trond Myklebust (1):
NFS: Fix a potential data corruption

Uwe Kleine-König (2):
pwm: atmel-tcb: Harmonize resource allocation order
pwm: atmel-tcb: Fix resource freeing in error path and remove

Vadim Fedorenko (1):
ixgbe: fix timestamp configuration code

Vincent Whitchurch (2):
regulator: tps6287x: Fix n_voltages
net: stmmac: fix handling of zero coalescing tx-usecs

Vladimir Oltean (9):
net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload
net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times
net: dsa: sja1105: complete tc-cbs offload support on SJA1110
net: enetc: distinguish error from valid pointers in enetc_fixup_clear_rss_rfs()
net: dsa: sja1105: hide all multicast addresses from "bridge fdb show"
net: dsa: sja1105: propagate exact error code from sja1105_dynamic_config_poll_valid()
net: dsa: sja1105: fix multicast forwarding working only for last added mdb entry
net: dsa: sja1105: serialize sja1105_port_mcast_flood() with other FDB accesses
net: dsa: sja1105: block FDB accesses that are concurrent with a switch reset

Vladimir Zapolskiy (1):
pwm: lpc32xx: Remove handling of PWM channels

Walter Chang (1):
clocksource/drivers/arm_arch_timer: Disable timer before programming CVAL

Wander Lairson Costa (1):
netfilter: nfnetlink_osf: avoid OOB read

Wang Jianjian (1):
ext4: add correct group descriptors and reserved GDT blocks to system zone

Wenjing Liu (1):
drm/amd/display: always switch off ODM before committing more streams

Werner Fischer (1):
ata: ahci: Add Elkhart Lake AHCI controller

Wesley Chalmers (1):
drm/amd/display: Fix a bug when searching for insert_above_mpcc

William Zhang (4):
mtd: rawnand: brcmnand: Fix crash during the panic_write
mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
mtd: rawnand: brcmnand: Fix potential false time out warning
mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller

Xie XiuQi (1):
tools/mm: fix undefined reference to pthread_once

Xu Kuohai (1):
selftests/bpf: Fix a CI failure caused by vsock write

Yang Yingliang (1):
net: ethernet: adi: adin1110: use eth_broadcast_addr() to assign broadcast address

Ying Liu (1):
backlight: gpio_backlight: Drop output GPIO direction check for initial power state

Yisen Zhuang (1):
net: hns3: fix the port information display when sfp is absent

Yonghong Song (1):
selftests/bpf: Fix flaky cgroup_iter_sleepable subtest

Yoshihiro Shimoda (1):
net: renesas: rswitch: Fix unmasking irq condition

Yu Kuai (2):
blk-throttle: use calculate_io/bytes_allowed() for throtl_trim_slice()
blk-throttle: consider 'carryover_ios/bytes' in throtl_trim_slice()

Zhang Yi (2):
jbd2: fix checkpoint cleanup performance regression
jbd2: correct the end of the journal recovery scan range

Zhihao Cheng (1):

      jbd2: check 'jh->b_transaction' before removing it from checkpoint

Ziyang Xuan (1):
hsr: Fix uninit-value access in fill_frame_info()

ruanmeisi (1):
fuse: nlookup missing decrement in fuse_direntplus_link

valis (1):
net: sched: sch_qfq: Fix UAF in qfq_dequeue()

author maintainer
#1 lore raw
Documentation/admin-guide/cgroup-v1/memory.rst +0 -2
index fabaad3fd9c2..8d3afeede10e 100644
@@ -92,8 +92,6 @@ Brief summary of control files.
  memory.oom_control		     set/show oom controls.
  memory.numa_stat		     show the number of memory usage per numa
 				     node
- memory.kmem.limit_in_bytes          This knob is deprecated and writing to
-                                     it will return -ENOTSUPP.
  memory.kmem.usage_in_bytes          show current kernel memory allocation
  memory.kmem.failcnt                 show the number of kernel memory usage
 				     hits limits
Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml +0 -2
index 5cbb34d0b61b..d3dd9c2c3019 100644
@@ -14,8 +14,6 @@ description: |
   reads required input clock frequencies from the devicetree and acts as clock
   provider for all clock consumers of PS clocks.
 
-select: false
-
 properties:
   compatible:
     const: xlnx,versal-clk
Makefile +3 -1
index 901cdfa5e7d3..beddccac3283 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 5
-SUBLEVEL = 3
+SUBLEVEL = 4
 EXTRAVERSION =
 NAME = Hurr durr I'ma ninja sloth
 
@@ -1962,7 +1962,9 @@ quiet_cmd_depmod = DEPMOD  $(MODLIB)
 
 modules_install:
 	$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
+ifndef modules_sign_only
 	$(call cmd,depmod)
+endif
 
 else # CONFIG_MODULES
 
arch/arc/include/asm/atomic-llsc.h +3 -3
index 1b0ffaeee16d..5258cb81a16b 100644
@@ -18,7 +18,7 @@ static inline void arch_atomic_##op(int i, atomic_t *v)			\
 	: [val]	"=&r"	(val) /* Early clobber to prevent reg reuse */	\
 	: [ctr]	"r"	(&v->counter), /* Not "m": llock only supports reg direct addr mode */	\
 	  [i]	"ir"	(i)						\
-	: "cc");							\
+	: "cc", "memory");						\
 }									\
 
 #define ATOMIC_OP_RETURN(op, asm_op)				\
@@ -34,7 +34,7 @@ static inline int arch_atomic_##op##_return_relaxed(int i, atomic_t *v)	\
 	: [val]	"=&r"	(val)						\
 	: [ctr]	"r"	(&v->counter),					\
 	  [i]	"ir"	(i)						\
-	: "cc");							\
+	: "cc", "memory");						\
 									\
 	return val;							\
 }
@@ -56,7 +56,7 @@ static inline int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v)	\
 	  [orig] "=&r" (orig)						\
 	: [ctr]	"r"	(&v->counter),					\
 	  [i]	"ir"	(i)						\
-	: "cc");							\
+	: "cc", "memory");						\
 									\
 	return orig;							\
 }
arch/arc/include/asm/atomic64-arcv2.h +3 -3
index 6b6db981967a..9b5791b85471 100644
@@ -60,7 +60,7 @@ static inline void arch_atomic64_##op(s64 a, atomic64_t *v)		\
 	"	bnz     1b		\n"				\
 	: "=&r"(val)							\
 	: "r"(&v->counter), "ir"(a)					\
-	: "cc");							\
+	: "cc", "memory");						\
 }									\
 
 #define ATOMIC64_OP_RETURN(op, op1, op2)		        	\
@@ -77,7 +77,7 @@ static inline s64 arch_atomic64_##op##_return_relaxed(s64 a, atomic64_t *v)	\
 	"	bnz     1b		\n"				\
 	: [val] "=&r"(val)						\
 	: "r"(&v->counter), "ir"(a)					\
-	: "cc");	/* memory clobber comes from smp_mb() */	\
+	: "cc", "memory");						\
 									\
 	return val;							\
 }
@@ -99,7 +99,7 @@ static inline s64 arch_atomic64_fetch_##op##_relaxed(s64 a, atomic64_t *v)	\
 	"	bnz     1b		\n"				\
 	: "=&r"(orig), "=&r"(val)					\
 	: "r"(&v->counter), "ir"(a)					\
-	: "cc");	/* memory clobber comes from smp_mb() */	\
+	: "cc", "memory");						\
 									\
 	return orig;							\
 }
arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6500-v2.dts +2 -1
index f1412ba83def..0454423fe166 100644
@@ -19,7 +19,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	gpio-keys {
arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts +4 -4
index 154639d56f35..11468d1409f7 100644
@@ -125,15 +125,15 @@ synaptics@2c {
 
 		syna,startup-delay-ms = <100>;
 
-		rmi-f01@1 {
+		rmi4-f01@1 {
 			reg = <0x1>;
-			syna,nosleep = <1>;
+			syna,nosleep-mode = <1>;
 		};
 
-		rmi-f11@11 {
+		rmi4-f11@11 {
 			reg = <0x11>;
-			syna,f11-flip-x = <1>;
 			syna,sensor-type = <1>;
+			touchscreen-inverted-x;
 		};
 	};
 };
arch/arm/boot/dts/samsung/exynos4210-i9100.dts +2 -2
index 37cd4dde53e4..a9ec1f6c1dea 100644
@@ -207,8 +207,8 @@ lcd@0 {
 			power-on-delay = <10>;
 			reset-delay = <10>;
 
-			panel-width-mm = <90>;
-			panel-height-mm = <154>;
+			panel-width-mm = <56>;
+			panel-height-mm = <93>;
 
 			display-timings {
 				timing {
arch/arm64/boot/dts/nvidia/tegra186.dtsi +2 -1
index 7e4c496fd91c..2b3bb5d0af17 100644
@@ -135,7 +135,8 @@ tegra_ahub: ahub@2900800 {
 			clocks = <&bpmp TEGRA186_CLK_AHUB>;
 			clock-names = "ahub";
 			assigned-clocks = <&bpmp TEGRA186_CLK_AHUB>;
-			assigned-clock-parents = <&bpmp TEGRA186_CLK_PLL_A_OUT0>;
+			assigned-clock-parents = <&bpmp TEGRA186_CLK_PLLP_OUT0>;
+			assigned-clock-rates = <81600000>;
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges = <0x02900800 0x02900800 0x11800>;
arch/arm64/boot/dts/nvidia/tegra194.dtsi +2 -1
index 154fc8c0eb6d..33f92b77cd9d 100644
@@ -231,7 +231,8 @@ tegra_ahub: ahub@2900800 {
 				clocks = <&bpmp TEGRA194_CLK_AHUB>;
 				clock-names = "ahub";
 				assigned-clocks = <&bpmp TEGRA194_CLK_AHUB>;
-				assigned-clock-parents = <&bpmp TEGRA194_CLK_PLLA_OUT0>;
+				assigned-clock-parents = <&bpmp TEGRA194_CLK_PLLP_OUT0>;
+				assigned-clock-rates = <81600000>;
 				status = "disabled";
 
 				#address-cells = <2>;
arch/arm64/boot/dts/nvidia/tegra210.dtsi +2 -1
index 617583ff2736..e7b4e3013964 100644
@@ -1386,7 +1386,8 @@ tegra_ahub: ahub@702d0800 {
 			clocks = <&tegra_car TEGRA210_CLK_D_AUDIO>;
 			clock-names = "ahub";
 			assigned-clocks = <&tegra_car TEGRA210_CLK_D_AUDIO>;
-			assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_A_OUT0>;
+			assigned-clock-parents = <&tegra_car TEGRA210_CLK_PLL_P>;
+			assigned-clock-rates = <81600000>;
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges = <0x702d0000 0x702d0000 0x0000e400>;
arch/arm64/boot/dts/nvidia/tegra234.dtsi +2 -1
index f4974e81dd4b..0f12a8debd8a 100644
@@ -180,7 +180,8 @@ tegra_ahub: ahub@2900800 {
 				clocks = <&bpmp TEGRA234_CLK_AHUB>;
 				clock-names = "ahub";
 				assigned-clocks = <&bpmp TEGRA234_CLK_AHUB>;
-				assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLA_OUT0>;
+				assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
+				assigned-clock-rates = <81600000>;
 				status = "disabled";
 
 				#address-cells = <2>;
arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts +0 -1
index 0956c866d6cb..1a1d3f92a511 100644
@@ -132,7 +132,6 @@ &i2c_3 {
 	touchscreen@20 {
 		reg = <0x20>;
 		compatible = "syna,rmi4-i2c";
-		interrupts-parent = <&tlmm>;
 		interrupts-extended = <&tlmm 65 IRQ_TYPE_EDGE_FALLING>;
 
 		#address-cells = <1>;
arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi +2 -2
index fbbb4f03440b..d0515769e66d 100644
@@ -100,7 +100,7 @@ phy0: ethernet-phy@7 {
 		rxc-skew-psec = <2400>;
 		txc-skew-psec = <2400>;
 		rxdv-skew-psec = <0>;
-		txdv-skew-psec = <0>;
+		txen-skew-psec = <0>;
 		rxd0-skew-psec = <0>;
 		rxd1-skew-psec = <0>;
 		rxd2-skew-psec = <0>;
@@ -128,7 +128,7 @@ phy1: ethernet-phy@7 {
 		rxc-skew-psec = <2400>;
 		txc-skew-psec = <2400>;
 		rxdv-skew-psec = <0>;
-		txdv-skew-psec = <0>;
+		txen-skew-psec = <0>;
 		rxd0-skew-psec = <0>;
 		rxd1-skew-psec = <0>;
 		rxd2-skew-psec = <0>;
arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi +1 -1
index 8a0d56872de7..79279ffb4099 100644
@@ -77,7 +77,7 @@ phy0: ethernet-phy@7 {
 		rxc-skew-psec = <2400>;
 		txc-skew-psec = <2400>;
 		rxdv-skew-psec = <0>;
-		txdv-skew-psec = <0>;
+		txen-skew-psec = <0>;
 		rxd0-skew-psec = <0>;
 		rxd1-skew-psec = <0>;
 		rxd2-skew-psec = <0>;
arch/arm64/boot/dts/renesas/rzg2ul-smarc-som.dtsi +2 -2
index 49ecd33aeeb8..97cdad2a12e2 100644
@@ -83,7 +83,7 @@ phy0: ethernet-phy@7 {
 		rxc-skew-psec = <2400>;
 		txc-skew-psec = <2400>;
 		rxdv-skew-psec = <0>;
-		txdv-skew-psec = <0>;
+		txen-skew-psec = <0>;
 		rxd0-skew-psec = <0>;
 		rxd1-skew-psec = <0>;
 		rxd2-skew-psec = <0>;
@@ -112,7 +112,7 @@ phy1: ethernet-phy@7 {
 		rxc-skew-psec = <2400>;
 		txc-skew-psec = <2400>;
 		rxdv-skew-psec = <0>;
-		txdv-skew-psec = <0>;
+		txen-skew-psec = <0>;
 		rxd0-skew-psec = <0>;
 		rxd1-skew-psec = <0>;
 		rxd2-skew-psec = <0>;
arch/mips/Makefile +3 -3
index a47593d72f6f..d624b87c150d 100644
@@ -299,8 +299,8 @@ ifdef CONFIG_64BIT
     endif
   endif
 
-  ifeq ($(KBUILD_SYM32)$(call cc-option-yn,-msym32), yy)
-    cflags-y += -msym32 -DKBUILD_64BIT_SYM32
+  ifeq ($(KBUILD_SYM32), y)
+    cflags-$(KBUILD_SYM32) += -msym32 -DKBUILD_64BIT_SYM32
   else
     ifeq ($(CONFIG_CPU_DADDI_WORKAROUNDS), y)
       $(error CONFIG_CPU_DADDI_WORKAROUNDS unsupported without -msym32)
@@ -341,7 +341,7 @@ KBUILD_CFLAGS += -fno-asynchronous-unwind-tables
 
 KBUILD_LDFLAGS		+= -m $(ld-emul)
 
-ifdef CONFIG_MIPS
+ifdef need-compiler
 CHECKFLAGS += $(shell $(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -dM -E -x c /dev/null | \
 	grep -E -vw '__GNUC_(MINOR_|PATCHLEVEL_)?_' | \
 	sed -e "s/^\#define /-D'/" -e "s/ /'='/" -e "s/$$/'/" -e 's/\$$/&&/g')
arch/parisc/include/asm/led.h +2 -2
index 6de13d08a388..b70b9094fb7c 100644
@@ -11,8 +11,8 @@
 #define	LED1		0x02
 #define	LED0		0x01		/* bottom (or furthest left) LED */
 
-#define	LED_LAN_TX	LED0		/* for LAN transmit activity */
-#define	LED_LAN_RCV	LED1		/* for LAN receive activity */
+#define	LED_LAN_RCV	LED0		/* for LAN receive activity */
+#define	LED_LAN_TX	LED1		/* for LAN transmit activity */
 #define	LED_DISK_IO	LED2		/* for disk activity */
 #define	LED_HEARTBEAT	LED3		/* heartbeat */
 
arch/parisc/include/asm/mckinley.h deleted +0 -8
deleted file mode 100644
index 1314390b9034..000000000000
@@ -1,8 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef ASM_PARISC_MCKINLEY_H
-#define ASM_PARISC_MCKINLEY_H
-
-/* declared in arch/parisc/kernel/setup.c */
-extern struct proc_dir_entry * proc_mckinley_root;
-
-#endif /*ASM_PARISC_MCKINLEY_H*/
arch/s390/net/bpf_jit_comp.c +10 -0
index 5e9371fbf3d5..de2fb12120d2 100644
@@ -2088,6 +2088,7 @@ struct bpf_tramp_jit {
 				 */
 	int r14_off;		/* Offset of saved %r14 */
 	int run_ctx_off;	/* Offset of struct bpf_tramp_run_ctx */
+	int tccnt_off;		/* Offset of saved tailcall counter */
 	int do_fexit;		/* do_fexit: label */
 };
 
@@ -2258,12 +2259,16 @@ static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im,
 	tjit->r14_off = alloc_stack(tjit, sizeof(u64));
 	tjit->run_ctx_off = alloc_stack(tjit,
 					sizeof(struct bpf_tramp_run_ctx));
+	tjit->tccnt_off = alloc_stack(tjit, sizeof(u64));
 	/* The caller has already reserved STACK_FRAME_OVERHEAD bytes. */
 	tjit->stack_size -= STACK_FRAME_OVERHEAD;
 	tjit->orig_stack_args_off = tjit->stack_size + STACK_FRAME_OVERHEAD;
 
 	/* aghi %r15,-stack_size */
 	EMIT4_IMM(0xa70b0000, REG_15, -tjit->stack_size);
+	/* mvc tccnt_off(4,%r15),stack_size+STK_OFF_TCCNT(%r15) */
+	_EMIT6(0xd203f000 | tjit->tccnt_off,
+	       0xf000 | (tjit->stack_size + STK_OFF_TCCNT));
 	/* stmg %r2,%rN,fwd_reg_args_off(%r15) */
 	if (nr_reg_args)
 		EMIT6_DISP_LH(0xeb000000, 0x0024, REG_2,
@@ -2400,6 +2405,8 @@ static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im,
 				       (nr_stack_args * sizeof(u64) - 1) << 16 |
 				       tjit->stack_args_off,
 			       0xf000 | tjit->orig_stack_args_off);
+		/* mvc STK_OFF_TCCNT(4,%r15),tccnt_off(%r15) */
+		_EMIT6(0xd203f000 | STK_OFF_TCCNT, 0xf000 | tjit->tccnt_off);
 		/* lgr %r1,%r8 */
 		EMIT4(0xb9040000, REG_1, REG_8);
 		/* %r1() */
@@ -2456,6 +2463,9 @@ static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im,
 	if (flags & (BPF_TRAMP_F_CALL_ORIG | BPF_TRAMP_F_RET_FENTRY_RET))
 		EMIT6_DISP_LH(0xe3000000, 0x0004, REG_2, REG_0, REG_15,
 			      tjit->retval_off);
+	/* mvc stack_size+STK_OFF_TCCNT(4,%r15),tccnt_off(%r15) */
+	_EMIT6(0xd203f000 | (tjit->stack_size + STK_OFF_TCCNT),
+	       0xf000 | tjit->tccnt_off);
 	/* aghi %r15,stack_size */
 	EMIT4_IMM(0xa70b0000, REG_15, tjit->stack_size);
 	/* Emit an expoline for the following indirect jump. */
arch/sh/boards/mach-ap325rxa/setup.c +1 -1
index 151792162152..645cccf3da88 100644
@@ -531,7 +531,7 @@ static int __init ap325rxa_devices_setup(void)
 	device_initialize(&ap325rxa_ceu_device.dev);
 	dma_declare_coherent_memory(&ap325rxa_ceu_device.dev,
 			ceu_dma_membase, ceu_dma_membase,
-			ceu_dma_membase + CEU_BUFFER_MEMORY_SIZE - 1);
+			CEU_BUFFER_MEMORY_SIZE);
 
 	platform_device_add(&ap325rxa_ceu_device);
 
arch/sh/boards/mach-ecovec24/setup.c +2 -4
index 674da7ebd8b7..7ec03d4a4edf 100644
@@ -1454,15 +1454,13 @@ static int __init arch_setup(void)
 	device_initialize(&ecovec_ceu_devices[0]->dev);
 	dma_declare_coherent_memory(&ecovec_ceu_devices[0]->dev,
 				    ceu0_dma_membase, ceu0_dma_membase,
-				    ceu0_dma_membase +
-				    CEU_BUFFER_MEMORY_SIZE - 1);
+				    CEU_BUFFER_MEMORY_SIZE);
 	platform_device_add(ecovec_ceu_devices[0]);
 
 	device_initialize(&ecovec_ceu_devices[1]->dev);
 	dma_declare_coherent_memory(&ecovec_ceu_devices[1]->dev,
 				    ceu1_dma_membase, ceu1_dma_membase,
-				    ceu1_dma_membase +
-				    CEU_BUFFER_MEMORY_SIZE - 1);
+				    CEU_BUFFER_MEMORY_SIZE);
 	platform_device_add(ecovec_ceu_devices[1]);
 
 	gpiod_add_lookup_table(&cn12_power_gpiod_table);
arch/sh/boards/mach-kfr2r09/setup.c +1 -1
index 20f4db778ed6..c6d556dfbbbe 100644
@@ -603,7 +603,7 @@ static int __init kfr2r09_devices_setup(void)
 	device_initialize(&kfr2r09_ceu_device.dev);
 	dma_declare_coherent_memory(&kfr2r09_ceu_device.dev,
 			ceu_dma_membase, ceu_dma_membase,
-			ceu_dma_membase + CEU_BUFFER_MEMORY_SIZE - 1);
+			CEU_BUFFER_MEMORY_SIZE);
 
 	platform_device_add(&kfr2r09_ceu_device);
 
arch/sh/boards/mach-migor/setup.c +1 -1
index f60061283c48..773ee767d0c4 100644
@@ -604,7 +604,7 @@ static int __init migor_devices_setup(void)
 	device_initialize(&migor_ceu_device.dev);
 	dma_declare_coherent_memory(&migor_ceu_device.dev,
 			ceu_dma_membase, ceu_dma_membase,
-			ceu_dma_membase + CEU_BUFFER_MEMORY_SIZE - 1);
+			CEU_BUFFER_MEMORY_SIZE);
 
 	platform_device_add(&migor_ceu_device);
 
arch/sh/boards/mach-se/7724/setup.c +2 -4
index b60a2626e18b..6495f9354065 100644
@@ -940,15 +940,13 @@ static int __init devices_setup(void)
 	device_initialize(&ms7724se_ceu_devices[0]->dev);
 	dma_declare_coherent_memory(&ms7724se_ceu_devices[0]->dev,
 				    ceu0_dma_membase, ceu0_dma_membase,
-				    ceu0_dma_membase +
-				    CEU_BUFFER_MEMORY_SIZE - 1);
+				    CEU_BUFFER_MEMORY_SIZE);
 	platform_device_add(ms7724se_ceu_devices[0]);
 
 	device_initialize(&ms7724se_ceu_devices[1]->dev);
 	dma_declare_coherent_memory(&ms7724se_ceu_devices[1]->dev,
 				    ceu1_dma_membase, ceu1_dma_membase,
-				    ceu1_dma_membase +
-				    CEU_BUFFER_MEMORY_SIZE - 1);
+				    CEU_BUFFER_MEMORY_SIZE);
 	platform_device_add(ms7724se_ceu_devices[1]);
 
 	return platform_add_devices(ms7724se_devices,
arch/sh/drivers/push-switch.c +1 -1
index c95f48ff3f6f..6ecba5f521eb 100644
@@ -101,8 +101,8 @@ static int switch_drv_remove(struct platform_device *pdev)
 		device_remove_file(&pdev->dev, &dev_attr_switch);
 
 	platform_set_drvdata(pdev, NULL);
-	flush_work(&psw->work);
 	timer_shutdown_sync(&psw->debounce);
+	flush_work(&psw->work);
 	free_irq(irq, pdev);
 
 	kfree(psw);
arch/x86/include/asm/virtext.h +0 -6
index 3b12e6b99412..6c2e3ff3cb28 100644
@@ -101,12 +101,6 @@ static inline int cpu_has_svm(const char **msg)
 		return 0;
 	}
 
-	if (boot_cpu_data.extended_cpuid_level < SVM_CPUID_FUNC) {
-		if (msg)
-			*msg = "can't execute cpuid_8000000a";
-		return 0;
-	}
-
 	if (!boot_cpu_has(X86_FEATURE_SVM)) {
 		if (msg)
 			*msg = "svm not available";
arch/x86/kvm/svm/avic.c +51 -8

129 lines not on this page · raw message

arch/x86/kvm/svm/nested.c +4 -5
index 96936ddf1b3c..c66c823ae222 100644
@@ -695,10 +695,9 @@ static void nested_vmcb02_prepare_control(struct vcpu_svm *svm,
 
 	vmcb02->control.tsc_offset = vcpu->arch.tsc_offset;
 
-	if (svm->tsc_ratio_msr != kvm_caps.default_tsc_scaling_ratio) {
-		WARN_ON(!svm->tsc_scaling_enabled);
+	if (svm->tsc_scaling_enabled &&
+	    svm->tsc_ratio_msr != kvm_caps.default_tsc_scaling_ratio)
 		nested_svm_update_tsc_ratio_msr(vcpu);
-	}
 
 	vmcb02->control.int_ctl             =
 		(svm->nested.ctl.int_ctl & int_ctl_vmcb12_bits) |
@@ -1101,8 +1100,8 @@ int nested_svm_vmexit(struct vcpu_svm *svm)
 		vmcb_mark_dirty(vmcb01, VMCB_INTERCEPTS);
 	}
 
-	if (svm->tsc_ratio_msr != kvm_caps.default_tsc_scaling_ratio) {
-		WARN_ON(!svm->tsc_scaling_enabled);
+	if (kvm_caps.has_tsc_control &&
+	    vcpu->arch.tsc_scaling_ratio != vcpu->arch.l1_tsc_scaling_ratio) {
 		vcpu->arch.tsc_scaling_ratio = vcpu->arch.l1_tsc_scaling_ratio;
 		__svm_write_tsc_multiplier(vcpu->arch.tsc_scaling_ratio);
 	}
arch/x86/kvm/svm/sev.c +10 -4
index d3aec1f2cad2..cefb67a8c668 100644
@@ -1725,7 +1725,7 @@ static void sev_migrate_from(struct kvm *dst_kvm, struct kvm *src_kvm)
 		 * Note, the source is not required to have the same number of
 		 * vCPUs as the destination when migrating a vanilla SEV VM.
 		 */
-		src_vcpu = kvm_get_vcpu(dst_kvm, i);
+		src_vcpu = kvm_get_vcpu(src_kvm, i);
 		src_svm = to_svm(src_vcpu);
 
 		/*
@@ -2881,7 +2881,10 @@ int sev_handle_vmgexit(struct kvm_vcpu *vcpu)
 					    svm->sev_es.ghcb_sa);
 		break;
 	case SVM_VMGEXIT_NMI_COMPLETE:
-		ret = svm_invoke_exit_handler(vcpu, SVM_EXIT_IRET);
+		++vcpu->stat.nmi_window_exits;
+		svm->nmi_masked = false;
+		kvm_make_request(KVM_REQ_EVENT, vcpu);
+		ret = 1;
 		break;
 	case SVM_VMGEXIT_AP_HLT_LOOP:
 		ret = kvm_emulate_ap_reset_hold(vcpu);
@@ -2952,9 +2955,12 @@ static void sev_es_init_vmcb(struct vcpu_svm *svm)
 	/*
 	 * An SEV-ES guest requires a VMSA area that is a separate from the
 	 * VMCB page. Do not include the encryption mask on the VMSA physical
-	 * address since hardware will access it using the guest key.
+	 * address since hardware will access it using the guest key.  Note,
+	 * the VMSA will be NULL if this vCPU is the destination for intrahost
+	 * migration, and will be copied later.
 	 */
-	svm->vmcb->control.vmsa_pa = __pa(svm->sev_es.vmsa);
+	if (svm->sev_es.vmsa)
+		svm->vmcb->control.vmsa_pa = __pa(svm->sev_es.vmsa);
 
 	/* Can't intercept CR register access, HV can't modify CR registers */
 	svm_clr_intercept(svm, INTERCEPT_CR0_READ);
arch/x86/kvm/svm/svm.c +32 -13

84 lines not on this page · raw message

arch/x86/kvm/vmx/vmx.c +11 -10
index df461f387e20..f2fb67a9dc05 100644
@@ -7243,13 +7243,20 @@ static noinstr void vmx_vcpu_enter_exit(struct kvm_vcpu *vcpu,
 				   flags);
 
 	vcpu->arch.cr2 = native_read_cr2();
+	vcpu->arch.regs_avail &= ~VMX_REGS_LAZY_LOAD_SET;
+
+	vmx->idt_vectoring_info = 0;
 
 	vmx_enable_fb_clear(vmx);
 
-	if (unlikely(vmx->fail))
+	if (unlikely(vmx->fail)) {
 		vmx->exit_reason.full = 0xdead;
-	else
-		vmx->exit_reason.full = vmcs_read32(VM_EXIT_REASON);
+		goto out;
+	}
+
+	vmx->exit_reason.full = vmcs_read32(VM_EXIT_REASON);
+	if (likely(!vmx->exit_reason.failed_vmentry))
+		vmx->idt_vectoring_info = vmcs_read32(IDT_VECTORING_INFO_FIELD);
 
 	if ((u16)vmx->exit_reason.basic == EXIT_REASON_EXCEPTION_NMI &&
 	    is_nmi(vmx_get_intr_info(vcpu))) {
@@ -7258,6 +7265,7 @@ static noinstr void vmx_vcpu_enter_exit(struct kvm_vcpu *vcpu,
 		kvm_after_interrupt(vcpu);
 	}
 
+out:
 	guest_state_exit_irqoff();
 }
 
@@ -7379,8 +7387,6 @@ static fastpath_t vmx_vcpu_run(struct kvm_vcpu *vcpu)
 	loadsegment(es, __USER_DS);
 #endif
 
-	vcpu->arch.regs_avail &= ~VMX_REGS_LAZY_LOAD_SET;
-
 	pt_guest_exit(vmx);
 
 	kvm_load_host_xsave_state(vcpu);
@@ -7397,17 +7403,12 @@ static fastpath_t vmx_vcpu_run(struct kvm_vcpu *vcpu)
 		vmx->nested.nested_run_pending = 0;
 	}
 
-	vmx->idt_vectoring_info = 0;
-
 	if (unlikely(vmx->fail))
 		return EXIT_FASTPATH_NONE;
 
 	if (unlikely((u16)vmx->exit_reason.basic == EXIT_REASON_MCE_DURING_VMENTRY))
 		kvm_machine_check();
 
-	if (likely(!vmx->exit_reason.failed_vmentry))
-		vmx->idt_vectoring_info = vmcs_read32(IDT_VECTORING_INFO_FIELD);
-
 	trace_kvm_exit(vcpu, KVM_ISA_VMX);
 
 	if (unlikely(vmx->exit_reason.failed_vmentry))
block/blk-throttle.c +50 -49

128 lines not on this page · raw message

drivers/accel/ivpu/ivpu_jsm_msg.c +1 -2
index 831bfd2b2d39..bdddef2c59ee 100644
@@ -118,8 +118,7 @@ int ivpu_jsm_dyndbg_control(struct ivpu_device *vdev, char *command, size_t size
 	struct vpu_jsm_msg resp;
 	int ret;
 
-	if (!strncpy(req.payload.dyndbg_control.dyndbg_cmd, command, VPU_DYNDBG_CMD_MAX_LEN - 1))
-		return -ENOMEM;
+	strscpy(req.payload.dyndbg_control.dyndbg_cmd, command, VPU_DYNDBG_CMD_MAX_LEN);
 
 	ret = ivpu_ipc_send_receive(vdev, &req, VPU_JSM_MSG_DYNDBG_CONTROL_RSP, &resp,
 				    VPU_IPC_CHAN_ASYNC_CMD, vdev->timeout.jsm);
drivers/ata/ahci.c +2 -0
index addba109406b..c1e85e0ed43e 100644
@@ -421,6 +421,8 @@ static const struct pci_device_id ahci_pci_tbl[] = {
 	{ PCI_VDEVICE(INTEL, 0x34d3), board_ahci_low_power }, /* Ice Lake LP AHCI */
 	{ PCI_VDEVICE(INTEL, 0x02d3), board_ahci_low_power }, /* Comet Lake PCH-U AHCI */
 	{ PCI_VDEVICE(INTEL, 0x02d7), board_ahci_low_power }, /* Comet Lake PCH RAID */
+	/* Elkhart Lake IDs 0x4b60 & 0x4b62 https://sata-io.org/product/8803 not tested yet */
+	{ PCI_VDEVICE(INTEL, 0x4b63), board_ahci_low_power }, /* Elkhart Lake AHCI */
 
 	/* JMicron 360/1/3/5/6, match class to avoid IDE function */
 	{ PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
drivers/ata/pata_falcon.c +29 -21

63 lines not on this page · raw message

drivers/ata/pata_ftide010.c +1 -0
index 6f6734c09b11..3ab8dca266cc 100644
@@ -567,6 +567,7 @@ static struct platform_driver pata_ftide010_driver = {
 };
 module_platform_driver(pata_ftide010_driver);
 
+MODULE_DESCRIPTION("low level driver for Faraday Technology FTIDE010");
 MODULE_AUTHOR("Linus Walleij <[email protected]>");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS("platform:" DRV_NAME);
drivers/ata/sata_gemini.c +1 -0
index c42cc9bbbc4e..b52e4157443e 100644
@@ -428,6 +428,7 @@ static struct platform_driver gemini_sata_driver = {
 };
 module_platform_driver(gemini_sata_driver);
 
+MODULE_DESCRIPTION("low level driver for Cortina Systems Gemini SATA bridge");
 MODULE_AUTHOR("Linus Walleij <[email protected]>");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS("platform:" DRV_NAME);
drivers/block/null_blk/main.c +10 -2
index 864013019d6b..968090935eb2 100644
@@ -1643,9 +1643,12 @@ static int null_poll(struct blk_mq_hw_ctx *hctx, struct io_comp_batch *iob)
 	struct nullb_queue *nq = hctx->driver_data;
 	LIST_HEAD(list);
 	int nr = 0;
+	struct request *rq;
 
 	spin_lock(&nq->poll_lock);
 	list_splice_init(&nq->poll_list, &list);
+	list_for_each_entry(rq, &list, queuelist)
+		blk_mq_set_request_complete(rq);
 	spin_unlock(&nq->poll_lock);
 
 	while (!list_empty(&list)) {
@@ -1671,16 +1674,21 @@ static enum blk_eh_timer_return null_timeout_rq(struct request *rq)
 	struct blk_mq_hw_ctx *hctx = rq->mq_hctx;
 	struct nullb_cmd *cmd = blk_mq_rq_to_pdu(rq);
 
-	pr_info("rq %p timed out\n", rq);
-
 	if (hctx->type == HCTX_TYPE_POLL) {
 		struct nullb_queue *nq = hctx->driver_data;
 
 		spin_lock(&nq->poll_lock);
+		/* The request may have completed meanwhile. */
+		if (blk_mq_request_completed(rq)) {
+			spin_unlock(&nq->poll_lock);
+			return BLK_EH_DONE;
+		}
 		list_del_init(&rq->queuelist);
 		spin_unlock(&nq->poll_lock);
 	}
 
+	pr_info("rq %p timed out\n", rq);
+
 	/*
 	 * If the device is marked as blocking (i.e. memory backed or zoned
 	 * device), the submission path may be blocked waiting for resources
drivers/bus/mhi/host/pm.c +5 -0
index 083459028a4b..8a4362d75fc4 100644
@@ -470,6 +470,10 @@ static void mhi_pm_disable_transition(struct mhi_controller *mhi_cntrl)
 
 	/* Trigger MHI RESET so that the device will not access host memory */
 	if (!MHI_PM_IN_FATAL_STATE(mhi_cntrl->pm_state)) {
+		/* Skip MHI RESET if in RDDM state */
+		if (mhi_cntrl->rddm_image && mhi_get_exec_env(mhi_cntrl) == MHI_EE_RDDM)
+			goto skip_mhi_reset;
+
 		dev_dbg(dev, "Triggering MHI Reset in device\n");
 		mhi_set_mhi_state(mhi_cntrl, MHI_STATE_RESET);
 
@@ -495,6 +499,7 @@ static void mhi_pm_disable_transition(struct mhi_controller *mhi_cntrl)
 		}
 	}
 
+skip_mhi_reset:
 	dev_dbg(dev,
 		 "Waiting for all pending event ring processing to complete\n");
 	mhi_event = mhi_cntrl->mhi_event;
drivers/char/tpm/tpm_crb.c +3 -2
index a5dbebb1acfc..ea085b14ab7c 100644
@@ -775,12 +775,13 @@ static int crb_acpi_add(struct acpi_device *device)
 				FW_BUG "TPM2 ACPI table has wrong size %u for start method type %d\n",
 				buf->header.length,
 				ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON);
-			return -EINVAL;
+			rc = -EINVAL;
+			goto out;
 		}
 		crb_pluton = ACPI_ADD_PTR(struct tpm2_crb_pluton, buf, sizeof(*buf));
 		rc = crb_map_pluton(dev, priv, buf, crb_pluton);
 		if (rc)
-			return rc;
+			goto out;
 	}
 
 	priv->sm = sm;
drivers/clk/imx/clk-pll14xx.c +5 -8
index 7150c59bbfc9..0d58d85c375e 100644
@@ -64,8 +64,6 @@ static const struct imx_pll14xx_rate_table imx_pll1443x_tbl[] = {
 	PLL_1443X_RATE(650000000U, 325, 3, 2, 0),
 	PLL_1443X_RATE(594000000U, 198, 2, 2, 0),
 	PLL_1443X_RATE(519750000U, 173, 2, 2, 16384),
-	PLL_1443X_RATE(393216000U, 262, 2, 3, 9437),
-	PLL_1443X_RATE(361267200U, 361, 3, 3, 17511),
 };
 
 struct imx_pll14xx_clk imx_1443x_pll = {
@@ -139,11 +137,10 @@ static void imx_pll14xx_calc_settings(struct clk_pll14xx *pll, unsigned long rat
 	/*
 	 * Fractional PLL constrains:
 	 *
-	 * a) 6MHz <= prate <= 25MHz
-	 * b) 1 <= p <= 63 (1 <= p <= 4 prate = 24MHz)
-	 * c) 64 <= m <= 1023
-	 * d) 0 <= s <= 6
-	 * e) -32768 <= k <= 32767
+	 * a) 1 <= p <= 63
+	 * b) 64 <= m <= 1023
+	 * c) 0 <= s <= 6
+	 * d) -32768 <= k <= 32767
 	 *
 	 * fvco = (m * 65536 + k) * prate / (p * 65536)
 	 */
@@ -186,7 +183,7 @@ static void imx_pll14xx_calc_settings(struct clk_pll14xx *pll, unsigned long rat
 	}
 
 	/* Finally calculate best values */
-	for (pdiv = 1; pdiv <= 7; pdiv++) {
+	for (pdiv = 1; pdiv <= 63; pdiv++) {
 		for (sdiv = 0; sdiv <= 6; sdiv++) {
 			/* calc mdiv = round(rate * pdiv * 2^sdiv) / prate) */
 			mdiv = DIV_ROUND_CLOSEST(rate * (pdiv << sdiv), prate);
drivers/clk/qcom/camcc-sc7180.c +1 -1
index 8a4ba7a19ed1..6f56bdbf0204 100644
@@ -1664,7 +1664,7 @@ static int cam_cc_sc7180_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	ret = pm_runtime_get(&pdev->dev);
+	ret = pm_runtime_resume_and_get(&pdev->dev);
 	if (ret)
 		return ret;
 
drivers/clk/qcom/dispcc-sm8450.c +11 -2
index adbfd30bfc96..84db4ff5485a 100644
@@ -1776,8 +1776,10 @@ static int disp_cc_sm8450_probe(struct platform_device *pdev)
 		return ret;
 
 	regmap = qcom_cc_map(pdev, &disp_cc_sm8450_desc);
-	if (IS_ERR(regmap))
-		return PTR_ERR(regmap);
+	if (IS_ERR(regmap)) {
+		ret = PTR_ERR(regmap);
+		goto err_put_rpm;
+	}
 
 	clk_lucid_evo_pll_configure(&disp_cc_pll0, regmap, &disp_cc_pll0_config);
 	clk_lucid_evo_pll_configure(&disp_cc_pll1, regmap, &disp_cc_pll1_config);
@@ -1792,9 +1794,16 @@ static int disp_cc_sm8450_probe(struct platform_device *pdev)
 	regmap_update_bits(regmap, 0xe05c, BIT(0), BIT(0));
 
 	ret = qcom_cc_really_probe(pdev, &disp_cc_sm8450_desc, regmap);
+	if (ret)
+		goto err_put_rpm;
 
 	pm_runtime_put(&pdev->dev);
 
+	return 0;
+
+err_put_rpm:
+	pm_runtime_put_sync(&pdev->dev);
+
 	return ret;
 }
 
drivers/clk/qcom/dispcc-sm8550.c +11 -2
index 1e5a11081860..b2fae9001ff2 100644
@@ -1761,8 +1761,10 @@ static int disp_cc_sm8550_probe(struct platform_device *pdev)
 		return ret;
 
 	regmap = qcom_cc_map(pdev, &disp_cc_sm8550_desc);
-	if (IS_ERR(regmap))
-		return PTR_ERR(regmap);
+	if (IS_ERR(regmap)) {
+		ret = PTR_ERR(regmap);
+		goto err_put_rpm;
+	}
 
 	clk_lucid_evo_pll_configure(&disp_cc_pll0, regmap, &disp_cc_pll0_config);
 	clk_lucid_evo_pll_configure(&disp_cc_pll1, regmap, &disp_cc_pll1_config);
@@ -1777,9 +1779,16 @@ static int disp_cc_sm8550_probe(struct platform_device *pdev)
 	regmap_update_bits(regmap, 0xe054, BIT(0), BIT(0));
 
 	ret = qcom_cc_really_probe(pdev, &disp_cc_sm8550_desc, regmap);
+	if (ret)
+		goto err_put_rpm;
 
 	pm_runtime_put(&pdev->dev);
 
+	return 0;
+
+err_put_rpm:
+	pm_runtime_put_sync(&pdev->dev);
+
 	return ret;
 }
 
drivers/clk/qcom/gcc-mdm9615.c +1 -1
index 8bed02a748ab..470a277603a9 100644
@@ -58,7 +58,7 @@ static struct clk_regmap pll0_vote = {
 	.enable_mask = BIT(0),
 	.hw.init = &(struct clk_init_data){
 		.name = "pll0_vote",
-		.parent_names = (const char *[]){ "pll8" },
+		.parent_names = (const char *[]){ "pll0" },
 		.num_parents = 1,
 		.ops = &clk_pll_vote_ops,
 	},
drivers/clk/qcom/lpasscc-sc7280.c +12 -4
index 0df2b29e95e3..e6b815aec46a 100644
@@ -118,9 +118,13 @@ static int lpass_cc_sc7280_probe(struct platform_device *pdev)
 	ret = pm_clk_add(&pdev->dev, "iface");
 	if (ret < 0) {
 		dev_err(&pdev->dev, "failed to acquire iface clock\n");
-		goto destroy_pm_clk;
+		goto err_destroy_pm_clk;
 	}
 
+	ret = pm_runtime_resume_and_get(&pdev->dev);
+	if (ret)
+		goto err_destroy_pm_clk;
+
 	if (!of_property_read_bool(pdev->dev.of_node, "qcom,adsp-pil-mode")) {
 		lpass_regmap_config.name = "qdsp6ss";
 		lpass_regmap_config.max_register = 0x3f;
@@ -128,7 +132,7 @@ static int lpass_cc_sc7280_probe(struct platform_device *pdev)
 
 		ret = qcom_cc_probe_by_index(pdev, 0, desc);
 		if (ret)
-			goto destroy_pm_clk;
+			goto err_put_rpm;
 	}
 
 	lpass_regmap_config.name = "top_cc";
@@ -137,11 +141,15 @@ static int lpass_cc_sc7280_probe(struct platform_device *pdev)
 
 	ret = qcom_cc_probe_by_index(pdev, 1, desc);
 	if (ret)
-		goto destroy_pm_clk;
+		goto err_put_rpm;
+
+	pm_runtime_put(&pdev->dev);
 
 	return 0;
 
-destroy_pm_clk:
+err_put_rpm:
+	pm_runtime_put_sync(&pdev->dev);
+err_destroy_pm_clk:
 	pm_clk_destroy(&pdev->dev);
 
 	return ret;
drivers/clk/qcom/mss-sc7180.c +12 -1
index 5a1407440662..d106bc65470e 100644
@@ -87,11 +87,22 @@ static int mss_sc7180_probe(struct platform_device *pdev)
 		return ret;
 	}
 
+	ret = pm_runtime_resume_and_get(&pdev->dev);
+	if (ret)
+		return ret;
+
 	ret = qcom_cc_probe(pdev, &mss_sc7180_desc);
 	if (ret < 0)
-		return ret;
+		goto err_put_rpm;
+
+	pm_runtime_put(&pdev->dev);
 
 	return 0;
+
+err_put_rpm:
+	pm_runtime_put_sync(&pdev->dev);
+
+	return ret;
 }
 
 static const struct dev_pm_ops mss_sc7180_pm_ops = {
drivers/clk/qcom/q6sstop-qcs404.c +13 -2
index 780074e05841..26e2d63614ac 100644
@@ -174,21 +174,32 @@ static int q6sstopcc_qcs404_probe(struct platform_device *pdev)
 		return ret;
 	}
 
+	ret = pm_runtime_resume_and_get(&pdev->dev);
+	if (ret)
+		return ret;
+
 	q6sstop_regmap_config.name = "q6sstop_tcsr";
 	desc = &tcsr_qcs404_desc;
 
 	ret = qcom_cc_probe_by_index(pdev, 1, desc);
 	if (ret)
-		return ret;
+		goto err_put_rpm;
 
 	q6sstop_regmap_config.name = "q6sstop_cc";
 	desc = &q6sstop_qcs404_desc;
 
 	ret = qcom_cc_probe_by_index(pdev, 0, desc);
 	if (ret)
-		return ret;
+		goto err_put_rpm;
+
+	pm_runtime_put(&pdev->dev);
 
 	return 0;
+
+err_put_rpm:
+	pm_runtime_put_sync(&pdev->dev);
+
+	return ret;
 }
 
 static const struct dev_pm_ops q6sstopcc_pm_ops = {
drivers/clk/qcom/turingcc-qcs404.c +12 -1
index 43184459228f..2cd288d6c3e4 100644
@@ -125,11 +125,22 @@ static int turingcc_probe(struct platform_device *pdev)
 		return ret;
 	}
 
+	ret = pm_runtime_resume_and_get(&pdev->dev);
+	if (ret)
+		return ret;
+
 	ret = qcom_cc_probe(pdev, &turingcc_desc);
 	if (ret < 0)
-		return ret;
+		goto err_put_rpm;
+
+	pm_runtime_put(&pdev->dev);
 
 	return 0;
+
+err_put_rpm:
+	pm_runtime_put_sync(&pdev->dev);
+
+	return ret;
 }
 
 static const struct dev_pm_ops turingcc_pm_ops = {
drivers/clocksource/arm_arch_timer.c +7 -0
index e733a2a1927a..7dd2c615bce2 100644
@@ -792,6 +792,13 @@ static __always_inline void set_next_event_mem(const int access, unsigned long e
 	u64 cnt;
 
 	ctrl = arch_timer_reg_read(access, ARCH_TIMER_REG_CTRL, clk);
+
+	/* Timer must be disabled before programming CVAL */
+	if (ctrl & ARCH_TIMER_CTRL_ENABLE) {
+		ctrl &= ~ARCH_TIMER_CTRL_ENABLE;
+		arch_timer_reg_write(access, ARCH_TIMER_REG_CTRL, ctrl, clk);
+	}
+
 	ctrl |= ARCH_TIMER_CTRL_ENABLE;
 	ctrl &= ~ARCH_TIMER_CTRL_IT_MASK;
 
drivers/dma/sh/rz-dmac.c +7 -4
index 9479f29692d3..a5af6a666604 100644
@@ -9,6 +9,7 @@
  * Copyright 2012 Javier Martin, Vista Silicon <[email protected]>
  */
 
+#include <linux/bitfield.h>
 #include <linux/dma-mapping.h>
 #include <linux/dmaengine.h>
 #include <linux/interrupt.h>
@@ -145,8 +146,8 @@ struct rz_dmac {
 #define CHCFG_REQD			BIT(3)
 #define CHCFG_SEL(bits)			((bits) & 0x07)
 #define CHCFG_MEM_COPY			(0x80400008)
-#define CHCFG_FILL_DDS(a)		(((a) << 16) & GENMASK(19, 16))
-#define CHCFG_FILL_SDS(a)		(((a) << 12) & GENMASK(15, 12))
+#define CHCFG_FILL_DDS_MASK		GENMASK(19, 16)
+#define CHCFG_FILL_SDS_MASK		GENMASK(15, 12)
 #define CHCFG_FILL_TM(a)		(((a) & BIT(5)) << 22)
 #define CHCFG_FILL_AM(a)		(((a) & GENMASK(4, 2)) << 6)
 #define CHCFG_FILL_LVL(a)		(((a) & BIT(1)) << 5)
@@ -607,13 +608,15 @@ static int rz_dmac_config(struct dma_chan *chan,
 	if (val == CHCFG_DS_INVALID)
 		return -EINVAL;
 
-	channel->chcfg |= CHCFG_FILL_DDS(val);
+	channel->chcfg &= ~CHCFG_FILL_DDS_MASK;
+	channel->chcfg |= FIELD_PREP(CHCFG_FILL_DDS_MASK, val);
 
 	val = rz_dmac_ds_to_val_mapping(config->src_addr_width);
 	if (val == CHCFG_DS_INVALID)
 		return -EINVAL;
 
-	channel->chcfg |= CHCFG_FILL_SDS(val);
+	channel->chcfg &= ~CHCFG_FILL_SDS_MASK;
+	channel->chcfg |= FIELD_PREP(CHCFG_FILL_SDS_MASK, val);
 
 	return 0;
 }
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +25 -1
index b702f499f5fb..923cbebcf520 100644
@@ -38,6 +38,8 @@
 #include <linux/pci.h>
 #include <linux/pm_runtime.h>
 #include <drm/drm_crtc_helper.h>
+#include <drm/drm_damage_helper.h>
+#include <drm/drm_drv.h>
 #include <drm/drm_edid.h>
 #include <drm/drm_fb_helper.h>
 #include <drm/drm_gem_framebuffer_helper.h>
@@ -529,11 +531,29 @@ bool amdgpu_display_ddc_probe(struct amdgpu_connector *amdgpu_connector,
 	return true;
 }
 
+static int amdgpu_dirtyfb(struct drm_framebuffer *fb, struct drm_file *file,
+			  unsigned int flags, unsigned int color,
+			  struct drm_clip_rect *clips, unsigned int num_clips)
+{
+
+	if (file)
+		return -ENOSYS;
+
+	return drm_atomic_helper_dirtyfb(fb, file, flags, color, clips,
+					 num_clips);
+}
+
 static const struct drm_framebuffer_funcs amdgpu_fb_funcs = {
 	.destroy = drm_gem_fb_destroy,
 	.create_handle = drm_gem_fb_create_handle,
 };
 
+static const struct drm_framebuffer_funcs amdgpu_fb_funcs_atomic = {
+	.destroy = drm_gem_fb_destroy,
+	.create_handle = drm_gem_fb_create_handle,
+	.dirty = amdgpu_dirtyfb
+};
+
 uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev,
 					  uint64_t bo_flags)
 {
@@ -1136,7 +1156,11 @@ static int amdgpu_display_gem_fb_verify_and_init(struct drm_device *dev,
 	if (ret)
 		goto err;
 
-	ret = drm_framebuffer_init(dev, &rfb->base, &amdgpu_fb_funcs);
+	if (drm_drv_uses_atomic_modeset(dev))
+		ret = drm_framebuffer_init(dev, &rfb->base,
+					   &amdgpu_fb_funcs_atomic);
+	else
+		ret = drm_framebuffer_init(dev, &rfb->base, &amdgpu_fb_funcs);
 
 	if (ret)
 		goto err;
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c +3 -0
index 31fec5e70d13..23b30783dce3 100644
@@ -437,6 +437,7 @@ struct mqd_manager *mqd_manager_init_v11(enum KFD_MQD_TYPE type,
 		mqd->is_occupied = kfd_is_occupied_cp;
 		mqd->mqd_size = sizeof(struct v11_compute_mqd);
 		mqd->get_wave_state = get_wave_state;
+		mqd->mqd_stride = kfd_mqd_stride;
 #if defined(CONFIG_DEBUG_FS)
 		mqd->debugfs_show_mqd = debugfs_show_mqd;
 #endif
@@ -452,6 +453,7 @@ struct mqd_manager *mqd_manager_init_v11(enum KFD_MQD_TYPE type,
 		mqd->destroy_mqd = kfd_destroy_mqd_cp;
 		mqd->is_occupied = kfd_is_occupied_cp;
 		mqd->mqd_size = sizeof(struct v11_compute_mqd);
+		mqd->mqd_stride = kfd_mqd_stride;
 #if defined(CONFIG_DEBUG_FS)
 		mqd->debugfs_show_mqd = debugfs_show_mqd;
 #endif
@@ -481,6 +483,7 @@ struct mqd_manager *mqd_manager_init_v11(enum KFD_MQD_TYPE type,
 		mqd->destroy_mqd = kfd_destroy_mqd_sdma;
 		mqd->is_occupied = kfd_is_occupied_sdma;
 		mqd->mqd_size = sizeof(struct v11_sdma_mqd);
+		mqd->mqd_stride = kfd_mqd_stride;
 #if defined(CONFIG_DEBUG_FS)
 		mqd->debugfs_show_mqd = debugfs_show_mqd_sdma;
 #endif
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -2
index 3a7e7d2ce847..3123ea2f4f30 100644
@@ -5990,7 +5990,7 @@ create_stream_for_sink(struct amdgpu_dm_connector *aconnector,
 
 	if (recalculate_timing)
 		drm_mode_set_crtcinfo(&saved_mode, 0);
-	else
+	else if (!old_stream)
 		drm_mode_set_crtcinfo(&mode, 0);
 
 	/*
@@ -7295,7 +7295,7 @@ void amdgpu_dm_connector_init_helper(struct amdgpu_display_manager *dm,
 	if (connector_type == DRM_MODE_CONNECTOR_HDMIA) {
 		if (!drm_mode_create_hdmi_colorspace_property(&aconnector->base, supported_colorspaces))
 			drm_connector_attach_colorspace_property(&aconnector->base);
-	} else if (connector_type == DRM_MODE_CONNECTOR_DisplayPort ||
+	} else if ((connector_type == DRM_MODE_CONNECTOR_DisplayPort && !aconnector->mst_root) ||
 		   connector_type == DRM_MODE_CONNECTOR_eDP) {
 		if (!drm_mode_create_dp_colorspace_property(&aconnector->base, supported_colorspaces))
 			drm_connector_attach_colorspace_property(&aconnector->base);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c +7 -0
index 322668973747..6c84ca2ae373 100644
@@ -1260,6 +1260,13 @@ void amdgpu_dm_plane_handle_cursor_update(struct drm_plane *plane,
 	attributes.rotation_angle    = 0;
 	attributes.attribute_flags.value = 0;
 
+	/* Enable cursor degamma ROM on DCN3+ for implicit sRGB degamma in DRM
+	 * legacy gamma setup.
+	 */
+	if (crtc_state->cm_is_degamma_srgb &&
+	    adev->dm.dc->caps.color.dpp.gamma_corr)
+		attributes.attribute_flags.bits.ENABLE_CURSOR_DEGAMMA = 1;
+
 	attributes.pitch = afb->base.pitches[0] / afb->base.format->cpp[0];
 
 	if (crtc_state->stream) {
drivers/gpu/drm/amd/display/dc/Makefile +1 -0
index 69ffd4424dc7..1b8c2aef4633 100644
@@ -78,3 +78,4 @@ DC_EDID += dc_edid_parser.o
 AMD_DISPLAY_DMUB = $(addprefix $(AMDDALPATH)/dc/,$(DC_DMUB))
 AMD_DISPLAY_EDID = $(addprefix $(AMDDALPATH)/dc/,$(DC_EDID))
 AMD_DISPLAY_FILES += $(AMD_DISPLAY_DMUB) $(AMD_DISPLAY_EDID)
+
drivers/gpu/drm/amd/display/dc/core/dc.c +46 -22

88 lines not on this page · raw message

drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c +3 -2
index 8e9384094f6d..f2f55565e98a 100644
@@ -212,8 +212,9 @@ struct mpcc *mpc1_insert_plane(
 		/* check insert_above_mpcc exist in tree->opp_list */
 		struct mpcc *temp_mpcc = tree->opp_list;
 
-		while (temp_mpcc && temp_mpcc->mpcc_bot != insert_above_mpcc)
-			temp_mpcc = temp_mpcc->mpcc_bot;
+		if (temp_mpcc != insert_above_mpcc)
+			while (temp_mpcc && temp_mpcc->mpcc_bot != insert_above_mpcc)
+				temp_mpcc = temp_mpcc->mpcc_bot;
 		if (temp_mpcc == NULL)
 			return NULL;
 	}
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c +0 -11
index 5cfa37804d7c..7c344132a007 100644
@@ -1580,17 +1580,6 @@ static void dcn20_update_dchubp_dpp(
 			|| plane_state->update_flags.bits.global_alpha_change
 			|| plane_state->update_flags.bits.per_pixel_alpha_change) {
 		// MPCC inst is equal to pipe index in practice
-		int mpcc_inst = hubp->inst;
-		int opp_inst;
-		int opp_count = dc->res_pool->pipe_count;
-
-		for (opp_inst = 0; opp_inst < opp_count; opp_inst++) {
-			if (dc->res_pool->opps[opp_inst]->mpcc_disconnect_pending[mpcc_inst]) {
-				dc->res_pool->mpc->funcs->wait_for_idle(dc->res_pool->mpc, mpcc_inst);
-				dc->res_pool->opps[opp_inst]->mpcc_disconnect_pending[mpcc_inst] = false;
-				break;
-			}
-		}
 		hws->funcs.update_mpcc(dc, pipe_ctx);
 	}
 
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c +5 -20
index 8ae5ddbd1b27..e6b9c2469a56 100644
@@ -1099,6 +1099,11 @@ void dcn20_calculate_dlg_params(struct dc *dc,
 		context->res_ctx.pipe_ctx[i].plane_res.bw.dppclk_khz =
 						pipes[pipe_idx].clks_cfg.dppclk_mhz * 1000;
 		context->res_ctx.pipe_ctx[i].pipe_dlg_param = pipes[pipe_idx].pipe.dest;
+		if (dc->ctx->dce_version < DCN_VERSION_3_1 &&
+		    context->res_ctx.pipe_ctx[i].stream->adaptive_sync_infopacket.valid)
+			dcn20_adjust_freesync_v_startup(
+				&context->res_ctx.pipe_ctx[i].stream->timing,
+				&context->res_ctx.pipe_ctx[i].pipe_dlg_param.vstartup_start);
 
 		pipe_idx++;
 	}
@@ -1927,7 +1932,6 @@ static bool dcn20_validate_bandwidth_internal(struct dc *dc, struct dc_state *co
 	int vlevel = 0;
 	int pipe_split_from[MAX_PIPES];
 	int pipe_cnt = 0;
-	int i = 0;
 	display_e2e_pipe_params_st *pipes = kzalloc(dc->res_pool->pipe_count * sizeof(display_e2e_pipe_params_st), GFP_ATOMIC);
 	DC_LOGGER_INIT(dc->ctx->logger);
 
@@ -1951,15 +1955,6 @@ static bool dcn20_validate_bandwidth_internal(struct dc *dc, struct dc_state *co
 	dcn20_calculate_wm(dc, context, pipes, &pipe_cnt, pipe_split_from, vlevel, fast_validate);
 	dcn20_calculate_dlg_params(dc, context, pipes, pipe_cnt, vlevel);
 
-	for (i = 0; i < dc->res_pool->pipe_count; i++) {
-		if (!context->res_ctx.pipe_ctx[i].stream)
-			continue;
-		if (context->res_ctx.pipe_ctx[i].stream->adaptive_sync_infopacket.valid)
-			dcn20_adjust_freesync_v_startup(
-				&context->res_ctx.pipe_ctx[i].stream->timing,
-				&context->res_ctx.pipe_ctx[i].pipe_dlg_param.vstartup_start);
-	}
-
 	BW_VAL_TRACE_END_WATERMARKS();
 
 	goto validate_out;
@@ -2232,7 +2227,6 @@ bool dcn21_validate_bandwidth_fp(struct dc *dc,
 	int vlevel = 0;
 	int pipe_split_from[MAX_PIPES];
 	int pipe_cnt = 0;
-	int i = 0;
 	display_e2e_pipe_params_st *pipes = kzalloc(dc->res_pool->pipe_count * sizeof(display_e2e_pipe_params_st), GFP_ATOMIC);
 	DC_LOGGER_INIT(dc->ctx->logger);
 
@@ -2261,15 +2255,6 @@ bool dcn21_validate_bandwidth_fp(struct dc *dc,
 	dcn21_calculate_wm(dc, context, pipes, &pipe_cnt, pipe_split_from, vlevel, fast_validate);
 	dcn20_calculate_dlg_params(dc, context, pipes, pipe_cnt, vlevel);
 
-	for (i = 0; i < dc->res_pool->pipe_count; i++) {
-		if (!context->res_ctx.pipe_ctx[i].stream)
-			continue;
-		if (context->res_ctx.pipe_ctx[i].stream->adaptive_sync_infopacket.valid)
-			dcn20_adjust_freesync_v_startup(
-				&context->res_ctx.pipe_ctx[i].stream->timing,
-				&context->res_ctx.pipe_ctx[i].pipe_dlg_param.vstartup_start);
-	}
-
 	BW_VAL_TRACE_END_WATERMARKS();
 
 	goto validate_out;
drivers/gpu/drm/amd/display/modules/freesync/freesync.c +6 -3
index dbd60811f95d..ef3a67409021 100644
@@ -338,7 +338,9 @@ static void apply_below_the_range(struct core_freesync *core_freesync,
 		 *  - Delta for CEIL: delta_from_mid_point_in_us_1
 		 *  - Delta for FLOOR: delta_from_mid_point_in_us_2
 		 */
-		if ((last_render_time_in_us / mid_point_frames_ceil) < in_out_vrr->min_duration_in_us) {
+		if (mid_point_frames_ceil &&
+		    (last_render_time_in_us / mid_point_frames_ceil) <
+		    in_out_vrr->min_duration_in_us) {
 			/* Check for out of range.
 			 * If using CEIL produces a value that is out of range,
 			 * then we are forced to use FLOOR.
@@ -385,8 +387,9 @@ static void apply_below_the_range(struct core_freesync *core_freesync,
 		/* Either we've calculated the number of frames to insert,
 		 * or we need to insert min duration frames
 		 */
-		if (last_render_time_in_us / frames_to_insert <
-				in_out_vrr->min_duration_in_us){
+		if (frames_to_insert &&
+		    (last_render_time_in_us / frames_to_insert) <
+		    in_out_vrr->min_duration_in_us){
 			frames_to_insert -= (frames_to_insert > 1) ?
 					1 : 0;
 		}
drivers/gpu/drm/ast/ast_post.c +1 -1
index a005aec18a02..0262aaafdb1c 100644
@@ -291,7 +291,7 @@ static void ast_init_dram_reg(struct drm_device *dev)
 				;
 			} while (ast_read32(ast, 0x10100) != 0xa8);
 		} else {/* AST2100/1100 */
-			if (ast->chip == AST2100 || ast->chip == 2200)
+			if (ast->chip == AST2100 || ast->chip == AST2200)
 				dram_reg_info = ast2100_dram_table_data;
 			else
 				dram_reg_info = ast1100_dram_table_data;
drivers/gpu/drm/i915/gt/intel_engine_types.h +1 -0
index e99a6fa03d45..a7e677598004 100644
@@ -58,6 +58,7 @@ struct i915_perf_group;
 
 typedef u32 intel_engine_mask_t;
 #define ALL_ENGINES ((intel_engine_mask_t)~0ul)
+#define VIRTUAL_ENGINES BIT(BITS_PER_TYPE(intel_engine_mask_t) - 1)
 
 struct intel_hw_status_page {
 	struct list_head timelines;
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +3 -0
index a0e3ef1c65d2..b5b7f2fe8c78 100644
@@ -5470,6 +5470,9 @@ guc_create_virtual(struct intel_engine_cs **siblings, unsigned int count,
 
 	ve->base.flags = I915_ENGINE_IS_VIRTUAL;
 
+	BUILD_BUG_ON(ilog2(VIRTUAL_ENGINES) < I915_NUM_ENGINES);
+	ve->base.mask = VIRTUAL_ENGINES;
+
 	intel_context_init(&ve->context, &ve->base);
 
 	for (n = 0; n < count; n++) {
drivers/gpu/drm/i915/gvt/gtt.c +8 -19
index 4ec85308379a..ef5517ecd9a0 100644
@@ -1174,6 +1174,7 @@ static int is_2MB_gtt_possible(struct intel_vgpu *vgpu,
 {
 	const struct intel_gvt_gtt_pte_ops *ops = vgpu->gvt->gtt.pte_ops;
 	kvm_pfn_t pfn;
+	int ret;
 
 	if (!HAS_PAGE_SIZES(vgpu->gvt->gt->i915, I915_GTT_PAGE_SIZE_2M))
 		return 0;
@@ -1183,7 +1184,13 @@ static int is_2MB_gtt_possible(struct intel_vgpu *vgpu,
 	pfn = gfn_to_pfn(vgpu->vfio_device.kvm, ops->get_pfn(entry));
 	if (is_error_noslot_pfn(pfn))
 		return -EINVAL;
-	return PageTransHuge(pfn_to_page(pfn));
+
+	if (!pfn_valid(pfn))
+		return -EINVAL;
+
+	ret = PageTransHuge(pfn_to_page(pfn));
+	kvm_release_pfn_clean(pfn);
+	return ret;
 }
 
 static int split_2MB_gtt_entry(struct intel_vgpu *vgpu,
@@ -2875,24 +2882,6 @@ void intel_vgpu_reset_ggtt(struct intel_vgpu *vgpu, bool invalidate_old)
 	ggtt_invalidate(gvt->gt);
 }
 
-/**
- * intel_vgpu_reset_gtt - reset the all GTT related status
- * @vgpu: a vGPU
- *
- * This function is called from vfio core to reset reset all
- * GTT related status, including GGTT, PPGTT, scratch page.
- *
- */
-void intel_vgpu_reset_gtt(struct intel_vgpu *vgpu)
-{
-	/* Shadow pages are only created when there is no page
-	 * table tracking data, so remove page tracking data after
-	 * removing the shadow pages.
-	 */
-	intel_vgpu_destroy_all_ppgtt_mm(vgpu);
-	intel_vgpu_reset_ggtt(vgpu, true);
-}
-
 /**
  * intel_gvt_restore_ggtt - restore all vGPU's ggtt entries
  * @gvt: intel gvt device
drivers/gpu/drm/i915/gvt/gtt.h +0 -1
index a3b0f59ec8bd..4cb183e06e95 100644
@@ -224,7 +224,6 @@ void intel_vgpu_reset_ggtt(struct intel_vgpu *vgpu, bool invalidate_old);
 void intel_vgpu_invalidate_ppgtt(struct intel_vgpu *vgpu);
 
 int intel_gvt_init_gtt(struct intel_gvt *gvt);
-void intel_vgpu_reset_gtt(struct intel_vgpu *vgpu);
 void intel_gvt_clean_gtt(struct intel_gvt *gvt);
 
 struct intel_vgpu_mm *intel_gvt_find_ppgtt_mm(struct intel_vgpu *vgpu,
drivers/gpu/drm/i915/i915_request.c +2 -5
index 833b73edefdb..eb2a3000ad66 100644
@@ -134,9 +134,7 @@ static void i915_fence_release(struct dma_fence *fence)
 	i915_sw_fence_fini(&rq->semaphore);
 
 	/*
-	 * Keep one request on each engine for reserved use under mempressure
-	 * do not use with virtual engines as this really is only needed for
-	 * kernel contexts.
+	 * Keep one request on each engine for reserved use under mempressure.
 	 *
 	 * We do not hold a reference to the engine here and so have to be
 	 * very careful in what rq->engine we poke. The virtual engine is
@@ -166,8 +164,7 @@ static void i915_fence_release(struct dma_fence *fence)
 	 * know that if the rq->execution_mask is a single bit, rq->engine
 	 * can be a physical engine with the exact corresponding mask.
 	 */
-	if (!intel_engine_is_virtual(rq->engine) &&
-	    is_power_of_2(rq->execution_mask) &&
+	if (is_power_of_2(rq->execution_mask) &&
 	    !cmpxchg(&rq->engine->request_pool, NULL, rq))
 		return;
 
drivers/gpu/drm/mxsfb/mxsfb_kms.c +9 -0
index 3bcc9c0f2019..7ed2516b6de0 100644
@@ -611,6 +611,14 @@ static void mxsfb_plane_overlay_atomic_update(struct drm_plane *plane,
 	writel(ctrl, mxsfb->base + LCDC_AS_CTRL);
 }
 
+static void mxsfb_plane_overlay_atomic_disable(struct drm_plane *plane,
+					       struct drm_atomic_state *state)
+{
+	struct mxsfb_drm_private *mxsfb = to_mxsfb_drm_private(plane->dev);
+
+	writel(0, mxsfb->base + LCDC_AS_CTRL);
+}
+
 static bool mxsfb_format_mod_supported(struct drm_plane *plane,
 				       uint32_t format,
 				       uint64_t modifier)
@@ -626,6 +634,7 @@ static const struct drm_plane_helper_funcs mxsfb_plane_primary_helper_funcs = {
 static const struct drm_plane_helper_funcs mxsfb_plane_overlay_helper_funcs = {
 	.atomic_check = mxsfb_plane_atomic_check,
 	.atomic_update = mxsfb_plane_overlay_atomic_update,
+	.atomic_disable = mxsfb_plane_overlay_atomic_disable,
 };
 
 static const struct drm_plane_funcs mxsfb_plane_funcs = {
drivers/gpu/drm/virtio/virtgpu_submit.c +20 -12
index cf3c04b16a7a..1d010c66910d 100644
@@ -64,13 +64,9 @@ static int virtio_gpu_fence_event_create(struct drm_device *dev,
 					 struct virtio_gpu_fence *fence,
 					 u32 ring_idx)
 {
-	struct virtio_gpu_fpriv *vfpriv = file->driver_priv;
 	struct virtio_gpu_fence_event *e = NULL;
 	int ret;
 
-	if (!(vfpriv->ring_idx_mask & BIT_ULL(ring_idx)))
-		return 0;
-
 	e = kzalloc(sizeof(*e), GFP_KERNEL);
 	if (!e)
 		return -ENOMEM;
@@ -164,18 +160,30 @@ static int virtio_gpu_init_submit(struct virtio_gpu_submit *submit,
 	struct virtio_gpu_fpriv *vfpriv = file->driver_priv;
 	struct virtio_gpu_device *vgdev = dev->dev_private;
 	struct virtio_gpu_fence *out_fence;
+	bool drm_fence_event;
 	int err;
 
 	memset(submit, 0, sizeof(*submit));
 
-	out_fence = virtio_gpu_fence_alloc(vgdev, fence_ctx, ring_idx);
-	if (!out_fence)
-		return -ENOMEM;
-
-	err = virtio_gpu_fence_event_create(dev, file, out_fence, ring_idx);
-	if (err) {
-		dma_fence_put(&out_fence->f);
-		return err;
+	if ((exbuf->flags & VIRTGPU_EXECBUF_RING_IDX) &&
+	    (vfpriv->ring_idx_mask & BIT_ULL(ring_idx)))
+		drm_fence_event = true;
+	else
+		drm_fence_event = false;
+
+	if ((exbuf->flags & VIRTGPU_EXECBUF_FENCE_FD_OUT) ||
+	    exbuf->num_bo_handles ||
+	    drm_fence_event)
+		out_fence = virtio_gpu_fence_alloc(vgdev, fence_ctx, ring_idx);
+	else
+		out_fence = NULL;
+
+	if (drm_fence_event) {
+		err = virtio_gpu_fence_event_create(dev, file, out_fence, ring_idx);
+		if (err) {
+			dma_fence_put(&out_fence->f);
+			return err;
+		}
 	}
 
 	submit->out_fence = out_fence;
drivers/hwspinlock/qcom_hwspinlock.c +9 -0
index 9cf186362ae2..3f08cd4a5c28 100644
@@ -69,9 +69,18 @@ static const struct hwspinlock_ops qcom_hwspinlock_ops = {
 	.unlock		= qcom_hwspinlock_unlock,
 };
 
+static const struct regmap_config sfpb_mutex_config = {
+	.reg_bits		= 32,
+	.reg_stride		= 4,
+	.val_bits		= 32,
+	.max_register		= 0x100,
+	.fast_io		= true,
+};
+
 static const struct qcom_hwspinlock_of_data of_sfpb_mutex = {
 	.offset = 0x4,
 	.stride = 0x4,
+	.regmap_config = &sfpb_mutex_config,
 };
 
 static const struct regmap_config tcsr_msm8226_mutex_config = {
drivers/i3c/master/svc-i3c-master.c +1 -0
index 2fefbe55c167..6c43992c8cf6 100644
@@ -156,6 +156,7 @@ struct svc_i3c_regs_save {
  * @base: I3C master controller
  * @dev: Corresponding device
  * @regs: Memory mapping
+ * @saved_regs: Volatile values for PM operations
  * @free_slots: Bit array of available slots
  * @addrs: Array containing the dynamic addresses of each attached device
  * @descs: Array of descriptors, one per attached device
drivers/input/keyboard/tca6416-keypad.c +10 -21
index 2f745cabf4f2..d20cbddfae68 100644
@@ -148,7 +148,7 @@ static int tca6416_keys_open(struct input_dev *dev)
 	if (chip->use_polling)
 		schedule_delayed_work(&chip->dwork, msecs_to_jiffies(100));
 	else
-		enable_irq(chip->irqnum);
+		enable_irq(chip->client->irq);
 
 	return 0;
 }
@@ -160,7 +160,7 @@ static void tca6416_keys_close(struct input_dev *dev)
 	if (chip->use_polling)
 		cancel_delayed_work_sync(&chip->dwork);
 	else
-		disable_irq(chip->irqnum);
+		disable_irq(chip->client->irq);
 }
 
 static int tca6416_setup_registers(struct tca6416_keypad_chip *chip)
@@ -266,12 +266,7 @@ static int tca6416_keypad_probe(struct i2c_client *client)
 		goto fail1;
 
 	if (!chip->use_polling) {
-		if (pdata->irq_is_gpio)
-			chip->irqnum = gpio_to_irq(client->irq);
-		else
-			chip->irqnum = client->irq;
-
-		error = request_threaded_irq(chip->irqnum, NULL,
+		error = request_threaded_irq(client->irq, NULL,
 					     tca6416_keys_isr,
 					     IRQF_TRIGGER_FALLING |
 					     IRQF_ONESHOT | IRQF_NO_AUTOEN,
@@ -279,7 +274,7 @@ static int tca6416_keypad_probe(struct i2c_client *client)
 		if (error) {
 			dev_dbg(&client->dev,
 				"Unable to claim irq %d; error %d\n",
-				chip->irqnum, error);
+				client->irq, error);
 			goto fail1;
 		}
 	}
@@ -297,10 +292,8 @@ static int tca6416_keypad_probe(struct i2c_client *client)
 	return 0;
 
 fail2:
-	if (!chip->use_polling) {
-		free_irq(chip->irqnum, chip);
-		enable_irq(chip->irqnum);
-	}
+	if (!chip->use_polling)
+		free_irq(client->irq, chip);
 fail1:
 	input_free_device(input);
 	kfree(chip);
@@ -311,10 +304,8 @@ static void tca6416_keypad_remove(struct i2c_client *client)
 {
 	struct tca6416_keypad_chip *chip = i2c_get_clientdata(client);
 
-	if (!chip->use_polling) {
-		free_irq(chip->irqnum, chip);
-		enable_irq(chip->irqnum);
-	}
+	if (!chip->use_polling)
+		free_irq(client->irq, chip);
 
 	input_unregister_device(chip->input);
 	kfree(chip);
@@ -323,10 +314,9 @@ static void tca6416_keypad_remove(struct i2c_client *client)
 static int tca6416_keypad_suspend(struct device *dev)
 {
 	struct i2c_client *client = to_i2c_client(dev);
-	struct tca6416_keypad_chip *chip = i2c_get_clientdata(client);
 
 	if (device_may_wakeup(dev))
-		enable_irq_wake(chip->irqnum);
+		enable_irq_wake(client->irq);
 
 	return 0;
 }
@@ -334,10 +324,9 @@ static int tca6416_keypad_suspend(struct device *dev)
 static int tca6416_keypad_resume(struct device *dev)
 {
 	struct i2c_client *client = to_i2c_client(dev);
-	struct tca6416_keypad_chip *chip = i2c_get_clientdata(client);
 
 	if (device_may_wakeup(dev))
-		disable_irq_wake(chip->irqnum);
+		disable_irq_wake(client->irq);
 
 	return 0;
 }
drivers/input/misc/iqs7222.c +4 -4
index 096b0925f41b..acb95048e823 100644
@@ -1381,9 +1381,6 @@ static int iqs7222_ati_trigger(struct iqs7222_private *iqs7222)
 	if (error)
 		return error;
 
-	sys_setup &= ~IQS7222_SYS_SETUP_INTF_MODE_MASK;
-	sys_setup &= ~IQS7222_SYS_SETUP_PWR_MODE_MASK;
-
 	for (i = 0; i < IQS7222_NUM_RETRIES; i++) {
 		/*
 		 * Trigger ATI from streaming and normal-power modes so that
@@ -1561,8 +1558,11 @@ static int iqs7222_dev_init(struct iqs7222_private *iqs7222, int dir)
 			return error;
 	}
 
-	if (dir == READ)
+	if (dir == READ) {
+		iqs7222->sys_setup[0] &= ~IQS7222_SYS_SETUP_INTF_MODE_MASK;
+		iqs7222->sys_setup[0] &= ~IQS7222_SYS_SETUP_PWR_MODE_MASK;
 		return 0;
+	}
 
 	return iqs7222_ati_trigger(iqs7222);
 }
drivers/mailbox/qcom-ipcc.c +1 -3
index 7e27acf6c0cc..f597a1bd5684 100644
@@ -227,10 +227,8 @@ static int qcom_ipcc_setup_mbox(struct qcom_ipcc *ipcc,
 			ret = of_parse_phandle_with_args(client_dn, "mboxes",
 						"#mbox-cells", j, &curr_ph);
 			of_node_put(curr_ph.np);
-			if (!ret && curr_ph.np == controller_dn) {
+			if (!ret && curr_ph.np == controller_dn)
 				ipcc->num_chans++;
-				break;
-			}
 		}
 	}
 
drivers/misc/fastrpc.c +12 -10
index 5a134fa8a174..42c4f603ec81 100644
@@ -756,6 +756,7 @@ static int fastrpc_map_create(struct fastrpc_user *fl, int fd,
 {
 	struct fastrpc_session_ctx *sess = fl->sctx;
 	struct fastrpc_map *map = NULL;
+	struct sg_table *table;
 	int err = 0;
 
 	if (!fastrpc_map_lookup(fl, fd, ppmap, true))
@@ -783,11 +784,12 @@ static int fastrpc_map_create(struct fastrpc_user *fl, int fd,
 		goto attach_err;
 	}
 
-	map->table = dma_buf_map_attachment_unlocked(map->attach, DMA_BIDIRECTIONAL);
-	if (IS_ERR(map->table)) {
-		err = PTR_ERR(map->table);
+	table = dma_buf_map_attachment_unlocked(map->attach, DMA_BIDIRECTIONAL);
+	if (IS_ERR(table)) {
+		err = PTR_ERR(table);
 		goto map_err;
 	}
+	map->table = table;
 
 	if (attr & FASTRPC_ATTR_SECUREMAP) {
 		map->phys = sg_phys(map->table->sgl);
@@ -1871,7 +1873,11 @@ static int fastrpc_req_mmap(struct fastrpc_user *fl, char __user *argp)
 		return -EINVAL;
 	}
 
-	err = fastrpc_buf_alloc(fl, fl->sctx->dev, req.size, &buf);
+	if (req.flags == ADSP_MMAP_REMOTE_HEAP_ADDR)
+		err = fastrpc_remote_heap_alloc(fl, dev, req.size, &buf);
+	else
+		err = fastrpc_buf_alloc(fl, dev, req.size, &buf);
+
 	if (err) {
 		dev_err(dev, "failed to allocate buffer\n");
 		return err;
@@ -1910,12 +1916,8 @@ static int fastrpc_req_mmap(struct fastrpc_user *fl, char __user *argp)
 
 	/* Add memory to static PD pool, protection thru hypervisor */
 	if (req.flags == ADSP_MMAP_REMOTE_HEAP_ADDR && fl->cctx->vmcount) {
-		struct qcom_scm_vmperm perm;
-
-		perm.vmid = QCOM_SCM_VMID_HLOS;
-		perm.perm = QCOM_SCM_PERM_RWX;
-		err = qcom_scm_assign_mem(buf->phys, buf->size,
-			&fl->cctx->perms, &perm, 1);
+		err = qcom_scm_assign_mem(buf->phys, (u64)buf->size,
+			&fl->cctx->perms, fl->cctx->vmperms, fl->cctx->vmcount);
 		if (err) {
 			dev_err(fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d",
 					buf->phys, buf->size, err);
drivers/mtd/nand/raw/brcmnand/brcmnand.c +76 -36

189 lines not on this page · raw message

drivers/mtd/spi-nor/winbond.c +3 -2
index 834d6ba5ce70..63ba8e3a96f5 100644
@@ -120,8 +120,9 @@ static const struct flash_info winbond_nor_parts[] = {
 		NO_SFDP_FLAGS(SECT_4K) },
 	{ "w25q80bl", INFO(0xef4014, 0, 64 * 1024,  16)
 		NO_SFDP_FLAGS(SECT_4K) },
-	{ "w25q128", INFO(0xef4018, 0, 64 * 1024, 256)
-		NO_SFDP_FLAGS(SECT_4K) },
+	{ "w25q128", INFO(0xef4018, 0, 0, 0)
+		PARSE_SFDP
+		FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) },
 	{ "w25q256", INFO(0xef4019, 0, 64 * 1024, 512)
 		NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)
 		.fixups = &w25q256_fixups },
drivers/net/dsa/microchip/ksz_common.c +15 -1
index 6c0623f88654..d9d843efd111 100644
@@ -2337,13 +2337,27 @@ static u32 ksz_get_phy_flags(struct dsa_switch *ds, int port)
 {
 	struct ksz_device *dev = ds->priv;
 
-	if (dev->chip_id == KSZ8830_CHIP_ID) {
+	switch (dev->chip_id) {
+	case KSZ8830_CHIP_ID:
 		/* Silicon Errata Sheet (DS80000830A):
 		 * Port 1 does not work with LinkMD Cable-Testing.
 		 * Port 1 does not respond to received PAUSE control frames.
 		 */
 		if (!port)
 			return MICREL_KSZ8_P1_ERRATA;
+		break;
+	case KSZ9477_CHIP_ID:
+		/* KSZ9477 Errata DS80000754C
+		 *
+		 * Module 4: Energy Efficient Ethernet (EEE) feature select must
+		 * be manually disabled
+		 *   The EEE feature is enabled by default, but it is not fully
+		 *   operational. It must be manually disabled through register
+		 *   controls. If not disabled, the PHY ports can auto-negotiate
+		 *   to enable EEE, and this feature can cause link drops when
+		 *   linked to another device supporting EEE.
+		 */
+		return MICREL_NO_EEE;
 	}
 
 	return 0;
drivers/net/dsa/sja1105/sja1105.h +4 -0
index dee35ba924ad..8c66d3bf61f0 100644
@@ -132,6 +132,8 @@ struct sja1105_info {
 	int max_frame_mem;
 	int num_ports;
 	bool multiple_cascade_ports;
+	/* Every {port, TXQ} has its own CBS shaper */
+	bool fixed_cbs_mapping;
 	enum dsa_tag_protocol tag_proto;
 	const struct sja1105_dynamic_table_ops *dyn_ops;
 	const struct sja1105_table_ops *static_ops;
@@ -264,6 +266,8 @@ struct sja1105_private {
 	 * the switch doesn't confuse them with one another.
 	 */
 	struct mutex mgmt_lock;
+	/* Serializes accesses to the FDB */
+	struct mutex fdb_lock;
 	/* PTP two-step TX timestamp ID, and its serialization lock */
 	spinlock_t ts_id_lock;
 	u8 ts_id;
drivers/net/dsa/sja1105/sja1105_dynamic_config.c +44 -49

136 lines not on this page · raw message

drivers/net/dsa/sja1105/sja1105_main.c +96 -24

236 lines not on this page · raw message

drivers/net/dsa/sja1105/sja1105_spi.c +4 -0
index 5ce29c8057a4..834b5c1b4db0 100644
@@ -781,6 +781,7 @@ const struct sja1105_info sja1110a_info = {
 	.tag_proto		= DSA_TAG_PROTO_SJA1110,
 	.can_limit_mcast_flood	= true,
 	.multiple_cascade_ports	= true,
+	.fixed_cbs_mapping	= true,
 	.ptp_ts_bits		= 32,
 	.ptpegr_ts_bytes	= 8,
 	.max_frame_mem		= SJA1110_MAX_FRAME_MEMORY,
@@ -831,6 +832,7 @@ const struct sja1105_info sja1110b_info = {
 	.tag_proto		= DSA_TAG_PROTO_SJA1110,
 	.can_limit_mcast_flood	= true,
 	.multiple_cascade_ports	= true,
+	.fixed_cbs_mapping	= true,
 	.ptp_ts_bits		= 32,
 	.ptpegr_ts_bytes	= 8,
 	.max_frame_mem		= SJA1110_MAX_FRAME_MEMORY,
@@ -881,6 +883,7 @@ const struct sja1105_info sja1110c_info = {
 	.tag_proto		= DSA_TAG_PROTO_SJA1110,
 	.can_limit_mcast_flood	= true,
 	.multiple_cascade_ports	= true,
+	.fixed_cbs_mapping	= true,
 	.ptp_ts_bits		= 32,
 	.ptpegr_ts_bytes	= 8,
 	.max_frame_mem		= SJA1110_MAX_FRAME_MEMORY,
@@ -931,6 +934,7 @@ const struct sja1105_info sja1110d_info = {
 	.tag_proto		= DSA_TAG_PROTO_SJA1110,
 	.can_limit_mcast_flood	= true,
 	.multiple_cascade_ports	= true,
+	.fixed_cbs_mapping	= true,
 	.ptp_ts_bits		= 32,
 	.ptpegr_ts_bytes	= 8,
 	.max_frame_mem		= SJA1110_MAX_FRAME_MEMORY,
drivers/net/ethernet/adi/adin1110.c +5 -5
index f5c2d7a9abc1..ca66b747b7c5 100644
@@ -739,7 +739,7 @@ static int adin1110_broadcasts_filter(struct adin1110_port_priv *port_priv,
 	u32 port_rules = 0;
 	u8 mask[ETH_ALEN];
 
-	memset(mask, 0xFF, ETH_ALEN);
+	eth_broadcast_addr(mask);
 
 	if (accept_broadcast && port_priv->state == BR_STATE_FORWARDING)
 		port_rules = adin1110_port_rules(port_priv, true, true);
@@ -760,7 +760,7 @@ static int adin1110_set_mac_address(struct net_device *netdev,
 		return -EADDRNOTAVAIL;
 
 	eth_hw_addr_set(netdev, dev_addr);
-	memset(mask, 0xFF, ETH_ALEN);
+	eth_broadcast_addr(mask);
 
 	mac_slot = (!port_priv->nr) ?  ADIN_MAC_P1_ADDR_SLOT : ADIN_MAC_P2_ADDR_SLOT;
 	port_rules = adin1110_port_rules(port_priv, true, false);
@@ -1271,7 +1271,7 @@ static int adin1110_port_set_blocking_state(struct adin1110_port_priv *port_priv
 		goto out;
 
 	/* Allow only BPDUs to be passed to the CPU */
-	memset(mask, 0xFF, ETH_ALEN);
+	eth_broadcast_addr(mask);
 	port_rules = adin1110_port_rules(port_priv, true, false);
 	ret = adin1110_write_mac_address(port_priv, mac_slot, mac,
 					 mask, port_rules);
@@ -1385,8 +1385,8 @@ static int adin1110_fdb_add(struct adin1110_port_priv *port_priv,
 		return -ENOMEM;
 
 	other_port = priv->ports[!port_priv->nr];
-	port_rules = adin1110_port_rules(port_priv, false, true);
-	memset(mask, 0xFF, ETH_ALEN);
+	port_rules = adin1110_port_rules(other_port, false, true);
+	eth_broadcast_addr(mask);
 
 	return adin1110_write_mac_address(other_port, mac_nr, (u8 *)fdb->addr,
 					  mask, port_rules);
drivers/net/ethernet/cadence/macb_main.c +3 -2
index 82929ee76739..2d18acf3d5ea 100644
@@ -757,8 +757,6 @@ static void macb_mac_link_up(struct phylink_config *config,
 		if (rx_pause)
 			ctrl |= MACB_BIT(PAE);
 
-		macb_set_tx_clk(bp, speed);
-
 		/* Initialize rings & buffers as clearing MACB_BIT(TE) in link down
 		 * cleared the pipeline and control registers.
 		 */
@@ -778,6 +776,9 @@ static void macb_mac_link_up(struct phylink_config *config,
 
 	spin_unlock_irqrestore(&bp->lock, flags);
 
+	if (!(bp->caps & MACB_CAPS_MACB_IS_EMAC))
+		macb_set_tx_clk(bp, speed);
+
 	/* Enable Rx and Tx; Enable PTP unicast */
 	ctrl = macb_readl(bp, NCR);
 	if (gem_has_ptp(bp))
drivers/net/ethernet/freescale/enetc/enetc_pf.c +1 -1
index e0a4cb7e3f50..c153dc083aff 100644
@@ -1402,7 +1402,7 @@ static void enetc_fixup_clear_rss_rfs(struct pci_dev *pdev)
 		return;
 
 	si = enetc_psi_create(pdev);
-	if (si)
+	if (!IS_ERR(si))
 		enetc_psi_destroy(pdev);
 }
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_FREESCALE, ENETC_DEV_ID_PF,
drivers/net/ethernet/google/gve/gve_rx_dqo.c +4 -1
index e57b73eb70f6..ac041cc5714c 100644
@@ -492,7 +492,10 @@ static int gve_rx_append_frags(struct napi_struct *napi,
 		if (!skb)
 			return -1;
 
-		skb_shinfo(rx->ctx.skb_tail)->frag_list = skb;
+		if (rx->ctx.skb_tail == rx->ctx.skb_head)
+			skb_shinfo(rx->ctx.skb_head)->frag_list = skb;
+		else
+			rx->ctx.skb_tail->next = skb;
 		rx->ctx.skb_tail = skb;
 		num_frags = 0;
 	}
drivers/net/ethernet/hisilicon/hns3/hnae3.h +1 -0
index a4b43bcd2f0c..aaf1f42624a7 100644
@@ -814,6 +814,7 @@ struct hnae3_tc_info {
 	u8 max_tc; /* Total number of TCs */
 	u8 num_tc; /* Total number of enabled TCs */
 	bool mqprio_active;
+	bool dcb_ets_active;
 };
 
 #define HNAE3_MAX_DSCP			64
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c +4 -3
index f276b5ecb431..26fb6fefcb9d 100644
@@ -1411,9 +1411,9 @@ int hns3_dbg_init(struct hnae3_handle *handle)
 	return 0;
 
 out:
-	mutex_destroy(&handle->dbgfs_lock);
 	debugfs_remove_recursive(handle->hnae3_dbgfs);
 	handle->hnae3_dbgfs = NULL;
+	mutex_destroy(&handle->dbgfs_lock);
 	return ret;
 }
 
@@ -1421,6 +1421,9 @@ void hns3_dbg_uninit(struct hnae3_handle *handle)
 {
 	u32 i;
 
+	debugfs_remove_recursive(handle->hnae3_dbgfs);
+	handle->hnae3_dbgfs = NULL;
+
 	for (i = 0; i < ARRAY_SIZE(hns3_dbg_cmd); i++)
 		if (handle->dbgfs_buf[i]) {
 			kvfree(handle->dbgfs_buf[i]);
@@ -1428,8 +1431,6 @@ void hns3_dbg_uninit(struct hnae3_handle *handle)
 		}
 
 	mutex_destroy(&handle->dbgfs_lock);
-	debugfs_remove_recursive(handle->hnae3_dbgfs);
-	handle->hnae3_dbgfs = NULL;
 }
 
 void hns3_dbg_register_debugfs(const char *debugfs_dir_name)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +12 -7
index b7b51e56b030..613d0a779cef 100644
@@ -2102,8 +2102,12 @@ static void hns3_tx_doorbell(struct hns3_enet_ring *ring, int num,
 	 */
 	if (test_bit(HNS3_NIC_STATE_TX_PUSH_ENABLE, &priv->state) && num &&
 	    !ring->pending_buf && num <= HNS3_MAX_PUSH_BD_NUM && doorbell) {
+		/* This smp_store_release() pairs with smp_load_aquire() in
+		 * hns3_nic_reclaim_desc(). Ensure that the BD valid bit
+		 * is updated.
+		 */
+		smp_store_release(&ring->last_to_use, ring->next_to_use);
 		hns3_tx_push_bd(ring, num);
-		WRITE_ONCE(ring->last_to_use, ring->next_to_use);
 		return;
 	}
 
@@ -2114,6 +2118,11 @@ static void hns3_tx_doorbell(struct hns3_enet_ring *ring, int num,
 		return;
 	}
 
+	/* This smp_store_release() pairs with smp_load_aquire() in
+	 * hns3_nic_reclaim_desc(). Ensure that the BD valid bit is updated.
+	 */
+	smp_store_release(&ring->last_to_use, ring->next_to_use);
+
 	if (ring->tqp->mem_base)
 		hns3_tx_mem_doorbell(ring);
 	else
@@ -2121,7 +2130,6 @@ static void hns3_tx_doorbell(struct hns3_enet_ring *ring, int num,
 		       ring->tqp->io_base + HNS3_RING_TX_RING_TAIL_REG);
 
 	ring->pending_buf = 0;
-	WRITE_ONCE(ring->last_to_use, ring->next_to_use);
 }
 
 static void hns3_tsyn(struct net_device *netdev, struct sk_buff *skb,
@@ -3307,8 +3315,6 @@ static void hns3_set_default_feature(struct net_device *netdev)
 
 	netdev->priv_flags |= IFF_UNICAST_FLT;
 
-	netdev->gso_partial_features |= NETIF_F_GSO_GRE_CSUM;
-
 	netdev->features |= NETIF_F_HW_VLAN_CTAG_FILTER |
 		NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX |
 		NETIF_F_RXCSUM | NETIF_F_SG | NETIF_F_GSO |
@@ -3562,9 +3568,8 @@ static void hns3_reuse_buffer(struct hns3_enet_ring *ring, int i)
 static bool hns3_nic_reclaim_desc(struct hns3_enet_ring *ring,
 				  int *bytes, int *pkts, int budget)
 {
-	/* pair with ring->last_to_use update in hns3_tx_doorbell(),
-	 * smp_store_release() is not used in hns3_tx_doorbell() because
-	 * the doorbell operation already have the needed barrier operation.
+	/* This smp_load_acquire() pairs with smp_store_release() in
+	 * hns3_tx_doorbell().
 	 */
 	int ltu = smp_load_acquire(&ring->last_to_use);
 	int ntc = ring->next_to_clean;
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +3 -1
index 407d30ee55d2..64858b3114ac 100644
@@ -773,7 +773,9 @@ static int hns3_get_link_ksettings(struct net_device *netdev,
 		hns3_get_ksettings(h, cmd);
 		break;
 	case HNAE3_MEDIA_TYPE_FIBER:
-		if (module_type == HNAE3_MODULE_TYPE_CR)
+		if (module_type == HNAE3_MODULE_TYPE_UNKNOWN)
+			cmd->base.port = PORT_OTHER;
+		else if (module_type == HNAE3_MODULE_TYPE_CR)
 			cmd->base.port = PORT_DA;
 		else
 			cmd->base.port = PORT_FIBRE;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c +5 -15
index fad5a5ff3cda..b98301e205f7 100644
@@ -259,7 +259,7 @@ static int hclge_ieee_setets(struct hnae3_handle *h, struct ieee_ets *ets)
 	int ret;
 
 	if (!(hdev->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) ||
-	    hdev->flag & HCLGE_FLAG_MQPRIO_ENABLE)
+	    h->kinfo.tc_info.mqprio_active)
 		return -EINVAL;
 
 	ret = hclge_ets_validate(hdev, ets, &num_tc, &map_changed);
@@ -275,10 +275,7 @@ static int hclge_ieee_setets(struct hnae3_handle *h, struct ieee_ets *ets)
 	}
 
 	hclge_tm_schd_info_update(hdev, num_tc);
-	if (num_tc > 1)
-		hdev->flag |= HCLGE_FLAG_DCB_ENABLE;
-	else
-		hdev->flag &= ~HCLGE_FLAG_DCB_ENABLE;
+	h->kinfo.tc_info.dcb_ets_active = num_tc > 1;
 
 	ret = hclge_ieee_ets_to_tm_info(hdev, ets);
 	if (ret)
@@ -487,7 +484,7 @@ static u8 hclge_getdcbx(struct hnae3_handle *h)
 	struct hclge_vport *vport = hclge_get_vport(h);
 	struct hclge_dev *hdev = vport->back;
 
-	if (hdev->flag & HCLGE_FLAG_MQPRIO_ENABLE)
+	if (h->kinfo.tc_info.mqprio_active)
 		return 0;
 
 	return hdev->dcbx_cap;
@@ -611,7 +608,8 @@ static int hclge_setup_tc(struct hnae3_handle *h,
 	if (!test_bit(HCLGE_STATE_NIC_REGISTERED, &hdev->state))
 		return -EBUSY;
 
-	if (hdev->flag & HCLGE_FLAG_DCB_ENABLE)
+	kinfo = &vport->nic.kinfo;
+	if (kinfo->tc_info.dcb_ets_active)
 		return -EINVAL;
 
 	ret = hclge_mqprio_qopt_check(hdev, mqprio_qopt);
@@ -625,7 +623,6 @@ static int hclge_setup_tc(struct hnae3_handle *h,
 	if (ret)
 		return ret;
 
-	kinfo = &vport->nic.kinfo;
 	memcpy(&old_tc_info, &kinfo->tc_info, sizeof(old_tc_info));
 	hclge_sync_mqprio_qopt(&kinfo->tc_info, mqprio_qopt);
 	kinfo->tc_info.mqprio_active = tc > 0;
@@ -634,13 +631,6 @@ static int hclge_setup_tc(struct hnae3_handle *h,
 	if (ret)
 		goto err_out;
 
-	hdev->flag &= ~HCLGE_FLAG_DCB_ENABLE;
-
-	if (tc > 1)
-		hdev->flag |= HCLGE_FLAG_MQPRIO_ENABLE;
-	else
-		hdev->flag &= ~HCLGE_FLAG_MQPRIO_ENABLE;
-
 	return hclge_notify_init_up(hdev);
 
 err_out:
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c +7 -7
index f01a7a9ee02c..ff3f8f424ad9 100644
@@ -1519,7 +1519,7 @@ static int hclge_dbg_fd_tcam_read(struct hclge_dev *hdev, bool sel_x,
 	struct hclge_desc desc[3];
 	int pos = 0;
 	int ret, i;
-	u32 *req;
+	__le32 *req;
 
 	hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_FD_TCAM_OP, true);
 	desc[0].flag |= cpu_to_le16(HCLGE_COMM_CMD_FLAG_NEXT);
@@ -1544,22 +1544,22 @@ static int hclge_dbg_fd_tcam_read(struct hclge_dev *hdev, bool sel_x,
 			 tcam_msg.loc);
 
 	/* tcam_data0 ~ tcam_data1 */
-	req = (u32 *)req1->tcam_data;
+	req = (__le32 *)req1->tcam_data;
 	for (i = 0; i < 2; i++)
 		pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos,
-				 "%08x\n", *req++);
+				 "%08x\n", le32_to_cpu(*req++));
 
 	/* tcam_data2 ~ tcam_data7 */
-	req = (u32 *)req2->tcam_data;
+	req = (__le32 *)req2->tcam_data;
 	for (i = 0; i < 6; i++)
 		pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos,
-				 "%08x\n", *req++);
+				 "%08x\n", le32_to_cpu(*req++));
 
 	/* tcam_data8 ~ tcam_data12 */
-	req = (u32 *)req3->tcam_data;
+	req = (__le32 *)req3->tcam_data;
 	for (i = 0; i < 5; i++)
 		pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos,
-				 "%08x\n", *req++);
+				 "%08x\n", le32_to_cpu(*req++));
 
 	return ret;
 }
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +3 -2
index 2d5a2e1ef664..ce6b658a930c 100644
@@ -11026,6 +11026,7 @@ static void hclge_get_mdix_mode(struct hnae3_handle *handle,
 
 static void hclge_info_show(struct hclge_dev *hdev)
 {
+	struct hnae3_handle *handle = &hdev->vport->nic;
 	struct device *dev = &hdev->pdev->dev;
 
 	dev_info(dev, "PF info begin:\n");
@@ -11042,9 +11043,9 @@ static void hclge_info_show(struct hclge_dev *hdev)
 	dev_info(dev, "This is %s PF\n",
 		 hdev->flag & HCLGE_FLAG_MAIN ? "main" : "not main");
 	dev_info(dev, "DCB %s\n",
-		 hdev->flag & HCLGE_FLAG_DCB_ENABLE ? "enable" : "disable");
+		 handle->kinfo.tc_info.dcb_ets_active ? "enable" : "disable");
 	dev_info(dev, "MQPRIO %s\n",
-		 hdev->flag & HCLGE_FLAG_MQPRIO_ENABLE ? "enable" : "disable");
+		 handle->kinfo.tc_info.mqprio_active ? "enable" : "disable");
 	dev_info(dev, "Default tx spare buffer size: %u\n",
 		 hdev->tx_spare_buf_size);
 
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h +0 -2
index 8f76b568c1bf..70319ce49a1d 100644
@@ -919,8 +919,6 @@ struct hclge_dev {
 
 #define HCLGE_FLAG_MAIN			BIT(0)
 #define HCLGE_FLAG_DCB_CAPABLE		BIT(1)
-#define HCLGE_FLAG_DCB_ENABLE		BIT(2)
-#define HCLGE_FLAG_MQPRIO_ENABLE	BIT(3)
 	u32 flag;
 
 	u32 pkt_buf_size; /* Total pf buf size for tx/rx */
drivers/net/ethernet/intel/igb/igb.h +2 -2
index 015b78144114..a2b759531cb7 100644
@@ -34,11 +34,11 @@ struct igb_adapter;
 /* TX/RX descriptor defines */
 #define IGB_DEFAULT_TXD		256
 #define IGB_DEFAULT_TX_WORK	128
-#define IGB_MIN_TXD		80
+#define IGB_MIN_TXD		64
 #define IGB_MAX_TXD		4096
 
 #define IGB_DEFAULT_RXD		256
-#define IGB_MIN_RXD		80
+#define IGB_MIN_RXD		64
 #define IGB_MAX_RXD		4096
 
 #define IGB_DEFAULT_ITR		3 /* dynamic */
drivers/net/ethernet/intel/igb/igb_main.c +7 -3
index 08e3df37089f..12f106b3a878 100644
@@ -3827,8 +3827,11 @@ static int igb_enable_sriov(struct pci_dev *pdev, int num_vfs, bool reinit)
 	}
 
 	/* only call pci_enable_sriov() if no VFs are allocated already */
-	if (!old_vfs)
+	if (!old_vfs) {
 		err = pci_enable_sriov(pdev, adapter->vfs_allocated_count);
+		if (err)
+			goto err_out;
+	}
 
 	goto out;
 
@@ -3933,8 +3936,9 @@ static void igb_probe_vfs(struct igb_adapter *adapter)
 	struct pci_dev *pdev = adapter->pdev;
 	struct e1000_hw *hw = &adapter->hw;
 
-	/* Virtualization features not supported on i210 family. */
-	if ((hw->mac.type == e1000_i210) || (hw->mac.type == e1000_i211))
+	/* Virtualization features not supported on i210 and 82580 family. */
+	if ((hw->mac.type == e1000_i210) || (hw->mac.type == e1000_i211) ||
+	    (hw->mac.type == e1000_82580))
 		return;
 
 	/* Of the below we really only want the effect of getting
drivers/net/ethernet/intel/igbvf/igbvf.h +2 -2
index 57d39ee00b58..7b83678ba83a 100644
@@ -39,11 +39,11 @@ enum latency_range {
 /* Tx/Rx descriptor defines */
 #define IGBVF_DEFAULT_TXD	256
 #define IGBVF_MAX_TXD		4096
-#define IGBVF_MIN_TXD		80
+#define IGBVF_MIN_TXD		64
 
 #define IGBVF_DEFAULT_RXD	256
 #define IGBVF_MAX_RXD		4096
-#define IGBVF_MIN_RXD		80
+#define IGBVF_MIN_RXD		64
 
 #define IGBVF_MIN_ITR_USECS	10 /* 100000 irq/sec */
 #define IGBVF_MAX_ITR_USECS	10000 /* 100    irq/sec */
drivers/net/ethernet/intel/igc/igc.h +2 -2
index 38901d2a4680..b4077c3f62ed 100644
@@ -368,11 +368,11 @@ static inline u32 igc_rss_type(const union igc_adv_rx_desc *rx_desc)
 /* TX/RX descriptor defines */
 #define IGC_DEFAULT_TXD		256
 #define IGC_DEFAULT_TX_WORK	128
-#define IGC_MIN_TXD		80
+#define IGC_MIN_TXD		64
 #define IGC_MAX_TXD		4096
 
 #define IGC_DEFAULT_RXD		256
-#define IGC_MIN_RXD		80
+#define IGC_MIN_RXD		64
 #define IGC_MAX_RXD		4096
 
 /* Supported Rx Buffer Sizes */
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c +15 -13
index 0310af851086..9339edbd9082 100644
@@ -979,6 +979,7 @@ static int ixgbe_ptp_set_timestamp_mode(struct ixgbe_adapter *adapter,
 	u32 tsync_tx_ctl = IXGBE_TSYNCTXCTL_ENABLED;
 	u32 tsync_rx_ctl = IXGBE_TSYNCRXCTL_ENABLED;
 	u32 tsync_rx_mtrl = PTP_EV_PORT << 16;
+	u32 aflags = adapter->flags;
 	bool is_l2 = false;
 	u32 regval;
 
@@ -996,20 +997,20 @@ static int ixgbe_ptp_set_timestamp_mode(struct ixgbe_adapter *adapter,
 	case HWTSTAMP_FILTER_NONE:
 		tsync_rx_ctl = 0;
 		tsync_rx_mtrl = 0;
-		adapter->flags &= ~(IXGBE_FLAG_RX_HWTSTAMP_ENABLED |
-				    IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER);
+		aflags &= ~(IXGBE_FLAG_RX_HWTSTAMP_ENABLED |
+			    IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER);
 		break;
 	case HWTSTAMP_FILTER_PTP_V1_L4_SYNC:
 		tsync_rx_ctl |= IXGBE_TSYNCRXCTL_TYPE_L4_V1;
 		tsync_rx_mtrl |= IXGBE_RXMTRL_V1_SYNC_MSG;
-		adapter->flags |= (IXGBE_FLAG_RX_HWTSTAMP_ENABLED |
-				   IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER);
+		aflags |= (IXGBE_FLAG_RX_HWTSTAMP_ENABLED |
+			   IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER);
 		break;
 	case HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ:
 		tsync_rx_ctl |= IXGBE_TSYNCRXCTL_TYPE_L4_V1;
 		tsync_rx_mtrl |= IXGBE_RXMTRL_V1_DELAY_REQ_MSG;
-		adapter->flags |= (IXGBE_FLAG_RX_HWTSTAMP_ENABLED |
-				   IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER);
+		aflags |= (IXGBE_FLAG_RX_HWTSTAMP_ENABLED |
+			   IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER);
 		break;
 	case HWTSTAMP_FILTER_PTP_V2_EVENT:
 	case HWTSTAMP_FILTER_PTP_V2_L2_EVENT:
@@ -1023,8 +1024,8 @@ static int ixgbe_ptp_set_timestamp_mode(struct ixgbe_adapter *adapter,
 		tsync_rx_ctl |= IXGBE_TSYNCRXCTL_TYPE_EVENT_V2;
 		is_l2 = true;
 		config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT;
-		adapter->flags |= (IXGBE_FLAG_RX_HWTSTAMP_ENABLED |
-				   IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER);
+		aflags |= (IXGBE_FLAG_RX_HWTSTAMP_ENABLED |
+			   IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER);
 		break;
 	case HWTSTAMP_FILTER_PTP_V1_L4_EVENT:
 	case HWTSTAMP_FILTER_NTP_ALL:
@@ -1035,7 +1036,7 @@ static int ixgbe_ptp_set_timestamp_mode(struct ixgbe_adapter *adapter,
 		if (hw->mac.type >= ixgbe_mac_X550) {
 			tsync_rx_ctl |= IXGBE_TSYNCRXCTL_TYPE_ALL;
 			config->rx_filter = HWTSTAMP_FILTER_ALL;
-			adapter->flags |= IXGBE_FLAG_RX_HWTSTAMP_ENABLED;
+			aflags |= IXGBE_FLAG_RX_HWTSTAMP_ENABLED;
 			break;
 		}
 		fallthrough;
@@ -1046,8 +1047,6 @@ static int ixgbe_ptp_set_timestamp_mode(struct ixgbe_adapter *adapter,
 		 * Delay_Req messages and hardware does not support
 		 * timestamping all packets => return error
 		 */
-		adapter->flags &= ~(IXGBE_FLAG_RX_HWTSTAMP_ENABLED |
-				    IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER);
 		config->rx_filter = HWTSTAMP_FILTER_NONE;
 		return -ERANGE;
 	}
@@ -1079,8 +1078,8 @@ static int ixgbe_ptp_set_timestamp_mode(struct ixgbe_adapter *adapter,
 			       IXGBE_TSYNCRXCTL_TYPE_ALL |
 			       IXGBE_TSYNCRXCTL_TSIP_UT_EN;
 		config->rx_filter = HWTSTAMP_FILTER_ALL;
-		adapter->flags |= IXGBE_FLAG_RX_HWTSTAMP_ENABLED;
-		adapter->flags &= ~IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER;
+		aflags |= IXGBE_FLAG_RX_HWTSTAMP_ENABLED;
+		aflags &= ~IXGBE_FLAG_RX_HWTSTAMP_IN_REGISTER;
 		is_l2 = true;
 		break;
 	default:
@@ -1113,6 +1112,9 @@ static int ixgbe_ptp_set_timestamp_mode(struct ixgbe_adapter *adapter,
 
 	IXGBE_WRITE_FLUSH(hw);
 
+	/* configure adapter flags only when HW is actually configured */
+	adapter->flags = aflags;
+
 	/* clear TX/RX time stamp registers, just to be sure */
 	ixgbe_ptp_clear_tx_timestamp(adapter);
 	IXGBE_READ_REG(hw, IXGBE_RXSTMPH);
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +5 -0
index 1fec84b4c068..0129afa1210e 100644
@@ -5586,6 +5586,11 @@ static int mvpp2_ethtool_get_rxnfc(struct net_device *dev,
 		break;
 	case ETHTOOL_GRXCLSRLALL:
 		for (i = 0; i < MVPP2_N_RFS_ENTRIES_PER_FLOW; i++) {
+			if (loc == info->rule_cnt) {
+				ret = -EMSGSIZE;
+				break;
+			}
+
 			if (port->rfs_rules[i])
 				rules[loc++] = i;
 		}
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c +19 -2
index c2f68678e947..23c2f2ed2fb8 100644
@@ -846,6 +846,21 @@ static int nix_aq_enqueue_wait(struct rvu *rvu, struct rvu_block *block,
 	return 0;
 }
 
+static void nix_get_aq_req_smq(struct rvu *rvu, struct nix_aq_enq_req *req,
+			       u16 *smq, u16 *smq_mask)
+{
+	struct nix_cn10k_aq_enq_req *aq_req;
+
+	if (!is_rvu_otx2(rvu)) {
+		aq_req = (struct nix_cn10k_aq_enq_req *)req;
+		*smq = aq_req->sq.smq;
+		*smq_mask = aq_req->sq_mask.smq;
+	} else {
+		*smq = req->sq.smq;
+		*smq_mask = req->sq_mask.smq;
+	}
+}
+
 static int rvu_nix_blk_aq_enq_inst(struct rvu *rvu, struct nix_hw *nix_hw,
 				   struct nix_aq_enq_req *req,
 				   struct nix_aq_enq_rsp *rsp)
@@ -857,6 +872,7 @@ static int rvu_nix_blk_aq_enq_inst(struct rvu *rvu, struct nix_hw *nix_hw,
 	struct rvu_block *block;
 	struct admin_queue *aq;
 	struct rvu_pfvf *pfvf;
+	u16 smq, smq_mask;
 	void *ctx, *mask;
 	bool ena;
 	u64 cfg;
@@ -928,13 +944,14 @@ static int rvu_nix_blk_aq_enq_inst(struct rvu *rvu, struct nix_hw *nix_hw,
 	if (rc)
 		return rc;
 
+	nix_get_aq_req_smq(rvu, req, &smq, &smq_mask);
 	/* Check if SQ pointed SMQ belongs to this PF/VF or not */
 	if (req->ctype == NIX_AQ_CTYPE_SQ &&
 	    ((req->op == NIX_AQ_INSTOP_INIT && req->sq.ena) ||
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c +4 -2
index 826f691de259..a4a258da8dd5 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h +1 -1
index 8ae96815865e..c1861f7de254 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c +6 -37

43 lines not on this page · raw message

drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h +2 -1
index ba8091131ec0..0e81849db353 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +4 -3
index 9551b422622a..9ded98bb1c89 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c +25 -5
index e369baf11530..e77d43848955 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.h +2 -2
index 9e3bfbe5c480..a82ffca8ce1b 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mediatek/mtk_eth_soc.c +3 -0
index 2d15342c260a..7f0807672071 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ct.c +3 -1
index 92d3952dfa8b..feeb41693c17 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/mirred.c +1 -0
index 291193f7120d..f63402c48028 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/pedit.c +3 -1
index 3b272bbf4c53..368a95fa77d3 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/redirect_ingress.c +1 -0
index ad09a8a5f36e..2d1d4a04501b 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/vlan.c +1 -0
index c8a3eaf189f6..a13c5e707b83 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/vlan_mangle.c +3 -1
index 310b99230760..f17575b09788 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +1 -0
index 31708d5aa608..4b22a91482ce 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c +38 -24

62 lines not on this page · raw message

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c +50 -14

64 lines not on this page · raw message

drivers/net/ethernet/mellanox/mlx5/core/eswitch.h +6 -2
index ae0dc8a3060d..56d9a261a5c8 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c +56 -19

75 lines not on this page · raw message

drivers/net/ethernet/microchip/vcap/vcap_api.c +16 -2
index a418ad8e8770..15a3a31b15d4 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/renesas/rswitch.c +4 -4
index 4e412ac0965a..449ed1f5624c 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +6 -4
index 4727f7be4f86..6931973028ae 100644

Lines of this file are not shown. View the raw message.

drivers/net/phy/micrel.c +6 -3
index b6d7981b2d1e..927d3d54658e 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/r8152.c +3 -0
index 0738baa5b82e..e88bedca8f32 100644

Lines of this file are not shown. View the raw message.

drivers/net/veth.c +5 -1
index ef8eacb596f7..fc0d0114d8c2 100644

Lines of this file are not shown. View the raw message.

drivers/parisc/led.c +2 -2
index 8bdc5e043831..3737c1021f88 100644

Lines of this file are not shown. View the raw message.

drivers/parisc/sba_iommu.c +2 -8
index 8f28f8696bf3..b8e91cbb6056 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/intel/pinctrl-cherryview.c +2 -3
index eee0f9bc3d32..4502bc849c87 100644

Lines of this file are not shown. View the raw message.

drivers/platform/mellanox/Kconfig +2 -2
index 382793e73a60..30b50920b278 100644

Lines of this file are not shown. View the raw message.

drivers/platform/mellanox/mlxbf-pmc.c +14 -27

41 lines not on this page · raw message

drivers/platform/mellanox/mlxbf-tmfifo.c +66 -24

90 lines not on this page · raw message

drivers/pwm/pwm-atmel-tcb.c +33 -31

64 lines not on this page · raw message

drivers/pwm/pwm-lpc32xx.c +8 -8
index 86a0ea0f6955..806f0bb3ad6d 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/raa215300.c +17 -15
index 24a1c89f5dbc..253645696d0b 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/tps6287x-regulator.c +1 -1
index b1c0963586ac..e45579a4498c 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/tps6594-regulator.c +15 -16
index d5a574ec6d12..47c3b7efe145 100644

Lines of this file are not shown. View the raw message.

drivers/s390/crypto/zcrypt_api.c +1 -0
index 4b23c9f7f3e5..6b99f7dd0643 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_attr.c +0 -2
index b00222459607..44449c70a375 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_dbg.c +1 -1
index d7e8454304ce..ab637324262f 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_def.h +16 -5
index 4ae38305c15a..97852e5f7a87 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_dfs.c +10 -0
index 1925cc6897b6..f060e593685d 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_gbl.h +1 -0
index ba7831f24734..33fba9d62969 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_init.c +149 -85

234 lines not on this page · raw message

drivers/scsi/qla2xxx/qla_inline.h +56 -1

57 lines not on this page · raw message

drivers/scsi/qla2xxx/qla_iocb.c +1 -0
index 730d8609276c..1ee9b7d5fc15 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_isr.c +5 -2
index 656700f79325..1f42a413b598 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_mbx.c +3 -4
index 254fd4c64262..21ec32b4fb28 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_nvme.c +2 -1
index 86e85f2f4782..9941b38eac93 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_os.c +17 -9
index 877e4f446709..67176be79dff 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_target.c +7 -7
index 5258b07687a9..2b815a9928ea 100644

Lines of this file are not shown. View the raw message.

drivers/soc/qcom/qmi_encdec.c +2 -2
index b7158e3c3a0b..5c7161b18b72 100644

Lines of this file are not shown. View the raw message.

drivers/ufs/core/ufs_bsg.c +1 -2
index 0d38e7fa34cc..97f4d86f8d90 100644

Lines of this file are not shown. View the raw message.

drivers/ufs/core/ufshcd.c +9 -1
index fa18806e80b6..9615a076735b 100644

Lines of this file are not shown. View the raw message.

drivers/video/backlight/gpio_backlight.c +1 -2
index 5c5c99f7979e..30ec5b684533 100644

Lines of this file are not shown. View the raw message.

drivers/video/backlight/lp855x_bl.c +12 -8
index 1c9e921bca14..349ec324bc1e 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/ep93xx-fb.c +0 -1
index 22158d9ca8dd..71f355d34a13 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/Kconfig +2 -0
index ee97d89dfc11..2108283b438c 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/intel-mid_wdt.c +1 -0
index 9b2173f765c8..fb7fae750181 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/disk-io.c +2 -3
index a9a2c5446c18..4494883a19ab 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/extent-tree.c +23 -20

43 lines not on this page · raw message

fs/btrfs/file-item.c +22 -12
index 696bf695d8eb..1ce5dd154499 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/file-item.h +3 -3
index 4ec669b69008..04bd2d34efb1 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/inode.c +7 -0
index aa090b0b5d29..db2b33a822fc 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/raid56.c +2 -2
index 0249ea52bb80..3e388e0431e3 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/relocation.c +9 -3
index 46c3c1d57266..5f4ff7d5b5c1 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/scrub.c +112 -40

152 lines not on this page · raw message

fs/btrfs/space-info.c +1 -5
index 75e7fa337e66..ba5322fe34f5 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/transaction.c +20 -6
index 91b6c2fdc420..5bbd288b9cb5 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/zoned.c +13 -3
index 249030135001..d9e6df2da272 100644

Lines of this file are not shown. View the raw message.

fs/ext4/balloc.c +11 -4
index 1f72f977c6db..79b20d6ae39e 100644

Lines of this file are not shown. View the raw message.

fs/ext4/block_validity.c +4 -4
index 5504f72bbbbe..6fe3c941b565 100644

Lines of this file are not shown. View the raw message.

fs/ext4/crypto.c +4 -0
index e20ac0654b3f..453d4da5de52 100644

Lines of this file are not shown. View the raw message.

fs/ext4/ext4.h +2 -0
index 0a2d55faa095..9653aab5e9f4 100644

Lines of this file are not shown. View the raw message.

fs/ext4/extents_status.c +30 -14

44 lines not on this page · raw message

fs/ext4/file.c +10 -15
index c457c8517f0f..73a4b711be02 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/data.c +2 -6
index 5882afe71d82..ecebc3a139be 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/f2fs.h +15 -9
index c602ff2403b6..c0b7417f1d87 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/inline.c +2 -1
index 4638fee16a91..0d185ad5e469 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/segment.c +2 -0
index be08be6f4bfd..b38bf2b34490 100644

Lines of this file are not shown. View the raw message.

fs/fuse/readdir.c +9 -1
index dc603479b30e..b3d498163f97 100644

Lines of this file are not shown. View the raw message.

fs/gfs2/aops.c +2 -2
index ae49256b7c8c..be2759a974f9 100644

Lines of this file are not shown. View the raw message.

fs/gfs2/log.c +9 -16
index aa568796207c..aaca22f2aa2d 100644

Lines of this file are not shown. View the raw message.

fs/jbd2/checkpoint.c +16 -6
index 9ec91017a7f3..f033ac807013 100644

Lines of this file are not shown. View the raw message.

fs/jbd2/recovery.c +3 -9
index 0184931d47f7..c269a7d29a46 100644

Lines of this file are not shown. View the raw message.

fs/kernfs/dir.c +4 -0
index 5a1a4af9d3d2..bf243015834e 100644

Lines of this file are not shown. View the raw message.

fs/nfs/direct.c +19 -1
index aaffaaa336cc..47d892a1d363 100644

Lines of this file are not shown. View the raw message.

fs/nfs/pnfs_dev.c +1 -1
index ddbbf4fcda86..178001c90156 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/cached_dir.c +1 -1
index fe483f163dbc..2d5e9a9d5b8b 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/cifsglob.h +1 -0
index 657dee4b2c8c..051f15b9d607 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/connect.c +1 -0
index 238538dde4e3..2456b5dd439c 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/fscache.c +1 -1
index 8f6909d633da..34e20c4cd507 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/smb2ops.c +10 -1
index 0f62bc373ad0..dd6a423dc6e1 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/smb2pdu.c +11 -0
index a457f07f820d..9c7e46b7e7c7 100644

Lines of this file are not shown. View the raw message.

fs/smb/common/smb2pdu.h +22 -0
index bae590eec871..2680251b9aac 100644

Lines of this file are not shown. View the raw message.

include/linux/audit.h +2 -0
index 6a3a9e122bb5..51b1b7054a23 100644

Lines of this file are not shown. View the raw message.

include/linux/bpf.h +12 -0
index f58895830ada..f316affcd2e1 100644

Lines of this file are not shown. View the raw message.

include/linux/export-internal.h +2 -0
index 1c849db953a5..45fca09b2319 100644

Lines of this file are not shown. View the raw message.

include/linux/ipv6.h +1 -0
index 660012997f54..644e69354cba 100644

Lines of this file are not shown. View the raw message.

include/linux/micrel_phy.h +4 -3
index 8bef1ab62bba..4e27ca7c49de 100644

Lines of this file are not shown. View the raw message.

include/linux/phylink.h +2 -2
index 1817940a3418..4dff1eba425b 100644

Lines of this file are not shown. View the raw message.

include/linux/tca6416_keypad.h +0 -1
index b0d36a9934cc..5cf6f6f82aa7 100644

Lines of this file are not shown. View the raw message.

include/net/ip.h +2 -1
index 19adacd5ece0..3489a1cca5e7 100644

Lines of this file are not shown. View the raw message.

include/net/ip6_fib.h +4 -1
index 05e6f756feaf..9ba6413fd2e3 100644

Lines of this file are not shown. View the raw message.

include/net/ip_fib.h +4 -1
index a378eff827c7..f0c13864180e 100644

Lines of this file are not shown. View the raw message.

include/net/ip_tunnels.h +7 -8
index ed4b6ad3fcac..cd0e2744f66f 100644

Lines of this file are not shown. View the raw message.

include/net/ipv6.h +6 -1
index 2acc4c808d45..a14ac821fb36 100644

Lines of this file are not shown. View the raw message.

include/net/scm.h +9 -5
index c5bcdf65f55c..e8c76b4be2fe 100644

Lines of this file are not shown. View the raw message.

include/net/sock.h +19 -10
index e8927f2d47a3..4e787285fc66 100644

Lines of this file are not shown. View the raw message.

kernel/auditsc.c +2 -0
index 8dfd581cd554..eae5dfe9b9a0 100644

Lines of this file are not shown. View the raw message.

kernel/bpf/bpf_local_storage.c +15 -34

49 lines not on this page · raw message

kernel/bpf/core.c +2 -8
index dc85240a0134..e3e45b651cd4 100644

Lines of this file are not shown. View the raw message.

kernel/bpf/syscall.c +1 -1
index a2aef900519c..1480b6cf12f0 100644

Lines of this file are not shown. View the raw message.

kernel/bpf/trampoline.c +2 -3
index 78acf28d4873..53ff50cac61e 100644

Lines of this file are not shown. View the raw message.

kernel/trace/bpf_trace.c +0 -11
index 30d8db47c1e2..abf287b2678a 100644

Lines of this file are not shown. View the raw message.

lib/idr.c +1 -1
index 7ecdfdb5309e..13f2758c2377 100644

Lines of this file are not shown. View the raw message.

lib/kunit/test.c +2 -1
index 84e4666555c9..e8c9dd9d73a3 100644

Lines of this file are not shown. View the raw message.

lib/test_meminit.c +1 -1
index 60e1984c060f..0ae35223d773 100644

Lines of this file are not shown. View the raw message.

lib/test_scanf.c +1 -1
index b620cf7de503..a2707af2951a 100644

Lines of this file are not shown. View the raw message.

mm/hugetlb_vmemmap.c +14 -20
index c2007ef5e9b0..4b9734777f69 100644

Lines of this file are not shown. View the raw message.

mm/memcontrol.c +17 -15
index 315fd5f45e3c..e79267c1eee0 100644

Lines of this file are not shown. View the raw message.

mm/mremap.c +1 -1
index 11e06e4ab33b..91f0173d396f 100644

Lines of this file are not shown. View the raw message.

mm/vmscan.c +7 -6
index 5be64834a852..da152407bc2b 100644

Lines of this file are not shown. View the raw message.

net/can/j1939/socket.c +6 -4
index feaec4ad6d16..b28c976f52a0 100644

Lines of this file are not shown. View the raw message.

net/core/flow_dissector.c +1 -2
index 85a2d0d9bd39..6bed3992df81 100644

Lines of this file are not shown. View the raw message.

net/core/skbuff.c +6 -4
index acdf94bb54c8..7dfae58055c2 100644

Lines of this file are not shown. View the raw message.

net/core/skmsg.c +8 -4
index ef1a2eb6520b..a746dbc2f887 100644

Lines of this file are not shown. View the raw message.

net/core/sock.c +14 -13
index 1c5c01b116e6..29c6cb030818 100644

Lines of this file are not shown. View the raw message.

net/handshake/netlink.c +6 -12
index 1086653e1fad..d0bc1dd8e65a 100644

Lines of this file are not shown. View the raw message.

net/hsr/hsr_forward.c +1 -0
index 629daacc9607..b71dab630a87 100644

Lines of this file are not shown. View the raw message.

net/ipv4/devinet.c +5 -5
index 5deac0517ef7..37be82496322 100644

Lines of this file are not shown. View the raw message.

net/ipv4/fib_semantics.c +4 -1
index 65ba18a91865..eafa4a033515 100644

Lines of this file are not shown. View the raw message.

net/ipv4/fib_trie.c +2 -1
index 74d403dbd2b4..d13fb9e76b97 100644

Lines of this file are not shown. View the raw message.

net/ipv4/inet_hashtables.c +20 -16
index 0819d6001b9a..ae5e786a0598 100644

Lines of this file are not shown. View the raw message.

net/ipv4/ip_input.c +2 -1
index fe9ead9ee863..5e9c8156656a 100644

Lines of this file are not shown. View the raw message.

net/ipv4/ip_output.c +1 -1
index a6e4c82615d7..6935d07a60c3 100644

Lines of this file are not shown. View the raw message.

net/ipv4/ip_sockglue.c +1 -1
index d41bce8927b2..d7006942fc2f 100644

Lines of this file are not shown. View the raw message.

net/ipv4/route.c +1 -0
index 92fede388d52..33626619aee7 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp.c +2 -2
index 8ed52e1e3c99..75f24b931a18 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp_output.c +1 -1
index 51d8638d4b4c..9f9ca68c4702 100644

Lines of this file are not shown. View the raw message.

net/ipv4/udp.c +3 -3
index b3aa68ea29de..4c847baf52d1 100644

Lines of this file are not shown. View the raw message.

net/ipv6/addrconf.c +1 -1
index 94cec2075eee..c93a2b9a9172 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_input.c +2 -1
index d94041bb4287..b8378814532c 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_output.c +1 -1
index 016b0a513259..9270ef7f8e98 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ping.c +1 -1
index 1b2772834972..5831aaa53d75 100644

Lines of this file are not shown. View the raw message.

net/ipv6/raw.c +1 -1
index ea16734f5e1f..d52d5e34c12a 100644

Lines of this file are not shown. View the raw message.

net/ipv6/route.c +3 -0
index 56a55585eb79..a02328c93a53 100644

Lines of this file are not shown. View the raw message.

net/ipv6/udp.c +1 -1
index 3ffca158d3e1..24d3c5c79121 100644

Lines of this file are not shown. View the raw message.

net/kcm/kcmsock.c +10 -5
index 393f01b2a7e6..dd1d8ffd5f59 100644

Lines of this file are not shown. View the raw message.

net/mptcp/protocol.c +15 -8
index 0efc52c640b5..40258d9f8c79 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_tables_api.c +49 -5

54 lines not on this page · raw message

net/netfilter/nfnetlink_osf.c +8 -0
index 8f1bfa6ccc2d..50723ba08289 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_exthdr.c +14 -8
index a9844eefedeb..3fbaa7bf41f9 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_set_rbtree.c +6 -2
index c6435e709231..f250b5399344 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_fq_pie.c +19 -8
index 591d87d5e5c0..68e6acd0f130 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_plug.c +1 -1
index ea8c4a7174bb..35f49edf63db 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_qfq.c +17 -5
index befaf74b33ca..09d2955baab1 100644

Lines of this file are not shown. View the raw message.

net/sctp/proc.c +1 -1
index f13d6a34f32f..ec00ee75d59a 100644

Lines of this file are not shown. View the raw message.

net/sctp/socket.c +5 -5
index 423dc400992b..7cf207706eb6 100644

Lines of this file are not shown. View the raw message.

net/smc/smc_core.c +2 -0
index 6b78075404d7..3e89bb9b7c56 100644

Lines of this file are not shown. View the raw message.

net/socket.c +8 -7
index f49edb9b4918..b5639a650015 100644

Lines of this file are not shown. View the raw message.

net/tls/tls_sw.c +2 -2
index 53f944e6d8ef..e047abc60089 100644

Lines of this file are not shown. View the raw message.

net/unix/af_unix.c +1 -1
index 86930a8ed012..3e8a04a13668 100644

Lines of this file are not shown. View the raw message.

net/unix/scm.c +3 -3
index f9152881d77f..033e21e5c4df 100644

Lines of this file are not shown. View the raw message.

net/xdp/xsk_diag.c +3 -0
index c014217f5fa7..22b36c8143cf 100644

Lines of this file are not shown. View the raw message.

scripts/dummy-tools/gcc +1 -2
index 1db1889f6d81..07f6dc4c5cf6 100755

Lines of this file are not shown. View the raw message.

scripts/kconfig/preprocess.c +3 -0
index 748da578b418..d1f5bcff4b62 100644

Lines of this file are not shown. View the raw message.

scripts/mod/modpost.c +9 -0
index b29b29707f10..ba981f22908a 100644

Lines of this file are not shown. View the raw message.

scripts/package/mkspec +1 -1
index 8049f0e2c110..c9299f9c1f3e 100755

Lines of this file are not shown. View the raw message.

sound/soc/tegra/tegra210_sfc.c +30 -1
index e9df1ffc8a58..c2240babd601 100644

Lines of this file are not shown. View the raw message.

sound/soc/tegra/tegra210_sfc.h +2 -2
index 5a6b66e297d8..a4c993d79403 100644

Lines of this file are not shown. View the raw message.

tools/build/Makefile.build +10 -0
index 89430338a3d9..fac42486a8cf 100644

Lines of this file are not shown. View the raw message.

tools/mm/Makefile +2 -2
index 6c1da51f4177..1c5606cc3334 100644

Lines of this file are not shown. View the raw message.

tools/perf/Documentation/perf-dlfilter.txt +20 -2
index fb22e3b31dc5..8887cc20a809 100644

Lines of this file are not shown. View the raw message.

tools/perf/Makefile.perf +1 -1
index 097316ef38e6..f178b36c6940 100644

Lines of this file are not shown. View the raw message.

tools/perf/builtin-lock.c +1 -0
index c15386cb1033..0cf1c5a2e032 100644

Lines of this file are not shown. View the raw message.

tools/perf/builtin-script.c +11 -11
index 200b3e7ea8da..517bf25750c8 100644

Lines of this file are not shown. View the raw message.

tools/perf/builtin-top.c +1 -0
index 1baa2acb3ced..ea8c7eca5eee 100644

Lines of this file are not shown. View the raw message.

tools/perf/builtin-trace.c +2 -7
index 6e73d0e95715..4aba576512a1 100644

Lines of this file are not shown. View the raw message.

tools/perf/dlfilters/dlfilter-test-api-v2.c new file +377 -0

377 lines not on this page · raw message

tools/perf/include/perf/perf_dlfilter.h +9 -2
index a26e2f129f83..16fc4568ac53 100644

Lines of this file are not shown. View the raw message.

tools/perf/pmu-events/Build +6 -0
index 150765f2baee..1d18bb89402e 100644

Lines of this file are not shown. View the raw message.

tools/perf/pmu-events/arch/arm64/ampere/ampereone/cache.json +0 -3
index fc0633054211..7a2b7b200f14 100644

Lines of this file are not shown. View the raw message.

tools/perf/pmu-events/arch/powerpc/power10/cache.json +1 -46

47 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power10/floating_point.json +63 -3

66 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power10/frontend.json +4 -184

188 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power10/marked.json +147 -47

194 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power10/memory.json +3 -88

91 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power10/metrics.json +25 -31

56 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power10/others.json +27 -182

209 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power10/pipeline.json +202 -67

269 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power10/pmc.json +184 -9

193 lines not on this page · raw message

tools/perf/pmu-events/arch/powerpc/power10/translation.json +1 -41

42 lines not on this page · raw message

tools/perf/pmu-events/jevents.py +1 -1
index 12e80bb7939b..82c42c46d886 100755

Lines of this file are not shown. View the raw message.

tools/perf/tests/dlfilter-test.c +28 -10
index 086fd2179e41..da3a9b50b1b1 100644

Lines of this file are not shown. View the raw message.

tools/perf/tests/shell/stat_bpf_counters.sh +2 -2
index 13473aeba489..6bf24b85294c 100755

Lines of this file are not shown. View the raw message.

tools/perf/tests/shell/stat_bpf_counters_cgrp.sh +12 -16
index d724855d097c..e75d0780dc78 100755

Lines of this file are not shown. View the raw message.

tools/perf/ui/browsers/hists.c +25 -35

60 lines not on this page · raw message

tools/perf/util/annotate.c +7 -3
index ba988a13dacb..82956adf9963 100644

Lines of this file are not shown. View the raw message.

tools/perf/util/bpf-filter.c +12 -2
index 0b30688d78a7..b51544996046 100644

Lines of this file are not shown. View the raw message.

tools/perf/util/dlfilter.c +30 -0
index 46f74b2344db..e0f822ebb9b9 100644

Lines of this file are not shown. View the raw message.

tools/perf/util/expr.c +2 -2
index 4814262e3805..7410a165f68b 100644

Lines of this file are not shown. View the raw message.

tools/perf/util/header.c +22 -20

42 lines not on this page · raw message

tools/perf/util/parse-events.c +2 -2
index c9ec0cafb69d..30311844eea7 100644

Lines of this file are not shown. View the raw message.

tools/perf/util/parse-events.y +164 -92

256 lines not on this page · raw message

tools/perf/util/pmu.c +2 -2
index 28380e7aa8d0..d5406effc169 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/bpf/prog_tests/bpf_obj_pinning.c +3 -2
index 31f1e815f671..ee0458a5ce78 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/bpf/prog_tests/sockmap_helpers.h +26 -0
index d12665490a90..36d829a65aa4 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/bpf/prog_tests/sockmap_listen.c +7 -0
index 5674a9d0cacf..8df8cbb447f1 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-dynstring.tc +1 -1
index 213d890ed188..174376ddbc6c 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic_event_syntax_errors.tc +1 -1
index 955e3ceea44b..b927ee54c02d 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/kselftest/runner.sh +2 -1
index 1c952d1401d4..70e0a465e30d 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/lib.mk +2 -2
index d17854285f2b..118e0964bda9 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/net/bind_wildcard.c +1 -1
index 58edfc15d28b..e7ebe72e879d 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.