Linux 5.4.49
Greg Kroah-Hartman
maintainerI'm announcing the release of the 5.4.49 kernel.
All users of the 5.4 kernel series must upgrade.
The updated 5.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 arch/arm/boot/dts/r8a7743.dtsi | 12 arch/arm/boot/dts/r8a7744.dtsi | 12 arch/arm/boot/dts/r8a7745.dtsi | 12 arch/arm/boot/dts/r8a7790.dtsi | 12 arch/arm/boot/dts/r8a7791.dtsi | 14 arch/arm/boot/dts/r8a7793.dtsi | 14 arch/arm/boot/dts/r8a7794.dtsi | 12 arch/arm/boot/dts/stm32mp157a-avenger96.dts | 3 arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 2 arch/arm/boot/dts/vexpress-v2m-rs1.dtsi | 10 arch/arm/mach-integrator/Kconfig | 7 arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 6 arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 10 arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi | 2 arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi | 8 arch/arm64/boot/dts/arm/foundation-v8.dtsi | 92 +-- arch/arm64/boot/dts/arm/juno-base.dtsi | 50 +- arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 6 arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi | 2 arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi | 6 arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 4 arch/arm64/boot/dts/mediatek/mt8173.dtsi | 22 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 2 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 12 arch/arm64/boot/dts/qcom/msm8916.dtsi | 8 arch/arm64/boot/dts/qcom/msm8996.dtsi | 20 arch/arm64/boot/dts/qcom/pm8150.dtsi | 14 arch/arm64/boot/dts/qcom/pm8150b.dtsi | 14 arch/arm64/boot/dts/qcom/pm8150l.dtsi | 14 arch/arm64/kernel/hw_breakpoint.c | 44 + arch/m68k/coldfire/pci.c | 4 arch/openrisc/kernel/entry.S | 4 arch/powerpc/Kconfig | 1 arch/powerpc/include/asm/book3s/64/pgtable.h | 23 arch/powerpc/include/asm/processor.h | 1 arch/powerpc/kernel/exceptions-64s.S | 14 arch/powerpc/kernel/head_64.S | 9 arch/powerpc/kernel/machine_kexec.c | 8 arch/powerpc/kernel/process.c | 20 arch/powerpc/kvm/book3s_64_mmu_radix.c | 16 arch/powerpc/kvm/book3s_64_vio.c | 18 arch/powerpc/mm/book3s32/mmu.c | 6 arch/powerpc/mm/ptdump/shared.c | 5 arch/powerpc/perf/hv-24x7.c | 10 arch/powerpc/platforms/4xx/pci.c | 4 arch/powerpc/platforms/ps3/mm.c | 22 arch/powerpc/platforms/pseries/ras.c | 5 arch/s390/include/asm/syscall.h | 12 arch/sparc/mm/srmmu.c | 1 arch/x86/boot/Makefile | 2 arch/x86/kernel/apic/apic.c | 2 arch/x86/kernel/idt.c | 6 arch/x86/kernel/kprobes/core.c | 16 arch/x86/purgatory/Makefile | 5 crypto/algboss.c | 2 crypto/algif_skcipher.c | 6 drivers/ata/libata-core.c | 11 drivers/base/platform.c | 2 drivers/block/ps3disk.c | 1 drivers/char/ipmi/ipmi_msghandler.c | 7 drivers/char/mem.c | 101 ++++ drivers/clk/bcm/clk-bcm2835.c | 10 drivers/clk/clk-ast2600.c | 31 + drivers/clk/meson/meson8b.c | 100 ++-- drivers/clk/meson/meson8b.h | 4 drivers/clk/qcom/gcc-msm8916.c | 8 drivers/clk/renesas/renesas-cpg-mssr.c | 8 drivers/clk/samsung/clk-exynos5420.c | 16 drivers/clk/samsung/clk-exynos5433.c | 3 drivers/clk/sprd/pll.c | 2 drivers/clk/st/clk-flexgen.c | 1 drivers/clk/sunxi/clk-sunxi.c | 2 drivers/clk/ti/composite.c | 1 drivers/clk/zynqmp/clkc.c | 15 drivers/crypto/omap-sham.c | 64 +- drivers/extcon/extcon-adc-jack.c | 3 drivers/firmware/imx/imx-scu.c | 1 drivers/firmware/qcom_scm.c | 9 drivers/fpga/dfl-afu-dma-region.c | 4 drivers/gpio/gpio-dwapb.c | 34 - drivers/gpio/gpio-pca953x.c | 44 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 11 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 7 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 8 drivers/gpu/drm/amd/display/dc/core/dc.c | 12 drivers/gpu/drm/amd/display/modules/color/color_gamma.c | 2 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c | 2 drivers/gpu/drm/drm_connector.c | 5 drivers/gpu/drm/drm_dp_mst_topology.c | 58 +- drivers/gpu/drm/drm_encoder_slave.c | 5 drivers/gpu/drm/drm_sysfs.c | 3 drivers/gpu/drm/i915/display/intel_dp.c | 5 drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 15 drivers/gpu/drm/i915/i915_cmd_parser.c | 4 drivers/gpu/drm/i915/i915_irq.c | 1 drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 6 drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 8 drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 7 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 3 drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigm200.c | 4 drivers/gpu/drm/qxl/qxl_kms.c | 2 drivers/gpu/drm/sun4i/sun4i_hdmi.h | 2 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c | 2 drivers/hid/hid-ids.h | 3 drivers/hid/hid-quirks.c | 1 drivers/hid/intel-ish-hid/ishtp-fw-loader.c | 2 drivers/hwtracing/coresight/coresight-tmc-etf.c | 16 drivers/i2c/busses/i2c-icy.c | 1 drivers/i2c/busses/i2c-piix4.c | 3 drivers/i2c/busses/i2c-pxa.c | 13 drivers/iio/pressure/bmp280-core.c | 7 drivers/infiniband/core/cma_configfs.c | 13 drivers/infiniband/core/sysfs.c | 10 drivers/infiniband/hw/cxgb4/device.c | 1 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 34 - drivers/infiniband/hw/mlx5/devx.c | 5 drivers/infiniband/hw/mlx5/srq.c | 10 drivers/input/serio/i8042-ppcio.h | 57 -- drivers/input/serio/i8042.h | 2 drivers/input/touchscreen/edt-ft5x06.c | 12 drivers/mailbox/zynqmp-ipi-mailbox.c | 20 drivers/md/bcache/btree.c | 8 drivers/md/dm-mpath.c | 2 drivers/md/dm-zoned-metadata.c | 4 drivers/md/dm-zoned-reclaim.c | 4 drivers/mfd/stmfx.c | 22 drivers/mfd/wm8994-core.c | 1 drivers/misc/fastrpc.c | 13 drivers/misc/habanalabs/habanalabs.h | 2 drivers/misc/xilinx_sdfec.c | 27 - drivers/net/dsa/lantiq_gswip.c | 3 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | 5 drivers/net/ethernet/intel/e1000e/netdev.c | 14 drivers/net/ethernet/intel/iavf/iavf.h | 14 drivers/net/ethernet/intel/iavf/iavf_ethtool.c | 14 drivers/net/ethernet/intel/iavf/iavf_main.c | 25 - drivers/net/ethernet/intel/iavf/iavf_virtchnl.c | 88 +++ drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 7 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c | 2 drivers/net/geneve.c | 7 drivers/net/hamradio/yam.c | 1 drivers/net/phy/marvell.c | 2 drivers/ntb/core.c | 9 drivers/ntb/test/ntb_perf.c | 30 - drivers/ntb/test/ntb_pingpong.c | 14 drivers/ntb/test/ntb_tool.c | 9 drivers/nvme/host/pci.c | 6 drivers/of/kobj.c | 3 drivers/pci/controller/dwc/pci-meson.c | 4 drivers/pci/controller/dwc/pcie-designware-host.c | 2 drivers/pci/controller/pci-aardvark.c | 4 drivers/pci/controller/pci-v3-semi.c | 2 drivers/pci/controller/pcie-rcar.c | 9 drivers/pci/controller/vmd.c | 6 drivers/pci/pci-bridge-emul.c | 6 drivers/pci/pci.c | 30 - drivers/pci/pcie/aspm.c | 10 drivers/pci/pcie/ptm.c | 22 drivers/pci/probe.c | 5 drivers/pci/setup-res.c | 9 drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c | 2 drivers/phy/broadcom/phy-bcm-sr-usb.c | 55 -- drivers/pinctrl/freescale/pinctrl-imx.c | 19 drivers/pinctrl/freescale/pinctrl-imx1-core.c | 1 drivers/pinctrl/pinctrl-ocelot.c | 3 drivers/pinctrl/pinctrl-rockchip.c | 7 drivers/pinctrl/pinctrl-rza1.c | 2 drivers/power/supply/Kconfig | 2 drivers/power/supply/lp8788-charger.c | 18 drivers/power/supply/smb347-charger.c | 1 drivers/pwm/pwm-img.c | 8 drivers/pwm/pwm-jz4740.c | 4 drivers/remoteproc/qcom_q6v5_mss.c | 31 - drivers/remoteproc/remoteproc_core.c | 3 drivers/rtc/rtc-mc13xxx.c | 4 drivers/rtc/rtc-rv3028.c | 2 drivers/s390/cio/qdio.h | 1 drivers/s390/cio/qdio_setup.c | 1 drivers/s390/cio/qdio_thinint.c | 14 drivers/scsi/arm/acornscsi.c | 4 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | 18 drivers/scsi/hisi_sas/hisi_sas_main.c | 5 drivers/scsi/ibmvscsi/ibmvscsi.c | 2 drivers/scsi/iscsi_boot_sysfs.c | 2 drivers/scsi/lpfc/lpfc_els.c | 2 drivers/scsi/mpt3sas/mpt3sas_base.c | 2 drivers/scsi/qedf/qedf.h | 1 drivers/scsi/qedf/qedf_main.c | 35 + drivers/scsi/qedi/qedi_iscsi.c | 7 drivers/scsi/qla2xxx/qla_os.c | 1 drivers/scsi/qla2xxx/tcm_qla2xxx.c | 2 drivers/scsi/scsi_lib.c | 16 drivers/scsi/sr.c | 6 drivers/scsi/ufs/ufs-qcom.c | 6 drivers/scsi/ufs/ufs_bsg.c | 4 drivers/scsi/ufs/ufshcd.c | 1 drivers/slimbus/qcom-ngd-ctrl.c | 4 drivers/soundwire/slave.c | 2 drivers/staging/gasket/gasket_sysfs.c | 2 drivers/staging/greybus/light.c | 3 drivers/staging/sm750fb/sm750.c | 1 drivers/staging/wilc1000/wilc_hif.c | 4 drivers/target/loopback/tcm_loop.c | 36 - drivers/target/target_core_user.c | 154 ++---- drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 6 drivers/tty/hvc/hvc_console.c | 16 drivers/tty/n_gsm.c | 26 - drivers/tty/serial/8250/8250_port.c | 4 drivers/tty/serial/amba-pl011.c | 1 drivers/usb/class/usblp.c | 5 drivers/usb/dwc2/core_intr.c | 7 drivers/usb/dwc3/gadget.c | 60 ++ drivers/usb/gadget/composite.c | 78 ++- drivers/usb/gadget/udc/core.c | 2 drivers/usb/gadget/udc/lpc32xx_udc.c | 11 drivers/usb/gadget/udc/m66592-udc.c | 2 drivers/usb/gadget/udc/s3c2410_udc.c | 4 drivers/usb/host/ehci-mxc.c | 2 drivers/usb/host/ehci-platform.c | 131 +++++ drivers/usb/host/ohci-platform.c | 5 drivers/usb/host/ohci-sm501.c | 7 drivers/usb/host/xhci-plat.c | 10 drivers/vfio/mdev/mdev_sysfs.c | 2 drivers/vfio/pci/vfio_pci_config.c | 14 drivers/vhost/scsi.c | 1 drivers/video/backlight/lp855x_bl.c | 20 drivers/watchdog/da9062_wdt.c | 5 fs/afs/dir.c | 9 fs/afs/fsclient.c | 88 +-- fs/afs/inode.c | 12 fs/afs/internal.h | 1 fs/afs/misc.c | 1 fs/afs/proc.c | 1 fs/afs/rxrpc.c | 4 fs/afs/write.c | 5 fs/afs/yfsclient.c | 85 +-- fs/block_dev.c | 12 fs/ceph/export.c | 9 fs/cifs/connect.c | 18 fs/dlm/dlm_internal.h | 1 fs/ext4/dir.c | 16 fs/ext4/extents.c | 2 fs/ext4/super.c | 23 fs/f2fs/checkpoint.c | 4 fs/f2fs/dir.c | 80 +-- fs/f2fs/f2fs.h | 13 fs/f2fs/file.c | 9 fs/f2fs/node.c | 8 fs/f2fs/super.c | 5 fs/fuse/file.c | 43 + fs/fuse/fuse_i.h | 1 fs/fuse/virtio_fs.c | 106 ++-- fs/gfs2/log.c | 11 fs/gfs2/ops_fstype.c | 2 fs/jbd2/journal.c | 103 +--- fs/nfs/inode.c | 14 fs/nfs/nfs4proc.c | 2 fs/nfsd/cache.h | 2 fs/nfsd/netns.h | 1 fs/nfsd/nfs4callback.c | 2 fs/nfsd/nfscache.c | 32 - fs/nfsd/nfsctl.c | 6 include/linux/bitops.h | 2 include/linux/genhd.h | 2 include/linux/ioport.h | 6 include/linux/jbd2.h | 1 include/linux/kprobes.h | 4 include/linux/libata.h | 3 include/linux/mfd/stmfx.h | 1 include/linux/nfs_fs.h | 1 include/linux/usb/composite.h | 3 include/linux/usb/ehci_def.h | 2 include/linux/usb/gadget.h | 2 include/uapi/linux/magic.h | 1 kernel/kprobes.c | 27 + kernel/resource.c | 5 kernel/trace/blktrace.c | 30 - kernel/trace/trace_kprobe.c | 2 kernel/trace/trace_probe.c | 4 kernel/trace/trace_uprobe.c | 2 lib/zlib_inflate/inffast.c | 91 +-- net/core/dev.c | 40 - net/core/filter.c | 16 net/core/sock_map.c | 28 + net/ipv4/tcp_bpf.c | 3 net/rxrpc/proc.c | 6 net/sunrpc/addr.c | 4 net/xdp/xsk.c | 4 scripts/headers_install.sh | 11 scripts/mksysmap | 2 security/apparmor/domain.c | 9 security/apparmor/include/label.h | 1 security/apparmor/label.c | 37 + security/apparmor/lsm.c | 5 security/selinux/ss/services.c | 4 sound/firewire/amdtp-am824.c | 3 sound/isa/wavefront/wavefront_synth.c | 8 sound/pci/hda/patch_realtek.c | 14 sound/soc/codecs/max98373.c | 2 sound/soc/codecs/rt5645.c | 14 sound/soc/fsl/fsl_asrc_dma.c | 1 sound/soc/fsl/fsl_esai.c | 4 sound/soc/img/img-i2s-in.c | 1 sound/soc/intel/boards/bytcr_rt5640.c | 24 sound/soc/meson/axg-fifo.c | 10 sound/soc/qcom/qdsp6/q6asm-dai.c | 4 sound/soc/sh/rcar/gen.c | 8 sound/soc/sh/rcar/rsnd.h | 9 sound/soc/sh/rcar/ssi.c | 145 +++++ sound/soc/soc-core.c | 22 sound/soc/sof/core.c | 1 sound/soc/sof/imx/Kconfig | 2 sound/soc/sof/nocodec.c | 6 sound/soc/sof/pm.c | 10 sound/soc/tegra/tegra_wm8903.c | 6 sound/soc/ti/davinci-mcasp.c | 4 sound/soc/ti/omap-mcbsp.c | 8 sound/soc/ux500/mop500.c | 11 sound/usb/card.h | 5 sound/usb/endpoint.c | 244 +++++++++- sound/usb/endpoint.h | 1 sound/usb/pcm.c | 7 tools/lib/bpf/btf_dump.c | 33 - tools/perf/builtin-report.c | 3 tools/perf/util/stat-display.c | 4 tools/testing/selftests/networking/timestamping/timestamping.c | 10 tools/testing/selftests/ntb/ntb_test.sh | 2 tools/testing/selftests/x86/protection_keys.c | 3 330 files changed, 2964 insertions(+), 1653 deletions(-)
Adam Honse (1):
i2c: piix4: Detect secondary SMBus controller on AMD AM4 chipsets
Aharon Landau (1):
RDMA/mlx5: Add init2init as a modify command
Ahmed S. Darwish (2):
block: nr_sects_write(): Disable preemption on seqcount write
net: core: device_rename: Use rwsem instead of a seqcount
Alain Volmat (1):
clk: clk-flexgen: fix clock-critical handling
Alex Elder (1):
remoteproc: Fix IDR initialisation in rproc_alloc()
Alex Williamson (1):
vfio-pci: Mask cap zero
Alexander Sverdlin (1):
net: octeon: mgmt: Repair filling of RX ring
Alexander Tsoy (1):
ALSA: usb-audio: Improve frames size computation
Amelie Delaunay (3):
mfd: stmfx: Reset chip on resume as supply was disabled
mfd: stmfx: Fix stmfx_irq_init error path
mfd: stmfx: Disable IRQ in suspend to avoid spurious interrupt
Amit Kucheria (1):
arm64: dts: qcom: msm8916: remove unit name for thermal trip points
Andre Przywara (3):
arm64: dts: juno: Fix GIC child nodes
arm64: dts: fvp: Fix GIC child nodes
arm64: dts: fvp/juno: Fix node address fields
Andreas Klinger (1):
iio: bmp280: fix compensation of humidity
Andrew Murray (1):
PCI: rcar: Fix incorrect programming of OB windows
Andrey Ignatov (1):
bpf: Fix memlock accounting for sock_hash
Andrii Nakryiko (1):
libbpf: Handle GCC noreturn-turned-volatile quirk
Andy Shevchenko (3):
iio: pressure: bmp280: Tolerate IRQ before registering
gpio: dwapb: Call acpi_gpiochip_free_interrupts() on GPIO chip de-registration
gpio: dwapb: Append MODULE_ALIAS for platform driver
Aneesh Kumar K.V (1):
powerpc: Fix kernel crash in show_instructions() w/DEBUG_VIRTUAL
Ard Biesheuvel (2):
PCI: Allow pci_resize_resource() for devices on root bus x86/boot/compressed: Relax sed symbol type regex for LLVM ld.lld
Arnd Bergmann (3):
HID: intel-ish-hid: avoid bogus uninitialized-variable warning
dlm: remove BUG() before panic() include/linux/bitops.h: avoid clang shift-count-overflow warnings
Bard Liao (1):
ASoC: core: only convert non DPCM link to DPCM link
Ben Skeggs (1):
drm/nouveau/disp/gm200-: fix NV_PDISP_SOR_HDMI2_CTRL(n) selection
Bharat Gooty (1):
drivers: phy: sr-usb: do not use internal fsm for USB2 phy init
Bjorn Helgaas (1):
PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port
Bob Peterson (2):
gfs2: Allow lock_nolock mount to specify jid=X
gfs2: fix use-after-free on transaction ail lists
Bodo Stroesser (2):
scsi: target: loopback: Fix READ with data and sensebytes
scsi: target: tcmu: Userspace must not complete queued commands
Borislav Petkov (1):
x86/apic: Make TSC deadline timer detection message visible
Brett Creeley (1):
iavf: fix speed reporting over virtchnl
Bryan O'Donoghue (1):
clk: qcom: msm8916: Fix the address location of pll->config_reg
Can Guo (1):
scsi: ufs: Don't update urgent bkops level when toggling auto bkops
Chad Dupuis (1):
scsi: qedf: Fix crash when MFW calls for protocol stats while function is still probing
Chaitanya Kulkarni (3):
blktrace: use errno instead of bi_status
blktrace: fix endianness in get_pdu_int()
blktrace: fix endianness for blk_log_remap()
Chao Yu (1):
f2fs: handle readonly filesystem in f2fs_ioc_shutdown()
Chen Yu (1):
e1000e: Do not wake up the system via WOL if device wakeup is disabled
Chen Zhou (1):
staging: greybus: fix a missing-check bug in gb_lights_light_config()
Chris Wilson (2):
drm/i915/gem: Avoid iterating an empty list
drm/i915: Whitelist context-local timestamp in the gen9 cmdparser
Christoph Hellwig (2):
firmware: qcom_scm: fix bogous abuse of dma-direct internals
nvme-pci: use simple suspend when a HMB is enabled
Christophe JAILLET (9):
m68k/PCI: Fix a memory leak in an error handling path
PCI: v3-semi: Fix a memory leak in v3_pci_probe() error handling paths
power: supply: lp8788: Fix an error handling path in 'lp8788_charger_probe()'
ASoC: ux500: mop500: Fix some refcounted resources issues
ASoC: ti: omap-mcbsp: Fix an error handling path in 'asoc_mcbsp_probe()'
extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()'
pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'
pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'
scsi: acornscsi: Fix an error handling path in acornscsi_probe()
Christophe Leroy (3):
powerpc/kasan: Fix stack overflow by increasing THREAD_SHIFT powerpc/ptdump: Add _PAGE_COHERENT flag powerpc/32s: Don't warn when mapping RO data ROX.
Chuhong Yuan (1):
rtc: rv3028: Add missed check for devm_regmap_init_i2c()
Chunyan Zhang (1):
clk: sprd: return correct type of value for _sprd_pll_recalc_rate
Colin Ian King (1):
usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check
Cristian Klein (1):
HID: Add quirks for Trust Panora Graphic Tablet
Dafna Hirschfeld (1):
pinctrl: rockchip: fix memleak in rockchip_dt_node_to_map
Dan Carpenter (5):
scsi: qedi: Check for buffer overflow in qedi_set_path()
ALSA: isa/wavefront: prevent out of bounds write in ioctl
scsi: cxgb3i: Fix some leaks in init_act_open()
scsi: target: tcmu: Fix a use after free in tcmu_check_expired_queue_cmd()
of: Fix a refcounting bug in __of_attach_node_sysfs()
Dan Murphy (1):
net: marvell: Fix OF_MDIO config check
Dan Williams (1):
/dev/mem: Revoke mappings when a driver claims the region
Daniel Baluta (1):
ASoC: SOF: Do nothing when DSP PM callbacks are not set
David Howells (7):
rxrpc: Adjust /proc/net/rxrpc/calls to display call->debug_id not user_ID
afs: Fix non-setting of mtime when writing into mmap
afs: afs_write_end() should change i_size under the right lock
afs: Fix EOF corruption
afs: Always include dir in bulk status fetch from afs_do_lookup()
afs: Set error flag rather than return error from file status decode
afs: Fix the mapping of the UAEOVERFLOW abort code
Denis Efremov (2):
net/mlx5: DR, Fix freeing in dr_create_rc_qp() drm/amd/display: Use kvfree() to free coeff in build_regamma()
Dinghao Liu (1):
scsi: ufs-bsg: Fix runtime PM imbalance on error
Dmitry Osipenko (2):
ASoC: tegra: tegra_wm8903: Support nvidia, headset property
power: supply: smb347-charger: IRQSTAT_D is volatile
Dmitry V. Levin (1):
s390: fix syscall_get_error for compat processes
Eddie James (1):
clk: ast2600: Fix AHB clock divider for A1
Emmanuel Nicolet (1):
ps3disk: use the default segment boundary
Enric Balletbo i Serra (1):
power: supply: bq24257_charger: Replace depends on REGMAP_I2C with select
Eric Biggers (5):
f2fs: don't return vmalloc() memory from f2fs_kmalloc()
ext4: avoid utf8_strncasecmp() with unstable name
f2fs: split f2fs_d_compare() from f2fs_match_name()
f2fs: avoid utf8_strncasecmp() with unstable name
crypto: algboss - don't wait during notifier callback
Erwin Burema (1):
ALSA: usb-audio: Add duplex sound support for USB devices using implicit feedback
Fabrice Gasnier (1):
usb: dwc2: gadget: move gadget resume after the core is in L0 state
Fedor Tokarev (1):
net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
Feng Tang (1):
ipmi: use vzalloc instead of kmalloc for user creation
Gaurav Singh (1):
perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events()
Geert Uytterhoeven (1):
clk: renesas: cpg-mssr: Fix STBCR suspend/resume handling
Geoff Levand (1):
powerpc/ps3: Fix kexec shutdown hang
Greg Kroah-Hartman (1):
Linux 5.4.49
Gregory CLEMENT (3):
tty: n_gsm: Fix SOF skipping
tty: n_gsm: Fix waking up upper tty layer when room available
tty: n_gsm: Fix bogus i++ in gsm_data_kick
Hannes Reinecke (1):
dm zoned: return NULL if dmz_get_zone_for_reclaim() fails to find a zone
Hans de Goede (4):
x86/purgatory: Disable various profiling and sanitizing options
ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT8-A tablet
ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT10-A tablet
ASoC: rt5645: Add platform-data for Asus T101HA
Harry Wentland (1):
Revert "drm/amd/display: disable dcn20 abm feature for bring up"
Herbert Xu (1):
crypto: algif_skcipher - Cap recv SG list at ctx->used
Hongbo Yao (1):
perf stat: Fix NULL pointer dereference
Hsin-Yi Wang (1):
arm64: dts: mt8173: fix unit name warnings
Huacai Chen (1):
drm/qxl: Use correct notify port address when creating cursor ring
Imre Deak (2):
drm/i915: Fix AUX power domain toggling across TypeC mode resets drm/i915/icl+: Fix hotplug interrupt disabling after storm detection
J. Bruce Fields (2):
nfsd4: make drc_slab global, not per-net
nfsd: safer handling of corrupted c_type
Jakub Sitnicki (2):
bpf, sockhash: Fix memory leak when unlinking sockets in sock_hash_free bpf, sockhash: Synchronize delete from bucket list on map free
Jann Horn (1):
lib/zlib: remove outdated and incorrect pre-increment optimization
Jason Yan (2):
pinctrl: rza1: Fix wrong array assignment of rza1l_swio_entries
block: Fix use-after-free in blkdev_get()
Jean-Philippe Brucker (1):
tracing/probe: Fix bpf_task_fd_query() for kprobes and uprobes
Jeffle Xu (1):
ext4: fix partial cluster initialization when splitting extent
Jeffrey Hugo (1):
scsi: ufs-qcom: Fix scheduling while atomic issue
Jernej Skrabec (1):
drm/sun4i: hdmi ddc clk: Fix size of m divider
Jeykumar Sankaran (1):
drm/connector: notify userspace on hotplug after register complete
Jiri Benc (1):
geneve: change from tx_error to tx_dropped on missing metadata
Jiri Olsa (1):
kretprobe: Prevent triggering kretprobe from within kprobe_flush_task
Johannes Thumshirn (1):
scsi: core: free sgtables in case command setup fails
John Hubbard (1):
misc: xilinx-sdfec: improve get_user_pages_fast() error handling
John Johansen (2):
apparmor: fix introspection of of task mode for unconfined tasks
apparmor: fix nnp subset test for unconfined
John Stultz (2):
ASoC: qcom: q6asm-dai: kCFI fix
serial: amba-pl011: Make sure we initialize the port.lock spinlock
Jon Derrick (2):
PCI: pci-bridge-emul: Fix PCIe bit conflicts
PCI: vmd: Filter resource type bits from shadow register
Jon Hunter (2):
backlight: lp855x: Ensure regulators are disabled on probe failure
arm64: tegra: Fix ethernet phy-mode for Jetson Xavier
Jonathan Marek (1):
arm64: dts: qcom: fix pm8150 gpio interrupts
Jordan Crouse (1):
drm/msm: Check for powered down HW in the devfreq callbacks
Julian Wiedmann (1):
s390/qdio: put thinint indicator after early error
Kai-Heng Feng (3):
ALSA: hda/realtek - Introduce polarity for micmute LED GPIO PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges
libata: Use per port sync for detach
Kajol Jain (1):
powerpc/perf/hv-24x7: Fix inconsistent output values incase multiple hv-24x7 events run
Konstantin Khlebnikov (1):
f2fs: report delalloc reserve as non-free in statfs for project quota
Kuppuswamy Sathyanarayanan (1):
drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a driver developer is foolish
Lang Cheng (1):
RDMA/hns: Fix cmdq parameter of querying pf timer resource
Lars Povlsen (1):
pinctrl: ocelot: Fix GPIO interrupt decoding on Jaguar2
Li RongQing (1):
xdp: Fix xsk_generic_xmit errno
Lijun Ou (1):
RDMA/hns: Bugfix for querying qkey
Linus Walleij (1):
ARM: integrator: Add some Kconfig selections
Logan Gunthorpe (8):
NTB: ntb_pingpong: Choose doorbells based on port number
NTB: Fix the default port and peer numbers for legacy drivers
NTB: ntb_tool: reading the link file should not end in a NULL byte
NTB: Revert the change to use the NTB device dev for DMA allocations
NTB: perf: Don't require one more memory window than number of peers
NTB: perf: Fix support for hardware that doesn't have port numbers
NTB: perf: Fix race condition when run with ntb_test
NTB: ntb_test: Fix bug when counting remote files
Loic Poulain (1):
arm64: dts: msm8996: Fix CSI IRQ types
Luis Henriques (1):
ceph: don't return -ESTALE if there's still an open file
Luo Jiaxing (1):
scsi: hisi_sas: Do not reset phy timer to wait for stray phy up
Lyude Paul (2):
drm/dp_mst: Reformat drm_dp_check_act_status() a bit drm/dp_mst: Increase ACT retry timeout to 3s
Maor Gottlieb (1):
IB/cma: Fix ports memory leak in cma_configfs
Marc Zyngier (2):
PCI: dwc: Fix inner MSI IRQ domain registration
PCI: amlogic: meson: Don't use FAST_LINK_MODE to set up link
Marco Felsch (1):
Input: edt-ft5x06 - fix get_default register write access
Marek Behún (2):
arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes
arm64: dts: armada-3720-turris-mox: fix SFP binding
Marek Szyprowski (3):
clk: samsung: Mark top ISP and CAM clocks on Exynos542x as critical
mfd: wm8994: Fix driver operation if loaded as modules
clk: samsung: exynos5433: Add IGNORE_UNUSED flag to sclk_i2s1
Marek Vasut (1):
ARM: dts: stm32: Add missing ethernet PHY reset on AV96
Mark Zhang (1):
IB/mlx5: Fix DEVX support for MLX5_CMD_OP_INIT2INIT_QP command
Martin Blumenstingl (5):
net: dsa: lantiq_gswip: fix and improve the unsupported interface error
clk: meson: meson8b: Fix the first parent of vid_pll_in_sel
clk: meson: meson8b: Fix the polarity of the RESET_N lines
clk: meson: meson8b: Fix the vclk_div{1, 2, 4, 6, 12}_en gate bits
clk: meson: meson8b: Don't rely on u-boot to init all GP_PLL registers
Martin Wilck (1):
dm mpath: switch paths in dm_blk_ioctl() code path
Masami Hiramatsu (1):
kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutex
Matej Dujava (1):
staging: sm750fb: add missing case while setting FB_VISUAL
Mauricio Faria de Oliveira (1):
apparmor: check/put label on apparmor_sk_clone_security()
Max Staudt (1):
i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n
Michael Ellerman (1):
powerpc/64: Don't initialise init_task->thread.regs
Mika Westerberg (1):
PCI/PM: Assume ports without DLL Link Active train links in 100 ms
Miklos Szeredi (2):
fuse: fix copy_file_range cache issues
fuse: copy_file_range should truncate cache
Nathan Chancellor (3):
USB: gadget: udc: s3c2410_udc: Remove pointless NULL check in s3c2410_udc_nuke
clk: bcm2835: Fix return type of bcm2835_register_gate
input: i8042 - Remove special PowerPC handling
Navid Emamdoost (1):
pwm: img: Call pm_runtime_put() in pm_runtime_get_sync() failed case
Neil Armstrong (1):
arm64: dts: meson: fixup SCP sram nodes
Nicholas Kazlauskas (1):
drm/amd/display: Revalidate bandwidth before commiting DC updates
Nicholas Piggin (2):
powerpc/64s/exception: Fix machine check no-loss idle wakeup powerpc/pseries/ras: Fix FWNMI_VALID off by one
Nilesh Javali (1):
scsi: qedi: Do not flush offload work if ARP not resolved
Oded Gabbay (1):
habanalabs: increase timeout during reset
Olga Kornievskaia (1):
NFSv4.1 fix rpc_call_done assignment for BIND_CONN_TO_SESSION
Oliver Neukum (1):
usblp: poison URBs upon disconnect
Oscar Carter (1):
staging: wilc1000: Increase the size of wid_list array
Pali Rohár (1):
PCI: aardvark: Don't blindly enable ASPM L0s and don't write to read-only register
Paul Cercueil (1):
pwm: jz4740: Enhance precision in calculation of duty cycle
Paulo Alcantara (1):
cifs: set up next DFS target before generic_ip_connect()
Pavel Machek (CIP) (1):
ASoC: meson: add missing free_irq() in error path
Pawel Laszczak (1):
usb: gadget: Fix issue with config_ep_by_speed function
Peter Chen (1):
usb: gadget: core: sync interrupt before unbind the udc
Pierre-Louis Bossart (2):
soundwire: slave: don't init debugfs on device registration error
ASoC: SOF: nocodec: conditionally set dpcm_capture/dpcm_playback flags
Pingfan Liu (1):
powerpc/crashkernel: Take "mem=" option into account
Potnuri Bharat Teja (1):
RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove
Qais Yousef (3):
usb/ohci-platform: Fix a warning when hibernating usb/xhci-plat: Set PM runtime as active on resume usb/ehci-platform: Set PM runtime as active on resume
Qian Cai (4):
vfio/pci: fix memory leaks in alloc_perm_bits() powerpc/64s/pgtable: fix an undefined behaviour
KVM: PPC: Book3S HV: Ignore kmemleak false positives
KVM: PPC: Book3S: Fix some RCU-list locks
Qiushi Wu (6):
rtc: mc13xxx: fix a double-unlock issue
RDMA/core: Fix several reference count leaks.
usb: gadget: fix potential double-free in m66592_probe.
ASoC: fix incomplete error-handling in img_i2s_in_probe. vfio/mdev: Fix reference count leak in add_mdev_supported_type
scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
Quanyang Wang (1):
clk: zynqmp: fix memory leak in zynqmp_register_clocks
Raghavendra Rao Ananta (1):
tty: hvc: Fix data abort due to race in hvc_open
Ram Pai (1):
selftests/vm/pkeys: fix alloc_random_pkey() to make it really random
Rikard Falkeborn (1):
clk: sunxi: Fix incorrect usage of round_down()
Rob Herring (1):
PCI: Fix pci_register_host_bridge() device_register() error handling
Roy Spliet (1):
drm/msm/mdp5: Fix mdp5_init error path for failed mdp5_kms allocation
Russell King (2):
i2c: pxa: clear all master action bits in i2c_pxa_stop_message()
i2c: pxa: fix i2c_pxa_scream_blue_murder() debug output
Sai Prakash Ranjan (1):
coresight: tmc: Fix TMC mode read in tmc_read_prepare_etb()
Sandeep Raghuraman (1):
drm/amdgpu: Replace invalid device ID with a valid device ID
Sanjay R Mehta (2):
ntb_perf: pass correct struct device to dma_alloc_coherent
ntb_tool: pass correct struct device to dma_alloc_coherent
Serge Semin (1):
serial: 8250: Fix max baud limit in generic 8250 port
Shaokun Zhang (1):
drivers/perf: hisi: Fix wrong value for all counters enable
Shengjiu Wang (1):
ASoC: fsl_esai: Disable exception interrupt before scheduling tasklet
Sibi Sankar (1):
remoteproc: qcom_q6v5_mss: map/unmap mpss segments before/after use
Siddharth Gupta (1):
scripts: headers_install: Exit with error on config leak
Simon Arlott (1):
scsi: sr: Fix sr_probe() missing deallocate of device minor
Souptick Joarder (1):
fpga: dfl: afu: Corrected error handling levels
Srinivas Kandagatla (3):
misc: fastrpc: Fix an incomplete memory release in fastrpc_rpmsg_probe()
misc: fastrpc: fix potential fastrpc_invoke_ctx leak
slimbus: ngd: get drvdata from correct device
Stafford Horne (1):
openrisc: Fix issue with argument clobbering for clone/fork
Stefan Riedmueller (1):
watchdog: da9062: No need to ping manually before setting timeout
Sudhakar Panneerselvam (1):
scsi: vhost: Notify TCM about the maximum sg entries supported per command
Sudip Mukherjee (1):
thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR
Suganath Prabu S (1):
scsi: mpt3sas: Fix double free warnings
Sven Auhagen (1):
mvpp2: remove module bugfix
Takashi Iwai (1):
ALSA: usb-audio: Fix racy list management in output queue
Takashi Sakamoto (1):
ALSA: firewire-lib: fix invalid assignment to union data for directional parameter
Tang Bin (1):
USB: host: ehci-mxc: Add error handling in ehci_mxc_drv_probe()
Tero Kristo (2):
clk: ti: composite: fix memory leak
crypto: omap-sham - add proper load balancing support for multicore
Theodore Ts'o (1):
ext4: avoid race conditions when remounting with options that change dax
Thinh Nguyen (2):
usb: dwc3: gadget: Properly handle ClearFeature(halt)
usb: dwc3: gadget: Properly handle failed kick_transfer
Thomas Gleixner (1):
sched/rt, net: Use CONFIG_PREEMPTION.patch
Tom Rix (1):
selinux: fix double free
Tyrel Datwyler (1):
scsi: ibmvscsi: Don't send host info in adapter info MAD after LPM
Uwe Kleine-König (1):
gpio: pca953x: fix handling of automatic address incrementing
Vamshi K Sthambamkadi (1):
tracing/probe: Fix memleak in fetch_op_data operations
Vasundhara Volam (1):
bnxt_en: Return from timer if interface is not in open state.
Viacheslav Dubeyko (2):
scsi: qla2xxx: Fix issue with adapter's stopping state
scsi: qla2xxx: Fix warning after FC target reset
Vidya Sagar (1):
arm64: tegra: Fix flag for 64-bit resources in 'ranges' property
Ville Syrjälä (1):
drm/amd/display: Use swap() where appropriate
Vincent Stehlé (1):
ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity
Vitaly Kuznetsov (1):
x86/idt: Keep spurious entries unset in system_vectors
Vivek Goyal (1):
virtiofs: schedule blocking async replies in separate worker
Wang Hai (1):
yam: fix possible memory leak in yam_init_driver
Wei Yongjun (4):
ASoC: SOF: core: fix error return code in sof_probe_continue()
USB: ohci-sm501: fix error return code in ohci_hcd_sm501_drv_probe()
firmware: imx: scu: Fix possible memory leak in imx_scu_probe()
mailbox: zynqmp-ipi: Fix NULL vs IS_ERR() check in zynqmp_ipi_mbox_probe()
Will Deacon (2):
sparc32: mm: Don't try to free page-table pages if ctor() fails
arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
Wolfram Sang (1):
drm: encoder_slave: fix refcouting error for modules
Xiyu Yang (6):
ASoC: davinci-mcasp: Fix dma_chan refcnt leak when getting dma type
scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event
nfsd: Fix svc_xprt refcnt leak when setup callback client failed
staging: gasket: Fix mapping refcnt leak when put attribute fails
staging: gasket: Fix mapping refcnt leak when register/store fails
ASoC: fsl_asrc_dma: Fix dma_chan leak when config DMA channel failed
YiFei Zhu (1):
net/filter: Permit reading NET in load_bytes_relative when MAC not set
Yishai Hadas (1):
RDMA/mlx5: Fix udata response upon SRQ creation
Yong Zhi (1):
ASoC: max98373: reorder max98373_reset() in resume
Yongbo Zhang (1):
SoC: rsnd: add interrupt support for SSI BUSIF buffer
Yoshihiro Shimoda (2):
ARM: dts: renesas: Fix IOMMU device node names
usb: host: ehci-platform: add a quirk to avoid stuck
YueHaibing (1):
ASoC: SOF: imx8: Fix randbuild error
Zheng Bin (1):
nfs: set invalid blocks after NFSv4 writes
Zhihao Cheng (1):
afs: Fix memory leak in afs_put_sysnames()
Zhiqiang Liu (1):
bcache: fix potential deadlock problem in btree_gc_coalesce
ashimida (1):
mksysmap: Fix the mismatch of '.L' symbols in System.map
dihu (1):
bpf/sockmap: Fix kernel panic at __tcp_bpf_recvmsg
huhai (1):
powerpc/4xx: Don't unmap NULL mbase
tannerlove (1):
selftests/net: in timestamping, strncpy needs to preserve null byte
yangerkun (1):
ext4: stop overwrite the errcode in ext4_setup_super
zhangyi (F) (1):
jbd2: clean __jbd2_journal_abort_hard() and __journal_abort_soft()
Greg Kroah-Hartman
maintainerMakefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 48 +SUBLEVEL = 49 EXTRAVERSION = NAME = Kleptomaniac Octopus
arch/arm/boot/dts/r8a7743.dtsi +6 -6
@@ -338,7 +338,7 @@ #thermal-sensor-cells = <0>; }; - ipmmu_sy0: mmu@e6280000 { + ipmmu_sy0: iommu@e6280000 { compatible = "renesas,ipmmu-r8a7743", "renesas,ipmmu-vmsa"; reg = <0 0xe6280000 0 0x1000>;
@@ -348,7 +348,7 @@ status = "disabled"; }; - ipmmu_sy1: mmu@e6290000 { + ipmmu_sy1: iommu@e6290000 { compatible = "renesas,ipmmu-r8a7743", "renesas,ipmmu-vmsa"; reg = <0 0xe6290000 0 0x1000>;
@@ -357,7 +357,7 @@ status = "disabled"; }; - ipmmu_ds: mmu@e6740000 { + ipmmu_ds: iommu@e6740000 { compatible = "renesas,ipmmu-r8a7743", "renesas,ipmmu-vmsa"; reg = <0 0xe6740000 0 0x1000>;
@@ -367,7 +367,7 @@ status = "disabled"; }; - ipmmu_mp: mmu@ec680000 { + ipmmu_mp: iommu@ec680000 { compatible = "renesas,ipmmu-r8a7743", "renesas,ipmmu-vmsa"; reg = <0 0xec680000 0 0x1000>;
@@ -376,7 +376,7 @@ status = "disabled"; }; - ipmmu_mx: mmu@fe951000 { + ipmmu_mx: iommu@fe951000 { compatible = "renesas,ipmmu-r8a7743", "renesas,ipmmu-vmsa"; reg = <0 0xfe951000 0 0x1000>;
@@ -386,7 +386,7 @@ status = "disabled"; }; - ipmmu_gp: mmu@e62a0000 { + ipmmu_gp: iommu@e62a0000 { compatible = "renesas,ipmmu-r8a7743", "renesas,ipmmu-vmsa"; reg = <0 0xe62a0000 0 0x1000>;
arch/arm/boot/dts/r8a7744.dtsi +6 -6
@@ -338,7 +338,7 @@ #thermal-sensor-cells = <0>; }; - ipmmu_sy0: mmu@e6280000 { + ipmmu_sy0: iommu@e6280000 { compatible = "renesas,ipmmu-r8a7744", "renesas,ipmmu-vmsa"; reg = <0 0xe6280000 0 0x1000>;
@@ -348,7 +348,7 @@ status = "disabled"; }; - ipmmu_sy1: mmu@e6290000 { + ipmmu_sy1: iommu@e6290000 { compatible = "renesas,ipmmu-r8a7744", "renesas,ipmmu-vmsa"; reg = <0 0xe6290000 0 0x1000>;
@@ -357,7 +357,7 @@ status = "disabled"; }; - ipmmu_ds: mmu@e6740000 { + ipmmu_ds: iommu@e6740000 { compatible = "renesas,ipmmu-r8a7744", "renesas,ipmmu-vmsa"; reg = <0 0xe6740000 0 0x1000>;
@@ -367,7 +367,7 @@ status = "disabled"; }; - ipmmu_mp: mmu@ec680000 { + ipmmu_mp: iommu@ec680000 { compatible = "renesas,ipmmu-r8a7744", "renesas,ipmmu-vmsa"; reg = <0 0xec680000 0 0x1000>;
@@ -376,7 +376,7 @@ status = "disabled"; }; - ipmmu_mx: mmu@fe951000 { + ipmmu_mx: iommu@fe951000 { compatible = "renesas,ipmmu-r8a7744", "renesas,ipmmu-vmsa"; reg = <0 0xfe951000 0 0x1000>;
@@ -386,7 +386,7 @@ status = "disabled"; }; - ipmmu_gp: mmu@e62a0000 { + ipmmu_gp: iommu@e62a0000 { compatible = "renesas,ipmmu-r8a7744", "renesas,ipmmu-vmsa"; reg = <0 0xe62a0000 0 0x1000>;
arch/arm/boot/dts/r8a7745.dtsi +6 -6
@@ -302,7 +302,7 @@ resets = <&cpg 407>; }; - ipmmu_sy0: mmu@e6280000 { + ipmmu_sy0: iommu@e6280000 { compatible = "renesas,ipmmu-r8a7745", "renesas,ipmmu-vmsa"; reg = <0 0xe6280000 0 0x1000>;
@@ -312,7 +312,7 @@ status = "disabled"; }; - ipmmu_sy1: mmu@e6290000 { + ipmmu_sy1: iommu@e6290000 { compatible = "renesas,ipmmu-r8a7745", "renesas,ipmmu-vmsa"; reg = <0 0xe6290000 0 0x1000>;
@@ -321,7 +321,7 @@ status = "disabled"; }; - ipmmu_ds: mmu@e6740000 { + ipmmu_ds: iommu@e6740000 { compatible = "renesas,ipmmu-r8a7745", "renesas,ipmmu-vmsa"; reg = <0 0xe6740000 0 0x1000>;
@@ -331,7 +331,7 @@ status = "disabled"; }; - ipmmu_mp: mmu@ec680000 { + ipmmu_mp: iommu@ec680000 { compatible = "renesas,ipmmu-r8a7745", "renesas,ipmmu-vmsa"; reg = <0 0xec680000 0 0x1000>;
@@ -340,7 +340,7 @@ status = "disabled"; }; - ipmmu_mx: mmu@fe951000 { + ipmmu_mx: iommu@fe951000 { compatible = "renesas,ipmmu-r8a7745", "renesas,ipmmu-vmsa"; reg = <0 0xfe951000 0 0x1000>;
@@ -350,7 +350,7 @@ status = "disabled"; }; - ipmmu_gp: mmu@e62a0000 { + ipmmu_gp: iommu@e62a0000 { compatible = "renesas,ipmmu-r8a7745", "renesas,ipmmu-vmsa"; reg = <0 0xe62a0000 0 0x1000>;
arch/arm/boot/dts/r8a7790.dtsi +6 -6
@@ -427,7 +427,7 @@ #thermal-sensor-cells = <0>; }; - ipmmu_sy0: mmu@e6280000 { + ipmmu_sy0: iommu@e6280000 { compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa"; reg = <0 0xe6280000 0 0x1000>;
@@ -437,7 +437,7 @@ status = "disabled"; }; - ipmmu_sy1: mmu@e6290000 { + ipmmu_sy1: iommu@e6290000 { compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa"; reg = <0 0xe6290000 0 0x1000>;
@@ -446,7 +446,7 @@ status = "disabled"; }; - ipmmu_ds: mmu@e6740000 { + ipmmu_ds: iommu@e6740000 { compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa"; reg = <0 0xe6740000 0 0x1000>;
@@ -456,7 +456,7 @@ status = "disabled"; }; - ipmmu_mp: mmu@ec680000 { + ipmmu_mp: iommu@ec680000 { compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa"; reg = <0 0xec680000 0 0x1000>;
@@ -465,7 +465,7 @@ status = "disabled"; }; - ipmmu_mx: mmu@fe951000 { + ipmmu_mx: iommu@fe951000 { compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa"; reg = <0 0xfe951000 0 0x1000>;
@@ -475,7 +475,7 @@ status = "disabled"; }; - ipmmu_rt: mmu@ffc80000 { + ipmmu_rt: iommu@ffc80000 { compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa"; reg = <0 0xffc80000 0 0x1000>;
arch/arm/boot/dts/r8a7791.dtsi +7 -7
@@ -350,7 +350,7 @@ #thermal-sensor-cells = <0>; }; - ipmmu_sy0: mmu@e6280000 { + ipmmu_sy0: iommu@e6280000 { compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa"; reg = <0 0xe6280000 0 0x1000>;
@@ -360,7 +360,7 @@ status = "disabled"; }; - ipmmu_sy1: mmu@e6290000 { + ipmmu_sy1: iommu@e6290000 { compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa"; reg = <0 0xe6290000 0 0x1000>;
@@ -369,7 +369,7 @@ status = "disabled"; }; - ipmmu_ds: mmu@e6740000 { + ipmmu_ds: iommu@e6740000 { compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa"; reg = <0 0xe6740000 0 0x1000>;
@@ -379,7 +379,7 @@ status = "disabled"; }; - ipmmu_mp: mmu@ec680000 { + ipmmu_mp: iommu@ec680000 { compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa"; reg = <0 0xec680000 0 0x1000>;
@@ -388,7 +388,7 @@ status = "disabled"; }; - ipmmu_mx: mmu@fe951000 { + ipmmu_mx: iommu@fe951000 { compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa"; reg = <0 0xfe951000 0 0x1000>;
@@ -398,7 +398,7 @@ status = "disabled"; }; - ipmmu_rt: mmu@ffc80000 { + ipmmu_rt: iommu@ffc80000 { compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa"; reg = <0 0xffc80000 0 0x1000>;
@@ -407,7 +407,7 @@ status = "disabled"; }; - ipmmu_gp: mmu@e62a0000 { + ipmmu_gp: iommu@e62a0000 { compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa"; reg = <0 0xe62a0000 0 0x1000>;
arch/arm/boot/dts/r8a7793.dtsi +7 -7
@@ -336,7 +336,7 @@ #thermal-sensor-cells = <0>; }; - ipmmu_sy0: mmu@e6280000 { + ipmmu_sy0: iommu@e6280000 { compatible = "renesas,ipmmu-r8a7793", "renesas,ipmmu-vmsa"; reg = <0 0xe6280000 0 0x1000>;
@@ -346,7 +346,7 @@ status = "disabled"; }; - ipmmu_sy1: mmu@e6290000 { + ipmmu_sy1: iommu@e6290000 { compatible = "renesas,ipmmu-r8a7793", "renesas,ipmmu-vmsa"; reg = <0 0xe6290000 0 0x1000>;
@@ -355,7 +355,7 @@ status = "disabled"; }; - ipmmu_ds: mmu@e6740000 { + ipmmu_ds: iommu@e6740000 { compatible = "renesas,ipmmu-r8a7793", "renesas,ipmmu-vmsa"; reg = <0 0xe6740000 0 0x1000>;
@@ -365,7 +365,7 @@ status = "disabled"; }; - ipmmu_mp: mmu@ec680000 { + ipmmu_mp: iommu@ec680000 { compatible = "renesas,ipmmu-r8a7793", "renesas,ipmmu-vmsa"; reg = <0 0xec680000 0 0x1000>;
@@ -374,7 +374,7 @@ status = "disabled"; }; - ipmmu_mx: mmu@fe951000 { + ipmmu_mx: iommu@fe951000 { compatible = "renesas,ipmmu-r8a7793", "renesas,ipmmu-vmsa"; reg = <0 0xfe951000 0 0x1000>;
@@ -384,7 +384,7 @@ status = "disabled"; }; - ipmmu_rt: mmu@ffc80000 { + ipmmu_rt: iommu@ffc80000 { compatible = "renesas,ipmmu-r8a7793", "renesas,ipmmu-vmsa"; reg = <0 0xffc80000 0 0x1000>;
@@ -393,7 +393,7 @@ status = "disabled"; }; - ipmmu_gp: mmu@e62a0000 { + ipmmu_gp: iommu@e62a0000 { compatible = "renesas,ipmmu-r8a7793", "renesas,ipmmu-vmsa"; reg = <0 0xe62a0000 0 0x1000>;
arch/arm/boot/dts/r8a7794.dtsi +6 -6
@@ -290,7 +290,7 @@ resets = <&cpg 407>; }; - ipmmu_sy0: mmu@e6280000 { + ipmmu_sy0: iommu@e6280000 { compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa"; reg = <0 0xe6280000 0 0x1000>;
@@ -300,7 +300,7 @@ status = "disabled"; }; - ipmmu_sy1: mmu@e6290000 { + ipmmu_sy1: iommu@e6290000 { compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa"; reg = <0 0xe6290000 0 0x1000>;
@@ -309,7 +309,7 @@ status = "disabled"; }; - ipmmu_ds: mmu@e6740000 { + ipmmu_ds: iommu@e6740000 { compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa"; reg = <0 0xe6740000 0 0x1000>;
@@ -319,7 +319,7 @@ status = "disabled"; }; - ipmmu_mp: mmu@ec680000 { + ipmmu_mp: iommu@ec680000 { compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa"; reg = <0 0xec680000 0 0x1000>;
@@ -328,7 +328,7 @@ status = "disabled"; }; - ipmmu_mx: mmu@fe951000 { + ipmmu_mx: iommu@fe951000 { compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa"; reg = <0 0xfe951000 0 0x1000>;
@@ -338,7 +338,7 @@ status = "disabled"; }; - ipmmu_gp: mmu@e62a0000 { + ipmmu_gp: iommu@e62a0000 { compatible = "renesas,ipmmu-r8a7794", "renesas,ipmmu-vmsa"; reg = <0 0xe62a0000 0 0x1000>;
arch/arm/boot/dts/stm32mp157a-avenger96.dts +3 -0
@@ -91,6 +91,9 @@ #address-cells = <1>; #size-cells = <0>; compatible = "snps,dwmac-mdio"; + reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>; + reset-delay-us = <1000>; + phy0: ethernet-phy@7 { reg = <7>; };
arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts +1 -1
@@ -31,7 +31,7 @@ pwr_led { label = "bananapi-m2-zero:red:pwr"; - gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */ + gpios = <&r_pio 0 10 GPIO_ACTIVE_LOW>; /* PL10 */ default-state = "on"; }; };
arch/arm/boot/dts/vexpress-v2m-rs1.dtsi +5 -5
@@ -31,7 +31,7 @@ #interrupt-cells = <1>; ranges; - nor_flash: flash@0,00000000 { + nor_flash: flash@0 { compatible = "arm,vexpress-flash", "cfi-flash"; reg = <0 0x00000000 0x04000000>, <4 0x00000000 0x04000000>;
@@ -41,13 +41,13 @@ }; }; - psram@1,00000000 { + psram@100000000 { compatible = "arm,vexpress-psram", "mtd-ram"; reg = <1 0x00000000 0x02000000>; bank-width = <4>; }; - ethernet@2,02000000 { + ethernet@202000000 { compatible = "smsc,lan9118", "smsc,lan9115"; reg = <2 0x02000000 0x10000>; interrupts = <15>;
@@ -59,14 +59,14 @@ vddvario-supply = <&v2m_fixed_3v3>; }; - usb@2,03000000 { + usb@203000000 { compatible = "nxp,usb-isp1761"; reg = <2 0x03000000 0x20000>; interrupts = <16>; port1-otg; }; - iofpga@3,00000000 { + iofpga@300000000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>;
arch/arm/mach-integrator/Kconfig +4 -3
@@ -4,6 +4,8 @@ menuconfig ARCH_INTEGRATOR depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V6 select ARM_AMBA select COMMON_CLK_VERSATILE + select CMA + select DMA_CMA select HAVE_TCM select ICST select MFD_SYSCON
@@ -35,14 +37,13 @@ config INTEGRATOR_IMPD1 select ARM_VIC select GPIO_PL061 select GPIOLIB + select REGULATOR + select REGULATOR_FIXED_VOLTAGE help The IM-PD1 is an add-on logic module for the Integrator which allows ARM(R) Ltd PrimeCells to be developed and evaluated. The IM-PD1 can be found on the Integrator/PP2 platform. - To compile this driver as a module, choose M here: the - module will be called impd1. - config INTEGRATOR_CM7TDMI bool "Integrator/CM7TDMI core module" depends on ARCH_INTEGRATOR_AP
arch/arm64/boot/dts/amlogic/meson-axg.dtsi +3 -3
@@ -1728,18 +1728,18 @@ }; sram: sram@fffc0000 { - compatible = "amlogic,meson-axg-sram", "mmio-sram"; + compatible = "mmio-sram"; reg = <0x0 0xfffc0000 0x0 0x20000>; #address-cells = <1>; #size-cells = <1>; ranges = <0 0x0 0xfffc0000 0x20000>; - cpu_scp_lpri: scp-shmem@13000 { + cpu_scp_lpri: scp-sram@13000 { compatible = "amlogic,meson-axg-scp-shmem"; reg = <0x13000 0x400>; }; - cpu_scp_hpri: scp-shmem@13400 { + cpu_scp_hpri: scp-sram@13400 { compatible = "amlogic,meson-axg-scp-shmem"; reg = <0x13400 0x400>; };
arch/arm64/boot/dts/amlogic/meson-gx.dtsi +5 -5
@@ -345,20 +345,20 @@ }; sram: sram@c8000000 { - compatible = "amlogic,meson-gx-sram", "amlogic,meson-gxbb-sram", "mmio-sram"; + compatible = "mmio-sram"; reg = <0x0 0xc8000000 0x0 0x14000>; #address-cells = <1>; #size-cells = <1>; ranges = <0 0x0 0xc8000000 0x14000>; - cpu_scp_lpri: scp-shmem@0 { - compatible = "amlogic,meson-gx-scp-shmem", "amlogic,meson-gxbb-scp-shmem"; + cpu_scp_lpri: scp-sram@0 { + compatible = "amlogic,meson-gxbb-scp-shmem"; reg = <0x13000 0x400>; }; - cpu_scp_hpri: scp-shmem@200 { - compatible = "amlogic,meson-gx-scp-shmem", "amlogic,meson-gxbb-scp-shmem"; + cpu_scp_hpri: scp-sram@200 { + compatible = "amlogic,meson-gxbb-scp-shmem"; reg = <0x13400 0x400>; }; };
arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi +1 -1
@@ -8,7 +8,7 @@ gic: interrupt-controller@2c001000 { compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; #interrupt-cells = <3>; - #address-cells = <2>; + #address-cells = <1>; interrupt-controller; reg = <0x0 0x2c001000 0 0x1000>, <0x0 0x2c002000 0 0x2000>,
arch/arm64/boot/dts/arm/foundation-v8-gicv3.dtsi +4 -4
@@ -8,9 +8,9 @@ gic: interrupt-controller@2f000000 { compatible = "arm,gic-v3"; #interrupt-cells = <3>; - #address-cells = <2>; - #size-cells = <2>; - ranges; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x2f000000 0x100000>; interrupt-controller; reg = <0x0 0x2f000000 0x0 0x10000>, <0x0 0x2f100000 0x0 0x200000>,
@@ -22,7 +22,7 @@ its: its@2f020000 { compatible = "arm,gic-v3-its"; msi-controller; - reg = <0x0 0x2f020000 0x0 0x20000>; + reg = <0x20000 0x20000>; }; }; };
arch/arm64/boot/dts/arm/foundation-v8.dtsi +46 -46
104 lines not on this page · raw message
arch/arm64/boot/dts/arm/juno-base.dtsi +25 -25
95 lines not on this page · raw message
arch/arm64/boot/dts/arm/juno-motherboard.dtsi +3 -3
@@ -103,7 +103,7 @@ }; }; - flash@0,00000000 { + flash@0 { /* 2 * 32MiB NOR Flash memory mounted on CS0 */ compatible = "arm,vexpress-flash", "cfi-flash"; reg = <0 0x00000000 0x04000000>;
@@ -120,7 +120,7 @@ }; }; - ethernet@2,00000000 { + ethernet@200000000 { compatible = "smsc,lan9118", "smsc,lan9115"; reg = <2 0x00000000 0x10000>; interrupts = <3>;
@@ -133,7 +133,7 @@ vddvario-supply = <&mb_fixed_3v3>; }; - iofpga@3,00000000 { + iofpga@300000000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>;
arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi +1 -1
@@ -9,7 +9,7 @@ motherboard { arm,v2m-memory-map = "rs2"; - iofpga@3,00000000 { + iofpga@300000000 { virtio-p9@140000 { compatible = "virtio,mmio"; reg = <0x140000 0x200>;
arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi +3 -3
@@ -17,14 +17,14 @@ #interrupt-cells = <1>; ranges; - flash@0,00000000 { + flash@0 { compatible = "arm,vexpress-flash", "cfi-flash"; reg = <0 0x00000000 0x04000000>, <4 0x00000000 0x04000000>; bank-width = <4>; }; - ethernet@2,02000000 { + ethernet@202000000 { compatible = "smsc,lan91c111"; reg = <2 0x02000000 0x10000>; interrupts = <15>;
@@ -51,7 +51,7 @@ clock-output-names = "v2m:refclk32khz"; }; - iofpga@3,00000000 { + iofpga@300000000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>;
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts +3 -1
@@ -95,7 +95,7 @@ }; sfp: sfp { - compatible = "sff,sfp+"; + compatible = "sff,sfp"; i2c-bus = <&i2c0>; los-gpio = <&moxtet_sfp 0 GPIO_ACTIVE_HIGH>; tx-fault-gpio = <&moxtet_sfp 1 GPIO_ACTIVE_HIGH>;
@@ -171,6 +171,8 @@ marvell,pad-type = "sd"; vqmmc-supply = <&vsdio_reg>; mmc-pwrseq = <&sdhci1_pwrseq>; + /* forbid SDR104 for FCC purposes */ + sdhci-caps-mask = <0x2 0x0>; status = "okay"; };
arch/arm64/boot/dts/mediatek/mt8173.dtsi +11 -11
@@ -238,21 +238,21 @@ cpu_on = <0x84000003>; }; - clk26m: oscillator@0 { + clk26m: oscillator0 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <26000000>; clock-output-names = "clk26m"; }; - clk32k: oscillator@1 { + clk32k: oscillator1 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <32000>; clock-output-names = "clk32k"; }; - cpum_ck: oscillator@2 { + cpum_ck: oscillator2 { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <0>;
@@ -268,19 +268,19 @@ sustainable-power = <1500>; /* milliwatts */ trips { - threshold: trip-point@0 { + threshold: trip-point0 { temperature = <68000>; hysteresis = <2000>; type = "passive"; }; - target: trip-point@1 { + target: trip-point1 { temperature = <85000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit: cpu_crit@0 { + cpu_crit: cpu_crit0 { temperature = <115000>; hysteresis = <2000>; type = "critical";
@@ -288,13 +288,13 @@ }; cooling-maps { - map@0 { + map0 { trip = <&target>; cooling-device = <&cpu0 0 0>, <&cpu1 0 0>; contribution = <3072>; }; - map@1 { + map1 { trip = <&target>; cooling-device = <&cpu2 0 0>, <&cpu3 0 0>;
@@ -308,7 +308,7 @@ #address-cells = <2>; #size-cells = <2>; ranges; - vpu_dma_reserved: vpu_dma_mem_region { + vpu_dma_reserved: vpu_dma_mem_region@b7000000 { compatible = "shared-dma-pool"; reg = <0 0xb7000000 0 0x500000>; alignment = <0x1000>;
@@ -360,7 +360,7 @@ reg = <0 0x10005000 0 0x1000>; }; - pio: pinctrl@10005000 { + pio: pinctrl@1000b000 { compatible = "mediatek,mt8173-pinctrl"; reg = <0 0x1000b000 0 0x1000>; mediatek,pctl-regmap = <&syscfg_pctl_a>;
@@ -567,7 +567,7 @@ status = "disabled"; }; - gic: interrupt-controller@10220000 { + gic: interrupt-controller@10221000 { compatible = "arm,gic-400"; #interrupt-cells = <3>; interrupt-parent = <&gic>;
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +1 -1
@@ -32,7 +32,7 @@ phy-reset-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 5) GPIO_ACTIVE_LOW>; phy-handle = <&phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; mdio { #address-cells = <1>;
arch/arm64/boot/dts/nvidia/tegra194.dtsi +6 -6
@@ -1192,7 +1192,7 @@ bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x30100000 0x0 0x30100000 0x0 0x00100000 /* downstream I/O (1MB) */ - 0xc2000000 0x12 0x00000000 0x12 0x00000000 0x0 0x30000000 /* prefetchable memory (768MB) */ + 0xc3000000 0x12 0x00000000 0x12 0x00000000 0x0 0x30000000 /* prefetchable memory (768MB) */ 0x82000000 0x0 0x40000000 0x12 0x30000000 0x0 0x10000000>; /* non-prefetchable memory (256MB) */ };
@@ -1238,7 +1238,7 @@ bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x32100000 0x0 0x32100000 0x0 0x00100000 /* downstream I/O (1MB) */ - 0xc2000000 0x12 0x40000000 0x12 0x40000000 0x0 0x30000000 /* prefetchable memory (768MB) */ + 0xc3000000 0x12 0x40000000 0x12 0x40000000 0x0 0x30000000 /* prefetchable memory (768MB) */ 0x82000000 0x0 0x40000000 0x12 0x70000000 0x0 0x10000000>; /* non-prefetchable memory (256MB) */ };
@@ -1284,7 +1284,7 @@ bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x34100000 0x0 0x34100000 0x0 0x00100000 /* downstream I/O (1MB) */ - 0xc2000000 0x12 0x80000000 0x12 0x80000000 0x0 0x30000000 /* prefetchable memory (768MB) */ + 0xc3000000 0x12 0x80000000 0x12 0x80000000 0x0 0x30000000 /* prefetchable memory (768MB) */ 0x82000000 0x0 0x40000000 0x12 0xb0000000 0x0 0x10000000>; /* non-prefetchable memory (256MB) */ };
@@ -1330,7 +1330,7 @@ bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x36100000 0x0 0x36100000 0x0 0x00100000 /* downstream I/O (1MB) */ - 0xc2000000 0x14 0x00000000 0x14 0x00000000 0x3 0x40000000 /* prefetchable memory (13GB) */ + 0xc3000000 0x14 0x00000000 0x14 0x00000000 0x3 0x40000000 /* prefetchable memory (13GB) */ 0x82000000 0x0 0x40000000 0x17 0x40000000 0x0 0xc0000000>; /* non-prefetchable memory (3GB) */ };
@@ -1376,7 +1376,7 @@ bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x38100000 0x0 0x38100000 0x0 0x00100000 /* downstream I/O (1MB) */ - 0xc2000000 0x18 0x00000000 0x18 0x00000000 0x3 0x40000000 /* prefetchable memory (13GB) */ + 0xc3000000 0x18 0x00000000 0x18 0x00000000 0x3 0x40000000 /* prefetchable memory (13GB) */ 0x82000000 0x0 0x40000000 0x1b 0x40000000 0x0 0xc0000000>; /* non-prefetchable memory (3GB) */ };
@@ -1426,7 +1426,7 @@ bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x3a100000 0x0 0x3a100000 0x0 0x00100000 /* downstream I/O (1MB) */ - 0xc2000000 0x1c 0x00000000 0x1c 0x00000000 0x3 0x40000000 /* prefetchable memory (13GB) */ + 0xc3000000 0x1c 0x00000000 0x1c 0x00000000 0x3 0x40000000 /* prefetchable memory (13GB) */ 0x82000000 0x0 0x40000000 0x1f 0x40000000 0x0 0xc0000000>; /* non-prefetchable memory (3GB) */ };
arch/arm64/boot/dts/qcom/msm8916.dtsi +4 -4
@@ -212,7 +212,7 @@ thermal-sensors = <&tsens 3>; trips { - cpu2_3_alert0: trip-point@0 { + cpu2_3_alert0: trip-point0 { temperature = <75000>; hysteresis = <2000>; type = "passive";
@@ -242,7 +242,7 @@ thermal-sensors = <&tsens 2>; trips { - gpu_alert0: trip-point@0 { + gpu_alert0: trip-point0 { temperature = <75000>; hysteresis = <2000>; type = "passive";
@@ -262,7 +262,7 @@ thermal-sensors = <&tsens 1>; trips { - cam_alert0: trip-point@0 { + cam_alert0: trip-point0 { temperature = <75000>; hysteresis = <2000>; type = "hot";
@@ -277,7 +277,7 @@ thermal-sensors = <&tsens 0>; trips { - modem_alert0: trip-point@0 { + modem_alert0: trip-point0 { temperature = <85000>; hysteresis = <2000>; type = "hot";
arch/arm64/boot/dts/qcom/msm8996.dtsi +10 -10
@@ -1681,16 +1681,16 @@ "csi_clk_mux", "vfe0", "vfe1"; - interrupts = <GIC_SPI 78 0>, - <GIC_SPI 79 0>, - <GIC_SPI 80 0>, - <GIC_SPI 296 0>, - <GIC_SPI 297 0>, - <GIC_SPI 298 0>, - <GIC_SPI 299 0>, - <GIC_SPI 309 0>, - <GIC_SPI 314 0>, - <GIC_SPI 315 0>; + interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>, + <GIC_SPI 79 IRQ_TYPE_EDGE_RISING>, + <GIC_SPI 80 IRQ_TYPE_EDGE_RISING>, + <GIC_SPI 296 IRQ_TYPE_EDGE_RISING>, + <GIC_SPI 297 IRQ_TYPE_EDGE_RISING>, + <GIC_SPI 298 IRQ_TYPE_EDGE_RISING>, + <GIC_SPI 299 IRQ_TYPE_EDGE_RISING>, + <GIC_SPI 309 IRQ_TYPE_EDGE_RISING>, + <GIC_SPI 314 IRQ_TYPE_EDGE_RISING>, + <GIC_SPI 315 IRQ_TYPE_EDGE_RISING>; interrupt-names = "csiphy0", "csiphy1", "csiphy2",
arch/arm64/boot/dts/qcom/pm8150.dtsi +2 -12
@@ -73,18 +73,8 @@ reg = <0xc000>; gpio-controller; #gpio-cells = <2>; - interrupts = <0x0 0xc0 0x0 IRQ_TYPE_NONE>, - <0x0 0xc1 0x0 IRQ_TYPE_NONE>, - <0x0 0xc2 0x0 IRQ_TYPE_NONE>, - <0x0 0xc3 0x0 IRQ_TYPE_NONE>, - <0x0 0xc4 0x0 IRQ_TYPE_NONE>, - <0x0 0xc5 0x0 IRQ_TYPE_NONE>, - <0x0 0xc6 0x0 IRQ_TYPE_NONE>, - <0x0 0xc7 0x0 IRQ_TYPE_NONE>, - <0x0 0xc8 0x0 IRQ_TYPE_NONE>, - <0x0 0xc9 0x0 IRQ_TYPE_NONE>, - <0x0 0xca 0x0 IRQ_TYPE_NONE>, - <0x0 0xcb 0x0 IRQ_TYPE_NONE>; + interrupt-controller; + #interrupt-cells = <2>; }; };
arch/arm64/boot/dts/qcom/pm8150b.dtsi +2 -12
@@ -62,18 +62,8 @@ reg = <0xc000>; gpio-controller; #gpio-cells = <2>; - interrupts = <0x2 0xc0 0x0 IRQ_TYPE_NONE>, - <0x2 0xc1 0x0 IRQ_TYPE_NONE>, - <0x2 0xc2 0x0 IRQ_TYPE_NONE>, - <0x2 0xc3 0x0 IRQ_TYPE_NONE>, - <0x2 0xc4 0x0 IRQ_TYPE_NONE>, - <0x2 0xc5 0x0 IRQ_TYPE_NONE>, - <0x2 0xc6 0x0 IRQ_TYPE_NONE>, - <0x2 0xc7 0x0 IRQ_TYPE_NONE>, - <0x2 0xc8 0x0 IRQ_TYPE_NONE>, - <0x2 0xc9 0x0 IRQ_TYPE_NONE>, - <0x2 0xca 0x0 IRQ_TYPE_NONE>, - <0x2 0xcb 0x0 IRQ_TYPE_NONE>; + interrupt-controller; + #interrupt-cells = <2>; }; };
arch/arm64/boot/dts/qcom/pm8150l.dtsi +2 -12
@@ -56,18 +56,8 @@ reg = <0xc000>; gpio-controller; #gpio-cells = <2>; - interrupts = <0x4 0xc0 0x0 IRQ_TYPE_NONE>, - <0x4 0xc1 0x0 IRQ_TYPE_NONE>, - <0x4 0xc2 0x0 IRQ_TYPE_NONE>, - <0x4 0xc3 0x0 IRQ_TYPE_NONE>, - <0x4 0xc4 0x0 IRQ_TYPE_NONE>, - <0x4 0xc5 0x0 IRQ_TYPE_NONE>, - <0x4 0xc6 0x0 IRQ_TYPE_NONE>, - <0x4 0xc7 0x0 IRQ_TYPE_NONE>, - <0x4 0xc8 0x0 IRQ_TYPE_NONE>, - <0x4 0xc9 0x0 IRQ_TYPE_NONE>, - <0x4 0xca 0x0 IRQ_TYPE_NONE>, - <0x4 0xcb 0x0 IRQ_TYPE_NONE>; + interrupt-controller; + #interrupt-cells = <2>; }; };
arch/arm64/kernel/hw_breakpoint.c +26 -18
64 lines not on this page · raw message
arch/m68k/coldfire/pci.c +3 -1
@@ -216,8 +216,10 @@ static int __init mcf_pci_init(void)/* Keep a virtual mapping to IO/config space active */ iospace = (unsigned long )ioremap (PCI_IO_PA ,PCI_IO_SIZE ); -if (iospace ==0 ) +if (iospace ==0 ) { +pci_free_host_bridge (bridge);return -ENODEV ; + }pr_info ("Coldfire: PCI IO/config window mapped to 0x%x\n" , (u32 ) iospace);
arch/openrisc/kernel/entry.S +2 -2
@@ -1166,13 +1166,13 @@ ENTRY(__sys_clone) l.movhi r29,hi(sys_clone) l.ori r29,r29,lo(sys_clone) l.j _fork_save_extra_regs_and_call - l.addi r7,r1,0 + l.nop ENTRY(__sys_fork) l.movhi r29,hi(sys_fork) l.ori r29,r29,lo(sys_fork) l.j _fork_save_extra_regs_and_call - l.addi r3,r1,0 + l.nop ENTRY(sys_rt_sigreturn) l.jal _sys_rt_sigreturn
arch/powerpc/Kconfig +1 -0
@@ -747,6 +747,7 @@ config THREAD_SHIFT range 13 15 default "15" if PPC_256K_PAGES default "14" if PPC64 + default "14" if KASAN default "13" help Used to define the stack size. The default is almost always what you
arch/powerpc/include/asm/book3s/64/pgtable.h +19 -4
@@ -998,10 +998,25 @@ extern struct page *pgd_page(pgd_t pgd);#define pud_page_vaddr (pud) __va(pud_val(pud) & ~PUD_MASKED_BITS)#define pgd_page_vaddr (pgd) __va(pgd_val(pgd) & ~PGD_MASKED_BITS) -#define pgd_index (address) (((address) >> (PGDIR_SHIFT)) & (PTRS_PER_PGD - 1)) -#define pud_index (address) (((address) >> (PUD_SHIFT)) & (PTRS_PER_PUD - 1)) -#define pmd_index (address) (((address) >> (PMD_SHIFT)) & (PTRS_PER_PMD - 1)) -#define pte_index (address) (((address) >> (PAGE_SHIFT)) & (PTRS_PER_PTE - 1)) +static inline unsigned long pgd_index (unsigned long address) +{ +return (address >>PGDIR_SHIFT ) & (PTRS_PER_PGD -1 ); +} + +static inline unsigned long pud_index (unsigned long address) +{ +return (address >>PUD_SHIFT ) & (PTRS_PER_PUD -1 ); +} + +static inline unsigned long pmd_index (unsigned long address) +{ +return (address >>PMD_SHIFT ) & (PTRS_PER_PMD -1 ); +} + +static inline unsigned long pte_index (unsigned long address) +{ +return (address >>PAGE_SHIFT ) & (PTRS_PER_PTE -1 ); +}/* * Find an entry in a page-table-directory. We combine the address region
arch/powerpc/include/asm/processor.h +0 -1
@@ -291,7 +291,6 @@ struct thread_struct {#else #define INIT_THREAD { \ .ksp = INIT_SP, \ - .regs = (struct pt_regs *)INIT_SP - 1, /* XXX bogus, I think */ \ .addr_limit = KERNEL_DS, \ .fpexc_mode = 0, \ .fscr = FSCR_TAR | FSCR_EBB \
arch/powerpc/kernel/exceptions-64s.S +8 -6
@@ -1090,17 +1090,19 @@ EXC_COMMON_BEGIN(machine_check_idle_common) bl machine_check_queue_event /* - * We have not used any non-volatile GPRs here, and as a rule - * most exception code including machine check does not. - * Therefore PACA_NAPSTATELOST does not need to be set. Idle - * wakeup will restore volatile registers. + * GPR-loss wakeups are relatively straightforward, because the + * idle sleep code has saved all non-volatile registers on its + * own stack, and r1 in PACAR1. * - * Load the original SRR1 into r3 for pnv_powersave_wakeup_mce. + * For no-loss wakeups the r1 and lr registers used by the + * early machine check handler have to be restored first. r2 is + * the kernel TOC, so no need to restore it. * * Then decrement MCE nesting after finishing with the stack. */ ld r3,_MSR(r1) ld r4,_LINK(r1) + ld r1,GPR1(r1) lhz r11,PACA_IN_MCE(r13) subi r11,r11,1
@@ -1109,7 +1111,7 @@ EXC_COMMON_BEGIN(machine_check_idle_common) mtlr r4 rlwinm r10,r3,47-31,30,31 cmpwi cr1,r10,2 - bltlr cr1 /* no state loss, return to idle caller */ + bltlr cr1 /* no state loss, return to idle caller with r3=SRR1 */ b idle_return_gpr_loss #endif
arch/powerpc/kernel/head_64.S +1 -8
@@ -945,15 +945,8 @@ start_here_multiplatform: std r0,0(r4) #endif - /* The following gets the stack set up with the regs */ - /* pointing to the real addr of the kernel stack. This is */ - /* all done to support the C function call below which sets */ - /* up the htab. This is done because we have relocated the */ - /* kernel but are still running in real mode. */ - - LOAD_REG_ADDR(r3,init_thread_union) - /* set up a stack pointer */ + LOAD_REG_ADDR(r3,init_thread_union) LOAD_REG_IMMEDIATE(r1,THREAD_SIZE) add r1,r3,r1 li r0,0
arch/powerpc/kernel/machine_kexec.c +5 -3
@@ -114,11 +114,12 @@ void machine_kexec(struct kimage *image)void __init reserve_crashkernel (void ) { -unsigned long long crash_size, crash_base; +unsigned long long crash_size, crash_base, total_mem_sz;int ret; + total_mem_sz = memory_limit ? memory_limit :memblock_phys_mem_size ();/* use common parsing */ - ret =parse_crashkernel (boot_command_line,memblock_phys_mem_size (), + ret =parse_crashkernel (boot_command_line, total_mem_sz, &crash_size, &crash_base);if (ret ==0 && crash_size >0 ) { crashk_res.start = crash_base;
@@ -177,6 +178,7 @@ void __init reserve_crashkernel(void)/* Crash kernel trumps memory limit */ if (memory_limit && memory_limit <= crashk_res.end) { memory_limit = crashk_res.end +1 ; + total_mem_sz = memory_limit;printk ("Adjusted memory limit for crashkernel, now 0x%llx\n" , memory_limit); }
@@ -185,7 +187,7 @@ void __init reserve_crashkernel(void)"for crashkernel (System RAM: %ldMB)\n" , (unsigned long )(crash_size >>20 ), (unsigned long )(crashk_res.start >>20 ), - (unsigned long)(memblock_phys_mem_size() >> 20)); + (unsigned long)(total_mem_sz >> 20));if (!memblock_is_region_memory (crashk_res.start, crash_size) ||memblock_reserve (crashk_res.start, crash_size)) {
arch/powerpc/kernel/process.c +11 -9
@@ -1218,29 +1218,31 @@ struct task_struct *__switch_to(struct task_struct *prev,static void show_instructions (struct pt_regs *regs) {int i; +unsigned long nip = regs->nip;unsigned long pc = regs->nip - (NR_INSN_TO_PRINT *3 /4 *sizeof (int ));printk ("Instruction dump:" ); +/* +* If we were executing with the MMU off for instructions, adjust pc +* rather than printing XXXXXXXX. +*/ +if (!IS_ENABLED (CONFIG_BOOKE ) && !(regs->msr &MSR_IR )) { + pc = (unsigned long )phys_to_virt (pc); + nip = (unsigned long )phys_to_virt (regs->nip); + } +for (i =0 ; i <NR_INSN_TO_PRINT ; i++) {int instr;if (!(i %8 ))pr_cont ("\n" ); -#if !defined(CONFIG_BOOKE ) -/* If executing with the IMMU off, adjust pc rather -* than print XXXXXXXX. -*/ -if (!(regs->msr &MSR_IR )) - pc = (unsigned long )phys_to_virt (pc); -#endif -if (!__kernel_text_address (pc) ||probe_kernel_address ((const void *)pc, instr)) {pr_cont ("XXXXXXXX " ); }else { -if (regs->nip == pc) +if (nip == pc)pr_cont ("<%08x> " , instr);else pr_cont ("%08x " , instr);
arch/powerpc/kvm/book3s_64_mmu_radix.c +14 -2
@@ -353,7 +353,13 @@ static struct kmem_cache *kvm_pmd_cache;static pte_t *kvmppc_pte_alloc (void ) { -return kmem_cache_alloc (kvm_pte_cache,GFP_KERNEL ); +pte_t *pte; + + pte =kmem_cache_alloc (kvm_pte_cache,GFP_KERNEL ); +/* pmd_populate() will only reference _pa(pte). */ +kmemleak_ignore (pte); + +return pte; }static void kvmppc_pte_free (pte_t *ptep)
@@ -363,7 +369,13 @@ static void kvmppc_pte_free(pte_t *ptep)static pmd_t *kvmppc_pmd_alloc (void ) { -return kmem_cache_alloc (kvm_pmd_cache,GFP_KERNEL ); +pmd_t *pmd; + + pmd =kmem_cache_alloc (kvm_pmd_cache,GFP_KERNEL ); +/* pud_populate() will only reference _pa(pmd). */ +kmemleak_ignore (pmd); + +return pmd; }static void kvmppc_pmd_free (pmd_t *pmdp)
arch/powerpc/kvm/book3s_64_vio.c +14 -4
@@ -74,6 +74,7 @@ extern void kvm_spapr_tce_release_iommu_group(struct kvm *kvm,struct kvmppc_spapr_tce_iommu_table *stit, *tmp;struct iommu_table_group *table_group =NULL ; +rcu_read_lock ();list_for_each_entry_rcu (stt, &kvm->arch.spapr_tce_tables, list) { table_group =iommu_group_get_iommudata (grp);
@@ -88,7 +89,9 @@ extern void kvm_spapr_tce_release_iommu_group(struct kvm *kvm,kref_put (&stit->kref, kvm_spapr_tce_liobn_put); } } +cond_resched_rcu (); } +rcu_read_unlock (); } extern long kvm_spapr_tce_attach_iommu_group(struct kvm *kvm, int tablefd,
@@ -106,12 +109,14 @@ extern long kvm_spapr_tce_attach_iommu_group(struct kvm *kvm, int tablefd,if (!f.file)return -EBADF ; +rcu_read_lock ();list_for_each_entry_rcu (stt, &kvm->arch.spapr_tce_tables, list) {if (stt == f.file->private_data) { found = true;break ; } } +rcu_read_unlock ();fdput (f);
@@ -144,6 +149,7 @@ extern long kvm_spapr_tce_attach_iommu_group(struct kvm *kvm, int tablefd,if (!tbl)return -EINVAL ; +rcu_read_lock ();list_for_each_entry_rcu (stit, &stt->iommu_tables, next) {if (tbl != stit->tbl)continue ;
@@ -151,14 +157,17 @@ extern long kvm_spapr_tce_attach_iommu_group(struct kvm *kvm, int tablefd,if (!kref_get_unless_zero (&stit->kref)) {/* stit is being destroyed */ iommu_tce_table_put (tbl); +rcu_read_unlock ();return -ENOTTY ; }/* * The table is already known to this KVM, we just increased * its KVM reference counter and can return. */ +rcu_read_unlock ();return 0 ; } +rcu_read_unlock (); stit =kzalloc (sizeof (*stit),GFP_KERNEL );if (!stit) {
@@ -364,18 +373,19 @@ static long kvmppc_tce_validate(struct kvmppc_spapr_tce_table *stt,if (kvmppc_tce_to_ua (stt->kvm, tce, &ua))return H_TOO_HARD ; +rcu_read_lock ();list_for_each_entry_rcu (stit, &stt->iommu_tables, next) {unsigned long hpa =0 ;struct mm_iommu_table_group_mem_t *mem;long shift = stit->tbl->it_page_shift; mem =mm_iommu_lookup (stt->kvm->mm, ua,1ULL << shift); -if (!mem) -return H_TOO_HARD ; - -if (mm_iommu_ua_to_hpa (mem, ua, shift, &hpa)) +if (!mem ||mm_iommu_ua_to_hpa (mem, ua, shift, &hpa)) { +rcu_read_unlock ();return H_TOO_HARD ; + } } +rcu_read_unlock ();return H_SUCCESS ; }
arch/powerpc/mm/book3s32/mmu.c +4 -2
@@ -187,6 +187,7 @@ void mmu_mark_initmem_nx(void)int i;unsigned long base = (unsigned long )_stext -PAGE_OFFSET ;unsigned long top = (unsigned long )_etext -PAGE_OFFSET ; +unsigned long border = (unsigned long )__init_begin -PAGE_OFFSET ;unsigned long size;if (IS_ENABLED (CONFIG_PPC_BOOK3S_601 ))
@@ -201,9 +202,10 @@ void mmu_mark_initmem_nx(void) size =block_size (base, top); size =max (size,128UL <<10 );if ((top - base) > size) { -if (strict_kernel_rwx_enabled ()) -pr_warn ("Kernel _etext not properly aligned\n" ); size <<=1 ; +if (strict_kernel_rwx_enabled () && base + size > border) +pr_warn ("Some RW data is getting mapped X. " +"Adjust CONFIG_DATA_SHIFT to avoid that.\n" ); }setibat (i++,PAGE_OFFSET + base, base, size,PAGE_KERNEL_TEXT ); base += size;
arch/powerpc/mm/ptdump/shared.c +5 -0
@@ -30,6 +30,11 @@ static const struct flag_info flag_array[] = { .val = _PAGE_PRESENT, .set = "present", .clear = " ", + }, { + .mask = _PAGE_COHERENT, + .val = _PAGE_COHERENT, + .set = "coherent", + .clear = " ", }, { .mask = _PAGE_GUARDED, .val = _PAGE_GUARDED,
arch/powerpc/perf/hv-24x7.c +0 -10
@@ -1400,16 +1400,6 @@ static void h_24x7_event_read(struct perf_event *event) h24x7hw = &get_cpu_var (hv_24x7_hw); h24x7hw->events[i] = event;put_cpu_var (h24x7hw); -/* -* Clear the event count so we can compute the _change_ -* in the 24x7 raw counter value at the end of the txn. -* -* Note that we could alternatively read the 24x7 value -* now and save its value in event->hw.prev_count. But -* that would require issuing a hcall, which would then -* defeat the purpose of using the txn interface. -*/ -local64_set (&event->count,0 ); }put_cpu_var (hv_24x7_reqb);
arch/powerpc/platforms/4xx/pci.c +1 -3
@@ -1242,7 +1242,7 @@ static void __init ppc460sx_pciex_check_link(struct ppc4xx_pciex_port *port)if (mbase ==NULL ) {printk (KERN_ERR "%pOF: Can't map internal config space !" , port->node); - goto done; +return ; } while (attempt && (0 == (in_le32(mbase + PECFG_460SX_DLLSTA)
@@ -1252,9 +1252,7 @@ static void __init ppc460sx_pciex_check_link(struct ppc4xx_pciex_port *port) }if (attempt) port->link =1 ; -done:iounmap (mbase); - }static struct ppc4xx_pciex_hwops ppc460sx_pcie_hwops__initdata = {
arch/powerpc/platforms/ps3/mm.c +12 -10
@@ -200,13 +200,14 @@ void ps3_mm_vas_destroy(void) {int result; -DBG ("%s:%d: map.vas_id = %llu\n" , __func__, __LINE__, map.vas_id); -if (map.vas_id) { result =lv1_select_virtual_address_space (0 ); -BUG_ON (result); - result =lv1_destruct_virtual_address_space (map.vas_id); -BUG_ON (result); + result +=lv1_destruct_virtual_address_space (map.vas_id); + +if (result) { +lv1_panic (0 ); + } + map.vas_id =0 ; } }
@@ -304,19 +305,20 @@ static void ps3_mm_region_destroy(struct mem_region *r)int result;if (!r->destroy) { -pr_info ("%s:%d: Not destroying high region: %llxh %llxh\n" , - __func__, __LINE__, r->base, r->size);return ; } -DBG ("%s:%d: r->base = %llxh\n" , __func__, __LINE__, r->base); -if (r->base) { result =lv1_release_memory (r->base); -BUG_ON (result); + +if (result) { +lv1_panic (0 ); + } + r->size = r->base = r->offset =0 ; map.total = map.rm.size; } +ps3_mm_set_repository_highmem (NULL ); }
arch/powerpc/platforms/pseries/ras.c +3 -2
@@ -395,10 +395,11 @@ static irqreturn_t ras_error_interrupt(int irq, void *dev_id)/* * Some versions of FWNMI place the buffer inside the 4kB page starting at * 0x7000. Other versions place it inside the rtas buffer. We check both. +* Minimum size of the buffer is 16 bytes. */ #define VALID_FWNMI_BUFFER (A ) \ - ((((A) >= 0x7000) && ((A) < 0x7ff0)) || \ - (((A) >= rtas.base) && ((A) < (rtas.base + rtas.size - 16)))) + ((((A) >= 0x7000) && ((A) <= 0x8000 - 16)) || \ + (((A) >= rtas.base) && ((A) <= (rtas.base + rtas.size - 16))))static inline struct rtas_error_log *fwnmi_get_errlog (void ) {
arch/s390/include/asm/syscall.h +11 -1
@@ -33,7 +33,17 @@ static inline void syscall_rollback(struct task_struct *task,static inline long syscall_get_error (struct task_struct *task,struct pt_regs *regs) { -return IS_ERR_VALUE (regs->gprs[2 ]) ? regs->gprs[2 ] :0 ; +unsigned long error = regs->gprs[2 ]; +#ifdef CONFIG_COMPAT +if (test_tsk_thread_flag (task,TIF_31BIT )) { +/* +* Sign-extend the value so (int)-EFOO becomes (long)-EFOO +* and will match correctly in comparisons. +*/ + error = (long )(int )error; + } +#endif +return IS_ERR_VALUE (error) ? error :0 ; } static inline long syscall_get_return_value(struct task_struct *task,
arch/sparc/mm/srmmu.c +0 -1
@@ -379,7 +379,6 @@ pgtable_t pte_alloc_one(struct mm_struct *mm)return NULL ; page =pfn_to_page (__nocache_pa (pte) >>PAGE_SHIFT );if (!pgtable_pte_page_ctor (page)) { -__free_page (page);return NULL ; }return page;
arch/x86/boot/Makefile +1 -1
@@ -87,7 +87,7 @@ $(obj)/vmlinux.bin: $(obj)/compressed/vmlinux FORCE SETUP_OBJS = $(addprefix $(obj)/,$(setup-y)) -sed-zoffset := -e 's/^\([0-9a-fA-F]*\) [ABCDGRSTVW] \(startup_32\|startup_64\|efi32_stub_entry\|efi64_stub_entry\|efi_pe_entry\|input_data\|_end\|_ehead\|_text\|z_.*\)$$/\#define ZO_\2 0x\1/p' +sed-zoffset := -e 's/^\([0-9a-fA-F]*\) [a-zA-Z] \(startup_32\|startup_64\|efi32_stub_entry\|efi64_stub_entry\|efi_pe_entry\|input_data\|_end\|_ehead\|_text\|z_.*\)$$/\#define ZO_\2 0x\1/p' quiet_cmd_zoffset = ZOFFSET $@ cmd_zoffset = $(NM) $< | sed -n $(sed-zoffset) > $@
arch/x86/kernel/apic/apic.c +1 -1
@@ -2099,7 +2099,7 @@ void __init init_apic_mappings(void)unsigned int new_apicid;if (apic_validate_deadline_timer ()) -pr_debug ("TSC deadline timer available\n" ); +pr_info ("TSC deadline timer available\n" );if (x2apic_mode) { boot_cpu_physical_apicid =read_apic_id ();
arch/x86/kernel/idt.c +5 -1
@@ -318,7 +318,11 @@ void __init idt_setup_apic_and_irq_gates(void)#ifdef CONFIG_X86_LOCAL_APIC for_each_clear_bit_from (i, system_vectors,NR_VECTORS ) { -set_bit (i, system_vectors); +/* +* Don't set the non assigned system vectors in the +* system_vectors bitmap. Otherwise they show up in +* /proc/interrupts. +*/ entry = spurious_entries_start +8 * (i -FIRST_SYSTEM_VECTOR );set_intr_gate (i, entry); }
arch/x86/kernel/kprobes/core.c +3 -13
@@ -746,16 +746,11 @@ asm(NOKPROBE_SYMBOL (kretprobe_trampoline);STACK_FRAME_NON_STANDARD (kretprobe_trampoline); -static struct kprobe kretprobe_kprobe = { - .addr = (void *)kretprobe_trampoline, -}; -/* * Called from kretprobe_trampoline */ __used __visible void *trampoline_handler(struct pt_regs *regs) { -struct kprobe_ctlblk *kcb;struct kretprobe_instance *ri =NULL ;struct hlist_head *head, empty_rp;struct hlist_node *tmp;
@@ -765,16 +760,12 @@ __used __visible void *trampoline_handler(struct pt_regs *regs)void *frame_pointer;bool skipped = false; -preempt_disable (); -/* * Set a dummy kprobe for avoiding kretprobe recursion. * Since kretprobe never run in kprobe handler, kprobe must not * be running at this point. */ - kcb =get_kprobe_ctlblk (); -__this_cpu_write (current_kprobe, &kretprobe_kprobe); - kcb->kprobe_status =KPROBE_HIT_ACTIVE ; +kprobe_busy_begin ();INIT_HLIST_HEAD (&empty_rp);kretprobe_hash_lock (current, &head, &flags);
@@ -850,7 +841,7 @@ __used __visible void *trampoline_handler(struct pt_regs *regs)__this_cpu_write (current_kprobe, &ri->rp->kp); ri->ret_addr = correct_ret_addr; ri->rp->handler (ri, regs); -__this_cpu_write (current_kprobe, &kretprobe_kprobe); +__this_cpu_write (current_kprobe, &kprobe_busy); }recycle_rp_inst (ri, &empty_rp);
@@ -866,8 +857,7 @@ __used __visible void *trampoline_handler(struct pt_regs *regs)kretprobe_hash_unlock (current, &flags); -__this_cpu_write (current_kprobe,NULL ); -preempt_enable (); +kprobe_busy_end ();hlist_for_each_entry_safe (ri, tmp, &empty_rp, hlist) {hlist_del (&ri->hlist);
arch/x86/purgatory/Makefile +4 -1
@@ -17,7 +17,10 @@ CFLAGS_sha256.o := -D__DISABLE_EXPORTS LDFLAGS_purgatory.ro := -e purgatory_start -r --no-undefined -nostdlib -z nodefaultlib targets += purgatory.ro +# Sanitizer, etc. runtimes are unavailable and cannot be linked here. +GCOV_PROFILE := n KASAN_SANITIZE := n +UBSAN_SANITIZE := n KCOV_INSTRUMENT := n # These are adjustments to the compiler flags used for objects that
@@ -25,7 +28,7 @@ KCOV_INSTRUMENT := n PURGATORY_CFLAGS_REMOVE := -mcmodel=kernel PURGATORY_CFLAGS := -mcmodel=large -ffreestanding -fno-zero-initialized-in-bss -PURGATORY_CFLAGS += $(DISABLE_STACKLEAK_PLUGIN) +PURGATORY_CFLAGS += $(DISABLE_STACKLEAK_PLUGIN) -DDISABLE_BRANCH_PROFILING # Default KBUILD_CFLAGS can have -pg option set when FTRACE is enabled. That # in turn leaves some undefined symbols like __fentry__ in purgatory and not
crypto/algboss.c +0 -2
@@ -188,8 +188,6 @@ static int cryptomgr_schedule_probe(struct crypto_larval *larval)if (IS_ERR (thread)) goto err_put_larval; -wait_for_completion_interruptible (&larval->completion); -return NOTIFY_STOP ; err_put_larval:
crypto/algif_skcipher.c +1 -5
@@ -74,14 +74,10 @@ static int _skcipher_recvmsg(struct socket *sock, struct msghdr *msg,return PTR_ERR (areq);/* convert iovecs of output buffers into RX SGL */ - err =af_alg_get_rsgl (sk, msg, flags, areq,-1 , &len); + err =af_alg_get_rsgl (sk, msg, flags, areq, ctx->used, &len);if (err) goto free; -/* Process only as much RX buffers for which we have TX data */ -if (len > ctx->used) - len = ctx->used; -/* * If more buffers are to be expected to be processed, process only * full block size buffers.
drivers/ata/libata-core.c +5 -6
@@ -41,7 +41,6 @@#include <linux/workqueue.h> #include <linux/scatterlist.h> #include <linux/io.h> -#include <linux/async.h> #include <linux/log2.h> #include <linux/slab.h> #include <linux/glob.h>
@@ -6592,7 +6591,7 @@ int ata_host_register(struct ata_host *host, struct scsi_host_template *sht)/* perform each probe asynchronously */ for (i =0 ; i < host->n_ports; i++) {struct ata_port *ap = host->ports[i]; -async_schedule (async_port_probe, ap); + ap->cookie =async_schedule (async_port_probe, ap); }return 0 ;
@@ -6732,11 +6731,11 @@ void ata_host_detach(struct ata_host *host) {int i; -/* Ensure ata_port probe has completed */ -async_synchronize_full (); - -for (i =0 ; i < host->n_ports; i++) +for (i =0 ; i < host->n_ports; i++) { +/* Ensure ata_port probe has completed */ +async_synchronize_cookie (host->ports[i]->cookie +1 );ata_port_detach (host->ports[i]); + }/* the host is dead now, dissociate ACPI */ ata_acpi_dissociate (host);
drivers/base/platform.c +2 -0
@@ -802,6 +802,8 @@ int __init_or_module __platform_driver_probe(struct platform_driver *drv,/* temporary section violation during probe() */ drv->probe = probe; retval = code =__platform_driver_register (drv, module); +if (retval) +return retval;/* * Fixup that section violation, being paranoid about code scanning
drivers/block/ps3disk.c +0 -1
@@ -454,7 +454,6 @@ static int ps3disk_probe(struct ps3_system_bus_device *_dev) queue->queuedata = dev;blk_queue_max_hw_sectors (queue, dev->bounce_size >>9 ); -blk_queue_segment_boundary (queue,-1UL );blk_queue_dma_alignment (queue, dev->blk_size-1 );blk_queue_logical_block_size (queue, dev->blk_size);
drivers/char/ipmi/ipmi_msghandler.c +4 -3
@@ -33,6 +33,7 @@#include <linux/workqueue.h> #include <linux/uuid.h> #include <linux/nospec.h> +#include <linux/vmalloc.h> #define IPMI_DRIVER_VERSION "39.2"
@@ -1170,7 +1171,7 @@ static void free_user_work(struct work_struct *work) remove_work);cleanup_srcu_struct (&user->release_barrier); -kfree (user); +vfree (user); } int ipmi_create_user(unsigned int if_num,
@@ -1202,7 +1203,7 @@ int ipmi_create_user(unsigned int if_num,if (rv)return rv; - new_user =kmalloc (sizeof (*new_user),GFP_KERNEL ); + new_user =vzalloc (sizeof (*new_user));if (!new_user)return -ENOMEM ;
@@ -1249,7 +1250,7 @@ int ipmi_create_user(unsigned int if_num, out_kfree:srcu_read_unlock (&ipmi_interfaces_srcu, index); -kfree (new_user); +vfree (new_user);return rv; }EXPORT_SYMBOL (ipmi_create_user);
drivers/char/mem.c +99 -2
141 lines not on this page · raw message
drivers/clk/bcm/clk-bcm2835.c +5 -5
@@ -1448,13 +1448,13 @@ static struct clk_hw *bcm2835_register_clock(struct bcm2835_cprman *cprman,return &clock->hw; } -static struct clk *bcm2835_register_gate (struct bcm2835_cprman *cprman, +static struct clk_hw *bcm2835_register_gate (struct bcm2835_cprman *cprman,const struct bcm2835_gate_data *data) { -return clk_register_gate (cprman->dev, data->name, data->parent, -CLK_IGNORE_UNUSED |CLK_SET_RATE_GATE , - cprman->regs + data->ctl_reg, -CM_GATE_BIT ,0 , &cprman->regs_lock); +return clk_hw_register_gate (cprman->dev, data->name, data->parent, +CLK_IGNORE_UNUSED |CLK_SET_RATE_GATE , + cprman->regs + data->ctl_reg, +CM_GATE_BIT ,0 , &cprman->regs_lock); } typedef struct clk_hw *(*bcm2835_clk_register)(struct bcm2835_cprman *cprman,
drivers/clk/clk-ast2600.c +25 -6
@@ -599,14 +599,22 @@ static const u32 ast2600_a0_axi_ahb_div_table[] = { 2, 2, 3, 5, }; -static const u32 ast2600_a1_axi_ahb_div_table[] = { -4 ,6 ,2 ,4 , +static const u32 ast2600_a1_axi_ahb_div0_tbl[] = { +3 ,2 ,3 ,4 , +}; + +static const u32 ast2600_a1_axi_ahb_div1_tbl[] = { +3 ,4 ,6 ,8 , +}; + +static const u32 ast2600_a1_axi_ahb200_tbl[] = { +3 ,4 ,3 ,4 ,2 ,2 ,2 ,2 , };static void __init aspeed_g6_cc (struct regmap *map) {struct clk_hw *hw; -u32 val, div, chip_id, axi_div, ahb_div; +u32 val, div, divbits, chip_id, axi_div, ahb_div;clk_hw_register_fixed_rate (NULL ,"clkin" ,NULL ,0 ,25000000 );
@@ -636,11 +644,22 @@ static void __init aspeed_g6_cc(struct regmap *map)else axi_div =2 ; + divbits = (val >>11 ) &0x3 ;regmap_read (map,ASPEED_G6_SILICON_REV , &chip_id); -if (chip_id &BIT (16 )) - ahb_div = ast2600_a1_axi_ahb_div_table[(val >>11 ) &0x3 ]; -else +if (chip_id &BIT (16 )) { +if (!divbits) { + ahb_div = ast2600_a1_axi_ahb200_tbl[(val >>8 ) &0x3 ]; +if (val &BIT (16 )) + ahb_div *=2 ; + }else { +if (val &BIT (16 )) + ahb_div = ast2600_a1_axi_ahb_div1_tbl[divbits]; +else + ahb_div = ast2600_a1_axi_ahb_div0_tbl[divbits]; + } + }else { ahb_div = ast2600_a0_axi_ahb_div_table[(val >>11 ) &0x3 ]; + } hw =clk_hw_register_fixed_factor (NULL ,"ahb" ,"hpll" ,0 ,1 , axi_div * ahb_div); aspeed_g6_clk_data->hws[ASPEED_CLK_AHB ] = hw;
drivers/clk/meson/meson8b.c +71 -29
201 lines not on this page · raw message
drivers/clk/meson/meson8b.h +4 -0
@@ -20,6 +20,10 @@* [0] http://dn.odroid.com/S805/Datasheet/S805_Datasheet%20V0.8%2020150126.pdf */ #define HHI_GP_PLL_CNTL 0x40/* 0x10 offset in data sheet */ +#define HHI_GP_PLL_CNTL2 0x44/* 0x11 offset in data sheet */ +#define HHI_GP_PLL_CNTL3 0x48/* 0x12 offset in data sheet */ +#define HHI_GP_PLL_CNTL4 0x4C/* 0x13 offset in data sheet */ +#define HHI_GP_PLL_CNTL5 0x50/* 0x14 offset in data sheet */ #define HHI_VIID_CLK_DIV 0x128/* 0x4a offset in data sheet */ #define HHI_VIID_CLK_CNTL 0x12c/* 0x4b offset in data sheet */ #define HHI_GCLK_MPEG0 0x140/* 0x50 offset in data sheet */
drivers/clk/qcom/gcc-msm8916.c +4 -4
@@ -260,7 +260,7 @@ static struct clk_pll gpll0 = { .l_reg = 0x21004, .m_reg = 0x21008, .n_reg = 0x2100c, - .config_reg = 0x21014, + .config_reg = 0x21010, .mode_reg = 0x21000, .status_reg = 0x2101c, .status_bit = 17,
@@ -287,7 +287,7 @@ static struct clk_pll gpll1 = { .l_reg = 0x20004, .m_reg = 0x20008, .n_reg = 0x2000c, - .config_reg = 0x20014, + .config_reg = 0x20010, .mode_reg = 0x20000, .status_reg = 0x2001c, .status_bit = 17,
@@ -314,7 +314,7 @@ static struct clk_pll gpll2 = { .l_reg = 0x4a004, .m_reg = 0x4a008, .n_reg = 0x4a00c, - .config_reg = 0x4a014, + .config_reg = 0x4a010, .mode_reg = 0x4a000, .status_reg = 0x4a01c, .status_bit = 17,
@@ -341,7 +341,7 @@ static struct clk_pll bimc_pll = { .l_reg = 0x23004, .m_reg = 0x23008, .n_reg = 0x2300c, - .config_reg = 0x23014, + .config_reg = 0x23010, .mode_reg = 0x23000, .status_reg = 0x2301c, .status_bit = 17,
drivers/clk/renesas/renesas-cpg-mssr.c +5 -3
@@ -800,7 +800,8 @@ static int cpg_mssr_suspend_noirq(struct device *dev)/* Save module registers with bits under our control */ for (reg =0 ; reg <ARRAY_SIZE (priv->smstpcr_saved); reg++) {if (priv->smstpcr_saved[reg].mask) - priv->smstpcr_saved[reg].val = + priv->smstpcr_saved[reg].val = priv->stbyctrl ? +readb (priv->base +STBCR (reg)) :readl (priv->base +SMSTPCR (reg)); }
@@ -860,8 +861,9 @@ static int cpg_mssr_resume_noirq(struct device *dev) }if (!i) -dev_warn (dev,"Failed to enable SMSTP %p[0x%x]\n" , - priv->base +SMSTPCR (reg), oldval & mask); +dev_warn (dev,"Failed to enable %s%u[0x%x]\n" , + priv->stbyctrl ?"STB" :"SMSTP" , reg, + oldval & mask); }return 0 ;
drivers/clk/samsung/clk-exynos5420.c +9 -7
@@ -540,7 +540,7 @@ static const struct samsung_div_clock exynos5800_div_clks[] __initconst = {static const struct samsung_gate_clock exynos5800_gate_clks[]__initconst = {GATE (CLK_ACLK550_CAM ,"aclk550_cam" ,"mout_user_aclk550_cam" , -GATE_BUS_TOP ,24 ,0 ,0 ), +GATE_BUS_TOP ,24 ,CLK_IS_CRITICAL ,0 ),GATE (CLK_ACLK432_SCALER ,"aclk432_scaler" ,"mout_user_aclk432_scaler" ,GATE_BUS_TOP ,27 ,CLK_IS_CRITICAL ,0 ), };
@@ -940,25 +940,25 @@ static const struct samsung_gate_clock exynos5x_gate_clks[] __initconst = {GATE (0 ,"aclk300_jpeg" ,"mout_user_aclk300_jpeg" ,GATE_BUS_TOP ,4 ,CLK_IGNORE_UNUSED ,0 ),GATE (0 ,"aclk333_432_isp0" ,"mout_user_aclk333_432_isp0" , -GATE_BUS_TOP ,5 ,0 ,0 ), +GATE_BUS_TOP ,5 ,CLK_IS_CRITICAL ,0 ),GATE (0 ,"aclk300_gscl" ,"mout_user_aclk300_gscl" ,GATE_BUS_TOP ,6 ,CLK_IS_CRITICAL ,0 ),GATE (0 ,"aclk333_432_gscl" ,"mout_user_aclk333_432_gscl" ,GATE_BUS_TOP ,7 ,CLK_IGNORE_UNUSED ,0 ),GATE (0 ,"aclk333_432_isp" ,"mout_user_aclk333_432_isp" , -GATE_BUS_TOP ,8 ,0 ,0 ), +GATE_BUS_TOP ,8 ,CLK_IS_CRITICAL ,0 ),GATE (CLK_PCLK66_GPIO ,"pclk66_gpio" ,"mout_user_pclk66_gpio" ,GATE_BUS_TOP ,9 ,CLK_IGNORE_UNUSED ,0 ),GATE (0 ,"aclk66_psgen" ,"mout_user_aclk66_psgen" ,GATE_BUS_TOP ,10 ,CLK_IGNORE_UNUSED ,0 ),GATE (0 ,"aclk266_isp" ,"mout_user_aclk266_isp" , -GATE_BUS_TOP ,13 ,0 ,0 ), +GATE_BUS_TOP ,13 ,CLK_IS_CRITICAL ,0 ),GATE (0 ,"aclk166" ,"mout_user_aclk166" ,GATE_BUS_TOP ,14 ,CLK_IGNORE_UNUSED ,0 ),GATE (CLK_ACLK333 ,"aclk333" ,"mout_user_aclk333" ,GATE_BUS_TOP ,15 ,CLK_IS_CRITICAL ,0 ),GATE (0 ,"aclk400_isp" ,"mout_user_aclk400_isp" , -GATE_BUS_TOP ,16 ,0 ,0 ), +GATE_BUS_TOP ,16 ,CLK_IS_CRITICAL ,0 ),GATE (0 ,"aclk400_mscl" ,"mout_user_aclk400_mscl" ,GATE_BUS_TOP ,17 ,CLK_IS_CRITICAL ,0 ), GATE(0, "aclk200_disp1", "mout_user_aclk200_disp1",
@@ -1158,8 +1158,10 @@ static const struct samsung_gate_clock exynos5x_gate_clks[] __initconst = { GATE_IP_GSCL1, 3, 0, 0),GATE (CLK_SMMU_FIMCL1 ,"smmu_fimcl1" ,"dout_gscl_blk_333" ,GATE_IP_GSCL1 ,4 ,0 ,0 ), -GATE (CLK_GSCL_WA ,"gscl_wa" ,"sclk_gscl_wa" ,GATE_IP_GSCL1 ,12 ,0 ,0 ), -GATE (CLK_GSCL_WB ,"gscl_wb" ,"sclk_gscl_wb" ,GATE_IP_GSCL1 ,13 ,0 ,0 ), +GATE (CLK_GSCL_WA ,"gscl_wa" ,"sclk_gscl_wa" ,GATE_IP_GSCL1 ,12 , +CLK_IS_CRITICAL ,0 ), +GATE (CLK_GSCL_WB ,"gscl_wb" ,"sclk_gscl_wb" ,GATE_IP_GSCL1 ,13 , +CLK_IS_CRITICAL ,0 ),GATE (CLK_SMMU_FIMCL3 ,"smmu_fimcl3," ,"dout_gscl_blk_333" ,GATE_IP_GSCL1 ,16 ,0 ,0 ), GATE(CLK_FIMC_LITE3, "fimc_lite3", "aclk333_432_gscl",
drivers/clk/samsung/clk-exynos5433.c +2 -1
@@ -1706,7 +1706,8 @@ static const struct samsung_gate_clock peric_gate_clks[] __initconst = {GATE (CLK_SCLK_PCM1 ,"sclk_pcm1" ,"sclk_pcm1_peric" ,ENABLE_SCLK_PERIC ,7 ,CLK_SET_RATE_PARENT ,0 ),GATE (CLK_SCLK_I2S1 ,"sclk_i2s1" ,"sclk_i2s1_peric" , -ENABLE_SCLK_PERIC ,6 ,CLK_SET_RATE_PARENT ,0 ), +ENABLE_SCLK_PERIC ,6 , +CLK_SET_RATE_PARENT |CLK_IGNORE_UNUSED ,0 ),GATE (CLK_SCLK_SPI2 ,"sclk_spi2" ,"sclk_spi2_peric" ,ENABLE_SCLK_PERIC ,5 ,CLK_SET_RATE_PARENT ,0 ), GATE(CLK_SCLK_SPI1, "sclk_spi1", "sclk_spi1_peric", ENABLE_SCLK_PERIC,
drivers/clk/sprd/pll.c +1 -1
@@ -105,7 +105,7 @@ static unsigned long _sprd_pll_recalc_rate(const struct sprd_pll *pll, cfg =kcalloc (regs_num,sizeof (*cfg),GFP_KERNEL );if (!cfg) -return -ENOMEM ; +return parent_rate;for (i =0 ; i < regs_num; i++) cfg[i] =sprd_pll_read (pll, i);
drivers/clk/st/clk-flexgen.c +1 -0
@@ -375,6 +375,7 @@ static void __init st_of_flexgen_setup(struct device_node *np)break ; } + flex_flags &= ~CLK_IS_CRITICAL ;of_clk_detect_critical (np, i, &flex_flags);/*
drivers/clk/sunxi/clk-sunxi.c +1 -1
@@ -90,7 +90,7 @@ static void sun6i_a31_get_pll1_factors(struct factors_request *req)* Round down the frequency to the closest multiple of either * 6 or 16 */ -u32 round_freq_6 =round_down (freq_mhz,6 ); +u32 round_freq_6 =rounddown (freq_mhz,6 );u32 round_freq_16 =round_down (freq_mhz,16 );if (round_freq_6 > round_freq_16)
drivers/clk/ti/composite.c +1 -0
@@ -196,6 +196,7 @@ static void __init _register_composite(void *user,if (!cclk->comp_clks[i])continue ;list_del (&cclk->comp_clks[i]->link); +kfree (cclk->comp_clks[i]->parent_names);kfree (cclk->comp_clks[i]); }
drivers/clk/zynqmp/clkc.c +9 -6
@@ -558,7 +558,7 @@ static struct clk_hw *zynqmp_register_clk_topology(int clk_id, char *clk_name, {int j;u32 num_nodes, clk_dev_id; -char *clk_out =NULL ; +char *clk_out[MAX_NODES ];struct clock_topology *nodes;struct clk_hw *hw =NULL ;
@@ -572,16 +572,16 @@ static struct clk_hw *zynqmp_register_clk_topology(int clk_id, char *clk_name,* Intermediate clock names are postfixed with type of clock. */ if (j != (num_nodes -1 )) { - clk_out =kasprintf (GFP_KERNEL ,"%s%s" , clk_name, + clk_out[j] =kasprintf (GFP_KERNEL ,"%s%s" , clk_name, clk_type_postfix[nodes[j].type]); }else { - clk_out =kasprintf (GFP_KERNEL ,"%s" , clk_name); + clk_out[j] =kasprintf (GFP_KERNEL ,"%s" , clk_name); }if (!clk_topology[nodes[j].type])continue ; - hw = (*clk_topology[nodes[j].type])(clk_out, clk_dev_id, + hw = (*clk_topology[nodes[j].type])(clk_out[j], clk_dev_id, parent_names, num_parents, &nodes[j]);
@@ -590,9 +590,12 @@ static struct clk_hw *zynqmp_register_clk_topology(int clk_id, char *clk_name, __func__, clk_dev_id, clk_name, PTR_ERR(hw)); - parent_names[0 ] = clk_out; + parent_names[0 ] = clk_out[j]; } -kfree (clk_out); + +for (j =0 ; j < num_nodes; j++) +kfree (clk_out[j]); +return hw; }
drivers/crypto/omap-sham.c +31 -33
130 lines not on this page · raw message
drivers/extcon/extcon-adc-jack.c +1 -2
@@ -124,7 +124,7 @@ static int adc_jack_probe(struct platform_device *pdev)for (i =0 ; data->adc_conditions[i].id !=EXTCON_NONE ; i++); data->num_conditions = i; - data->chan =iio_channel_get (&pdev->dev, pdata->consumer_channel); + data->chan =devm_iio_channel_get (&pdev->dev, pdata->consumer_channel);if (IS_ERR (data->chan))return PTR_ERR (data->chan);
@@ -164,7 +164,6 @@ static int adc_jack_remove(struct platform_device *pdev)free_irq (data->irq, data);cancel_work_sync (&data->handler.work); -iio_channel_release (data->chan);return 0 ; }
drivers/firmware/imx/imx-scu.c +1 -0
@@ -300,6 +300,7 @@ static int imx_scu_probe(struct platform_device *pdev)if (ret != -EPROBE_DEFER )dev_err (dev,"Failed to request mbox chan %s ret %d\n" , chan_name, ret); +kfree (chan_name);return ret; }
drivers/firmware/qcom_scm.c +3 -6
@@ -9,7 +9,6 @@#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>
@@ -441,8 +440,7 @@ int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz,struct qcom_scm_mem_map_info *mem_to_map;phys_addr_t mem_to_map_phys;phys_addr_t dest_phys; -phys_addr_t ptr_phys; -dma_addr_t ptr_dma; +dma_addr_t ptr_phys;size_t mem_to_map_sz;size_t dest_sz;size_t src_sz;
@@ -459,10 +457,9 @@ 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_dma,GFP_KERNEL ); + ptr =dma_alloc_coherent (__scm->dev, ptr_sz, &ptr_phys,GFP_KERNEL );if (!ptr)return -ENOMEM ; - ptr_phys =dma_to_phys (__scm->dev, ptr_dma);/* Fill source vmid detail */ src = ptr;
@@ -490,7 +487,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, ptr_sz, ptr, ptr_dma); +dma_free_coherent (__scm->dev, ptr_sz, ptr, ptr_phys);if (ret) {dev_err (__scm->dev,"Assign memory protection call failed %d\n" , ret);
drivers/fpga/dfl-afu-dma-region.c +2 -2
@@ -61,10 +61,10 @@ static int afu_dma_pin_pages(struct dfl_feature_platform_data *pdata, region->pages);if (pinned <0 ) { ret = pinned; - goto put_pages; + goto free_pages; }else if (pinned != npages) { ret = -EFAULT ; - goto free_pages; + goto put_pages; }dev_dbg (dev,"%d pages pinned\n" , pinned);
drivers/gpio/gpio-dwapb.c +22 -12
@@ -49,7 +49,9 @@#define GPIO_EXT_PORTC 0x58#define GPIO_EXT_PORTD 0x5c +#define DWAPB_DRIVER_NAME "gpio-dwapb"#define DWAPB_MAX_PORTS 4 +#define GPIO_EXT_PORT_STRIDE 0x04/* register stride 32 bits */ #define GPIO_SWPORT_DR_STRIDE 0x0c/* register stride 3*32 bits */ #define GPIO_SWPORT_DDR_STRIDE 0x0c/* register stride 3*32 bits */
@@ -398,7 +400,7 @@ static void dwapb_configure_irqs(struct dwapb_gpio *gpio,return ; err =irq_alloc_domain_generic_chips (gpio->domain, ngpio,2 , -"gpio-dwapb" , handle_level_irq, +DWAPB_DRIVER_NAME , handle_level_irq,IRQ_NOREQUEST ,0 ,IRQ_GC_INIT_NESTED_LOCK );if (err) {
@@ -455,7 +457,7 @@ static void dwapb_configure_irqs(struct dwapb_gpio *gpio,*/ err =devm_request_irq (gpio->dev, pp->irq[0 ], dwapb_irq_handler_mfd, -IRQF_SHARED ,"gpio-dwapb-mfd" , gpio); +IRQF_SHARED ,DWAPB_DRIVER_NAME , gpio);if (err) {dev_err (gpio->dev,"error requesting IRQ\n" );irq_domain_remove (gpio->domain);
@@ -533,26 +535,33 @@ static int dwapb_gpio_add_port(struct dwapb_gpio *gpio,dwapb_configure_irqs (gpio, port, pp); err =gpiochip_add_data (&port->gc, port); -if (err) +if (err) {dev_err (gpio->dev,"failed to register gpiochip for port%d\n" , port->idx); -else - port->is_registered = true; +return err; + }/* Add GPIO-signaled ACPI event support */ -if (pp->has_irq) -acpi_gpiochip_request_interrupts (&port->gc); +acpi_gpiochip_request_interrupts (&port->gc); -return err; + port->is_registered = true; + +return 0 ; }static void dwapb_gpio_unregister (struct dwapb_gpio *gpio) {unsigned int m; -for (m =0 ; m < gpio->nr_ports; ++m) -if (gpio->ports[m].is_registered) -gpiochip_remove (&gpio->ports[m].gc); +for (m =0 ; m < gpio->nr_ports; ++m) { +struct dwapb_gpio_port *port = &gpio->ports[m]; + +if (!port->is_registered) +continue ; + +acpi_gpiochip_free_interrupts (&port->gc); +gpiochip_remove (&port->gc); + } } static struct dwapb_platform_data *
@@ -836,7 +845,7 @@ static SIMPLE_DEV_PM_OPS(dwapb_gpio_pm_ops, dwapb_gpio_suspend,static struct platform_driver dwapb_gpio_driver = { .driver = { - .name ="gpio-dwapb" , + .name =DWAPB_DRIVER_NAME , .pm = &dwapb_gpio_pm_ops, .of_match_table =of_match_ptr (dwapb_of_match), .acpi_match_table =ACPI_PTR (dwapb_acpi_match),
@@ -850,3 +859,4 @@ module_platform_driver(dwapb_gpio_driver);MODULE_LICENSE ("GPL" );MODULE_AUTHOR ("Jamie Iles" );MODULE_DESCRIPTION ("Synopsys DesignWare APB GPIO driver" ); +MODULE_ALIAS ("platform:" DWAPB_DRIVER_NAME );
drivers/gpio/gpio-pca953x.c +28 -16
74 lines not on this page · raw message
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +4 -7
@@ -929,7 +929,7 @@ static int dm_late_init(void *handle)unsigned int linear_lut[16 ];int i;struct dmcu *dmcu = adev->dm.dc->res_pool->dmcu; -bool ret = false; +bool ret;for (i =0 ; i <16 ; i++) linear_lut[i] =0xFFFF * i /15 ;
@@ -945,13 +945,10 @@ static int dm_late_init(void *handle)*/ params.min_abm_backlight =0x28F ; -/* todo will enable for navi10 */ -if (adev->asic_type <=CHIP_RAVEN ) { - ret =dmcu_load_iram (dmcu, params); + ret =dmcu_load_iram (dmcu, params); -if (!ret) -return -EINVAL ; - } +if (!ret) +return -EINVAL ;return detect_mst_link_for_all_connectors (adev->ddev); }
drivers/gpu/drm/amd/display/dc/bios/bios_parser.c +2 -5
@@ -2543,7 +2543,6 @@ static enum bp_result construct_integrated_info(/* Sort voltage table from low to high*/ if (result ==BP_RESULT_OK ) { -struct clock_voltage_caps temp = {0 ,0 };uint32_t i;uint32_t j;
@@ -2553,10 +2552,8 @@ static enum bp_result construct_integrated_info( info->disp_clk_voltage[j].max_supported_clk < info->disp_clk_voltage[j-1].max_supported_clk) {/* swap j and j - 1*/ - temp = info->disp_clk_voltage[j-1 ]; - info->disp_clk_voltage[j-1 ] = - info->disp_clk_voltage[j]; - info->disp_clk_voltage[j] = temp; +swap (info->disp_clk_voltage[j -1 ], + info->disp_clk_voltage[j]); } } }
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c +2 -6
@@ -1613,8 +1613,6 @@ static enum bp_result construct_integrated_info(struct atom_common_table_header *header;struct atom_data_revision revision; - -struct clock_voltage_caps temp = {0 ,0 };uint32_t i;uint32_t j;
@@ -1644,10 +1642,8 @@ static enum bp_result construct_integrated_info( info->disp_clk_voltage[j-1].max_supported_clk ) {/* swap j and j - 1*/ - temp = info->disp_clk_voltage[j-1 ]; - info->disp_clk_voltage[j-1 ] = - info->disp_clk_voltage[j]; - info->disp_clk_voltage[j] = temp; +swap (info->disp_clk_voltage[j -1 ], + info->disp_clk_voltage[j]); } } }
drivers/gpu/drm/amd/display/dc/core/dc.c +7 -5
@@ -907,15 +907,11 @@ static void program_timing_sync(/* set first pipe with plane as master */ for (j =0 ; j < group_size; j++) { -struct pipe_ctx *temp; -if (pipe_set[j]->plane_state) {if (j ==0 )break ; - temp = pipe_set[0 ]; - pipe_set[0 ] = pipe_set[j]; - pipe_set[j] = temp; +swap (pipe_set[0 ], pipe_set[j]);break ; } }
@@ -2230,6 +2226,12 @@ void dc_commit_updates_for_stream(struct dc *dc,copy_stream_update_to_stream (dc, context, stream, stream_update); +if (!dc->res_pool->funcs->validate_bandwidth (dc, context, false)) { +DC_ERROR ("Mode validation failed for stream update!\n" ); +dc_release_state (context); +return ; + } + commit_planes_for_stream( dc, srf_updates,
drivers/gpu/drm/amd/display/modules/color/color_gamma.c +1 -1
@@ -799,7 +799,7 @@ static bool build_regamma(struct pwl_float_data_ex *rgb_regamma, pow_buffer_ptr =-1 ;// reset back to no optimize ret = true; release: -kfree (coeff); +kvfree (coeff);return ret; }
drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c +1 -1
@@ -239,7 +239,7 @@ static void ci_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr)switch (dev_id) {case 0x67BA : -case 0x66B1 : +case 0x67B1 : smu_data->power_tune_defaults = &defaults_hawaii_pro;break ;case 0x67B8 :
drivers/gpu/drm/drm_connector.c +5 -0
@@ -27,6 +27,7 @@#include <drm/drm_print.h> #include <drm/drm_drv.h> #include <drm/drm_file.h> +#include <drm/drm_sysfs.h> #include <linux/uaccess.h>
@@ -511,6 +512,10 @@ int drm_connector_register(struct drm_connector *connector)drm_mode_object_register (connector->dev, &connector->base); connector->registration_state =DRM_CONNECTOR_REGISTERED ; + +/* Let userspace know we have a new connector */ +drm_sysfs_hotplug_event (connector->dev); + goto unlock; err_debugfs:
drivers/gpu/drm/drm_dp_mst_topology.c +33 -25
78 lines not on this page · raw message
drivers/gpu/drm/drm_encoder_slave.c +3 -2
@@ -84,7 +84,7 @@ int drm_i2c_encoder_init(struct drm_device *dev, err = encoder_drv->encoder_init (client, dev, encoder);if (err) - goto fail_unregister; + goto fail_module_put;if (info->platform_data) encoder->slave_funcs->set_config(&encoder->base,
@@ -92,9 +92,10 @@ int drm_i2c_encoder_init(struct drm_device *dev,return 0 ; +fail_module_put: +module_put (module); fail_unregister:i2c_unregister_device (client); -module_put (module); fail:return err; }
drivers/gpu/drm/drm_sysfs.c +0 -3
@@ -293,9 +293,6 @@ int drm_sysfs_connector_add(struct drm_connector *connector)return PTR_ERR (connector->kdev); } -/* Let userspace know we have a new connector */ -drm_sysfs_hotplug_event (dev); -if (connector->ddc)return sysfs_create_link (&connector->kdev->kobj, &connector->ddc->dev.kobj,"ddc" );
drivers/gpu/drm/i915/display/intel_dp.c +3 -2
@@ -1292,8 +1292,7 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,bool is_tc_port =intel_phy_is_tc (i915, phy);i915_reg_t ch_ctl, ch_data[5 ];u32 aux_clock_divider; -enum intel_display_power_domain aux_domain = -intel_aux_power_domain (intel_dig_port); +enum intel_display_power_domain aux_domain;intel_wakeref_t aux_wakeref;intel_wakeref_t pps_wakeref;int i, ret, recv_bytes;
@@ -1308,6 +1307,8 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,if (is_tc_port)intel_tc_port_lock (intel_dig_port); + aux_domain =intel_aux_power_domain (intel_dig_port); + aux_wakeref =intel_display_power_get (i915, aux_domain); pps_wakeref =pps_lock (intel_dp);
drivers/gpu/drm/i915/gem/i915_gem_shmem.c +9 -6
@@ -36,7 +36,6 @@ static int shmem_get_pages(struct drm_i915_gem_object *obj)unsigned long last_pfn =0 ;/* suppress gcc warning */ unsigned int max_segment =i915_sg_segment_size ();unsigned int sg_page_sizes; -struct pagevec pvec;gfp_t noreclaim;int ret;
@@ -188,13 +187,17 @@ static int shmem_get_pages(struct drm_i915_gem_object *obj)sg_mark_end (sg); err_pages:mapping_clear_unevictable (mapping); -pagevec_init (&pvec); -for_each_sgt_page (page, sgt_iter, st) { -if (!pagevec_add (&pvec, page)) +if (sg != st->sgl) { +struct pagevec pvec; + +pagevec_init (&pvec); +for_each_sgt_page (page, sgt_iter, st) { +if (!pagevec_add (&pvec, page)) +check_release_pagevec (&pvec); + } +if (pagevec_count (&pvec))check_release_pagevec (&pvec); } -if (pagevec_count (&pvec)) -check_release_pagevec (&pvec);sg_free_table (st);kfree (st);
drivers/gpu/drm/i915/i915_cmd_parser.c +4 -0
@@ -572,6 +572,9 @@ struct drm_i915_reg_descriptor {#define REG32 (_reg, ...) \ { .addr = (_reg), __VA_ARGS__ } +#define REG32_IDX (_reg, idx) \ + { .addr = _reg(idx) } +/* * Convenience macro for adding 64-bit registers. *
@@ -669,6 +672,7 @@ static const struct drm_i915_reg_descriptor gen9_blt_regs[] = {REG64_IDX (RING_TIMESTAMP ,BSD_RING_BASE ),REG32 (BCS_SWCTRL ),REG64_IDX (RING_TIMESTAMP ,BLT_RING_BASE ), +REG32_IDX (RING_CTX_TIMESTAMP ,BLT_RING_BASE ),REG64_IDX (BCS_GPR ,0 ),REG64_IDX (BCS_GPR ,1 ), REG64_IDX(BCS_GPR, 2),
drivers/gpu/drm/i915/i915_irq.c +1 -0
@@ -3500,6 +3500,7 @@ static void gen11_hpd_irq_setup(struct drm_i915_private *dev_priv) val =I915_READ (GEN11_DE_HPD_IMR ); val &= ~hotplug_irqs; + val |= ~enabled_irqs & hotplug_irqs;I915_WRITE (GEN11_DE_HPD_IMR , val);POSTING_READ (GEN11_DE_HPD_IMR );
drivers/gpu/drm/msm/adreno/a5xx_gpu.c +6 -0
@@ -1359,6 +1359,10 @@ static unsigned long a5xx_gpu_busy(struct msm_gpu *gpu) {u64 busy_cycles, busy_time; +/* Only read the gpu busy if the hardware is already active */ +if (pm_runtime_get_if_in_use (&gpu->pdev->dev) ==0 ) +return 0 ; + busy_cycles =gpu_read64 (gpu,REG_A5XX_RBBM_PERFCTR_RBBM_0_LO ,REG_A5XX_RBBM_PERFCTR_RBBM_0_HI );
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigm200.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/hid/intel-ish-hid/ishtp-fw-loader.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/hwtracing/coresight/coresight-tmc-etf.c +8 -8
Lines of this file are not shown. View the raw message.
drivers/infiniband/core/cma_configfs.c +13 -0
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +13 -21
Lines of this file are not shown. View the raw message.
drivers/input/serio/i8042-ppcio.h deleted +0 -57
57 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnxt/bnxt.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/netdev.c +10 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/iavf.h +14 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/iavf_ethtool.c +12 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/iavf_main.c +18 -7
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c +76 -12
88 lines not on this page · raw message
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +5 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pcie-designware-host.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/phy/broadcom/phy-bcm-sr-usb.c +2 -53
55 lines not on this page · raw message
drivers/pinctrl/freescale/pinctrl-imx.c +2 -17
Lines of this file are not shown. View the raw message.
drivers/pinctrl/freescale/pinctrl-imx1-core.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/target/target_core_user.c +71 -83
154 lines not on this page · raw message
drivers/thermal/ti-soc-thermal/ti-thermal-common.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/usb/dwc3/gadget.c +49 -11
60 lines not on this page · raw message
drivers/usb/gadget/composite.c +61 -17
78 lines not on this page · raw message
drivers/usb/host/ehci-platform.c +131 -0
131 lines not on this page · raw message
fs/afs/fsclient.c +25 -63
88 lines not on this page · raw message
fs/afs/yfsclient.c +25 -60
85 lines not on this page · raw message
fs/f2fs/dir.c +48 -32
80 lines not on this page · raw message
fs/fuse/file.c +31 -12
43 lines not on this page · raw message
fs/fuse/virtio_fs.c +71 -35
106 lines not on this page · raw message
fs/jbd2/journal.c +42 -61
103 lines not on this page · raw message
lib/zlib_inflate/inffast.c +35 -56
91 lines not on this page · raw message
sound/soc/sh/rcar/ssi.c +145 -0
145 lines not on this page · raw message
sound/usb/endpoint.c +232 -12
244 lines not on this page · raw message
tools/testing/selftests/networking/timestamping/timestamping.c +8 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ntb/ntb_test.sh +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/x86/protection_keys.c +2 -1
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.