Skip to contentSkip to conversation

Linux 5.4.14

DISCUSSION Greg KH 1 participant 2 messages Jan 23, 2020 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 5.4.14 kernel.

All users of the 5.4 kernel series must upgrade.

The updated 5.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.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/net/snps,dwmac.yaml       |    1 
 Makefile                                                    |    2 
 arch/arm/boot/dts/am571x-idk.dts                            |    2 
 arch/arm/boot/dts/dra7-l4.dtsi                              |    2 
 arch/arm/boot/dts/imx6dl-icore-mipi.dts                     |    2 
 arch/arm/boot/dts/imx6q-dhcom-pdk2.dts                      |    2 
 arch/arm/boot/dts/imx6q-dhcom-som.dtsi                      |    2 
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi                      |    4 
 arch/arm/boot/dts/imx6sl-evk.dts                            |    4 
 arch/arm/boot/dts/imx6sll-evk.dts                           |    4 
 arch/arm/boot/dts/imx6sx-sdb-reva.dts                       |    4 
 arch/arm/boot/dts/imx6sx-sdb.dts                            |    4 
 arch/arm/boot/dts/imx6ul-kontron-n6310-s.dts                |    4 
 arch/arm/boot/dts/imx7s-colibri.dtsi                        |    4 
 arch/arm/boot/dts/imx7ulp.dtsi                              |    4 
 arch/arm/boot/dts/meson8.dtsi                               |    2 
 arch/arm/boot/dts/omap4.dtsi                                |    4 
 arch/arm/mach-davinci/Kconfig                               |    1 
 arch/arm/mach-omap2/pdata-quirks.c                          |    6 
 arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts |    2 
 arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts      |    2 
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi               |    9 
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi           |    8 
 arch/arm64/boot/dts/amlogic/meson-axg.dtsi                  |   12 
 arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi           |   12 
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts  |    4 
 arch/arm64/boot/dts/arm/juno-base.dtsi                      |    1 
 arch/arm64/boot/dts/arm/juno-clocks.dtsi                    |    4 
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi              |    2 
 arch/arm64/boot/dts/freescale/imx8mm-evk.dts                |    2 
 arch/arm64/boot/dts/freescale/imx8mm.dtsi                   |   10 
 arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts     |    2 
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi               |    8 
 arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi          |    2 
 arch/arm64/boot/dts/marvell/armada-cp110.dtsi               |    8 
 arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi                   |   68 +++
 arch/arm64/boot/dts/qcom/msm8998.dtsi                       |   51 +-
 arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi                  |    2 
 arch/arm64/boot/dts/qcom/sdm845.dtsi                        |    2 
 arch/arm64/boot/dts/renesas/hihope-common.dtsi              |   20 -
 arch/arm64/boot/dts/renesas/r8a774a1.dtsi                   |   11 
 arch/arm64/boot/dts/renesas/r8a77970.dtsi                   |    2 
 arch/s390/kernel/setup.c                                    |    2 
 arch/um/drivers/Kconfig                                     |    2 
 arch/um/drivers/virtio_uml.c                                |    4 
 arch/um/os-Linux/main.c                                     |    2 
 arch/x86/boot/compressed/head_64.S                          |    5 
 arch/x86/events/intel/uncore_snbep.c                        |    1 
 arch/x86/kernel/cpu/amd.c                                   |    4 
 arch/x86/kernel/cpu/resctrl/core.c                          |    2 
 arch/x86/kernel/cpu/resctrl/rdtgroup.c                      |    6 
 block/blk-settings.c                                        |    2 
 block/bsg-lib.c                                             |    2 
 drivers/base/firmware_loader/builtin/Makefile               |    2 
 drivers/block/xen-blkfront.c                                |    4 
 drivers/bus/ti-sysc.c                                       |   10 
 drivers/clk/clk.c                                           |   10 
 drivers/clk/imx/clk-imx7ulp.c                               |    6 
 drivers/clk/qcom/gcc-sdm845.c                               |    7 
 drivers/clk/samsung/clk-exynos5420.c                        |    8 
 drivers/clk/sprd/common.c                                   |    2 
 drivers/clk/sunxi-ng/ccu-sun8i-r40.c                        |    6 
 drivers/cpuidle/governors/teo.c                             |    2 
 drivers/firmware/efi/earlycon.c                             |   16 
 drivers/gpio/Kconfig                                        |    1 
 drivers/gpio/gpio-thunderx.c                                |  163 ++++++---
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c                       |    4 
 drivers/gpu/drm/amd/display/dc/core/dc_link.c               |    2 
 drivers/gpu/drm/i915/selftests/i915_random.h                |    1 
 drivers/hwmon/pmbus/ibm-cffps.c                             |   37 +-
 drivers/i2c/busses/i2c-iop3xx.c                             |   12 
 drivers/i2c/busses/i2c-tegra.c                              |   38 +-
 drivers/iio/adc/ad7124.c                                    |   12 
 drivers/iio/chemical/Kconfig                                |    1 
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c                |    3 
 drivers/iio/industrialio-buffer.c                           |    6 
 drivers/iio/light/vcnl4000.c                                |    3 
 drivers/irqchip/Kconfig                                     |    4 
 drivers/md/dm-snap-persistent.c                             |    2 
 drivers/md/raid0.c                                          |    2 
 drivers/message/fusion/mptctl.c                             |  213 ++----------
 drivers/mtd/chips/cfi_cmdset_0002.c                         |   60 ++-
 drivers/mtd/devices/mchp23k256.c                            |   20 -
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c                  |   11 
 drivers/mtd/spi-nor/spi-nor.c                               |    4 
 drivers/net/dsa/bcm_sf2.c                                   |    2 
 drivers/net/dsa/sja1105/sja1105_main.c                      |    2 
 drivers/net/ethernet/broadcom/bcmsysport.c                  |    7 
 drivers/net/ethernet/broadcom/bnxt/bnxt.c                   |   29 +
 drivers/net/ethernet/broadcom/bnxt/bnxt.h                   |    4 
 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c               |    3 
 drivers/net/ethernet/hisilicon/hns/hns_enet.c               |    4 
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c             |    6 
 drivers/net/ethernet/intel/i40e/i40e_main.c                 |    1 
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c              |   31 +
 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c        |   30 +
 drivers/net/ethernet/renesas/sh_eth.c                       |   38 +-
 drivers/net/ethernet/socionext/sni_ave.c                    |   20 -
 drivers/net/ethernet/stmicro/stmmac/common.h                |    5 
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c           |    4 
 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c      |   46 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c             |    4 
 drivers/net/hyperv/rndis_filter.c                           |    2 
 drivers/net/macvlan.c                                       |    5 
 drivers/net/phy/dp83867.c                                   |    8 
 drivers/net/usb/lan78xx.c                                   |    1 
 drivers/net/usb/r8152.c                                     |    3 
 drivers/net/wan/fsl_ucc_hdlc.c                              |    2 
 drivers/net/wireless/realtek/rtw88/phy.c                    |   17 
 drivers/net/wireless/realtek/rtw88/phy.h                    |    9 
 drivers/net/wireless/realtek/rtw88/rtw8822c.c               |    4 
 drivers/net/wireless/st/cw1200/fwio.c                       |    6 
 drivers/nfc/pn533/usb.c                                     |    2 
 drivers/ptp/ptp_clock.c                                     |    4 
 drivers/reset/core.c                                        |    6 
 drivers/s390/crypto/zcrypt_ccamisc.c                        |    4 
 drivers/scsi/bnx2i/bnx2i_iscsi.c                            |    2 
 drivers/scsi/esas2r/esas2r_flash.c                          |    1 
 drivers/scsi/fnic/vnic_dev.c                                |   20 -
 drivers/scsi/hisi_sas/hisi_sas_main.c                       |    3 
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c                      |   11 
 drivers/scsi/lpfc/lpfc_scsi.c                               |    2 
 drivers/scsi/lpfc/lpfc_sli.c                                |   56 +--
 drivers/scsi/qla2xxx/qla_init.c                             |    6 
 drivers/scsi/qla2xxx/qla_isr.c                              |    6 
 drivers/scsi/qla4xxx/ql4_mbx.c                              |    3 
 drivers/scsi/scsi_trace.c                                   |  113 +-----
 drivers/scsi/scsi_transport_sas.c                           |    9 
 drivers/scsi/storvsc_drv.c                                  |    4 
 drivers/soc/amlogic/meson-ee-pwrc.c                         |   24 -
 drivers/staging/comedi/drivers/ni_routes.c                  |   12 
 drivers/target/target_core_fabric_lib.c                     |    2 
 drivers/usb/core/hub.c                                      |    1 
 drivers/usb/serial/ch341.c                                  |    6 
 drivers/usb/serial/io_edgeport.c                            |   16 
 drivers/usb/serial/keyspan.c                                |    4 
 drivers/usb/serial/opticon.c                                |    2 
 drivers/usb/serial/option.c                                 |    6 
 drivers/usb/serial/quatech2.c                               |    6 
 drivers/usb/serial/usb-serial-simple.c                      |    2 
 drivers/usb/serial/usb-serial.c                             |    3 
 fs/btrfs/inode.c                                            |   73 ++--
 fs/btrfs/ioctl.c                                            |   14 
 fs/btrfs/qgroup.c                                           |    6 
 fs/btrfs/relocation.c                                       |   51 ++
 fs/btrfs/root-tree.c                                        |   10 
 fs/btrfs/volumes.c                                          |    6 
 fs/fuse/file.c                                              |    4 
 fs/io_uring.c                                               |    6 
 fs/reiserfs/xattr.c                                         |    8 
 include/dt-bindings/reset/amlogic,meson8b-reset.h           |    6 
 include/linux/blkdev.h                                      |    8 
 include/linux/mm.h                                          |   18 -
 include/linux/mmzone.h                                      |    5 
 include/linux/netdevice.h                                   |    2 
 include/linux/regulator/ab8500.h                            |    2 
 include/linux/skmsg.h                                       |   13 
 include/linux/tnum.h                                        |    2 
 include/net/tcp.h                                           |    6 
 include/trace/events/huge_memory.h                          |    3 
 init/main.c                                                 |    1 
 kernel/bpf/tnum.c                                           |    9 
 kernel/bpf/verifier.c                                       |   13 
 kernel/cpu.c                                                |  143 ++++----
 kernel/events/core.c                                        |    4 
 kernel/locking/lockdep.c                                    |    7 
 kernel/locking/rwsem.c                                      |    4 
 kernel/ptrace.c                                             |   15 
 kernel/time/tick-sched.c                                    |   14 
 mm/huge_memory.c                                            |   38 +-
 mm/memcontrol.c                                             |   37 --
 mm/page-writeback.c                                         |    4 
 mm/page_alloc.c                                             |   37 --
 mm/shmem.c                                                  |    7 
 mm/slab.c                                                   |    4 
 mm/slab_common.c                                            |    3 
 mm/slub.c                                                   |    2 
 mm/sparse.c                                                 |    9 
 mm/vmalloc.c                                                |    4 
 net/batman-adv/distributed-arp-table.c                      |    4 
 net/core/dev.c                                              |   12 
 net/core/devlink.c                                          |    2 
 net/core/filter.c                                           |   20 -
 net/core/skmsg.c                                            |    2 
 net/core/sock_map.c                                         |    7 
 net/dsa/tag_gswip.c                                         |    2 
 net/dsa/tag_qca.c                                           |    3 
 net/ipv4/netfilter/arp_tables.c                             |   19 -
 net/ipv4/tcp.c                                              |    6 
 net/ipv4/tcp_bpf.c                                          |   17 
 net/ipv4/tcp_input.c                                        |    7 
 net/ipv4/tcp_ulp.c                                          |    6 
 net/netfilter/ipset/ip_set_bitmap_gen.h                     |    2 
 net/netfilter/nf_nat_proto.c                                |   13 
 net/netfilter/nf_tables_api.c                               |   38 +-
 net/netfilter/nft_tunnel.c                                  |    5 
 net/sched/act_ctinfo.c                                      |   11 
 net/sched/act_ife.c                                         |    7 
 net/tipc/bcast.c                                            |   24 -
 net/tipc/socket.c                                           |   32 +
 net/tls/tls_main.c                                          |   10 
 net/tls/tls_sw.c                                            |   31 +
 net/wireless/nl80211.c                                      |    3 
 net/wireless/rdev-ops.h                                     |    4 
 net/wireless/sme.c                                          |    6 
 net/wireless/util.c                                         |    2 
 sound/core/seq/seq_timer.c                                  |   14 
 sound/firewire/dice/dice-extension.c                        |    5 
 sound/firewire/tascam/amdtp-tascam.c                        |    5 
 sound/soc/codecs/msm8916-wcd-analog.c                       |   20 -
 sound/soc/codecs/msm8916-wcd-digital.c                      |    6 
 sound/soc/intel/boards/bytcht_es8316.c                      |    3 
 sound/soc/stm/stm32_adfsdm.c                                |   12 
 sound/soc/stm/stm32_sai_sub.c                               |  194 +++++++---
 sound/usb/pcm.c                                             |    2 
 tools/bpf/bpftool/btf_dumper.c                              |    2 
 tools/perf/builtin-report.c                                 |    5 
 tools/perf/builtin-script.c                                 |   10 
 tools/perf/util/hist.h                                      |    4 
 tools/perf/util/probe-finder.c                              |   32 -
 tools/perf/util/time-utils.c                                |   27 +
 tools/perf/util/time-utils.h                                |    5 
 tools/testing/selftests/drivers/net/mlxsw/qos_mc_aware.sh   |    8 
 223 files changed, 1687 insertions(+), 1195 deletions(-)

Adam Ford (1):
arm64: dts: imx8mm: Change SDMA1 ahb clock for imx8mm

Adrian Huang (1):
mm: memcg/slab: call flush_memcg_workqueue() only if memcg workqueue is valid

Alexander Lobakin (2):
net: dsa: tag_qca: fix doubled Tx statistics
net: dsa: tag_gswip: fix typo in tagger name

Alexandre Belloni (1):
ARM: dts: imx6q-dhcom: fix rtc compatible

Alexandru Tachici (1):
iio: adc: ad7124: Fix DT channel configuration

Andi Kleen (2):

      perf script: Allow --time with --reltime
      perf script: Fix --reltime with --time

Andre Przywara (2):
arm64: dts: allwinner: a64: Re-add PMU node
arm64: dts: juno: Fix UART frequency

Angelo Dureghello (1):
mtd: devices: fix mchp23k256 read and write

Angus Ainslie (Purism) (1):
arm64: dts: imx8mq-librem5-devkit: use correct interrupt for the magnetometer

Anson Huang (6):
ARM: dts: imx6qdl-sabresd: Remove incorrect power supply assignment
ARM: dts: imx6sx-sdb: Remove incorrect power supply assignment
ARM: dts: imx6sl-evk: Remove incorrect power supply assignment
ARM: dts: imx6sll-evk: Remove incorrect power supply assignment
clk: imx7ulp: Correct system clock source option #7
clk: imx7ulp: Correct DDR clock mux options

Ard Biesheuvel (1):
x86/efistub: Disable paging at mixed mode entry

Arnd Bergmann (3):
ARM: davinci: select CONFIG_RESET_CONTROLLER
scsi: fnic: fix invalid stack access cpu/SMT: Fix x86 link error without CONFIG_SYSFS

Arvind Sankar (1):
efi/earlycon: Fix write-combine mapping on x86

Baolin Wang (1):
clk: sprd: Use IS_ERR() to validate the return value of syscon_regmap_lookup_by_phandle()

Bart Van Assche (4):
block: Fix the type of 'sts' in bsg_queue_rq()
scsi: target: core: Fix a pr_debug() argument
scsi: core: scsi_trace: Use get_unaligned_be*()
scsi: lpfc: Fix a kernel warning triggered by lpfc_get_sgl_per_hdwq()

Biju Das (1):
arm64: dts: renesas: r8a774a1: Remove audio port node

Chen-Yu Tsai (1):
clk: sunxi-ng: r40: Allow setting parent rate for external clock outputs

Christian Brauner (1):
ptrace: reintroduce usage of subjective credentials in ptrace_has_cap()

Christian Hewitt (1):
arm64: dts: meson-gxl-s905x-khadas-vim: fix gpio-keys-polled node

Colin Ian King (1):
net/wan/fsl_ucc_hdlc: fix out of bounds write on array utdm_info

Cong Wang (2):
netfilter: fix a use-after-free in mtype_destroy()
net: avoid updating qdisc_xmit_lock_key in netdev_update_lockdep_key()

Dan Carpenter (3):
scsi: mptfusion: Fix double fetch bug in ioctl
cw1200: Fix a signedness bug in cw1200_load_firmware()
scsi: esas2r: unlock on error in esas2r_nvram_read_direct()

Daniel Borkmann (1):
bpf: Fix incorrect verifier simulation of ARSH under ALU32

David Hildenbrand (1):
mm/memory_hotplug: don't free usage map when removing a re-added early section

