Skip to contentSkip to conversation

Linux 5.10.219

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Jun 16, 2024 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 5.10.219 kernel.

All users of the 5.10 kernel series must upgrade.

The updated 5.10.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.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/devicetree/bindings/sound/rt5645.txt     |    6 
 Documentation/driver-api/fpga/fpga-bridge.rst          |   10 
 Documentation/driver-api/fpga/fpga-mgr.rst             |   12 
 Documentation/driver-api/fpga/fpga-programming.rst     |    8 
 Documentation/driver-api/fpga/fpga-region.rst          |   33 +
 Documentation/filesystems/f2fs.rst                     |   36 ++
 Makefile                                               |    2 
 arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi         |    2 
 arch/arm64/boot/dts/nvidia/tegra132-norrin.dts         |    4 
 arch/arm64/boot/dts/nvidia/tegra132.dtsi               |    2 
 arch/arm64/boot/dts/qcom/qcs404-evb.dtsi               |    2 
 arch/arm64/include/asm/asm-bug.h                       |    1 
 arch/arm64/kvm/guest.c                                 |    1 
 arch/m68k/kernel/entry.S                               |    4 
 arch/m68k/mac/misc.c                                   |   36 +-
 arch/microblaze/kernel/Makefile                        |    1 
 arch/microblaze/kernel/cpu/cpuinfo-static.c            |    2 
 arch/parisc/kernel/parisc_ksyms.c                      |    1 
 arch/powerpc/include/asm/hvcall.h                      |    2 
 arch/powerpc/platforms/pseries/lpar.c                  |    6 
 arch/powerpc/platforms/pseries/lparcfg.c               |    6 
 arch/powerpc/sysdev/fsl_msi.c                          |    2 
 arch/s390/kernel/ipl.c                                 |   10 
 arch/sh/kernel/kprobes.c                               |    7 
 arch/sh/lib/checksum.S                                 |   67 +--
 arch/sparc/include/asm/smp_64.h                        |    2 
 arch/sparc/include/uapi/asm/termbits.h                 |   10 
 arch/sparc/include/uapi/asm/termios.h                  |    9 
 arch/sparc/kernel/prom_64.c                            |    4 
 arch/sparc/kernel/setup_64.c                           |    1 
 arch/sparc/kernel/smp_64.c                             |   14 
 arch/um/drivers/line.c                                 |   14 
 arch/um/drivers/ubd_kern.c                             |    4 
 arch/um/drivers/vector_kern.c                          |    2 
 arch/um/include/asm/mmu.h                              |    2 
 arch/um/include/shared/skas/mm_id.h                    |    2 
 arch/x86/Kconfig.debug                                 |    5 
 arch/x86/crypto/nh-avx2-x86_64.S                       |    1 
 arch/x86/crypto/sha256-avx2-asm.S                      |    1 
 arch/x86/entry/vsyscall/vsyscall_64.c                  |   28 -
 arch/x86/include/asm/processor.h                       |    1 
 arch/x86/kernel/apic/vector.c                          |    9 
 arch/x86/kernel/tsc_sync.c                             |    6 
 arch/x86/lib/x86-opcode-map.txt                        |    2 
 arch/x86/mm/fault.c                                    |   27 -
 arch/x86/purgatory/Makefile                            |    3 
 arch/x86/tools/relocs.c                                |    9 
 crypto/ecrdsa.c                                        |    1 
 drivers/accessibility/speakup/main.c                   |    2 
 drivers/acpi/acpica/Makefile                           |    1 
 drivers/acpi/resource.c                                |   12 
 drivers/android/binder.c                               |    4 
 drivers/ata/pata_legacy.c                              |    8 
 drivers/block/null_blk/main.c                          |    3 
 drivers/char/ppdev.c                                   |   21 -
 drivers/clk/qcom/mmcc-msm8998.c                        |    8 
 drivers/cpufreq/cpufreq.c                              |   83 ++--
 drivers/crypto/bcm/spu2.c                              |    2 
 drivers/crypto/ccp/sp-platform.c                       |   14 
 drivers/crypto/qat/qat_common/adf_aer.c                |   19 -
 drivers/dma-buf/sync_debug.c                           |    4 
 drivers/dma/idma64.c                                   |    4 
 drivers/extcon/Kconfig                                 |    3 
 drivers/firmware/dmi-id.c                              |    7 
 drivers/firmware/raspberrypi.c                         |    7 
 drivers/fpga/dfl-fme-region.c                          |   17 
 drivers/fpga/dfl.c                                     |   12 
 drivers/fpga/fpga-region.c                             |  145 +++-----
 drivers/fpga/of-fpga-region.c                          |   10 
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c                 |    3 
 drivers/gpu/drm/amd/amdkfd/kfd_process.c               |    8 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c      |    1 
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c |    5 
 drivers/gpu/drm/arm/malidp_mw.c                        |    5 
 drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c    |    3 
 drivers/gpu/drm/bridge/lontium-lt9611.c                |    6 
 drivers/gpu/drm/bridge/tc358775.c                      |   27 -
 drivers/gpu/drm/drm_mipi_dsi.c                         |    6 
 drivers/gpu/drm/mediatek/mtk_drm_gem.c                 |    3 
 drivers/gpu/drm/meson/meson_vclk.c                     |    6 
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c   |    3 
 drivers/gpu/drm/panel/panel-simple.c                   |    3 
 drivers/gpu/drm/vc4/vc4_hdmi.c                         |    2 
 drivers/hid/intel-ish-hid/ipc/pci-ish.c                |    5 
 drivers/hwmon/shtc1.c                                  |    2 
 drivers/hwtracing/intel_th/pci.c                       |    5 
 drivers/hwtracing/stm/core.c                           |   11 
 drivers/iio/pressure/dps310.c                          |   11 
 drivers/infiniband/hw/hns/hns_roce_alloc.c             |  128 ++++---
 drivers/infiniband/hw/hns/hns_roce_cmd.c               |   10 
 drivers/infiniband/hw/hns/hns_roce_cmd.h               |    2 
 drivers/infiniband/hw/hns/hns_roce_common.h            |   14 
 drivers/infiniband/hw/hns/hns_roce_db.c                |    8 
 drivers/infiniband/hw/hns/hns_roce_device.h            |  115 +++---
 drivers/infiniband/hw/hns/hns_roce_hem.h               |   12 
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c             |    8 
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c             |   35 +-
 drivers/infiniband/hw/hns/hns_roce_main.c              |    2 
 drivers/infiniband/hw/hns/hns_roce_mr.c                |   65 +--
 drivers/infiniband/hw/hns/hns_roce_qp.c                |  129 ++++++-
 drivers/infiniband/ulp/ipoib/ipoib_vlan.c              |    8 
 drivers/input/misc/ims-pcu.c                           |    4 
 drivers/input/misc/pm8xxx-vibrator.c                   |    7 
 drivers/input/serio/ioc3kbd.c                          |   13 
 drivers/irqchip/irq-alpine-msi.c                       |    2 
 drivers/irqchip/irq-loongson-pch-msi.c                 |    2 
 drivers/macintosh/via-macii.c                          |   11 
 drivers/md/md-bitmap.c                                 |    6 
 drivers/md/raid5.c                                     |   15 
 drivers/media/cec/core/cec-adap.c                      |  291 ++++++++++-------
 drivers/media/cec/core/cec-api.c                       |   31 -
 drivers/media/cec/core/cec-core.c                      |    7 
 drivers/media/cec/core/cec-pin-priv.h                  |   11 
 drivers/media/cec/core/cec-pin.c                       |   23 -
 drivers/media/cec/core/cec-priv.h                      |   10 
 drivers/media/dvb-frontends/lgdt3306a.c                |    5 
 drivers/media/dvb-frontends/mxl5xx.c                   |   22 -
 drivers/media/mc/mc-devnode.c                          |    5 
 drivers/media/pci/ngene/ngene-core.c                   |    4 
 drivers/media/radio/radio-shark2.c                     |    2 
 drivers/media/usb/b2c2/flexcop-usb.c                   |   12 
 drivers/media/usb/stk1160/stk1160-video.c              |   20 -
 drivers/media/v4l2-core/v4l2-dev.c                     |    3 
 drivers/mmc/core/host.c                                |    3 
 drivers/mmc/core/slot-gpio.c                           |   20 +
 drivers/mmc/host/sdhci-acpi.c                          |   48 ++
 drivers/mmc/host/sdhci_am654.c                         |  205 ++++++++---
 drivers/mtd/nand/raw/nand_hynix.c                      |    2 
 drivers/net/ethernet/cisco/enic/enic_main.c            |   12 
 drivers/net/ethernet/cortina/gemini.c                  |   12 
 drivers/net/ethernet/freescale/fec_main.c              |   10 
 drivers/net/ethernet/freescale/fec_ptp.c               |   14 
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c          |    3 
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c      |    2 
 drivers/net/ethernet/qlogic/qed/qed_main.c             |    9 
 drivers/net/ethernet/smsc/smc91x.h                     |    4 
 drivers/net/ethernet/sun/sungem.c                      |   14 
 drivers/net/ipvlan/ipvlan_core.c                       |    4 
 drivers/net/usb/aqc111.c                               |    8 
 drivers/net/usb/qmi_wwan.c                             |    3 
 drivers/net/usb/smsc95xx.c                             |   26 -
 drivers/net/usb/sr9700.c                               |   10 
 drivers/net/vxlan/vxlan_core.c                         |    4 
 drivers/net/wireless/ath/ar5523/ar5523.c               |   14 
 drivers/net/wireless/ath/ath10k/core.c                 |    3 
 drivers/net/wireless/ath/ath10k/debugfs_sta.c          |    2 
 drivers/net/wireless/ath/ath10k/hw.h                   |    1 
 drivers/net/wireless/ath/ath10k/targaddrs.h            |    3 
 drivers/net/wireless/ath/ath10k/wmi.c                  |   26 +
 drivers/net/wireless/ath/carl9170/usb.c                |   32 +
 drivers/net/wireless/marvell/mwl8k.c                   |    2 
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c  |   26 -
 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c   |   21 -
 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h   |   79 +---
 drivers/nvme/host/multipath.c                          |    3 
 drivers/nvme/target/configfs.c                         |    8 
 drivers/pci/pcie/edr.c                                 |   28 -
 drivers/regulator/bd71828-regulator.c                  |   58 ---
 drivers/regulator/vqmmc-ipq4019-regulator.c            |    1 
 drivers/s390/cio/trace.h                               |    2 
 drivers/s390/crypto/ap_bus.c                           |    2 
 drivers/scsi/bfa/bfad_debugfs.c                        |    4 
 drivers/scsi/hpsa.c                                    |    2 
 drivers/scsi/libsas/sas_expander.c                     |    3 
 drivers/scsi/qedf/qedf_debugfs.c                       |    2 
 drivers/scsi/qla2xxx/qla_init.c                        |    8 
 drivers/scsi/qla2xxx/qla_mr.c                          |   20 -
 drivers/scsi/ufs/cdns-pltfrm.c                         |    2 
 drivers/scsi/ufs/ufs-qcom.c                            |   31 +
 drivers/scsi/ufs/ufs-qcom.h                            |   21 -
 drivers/scsi/ufs/ufshcd.c                              |    4 
 drivers/soc/mediatek/mtk-cmdq-helper.c                 |    5 
 drivers/soundwire/cadence_master.c                     |    2 
 drivers/spi/spi-stm32.c                                |    2 
 drivers/spi/spi.c                                      |    4 
 drivers/staging/greybus/arche-apb-ctrl.c               |    1 
 drivers/staging/greybus/arche-platform.c               |    9 
 drivers/staging/greybus/light.c                        |    8 
 drivers/staging/media/atomisp/pci/sh_css.c             |    1 
 drivers/tty/n_gsm.c                                    |    8 
 drivers/tty/serial/max3100.c                           |   22 +
 drivers/tty/serial/sc16is7xx.c                         |    2 
 drivers/tty/serial/sh-sci.c                            |    5 
 drivers/usb/gadget/function/u_audio.c                  |    2 
 drivers/video/fbdev/Kconfig                            |    4 
 drivers/video/fbdev/savage/savagefb_driver.c           |    5 
 drivers/video/fbdev/sh_mobile_lcdcfb.c                 |    2 
 drivers/video/fbdev/sis/init301.c                      |    3 
 drivers/virtio/virtio_pci_common.c                     |    4 
 drivers/watchdog/rti_wdt.c                             |   34 -
 fs/afs/mntpt.c                                         |    5 
 fs/ecryptfs/keystore.c                                 |    4 
 fs/ext4/mballoc.c                                      |  134 +++----
 fs/ext4/namei.c                                        |    2 
 fs/ext4/xattr.c                                        |    4 
 fs/f2fs/checkpoint.c                                   |    4 
 fs/f2fs/compress.c                                     |   91 ++---
 fs/f2fs/data.c                                         |   10 
 fs/f2fs/extent_cache.c                                 |    4 
 fs/f2fs/f2fs.h                                         |   52 ++-
 fs/f2fs/file.c                                         |   86 +++--
 fs/f2fs/inode.c                                        |    9 
 fs/f2fs/namei.c                                        |    2 
 fs/f2fs/node.c                                         |    2 
 fs/f2fs/segment.c                                      |    4 
 fs/f2fs/super.c                                        |   32 +
 fs/gfs2/glock.c                                        |    4 
 fs/gfs2/util.c                                         |    1 
 fs/jffs2/xattr.c                                       |    3 
 fs/nfs/internal.h                                      |    4 
 fs/nfs/nfs4proc.c                                      |    2 
 fs/nilfs2/ioctl.c                                      |    2 
 fs/nilfs2/segment.c                                    |   63 ++-
 fs/openpromfs/inode.c                                  |    8 
 include/drm/drm_mipi_dsi.h                             |    6 
 include/linux/f2fs_fs.h                                |    3 
 include/linux/fpga/fpga-region.h                       |   43 +-
 include/linux/mmc/slot-gpio.h                          |    1 
 include/linux/moduleparam.h                            |    2 
 include/media/cec.h                                    |   26 +
 include/media/v4l2-h264.h                              |    6 
 include/media/v4l2-jpeg.h                              |    2 
 include/net/dst_ops.h                                  |    2 
 include/net/inet6_hashtables.h                         |   16 
 include/net/inet_hashtables.h                          |   18 -
 include/net/netfilter/nf_tables.h                      |    2 
 include/net/sock.h                                     |   13 
 include/sound/soc-acpi.h                               |    6 
 include/trace/events/asoc.h                            |    2 
 include/uapi/linux/cec.h                               |    3 
 include/uapi/linux/v4l2-subdev.h                       |   12 
 include/uapi/linux/videodev2.h                         |   15 
 io_uring/io_uring.c                                    |    2 
 kernel/bpf/verifier.c                                  |   10 
 kernel/cgroup/cpuset.c                                 |    2 
 kernel/debug/kdb/kdb_io.c                              |   99 +++--
 kernel/irq/cpuhotplug.c                                |   16 
 kernel/params.c                                        |   18 +
 kernel/sched/topology.c                                |    2 
 kernel/trace/ring_buffer.c                             |    9 
 net/9p/client.c                                        |    2 
 net/core/dev.c                                         |    3 
 net/ipv4/inet_hashtables.c                             |   29 +
 net/ipv4/netfilter/nf_tproxy_ipv4.c                    |    2 
 net/ipv4/route.c                                       |   22 -
 net/ipv4/tcp_dctcp.c                                   |   13 
 net/ipv4/tcp_ipv4.c                                    |   13 
 net/ipv4/udp.c                                         |   55 +--
 net/ipv6/inet6_hashtables.c                            |   27 -
 net/ipv6/reassembly.c                                  |    2 
 net/ipv6/route.c                                       |   34 +
 net/ipv6/seg6.c                                        |    5 
 net/ipv6/seg6_hmac.c                                   |   42 +-
 net/ipv6/udp.c                                         |   61 +--
 net/netfilter/nf_tables_api.c                          |   22 -
 net/netfilter/nfnetlink_queue.c                        |    2 
 net/netfilter/nft_payload.c                            |   23 -
 net/netfilter/nft_tunnel.c                             |    1 
 net/netrom/nr_route.c                                  |   19 -
 net/nfc/nci/core.c                                     |   17 
 net/openvswitch/actions.c                              |    6 
 net/openvswitch/flow.c                                 |    3 
 net/packet/af_packet.c                                 |    3 
 net/qrtr/af_qrtr.c                                     |   16 
 net/qrtr/ns.c                                          |   34 +
 net/qrtr/qrtr.h                                        |    2 
 net/sunrpc/auth_gss/svcauth_gss.c                      |   12 
 net/sunrpc/clnt.c                                      |    1 
 net/sunrpc/svc.c                                       |    2 
 net/sunrpc/xprtrdma/verbs.c                            |    6 
 net/sunrpc/xprtsock.c                                  |   18 -
 net/tls/tls_main.c                                     |   10 
 net/unix/af_unix.c                                     |    2 
 net/wireless/trace.h                                   |    4 
 net/xfrm/xfrm_policy.c                                 |   11 
 scripts/kconfig/symbol.c                               |    6 
 sound/core/init.c                                      |    2 
 sound/core/timer.c                                     |   10 
 sound/soc/codecs/da7219-aad.c                          |    6 
 sound/soc/codecs/rt5645.c                              |   25 +
 sound/soc/codecs/rt715-sdw.c                           |    1 
 sound/soc/codecs/tas2552.c                             |   15 
 sound/soc/intel/boards/bxt_da7219_max98357a.c          |    1 
 sound/soc/intel/boards/bxt_rt298.c                     |    1 
 sound/soc/intel/boards/glk_rt5682_max98357a.c          |    2 
 sound/soc/intel/boards/kbl_da7219_max98357a.c          |    1 
 sound/soc/intel/boards/kbl_da7219_max98927.c           |    4 
 sound/soc/intel/boards/kbl_rt5660.c                    |    1 
 sound/soc/intel/boards/kbl_rt5663_max98927.c           |    2 
 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c    |    1 
 sound/soc/intel/boards/skl_hda_dsp_generic.c           |    2 
 sound/soc/intel/boards/skl_nau88l25_max98357a.c        |    1 
 sound/soc/intel/boards/skl_rt286.c                     |    1 
 tools/arch/x86/lib/x86-opcode-map.txt                  |    2 
 tools/bpf/resolve_btfids/main.c                        |    2 
 tools/lib/subcmd/parse-options.c                       |    8 
 tools/testing/selftests/bpf/test_sockmap.c             |    2 
 tools/testing/selftests/filesystems/binderfs/Makefile  |    2 
 tools/testing/selftests/kcmp/kcmp_test.c               |    8 
 299 files changed, 2650 insertions(+), 1755 deletions(-)

Aaron Conole (1):
openvswitch: Set the skbuff pkt_type for proper pmtud support.

Abel Vesa (1):
scsi: ufs: ufs-qcom: Clear qunipro_g4_sel for HW version major 5

Adrian Hunter (1):
x86/insn: Fix PUSH instruction in x86 instruction decoder opcode map

Akiva Goldberger (1):
net/mlx5: Discard command completions in internal error

Al Viro (1):
parisc: add missing export of __cmpxchg_u8()

Aleksandr Aprelkov (1):
sunrpc: removed redundant procp check

Aleksandr Burakov (1):
media: ngene: Add dvb_ca_en50221_init return value check

Aleksandr Mishin (3):
crypto: bcm - Fix pointer arithmetic
drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference
drm: vc4: Fix possible null pointer dereference

Alexander Egorenkov (2):
s390/ipl: Fix incorrect initialization of len fields in nvme reipl block s390/ipl: Fix incorrect initialization of nvme dump block

Alexander Shishkin (1):
intel_th: pci: Add Meteor Lake-S CPU support

Andreas Gruenbacher (1):
gfs2: Fix "ignore unlock failures after withdraw"

