Linux 5.2.19
Greg KH
maintainerI'm announcing the release of the 5.2.19 kernel.
All users of the 5.2 kernel series must upgrade.
The updated 5.2.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.2.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/sound/hd-audio/models.rst | 3 Makefile | 2 arch/arm/boot/dts/am3517-evm.dts | 23 - arch/arm/boot/dts/exynos5420-peach-pit.dts | 1 arch/arm/boot/dts/exynos5800-peach-pi.dts | 1 arch/arm/boot/dts/imx7-colibri.dtsi | 1 arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 4 arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi | 37 - arch/arm/configs/omap2plus_defconfig | 1 arch/arm/mach-at91/.gitignore | 1 arch/arm/mach-at91/Makefile | 5 arch/arm/mach-at91/pm_suspend.S | 2 arch/arm/mach-ep93xx/edb93xx.c | 2 arch/arm/mach-ep93xx/simone.c | 2 arch/arm/mach-ep93xx/ts72xx.c | 4 arch/arm/mach-ep93xx/vision_ep9307.c | 2 arch/arm/mach-omap2/.gitignore | 1 arch/arm/mach-omap2/Makefile | 5 arch/arm/mach-omap2/sleep33xx.S | 2 arch/arm/mach-omap2/sleep43xx.S | 2 arch/arm/mach-zynq/platsmp.c | 2 arch/arm/mm/copypage-xscale.c | 6 arch/arm/plat-samsung/watchdog-reset.c | 1 arch/arm64/boot/dts/rockchip/rk3328.dtsi | 3 arch/arm64/include/asm/cputype.h | 21 - arch/arm64/include/asm/exception.h | 2 arch/arm64/include/asm/tlbflush.h | 1 arch/arm64/kernel/cpufeature.c | 2 arch/arm64/kernel/entry.S | 36 - arch/arm64/kernel/image-vars.h | 51 ++ arch/arm64/kernel/image.h | 42 -- arch/arm64/kernel/traps.c | 9 arch/arm64/kernel/vmlinux.lds.S | 2 arch/arm64/mm/init.c | 6 arch/arm64/mm/proc.S | 9 arch/ia64/kernel/module.c | 8 arch/m68k/include/asm/atarihw.h | 9 arch/m68k/include/asm/io_mm.h | 6 arch/m68k/include/asm/macintosh.h | 1 arch/powerpc/Makefile | 2 arch/powerpc/platforms/powernv/opal-imc.c | 12 arch/s390/crypto/aes_s390.c | 6 arch/s390/include/asm/string.h | 9 arch/x86/include/asm/intel-family.h | 3 arch/x86/include/asm/kvm_host.h | 7 arch/x86/kernel/amd_nb.c | 3 arch/x86/kernel/apic/apic.c | 115 +++-- arch/x86/kernel/apic/vector.c | 11 arch/x86/kernel/smp.c | 46 +- arch/x86/kvm/emulate.c | 2 arch/x86/kvm/mmu.c | 47 +- arch/x86/kvm/svm.c | 4 arch/x86/kvm/vmx/vmx.c | 6 arch/x86/kvm/x86.c | 21 - arch/x86/mm/numa.c | 4 arch/x86/mm/pti.c | 8 arch/x86/platform/intel/iosf_mbi.c | 100 ++-- block/blk-flush.c | 10 block/blk-mq.c | 25 - block/blk-throttle.c | 3 block/blk.h | 7 block/mq-deadline.c | 19 drivers/acpi/acpi_lpss.c | 8 drivers/acpi/acpi_processor.c | 10 drivers/acpi/apei/ghes.c | 17 drivers/acpi/cppc_acpi.c | 6 drivers/acpi/custom_method.c | 5 drivers/acpi/pci_irq.c | 4 drivers/ata/ahci.c | 116 +++-- drivers/ata/ahci.h | 2 drivers/base/soc.c | 2 drivers/block/loop.c | 1 drivers/block/nbd.c | 4 drivers/char/hw_random/core.c | 2 drivers/char/ipmi/ipmi_msghandler.c | 114 ++--- drivers/char/mem.c | 21 + drivers/char/tpm/tpm-interface.c | 23 - drivers/char/tpm/tpm_tis_core.c | 3 drivers/cpufreq/armada-8k-cpufreq.c | 2 drivers/cpuidle/governors/teo.c | 32 - drivers/devfreq/devfreq.c | 2 drivers/devfreq/exynos-bus.c | 31 - drivers/devfreq/governor_passive.c | 7 drivers/dma/bcm2835-dma.c | 4 drivers/dma/iop-adma.c | 18 drivers/dma/ti/edma.c | 9 drivers/edac/altera_edac.c | 4 drivers/edac/amd64_edac.c | 151 ++++--- drivers/edac/amd64_edac.h | 5 drivers/edac/edac_mc.c | 8 drivers/edac/pnd2_edac.c | 7 drivers/firmware/arm_scmi/driver.c | 8 drivers/firmware/efi/cper.c | 15 drivers/firmware/qcom_scm.c | 7 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 5 drivers/gpu/drm/drm_kms_helper_common.c | 2 drivers/hwmon/acpi_power_meter.c | 4 drivers/hwmon/k10temp.c | 1 drivers/i2c/busses/i2c-riic.c | 1 drivers/infiniband/core/addr.c | 2 drivers/infiniband/core/uverbs_cmd.c | 3 drivers/infiniband/hw/hfi1/mad.c | 45 -- drivers/infiniband/hw/hfi1/verbs.c | 17 drivers/infiniband/hw/mlx5/main.c | 1 drivers/iommu/Makefile | 2 drivers/iommu/amd_iommu.c | 4 drivers/iommu/amd_iommu.h | 14 drivers/iommu/amd_iommu_init.c | 5 drivers/iommu/amd_iommu_quirks.c | 92 ++++ drivers/iommu/arm-smmu-v3.c | 2 drivers/iommu/intel_irq_remapping.c | 6 drivers/iommu/iova.c | 4 drivers/irqchip/irq-gic-v3-its.c | 9 drivers/irqchip/irq-sifive-plic.c | 12 drivers/isdn/mISDN/socket.c | 2 drivers/leds/led-triggers.c | 1 drivers/leds/leds-lm3532.c | 17 drivers/leds/leds-lp5562.c | 6 drivers/md/bcache/closure.c | 10 drivers/md/dm-rq.c | 1 drivers/md/md.c | 28 - drivers/md/md.h | 3 drivers/md/raid0.c | 33 + drivers/md/raid0.h | 14 drivers/md/raid1.c | 39 + drivers/md/raid5.c | 10 drivers/media/cec/cec-notifier.c | 2 drivers/media/common/videobuf2/videobuf2-v4l2.c | 8 drivers/media/dvb-core/dvb_frontend.c | 4 drivers/media/dvb-core/dvbdev.c | 4 drivers/media/dvb-frontends/dvb-pll.c | 40 + drivers/media/i2c/ov5640.c | 5 drivers/media/i2c/ov5645.c | 26 - drivers/media/i2c/ov9650.c | 5 drivers/media/i2c/tda1997x.c | 9 drivers/media/pci/saa7134/saa7134-i2c.c | 12 drivers/media/pci/saa7146/hexium_gemini.c | 3 drivers/media/platform/aspeed-video.c | 5 drivers/media/platform/exynos4-is/fimc-is.c | 1 drivers/media/platform/exynos4-is/media-dev.c | 2 drivers/media/platform/fsl-viu.c | 2 drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 4 drivers/media/platform/omap3isp/isp.c | 8 drivers/media/platform/omap3isp/ispccdc.c | 1 drivers/media/platform/omap3isp/ispccp2.c | 1 drivers/media/platform/omap3isp/ispcsi2.c | 1 drivers/media/platform/omap3isp/isppreview.c | 1 drivers/media/platform/omap3isp/ispresizer.c | 1 drivers/media/platform/omap3isp/ispstat.c | 2 drivers/media/platform/rcar_fdp1.c | 2 drivers/media/platform/vivid/vivid-kthread-cap.c | 9 drivers/media/platform/vsp1/vsp1_dl.c | 4 drivers/media/radio/si470x/radio-si470x-usb.c | 5 drivers/media/rc/iguanair.c | 15 drivers/media/rc/imon.c | 7 drivers/media/rc/mceusb.c | 334 +++++++++------- drivers/media/rc/mtk-cir.c | 8 drivers/media/usb/cpia2/cpia2_usb.c | 4 drivers/media/usb/dvb-usb/dib0700_devices.c | 8 drivers/media/usb/dvb-usb/pctv452e.c | 8 drivers/media/usb/em28xx/em28xx-cards.c | 1 drivers/media/usb/gspca/konica.c | 5 drivers/media/usb/gspca/nw80x.c | 5 drivers/media/usb/gspca/ov519.c | 10 drivers/media/usb/gspca/ov534.c | 5 drivers/media/usb/gspca/ov534_9.c | 1 drivers/media/usb/gspca/se401.c | 5 drivers/media/usb/gspca/sn9c20x.c | 12 drivers/media/usb/gspca/sonixb.c | 5 drivers/media/usb/gspca/sonixj.c | 5 drivers/media/usb/gspca/spca1528.c | 5 drivers/media/usb/gspca/sq930x.c | 5 drivers/media/usb/gspca/sunplus.c | 5 drivers/media/usb/gspca/vc032x.c | 5 drivers/media/usb/gspca/w996Xcf.c | 5 drivers/media/usb/hdpvr/hdpvr-core.c | 13 drivers/media/usb/ttusb-dec/ttusb_dec.c | 2 drivers/media/v4l2-core/videobuf-core.c | 5 drivers/mmc/core/sdio_irq.c | 9 drivers/mmc/host/dw_mmc.c | 4 drivers/mmc/host/mtk-sd.c | 3 drivers/mmc/host/sdhci.c | 4 drivers/mtd/nand/raw/stm32_fmc2_nand.c | 90 +--- drivers/net/arcnet/arcnet.c | 31 - drivers/net/ethernet/intel/e1000e/ich8lan.c | 10 drivers/net/ethernet/intel/e1000e/ich8lan.h | 2 drivers/net/ethernet/intel/i40e/i40e_main.c | 5 drivers/net/ethernet/marvell/skge.c | 2 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c | 4 drivers/net/ethernet/mellanox/mlx5/core/main.c | 1 drivers/net/ethernet/netronome/nfp/flower/main.c | 7 drivers/net/ethernet/nxp/lpc_eth.c | 13 drivers/net/macsec.c | 1 drivers/net/phy/micrel.c | 3 drivers/net/phy/national.c | 9 drivers/net/ppp/ppp_generic.c | 2 drivers/net/usb/cdc_ncm.c | 6 drivers/net/usb/usbnet.c | 8 drivers/net/vrf.c | 3 drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2 drivers/net/wireless/ath/ath10k/wmi-tlv.h | 16 drivers/net/wireless/ath/ath10k/wmi.h | 8 drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 8 drivers/net/wireless/marvell/libertas/if_usb.c | 3 drivers/net/wireless/mediatek/mt76/mmio.c | 2 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 15 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h | 6 drivers/net/wireless/mediatek/mt76/usb.c | 2 drivers/net/wireless/realtek/rtw88/pci.c | 71 ++- drivers/net/wireless/zydas/zd1211rw/zd_mac.c | 1 drivers/nvme/host/multipath.c | 8 drivers/nvme/target/admin-cmd.c | 14 drivers/parisc/dino.c | 24 + drivers/platform/chrome/cros_ec_rpmsg.c | 32 + drivers/platform/x86/intel_int0002_vgpio.c | 1 drivers/platform/x86/intel_pmc_core.c | 8 drivers/ras/Makefile | 3 drivers/regulator/core.c | 42 +- drivers/regulator/lm363x-regulator.c | 2 drivers/scsi/device_handler/scsi_dh_rdac.c | 2 drivers/scsi/qla2xxx/qla_init.c | 25 - drivers/scsi/qla2xxx/qla_os.c | 1 drivers/scsi/qla2xxx/qla_target.c | 1 drivers/scsi/scsi_lib.c | 13 drivers/soc/amlogic/meson-clk-measure.c | 12 drivers/soc/renesas/Kconfig | 5 drivers/soc/renesas/rmobile-sysc.c | 31 - drivers/spi/spi-dw-mmio.c | 6 drivers/spi/spi-fsl-dspi.c | 4 drivers/staging/media/imx/imx6-mipi-csi2.c | 12 drivers/video/fbdev/efifb.c | 27 - fs/binfmt_elf.c | 3 fs/btrfs/ctree.c | 5 fs/btrfs/ctree.h | 1 fs/btrfs/delayed-inode.c | 13 fs/btrfs/disk-io.c | 10 fs/btrfs/extent-tree.c | 8 fs/btrfs/extent_io.c | 9 fs/btrfs/free-space-cache.c | 20 fs/btrfs/inode.c | 8 fs/btrfs/qgroup.c | 38 + fs/btrfs/tree-checker.c | 98 ++++ fs/cifs/cifsfs.c | 2 fs/cifs/cifsglob.h | 2 fs/cifs/connect.c | 9 fs/cifs/smb2ops.c | 10 fs/cifs/smb2pdu.c | 3 fs/cifs/xattr.c | 2 fs/ext4/extents.c | 4 fs/ext4/inode.c | 9 fs/fuse/dev.c | 93 ++-- fs/fuse/file.c | 1 fs/fuse/fuse_i.h | 3 fs/fuse/inode.c | 1 fs/fuse/readdir.c | 4 fs/gfs2/bmap.c | 1 fs/io_uring.c | 4 fs/overlayfs/export.c | 3 fs/overlayfs/inode.c | 3 fs/xfs/xfs_file.c | 26 + include/linux/blk-mq.h | 13 include/linux/blkdev.h | 15 include/linux/bug.h | 5 include/linux/fs.h | 2 include/linux/mmc/host.h | 9 include/linux/pci_ids.h | 1 include/linux/quotaops.h | 2 include/linux/sunrpc/xprt.h | 1 include/net/route.h | 3 kernel/kprobes.c | 3 kernel/printk/printk.c | 2 kernel/rcu/tree.c | 6 kernel/sched/core.c | 61 ++ kernel/sched/cpufreq_schedutil.c | 7 kernel/sched/deadline.c | 33 + kernel/sched/fair.c | 11 kernel/sched/idle.c | 5 kernel/sched/psi.c | 2 kernel/time/alarmtimer.c | 4 kernel/time/posix-cpu-timers.c | 20 lib/lzo/lzo1x_compress.c | 14 mm/compaction.c | 35 - mm/fadvise.c | 4 mm/madvise.c | 22 - mm/memcontrol.c | 10 mm/oom_kill.c | 5 mm/z3fold.c | 64 ++- net/appletalk/ddp.c | 5 net/ax25/af_ax25.c | 2 net/ieee802154/socket.c | 3 net/ipv4/inet_connection_sock.c | 4 net/ipv4/ip_forward.c | 2 net/ipv4/ip_output.c | 2 net/ipv4/route.c | 34 - net/ipv4/tcp_bbr.c | 8 net/ipv4/tcp_timer.c | 5 net/ipv4/xfrm4_policy.c | 1 net/ipv6/fib6_rules.c | 3 net/nfc/llcp_sock.c | 7 net/openvswitch/datapath.c | 2 net/qrtr/qrtr.c | 1 net/sched/act_api.c | 34 - net/sched/act_sample.c | 1 net/sched/cls_api.c | 6 net/sched/sch_api.c | 3 net/sched/sch_cbs.c | 30 - net/sched/sch_netem.c | 2 net/sunrpc/clnt.c | 6 net/sunrpc/xdr.c | 27 - net/sunrpc/xprt.c | 54 +- net/wireless/util.c | 1 scripts/Makefile.kasan | 11 scripts/gcc-plugins/randomize_layout_plugin.c | 10 security/keys/trusted.c | 5 sound/firewire/motu/motu.c | 12 sound/firewire/tascam/tascam-pcm.c | 3 sound/firewire/tascam/tascam-stream.c | 42 +- sound/hda/hdac_controller.c | 2 sound/i2c/other/ak4xxx-adda.c | 7 sound/pci/hda/hda_codec.c | 8 sound/pci/hda/hda_controller.c | 5 sound/pci/hda/hda_intel.c | 2 sound/pci/hda/patch_hdmi.c | 9 sound/pci/hda/patch_realtek.c | 90 ++++ sound/soc/atmel/mchp-i2s-mcc.c | 41 + sound/soc/codecs/es8316.c | 7 sound/soc/codecs/hdac_hda.c | 4 sound/soc/codecs/sgtl5000.c | 21 - sound/soc/codecs/tlv320aic31xx.c | 7 sound/soc/fsl/fsl_ssi.c | 18 sound/soc/intel/common/sst-acpi.c | 3 sound/soc/intel/common/sst-ipc.c | 2 sound/soc/intel/skylake/skl-debug.c | 2 sound/soc/intel/skylake/skl-nhlt.c | 2 sound/soc/sh/rcar/adg.c | 21 - sound/soc/soc-generic-dmaengine-pcm.c | 6 sound/soc/sof/intel/hda-codec.c | 6 sound/soc/sof/sof-pci-dev.c | 3 sound/soc/sunxi/sun4i-i2s.c | 9 sound/soc/uniphier/aio-cpu.c | 31 + sound/soc/uniphier/aio.h | 1 sound/usb/pcm.c | 1 tools/include/uapi/asm/bitsperlong.h | 18 tools/lib/traceevent/Makefile | 6 tools/lib/traceevent/event-plugin.c | 2 tools/perf/arch/x86/util/kvm-stat.c | 4 tools/perf/arch/x86/util/tsc.c | 6 tools/perf/perf.c | 3 tools/perf/tests/shell/trace+probe_vfs_getname.sh | 4 tools/perf/trace/beauty/ioctl.c | 2 tools/perf/ui/browsers/scripts.c | 6 tools/perf/ui/helpline.c | 4 tools/perf/ui/util.c | 2 tools/perf/util/evlist.c | 9 tools/perf/util/header.c | 4 tools/perf/util/hist.c | 5 tools/perf/util/map.c | 3 tools/perf/util/map_groups.h | 4 tools/perf/util/thread.c | 7 tools/perf/util/thread.h | 4 tools/perf/util/unwind-libunwind-local.c | 18 tools/perf/util/unwind-libunwind.c | 34 - tools/perf/util/unwind.h | 25 - tools/perf/util/xyarray.h | 3 tools/testing/selftests/net/fib_tests.sh | 21 - 366 files changed, 3148 insertions(+), 1538 deletions(-)
A Sun (1):
media: mceusb: fix (eliminate) TX IR signal length limit
Adam Ford (3):
ARM: dts: logicpd-torpedo-baseboard: Fix missing video
ARM: omap2plus_defconfig: Fix missing video
ARM: dts: am3517-evm: Fix missing video
Ahzo (1):
drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)
Al Cooper (1):
mmc: sdhci: Fix incorrect switch to HS mode
Al Stone (1):
ACPI / CPPC: do not require the _PSD method
Alessio Balsini (1):
loop: Add LOOP_SET_DIRECT_IO to compat ioctl
Alexander Graf (1):
KVM: x86: Disable posted interrupts for non-standard IRQs delivery modes
Alexander Sverdlin (1):
spi: ep93xx: Repair SPI CS lookup tables
Amadeusz Sławiński (3):
ASoC: Intel: NHLT: Fix debug print format
ASoC: Intel: Skylake: Use correct function to access iomem space
ASoC: Intel: Fix use of potentially uninitialized variable
Andi Kleen (1):
perf report: Fix --ns time sort key output
André Draszik (1):
ARM: dts: imx7d: cl-som-imx7: make ethernet work again
Andy Shevchenko (1):
spi: dw-mmio: Clock should be shut when error occurs
Anton Eidelman (1):
nvme-multipath: fix ana log nsid lookup when nsid is not found
Ard van Breemen (1):
ALSA: usb-audio: Skip bSynchAddress endpoint check if it is invalid
Arnaldo Carvalho de Melo (4):
perf config: Honour $PERF_CONFIG env var to specify alternate .perfconfig perf test vfs_getname: Disable ~/.perfconfig to get default output tools headers: Fixup bitsperlong per arch includes
perf evlist: Use unshare(CLONE_FS) in sb threads to let setns(CLONE_NEWNS) work
Arnd Bergmann (6):
media: dib0700: fix link error for dibx000_i2c_set_speed
media: vivid: work around high stack usage with clang
dmaengine: iop-adma: use correct printk format strings
ARM: xscale: fix multi-cpu compilation
net: lpc-enet: fix printk format strings
media: don't drop front-end reference count for ->detach
Axel Lin (1):
regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg
Benjamin Coddington (1):
SUNRPC: Fix buffer handling of GSS MIC without slack
Benjamin Peterson (1):
perf trace beauty ioctl: Fix off-by-one error in cmd->string table
Bjorn Andersson (1):
net: qrtr: Stop rx_worker before freeing node
Bjørn Mork (2):
cdc_ncm: fix divide-by-zero caused by invalid wMaxPacketSize
usbnet: ignore endpoints with invalid wMaxPacketSize
Bob Peterson (1):
gfs2: clear buf_in_tr when ending a transaction in sweep_bh_for_rgrps
Bodong Wang (1):
net/mlx5: Add device ID of upcoming BlueField-2
Cezary Rojewski (1):
ASoC: Intel: Haswell: Adjust machine device private context
Chao Yu (1):
quota: fix wrong condition in is_quota_modification()
Chris Brandt (1):
i2c: riic: Clear NACK in tend isr
Chris Wilson (1):
ALSA: hda: Flush interrupts on disabling
Christoph Hellwig (1):
irqchip/sifive-plic: set max threshold for ignored handlers
Christophe Kerello (1):
mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option
Christophe Leroy (1):
btrfs: fix allocation of free space cache v1 bitmap pages
Codrin Ciubotariu (2):
ASoC: mchp-i2s-mcc: Wait for RX/TX RDY only if controller is running
ASoC: mchp-i2s-mcc: Fix unprepare of GCLK
Colin Ian King (1):
media: vsp1: fix memory leak of dl on error return path
Cong Wang (2):
net_sched: add max len check for TCA_KIND
net_sched: add policy validation for action attributes
Damien Le Moal (1):
block: mq-deadline: Fix queue restart handling
Dan Carpenter (1):
EDAC/altera: Use the proper type for the IRQ status bits
Dan Murphy (1):
leds: lm3532: Fixes for the driver for stability
Dan Williams (1):
libata/ahci: Drop PCS quirk for Denverton and beyond
Danit Goldberg (1):
IB/mlx5: Free mpi in mp_slave mode
Darius Rad (1):
media: rc: imon: Allow iMON RC protocol for ffdc 7e device
Dave Rodgman (1):
lib/lzo/lzo1x_compress.c: fix alignment bug in lzo-rle
David Ahern (3):
selftests: Update fib_tests to handle missing ping6
ipv4: Revert removal of rt_uses_gateway
vrf: Do not attempt to create IPv6 mcast rule if IPv6 is disabled
Davide Caratti (1):
net/sched: act_sample: don't push mac header on ip6gre ingress
Denis Kenzior (1):
cfg80211: Purge frame registrations on iftype change
Dennis Zhou (1):
btrfs: adjust dirty_metadata_bytes after writeback failure of extent buffer
Ding Xiang (1):
ovl: Fix dereferencing possible ERR_PTR()
Douglas RAILLARD (1):
sched/cpufreq: Align trace event behavior of fast switching
Eric Biggers (1):
fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock
Eric Dumazet (4):
sch_netem: fix a divide by zero in tabledist()
net: sched: fix possible crash in tcf_action_destroy()
tcp: better handle TCP_USER_TIMEOUT in SYN_SENT state iommu/iova: Avoid false sharing on fq_timer_on
Ezequiel Garcia (3):
media: i2c: ov5645: Fix power sequence
media: imx: mipi csi-2: Don't fail if initial state times-out PM / devfreq: Fix kernel oops on governor module load
Fabio Estevam (1):
media: i2c: ov5640: Check for devm_gpiod_get_optional() error
Felix Fietkau (1):
mt76: round up length on mt76_wr_copy
Filipe Manana (2):
Btrfs: fix use-after-free when using the tree modification log
Btrfs: fix race setting up and completing qgroup rescan workers
Finn Thain (1):
m68k: Prevent some compiler warnings in Coldfire builds
Gayatri Kammela (1):
x86/cpu: Add Tiger Lake to Intel family
Geert Uytterhoeven (3):
media: fdp1: Reduce FCP not found message level to debug
soc: renesas: rmobile-sysc: Set GENPD_FLAG_ALWAYS_ON for always-on domain
soc: renesas: Enable ARM_ERRATA_754322 for affected Cortex-A9
Gerald BAEZA (1):
libperf: Fix alignment trap with xyarray contents in 'perf stat'
Greg Kroah-Hartman (1):
Linux 5.2.19
Grzegorz Halat (1):
x86/reboot: Always use NMI fallback when shutdown via reboot vector IPI fails
Guoqing Jiang (3):
md: don't call spare_active in md_reap_sync_thread if all member devices can't work
md: don't set In_sync if array is frozen
raid5: don't set STRIPE_HANDLE to stripe which is in batch list
Gustavo A. R. Silva (1):
perf script: Fix memory leaks in list_scripts()
Hans Andersson (1):
net: phy: micrel: add Asym Pause workaround for KSZ9021
Hans Verkuil (5):
media: gspca: zero usb_buf on error
media: radio/si470x: kill urb on error
media: hdpvr: add terminating 0 at end of string
media: cec-notifier: clear cec_adap in cec_notifier_unregister
media: videobuf-core.c: poll_wait needs a non-NULL buf pointer
Hans de Goede (4):
x86/platform/intel/iosf_mbi Rewrite locking
platform/x86: intel_int0002_vgpio: Fix wakeups not working on Cherry Trail
media: sn9c20x: Add MSI MS-1039 laptop to flip_dmi_table
efifb: BGRT: Improve efifb_bgrt_sanity_check
Harald Freudenberger (1):
s390/crypto: xts-aes-s390 fix extra run-time crypto self tests finding
Hariprasad Kelam (1):
cpufreq: ap806: Add NULL check after kcalloc
Helge Deller (1):
parisc: Disable HP HSC-PCI Cards to prevent kernel crash
Hou Tao (1):
block: make rq sector size accessible for block stats
Ira Weiny (1):
IB/hfi1: Define variables as unsigned long to fix KASAN warning
Jack Morgenstein (1):
RDMA: Fix double-free in srq creation error flow
Jackie Liu (1):
io_uring: fix wrong sequence setting logic
James Morse (1):
arm64: entry: Move ct_user_exit before any other exception
Jan Dakinevich (2):
KVM: x86: always stop emulation on page fault
KVM: x86: set ctxt->have_exception in x86_decode_insn()
Jan Kara (3):
fs: Export generic_fadvise()
mm: Handle MADV_WILLNEED through vfs_fadvise()
xfs: Fix stale data exposure when readahead races with hole punch
Jan-Marek Glogowski (1):
ALSA: hda/realtek - PCI quirk for Medion E4254
Jani Nikula (1):
drm: fix module name in edid_firmware log message
Jarkko Nikula (1):
ACPI / LPSS: Save/restore LPSS private registers also on Lynxpoint
Jarkko Sakkinen (1):
tpm: Wrap the buffer from the caller to tpm_buf in tpm_send()
Jason A. Donenfeld (1):
ipv6: do not free rt if FIB_LOOKUP_NOREF is set on suppress rule
Jia-Ju Bai (1):
ALSA: i2c: ak4xxx-adda: Fix a possible null pointer dereference in build_adc_controls()
Jian-Hong Pan (2):
rtw88: pci: Rearrange the memory usage for skb in RX ISR
rtw88: pci: Use DMA sync instead of remapping in RX ISR
Jiri Slaby (1):
ACPI / processor: don't print errors for processorIDs == 0xff
Jiří Paleček (1):
kvm: Nested KVM MMUs need PAE root too
John Keeping (1):
perf unwind: Fix libunwind when tid != pid
Joonwon Kang (1):
randstruct: Check member structs in is_pure_ops_struct()
Junhua Huang (1):
arm64: mm: free the initrd reserved memblock in a aligned manner
Juri Lelli (3):
sched/core: Fix CPU controller for !RT_GROUP_SCHED sched/deadline: Fix bandwidth accounting at all levels after offline migration rcu/tree: Call setschedule() gp ktread to SCHED_FIFO outside of atomic region
Kai-Heng Feng (3):
e1000e: add workaround for possible stalled packet iommu/amd: Override wrong IVRS IOAPIC on Raven Ridge systems drm/amd/display: Restore backlight brightness after system resume
Kaike Wan (1):
IB/hfi1: Do not update hcrc for a KDETH packet during fault injection
Kamil Konieczny (1):
PM / devfreq: exynos-bus: Correct clock enable sequence
Katsuhiro Suzuki (1):
ASoC: es8316: fix headphone mixer volume table
Kees Cook (2):
arm64/efi: Move variable assignments after SECTIONS
binfmt_elf: Do not move brk for INTERP-less ET_EXEC
Kent Overstreet (1):
closures: fix a race on wakeup from closure_sync
Kevin Easton (1):
libertas: Add missing sentinel at end of if_usb.c fw_table
Kevin(Yudong) Yang (1):
tcp_bbr: fix quantization code to not raise cwnd if not probing bandwidth
Keyon Jie (1):
ASoC: hdac_hda: fix page fault issue by removing race
Kunihiko Hayashi (1):
ASoC: uniphier: Fix double reset assersion when transitioning to suspend state
Kuninori Morimoto (1):
ASoC: rsnd: don't call clk_get_rate() under atomic context
Laurent Vivier (1):
hwrng: core - don't wait on add_early_randomness()
Leonard Crestez (1):
PM / devfreq: passive: Use non-devm notifiers
Li RongQing (1):
openvswitch: change type of UPCALL_PID attribute to NLA_UNSPEC
Liguang Zhang (1):
ACPI / APEI: Release resources if gen_pool_add() fails
Lihua Yao (1):
ARM: samsung: Fix system restart on S3C6410
Lorenzo Bianconi (2):
mt76: mt7615: always release sem in mt7615_load_patch
mt76: mt7615: fix mt7615 firmware path definitions
Luca Coelho (1):
iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36
Lucas Stach (1):
ASoC: tlv320aic31xx: suppress error message for EPROBE_DEFER
Luis Araneda (1):
ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up
Luke Mujica (1):
perf tools: Fix paths in include statements
Luke Nowakowski-Krijger (1):
media: hdpvr: Add device num check and handling
M. Vefa Bicakci (1):
platform/x86: intel_pmc_core: Do not ioremap RAM
Maciej S. Szmigiero (1):
media: saa7134: fix terminology around saa7134_i2c_eeprom_md7134_gate()
Madhavan Srinivasan (1):
powerpc/imc: Dont create debugfs files for cpu-less nodes
Marc Zyngier (1):
irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices
Marcel Bocu (2):
x86/amd_nb: Add PCI device IDs for family 17h, model 70h
hwmon: (k10temp) Add support for AMD family 17h, model 70h CPUs
Marek Szyprowski (1):
ARM: dts: exynos: Mark LDO10 as always-on on Peach Pit/Pi Chromebooks
Mark Brown (1):
regulator: Defer init completion for a while after late_initcall
Mark Rutland (2):
kasan/arm64: fix CONFIG_KASAN_SW_TAGS && KASAN_INLINE
arm64: kpti: ensure patched kernel text is fetched from PoU
Mark Salyzyn (1):
ovl: filter of trusted xattr results in audit
Martin Wilck (1):
scsi: scsi_dh_rdac: zero cdb in send_mode_select()
Masahiro Yamada (2):
ARM: at91: move platform-specific asm-offset.h to arch/arm/mach-at91
ARM: OMAP2+: move platform-specific asm-offset.h to arch/arm/mach-omap2
Masami Hiramatsu (1):
kprobes: Prohibit probing on BUG() and WARN() address
Matthias Brugger (1):
media: mtk-mdp: fix reference count on old device tree
Mauro Carvalho Chehab (2):
media: aspeed-video: address a protential usage of an unitialized var
media: ov9650: add a sanity check
Maxime Ripard (1):
ASoC: sun4i-i2s: Don't use the oversample to calculate BCLK
Michael Ellerman (1):
powerpc/Makefile: Always pass --synthetic to nm if supported
Michael Tretter (1):
media: vb2: reorder checks in vb2_poll()
Michal Hocko (1):
memcg, kmem: do not fail __GFP_NOFAIL charges
Mike Christie (1):
nbd: add missing config put
Miles Chen (1):
sched/psi: Correct overly pessimistic size calculation
Ming Lei (2):
blk-mq: add callback of .cleanup_rq
scsi: implement .cleanup_rq callback
Murphy Zhou (1):
CIFS: fix max ea value size
MyungJoo Ham (1):
PM / devfreq: passive: fix compiler warning
Nadav Amit (1):
iommu/vt-d: Fix wrong analysis whether devices share the same bus
Navid Emamdoost (2):
nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
nfp: flower: prevent memory leak in nfp_flower_spawn_phy_reprs
Neil Armstrong (1):
soc: amlogic: meson-clk-measure: protect measure with a mutex
Neil Horman (1):
x86/apic/vector: Warn when vector space exhaustion breaks affinity
NeilBrown (3):
md: don't report active array_state until after revalidate_disk() completes.
md: only call set_in_sync() when it is expected to succeed. md/raid0: avoid RAID0 data corruption due to layout confusion.
Nick Stoughton (1):
leds: leds-lp5562 allow firmware files up to the maximum length
Nigel Croxon (1):
raid5: don't increment read_errors on EILSEQ return
Nikolay Borisov (1):
btrfs: Relinquish CPUs in btrfs_compare_trees
Oleksandr Suvorov (2):
ASoC: sgtl5000: Fix of unmute outputs on probe
ASoC: sgtl5000: Fix charge pump source assignment
Oliver Neukum (3):
usbnet: sanity checking of packet sizes and device mtu
media: iguanair: add sanity checks
zd1211rw: remove false assertion from zd_mac_clear()
Ori Nimron (5):
mISDN: enforce CAP_NET_RAW for raw sockets
appletalk: enforce CAP_NET_RAW for raw sockets
ax25: enforce CAP_NET_RAW for raw sockets
ieee802154: enforce CAP_NET_RAW for raw sockets
nfc: enforce CAP_NET_RAW for raw sockets
Pan Xiuli (1):
ASoC: SOF: pci: mark last_busy value at runtime PM init
Paul E. McKenney (1):
time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint
Pavel Shilovsky (1):
CIFS: Fix oplock handling for SMB 2.1+ protocols
Peter Mamonov (1):
net/phy: fix DP83865 10 Mbps HDX loopback disable function
Peter Ujfalusi (2):
dmaengine: ti: edma: Do not reset reserved paRAM slots
ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set
Peter Zijlstra (3):
idle: Prevent late-arriving interrupts from disrupting offline x86/mm: Fix cpumask_of_node() error condition rcu/tree: Fix SCHED_FIFO params
Phil Auld (1):
sched/fair: Use rq_lock/unlock in online_fair_sched_group
Pi-Hsun Shih (1):
platform/chrome: cros_ec_rpmsg: Fix race with host command when probe failed
Qian Cai (2):
arm64/prefetch: fix a -Wtype-limits warning iommu/amd: Silence warnings under memory pressure
Qu Wenruo (6):
btrfs: delayed-inode: Kill the BUG_ON() in btrfs_delete_delayed_dir_index()
btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type
btrfs: tree-checker: Add ROOT_ITEM check
btrfs: Detect unbalanced tree with empty leaf before crashing btree operations
btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls
Quinn Tran (1):
scsi: qla2xxx: Fix Relogin to prevent modifying scan_state flag
Rafael J. Wysocki (1):
cpuidle: teo: Allow tick to be stopped if PM QoS is used
Rakesh Pandit (1):
ext4: fix warning inside ext4_convert_unwritten_extents_endio
Rakesh Pillai (1):
ath10k: fix channel info parsing for non tlv target
Randy Dunlap (1):
media: media/platform: fsl-viu.c: fix build for MICROBLAZE
Ranjani Sridharan (1):
ASoC: SOF: Intel: hda: Make hdac_device device-managed
Robert Richter (1):
EDAC/mc: Fix grain_bits calculation
Roberto Sassu (1):
KEYS: trusted: correctly initialize digests and fix locking issue
Saeed Mahameed (1):
net/mlx5e: Fix traffic duplication in ethtool steering
Sakari Ailus (2):
media: omap3isp: Don't set streaming state on random subdevs
media: omap3isp: Set device on omap3isp subdevs
Sean Christopherson (2):
KVM: x86: Manually calculate reserved bits when loading PDPTRS
KVM: x86/mmu: Use fast invalidate mechanism to zap MMIO sptes
Sean Young (3):
media: mtk-cir: lower de-glitch counter for rc-mm protocol
media: em28xx: modules workqueue not inited for 2nd device
media: dvb-frontends: use ida for pll number
Shawn Lin (1):
arm64: dts: rockchip: limit clock rate of MMC controllers for RK3328
Shengjiu Wang (1):
ASoC: fsl_ssi: Fix clock control issue in master mode
Song Liu (1):
x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()
Stefan Agner (1):
ARM: dts: imx7-colibri: disable HS400
Stefan Assmann (1):
i40e: check __I40E_VF_DISABLE bit in i40e_sync_filters_subtask
Stefan Berger (2):
tpm_tis_core: Turn on the TPM before probing IRQ's
tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts
Stefan Wahren (1):
dmaengine: bcm2835: Print error in case setting DMA mask fails
Stephen Boyd (1):
firmware: qcom_scm: Use proper types for dma mappings
Stephen Douthit (1):
EDAC, pnd2: Fix ioremap() size in dnv_rd_reg()
Stephen Hemminger (1):
skge: fix checksum byte order
Steve French (2):
smb3: allow disabling requesting leases
smb3: fix leak in "open on server" perf counter
Sudeep Holla (1):
firmware: arm_scmi: Check if platform has released shmem before using
Takashi Iwai (3):
ALSA: hda - Show the fatal CORB/RIRB error more clearly
ALSA: hda - Drop unsol event handler for Intel HDMI codecs
ALSA: hda/realtek - Blacklist PC beep for Lenovo ThinkCentre M73/93
Takashi Sakamoto (3):
ALSA: firewire-motu: add support for MOTU 4pre
ALSA: firewire-tascam: handle error code when getting current source of clock
ALSA: firewire-tascam: check intermediate state of clock status and retry
Takeshi Misawa (1):
ppp: Fix memory leak in ppp_write
Tan Xiaojun (1):
perf record: Support aarch64 random socket_id assignment
Tejun Heo (1):
fuse: fix beyond-end-of-page access in fuse_parse_cache()
Tetsuo Handa (2):
memcg, oom: don't require __GFP_FS when invoking memcg OOM killer /dev/mem: Bail out upon SIGKILL.
Thadeu Lima de Souza Cascardo (1):
alarmtimer: Use EOPNOTSUPP instead of ENOTSUPP
Theodore Ts'o (1):
ext4: fix punch hole for inline_data file systems
Thomas Gleixner (4):
x86/apic: Make apic_pending_intr_clear() more robust x86/apic: Soft disable APIC before initializing it
posix-cpu-timers: Sanitize bogus WARNONS x86/mm/pti: Do not invoke PTI functions when PTI is disabled
Tom Wu (1):
nvmet: fix data units read and written counters in SMART log
Tomas Bortoli (1):
media: ttusb-dec: Fix info-leak in ttusb_dec_send_command()
Tomas Espeleta (1):
ALSA: hda - Add a quirk model for fixing Huawei Matebook X right speaker
Tony Camuso (1):
ipmi: move message error checking to avoid deadlock
Trond Myklebust (1):
SUNRPC: Dequeue the request from the receive queue while we're re-encoding
Tzvetomir Stoyanov (1):
libtraceevent: Change users plugin directory
Ulf Hansson (4):
mmc: core: Clarify sdio_irq_pending flag for MMC_CAP2_SDIO_IRQ_NOTHREAD
mmc: core: Add helper function to indicate if SDIO IRQs is enabled
mmc: dw_mmc: Re-store SDIO IRQs mask at system resume
mmc: mtk-sd: Re-store SDIO IRQs mask at system resume
Uwe Kleine-König (1):
arcnet: provide a buffer big enough to actually receive packets
Valdis Kletnieks (1):
RAS: Build debugfs.o only when enabled in Kconfig
Vandana BN (1):
media: vivid:add sanity check to avoid divide error and set value to 1 if 0.
Vasily Averin (1):
fuse: fix missing unlock_page in fuse_writepage()
Vasily Gorbik (1):
s390/kasan: provide uninstrumented __strlen
Vincent Guittot (1):
sched/fair: Fix imbalance due to CPU affinity
Vincent Whitchurch (1):
printk: Do not lose last line in kmsg buffer dump
Vinicius Costa Gomes (1):
net/sched: cbs: Fix not adding cbs instance to list
Vinod Koul (1):
base: soc: Export soc_device_register/unregister APIs
Vitaly Wool (2):
z3fold: fix retry mechanism in page reclaim
z3fold: fix memory leak in kmem cache
Vladimir Oltean (1):
spi: spi-fsl-dspi: Exit the ISR with IRQ_NONE when it's not ours
Wang Shenran (1):
hwmon: (acpi_power_meter) Change log level for 'unsafe software power cap'
Wen Yang (1):
media: exynos4-is: fix leaked of_node references
Wenwen Wang (6):
led: triggers: Fix a memory leak bug
media: dvb-core: fix a memory leak bug
media: saa7146: add cleanup in hexium_attach()
media: cpia2_usb: fix memory leaks
ACPI: custom_method: fix memory leaks ACPI / PCI: fix acpi_pci_irq_enable() memory leak
Will Deacon (2):
arm64: tlb: Ensure we execute an ISB following walk cache invalidation iommu/arm-smmu-v3: Disable detection of ATS and PRI
Wolfram Sang (1):
media: i2c: tda1997x: prevent potential NULL pointer access
Xiao Ni (1):
md/raid6: Set R5_ReadError when there is read failure on parity disk
Xiaofei Tan (1):
efi: cper: print AER info of PCIe fatal error
Xin Long (1):
macsec: drop skb sk before calling gro_cells_receive
Yafang Shao (1):
mm/compaction.c: clear total_{migrate,free}_scanned before scanning a new zone
Yazen Ghannam (3):
EDAC/amd64: Support more than two controllers for chip selects handling EDAC/amd64: Recognize DRAM device type ECC capability EDAC/amd64: Decode syndrome before translating address
Yufen Yu (3):
md/raid1: end bio when the device faulty
md/raid1: fail run raid1 array when active disk less than one
block: fix null pointer dereference in blk_mq_rq_timed_out()
chenzefeng (1):
ia64:unwind: fix double free for mod->arch.init_unw_table
zhengbin (1):
blk-mq: Fix memory leak in blk_mq_init_allocated_queue error handling
Greg KH
maintainerDocumentation/sound/hd-audio/models.rst +3 -0
@@ -260,6 +260,9 @@ alc295-hp-x360 HP Spectre X360 fixups alc-sense-combo Headset button support for Chrome platform +huawei-mbx-stereo + Enable initialization verbs for Huawei MBX stereo speakers; + might be risky, try this at your own risk ALC66x/67x/892 ==============
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 2 -SUBLEVEL = 18 +SUBLEVEL = 19 EXTRAVERSION = NAME = Bobtail Squid
arch/arm/boot/dts/am3517-evm.dts +4 -19
@@ -124,10 +124,11 @@ }; lcd0: display@0 { - compatible = "panel-dpi"; + /* This isn't the exact LCD, but the timings meet spec */ + /* To make it work, set CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=4 */ + compatible = "newhaven,nhd-4.3-480272ef-atxl"; label = "15"; - status = "okay"; - pinctrl-names = "default"; + backlight = <&bl>; enable-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>; /* gpio176, lcd INI */ vcc-supply = <&vdd_io_reg>;
@@ -136,22 +137,6 @@ remote-endpoint = <&dpi_out>; }; }; - - panel-timing { - clock-frequency = <9000000>; - hactive = <480>; - vactive = <272>; - hfront-porch = <3>; - hback-porch = <2>; - hsync-len = <42>; - vback-porch = <3>; - vfront-porch = <4>; - vsync-len = <11>; - hsync-active = <0>; - vsync-active = <0>; - de-active = <1>; - pixelclk-active = <1>; - }; }; bl: backlight {
arch/arm/boot/dts/exynos5420-peach-pit.dts +1 -0
@@ -440,6 +440,7 @@ regulator-name = "vdd_ldo10"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-state-mem { regulator-off-in-suspend; };
arch/arm/boot/dts/exynos5800-peach-pi.dts +1 -0
@@ -440,6 +440,7 @@ regulator-name = "vdd_ldo10"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-state-mem { regulator-off-in-suspend; };
arch/arm/boot/dts/imx7-colibri.dtsi +1 -0
@@ -323,6 +323,7 @@ vmmc-supply = <®_module_3v3>; vqmmc-supply = <®_DCDC3>; non-removable; + sdhci-caps-mask = <0x80000000 0x0>; }; &iomuxc {
arch/arm/boot/dts/imx7d-cl-som-imx7.dts +2 -2
@@ -44,7 +44,7 @@ <&clks IMX7D_ENET1_TIME_ROOT_CLK>; assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>; assigned-clock-rates = <0>, <100000000>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-handle = <ðphy0>; fsl,magic-packet; status = "okay";
@@ -70,7 +70,7 @@ <&clks IMX7D_ENET2_TIME_ROOT_CLK>; assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>; assigned-clock-rates = <0>, <100000000>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-handle = <ðphy1>; fsl,magic-packet; status = "okay";
arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi +6 -31
@@ -108,7 +108,6 @@ &dss { status = "ok"; vdds_dsi-supply = <&vpll2>; - vdda_video-supply = <&video_reg>; pinctrl-names = "default"; pinctrl-0 = <&dss_dpi_pins1>; port {
@@ -124,44 +123,20 @@ display0 = &lcd0; }; - video_reg: video_reg { - pinctrl-names = "default"; - pinctrl-0 = <&panel_pwr_pins>; - compatible = "regulator-fixed"; - regulator-name = "fixed-supply"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd INI */ - }; - lcd0: display { - compatible = "panel-dpi"; + /* This isn't the exact LCD, but the timings meet spec */ + /* To make it work, set CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=4 */ + compatible = "newhaven,nhd-4.3-480272ef-atxl"; label = "15"; - status = "okay"; - /* default-on; */ pinctrl-names = "default"; - + pinctrl-0 = <&panel_pwr_pins>; + backlight = <&bl>; + enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; port { lcd_in: endpoint { remote-endpoint = <&dpi_out>; }; }; - - panel-timing { - clock-frequency = <9000000>; - hactive = <480>; - vactive = <272>; - hfront-porch = <3>; - hback-porch = <2>; - hsync-len = <42>; - vback-porch = <3>; - vfront-porch = <4>; - vsync-len = <11>; - hsync-active = <0>; - vsync-active = <0>; - de-active = <1>; - pixelclk-active = <1>; - }; }; bl: backlight {
arch/arm/configs/omap2plus_defconfig +1 -0
@@ -363,6 +363,7 @@ CONFIG_DRM_OMAP_PANEL_TPO_TD028TTEC1=m CONFIG_DRM_OMAP_PANEL_TPO_TD043MTEA1=m CONFIG_DRM_OMAP_PANEL_NEC_NL8048HL11=m CONFIG_DRM_TILCDC=m +CONFIG_DRM_PANEL_SIMPLE=m CONFIG_FB=y CONFIG_FIRMWARE_EDID=y CONFIG_FB_MODE_HELPERS=y
arch/arm/mach-at91/.gitignore new file +1 -0
@@ -0,0 +1 @@ +pm_data-offsets.h
arch/arm/mach-at91/Makefile +3 -2
@@ -19,9 +19,10 @@ ifeq ($(CONFIG_PM_DEBUG),y) CFLAGS_pm.o += -DDEBUG endif -include/generated/at91_pm_data-offsets.h: arch/arm/mach-at91/pm_data-offsets.s FORCE +$(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE $(call filechk,offsets,__PM_DATA_OFFSETS_H__) -arch/arm/mach-at91/pm_suspend.o: include/generated/at91_pm_data-offsets.h +$(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h targets += pm_data-offsets.s +clean-files += pm_data-offsets.h
arch/arm/mach-at91/pm_suspend.S +1 -1
@@ -10,7 +10,7 @@ #include <linux/linkage.h> #include <linux/clk/at91_pmc.h> #include "pm.h" -#include "generated/at91_pm_data-offsets.h" +#include "pm_data-offsets.h" #define SRAMC_SELF_FRESH_ACTIVE 0x01 #define SRAMC_SELF_FRESH_EXIT 0x00
arch/arm/mach-ep93xx/edb93xx.c +1 -1
@@ -103,7 +103,7 @@ static struct spi_board_info edb93xx_spi_board_info[] __initdata = { };static struct gpiod_lookup_table edb93xx_spi_cs_gpio_table = { - .dev_id ="ep93xx-spi.0" , + .dev_id ="spi0" , .table = {GPIO_LOOKUP ("A" ,6 ,"cs" ,GPIO_ACTIVE_LOW ), { },
arch/arm/mach-ep93xx/simone.c +1 -1
@@ -73,7 +73,7 @@ static struct spi_board_info simone_spi_devices[] __initdata = {* v1.3 parts will still work, since the signal on SFRMOUT is automatic. */ static struct gpiod_lookup_table simone_spi_cs_gpio_table = { - .dev_id ="ep93xx-spi.0" , + .dev_id ="spi0" , .table = {GPIO_LOOKUP ("A" ,1 ,"cs" ,GPIO_ACTIVE_LOW ), { },
arch/arm/mach-ep93xx/ts72xx.c +2 -2
@@ -267,7 +267,7 @@ static struct spi_board_info bk3_spi_board_info[] __initdata = {* goes through CPLD */ static struct gpiod_lookup_table bk3_spi_cs_gpio_table = { - .dev_id ="ep93xx-spi.0" , + .dev_id ="spi0" , .table = {GPIO_LOOKUP ("F" ,3 ,"cs" ,GPIO_ACTIVE_LOW ), { },
@@ -316,7 +316,7 @@ static struct spi_board_info ts72xx_spi_devices[] __initdata = { };static struct gpiod_lookup_table ts72xx_spi_cs_gpio_table = { - .dev_id ="ep93xx-spi.0" , + .dev_id ="spi0" , .table = {/* DIO_17 */ GPIO_LOOKUP ("F" ,2 ,"cs" ,GPIO_ACTIVE_LOW ),
arch/arm/mach-ep93xx/vision_ep9307.c +1 -1
@@ -242,7 +242,7 @@ static struct spi_board_info vision_spi_board_info[] __initdata = { };static struct gpiod_lookup_table vision_spi_cs_gpio_table = { - .dev_id ="ep93xx-spi.0" , + .dev_id ="spi0" , .table = {GPIO_LOOKUP_IDX ("A" ,6 ,"cs" ,0 ,GPIO_ACTIVE_LOW ),GPIO_LOOKUP_IDX ("A" ,7 ,"cs" ,1 ,GPIO_ACTIVE_LOW ),
arch/arm/mach-omap2/.gitignore new file +1 -0
@@ -0,0 +1 @@ +pm-asm-offsets.h
arch/arm/mach-omap2/Makefile +3 -2
@@ -236,9 +236,10 @@ obj-y += omap_phy_internal.o obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o -include/generated/ti-pm-asm-offsets.h: arch/arm/mach-omap2/pm-asm-offsets.s FORCE +$(obj)/pm-asm-offsets.h: $(obj)/pm-asm-offsets.s FORCE $(call filechk,offsets,__TI_PM_ASM_OFFSETS_H__) -$(obj)/sleep33xx.o $(obj)/sleep43xx.o: include/generated/ti-pm-asm-offsets.h +$(obj)/sleep33xx.o $(obj)/sleep43xx.o: $(obj)/pm-asm-offsets.h targets += pm-asm-offsets.s +clean-files += pm-asm-offsets.h
arch/arm/mach-omap2/sleep33xx.S +1 -1
@@ -6,7 +6,6 @@ * Dave Gerlach, Vaibhav Bedia */ -#include <generated/ti-pm-asm-offsets.h> #include <linux/linkage.h> #include <linux/platform_data/pm33xx.h> #include <linux/ti-emif-sram.h>
@@ -15,6 +14,7 @@ #include "iomap.h" #include "cm33xx.h" +#include "pm-asm-offsets.h" #define AM33XX_CM_CLKCTRL_MODULESTATE_DISABLED 0x00030000 #define AM33XX_CM_CLKCTRL_MODULEMODE_DISABLE 0x0003
arch/arm/mach-omap2/sleep43xx.S +1 -1
@@ -6,7 +6,6 @@ * Dave Gerlach, Vaibhav Bedia */ -#include <generated/ti-pm-asm-offsets.h> #include <linux/linkage.h> #include <linux/ti-emif-sram.h> #include <linux/platform_data/pm33xx.h>
@@ -19,6 +18,7 @@ #include "iomap.h" #include "omap-secure.h" #include "omap44xx.h" +#include "pm-asm-offsets.h" #include "prm33xx.h" #include "prcm43xx.h"
arch/arm/mach-zynq/platsmp.c +1 -1
@@ -57,7 +57,7 @@ int zynq_cpun_start(u32 address, int cpu)* 0x4: Jump by mov instruction * 0x8: Jumping address */ -memcpy ((__force void *)zero, &zynq_secondary_trampoline, +memcpy_toio (zero, &zynq_secondary_trampoline, trampoline_size);writel (address, zero + trampoline_size);
arch/arm/mm/copypage-xscale.c +4 -2
@@ -42,6 +42,7 @@ static void mc_copy_user_page(void *from, void *to)* when prefetching destination as well. (NP) */ asm volatile ("\ +.arch xscale \n\ pld [%0, #0] \n\ pld [%0, #32] \n\ pld [%1, #0] \n\
@@ -106,8 +107,9 @@ void xscale_mc_clear_user_highpage(struct page *page, unsigned long vaddr) { void *ptr, *kaddr = kmap_atomic(page); - asm volatile( - "mov r1, %2 \n\ + asm volatile("\ +.arch xscale \n\ + mov r1, %2 \n\ mov r2, #0 \n\ mov r3, #0 \n\ 1: mov ip, %0 \n\
arch/arm/plat-samsung/watchdog-reset.c +1 -0
@@ -62,6 +62,7 @@ void samsung_wdt_reset(void)#ifdef CONFIG_OF static const struct of_device_id s3c2410_wdt_match[] = { { .compatible ="samsung,s3c2410-wdt" }, + { .compatible ="samsung,s3c6410-wdt" }, {}, };
arch/arm64/boot/dts/rockchip/rk3328.dtsi +3 -0
@@ -800,6 +800,7 @@ <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; + max-frequency = <150000000>; status = "disabled"; };
@@ -811,6 +812,7 @@ <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; + max-frequency = <150000000>; status = "disabled"; };
@@ -822,6 +824,7 @@ <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; + max-frequency = <150000000>; status = "disabled"; };
arch/arm64/include/asm/cputype.h +11 -10
@@ -51,14 +51,6 @@#define MIDR_CPU_MODEL_MASK (MIDR_IMPLEMENTOR_MASK | MIDR_PARTNUM_MASK | \ MIDR_ARCHITECTURE_MASK) -#define MIDR_IS_CPU_MODEL_RANGE (midr, model, rv_min, rv_max) \ -({ \ - u32 _model = (midr) & MIDR_CPU_MODEL_MASK; \ - u32 rv = (midr) & (MIDR_REVISION_MASK | MIDR_VARIANT_MASK); \ - \ - _model == (model) && rv >= (rv_min) && rv <= (rv_max); \ - }) -#define ARM_CPU_IMP_ARM 0x41#define ARM_CPU_IMP_APM 0x50#define ARM_CPU_IMP_CAVIUM 0x43
@@ -159,10 +151,19 @@ struct midr_range {#define MIDR_REV (m, v, r) MIDR_RANGE(m, v, r, v, r)#define MIDR_ALL_VERSIONS (m) MIDR_RANGE(m, 0, 0, 0xf, 0xf) +static inline bool midr_is_cpu_model_range (u32 midr,u32 model,u32 rv_min, +u32 rv_max) +{ +u32 _model = midr &MIDR_CPU_MODEL_MASK ; +u32 rv = midr & (MIDR_REVISION_MASK |MIDR_VARIANT_MASK ); + +return _model == model && rv >= rv_min && rv <= rv_max; +} +static inline bool is_midr_in_range (u32 midr,struct midr_range const *range) { -return MIDR_IS_CPU_MODEL_RANGE (midr, range->model, - range->rv_min, range->rv_max); +return midr_is_cpu_model_range (midr, range->model, + range->rv_min, range->rv_max); } static inline bool
arch/arm64/include/asm/exception.h +2 -0
@@ -30,4 +30,6 @@ static inline u32 disr_to_esr(u64 disr)return esr; } +asmlinkage void enter_from_user_mode(void); +#endif /* __ASM_EXCEPTION_H */
arch/arm64/include/asm/tlbflush.h +1 -0
@@ -251,6 +251,7 @@ static inline void __flush_tlb_kernel_pgtable(unsigned long kaddr)dsb (ishst);__tlbi (vaae1is, addr);dsb (ish); + isb(); }#endif
arch/arm64/kernel/cpufeature.c +1 -1
@@ -894,7 +894,7 @@ static bool has_no_hw_prefetch(const struct arm64_cpu_capabilities *entry, int _u32 midr =read_cpuid_id ();/* Cavium ThunderX pass 1.x and 2.x */ -return MIDR_IS_CPU_MODEL_RANGE (midr,MIDR_THUNDERX , +return midr_is_cpu_model_range (midr,MIDR_THUNDERX ,MIDR_CPU_VAR_REV (0 ,0 ),MIDR_CPU_VAR_REV (1 ,MIDR_REVISION_MASK )); }
arch/arm64/kernel/entry.S +19 -17
@@ -30,9 +30,9 @@ * Context tracking subsystem. Used to instrument transitions * between user and kernel mode. */ - .macro ct_user_exit + .macro ct_user_exit_irqoff #ifdef CONFIG_CONTEXT_TRACKING - bl context_tracking_user_exit + bl enter_from_user_mode #endif .endm
@@ -792,8 +792,8 @@ el0_cp15: /* * Trapped CP15 (MRC, MCR, MRRC, MCRR) instructions */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, x25 mov x1, sp bl do_cp15instr
@@ -805,8 +805,8 @@ el0_da: * Data abort handling */ mrs x26, far_el1 + ct_user_exit_irqoff enable_daif - ct_user_exit clear_address_tag x0, x26 mov x1, x25 mov x2, sp
@@ -818,11 +818,11 @@ el0_ia: */ mrs x26, far_el1 gic_prio_kentry_setup tmp=x0 + ct_user_exit_irqoff enable_da_f #ifdef CONFIG_TRACE_IRQFLAGS bl trace_hardirqs_off #endif - ct_user_exit mov x0, x26 mov x1, x25 mov x2, sp
@@ -832,8 +832,8 @@ el0_fpsimd_acc: /* * Floating Point or Advanced SIMD access */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, x25 mov x1, sp bl do_fpsimd_acc
@@ -842,8 +842,8 @@ el0_sve_acc: /* * Scalable Vector Extension access */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, x25 mov x1, sp bl do_sve_acc
@@ -852,8 +852,8 @@ el0_fpsimd_exc: /* * Floating Point, Advanced SIMD or SVE exception */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, x25 mov x1, sp bl do_fpsimd_exc
@@ -868,11 +868,11 @@ el0_sp_pc: * Stack or PC alignment exception handling */ gic_prio_kentry_setup tmp=x0 + ct_user_exit_irqoff enable_da_f #ifdef CONFIG_TRACE_IRQFLAGS bl trace_hardirqs_off #endif - ct_user_exit mov x0, x26 mov x1, x25 mov x2, sp
@@ -882,8 +882,8 @@ el0_undef: /* * Undefined instruction */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, sp bl do_undefinstr b ret_to_user
@@ -891,8 +891,8 @@ el0_sys: /* * System instructions, for trapped cache maintenance instructions */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, x25 mov x1, sp bl do_sysinstr
@@ -902,17 +902,18 @@ el0_dbg: * Debug exception handling */ tbnz x24, #0, el0_inv // EL0 only + mrs x24, far_el1 gic_prio_kentry_setup tmp=x3 - mrs x0, far_el1 + ct_user_exit_irqoff + mov x0, x24 mov x1, x25 mov x2, sp bl do_debug_exception enable_da_f - ct_user_exit b ret_to_user el0_inv: + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, sp mov x1, #BAD_SYNC mov x2, x25
@@ -925,13 +926,13 @@ el0_irq: kernel_entry 0 el0_irq_naked: gic_prio_irq_setup pmr=x20, tmp=x0 + ct_user_exit_irqoff enable_da_f #ifdef CONFIG_TRACE_IRQFLAGS bl trace_hardirqs_off #endif - ct_user_exit #ifdef CONFIG_HARDEN_BRANCH_PREDICTOR tbz x22, #55, 1f bl do_el0_irq_bp_hardening
@@ -958,13 +959,14 @@ ENDPROC(el1_error) el0_error: kernel_entry 0 el0_error_naked: - mrs x1, esr_el1 + mrs x25, esr_el1 gic_prio_kentry_setup tmp=x2 + ct_user_exit_irqoff enable_dbg mov x0, sp + mov x1, x25 bl do_serror enable_da_f - ct_user_exit b ret_to_user ENDPROC(el0_error)
arch/arm64/kernel/image-vars.h new file +51 -0
51 lines not on this page · raw message
arch/arm64/kernel/image.h +0 -42
46 lines not on this page · raw message
arch/arm64/kernel/traps.c +9 -0
@@ -7,9 +7,11 @@*/ #include <linux/bug.h> +#include <linux/context_tracking.h> #include <linux/signal.h> #include <linux/personality.h> #include <linux/kallsyms.h> +#include <linux/kprobes.h> #include <linux/spinlock.h> #include <linux/uaccess.h> #include <linux/hardirq.h>
@@ -905,6 +907,13 @@ asmlinkage void do_serror(struct pt_regs *regs, unsigned int esr)nmi_exit (); } +asmlinkage void enter_from_user_mode(void) +{ +CT_WARN_ON (ct_state () !=CONTEXT_USER ); +user_exit_irqoff (); +} +NOKPROBE_SYMBOL (enter_from_user_mode); +void __pte_error (const char *file,int line,unsigned long val) {pr_err ("%s:%d: bad pte %016lx.\n" , file, line, val);
arch/arm64/kernel/vmlinux.lds.S +2 -0
@@ -245,6 +245,8 @@ SECTIONS HEAD_SYMBOLS } +#include "image-vars.h" + /* * The HYP init code and ID map text can't be longer than a page each, * and should not cross a page boundary.
arch/arm64/mm/init.c +5 -1
@@ -570,8 +570,12 @@ void free_initmem(void)#ifdef CONFIG_BLK_DEV_INITRD void __init free_initrd_mem (unsigned long start,unsigned long end) { +unsigned long aligned_start, aligned_end; + + aligned_start =__virt_to_phys (start) &PAGE_MASK ; + aligned_end =PAGE_ALIGN (__virt_to_phys (end)); +memblock_free (aligned_start, aligned_end - aligned_start);free_reserved_area ((void *)start, (void *)end,0 ,"initrd" ); -memblock_free (__virt_to_phys (start), end - start); }#endif
arch/arm64/mm/proc.S +9 -0
@@ -286,6 +286,15 @@ skip_pgd: msr sctlr_el1, x18 isb + /* + * Invalidate the local I-cache so that any instructions fetched + * speculatively from the PoC are discarded, since they may have + * been dynamically patched at the PoU. + */ + ic iallu + dsb nsh + isb + /* Set the flag to zero to indicate that we're all done */ str wzr, [flag_ptr] ret
arch/ia64/kernel/module.c +6 -2
@@ -914,10 +914,14 @@ module_finalize (const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *movoid module_arch_cleanup (struct module *mod) { -if (mod->arch.init_unw_table) +if (mod->arch.init_unw_table) {unw_remove_unwind_table (mod->arch.init_unw_table); -if (mod->arch.core_unw_table) + mod->arch.init_unw_table =NULL ; + } +if (mod->arch.core_unw_table) {unw_remove_unwind_table (mod->arch.core_unw_table); + mod->arch.core_unw_table =NULL ; + } }void *dereference_module_function_descriptor (struct module *mod,void *ptr)
arch/m68k/include/asm/atarihw.h +0 -9
@@ -22,7 +22,6 @@#include <linux/types.h> #include <asm/bootinfo-atari.h> -#include <asm/raw_io.h> #include <asm/kmap.h> extern u_long atari_mch_cookie;
@@ -132,14 +131,6 @@ extern struct atari_hw_present atari_hw_present;*/ -#define atari_readb raw_inb -#define atari_writeb raw_outb - -#define atari_inb_p raw_inb -#define atari_outb_p raw_outb - - -#include <linux/mm.h> #include <asm/cacheflush.h>
arch/m68k/include/asm/io_mm.h +5 -1
@@ -29,7 +29,11 @@#include <asm-generic/iomap.h> #ifdef CONFIG_ATARI -#include <asm/atarihw.h> +#define atari_readb raw_inb +#define atari_writeb raw_outb + +#define atari_inb_p raw_inb +#define atari_outb_p raw_outb#endif
arch/m68k/include/asm/macintosh.h +1 -0
@@ -4,6 +4,7 @@#include <linux/seq_file.h> #include <linux/interrupt.h> +#include <linux/irq.h> #include <asm/bootinfo-mac.h>
arch/powerpc/Makefile +0 -2
@@ -39,13 +39,11 @@ endif uname := $(shell uname -m) KBUILD_DEFCONFIG := $(if $(filter ppc%,$(uname)),$(uname),ppc64)_defconfig -ifdef CONFIG_PPC64 new_nm := $(shell if $(NM) --help 2>&1 | grep -- '--synthetic' > /dev/null; then echo y; else echo n; fi) ifeq ($(new_nm),y) NM := $(NM) --synthetic endif -endif # BITS is used as extension for files which are available in a 32 bit # and a 64 bit version to simplify shared Makefiles.
arch/powerpc/platforms/powernv/opal-imc.c +6 -6
@@ -53,9 +53,9 @@ static void export_imc_mode_and_cmd(struct device_node *node, struct imc_pmu *pmu_ptr) {static u64 loc, *imc_mode_addr, *imc_cmd_addr; -int chip =0 , nid;char mode[16 ], cmd[16 ];u32 cb_offset; +struct imc_mem_info *ptr = pmu_ptr->mem_info; imc_debugfs_parent =debugfs_create_dir ("imc" , powerpc_debugfs_root);
@@ -69,20 +69,20 @@ static void export_imc_mode_and_cmd(struct device_node *node,if (of_property_read_u32 (node,"cb_offset" , &cb_offset)) cb_offset =IMC_CNTL_BLK_OFFSET ; -for_each_node (nid) { - loc = (u64)(pmu_ptr->mem_info[chip].vbase) + cb_offset; +while (ptr->vbase !=NULL ) { + loc = (u64)(ptr->vbase) + cb_offset; imc_mode_addr = (u64 *)(loc +IMC_CNTL_BLK_MODE_OFFSET ); -sprintf (mode,"imc_mode_%d" , nid); +sprintf (mode,"imc_mode_%d" , (u32)(ptr->id));if (!imc_debugfs_create_x64 (mode,0600 , imc_debugfs_parent, imc_mode_addr)) goto err; imc_cmd_addr = (u64 *)(loc +IMC_CNTL_BLK_CMD_OFFSET ); -sprintf (cmd,"imc_cmd_%d" , nid); +sprintf (cmd,"imc_cmd_%d" , (u32)(ptr->id));if (!imc_debugfs_create_x64 (cmd,0600 , imc_debugfs_parent, imc_cmd_addr)) goto err; - chip++; + ptr++; }return ;
arch/s390/crypto/aes_s390.c +6 -0
@@ -586,6 +586,9 @@ static int xts_aes_encrypt(struct blkcipher_desc *desc,struct s390_xts_ctx *xts_ctx =crypto_blkcipher_ctx (desc->tfm);struct blkcipher_walk walk; +if (!nbytes) +return -EINVAL ; +if (unlikely (!xts_ctx->fc))return xts_fallback_encrypt (desc, dst, src, nbytes);
@@ -600,6 +603,9 @@ static int xts_aes_decrypt(struct blkcipher_desc *desc,struct s390_xts_ctx *xts_ctx =crypto_blkcipher_ctx (desc->tfm);struct blkcipher_walk walk; +if (!nbytes) +return -EINVAL ; +if (unlikely (!xts_ctx->fc))return xts_fallback_decrypt (desc, dst, src, nbytes);
arch/s390/include/asm/string.h +7 -2
@@ -71,11 +71,16 @@ extern void *__memmove(void *dest, const void *src, size_t n);#define memcpy (dst, src, len) __memcpy(dst, src, len)#define memmove (dst, src, len) __memmove(dst, src, len)#define memset (s, c, n) __memset(s, c, n) +#define strlen (s) __strlen(s) + +#define __no_sanitize_prefix_strfunc (x) __##x#ifndef __NO_FORTIFY#define __NO_FORTIFY/* FORTIFY_SOURCE uses __builtin_memcpy, etc. */ #endif +#else +#define __no_sanitize_prefix_strfunc (x) x#endif /* defined(CONFIG_KASAN) && !defined(__SANITIZE_ADDRESS__) */ void *__memset16 (uint16_t *s,uint16_t v,size_t count);
@@ -163,8 +168,8 @@ static inline char *strcpy(char *dst, const char *src) }#endif -#ifdef __HAVE_ARCH_STRLEN -static inline size_t strlen (const char *s) +#if defined(__HAVE_ARCH_STRLEN) || (defined(CONFIG_KASAN ) && !defined(__SANITIZE_ADDRESS__)) +static inline size_t __no_sanitize_prefix_strfunc (strlen )(const char *s) { register unsigned long r0 asm("0") = 0;const char *tmp = s;
arch/x86/include/asm/intel-family.h +3 -0
@@ -58,6 +58,9 @@#define INTEL_FAM6_ICELAKE_MOBILE 0x7E#define INTEL_FAM6_ICELAKE_NNPI 0x9D +#define INTEL_FAM6_TIGERLAKE_L 0x8C +#define INTEL_FAM6_TIGERLAKE 0x8D +/* "Small Core" Processors (Atom) */ #define INTEL_FAM6_ATOM_BONNELL 0x1C/* Diamondville, Pineview */
arch/x86/include/asm/kvm_host.h +7 -0
@@ -1576,6 +1576,13 @@ bool kvm_intr_is_single_vcpu(struct kvm *kvm, struct kvm_lapic_irq *irq,void kvm_set_msi_irq (struct kvm *kvm,struct kvm_kernel_irq_routing_entry *e,struct kvm_lapic_irq *irq); +static inline bool kvm_irq_is_postable (struct kvm_lapic_irq *irq) +{ +/* We can only post Fixed and LowPrio IRQs */ +return (irq->delivery_mode == dest_Fixed || + irq->delivery_mode == dest_LowestPrio); +} +static inline void kvm_arch_vcpu_blocking (struct kvm_vcpu *vcpu) {if (kvm_x86_ops->vcpu_blocking)
arch/x86/kernel/amd_nb.c +3 -0
@@ -21,6 +21,7 @@#define PCI_DEVICE_ID_AMD_17H_DF_F4 0x1464#define PCI_DEVICE_ID_AMD_17H_M10H_DF_F4 0x15ec#define PCI_DEVICE_ID_AMD_17H_M30H_DF_F4 0x1494 +#define PCI_DEVICE_ID_AMD_17H_M70H_DF_F4 0x1444/* Protect the PCI config register pairs used for SMN and DF indirect access. */ static DEFINE_MUTEX (smn_mutex);
@@ -50,6 +51,7 @@ const struct pci_device_id amd_nb_misc_ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M10H_DF_F3) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M30H_DF_F3) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CNB17H_F3) }, + { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) }, {} };EXPORT_SYMBOL_GPL (amd_nb_misc_ids);
@@ -63,6 +65,7 @@ static const struct pci_device_id amd_nb_link_ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_DF_F4) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M10H_DF_F4) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M30H_DF_F4) }, + { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F4) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CNB17H_F4) }, {} };
arch/x86/kernel/apic/apic.c +71 -44
137 lines not on this page · raw message
arch/x86/kernel/apic/vector.c +11 -0
@@ -398,6 +398,17 @@ static int activate_reserved(struct irq_data *irqd)if (!irqd_can_reserve (irqd)) apicd->can_reserve = false; } + +/* +* Check to ensure that the effective affinity mask is a subset +* the user supplied affinity mask, and warn the user if it is not +*/ +if (!cpumask_subset (irq_data_get_effective_affinity_mask (irqd), +irq_data_get_affinity_mask (irqd))) { +pr_warn ("irq %u: Affinity broken due to vector space exhaustion.\n" , + irqd->irq); + } +return ret; }
arch/x86/kernel/smp.c +27 -19
72 lines not on this page · raw message
arch/x86/kvm/emulate.c +2 -0
@@ -5377,6 +5377,8 @@ int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len) ctxt->memopp->addr.mem.ea + ctxt->_eip); done: +if (rc ==X86EMUL_PROPAGATE_FAULT ) + ctxt->have_exception = true;return (rc !=X86EMUL_CONTINUE ) ?EMULATION_FAILED :EMULATION_OK ; }
arch/x86/kvm/mmu.c +25 -22
114 lines not on this page · raw message
arch/x86/kvm/svm.c +3 -1
@@ -5252,7 +5252,8 @@ get_pi_vcpu_info(struct kvm *kvm, struct kvm_kernel_irq_routing_entry *e,kvm_set_msi_irq (kvm, e, &irq); -if (!kvm_intr_is_single_vcpu (kvm, &irq, &vcpu)) { +if (!kvm_intr_is_single_vcpu (kvm, &irq, &vcpu) || + !kvm_irq_is_postable (&irq)) {pr_debug ("SVM: %s: use legacy intr remap mode for irq %u\n" , __func__, irq.vector);return -1 ;
@@ -5306,6 +5307,7 @@ static int svm_update_pi_irte(struct kvm *kvm, unsigned int host_irq,* 1. When cannot target interrupt to a specific vcpu. * 2. Unsetting posted interrupt. * 3. APIC virtialization is disabled for the vcpu. +* 4. IRQ has incompatible delivery mode (SMI, INIT, etc) */ if (!get_pi_vcpu_info (kvm, e, &vcpu_info, &svm) && set &&kvm_vcpu_apicv_active (&svm->vcpu)) {
arch/x86/kvm/vmx/vmx.c +5 -1
@@ -7325,10 +7325,14 @@ static int vmx_update_pi_irte(struct kvm *kvm, unsigned int host_irq,* irqbalance to make the interrupts single-CPU. * * We will support full lowest-priority interrupt later. +* +* In addition, we can only inject generic interrupts using +* the PI mechanism, refuse to route others through it. */ kvm_set_msi_irq (kvm, e, &irq); -if (!kvm_intr_is_single_vcpu (kvm, &irq, &vcpu)) { +if (!kvm_intr_is_single_vcpu (kvm, &irq, &vcpu) || + !kvm_irq_is_postable (&irq)) {/* * Make sure the IRTE is in remapped mode if * we don't handle it in posted mode.
arch/x86/kvm/x86.c +17 -4
@@ -669,8 +669,14 @@ static int kvm_read_nested_guest_page(struct kvm_vcpu *vcpu, gfn_t gfn, data, offset, len, access); } +static inline u64 pdptr_rsvd_bits (struct kvm_vcpu *vcpu) +{ +return rsvd_bits (cpuid_maxphyaddr (vcpu),63 ) |rsvd_bits (5 ,8 ) | +rsvd_bits (1 ,2 ); +} +/* -* Load the pae pdptrs. Return true is they are all valid. +* Load the pae pdptrs. Return 1 if they are all valid, 0 otherwise. */ int load_pdptrs (struct kvm_vcpu *vcpu,struct kvm_mmu *mmu,unsigned long cr3) {
@@ -689,8 +695,7 @@ int load_pdptrs(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, unsigned long cr3) }for (i =0 ; i <ARRAY_SIZE (pdpte); ++i) {if ((pdpte[i] &PT_PRESENT_MASK ) && - (pdpte[i] & - vcpu->arch.mmu->guest_rsvd_check.rsvd_bits_mask[0 ][2 ])) { + (pdpte[i] &pdptr_rsvd_bits (vcpu))) { ret =0 ; goto out; }
@@ -6481,8 +6486,16 @@ int x86_emulate_instruction(struct kvm_vcpu *vcpu,if (reexecute_instruction (vcpu, cr2, write_fault_to_spt, emulation_type))return EMULATE_DONE ; -if (ctxt->have_exception &&inject_emulated_exception (vcpu)) +if (ctxt->have_exception) { +/* +* #UD should result in just EMULATION_FAILED, and trap-like +* exception should not be encountered during decode. +*/ +WARN_ON_ONCE (ctxt->exception.vector ==UD_VECTOR || +exception_type (ctxt->exception.vector) ==EXCPT_TRAP ); +inject_emulated_exception (vcpu);return EMULATE_DONE ; + }if (emulation_type &EMULTYPE_SKIP )return EMULATE_FAIL ;return handle_emulation_failure (vcpu, emulation_type);
arch/x86/mm/numa.c +2 -2
@@ -861,9 +861,9 @@ void numa_remove_cpu(int cpu)*/ const struct cpumask *cpumask_of_node (int node) { -if (node >= nr_node_ids) { +if ((unsigned )node >= nr_node_ids) {printk (KERN_WARNING -"cpumask_of_node(%d): node > nr_node_ids(%u)\n" , +"cpumask_of_node(%d): (unsigned)node >= nr_node_ids(%u)\n" , node, nr_node_ids);dump_stack ();return cpu_none_mask;
arch/x86/mm/pti.c +6 -2
@@ -330,13 +330,15 @@ pti_clone_pgtable(unsigned long start, unsigned long end, pud =pud_offset (p4d, addr);if (pud_none (*pud)) { - addr +=PUD_SIZE ; +WARN_ON_ONCE (addr & ~PUD_MASK ); + addr =round_up (addr +1 ,PUD_SIZE );continue ; } pmd =pmd_offset (pud, addr);if (pmd_none (*pmd)) { - addr +=PMD_SIZE ; +WARN_ON_ONCE (addr & ~PMD_MASK ); + addr =round_up (addr +1 ,PMD_SIZE );continue ; }
@@ -666,6 +668,8 @@ void __init pti_init(void)*/ void pti_finalize (void ) { +if (!boot_cpu_has (X86_FEATURE_PTI )) +return ;/* * We need to clone everything (again) that maps parts of the * kernel image.
arch/x86/platform/intel/iosf_mbi.c +62 -38
205 lines not on this page · raw message
block/blk-flush.c +10 -0
@@ -214,6 +214,16 @@ static void flush_end_io(struct request *flush_rq, blk_status_t error)/* release the tag's ownership to the req cloned from */ spin_lock_irqsave (&fq->mq_flush_lock, flags); + +if (!refcount_dec_and_test (&flush_rq->ref)) { + fq->rq_status = error; +spin_unlock_irqrestore (&fq->mq_flush_lock, flags); +return ; + } + +if (fq->rq_status !=BLK_STS_OK ) + error = fq->rq_status; + hctx = flush_rq->mq_hctx;if (!q->elevator) {blk_mq_tag_set_rq (hctx, flush_rq->tag, fq->orig_rq);
block/blk-mq.c +15 -10
@@ -44,12 +44,12 @@ static void blk_mq_poll_stats_fn(struct blk_stat_callback *cb);static int blk_mq_poll_stats_bkt (const struct request *rq) { -int ddir, bytes, bucket; +int ddir, sectors, bucket; ddir =rq_data_dir (rq); - bytes =blk_rq_bytes (rq); + sectors =blk_rq_stats_sectors (rq); - bucket = ddir +2 *(ilog2 (bytes) -9 ); + bucket = ddir +2 *ilog2 (sectors);if (bucket <0 )return -1 ;
@@ -330,6 +330,7 @@ static struct request *blk_mq_rq_ctx_init(struct blk_mq_alloc_data *data,else rq->start_time_ns =0 ; rq->io_start_time_ns =0 ; + rq->stats_sectors =0 ; rq->nr_phys_segments =0 ;#if defined(CONFIG_BLK_DEV_INTEGRITY ) rq->nr_integrity_segments =0 ;
@@ -679,9 +680,7 @@ void blk_mq_start_request(struct request *rq)if (test_bit (QUEUE_FLAG_STATS , &q->queue_flags)) { rq->io_start_time_ns =ktime_get_ns (); -#ifdef CONFIG_BLK_DEV_THROTTLING_LOW - rq->throtl_size =blk_rq_sectors (rq); -#endif + rq->stats_sectors =blk_rq_sectors (rq); rq->rq_flags |=RQF_STATS ;rq_qos_issue (q, rq); }
@@ -911,7 +910,10 @@ static bool blk_mq_check_expired(struct blk_mq_hw_ctx *hctx,*/ if (blk_mq_req_expired (rq, next))blk_mq_rq_timed_out (rq, reserved); -if (refcount_dec_and_test (&rq->ref)) + +if (is_flush_rq (rq, hctx)) + rq->end_io (rq,0 ); +else if (refcount_dec_and_test (&rq->ref))__blk_mq_free_request (rq);return true;
@@ -2853,6 +2855,8 @@ static unsigned int nr_hw_queues(struct blk_mq_tag_set *set)struct request_queue *blk_mq_init_allocated_queue (struct blk_mq_tag_set *set,struct request_queue *q) { +int ret = -ENOMEM ; +/* mark the queue as mq asap */ q->mq_ops = set->ops;
@@ -2914,17 +2918,18 @@ struct request_queue *blk_mq_init_allocated_queue(struct blk_mq_tag_set *set,blk_mq_map_swqueue (q);if (!(set->flags &BLK_MQ_F_NO_SCHED )) { -int ret; - ret =elevator_init_mq (q);if (ret) -return ERR_PTR (ret); + goto err_tag_set; }return q; +err_tag_set: +blk_mq_del_queue_tag_set (q); err_hctxs:kfree (q->queue_hw_ctx); + q->nr_hw_queues =0 ; err_sys_init:blk_mq_sysfs_deinit (q); err_poll:
block/blk-throttle.c +2 -1
@@ -2246,7 +2246,8 @@ void blk_throtl_stat_add(struct request *rq, u64 time_ns)struct request_queue *q = rq->q;struct throtl_data *td = q->td; -throtl_track_latency (td, rq->throtl_size,req_op (rq), time_ns >>10 ); +throtl_track_latency (td,blk_rq_stats_sectors (rq),req_op (rq), + time_ns >>10 ); }void blk_throtl_bio_endio (struct bio *bio)
block/blk.h +7 -0
@@ -19,6 +19,7 @@ struct blk_flush_queue { unsigned int flush_queue_delayed:1; unsigned int flush_pending_idx:1; unsigned int flush_running_idx:1; +blk_status_t rq_status;unsigned long flush_pending_since;struct list_head flush_queue[2 ];struct list_head flush_data_in_flight;
@@ -47,6 +48,12 @@ static inline void __blk_get_queue(struct request_queue *q)kobject_get (&q->kobj); } +static inline bool +is_flush_rq (struct request *req,struct blk_mq_hw_ctx *hctx) +{ +return hctx->fq->flush_rq == req; +} +struct blk_flush_queue *blk_alloc_flush_queue (struct request_queue *q,int node,int cmd_size,gfp_t flags);void blk_free_flush_queue (struct blk_flush_queue *q);
block/mq-deadline.c +9 -10
@@ -377,13 +377,6 @@ static struct request *__dd_dispatch_request(struct deadline_data *dd)* hardware queue, but we may return a request that is for a * different hardware queue. This is because mq-deadline has shared * state for all hardware queues, in terms of sorting, FIFOs, etc. -* -* For a zoned block device, __dd_dispatch_request() may return NULL -* if all the queued write requests are directed at zones that are already -* locked due to on-going write requests. In this case, make sure to mark -* the queue as needing a restart to ensure that the queue is run again -* and the pending writes dispatched once the target zones for the ongoing -* write requests are unlocked in dd_finish_request(). */ static struct request *dd_dispatch_request (struct blk_mq_hw_ctx *hctx) {
@@ -392,9 +385,6 @@ static struct request *dd_dispatch_request(struct blk_mq_hw_ctx *hctx)spin_lock (&dd->lock); rq =__dd_dispatch_request (dd); -if (!rq &&blk_queue_is_zoned (hctx->queue) && - !list_empty (&dd->fifo_list[WRITE ])) -blk_mq_sched_mark_restart_hctx (hctx);spin_unlock (&dd->lock);return rq;
@@ -560,6 +550,13 @@ static void dd_prepare_request(struct request *rq, struct bio *bio)* spinlock so that the zone is never unlocked while deadline_fifo_request() * or deadline_next_request() are executing. This function is called for * all requests, whether or not these requests complete successfully. +* +* For a zoned block device, __dd_dispatch_request() may have stopped +* dispatching requests if all the queued requests are write requests directed +* at zones that are already locked due to on-going write requests. To ensure +* write request dispatch progress in this case, mark the queue as needing a +* restart to ensure that the queue is run again after completion of the +* request and zones being unlocked. */ static void dd_finish_request (struct request *rq) {
@@ -571,6 +568,8 @@ static void dd_finish_request(struct request *rq)spin_lock_irqsave (&dd->zone_lock, flags);blk_req_zone_write_unlock (rq); +if (!list_empty (&dd->fifo_list[WRITE ])) +blk_mq_sched_mark_restart_hctx (rq->mq_hctx);spin_unlock_irqrestore (&dd->zone_lock, flags); } }
drivers/acpi/acpi_lpss.c +5 -3
@@ -219,12 +219,13 @@ static void bsw_pwm_setup(struct lpss_private_data *pdata) }static const struct lpss_device_desc lpt_dev_desc = { - .flags =LPSS_CLK |LPSS_CLK_GATE |LPSS_CLK_DIVIDER |LPSS_LTR , + .flags =LPSS_CLK |LPSS_CLK_GATE |LPSS_CLK_DIVIDER |LPSS_LTR + |LPSS_SAVE_CTX , .prv_offset =0x800 , };static const struct lpss_device_desc lpt_i2c_dev_desc = { - .flags =LPSS_CLK |LPSS_CLK_GATE |LPSS_LTR , + .flags =LPSS_CLK |LPSS_CLK_GATE |LPSS_LTR |LPSS_SAVE_CTX , .prv_offset =0x800 , };
@@ -236,7 +237,8 @@ static struct property_entry uart_properties[] = { };static const struct lpss_device_desc lpt_uart_dev_desc = { - .flags =LPSS_CLK |LPSS_CLK_GATE |LPSS_CLK_DIVIDER |LPSS_LTR , + .flags =LPSS_CLK |LPSS_CLK_GATE |LPSS_CLK_DIVIDER |LPSS_LTR + |LPSS_SAVE_CTX , .clk_con_id ="baudclk" , .prv_offset =0x800 , .setup = lpss_uart_setup,
drivers/acpi/acpi_processor.c +7 -3
@@ -279,9 +279,13 @@ static int acpi_processor_get_info(struct acpi_device *device) }if (acpi_duplicate_processor_id (pr->acpi_id)) { -dev_err (&device->dev, -"Failed to get unique processor _UID (0x%x)\n" , - pr->acpi_id); +if (pr->acpi_id ==0xff ) +dev_info_once (&device->dev, +"Entry not well-defined, consider updating BIOS\n" ); +else +dev_err (&device->dev, +"Failed to get unique processor _UID (0x%x)\n" , + pr->acpi_id);return -ENODEV ; }
drivers/acpi/apei/ghes.c +15 -2
@@ -153,6 +153,7 @@ static void ghes_unmap(void __iomem *vaddr, enum fixed_addresses fixmap_idx)int ghes_estatus_pool_init (int num_ghes) {unsigned long addr, len; +int rc; ghes_estatus_pool =gen_pool_create (GHES_ESTATUS_POOL_MIN_ALLOC_ORDER ,-1 );if (!ghes_estatus_pool)
@@ -164,7 +165,7 @@ int ghes_estatus_pool_init(int num_ghes) ghes_estatus_pool_size_request =PAGE_ALIGN (len); addr = (unsigned long )vmalloc (PAGE_ALIGN (len));if (!addr) -return -ENOMEM ; + goto err_pool_alloc;/* * New allocation must be visible in all pgd before it can be found by
@@ -172,7 +173,19 @@ int ghes_estatus_pool_init(int num_ghes)*/ vmalloc_sync_all (); -return gen_pool_add (ghes_estatus_pool, addr,PAGE_ALIGN (len),-1 ); + rc =gen_pool_add (ghes_estatus_pool, addr,PAGE_ALIGN (len),-1 ); +if (rc) + goto err_pool_add; + +return 0 ; + +err_pool_add: +vfree ((void *)addr); + +err_pool_alloc: +gen_pool_destroy (ghes_estatus_pool); + +return -ENOMEM ; }static int map_gen_v2 (struct ghes *ghes)
drivers/acpi/cppc_acpi.c +4 -2
@@ -365,8 +365,10 @@ static int acpi_get_psd(struct cpc_desc *cpc_ptr, acpi_handle handle)union acpi_object *psd =NULL ;struct acpi_psd_package *pdomain; - status =acpi_evaluate_object_typed (handle,"_PSD" ,NULL , &buffer, -ACPI_TYPE_PACKAGE ); + status =acpi_evaluate_object_typed (handle,"_PSD" ,NULL , + &buffer,ACPI_TYPE_PACKAGE ); +if (status ==AE_NOT_FOUND )/* _PSD is optional */ +return 0 ;if (ACPI_FAILURE (status))return -ENODEV ;
drivers/acpi/custom_method.c +4 -1
@@ -49,8 +49,10 @@ static ssize_t cm_write(struct file *file, const char __user * user_buf,if ((*ppos > max_size) || (*ppos + count > max_size) || (*ppos + count < count) || - (count > uncopied_bytes)) + (count > uncopied_bytes)) { +kfree (buf);return -EINVAL ; + }if (copy_from_user (buf + (*ppos), user_buf, count)) {kfree (buf);
@@ -70,6 +72,7 @@ static ssize_t cm_write(struct file *file, const char __user * user_buf,add_taint (TAINT_OVERRIDDEN_ACPI_TABLE ,LOCKDEP_NOW_UNRELIABLE ); } +kfree (buf);return count; }
drivers/acpi/pci_irq.c +3 -1
@@ -449,8 +449,10 @@ int acpi_pci_irq_enable(struct pci_dev *dev)* No IRQ known to the ACPI subsystem - maybe the BIOS / * driver reported one, then use it. Exit in any case. */ -if (!acpi_pci_irq_valid (dev, pin)) +if (!acpi_pci_irq_valid (dev, pin)) { +kfree (entry);return 0 ; + }if (acpi_isa_register_gsi (dev)) dev_warn(&dev->dev, "PCI INT %c: no GSI\n",
drivers/ata/ahci.c +69 -47
170 lines not on this page · raw message
drivers/ata/ahci.h +2 -0
@@ -247,6 +247,8 @@ enum {ATA_FLAG_ACPI_SATA |ATA_FLAG_AN ,ICH_MAP =0x90 ,/* ICH MAP register */ +PCS_6 =0x92 ,/* 6 port PCS */ +PCS_7 =0x94 ,/* 7+ port PCS (Denverton) */ /* em constants */ EM_MAX_SLOTS = 8,
drivers/base/soc.c +2 -0
@@ -157,6 +157,7 @@ struct soc_device *soc_device_register(struct soc_device_attribute *soc_dev_attr out1:return ERR_PTR (ret); } +EXPORT_SYMBOL_GPL (soc_device_register);/* Ensure soc_dev->attr is freed prior to calling soc_device_unregister. */ void soc_device_unregister (struct soc_device *soc_dev)
@@ -166,6 +167,7 @@ void soc_device_unregister(struct soc_device *soc_dev)device_unregister (&soc_dev->dev); early_soc_dev_attr =NULL ; } +EXPORT_SYMBOL_GPL (soc_device_unregister);static int __init soc_bus_register (void ) {
drivers/block/loop.c +1 -0
@@ -1763,6 +1763,7 @@ static int lo_compat_ioctl(struct block_device *bdev, fmode_t mode,case LOOP_SET_FD :case LOOP_CHANGE_FD :case LOOP_SET_BLOCK_SIZE : +case LOOP_SET_DIRECT_IO : err =lo_ioctl (bdev, mode, cmd, arg);break ;default :
drivers/block/nbd.c +3 -1
@@ -355,8 +355,10 @@ static enum blk_eh_timer_return nbd_xmit_timeout(struct request *req, } config = nbd->config; -if (!mutex_trylock (&cmd->lock)) +if (!mutex_trylock (&cmd->lock)) { +nbd_config_put (nbd);return BLK_EH_RESET_TIMER ; + }if (config->num_connections >1 ) { dev_err_ratelimited(nbd_to_dev(nbd),
drivers/char/hw_random/core.c +1 -1
@@ -67,7 +67,7 @@ static void add_early_randomness(struct hwrng *rng)size_t size =min_t (size_t,16 ,rng_buffer_size ());mutex_lock (&reading_mutex); - bytes_read =rng_get_data (rng, rng_buffer, size,1 ); + bytes_read =rng_get_data (rng, rng_buffer, size,0 );mutex_unlock (&reading_mutex);if (bytes_read >0 )add_device_randomness (rng_buffer, bytes_read);
drivers/char/ipmi/ipmi_msghandler.c +57 -57
126 lines not on this page · raw message
drivers/char/mem.c +21 -0
@@ -97,6 +97,13 @@ void __weak unxlate_dev_mem_ptr(phys_addr_t phys, void *addr) }#endif +static inline bool should_stop_iteration (void ) +{ +if (need_resched ()) +cond_resched (); +return fatal_signal_pending (current); +} +/* * This funcion reads the *physical* memory. The f_pos points directly to the * memory location.
@@ -175,6 +182,8 @@ static ssize_t read_mem(struct file *file, char __user *buf, p += sz; count -= sz; read += sz; +if (should_stop_iteration ()) +break ; }kfree (bounce);
@@ -251,6 +260,8 @@ static ssize_t write_mem(struct file *file, const char __user *buf, p += sz; count -= sz; written += sz; +if (should_stop_iteration ()) +break ; } *ppos += written;
@@ -468,6 +479,10 @@ static ssize_t read_kmem(struct file *file, char __user *buf, read += sz; low_count -= sz; count -= sz; +if (should_stop_iteration ()) { + count =0 ; +break ; + } } }
@@ -492,6 +507,8 @@ static ssize_t read_kmem(struct file *file, char __user *buf, buf += sz; read += sz; p += sz; +if (should_stop_iteration ()) +break ; }free_page ((unsigned long )kbuf); }
@@ -544,6 +561,8 @@ static ssize_t do_write_kmem(unsigned long p, const char __user *buf, p += sz; count -= sz; written += sz; +if (should_stop_iteration ()) +break ; } *ppos += written;
@@ -595,6 +614,8 @@ static ssize_t write_kmem(struct file *file, const char __user *buf, buf += sz; virtr += sz; p += sz; +if (should_stop_iteration ()) +break ; }free_page ((unsigned long )kbuf); }
drivers/char/tpm/tpm-interface.c +11 -12
@@ -320,18 +320,22 @@ int tpm_pcr_extend(struct tpm_chip *chip, u32 pcr_idx,if (!chip)return -ENODEV ; -for (i =0 ; i < chip->nr_allocated_banks; i++) -if (digests[i].alg_id != chip->allocated_banks[i].alg_id) -return -EINVAL ; +for (i =0 ; i < chip->nr_allocated_banks; i++) { +if (digests[i].alg_id != chip->allocated_banks[i].alg_id) { + rc =EINVAL ; + goto out; + } + }if (chip->flags &TPM_CHIP_FLAG_TPM2 ) { rc =tpm2_pcr_extend (chip, pcr_idx, digests); -tpm_put_ops (chip); -return rc; + goto out; } rc =tpm1_pcr_extend (chip, pcr_idx, digests[0 ].digest,"attempting extend a PCR value" ); + +out:tpm_put_ops (chip);return rc; }
@@ -354,14 +358,9 @@ int tpm_send(struct tpm_chip *chip, void *cmd, size_t buflen)if (!chip)return -ENODEV ; - rc =tpm_buf_init (&buf,0 ,0 ); -if (rc) - goto out; - -memcpy (buf.data, cmd, buflen); + buf.data = cmd; rc =tpm_transmit_cmd (chip, &buf,0 ,"attempting to a send a command" ); -tpm_buf_destroy (&buf); -out: +tpm_put_ops (chip);return rc; }
drivers/char/tpm/tpm_tis_core.c +3 -0
@@ -980,6 +980,8 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq, goto out_err; } +tpm_chip_start (chip); + chip->flags |=TPM_CHIP_FLAG_IRQ ;if (irq) {tpm_tis_probe_irq_single (chip, intmask,IRQF_SHARED , irq);
@@ -989,6 +991,7 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq, }else {tpm_tis_probe_irq (chip, intmask); } +tpm_chip_stop (chip); } rc =tpm_chip_register (chip);
drivers/cpufreq/armada-8k-cpufreq.c +2 -0
@@ -136,6 +136,8 @@ static int __init armada_8k_cpufreq_init(void) nb_cpus =num_possible_cpus (); freq_tables =kcalloc (nb_cpus,sizeof (*freq_tables),GFP_KERNEL ); +if (!freq_tables) +return -ENOMEM ;cpumask_copy (&cpus, cpu_possible_mask);/*
drivers/cpuidle/governors/teo.c +16 -16
@@ -242,7 +242,7 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,struct teo_cpu *cpu_data =per_cpu_ptr (&teo_cpus, dev->cpu);int latency_req =cpuidle_governor_latency_req (dev->cpu);unsigned int duration_us, count; -int max_early_idx, idx, i; +int max_early_idx, constraint_idx, idx, i;ktime_t delta_tick;if (cpu_data->last_state >=0 ) {
@@ -257,6 +257,7 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, count =0 ; max_early_idx =-1 ; + constraint_idx = drv->state_count; idx =-1 ;for (i =0 ; i < drv->state_count; i++) {
@@ -286,16 +287,8 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,if (s->target_residency > duration_us)break ; -if (s->exit_latency > latency_req) { -/* -* If we break out of the loop for latency reasons, use -* the target residency of the selected state as the -* expected idle duration to avoid stopping the tick -* as long as that target residency is low enough. -*/ - duration_us = drv->states[idx].target_residency; - goto refine; - } +if (s->exit_latency > latency_req && constraint_idx > i) + constraint_idx = i; idx = i;
@@ -321,7 +314,13 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, duration_us = drv->states[idx].target_residency; } -refine: +/* +* If there is a latency constraint, it may be necessary to use a +* shallower idle state than the one selected so far. +*/ +if (constraint_idx < idx) + idx = constraint_idx; +if (idx <0 ) { idx =0 ;/* No states enabled. Must use 0. */ }else if (idx >0 ) {
@@ -331,13 +330,12 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,/* * Count and sum the most recent idle duration values less than -* the target residency of the state selected so far, find the -* max. +* the current expected idle duration value. */ for (i =0 ; i <INTERVALS ; i++) {unsigned int val = cpu_data->intervals[i]; -if (val >= drv->states[idx].target_residency) +if (val >= duration_us)continue ; count++;
@@ -356,8 +354,10 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,* would be too shallow. */ if (!(tick_nohz_tick_stopped () && avg_us <TICK_USEC )) { - idx =teo_find_shallower_state (drv, dev, idx, avg_us); duration_us = avg_us; +if (drv->states[idx].target_residency > avg_us) + idx =teo_find_shallower_state (drv, dev, + idx, avg_us); } } }
drivers/devfreq/devfreq.c +1 -1
@@ -254,7 +254,7 @@ static struct devfreq_governor *try_then_request_governor(const char *name)/* Restore previous state before return */ mutex_lock (&devfreq_list_lock);if (err) -return ERR_PTR (err); +return (err <0 ) ?ERR_PTR (err) :ERR_PTR (-EINVAL ); governor =find_devfreq_governor (name); }
drivers/devfreq/exynos-bus.c +17 -14
@@ -191,11 +191,10 @@ static void exynos_bus_exit(struct device *dev)if (ret <0 )dev_warn (dev,"failed to disable the devfreq-event devices\n" ); -if (bus->regulator) -regulator_disable (bus->regulator); -dev_pm_opp_of_remove_table (dev);clk_disable_unprepare (bus->clk); +if (bus->regulator) +regulator_disable (bus->regulator); }/*
@@ -383,6 +382,7 @@ static int exynos_bus_probe(struct platform_device *pdev)struct exynos_bus *bus;int ret, max_state;unsigned long min_freq, max_freq; +bool passive = false;if (!np) {dev_err (dev,"failed to find devicetree node\n" );
@@ -396,27 +396,27 @@ static int exynos_bus_probe(struct platform_device *pdev) bus->dev = &pdev->dev;platform_set_drvdata (pdev, bus); -/* Parse the device-tree to get the resource information */ - ret =exynos_bus_parse_of (np, bus); -if (ret <0 ) -return ret; - profile =devm_kzalloc (dev,sizeof (*profile),GFP_KERNEL ); -if (!profile) { - ret = -ENOMEM ; - goto err; - } +if (!profile) +return -ENOMEM ; node =of_parse_phandle (dev->of_node,"devfreq" ,0 );if (node) {of_node_put (node); - goto passive; + passive = true; }else { ret =exynos_bus_parent_parse_of (np, bus); +if (ret <0 ) +return ret; } +/* Parse the device-tree to get the resource information */ + ret =exynos_bus_parse_of (np, bus);if (ret <0 ) - goto err; + goto err_reg; + +if (passive) + goto passive;/* Initialize the struct profile and governor data for parent device */ profile->polling_ms =50 ;
@@ -507,6 +507,9 @@ static int exynos_bus_probe(struct platform_device *pdev) err:dev_pm_opp_of_remove_table (dev);clk_disable_unprepare (bus->clk); +err_reg: +if (!passive) +regulator_disable (bus->regulator);return ret; }
drivers/devfreq/governor_passive.c +3 -4
@@ -149,7 +149,6 @@ static int devfreq_passive_notifier_call(struct notifier_block *nb,static int devfreq_passive_event_handler (struct devfreq *devfreq,unsigned int event,void *data) { -struct device *dev = devfreq->dev.parent;struct devfreq_passive_data *p_data = (struct devfreq_passive_data *)devfreq->data;struct devfreq *parent = (struct devfreq *)p_data->parent;
@@ -165,12 +164,12 @@ static int devfreq_passive_event_handler(struct devfreq *devfreq, p_data->this = devfreq; nb->notifier_call = devfreq_passive_notifier_call; - ret =devm_devfreq_register_notifier (dev, parent, nb, + ret =devfreq_register_notifier (parent, nb,DEVFREQ_TRANSITION_NOTIFIER );break ;case DEVFREQ_GOV_STOP : -devm_devfreq_unregister_notifier (dev, parent, nb, -DEVFREQ_TRANSITION_NOTIFIER ); +WARN_ON (devfreq_unregister_notifier (parent, nb, +DEVFREQ_TRANSITION_NOTIFIER ));break ;default :break ;
drivers/dma/bcm2835-dma.c +3 -1
@@ -871,8 +871,10 @@ static int bcm2835_dma_probe(struct platform_device *pdev) pdev->dev.dma_mask = &pdev->dev.coherent_dma_mask; rc =dma_set_mask_and_coherent (&pdev->dev,DMA_BIT_MASK (32 )); -if (rc) +if (rc) { +dev_err (&pdev->dev,"Unable to set DMA mask\n" );return rc; + } od =devm_kzalloc (&pdev->dev,sizeof (*od),GFP_KERNEL );if (!od)
drivers/dma/iop-adma.c +9 -9
@@ -116,9 +116,9 @@ static void __iop_adma_slot_cleanup(struct iop_adma_chan *iop_chan)list_for_each_entry_safe (iter, _iter, &iop_chan->chain, chain_node) {pr_debug ("\tcookie: %d slot: %d busy: %d " -"this_desc: %#x next_desc: %#x ack: %d\n" , +"this_desc: %#x next_desc: %#llx ack: %d\n" , iter->async_tx.cookie, iter->idx, busy, - iter->async_tx.phys,iop_desc_get_next_desc (iter), + iter->async_tx.phys, (u64 )iop_desc_get_next_desc (iter),async_tx_test_ack (&iter->async_tx));prefetch (_iter);prefetch (&_iter->async_tx);
@@ -306,9 +306,9 @@ iop_adma_alloc_slots(struct iop_adma_chan *iop_chan, int num_slots,int i;dev_dbg (iop_chan->device->common.dev,"allocated slot: %d " -"(desc %p phys: %#x) slots_per_op %d\n" , +"(desc %p phys: %#llx) slots_per_op %d\n" , iter->idx, iter->hw_desc, - iter->async_tx.phys, slots_per_op); + (u64 )iter->async_tx.phys, slots_per_op);/* pre-ack all but the last descriptor */ if (num_slots != slots_per_op)
@@ -516,7 +516,7 @@ iop_adma_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dma_dest,return NULL ;BUG_ON (len >IOP_ADMA_MAX_BYTE_COUNT ); -dev_dbg (iop_chan->device->common.dev,"%s len: %u\n" , +dev_dbg (iop_chan->device->common.dev,"%s len: %zu\n" , __func__, len);spin_lock_bh (&iop_chan->lock);
@@ -549,7 +549,7 @@ iop_adma_prep_dma_xor(struct dma_chan *chan, dma_addr_t dma_dest,BUG_ON (len >IOP_ADMA_XOR_MAX_BYTE_COUNT );dev_dbg (iop_chan->device->common.dev, -"%s src_cnt: %d len: %u flags: %lx\n" , +"%s src_cnt: %d len: %zu flags: %lx\n" , __func__, src_cnt, len, flags);spin_lock_bh (&iop_chan->lock);
@@ -582,7 +582,7 @@ iop_adma_prep_dma_xor_val(struct dma_chan *chan, dma_addr_t *dma_src,if (unlikely (!len))return NULL ; -dev_dbg (iop_chan->device->common.dev,"%s src_cnt: %d len: %u\n" , +dev_dbg (iop_chan->device->common.dev,"%s src_cnt: %d len: %zu\n" , __func__, src_cnt, len);spin_lock_bh (&iop_chan->lock);
@@ -620,7 +620,7 @@ iop_adma_prep_dma_pq(struct dma_chan *chan, dma_addr_t *dst, dma_addr_t *src,BUG_ON (len >IOP_ADMA_XOR_MAX_BYTE_COUNT );dev_dbg (iop_chan->device->common.dev, -"%s src_cnt: %d len: %u flags: %lx\n" , +"%s src_cnt: %d len: %zu flags: %lx\n" , __func__, src_cnt, len, flags);if (dmaf_p_disabled_continue (flags))
@@ -683,7 +683,7 @@ iop_adma_prep_dma_pq_val(struct dma_chan *chan, dma_addr_t *pq, dma_addr_t *src,return NULL ;BUG_ON (len >IOP_ADMA_XOR_MAX_BYTE_COUNT ); -dev_dbg (iop_chan->device->common.dev,"%s src_cnt: %d len: %u\n" , +dev_dbg (iop_chan->device->common.dev,"%s src_cnt: %d len: %zu\n" , __func__, src_cnt, len);spin_lock_bh (&iop_chan->lock);
drivers/dma/ti/edma.c +6 -3
@@ -2273,9 +2273,6 @@ static int edma_probe(struct platform_device *pdev) ecc->default_queue = info->default_queue; -for (i =0 ; i < ecc->num_slots; i++) -edma_write_slot (ecc, i, &dummy_paramset); -if (info->rsv) {/* Set the reserved slots in inuse list */ rsv_slots = info->rsv->rsv_slots;
@@ -2288,6 +2285,12 @@ static int edma_probe(struct platform_device *pdev) } } +for (i =0 ; i < ecc->num_slots; i++) { +/* Reset only unused - not reserved - paRAM slots */ +if (!test_bit (i, ecc->slot_inuse)) +edma_write_slot (ecc, i, &dummy_paramset); + } +/* Clear the xbar mapped channels in unused list */ xbar_chans = info->xbar_chans;if (xbar_chans) {
drivers/edac/altera_edac.c +3 -1
@@ -1829,6 +1829,7 @@ static void altr_edac_a10_irq_handler(struct irq_desc *desc)struct altr_arria10_edac *edac =irq_desc_get_handler_data (desc);struct irq_chip *chip =irq_desc_get_chip (desc);int irq =irq_desc_get_irq (desc); +unsigned long bits; dberr = (irq == edac->db_irq) ?1 :0 ; sm_offset = dberr ? A10_SYSMGR_ECC_INTSTAT_DERR_OFST :
@@ -1838,7 +1839,8 @@ static void altr_edac_a10_irq_handler(struct irq_desc *desc)regmap_read (edac->ecc_mgr_map, sm_offset, &irq_status); -for_each_set_bit (bit, (unsigned long *)&irq_status,32 ) { + bits = irq_status; +for_each_set_bit (bit, &bits,32 ) { irq =irq_linear_revmap (edac->domain, dberr *32 + bit);if (irq)generic_handle_irq (irq);
drivers/edac/amd64_edac.c +87 -64
222 lines not on this page · raw message
drivers/edac/amd64_edac.h +3 -2
@@ -96,6 +96,7 @@/* Hardware limit on ChipSelect rows per MC and processors per system */ #define NUM_CHIPSELECTS 8#define DRAM_RANGES 8 +#define NUM_CONTROLLERS 8#define ON true#define OFF false
@@ -351,8 +352,8 @@ struct amd64_pvt {u32 dbam0;/* DRAM Base Address Mapping reg for DCT0 */ u32 dbam1;/* DRAM Base Address Mapping reg for DCT1 */ -/* one for each DCT */ -struct chip_select csels[2 ]; +/* one for each DCT/UMC */ +struct chip_select csels[NUM_CONTROLLERS ];/* DRAM base and limit pairs F1x[78,70,68,60,58,50,48,40] */ struct dram_range ranges[DRAM_RANGES ];
drivers/edac/edac_mc.c +6 -2
@@ -1235,9 +1235,13 @@ void edac_mc_handle_error(const enum hw_event_mc_err_type type,if (p > e->location) *(p -1 ) ='\0' ; -/* Report the error via the trace interface */ - grain_bits =fls_long (e->grain) +1 ; +/* Sanity-check driver-supplied grain value. */ +if (WARN_ON_ONCE (!e->grain)) + e->grain =1 ; + + grain_bits =fls_long (e->grain -1 ); +/* Report the error via the trace interface */ if (IS_ENABLED (CONFIG_RAS )) trace_mc_event(type, e->msg, e->label, e->error_count, mci->mc_idx, e->top_layer, e->mid_layer,
drivers/edac/pnd2_edac.c +6 -1
@@ -260,11 +260,14 @@ static u64 get_sideband_reg_base_addr(void) } } +#define DNV_MCHBAR_SIZE 0x8000 +#define DNV_SB_PORT_SIZE 0x10000static int dnv_rd_reg (int port,int off,int op,void *data,size_t sz,char *name) {struct pci_dev *pdev;char *base;u64 addr; +unsigned long size;if (op ==4 ) { pdev =pci_get_device (PCI_VENDOR_ID_INTEL ,0x1980 ,NULL );
@@ -279,15 +282,17 @@ static int dnv_rd_reg(int port, int off, int op, void *data, size_t sz, char *na addr =get_mem_ctrl_hub_base_addr ();if (!addr)return -ENODEV ; + size =DNV_MCHBAR_SIZE ; }else {/* MMIO via sideband register base address */ addr =get_sideband_reg_base_addr ();if (!addr)return -ENODEV ; addr += (port <<16 ); + size =DNV_SB_PORT_SIZE ; } - base =ioremap ((resource_size_t )addr,0x10000 ); + base =ioremap ((resource_size_t )addr, size);if (!base)return -ENODEV ;
drivers/firmware/arm_scmi/driver.c +8 -0
@@ -271,6 +271,14 @@ static void scmi_tx_prepare(struct mbox_client *cl, void *m)struct scmi_chan_info *cinfo =client_to_scmi_chan_info (cl);struct scmi_shared_mem __iomem *mem = cinfo->payload; +/* +* Ideally channel must be free by now unless OS timeout last +* request and platform continued to process the same, wait +* until it releases the shared memory, otherwise we may endup +* overwriting its response with new message payload or vice-versa +*/ +spin_until_cond (ioread32 (&mem->channel_status) & +SCMI_SHMEM_CHAN_STAT_CHANNEL_FREE );/* Mark channel busy + clear error */ iowrite32 (0x0 , &mem->channel_status); iowrite32(t->hdr.poll_completion ? 0 : SCMI_SHMEM_FLAG_INTR_ENABLED,
drivers/firmware/efi/cper.c +15 -0
@@ -390,6 +390,21 @@ static void cper_print_pcie(const char *pfx, const struct cper_sec_pcie *pcie,printk ("%s""bridge: secondary_status: 0x%04x, control: 0x%04x\n" , pfx, pcie->bridge.secondary_status, pcie->bridge.control); + +/* Fatal errors call __ghes_panic() before AER handler prints this */ +if ((pcie->validation_bits &CPER_PCIE_VALID_AER_INFO ) && + (gdata->error_severity &CPER_SEV_FATAL )) { +struct aer_capability_regs *aer; + + aer = (struct aer_capability_regs *)pcie->aer_info; +printk ("%saer_uncor_status: 0x%08x, aer_uncor_mask: 0x%08x\n" , + pfx, aer->uncor_status, aer->uncor_mask); +printk ("%saer_uncor_severity: 0x%08x\n" , + pfx, aer->uncor_severity); +printk ("%sTLP Header: %08x %08x %08x %08x\n" , pfx, + aer->header_log.dw0, aer->header_log.dw1, + aer->header_log.dw2, aer->header_log.dw3); + } } static void cper_print_tstamp(const char *pfx,
drivers/firmware/qcom_scm.c +5 -2
@@ -9,6 +9,7 @@#include <linux/init.h> #include <linux/cpumask.h> #include <linux/export.h> +#include <linux/dma-direct.h> #include <linux/dma-mapping.h> #include <linux/module.h> #include <linux/types.h>
@@ -440,6 +441,7 @@ int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz,phys_addr_t mem_to_map_phys;phys_addr_t dest_phys;phys_addr_t ptr_phys; +dma_addr_t ptr_dma;size_t mem_to_map_sz;size_t dest_sz;size_t src_sz;
@@ -457,9 +459,10 @@ int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz, ptr_sz =ALIGN (src_sz,SZ_64 ) +ALIGN (mem_to_map_sz,SZ_64 ) +ALIGN (dest_sz,SZ_64 ); - ptr =dma_alloc_coherent (__scm->dev, ptr_sz, &ptr_phys,GFP_KERNEL ); + ptr =dma_alloc_coherent (__scm->dev, ptr_sz, &ptr_dma,GFP_KERNEL );if (!ptr)return -ENOMEM ; + ptr_phys =dma_to_phys (__scm->dev, ptr_dma);/* Fill source vmid detail */ src = ptr;
@@ -489,7 +492,7 @@ int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz, ret =__qcom_scm_assign_mem (__scm->dev, mem_to_map_phys, mem_to_map_sz, ptr_phys, src_sz, dest_phys, dest_sz); -dma_free_coherent (__scm->dev,ALIGN (ptr_sz,SZ_64 ), ptr, ptr_phys); +dma_free_coherent (__scm->dev, ptr_sz, ptr, ptr_dma);if (ret) {dev_err (__scm->dev,"Assign memory protection call failed %d.\n" , ret);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -0
@@ -1958,6 +1958,7 @@ static int amdgpu_dm_backlight_get_brightness(struct backlight_device *bd) }static const struct backlight_ops amdgpu_dm_backlight_ops = { + .options =BL_CORE_SUSPENDRESUME , .get_brightness = amdgpu_dm_backlight_get_brightness, .update_status = amdgpu_dm_backlight_update_status, };
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +5 -0
@@ -4064,6 +4064,11 @@ static int smu7_program_display_gap(struct pp_hwmgr *hwmgr) data->frame_time_x2 = frame_time_in_us *2 /100 ; +if (data->frame_time_x2 <280 ) { +pr_debug ("%s: enforce minimal VBITimeout: %d -> 280\n" , __func__, data->frame_time_x2); + data->frame_time_x2 =280 ; + } + display_gap2 = pre_vbi_time_in_us * (ref_clock /100 );cgs_write_ind_register (hwmgr->device,CGS_IND_REG__SMC , ixCG_DISPLAY_GAP_CNTL2, display_gap2);
drivers/gpu/drm/drm_kms_helper_common.c +1 -1
@@ -39,7 +39,7 @@ MODULE_LICENSE("GPL and additional rights");/* Backward compatibility for drm_kms_helper.edid_firmware */ static int edid_firmware_set (const char *val,const struct kernel_param *kp) { -DRM_NOTE ("drm_kms_firmware.edid_firmware is deprecated, please use drm.edid_firmware instead.\n" ); +DRM_NOTE ("drm_kms_helper.edid_firmware is deprecated, please use drm.edid_firmware instead.\n" );return __drm_set_edid_firmware_path (val); }
drivers/hwmon/acpi_power_meter.c +2 -2
@@ -681,8 +681,8 @@ static int setup_attrs(struct acpi_power_meter_resource *resource)if (resource->caps.flags &POWER_METER_CAN_CAP ) {if (!can_cap_in_hardware ()) { -dev_err (&resource->acpi_dev->dev, -"Ignoring unsafe software power cap!\n" ); +dev_warn (&resource->acpi_dev->dev, +"Ignoring unsafe software power cap!\n" ); goto skip_unsafe_cap; }
drivers/hwmon/k10temp.c +1 -0
@@ -349,6 +349,7 @@ static const struct pci_device_id k10temp_id_table[] = { { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_DF_F3) }, { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M10H_DF_F3) }, { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M30H_DF_F3) }, + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) }, { PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) }, {} };
drivers/i2c/busses/i2c-riic.c +1 -0
@@ -202,6 +202,7 @@ static irqreturn_t riic_tend_isr(int irq, void *data)if (readb (riic->base +RIIC_ICSR2 ) &ICSR2_NACKF ) {/* We got a NACKIE */ readb (riic->base +RIIC_ICDRR );/* dummy read */ +riic_clear_set_bit (riic,ICSR2_NACKF ,0 ,RIIC_ICSR2 ); riic->err = -ENXIO ; }else if (riic->bytes_left) {return IRQ_NONE ;
drivers/infiniband/core/addr.c +1 -1
@@ -352,7 +352,7 @@ static bool has_gateway(const struct dst_entry *dst, sa_family_t family)if (family ==AF_INET ) { rt = container_of(dst, struct rtable, dst); -return rt->rt_gw_family ==AF_INET ; +return rt->rt_uses_gateway; } rt6 = container_of(dst, struct rt6_info, dst);
drivers/infiniband/core/uverbs_cmd.c +2 -1
@@ -3477,7 +3477,8 @@ static int __uverbs_create_xsrq(struct uverbs_attr_bundle *attrs, err_copy:ib_destroy_srq_user (srq,uverbs_get_cleared_udata (attrs)); - +/* It was released in ib_destroy_srq_user */ + srq =NULL ; err_free:kfree (srq); err_put:
drivers/infiniband/hw/hfi1/mad.c +19 -26
27 lines not on this page · raw message
drivers/iommu/amd_iommu_quirks.c new file +92 -0
92 lines not on this page · raw message
drivers/media/common/videobuf2/videobuf2-v4l2.c +5 -3
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/dvb-pll.c +24 -16
Lines of this file are not shown. View the raw message.
drivers/media/pci/saa7134/saa7134-i2c.c +8 -4
Lines of this file are not shown. View the raw message.
drivers/media/pci/saa7146/hexium_gemini.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/exynos4-is/fimc-is.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/exynos4-is/media-dev.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/mtk-mdp/mtk_mdp_core.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/ispccdc.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/ispccp2.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/ispcsi2.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/isppreview.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/ispresizer.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/ispstat.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/vivid/vivid-kthread-cap.c +6 -3
Lines of this file are not shown. View the raw message.
drivers/media/radio/si470x/radio-si470x-usb.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/media/rc/mceusb.c +196 -138
334 lines not on this page · raw message
drivers/media/usb/dvb-usb/dib0700_devices.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/media/usb/em28xx/em28xx-cards.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/media/usb/ttusb-dec/ttusb_dec.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/v4l2-core/videobuf-core.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/mtd/nand/raw/stm32_fmc2_nand.c +29 -61
90 lines not on this page · raw message
drivers/net/ethernet/intel/e1000e/ich8lan.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/ich8lan.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_main.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/main.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/netronome/nfp/flower/main.c +7 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath10k/wmi-tlv.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath10k/wmi-tlv.h +16 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/fw.c +5 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/libertas/if_usb.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mmio.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c +6 -9
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h +3 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/usb.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/pci.c +42 -29
71 lines not on this page · raw message
drivers/net/wireless/zydas/zd1211rw/zd_mac.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_ec_rpmsg.c +28 -4
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel_int0002_vgpio.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/regulator/core.c +31 -11
42 lines not on this page · raw message
drivers/scsi/device_handler/scsi_dh_rdac.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/soc/amlogic/meson-clk-measure.c +11 -1
Lines of this file are not shown. View the raw message.
drivers/staging/media/imx/imx6-mipi-csi2.c +4 -8
Lines of this file are not shown. View the raw message.
fs/btrfs/tree-checker.c +98 -0
98 lines not on this page · raw message
fs/fuse/dev.c +48 -45
93 lines not on this page · raw message
kernel/sched/core.c +49 -12
61 lines not on this page · raw message
mm/z3fold.c +43 -21
64 lines not on this page · raw message
net/sunrpc/xprt.c +31 -23
54 lines not on this page · raw message
scripts/gcc-plugins/randomize_layout_plugin.c +5 -5
Lines of this file are not shown. View the raw message.
sound/firewire/tascam/tascam-stream.c +28 -14
42 lines not on this page · raw message
sound/pci/hda/patch_realtek.c +90 -0
90 lines not on this page · raw message
sound/soc/atmel/mchp-i2s-mcc.c +27 -14
41 lines not on this page · raw message
tools/perf/tests/shell/trace+probe_vfs_getname.sh +4 -0
Lines of this file are not shown. View the raw message.
tools/perf/util/unwind-libunwind-local.c +9 -9
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/fib_tests.sh +19 -2
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.