Dinh Nguyen (1):
arm64: dts: agilex/stratix10: fix pmu interrupt numbers

Dmitry Osipenko (2):
i2c: tegra: Fix suspending in active runtime PM state
i2c: tegra: Properly disable runtime PM on driver's probe error

Eddie James (2):
hwmon: (pmbus/ibm-cffps) Switch LEDs to blocking brightness call
hwmon: (pmbus/ibm-cffps) Fix LED blink behavior

Eric Dumazet (6):
macvlan: use skb_reset_mac_header() in macvlan_queue_xmit() net/sched: act_ife: initalize ife->metalist earlier
net: usb: lan78xx: limit size of local TSO packets
net: sched: act_ctinfo: fix memory leak
tcp: refine rule to allow EPOLLOUT generation under mem pressure tick/sched: Annotate lockless access to last_jiffies_update

Esben Haabendal (2):
mtd: rawnand: gpmi: Fix suspend/resume problem
mtd: rawnand: gpmi: Restore nfc timing setup after suspend/resume

Eyal Birger (1):
netfilter: nat: fix ICMP header corruption on ICMP errors

Felix Fietkau (3):

      cfg80211: fix memory leak in nl80211_probe_mesh_link
      cfg80211: fix memory leak in cfg80211_cqm_rssi_update
      cfg80211: fix page refcount issue in A-MSDU decap

Filipe Manana (1):
Btrfs: always copy scrub arguments back to user space

Florian Fainelli (2):
net: systemport: Fixed queue mapping in internal ring map
net: dsa: bcm_sf2: Configure IMP port for 2Gb/sec

Florian Westphal (5):
netfilter: arp_tables: init netns pointer in xt_tgdtor_param struct
netfilter: nft_tunnel: fix null-attribute check
netfilter: nft_tunnel: ERSPAN_VERSION must not be null
netfilter: nf_tables: remove WARN and add NLA_STRING upper limits
netfilter: nf_tables: fix flowtable list del corruption

Frieder Schrempf (1):
ARM: dts: imx6ul-kontron-n6310-s: Disable the snvs-poweroff driver

Geert Uytterhoeven (1):
reset: Fix {of,devm}_reset_control_array_get kerneldoc return types

Georgi Djakov (1):
clk: qcom: gcc-sdm845: Add missing flag to votable GDSCs

Greg Kroah-Hartman (1):

      Linux 5.4.14

Grygorii Strashko (1):
ARM: dts: dra7: fix cpsw mdio fck clock

Guenter Roeck (1):
clk: Don't try to enable critical clocks if prepare failed

Guido Günther (1):
iio: light: vcnl4000: Fix scale for vcnl4040

Hans de Goede (1):
ASoC: Intel: bytcht_es8316: Fix Irbis NB41 netbook quirk

Harald Freudenberger (1):
s390/zcrypt: Fix CCA cipher key gen with clear key value function

Huacai Chen (1):
scsi: qla2xxx: Fix qla2x00_request_irqs() for MSI

Ian Abbott (2):
staging: comedi: ni_routes: fix null dereference in ni_find_route_source()
staging: comedi: ni_routes: allow partial routing information

Ido Schimmel (2):
mlxsw: spectrum: Do not modify cloned SKBs during xmit
devlink: Wait longer before warning about unset port type

Ikjoon Jang (1):

      cpuidle: teo: Fix intervals[] array indexing bug

Jagan Teki (1):
ARM: dts: imx6q-icore-mipi: Use 1.5 version of i.Core MX6DL

James Smart (4):
scsi: lpfc: fix: Coverity: lpfc_get_scsi_buf_s3(): Null pointer dereferences
scsi: lpfc: Fix list corruption detected in lpfc_put_sgl_per_hdwq
scsi: lpfc: Fix hdwq sgl locks and irq handling
scsi: lpfc: use hdwq assigned cpu for allocation

Jari Ruusu (1):
Fix built-in early-load Intel microcode alignment

Jeff Mahoney (1):
reiserfs: fix handling of -EOPNOTSUPP in reiserfs_for_each_xattr

Jens Axboe (1):
io_uring: only allow submit from owning task

Jerome Brunet (2):
arm64: dts: meson: axg: fix audio fifo reg size
arm64: dts: meson: g12: fix audio fifo reg size

Jerónimo Borque (1):
USB: serial: simple: Add Motorola Solutions TETRA MTP3xxx and MTP85xx

Jin Yao (1):
perf report: Fix incorrectly added dimensions as switch perf data file

Johan Hovold (10):
ALSA: usb-audio: fix sync-ep altsetting sanity check
USB: serial: opticon: fix control-message timeouts
USB: serial: suppress driver bind attributes
USB: serial: ch341: handle unbound port at reset_resume
USB: serial: io_edgeport: handle unbound ports on URB completion
USB: serial: io_edgeport: add missing active-port sanity check
USB: serial: keyspan: handle unbound ports
USB: serial: quatech2: handle unbound ports
NFC: pn533: fix bulk-message timeout
r8152: add missing endpoint sanity check

Johannes Berg (3):
cfg80211: check for set_wiphy_params
um: Don't trace irqflags during shutdown
um: virtio_uml: Disallow modular build

Johannes Thumshirn (1):
btrfs: fix memory leak in qgroup accounting

John Fastabend (8):
bpf: Sockmap/tls, during free we may call tcp_bpf_unhash() in loop
bpf: Sockmap, ensure sock lock held during tear down
bpf: Sockmap/tls, push write_space updates through ulp updates
bpf: Sockmap, skmsg helper overestimates push, pull, and pop bounds
bpf: Sockmap/tls, msg_push_data may leave end mark in place
bpf: Sockmap/tls, tls_sw can create a plaintext buf > encrypt buf
bpf: Sockmap/tls, skmsg can have wrapped skmsg that needs extra chaining
bpf: Sockmap/tls, fix pop data with SK_DROP return code

John Garry (1):
scsi: scsi_transport_sas: Fix memory leak when removing devices

Jonathan Neuschäfer (1):
irqchip: Place CONFIG_SIFIVE_PLIC into the menu

Jose Abreu (6):
net: stmmac: 16KB buffer must be 16 byte aligned
net: stmmac: Enable 16KB buffer size
net: stmmac: selftests: Make it work in Synopsys AXS101 boards
net: stmmac: selftests: Mark as fail when received VLAN ID != expected
net: stmmac: selftests: Update status when disabling RSS
net: stmmac: tc: Do not setup flower filtering if RSS is enabled

Josef Bacik (4):
btrfs: rework arguments of btrfs_unlink_subvol
btrfs: fix invalid removal of root ref
btrfs: do not delete mismatched root refs
btrfs: check rw_devices, not num_devices for balance

Kan Liang (1):
perf/x86/intel/uncore: Fix missing marker for snr_uncore_imc_freerunning_events

Keiya Nobuta (1):
usb: core: hub: Improved device recognition on remote wakeup

Kevin Hao (1):
Revert "gpio: thunderx: Switch to GPIOLIB_IRQCHIP"

Kieran Bingham (1):

      arm64: dts: renesas: r8a77970: Fix PWM3

Kirill A. Shutemov (2):
mm/shmem.c: thp, shmem: fix conflict of above-47bit hint address and PMD alignment mm/huge_memory.c: thp: fix conflict of above-47bit hint address and PMD alignment

Kishon Vijay Abraham I (1):
ARM: dts: am571x-idk: Fix gpios property to have the correct gpio number

Kristian Evensen (1):
USB: serial: option: Add support for Quectel RM500Q

Krzysztof Kozlowski (1):
i2c: iop3xx: Fix memory leak in probe error path

Kunihiko Hayashi (1):
net: ethernet: ave: Avoid lockdep warning

Lars Möllendorf (1):
iio: buffer: align the size of scan bytes to size of the largest element

Lingpeng Chen (1):
bpf/sockmap: Read psock ingress_msg before sk_receive_queue

Long Li (1):
scsi: storvsc: Correctly set number of hardware queues for IDE disk

Lorenz Bauer (1):
net: bpf: Don't leak time wait and request sockets

Marcel Ziswiler (1):
ARM: dts: imx7: Fix Toradex Colibri iMX7S 256MB NAND flash support

Marek Szyprowski (1):
clk: samsung: exynos5420: Keep top G3D clocks enabled

Marek Vasut (1):
ARM: dts: imx6q-dhcom: Fix SGTL5000 VDDIO regulator connection

Mario Kleiner (1):
drm/amd/display: Reorder detect_edp_sink_caps before link settings read.

Mark Rutland (1):
perf: Correctly handle failed perf_get_aux_event()

Markus Theil (1):
cfg80211: fix deadlocks in autodisconnect work

Martin Blumenstingl (4):
ARM: dts: meson8: fix the size of the PMU registers
soc: amlogic: meson-ee-pwrc: propagate PD provider registration errors
soc: amlogic: meson-ee-pwrc: propagate errors from pm_genpd_init()
dt-bindings: reset: meson8b: fix duplicate reset IDs

Martin KaFai Lau (1):
bpftool: Fix printing incorrect pointer in btf_dump_ptr

Martin Wilck (1):
scsi: qla2xxx: fix rports not being mark as lost in sync fabric scan

Masami Hiramatsu (1):
perf probe: Fix wrong address verification

Michael Chan (3):
bnxt_en: Fix NTUPLE firmware command failures.
bnxt_en: Fix ipv6 RFS filter matching logic.
bnxt_en: Do not treat DSN (Digital Serial Number) read failure as fatal.

Michael Grzeschik (1):
net: phy: dp83867: Set FORCE_LINK_GOOD to default after reset

Miklos Szeredi (1):
fuse: fix fuse_send_readpages() in the syncronous read case

Mikulas Patocka (1):
block: fix an integer overflow in logical block size

Miquel Raynal (2):
arm64: dts: marvell: Add AP806-dual missing CPU clocks
arm64: dts: marvell: Fix CP110 NAND controller node multi-line comment alignment

Mohammed Gamal (1):
hv_netvsc: Fix memory leak when removing rndis device

Nathan Chancellor (1):
xen/blkfront: Adjust indentation in xlvbd_alloc_gendisk

Navid Emamdoost (1):
i40e: prevent memory leak in i40e_setup_macvlans

Olivier Moysan (2):
ASoC: stm32: sai: fix possible circular locking
ASoC: stm32: dfsdm: fix 16 bits record

Pablo Neira Ayuso (1):
netfilter: nf_tables: store transaction list locally while requesting module

Pan Bian (2):
scsi: qla4xxx: fix double free bug
scsi: bnx2i: fix potential use after free

Peng Fan (1):
ARM: dts: imx7ulp: fix reg of cpu node

Pengcheng Yang (1):
tcp: fix marked lost packets not being retransmitted

Petr Machata (3):
mlxsw: spectrum: Wipe xstats.backlog of down ports
mlxsw: spectrum_qdisc: Include MC TCs in Qdisc counters
selftests: mlxsw: qos_mc_aware: Fix mausezahn invocation

Philipp Rudo (1):
s390/setup: Fix secure ipl message

Qian Cai (1):
x86/resctrl: Fix an imbalance in domain_remove_cpu()

Qu Wenruo (1):
btrfs: relocation: fix reloc_root lifespan and access

Randy Dunlap (1):
net: fix kernel-doc warning in <linux/netdevice.h>

Reinhard Speyerer (1):
USB: serial: option: add support for Quectel RM500Q in QDL mode

Rob Clark (1):
arm64: dts: qcom: sdm845-cheza: delete zap-shader

Rob Herring (1):
dt-bindings: Add missing 'properties' keyword enclosing 'snps,tso'

Roman Gushchin (1):
mm: memcg/slab: fix percpu slab vmstats flushing

S.j. Wang (1):
arm64: dts: imx8mm-evk: Assigned clocks for audio plls

Sai Prakash Ranjan (1):
arm64: dts: qcom: msm8998: Disable coresight by default

Sergei Shtylyov (3):
sh_eth: check sh_eth_cpu_data::dual_port when dumping registers
mtd: cfi_cmdset_0002: only check errors when ready in cfi_check_err_status()
mtd: cfi_cmdset_0002: fix delayed error detection on HyperFlash

Shakeel Butt (1):
x86/resctrl: Fix potential memory leak

Stefan Mavrodiev (2):
arm64: dts: allwinner: a64: olinuxino: Fix SDIO supply regulator
arm64: dts: allwinner: a64: olinuxino: Fix eMMC supply regulator

Stephan Gerhold (5):
ASoC: msm8916-wcd-digital: Reset RX interpolation path after use
ASoC: msm8916-wcd-analog: Fix selected events for MIC BIAS External1
ASoC: msm8916-wcd-analog: Fix MIC BIAS Internal1
iio: imu: st_lsm6dsx: Fix selection of ST_LSM6DS3_ID
regulator: ab8500: Remove SYSCLKREQ from enum ab8505_regulator_id

Sudeep Holla (1):
Revert "arm64: dts: juno: add dma-ranges property"

Sven Eckelmann (1):
batman-adv: Fix DAT candidate selection on little endian systems

Takashi Iwai (1):
ALSA: seq: Fix racy access for queue timer in proc read

Takashi Sakamoto (2):
ALSA: dice: fix fallback from protocol extension into limited functionality
ALSA: firewire-tascam: fix corruption due to spin lock without restoration in SoftIRQ context

Tom Lendacky (1):
x86/CPU/AMD: Ensure clearing of SME/SEV features is maintained

Tomasz Duszynski (1):
iio: chemical: pms7003: fix unmet triggered buffer dependency

Tony Lindgren (3):
bus: ti-sysc: Fix iterating over clocks
ARM: OMAP2+: Fix ti_sysc_find_one_clockdomain to check for to_clk_hw_omap
ARM: dts: Fix sgx sysconfig register for omap4

Tuong Lien (2):
tipc: fix potential hanging after b/rcast changing
tipc: fix retrans failure due to wrong destination

Tzu-En Huang (1):
rtw88: fix potential read outside array boundary

Vignesh Raghavendra (1):
mtd: spi-nor: Fix selection of 4-byte addressing opcodes on Spansion

Vladimir Oltean (1):
net: dsa: sja1105: Don't error out on disabled ports with no phy-mode

Vladis Dronov (1):
ptp: free ptp device pin descriptors properly

Vlastimil Babka (1):
mm, debug_pagealloc: don't rely on static keys too early

Waiman Long (2):
locking/rwsem: Fix kernel crash when spinning on RWSEM_OWNER_UNKNOWN locking/lockdep: Fix buffer overrun problem in stack_trace[]

Wen Yang (1):
mm/page-writeback.c: avoid potential division by zero in wb_min_max_ratio()

Xiang Chen (3):
scsi: hisi_sas: Don't create debugfs dump folder twice
scsi: hisi_sas: Set the BIST init value before enabling BIST
scsi: hisi_sas: Return directly if init hardware failed

Yang Shi (1):
mm: khugepaged: add trace status description for SCAN_PAGE_HAS_PRIVATE

Yinbo Zhu (1):
arm64: dts: ls1028a: fix endian setting for dcfg

Yonglong Liu (1):
net: hns: fix soft lockup when there is not enough memory

YueHaibing (1):
drm/i915: Add missing include file <linux/math64.h>

Yunsheng Lin (1):
net: hns3: pad the short frame before sending to the hardware

Yuya Fujita (1):
perf hists: Fix variable name's inconsistency in hists__for_each() macro

changzhu (1):
drm/amdgpu: allow direct upload save restore list for raven2

author maintainer
#1 lore raw
Documentation/devicetree/bindings/net/snps,dwmac.yaml +1 -0
index 4845e29411e4..e08cd4c4d568 100644
@@ -347,6 +347,7 @@ allOf:
               - st,spear600-gmac
 
     then:
+      properties:
         snps,tso:
           $ref: /schemas/types.yaml#definitions/flag
           description:
Makefile +1 -1
index d4cf4700ae3f..2b2080d08bb2 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 4
-SUBLEVEL = 13
+SUBLEVEL = 14
 EXTRAVERSION =
 NAME = Kleptomaniac Octopus
 
