Linux 5.4.257
Greg Kroah-Hartman
maintainerI'm announcing the release of the 5.4.257 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/arm64/silicon-errata.rst | 3 Makefile | 2 arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts | 3 arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts | 14 arch/arm/boot/dts/bcm47189-luxul-xap-810.dts | 15 arch/arm/boot/dts/bcm53573.dtsi | 3 arch/arm/boot/dts/bcm947189acdbmr.dts | 6 arch/arm/boot/dts/s3c6410-mini6410.dts | 38 arch/arm/boot/dts/s3c64xx-pinctrl.dtsi | 210 ++--- arch/arm/boot/dts/s5pv210-smdkv210.dts | 24 arch/arm/kernel/hw_breakpoint.c | 8 arch/arm/mach-omap2/powerdomain.c | 2 arch/arm/mach-pxa/sharpsl_pm.c | 2 arch/arm/mach-pxa/spitz.c | 14 arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 arch/arm64/kernel/hw_breakpoint.c | 4 arch/m68k/fpsp040/skeleton.S | 4 arch/m68k/ifpsp060/os.S | 4 arch/m68k/kernel/relocate_kernel.S | 4 arch/mips/alchemy/devboards/db1000.c | 8 arch/mips/alchemy/devboards/db1200.c | 19 arch/mips/alchemy/devboards/db1300.c | 10 arch/parisc/include/asm/led.h | 4 arch/parisc/include/asm/processor.h | 1 arch/parisc/kernel/processor.c | 18 arch/powerpc/kernel/fadump.c | 1 arch/powerpc/kernel/head_32.S | 2 arch/powerpc/kernel/iommu.c | 17 arch/powerpc/platforms/pseries/ibmebus.c | 1 arch/s390/kernel/ipl.c | 2 arch/sh/boards/mach-ap325rxa/setup.c | 2 arch/sh/boards/mach-ecovec24/setup.c | 6 arch/sh/boards/mach-kfr2r09/setup.c | 2 arch/sh/boards/mach-migor/setup.c | 2 arch/sh/boards/mach-se/7724/setup.c | 6 arch/um/configs/i386_defconfig | 1 arch/um/configs/x86_64_defconfig | 1 arch/um/drivers/Kconfig | 16 arch/um/drivers/Makefile | 2 arch/x86/boot/compressed/head_32.S | 3 arch/x86/boot/compressed/head_64.S | 39 arch/x86/boot/pmjump.S | 6 arch/x86/entry/entry_64.S | 4 arch/x86/include/asm/virtext.h | 6 arch/x86/kernel/apm_32.c | 6 arch/x86/kernel/cpu/common.c | 8 arch/x86/realmode/rm/wakeup_asm.S | 6 arch/xtensa/include/asm/core.h | 9 arch/xtensa/kernel/perf_event.c | 17 crypto/asymmetric_keys/x509_public_key.c | 5 drivers/acpi/acpica/psopcode.c | 2 drivers/acpi/arm64/iort.c | 5 drivers/acpi/video_detect.c | 9 drivers/amba/bus.c | 1 drivers/ata/pata_ftide010.c | 1 drivers/ata/sata_gemini.c | 1 drivers/base/regmap/regcache-rbtree.c | 10 drivers/base/test/test_async_driver_probe.c | 2 drivers/bluetooth/btsdio.c | 1 drivers/bluetooth/hci_nokia.c | 6 drivers/bus/ti-sysc.c | 2 drivers/char/hw_random/iproc-rng200.c | 33 drivers/char/ipmi/ipmi_si_intf.c | 5 drivers/char/ipmi/ipmi_ssif.c | 7 drivers/char/tpm/tpm_tis_core.c | 15 drivers/clk/Kconfig | 1 drivers/clk/imx/clk-composite-8m.c | 12 drivers/clk/imx/clk-imx8mm.c | 87 -- drivers/clk/imx/clk-pll14xx.c | 30 drivers/clk/imx/clk.h | 3 drivers/clk/keystone/pll.c | 2 drivers/clk/qcom/gcc-mdm9615.c | 2 drivers/clk/sunxi-ng/ccu_mmc_timing.c | 2 drivers/cpufreq/brcmstb-avs-cpufreq.c | 6 drivers/cpufreq/cpufreq.c | 2 drivers/cpufreq/powernow-k8.c | 3 drivers/crypto/caam/caampkc.c | 4 drivers/crypto/stm32/stm32-hash.c | 9 drivers/devfreq/devfreq.c | 1 drivers/dma/Kconfig | 2 drivers/dma/ste_dma40.c | 4 drivers/firmware/stratix10-svc.c | 2 drivers/fsi/fsi-master-ast-cf.c | 1 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 18 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 14 drivers/gpu/drm/amd/amdgpu/cik.c | 97 +- drivers/gpu/drm/amd/amdgpu/si.c | 99 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c | 5 drivers/gpu/drm/armada/armada_overlay.c | 6 drivers/gpu/drm/ast/ast_post.c | 2 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 9 drivers/gpu/drm/bridge/tc358764.c | 2 drivers/gpu/drm/drm_gem_vram_helper.c | 24 drivers/gpu/drm/etnaviv/etnaviv_dump.c | 14 drivers/gpu/drm/exynos/exynos_drm_crtc.c | 5 drivers/gpu/drm/mediatek/mtk_drm_gem.c | 6 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c | 3 drivers/gpu/drm/panel/panel-simple.c | 4 drivers/gpu/drm/radeon/cik.c | 96 +- drivers/gpu/drm/radeon/si.c | 98 +- drivers/gpu/drm/tegra/dpaux.c | 6 drivers/hid/hid-logitech-dj.c | 5 drivers/hid/hid-multitouch.c | 13 drivers/hid/wacom.h | 1 drivers/hid/wacom_sys.c | 25 drivers/hid/wacom_wac.c | 1 drivers/hid/wacom_wac.h | 1 drivers/hwtracing/coresight/coresight-tmc-etf.c | 2 drivers/hwtracing/coresight/coresight-tmc-etr.c | 5 drivers/hwtracing/coresight/coresight-tmc.h | 2 drivers/i2c/busses/i2c-aspeed.c | 7 drivers/infiniband/core/uverbs_std_types_counters.c | 2 drivers/infiniband/sw/siw/siw_cm.c | 1 drivers/infiniband/sw/siw/siw_verbs.c | 2 drivers/infiniband/ulp/isert/ib_isert.c | 2 drivers/iommu/intel-pasid.c | 2 drivers/md/md-bitmap.c | 26 drivers/md/raid1.c | 3 drivers/media/dvb-frontends/ascot2e.c | 2 drivers/media/dvb-frontends/atbm8830.c | 2 drivers/media/dvb-frontends/au8522_dig.c | 2 drivers/media/dvb-frontends/bcm3510.c | 2 drivers/media/dvb-frontends/cx22700.c | 2 drivers/media/dvb-frontends/cx22702.c | 2 drivers/media/dvb-frontends/cx24110.c | 2 drivers/media/dvb-frontends/cx24113.c | 2 drivers/media/dvb-frontends/cx24116.c | 2 drivers/media/dvb-frontends/cx24120.c | 6 drivers/media/dvb-frontends/cx24123.c | 2 drivers/media/dvb-frontends/cxd2820r_core.c | 2 drivers/media/dvb-frontends/cxd2841er.c | 4 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c | 2 drivers/media/dvb-frontends/dib0070.c | 2 drivers/media/dvb-frontends/dib0090.c | 4 drivers/media/dvb-frontends/dib3000mb.c | 2 drivers/media/dvb-frontends/dib3000mc.c | 2 drivers/media/dvb-frontends/dib7000m.c | 2 drivers/media/dvb-frontends/dib7000p.c | 4 drivers/media/dvb-frontends/dib8000.c | 2 drivers/media/dvb-frontends/dib9000.c | 2 drivers/media/dvb-frontends/drx39xyj/drxj.c | 2 drivers/media/dvb-frontends/drxd_hard.c | 2 drivers/media/dvb-frontends/drxk_hard.c | 2 drivers/media/dvb-frontends/ds3000.c | 2 drivers/media/dvb-frontends/dvb-pll.c | 2 drivers/media/dvb-frontends/ec100.c | 2 drivers/media/dvb-frontends/helene.c | 4 drivers/media/dvb-frontends/horus3a.c | 2 drivers/media/dvb-frontends/isl6405.c | 2 drivers/media/dvb-frontends/isl6421.c | 2 drivers/media/dvb-frontends/isl6423.c | 2 drivers/media/dvb-frontends/itd1000.c | 2 drivers/media/dvb-frontends/ix2505v.c | 2 drivers/media/dvb-frontends/l64781.c | 2 drivers/media/dvb-frontends/lg2160.c | 2 drivers/media/dvb-frontends/lgdt3305.c | 2 drivers/media/dvb-frontends/lgdt3306a.c | 2 drivers/media/dvb-frontends/lgdt330x.c | 2 drivers/media/dvb-frontends/lgs8gxx.c | 2 drivers/media/dvb-frontends/lnbh25.c | 2 drivers/media/dvb-frontends/lnbp21.c | 4 drivers/media/dvb-frontends/lnbp22.c | 2 drivers/media/dvb-frontends/m88ds3103.c | 2 drivers/media/dvb-frontends/m88rs2000.c | 2 drivers/media/dvb-frontends/mb86a16.c | 2 drivers/media/dvb-frontends/mb86a20s.c | 2 drivers/media/dvb-frontends/mt312.c | 2 drivers/media/dvb-frontends/mt352.c | 2 drivers/media/dvb-frontends/nxt200x.c | 2 drivers/media/dvb-frontends/nxt6000.c | 2 drivers/media/dvb-frontends/or51132.c | 2 drivers/media/dvb-frontends/or51211.c | 2 drivers/media/dvb-frontends/s5h1409.c | 2 drivers/media/dvb-frontends/s5h1411.c | 2 drivers/media/dvb-frontends/s5h1420.c | 2 drivers/media/dvb-frontends/s5h1432.c | 2 drivers/media/dvb-frontends/s921.c | 2 drivers/media/dvb-frontends/si21xx.c | 2 drivers/media/dvb-frontends/sp887x.c | 2 drivers/media/dvb-frontends/stb0899_drv.c | 2 drivers/media/dvb-frontends/stb6000.c | 2 drivers/media/dvb-frontends/stb6100.c | 2 drivers/media/dvb-frontends/stv0288.c | 2 drivers/media/dvb-frontends/stv0297.c | 2 drivers/media/dvb-frontends/stv0299.c | 2 drivers/media/dvb-frontends/stv0367.c | 6 drivers/media/dvb-frontends/stv0900_core.c | 2 drivers/media/dvb-frontends/stv090x.c | 2 drivers/media/dvb-frontends/stv6110.c | 2 drivers/media/dvb-frontends/stv6110x.c | 2 drivers/media/dvb-frontends/tda10021.c | 2 drivers/media/dvb-frontends/tda10023.c | 2 drivers/media/dvb-frontends/tda10048.c | 2 drivers/media/dvb-frontends/tda1004x.c | 4 drivers/media/dvb-frontends/tda10086.c | 2 drivers/media/dvb-frontends/tda665x.c | 2 drivers/media/dvb-frontends/tda8083.c | 2 drivers/media/dvb-frontends/tda8261.c | 2 drivers/media/dvb-frontends/tda826x.c | 2 drivers/media/dvb-frontends/ts2020.c | 2 drivers/media/dvb-frontends/tua6100.c | 2 drivers/media/dvb-frontends/ves1820.c | 2 drivers/media/dvb-frontends/ves1x93.c | 2 drivers/media/dvb-frontends/zl10036.c | 2 drivers/media/dvb-frontends/zl10039.c | 2 drivers/media/dvb-frontends/zl10353.c | 2 drivers/media/i2c/ov2680.c | 246 +----- drivers/media/i2c/ov5640.c | 127 +-- drivers/media/pci/bt8xx/dst.c | 2 drivers/media/pci/bt8xx/dst_ca.c | 2 drivers/media/pci/cx23885/cx23885-video.c | 2 drivers/media/pci/intel/ipu3/ipu3-cio2.c | 2 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c | 5 drivers/media/tuners/fc0011.c | 2 drivers/media/tuners/fc0012.c | 2 drivers/media/tuners/fc0013.c | 2 drivers/media/tuners/max2165.c | 2 drivers/media/tuners/mc44s803.c | 2 drivers/media/tuners/mt2060.c | 2 drivers/media/tuners/mt2131.c | 2 drivers/media/tuners/mt2266.c | 2 drivers/media/tuners/mxl5005s.c | 2 drivers/media/tuners/qt1010.c | 13 drivers/media/tuners/tda18218.c | 2 drivers/media/tuners/xc4000.c | 2 drivers/media/tuners/xc5000.c | 2 drivers/media/usb/dvb-usb-v2/af9035.c | 14 drivers/media/usb/dvb-usb-v2/anysee.c | 2 drivers/media/usb/dvb-usb-v2/az6007.c | 8 drivers/media/usb/dvb-usb/af9005.c | 5 drivers/media/usb/dvb-usb/dw2102.c | 24 drivers/media/usb/dvb-usb/m920x.c | 5 drivers/media/usb/go7007/go7007-i2c.c | 2 drivers/media/usb/siano/smsusb.c | 21 drivers/media/v4l2-core/v4l2-fwnode.c | 43 - drivers/mmc/host/Kconfig | 5 drivers/mmc/host/sdhci-esdhc-imx.c | 7 drivers/mtd/nand/raw/brcmnand/brcmnand.c | 112 +- drivers/mtd/nand/raw/fsmc_nand.c | 7 drivers/net/arcnet/arcnet.c | 2 drivers/net/can/usb/gs_usb.c | 5 drivers/net/ethernet/atheros/alx/ethtool.c | 5 drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 7 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 9 drivers/net/ethernet/freescale/enetc/enetc_ptp.c | 2 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 4 drivers/net/ethernet/intel/igb/igb.h | 4 drivers/net/ethernet/intel/igb/igb_main.c | 16 drivers/net/ethernet/intel/igbvf/igbvf.h | 4 drivers/net/ethernet/intel/igc/igc.h | 4 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 28 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 5 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 3 drivers/net/ethernet/mellanox/mlxsw/i2c.c | 5 drivers/net/macsec.c | 3 drivers/net/usb/qmi_wwan.c | 1 drivers/net/usb/r8152.c | 3 drivers/net/veth.c | 4 drivers/net/vxlan.c | 58 - drivers/net/wireless/ath/ath10k/pci.c | 9 drivers/net/wireless/ath/ath9k/ahb.c | 4 drivers/net/wireless/ath/ath9k/htc_drv_debug.c | 2 drivers/net/wireless/ath/ath9k/pci.c | 4 drivers/net/wireless/ath/ath9k/wmi.c | 20 drivers/net/wireless/mac80211_hwsim.c | 7 drivers/net/wireless/marvell/mwifiex/debugfs.c | 9 drivers/net/wireless/marvell/mwifiex/pcie.c | 176 ++-- drivers/net/wireless/marvell/mwifiex/sta_rx.c | 12 drivers/net/wireless/marvell/mwifiex/tdls.c | 9 drivers/net/wireless/marvell/mwifiex/uap_txrx.c | 30 drivers/net/wireless/marvell/mwifiex/util.c | 10 drivers/ntb/ntb_transport.c | 19 drivers/of/unittest.c | 12 drivers/opp/core.c | 2 drivers/parisc/led.c | 4 drivers/pci/hotplug/pciehp_hpc.c | 12 drivers/pci/pcie/aspm.c | 30 drivers/perf/arm_smmuv3_pmu.c | 46 + drivers/perf/fsl_imx8_ddr_perf.c | 24 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c | 18 drivers/pinctrl/pinctrl-amd.c | 4 drivers/platform/mellanox/mlxbf-tmfifo.c | 104 +- drivers/platform/x86/huawei-wmi.c | 2 drivers/platform/x86/intel-hid.c | 21 drivers/pwm/pwm-lpc32xx.c | 16 drivers/rpmsg/qcom_glink_native.c | 4 drivers/rtc/rtc-ds1685.c | 2 drivers/s390/block/dasd.c | 125 +-- drivers/s390/block/dasd_3990_erp.c | 2 drivers/s390/crypto/zcrypt_api.c | 1 drivers/scsi/be2iscsi/be_iscsi.c | 4 drivers/scsi/fcoe/fcoe_ctlr.c | 20 drivers/scsi/hosts.c | 4 drivers/scsi/megaraid/megaraid_sas.h | 2 drivers/scsi/megaraid/megaraid_sas_base.c | 21 drivers/scsi/qedf/qedf_dbg.h | 2 drivers/scsi/qedf/qedf_debugfs.c | 35 drivers/scsi/qedi/qedi_main.c | 5 drivers/scsi/qla2xxx/qla_attr.c | 2 drivers/scsi/qla2xxx/qla_dbg.c | 2 drivers/scsi/qla2xxx/qla_init.c | 3 drivers/scsi/qla2xxx/qla_isr.c | 7 drivers/scsi/qla2xxx/qla_nvme.c | 2 drivers/scsi/qla2xxx/qla_os.c | 9 drivers/scsi/qla4xxx/ql4_os.c | 15 drivers/scsi/scsi_transport_iscsi.c | 8 drivers/scsi/storvsc_drv.c | 2 drivers/soc/qcom/qmi_encdec.c | 4 drivers/spi/spi-tegra20-sflash.c | 6 drivers/staging/rtl8712/os_intfs.c | 1 drivers/staging/rtl8712/usb_intf.c | 1 drivers/target/iscsi/iscsi_target_configfs.c | 54 - drivers/tty/serial/cpm_uart/cpm_uart_core.c | 13 drivers/tty/serial/sc16is7xx.c | 18 drivers/tty/serial/serial-tegra.c | 6 drivers/tty/serial/sprd_serial.c | 68 - drivers/usb/gadget/function/f_mass_storage.c | 2 drivers/usb/gadget/udc/fsl_qe_udc.c | 6 drivers/usb/phy/phy-mxs-usb.c | 10 drivers/usb/serial/option.c | 7 drivers/usb/typec/bus.c | 12 drivers/usb/typec/tcpm/tcpci.c | 4 drivers/usb/typec/tcpm/tcpci.h | 1 drivers/usb/typec/tcpm/tcpm.c | 122 +- drivers/video/backlight/bd6107.c | 2 drivers/video/backlight/gpio_backlight.c | 2 drivers/video/backlight/lv5207lp.c | 2 drivers/video/fbdev/ep93xx-fb.c | 1 drivers/virtio/virtio_ring.c | 2 drivers/watchdog/intel-mid_wdt.c | 1 fs/attr.c | 20 fs/autofs/waitq.c | 3 fs/btrfs/ctree.h | 2 fs/btrfs/delayed-inode.c | 19 fs/btrfs/disk-io.c | 13 fs/btrfs/extent-tree.c | 5 fs/btrfs/transaction.c | 7 fs/btrfs/volumes.c | 8 fs/btrfs/volumes.h | 3 fs/cifs/cifsfs.c | 7 fs/cifs/smb2ops.c | 1 fs/debugfs/inode.c | 6 fs/dlm/plock.c | 6 fs/erofs/zdata.c | 2 fs/eventfd.c | 7 fs/ext2/xattr.c | 4 fs/ext4/namei.c | 26 fs/fuse/readdir.c | 10 fs/jfs/jfs_dmap.c | 1 fs/jfs/jfs_extent.c | 5 fs/jfs/jfs_imap.c | 1 fs/kernfs/mount.c | 2 fs/lockd/mon.c | 3 fs/locks.c | 2 fs/namei.c | 22 fs/nfs/blocklayout/dev.c | 4 fs/nfs/nfs2xdr.c | 2 fs/nfs/nfs3xdr.c | 2 fs/nfs/pnfs_dev.c | 2 fs/nfsd/blocklayoutxdr.c | 9 fs/nfsd/flexfilelayoutxdr.c | 9 fs/nfsd/nfs3xdr.c | 4 fs/nfsd/nfs4proc.c | 4 fs/nfsd/nfs4xdr.c | 36 fs/nilfs2/alloc.c | 3 fs/nilfs2/inode.c | 7 fs/nilfs2/segment.c | 5 fs/nls/nls_base.c | 4 fs/ocfs2/namei.c | 4 fs/overlayfs/namei.c | 24 fs/proc/base.c | 3 fs/pstore/ram_core.c | 2 fs/quota/dquot.c | 184 ++-- fs/reiserfs/journal.c | 4 fs/tracefs/inode.c | 3 fs/udf/balloc.c | 31 fs/udf/inode.c | 45 - fs/verity/signature.c | 16 include/linux/acpi_iort.h | 1 include/linux/eventfd.h | 6 include/linux/if_arp.h | 4 include/linux/namei.h | 1 include/linux/nls.h | 2 include/linux/perf_event.h | 22 include/linux/sched/task.h | 28 include/linux/trace_events.h | 3 include/linux/usb/typec_altmode.h | 2 include/net/ip_tunnels.h | 15 include/net/lwtunnel.h | 5 include/net/tcp.h | 1 include/scsi/scsi_host.h | 2 include/uapi/linux/pci_regs.h | 2 include/uapi/linux/sync_file.h | 2 kernel/auditsc.c | 2 kernel/fork.c | 8 kernel/module.c | 15 kernel/trace/bpf_trace.c | 2 kernel/trace/trace.c | 43 - kernel/trace/trace_uprobe.c | 3 lib/idr.c | 2 lib/kobject.c | 5 lib/mpi/mpi-cmp.c | 8 lib/test_meminit.c | 2 mm/shmem.c | 28 net/9p/trans_virtio.c | 2 net/core/devlink.c | 4 net/core/flow_dissector.c | 3 net/core/lwt_bpf.c | 7 net/core/skbuff.c | 34 net/core/sock.c | 9 net/dccp/ipv4.c | 13 net/dccp/ipv6.c | 15 net/ipv4/devinet.c | 10 net/ipv4/fib_semantics.c | 5 net/ipv4/fib_trie.c | 3 net/ipv4/igmp.c | 3 net/ipv4/ip_output.c | 2 net/ipv4/tcp_input.c | 3 net/ipv6/addrconf.c | 2 net/ipv6/ip6_output.c | 2 net/kcm/kcmsock.c | 15 net/netfilter/ipset/ip_set_hash_netportnet.c | 1 net/netfilter/nfnetlink_osf.c | 8 net/netfilter/xt_sctp.c | 2 net/netfilter/xt_u32.c | 21 net/netlabel/netlabel_kapi.c | 3 net/netrom/af_netrom.c | 5 net/sched/Kconfig | 28 net/sched/Makefile | 2 net/sched/cls_rsvp.c | 24 net/sched/cls_rsvp.h | 777 ------------------- net/sched/cls_rsvp6.c | 24 net/sched/sch_hfsc.c | 4 net/sched/sch_plug.c | 2 net/sched/sch_qfq.c | 22 net/sctp/proc.c | 2 net/sctp/sm_sideeffect.c | 5 net/sctp/socket.c | 10 net/socket.c | 6 net/tls/tls_sw.c | 4 net/unix/af_unix.c | 2 net/unix/scm.c | 6 scripts/kconfig/preprocess.c | 3 security/integrity/ima/Kconfig | 12 security/keys/keyctl.c | 11 security/smack/smackfs.c | 2 sound/Kconfig | 2 sound/core/pcm_compat.c | 8 sound/core/seq/oss/seq_oss_midi.c | 35 sound/pci/ac97/ac97_codec.c | 5 sound/soc/atmel/atmel-i2s.c | 5 sound/soc/codecs/da7219-aad.c | 12 sound/soc/codecs/es8316.c | 2 tools/build/Makefile.feature | 2 tools/build/feature/Makefile | 4 tools/build/feature/test-all.c | 5 tools/build/feature/test-libbfd-buildid.c | 8 tools/perf/Makefile.config | 43 - tools/perf/builtin-top.c | 1 tools/perf/pmu-events/Build | 5 tools/perf/ui/browsers/hists.c | 2 tools/perf/util/annotate.c | 10 tools/perf/util/header.c | 11 tools/testing/selftests/ftrace/ftracetest | 8 465 files changed, 2914 insertions(+), 2927 deletions(-)
Aaron Armstrong Skomra (1):
HID: wacom: remove the battery when the EKR is off
Abhishek Mainkar (1):
ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
Ahmad Fatoum (1):
clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op
Al Viro (1):
new helper: lookup_positive_unlocked()
Alan Stern (1):
USB: gadget: f_mass_storage: Fix unused variable warning
Aleksa Sarai (1):
procfs: block chmod on /proc/thread-self/comm
Aleksey Nasibulin (1):
ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
Alex Henrie (1):
net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr
Alexander Aring (1):
dlm: fix plock lookup when using multiple lockspaces
Alexander Steffen (1):
tpm_tis: Resend command to recover from data transfer errors
Alexei Filippov (1):
jfs: validate max amount of blocks before allocation.
Anand Jain (3):
btrfs: use the correct superblock to compare fsid in btrfs_validate_super
btrfs: add a helper to read the superblock metadata_uuid
btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
Andrew Donnellan (1):
lib/test_meminit: allocate pages up to order MAX_ORDER
Andrew Kanner (1):
fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
Andy Shevchenko (1):
s390/zcrypt: don't leak memory if dev_set_name() fails
Anson Huang (1):
clk: imx8mm: Move 1443X/1416X PLL clock structure to common place
Ard Biesheuvel (1):
x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved
Ariel Marcovitch (1):
idr: fix param name in idr_alloc_cyclic() doc
Arnaldo Carvalho de Melo (3):
perf annotate bpf: Don't enclose non-debug code with an assert() perf top: Don't pass an ERR_PTR() directly to perf_session__delete() tools features: Add feature test to check if libbfd has buildid support
Arnd Bergmann (2):
ARM: pxa: remove use of symbol_get()
drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
Artem Chernyshev (1):
fs: ocfs2: namei: check return value of ocfs2_add_entry()
Baokun Li (4):
quota: factor out dquot_write_dquot()
quota: rename dquot_active() to inode_quota_active()
quota: add new helper dquot_active()
quota: fix dqput() to follow the guarantees dquot_srcu should provide
Baoquan He (2):
clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
Ben Hutchings (1):
m68k: Fix invalid .section syntax
Benjamin Coddington (1):
NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
Bjorn Helgaas (6):
PCI: Add #defines for Enter Compliance, Transmit Margin drm/amdgpu: Correct Transmit Margin masks drm/amdgpu: Replace numbers with PCI_EXP_LNKCTL2 definitions drm/radeon: Correct Transmit Margin masks drm/radeon: Replace numbers with PCI_EXP_LNKCTL2 definitions Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset"
Bogdan Togorean (1):
drm: adv7511: Fix low refresh rate register for ADV7533/5
Boris Brezillon (1):
PM / devfreq: Fix leak in devfreq_dev_release()
Budimir Markovic (1):
net/sched: sch_hfsc: Ensure inner classes have fsc curve
Chengfeng Ye (2):
scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
scsi: fcoe: Fix potential deadlock on &fip->ctlr_lockChengguang Xu (1):
quota: avoid increasing DQST_LOOKUPS when iterating over dirty/inuse list
Chris Lew (1):
soc: qcom: qmi_encdec: Restrict string length in decode
Christian Brauner (2):
tmpfs: verify {g,u}id mount options correctly
attr: block mode changes of symlinks
Christian Göttsche (1):
security: keys: perform capable check only on privileged operations
Christian König (1):
drm/amdgpu: fix amdgpu_cs_p1_user_fence
Christoph Hellwig (4):
mmc: au1xmmc: force non-modular build and remove symbol_get usage
net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index
rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff
modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
Christophe JAILLET (3):
mwifiex: switch from 'pci_' to 'dma_' API
media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
Christophe Leroy (2):
powerpc/32s: Fix assembler warning about r0
serial: cpm_uart: Avoid suspicious locking
Chuck Lever (1):
NFSD: da_addr_body field missing in some GETDEVICEINFO replies
Chunyan Zhang (4):
serial: sprd: getting port index via serial aliases only
serial: sprd: remove redundant sprd_port cleanup
serial: sprd: Assign sprd_port after initialized to avoid wrong access
serial: sprd: Fix DMA buffer leak issue
Colin Ian King (1):
media: go7007: Remove redundant if statement
Corey Minyard (1):
ipmi:ssif: Fix a memory leak when scanning for an adapter
Corinna Vinschen (1):
igb: disable virtualization features on 82580
Damien Le Moal (2):
ata: sata_gemini: Add missing MODULE_DESCRIPTION
ata: pata_ftide010: Add missing MODULE_DESCRIPTION
Dan Carpenter (5):
sctp: handle invalid error codes without calling BUG()
regmap: rbtree: Use alloc_flags for memory allocations
smackfs: Prevent underflow in smk_set_cipso() nfs/blocklayout: Use the passed in gfp flags driver core: test_async: fix an error code
Daniel Mack (1):
sc16is7xx: Set iobase to device index
Daniel Vetter (1):
drm/msm/mdp5: Don't leak some plane state
Daniil Dulov (2):
media: dib7000p: Fix potential division by zero
media: cx24120: Add retval check for cx24120_message_send()
Dave Hansen (1):
x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
Dave Jiang (3):
ntb: Drop packets when qp link is down
ntb: Clean up tx tail index on link down
ntb: Fix calculation ntb_transport_tx_free_entry()
Dave Stevenson (1):
media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
David Christensen (1):
bnx2x: fix page fault following EEH recovery
David Woodhouse (1):
eventfd: Export eventfd_ctx_do_read()
Dmitry Antipov (4):
wifi: mwifiex: fix error recovery in PCIE buffer descriptor management
wifi: mwifiex: fix memory leak in mwifiex_histogram_read()
wifi: mwifiex: avoid possible NULL skb pointer dereference
wifi: mwifiex: fix fortify warning
Dmitry Baryshkov (1):
clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock
Dmitry Mastykin (1):
netlabel: fix shift wrapping bug in netlbl_catmap_setlong()
Dmytro Maluka (2):
ASoC: da7219: Flush pending AAD IRQ when suspending
ASoC: da7219: Check for failure reading AAD IRQ events
Dominique Martinet (1):
9p: virtio: make sure 'offs' is initialized in zc_request
Dongliang Mu (2):
drivers: usb: smsusb: fix error handling code in smsusb_init_device
wifi: ath9k: fix printk specifier
Edgar (1):
ASoc: codecs: ES8316: Fix DMIC config
Enlin Mu (1):
pstore/ram: Check start of empty przs during init
Eric Biggers (1):
fsverity: skip PKCS#7 parser when keyring is empty
Eric Dumazet (6):
tcp: tcp_enter_quickack_mode() should be static
igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
sctp: annotate data-races around sk->sk_wmem_queued
ipv4: annotate data-races around fi->fib_dead
net: read sk->sk_family once in sk_mc_loop()
ip_tunnels: use DEV_STATS_INC()
Fedor Pchelkin (4):
wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx
wifi: ath9k: protect WMI command response buffer replacement with a lock NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
autofs: fix memory leak of waitqueues in autofs_catatonic_mode
Filipe Manana (2):
btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART
btrfs: fix lockdep splat and potential deadlock after failure running delayed items
Florian Fainelli (1):
hwrng: iproc-rng200 - Implement suspend and resume calls
Frederick Lawler (2):
drm/amdgpu: Prefer pcie_capability_read_word() drm/radeon: Prefer pcie_capability_read_word()
GONG, Ruiqi (1):
alx: fix OOB-read compiler warning
Gao Xiang (1):
erofs: ensure that the post-EOF tails are all zeroed
Gaosheng Cui (1):
audit: fix possible soft lockup in __audit_inode_child()
Gaurav Jain (1):
crypto: caam - fix unchecked return value error
Geert Uytterhoeven (2):
drm/armada: Fix off-by-one error in armada_overlay_get_property()
of: unittest: Fix overlay type in apply/revert check
Georg Ottinger (1):
ext2: fix datatype of block number in ext2_xattr_set2()
Giulio Benetti (1):
mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
Greg Kroah-Hartman (2):
media: dvb: symbol fixup for dvb_attach()
Linux 5.4.257
Guiting Shen (1):
ASoC: atmel: Fix the 8K sample parameter in I2SC master
Guoqing Jiang (3):
md/bitmap: don't set max_write_behind if there is no write mostly device RDMA/siw: Balance the reference of cep->kref in the error path RDMA/siw: Correct wrong debug message
Gustavo A. R. Silva (2):
ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch()
cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug
Hangyu Hua (2):
net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()
Hans Verkuil (2):
media: tuners: qt1010: replace BUG_ON with a regular error
media: pci: cx23885: replace BUG with error return
Hans de Goede (7):
platform/x86: intel: hid: Always call BTNL ACPI method
media: ov2680: Remove auto-gain and auto-exposure controls
media: ov2680: Fix ov2680_bayer_order()
media: ov2680: Fix vflip / hflip set functions
media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
usb: typec: tcpm: Refactor tcpm_handle_vdm_request payload handling
usb: typec: tcpm: Refactor tcpm_handle_vdm_request
Hayes Wang (1):
r8152: check budget for r8152_poll()
Helge Deller (4):
parisc: Fix /proc/cpuinfo output for lscpu
parisc: led: Fix LAN receive and transmit LEDs
parisc: led: Reduce CPU overhead for disk & lan LED computation
parisc: Drop loops_per_jiffy from per_cpu struct
Hugo Villeneuve (2):
serial: sc16is7xx: fix bug when first setting GPIO direction
serial: sc16is7xx: fix broken port 0 uart init
Ian Rogers (1):
perf tools: Add an option to build without libbfd
Ilpo Järvinen (5):
PCI: pciehp: Use RMW accessors for changing LNKCTL PCI/ASPM: Use RMW accessors for changing LNKCTL drm/amdgpu: Use RMW accessors for changing LNKCTL drm/radeon: Use RMW accessors for changing LNKCTL
wifi: ath10k: Use RMW accessors for changing LNKCTL
Irui Wang (1):
media: mediatek: vcodec: Return NULL if no vdec_fb is found
Jamal Hadi Salim (1):
net/sched: Retire rsvp classifier
Jan Kara (1):
udf: Handle error when adding extent to a file
Jann Horn (1):
dccp: Fix out of bounds access in DCCP error handler
Jeff Layton (1):
nfsd: fix change_info in NFSv4 RENAME replies
Jia Yang (1):
drm: fix double free for gbo in drm_gem_vram_init and drm_gem_vram_create
Jiasheng Jiang (2):
ipmi:ssif: Add check for kstrdup
rpmsg: glink: Add check for kstrdup
Jinjie Ruan (1):
net: arcnet: Do not call kfree_skb() under local_irq_disable()
Jiri Benc (1):
vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
Jiri Pirko (1):
devlink: remove reload failed checks in params get/set callbacks
Jiri Slaby (2):
x86/asm: Make more symbols local
x86/boot: Annotate local functions
Jiri Slaby (SUSE) (1):
ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
Johannes Berg (1):
wifi: mac80211_hwsim: drop short frames
John Garry (1):
perf jevents: Make build dependency on test JSONs
Jonas Karlman (2):
phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328 phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write
Jordan Rife (1):
net: Avoid address overwrite in kernel_connect
Josef Bacik (1):
btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h
Juerg Haefliger (1):
fsi: master-ast-cf: Add MODULE_FIRMWARE macro
Julia Lawall (1):
hwrng: iproc-rng200 - use semicolons rather than commas to separate statements
Junxiao Bi (1):
scsi: megaraid_sas: Fix deadlock on firmware crashdump
Konstantin Meskhidze (1):
kconfig: fix possible buffer overflow
Konstantin Shelekhin (2):
platform/x86: huawei-wmi: Silence ambient light sensor
scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
Krzysztof Kozlowski (9):
ARM: dts: s3c6410: move fixed clocks under root node in Mini6410
ARM: dts: s3c6410: align node SROM bus node name with dtschema in Mini6410
ARM: dts: s3c64xx: align pinctrl with dtschema
ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
ARM: dts: s5pv210: add RTC 32 KHz clock in SMDKV210
ARM: dts: s5pv210: use defines for IRQ flags in SMDKV210
ARM: dts: s5pv210: correct ethernet unit address in SMDKV210
ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210
ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
Kuniyuki Iwashima (6):
netrom: Deny concurrent connect().
af_unix: Fix data-races around user->unix_inflight.
af_unix: Fix data-race around unix_tot_inflight.
af_unix: Fix data-races around sk->sk_shutdown.
af_unix: Fix data race around sk->sk_err.
kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().
Kyle Zeng (1):
netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
Lad Prabhakar (1):
media: i2c: ov5640: Configure HVP lines in s_power callback
Leon Romanovsky (1):
Revert "IB/isert: Fix incorrect release of isert connection"
Liang Chen (1):
veth: Fixing transmit return status for dropped packets
Liao Chang (2):
cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
cpufreq: Fix the race condition while updating the transition_task of policy
Liming Sun (2):
platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors platform/mellanox: mlxbf-tmfifo: Drop jumbo frames
Lin Ma (3):
scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param()
scsi: be2iscsi: Add length check when parsing nlattrs
scsi: qla4xxx: Add length check when parsing nlattrs
Liu Jian (2):
net: ipv4: fix one memleak in __inet_del_ifa()
net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()
Liu Shixin via Jfs-discussion (1):
jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
Lucas Stach (1):
drm/etnaviv: fix dumping of active MMU context
Ma Ke (1):
usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
Manish Rangankar (1):
scsi: qla2xxx: Remove unsupported ql2xenabledif option
Manivannan Sadhasivam (2):
OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
Marc Kleine-Budde (1):
can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
Marco Felsch (3):
media: v4l2-fwnode: fix v4l2_fwnode_parse_link handling
media: v4l2-fwnode: simplify v4l2_fwnode_parse_link
usb: typec: tcpci: clear the fault status bit
Marek Vasut (3):
drm/bridge: tc358764: Fix debug print parameter order
drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01
media: ov5640: Enable MIPI interface in ov5640_set_power_mipi()
Mario Limonciello (1):
pinctrl: amd: Don't show Invalid config param errors
Mark O'Donovan (1):
crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
Martin Kohn (2):
USB: serial: option: add Quectel EM05G variant (0x030e)
net: usb: qmi_wwan: add Quectel EM05GV2
Masami Hiramatsu (Google) (1):
selftests: tracing: Fix to unmount tracefs for recovering environment
Matthew Wilcox (1):
reiserfs: Check the return value from __getblk()
Max Filippov (1):
xtensa: PMU: fix base address for the newer hardware
Michael Kelley (1):
scsi: storvsc: Always set no_report_opcodes
Michael S. Tsirkin (1):
mlxbf-tmfifo: sparse tags for config access
Minjie Du (1):
drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
Mohamed Khalfella (1):
skbuff: skb_segment, Call zero copy functions before using skbuff frags
Nam Cao (1):
staging: rtl8712: fix race condition
Namhyung Kim (2):
perf hists browser: Fix hierarchy mode header perf tools: Handle old data in PERF_RECORD_ATTR
Nayna Jain (1):
ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
Nicolas Dichtel (1):
net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
Nigel Croxon (1):
md/raid1: fix error: ISO C90 forbids mixed declarations
Nikita Zhandarovich (1):
HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
Oleksandr Natalenko (3):
scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly
scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly
scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly
Olga Zaborska (3):
igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
Peng Fan (1):
amba: bus: fix refcount leak
Petr Tesarik (1):
sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()
Polaris Pi (2):
wifi: mwifiex: Fix OOB and integer underflow when rx packets
wifi: mwifiex: Fix missed return in oob checks failed path
Qu Wenruo (1):
btrfs: output extra debug info if we failed to find an inline backref
Quan Tian (1):
net/ipv6: SKB symmetric hash should incorporate transport ports
Quinn Tran (3):
scsi: qla2xxx: fix inconsistent TMF timeout
scsi: qla2xxx: Fix erroneous link up failure
scsi: qla2xxx: Turn off noisy message log
RD Babiera (1):
usb: typec: bus: verify partner exists in typec_altmode_attention
Raag Jadav (1):
watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load
Radoslaw Tyl (1):
igb: set max size RX buffer when store bad packet is enabled
Rafał Miłecki (4):
ARM: dts: BCM53573: Drop nonexistent "default-off" LED trigger
ARM: dts: BCM53573: Add cells sizes to PCIe node
ARM: dts: BCM53573: Use updated "spi-gpio" binding properties
ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
Rahul Rameshbabu (1):
HID: multitouch: Correct devm device reference for hidinput input_dev name
Randy Dunlap (2):
x86/APM: drop the duplicate APM_MINOR_DEV macro
um: Fix hostaudio build errors
Rob Clark (1):
dma-buf/sync_file: Fix docs syntax
Ruan Jinjie (1):
of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
Ruidong Tian (1):
coresight: tmc: Explicit type conversions to prevent integer overflow
Russell Currey (1):
powerpc/iommu: Fix notifiers being shared by PCI and VIO buses
Ryusuke Konishi (2):
nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()
nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse
Sabrina Dubroca (1):
Revert "net: macsec: preserve ingress frame ordering"
Sakari Ailus (1):
media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
Sean Christopherson (1):
x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
Shida Zhang (1):
ext4: fix rec_len verify error
Shigeru Yoshida (2):
kcm: Destroy mutex in kcm_exit_net()
kcm: Fix memory leak in error path of kcm_sendmsg()
Shih-Yi Chen (1):
platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications
Shyam Prasad N (1):
cifs: add a warning when the in-flight count goes negative
Slark Xiao (1):
USB: serial: option: add FOXCONN T99W368/T99W373 product
Sourabh Jain (1):
powerpc/fadump: reset dump area size if fadump memory reserve fails
Srinivasan Shanmugam (1):
drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
Stefan Haberland (2):
s390/dasd: use correct number of retries for ERP requests s390/dasd: fix hanging device after request requeue
Steven Rostedt (Google) (3):
tracing: Have current_trace inc the trace array ref count
tracing: Have option files inc the trace array ref count
tracefs: Add missing lockdown check to tracefs_create_dir()
Su Hui (2):
ALSA: ac97: Fix possible error value of *rac97
fs: lockd: avoid possible wrong NULL parameter
Sui Jingfeng (1):
drm/mediatek: Fix potential memory leak if vmap() fail
Sven Schnelle (1):
s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
Takashi Iwai (2):
ALSA: seq: oss: Fix racy open/close of MIDI devices
ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
Tan Zhongjun (1):
drm/tegra: Remove superfluous error messages around platform_get_irq()
Thomas Bourgoin (1):
crypto: stm32 - fix loop iterating through scatterlist for DMA
Thomas Zimmermann (5):
backlight/gpio_backlight: Compare against struct fb_info.device backlight/bd6107: Compare against struct fb_info.device backlight/lv5207lp: Compare against struct fb_info.device fbdev/ep93xx-fb: Do not assign to struct fb_info.dev drm/ast: Fix DRAM init on AST2200
Thore Sommer (1):
X.509: if signature is unsupported skip validation
Tom Rix (1):
udf: initialize newblock to 0
Tomislav Novak (1):
hw_breakpoint: fix single-stepping when using bpf_overflow_handler
Tommy Huang (1):
i2c: aspeed: Reset the i2c controller when timeout occurs
Tony Battersby (1):
scsi: core: Use 32-bit hostnum in scsi_host_lookup()
Tony Lindgren (1):
bus: ti-sysc: Configure uart quirks for k3 SoC
Tuo Li (1):
drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
Uwe Kleine-König (1):
crypto: stm32 - Properly handle pm_runtime_get failing
Vadim Fedorenko (1):
ixgbe: fix timestamp configuration code
Vadim Pasternak (2):
mlxsw: i2c: Fix chunk size setting in output mailbox buffer
mlxsw: i2c: Limit single transaction buffer size
Vladimir Zapolskiy (1):
pwm: lpc32xx: Remove handling of PWM channels
Vladislav Efanov (1):
udf: Check consistency of Space Bitmap Descriptor
Wander Lairson Costa (4):
netfilter: xt_u32: validate user space input
netfilter: xt_sctp: validate the flag_info count
netfilter: nfnetlink_osf: avoid OOB read kernel/fork: beware of __put_task_struct() calling context
Wang Ming (3):
firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
fs: Fix error checking for d_hash_and_lookup()
wifi: ath9k: use IS_ERR() with debugfs_create_dir()
Wen Yang (1):
eventfd: prevent underflow for eventfd semaphores
Wesley Chalmers (1):
drm/amd/display: Fix a bug when searching for insert_above_mpcc
Will Shiu (1):
locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
William Zhang (4):
mtd: rawnand: brcmnand: Fix crash during the panic_write
mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
mtd: rawnand: brcmnand: Fix potential false time out warning
mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
Winston Wen (1):
fs/nls: make load_nls() take a const parameter
Wu Zongyong (1):
PCI: Mark NVIDIA T4 GPUs to avoid bus reset
Xiang Yang (1):
IB/uverbs: Fix an potential error pointer dereference
Xu Yang (2):
perf/imx_ddr: don't enable counter0 if none of 4 counters are used
usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()
Yafang Shao (1):
bpf: Clear the probe_addr for uprobe
Yan Zhai (2):
lwt: Fix return values of BPF xmit ops
lwt: Check LWTUNNEL_XMIT_CONTINUE strictly
Yanfei Xu (1):
iommu/vt-d: Fix to flush cache of PASID directory table
Yangtao Li (1):
drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
Yi Yang (3):
serial: tegra: handle clk prepare error in tegra_uart_hw_init()
mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
ipmi_si: fix a memleak in try_smi_init()
Yicong Yang (1):
perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
Yisen Zhuang (1):
net: hns3: fix the port information display when sfp is absent
Yu Kuai (1):
md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
Yuan Yao (1):
virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
Yuanjun Gong (2):
ethernet: atheros: fix return value check in atl1c_tso_csum()
Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe()
Zhang Jianhua (1):
clk: sunxi-ng: Modify mismatched function name
Zhang Shurong (7):
spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
md: raid1: fix potential OOB in raid1_remove_disk()
media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
media: anysee: fix null-ptr-deref in anysee_master_xfer
media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()Zhen Lei (1):
kobject: Add sanity check for kset->kobj.ktype in kset_register()
Zheng Wang (1):
Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition
Zheng Yang (1):
phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate
Zheng Yejian (1):
tracing: Fix race issue between cpu buffer write and swap
ruanjinjie (2):
dmaengine: ste_dma40: Add missing IRQ check in d40_probe powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
ruanmeisi (1):
fuse: nlookup missing decrement in fuse_direntplus_link
valis (1):
net: sched: sch_qfq: Fix UAF in qfq_dequeue()
Greg Kroah-Hartman
maintainerDocumentation/arm64/silicon-errata.rst +3 -0
@@ -134,6 +134,9 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | Hisilicon | Hip08 SMMU PMCG | #162001800 | N/A | +----------------+-----------------+-----------------+-----------------------------+ +| Hisilicon | Hip08 SMMU PMCG | #162001900 | N/A | +| | Hip09 SMMU PMCG | | | ++----------------+-----------------+-----------------+-----------------------------+ +----------------+-----------------+-----------------+-----------------------------+ | Qualcomm Tech. | Kryo/Falkor v1 | E1003 | QCOM_FALKOR_ERRATUM_1003 | +----------------+-----------------+-----------------+-----------------------------+
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 256 +SUBLEVEL = 257 EXTRAVERSION = NAME = Kleptomaniac Octopus
arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts +2 -1
@@ -19,7 +19,8 @@ memory@0 { device_type = "memory"; - reg = <0x00000000 0x08000000>; + reg = <0x00000000 0x08000000>, + <0x88000000 0x08000000>; }; gpio-keys {
arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts +13 -1
@@ -26,7 +26,6 @@ wlan { label = "bcm53xx:blue:wlan"; gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; - linux,default-trigger = "default-off"; }; system {
@@ -46,3 +45,16 @@ }; }; }; + +&gmac0 { + phy-mode = "rgmii"; + phy-handle = <&bcm54210e>; + + mdio { + /delete-node/ switch@1e; + + bcm54210e: ethernet-phy@0 { + reg = <0>; + }; + }; +};
arch/arm/boot/dts/bcm47189-luxul-xap-810.dts +13 -2
@@ -26,7 +26,6 @@ 5ghz { label = "bcm53xx:blue:5ghz"; gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "default-off"; }; system {
@@ -42,7 +41,6 @@ 2ghz { label = "bcm53xx:blue:2ghz"; gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "default-off"; }; };
@@ -83,3 +81,16 @@ }; }; }; + +&gmac0 { + phy-mode = "rgmii"; + phy-handle = <&bcm54210e>; + + mdio { + /delete-node/ switch@1e; + + bcm54210e: ethernet-phy@0 { + reg = <0>; + }; + }; +};
arch/arm/boot/dts/bcm53573.dtsi +3 -0
@@ -127,6 +127,9 @@ pcie0: pcie@2000 { reg = <0x00002000 0x1000>; + + #address-cells = <3>; + #size-cells = <2>; }; usb2: usb2@4000 {
arch/arm/boot/dts/bcm947189acdbmr.dts +3 -3
@@ -60,9 +60,9 @@ spi { compatible = "spi-gpio"; num-chipselects = <1>; - gpio-sck = <&chipcommon 21 0>; - gpio-miso = <&chipcommon 22 0>; - gpio-mosi = <&chipcommon 23 0>; + sck-gpios = <&chipcommon 21 0>; + miso-gpios = <&chipcommon 22 0>; + mosi-gpios = <&chipcommon 23 0>; cs-gpios = <&chipcommon 24 0>; #address-cells = <1>; #size-cells = <0>;
arch/arm/boot/dts/s3c6410-mini6410.dts +15 -23
@@ -28,29 +28,21 @@ bootargs = "console=ttySAC0,115200n8 earlyprintk rootwait root=/dev/mmcblk0p1"; }; - clocks { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - - fin_pll: oscillator@0 { - compatible = "fixed-clock"; - reg = <0>; - clock-frequency = <12000000>; - clock-output-names = "fin_pll"; - #clock-cells = <0>; - }; + fin_pll: oscillator-0 { + compatible = "fixed-clock"; + clock-frequency = <12000000>; + clock-output-names = "fin_pll"; + #clock-cells = <0>; + }; - xusbxti: oscillator@1 { - compatible = "fixed-clock"; - reg = <1>; - clock-output-names = "xusbxti"; - clock-frequency = <48000000>; - #clock-cells = <0>; - }; + xusbxti: oscillator-1 { + compatible = "fixed-clock"; + clock-output-names = "xusbxti"; + clock-frequency = <48000000>; + #clock-cells = <0>; }; - srom-cs1@18000000 { + srom-cs1-bus@18000000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>;
@@ -59,7 +51,7 @@ ethernet@18000000 { compatible = "davicom,dm9000"; - reg = <0x18000000 0x2 0x18000004 0x2>; + reg = <0x18000000 0x2>, <0x18000004 0x2>; interrupt-parent = <&gpn>; interrupts = <7 IRQ_TYPE_LEVEL_HIGH>; davicom,no-eeprom;
@@ -201,12 +193,12 @@ }; &pinctrl0 { - gpio_leds: gpio-leds { + gpio_leds: gpio-leds-pins { samsung,pins = "gpk-4", "gpk-5", "gpk-6", "gpk-7"; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>; }; - gpio_keys: gpio-keys { + gpio_keys: gpio-keys-pins { samsung,pins = "gpn-0", "gpn-1", "gpn-2", "gpn-3", "gpn-4", "gpn-5", "gpl-11", "gpl-12"; samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
arch/arm/boot/dts/s3c64xx-pinctrl.dtsi +105 -105
754 lines not on this page · raw message
arch/arm/boot/dts/s5pv210-smdkv210.dts +21 -3
@@ -15,6 +15,7 @@ */ /dts-v1/; +#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/input/input.h> #include "s5pv210.dtsi"
@@ -31,11 +32,18 @@ reg = <0x20000000 0x40000000>; }; - ethernet@18000000 { + pmic_ap_clk: clock-0 { + /* Workaround for missing PMIC and its clock */ + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; + }; + + ethernet@a8000000 { compatible = "davicom,dm9000"; - reg = <0xA8000000 0x2 0xA8000002 0x2>; + reg = <0xa8000000 0x2>, <0xa8000002 0x2>; interrupt-parent = <&gph1>; - interrupts = <1 4>; + interrupts = <1 IRQ_TYPE_LEVEL_HIGH>; local-mac-address = [00 00 de ad be ef]; davicom,no-eeprom; };
@@ -47,6 +55,14 @@ default-brightness-level = <6>; pinctrl-names = "default"; pinctrl-0 = <&pwm3_out>; + power-supply = <&dc5v_reg>; + }; + + dc5v_reg: regulator-0 { + compatible = "regulator-fixed"; + regulator-name = "DC5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; }; };
@@ -147,6 +163,8 @@ &rtc { status = "okay"; + clocks = <&clocks CLK_RTC>, <&pmic_ap_clk>; + clock-names = "rtc", "rtc_src"; }; &sdhci0 {
arch/arm/kernel/hw_breakpoint.c +4 -4
@@ -623,7 +623,7 @@ int hw_breakpoint_arch_parse(struct perf_event *bp, hw->address &= ~alignment_mask; hw->ctrl.len <<= offset; -if (is_default_overflow_handler (bp)) { +if (uses_default_overflow_handler (bp)) {/* * Mismatch breakpoints are required for single-stepping * breakpoints.
@@ -795,7 +795,7 @@ static void watchpoint_handler(unsigned long addr, unsigned int fsr,* Otherwise, insert a temporary mismatch breakpoint so that * we can single-step over the watchpoint trigger. */ -if (!is_default_overflow_handler (wp)) +if (!uses_default_overflow_handler (wp))continue ; step:enable_single_step (wp,instruction_pointer (regs));
@@ -808,7 +808,7 @@ static void watchpoint_handler(unsigned long addr, unsigned int fsr, info->trigger = addr;pr_debug ("watchpoint fired: address = 0x%x\n" , info->trigger);perf_bp_event (wp, regs); -if (is_default_overflow_handler (wp)) +if (uses_default_overflow_handler (wp))enable_single_step (wp,instruction_pointer (regs)); }
@@ -883,7 +883,7 @@ static void breakpoint_handler(unsigned long unknown, struct pt_regs *regs) info->trigger = addr;pr_debug ("breakpoint fired: address = 0x%x\n" , addr);perf_bp_event (bp, regs); -if (is_default_overflow_handler (bp)) +if (uses_default_overflow_handler (bp))enable_single_step (bp, addr); goto unlock; }
arch/arm/mach-omap2/powerdomain.c +1 -1
@@ -174,7 +174,7 @@ static int _pwrdm_state_switch(struct powerdomain *pwrdm, int flag)break ;case PWRDM_STATE_PREV : prev =pwrdm_read_prev_pwrst (pwrdm); -if (pwrdm->state != prev) +if (prev >=0 && pwrdm->state != prev) pwrdm->state_counter[prev]++;if (prev ==PWRDM_POWER_RET )_update_logic_membank_counters (pwrdm);
arch/arm/mach-pxa/sharpsl_pm.c +0 -2
@@ -220,8 +220,6 @@ void sharpsl_battery_kick(void) {schedule_delayed_work (&sharpsl_bat,msecs_to_jiffies (125 )); } -EXPORT_SYMBOL (sharpsl_battery_kick); -static void sharpsl_battery_thread (struct work_struct *private_) {
arch/arm/mach-pxa/spitz.c +1 -13
@@ -9,7 +9,6 @@*/ #include <linux/kernel.h> -#include <linux/module.h> /* symbol_get ; symbol_put */ #include <linux/platform_device.h> #include <linux/delay.h> #include <linux/gpio_keys.h>
@@ -514,17 +513,6 @@ static struct pxa2xx_spi_chip spitz_ads7846_chip = { .gpio_cs = SPITZ_GPIO_ADS7846_CS, }; -static void spitz_bl_kick_battery (void ) -{ -void (*kick_batt)(void ); - - kick_batt =symbol_get (sharpsl_battery_kick); -if (kick_batt) { -kick_batt (); -symbol_put (sharpsl_battery_kick); - } -} -static struct corgi_lcd_platform_data spitz_lcdcon_info = { .init_mode =CORGI_LCD_MODE_VGA , .max_intensity =0x2f ,
@@ -532,7 +520,7 @@ static struct corgi_lcd_platform_data spitz_lcdcon_info = { .limit_mask = 0x0b, .gpio_backlight_cont = SPITZ_GPIO_BACKLIGHT_CONT, .gpio_backlight_on = SPITZ_GPIO_BACKLIGHT_ON, - .kick_battery = spitz_bl_kick_battery, + .kick_battery = sharpsl_battery_kick, };static struct pxa2xx_spi_chip spitz_lcdcon_chip = {
arch/arm64/boot/dts/qcom/sdm845.dtsi +1 -0
@@ -715,6 +715,7 @@ #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; + power-domains = <&rpmhpd SDM845_CX>; }; qfprom@784000 {
arch/arm64/kernel/hw_breakpoint.c +2 -2
@@ -654,7 +654,7 @@ static int breakpoint_handler(unsigned long unused, unsigned int esr,perf_bp_event (bp, regs);/* Do we need to handle the stepping? */ -if (is_default_overflow_handler (bp)) +if (uses_default_overflow_handler (bp)) step =1 ; unlock:rcu_read_unlock ();
@@ -733,7 +733,7 @@ static u64 get_distance_from_watchpoint(unsigned long addr, u64 val,static int watchpoint_report (struct perf_event *wp,unsigned long addr,struct pt_regs *regs) { -int step =is_default_overflow_handler (wp); +int step =uses_default_overflow_handler (wp);struct arch_hw_breakpoint *info =counter_arch_bp (wp); info->trigger = addr;
arch/m68k/fpsp040/skeleton.S +2 -2
@@ -499,12 +499,12 @@ in_ea: dbf %d0,morein rts - .section .fixup,#alloc,#execinstr + .section .fixup,"ax" .even 1: jbra fpsp040_die - .section __ex_table,#alloc + .section __ex_table,"a" .align 4 .long in_ea,1b
arch/m68k/ifpsp060/os.S +2 -2
@@ -379,11 +379,11 @@ _060_real_access: | Execption handling for movs access to illegal memory - .section .fixup,#alloc,#execinstr + .section .fixup,"ax" .even 1: moveq #-1,%d1 rts -.section __ex_table,#alloc +.section __ex_table,"a" .align 4 .long dmrbuae,1b .long dmrwuae,1b
arch/m68k/kernel/relocate_kernel.S +2 -2
@@ -26,7 +26,7 @@ ENTRY(relocate_new_kernel) lea %pc@(.Lcopy),%a4 2: addl #0x00000000,%a4 /* virt_to_phys() */ - .section ".m68k_fixup","aw" + .section .m68k_fixup,"aw" .long M68K_FIXUP_MEMOFFSET, 2b+2 .previous
@@ -49,7 +49,7 @@ ENTRY(relocate_new_kernel) lea %pc@(.Lcont040),%a4 5: addl #0x00000000,%a4 /* virt_to_phys() */ - .section ".m68k_fixup","aw" + .section .m68k_fixup,"aw" .long M68K_FIXUP_MEMOFFSET, 5b+2 .previous
arch/mips/alchemy/devboards/db1000.c +1 -7
@@ -14,7 +14,6 @@#include <linux/interrupt.h> #include <linux/leds.h> #include <linux/mmc/host.h> -#include <linux/module.h> #include <linux/platform_device.h> #include <linux/pm.h> #include <linux/spi/spi.h>
@@ -167,12 +166,7 @@ static struct platform_device db1x00_audio_dev = {static irqreturn_t db1100_mmc_cd (int irq,void *ptr) { -void (*mmc_cd)(struct mmc_host *,unsigned long ); -/* link against CONFIG_MMC=m */ - mmc_cd =symbol_get (mmc_detect_change); -mmc_cd (ptr,msecs_to_jiffies (500 )); -symbol_put (mmc_detect_change); - +mmc_detect_change (ptr,msecs_to_jiffies (500 ));return IRQ_HANDLED ; }
arch/mips/alchemy/devboards/db1200.c +2 -17
@@ -10,7 +10,6 @@#include <linux/gpio.h> #include <linux/i2c.h> #include <linux/init.h> -#include <linux/module.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/leds.h>
@@ -340,14 +339,7 @@ static irqreturn_t db1200_mmc_cd(int irq, void *ptr)static irqreturn_t db1200_mmc_cdfn (int irq,void *ptr) { -void (*mmc_cd)(struct mmc_host *,unsigned long ); - -/* link against CONFIG_MMC=m */ - mmc_cd =symbol_get (mmc_detect_change); -if (mmc_cd) { -mmc_cd (ptr,msecs_to_jiffies (200 )); -symbol_put (mmc_detect_change); - } +mmc_detect_change (ptr,msecs_to_jiffies (200 ));msleep (100 );/* debounce */ if (irq ==DB1200_SD0_INSERT_INT )
@@ -431,14 +423,7 @@ static irqreturn_t pb1200_mmc1_cd(int irq, void *ptr)static irqreturn_t pb1200_mmc1_cdfn (int irq,void *ptr) { -void (*mmc_cd)(struct mmc_host *,unsigned long ); - -/* link against CONFIG_MMC=m */ - mmc_cd =symbol_get (mmc_detect_change); -if (mmc_cd) { -mmc_cd (ptr,msecs_to_jiffies (200 )); -symbol_put (mmc_detect_change); - } +mmc_detect_change (ptr,msecs_to_jiffies (200 ));msleep (100 );/* debounce */ if (irq ==PB1200_SD1_INSERT_INT )
arch/mips/alchemy/devboards/db1300.c +1 -9
@@ -17,7 +17,6 @@#include <linux/interrupt.h> #include <linux/ata_platform.h> #include <linux/mmc/host.h> -#include <linux/module.h> #include <linux/mtd/mtd.h> #include <linux/mtd/platnand.h> #include <linux/platform_device.h>
@@ -459,14 +458,7 @@ static irqreturn_t db1300_mmc_cd(int irq, void *ptr)static irqreturn_t db1300_mmc_cdfn (int irq,void *ptr) { -void (*mmc_cd)(struct mmc_host *,unsigned long ); - -/* link against CONFIG_MMC=m. We can only be called once MMC core has -* initialized the controller, so symbol_get() should always succeed. -*/ - mmc_cd =symbol_get (mmc_detect_change); -mmc_cd (ptr,msecs_to_jiffies (200 )); -symbol_put (mmc_detect_change); +mmc_detect_change (ptr,msecs_to_jiffies (200 ));msleep (100 );/* debounce */ if (irq ==DB1300_SD1_INSERT_INT )
arch/parisc/include/asm/led.h +2 -2
@@ -11,8 +11,8 @@#define LED1 0x02#define LED0 0x01/* bottom (or furthest left) LED */ -#define LED_LAN_TX LED0/* for LAN transmit activity */ -#define LED_LAN_RCV LED1/* for LAN receive activity */ +#define LED_LAN_RCV LED0/* for LAN receive activity */ +#define LED_LAN_TX LED1/* for LAN transmit activity */ #define LED_DISK_IO LED2/* for disk activity */ #define LED_HEARTBEAT LED3/* heartbeat */
arch/parisc/include/asm/processor.h +0 -1
@@ -97,7 +97,6 @@ struct cpuinfo_parisc {unsigned long cpu_loc;/* CPU location from PAT firmware */ unsigned int state;struct parisc_device *dev; -unsigned long loops_per_jiffy; };extern struct system_cpuinfo_parisc boot_cpu_data;
arch/parisc/kernel/processor.c +12 -6
@@ -163,7 +163,6 @@ static int __init processor_probe(struct parisc_device *dev)if (cpuid)memset (p,0 ,sizeof (struct cpuinfo_parisc )); - p->loops_per_jiffy = loops_per_jiffy; p->dev = dev;/* Save IODC data in case we need it */ p->hpa = dev->hpa.start;/* save CPU hpa */ p->cpuid = cpuid;/* save CPU id */
@@ -373,10 +372,18 @@ int show_cpuinfo (struct seq_file *m, void *v) { unsigned long cpu; +char cpu_name[60 ], *p; + +/* strip PA path from CPU name to not confuse lscpu */ +strlcpy (cpu_name,per_cpu (cpu_data,0 ).dev->name,sizeof (cpu_name)); + p =strrchr (cpu_name,'[' ); +if (p) + *(--p) =0 ;for_each_online_cpu (cpu) { -const struct cpuinfo_parisc *cpuinfo = &per_cpu (cpu_data, cpu);#ifdef CONFIG_SMP +const struct cpuinfo_parisc *cpuinfo = &per_cpu (cpu_data, cpu); +if (0 == cpuinfo->hpa)continue ;#endif
@@ -421,8 +428,7 @@ show_cpuinfo (struct seq_file *m, void *v)seq_printf (m,"model\t\t: %s - %s\n" , boot_cpu_data.pdc.sys_model_name, - cpuinfo->dev ? - cpuinfo->dev->name :"Unknown" ); + cpu_name); seq_printf(m, "hversion\t: 0x%08x\n" "sversion\t: 0x%08x\n",
@@ -433,8 +439,8 @@ show_cpuinfo (struct seq_file *m, void *v)show_cache_info (m);seq_printf (m,"bogomips\t: %lu.%02lu\n" , - cpuinfo->loops_per_jiffy / (500000 /HZ ), - (cpuinfo->loops_per_jiffy / (5000 /HZ )) %100 ); + loops_per_jiffy / (500000 /HZ ), + loops_per_jiffy / (5000 /HZ ) %100 );seq_printf (m,"software id\t: %ld\n\n" , boot_cpu_data.pdc.model.sw_id);
arch/powerpc/kernel/fadump.c +1 -0
@@ -629,6 +629,7 @@ int __init fadump_reserve_mem(void)return ret; error_out: fw_dump.fadump_enabled =0 ; + fw_dump.reserve_dump_area_size =0 ;return 0 ; }
arch/powerpc/kernel/head_32.S +1 -1
@@ -922,7 +922,7 @@ END_MMU_FTR_SECTION_IFSET(MMU_FTR_HPTE_TABLE) */ lis r5, abatron_pteptrs@h ori r5, r5, abatron_pteptrs@l - stw r5, 0xf0(r0) /* This much match your Abatron config */ + stw r5, 0xf0(0) /* This much match your Abatron config */ lis r6, swapper_pg_dir@h ori r6, r6, swapper_pg_dir@l tophys(r5, r5)
arch/powerpc/kernel/iommu.c +14 -3
@@ -133,17 +133,28 @@ static int fail_iommu_bus_notify(struct notifier_block *nb,return 0 ; } -static struct notifier_block fail_iommu_bus_notifier = { +/* +* PCI and VIO buses need separate notifier_block structs, since they're linked +* list nodes. Sharing a notifier_block would mean that any notifiers later +* registered for PCI buses would also get called by VIO buses and vice versa. +*/ +static struct notifier_block fail_iommu_pci_bus_notifier = { .notifier_call = fail_iommu_bus_notify }; +#ifdef CONFIG_IBMVIO +static struct notifier_block fail_iommu_vio_bus_notifier = { + .notifier_call = fail_iommu_bus_notify +}; +#endif +static int __init fail_iommu_setup (void ) {#ifdef CONFIG_PCI -bus_register_notifier (&pci_bus_type, &fail_iommu_bus_notifier); +bus_register_notifier (&pci_bus_type, &fail_iommu_pci_bus_notifier);#endif #ifdef CONFIG_IBMVIO -bus_register_notifier (&vio_bus_type, &fail_iommu_bus_notifier); +bus_register_notifier (&vio_bus_type, &fail_iommu_vio_bus_notifier);#endif return 0 ;
arch/powerpc/platforms/pseries/ibmebus.c +1 -0
@@ -450,6 +450,7 @@ static int __init ibmebus_bus_init(void)if (err) {printk (KERN_WARNING "%s: device_register returned %i\n" , __func__, err); +put_device (&ibmebus_bus_device);bus_unregister (&ibmebus_bus_type);return err;
arch/s390/kernel/ipl.c +2 -0
@@ -429,6 +429,8 @@ static struct attribute_group ipl_ccw_attr_group_lpar = {static struct attribute *ipl_unknown_attrs[] = { &sys_ipl_type_attr.attr, + &sys_ipl_secure_attr.attr, + &sys_ipl_has_secure_attr.attr,NULL , };
arch/sh/boards/mach-ap325rxa/setup.c +1 -1
@@ -529,7 +529,7 @@ static int __init ap325rxa_devices_setup(void)device_initialize (&ap325rxa_ceu_device.dev);dma_declare_coherent_memory (&ap325rxa_ceu_device.dev, ceu_dma_membase, ceu_dma_membase, - ceu_dma_membase +CEU_BUFFER_MEMORY_SIZE -1 ); +CEU_BUFFER_MEMORY_SIZE );platform_device_add (&ap325rxa_ceu_device);
arch/sh/boards/mach-ecovec24/setup.c +2 -4
@@ -1442,15 +1442,13 @@ static int __init arch_setup(void)device_initialize (&ecovec_ceu_devices[0 ]->dev);dma_declare_coherent_memory (&ecovec_ceu_devices[0 ]->dev, ceu0_dma_membase, ceu0_dma_membase, - ceu0_dma_membase + -CEU_BUFFER_MEMORY_SIZE -1 ); +CEU_BUFFER_MEMORY_SIZE );platform_device_add (ecovec_ceu_devices[0 ]);device_initialize (&ecovec_ceu_devices[1 ]->dev);dma_declare_coherent_memory (&ecovec_ceu_devices[1 ]->dev, ceu1_dma_membase, ceu1_dma_membase, - ceu1_dma_membase + -CEU_BUFFER_MEMORY_SIZE -1 ); +CEU_BUFFER_MEMORY_SIZE );platform_device_add (ecovec_ceu_devices[1 ]);gpiod_add_lookup_table (&cn12_power_gpiod_table);
arch/sh/boards/mach-kfr2r09/setup.c +1 -1
@@ -603,7 +603,7 @@ static int __init kfr2r09_devices_setup(void)device_initialize (&kfr2r09_ceu_device.dev);dma_declare_coherent_memory (&kfr2r09_ceu_device.dev, ceu_dma_membase, ceu_dma_membase, - ceu_dma_membase +CEU_BUFFER_MEMORY_SIZE -1 ); +CEU_BUFFER_MEMORY_SIZE );platform_device_add (&kfr2r09_ceu_device);
arch/sh/boards/mach-migor/setup.c +1 -1
@@ -604,7 +604,7 @@ static int __init migor_devices_setup(void)device_initialize (&migor_ceu_device.dev);dma_declare_coherent_memory (&migor_ceu_device.dev, ceu_dma_membase, ceu_dma_membase, - ceu_dma_membase +CEU_BUFFER_MEMORY_SIZE -1 ); +CEU_BUFFER_MEMORY_SIZE );platform_device_add (&migor_ceu_device);
arch/sh/boards/mach-se/7724/setup.c +2 -4
@@ -939,15 +939,13 @@ static int __init devices_setup(void)device_initialize (&ms7724se_ceu_devices[0 ]->dev);dma_declare_coherent_memory (&ms7724se_ceu_devices[0 ]->dev, ceu0_dma_membase, ceu0_dma_membase, - ceu0_dma_membase + -CEU_BUFFER_MEMORY_SIZE -1 ); +CEU_BUFFER_MEMORY_SIZE );platform_device_add (ms7724se_ceu_devices[0 ]);device_initialize (&ms7724se_ceu_devices[1 ]->dev);dma_declare_coherent_memory (&ms7724se_ceu_devices[1 ]->dev, ceu1_dma_membase, ceu1_dma_membase, - ceu1_dma_membase + -CEU_BUFFER_MEMORY_SIZE -1 ); +CEU_BUFFER_MEMORY_SIZE );platform_device_add (ms7724se_ceu_devices[1 ]); return platform_add_devices(ms7724se_devices,
arch/um/configs/i386_defconfig +1 -0
@@ -35,6 +35,7 @@ CONFIG_TTY_CHAN=y CONFIG_XTERM_CHAN=y CONFIG_CON_CHAN="pts" CONFIG_SSL_CHAN="pts" +CONFIG_SOUND=m CONFIG_UML_SOUND=m CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y
arch/um/configs/x86_64_defconfig +1 -0
@@ -33,6 +33,7 @@ CONFIG_TTY_CHAN=y CONFIG_XTERM_CHAN=y CONFIG_CON_CHAN="pts" CONFIG_SSL_CHAN="pts" +CONFIG_SOUND=m CONFIG_UML_SOUND=m CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y
arch/um/drivers/Kconfig +3 -13
@@ -104,24 +104,14 @@ config SSL_CHAN config UML_SOUND tristate "Sound support" + depends on SOUND + select SOUND_OSS_CORE help This option enables UML sound support. If enabled, it will pull in - soundcore and the UML hostaudio relay, which acts as a intermediary + the UML hostaudio relay, which acts as a intermediary between the host's dsp and mixer devices and the UML sound system. It is safe to say 'Y' here. -config SOUND - tristate - default UML_SOUND - -config SOUND_OSS_CORE - bool - default UML_SOUND - -config HOSTAUDIO - tristate - default UML_SOUND - endmenu menu "UML Network Devices"
arch/um/drivers/Makefile +1 -1
@@ -52,7 +52,7 @@ obj-$(CONFIG_UML_NET) += net.o obj-$(CONFIG_MCONSOLE) += mconsole.o obj-$(CONFIG_MMAPPER) += mmapper_kern.o obj-$(CONFIG_BLK_DEV_UBD) += ubd.o -obj-$(CONFIG_HOSTAUDIO) += hostaudio.o +obj-$(CONFIG_UML_SOUND) += hostaudio.o obj-$(CONFIG_NULL_CHAN) += null.o obj-$(CONFIG_PORT_CHAN) += port.o obj-$(CONFIG_PTY_CHAN) += pty.o
arch/x86/boot/compressed/head_32.S +2 -1
@@ -210,7 +210,7 @@ ENDPROC(efi32_stub_entry) #endif .text -.Lrelocated: +SYM_FUNC_START_LOCAL_NOALIGN(.Lrelocated) /* * Clear BSS (stack is currently empty)
@@ -261,6 +261,7 @@ ENDPROC(efi32_stub_entry) */ xorl %ebx, %ebx jmp *%eax +SYM_FUNC_END(.Lrelocated) #ifdef CONFIG_EFI_STUB .data
arch/x86/boot/compressed/head_64.S +29 -10
@@ -381,11 +381,25 @@ ENTRY(startup_64) /* Save the trampoline address in RCX */ movq %rax, %rcx + /* Set up 32-bit addressable stack */ + leaq TRAMPOLINE_32BIT_STACK_END(%rcx), %rsp + + /* + * Preserve live 64-bit registers on the stack: this is necessary + * because the architecture does not guarantee that GPRs will retain + * their full 64-bit values across a 32-bit mode switch. + */ + pushq %rbp + pushq %rbx + pushq %rsi + /* - * Load the address of trampoline_return() into RDI. - * It will be used by the trampoline to return to the main code. + * Push the 64-bit address of trampoline_return() onto the new stack. + * It will be used by the trampoline to return to the main code. Due to + * the 32-bit mode switch, it cannot be kept it in a register either. */ leaq trampoline_return(%rip), %rdi + pushq %rdi /* Switch to compatibility mode (CS.L = 0 CS.D = 1) via far return */ pushq $__KERNEL32_CS
@@ -393,6 +407,11 @@ ENTRY(startup_64) pushq %rax lretq trampoline_return: + /* Restore live 64-bit registers */ + popq %rsi + popq %rbx + popq %rbp + /* Restore the stack, the 32-bit trampoline uses its own stack */ leaq boot_stack_end(%rbx), %rsp
@@ -517,7 +536,7 @@ ENDPROC(efi64_stub_entry) #endif .text -.Lrelocated: +SYM_FUNC_START_LOCAL_NOALIGN(.Lrelocated) /* * Clear BSS (stack is currently empty)
@@ -546,6 +565,7 @@ ENDPROC(efi64_stub_entry) * Jump to the decompressed kernel. */ jmp *%rax +SYM_FUNC_END(.Lrelocated) /* * Adjust the global offset table
@@ -572,7 +592,7 @@ ENDPROC(efi64_stub_entry) /* * This is the 32-bit trampoline that will be copied over to low memory. * - * RDI contains the return address (might be above 4G). + * Return address is at the top of the stack (might be above 4G). * ECX contains the base address of the trampoline memory. * Non zero RDX means trampoline needs to enable 5-level paging. */
@@ -582,9 +602,6 @@ ENTRY(trampoline_32bit_src) movl %eax, %ds movl %eax, %ss - /* Set up new stack */ - leal TRAMPOLINE_32BIT_STACK_END(%ecx), %esp - /* Disable paging */ movl %cr0, %eax btrl $X86_CR0_PG_BIT, %eax
@@ -641,9 +658,10 @@ ENTRY(trampoline_32bit_src) lret .code64 -.Lpaging_enabled: +SYM_FUNC_START_LOCAL_NOALIGN(.Lpaging_enabled) /* Return from the trampoline */ - jmp *%rdi + retq +SYM_FUNC_END(.Lpaging_enabled) /* * The trampoline code has a size limit.
@@ -653,11 +671,12 @@ ENTRY(trampoline_32bit_src) .org trampoline_32bit_src + TRAMPOLINE_32BIT_CODE_SIZE .code32 -.Lno_longmode: +SYM_FUNC_START_LOCAL_NOALIGN(.Lno_longmode) /* This isn't an x86-64 CPU, so hang intentionally, we cannot continue */ 1: hlt jmp 1b +SYM_FUNC_END(.Lno_longmode) #include "../../kernel/verify_cpu.S"
arch/x86/boot/pmjump.S +3 -3
@@ -40,13 +40,13 @@ GLOBAL(protected_mode_jump) # Transition to 32-bit mode .byte 0x66, 0xea # ljmpl opcode -2: .long in_pm32 # offset +2: .long .Lin_pm32 # offset .word __BOOT_CS # segment ENDPROC(protected_mode_jump) .code32 .section ".text32","ax" -GLOBAL(in_pm32) +SYM_FUNC_START_LOCAL_NOALIGN(.Lin_pm32) # Set up data segments for flat 32-bit mode movl %ecx, %ds movl %ecx, %es
@@ -72,4 +72,4 @@ GLOBAL(in_pm32) lldt %cx jmpl *%eax # Jump to the 32-bit entrypoint -ENDPROC(in_pm32) +SYM_FUNC_END(.Lin_pm32)
arch/x86/entry/entry_64.S +2 -2
@@ -618,7 +618,7 @@ ret_from_intr: jz retint_kernel /* Interrupt came from user space */ -GLOBAL(retint_user) +.Lretint_user: mov %rsp,%rdi call prepare_exit_to_usermode TRACE_IRQS_IRETQ
@@ -1392,7 +1392,7 @@ ENTRY(error_exit) TRACE_IRQS_OFF testb $3, CS(%rsp) jz retint_kernel - jmp retint_user + jmp .Lretint_user END(error_exit) /*
arch/x86/include/asm/virtext.h +0 -6
@@ -95,12 +95,6 @@ static inline int cpu_has_svm(const char **msg)return 0 ; } -if (boot_cpu_data.extended_cpuid_level <SVM_CPUID_FUNC ) { -if (msg) - *msg ="can't execute cpuid_8000000a" ; -return 0 ; - } -if (!boot_cpu_has (X86_FEATURE_SVM )) {if (msg) *msg ="svm not available" ;
arch/x86/kernel/apm_32.c +0 -6
@@ -237,12 +237,6 @@extern int (*console_blank_hook)(int );#endif -/* -* The apm_bios device is one of the misc char devices. -* This is its minor number. -*/ -#define APM_MINOR_DEV 134 -/* * Various options can be changed at boot time as follows: * (We allow underscores for compatibility with the modules code)
arch/x86/kernel/cpu/common.c +4 -4
@@ -1147,11 +1147,11 @@ static const struct x86_cpu_id cpu_vuln_blacklist[] __initconst = {VULNBL_INTEL_STEPPINGS (BROADWELL_G ,X86_STEPPING_ANY ,SRBDS ),VULNBL_INTEL_STEPPINGS (BROADWELL_X ,X86_STEPPING_ANY ,MMIO ),VULNBL_INTEL_STEPPINGS (BROADWELL ,X86_STEPPING_ANY ,SRBDS ), -VULNBL_INTEL_STEPPINGS (SKYLAKE_L ,X86_STEPPING_ANY ,SRBDS |MMIO |RETBLEED ),VULNBL_INTEL_STEPPINGS (SKYLAKE_X ,X86_STEPPING_ANY ,MMIO |RETBLEED |GDS ), -VULNBL_INTEL_STEPPINGS (SKYLAKE ,X86_STEPPING_ANY ,SRBDS |MMIO |RETBLEED ), -VULNBL_INTEL_STEPPINGS (KABYLAKE_L ,X86_STEPPING_ANY ,SRBDS |MMIO |RETBLEED |GDS ), -VULNBL_INTEL_STEPPINGS (KABYLAKE ,X86_STEPPING_ANY ,SRBDS |MMIO |RETBLEED |GDS ), +VULNBL_INTEL_STEPPINGS (SKYLAKE_L ,X86_STEPPING_ANY ,MMIO |RETBLEED |GDS |SRBDS ), +VULNBL_INTEL_STEPPINGS (SKYLAKE ,X86_STEPPING_ANY ,MMIO |RETBLEED |GDS |SRBDS ), +VULNBL_INTEL_STEPPINGS (KABYLAKE_L ,X86_STEPPING_ANY ,MMIO |RETBLEED |GDS |SRBDS ), +VULNBL_INTEL_STEPPINGS (KABYLAKE ,X86_STEPPING_ANY ,MMIO |RETBLEED |GDS |SRBDS ),VULNBL_INTEL_STEPPINGS (CANNONLAKE_L ,X86_STEPPING_ANY ,RETBLEED ),VULNBL_INTEL_STEPPINGS (ICELAKE_L ,X86_STEPPING_ANY ,MMIO |MMIO_SBDS |RETBLEED |GDS ), VULNBL_INTEL_STEPPINGS(ICELAKE_D, X86_STEPPING_ANY, MMIO | GDS),
arch/x86/realmode/rm/wakeup_asm.S +3 -3
@@ -73,7 +73,7 @@ ENTRY(wakeup_start) movw %ax, %fs movw %ax, %gs - lidtl wakeup_idt + lidtl .Lwakeup_idt /* Clear the EFLAGS */ pushl $0
@@ -171,8 +171,8 @@ END(wakeup_gdt) /* This is the standard real-mode IDT */ .balign 16 -GLOBAL(wakeup_idt) +.Lwakeup_idt: .word 0xffff /* limit */ .long 0 /* address */ .word 0 -END(wakeup_idt) +END(.Lwakeup_idt)
arch/xtensa/include/asm/core.h +9 -0
@@ -18,4 +18,13 @@#define XCHAL_SPANNING_WAY 0#endif +#ifndef XCHAL_HW_MIN_VERSION +#if defined(XCHAL_HW_MIN_VERSION_MAJOR ) && defined(XCHAL_HW_MIN_VERSION_MINOR ) +#define XCHAL_HW_MIN_VERSION (XCHAL_HW_MIN_VERSION_MAJOR * 100 + \ + XCHAL_HW_MIN_VERSION_MINOR) +#else +#define XCHAL_HW_MIN_VERSION 0 +#endif +#endif +#endif
arch/xtensa/kernel/perf_event.c +13 -4
@@ -13,17 +13,26 @@#include <linux/perf_event.h> #include <linux/platform_device.h> +#include <asm/core.h> #include <asm/processor.h> #include <asm/stacktrace.h> +#define XTENSA_HWVERSION_RG_2015_0 260000 + +#if XCHAL_HW_MIN_VERSION >=XTENSA_HWVERSION_RG_2015_0 +#define XTENSA_PMU_ERI_BASE 0x00101000 +#else +#define XTENSA_PMU_ERI_BASE 0x00001000 +#endif +/* Global control/status for all perf counters */ -#define XTENSA_PMU_PMG 0x1000 +#define XTENSA_PMU_PMG XTENSA_PMU_ERI_BASE/* Perf counter values */ -#define XTENSA_PMU_PM (i) (0x1080 + (i) * 4) +#define XTENSA_PMU_PM (i) (XTENSA_PMU_ERI_BASE + 0x80 + (i) * 4)/* Perf counter control registers */ -#define XTENSA_PMU_PMCTRL (i) (0x1100 + (i) * 4) +#define XTENSA_PMU_PMCTRL (i) (XTENSA_PMU_ERI_BASE + 0x100 + (i) * 4)/* Perf counter status registers */ -#define XTENSA_PMU_PMSTAT (i) (0x1180 + (i) * 4) +#define XTENSA_PMU_PMSTAT (i) (XTENSA_PMU_ERI_BASE + 0x180 + (i) * 4)#define XTENSA_PMU_PMG_PMEN 0x1
crypto/asymmetric_keys/x509_public_key.c +5 -0
@@ -129,6 +129,11 @@ int x509_check_for_self_signed(struct x509_certificate *cert)if (strcmp (cert->pub->pkey_algo, cert->sig->pkey_algo) !=0 ) goto out; +if (cert->unsupported_sig) { + ret =0 ; + goto out; + } + ret =public_key_verify_signature (cert->pub, cert->sig);if (ret <0 ) {if (ret == -ENOPKG ) {
drivers/acpi/acpica/psopcode.c +1 -1
@@ -603,7 +603,7 @@ const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES] = {/* 7E */ ACPI_OP ("Timer" ,ARGP_TIMER_OP ,ARGI_TIMER_OP ,ACPI_TYPE_ANY ,AML_CLASS_EXECUTE ,AML_TYPE_EXEC_0A_0T_1R , - AML_FLAGS_EXEC_0A_0T_1R), + AML_FLAGS_EXEC_0A_0T_1R | AML_NO_OPERAND_RESOLVE),/* ACPI 5.0 opcodes */
drivers/acpi/arm64/iort.c +4 -1
@@ -1393,7 +1393,10 @@ static void __init arm_smmu_v3_pmcg_init_resources(struct resource *res,static struct acpi_platform_list pmcg_plat_info[]__initdata = {/* HiSilicon Hip08 Platform */ {"HISI " ,"HIP08 " ,0 ,ACPI_SIG_IORT , greater_than_or_equal, -"Erratum #162001800" ,IORT_SMMU_V3_PMCG_HISI_HIP08 }, +"Erratum #162001800, Erratum #162001900" ,IORT_SMMU_V3_PMCG_HISI_HIP08 }, +/* HiSilicon Hip09 Platform */ + {"HISI " ,"HIP09 " ,0 ,ACPI_SIG_IORT , greater_than_or_equal, +"Erratum #162001900" ,IORT_SMMU_V3_PMCG_HISI_HIP09 }, { } };
drivers/acpi/video_detect.c +9 -0
@@ -310,6 +310,15 @@ static const struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_BOARD_NAME, "Lenovo IdeaPad S405"), }, }, + { +/* https://bugzilla.suse.com/show_bug.cgi?id=1208724 */ + .callback = video_detect_force_native, +/* Lenovo Ideapad Z470 */ + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"LENOVO" ), + DMI_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Z470"), + }, + }, {/* https://bugzilla.redhat.com/show_bug.cgi?id=1187004 */ .callback = video_detect_force_native,
drivers/amba/bus.c +1 -0
@@ -364,6 +364,7 @@ static void amba_device_release(struct device *dev) {struct amba_device *d =to_amba_device (dev); +of_node_put (d->dev.of_node);if (d->res.parent)release_resource (&d->res);kfree (d);
drivers/ata/pata_ftide010.c +1 -0
@@ -570,6 +570,7 @@ static struct platform_driver pata_ftide010_driver = { };module_platform_driver (pata_ftide010_driver); +MODULE_DESCRIPTION ("low level driver for Faraday Technology FTIDE010" );MODULE_AUTHOR ("Linus Walleij <[email protected]>" );MODULE_LICENSE ("GPL" );MODULE_ALIAS ("platform:" DRV_NAME );
drivers/ata/sata_gemini.c +1 -0
@@ -435,6 +435,7 @@ static struct platform_driver gemini_sata_driver = { };module_platform_driver (gemini_sata_driver); +MODULE_DESCRIPTION ("low level driver for Cortina Systems Gemini SATA bridge" );MODULE_AUTHOR ("Linus Walleij <[email protected]>" );MODULE_LICENSE ("GPL" );MODULE_ALIAS ("platform:" DRV_NAME );
drivers/base/regmap/regcache-rbtree.c +5 -5
@@ -277,7 +277,7 @@ static int regcache_rbtree_insert_to_block(struct regmap *map, blk =krealloc (rbnode->block, blklen * map->cache_word_size, -GFP_KERNEL ); + map->alloc_flags);if (!blk)return -ENOMEM ;
@@ -286,7 +286,7 @@ static int regcache_rbtree_insert_to_block(struct regmap *map,if (BITS_TO_LONGS (blklen) >BITS_TO_LONGS (rbnode->blklen)) { present =krealloc (rbnode->cache_present,BITS_TO_LONGS (blklen) *sizeof (*present), -GFP_KERNEL ); + map->alloc_flags);if (!present)return -ENOMEM ;
@@ -320,7 +320,7 @@ regcache_rbtree_node_alloc(struct regmap *map, unsigned int reg)const struct regmap_range *range;int i; - rbnode =kzalloc (sizeof (*rbnode),GFP_KERNEL ); + rbnode =kzalloc (sizeof (*rbnode), map->alloc_flags);if (!rbnode)return NULL ;
@@ -346,13 +346,13 @@ regcache_rbtree_node_alloc(struct regmap *map, unsigned int reg) } rbnode->block =kmalloc_array (rbnode->blklen, map->cache_word_size, -GFP_KERNEL ); + map->alloc_flags);if (!rbnode->block) goto err_free; rbnode->cache_present =kcalloc (BITS_TO_LONGS (rbnode->blklen),sizeof (*rbnode->cache_present), -GFP_KERNEL ); + map->alloc_flags);if (!rbnode->cache_present) goto err_free_block;
drivers/base/test/test_async_driver_probe.c +1 -1
@@ -84,7 +84,7 @@ test_platform_device_register_node(char *name, int id, int nid) pdev =platform_device_alloc (name, id);if (!pdev) -return NULL ; +return ERR_PTR (-ENOMEM );if (nid !=NUMA_NO_NODE )set_dev_node (&pdev->dev, nid);
drivers/bluetooth/btsdio.c +1 -0
@@ -346,6 +346,7 @@ static void btsdio_remove(struct sdio_func *func)if (!data)return ; +cancel_work_sync (&data->work); hdev = data->hdev;sdio_set_drvdata (func,NULL );
drivers/bluetooth/hci_nokia.c +5 -1
@@ -734,7 +734,11 @@ static int nokia_bluetooth_serdev_probe(struct serdev_device *serdev)return err; } -clk_prepare_enable (sysclk); + err =clk_prepare_enable (sysclk); +if (err) { +dev_err (dev,"could not enable sysclk: %d" , err); +return err; + } btdev->sysclk_speed =clk_get_rate (sysclk);clk_disable_unprepare (sysclk);
drivers/bus/ti-sysc.c +2 -0
@@ -1379,6 +1379,8 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_LEGACY_IDLE),SYSC_QUIRK ("uart" ,0 ,0x50 ,0x54 ,0x58 ,0x47422e03 ,0xffffffff ,SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_LEGACY_IDLE ), +SYSC_QUIRK ("uart" ,0 ,0x50 ,0x54 ,0x58 ,0x47424e03 ,0xffffffff , +SYSC_QUIRK_SWSUP_SIDLE |SYSC_QUIRK_LEGACY_IDLE ),/* Quirks that need to be set based on the module address */ SYSC_QUIRK("mcpdm", 0x40132000, 0, 0x10, -ENODEV, 0x50000800, 0xffffffff,
drivers/char/hw_random/iproc-rng200.c +29 -4
@@ -202,10 +202,12 @@ static int iproc_rng200_probe(struct platform_device *pdev)return PTR_ERR (priv->base); } - priv->rng.name ="iproc-rng200" , - priv->rng.read = iproc_rng200_read, - priv->rng.init = iproc_rng200_init, - priv->rng.cleanup = iproc_rng200_cleanup, +dev_set_drvdata (dev, priv); + + priv->rng.name ="iproc-rng200" ; + priv->rng.read = iproc_rng200_read; + priv->rng.init = iproc_rng200_init; + priv->rng.cleanup = iproc_rng200_cleanup;/* Register driver */ ret =devm_hwrng_register (dev, &priv->rng);
@@ -219,6 +221,28 @@ static int iproc_rng200_probe(struct platform_device *pdev)return 0 ; } +static int __maybe_unused iproc_rng200_suspend (struct device *dev) +{ +struct iproc_rng200_dev *priv =dev_get_drvdata (dev); + +iproc_rng200_cleanup (&priv->rng); + +return 0 ; +} + +static int __maybe_unused iproc_rng200_resume (struct device *dev) +{ +struct iproc_rng200_dev *priv =dev_get_drvdata (dev); + +iproc_rng200_init (&priv->rng); + +return 0 ; +} + +static const struct dev_pm_ops iproc_rng200_pm_ops = { +SET_SYSTEM_SLEEP_PM_OPS (iproc_rng200_suspend, iproc_rng200_resume) +}; +static const struct of_device_id iproc_rng200_of_match[] = { { .compatible ="brcm,bcm7211-rng200" , }, { .compatible ="brcm,bcm7278-rng200" , },
@@ -231,6 +255,7 @@ static struct platform_driver iproc_rng200_driver = { .driver = { .name = "iproc-rng200", .of_match_table = iproc_rng200_of_match, + .pm = &iproc_rng200_pm_ops, }, .probe = iproc_rng200_probe, };
drivers/char/ipmi/ipmi_si_intf.c +5 -0
@@ -2086,6 +2086,11 @@ static int try_smi_init(struct smi_info *new_smi) new_smi->io.io_cleanup =NULL ; } +if (rv && new_smi->si_sm) { +kfree (new_smi->si_sm); + new_smi->si_sm =NULL ; + } +return rv; }
drivers/char/ipmi/ipmi_ssif.c +6 -1
@@ -1410,7 +1410,7 @@ static struct ssif_addr_info *ssif_info_find(unsigned short addr, restart:list_for_each_entry (info, &ssif_infos, link) {if (info->binfo.addr == addr) { -if (info->addr_src ==SI_SMBIOS ) +if (info->addr_src ==SI_SMBIOS && !info->adapter_name) info->adapter_name =kstrdup (adapter_name,GFP_KERNEL );
@@ -1609,6 +1609,11 @@ static int ssif_add_infos(struct i2c_client *client) info->addr_src =SI_ACPI ; info->client = client; info->adapter_name =kstrdup (client->adapter->name,GFP_KERNEL ); +if (!info->adapter_name) { +kfree (info); +return -ENOMEM ; + } + info->binfo.addr = client->addr;list_add_tail (&info->link, &ssif_infos);return 0 ;
drivers/char/tpm/tpm_tis_core.c +11 -4
@@ -421,10 +421,17 @@ static int tpm_tis_send_main(struct tpm_chip *chip, const u8 *buf, size_t len)int rc;u32 ordinal;unsigned long dur; - - rc =tpm_tis_send_data (chip, buf, len); -if (rc <0 ) -return rc; +unsigned int try; + +for (try =0 ; try <TPM_RETRY ; try++) { + rc =tpm_tis_send_data (chip, buf, len); +if (rc >=0 ) +/* Data transfer done successfully */ +break ; +else if (rc != -EIO ) +/* Data transfer failed, not recoverable */ +return rc; + }/* go and do it */ rc =tpm_tis_write8 (priv,TPM_STS (priv->locality),TPM_STS_GO );
drivers/clk/Kconfig +1 -0
@@ -302,6 +302,7 @@ config COMMON_CLK_BD718XX config COMMON_CLK_FIXED_MMIO bool "Clock driver for Memory Mapped Fixed values" depends on COMMON_CLK && OF + depends on HAS_IOMEM help Support for Memory Mapped IO Fixed clocks
drivers/clk/imx/clk-composite-8m.c +7 -5
@@ -95,7 +95,7 @@ static int imx8m_clk_composite_divider_set_rate(struct clk_hw *hw,int prediv_value;int div_value;int ret; -u32 val; +u32 orig, val; ret =imx8m_clk_composite_compute_dividers (rate, parent_rate, &prediv_value, &div_value);
@@ -104,13 +104,15 @@ static int imx8m_clk_composite_divider_set_rate(struct clk_hw *hw,spin_lock_irqsave (divider->lock, flags); - val =readl (divider->reg); - val &= ~((clk_div_mask (divider->width) << divider->shift) | - (clk_div_mask (PCG_DIV_WIDTH ) <<PCG_DIV_SHIFT )); + orig =readl (divider->reg); + val = orig & ~((clk_div_mask (divider->width) << divider->shift) | + (clk_div_mask (PCG_DIV_WIDTH ) <<PCG_DIV_SHIFT )); val |= (u32)(prediv_value -1 ) << divider->shift; val |= (u32)(div_value -1 ) <<PCG_DIV_SHIFT ; -writel (val, divider->reg); + +if (val != orig) +writel (val, divider->reg);spin_unlock_irqrestore (divider->lock, flags);
drivers/clk/imx/clk-imx8mm.c +10 -77
99 lines not on this page · raw message
drivers/clk/imx/clk-pll14xx.c +30 -0
@@ -41,6 +41,36 @@ struct clk_pll14xx {#define to_clk_pll14xx (_hw) container_of(_hw, struct clk_pll14xx, hw) +const struct imx_pll14xx_rate_table imx_pll1416x_tbl[] = { +PLL_1416X_RATE (1800000000U ,225 ,3 ,0 ), +PLL_1416X_RATE (1600000000U ,200 ,3 ,0 ), +PLL_1416X_RATE (1200000000U ,300 ,3 ,1 ), +PLL_1416X_RATE (1000000000U ,250 ,3 ,1 ), +PLL_1416X_RATE (800000000U ,200 ,3 ,1 ), +PLL_1416X_RATE (750000000U ,250 ,2 ,2 ), +PLL_1416X_RATE (700000000U ,350 ,3 ,2 ), +PLL_1416X_RATE (600000000U ,300 ,3 ,2 ), +}; + +const struct imx_pll14xx_rate_table imx_pll1443x_tbl[] = { +PLL_1443X_RATE (650000000U ,325 ,3 ,2 ,0 ), +PLL_1443X_RATE (594000000U ,198 ,2 ,2 ,0 ), +PLL_1443X_RATE (393216000U ,262 ,2 ,3 ,9437 ), +PLL_1443X_RATE (361267200U ,361 ,3 ,3 ,17511 ), +}; + +struct imx_pll14xx_clk imx_1443x_pll = { + .type =PLL_1443X , + .rate_table = imx_pll1443x_tbl, + .rate_count =ARRAY_SIZE (imx_pll1443x_tbl), +}; + +struct imx_pll14xx_clk imx_1416x_pll = { + .type =PLL_1416X , + .rate_table = imx_pll1416x_tbl, + .rate_count =ARRAY_SIZE (imx_pll1416x_tbl), +}; +static const struct imx_pll14xx_rate_table *imx_get_pll_settings (struct clk_pll14xx *pll,unsigned long rate) {
drivers/clk/imx/clk.h +3 -0
@@ -50,6 +50,9 @@ struct imx_pll14xx_clk {int flags; }; +extern struct imx_pll14xx_clk imx_1416x_pll; +extern struct imx_pll14xx_clk imx_1443x_pll; +#define imx_clk_cpu (name, parent_name, div, mux, pll, step) \ to_clk(imx_clk_hw_cpu(name, parent_name, div, mux, pll, step))
drivers/clk/keystone/pll.c +1 -1
@@ -209,7 +209,7 @@ static void __init _of_pll_clk_init(struct device_node *node, bool pllctrl) } clk =clk_register_pll (NULL , node->name, parent_name, pll_data); -if (clk) { +if (!IS_ERR_OR_NULL (clk)) {of_clk_add_provider (node, of_clk_src_simple_get, clk);return ; }
drivers/clk/qcom/gcc-mdm9615.c +1 -1
@@ -58,7 +58,7 @@ static struct clk_regmap pll0_vote = { .enable_mask = BIT(0), .hw.init = &(struct clk_init_data ){ .name ="pll0_vote" , - .parent_names = (const char *[]){"pll8" }, + .parent_names = (const char *[]){"pll0" }, .num_parents =1 , .ops = &clk_pll_vote_ops, },
drivers/clk/sunxi-ng/ccu_mmc_timing.c +1 -1
@@ -43,7 +43,7 @@ int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode)EXPORT_SYMBOL_GPL (sunxi_ccu_set_mmc_timing_mode);/** -* sunxi_ccu_set_mmc_timing_mode: Get the current MMC clock timing mode +* sunxi_ccu_get_mmc_timing_mode: Get the current MMC clock timing mode * @clk: clock to query * * Returns 0 if the clock is in old timing mode, > 0 if it is in
drivers/cpufreq/brcmstb-avs-cpufreq.c +5 -1
@@ -410,7 +410,11 @@ brcm_avs_get_freq_table(struct device *dev, struct private_data *priv)if (ret)return ERR_PTR (ret); - table =devm_kcalloc (dev,AVS_PSTATE_MAX +1 ,sizeof (*table), +/* +* We allocate space for the 5 different P-STATES AVS, +* plus extra space for a terminating element. +*/ + table =devm_kcalloc (dev,AVS_PSTATE_MAX +1 +1 ,sizeof (*table),GFP_KERNEL );if (!table)return ERR_PTR (-ENOMEM );
drivers/cpufreq/cpufreq.c +2 -0
@@ -441,8 +441,10 @@ void cpufreq_freq_transition_end(struct cpufreq_policy *policy,cpufreq_notify_post_transition (policy, freqs, transition_failed); +spin_lock (&policy->transition_lock); policy->transition_ongoing = false; policy->transition_task =NULL ; +spin_unlock (&policy->transition_lock);wake_up (&policy->transition_wait); }
drivers/cpufreq/powernow-k8.c +2 -1
@@ -1101,7 +1101,8 @@ static int powernowk8_cpu_exit(struct cpufreq_policy *pol)kfree (data->powernow_table);kfree (data); -for_each_cpu (cpu, pol->cpus) +/* pol->cpus will be empty here, use related_cpus instead. */ +for_each_cpu (cpu, pol->related_cpus)per_cpu (powernow_data, cpu) =NULL ;return 0 ;
drivers/crypto/caam/caampkc.c +3 -1
@@ -225,7 +225,9 @@ static int caam_rsa_count_leading_zeros(struct scatterlist *sgl,if (len && *buff)break ; -sg_miter_next (&miter); +if (!sg_miter_next (&miter)) +break ; + buff = miter.addr; len = miter.length;
drivers/crypto/stm32/stm32-hash.c +4 -5
@@ -562,9 +562,9 @@ static int stm32_hash_dma_send(struct stm32_hash_dev *hdev) }for_each_sg (rctx->sg, tsg, rctx->nents, i) { + sg[0 ] = *tsg; len = sg->length; - sg[0 ] = *tsg;if (sg_is_last (sg)) {if (hdev->dma_mode ==1 ) { len = (ALIGN (sg->length,16 ) -16 );
@@ -1553,9 +1553,7 @@ static int stm32_hash_remove(struct platform_device *pdev)if (!hdev)return -ENODEV ; - ret =pm_runtime_resume_and_get (hdev->dev); -if (ret <0 ) -return ret; + ret =pm_runtime_get_sync (hdev->dev);stm32_hash_unregister_algs (hdev);
@@ -1571,7 +1569,8 @@ static int stm32_hash_remove(struct platform_device *pdev)pm_runtime_disable (hdev->dev);pm_runtime_put_noidle (hdev->dev); -clk_disable_unprepare (hdev->clk); +if (ret >=0 ) +clk_disable_unprepare (hdev->clk);return 0 ; }
drivers/devfreq/devfreq.c +1 -0
@@ -595,6 +595,7 @@ static void devfreq_dev_release(struct device *dev) devfreq->profile->exit (devfreq->dev.parent);mutex_destroy (&devfreq->lock); +srcu_cleanup_notifier_head (&devfreq->transition_notifier_list);kfree (devfreq); }
drivers/dma/Kconfig +2 -0
@@ -208,6 +208,7 @@ config FSL_DMA config FSL_EDMA tristate "Freescale eDMA engine support" depends on OF + depends on HAS_IOMEM select DMA_ENGINE select DMA_VIRTUAL_CHANNELS help
@@ -268,6 +269,7 @@ config IMX_SDMA config INTEL_IDMA64 tristate "Intel integrated DMA 64-bit support" + depends on HAS_IOMEM select DMA_ENGINE select DMA_VIRTUAL_CHANNELS help
drivers/dma/ste_dma40.c +4 -0
@@ -3599,6 +3599,10 @@ static int __init d40_probe(struct platform_device *pdev)spin_lock_init (&base->lcla_pool.lock); base->irq =platform_get_irq (pdev,0 ); +if (base->irq <0 ) { + ret = base->irq; + goto destroy_cache; + } ret =request_irq (base->irq, d40_handle_interrupt,0 ,D40_NAME , base);if (ret) {
drivers/firmware/stratix10-svc.c +1 -1
@@ -616,7 +616,7 @@ svc_create_memory_pool(struct platform_device *pdev, paddr = begin; size = end - begin; va =devm_memremap (dev, paddr, size,MEMREMAP_WC ); -if (!va) { +if (IS_ERR (va)) {dev_err (dev,"fail to remap shared memory\n" );return ERR_PTR (-EINVAL ); }
drivers/fsi/fsi-master-ast-cf.c +1 -0
@@ -1438,3 +1438,4 @@ static struct platform_driver fsi_master_acf = {module_platform_driver (fsi_master_acf);MODULE_LICENSE ("GPL" ); +MODULE_FIRMWARE (FW_FILE_NAME );
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +4 -14
@@ -43,7 +43,6 @@ static int amdgpu_cs_user_fence_chunk(struct amdgpu_cs_parser *p,struct drm_gem_object *gobj;struct amdgpu_bo *bo;unsigned long size; -int r; gobj =drm_gem_object_lookup (p->filp, data->handle);if (gobj ==NULL )
@@ -58,23 +57,14 @@ static int amdgpu_cs_user_fence_chunk(struct amdgpu_cs_parser *p,drm_gem_object_put_unlocked (gobj); size =amdgpu_bo_size (bo); -if (size !=PAGE_SIZE || (data->offset +8 ) > size) { - r = -EINVAL ; - goto error_unref; - } +if (size !=PAGE_SIZE || data->offset > (size -8 )) +return -EINVAL ; -if (amdgpu_ttm_tt_get_usermm (bo->tbo.ttm)) { - r = -EINVAL ; - goto error_unref; - } +if (amdgpu_ttm_tt_get_usermm (bo->tbo.ttm)) +return -EINVAL ; *offset = data->offset; -return 0 ; - -error_unref: -amdgpu_bo_unref (&bo); -return r; } static int amdgpu_cs_bo_handles_chunk(struct amdgpu_cs_parser *p,
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +3 -0
@@ -759,6 +759,9 @@ int amdgpu_device_resize_fb_bar(struct amdgpu_device *adev)u16 cmd;int r; +if (!IS_ENABLED (CONFIG_PHYS_ADDR_T_64BIT )) +return 0 ; +/* Bypass for VF */ if (amdgpu_sriov_vf (adev))return 0 ;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +8 -6
@@ -471,6 +471,7 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file crtc = (struct drm_crtc *)minfo->crtcs[i];if (crtc && crtc->base.id == info->mode_crtc.id) {struct amdgpu_crtc *amdgpu_crtc =to_amdgpu_crtc (crtc); + ui32 = amdgpu_crtc->crtc_id; found =1 ;break ;
@@ -489,7 +490,7 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_fileif (ret)return ret; - ret =copy_to_user (out, &ip,min ((size_t )size,sizeof (ip))); + ret =copy_to_user (out, &ip,min_t (size_t, size,sizeof (ip)));return ret ? -EFAULT :0 ; }case AMDGPU_INFO_HW_IP_COUNT : {
@@ -625,17 +626,18 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file ? -EFAULT :0 ; }case AMDGPU_INFO_READ_MMR_REG : { -unsigned n, alloc_size; +unsigned int n, alloc_size;uint32_t *regs; -unsigned se_num = (info->read_mmr_reg.instance >> +unsigned int se_num = (info->read_mmr_reg.instance >>AMDGPU_INFO_MMR_SE_INDEX_SHIFT ) &AMDGPU_INFO_MMR_SE_INDEX_MASK ; -unsigned sh_num = (info->read_mmr_reg.instance >> +unsigned int sh_num = (info->read_mmr_reg.instance >>AMDGPU_INFO_MMR_SH_INDEX_SHIFT ) &AMDGPU_INFO_MMR_SH_INDEX_MASK ;/* set full masks if the userspace set all bits -* in the bitfields */ +* in the bitfields +*/ if (se_num ==AMDGPU_INFO_MMR_SE_INDEX_MASK ) se_num =0xffffffff ;else if (se_num >=AMDGPU_GFX_MAX_SE )
@@ -766,7 +768,7 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file min((size_t)size, sizeof(dev_info))) ? -EFAULT : 0; }case AMDGPU_INFO_VCE_CLOCK_TABLE : { -unsigned i; +unsigned int i;struct drm_amdgpu_info_vce_clock_table vce_clk_table = {};struct amd_vce_state *vce_state;
drivers/gpu/drm/amd/amdgpu/cik.c +53 -44
142 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/si.c +54 -45
142 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c +3 -2
@@ -199,8 +199,9 @@ struct mpcc *mpc1_insert_plane(/* check insert_above_mpcc exist in tree->opp_list */ struct mpcc *temp_mpcc = tree->opp_list; -while (temp_mpcc && temp_mpcc->mpcc_bot != insert_above_mpcc) - temp_mpcc = temp_mpcc->mpcc_bot; +if (temp_mpcc != insert_above_mpcc) +while (temp_mpcc && temp_mpcc->mpcc_bot != insert_above_mpcc) + temp_mpcc = temp_mpcc->mpcc_bot;if (temp_mpcc ==NULL )return NULL ; }
drivers/gpu/drm/armada/armada_overlay.c +4 -2
@@ -4,6 +4,8 @@* Rewritten from the dovefb driver, and Armada510 manuals. */ +#include <linux/bitfield.h> +#include <drm/armada_drm.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h>
@@ -446,8 +448,8 @@ static int armada_overlay_get_property(struct drm_plane *plane,drm_to_overlay_state (state)->colorkey_ug, drm_to_overlay_state(state)->colorkey_vb, 0); }else if (property == priv->colorkey_mode_prop) { - *val = (drm_to_overlay_state (state)->colorkey_mode & -CFG_CKMODE_MASK ) >>ffs (CFG_CKMODE_MASK ); + *val =FIELD_GET (CFG_CKMODE_MASK , +drm_to_overlay_state (state)->colorkey_mode); }else if (property == priv->brightness_prop) { *val =drm_to_overlay_state (state)->brightness +256 ; }else if (property == priv->contrast_prop) {
drivers/gpu/drm/ast/ast_post.c +1 -1
@@ -294,7 +294,7 @@ static void ast_init_dram_reg(struct drm_device *dev) ; }while (ast_read32 (ast,0x10100 ) !=0xa8 ); }else {/* AST2100/1100 */ -if (ast->chip ==AST2100 || ast->chip ==2200 ) +if (ast->chip ==AST2100 || ast->chip ==AST2200 ) dram_reg_info = ast2100_dram_table_data;else dram_reg_info = ast1100_dram_table_data;
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +7 -2
@@ -756,8 +756,13 @@ static void adv7511_mode_set(struct adv7511 *adv7511,else low_refresh_rate =ADV7511_LOW_REFRESH_RATE_NONE ; -regmap_update_bits (adv7511->regmap,0xfb , -0x6 , low_refresh_rate <<1 ); +if (adv7511->type ==ADV7511 ) +regmap_update_bits (adv7511->regmap,0xfb , +0x6 , low_refresh_rate <<1 ); +else +regmap_update_bits (adv7511->regmap,0x4a , +0xc , low_refresh_rate <<2 ); +regmap_update_bits (adv7511->regmap,0x17 ,0x60 , (vsync_polarity <<6 ) | (hsync_polarity <<5 ));
drivers/gpu/drm/bridge/tc358764.c +1 -1
@@ -180,7 +180,7 @@ static void tc358764_read(struct tc358764 *ctx, u16 addr, u32 *val)if (ret >=0 )le32_to_cpus (val); -dev_dbg (ctx->dev,"read: %d, addr: %d\n" , addr, *val); +dev_dbg (ctx->dev,"read: addr=0x%04x data=0x%08x\n" , addr, *val); }static void tc358764_write (struct tc358764 *ctx,u16 addr,u32 val)
drivers/gpu/drm/drm_gem_vram_helper.c +13 -11
@@ -73,6 +73,10 @@ static void drm_gem_vram_placement(struct drm_gem_vram_object *gbo, } } +/* +* Note that on error, drm_gem_vram_init will free the buffer object. +*/ + static int drm_gem_vram_init(struct drm_device *dev, struct ttm_bo_device *bdev, struct drm_gem_vram_object *gbo,
@@ -86,8 +90,10 @@ static int drm_gem_vram_init(struct drm_device *dev, gbo->bo.base.funcs = &drm_gem_vram_object_funcs; ret =drm_gem_object_init (dev, &gbo->bo.base, size); -if (ret) +if (ret) { +kfree (gbo);return ret; + } acc_size =ttm_bo_dma_acc_size (bdev, size,sizeof (*gbo));
@@ -98,13 +104,13 @@ static int drm_gem_vram_init(struct drm_device *dev, &gbo->placement, pg_align, interruptible, acc_size, NULL, NULL, ttm_buffer_object_destroy);if (ret) - goto err_drm_gem_object_release; +/* +* A failing ttm_bo_init will call ttm_buffer_object_destroy +* to release gbo->bo.base and kfree gbo. +*/ +return ret;return 0 ; - -err_drm_gem_object_release: -drm_gem_object_release (&gbo->bo.base); -return ret; }/**
@@ -134,13 +140,9 @@ struct drm_gem_vram_object *drm_gem_vram_create(struct drm_device *dev, ret =drm_gem_vram_init (dev, bdev, gbo, size, pg_align, interruptible);if (ret <0 ) - goto err_kfree; +return ERR_PTR (ret);return gbo; - -err_kfree: -kfree (gbo); -return ERR_PTR (ret); }EXPORT_SYMBOL (drm_gem_vram_create);
drivers/gpu/drm/etnaviv/etnaviv_dump.c +7 -7
@@ -125,9 +125,9 @@ void etnaviv_core_dump(struct etnaviv_gem_submit *submit)return ; etnaviv_dump_core = false; -mutex_lock (&gpu->mmu_context->lock); +mutex_lock (&submit->mmu_context->lock); - mmu_size =etnaviv_iommu_dump_size (gpu->mmu_context); + mmu_size =etnaviv_iommu_dump_size (submit->mmu_context);/* We always dump registers, mmu, ring, hanging cmdbuf and end marker */ n_obj =5 ;
@@ -157,7 +157,7 @@ void etnaviv_core_dump(struct etnaviv_gem_submit *submit) iter.start =__vmalloc (file_size,GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY,PAGE_KERNEL );if (!iter.start) { -mutex_unlock (&gpu->mmu_context->lock); +mutex_unlock (&submit->mmu_context->lock);dev_warn (gpu->dev,"failed to allocate devcoredump file\n" );return ; }
@@ -169,18 +169,18 @@ void etnaviv_core_dump(struct etnaviv_gem_submit *submit)memset (iter.hdr,0 , iter.data - iter.start);etnaviv_core_dump_registers (&iter, gpu); -etnaviv_core_dump_mmu (&iter, gpu->mmu_context, mmu_size); +etnaviv_core_dump_mmu (&iter, submit->mmu_context, mmu_size);etnaviv_core_dump_mem (&iter,ETDUMP_BUF_RING , gpu->buffer.vaddr, gpu->buffer.size,etnaviv_cmdbuf_get_va (&gpu->buffer, - &gpu->mmu_context->cmdbuf_mapping)); + &submit->mmu_context->cmdbuf_mapping));etnaviv_core_dump_mem (&iter,ETDUMP_BUF_CMD , submit->cmdbuf.vaddr, submit->cmdbuf.size,etnaviv_cmdbuf_get_va (&submit->cmdbuf, - &gpu->mmu_context->cmdbuf_mapping)); + &submit->mmu_context->cmdbuf_mapping)); -mutex_unlock (&gpu->mmu_context->lock); +mutex_unlock (&submit->mmu_context->lock);/* Reserve space for the bomap */ if (n_bomap_pages) {
drivers/gpu/drm/exynos/exynos_drm_crtc.c +2 -3
@@ -39,13 +39,12 @@ static void exynos_drm_crtc_atomic_disable(struct drm_crtc *crtc,if (exynos_crtc->ops->disable) exynos_crtc->ops->disable (exynos_crtc); +spin_lock_irq (&crtc->dev->event_lock);if (crtc->state->event && !crtc->state->active) { -spin_lock_irq (&crtc->dev->event_lock);drm_crtc_send_vblank_event (crtc, crtc->state->event); -spin_unlock_irq (&crtc->dev->event_lock); - crtc->state->event =NULL ; } +spin_unlock_irq (&crtc->dev->event_lock); } static int exynos_crtc_atomic_check(struct drm_crtc *crtc,
drivers/gpu/drm/mediatek/mtk_drm_gem.c +5 -1
@@ -267,7 +267,11 @@ void *mtk_drm_gem_prime_vmap(struct drm_gem_object *obj) } mtk_gem->kvaddr =vmap (mtk_gem->pages, npages,VM_MAP ,pgprot_writecombine (PAGE_KERNEL )); - +if (!mtk_gem->kvaddr) { +kfree (sgt); +kfree (mtk_gem->pages); +return ERR_PTR (-ENOMEM ); + } out:kfree (sgt);
drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c +1 -2
@@ -221,8 +221,7 @@ static void mdp5_plane_destroy_state(struct drm_plane *plane, {struct mdp5_plane_state *pstate =to_mdp5_plane_state (state); -if (state->fb) -drm_framebuffer_put (state->fb); +__drm_atomic_helper_plane_destroy_state (state);kfree (pstate); }
drivers/gpu/drm/panel/panel-simple.c +3 -1
@@ -919,7 +919,9 @@ static const struct panel_desc auo_t215hvn01 = { .delay = { .disable = 5, .unprepare = 1000, - } + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, };static const struct drm_display_mode avic_tm070ddh03_mode = {
drivers/gpu/drm/radeon/cik.c +52 -44
141 lines not on this page · raw message
drivers/gpu/drm/radeon/si.c +53 -45
62 lines not on this page · raw message
drivers/hwtracing/coresight/coresight-tmc-etf.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/hwtracing/coresight/coresight-tmc-etr.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/hwtracing/coresight/coresight-tmc.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/core/uverbs_std_types_counters.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/infiniband/ulp/isert/ib_isert.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/au8522_dig.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/cxd2820r_core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/cxd2841er.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/cxd2880/cxd2880_top.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/dib3000mb.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/dib3000mc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/drx39xyj/drxj.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/drxd_hard.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/drxk_hard.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/lgdt3306a.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/m88ds3103.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/m88rs2000.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/stb0899_drv.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/stv0900_core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/i2c/ov2680.c +47 -199
246 lines not on this page · raw message
drivers/media/i2c/ov5640.c +60 -67
127 lines not on this page · raw message
drivers/media/pci/cx23885/cx23885-video.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/pci/intel/ipu3/ipu3-cio2.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/media/v4l2-core/v4l2-fwnode.c +23 -20
43 lines not on this page · raw message
drivers/mtd/nand/raw/brcmnand/brcmnand.c +76 -36
112 lines not on this page · raw message
drivers/net/ethernet/atheros/alx/ethtool.c +2 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/atheros/atl1c/atl1c_main.c +5 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +7 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/enetc/enetc_ptp.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igb/igb_main.c +10 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igbvf/igbvf.h +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c +15 -13
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mediatek/mtk_eth_soc.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/i2c.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/net/vxlan.c +28 -30
58 lines not on this page · raw message
drivers/net/wireless/ath/ath9k/htc_drv_debug.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/debugfs.c +7 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/pcie.c +94 -82
176 lines not on this page · raw message
drivers/net/wireless/marvell/mwifiex/sta_rx.c +11 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/tdls.c +6 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/uap_txrx.c +29 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/util.c +7 -3
Lines of this file are not shown. View the raw message.
drivers/perf/arm_smmuv3_pmu.c +45 -1
46 lines not on this page · raw message
drivers/phy/rockchip/phy-rockchip-inno-hdmi.c +11 -7
Lines of this file are not shown. View the raw message.
drivers/platform/mellanox/mlxbf-tmfifo.c +77 -27
104 lines not on this page · raw message
drivers/s390/block/dasd.c +48 -77
125 lines not on this page · raw message
drivers/scsi/megaraid/megaraid_sas_base.c +9 -12
Lines of this file are not shown. View the raw message.
drivers/target/iscsi/iscsi_target_configfs.c +27 -27
54 lines not on this page · raw message
drivers/tty/serial/cpm_uart/cpm_uart_core.c +4 -9
Lines of this file are not shown. View the raw message.
drivers/tty/serial/sprd_serial.c +25 -43
68 lines not on this page · raw message
drivers/usb/gadget/function/f_mass_storage.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/usb/typec/tcpm/tcpm.c +69 -53
122 lines not on this page · raw message
drivers/video/backlight/gpio_backlight.c +1 -1
Lines of this file are not shown. View the raw message.
fs/quota/dquot.c +117 -67
184 lines not on this page · raw message
fs/udf/inode.c +28 -17
45 lines not on this page · raw message
kernel/trace/trace.c +36 -7
43 lines not on this page · raw message
net/netfilter/ipset/ip_set_hash_netportnet.c +1 -0
Lines of this file are not shown. View the raw message.
net/sched/cls_rsvp.h deleted +0 -777
777 lines not on this page · raw message
tools/build/feature/test-libbfd-buildid.c new file +8 -0
Lines of this file are not shown. View the raw message.
tools/perf/Makefile.config +26 -17
43 lines not on this page · raw message
tools/testing/selftests/ftrace/ftracetest +8 -0
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.