Andrew Halaney (7):
scsi: ufs: qcom: Perform read back after writing reset bit
scsi: ufs: qcom: Perform read back after writing REG_UFS_SYS1CLK_1US
scsi: ufs: qcom: Perform read back after writing unipro mode
scsi: ufs: qcom: Perform read back after writing CGC enable
scsi: ufs: cdns-pltfrm: Perform read back after writing HCLKDIV
scsi: ufs: core: Perform read back after disabling interrupts
scsi: ufs: core: Perform read back after disabling UIC_COMMAND_COMPL

Andy Shevchenko (4):
serial: max3100: Lock port->lock when calling uart_handle_cts_change()
serial: max3100: Update uart_driver_registered on driver removal
serial: max3100: Fix bitwise types
spi: Don't mark message DMA mapped when no transfer in it is

Anna Schumaker (1):
NFS: Fix READ_PLUS when server doesn't support OP_READ_PLUS

Ard Biesheuvel (1):
x86/purgatory: Switch to the position-independent small code model

Arnd Bergmann (10):
nilfs2: fix out-of-range warning
crypto: ccp - drop platform ifdef checks
qed: avoid truncating work queue length
ACPI: disable -Wstringop-truncation
fbdev: shmobile: fix snprintf truncation powerpc/fsl-soc: hide unused const variable
fbdev: sisfb: hide unused variables
firmware: dmi-id: add a release callback function
greybus: arche-ctrl: move device table to its right location
Input: ims-pcu - fix printf string overflow

Azeem Shaikh (1):
scsi: qla2xxx: Replace all non-returning strlcpy() with strscpy()

Baochen Qiang (1):
wifi: ath10k: poll service ready message before failing

Baokun Li (1):
ext4: fix mb_cache_entry's e_refcnt leak in ext4_xattr_block_cache_find()

Bitterblue Smith (3):
wifi: rtl8xxxu: Fix the TX power of RTL8192CU, RTL8723AU
wifi: rtlwifi: rtl8192de: Fix low speed with WPA3-SAE
wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path

Bob Zhou (1):
drm/amdgpu: add error handle to avoid out-of-bounds

Breno Leitao (1):
af_unix: Fix data races in unix_release_sock/unix_stream_sendmsg

Brian Kubisiak (1):
ecryptfs: Fix buffer size for tag 66 packet

Bui Quang Minh (2):
scsi: bfa: Ensure the copied buf is NUL terminated
scsi: qedf: Ensure the copied buf is NUL terminated

Cai Xinchen (1):
fbdev: savage: Handle err return when savagefb_check_var failed

Carlos Llamas (1):
binder: fix max_thread type inconsistency

Carolina Jubran (1):
net/mlx5e: Use rx_missed_errors instead of rx_dropped for reporting buffer exhaustion

Cezary Rojewski (1):
ASoC: Intel: Disable route checks for Skylake boards

Chao Yu (14):
f2fs: fix to wait on page writeback in __clone_blkaddrs()
f2fs: compress: support chksum
f2fs: compress: clean up parameter of __f2fs_cluster_blocks()
f2fs: compress: remove unneeded preallocation
f2fs: compress: fix to relocate check condition in f2fs_{release,reserve}_compress_blocks()
f2fs: add cp_error check in f2fs_write_compressed_pages
f2fs: fix to force keeping write barrier for strict fsync mode
f2fs: fix to relocate check condition in f2fs_fallocate()
f2fs: fix to check pinfile flag in f2fs_move_file_range()
f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock
f2fs: fix to release node block count in error path of f2fs_new_node_page()
f2fs: compress: don't allow unaligned truncation on released compress inode
f2fs: fix to do sanity check on i_xattr_nid in sanity_check_inode()
f2fs: compress: fix compression chksum

Chen Ni (2):
HID: intel-ish-hid: ipc: Add check for pci_alloc_irq_vectors
dmaengine: idma64: Add check for dma_set_max_seg_size

Chengchang Tang (3):
RDMA/hns: Use complete parentheses in macros RDMA/hns: Modify the print level of CQE error RDMA/hns: Fix CQ and QP cache affinity

Chris Lew (1):
net: qrtr: ns: Fix module refcnt

Chris Wulff (1):
usb: gadget: u_audio: Clear uac pointer when freed.

Christian Hewitt (1):
drm/meson: vclk: fix calculation of 59.94 fractional rates

Christoffer Sandberg (1):
ACPI: resource: Do IRQ override on TongFang GXxHRXx and GMxHGxx

Christophe JAILLET (1):
ppdev: Remove usage of the deprecated ida_simple_xx() API

Chuck Lever (2):
SUNRPC: Fix gss_free_in_token_pages()
SUNRPC: Fix loop termination condition in gss_free_in_token_pages()

Chun-Kuang Hu (1):
soc: mediatek: cmdq: Fix typo of CMDQ_JUMP_RELATIVE

Dae R. Jeong (1):
tls: fix missing memory barrier in tls_init

Daeho Jeong (1):
f2fs: add compress_mode mount option

Dan Aloni (2):
sunrpc: fix NFSACL RPC retry on soft mount
rpcrdma: fix handling for RDMA_CM_EVENT_DEVICE_REMOVAL

Dan Carpenter (5):
speakup: Fix sizeof() vs ARRAY_SIZE() bug
wifi: mwl8k: initialize cmd->addr[] properly
ext4: fix potential unnitialized variable
stm class: Fix a double free in stm_register_device()
media: stk1160: fix bounds checking in stk1160_copy_video()

Daniel Borkmann (1):
vxlan: Fix regression when dropping packets due to invalid src addresses

Daniel J Blueman (1):
x86/tsc: Trust initial offset in architectural TSC-adjust MSRs

Daniel Starke (1):
tty: n_gsm: fix possible out-of-bounds in gsm0_receive()

Daniel Thompson (5):
kdb: Fix buffer overflow during tab-complete
kdb: Use format-strings rather than '\0' injection in kdb_read()
kdb: Fix console handling when editing and tab-completing commands
kdb: Merge identical case statements in kdb_read()
kdb: Use format-specifiers rather than memset() for padding in kdb_read()

Daniele Palmas (1):
net: usb: qmi_wwan: add Telit FN920C04 compositions

Derek Fang (2):
ASoC: rt5645: Fix the electric noise due to the CBJ contacts floating
ASoC: dt-bindings: rt5645: add cbj sleeve gpio property

Dmitry Baryshkov (2):
wifi: ath10k: populate board data for WCN3990 drm/mipi-dsi: use correct return type for the DSC functions

Dongli Zhang (1):
genirq/cpuhotplug, x86/vector: Prevent vector leak during CPU offline

Dongliang Mu (1):
media: flexcop-usb: fix sanity check of bNumEndpoints

Duoming Zhou (1):
um: Fix return value in ubd_init()

Edward Liaw (1):
selftests/kcmp: remove unused open mode

Eric Biggers (2):
crypto: x86/nh-avx2 - add missing vzeroupper
crypto: x86/sha256-avx2 - add missing vzeroupper

Eric Dumazet (9):
tcp: avoid premature drops in tcp_add_backlog()
net: give more chances to rcu in netdev_wait_allrefs_any()
usb: aqc111: stop lying about skb->truesize
net: usb: sr9700: stop lying about skb->truesize
net: usb: smsc95xx: stop lying about skb->truesize
netrom: fix possible dead-lock in nr_rt_ioctl()
af_packet: do not call packet_read_pending() from tpacket_destruct_skb()
netfilter: nfnetlink_queue: acquire rcu_read_lock() in instance_destroy_rcu()
net: fix __dst_negative_advice() race

Eric Sandeen (1):
openpromfs: finish conversion to the new mount API

Fenglin Wu (1):
Input: pm8xxx-vibrator - correct VIB_MAX_LEVELS calculation

Finn Thain (2):
macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"
m68k: mac: Fix reboot hang on Mac IIci

Florian Westphal (1):
netfilter: tproxy: bail out if IP has been disabled on the device

Friedrich Vock (1):
bpf: Fix potential integer overflow in resolve_btfids

Gabriel Krisman Bertazi (1):
udp: Avoid call to compute_score on multiple sites

Gautam Menghani (1):
selftests/kcmp: Make the test output consistent and clear

Geert Uytterhoeven (1):
sh: kprobes: Merge arch_copy_kprobe() into arch_prepare_kprobe()

Geliang Tang (1):
selftests/bpf: Fix umount cgroup2 error in test_sockmap

Greg Kroah-Hartman (1):

      Linux 5.10.219

Guenter Roeck (2):
Revert "sh: Handle calling csum_partial with misaligned data"
hwmon: (shtc1) Fix property misspelling

Guixiong Wei (1):
x86/boot: Ignore relocations in .notes sections in walk_relocs() too

Hangbin Liu (4):
ipv6: sr: add missing seg6_local_exit
ipv6: sr: fix incorrect unregister order
ipv6: sr: fix invalid unregister error path
ipv6: sr: fix memleak in seg6_hmac_init_algo

Hans Verkuil (14):
media: cec: cec-adap: always cancel work in cec_transmit_msg_fh
media: cec: cec-api: add locking in cec_release()
media: core headers: fix kernel-doc warnings
media: cec: fix a deadlock situation
media: cec: call enable_adap on s_log_addrs
media: cec: abort if the current transmit was canceled
media: cec: correctly pass on reply results
media: cec: use call_op and check for !unregistered
media: cec-adap.c: drop activate_cnt, use state info instead
media: cec: core: avoid recursive cec_claim_log_addrs
media: cec: core: avoid confusing "transmit timed out" message
media: cec: core: add adap_nb_transmit_canceled() callback
media: mc: mark the media devnode as registered from the, start
media: v4l2-core: hold videodev_lock until dev reg, finishes

Hans de Goede (4):
mmc: core: Add mmc_gpiod_set_cd_config() function
mmc: sdhci-acpi: Sort DMI quirks alphabetically
mmc: sdhci-acpi: Fix Lenovo Yoga Tablet 2 Pro 1380 sdcard slot not working
mmc: sdhci-acpi: Disable write protect detection on Toshiba WT10-A

Harald Freudenberger (1):
s390/ap: Fix crash in AP internal function modify_bitmap()

Herbert Xu (1):
crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak

Huai-Yuan Liu (2):
drm/arm/malidp: fix a possible null pointer dereference
ppdev: Add an error check in register_device

Hugo Villeneuve (1):
serial: sc16is7xx: add proper sched.h include for sched_set_fifo()

Ian Rogers (1):
libsubcmd: Fix parse-options memory leak

Igor Artemiev (1):
wifi: cfg80211: fix the order of arguments for trace events of the tx_rx_evt class

Ilya Denisyev (1):
jffs2: prevent xattr node from overflowing the eraseblock

Ilya Maximets (1):
net: openvswitch: fix overwriting ct original tuple for ICMPv6

Jack Yu (1):
ASoC: rt715: add vendor clear control register

Jaegeuk Kim (2):
f2fs: introduce FI_COMPRESS_RELEASED instead of using IMMUTABLE bit
f2fs: do not allow partial truncation on pinned file

Jakub Kicinski (1):
eth: sungem: remove .ndo_poll_controller to avoid deadlocks

Jakub Sitnicki (1):
bpf: Allow delete from sockmap/sockhash only if update is allowed

Jan Kara (1):
ext4: avoid excessive credit estimate in ext4_tmpfile()

Jiangfeng Xiao (1):
arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY

Jinyoung CHOI (1):
f2fs: fix typos in comments

Jiri Pirko (1):
virtio: delete vq in vp_find_vqs_msix() when request_irq() fails

Johan Hovold (2):
media: flexcop-usb: clean up endpoint sanity checks
arm64: dts: qcom: qcs404: fix bluetooth device address

Johannes Berg (1):
um: vector: fix bpfflash parameter evaluation

John Hubbard (1):
selftests/binderfs: use the Makefile's rules, not Make's implicit rules

Jorge Ramirez-Ortiz (1):
mmc: core: Do not force a retune before RPMB switch

Joshua Ashton (1):
drm/amd/display: Set color_mgmt_changed to true on unsuspend

Judith Mendez (6):
mmc: sdhci_am654: Add tuning algorithm for delay chain
mmc: sdhci_am654: Write ITAPDLY for DDR52 timing
mmc: sdhci_am654: Add OTAP/ITAP delay enable
mmc: sdhci_am654: Add ITAPDLYSEL in sdhci_j721e_4bit_set_clock
mmc: sdhci_am654: Fix ITAPDLY for HS400 timing
watchdog: rti_wdt: Set min_hw_heartbeat_ms to accommodate a safety margin

Justin Green (1):
drm/mediatek: Add 0 size check to mtk_drm_gem_obj

Karel Balej (1):
Input: ioc3kbd - add device table

Kemeng Shi (4):
ext4: simplify calculation of blkoff in ext4_mb_new_blocks_simple
ext4: fix unit mismatch in ext4_mb_new_blocks_simple
ext4: try all groups in ext4_mb_new_blocks_simple
ext4: remove unused parameter from ext4_mb_new_blocks_simple()

Krzysztof Kozlowski (2):
regulator: vqmmc-ipq4019: fix module autoloading
arm64: tegra: Correct Tegra132 I2C alias

Kuniyuki Iwashima (1):
tcp: Fix shift-out-of-bounds in dctcp_update_alpha().

Kuppuswamy Sathyanarayanan (2):
PCI/EDR: Align EDR_PORT_DPC_ENABLE_DSM with PCI Firmware r3.3 PCI/EDR: Align EDR_PORT_LOCATE_DSM with PCI Firmware r3.3

Lancelot SIX (1):
drm/amdkfd: Flush the process wq before creating a kfd_process

Laurent Pinchart (1):
firmware: raspberrypi: Use correct device for DMA mappings

Leon Romanovsky (1):
RDMA/IPoIB: Fix format truncation compilation errors

Linus Torvalds (1):
x86/mm: Remove broken vsyscall emulation code from the page fault code

Linus Walleij (1):
net: ethernet: cortina: Locking fixes

Lorenz Bauer (2):
net: export inet_lookup_reuseport and inet6_lookup_reuseport
net: remove duplicate reuseport_lookup functions

Manivannan Sadhasivam (1):

      scsi: ufs: ufs-qcom: Fix the Qcom register name for offset 0xD0

Marc Dionne (1):
afs: Don't cross .backup mountpoint from backup volume

Marc Gonzalez (1):
clk: qcom: mmcc-msm8998: fix venus clock issue

Marc Zyngier (1):
KVM: arm64: Allow AArch32 PSTATE.M to be restored as System mode

Marco Pagani (1):
fpga: region: add owner module and take its refcount

Marek Vasut (1):
drm/panel: simple: Add missing Innolux G121X1-L03 format, flags, connector

Marijn Suijten (1):
drm/msm/dpu: Always flush the slave INTF on the CTL

Masahiro Yamada (2):
x86/kconfig: Select ARCH_WANT_FRAME_POINTERS again when UNWINDER_FRAME_POINTER=y
kconfig: fix comparison to constant symbols, 'm', 'n'

Matti Vaittinen (1):
regulator: bd71828: Don't overwrite runtime voltages

Mauro Carvalho Chehab (1):
docs: driver-api: fpga: avoid using UTF-8 chars

Maxim Korotkov (1):
mtd: rawnand: hynix: fixed typo

Michael Schmitz (1):
m68k: Fix spinlock race in kernel thread creation

Michael Walle (1):

      drm/bridge: tc358775: fix support for jeida-18 and jeida-24

Michal Simek (2):
microblaze: Remove gcc flag for non existing early_printk.c file
microblaze: Remove early printk call from cpuinfo-static.c

Mike Gilbert (1):
sparc: move struct termio to asm/termios.h

Ming Lei (1):
io_uring: fail NOP if non-zero op flags is passed in

Nathan Chancellor (1):
media: mxl5xx: Move xpt structures off stack

Neil Armstrong (1):
scsi: ufs: ufs-qcom: Clear qunipro_g4_sel for HW major version > 5

Nikita Zhandarovich (3):
wifi: carl9170: add a proper sanity check for endpoints
wifi: ar5523: enable proper endpoint verification net/9p: fix uninit-value in p9_client_rpc()

Nilay Shroff (1):
nvme: find numa distance only if controller has valid numa id

Nícolas F. R. A. Prado (2):
drm/bridge: lt9611: Don't log an error when DSI host can't be found drm/bridge: tc358775: Don't log an error when DSI host can't be found

Pablo Neira Ayuso (2):
netfilter: nft_payload: restore vlan q-in-q match support
netfilter: nf_tables: restrict tunnel object to NFPROTO_NETDEV

Parthiban Veerasooran (1):
net: usb: smsc95xx: fix changing LED_SEL bit value updated from EEPROM

Peter Oberparleiter (1):
s390/cio: fix tracepoint subchannel type field

Petr Pavlu (1):
ring-buffer: Fix a race between readers and resize checks

Pierre-Louis Bossart (3):
ASoC: da7219-aad: fix usage of device_get_named_child_node()
ASoC: soc-acpi: add helper to identify parent driver.
soundwire: cadence: fix invalid PDI offset

Qinglang Miao (1):
net: qrtr: fix null-ptr-deref in qrtr_ns_remove

Rafael J. Wysocki (3):
cpufreq: Reorganize checks in cpufreq_offline()
cpufreq: Split cpufreq_offline()
cpufreq: Rearrange locking in cpufreq_remove_dev()

Randy Dunlap (2):
fbdev: sh7760fb: allow modular build
extcon: max8997: select IRQ_DOMAIN instead of depending on it

Ricardo Ribalda (1):
media: radio-shark2: Avoid led_names truncations

Roberto Sassu (1):
um: Add winch to winch_handlers before registering winch IRQ

Roded Zats (1):
enic: Validate length of nl attributes in enic_set_vf_port

Rui Miguel Silva (1):
greybus: lights: check return of get_channel_from_mode

Russ Weight (2):
fpga: region: Rename dev to parent for parent device
fpga: region: Use standard dev_release for class driver

Ryosuke Yasuoka (2):
nfc: nci: Fix uninit-value in nci_rx_work
nfc: nci: Fix handling of zero-length payload packets in nci_rx_work()

Ryusuke Konishi (3):
nilfs2: fix unexpected freezing of nilfs_segctor_sync()
nilfs2: fix potential hang in nilfs_detach_log_writer()
nilfs2: fix use-after-free of timer for log writer thread

Sagi Grimberg (2):
params: lift param_set_uint_minmax to common code
nvmet: fix ns enable/disable possible hang

Sam Ravnborg (1):
sparc64: Fix number of online CPUs

Sergey Shtylyov (2):
ata: pata_legacy: make legacy_exit() work again
nfs: fix undefined behavior in nfs_block_bits()

Shenghao Ding (1):
ASoC: tas2552: Add TX path for capturing AUDIO-OUT data

Shrikanth Hegde (1):
powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp

Srinivasan Shanmugam (1):
drm/amd/display: Fix potential index out of bounds in color transformation function

Steven Rostedt (1):
ASoC: tracing: Export SND_SOC_DAPM_DIR_OUT to its value

Su Hui (1):
wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger()

Takashi Iwai (2):
ALSA: core: Fix NULL module pointer assignment at card init
ALSA: timer: Set lower bound of start tick time

Tetsuo Handa (2):
nfc: nci: Fix kcov check in nci_rx_work() dma-buf/sw-sync: don't enable IRQ from sync_print_obj()

Thomas Haemmerle (1):
iio: pressure: dps310: support negative temperature values

Thorsten Blum (1):
net: smc91x: Fix m68k kernel compilation for ColdFire CPU

Tiwei Bie (1):
um: Fix the -Wmissing-prototypes warning for __switch_mm

Tom Rix (1):
fpga: region: change FPGA indirect article to an

Uwe Kleine-König (2):
Input: ioc3kbd - convert to platform remove callback returning void
spi: stm32: Don't warn about spurious interrupts

Vignesh Raghavendra (1):
mmc: sdhci_am654: Drop lookup for deprecated ti,otap-del-sel

Viresh Kumar (1):
cpufreq: exit() callback is optional