arch/arm/boot/dts/am571x-idk.dts +1 -1
index 0aaacea1d887..9d6a872c2b23 100644
@@ -167,7 +167,7 @@
 
 &pcie1_rc {
 	status = "okay";
-	gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
+	gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
 };
 
 &pcie1_ep {
arch/arm/boot/dts/dra7-l4.dtsi +1 -1
index 5cac2dd58241..c3954e34835b 100644
@@ -3059,7 +3059,7 @@
 
 				davinci_mdio: mdio@1000 {
 					compatible = "ti,cpsw-mdio","ti,davinci_mdio";
-					clocks = <&gmac_clkctrl DRA7_GMAC_GMAC_CLKCTRL 0>;
+					clocks = <&gmac_main_clk>;
 					clock-names = "fck";
 					#address-cells = <1>;
 					#size-cells = <0>;
arch/arm/boot/dts/imx6dl-icore-mipi.dts +1 -1
index e43bccb78ab2..d8f3821a0ffd 100644
@@ -8,7 +8,7 @@
 /dts-v1/;
 
 #include "imx6dl.dtsi"
-#include "imx6qdl-icore.dtsi"
+#include "imx6qdl-icore-1.5.dtsi"
 
 / {
 	model = "Engicam i.CoreM6 DualLite/Solo MIPI Starter Kit";
arch/arm/boot/dts/imx6q-dhcom-pdk2.dts +1 -1
index 9c61e3be2d9a..1c46df6827f5 100644
@@ -55,7 +55,7 @@
 		#sound-dai-cells = <0>;
 		clocks = <&clk_ext_audio_codec>;
 		VDDA-supply = <&reg_3p3v>;
-		VDDIO-supply = <&reg_3p3v>;
+		VDDIO-supply = <&sw2_reg>;
 	};
 };
 
arch/arm/boot/dts/imx6q-dhcom-som.dtsi +1 -1
index 387801dde02e..08a2e17e0539 100644
@@ -206,7 +206,7 @@
 	};
 
 	rtc@56 {
-		compatible = "rv3029c2";
+		compatible = "microcrystal,rv3029";
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_rtc_hw300>;
 		reg = <0x56>;
arch/arm/boot/dts/imx6qdl-sabresd.dtsi +0 -4
index 71ca76a5e4a5..fe59dde41b64 100644
@@ -749,10 +749,6 @@
 	vin-supply = <&vgen5_reg>;
 };
 
-&reg_vdd3p0 {
-	vin-supply = <&sw2_reg>;
-};
-
 &reg_vdd2p5 {
 	vin-supply = <&vgen5_reg>;
 };
arch/arm/boot/dts/imx6sl-evk.dts +0 -4
index 4829aa682aeb..bc86cfaaa9c2 100644
@@ -584,10 +584,6 @@
 	vin-supply = <&sw2_reg>;
 };
 
-&reg_vdd3p0 {
-	vin-supply = <&sw2_reg>;
-};
-
 &reg_vdd2p5 {
 	vin-supply = <&sw2_reg>;
 };
arch/arm/boot/dts/imx6sll-evk.dts +0 -4
index 3e1d32fdf4b8..5ace9e6acf85 100644
@@ -265,10 +265,6 @@
 	status = "okay";
 };
 
-&reg_3p0 {
-	vin-supply = <&sw2_reg>;
-};
-
 &snvs_poweroff {
 	status = "okay";
 };
arch/arm/boot/dts/imx6sx-sdb-reva.dts +0 -4
index f1830ed387a5..91a7548fdb8d 100644
@@ -159,10 +159,6 @@
 	vin-supply = <&vgen6_reg>;
 };
 
-&reg_vdd3p0 {
-	vin-supply = <&sw2_reg>;
-};
-
 &reg_vdd2p5 {
 	vin-supply = <&vgen6_reg>;
 };
arch/arm/boot/dts/imx6sx-sdb.dts +0 -4
index a8ee7087af5a..5a63ca615722 100644
@@ -141,10 +141,6 @@
 	vin-supply = <&vgen6_reg>;
 };
 
-&reg_vdd3p0 {
-	vin-supply = <&sw2_reg>;
-};
-
 &reg_vdd2p5 {
 	vin-supply = <&vgen6_reg>;
 };
arch/arm/boot/dts/imx6ul-kontron-n6310-s.dts +0 -4
index 0205fd56d975..4e99e6c79a68 100644
@@ -157,10 +157,6 @@
 	status = "okay";
 };
 
-&snvs_poweroff {
-	status = "okay";
-};
-
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart1>;
arch/arm/boot/dts/imx7s-colibri.dtsi +4 -0
index 1fb1ec5d3d70..6d16e32aed89 100644
@@ -49,3 +49,7 @@
 		reg = <0x80000000 0x10000000>;
 	};
 };
+
+&gpmi {
+	status = "okay";
+};
arch/arm/boot/dts/imx7ulp.dtsi +2 -2
index 6859a3a83750..3dac6898cdc5 100644
@@ -37,10 +37,10 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		cpu0: cpu@0 {
+		cpu0: cpu@f00 {
 			compatible = "arm,cortex-a7";
 			device_type = "cpu";
-			reg = <0>;
+			reg = <0xf00>;
 		};
 	};
 
arch/arm/boot/dts/meson8.dtsi +1 -1
index 5a7e3e5caebe..3c534cd50ee3 100644
@@ -253,7 +253,7 @@
 &aobus {
 	pmu: pmu@e0 {
 		compatible = "amlogic,meson8-pmu", "syscon";
-		reg = <0xe0 0x8>;
+		reg = <0xe0 0x18>;
 	};
 
 	pinctrl_aobus: pinctrl@84 {
arch/arm/boot/dts/omap4.dtsi +2 -2
index 7cc95bc1598b..e5506ab669fc 100644
@@ -330,8 +330,8 @@
 
 		target-module@56000000 {
 			compatible = "ti,sysc-omap4", "ti,sysc";
-			reg = <0x5601fc00 0x4>,
-			      <0x5601fc10 0x4>;
+			reg = <0x5600fe00 0x4>,
+			      <0x5600fe10 0x4>;
 			reg-names = "rev", "sysc";
 			ti,sysc-midle = <SYSC_IDLE_FORCE>,
 					<SYSC_IDLE_NO>,
arch/arm/mach-davinci/Kconfig +1 -0
index dd427bd2768c..02b180ad7245 100644
@@ -9,6 +9,7 @@ menuconfig ARCH_DAVINCI
 	select PM_GENERIC_DOMAINS if PM
 	select PM_GENERIC_DOMAINS_OF if PM && OF
 	select REGMAP_MMIO
+	select RESET_CONTROLLER
 	select HAVE_IDE
 	select PINCTRL_SINGLE
 
arch/arm/mach-omap2/pdata-quirks.c +5 -1
index 1b7cf81ff035..33688e1d9acf 100644
@@ -368,10 +368,14 @@ static void __init dra7x_evm_mmc_quirk(void)
 
 static struct clockdomain *ti_sysc_find_one_clockdomain(struct clk *clk)
 {
+	struct clk_hw *hw = __clk_get_hw(clk);
 	struct clockdomain *clkdm = NULL;
 	struct clk_hw_omap *hwclk;
 
-	hwclk = to_clk_hw_omap(__clk_get_hw(clk));
+	hwclk = to_clk_hw_omap(hw);
+	if (!omap2_clk_is_hw_omap(hw))
+		return NULL;
+
 	if (hwclk && hwclk->clkdm_name)
 		clkdm = clkdm_lookup(hwclk->clkdm_name);
 
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts +1 -1
index 96ab0227e82d..121e6cc4849b 100644
@@ -15,7 +15,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc2_pins>;
 	vmmc-supply = <&reg_dcdc1>;
-	vqmmc-supply = <&reg_dcdc1>;
+	vqmmc-supply = <&reg_eldo1>;
 	bus-width = <8>;
 	non-removable;
 	cap-mmc-hw-reset;
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts +1 -1
index 01a9a52edae4..393c1948a495 100644
@@ -140,7 +140,7 @@
 &mmc1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc1_pins>;
-	vmmc-supply = <&reg_aldo2>;
+	vmmc-supply = <&reg_dcdc1>;
 	vqmmc-supply = <&reg_dldo4>;
 	mmc-pwrseq = <&wifi_pwrseq>;
 	bus-width = <4>;
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +9 -0
index 70f4cce6be43..ba41c1b85887 100644
@@ -142,6 +142,15 @@
 		clock-output-names = "ext-osc32k";
 	};
 
+	pmu {
+		compatible = "arm,cortex-a53-pmu";
+		interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
+	};
+
 	psci {
 		compatible = "arm,psci-0.2";
 		method = "smc";
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +4 -4
index 144a2c19ac02..d1fc9c2055f4 100644
@@ -61,10 +61,10 @@
 
 	pmu {
 		compatible = "arm,armv8-pmuv3";
-		interrupts = <0 120 8>,
-			     <0 121 8>,
-			     <0 122 8>,
-			     <0 123 8>;
+		interrupts = <0 170 4>,
+			     <0 171 4>,
+			     <0 172 4>,
+			     <0 173 4>;
 		interrupt-affinity = <&cpu0>,
 				     <&cpu1>,
 				     <&cpu2>,
arch/arm64/boot/dts/amlogic/meson-axg.dtsi +6 -6
index 82919b106010..bb4a2acb9970 100644
@@ -1162,7 +1162,7 @@
 
 			toddr_a: audio-controller@100 {
 				compatible = "amlogic,axg-toddr";
-				reg = <0x0 0x100 0x0 0x1c>;
+				reg = <0x0 0x100 0x0 0x2c>;
 				#sound-dai-cells = <0>;
 				sound-name-prefix = "TODDR_A";
 				interrupts = <GIC_SPI 84 IRQ_TYPE_EDGE_RISING>;
@@ -1173,7 +1173,7 @@
 
 			toddr_b: audio-controller@140 {
 				compatible = "amlogic,axg-toddr";
-				reg = <0x0 0x140 0x0 0x1c>;
+				reg = <0x0 0x140 0x0 0x2c>;
 				#sound-dai-cells = <0>;
 				sound-name-prefix = "TODDR_B";
 				interrupts = <GIC_SPI 85 IRQ_TYPE_EDGE_RISING>;
@@ -1184,7 +1184,7 @@
 
 			toddr_c: audio-controller@180 {
 				compatible = "amlogic,axg-toddr";
-				reg = <0x0 0x180 0x0 0x1c>;
+				reg = <0x0 0x180 0x0 0x2c>;
 				#sound-dai-cells = <0>;
 				sound-name-prefix = "TODDR_C";
 				interrupts = <GIC_SPI 86 IRQ_TYPE_EDGE_RISING>;
@@ -1195,7 +1195,7 @@
 
 			frddr_a: audio-controller@1c0 {
 				compatible = "amlogic,axg-frddr";
-				reg = <0x0 0x1c0 0x0 0x1c>;
+				reg = <0x0 0x1c0 0x0 0x2c>;
 				#sound-dai-cells = <0>;
 				sound-name-prefix = "FRDDR_A";
 				interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
@@ -1206,7 +1206,7 @@
 
 			frddr_b: audio-controller@200 {
 				compatible = "amlogic,axg-frddr";
-				reg = <0x0 0x200 0x0 0x1c>;
+				reg = <0x0 0x200 0x0 0x2c>;
 				#sound-dai-cells = <0>;
 				sound-name-prefix = "FRDDR_B";
 				interrupts = <GIC_SPI 89 IRQ_TYPE_EDGE_RISING>;
@@ -1217,7 +1217,7 @@
 
 			frddr_c: audio-controller@240 {
 				compatible = "amlogic,axg-frddr";
-				reg = <0x0 0x240 0x0 0x1c>;
+				reg = <0x0 0x240 0x0 0x2c>;
 				#sound-dai-cells = <0>;
 				sound-name-prefix = "FRDDR_C";
 				interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +6 -6
index 3f39e020f74e..0ee8a369c547 100644
@@ -1509,7 +1509,7 @@
 				toddr_a: audio-controller@100 {
 					compatible = "amlogic,g12a-toddr",
 						     "amlogic,axg-toddr";
-					reg = <0x0 0x100 0x0 0x1c>;
+					reg = <0x0 0x100 0x0 0x2c>;
 					#sound-dai-cells = <0>;
 					sound-name-prefix = "TODDR_A";
 					interrupts = <GIC_SPI 148 IRQ_TYPE_EDGE_RISING>;
@@ -1521,7 +1521,7 @@
 				toddr_b: audio-controller@140 {
 					compatible = "amlogic,g12a-toddr",
 						     "amlogic,axg-toddr";
-					reg = <0x0 0x140 0x0 0x1c>;
+					reg = <0x0 0x140 0x0 0x2c>;
 					#sound-dai-cells = <0>;
 					sound-name-prefix = "TODDR_B";
 					interrupts = <GIC_SPI 149 IRQ_TYPE_EDGE_RISING>;
@@ -1533,7 +1533,7 @@
 				toddr_c: audio-controller@180 {
 					compatible = "amlogic,g12a-toddr",
 						     "amlogic,axg-toddr";
-					reg = <0x0 0x180 0x0 0x1c>;
+					reg = <0x0 0x180 0x0 0x2c>;
 					#sound-dai-cells = <0>;
 					sound-name-prefix = "TODDR_C";
 					interrupts = <GIC_SPI 150 IRQ_TYPE_EDGE_RISING>;
@@ -1545,7 +1545,7 @@
 				frddr_a: audio-controller@1c0 {
 					compatible = "amlogic,g12a-frddr",
 						     "amlogic,axg-frddr";
-					reg = <0x0 0x1c0 0x0 0x1c>;
+					reg = <0x0 0x1c0 0x0 0x2c>;
 					#sound-dai-cells = <0>;
 					sound-name-prefix = "FRDDR_A";
 					interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>;
@@ -1557,7 +1557,7 @@
 				frddr_b: audio-controller@200 {
 					compatible = "amlogic,g12a-frddr",
 						     "amlogic,axg-frddr";
-					reg = <0x0 0x200 0x0 0x1c>;
+					reg = <0x0 0x200 0x0 0x2c>;
 					#sound-dai-cells = <0>;
 					sound-name-prefix = "FRDDR_B";
 					interrupts = <GIC_SPI 153 IRQ_TYPE_EDGE_RISING>;
@@ -1569,7 +1569,7 @@
 				frddr_c: audio-controller@240 {
 					compatible = "amlogic,g12a-frddr",
 						     "amlogic,axg-frddr";
-					reg = <0x0 0x240 0x0 0x1c>;
+					reg = <0x0 0x240 0x0 0x2c>;
 					#sound-dai-cells = <0>;
 					sound-name-prefix = "FRDDR_C";
 					interrupts = <GIC_SPI 154 IRQ_TYPE_EDGE_RISING>;
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts +1 -3
index 8d6f316a5c7b..440bc23c7342 100644
@@ -33,11 +33,9 @@
 
 	gpio-keys-polled {
 		compatible = "gpio-keys-polled";
-		#address-cells = <1>;
-		#size-cells = <0>;
 		poll-interval = <100>;
 
-		button@0 {
+		power-button {
 			label = "power";
 			linux,code = <KEY_POWER>;
 			gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
arch/arm64/boot/dts/arm/juno-base.dtsi +0 -1
index 26a039a028b8..8c11660bbe40 100644
@@ -6,7 +6,6 @@
 	/*
 	 *  Devices shared by all Juno boards
 	 */
-	dma-ranges = <0 0 0 0 0x100 0>;
 
 	memtimer: timer@2a810000 {
 		compatible = "arm,armv7-timer-mem";
arch/arm64/boot/dts/arm/juno-clocks.dtsi +2 -2
index e5e265dfa902..2870b5eeb198 100644
@@ -8,10 +8,10 @@
  */
 / {
 	/* SoC fixed clocks */
-	soc_uartclk: refclk7273800hz {
+	soc_uartclk: refclk7372800hz {
 		compatible = "fixed-clock";
 		#clock-cells = <0>;
-		clock-frequency = <7273800>;
+		clock-frequency = <7372800>;
 		clock-output-names = "juno:uartclk";
 	};
 
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +1 -1
index bb960fe2bb64..9589b15693d6 100644
@@ -158,7 +158,7 @@
 		dcfg: syscon@1e00000 {
 			compatible = "fsl,ls1028a-dcfg", "syscon";
 			reg = <0x0 0x1e00000 0x0 0x10000>;
-			big-endian;
+			little-endian;
 		};
 
 		rst: syscon@1e60000 {
arch/arm64/boot/dts/freescale/imx8mm-evk.dts +2 -0
index f7a15f3904c2..13137451b438 100644
@@ -62,6 +62,8 @@
 
 		cpudai: simple-audio-card,cpu {
 			sound-dai = <&sai3>;
+			dai-tdm-slot-num = <2>;
+			dai-tdm-slot-width = <32>;
 		};
 
 		simple-audio-card,codec {
arch/arm64/boot/dts/freescale/imx8mm.dtsi +7 -3
index 23c8fad7932b..fde1849d36ca 100644
@@ -479,14 +479,18 @@
 						<&clk IMX8MM_CLK_AUDIO_AHB>,
 						<&clk IMX8MM_CLK_IPG_AUDIO_ROOT>,
 						<&clk IMX8MM_SYS_PLL3>,
-						<&clk IMX8MM_VIDEO_PLL1>;
+						<&clk IMX8MM_VIDEO_PLL1>,
+						<&clk IMX8MM_AUDIO_PLL1>,
+						<&clk IMX8MM_AUDIO_PLL2>;
 				assigned-clock-parents = <&clk IMX8MM_SYS_PLL3_OUT>,
 							 <&clk IMX8MM_SYS_PLL1_800M>;
 				assigned-clock-rates = <0>,
 							<400000000>,
 							<400000000>,
 							<750000000>,
-							<594000000>;
+							<594000000>,
+							<393216000>,
+							<361267200>;
 			};
 
 			src: reset-controller@30390000 {
@@ -741,7 +745,7 @@
 				reg = <0x30bd0000 0x10000>;
 				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>,
-					 <&clk IMX8MM_CLK_SDMA1_ROOT>;
+					 <&clk IMX8MM_CLK_AHB>;
 				clock-names = "ipg", "ahb";
 				#dma-cells = <3>;
 				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +1 -1
index 683a11035643..98cfe67b7db7 100644
@@ -421,7 +421,7 @@
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_imu>;
 		interrupt-parent = <&gpio3>;
-		interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
+		interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
 		vdd-supply = <&reg_3v3_p>;
 		vddio-supply = <&reg_3v3_p>;
 	};
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +4 -4
index 36abc25320a8..d2cb28da3fff 100644
@@ -47,10 +47,10 @@
 
 	pmu {
 		compatible = "arm,armv8-pmuv3";
-		interrupts = <0 120 8>,
-			     <0 121 8>,
-			     <0 122 8>,
-			     <0 123 8>;
+		interrupts = <0 170 4>,
+			     <0 171 4>,
+			     <0 172 4>,
+			     <0 173 4>;
 		interrupt-affinity = <&cpu0>,
 				     <&cpu1>,
 				     <&cpu2>,
arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi +2 -0
index 9024a2d9db07..62ae016ee6aa 100644
@@ -21,6 +21,7 @@
 			reg = <0x000>;
 			enable-method = "psci";
 			#cooling-cells = <2>;
+			clocks = <&cpu_clk 0>;
 		};
 		cpu1: cpu@1 {
 			device_type = "cpu";
@@ -28,6 +29,7 @@
 			reg = <0x001>;
 			enable-method = "psci";
 			#cooling-cells = <2>;
+			clocks = <&cpu_clk 0>;
 		};
 	};
 };
arch/arm64/boot/dts/marvell/armada-cp110.dtsi +4 -4
index d81944902650..8259fc8f86f2 100644
@@ -438,10 +438,10 @@
 
 		CP110_LABEL(nand_controller): nand@720000 {
 			/*
-			* Due to the limitation of the pins available
-			* this controller is only usable on the CPM
-			* for A7K and on the CPS for A8K.
-			*/
+			 * Due to the limitation of the pins available
+			 * this controller is only usable on the CPM
+			 * for A7K and on the CPS for A8K.
+			 */
 			compatible = "marvell,armada-8k-nand-controller",
 				"marvell,armada370-nand-controller";
 			reg = <0x720000 0x54>;
arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi +68 -0

86 lines not on this page · raw message

arch/arm64/boot/dts/qcom/msm8998.dtsi +34 -17

189 lines not on this page · raw message

arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi +2 -0
index 34881c0113cb..99a28d64ee62 100644
@@ -165,6 +165,8 @@
 /delete-node/ &venus_mem;
 /delete-node/ &cdsp_mem;
 /delete-node/ &cdsp_pas;
+/delete-node/ &zap_shader;
+/delete-node/ &gpu_mem;
 
 /* Increase the size from 120 MB to 128 MB */
 &mpss_region {
arch/arm64/boot/dts/qcom/sdm845.dtsi +1 -1
index f406a4340b05..2287354fef86 100644
@@ -2824,7 +2824,7 @@
 
 			qcom,gmu = <&gmu>;
 
-			zap-shader {
+			zap_shader: zap-shader {
 				memory-region = <&gpu_mem>;
 			};
 
arch/arm64/boot/dts/renesas/hihope-common.dtsi +9 -11
index 3e376d29a730..69585d6e3653 100644
@@ -86,7 +86,7 @@
 
 		label = "rcar-sound";
 
-		dais = <&rsnd_port0>;
+		dais = <&rsnd_port>;
 	};
 
 	vbus0_usb2: regulator-vbus0-usb2 {
@@ -191,7 +191,7 @@
 		port@2 {
 			reg = <2>;
 			dw_hdmi0_snd_in: endpoint {
-				remote-endpoint = <&rsnd_endpoint0>;
+				remote-endpoint = <&rsnd_endpoint>;
 			};
 		};
 	};
@@ -327,17 +327,15 @@
 	/* Single DAI */
 	#sound-dai-cells = <0>;
 
-	ports {
-		rsnd_port0: port@0 {
-			rsnd_endpoint0: endpoint {
-				remote-endpoint = <&dw_hdmi0_snd_in>;
+	rsnd_port: port {
+		rsnd_endpoint: endpoint {
+			remote-endpoint = <&dw_hdmi0_snd_in>;
 
-				dai-format = "i2s";
-				bitclock-master = <&rsnd_endpoint0>;
-				frame-master = <&rsnd_endpoint0>;
+			dai-format = "i2s";
+			bitclock-master = <&rsnd_endpoint>;
+			frame-master = <&rsnd_endpoint>;
 
-				playback = <&ssi2>;
-			};
+			playback = <&ssi2>;
 		};
 	};
 };
arch/arm64/boot/dts/renesas/r8a774a1.dtsi +0 -11
index 06c7c849c8ab..c2a7ec3fc209 100644
@@ -1726,17 +1726,6 @@
 				      "ssi.1", "ssi.0";
 			status = "disabled";
 
-			ports {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				port@0 {
-					reg = <0>;
-				};
-				port@1 {
-					reg = <1>;
-				};
-			};
-
 			rcar_sound,ctu {
 				ctu00: ctu-0 { };
 				ctu01: ctu-1 { };
arch/arm64/boot/dts/renesas/r8a77970.dtsi +1 -1
index 0cd3b376635d..4952981bb6ba 100644
@@ -652,7 +652,7 @@
 		};
 
 		pwm3: pwm@e6e33000 {
-			compatible = "renesas,pwm-r8a7790", "renesas,pwm-rcar";
+			compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
 			reg = <0 0xe6e33000 0 8>;
 			#pwm-cells = <2>;
 			clocks = <&cpg CPG_MOD 523>;
arch/s390/kernel/setup.c +1 -1
index 3ff291bc63b7..b95e6fa34cc8 100644
@@ -1059,7 +1059,7 @@ static void __init log_component_list(void)
 
 	if (!early_ipl_comp_list_addr)
 		return;
-	if (ipl_block.hdr.flags & IPL_PL_FLAG_IPLSR)
+	if (ipl_block.hdr.flags & IPL_PL_FLAG_SIPL)
 		pr_info("Linux is running with Secure-IPL enabled\n");
 	else
 		pr_info("Linux is running with Secure-IPL disabled\n");
arch/um/drivers/Kconfig +1 -1
index fea5a0d522dc..388096fb45a2 100644
@@ -337,7 +337,7 @@ config UML_NET_SLIRP
 endmenu
 
 config VIRTIO_UML
-	tristate "UML driver for virtio devices"
+	bool "UML driver for virtio devices"
 	select VIRTIO
 	help
 	  This driver provides support for virtio based paravirtual device
arch/um/drivers/virtio_uml.c +2 -2
index c5643a59a8c7..179b41ad63ba 100644
@@ -4,12 +4,12 @@
  *
  * Copyright(c) 2019 Intel Corporation
  *
- * This module allows virtio devices to be used over a vhost-user socket.
+ * This driver allows virtio devices to be used over a vhost-user socket.
  *
  * Guest devices can be instantiated by kernel module or command line
  * parameters. One device will be created for each parameter. Syntax:
  *
- *		[virtio_uml.]device=<socket>:<virtio_id>[:<platform_id>]
+ *		virtio_uml.device=<socket>:<virtio_id>[:<platform_id>]
  * where:
  *		<socket>	:= vhost-user socket path to connect
  *		<virtio_id>	:= virtio device id (as in virtio_ids.h)
arch/um/os-Linux/main.c +1 -1
index 8014dfac644d..c8a42ecbd7a2 100644
@@ -170,7 +170,7 @@ int __init main(int argc, char **argv, char **envp)
 	 * that they won't be delivered after the exec, when
 	 * they are definitely not expected.
 	 */
-	unblock_signals_trace();
+	unblock_signals();
 
 	os_info("\n");
 	/* Reboot */
arch/x86/boot/compressed/head_64.S +5 -0
index d98cd483377e..e9a7f7cadb12 100644
@@ -244,6 +244,11 @@ ENTRY(efi32_stub_entry)
 	leal	efi32_config(%ebp), %eax
 	movl	%eax, efi_config(%ebp)
 
+	/* Disable paging */
+	movl	%cr0, %eax
+	btrl	$X86_CR0_PG_BIT, %eax
+	movl	%eax, %cr0
+
 	jmp	startup_32
 ENDPROC(efi32_stub_entry)
 #endif
arch/x86/events/intel/uncore_snbep.c +1 -0
index b10a5ec79e48..011644802ce7 100644
@@ -4536,6 +4536,7 @@ static struct uncore_event_desc snr_uncore_imc_freerunning_events[] = {
 	INTEL_UNCORE_EVENT_DESC(write,		"event=0xff,umask=0x21"),
 	INTEL_UNCORE_EVENT_DESC(write.scale,	"3.814697266e-6"),
 	INTEL_UNCORE_EVENT_DESC(write.unit,	"MiB"),
+	{ /* end: all zeroes */ },
 };
 
 static struct intel_uncore_ops snr_uncore_imc_freerunning_ops = {
arch/x86/kernel/cpu/amd.c +2 -2
index 90f75e515876..62c30279be77 100644
@@ -615,9 +615,9 @@ static void early_detect_mem_encrypt(struct cpuinfo_x86 *c)
 		return;
 
 clear_all:
-		clear_cpu_cap(c, X86_FEATURE_SME);
+		setup_clear_cpu_cap(X86_FEATURE_SME);
 clear_sev:
-		clear_cpu_cap(c, X86_FEATURE_SEV);
+		setup_clear_cpu_cap(X86_FEATURE_SEV);
 	}
 }
 
arch/x86/kernel/cpu/resctrl/core.c +1 -1
index 03eb90d00af0..89049b343c7a 100644
@@ -618,7 +618,7 @@ static void domain_remove_cpu(int cpu, struct rdt_resource *r)
 		if (static_branch_unlikely(&rdt_mon_enable_key))
 			rmdir_mondata_subdir_allrdtgrp(r, d->id);
 		list_del(&d->list);
-		if (is_mbm_enabled())
+		if (r->mon_capable && is_mbm_enabled())
 			cancel_delayed_work(&d->mbm_over);
 		if (is_llc_occupancy_enabled() &&  has_busy_rmid(r, d)) {
 			/*
arch/x86/kernel/cpu/resctrl/rdtgroup.c +3 -3
index 2e3b06d6bbc6..dac7209a0708 100644
@@ -1741,9 +1741,6 @@ static int set_cache_qos_cfg(int level, bool enable)
 	struct rdt_domain *d;
 	int cpu;
 
-	if (!zalloc_cpumask_var(&cpu_mask, GFP_KERNEL))
-		return -ENOMEM;
-
 	if (level == RDT_RESOURCE_L3)
 		update = l3_qos_cfg_update;
 	else if (level == RDT_RESOURCE_L2)
@@ -1751,6 +1748,9 @@ static int set_cache_qos_cfg(int level, bool enable)
 	else
 		return -EINVAL;
 
+	if (!zalloc_cpumask_var(&cpu_mask, GFP_KERNEL))
+		return -ENOMEM;
+
 	r_l = &rdt_resources_all[level];
 	list_for_each_entry(d, &r_l->domains, list) {
 		/* Pick one CPU from each domain instance to update MSR */
block/blk-settings.c +1 -1
index 5f6dcc7a47bd..c8eda2e7b91e 100644
@@ -328,7 +328,7 @@ EXPORT_SYMBOL(blk_queue_max_segment_size);
  *   storage device can address.  The default of 512 covers most
  *   hardware.
  **/
-void blk_queue_logical_block_size(struct request_queue *q, unsigned short size)
+void blk_queue_logical_block_size(struct request_queue *q, unsigned int size)
 {
 	q->limits.logical_block_size = size;
 
block/bsg-lib.c +1 -1
index 347dda16c2f4..6cbb7926534c 100644
@@ -266,7 +266,7 @@ static blk_status_t bsg_queue_rq(struct blk_mq_hw_ctx *hctx,
 	struct request *req = bd->rq;
 	struct bsg_set *bset =
 		container_of(q->tag_set, struct bsg_set, tag_set);
-	int sts = BLK_STS_IOERR;
+	blk_status_t sts = BLK_STS_IOERR;
 	int ret;
 
 	blk_mq_start_request(req);
drivers/base/firmware_loader/builtin/Makefile +1 -1
index 4a66888e7253..5fa7ce3745a0 100644
@@ -17,7 +17,7 @@ PROGBITS  = $(if $(CONFIG_ARM),%,@)progbits
 filechk_fwbin = \
 	echo "/* Generated by $(src)/Makefile */"		;\
 	echo "    .section .rodata"				;\
-	echo "    .p2align $(ASM_ALIGN)"			;\
+	echo "    .p2align 4"					;\
 	echo "_fw_$(FWSTR)_bin:"				;\
 	echo "    .incbin \"$(fwdir)/$(FWNAME)\""		;\
 	echo "_fw_end:"						;\
drivers/block/xen-blkfront.c +2 -2
index a74d03913822..c02be06c5299 100644
@@ -1113,8 +1113,8 @@ static int xlvbd_alloc_gendisk(blkif_sector_t capacity,
 	if (!VDEV_IS_EXTENDED(info->vdevice)) {
 		err = xen_translate_vdev(info->vdevice, &minor, &offset);
 		if (err)
-			return err;		
- 		nr_parts = PARTS_PER_DISK;
+			return err;
+		nr_parts = PARTS_PER_DISK;
 	} else {
 		minor = BLKIF_MINOR_EXT(info->vdevice);
 		nr_parts = PARTS_PER_EXT_DISK;
drivers/bus/ti-sysc.c +8 -2
index 34bd9bf4e68a..abbf281ee337 100644
@@ -343,6 +343,12 @@ static int sysc_get_clocks(struct sysc *ddata)
 		return -EINVAL;
 	}
 
+	/* Always add a slot for main clocks fck and ick even if unused */
+	if (!nr_fck)
+		ddata->nr_clocks++;
+	if (!nr_ick)
+		ddata->nr_clocks++;
+
 	ddata->clocks = devm_kcalloc(ddata->dev,
 				     ddata->nr_clocks, sizeof(*ddata->clocks),
 				     GFP_KERNEL);
@@ -421,7 +427,7 @@ static int sysc_enable_opt_clocks(struct sysc *ddata)
 	struct clk *clock;
 	int i, error;
 
-	if (!ddata->clocks)
+	if (!ddata->clocks || ddata->nr_clocks < SYSC_OPTFCK0 + 1)
 		return 0;
 
 	for (i = SYSC_OPTFCK0; i < SYSC_MAX_CLOCKS; i++) {
@@ -455,7 +461,7 @@ static void sysc_disable_opt_clocks(struct sysc *ddata)
 	struct clk *clock;
 	int i;
 
-	if (!ddata->clocks)
+	if (!ddata->clocks || ddata->nr_clocks < SYSC_OPTFCK0 + 1)
 		return;
 
 	for (i = SYSC_OPTFCK0; i < SYSC_MAX_CLOCKS; i++) {
drivers/clk/clk.c +8 -2
index 4fc294c2f9e8..67f592fa083a 100644
@@ -3408,11 +3408,17 @@ static int __clk_core_init(struct clk_core *core)
 	if (core->flags & CLK_IS_CRITICAL) {
 		unsigned long flags;
 
-		clk_core_prepare(core);
+		ret = clk_core_prepare(core);
+		if (ret)
+			goto out;
 
 		flags = clk_enable_lock();
-		clk_core_enable(core);
+		ret = clk_core_enable(core);
 		clk_enable_unlock(flags);
+		if (ret) {
+			clk_core_unprepare(core);
+			goto out;
+		}
 	}
 
 	clk_core_reparent_orphans_nolock();
drivers/clk/imx/clk-imx7ulp.c +3 -3
index a0f650150367..04a3ae979281 100644
@@ -24,8 +24,8 @@ static const char * const spll_pfd_sels[]	= { "spll_pfd0", "spll_pfd1", "spll_pf
 static const char * const spll_sels[]		= { "spll", "spll_pfd_sel", };
 static const char * const apll_pfd_sels[]	= { "apll_pfd0", "apll_pfd1", "apll_pfd2", "apll_pfd3", };
 static const char * const apll_sels[]		= { "apll", "apll_pfd_sel", };
-static const char * const scs_sels[]		= { "dummy", "sosc", "sirc", "firc", "dummy", "apll_sel", "spll_sel", "upll", };
-static const char * const ddr_sels[]		= { "apll_pfd_sel", "upll", };
+static const char * const scs_sels[]		= { "dummy", "sosc", "sirc", "firc", "dummy", "apll_sel", "spll_sel", "dummy", };
+static const char * const ddr_sels[]		= { "apll_pfd_sel", "dummy", "dummy", "dummy", };
 static const char * const nic_sels[]		= { "firc", "ddr_clk", };
 static const char * const periph_plat_sels[]	= { "dummy", "nic1_bus_clk", "nic1_clk", "ddr_clk", "apll_pfd2", "apll_pfd1", "apll_pfd0", "upll", };
 static const char * const periph_bus_sels[]	= { "dummy", "sosc_bus_clk", "mpll", "firc_bus_clk", "rosc", "nic1_bus_clk", "nic1_clk", "spll_bus_clk", };
@@ -119,7 +119,7 @@ static void __init imx7ulp_clk_scg1_init(struct device_node *np)
 	clks[IMX7ULP_CLK_SYS_SEL]	= imx_clk_hw_mux2("scs_sel", base + 0x14, 24, 4, scs_sels, ARRAY_SIZE(scs_sels));
 	clks[IMX7ULP_CLK_HSRUN_SYS_SEL] = imx_clk_hw_mux2("hsrun_scs_sel", base + 0x1c, 24, 4, scs_sels, ARRAY_SIZE(scs_sels));
 	clks[IMX7ULP_CLK_NIC_SEL]	= imx_clk_hw_mux2("nic_sel", base + 0x40, 28, 1, nic_sels, ARRAY_SIZE(nic_sels));
-	clks[IMX7ULP_CLK_DDR_SEL]	= imx_clk_hw_mux_flags("ddr_sel", base + 0x30, 24, 1, ddr_sels, ARRAY_SIZE(ddr_sels), CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE);
+	clks[IMX7ULP_CLK_DDR_SEL]	= imx_clk_hw_mux_flags("ddr_sel", base + 0x30, 24, 2, ddr_sels, ARRAY_SIZE(ddr_sels), CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE);
 
 	clks[IMX7ULP_CLK_CORE_DIV]	= imx_clk_hw_divider_flags("divcore",	"scs_sel",  base + 0x14, 16, 4, CLK_SET_RATE_PARENT);
 	clks[IMX7ULP_CLK_HSRUN_CORE_DIV] = imx_clk_hw_divider_flags("hsrun_divcore", "hsrun_scs_sel", base + 0x1c, 16, 4, CLK_SET_RATE_PARENT);
drivers/clk/qcom/gcc-sdm845.c +7 -0
index 95be125c3bdd..56d22dd225c9 100644
@@ -3255,6 +3255,7 @@ static struct gdsc hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc = {
 		.name = "hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc",
 	},
 	.pwrsts = PWRSTS_OFF_ON,
+	.flags = VOTABLE,
 };
 
 static struct gdsc hlos1_vote_aggre_noc_mmu_pcie_tbu_gdsc = {
@@ -3263,6 +3264,7 @@ static struct gdsc hlos1_vote_aggre_noc_mmu_pcie_tbu_gdsc = {
 		.name = "hlos1_vote_aggre_noc_mmu_pcie_tbu_gdsc",
 	},
 	.pwrsts = PWRSTS_OFF_ON,
+	.flags = VOTABLE,
 };
 
 static struct gdsc hlos1_vote_aggre_noc_mmu_tbu1_gdsc = {
@@ -3271,6 +3273,7 @@ static struct gdsc hlos1_vote_aggre_noc_mmu_tbu1_gdsc = {
 		.name = "hlos1_vote_aggre_noc_mmu_tbu1_gdsc",
 	},
 	.pwrsts = PWRSTS_OFF_ON,
+	.flags = VOTABLE,
 };
 
 static struct gdsc hlos1_vote_aggre_noc_mmu_tbu2_gdsc = {
@@ -3279,6 +3282,7 @@ static struct gdsc hlos1_vote_aggre_noc_mmu_tbu2_gdsc = {
 		.name = "hlos1_vote_aggre_noc_mmu_tbu2_gdsc",
 	},
 	.pwrsts = PWRSTS_OFF_ON,
+	.flags = VOTABLE,
 };
 
 static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc = {
@@ -3287,6 +3291,7 @@ static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc = {
 		.name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc",
 	},
 	.pwrsts = PWRSTS_OFF_ON,
+	.flags = VOTABLE,
 };
 
 static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc = {
@@ -3295,6 +3300,7 @@ static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc = {
 		.name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc",
 	},
 	.pwrsts = PWRSTS_OFF_ON,
+	.flags = VOTABLE,
 };
 
 static struct gdsc hlos1_vote_mmnoc_mmu_tbu_sf_gdsc = {
@@ -3303,6 +3309,7 @@ static struct gdsc hlos1_vote_mmnoc_mmu_tbu_sf_gdsc = {
 		.name = "hlos1_vote_mmnoc_mmu_tbu_sf_gdsc",
 	},
 	.pwrsts = PWRSTS_OFF_ON,
+	.flags = VOTABLE,
 };
 
 static struct clk_regmap *gcc_sdm845_clocks[] = {
drivers/clk/samsung/clk-exynos5420.c +8 -0
index 3b7601647d7b..27fd274e92f8 100644
@@ -12,6 +12,7 @@
 #include <linux/clk-provider.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
+#include <linux/clk.h>
 
 #include "clk.h"
 #include "clk-cpu.h"
@@ -1630,6 +1631,13 @@ static void __init exynos5x_clk_init(struct device_node *np,
 				     exynos5x_subcmus);
 	}
 
+	/*
+	 * Keep top part of G3D clock path enabled permanently to ensure
+	 * that the internal busses get their clock regardless of the
+	 * main G3D clock enablement status.
+	 */
+	clk_prepare_enable(__clk_lookup("mout_sw_aclk_g3d"));
+
 	samsung_clk_of_add_provider(np, ctx);
 }
 
drivers/clk/sprd/common.c +1 -1
index 9d56eac43832..7ad5ba26dfba 100644
@@ -46,7 +46,7 @@ int sprd_clk_regmap_init(struct platform_device *pdev,
 
 	if (of_find_property(node, "sprd,syscon", NULL)) {
 		regmap = syscon_regmap_lookup_by_phandle(node, "sprd,syscon");
-		if (IS_ERR_OR_NULL(regmap)) {
+		if (IS_ERR(regmap)) {
 			pr_err("%s: failed to get syscon regmap\n", __func__);
 			return PTR_ERR(regmap);
 		}
drivers/clk/sunxi-ng/ccu-sun8i-r40.c +4 -2
index 897490800102..23bfe1d12f21 100644
@@ -761,7 +761,8 @@ static struct ccu_mp outa_clk = {
 		.reg		= 0x1f0,
 		.features	= CCU_FEATURE_FIXED_PREDIV,
 		.hw.init	= CLK_HW_INIT_PARENTS("outa", out_parents,
-						      &ccu_mp_ops, 0),
+						      &ccu_mp_ops,
+						      CLK_SET_RATE_PARENT),
 	}
 };
 
@@ -779,7 +780,8 @@ static struct ccu_mp outb_clk = {
 		.reg		= 0x1f4,
 		.features	= CCU_FEATURE_FIXED_PREDIV,
 		.hw.init	= CLK_HW_INIT_PARENTS("outb", out_parents,
-						      &ccu_mp_ops, 0),
+						      &ccu_mp_ops,
+						      CLK_SET_RATE_PARENT),
 	}
 };
 
drivers/cpuidle/governors/teo.c +1 -1
index b9b9156618e6..703047434ee1 100644
@@ -194,7 +194,7 @@ static void teo_update(struct cpuidle_driver *drv, struct cpuidle_device *dev)
 	 * pattern detection.
 	 */
 	cpu_data->intervals[cpu_data->interval_idx++] = measured_us;
-	if (cpu_data->interval_idx > INTERVALS)
+	if (cpu_data->interval_idx >= INTERVALS)
 		cpu_data->interval_idx = 0;
 }
 
drivers/firmware/efi/earlycon.c +7 -9
index d4077db6dc97..5d4f84781aa0 100644
@@ -17,7 +17,7 @@ static const struct console *earlycon_console __initdata;
 static const struct font_desc *font;
 static u32 efi_x, efi_y;
 static u64 fb_base;
-static pgprot_t fb_prot;
+static bool fb_wb;
 static void *efi_fb;
 
 /*
@@ -33,10 +33,8 @@ static int __init efi_earlycon_remap_fb(void)
 	if (!earlycon_console || !(earlycon_console->flags & CON_ENABLED))
 		return 0;
 
-	if (pgprot_val(fb_prot) == pgprot_val(PAGE_KERNEL))
-		efi_fb = memremap(fb_base, screen_info.lfb_size, MEMREMAP_WB);
-	else
-		efi_fb = memremap(fb_base, screen_info.lfb_size, MEMREMAP_WC);
+	efi_fb = memremap(fb_base, screen_info.lfb_size,
+			  fb_wb ? MEMREMAP_WB : MEMREMAP_WC);
 
 	return efi_fb ? 0 : -ENOMEM;
 }
@@ -53,9 +51,12 @@ late_initcall(efi_earlycon_unmap_fb);
 
 static __ref void *efi_earlycon_map(unsigned long start, unsigned long len)
 {
+	pgprot_t fb_prot;
+
 	if (efi_fb)
 		return efi_fb + start;
 
+	fb_prot = fb_wb ? PAGE_KERNEL : pgprot_writecombine(PAGE_KERNEL);
 	return early_memremap_prot(fb_base + start, len, pgprot_val(fb_prot));
 }
 
@@ -215,10 +216,7 @@ static int __init efi_earlycon_setup(struct earlycon_device *device,
 	if (screen_info.capabilities & VIDEO_CAPABILITY_64BIT_BASE)
 		fb_base |= (u64)screen_info.ext_lfb_base << 32;
 
-	if (opt && !strcmp(opt, "ram"))
-		fb_prot = PAGE_KERNEL;
-	else
-		fb_prot = pgprot_writecombine(PAGE_KERNEL);
+	fb_wb = opt && !strcmp(opt, "ram");
 
 	si = &screen_info;
 	xres = si->lfb_width;
drivers/gpio/Kconfig +0 -1
index 38e096e6925f..ceb908f7dbe5 100644
@@ -546,7 +546,6 @@ config GPIO_THUNDERX
 	tristate "Cavium ThunderX/OCTEON-TX GPIO"
 	depends on ARCH_THUNDER || (64BIT && COMPILE_TEST)
 	depends on PCI_MSI
-	select GPIOLIB_IRQCHIP
 	select IRQ_DOMAIN_HIERARCHY
 	select IRQ_FASTEOI_HIERARCHY_HANDLERS
 	help
drivers/gpio/gpio-thunderx.c +107 -56

262 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +3 -1
index ab4a0d8545dc..0125ea7c4103 100644
@@ -2923,7 +2923,9 @@ static void gfx_v9_0_init_pg(struct amdgpu_device *adev)
 	 * And it's needed by gfxoff feature.
 	 */
 	if (adev->gfx.rlc.is_rlc_v2_1) {
-		if (adev->asic_type == CHIP_VEGA12)
+		if (adev->asic_type == CHIP_VEGA12 ||
+		    (adev->asic_type == CHIP_RAVEN &&
+		     adev->rev_id >= 8))
 			gfx_v9_1_init_rlc_save_restore_list(adev);
 		gfx_v9_0_enable_save_restore_machine(adev);
 	}
drivers/gpu/drm/amd/display/dc/core/dc_link.c +1 -1
index 793aa8e8ec9a..c0f1c62c59b4 100644
@@ -809,8 +809,8 @@ bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason)
 		}
 
 		case SIGNAL_TYPE_EDP: {
-			read_edp_current_link_settings_on_detect(link);
 			detect_edp_sink_caps(link);
+			read_edp_current_link_settings_on_detect(link);
 			sink_caps.transaction_type =
 				DDC_TRANSACTION_TYPE_I2C_OVER_AUX;
 			sink_caps.signal = SIGNAL_TYPE_EDP;
drivers/gpu/drm/i915/selftests/i915_random.h +1 -0
index 8e1ff9c105b6..22335cee2203 100644
@@ -25,6 +25,7 @@
 #ifndef __I915_SELFTESTS_RANDOM_H__
 #define __I915_SELFTESTS_RANDOM_H__
 
+#include <linux/math64.h>
 #include <linux/random.h>
 
 #include "../i915_selftest.h"
drivers/hwmon/pmbus/ibm-cffps.c +25 -12
index d44745e498e7..929c909ac27a 100644
@@ -39,9 +39,13 @@
 #define CFFPS_MFR_VAUX_FAULT			BIT(6)
 #define CFFPS_MFR_CURRENT_SHARE_WARNING		BIT(7)
 
+/*
+ * LED off state actually relinquishes LED control to PSU firmware, so it can
+ * turn on the LED for faults.
+ */
+#define CFFPS_LED_OFF				0
 #define CFFPS_LED_BLINK				BIT(0)
 #define CFFPS_LED_ON				BIT(1)
-#define CFFPS_LED_OFF				BIT(2)
 #define CFFPS_BLINK_RATE_MS			250
 
 enum {
@@ -292,28 +296,38 @@ static int ibm_cffps_read_word_data(struct i2c_client *client, int page,
 	return rc;
 }
 
-static void ibm_cffps_led_brightness_set(struct led_classdev *led_cdev,
-					 enum led_brightness brightness)
+static int ibm_cffps_led_brightness_set(struct led_classdev *led_cdev,
+					enum led_brightness brightness)
 {
 	int rc;
+	u8 next_led_state;
 	struct ibm_cffps *psu = container_of(led_cdev, struct ibm_cffps, led);
 
 	if (brightness == LED_OFF) {
-		psu->led_state = CFFPS_LED_OFF;
+		next_led_state = CFFPS_LED_OFF;
 	} else {
 		brightness = LED_FULL;
+
 		if (psu->led_state != CFFPS_LED_BLINK)
-			psu->led_state = CFFPS_LED_ON;
+			next_led_state = CFFPS_LED_ON;
+		else
+			next_led_state = CFFPS_LED_BLINK;
 	}
 
+	dev_dbg(&psu->client->dev, "LED brightness set: %d. Command: %d.\n",
+		brightness, next_led_state);
+
 	pmbus_set_page(psu->client, 0);
 
 	rc = i2c_smbus_write_byte_data(psu->client, CFFPS_SYS_CONFIG_CMD,
-				       psu->led_state);
+				       next_led_state);
 	if (rc < 0)
-		return;
+		return rc;
 
+	psu->led_state = next_led_state;
 	led_cdev->brightness = brightness;
+
+	return 0;
 }
 
 static int ibm_cffps_led_blink_set(struct led_classdev *led_cdev,
@@ -323,10 +337,7 @@ static int ibm_cffps_led_blink_set(struct led_classdev *led_cdev,
 	int rc;
 	struct ibm_cffps *psu = container_of(led_cdev, struct ibm_cffps, led);
 
-	psu->led_state = CFFPS_LED_BLINK;
-
-	if (led_cdev->brightness == LED_OFF)
-		return 0;
+	dev_dbg(&psu->client->dev, "LED blink set.\n");
 
 	pmbus_set_page(psu->client, 0);
 
@@ -335,6 +346,8 @@ static int ibm_cffps_led_blink_set(struct led_classdev *led_cdev,
 	if (rc < 0)
 		return rc;
 
+	psu->led_state = CFFPS_LED_BLINK;
+	led_cdev->brightness = LED_FULL;
 	*delay_on = CFFPS_BLINK_RATE_MS;
 	*delay_off = CFFPS_BLINK_RATE_MS;
 
@@ -351,7 +364,7 @@ static void ibm_cffps_create_led_class(struct ibm_cffps *psu)
 		 client->addr);
 	psu->led.name = psu->led_name;
 	psu->led.max_brightness = LED_FULL;
-	psu->led.brightness_set = ibm_cffps_led_brightness_set;
+	psu->led.brightness_set_blocking = ibm_cffps_led_brightness_set;
 	psu->led.blink_set = ibm_cffps_led_blink_set;
 
 	rc = devm_led_classdev_register(dev, &psu->led);
drivers/i2c/busses/i2c-iop3xx.c +8 -4
index 38556381f4ca..2f8b8050a223 100644
@@ -433,13 +433,17 @@ iop3xx_i2c_probe(struct platform_device *pdev)
 	adapter_data->gpio_scl = devm_gpiod_get_optional(&pdev->dev,
 							 "scl",
 							 GPIOD_ASIS);
-	if (IS_ERR(adapter_data->gpio_scl))
-		return PTR_ERR(adapter_data->gpio_scl);
+	if (IS_ERR(adapter_data->gpio_scl)) {
+		ret = PTR_ERR(adapter_data->gpio_scl);
+		goto free_both;
+	}
 	adapter_data->gpio_sda = devm_gpiod_get_optional(&pdev->dev,
 							 "sda",
 							 GPIOD_ASIS);
-	if (IS_ERR(adapter_data->gpio_sda))
-		return PTR_ERR(adapter_data->gpio_sda);
+	if (IS_ERR(adapter_data->gpio_sda)) {
+		ret = PTR_ERR(adapter_data->gpio_sda);
+		goto free_both;
+	}
 
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	if (!res) {
drivers/i2c/busses/i2c-tegra.c +28 -10
index c1683f9338b4..dbc43cfec19d 100644
@@ -1608,14 +1608,18 @@ static int tegra_i2c_probe(struct platform_device *pdev)
 	}
 
 	pm_runtime_enable(&pdev->dev);
-	if (!pm_runtime_enabled(&pdev->dev))
+	if (!pm_runtime_enabled(&pdev->dev)) {
 		ret = tegra_i2c_runtime_resume(&pdev->dev);
-	else
+		if (ret < 0) {
+			dev_err(&pdev->dev, "runtime resume failed\n");
+			goto unprepare_div_clk;
+		}
+	} else {
 		ret = pm_runtime_get_sync(i2c_dev->dev);
-
-	if (ret < 0) {
-		dev_err(&pdev->dev, "runtime resume failed\n");
-		goto unprepare_div_clk;
+		if (ret < 0) {
+			dev_err(&pdev->dev, "runtime resume failed\n");
+			goto disable_rpm;
+		}
 	}
 
 	if (i2c_dev->is_multimaster_mode) {
@@ -1623,7 +1627,7 @@ static int tegra_i2c_probe(struct platform_device *pdev)
 		if (ret < 0) {
 			dev_err(i2c_dev->dev, "div_clk enable failed %d\n",
 				ret);
-			goto disable_rpm;
+			goto put_rpm;
 		}
 	}
 
@@ -1671,11 +1675,16 @@ static int tegra_i2c_probe(struct platform_device *pdev)
 	if (i2c_dev->is_multimaster_mode)
 		clk_disable(i2c_dev->div_clk);
 
-disable_rpm:
-	pm_runtime_disable(&pdev->dev);
-	if (!pm_runtime_status_suspended(&pdev->dev))
+put_rpm:
+	if (pm_runtime_enabled(&pdev->dev))
+		pm_runtime_put_sync(&pdev->dev);
+	else
 		tegra_i2c_runtime_suspend(&pdev->dev);
 
+disable_rpm:
+	if (pm_runtime_enabled(&pdev->dev))
+		pm_runtime_disable(&pdev->dev);
+
 unprepare_div_clk:
 	clk_unprepare(i2c_dev->div_clk);
 
@@ -1710,9 +1719,14 @@ static int tegra_i2c_remove(struct platform_device *pdev)
 static int __maybe_unused tegra_i2c_suspend(struct device *dev)
 {
 	struct tegra_i2c_dev *i2c_dev = dev_get_drvdata(dev);
+	int err;
 
 	i2c_mark_adapter_suspended(&i2c_dev->adapter);
 
+	err = pm_runtime_force_suspend(dev);
+	if (err < 0)
+		return err;
+
 	return 0;
 }
 
@@ -1733,6 +1747,10 @@ static int __maybe_unused tegra_i2c_resume(struct device *dev)
 	if (err)
 		return err;
 
+	err = pm_runtime_force_resume(dev);
+	if (err < 0)
+		return err;
+
 	i2c_mark_adapter_resumed(&i2c_dev->adapter);
 
 	return 0;
drivers/iio/adc/ad7124.c +5 -7
index 3f03abf100b5..306bf15023a7 100644
@@ -494,13 +494,11 @@ static int ad7124_of_parse_channel_config(struct iio_dev *indio_dev,
 		st->channel_config[channel].buf_negative =
 			of_property_read_bool(child, "adi,buffered-negative");
 
-		*chan = ad7124_channel_template;
-		chan->address = channel;
-		chan->scan_index = channel;
-		chan->channel = ain[0];
-		chan->channel2 = ain[1];
-
-		chan++;
+		chan[channel] = ad7124_channel_template;
+		chan[channel].address = channel;
+		chan[channel].scan_index = channel;
+		chan[channel].channel = ain[0];
+		chan[channel].channel2 = ain[1];
 	}
 
 	return 0;
drivers/iio/chemical/Kconfig +1 -0
index fa4586037bb8..0b91de4df8f4 100644
@@ -65,6 +65,7 @@ config IAQCORE
 config PMS7003
 	tristate "Plantower PMS7003 particulate matter sensor"
 	depends on SERIAL_DEV_BUS
+	select IIO_BUFFER
 	select IIO_TRIGGERED_BUFFER
 	help
 	  Say Y here to build support for the Plantower PMS7003 particulate
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c +2 -1
index 3e0528793d95..057a4b010010 100644
@@ -911,7 +911,8 @@ static int st_lsm6dsx_check_whoami(struct st_lsm6dsx_hw *hw, int id,
 
 	for (i = 0; i < ARRAY_SIZE(st_lsm6dsx_sensor_settings); i++) {
 		for (j = 0; j < ST_LSM6DSX_MAX_ID; j++) {
-			if (id == st_lsm6dsx_sensor_settings[i].id[j].hw_id)
+			if (st_lsm6dsx_sensor_settings[i].id[j].name &&
+			    id == st_lsm6dsx_sensor_settings[i].id[j].hw_id)
 				break;
 		}
 		if (j < ST_LSM6DSX_MAX_ID)
drivers/iio/industrialio-buffer.c +5 -1
index c193d64e5217..112225c0e486 100644
@@ -566,7 +566,7 @@ static int iio_compute_scan_bytes(struct iio_dev *indio_dev,
 				const unsigned long *mask, bool timestamp)
 {
 	unsigned bytes = 0;
-	int length, i;
+	int length, i, largest = 0;
 
 	/* How much space will the demuxed element take? */
 	for_each_set_bit(i, mask,
@@ -574,13 +574,17 @@ static int iio_compute_scan_bytes(struct iio_dev *indio_dev,
 		length = iio_storage_bytes_for_si(indio_dev, i);
 		bytes = ALIGN(bytes, length);
 		bytes += length;
+		largest = max(largest, length);
 	}
 
 	if (timestamp) {
 		length = iio_storage_bytes_for_timestamp(indio_dev);
 		bytes = ALIGN(bytes, length);
 		bytes += length;
+		largest = max(largest, length);
 	}
+
+	bytes = ALIGN(bytes, largest);
 	return bytes;
 }
 
drivers/iio/light/vcnl4000.c +2 -1
index 16dacea9eadf..b0e241aaefb4 100644
@@ -163,7 +163,6 @@ static int vcnl4200_init(struct vcnl4000_data *data)
 	if (ret < 0)
 		return ret;
 
-	data->al_scale = 24000;
 	data->vcnl4200_al.reg = VCNL4200_AL_DATA;
 	data->vcnl4200_ps.reg = VCNL4200_PS_DATA;
 	switch (id) {
@@ -172,11 +171,13 @@ static int vcnl4200_init(struct vcnl4000_data *data)
 		/* show 54ms in total. */
 		data->vcnl4200_al.sampling_rate = ktime_set(0, 54000 * 1000);
 		data->vcnl4200_ps.sampling_rate = ktime_set(0, 4200 * 1000);
+		data->al_scale = 24000;
 		break;
 	case VCNL4040_PROD_ID:
 		/* Integration time is 80ms, add 10ms. */
 		data->vcnl4200_al.sampling_rate = ktime_set(0, 100000 * 1000);
 		data->vcnl4200_ps.sampling_rate = ktime_set(0, 100000 * 1000);
+		data->al_scale = 120000;
 		break;
 	}
 	data->vcnl4200_al.last_measurement = ktime_set(0, 0);
drivers/irqchip/Kconfig +2 -2
index ccbb8973a324..97f9c001d8ff 100644
@@ -483,8 +483,6 @@ config TI_SCI_INTA_IRQCHIP
 	  If you wish to use interrupt aggregator irq resources managed by the
 	  TI System Controller, say Y here. Otherwise, say N.
 
-endmenu
-
 config SIFIVE_PLIC
 	bool "SiFive Platform-Level Interrupt Controller"
 	depends on RISCV
@@ -496,3 +494,5 @@ config SIFIVE_PLIC
 	   interrupt sources are subordinate to the PLIC.
 
 	   If you don't know what to do here, say Y.
+
+endmenu
drivers/md/dm-snap-persistent.c +1 -1
index 3c50c4e4da8f..963d3774c93e 100644
@@ -17,7 +17,7 @@
 #include <linux/dm-bufio.h>
 
 #define DM_MSG_PREFIX "persistent snapshot"
-#define DM_CHUNK_SIZE_DEFAULT_SECTORS 32	/* 16KB */
+#define DM_CHUNK_SIZE_DEFAULT_SECTORS 32U	/* 16KB */
 
 #define DM_PREFETCH_CHUNKS		12
 
drivers/md/raid0.c +1 -1
index b7c20979bd19..322386ff5d22 100644
@@ -87,7 +87,7 @@ static int create_strip_zones(struct mddev *mddev, struct r0conf **private_conf)
 	char b[BDEVNAME_SIZE];
 	char b2[BDEVNAME_SIZE];
 	struct r0conf *conf = kzalloc(sizeof(*conf), GFP_KERNEL);
-	unsigned short blksize = 512;
+	unsigned blksize = 512;
 
 	*private_conf = ERR_PTR(-ENOMEM);
 	if (!conf)
drivers/message/fusion/mptctl.c +50 -163

488 lines not on this page · raw message

drivers/mtd/chips/cfi_cmdset_0002.c +36 -24

160 lines not on this page · raw message

drivers/mtd/devices/mchp23k256.c +12 -8
index b20d02b4f830..77c872fd3d83 100644
@@ -64,15 +64,17 @@ static int mchp23k256_write(struct mtd_info *mtd, loff_t to, size_t len,
 	struct spi_transfer transfer[2] = {};
 	struct spi_message message;
 	unsigned char command[MAX_CMD_SIZE];
-	int ret;
+	int ret, cmd_len;
 
 	spi_message_init(&message);
 
+	cmd_len = mchp23k256_cmdsz(flash);
+
 	command[0] = MCHP23K256_CMD_WRITE;
 	mchp23k256_addr2cmd(flash, to, command);
 
 	transfer[0].tx_buf = command;
-	transfer[0].len = mchp23k256_cmdsz(flash);
+	transfer[0].len = cmd_len;
 	spi_message_add_tail(&transfer[0], &message);
 
 	transfer[1].tx_buf = buf;
@@ -88,8 +90,8 @@ static int mchp23k256_write(struct mtd_info *mtd, loff_t to, size_t len,
 	if (ret)
 		return ret;
 
-	if (retlen && message.actual_length > sizeof(command))
-		*retlen += message.actual_length - sizeof(command);
+	if (retlen && message.actual_length > cmd_len)
+		*retlen += message.actual_length - cmd_len;
 
 	return 0;
 }
@@ -101,16 +103,18 @@ static int mchp23k256_read(struct mtd_info *mtd, loff_t from, size_t len,
 	struct spi_transfer transfer[2] = {};
 	struct spi_message message;
 	unsigned char command[MAX_CMD_SIZE];
-	int ret;
+	int ret, cmd_len;
 
 	spi_message_init(&message);
 
+	cmd_len = mchp23k256_cmdsz(flash);
+
 	memset(&transfer, 0, sizeof(transfer));
 	command[0] = MCHP23K256_CMD_READ;
 	mchp23k256_addr2cmd(flash, from, command);
 
 	transfer[0].tx_buf = command;
-	transfer[0].len = mchp23k256_cmdsz(flash);
+	transfer[0].len = cmd_len;
 	spi_message_add_tail(&transfer[0], &message);
 
 	transfer[1].rx_buf = buf;
@@ -126,8 +130,8 @@ static int mchp23k256_read(struct mtd_info *mtd, loff_t from, size_t len,
 	if (ret)
 		return ret;
 
-	if (retlen && message.actual_length > sizeof(command))
-		*retlen += message.actual_length - sizeof(command);
+	if (retlen && message.actual_length > cmd_len)
+		*retlen += message.actual_length - cmd_len;
 
 	return 0;
 }
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c +10 -1
index 334fe3130285..b9d5d55a5edb 100644
@@ -148,6 +148,10 @@ static int gpmi_init(struct gpmi_nand_data *this)
 	struct resources *r = &this->resources;
 	int ret;
 
+	ret = pm_runtime_get_sync(this->dev);
+	if (ret < 0)
+		return ret;
+
 	ret = gpmi_reset_block(r->gpmi_regs, false);
 	if (ret)
 		goto err_out;
@@ -179,8 +183,9 @@ static int gpmi_init(struct gpmi_nand_data *this)
 	 */
 	writel(BM_GPMI_CTRL1_DECOUPLE_CS, r->gpmi_regs + HW_GPMI_CTRL1_SET);
 
-	return 0;
 err_out:
+	pm_runtime_mark_last_busy(this->dev);
+	pm_runtime_put_autosuspend(this->dev);
 	return ret;
 }
 
@@ -2722,6 +2727,10 @@ static int gpmi_pm_resume(struct device *dev)
 		return ret;
 	}
 
+	/* Set flag to get timing setup restored for next exec_op */
+	if (this->hw.clk_rate)
+		this->hw.must_apply_timings = true;
+
 	/* re-init the BCH registers */
 	ret = bch_set_geometry(this);
 	if (ret) {
drivers/mtd/spi-nor/spi-nor.c +1 -3
index 1548e0f7f5f4..309c808351ac 100644
@@ -4544,9 +4544,7 @@ static void spi_nor_info_init_params(struct spi_nor *nor)
 
 static void spansion_post_sfdp_fixups(struct spi_nor *nor)
 {
-	struct mtd_info *mtd = &nor->mtd;
-
-	if (mtd->size <= SZ_16M)
+	if (nor->params.size <= SZ_16M)
 		return;
 
 	nor->flags |= SNOR_F_4B_OPCODES;
drivers/net/dsa/bcm_sf2.c +1 -1
index 69fc13046ac7..47b21096b577 100644
@@ -68,7 +68,7 @@ static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port)
 
 		/* Force link status for IMP port */
 		reg = core_readl(priv, offset);
-		reg |= (MII_SW_OR | LINK_STS);
+		reg |= (MII_SW_OR | LINK_STS | GMII_SPEED_UP_2G);
 		core_writel(priv, reg, offset);
 
 		/* Enable Broadcast, Multicast, Unicast forwarding to IMP port */
drivers/net/dsa/sja1105/sja1105_main.c +1 -1
index 7763221286d4..3b51e87a3714 100644
@@ -619,7 +619,7 @@ static int sja1105_parse_ports_node(struct sja1105_private *priv,
 	struct device *dev = &priv->spidev->dev;
 	struct device_node *child;
 
-	for_each_child_of_node(ports_node, child) {
+	for_each_available_child_of_node(ports_node, child) {
 		struct device_node *phy_node;
 		int phy_mode;
 		u32 index;
drivers/net/ethernet/broadcom/bcmsysport.c +4 -3
index a977a459bd20..b4c664957266 100644
@@ -2323,7 +2323,7 @@ static int bcm_sysport_map_queues(struct notifier_block *nb,
 		ring->switch_queue = qp;
 		ring->switch_port = port;
 		ring->inspect = true;
-		priv->ring_map[q + port * num_tx_queues] = ring;
+		priv->ring_map[qp + port * num_tx_queues] = ring;
 		qp++;
 	}
 
@@ -2338,7 +2338,7 @@ static int bcm_sysport_unmap_queues(struct notifier_block *nb,
 	struct net_device *slave_dev;
 	unsigned int num_tx_queues;
 	struct net_device *dev;
-	unsigned int q, port;
+	unsigned int q, qp, port;
 
 	priv = container_of(nb, struct bcm_sysport_priv, dsa_notifier);
 	if (priv->netdev != info->master)
@@ -2364,7 +2364,8 @@ static int bcm_sysport_unmap_queues(struct notifier_block *nb,
 			continue;
 
 		ring->inspect = false;
-		priv->ring_map[q + port * num_tx_queues] = NULL;
+		qp = ring->switch_queue;
+		priv->ring_map[qp + port * num_tx_queues] = NULL;
 	}
 
 	return 0;
drivers/net/ethernet/broadcom/bnxt/bnxt.c +20 -9
index 5c75b061243f..cf292f7c3d3c 100644
@@ -10991,11 +10991,23 @@ static bool bnxt_fltr_match(struct bnxt_ntuple_filter *f1,
 	struct flow_keys *keys1 = &f1->fkeys;
 	struct flow_keys *keys2 = &f2->fkeys;
 
-	if (keys1->addrs.v4addrs.src == keys2->addrs.v4addrs.src &&
-	    keys1->addrs.v4addrs.dst == keys2->addrs.v4addrs.dst &&
-	    keys1->ports.ports == keys2->ports.ports &&
-	    keys1->basic.ip_proto == keys2->basic.ip_proto &&
-	    keys1->basic.n_proto == keys2->basic.n_proto &&
+	if (keys1->basic.n_proto != keys2->basic.n_proto ||
+	    keys1->basic.ip_proto != keys2->basic.ip_proto)
+		return false;
+
+	if (keys1->basic.n_proto == htons(ETH_P_IP)) {
+		if (keys1->addrs.v4addrs.src != keys2->addrs.v4addrs.src ||
+		    keys1->addrs.v4addrs.dst != keys2->addrs.v4addrs.dst)
+			return false;
+	} else {
+		if (memcmp(&keys1->addrs.v6addrs.src, &keys2->addrs.v6addrs.src,
+			   sizeof(keys1->addrs.v6addrs.src)) ||
+		    memcmp(&keys1->addrs.v6addrs.dst, &keys2->addrs.v6addrs.dst,
+			   sizeof(keys1->addrs.v6addrs.dst)))
+			return false;
+	}
+
+	if (keys1->ports.ports == keys2->ports.ports &&
 	    keys1->control.flags == keys2->control.flags &&
 	    ether_addr_equal(f1->src_mac_addr, f2->src_mac_addr) &&
 	    ether_addr_equal(f1->dst_mac_addr, f2->dst_mac_addr))
@@ -11287,7 +11299,7 @@ int bnxt_get_port_parent_id(struct net_device *dev,
 		return -EOPNOTSUPP;
 
 	/* The PF and it's VF-reps only support the switchdev framework */
-	if (!BNXT_PF(bp))
+	if (!BNXT_PF(bp) || !(bp->flags & BNXT_FLAG_DSN_VALID))
 		return -EOPNOTSUPP;
 
 	ppid->id_len = sizeof(bp->switch_id);
@@ -11679,6 +11691,7 @@ static int bnxt_pcie_dsn_get(struct bnxt *bp, u8 dsn[])
 	put_unaligned_le32(dw, &dsn[0]);
 	pci_read_config_dword(pdev, pos + 4, &dw);
 	put_unaligned_le32(dw, &dsn[4]);
+	bp->flags |= BNXT_FLAG_DSN_VALID;
 	return 0;
 }
 
@@ -11790,9 +11803,7 @@ static int bnxt_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 
 	if (BNXT_PF(bp)) {
 		/* Read the adapter's DSN to use as the eswitch switch_id */
-		rc = bnxt_pcie_dsn_get(bp, bp->switch_id);
-		if (rc)
-			goto init_err_pci_clean;
+		bnxt_pcie_dsn_get(bp, bp->switch_id);
 	}
 
 	/* MTU range: 60 - FW defined max */
drivers/net/ethernet/broadcom/bnxt/bnxt.h +1 -3
index dc26e3ace43f..2e6ad53fdc75 100644
@@ -1510,6 +1510,7 @@ struct bnxt {
 	#define BNXT_FLAG_NO_AGG_RINGS	0x20000
 	#define BNXT_FLAG_RX_PAGE_MODE	0x40000
 	#define BNXT_FLAG_MULTI_HOST	0x100000
+	#define BNXT_FLAG_DSN_VALID	0x200000
 	#define BNXT_FLAG_DOUBLE_DB	0x400000
 	#define BNXT_FLAG_CHIP_NITRO_A0	0x1000000
 	#define BNXT_FLAG_DIM		0x2000000
@@ -1904,9 +1905,6 @@ static inline bool bnxt_cfa_hwrm_message(u16 req_type)
 	case HWRM_CFA_ENCAP_RECORD_FREE:
 	case HWRM_CFA_DECAP_FILTER_ALLOC:
 	case HWRM_CFA_DECAP_FILTER_FREE:
-	case HWRM_CFA_NTUPLE_FILTER_ALLOC:
-	case HWRM_CFA_NTUPLE_FILTER_FREE:
-	case HWRM_CFA_NTUPLE_FILTER_CFG:
 	case HWRM_CFA_EM_FLOW_ALLOC:
 	case HWRM_CFA_EM_FLOW_FREE:
 	case HWRM_CFA_EM_FLOW_CFG:
drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c +3 -0
index f9bf7d7250ab..b010b34cdaf8 100644
@@ -398,6 +398,9 @@ static int bnxt_vf_reps_create(struct bnxt *bp)
 	struct net_device *dev;
 	int rc, i;
 
+	if (!(bp->flags & BNXT_FLAG_DSN_VALID))
+		return -ENODEV;
+
 	bp->vf_reps = kcalloc(num_vfs, sizeof(vf_rep), GFP_KERNEL);
 	if (!bp->vf_reps)
 		return -ENOMEM;
drivers/net/ethernet/hisilicon/hns/hns_enet.c +1 -3
index 14ab20491fd0..eb69e5c81a4d 100644
@@ -565,7 +565,6 @@ static int hns_nic_poll_rx_skb(struct hns_nic_ring_data *ring_data,
 	skb = *out_skb = napi_alloc_skb(&ring_data->napi,
 					HNS_RX_HEAD_SIZE);
 	if (unlikely(!skb)) {
-		netdev_err(ndev, "alloc rx skb fail\n");
 		ring->stats.sw_err_cnt++;
 		return -ENOMEM;
 	}
@@ -1056,7 +1055,6 @@ static int hns_nic_common_poll(struct napi_struct *napi, int budget)
 		container_of(napi, struct hns_nic_ring_data, napi);
 	struct hnae_ring *ring = ring_data->ring;
 
-try_again:
 	clean_complete += ring_data->poll_one(
 				ring_data, budget - clean_complete,
 				ring_data->ex_process);
@@ -1066,7 +1064,7 @@ static int hns_nic_common_poll(struct napi_struct *napi, int budget)
 			napi_complete(napi);
 			ring->q->handle->dev->ops->toggle_ring_irq(ring, 0);
 		} else {
-			goto try_again;
+			return budget;
 		}
 	}
 
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +6 -0
index 84d8816c8681..0c8d2269bc46 100644
@@ -54,6 +54,8 @@ MODULE_PARM_DESC(debug, " Network interface message level setting");
 #define HNS3_INNER_VLAN_TAG	1
 #define HNS3_OUTER_VLAN_TAG	2
 
+#define HNS3_MIN_TX_LEN		33U
+
 /* hns3_pci_tbl - PCI Device ID Table
  *
  * Last entry must be all 0s
@@ -1329,6 +1331,10 @@ netdev_tx_t hns3_nic_net_xmit(struct sk_buff *skb, struct net_device *netdev)
 	int ret;
 	int i;
 
+	/* Hardware can only handle short frames above 32 bytes */
+	if (skb_put_padto(skb, HNS3_MIN_TX_LEN))
+		return NETDEV_TX_OK;
+
 	/* Prefetch the data used later */
 	prefetch(skb->data);
 
drivers/net/ethernet/intel/i40e/i40e_main.c +1 -0
index 4960c9c3e773..a8dd0228b678 100644
@@ -7168,6 +7168,7 @@ static int i40e_setup_macvlans(struct i40e_vsi *vsi, u16 macvlan_cnt, u16 qcnt,
 		ch->num_queue_pairs = qcnt;
 		if (!i40e_setup_channel(pf, vsi, ch)) {
 			ret = -EINVAL;
+			kfree(ch);
 			goto err_free;
 		}
 		ch->parent_vsi = vsi;
drivers/net/ethernet/mellanox/mlxsw/spectrum.c +19 -12
index 3ec18fb0d479..a806c6190bb1 100644
@@ -812,23 +812,17 @@ static netdev_tx_t mlxsw_sp_port_xmit(struct sk_buff *skb,
 	u64 len;
 	int err;
 
+	if (skb_cow_head(skb, MLXSW_TXHDR_LEN)) {
+		this_cpu_inc(mlxsw_sp_port->pcpu_stats->tx_dropped);
+		dev_kfree_skb_any(skb);
+		return NETDEV_TX_OK;
+	}
+
 	memset(skb->cb, 0, sizeof(struct mlxsw_skb_cb));
 
 	if (mlxsw_core_skb_transmit_busy(mlxsw_sp->core, &tx_info))
 		return NETDEV_TX_BUSY;
 
-	if (unlikely(skb_headroom(skb) < MLXSW_TXHDR_LEN)) {
-		struct sk_buff *skb_orig = skb;
-
-		skb = skb_realloc_headroom(skb, MLXSW_TXHDR_LEN);
-		if (!skb) {
-			this_cpu_inc(mlxsw_sp_port->pcpu_stats->tx_dropped);
-			dev_kfree_skb_any(skb_orig);
-			return NETDEV_TX_OK;
-		}
-		dev_consume_skb_any(skb_orig);
-	}
-
 	if (eth_skb_pad(skb)) {
 		this_cpu_inc(mlxsw_sp_port->pcpu_stats->tx_dropped);
 		return NETDEV_TX_OK;
@@ -1167,6 +1161,9 @@ static void update_stats_cache(struct work_struct *work)
 			     periodic_hw_stats.update_dw.work);
 
 	if (!netif_carrier_ok(mlxsw_sp_port->dev))
+		/* Note: mlxsw_sp_port_down_wipe_counters() clears the cache as
+		 * necessary when port goes down.
+		 */
 		goto out;
 
 	mlxsw_sp_port_get_hw_stats(mlxsw_sp_port->dev,
@@ -4176,6 +4173,15 @@ static int mlxsw_sp_port_unsplit(struct mlxsw_core *mlxsw_core, u8 local_port,
 	return 0;
 }
 
+static void
+mlxsw_sp_port_down_wipe_counters(struct mlxsw_sp_port *mlxsw_sp_port)
+{
+	int i;
+
+	for (i = 0; i < TC_MAX_QUEUE; i++)
+		mlxsw_sp_port->periodic_hw_stats.xstats.backlog[i] = 0;
+}
+
 static void mlxsw_sp_pude_event_func(const struct mlxsw_reg_info *reg,
 				     char *pude_pl, void *priv)
 {
@@ -4197,6 +4203,7 @@ static void mlxsw_sp_pude_event_func(const struct mlxsw_reg_info *reg,
 	} else {
 		netdev_info(mlxsw_sp_port->dev, "link down\n");
 		netif_carrier_off(mlxsw_sp_port->dev);
+		mlxsw_sp_port_down_wipe_counters(mlxsw_sp_port);
 	}
 }
 
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c +23 -7
index 720514b5c006..dc63583c4948 100644
@@ -195,6 +195,20 @@ mlxsw_sp_qdisc_get_xstats(struct mlxsw_sp_port *mlxsw_sp_port,
 	return -EOPNOTSUPP;
 }
 
+static u64
+mlxsw_sp_xstats_backlog(struct mlxsw_sp_port_xstats *xstats, int tclass_num)
+{
+	return xstats->backlog[tclass_num] +
+	       xstats->backlog[tclass_num + 8];
+}
+
+static u64
+mlxsw_sp_xstats_tail_drop(struct mlxsw_sp_port_xstats *xstats, int tclass_num)
+{
+	return xstats->tail_drop[tclass_num] +
+	       xstats->tail_drop[tclass_num + 8];
+}
+
 static void
 mlxsw_sp_qdisc_bstats_per_priority_get(struct mlxsw_sp_port_xstats *xstats,
 				       u8 prio_bitmap, u64 *tx_packets,
@@ -269,7 +283,7 @@ mlxsw_sp_setup_tc_qdisc_red_clean_stats(struct mlxsw_sp_port *mlxsw_sp_port,
 					       &stats_base->tx_bytes);
 	red_base->prob_mark = xstats->ecn;
 	red_base->prob_drop = xstats->wred_drop[tclass_num];
-	red_base->pdrop = xstats->tail_drop[tclass_num];
+	red_base->pdrop = mlxsw_sp_xstats_tail_drop(xstats, tclass_num);
 
 	stats_base->overlimits = red_base->prob_drop + red_base->prob_mark;
 	stats_base->drops = red_base->prob_drop + red_base->pdrop;
@@ -369,7 +383,8 @@ mlxsw_sp_qdisc_get_red_xstats(struct mlxsw_sp_port *mlxsw_sp_port,
 
 	early_drops = xstats->wred_drop[tclass_num] - xstats_base->prob_drop;
 	marks = xstats->ecn - xstats_base->prob_mark;
-	pdrops = xstats->tail_drop[tclass_num] - xstats_base->pdrop;
+	pdrops = mlxsw_sp_xstats_tail_drop(xstats, tclass_num) -
+		 xstats_base->pdrop;
 
 	res->pdrop += pdrops;
 	res->prob_drop += early_drops;
@@ -402,9 +417,10 @@ mlxsw_sp_qdisc_get_red_stats(struct mlxsw_sp_port *mlxsw_sp_port,
 
 	overlimits = xstats->wred_drop[tclass_num] + xstats->ecn -
 		     stats_base->overlimits;
-	drops = xstats->wred_drop[tclass_num] + xstats->tail_drop[tclass_num] -
+	drops = xstats->wred_drop[tclass_num] +
+		mlxsw_sp_xstats_tail_drop(xstats, tclass_num) -
 		stats_base->drops;
-	backlog = xstats->backlog[tclass_num];
+	backlog = mlxsw_sp_xstats_backlog(xstats, tclass_num);
 
 	_bstats_update(stats_ptr->bstats, tx_bytes, tx_packets);
 	stats_ptr->qstats->overlimits += overlimits;
@@ -575,9 +591,9 @@ mlxsw_sp_qdisc_get_prio_stats(struct mlxsw_sp_port *mlxsw_sp_port,
 	tx_packets = stats->tx_packets - stats_base->tx_packets;
 
 	for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) {
-		drops += xstats->tail_drop[i];
+		drops += mlxsw_sp_xstats_tail_drop(xstats, i);
 		drops += xstats->wred_drop[i];
-		backlog += xstats->backlog[i];
+		backlog += mlxsw_sp_xstats_backlog(xstats, i);
 	}
 	drops = drops - stats_base->drops;
 
@@ -613,7 +629,7 @@ mlxsw_sp_setup_tc_qdisc_prio_clean_stats(struct mlxsw_sp_port *mlxsw_sp_port,
 
 	stats_base->drops = 0;
 	for (i = 0; i < IEEE_8021QAZ_MAX_TCS; i++) {
-		stats_base->drops += xstats->tail_drop[i];
+		stats_base->drops += mlxsw_sp_xstats_tail_drop(xstats, i);
 		stats_base->drops += xstats->wred_drop[i];
 	}
 
drivers/net/ethernet/renesas/sh_eth.c +21 -17
index 7ba35a0bdb29..8aa1b1bda96d 100644
@@ -2204,24 +2204,28 @@ static size_t __sh_eth_get_regs(struct net_device *ndev, u32 *buf)
 	if (cd->tsu) {
 		add_tsu_reg(ARSTR);
 		add_tsu_reg(TSU_CTRST);
-		add_tsu_reg(TSU_FWEN0);
-		add_tsu_reg(TSU_FWEN1);
-		add_tsu_reg(TSU_FCM);
-		add_tsu_reg(TSU_BSYSL0);
-		add_tsu_reg(TSU_BSYSL1);
-		add_tsu_reg(TSU_PRISL0);
-		add_tsu_reg(TSU_PRISL1);
-		add_tsu_reg(TSU_FWSL0);
-		add_tsu_reg(TSU_FWSL1);
+		if (cd->dual_port) {
+			add_tsu_reg(TSU_FWEN0);
+			add_tsu_reg(TSU_FWEN1);
+			add_tsu_reg(TSU_FCM);
+			add_tsu_reg(TSU_BSYSL0);
+			add_tsu_reg(TSU_BSYSL1);
+			add_tsu_reg(TSU_PRISL0);
+			add_tsu_reg(TSU_PRISL1);
+			add_tsu_reg(TSU_FWSL0);
+			add_tsu_reg(TSU_FWSL1);
+		}
 		add_tsu_reg(TSU_FWSLC);
-		add_tsu_reg(TSU_QTAGM0);
-		add_tsu_reg(TSU_QTAGM1);
-		add_tsu_reg(TSU_FWSR);
-		add_tsu_reg(TSU_FWINMK);
-		add_tsu_reg(TSU_ADQT0);
-		add_tsu_reg(TSU_ADQT1);
-		add_tsu_reg(TSU_VTAG0);
-		add_tsu_reg(TSU_VTAG1);
+		if (cd->dual_port) {
+			add_tsu_reg(TSU_QTAGM0);
+			add_tsu_reg(TSU_QTAGM1);
+			add_tsu_reg(TSU_FWSR);
+			add_tsu_reg(TSU_FWINMK);
+			add_tsu_reg(TSU_ADQT0);
+			add_tsu_reg(TSU_ADQT1);
+			add_tsu_reg(TSU_VTAG0);
+			add_tsu_reg(TSU_VTAG1);
+		}
 		add_tsu_reg(TSU_ADSBSY);
 		add_tsu_reg(TSU_TEN);
 		add_tsu_reg(TSU_POST1);
drivers/net/ethernet/socionext/sni_ave.c +13 -7
index 6e984d5a729f..38d39c4b5ac8 100644
@@ -424,16 +424,22 @@ static void ave_ethtool_get_wol(struct net_device *ndev,
 		phy_ethtool_get_wol(ndev->phydev, wol);
 }
 
-static int ave_ethtool_set_wol(struct net_device *ndev,
-			       struct ethtool_wolinfo *wol)
+static int __ave_ethtool_set_wol(struct net_device *ndev,
+				 struct ethtool_wolinfo *wol)
 {
-	int ret;
-
 	if (!ndev->phydev ||
 	    (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)))
 		return -EOPNOTSUPP;
 
-	ret = phy_ethtool_set_wol(ndev->phydev, wol);
+	return phy_ethtool_set_wol(ndev->phydev, wol);
+}
+
+static int ave_ethtool_set_wol(struct net_device *ndev,
+			       struct ethtool_wolinfo *wol)
+{
+	int ret;
+
+	ret = __ave_ethtool_set_wol(ndev, wol);
 	if (!ret)
 		device_set_wakeup_enable(&ndev->dev, !!wol->wolopts);
 
@@ -1216,7 +1222,7 @@ static int ave_init(struct net_device *ndev)
 
 	/* set wol initial state disabled */
 	wol.wolopts = 0;
-	ave_ethtool_set_wol(ndev, &wol);
+	__ave_ethtool_set_wol(ndev, &wol);
 
 	if (!phy_interface_is_rgmii(phydev))
 		phy_set_max_speed(phydev, SPEED_100);
@@ -1768,7 +1774,7 @@ static int ave_resume(struct device *dev)
 
 	ave_ethtool_get_wol(ndev, &wol);
 	wol.wolopts = priv->wolopts;
-	ave_ethtool_set_wol(ndev, &wol);
+	__ave_ethtool_set_wol(ndev, &wol);
 
 	if (ndev->phydev) {
 		ret = phy_resume(ndev->phydev);
drivers/net/ethernet/stmicro/stmmac/common.h +2 -3
index 912bbb6515b2..bc82cdf36cc3 100644
@@ -364,9 +364,8 @@ struct dma_features {
 	unsigned int arpoffsel;
 };
 
-/* GMAC TX FIFO is 8K, Rx FIFO is 16K */
-#define BUF_SIZE_16KiB 16384
-/* RX Buffer size must be < 8191 and multiple of 4/8/16 bytes */
+/* RX Buffer size must be multiple of 4/8/16 bytes */
+#define BUF_SIZE_16KiB 16368
 #define BUF_SIZE_8KiB 8188
 #define BUF_SIZE_4KiB 4096
 #define BUF_SIZE_2KiB 2048
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +3 -1
index 903c5d8a226e..1b3520d0e59e 100644
@@ -1108,7 +1108,9 @@ static int stmmac_set_bfsize(int mtu, int bufsize)
 {
 	int ret = bufsize;
 
-	if (mtu >= BUF_SIZE_4KiB)
+	if (mtu >= BUF_SIZE_8KiB)
+		ret = BUF_SIZE_16KiB;
+	else if (mtu >= BUF_SIZE_4KiB)
 		ret = BUF_SIZE_8KiB;
 	else if (mtu >= BUF_SIZE_2KiB)
 		ret = BUF_SIZE_4KiB;
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c +30 -16

130 lines not on this page · raw message

drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c +4 -0
index f9a9a9d82233..1d135b02ea02 100644
@@ -579,6 +579,10 @@ static int tc_setup_cls(struct stmmac_priv *priv,
 {
 	int ret = 0;
[… more lines in the raw message]

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

drivers/net/hyperv/rndis_filter.c +0 -2
index f81e58267a6e..b9e44bb22289 100644

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

drivers/net/macvlan.c +3 -2
index 747c0542a53c..c5bf61565726 100644

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

drivers/net/phy/dp83867.c +7 -1
index cf4455bbf888..52e80434e45e 100644

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

drivers/net/usb/lan78xx.c +1 -0
index 3e5f2f7a155e..c232f1612083 100644

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

drivers/net/usb/r8152.c +3 -0
index b2507c59ba8b..9e4b7a400284 100644

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

drivers/net/wan/fsl_ucc_hdlc.c +1 -1
index ca0f3be2b6bf..aef7de225783 100644

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

drivers/net/wireless/realtek/rtw88/phy.c +8 -9
index d3d3f40de75e..47d199d2e7dc 100644

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

drivers/net/wireless/realtek/rtw88/phy.h +9 -0
index e79b084628e7..33a5eb9637c0 100644

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

drivers/net/wireless/realtek/rtw88/rtw8822c.c +2 -2
index c2f6cd76a658..de0505a6a365 100644

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

drivers/net/wireless/st/cw1200/fwio.c +3 -3
index 6574e78e05ea..2a03dc533b6a 100644

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

drivers/nfc/pn533/usb.c +1 -1
index e897e4d768ef..d7a355d05368 100644

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

drivers/ptp/ptp_clock.c +2 -2
index 61fafe0374ce..b84f16bbd6f2 100644

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

drivers/reset/core.c +2 -4
index f343bd814d32..76c0dc7f165d 100644

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

drivers/s390/crypto/zcrypt_ccamisc.c +2 -2
index c1db64a2db21..110fe9d0cb91 100644

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

drivers/scsi/bnx2i/bnx2i_iscsi.c +1 -1
index c5fa5f3b00e9..0b28d44d3573 100644

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

drivers/scsi/esas2r/esas2r_flash.c +1 -0
index 7bd376d95ed5..b02ac389e6c6 100644

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

drivers/scsi/fnic/vnic_dev.c +10 -10
index 78af9cc2009b..522636e94628 100644

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

drivers/scsi/hisi_sas/hisi_sas_main.c +0 -3
index 633effb09c9c..849335d76cf6 100644

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

drivers/scsi/hisi_sas/hisi_sas_v3_hw.c +6 -5
index ef32ee12f606..723f51c822af 100644

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

drivers/scsi/lpfc/lpfc_scsi.c +1 -1
index aa82d538a18a..40706cb842fd 100644

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

drivers/scsi/lpfc/lpfc_sli.c +31 -25

56 lines not on this page · raw message

drivers/scsi/qla2xxx/qla_init.c +3 -3
index 80f276d67c14..9ffaa920fc8f 100644

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

drivers/scsi/qla2xxx/qla_isr.c +3 -3
index b3766b1879e3..7c5f2736ebee 100644

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

drivers/scsi/qla4xxx/ql4_mbx.c +0 -3
index dac9a7013208..02636b4785c5 100644

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

drivers/scsi/scsi_trace.c +33 -80

113 lines not on this page · raw message

drivers/scsi/scsi_transport_sas.c +1 -8
index ef138c57e2a6..182fd25c7c43 100644

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

drivers/scsi/storvsc_drv.c +3 -1
index 542d2bac2922..5087ed6afbdc 100644

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

drivers/soc/amlogic/meson-ee-pwrc.c +15 -9
index 5823f5b67d16..3f0261d53ad9 100644

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

drivers/staging/comedi/drivers/ni_routes.c +6 -6
index eb61494dc2bd..88beb0d6c42b 100644

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

drivers/target/target_core_fabric_lib.c +1 -1
index 3c79411c4cd0..6b4b354c88aa 100644

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

drivers/usb/core/hub.c +1 -0
index 8b23162e4239..4ac74b354801 100644

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

drivers/usb/serial/ch341.c +5 -1
index 3bb1fff02bed..955ab97b9b22 100644

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

drivers/usb/serial/io_edgeport.c +9 -7
index 9690a5f4b9d6..5737add6a2a4 100644

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

drivers/usb/serial/keyspan.c +4 -0
index e66a59ef43a1..aa3dbce22cfb 100644

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

drivers/usb/serial/opticon.c +1 -1
index cb7aac9cd9e7..ed2b4e6dca38 100644

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

drivers/usb/serial/option.c +6 -0
index 2d919d0e6e45..084cc2fff3ae 100644

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

drivers/usb/serial/quatech2.c +6 -0
index a62981ca7a73..f93b81a297d6 100644

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

drivers/usb/serial/usb-serial-simple.c +2 -0
index edbbb13d6de6..bd23a7cb1be2 100644

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

drivers/usb/serial/usb-serial.c +3 -0
index 8f066bb55d7d..dc7a65b9ec98 100644

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

fs/btrfs/inode.c +39 -34

73 lines not on this page · raw message

fs/btrfs/ioctl.c +13 -1
index 5720e450a46f..8e86b2d700c4 100644

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

fs/btrfs/qgroup.c +5 -1
index aeb5f2f3cdd7..50517221638a 100644

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

fs/btrfs/relocation.c +46 -5

51 lines not on this page · raw message

fs/btrfs/root-tree.c +6 -4
index 3b17b647d002..612411c74550 100644

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

fs/btrfs/volumes.c +5 -1
index d8d7b1ee83ca..97f1ba7c18b2 100644

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

fs/fuse/file.c +3 -1
index a63d779eac10..ce715380143c 100644

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

fs/io_uring.c +6 -0
index 709671faaed6..b1c9ad1fb9e1 100644

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

fs/reiserfs/xattr.c +6 -2
index 62b40df36c98..28b241cd6987 100644

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

include/dt-bindings/reset/amlogic,meson8b-reset.h +3 -3
index c614438bcbdb..fbc524a900da 100644

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

include/linux/blkdev.h +4 -4
index f3ea78b0c91c..51ccb4b8770a 100644

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

include/linux/mm.h +15 -3
index a2adf95b3f9c..b249d2e033aa 100644

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

include/linux/mmzone.h +2 -3
index bda20282746b..8b5f758942a2 100644

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

include/linux/netdevice.h +1 -1
index 76d952aeb0fc..13f09706033a 100644

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

include/linux/regulator/ab8500.h +0 -2
index 505e94a6e3e8..3ab1ddf151a2 100644

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

include/linux/skmsg.h +9 -4
index da4caff7efa4..7eb6a8754f19 100644

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

include/linux/tnum.h +1 -1
index c17af77f3fae..ea627d1ab7e3 100644

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

include/net/tcp.h +4 -2
index b2367cfe0bda..830c89db1245 100644

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

include/trace/events/huge_memory.h +2 -1
index dd4db334bd63..d82a0f4e824d 100644

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

init/main.c +1 -0
index 91f6ebb30ef0..c0206c507eba 100644

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

kernel/bpf/tnum.c +7 -2
index ca52b9642943..d4f335a9a899 100644

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

kernel/bpf/verifier.c +10 -3
index 9c74c98f6501..b2817d0929b3 100644

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

kernel/cpu.c +72 -71

143 lines not on this page · raw message

kernel/events/core.c +3 -1
index 8f66a4833ded..6c829e22bad3 100644

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

kernel/locking/lockdep.c +3 -4
index 233459c03b5a..35d3b6925b1e 100644

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

kernel/locking/rwsem.c +2 -2
index eef04551eae7..baafa1dd9fcc 100644

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

kernel/ptrace.c +10 -5
index cb9ddcc08119..43d6179508d6 100644

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

kernel/time/tick-sched.c +9 -5
index 955851748dc3..5c9fcc72460d 100644

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

mm/huge_memory.c +24 -14
index 13cc93785006..1de7f53621a0 100644

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

mm/memcontrol.c +9 -28
index 46ad252e6d6a..ef4e9eb572a4 100644

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

mm/page-writeback.c +2 -2
index 50055d2e4ea8..2d658b208319 100644

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

mm/page_alloc.c +13 -24
index f391c0c4ed1d..45e39131a716 100644

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

mm/shmem.c +4 -3
index 6074714fdbd4..312e31196720 100644

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

mm/slab.c +2 -2
index 66e5d8032bae..d1d7624cec4a 100644

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

mm/slab_common.c +2 -1
index 78402b362df9..ade6c257d4b4 100644

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

mm/slub.c +1 -1
index e72e802fc569..20d72cb20515 100644

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

mm/sparse.c +8 -1
index c2c01b6330af..1100fdb9649c 100644

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

mm/vmalloc.c +2 -2
index a3c70e275f4e..61bdbaf20cde 100644

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

net/batman-adv/distributed-arp-table.c +3 -1
index b0af3a11d406..ec7bf5a4a9fc 100644

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

net/core/dev.c +0 -12
index 3e11c6bb4dd6..3098c90d60e2 100644

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

net/core/devlink.c +1 -1
index 93905dc7c179..ae614965c8c2 100644

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

net/core/filter.c +10 -10
index 2f76461c120d..1a78d64096bb 100644

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

net/core/skmsg.c +2 -0
index ded2d5227678..3866d7e20c07 100644

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

net/core/sock_map.c +6 -1
index eb114ee419b6..8998e356f423 100644

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

net/dsa/tag_gswip.c +1 -1
index b678160bbd66..408d4af390a0 100644

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

net/dsa/tag_qca.c +0 -3
index c95885215525..c8a128c9e5e0 100644

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

net/ipv4/netfilter/arp_tables.c +10 -9
index 069f72edb264..f1f78a742b36 100644

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

net/ipv4/tcp.c +2 -4
index e537a4b6531b..84115577d3dc 100644

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

net/ipv4/tcp_bpf.c +7 -10
index e38705165ac9..8a01428f80c1 100644

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

net/ipv4/tcp_input.c +4 -3
index 67e44e6717b0..59b78ce2ce2e 100644

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

net/ipv4/tcp_ulp.c +4 -2
index 4849edb62d52..9168645b760e 100644

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

net/netfilter/ipset/ip_set_bitmap_gen.h +1 -1
index 063df74b4647..e1f271a1b2c1 100644

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

net/netfilter/nf_nat_proto.c +13 -0
index 0a59c14b5177..64eedc17037a 100644

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

net/netfilter/nf_tables_api.c +25 -13
index 67ca47c7ce54..9fefd0150091 100644

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

net/netfilter/nft_tunnel.c +4 -1
index 3d4c2ae605a8..5284fcf16be7 100644

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

net/sched/act_ctinfo.c +11 -0
index 0dbcfd1dca7b..f45995a6237a 100644

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

net/sched/act_ife.c +3 -4
index 3a31e241c647..a0cfb4793c93 100644

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

net/tipc/bcast.c +15 -9
index 6ef1abdd525f..885ecf6ea65a 100644

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

net/tipc/socket.c +18 -14
index 4b92b196cfa6..79d06c21ebe3 100644

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

net/tls/tls_main.c +7 -3
index 82d0beed8f07..7aba4ee77aba 100644

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

net/tls/tls_sw.c +27 -4
index c70cf30c5492..a80920f261ca 100644

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

net/wireless/nl80211.c +3 -0
index 7b72286922f7..c74646b7a751 100644

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

net/wireless/rdev-ops.h +4 -0
index e853a4fe6f97..3dd9515c836b 100644

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

net/wireless/sme.c +3 -3
index 7a6c38ddc65a..d32a2ec4d96a 100644

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

net/wireless/util.c +1 -1
index 5b4ed5bbc542..8481e9ac33da 100644

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

sound/core/seq/seq_timer.c +9 -5
index 161f3170bd7e..3bc6095df44d 100644

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

sound/firewire/dice/dice-extension.c +4 -1
index a63fcbc875ad..02f4a8318e38 100644

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

sound/firewire/tascam/amdtp-tascam.c +3 -2
index e80bb84c43f6..f823a2ab3544 100644

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

sound/soc/codecs/msm8916-wcd-analog.c +15 -5
index e3d311fb510e..84289ebeae87 100644

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

sound/soc/codecs/msm8916-wcd-digital.c +6 -0
index 58b2468fb2a7..09fccacadd6b 100644

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

sound/soc/intel/boards/bytcht_es8316.c +2 -1
index 46612331f5ea..54e97455d7f6 100644

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

sound/soc/stm/stm32_adfsdm.c +6 -6
index 3c9a9deec9af..4ecea4913f42 100644

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

sound/soc/stm/stm32_sai_sub.c +140 -54

194 lines not on this page · raw message

sound/usb/pcm.c +1 -1
index a04c727dcd19..fa24bd491cf6 100644

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

tools/bpf/bpftool/btf_dumper.c +1 -1
index d66131f69689..397e5716ab6d 100644

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

tools/perf/builtin-report.c +4 -1
index 7accaf8ef689..ea3f0745d7ad 100644

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

tools/perf/builtin-script.c +3 -7
index 3983d6ccd14d..da016f398aa8 100644

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

tools/perf/util/hist.h +2 -2
index 6a186b668303..479273130794 100644

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

tools/perf/util/probe-finder.c +10 -22
index 08cccd86447c..9ecea45da4ca 100644

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

tools/perf/util/time-utils.c +24 -3
index 9796a2e43f67..302443921681 100644

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

tools/perf/util/time-utils.h +5 -0
index 4f42988eb2f7..1142b0bddd5e 100644

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

tools/testing/selftests/drivers/net/mlxsw/qos_mc_aware.sh +6 -2
index 47315fe48d5a..24dd8ed48580 100755

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.