Vitalii Bursov (1):
sched/fair: Allow disabling sched_balance_newidle with sched_relax_domain_level

Vitaly Chikunov (1):
crypto: ecrdsa - Fix module auto-load on add_key

Wei Fang (1):
net: fec: avoid lock evasion when reading pps_enable

Wenpeng Liang (1):
RDMA/hns: Fix incorrect symbol types

Wolfram Sang (1):
serial: sh-sci: protect invalidating RXDMA on shutdown

Xi Wang (1):
RDMA/hns: Refactor the hns_roce_buf allocation flow

Xiaolei Wang (1):
net:fec: Add fec_enet_deinit()

Xingui Yang (1):
scsi: libsas: Fix the failure of adding phy with zero-address to port

Yang Xiwen (1):

      arm64: dts: hi3798cv200: fix the size of GICR

Yangyang Li (2):
RDMA/hns: Create QP with selected QPN for bank load balance RDMA/hns: Use mutex instead of spinlock for ida allocation

Yu Kuai (2):
md: fix resync softlockup when bitmap size is less than array size md/raid5: fix deadlock that raid5d() wait for itself to clear MD_SB_CHANGE_PENDING

Yue Haibing (1):

      ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound

Yuri Karpov (1):
scsi: hpsa: Fix allocation size for Scsi_Host private data

Zenghui Yu (2):
irqchip/alpine-msi: Fix off-by-one in allocation error path irqchip/loongson-pch-msi: Fix off-by-one on allocation error path

Zhengchao Shao (1):
RDMA/hns: Fix return value in hns_roce_map_mr_sg

Zheyu Ma (1):
media: lgdt3306a: Add a check against null-pointer-def

Zhipeng Lu (1):
media: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries

Zhu Yanjun (2):
null_blk: Fix missing mutex_destroy() at module removal
null_blk: Fix the WARNING: modpost: missing MODULE_DESCRIPTION()

Ziqi Chen (1):
scsi: ufs-qcom: Fix ufs RST_n spec violation

Ziyang Xuan (1):
netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()

gaoxingwang (1):
net: ipv6: fix wrong start position when receive hop-by-hop fragment

xu xin (1):
net/ipv6: Fix route deleting failure when metric equals 0

author maintainer
#1 lore raw
Documentation/devicetree/bindings/sound/rt5645.txt +6 -0
index 41a62fd2ae1f..c1fa379f5f3e 100644
@@ -20,6 +20,11 @@ Optional properties:
   a GPIO spec for the external headphone detect pin. If jd-mode = 0,
   we will get the JD status by getting the value of hp-detect-gpios.
 
+- cbj-sleeve-gpios:
+  a GPIO spec to control the external combo jack circuit to tie the sleeve/ring2
+  contacts to the ground or floating. It could avoid some electric noise from the
+  active speaker jacks.
+
 - realtek,in2-differential
   Boolean. Indicate MIC2 input are differential, rather than single-ended.
 
@@ -68,6 +73,7 @@ codec: rt5650@1a {
 	compatible = "realtek,rt5650";
 	reg = <0x1a>;
 	hp-detect-gpios = <&gpio 19 0>;
+	cbj-sleeve-gpios = <&gpio 20 0>;
 	interrupt-parent = <&gpio>;
 	interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
 	realtek,dmic-en = "true";
Documentation/driver-api/fpga/fpga-bridge.rst +5 -5
index 198aadafd3e7..8d650b4e2ce6 100644
@@ -4,11 +4,11 @@ FPGA Bridge
 API to implement a new FPGA bridge
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-* struct fpga_bridge — The FPGA Bridge structure
-* struct fpga_bridge_ops — Low level Bridge driver ops
-* devm_fpga_bridge_create() — Allocate and init a bridge struct
-* fpga_bridge_register() — Register a bridge
-* fpga_bridge_unregister() — Unregister a bridge
+* struct fpga_bridge - The FPGA Bridge structure
+* struct fpga_bridge_ops - Low level Bridge driver ops
+* devm_fpga_bridge_create() - Allocate and init a bridge struct
+* fpga_bridge_register() - Register a bridge
+* fpga_bridge_unregister() - Unregister a bridge
 
 .. kernel-doc:: include/linux/fpga/fpga-bridge.h
    :functions: fpga_bridge
Documentation/driver-api/fpga/fpga-mgr.rst +6 -6
index 917ee22db429..4d926b452cb3 100644
@@ -101,12 +101,12 @@ in state.
 API for implementing a new FPGA Manager driver
 ----------------------------------------------
 
-* ``fpga_mgr_states`` —  Values for :c:expr:`fpga_manager->state`.
-* struct fpga_manager —  the FPGA manager struct
-* struct fpga_manager_ops —  Low level FPGA manager driver ops
-* devm_fpga_mgr_create() —  Allocate and init a manager struct
-* fpga_mgr_register() —  Register an FPGA manager
-* fpga_mgr_unregister() —  Unregister an FPGA manager
+* ``fpga_mgr_states`` -  Values for :c:expr:`fpga_manager->state`.
+* struct fpga_manager -  the FPGA manager struct
+* struct fpga_manager_ops -  Low level FPGA manager driver ops
+* devm_fpga_mgr_create() -  Allocate and init a manager struct
+* fpga_mgr_register() -  Register an FPGA manager
+* fpga_mgr_unregister() -  Unregister an FPGA manager
 
 .. kernel-doc:: include/linux/fpga/fpga-mgr.h
    :functions: fpga_mgr_states
Documentation/driver-api/fpga/fpga-programming.rst +4 -4
index 002392dab04f..fb4da4240e96 100644
@@ -84,10 +84,10 @@ will generate that list.  Here's some sample code of what to do next::
 API for programming an FPGA
 ---------------------------
 
-* fpga_region_program_fpga() —  Program an FPGA
-* fpga_image_info() —  Specifies what FPGA image to program
-* fpga_image_info_alloc() —  Allocate an FPGA image info struct
-* fpga_image_info_free() —  Free an FPGA image info struct
+* fpga_region_program_fpga() -  Program an FPGA
+* fpga_image_info() -  Specifies what FPGA image to program
+* fpga_image_info_alloc() -  Allocate an FPGA image info struct
+* fpga_image_info_free() -  Free an FPGA image info struct
 
 .. kernel-doc:: drivers/fpga/fpga-region.c
    :functions: fpga_region_program_fpga
Documentation/driver-api/fpga/fpga-region.rst +21 -12
index 363a8171ab0a..2d03b5fb7657 100644
@@ -45,19 +45,25 @@ An example of usage can be seen in the probe function of [#f2]_.
 API to add a new FPGA region
 ----------------------------
 
-* struct fpga_region — The FPGA region struct
-* devm_fpga_region_create() — Allocate and init a region struct
-* fpga_region_register() —  Register an FPGA region
-* fpga_region_unregister() —  Unregister an FPGA region
+* struct fpga_region - The FPGA region struct
+* struct fpga_region_info - Parameter structure for __fpga_region_register_full()
+* __fpga_region_register_full() -  Create and register an FPGA region using the
+  fpga_region_info structure to provide the full flexibility of options
+* __fpga_region_register() -  Create and register an FPGA region using standard
+  arguments
+* fpga_region_unregister() -  Unregister an FPGA region
+
+Helper macros ``fpga_region_register()`` and ``fpga_region_register_full()``
+automatically set the module that registers the FPGA region as the owner.
 
 The FPGA region's probe function will need to get a reference to the FPGA
 Manager it will be using to do the programming.  This usually would happen
 during the region's probe function.
 
-* fpga_mgr_get() — Get a reference to an FPGA manager, raise ref count
-* of_fpga_mgr_get() —  Get a reference to an FPGA manager, raise ref count,
+* fpga_mgr_get() - Get a reference to an FPGA manager, raise ref count
+* of_fpga_mgr_get() -  Get a reference to an FPGA manager, raise ref count,
   given a device node.
-* fpga_mgr_put() — Put an FPGA manager
+* fpga_mgr_put() - Put an FPGA manager
 
 The FPGA region will need to specify which bridges to control while programming
 the FPGA.  The region driver can build a list of bridges during probe time
@@ -66,20 +72,23 @@ the list of bridges to program just before programming
 (:c:expr:`fpga_region->get_bridges`).  The FPGA bridge framework supplies the
 following APIs to handle building or tearing down that list.
 
-* fpga_bridge_get_to_list() — Get a ref of an FPGA bridge, add it to a
+* fpga_bridge_get_to_list() - Get a ref of an FPGA bridge, add it to a
   list
-* of_fpga_bridge_get_to_list() — Get a ref of an FPGA bridge, add it to a
+* of_fpga_bridge_get_to_list() - Get a ref of an FPGA bridge, add it to a
   list, given a device node
-* fpga_bridges_put() — Given a list of bridges, put them
+* fpga_bridges_put() - Given a list of bridges, put them
 
 .. kernel-doc:: include/linux/fpga/fpga-region.h
    :functions: fpga_region
 
+.. kernel-doc:: include/linux/fpga/fpga-region.h
+   :functions: fpga_region_info
+
 .. kernel-doc:: drivers/fpga/fpga-region.c
-   :functions: devm_fpga_region_create
+   :functions: __fpga_region_register_full
 
 .. kernel-doc:: drivers/fpga/fpga-region.c
-   :functions: fpga_region_register
+   :functions: __fpga_region_register
 
 .. kernel-doc:: drivers/fpga/fpga-region.c
    :functions: fpga_region_unregister
Documentation/filesystems/f2fs.rst +36 -0
index 8c0fbdd8ce6f..de2bacc418fe 100644
@@ -260,6 +260,14 @@ compress_extension=%s	 Support adding specified extension, so that f2fs can enab
 			 For other files, we can still enable compression via ioctl.
 			 Note that, there is one reserved special extension '*', it
 			 can be set to enable compression for all files.
+compress_chksum		 Support verifying chksum of raw data in compressed cluster.
+compress_mode=%s	 Control file compression mode. This supports "fs" and "user"
+			 modes. In "fs" mode (default), f2fs does automatic compression
+			 on the compression enabled files. In "user" mode, f2fs disables
+			 the automaic compression and gives the user discretion of
+			 choosing the target file and the timing. The user can do manual
+			 compression/decompression on the compression enabled files using
+			 ioctls.
 inlinecrypt		 When possible, encrypt/decrypt the contents of encrypted
 			 files using the blk-crypto framework rather than
 			 filesystem-layer encryption. This allows the use of
@@ -810,6 +818,34 @@ Compress metadata layout::
 	| data length | data chksum | reserved |      compressed data       |
 	+-------------+-------------+----------+----------------------------+
 
+Compression mode
+--------------------------
+
+f2fs supports "fs" and "user" compression modes with "compression_mode" mount option.
+With this option, f2fs provides a choice to select the way how to compress the
+compression enabled files (refer to "Compression implementation" section for how to
+enable compression on a regular inode).
+
+1) compress_mode=fs
+This is the default option. f2fs does automatic compression in the writeback of the
+compression enabled files.
+
+2) compress_mode=user
+This disables the automaic compression and gives the user discretion of choosing the
+target file and the timing. The user can do manual compression/decompression on the
+compression enabled files using F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE
+ioctls like the below.
+
+To decompress a file,
+
+fd = open(filename, O_WRONLY, 0);
+ret = ioctl(fd, F2FS_IOC_DECOMPRESS_FILE);
+
+To compress a file,
+
+fd = open(filename, O_WRONLY, 0);
+ret = ioctl(fd, F2FS_IOC_COMPRESS_FILE);
+
 NVMe Zoned Namespace devices
 ----------------------------
 
Makefile +1 -1
index 3bc56bf43c82..3b36b77589f2 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 10
-SUBLEVEL = 218
+SUBLEVEL = 219
 EXTRAVERSION =
 NAME = Dare mighty things
 
arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +1 -1
index 12bc1d3ed424..adc0a096ab4c 100644
@@ -58,7 +58,7 @@ cpu@3 {
 	gic: interrupt-controller@f1001000 {
 		compatible = "arm,gic-400";
 		reg = <0x0 0xf1001000 0x0 0x1000>,  /* GICD */
-		      <0x0 0xf1002000 0x0 0x100>;   /* GICC */
+		      <0x0 0xf1002000 0x0 0x2000>;  /* GICC */
 		#address-cells = <0>;
 		#interrupt-cells = <3>;
 		interrupt-controller;
arch/arm64/boot/dts/nvidia/tegra132-norrin.dts +2 -2
index 6e5f8465669e..a5ff8cfedf34 100644
@@ -9,8 +9,8 @@ / {
 	compatible = "nvidia,norrin", "nvidia,tegra132", "nvidia,tegra124";
 
 	aliases {
-		rtc0 = "/i2c@7000d000/as3722@40";
-		rtc1 = "/rtc@7000e000";
+		rtc0 = &as3722;
+		rtc1 = &tegra_rtc;
 		serial0 = &uarta;
 	};
 
arch/arm64/boot/dts/nvidia/tegra132.dtsi +1 -1
index b14e9f3bfdbd..2533d72fb2e5 100644
@@ -573,7 +573,7 @@ spi@7000de00 {
 		status = "disabled";
 	};
 
-	rtc@7000e000 {
+	tegra_rtc: rtc@7000e000 {
 		compatible = "nvidia,tegra124-rtc", "nvidia,tegra20-rtc";
 		reg = <0x0 0x7000e000 0x0 0x100>;
 		interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +1 -1
index a80c578484ba..b6d70d0073e7 100644
@@ -60,7 +60,7 @@ bluetooth {
 		vddrf-supply = <&vreg_l1_1p3>;
 		vddch0-supply = <&vdd_ch0_3p3>;
 
-		local-bd-address = [ 02 00 00 00 5a ad ];
+		local-bd-address = [ 00 00 00 00 00 00 ];
 
 		max-speed = <3200000>;
 	};
arch/arm64/include/asm/asm-bug.h +1 -0
index 03f52f84a4f3..bc2dcc8a0000 100644
@@ -28,6 +28,7 @@
 	14470:	.long 14471f - 14470b;			\
 _BUGVERBOSE_LOCATION(__FILE__, __LINE__)		\
 		.short flags; 				\
+		.align 2;				\
 		.popsection;				\
 	14471:
 #else
arch/arm64/kvm/guest.c +1 -0
index dfb5218137ca..3aad58626429 100644
@@ -234,6 +234,7 @@ static int set_core_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg)
 		case PSR_AA32_MODE_SVC:
 		case PSR_AA32_MODE_ABT:
 		case PSR_AA32_MODE_UND:
+		case PSR_AA32_MODE_SYS:
 			if (!vcpu_el1_is_32bit(vcpu))
 				return -EINVAL;
 			break;
arch/m68k/kernel/entry.S +3 -1
index 546bab6bfc27..d0ca4df43528 100644
@@ -432,7 +432,9 @@ resume:
 	movec	%a0,%dfc
 
 	/* restore status register */
-	movew	%a1@(TASK_THREAD+THREAD_SR),%sr
+	movew	%a1@(TASK_THREAD+THREAD_SR),%d0
+	oriw	#0x0700,%d0
+	movew	%d0,%sr
 
 	rts
 
arch/m68k/mac/misc.c +18 -18
index 90f4e9ca1276..d3b34dd7590d 100644
@@ -452,30 +452,18 @@ void mac_poweroff(void)
 
 void mac_reset(void)
 {
-	if (macintosh_config->adb_type == MAC_ADB_II &&
-	    macintosh_config->ident != MAC_MODEL_SE30) {
-		/* need ROMBASE in booter */
-		/* indeed, plus need to MAP THE ROM !! */
-
-		if (mac_bi_data.rombase == 0)
-			mac_bi_data.rombase = 0x40800000;
-
-		/* works on some */
-		rom_reset = (void *) (mac_bi_data.rombase + 0xa);
-
-		local_irq_disable();
-		rom_reset();
 #ifdef CONFIG_ADB_CUDA
-	} else if (macintosh_config->adb_type == MAC_ADB_EGRET ||
-	           macintosh_config->adb_type == MAC_ADB_CUDA) {
+	if (macintosh_config->adb_type == MAC_ADB_EGRET ||
+	    macintosh_config->adb_type == MAC_ADB_CUDA) {
 		cuda_restart();
+	} else
 #endif
 #ifdef CONFIG_ADB_PMU
-	} else if (macintosh_config->adb_type == MAC_ADB_PB2) {
+	if (macintosh_config->adb_type == MAC_ADB_PB2) {
 		pmu_restart();
+	} else
 #endif
-	} else if (CPU_IS_030) {
-
+	if (CPU_IS_030) {
 		/* 030-specific reset routine.  The idea is general, but the
 		 * specific registers to reset are '030-specific.  Until I
 		 * have a non-030 machine, I can't test anything else.
@@ -523,6 +511,18 @@ void mac_reset(void)
 		    "jmp %/a0@\n\t" /* jump to the reset vector */
 		    ".chip 68k"
 		    : : "r" (offset), "a" (rombase) : "a0");
+	} else {
+		/* need ROMBASE in booter */
+		/* indeed, plus need to MAP THE ROM !! */
+
+		if (mac_bi_data.rombase == 0)
+			mac_bi_data.rombase = 0x40800000;
+
+		/* works on some */
+		rom_reset = (void *)(mac_bi_data.rombase + 0xa);
+
+		local_irq_disable();
+		rom_reset();
 	}
 
 	/* should never get here */
arch/microblaze/kernel/Makefile +0 -1
index dd71637437f4..8b9d52b194cb 100644
@@ -7,7 +7,6 @@ ifdef CONFIG_FUNCTION_TRACER
 # Do not trace early boot code and low level code
 CFLAGS_REMOVE_timer.o = -pg
 CFLAGS_REMOVE_intc.o = -pg
-CFLAGS_REMOVE_early_printk.o = -pg
 CFLAGS_REMOVE_ftrace.o = -pg
 CFLAGS_REMOVE_process.o = -pg
 endif
arch/microblaze/kernel/cpu/cpuinfo-static.c +1 -1
index 85dbda4a08a8..03da36dc6d9c 100644
@@ -18,7 +18,7 @@ static const char family_string[] = CONFIG_XILINX_MICROBLAZE0_FAMILY;
 static const char cpu_ver_string[] = CONFIG_XILINX_MICROBLAZE0_HW_VER;
 
 #define err_printk(x) \
-	early_printk("ERROR: Microblaze " x "-different for kernel and DTS\n");
+	pr_err("ERROR: Microblaze " x "-different for kernel and DTS\n");
 
 void __init set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu)
 {
arch/parisc/kernel/parisc_ksyms.c +1 -0
index e8a6a751dfd8..07418f11a964 100644
@@ -21,6 +21,7 @@ EXPORT_SYMBOL(memset);
 #include <linux/atomic.h>
 EXPORT_SYMBOL(__xchg8);
 EXPORT_SYMBOL(__xchg32);
+EXPORT_SYMBOL(__cmpxchg_u8);
 EXPORT_SYMBOL(__cmpxchg_u32);
 EXPORT_SYMBOL(__cmpxchg_u64);
 #ifdef CONFIG_SMP
arch/powerpc/include/asm/hvcall.h +1 -1
index 00c8cda1c9c3..1a60188f74ad 100644
@@ -494,7 +494,7 @@ struct hvcall_mpp_data {
 	unsigned long backing_mem;
 };
 
-int h_get_mpp(struct hvcall_mpp_data *);
+long h_get_mpp(struct hvcall_mpp_data *mpp_data);
 
 struct hvcall_mpp_x_data {
 	unsigned long coalesced_bytes;
arch/powerpc/platforms/pseries/lpar.c +3 -3
index 4a3425fb1939..aed67f1a1bc5 100644
@@ -1883,10 +1883,10 @@ void __trace_hcall_exit(long opcode, long retval, unsigned long *retbuf)
  * h_get_mpp
  * H_GET_MPP hcall returns info in 7 parms
  */
-int h_get_mpp(struct hvcall_mpp_data *mpp_data)
+long h_get_mpp(struct hvcall_mpp_data *mpp_data)
 {
-	int rc;
-	unsigned long retbuf[PLPAR_HCALL9_BUFSIZE];
+	unsigned long retbuf[PLPAR_HCALL9_BUFSIZE] = {0};
+	long rc;
 
 	rc = plpar_hcall9(H_GET_MPP, retbuf);
 
arch/powerpc/platforms/pseries/lparcfg.c +3 -3
index a7d4e25ae82a..e0c5fc9ab242 100644
@@ -112,8 +112,8 @@ struct hvcall_ppp_data {
  */
 static unsigned int h_get_ppp(struct hvcall_ppp_data *ppp_data)
 {
-	unsigned long rc;
-	unsigned long retbuf[PLPAR_HCALL9_BUFSIZE];
+	unsigned long retbuf[PLPAR_HCALL9_BUFSIZE] = {0};
+	long rc;
 
 	rc = plpar_hcall9(H_GET_PPP, retbuf);
 
@@ -192,7 +192,7 @@ static void parse_ppp_data(struct seq_file *m)
 	struct hvcall_ppp_data ppp_data;
 	struct device_node *root;
 	const __be32 *perf_level;
-	int rc;
+	long rc;
 
 	rc = h_get_ppp(&ppp_data);
 	if (rc)
arch/powerpc/sysdev/fsl_msi.c +2 -0
index d276c5e96445..77aa7a13ab1d 100644
@@ -573,10 +573,12 @@ static const struct fsl_msi_feature ipic_msi_feature = {
 	.msiir_offset = 0x38,
 };
 
+#ifdef CONFIG_EPAPR_PARAVIRT
 static const struct fsl_msi_feature vmpic_msi_feature = {
 	.fsl_pic_ip = FSL_PIC_IP_VMPIC,
 	.msiir_offset = 0,
 };
+#endif
 
 static const struct of_device_id fsl_of_msi_ids[] = {
 	{
arch/s390/kernel/ipl.c +5 -5
index c469e8848d65..939ceec83048 100644
@@ -832,8 +832,8 @@ static ssize_t reipl_nvme_scpdata_write(struct file *filp, struct kobject *kobj,
 		scpdata_len += padding;
 	}
 
-	reipl_block_nvme->hdr.len = IPL_BP_FCP_LEN + scpdata_len;
-	reipl_block_nvme->nvme.len = IPL_BP0_FCP_LEN + scpdata_len;
+	reipl_block_nvme->hdr.len = IPL_BP_NVME_LEN + scpdata_len;
+	reipl_block_nvme->nvme.len = IPL_BP0_NVME_LEN + scpdata_len;
 	reipl_block_nvme->nvme.scp_data_len = scpdata_len;
 
 	return count;
@@ -1602,9 +1602,9 @@ static int __init dump_nvme_init(void)
 	}
 	dump_block_nvme->hdr.len = IPL_BP_NVME_LEN;
 	dump_block_nvme->hdr.version = IPL_PARM_BLOCK_VERSION;
-	dump_block_nvme->fcp.len = IPL_BP0_NVME_LEN;
-	dump_block_nvme->fcp.pbt = IPL_PBT_NVME;
-	dump_block_nvme->fcp.opt = IPL_PB0_NVME_OPT_DUMP;
+	dump_block_nvme->nvme.len = IPL_BP0_NVME_LEN;
+	dump_block_nvme->nvme.pbt = IPL_PBT_NVME;
+	dump_block_nvme->nvme.opt = IPL_PB0_NVME_OPT_DUMP;
 	dump_capabilities |= DUMP_TYPE_NVME;
 	return 0;
 }
arch/sh/kernel/kprobes.c +1 -6
index 756100b01e84..849801373219 100644
@@ -44,17 +44,12 @@ int __kprobes arch_prepare_kprobe(struct kprobe *p)
 	if (OPCODE_RTE(opcode))
 		return -EFAULT;	/* Bad breakpoint */
 
+	memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t));
 	p->opcode = opcode;
 
 	return 0;
 }
 
-void __kprobes arch_copy_kprobe(struct kprobe *p)
-{
-	memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t));
-	p->opcode = *p->addr;
-}
-
 void __kprobes arch_arm_kprobe(struct kprobe *p)
 {
 	*p->addr = BREAKPOINT_INSTRUCTION;
arch/sh/lib/checksum.S +18 -49

120 lines not on this page · raw message

arch/sparc/include/asm/smp_64.h +0 -2
index e75783b6abc4..16ab904616a0 100644
@@ -47,7 +47,6 @@ void arch_send_call_function_ipi_mask(const struct cpumask *mask);
 int hard_smp_processor_id(void);
 #define raw_smp_processor_id() (current_thread_info()->cpu)
 
-void smp_fill_in_cpu_possible_map(void);
 void smp_fill_in_sib_core_maps(void);
 void cpu_play_dead(void);
 
@@ -77,7 +76,6 @@ void __cpu_die(unsigned int cpu);
 #define smp_fill_in_sib_core_maps() do { } while (0)
 #define smp_fetch_global_regs() do { } while (0)
 #define smp_fetch_global_pmu() do { } while (0)
-#define smp_fill_in_cpu_possible_map() do { } while (0)
 #define smp_init_cpu_poke() do { } while (0)
 #define scheduler_poke() do { } while (0)
 
arch/sparc/include/uapi/asm/termbits.h +0 -10
index ce5ad5d0f105..0614e179bccc 100644
@@ -13,16 +13,6 @@ typedef unsigned int    tcflag_t;
 typedef unsigned long   tcflag_t;
 #endif
 
-#define NCC 8
-struct termio {
-	unsigned short c_iflag;		/* input mode flags */
-	unsigned short c_oflag;		/* output mode flags */
-	unsigned short c_cflag;		/* control mode flags */
-	unsigned short c_lflag;		/* local mode flags */
-	unsigned char c_line;		/* line discipline */
-	unsigned char c_cc[NCC];	/* control characters */
-};
-
 #define NCCS 17
 struct termios {
 	tcflag_t c_iflag;		/* input mode flags */
arch/sparc/include/uapi/asm/termios.h +9 -0
index ee86f4093d83..cceb32260881 100644
@@ -40,5 +40,14 @@ struct winsize {
 	unsigned short ws_ypixel;
 };
 
+#define NCC 8
+struct termio {
+	unsigned short c_iflag;		/* input mode flags */
+	unsigned short c_oflag;		/* output mode flags */
+	unsigned short c_cflag;		/* control mode flags */
+	unsigned short c_lflag;		/* local mode flags */
+	unsigned char c_line;		/* line discipline */
+	unsigned char c_cc[NCC];	/* control characters */
+};
 
 #endif /* _UAPI_SPARC_TERMIOS_H */
arch/sparc/kernel/prom_64.c +3 -1
index f883a50fa333..4eae633f7198 100644
@@ -483,7 +483,9 @@ static void *record_one_cpu(struct device_node *dp, int cpuid, int arg)
 	ncpus_probed++;
 #ifdef CONFIG_SMP
 	set_cpu_present(cpuid, true);
-	set_cpu_possible(cpuid, true);
+
+	if (num_possible_cpus() < nr_cpu_ids)
+		set_cpu_possible(cpuid, true);
 #endif
 	return NULL;
 }
arch/sparc/kernel/setup_64.c +0 -1
index d87244197d5c..d921b4790af9 100644
@@ -688,7 +688,6 @@ void __init setup_arch(char **cmdline_p)
 
 	paging_init();
 	init_sparc64_elf_hwcap();
-	smp_fill_in_cpu_possible_map();
 	/*
 	 * Once the OF device tree and MDESC have been setup and nr_cpus has
 	 * been parsed, we know the list of possible cpus.  Therefore we can
arch/sparc/kernel/smp_64.c +0 -14
index ae5faa1d989d..748909095d9b 100644
@@ -1210,20 +1210,6 @@ void __init smp_setup_processor_id(void)
 		xcall_deliver_impl = hypervisor_xcall_deliver;
 }
 
-void __init smp_fill_in_cpu_possible_map(void)
-{
-	int possible_cpus = num_possible_cpus();
-	int i;
-
-	if (possible_cpus > nr_cpu_ids)
-		possible_cpus = nr_cpu_ids;
-
-	for (i = 0; i < possible_cpus; i++)
-		set_cpu_possible(i, true);
-	for (; i < NR_CPUS; i++)
-		set_cpu_possible(i, false);
-}
-
 void smp_fill_in_sib_core_maps(void)
 {
 	unsigned int i;
arch/um/drivers/line.c +8 -6
index 14ad9f495fe6..37e96ba0f5fb 100644
@@ -668,24 +668,26 @@ void register_winch_irq(int fd, int tty_fd, int pid, struct tty_port *port,
 		goto cleanup;
 	}
 
-	*winch = ((struct winch) { .list  	= LIST_HEAD_INIT(winch->list),
-				   .fd  	= fd,
+	*winch = ((struct winch) { .fd  	= fd,
 				   .tty_fd 	= tty_fd,
 				   .pid  	= pid,
 				   .port 	= port,
 				   .stack	= stack });
 
+	spin_lock(&winch_handler_lock);
+	list_add(&winch->list, &winch_handlers);
+	spin_unlock(&winch_handler_lock);
+
 	if (um_request_irq(WINCH_IRQ, fd, IRQ_READ, winch_interrupt,
 			   IRQF_SHARED, "winch", winch) < 0) {
 		printk(KERN_ERR "register_winch_irq - failed to register "
 		       "IRQ\n");
+		spin_lock(&winch_handler_lock);
+		list_del(&winch->list);
+		spin_unlock(&winch_handler_lock);
 		goto out_free;
 	}
 
-	spin_lock(&winch_handler_lock);
-	list_add(&winch->list, &winch_handlers);
-	spin_unlock(&winch_handler_lock);
-
 	return;
 
  out_free:
arch/um/drivers/ubd_kern.c +2 -2
index b12c1b0d3e1d..de28ce711687 100644
@@ -1158,7 +1158,7 @@ static int __init ubd_init(void)
 
 	if (irq_req_buffer == NULL) {
 		printk(KERN_ERR "Failed to initialize ubd buffering\n");
-		return -1;
+		return -ENOMEM;
 	}
 	io_req_buffer = kmalloc_array(UBD_REQ_BUFFER_SIZE,
 				      sizeof(struct io_thread_req *),
@@ -1169,7 +1169,7 @@ static int __init ubd_init(void)
 
 	if (io_req_buffer == NULL) {
 		printk(KERN_ERR "Failed to initialize ubd buffering\n");
-		return -1;
+		return -ENOMEM;
 	}
 	platform_driver_register(&ubd_driver);
 	mutex_lock(&ubd_lock);
arch/um/drivers/vector_kern.c +1 -1
index fc662f7cc2af..c10432ef2d41 100644
@@ -142,7 +142,7 @@ static bool get_bpf_flash(struct arglist *def)
 
 	if (allow != NULL) {
 		if (kstrtoul(allow, 10, &result) == 0)
-			return (allow > 0);
+			return result > 0;
 	}
 	return false;
 }
arch/um/include/asm/mmu.h +0 -2
index 5b072aba5b65..a7cb380c0b5c 100644
@@ -15,8 +15,6 @@ typedef struct mm_context {
 	struct page *stub_pages[2];
 } mm_context_t;
 
-extern void __switch_mm(struct mm_id * mm_idp);
-
 /* Avoid tangled inclusion with asm/ldt.h */
 extern long init_new_ldt(struct mm_context *to_mm, struct mm_context *from_mm);
 extern void free_ldt(struct mm_context *mm);
arch/um/include/shared/skas/mm_id.h +2 -0
index e82e203f5f41..92dbf727e384 100644
@@ -15,4 +15,6 @@ struct mm_id {
 	int kill;
 };
 
+void __switch_mm(struct mm_id *mm_idp);
+
 #endif
arch/x86/Kconfig.debug +1 -4
index 27b5e2bc6a01..e6546aa448de 100644
@@ -258,6 +258,7 @@ config UNWINDER_ORC
 
 config UNWINDER_FRAME_POINTER
 	bool "Frame pointer unwinder"
+	select ARCH_WANT_FRAME_POINTERS
 	select FRAME_POINTER
 	help
 	  This option enables the frame pointer unwinder for unwinding kernel
@@ -281,7 +282,3 @@ config UNWINDER_GUESS
 	  overhead.
 
 endchoice
-
-config FRAME_POINTER
-	depends on !UNWINDER_ORC && !UNWINDER_GUESS
-	bool
arch/x86/crypto/nh-avx2-x86_64.S +1 -0
index 6a0b15e7196a..54c0ee41209d 100644
@@ -153,5 +153,6 @@ SYM_FUNC_START(nh_avx2)
 	vpaddq		T1, T0, T0
 	vpaddq		T4, T0, T0
 	vmovdqu		T0, (HASH)
+	vzeroupper
 	RET
 SYM_FUNC_END(nh_avx2)
arch/x86/crypto/sha256-avx2-asm.S +1 -0
index 3439aaf4295d..81c8053152bb 100644
@@ -711,6 +711,7 @@ done_hash:
 	popq	%r13
 	popq	%r12
 	popq	%rbx
+	vzeroupper
 	RET
 SYM_FUNC_END(sha256_transform_rorx)
 
arch/x86/entry/vsyscall/vsyscall_64.c +2 -26
index 44c33103a955..f0b817eb6e8b 100644
@@ -98,11 +98,6 @@ static int addr_to_vsyscall_nr(unsigned long addr)
 
 static bool write_ok_or_segv(unsigned long ptr, size_t size)
 {
-	/*
-	 * XXX: if access_ok, get_user, and put_user handled
-	 * sig_on_uaccess_err, this could go away.
-	 */
-
 	if (!access_ok((void __user *)ptr, size)) {
 		struct thread_struct *thread = &current->thread;
 
@@ -120,10 +115,8 @@ static bool write_ok_or_segv(unsigned long ptr, size_t size)
 bool emulate_vsyscall(unsigned long error_code,
 		      struct pt_regs *regs, unsigned long address)
 {
-	struct task_struct *tsk;
 	unsigned long caller;
 	int vsyscall_nr, syscall_nr, tmp;
-	int prev_sig_on_uaccess_err;
 	long ret;
 	unsigned long orig_dx;
 
@@ -172,8 +165,6 @@ bool emulate_vsyscall(unsigned long error_code,
 		goto sigsegv;
 	}
 
-	tsk = current;
-
 	/*
 	 * Check for access_ok violations and find the syscall nr.
 	 *
@@ -233,12 +224,8 @@ bool emulate_vsyscall(unsigned long error_code,
 		goto do_ret;  /* skip requested */
 
 	/*
-	 * With a real vsyscall, page faults cause SIGSEGV.  We want to
-	 * preserve that behavior to make writing exploits harder.
+	 * With a real vsyscall, page faults cause SIGSEGV.
 	 */
-	prev_sig_on_uaccess_err = current->thread.sig_on_uaccess_err;
-	current->thread.sig_on_uaccess_err = 1;
-
 	ret = -EFAULT;
 	switch (vsyscall_nr) {
 	case 0:
@@ -261,23 +248,12 @@ bool emulate_vsyscall(unsigned long error_code,
 		break;
 	}
 
-	current->thread.sig_on_uaccess_err = prev_sig_on_uaccess_err;
-
 check_fault:
 	if (ret == -EFAULT) {
 		/* Bad news -- userspace fed a bad pointer to a vsyscall. */
 		warn_bad_vsyscall(KERN_INFO, regs,
 				  "vsyscall fault (exploit attempt?)");
-
-		/*
-		 * If we failed to generate a signal for any reason,
-		 * generate one here.  (This should be impossible.)
-		 */
-		if (WARN_ON_ONCE(!sigismember(&tsk->pending.signal, SIGBUS) &&
-				 !sigismember(&tsk->pending.signal, SIGSEGV)))
-			goto sigsegv;
-
-		return true;  /* Don't emulate the ret. */
+		goto sigsegv;
 	}
 
 	regs->ax = ret;
arch/x86/include/asm/processor.h +0 -1
index 6dc3c5f0be07..c682a14299e0 100644
@@ -528,7 +528,6 @@ struct thread_struct {
 	unsigned long		iopl_emul;
 
 	unsigned int		iopl_warn:1;
-	unsigned int		sig_on_uaccess_err:1;
 
 	/* Floating point and extended processor state */
 	struct fpu		fpu;
arch/x86/kernel/apic/vector.c +6 -3
index bd557e9f5dd8..167c9df27ae7 100644
@@ -920,7 +920,8 @@ static void __send_cleanup_vector(struct apic_chip_data *apicd)
 		hlist_add_head(&apicd->clist, per_cpu_ptr(&cleanup_list, cpu));
 		apic->send_IPI(cpu, IRQ_MOVE_CLEANUP_VECTOR);
 	} else {
-		apicd->prev_vector = 0;
+		pr_warn("IRQ %u schedule cleanup for offline CPU %u\n", apicd->irq, cpu);
+		free_moved_vector(apicd);
 	}
 	raw_spin_unlock(&vector_lock);
 }
@@ -957,6 +958,7 @@ void irq_complete_move(struct irq_cfg *cfg)
  */
 void irq_force_complete_move(struct irq_desc *desc)
 {
+	unsigned int cpu = smp_processor_id();
 	struct apic_chip_data *apicd;
 	struct irq_data *irqd;
 	unsigned int vector;
@@ -981,10 +983,11 @@ void irq_force_complete_move(struct irq_desc *desc)
 		goto unlock;
 
 	/*
-	 * If prev_vector is empty, no action required.
+	 * If prev_vector is empty or the descriptor is neither currently
+	 * nor previously on the outgoing CPU no action required.
 	 */
 	vector = apicd->prev_vector;
-	if (!vector)
+	if (!vector || (apicd->cpu != cpu && apicd->prev_cpu != cpu))
 		goto unlock;
 
 	/*
arch/x86/kernel/tsc_sync.c +2 -4
index 923660057f36..a6f357774697 100644
@@ -192,11 +192,9 @@ bool tsc_store_and_check_tsc_adjust(bool bootcpu)
 	cur->warned = false;
 
 	/*
-	 * If a non-zero TSC value for socket 0 may be valid then the default
-	 * adjusted value cannot assumed to be zero either.
+	 * The default adjust value cannot be assumed to be zero on any socket.
 	 */
-	if (tsc_async_resets)
-		cur->adjusted = bootval;
+	cur->adjusted = bootval;
 
 	/*
 	 * Check whether this CPU is the first in a package to come up. In
arch/x86/lib/x86-opcode-map.txt +1 -1
index ec31f5b60323..1c25c1072a84 100644
@@ -148,7 +148,7 @@ AVXcode:
 65: SEG=GS (Prefix)
 66: Operand-Size (Prefix)
 67: Address-Size (Prefix)
-68: PUSH Iz (d64)
+68: PUSH Iz
 69: IMUL Gv,Ev,Iz
 6a: PUSH Ib (d64)
 6b: IMUL Gv,Ev,Ib
arch/x86/mm/fault.c +1 -26
index cdb337cf92ba..98a5924d98b7 100644
@@ -649,33 +649,8 @@ no_context(struct pt_regs *regs, unsigned long error_code,
 	}
 
 	/* Are we prepared to handle this kernel fault? */
-	if (fixup_exception(regs, X86_TRAP_PF, error_code, address)) {
-		/*
-		 * Any interrupt that takes a fault gets the fixup. This makes
-		 * the below recursive fault logic only apply to a faults from
-		 * task context.
-		 */
-		if (in_interrupt())
-			return;
-
-		/*
-		 * Per the above we're !in_interrupt(), aka. task context.
-		 *
-		 * In this case we need to make sure we're not recursively
-		 * faulting through the emulate_vsyscall() logic.
-		 */
-		if (current->thread.sig_on_uaccess_err && signal) {
-			set_signal_archinfo(address, error_code);
-
-			/* XXX: hwpoison faults will set the wrong code. */
-			force_sig_fault(signal, si_code, (void __user *)address);
-		}
-
-		/*
-		 * Barring that, we can do the fixup and be happy.
-		 */
+	if (fixup_exception(regs, X86_TRAP_PF, error_code, address))
 		return;
-	}
 
 #ifdef CONFIG_VMAP_STACK
 	/*
arch/x86/purgatory/Makefile +2 -1
index dc0b91c1db04..7c7bfdf0d0c0 100644
@@ -37,7 +37,8 @@ KCOV_INSTRUMENT := n
 # make up the standalone purgatory.ro
 
 PURGATORY_CFLAGS_REMOVE := -mcmodel=kernel
-PURGATORY_CFLAGS := -mcmodel=large -ffreestanding -fno-zero-initialized-in-bss -g0
+PURGATORY_CFLAGS := -mcmodel=small -ffreestanding -fno-zero-initialized-in-bss -g0
+PURGATORY_CFLAGS += -fpic -fvisibility=hidden
 PURGATORY_CFLAGS += $(DISABLE_STACKLEAK_PLUGIN) -DDISABLE_BRANCH_PROFILING
 PURGATORY_CFLAGS += -fno-stack-protector
 
arch/x86/tools/relocs.c +9 -0
index 0043fd374a62..f9ec998b7e94 100644
@@ -689,6 +689,15 @@ static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel,
 		if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) {
 			continue;
 		}
+
+		/*
+		 * Do not perform relocations in .notes sections; any
+		 * values there are meant for pre-boot consumption (e.g.
+		 * startup_xen).
+		 */
+		if (sec_applies->shdr.sh_type == SHT_NOTE)
+			continue;
+
 		sh_symtab = sec_symtab->symtab;
 		sym_strtab = sec_symtab->link->strtab;
 		for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Rel); j++) {
crypto/ecrdsa.c +1 -0
index f7ed43020672..0a970261b107 100644
@@ -294,4 +294,5 @@ module_exit(ecrdsa_mod_fini);
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Vitaly Chikunov <[email protected]>");
 MODULE_DESCRIPTION("EC-RDSA generic algorithm");
+MODULE_ALIAS_CRYPTO("ecrdsa");
 MODULE_ALIAS_CRYPTO("ecrdsa-generic");
drivers/accessibility/speakup/main.c +1 -1
index 7598778cf37f..60c059c74fb6 100644
@@ -576,7 +576,7 @@ static u_long get_word(struct vc_data *vc)
 	}
 	attr_ch = get_char(vc, (u_short *)tmp_pos, &spk_attr);
 	buf[cnt++] = attr_ch;
-	while (tmpx < vc->vc_cols - 1 && cnt < sizeof(buf) - 1) {
+	while (tmpx < vc->vc_cols - 1 && cnt < ARRAY_SIZE(buf) - 1) {
 		tmp_pos += 2;
 		tmpx++;
 		ch = get_char(vc, (u_short *)tmp_pos, &temp);
drivers/acpi/acpica/Makefile +1 -0
index f919811156b1..b6cf9c9bd639 100644
@@ -5,6 +5,7 @@
 
 ccflags-y			:= -D_LINUX -DBUILDING_ACPICA
 ccflags-$(CONFIG_ACPI_DEBUG)	+= -DACPI_DEBUG_OUTPUT
+CFLAGS_tbfind.o 		+= $(call cc-disable-warning, stringop-truncation)
 
 # use acpi.o to put all files here into acpi.o modparam namespace
 obj-y	+= acpi.o
drivers/acpi/resource.c +12 -0
index 42b1b06efda6..aa92ec4fe721 100644
@@ -475,6 +475,18 @@ static const struct dmi_system_id asus_laptop[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "B2502CBA"),
 		},
 	},
+	{
+		/* TongFang GXxHRXx/TUXEDO InfinityBook Pro Gen9 AMD */
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GXxHRXx"),
+		},
+	},
+	{
+		/* TongFang GMxHGxx/TUXEDO Stellaris Slim Gen1 AMD */
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GMxHGxx"),
+		},
+	},
 	{ }
 };
 
drivers/android/binder.c +2 -2
index bcbaa4d6a0ff..6631a65f632b 100644
@@ -476,7 +476,7 @@ struct binder_proc {
 	struct list_head todo;
 	struct binder_stats stats;
 	struct list_head delivered_death;
-	int max_threads;
+	u32 max_threads;
 	int requested_threads;
 	int requested_threads_started;
 	int tmp_ref;
@@ -5408,7 +5408,7 @@ static long binder_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 			goto err;
 		break;
 	case BINDER_SET_MAX_THREADS: {
-		int max_threads;
+		u32 max_threads;
 
 		if (copy_from_user(&max_threads, ubuf,
 				   sizeof(max_threads))) {
drivers/ata/pata_legacy.c +4 -4
index 4405d255e3aa..220739b309ea 100644
@@ -114,8 +114,6 @@ static int legacy_port[NR_HOST] = { 0x1f0, 0x170, 0x1e8, 0x168, 0x1e0, 0x160 };
 static struct legacy_probe probe_list[NR_HOST];
 static struct legacy_data legacy_data[NR_HOST];
 static struct ata_host *legacy_host[NR_HOST];
-static int nr_legacy_host;
-
 
 static int probe_all;		/* Set to check all ISA port ranges */
 static int ht6560a;		/* HT 6560A on primary 1, second 2, both 3 */
@@ -1239,9 +1237,11 @@ static __exit void legacy_exit(void)
 {
 	int i;
 
-	for (i = 0; i < nr_legacy_host; i++) {
+	for (i = 0; i < NR_HOST; i++) {
 		struct legacy_data *ld = &legacy_data[i];
-		ata_host_detach(legacy_host[i]);
+
+		if (legacy_host[i])
+			ata_host_detach(legacy_host[i]);
 		platform_device_unregister(ld->platform_dev);
 	}
 }
drivers/block/null_blk/main.c +3 -0
index 35b390a785dd..862a9420df52 100644
@@ -2032,10 +2032,13 @@ static void __exit null_exit(void)
 
 	if (g_queue_mode == NULL_Q_MQ && shared_tags)
 		blk_mq_free_tag_set(&tag_set);
+
+	mutex_destroy(&lock);
 }
 
 module_init(null_init);
 module_exit(null_exit);
 
 MODULE_AUTHOR("Jens Axboe <[email protected]>");
+MODULE_DESCRIPTION("multi queue aware block test driver");
 MODULE_LICENSE("GPL");
drivers/char/ppdev.c +14 -7
index 38b46c7d1737..a97edbf7455a 100644
@@ -296,28 +296,35 @@ static int register_device(int minor, struct pp_struct *pp)
 	if (!port) {
 		pr_warn("%s: no associated port!\n", name);
 		rc = -ENXIO;
-		goto err;
+		goto err_free_name;
+	}
+
+	index = ida_alloc(&ida_index, GFP_KERNEL);
+	if (index < 0) {
+		pr_warn("%s: failed to get index!\n", name);
+		rc = index;
+		goto err_put_port;
 	}
 
-	index = ida_simple_get(&ida_index, 0, 0, GFP_KERNEL);
 	memset(&ppdev_cb, 0, sizeof(ppdev_cb));
 	ppdev_cb.irq_func = pp_irq;
 	ppdev_cb.flags = (pp->flags & PP_EXCL) ? PARPORT_FLAG_EXCL : 0;
 	ppdev_cb.private = pp;
 	pdev = parport_register_dev_model(port, name, &ppdev_cb, index);
-	parport_put_port(port);
 
 	if (!pdev) {
 		pr_warn("%s: failed to register device!\n", name);
 		rc = -ENXIO;
-		ida_simple_remove(&ida_index, index);
-		goto err;
+		ida_free(&ida_index, index);
+		goto err_put_port;
 	}
 
 	pp->pdev = pdev;
 	pp->index = index;
 	dev_dbg(&pdev->dev, "registered pardevice\n");
-err:
+err_put_port:
+	parport_put_port(port);
+err_free_name:
 	kfree(name);
 	return rc;
 }
@@ -750,7 +757,7 @@ static int pp_release(struct inode *inode, struct file *file)
 
 	if (pp->pdev) {
 		parport_unregister_device(pp->pdev);
-		ida_simple_remove(&ida_index, pp->index);
+		ida_free(&ida_index, pp->index);
 		pp->pdev = NULL;
 		pr_debug(CHRDEV "%x: unregistered pardevice\n", minor);
 	}
drivers/clk/qcom/mmcc-msm8998.c +8 -0
index a68764cfb793..5e2e60c1c228 100644
@@ -2587,6 +2587,8 @@ static struct clk_hw *mmcc_msm8998_hws[] = {
 
 static struct gdsc video_top_gdsc = {
 	.gdscr = 0x1024,
+	.cxcs = (unsigned int []){ 0x1028, 0x1034, 0x1038 },
+	.cxc_count = 3,
 	.pd = {
 		.name = "video_top",
 	},
@@ -2595,20 +2597,26 @@ static struct gdsc video_top_gdsc = {
 
 static struct gdsc video_subcore0_gdsc = {
 	.gdscr = 0x1040,
+	.cxcs = (unsigned int []){ 0x1048 },
+	.cxc_count = 1,
 	.pd = {
 		.name = "video_subcore0",
 	},
 	.parent = &video_top_gdsc.pd,
 	.pwrsts = PWRSTS_OFF_ON,
+	.flags = HW_CTRL,
 };
 
 static struct gdsc video_subcore1_gdsc = {
 	.gdscr = 0x1044,
+	.cxcs = (unsigned int []){ 0x104c },
+	.cxc_count = 1,
 	.pd = {
 		.name = "video_subcore1",
 	},
 	.parent = &video_top_gdsc.pd,
 	.pwrsts = PWRSTS_OFF_ON,
+	.flags = HW_CTRL,
 };
 
 static struct gdsc mdss_gdsc = {
drivers/cpufreq/cpufreq.c +49 -34

127 lines not on this page · raw message

drivers/crypto/bcm/spu2.c +1 -1
index c860ffb0b4c3..670d439f204c 100644
@@ -495,7 +495,7 @@ static void spu2_dump_omd(u8 *omd, u16 hash_key_len, u16 ciph_key_len,
 	if (hash_iv_len) {
 		packet_log("  Hash IV Length %u bytes\n", hash_iv_len);
 		packet_dump("  hash IV: ", ptr, hash_iv_len);
-		ptr += ciph_key_len;
+		ptr += hash_iv_len;
 	}
 
 	if (ciph_iv_len) {
drivers/crypto/ccp/sp-platform.c +2 -12
index 9dba52fbee99..121f9d0cb608 100644
@@ -39,44 +39,38 @@ static const struct sp_dev_vdata dev_vdata[] = {
 	},
 };
 
-#ifdef CONFIG_ACPI
 static const struct acpi_device_id sp_acpi_match[] = {
 	{ "AMDI0C00", (kernel_ulong_t)&dev_vdata[0] },
 	{ },
 };
 MODULE_DEVICE_TABLE(acpi, sp_acpi_match);
-#endif
 
-#ifdef CONFIG_OF
 static const struct of_device_id sp_of_match[] = {
 	{ .compatible = "amd,ccp-seattle-v1a",
 	  .data = (const void *)&dev_vdata[0] },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, sp_of_match);
-#endif
 
 static struct sp_dev_vdata *sp_get_of_version(struct platform_device *pdev)
 {
-#ifdef CONFIG_OF
 	const struct of_device_id *match;
 
 	match = of_match_node(sp_of_match, pdev->dev.of_node);
 	if (match && match->data)
 		return (struct sp_dev_vdata *)match->data;
-#endif
+
 	return NULL;
 }
 
 static struct sp_dev_vdata *sp_get_acpi_version(struct platform_device *pdev)
 {
-#ifdef CONFIG_ACPI
 	const struct acpi_device_id *match;
 
 	match = acpi_match_device(sp_acpi_match, &pdev->dev);
 	if (match && match->driver_data)
 		return (struct sp_dev_vdata *)match->driver_data;
-#endif
+
 	return NULL;
 }
 
@@ -222,12 +216,8 @@ static int sp_platform_resume(struct platform_device *pdev)
 static struct platform_driver sp_platform_driver = {
 	.driver = {
 		.name = "ccp",
-#ifdef CONFIG_ACPI
 		.acpi_match_table = sp_acpi_match,
-#endif
-#ifdef CONFIG_OF
 		.of_match_table = sp_of_match,
-#endif
 	},
 	.probe = sp_platform_probe,
 	.remove = sp_platform_remove,
drivers/crypto/qat/qat_common/adf_aer.c +5 -14
index dc0feedf5270..bf6e2116148b 100644
@@ -95,8 +95,7 @@ static void adf_device_reset_worker(struct work_struct *work)
 	if (adf_dev_init(accel_dev) || adf_dev_start(accel_dev)) {
 		/* The device hanged and we can't restart it so stop here */
 		dev_err(&GET_DEV(accel_dev), "Restart device failed\n");
-		if (reset_data->mode == ADF_DEV_RESET_ASYNC ||
-		    completion_done(&reset_data->compl))
+		if (reset_data->mode == ADF_DEV_RESET_ASYNC)
 			kfree(reset_data);
 		WARN(1, "QAT: device restart failed. Device is unusable\n");
 		return;
@@ -104,16 +103,8 @@ static void adf_device_reset_worker(struct work_struct *work)
 	adf_dev_restarted_notify(accel_dev);
 	clear_bit(ADF_STATUS_RESTARTING, &accel_dev->status);
 
-	/*
-	 * The dev is back alive. Notify the caller if in sync mode
-	 *
-	 * If device restart will take a more time than expected,
-	 * the schedule_reset() function can timeout and exit. This can be
-	 * detected by calling the completion_done() function. In this case
-	 * the reset_data structure needs to be freed here.
-	 */
-	if (reset_data->mode == ADF_DEV_RESET_ASYNC ||
-	    completion_done(&reset_data->compl))
+	/* The dev is back alive. Notify the caller if in sync mode */
+	if (reset_data->mode == ADF_DEV_RESET_ASYNC)
 		kfree(reset_data);
 	else
 		complete(&reset_data->compl);
@@ -148,10 +139,10 @@ static int adf_dev_aer_schedule_reset(struct adf_accel_dev *accel_dev,
 		if (!timeout) {
 			dev_err(&GET_DEV(accel_dev),
 				"Reset device timeout expired\n");
+			cancel_work_sync(&reset_data->reset_work);
 			ret = -EFAULT;
-		} else {
-			kfree(reset_data);
 		}
+		kfree(reset_data);
 		return ret;
 	}
 	return 0;
drivers/dma-buf/sync_debug.c +2 -2
index 101394f16930..237bce21d1e7 100644
@@ -110,12 +110,12 @@ static void sync_print_obj(struct seq_file *s, struct sync_timeline *obj)
 
 	seq_printf(s, "%s: %d\n", obj->name, obj->value);
 
-	spin_lock_irq(&obj->lock);
+	spin_lock(&obj->lock); /* Caller already disabled IRQ. */
 	list_for_each(pos, &obj->pt_list) {
 		struct sync_pt *pt = container_of(pos, struct sync_pt, link);
 		sync_print_fence(s, &pt->base, false);
 	}
-	spin_unlock_irq(&obj->lock);
+	spin_unlock(&obj->lock);
 }
 
 static void sync_print_sync_file(struct seq_file *s,
drivers/dma/idma64.c +3 -1
index db506e1f7ef4..0f065ba844c0 100644
@@ -594,7 +594,9 @@ static int idma64_probe(struct idma64_chip *chip)
 
 	idma64->dma.dev = chip->sysdev;
 
-	dma_set_max_seg_size(idma64->dma.dev, IDMA64C_CTLH_BLOCK_TS_MASK);
+	ret = dma_set_max_seg_size(idma64->dma.dev, IDMA64C_CTLH_BLOCK_TS_MASK);
+	if (ret)
+		return ret;
 
 	ret = dma_async_device_register(&idma64->dma);
 	if (ret)
drivers/extcon/Kconfig +2 -1
index aac507bff135..09485803280e 100644
@@ -121,7 +121,8 @@ config EXTCON_MAX77843
 
 config EXTCON_MAX8997
 	tristate "Maxim MAX8997 EXTCON Support"
-	depends on MFD_MAX8997 && IRQ_DOMAIN
+	depends on MFD_MAX8997
+	select IRQ_DOMAIN
 	help
 	  If you say yes here you get support for the MUIC device of
 	  Maxim MAX8997 PMIC. The MAX8997 MUIC is a USB port accessory
drivers/firmware/dmi-id.c +6 -1
index 86d71b0212b1..0cfc60cc267d 100644
@@ -164,9 +164,14 @@ static int dmi_dev_uevent(struct device *dev, struct kobj_uevent_env *env)
 	return 0;
 }
 
+static void dmi_dev_release(struct device *dev)
+{
+	kfree(dev);
+}
+
 static struct class dmi_class = {
 	.name = "dmi",
-	.dev_release = (void(*)(struct device *)) kfree,
+	.dev_release = dmi_dev_release,
 	.dev_uevent = dmi_dev_uevent,
 };
 
drivers/firmware/raspberrypi.c +4 -3
index 45ff03da234a..c8a292df6fea 100644
@@ -9,6 +9,7 @@
 #include <linux/dma-mapping.h>
 #include <linux/kref.h>
 #include <linux/mailbox_client.h>
+#include <linux/mailbox_controller.h>
 #include <linux/module.h>
 #include <linux/of_platform.h>
 #include <linux/platform_device.h>
@@ -96,8 +97,8 @@ int rpi_firmware_property_list(struct rpi_firmware *fw,
 	if (size & 3)
 		return -EINVAL;
 
-	buf = dma_alloc_coherent(fw->cl.dev, PAGE_ALIGN(size), &bus_addr,
-				 GFP_ATOMIC);
+	buf = dma_alloc_coherent(fw->chan->mbox->dev, PAGE_ALIGN(size),
+				 &bus_addr, GFP_ATOMIC);
 	if (!buf)
 		return -ENOMEM;
 
@@ -125,7 +126,7 @@ int rpi_firmware_property_list(struct rpi_firmware *fw,
 		ret = -EINVAL;
 	}
 
-	dma_free_coherent(fw->cl.dev, PAGE_ALIGN(size), buf, bus_addr);
+	dma_free_coherent(fw->chan->mbox->dev, PAGE_ALIGN(size), buf, bus_addr);
 
 	return ret;
 }
drivers/fpga/dfl-fme-region.c +8 -9
index 1eeb42af1012..4aebde0a7f1c 100644
@@ -30,6 +30,7 @@ static int fme_region_get_bridges(struct fpga_region *region)
 static int fme_region_probe(struct platform_device *pdev)
 {
 	struct dfl_fme_region_pdata *pdata = dev_get_platdata(&pdev->dev);
+	struct fpga_region_info info = { 0 };
 	struct device *dev = &pdev->dev;
 	struct fpga_region *region;
 	struct fpga_manager *mgr;
@@ -39,20 +40,18 @@ static int fme_region_probe(struct platform_device *pdev)
 	if (IS_ERR(mgr))
 		return -EPROBE_DEFER;
 
-	region = devm_fpga_region_create(dev, mgr, fme_region_get_bridges);
-	if (!region) {
-		ret = -ENOMEM;
+	info.mgr = mgr;
+	info.compat_id = mgr->compat_id;
+	info.get_bridges = fme_region_get_bridges;
+	info.priv = pdata;
+	region = fpga_region_register_full(dev, &info);
+	if (IS_ERR(region)) {
+		ret = PTR_ERR(region);
 		goto eprobe_mgr_put;
 	}
 
-	region->priv = pdata;
-	region->compat_id = mgr->compat_id;
 	platform_set_drvdata(pdev, region);
 
-	ret = fpga_region_register(region);
-	if (ret)
-		goto eprobe_mgr_put;
-
 	dev_dbg(dev, "DFL FME FPGA Region probed\n");
 
 	return 0;
drivers/fpga/dfl.c +4 -8
index eb8a6e329af9..ae220365fc04 100644
@@ -1400,19 +1400,15 @@ dfl_fpga_feature_devs_enumerate(struct dfl_fpga_enum_info *info)
 	if (!cdev)
 		return ERR_PTR(-ENOMEM);
 
-	cdev->region = devm_fpga_region_create(info->dev, NULL, NULL);
-	if (!cdev->region) {
-		ret = -ENOMEM;
-		goto free_cdev_exit;
-	}
-
 	cdev->parent = info->dev;
 	mutex_init(&cdev->lock);
 	INIT_LIST_HEAD(&cdev->port_dev_list);
 
-	ret = fpga_region_register(cdev->region);
-	if (ret)
+	cdev->region = fpga_region_register(info->dev, NULL, NULL);
+	if (IS_ERR(cdev->region)) {
+		ret = PTR_ERR(cdev->region);
 		goto free_cdev_exit;
+	}
 
 	/* create and init build info for enumeration */
 	binfo = devm_kzalloc(info->dev, sizeof(*binfo), GFP_KERNEL);
drivers/fpga/fpga-region.c +59 -86

225 lines not on this page · raw message

drivers/fpga/of-fpga-region.c +3 -7
index e405309baadc..466e083654ae 100644
@@ -405,16 +405,12 @@ static int of_fpga_region_probe(struct platform_device *pdev)
 	if (IS_ERR(mgr))
 		return -EPROBE_DEFER;
 
-	region = devm_fpga_region_create(dev, mgr, of_fpga_region_get_bridges);
-	if (!region) {
-		ret = -ENOMEM;
+	region = fpga_region_register(dev, mgr, of_fpga_region_get_bridges);
+	if (IS_ERR(region)) {
+		ret = PTR_ERR(region);
 		goto eprobe_mgr_put;
 	}
 
-	ret = fpga_region_register(region);
-	if (ret)
-		goto eprobe_mgr_put;
-
 	of_platform_populate(np, fpga_region_of_match, NULL, &region->dev);
 	platform_set_drvdata(pdev, region);
 
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +3 -0
index dbcaef3f35da..c54834ed8751 100644
@@ -2073,6 +2073,9 @@ static int sdma_v4_0_process_trap_irq(struct amdgpu_device *adev,
 
 	DRM_DEBUG("IH: SDMA trap\n");
 	instance = sdma_v4_0_irq_id_to_seq(entry->client_id);
+	if (instance < 0)
+		return instance;
+
 	switch (entry->ring_id) {
 	case 0:
 		amdgpu_fence_process(&adev->sdma.instance[instance].ring);
drivers/gpu/drm/amd/amdkfd/kfd_process.c +8 -0
index d243e60c6eef..534f2dec6356 100644
@@ -766,6 +766,14 @@ struct kfd_process *kfd_create_process(struct file *filep)
 	if (process) {
 		pr_debug("Process already found\n");
 	} else {
+		/* If the process just called exec(3), it is possible that the
+		 * cleanup of the kfd_process (following the release of the mm
+		 * of the old process image) is still in the cleanup work queue.
+		 * Make sure to drain any job before trying to recreate any
+		 * resource for this process.
+		 */
+		flush_workqueue(kfd_process_wq);
+
 		process = create_process(thread);
 		if (IS_ERR(process))
 			goto out;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -0
index 3578e3b3536e..29ef0ed44d5f 100644
@@ -2099,6 +2099,7 @@ static int dm_resume(void *handle)
 			dc_stream_release(dm_new_crtc_state->stream);
 			dm_new_crtc_state->stream = NULL;
 		}
+		dm_new_crtc_state->base.color_mgmt_changed = true;
 	}
 
 	for_each_new_plane_in_state(dm->cached_state, plane, new_plane_state, i) {
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c +5 -0
index 7a00fe525dfb..bd9bc51983fe 100644
@@ -379,6 +379,11 @@ bool cm_helper_translate_curve_to_hw_format(
 				i += increment) {
 			if (j == hw_points - 1)
 				break;
+			if (i >= TRANSFER_FUNC_POINTS) {
+				DC_LOG_ERROR("Index out of bounds: i=%d, TRANSFER_FUNC_POINTS=%d\n",
+					     i, TRANSFER_FUNC_POINTS);
+				return false;
+			}
 			rgb_resulted[j].red = output_tf->tf_pts.red[i];
 			rgb_resulted[j].green = output_tf->tf_pts.green[i];
 			rgb_resulted[j].blue = output_tf->tf_pts.blue[i];
drivers/gpu/drm/arm/malidp_mw.c +4 -1
index 7d0e7b031e44..fa5e77ee3af8 100644
@@ -70,7 +70,10 @@ static void malidp_mw_connector_reset(struct drm_connector *connector)
 		__drm_atomic_helper_connector_destroy_state(connector->state);
 
 	kfree(connector->state);
-	__drm_atomic_helper_connector_reset(connector, &mw_state->base);
+	connector->state = NULL;
+
+	if (mw_state)
+		__drm_atomic_helper_connector_reset(connector, &mw_state->base);
 }
 
 static enum drm_connector_status
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c +3 -0
index f56ff97c9899..ae99d04f0045 100644
@@ -1978,6 +1978,9 @@ static void cdns_mhdp_atomic_enable(struct drm_bridge *bridge,
 	mhdp_state = to_cdns_mhdp_bridge_state(new_state);
 
 	mhdp_state->current_mode = drm_mode_duplicate(bridge->dev, mode);
+	if (!mhdp_state->current_mode)
+		return;
+
 	drm_mode_set_name(mhdp_state->current_mode);
 
 	dev_dbg(mhdp->dev, "%s: Enabling mode %s\n", __func__, mode->name);
drivers/gpu/drm/bridge/lontium-lt9611.c +2 -4
index 660e05fa4a70..7f58ceda5b08 100644
@@ -766,10 +766,8 @@ static struct mipi_dsi_device *lt9611_attach_dsi(struct lt9611 *lt9611,
 	int ret;
 
 	host = of_find_mipi_dsi_host_by_node(dsi_node);
-	if (!host) {
-		dev_err(lt9611->dev, "failed to find dsi host\n");
-		return ERR_PTR(-EPROBE_DEFER);
-	}
+	if (!host)
+		return ERR_PTR(dev_err_probe(lt9611->dev, -EPROBE_DEFER, "failed to find dsi host\n"));
 
 	dsi = mipi_dsi_device_register_full(host, &info);
 	if (IS_ERR(dsi)) {
drivers/gpu/drm/bridge/tc358775.c +11 -16
index 2272adcc5b4a..2e299cfe4e48 100644
@@ -453,10 +453,6 @@ static void tc_bridge_enable(struct drm_bridge *bridge)
 	dev_dbg(tc->dev, "bus_formats %04x bpc %d\n",
 		connector->display_info.bus_formats[0],
 		tc->bpc);
-	/*
-	 * Default hardware register settings of tc358775 configured
-	 * with MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA jeida-24 format
-	 */
 	if (connector->display_info.bus_formats[0] ==
 		MEDIA_BUS_FMT_RGB888_1X7X4_SPWG) {
 		/* VESA-24 */
@@ -467,14 +463,15 @@ static void tc_bridge_enable(struct drm_bridge *bridge)
 		d2l_write(tc->i2c, LV_MX1619, LV_MX(LVI_B6, LVI_B7, LVI_B1, LVI_B2));
 		d2l_write(tc->i2c, LV_MX2023, LV_MX(LVI_B3, LVI_B4, LVI_B5, LVI_L0));
 		d2l_write(tc->i2c, LV_MX2427, LV_MX(LVI_HS, LVI_VS, LVI_DE, LVI_R6));
-	} else { /*  MEDIA_BUS_FMT_RGB666_1X7X3_SPWG - JEIDA-18 */
-		d2l_write(tc->i2c, LV_MX0003, LV_MX(LVI_R0, LVI_R1, LVI_R2, LVI_R3));
-		d2l_write(tc->i2c, LV_MX0407, LV_MX(LVI_R4, LVI_L0, LVI_R5, LVI_G0));
-		d2l_write(tc->i2c, LV_MX0811, LV_MX(LVI_G1, LVI_G2, LVI_L0, LVI_L0));
-		d2l_write(tc->i2c, LV_MX1215, LV_MX(LVI_G3, LVI_G4, LVI_G5, LVI_B0));
-		d2l_write(tc->i2c, LV_MX1619, LV_MX(LVI_L0, LVI_L0, LVI_B1, LVI_B2));
-		d2l_write(tc->i2c, LV_MX2023, LV_MX(LVI_B3, LVI_B4, LVI_B5, LVI_L0));
-		d2l_write(tc->i2c, LV_MX2427, LV_MX(LVI_HS, LVI_VS, LVI_DE, LVI_L0));
+	} else {
+		/* JEIDA-18 and JEIDA-24 */
+		d2l_write(tc->i2c, LV_MX0003, LV_MX(LVI_R2, LVI_R3, LVI_R4, LVI_R5));
+		d2l_write(tc->i2c, LV_MX0407, LV_MX(LVI_R6, LVI_R1, LVI_R7, LVI_G2));
+		d2l_write(tc->i2c, LV_MX0811, LV_MX(LVI_G3, LVI_G4, LVI_G0, LVI_G1));
+		d2l_write(tc->i2c, LV_MX1215, LV_MX(LVI_G5, LVI_G6, LVI_G7, LVI_B2));
+		d2l_write(tc->i2c, LV_MX1619, LV_MX(LVI_B0, LVI_B1, LVI_B3, LVI_B4));
+		d2l_write(tc->i2c, LV_MX2023, LV_MX(LVI_B5, LVI_B6, LVI_B7, LVI_L0));
+		d2l_write(tc->i2c, LV_MX2427, LV_MX(LVI_HS, LVI_VS, LVI_DE, LVI_R0));
 	}
 
 	d2l_write(tc->i2c, VFUEN, VFUEN_EN);
@@ -605,10 +602,8 @@ static int tc_bridge_attach(struct drm_bridge *bridge,
 						};
 
 	host = of_find_mipi_dsi_host_by_node(tc->host_node);
-	if (!host) {
-		dev_err(dev, "failed to find dsi host\n");
-		return -EPROBE_DEFER;
-	}
+	if (!host)
+		return dev_err_probe(dev, -EPROBE_DEFER, "failed to find dsi host\n");
 
 	dsi = mipi_dsi_device_register_full(host, &info);
 	if (IS_ERR(dsi)) {
drivers/gpu/drm/drm_mipi_dsi.c +3 -3
index 83918ac1f608..1e9842aac4dc 100644
@@ -572,7 +572,7 @@ EXPORT_SYMBOL(mipi_dsi_set_maximum_return_packet_size);
  *
  * Return: 0 on success or a negative error code on failure.
  */
-ssize_t mipi_dsi_compression_mode(struct mipi_dsi_device *dsi, bool enable)
+int mipi_dsi_compression_mode(struct mipi_dsi_device *dsi, bool enable)
 {
 	/* Note: Needs updating for non-default PPS or algorithm */
 	u8 tx[2] = { enable << 0, 0 };
@@ -597,8 +597,8 @@ EXPORT_SYMBOL(mipi_dsi_compression_mode);
  *
  * Return: 0 on success or a negative error code on failure.
  */
-ssize_t mipi_dsi_picture_parameter_set(struct mipi_dsi_device *dsi,
-				       const struct drm_dsc_picture_parameter_set *pps)
+int mipi_dsi_picture_parameter_set(struct mipi_dsi_device *dsi,
+				   const struct drm_dsc_picture_parameter_set *pps)
 {
 	struct mipi_dsi_msg msg = {
 		.channel = dsi->channel,
drivers/gpu/drm/mediatek/mtk_drm_gem.c +3 -0
index b20ea58907c2..1dac9cd20d46 100644
@@ -21,6 +21,9 @@ static struct mtk_drm_gem_obj *mtk_drm_gem_init(struct drm_device *dev,
 
 	size = round_up(size, PAGE_SIZE);
 
+	if (size == 0)
+		return ERR_PTR(-EINVAL);
+
 	mtk_gem_obj = kzalloc(sizeof(*mtk_gem_obj), GFP_KERNEL);
 	if (!mtk_gem_obj)
 		return ERR_PTR(-ENOMEM);
drivers/gpu/drm/meson/meson_vclk.c +3 -3
index 0eb86943a358..37127ba40aa9 100644
@@ -790,13 +790,13 @@ meson_vclk_vic_supported_freq(struct meson_drm *priv, unsigned int phy_freq,
 				 FREQ_1000_1001(params[i].pixel_freq));
 		DRM_DEBUG_DRIVER("i = %d phy_freq = %d alt = %d\n",
 				 i, params[i].phy_freq,
-				 FREQ_1000_1001(params[i].phy_freq/10)*10);
+				 FREQ_1000_1001(params[i].phy_freq/1000)*1000);
 		/* Match strict frequency */
 		if (phy_freq == params[i].phy_freq &&
 		    vclk_freq == params[i].vclk_freq)
 			return MODE_OK;
 		/* Match 1000/1001 variant */
-		if (phy_freq == (FREQ_1000_1001(params[i].phy_freq/10)*10) &&
+		if (phy_freq == (FREQ_1000_1001(params[i].phy_freq/1000)*1000) &&
 		    vclk_freq == FREQ_1000_1001(params[i].vclk_freq))
 			return MODE_OK;
 	}
@@ -1070,7 +1070,7 @@ void meson_vclk_setup(struct meson_drm *priv, unsigned int target,
 
 	for (freq = 0 ; params[freq].pixel_freq ; ++freq) {
 		if ((phy_freq == params[freq].phy_freq ||
-		     phy_freq == FREQ_1000_1001(params[freq].phy_freq/10)*10) &&
+		     phy_freq == FREQ_1000_1001(params[freq].phy_freq/1000)*1000) &&
 		    (vclk_freq == params[freq].vclk_freq ||
 		     vclk_freq == FREQ_1000_1001(params[freq].vclk_freq))) {
 			if (vclk_freq != params[freq].vclk_freq)
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c +0 -3
index 8493d68ad841..e1a97c10c0e4 100644
@@ -448,9 +448,6 @@ static void dpu_encoder_phys_cmd_enable_helper(
 
 	_dpu_encoder_phys_cmd_pingpong_config(phys_enc);
 
-	if (!dpu_encoder_phys_cmd_is_master(phys_enc))
-		return;
-
 	ctl = phys_enc->hw_ctl;
 	ctl->ops.get_bitmask_intf(ctl, &flush_mask, phys_enc->intf_idx);
 	ctl->ops.update_pending_flush(ctl, flush_mask);
drivers/gpu/drm/panel/panel-simple.c +3 -0
index 51470020ba61..7797aad592a1 100644
@@ -2235,6 +2235,9 @@ static const struct panel_desc innolux_g121x1_l03 = {
 		.unprepare = 200,
 		.disable = 400,
 	},
+	.bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG,
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
+	.connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
 /*
drivers/gpu/drm/vc4/vc4_hdmi.c +2 -0
index 6d01258349fa..0bd49538cb6d 100644
@@ -1253,6 +1253,8 @@ static int vc4_hdmi_audio_init(struct vc4_hdmi *vc4_hdmi)
 		index = 1;
 
 	addr = of_get_address(dev->of_node, index, NULL, NULL);
+	if (!addr)
+		return -EINVAL;
 
 	vc4_hdmi->audio.dma_data.addr = be32_to_cpup(addr) + mai_data->offset;
 	vc4_hdmi->audio.dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
drivers/hid/intel-ish-hid/ipc/pci-ish.c +5 -0
index c6d48a8648b7..4a16ede402ff 100644
@@ -164,6 +164,11 @@ static int ish_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 
 	/* request and enable interrupt */
 	ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES);
+	if (ret < 0) {
+		dev_err(dev, "ISH: Failed to allocate IRQ vectors\n");
+		return ret;
+	}
+
 	if (!pdev->msi_enabled && !pdev->msix_enabled)
 		irq_flag = IRQF_SHARED;
 
drivers/hwmon/shtc1.c +1 -1
index 18546ebc8e9f..0365643029ae 100644
@@ -238,7 +238,7 @@ static int shtc1_probe(struct i2c_client *client)
 
 	if (np) {
 		data->setup.blocking_io = of_property_read_bool(np, "sensirion,blocking-io");
-		data->setup.high_precision = !of_property_read_bool(np, "sensicon,low-precision");
+		data->setup.high_precision = !of_property_read_bool(np, "sensirion,low-precision");
 	} else {
 		if (client->dev.platform_data)
 			data->setup = *(struct shtc1_platform_data *)dev->platform_data;
drivers/hwtracing/intel_th/pci.c +5 -0
index e25438025b9f..7f13687267fd 100644
@@ -289,6 +289,11 @@ static const struct pci_device_id intel_th_pci_id_table[] = {
 		PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x7e24),
 		.driver_data = (kernel_ulong_t)&intel_th_2x,
 	},
+	{
+		/* Meteor Lake-S CPU */
+		PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xae24),
+		.driver_data = (kernel_ulong_t)&intel_th_2x,
+	},
 	{
 		/* Raptor Lake-S */
 		PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x7a26),
drivers/hwtracing/stm/core.c +6 -5
index 2712e699ba08..ae9ea3a1fa2a 100644
@@ -868,8 +868,11 @@ int stm_register_device(struct device *parent, struct stm_data *stm_data,
 		return -ENOMEM;
 
 	stm->major = register_chrdev(0, stm_data->name, &stm_fops);
-	if (stm->major < 0)
-		goto err_free;
+	if (stm->major < 0) {
+		err = stm->major;
+		vfree(stm);
+		return err;
+	}
 
 	device_initialize(&stm->dev);
 	stm->dev.devt = MKDEV(stm->major, 0);
@@ -913,10 +916,8 @@ int stm_register_device(struct device *parent, struct stm_data *stm_data,
 err_device:
 	unregister_chrdev(stm->major, stm_data->name);
 
-	/* matches device_initialize() above */
+	/* calls stm_device_release() */
 	put_device(&stm->dev);
-err_free:
-	vfree(stm);
 
 	return err;
 }
drivers/iio/pressure/dps310.c +6 -5
index 1b6b9530f166..7fdc7a0147f0 100644
@@ -730,7 +730,7 @@ static int dps310_read_pressure(struct dps310_data *data, int *val, int *val2,
 	}
 }
 
-static int dps310_calculate_temp(struct dps310_data *data)
+static int dps310_calculate_temp(struct dps310_data *data, int *val)
 {
 	s64 c0;
 	s64 t;
@@ -746,7 +746,9 @@ static int dps310_calculate_temp(struct dps310_data *data)
 	t = c0 + ((s64)data->temp_raw * (s64)data->c1);
 
 	/* Convert to milliCelsius and scale the temperature */
-	return (int)div_s64(t * 1000LL, kt);
+	*val = (int)div_s64(t * 1000LL, kt);
+
+	return 0;
 }
 
 static int dps310_read_temp(struct dps310_data *data, int *val, int *val2,
@@ -768,11 +770,10 @@ static int dps310_read_temp(struct dps310_data *data, int *val, int *val2,
 		if (rc)
 			return rc;
 
-		rc = dps310_calculate_temp(data);
-		if (rc < 0)
+		rc = dps310_calculate_temp(data, val);
+		if (rc)
 			return rc;
 
-		*val = rc;
 		return IIO_VAL_INT;
 
 	case IIO_CHAN_INFO_OVERSAMPLING_RATIO:
drivers/infiniband/hw/hns/hns_roce_alloc.c +74 -54

150 lines not on this page · raw message

drivers/infiniband/hw/hns/hns_roce_cmd.c +5 -5
index c493d7644b57..339e3fd98b0b 100644
@@ -60,7 +60,7 @@ static int hns_roce_cmd_mbox_post_hw(struct hns_roce_dev *hr_dev, u64 in_param,
 static int __hns_roce_cmd_mbox_poll(struct hns_roce_dev *hr_dev, u64 in_param,
 				    u64 out_param, unsigned long in_modifier,
 				    u8 op_modifier, u16 op,
-				    unsigned long timeout)
+				    unsigned int timeout)
 {
 	struct device *dev = hr_dev->dev;
 	int ret;
@@ -78,7 +78,7 @@ static int __hns_roce_cmd_mbox_poll(struct hns_roce_dev *hr_dev, u64 in_param,
 
 static int hns_roce_cmd_mbox_poll(struct hns_roce_dev *hr_dev, u64 in_param,
 				  u64 out_param, unsigned long in_modifier,
-				  u8 op_modifier, u16 op, unsigned long timeout)
+				  u8 op_modifier, u16 op, unsigned int timeout)
 {
 	int ret;
 
@@ -108,7 +108,7 @@ void hns_roce_cmd_event(struct hns_roce_dev *hr_dev, u16 token, u8 status,
 static int __hns_roce_cmd_mbox_wait(struct hns_roce_dev *hr_dev, u64 in_param,
 				    u64 out_param, unsigned long in_modifier,
 				    u8 op_modifier, u16 op,
-				    unsigned long timeout)
+				    unsigned int timeout)
 {
 	struct hns_roce_cmdq *cmd = &hr_dev->cmd;
 	struct hns_roce_cmd_context *context;
@@ -159,7 +159,7 @@ static int __hns_roce_cmd_mbox_wait(struct hns_roce_dev *hr_dev, u64 in_param,
 
 static int hns_roce_cmd_mbox_wait(struct hns_roce_dev *hr_dev, u64 in_param,
 				  u64 out_param, unsigned long in_modifier,
-				  u8 op_modifier, u16 op, unsigned long timeout)
+				  u8 op_modifier, u16 op, unsigned int timeout)
 {
 	int ret;
 
@@ -173,7 +173,7 @@ static int hns_roce_cmd_mbox_wait(struct hns_roce_dev *hr_dev, u64 in_param,
 
 int hns_roce_cmd_mbox(struct hns_roce_dev *hr_dev, u64 in_param, u64 out_param,
 		      unsigned long in_modifier, u8 op_modifier, u16 op,
-		      unsigned long timeout)
+		      unsigned int timeout)
 {
 	int ret;
 
drivers/infiniband/hw/hns/hns_roce_cmd.h +1 -1
index 8e63b827f28c..8025e7f657fa 100644
@@ -141,7 +141,7 @@ enum {
 
 int hns_roce_cmd_mbox(struct hns_roce_dev *hr_dev, u64 in_param, u64 out_param,
 		      unsigned long in_modifier, u8 op_modifier, u16 op,
-		      unsigned long timeout);
+		      unsigned int timeout);
 
 struct hns_roce_cmd_mailbox *
 hns_roce_alloc_cmd_mailbox(struct hns_roce_dev *hr_dev);
drivers/infiniband/hw/hns/hns_roce_common.h +7 -7
index f5669ff8cfeb..e57e812b1546 100644
@@ -38,19 +38,19 @@
 #define roce_raw_write(value, addr) \
 	__raw_writel((__force u32)cpu_to_le32(value), (addr))
 
-#define roce_get_field(origin, mask, shift) \
-	(((le32_to_cpu(origin)) & (mask)) >> (shift))
+#define roce_get_field(origin, mask, shift)                                    \
+	((le32_to_cpu(origin) & (mask)) >> (u32)(shift))
 
 #define roce_get_bit(origin, shift) \
 	roce_get_field((origin), (1ul << (shift)), (shift))
 
-#define roce_set_field(origin, mask, shift, val) \
-	do { \
-		(origin) &= ~cpu_to_le32(mask); \
-		(origin) |= cpu_to_le32(((u32)(val) << (shift)) & (mask)); \
+#define roce_set_field(origin, mask, shift, val)                               \
+	do {                                                                   \
+		(origin) &= ~cpu_to_le32(mask);                                \
+		(origin) |= cpu_to_le32(((u32)(val) << (u32)(shift)) & (mask));     \
 	} while (0)
 
-#define roce_set_bit(origin, shift, val) \
+#define roce_set_bit(origin, shift, val)                                       \
 	roce_set_field((origin), (1ul << (shift)), (shift), (val))
 
 #define ROCEE_GLB_CFG_ROCEE_DB_SQ_MODE_S 3
drivers/infiniband/hw/hns/hns_roce_db.c +4 -4
index bff6abdccfb0..5cb7376ce978 100644
@@ -95,8 +95,8 @@ static struct hns_roce_db_pgdir *hns_roce_alloc_db_pgdir(
 static int hns_roce_alloc_db_from_pgdir(struct hns_roce_db_pgdir *pgdir,
 					struct hns_roce_db *db, int order)
 {
-	int o;
-	int i;
+	unsigned long o;
+	unsigned long i;
 
 	for (o = order; o <= 1; ++o) {
 		i = find_first_bit(pgdir->bits[o], HNS_ROCE_DB_PER_PAGE >> o);
@@ -154,8 +154,8 @@ int hns_roce_alloc_db(struct hns_roce_dev *hr_dev, struct hns_roce_db *db,
 
 void hns_roce_free_db(struct hns_roce_dev *hr_dev, struct hns_roce_db *db)
 {
-	int o;
-	int i;
+	unsigned long o;
+	unsigned long i;
 
 	mutex_lock(&hr_dev->pgdir_mutex);
 
drivers/infiniband/hw/hns/hns_roce_device.h +65 -50

264 lines not on this page · raw message

drivers/infiniband/hw/hns/hns_roce_hem.h +6 -6
index b7617786b100..5b2162a2b8ce 100644
@@ -60,16 +60,16 @@ enum {
 	 (sizeof(struct scatterlist) + sizeof(void *)))
 
 #define check_whether_bt_num_3(type, hop_num) \
-	(type < HEM_TYPE_MTT && hop_num == 2)
+	((type) < HEM_TYPE_MTT && (hop_num) == 2)
 
 #define check_whether_bt_num_2(type, hop_num) \
-	((type < HEM_TYPE_MTT && hop_num == 1) || \
-	(type >= HEM_TYPE_MTT && hop_num == 2))
+	(((type) < HEM_TYPE_MTT && (hop_num) == 1) || \
+	((type) >= HEM_TYPE_MTT && (hop_num) == 2))
 
 #define check_whether_bt_num_1(type, hop_num) \
-	((type < HEM_TYPE_MTT && hop_num == HNS_ROCE_HOP_NUM_0) || \
-	(type >= HEM_TYPE_MTT && hop_num == 1) || \
-	(type >= HEM_TYPE_MTT && hop_num == HNS_ROCE_HOP_NUM_0))
+	(((type) < HEM_TYPE_MTT && (hop_num) == HNS_ROCE_HOP_NUM_0) || \
+	((type) >= HEM_TYPE_MTT && (hop_num) == 1) || \
+	((type) >= HEM_TYPE_MTT && (hop_num) == HNS_ROCE_HOP_NUM_0))
 
 struct hns_roce_hem_chunk {
 	struct list_head	 list;
drivers/infiniband/hw/hns/hns_roce_hw_v1.c +4 -4
index 6f9b024d4ff7..ea8d7154d0e1 100644
@@ -288,7 +288,7 @@ static int hns_roce_v1_post_send(struct ib_qp *ibqp,
 					ret = -EINVAL;
 					*bad_wr = wr;
 					dev_err(dev, "inline len(1-%d)=%d, illegal",
-						ctrl->msg_length,
+						le32_to_cpu(ctrl->msg_length),
 						hr_dev->caps.max_sq_inline);
 					goto out;
 				}
@@ -1715,7 +1715,7 @@ static int hns_roce_v1_post_mbox(struct hns_roce_dev *hr_dev, u64 in_param,
 }
 
 static int hns_roce_v1_chk_mbox(struct hns_roce_dev *hr_dev,
-				unsigned long timeout)
+				unsigned int timeout)
 {
 	u8 __iomem *hcr = hr_dev->reg_base + ROCEE_MB1_REG;
 	unsigned long end;
@@ -3674,10 +3674,10 @@ static int hns_roce_v1_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata)
 	return 0;
 }
 
-static void set_eq_cons_index_v1(struct hns_roce_eq *eq, int req_not)
+static void set_eq_cons_index_v1(struct hns_roce_eq *eq, u32 req_not)
 {
 	roce_raw_write((eq->cons_index & HNS_ROCE_V1_CONS_IDX_M) |
-		      (req_not << eq->log_entries), eq->doorbell);
+		       (req_not << eq->log_entries), eq->doorbell);
 }
 
 static void hns_roce_v1_wq_catas_err_handle(struct hns_roce_dev *hr_dev,
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +18 -17
index 518b38e9158d..13aa8dd42f7d 100644
@@ -650,7 +650,7 @@ static int hns_roce_v2_post_send(struct ib_qp *ibqp,
 	unsigned int sge_idx;
 	unsigned int wqe_idx;
 	void *wqe = NULL;
-	int nreq;
+	u32 nreq;
 	int ret;
 
 	spin_lock_irqsave(&qp->sq.lock, flags);
@@ -828,7 +828,7 @@ static void *get_srq_wqe(struct hns_roce_srq *srq, int n)
 	return hns_roce_buf_offset(srq->buf_mtr.kmem, n << srq->wqe_shift);
 }
 
-static void *get_idx_buf(struct hns_roce_idx_que *idx_que, int n)
+static void *get_idx_buf(struct hns_roce_idx_que *idx_que, unsigned int n)
 {
 	return hns_roce_buf_offset(idx_que->mtr.kmem,
 				   n << idx_que->entry_shift);
@@ -869,12 +869,12 @@ static int hns_roce_v2_post_srq_recv(struct ib_srq *ibsrq,
 	struct hns_roce_v2_wqe_data_seg *dseg;
 	struct hns_roce_v2_db srq_db;
 	unsigned long flags;
+	unsigned int ind;
 	__le32 *srq_idx;
 	int ret = 0;
 	int wqe_idx;
 	void *wqe;
 	int nreq;
-	int ind;
 	int i;
 
 	spin_lock_irqsave(&srq->lock, flags);
@@ -1128,7 +1128,7 @@ static void hns_roce_cmq_init_regs(struct hns_roce_dev *hr_dev, bool ring_type)
 		roce_write(hr_dev, ROCEE_TX_CMQ_BASEADDR_H_REG,
 			   upper_32_bits(dma));
 		roce_write(hr_dev, ROCEE_TX_CMQ_DEPTH_REG,
-			   ring->desc_num >> HNS_ROCE_CMQ_DESC_NUM_S);
+			   (u32)ring->desc_num >> HNS_ROCE_CMQ_DESC_NUM_S);
 		roce_write(hr_dev, ROCEE_TX_CMQ_HEAD_REG, 0);
 		roce_write(hr_dev, ROCEE_TX_CMQ_TAIL_REG, 0);
 	} else {
@@ -1136,7 +1136,7 @@ static void hns_roce_cmq_init_regs(struct hns_roce_dev *hr_dev, bool ring_type)
 		roce_write(hr_dev, ROCEE_RX_CMQ_BASEADDR_H_REG,
 			   upper_32_bits(dma));
 		roce_write(hr_dev, ROCEE_RX_CMQ_DEPTH_REG,
-			   ring->desc_num >> HNS_ROCE_CMQ_DESC_NUM_S);
+			   (u32)ring->desc_num >> HNS_ROCE_CMQ_DESC_NUM_S);
 		roce_write(hr_dev, ROCEE_RX_CMQ_HEAD_REG, 0);
 		roce_write(hr_dev, ROCEE_RX_CMQ_TAIL_REG, 0);
 	}
@@ -1907,8 +1907,8 @@ static void set_default_caps(struct hns_roce_dev *hr_dev)
 	}
 }
 
-static void calc_pg_sz(int obj_num, int obj_size, int hop_num, int ctx_bt_num,
-		       int *buf_page_size, int *bt_page_size, u32 hem_type)
+static void calc_pg_sz(u32 obj_num, u32 obj_size, u32 hop_num, u32 ctx_bt_num,
+		       u32 *buf_page_size, u32 *bt_page_size, u32 hem_type)
 {
 	u64 obj_per_chunk;
 	u64 bt_chunk_size = PAGE_SIZE;
@@ -2382,10 +2382,10 @@ static int hns_roce_init_link_table(struct hns_roce_dev *hr_dev,
 	u32 buf_chk_sz;
 	dma_addr_t t;
 	int func_num = 1;
-	int pg_num_a;
-	int pg_num_b;
-	int pg_num;
-	int size;
+	u32 pg_num_a;
+	u32 pg_num_b;
+	u32 pg_num;
+	u32 size;
 	int i;
 
 	switch (type) {
@@ -2549,7 +2549,7 @@ static int hns_roce_query_mbox_status(struct hns_roce_dev *hr_dev)
 	struct hns_roce_cmq_desc desc;
 	struct hns_roce_mbox_status *mb_st =
 				       (struct hns_roce_mbox_status *)desc.data;
-	enum hns_roce_cmd_return_status status;
+	int status;
 
 	hns_roce_cmq_setup_basic_desc(&desc, HNS_ROCE_OPC_QUERY_MB_ST, true);
 
@@ -2620,7 +2620,7 @@ static int hns_roce_v2_post_mbox(struct hns_roce_dev *hr_dev, u64 in_param,
 }
 
 static int hns_roce_v2_chk_mbox(struct hns_roce_dev *hr_dev,
-				unsigned long timeout)
+				unsigned int timeout)
 {
 	struct device *dev = hr_dev->dev;
 	unsigned long end;
@@ -2970,7 +2970,7 @@ static void *get_cqe_v2(struct hns_roce_cq *hr_cq, int n)
 	return hns_roce_buf_offset(hr_cq->mtr.kmem, n * hr_cq->cqe_size);
 }
 
-static void *get_sw_cqe_v2(struct hns_roce_cq *hr_cq, int n)
+static void *get_sw_cqe_v2(struct hns_roce_cq *hr_cq, unsigned int n)
 {
 	struct hns_roce_v2_cqe *cqe = get_cqe_v2(hr_cq, n & hr_cq->ib_cq.cqe);
 
@@ -3278,8 +3278,9 @@ static void get_cqe_status(struct hns_roce_dev *hr_dev, struct hns_roce_qp *qp,
 		   wc->status == IB_WC_WR_FLUSH_ERR))
 		return;
 
-	ibdev_err(&hr_dev->ib_dev, "error cqe status 0x%x:\n", cqe_status);
-	print_hex_dump(KERN_ERR, "", DUMP_PREFIX_NONE, 16, 4, cqe,
+	ibdev_err_ratelimited(&hr_dev->ib_dev, "error cqe status 0x%x:\n",
+			      cqe_status);
+	print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_NONE, 16, 4, cqe,
 		       cq->cqe_size, false);
 
 	/*
@@ -3314,7 +3315,7 @@ static int hns_roce_v2_poll_one(struct hns_roce_cq *hr_cq,
 	int is_send;
 	u16 wqe_ctr;
 	u32 opcode;
-	int qpn;
+	u32 qpn;
 	int ret;
 
 	/* Find cqe according to consumer index */
drivers/infiniband/hw/hns/hns_roce_main.c +1 -1
index 90cbd15f6441..f62162771db5 100644
@@ -53,7 +53,7 @@
  *		GID[0][0], GID[1][0],.....GID[N - 1][0],
  *		And so on
  */
-int hns_get_gid_index(struct hns_roce_dev *hr_dev, u8 port, int gid_index)
+u8 hns_get_gid_index(struct hns_roce_dev *hr_dev, u8 port, int gid_index)
 {
 	return gid_index * hr_dev->caps.num_ports + port;
 }
drivers/infiniband/hw/hns/hns_roce_mr.c +25 -40

153 lines not on this page · raw message

drivers/infiniband/hw/hns/hns_roce_qp.c +106 -23

200 lines not on this page · raw message

drivers/infiniband/ulp/ipoib/ipoib_vlan.c +6 -2
index 4c50a87ed7cc..15a7cda44676 100644
@@ -185,8 +185,12 @@ int ipoib_vlan_add(struct net_device *pdev, unsigned short pkey)
 
 	ppriv = ipoib_priv(pdev);
 
-	snprintf(intf_name, sizeof(intf_name), "%s.%04x",
-		 ppriv->dev->name, pkey);
+	/* If you increase IFNAMSIZ, update snprintf below
+	 * to allow longer names.
+	 */
+	BUILD_BUG_ON(IFNAMSIZ != 16);
+	snprintf(intf_name, sizeof(intf_name), "%.10s.%04x", ppriv->dev->name,
+		 pkey);
 
 	ndev = ipoib_intf_alloc(ppriv->ca, ppriv->port, intf_name);
 	if (IS_ERR(ndev)) {
drivers/input/misc/ims-pcu.c +2 -2
index 08b9b5cdb943..e5cb20e7f57b 100644
@@ -42,8 +42,8 @@ struct ims_pcu_backlight {
 #define IMS_PCU_PART_NUMBER_LEN		15
 #define IMS_PCU_SERIAL_NUMBER_LEN	8
 #define IMS_PCU_DOM_LEN			8
-#define IMS_PCU_FW_VERSION_LEN		(9 + 1)
-#define IMS_PCU_BL_VERSION_LEN		(9 + 1)
+#define IMS_PCU_FW_VERSION_LEN		16
+#define IMS_PCU_BL_VERSION_LEN		16
 #define IMS_PCU_BL_RESET_REASON_LEN	(2 + 1)
 
 #define IMS_PCU_PCU_B_DEVICE_ID		5
drivers/input/misc/pm8xxx-vibrator.c +4 -3
index 53ad25eaf1a2..8bfe5c7b1244 100644
@@ -14,7 +14,8 @@
 
 #define VIB_MAX_LEVEL_mV	(3100)
 #define VIB_MIN_LEVEL_mV	(1200)
[… more lines in the raw message]

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

drivers/input/serio/ioc3kbd.c +9 -4
index d51bfe912db5..676b0bda3d72 100644

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

drivers/irqchip/irq-alpine-msi.c +1 -1
index 1819bb1d2723..aedbc4befcdf 100644

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

drivers/irqchip/irq-loongson-pch-msi.c +1 -1
index 32562b7e681b..254a58fbb844 100644

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

drivers/macintosh/via-macii.c +3 -8
index 060e03f2264b..6adb34d1e381 100644

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

drivers/md/md-bitmap.c +3 -3
index b28302836b2e..91bc764a854c 100644

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

drivers/md/raid5.c +3 -12
index 9f114b9d8dc6..66167c4c7bc9 100644

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

drivers/media/cec/core/cec-adap.c +183 -108

291 lines not on this page · raw message

drivers/media/cec/core/cec-api.c +13 -18
index f922a2196b2b..8bdf58abdf96 100644

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

drivers/media/cec/core/cec-core.c +5 -2
index ece236291f35..0a3345e1a0f3 100644

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

drivers/media/cec/core/cec-pin-priv.h +11 -0
index f423db8855d9..5577c62e4131 100644

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

drivers/media/cec/core/cec-pin.c +11 -12
index f8452a1f9fc6..447fdada20e9 100644

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

drivers/media/cec/core/cec-priv.h +10 -0
index 9bbd05053d42..b78df931aa74 100644

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

drivers/media/dvb-frontends/lgdt3306a.c +5 -0
index 47fb22180d5b..d638cc88aa77 100644

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

drivers/media/dvb-frontends/mxl5xx.c +11 -11
index 0b00a23436ed..aaf9a173596a 100644

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

drivers/media/mc/mc-devnode.c +2 -3
index f11382afe23b..f249199dc616 100644

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

drivers/media/pci/ngene/ngene-core.c +3 -1
index e1a8c611d01b..97cac9770802 100644

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

drivers/media/radio/radio-shark2.c +1 -1
index f1c5c0a6a335..e3e6aa87fe08 100644

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

drivers/media/usb/b2c2/flexcop-usb.c +8 -4
index 2299d5cca8ff..6ded5a6181aa 100644

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

drivers/media/usb/stk1160/stk1160-video.c +15 -5
index 4cf540d1b250..2a5a90311e0c 100644

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

drivers/media/v4l2-core/v4l2-dev.c +3 -0
index a593ea0598b5..4c31aa0a941e 100644

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

drivers/mmc/core/host.c +1 -2
index b949a4468bf5..7ba1343ca5c1 100644

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

drivers/mmc/core/slot-gpio.c +20 -0
index 681653d097ef..04c510b751b2 100644

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

drivers/mmc/host/sdhci-acpi.c +42 -6

48 lines not on this page · raw message

drivers/mmc/host/sdhci_am654.c +140 -65

205 lines not on this page · raw message

drivers/mtd/nand/raw/nand_hynix.c +1 -1
index a9f50c9af109..856b3d6eceb7 100644

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

drivers/net/ethernet/cisco/enic/enic_main.c +12 -0
index 548d8095c0a7..b695f3f23328 100644

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

drivers/net/ethernet/cortina/gemini.c +10 -2
index c78587ddb32f..fa46854fd697 100644

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

drivers/net/ethernet/freescale/fec_main.c +10 -0
index fe29769cb158..adb76db66031 100644

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

drivers/net/ethernet/freescale/fec_ptp.c +8 -6
index c5ae67300590..780fbb3e1ed0 100644

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

drivers/net/ethernet/mellanox/mlx5/core/cmd.c +3 -0
index 0ba43c93abb2..42dc76f85c62 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_main.c +1 -1
index 5673a4113253..f1834853872d 100644

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

drivers/net/ethernet/qlogic/qed/qed_main.c +4 -5
index 41bc31e3f935..03ede9425889 100644

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

drivers/net/ethernet/smsc/smc91x.h +2 -2
index 387539a8094b..95e9204ce827 100644

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

drivers/net/ethernet/sun/sungem.c +0 -14
index 58f142ee78a3..4d6a9f02c738 100644

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

drivers/net/ipvlan/ipvlan_core.c +2 -2
index bfea28bd4502..d04b1450875b 100644

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

drivers/net/usb/aqc111.c +3 -5
index 4ea02116be18..895d4f5166f9 100644

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

drivers/net/usb/qmi_wwan.c +3 -0
index be2761d0bcd9..4dd1a9fb4c8a 100644

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

drivers/net/usb/smsc95xx.c +14 -12
index 569be01700aa..30e5f6910e6f 100644

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

drivers/net/usb/sr9700.c +3 -7
index 811c8751308c..3fac642bec77 100644

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

drivers/net/vxlan/vxlan_core.c +0 -4
index b173497a3e0c..3096769e718e 100644

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

drivers/net/wireless/ath/ar5523/ar5523.c +14 -0
index efe38b2c1df7..71c2bf8817dc 100644

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

drivers/net/wireless/ath/ath10k/core.c +3 -0
index 57ac80997319..d03a36c45f9f 100644

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

drivers/net/wireless/ath/ath10k/debugfs_sta.c +1 -1
index 367539f2c370..f7912c72cba3 100644

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

drivers/net/wireless/ath/ath10k/hw.h +1 -0
index d3ef83ad577d..c4df0e4e161b 100644

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

drivers/net/wireless/ath/ath10k/targaddrs.h +3 -0
index ec556bb88d65..ba37e6c7ced0 100644

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

drivers/net/wireless/ath/ath10k/wmi.c +23 -3
index 85fe855ece09..9cfd35dc87ba 100644

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

drivers/net/wireless/ath/carl9170/usb.c +32 -0
index e4eb666c6eea..a5265997b576 100644

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

drivers/net/wireless/marvell/mwl8k.c +1 -1
index dc91ac8cbd48..dd72e9f8b407 100644

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

drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +11 -15
index 9efc15e69ae8..5b27c22e7e58 100644

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

drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c +10 -11
index 8944712274b5..93cba14f4401 100644

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

drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h +21 -58

79 lines not on this page · raw message

drivers/nvme/host/multipath.c +2 -1
index 379d6818a063..9f59f93b70e2 100644

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

drivers/nvme/target/configfs.c +8 -0
index 9aed5cc71096..f2d11fc04752 100644

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

drivers/pci/pcie/edr.c +17 -11
index 87734e4c3c20..35210007602c 100644

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

drivers/regulator/bd71828-regulator.c +2 -56

58 lines not on this page · raw message

drivers/regulator/vqmmc-ipq4019-regulator.c +1 -0
index 6d5ae25d08d1..e2a28788d8a2 100644

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

drivers/s390/cio/trace.h +1 -1
index 4803139bce14..4716798b1368 100644

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

drivers/s390/crypto/ap_bus.c +1 -1
index c00a288a4eca..13e56a23e41e 100644

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

drivers/scsi/bfa/bfad_debugfs.c +2 -2
index fd1b378a263a..d3c7d4423c51 100644

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

drivers/scsi/hpsa.c +1 -1
index a44a098dbb9c..4e7ec83c07cf 100644

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

drivers/scsi/libsas/sas_expander.c +1 -2
index 8444a4287ac1..8681e0cdfa5e 100644

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

drivers/scsi/qedf/qedf_debugfs.c +1 -1
index 451fd236bfd0..96174353e389 100644

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

drivers/scsi/qla2xxx/qla_init.c +4 -4
index 3d56f971cdc4..8d54f6099802 100644

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

drivers/scsi/qla2xxx/qla_mr.c +10 -10
index 7178646ee0f0..cc8994a7c994 100644

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

drivers/scsi/ufs/cdns-pltfrm.c +1 -1
index da065a259f6e..408ba52671de 100644

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

drivers/scsi/ufs/ufs-qcom.c +23 -8
index 08331ecbe91f..2c3972d9ba52 100644

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

drivers/scsi/ufs/ufs-qcom.h +13 -8
index 3f4922743b3e..742f752d01d6 100644

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

drivers/scsi/ufs/ufshcd.c +2 -2
index a432aebd14be..0b0230b46f28 100644

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

drivers/soc/mediatek/mtk-cmdq-helper.c +3 -2
index 505651b0d715..c0b2f9397ea8 100644

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

drivers/soundwire/cadence_master.c +1 -1
index 18e7d158fcca..d3e9cd3faadf 100644

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

drivers/spi/spi-stm32.c +1 -1
index 9ec37cf10c01..f97b822cca19 100644

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

drivers/spi/spi.c +4 -0
index 857a1399850c..e84494eed1c1 100644

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

drivers/staging/greybus/arche-apb-ctrl.c +1 -0
index bbf3ba744fc4..c7383c6c6094 100644

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

drivers/staging/greybus/arche-platform.c +1 -8
index eebf0deb39f5..02a700f720e6 100644

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

drivers/staging/greybus/light.c +7 -1
index e59bb27236b9..7352d7deb8ba 100644

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

drivers/staging/media/atomisp/pci/sh_css.c +1 -0
index 54a18921fbd1..cb0354520360 100644

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

drivers/tty/n_gsm.c +6 -2
index c20f69a4c5e9..0a367fa23c27 100644

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

drivers/tty/serial/max3100.c +19 -3
index 371569a0fd00..17b6f4a872d6 100644

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

drivers/tty/serial/sc16is7xx.c +1 -1
index 29f05db0d49b..d751f8ce5cf6 100644

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

drivers/tty/serial/sh-sci.c +5 -0
index a7c28543c6f7..71cf9a7329f9 100644

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

drivers/usb/gadget/function/u_audio.c +2 -0
index 6c8b8f5b7e0f..a387ff2c8b73 100644

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

drivers/video/fbdev/Kconfig +2 -2
index dd5958463097..9ad3e5157869 100644

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

drivers/video/fbdev/savage/savagefb_driver.c +4 -1
index 94ebd8af50cf..224d7c8146a9 100644

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

drivers/video/fbdev/sh_mobile_lcdcfb.c +1 -1
index c1043420dbd3..21d13d16f973 100644

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

drivers/video/fbdev/sis/init301.c +1 -2
index a8fb41f1a258..09329072004f 100644

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

drivers/virtio/virtio_pci_common.c +3 -1
index 1e890ef17687..a6f375417fd5 100644

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

drivers/watchdog/rti_wdt.c +15 -19
index daa00f3c5a6a..7f2ca611a3f8 100644

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

fs/afs/mntpt.c +5 -0
index bbb2c210d139..fa8a6543142d 100644

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

fs/ecryptfs/keystore.c +3 -1
index f6a17d259db7..afe51b4be1e7 100644

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

fs/ext4/mballoc.c +68 -66

134 lines not on this page · raw message

fs/ext4/namei.c +1 -1
index a50eb4c61ecc..af0801593abb 100644

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

fs/ext4/xattr.c +3 -1
index 5bf858fc271f..2dcb7d2bb85e 100644

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

fs/f2fs/checkpoint.c +2 -2
index 8ca549cc975e..f4ab9b313e4f 100644

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

fs/f2fs/compress.c +46 -45

91 lines not on this page · raw message

fs/f2fs/data.c +5 -5
index e0533cffbb07..1b764f70b70e 100644

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

fs/f2fs/extent_cache.c +2 -2
index ad0b83a41226..01f93fae5629 100644

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

fs/f2fs/f2fs.h +50 -2

52 lines not on this page · raw message

fs/f2fs/file.c +60 -26

86 lines not on this page · raw message

fs/f2fs/inode.c +9 -0
index 87752550f78c..724760353bcd 100644

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

fs/f2fs/namei.c +1 -1
index 99e4ec48d2a4..56d23bc25435 100644

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

fs/f2fs/node.c +1 -1
index 02cb1c806c3e..348ad1d6199f 100644

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

fs/f2fs/segment.c +2 -2
index a27a93429271..134a78179e6f 100644

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

fs/f2fs/super.c +32 -0
index 9a74d60f61db..1281b59da6a2 100644

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

fs/gfs2/glock.c +3 -1
index dd052101e226..b0f01a8e3776 100644

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

fs/gfs2/util.c +0 -1
index 3ece99e6490c..d11152dedb80 100644

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

fs/jffs2/xattr.c +3 -0
index acb4492f5970..5a31220f96f5 100644

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

fs/nfs/internal.h +2 -2
index 9a72abfb46ab..566f1b11f62f 100644

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

fs/nfs/nfs4proc.c +1 -1
index 8e546e6a5619..1ff3f9efbe51 100644

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

fs/nilfs2/ioctl.c +1 -1
index 01235fac5971..668c1b28a940 100644

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

fs/nilfs2/segment.c +50 -13

63 lines not on this page · raw message

fs/openpromfs/inode.c +4 -4
index 40c8c2e32fa3..1e22344be5e5 100644

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

include/drm/drm_mipi_dsi.h +3 -3
index 3c0d1495c062..0dbed65c0ca5 100644

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

include/linux/f2fs_fs.h +2 -1
index a5dbb57a687f..9a6082c57219 100644

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

include/linux/fpga/fpga-region.h +34 -9

43 lines not on this page · raw message

include/linux/mmc/slot-gpio.h +1 -0
index 4ae2f2908f99..d4a1567c94d0 100644

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

include/linux/moduleparam.h +2 -0
index 6388eb9734a5..f25a1c484390 100644

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

include/media/cec.h +22 -4
index cd35ae6b7560..38eb9334d854 100644

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

include/media/v4l2-h264.h +3 -3
index f08ba181263d..1cc89d2e693a 100644

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

include/media/v4l2-jpeg.h +2 -0
index ddba2a56c321..3a3344a97678 100644

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

include/net/dst_ops.h +1 -1
index 632086b2f644..3ae2fda29507 100644

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

include/net/inet6_hashtables.h +16 -0
index 56f1286583d3..f89320b6fee3 100644

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

include/net/inet_hashtables.h +14 -4
index c9e387d174c6..7778422cfac5 100644

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

include/net/netfilter/nf_tables.h +2 -0
index 2da11d8c0f45..ab8d84775ca8 100644

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

include/net/sock.h +3 -10
index 8bcc96bf291c..0be681984987 100644

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

include/sound/soc-acpi.h +6 -0
index b16a844d16ef..9a43c44dcbbb 100644

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

include/trace/events/asoc.h +2 -0
index 40c300fe704d..f62d5b702426 100644

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

include/uapi/linux/cec.h +2 -1
index 7d1a06c52469..dc8879d179fd 100644

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

include/uapi/linux/v4l2-subdev.h +11 -1
index a38454d9e0f5..658106f5b5dc 100644

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

include/uapi/linux/videodev2.h +14 -1
index 55b8c4b82479..1bbd81f031fe 100644

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

io_uring/io_uring.c +2 -0
index 93f9ecedc59f..47bc8fe2b945 100644

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

kernel/bpf/verifier.c +7 -3
index 25f8a8716e88..ad115ccc2fe0 100644

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

kernel/cgroup/cpuset.c +1 -1
index 195f9cccab20..9f2a93c829a9 100644

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

kernel/debug/kdb/kdb_io.c +56 -43

99 lines not on this page · raw message

kernel/irq/cpuhotplug.c +8 -8
index 02236b13b359..40c6512bc163 100644

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

kernel/params.c +18 -0
index 164d79330849..eb00abef7076 100644

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

kernel/sched/topology.c +1 -1
index ff2c6d3ba6c7..6eb0996ef859 100644

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

kernel/trace/ring_buffer.c +9 -0
index 2df8e13a29e5..9a2c8727b033 100644

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

net/9p/client.c +2 -0
index cd85a4b6448b..0fa324e8b245 100644

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

net/core/dev.c +2 -1
index 0e2c433bebcd..5e91496fd3a3 100644

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

net/ipv4/inet_hashtables.c +18 -11
index ad050f8476b8..56deddeac1b0 100644

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

net/ipv4/netfilter/nf_tproxy_ipv4.c +2 -0
index 61cb2341f50f..7c1a0cd9f435 100644

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

net/ipv4/route.c +8 -14
index cc409cc0789c..b3b49d8b386d 100644

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

net/ipv4/tcp_dctcp.c +12 -1
index 79f705450c16..be2c97e907ae 100644

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

net/ipv4/tcp_ipv4.c +11 -2
index 85d8688933f3..0e7179a19e22 100644

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

net/ipv4/udp.c +29 -26

55 lines not on this page · raw message

net/ipv6/inet6_hashtables.c +17 -10
index b4a5e01e1201..21b4fc835487 100644

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

net/ipv6/reassembly.c +1 -1
index 28e44782c94d..699367517155 100644

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

net/ipv6/route.c +19 -15
index 2d53c362f309..88f96241ca97 100644

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

net/ipv6/seg6.c +4 -1
index a8439fded12d..77221f27262a 100644

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

net/ipv6/seg6_hmac.c +28 -14

42 lines not on this page · raw message

net/ipv6/udp.c +32 -29

61 lines not on this page · raw message

net/netfilter/nf_tables_api.c +15 -7
index 858d09b54eaa..f3cb5c920276 100644

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

net/netfilter/nfnetlink_queue.c +2 -0
index 9d87606c76ff..dc6af1919dea 100644

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

net/netfilter/nft_payload.c +7 -16
index 56f6c05362ae..fa64b1b8ae91 100644

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

net/netfilter/nft_tunnel.c +1 -0
index 2ee50996da8c..c8822fa8196d 100644

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

net/netrom/nr_route.c +7 -12
index 895702337c92..9269b5e69b9a 100644

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

net/nfc/nci/core.c +15 -2
index d8002065baae..3182b4228cfa 100644

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

net/openvswitch/actions.c +6 -0
index 80fee9d118ee..4095456f413d 100644

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

net/openvswitch/flow.c +2 -1
index c9ba61413c98..9bad601c7fe8 100644

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

net/packet/af_packet.c +1 -2
index db5d16c5d5b1..8e52f0949305 100644

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

net/qrtr/af_qrtr.c +11 -5
index 71c2295d4a57..29c0886eb9ef 100644

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

net/qrtr/ns.c +31 -3
index c92dd960bfef..1da34d54092b 100644

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

net/qrtr/qrtr.h +1 -1
index dc2b67f17927..3f2d28696062 100644

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

net/sunrpc/auth_gss/svcauth_gss.c +3 -9
index 406ff7f8b156..784c8b24f164 100644

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

net/sunrpc/clnt.c +1 -0
index a5ce9b937c42..196a3b11d150 100644

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

net/sunrpc/svc.c +0 -2
index 495ebe7fad6d..cfe8b911ca01 100644

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

net/sunrpc/xprtrdma/verbs.c +5 -1
index d015576f3081..9e9df38b29f7 100644

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

net/sunrpc/xprtsock.c +0 -18
index ae5b5380f0f0..0666f981618a 100644

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

net/tls/tls_main.c +9 -1
index 2bbacd9b97e5..ebf856cf821d 100644

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

net/unix/af_unix.c +1 -1
index 224b1fdc8227..3ab726a668e8 100644

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

net/wireless/trace.h +2 -2
index edc824c103e8..06e81d1efc92 100644

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

net/xfrm/xfrm_policy.c +3 -8
index 664d55957feb..fadb309b25b4 100644

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

scripts/kconfig/symbol.c +4 -2
index a2056fa80de2..ff4c5d314b4d 100644

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

sound/core/init.c +1 -1
index 9f5270c90a10..b6dd43005c27 100644

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

sound/core/timer.c +10 -0
index 764d2b19344e..708c9a46eefe 100644

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

sound/soc/codecs/da7219-aad.c +5 -1
index b6030709b6b6..2fb26dd84bc7 100644

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

sound/soc/codecs/rt5645.c +25 -0
index 5db63ef33f1a..ac403827a229 100644

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

sound/soc/codecs/rt715-sdw.c +1 -0
index 361a90ae594c..c0f09c3bcb6e 100644

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

sound/soc/codecs/tas2552.c +13 -2
index bd00c35116cd..f045876c12f1 100644

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

sound/soc/intel/boards/bxt_da7219_max98357a.c +1 -0
index 0c0a717823c4..1a24c44db6dd 100644

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

sound/soc/intel/boards/bxt_rt298.c +1 -0
index 0f3157dfa838..13c41338003f 100644

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

sound/soc/intel/boards/glk_rt5682_max98357a.c +2 -0
index 62cca511522e..c1b789ac6d50 100644

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

sound/soc/intel/boards/kbl_da7219_max98357a.c +1 -0
index 36f1f49e0b76..4ecef661f883 100644

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

sound/soc/intel/boards/kbl_da7219_max98927.c +4 -0
index 884741aa4833..80c343fe7f65 100644

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

sound/soc/intel/boards/kbl_rt5660.c +1 -0
index 3a9f91b58e11..2bffd2b6b361 100644

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

sound/soc/intel/boards/kbl_rt5663_max98927.c +2 -0
index 9a4b3d0973f6..be76c71eca67 100644

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

sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +1 -0
index f95546c184aa..291f56f79cd3 100644

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

sound/soc/intel/boards/skl_hda_dsp_generic.c +2 -0
index bc50eda297ab..c2ff59e9a8cf 100644

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

sound/soc/intel/boards/skl_nau88l25_max98357a.c +1 -0
index 55802900069a..d976636f5a49 100644

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

sound/soc/intel/boards/skl_rt286.c +1 -0
index 5a0c64a83146..4ff3e5fb9b7d 100644

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

tools/arch/x86/lib/x86-opcode-map.txt +1 -1
index ec31f5b60323..1c25c1072a84 100644

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

tools/bpf/resolve_btfids/main.c +1 -1
index f32c059fbfb4..8b2a2576fed6 100644

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

tools/lib/subcmd/parse-options.c +5 -3
index 39ebf6192016..e799d35cba43 100644

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

tools/testing/selftests/bpf/test_sockmap.c +1 -1
index 427ca00a3217..85d57633c8b6 100644

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

tools/testing/selftests/filesystems/binderfs/Makefile +0 -2
index 8af25ae96049..24d8910c7ab5 100644

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

tools/testing/selftests/kcmp/kcmp_test.c +5 -3
index 6ea7b9f37a41..d7a8e321bb16 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.