Linux 4.18.19
Greg KH
maintainerI'm announcing the release of the 4.18.19 kernel.
All users of the 4.18 kernel series must upgrade.
The updated 4.18.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.18.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/filesystems/fscrypt.rst | 10 Documentation/media/uapi/cec/cec-ioc-receive.rst | 25 Documentation/media/uapi/v4l/biblio.rst | 10 Documentation/media/uapi/v4l/colorspaces-defs.rst | 8 Documentation/media/uapi/v4l/colorspaces-details.rst | 13 Documentation/media/videodev2.h.rst.exceptions | 6 Makefile | 2 arch/arm/boot/dts/dra7.dtsi | 2 arch/arm/boot/dts/exynos3250.dtsi | 16 arch/arm/boot/dts/exynos4210-origen.dts | 9 arch/arm/boot/dts/exynos4210.dtsi | 13 arch/arm/boot/dts/exynos4412.dtsi | 9 arch/arm/boot/dts/exynos5250.dtsi | 114 + arch/arm/boot/dts/socfpga_arria10.dtsi | 2 arch/arm/crypto/Kconfig | 6 arch/arm/crypto/Makefile | 2 arch/arm/crypto/speck-neon-core.S | 434 ----- arch/arm/crypto/speck-neon-glue.c | 288 --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 2 arch/arm64/crypto/Kconfig | 6 arch/arm64/crypto/Makefile | 3 arch/arm64/crypto/speck-neon-core.S | 352 ---- arch/arm64/crypto/speck-neon-glue.c | 282 --- arch/arm64/kernel/cpufeature.c | 22 arch/arm64/kernel/entry.S | 2 arch/arm64/kernel/traps.c | 11 arch/arm64/lib/Makefile | 2 arch/m68k/configs/amiga_defconfig | 1 arch/m68k/configs/apollo_defconfig | 1 arch/m68k/configs/atari_defconfig | 1 arch/m68k/configs/bvme6000_defconfig | 1 arch/m68k/configs/hp300_defconfig | 1 arch/m68k/configs/mac_defconfig | 1 arch/m68k/configs/multi_defconfig | 1 arch/m68k/configs/mvme147_defconfig | 1 arch/m68k/configs/mvme16x_defconfig | 1 arch/m68k/configs/q40_defconfig | 1 arch/m68k/configs/sun3_defconfig | 1 arch/m68k/configs/sun3x_defconfig | 1 arch/mips/cavium-octeon/executive/cvmx-helper.c | 2 arch/mips/lib/memset.S | 4 arch/parisc/kernel/entry.S | 2 arch/parisc/kernel/hpmc.S | 3 arch/parisc/kernel/traps.c | 3 arch/parisc/mm/init.c | 8 arch/powerpc/include/asm/mpic.h | 7 arch/powerpc/kernel/mce_power.c | 7 arch/powerpc/kernel/setup_64.c | 18 arch/powerpc/mm/hash_native_64.c | 4 arch/s390/defconfig | 1 arch/s390/kernel/sthyi.c | 8 arch/x86/boot/tools/build.c | 7 arch/x86/crypto/aesni-intel_glue.c | 2 arch/x86/include/asm/cpufeatures.h | 1 arch/x86/include/asm/kvm_host.h | 1 arch/x86/include/asm/nospec-branch.h | 1 arch/x86/include/asm/tlbflush.h | 6 arch/x86/kernel/check.c | 15 arch/x86/kernel/cpu/bugs.c | 77 - arch/x86/kernel/cpu/common.c | 3 arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 7 arch/x86/kernel/fpu/signal.c | 1 arch/x86/kernel/kprobes/opt.c | 2 arch/x86/kvm/vmx.c | 7 arch/x86/mm/pageattr.c | 6 arch/x86/platform/olpc/olpc-xo1-rtc.c | 3 arch/x86/xen/enlighten_pvh.c | 2 arch/x86/xen/platform-pci-unplug.c | 4 arch/x86/xen/spinlock.c | 35 arch/x86/xen/xen-pvh.S | 2 block/bfq-wf2q.c | 13 block/blk-lib.c | 33 block/blk-merge.c | 3 block/blk.h | 10 block/bounce.c | 37 crypto/Kconfig | 14 crypto/Makefile | 1 crypto/aegis.h | 20 crypto/lrw.c | 7 crypto/morus1280.c | 7 crypto/morus640.c | 16 crypto/speck.c | 307 ---- crypto/tcrypt.c | 3 crypto/testmgr.c | 24 crypto/testmgr.h | 738 ---------- drivers/acpi/acpi_lpit.c | 6 drivers/acpi/acpi_lpss.c | 2 drivers/acpi/acpi_processor.c | 7 drivers/acpi/acpica/dsopcode.c | 4 drivers/acpi/acpica/psloop.c | 14 drivers/acpi/nfit/core.c | 163 +- drivers/acpi/nfit/nfit.h | 9 drivers/acpi/osl.c | 15 drivers/acpi/pptt.c | 33 drivers/ata/libata-core.c | 1 drivers/block/ataflop.c | 25 drivers/block/swim.c | 13 drivers/block/xen-blkfront.c | 4 drivers/bluetooth/btbcm.c | 1 drivers/char/ipmi/ipmi_ssif.c | 10 drivers/char/tpm/tpm-interface.c | 3 drivers/char/tpm/xen-tpmfront.c | 2 drivers/cpufreq/cpufreq-dt.c | 34 drivers/cpufreq/cpufreq_conservative.c | 6 drivers/crypto/caam/regs.h | 28 drivers/dma/dma-jz4780.c | 5 drivers/dma/ioat/init.c | 9 drivers/dma/ppc4xx/adma.c | 2 drivers/edac/amd64_edac.c | 14 drivers/edac/amd64_edac.h | 3 drivers/edac/i7core_edac.c | 1 drivers/edac/sb_edac.c | 1 drivers/edac/skx_edac.c | 3 drivers/firmware/google/coreboot_table.c | 7 drivers/gpio/gpio-brcmstb.c | 15 drivers/gpu/drm/drm_atomic.c | 5 drivers/gpu/drm/drm_atomic_helper.c | 12 drivers/gpu/drm/drm_crtc.c | 10 drivers/gpu/drm/mediatek/mtk_hdmi.c | 5 drivers/hid/usbhid/hiddev.c | 18 drivers/hid/wacom_wac.c | 19 drivers/hv/channel_mgmt.c | 14 drivers/hwmon/pmbus/pmbus.c | 2 drivers/hwmon/pmbus/pmbus_core.c | 5 drivers/hwmon/pwm-fan.c | 12 drivers/hwtracing/coresight/coresight-etb10.c | 4 drivers/i2c/busses/i2c-rcar.c | 6 drivers/iio/adc/at91_adc.c | 6 drivers/iio/adc/fsl-imx25-gcq.c | 6 drivers/iio/dac/ad5064.c | 53 drivers/infiniband/core/sysfs.c | 19 drivers/infiniband/hw/bnxt_re/qplib_fp.c | 3 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 13 drivers/infiniband/hw/mlx5/mr.c | 2 drivers/infiniband/hw/mlx5/qp.c | 4 drivers/infiniband/sw/rxe/rxe_resp.c | 8 drivers/infiniband/sw/rxe/rxe_verbs.h | 2 drivers/infiniband/ulp/ipoib/ipoib_cm.c | 8 drivers/iommu/arm-smmu.c | 6 drivers/irqchip/qcom-pdc.c | 1 drivers/lightnvm/pblk-core.c | 5 drivers/lightnvm/pblk-recovery.c | 6 drivers/lightnvm/pblk-sysfs.c | 8 drivers/lightnvm/pblk-write.c | 14 drivers/mailbox/pcc.c | 7 drivers/md/bcache/btree.c | 2 drivers/md/bcache/request.c | 2 drivers/md/bcache/super.c | 3 drivers/md/bcache/sysfs.c | 2 drivers/md/dm-ioctl.c | 18 drivers/md/dm-zoned-metadata.c | 80 - drivers/md/md.c | 26 drivers/md/raid1.c | 1 drivers/md/raid10.c | 1 drivers/media/cec/cec-adap.c | 94 - drivers/media/cec/cec-api.c | 19 drivers/media/cec/cec-edid.c | 60 drivers/media/common/v4l2-tpg/v4l2-tpg-colors.c | 262 +-- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 2 drivers/media/i2c/adv7511.c | 6 drivers/media/i2c/adv7604.c | 6 drivers/media/i2c/adv7842.c | 4 drivers/media/i2c/ov7670.c | 27 drivers/media/i2c/tc358743.c | 4 drivers/media/i2c/tvp5150.c | 2 drivers/media/platform/vivid/vivid-core.h | 2 drivers/media/platform/vivid/vivid-ctrls.c | 6 drivers/media/platform/vivid/vivid-vid-out.c | 2 drivers/media/usb/dvb-usb-v2/dvbsky.c | 16 drivers/media/usb/em28xx/em28xx-cards.c | 33 drivers/media/usb/em28xx/em28xx-video.c | 92 + drivers/media/usb/em28xx/em28xx.h | 8 drivers/media/v4l2-core/v4l2-dv-timings.c | 12 drivers/mfd/menelaus.c | 13 drivers/misc/genwqe/card_base.h | 2 drivers/misc/genwqe/card_dev.c | 9 drivers/misc/ocxl/config.c | 4 drivers/misc/vmw_vmci/vmci_driver.c | 2 drivers/misc/vmw_vmci/vmci_resource.c | 3 drivers/mmc/host/sdhci-acpi.c | 8 drivers/mmc/host/sdhci-pci-o2micro.c | 3 drivers/mtd/nand/raw/atmel/nand-controller.c | 4 drivers/mtd/nand/raw/denali.c | 14 drivers/mtd/nand/raw/marvell_nand.c | 2 drivers/mtd/spi-nor/fsl-quadspi.c | 15 drivers/mtd/spi-nor/intel-spi-pci.c | 1 drivers/net/dsa/mv88e6xxx/phy.c | 3 drivers/net/ethernet/broadcom/genet/bcmmii.c | 2 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 4 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 4 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 6 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 30 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 5 drivers/net/ethernet/intel/ice/ice.h | 4 drivers/net/ethernet/intel/ice/ice_controlq.c | 30 drivers/net/ethernet/intel/ice/ice_ethtool.c | 17 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 3 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 4 drivers/net/ethernet/netronome/nfp/flower/action.c | 35 drivers/net/ethernet/netronome/nfp/nfp_devlink.c | 17 drivers/net/ethernet/qlogic/qla3xxx.c | 2 drivers/net/ethernet/realtek/r8169.c | 12 drivers/net/ethernet/socionext/netsec.c | 3 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 12 drivers/net/net_failover.c | 3 drivers/net/phy/phylink.c | 3 drivers/net/tun.c | 2 drivers/net/wireless/ath/ath10k/wmi.c | 6 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c | 34 drivers/net/wireless/broadcom/brcm80211/include/brcmu_wifi.h | 2 drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 8 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 9 drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 24 drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 9 drivers/net/wireless/intel/iwlwifi/pcie/rx.c | 32 drivers/net/wireless/marvell/libertas/if_usb.c | 2 drivers/net/wireless/mediatek/mt76/mt76x2_mac.c | 3 drivers/net/wireless/rsi/rsi_91x_usb.c | 11 drivers/nfc/nfcmrvl/uart.c | 5 drivers/nvdimm/bus.c | 4 drivers/nvdimm/pmem.c | 4 drivers/nvdimm/region_devs.c | 11 drivers/nvme/host/core.c | 2 drivers/nvmem/core.c | 10 drivers/opp/of.c | 1 drivers/pci/controller/dwc/pci-dra7xx.c | 11 drivers/pci/controller/pcie-cadence-ep.c | 11 drivers/pci/controller/pcie-mediatek.c | 11 drivers/pci/controller/vmd.c | 13 drivers/pci/msi.c | 9 drivers/pci/pci-acpi.c | 16 drivers/pci/pcie/aspm.c | 2 drivers/pci/quirks.c | 4 drivers/pci/remove.c | 4 drivers/pcmcia/ricoh.h | 35 drivers/pcmcia/yenta_socket.c | 3 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 27 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c | 28 drivers/pinctrl/sunxi/pinctrl-sunxi.c | 15 drivers/power/supply/twl4030_charger.c | 5 drivers/rpmsg/qcom_smd.c | 7 drivers/rtc/rtc-cmos.c | 29 drivers/rtc/rtc-ds1307.c | 1 drivers/scsi/esp_scsi.c | 1 drivers/scsi/esp_scsi.h | 2 drivers/scsi/lpfc/lpfc_scsi.c | 14 drivers/scsi/lpfc/lpfc_sli.c | 7 drivers/scsi/mac_esp.c | 2 drivers/scsi/megaraid/megaraid_sas_base.c | 3 drivers/scsi/ufs/ufshcd.c | 5 drivers/soc/qcom/rmtfs_mem.c | 5 drivers/soc/tegra/pmc.c | 2 drivers/spi/spi-bcm-qspi.c | 4 drivers/spi/spi-ep93xx.c | 36 drivers/spi/spi-gpio.c | 10 drivers/spi/spi-mem.c | 15 drivers/tc/tc.c | 8 drivers/thermal/da9062-thermal.c | 4 drivers/thermal/rcar_thermal.c | 1 drivers/tty/serial/kgdboc.c | 5 drivers/uio/uio.c | 9 drivers/usb/chipidea/otg.h | 3 drivers/usb/dwc2/hcd.c | 10 drivers/usb/gadget/udc/atmel_usba_udc.c | 2 drivers/usb/gadget/udc/renesas_usb3.c | 3 drivers/usb/host/ohci-at91.c | 2 drivers/usb/host/xhci-hub.c | 5 drivers/usb/host/xhci-ring.c | 1 drivers/usb/typec/tcpm.c | 10 drivers/usb/usbip/vudc_main.c | 10 drivers/video/hdmi.c | 8 drivers/w1/masters/omap_hdq.c | 2 drivers/xen/privcmd-buf.c | 22 drivers/xen/swiotlb-xen.c | 6 drivers/xen/xen-balloon.c | 13 fs/btrfs/ctree.c | 17 fs/btrfs/dev-replace.c | 7 fs/btrfs/extent-tree.c | 168 +- fs/btrfs/file.c | 41 fs/btrfs/free-space-cache.c | 42 fs/btrfs/inode.c | 15 fs/btrfs/ioctl.c | 11 fs/btrfs/qgroup.c | 5 fs/btrfs/qgroup.h | 2 fs/btrfs/relocation.c | 2 fs/btrfs/transaction.c | 15 fs/btrfs/tree-log.c | 86 - fs/cifs/cifs_debug.c | 3 fs/cifs/cifs_spnego.c | 6 fs/cifs/inode.c | 10 fs/cramfs/inode.c | 3 fs/crypto/fscrypt_private.h | 4 fs/crypto/keyinfo.c | 10 fs/ext4/ext4.h | 3 fs/ext4/inline.c | 2 fs/ext4/ioctl.c | 97 - fs/ext4/move_extent.c | 8 fs/ext4/super.c | 73 fs/f2fs/data.c | 17 fs/f2fs/extent_cache.c | 51 fs/f2fs/f2fs.h | 7 fs/f2fs/inode.c | 6 fs/f2fs/node.c | 9 fs/f2fs/recovery.c | 1 fs/f2fs/super.c | 19 fs/gfs2/ops_fstype.c | 3 fs/jbd2/checkpoint.c | 4 fs/jffs2/super.c | 4 fs/lockd/host.c | 2 fs/nfs/nfs4client.c | 16 fs/nfs/pagelist.c | 40 fs/nfsd/nfs4state.c | 3 fs/notify/fsnotify.c | 3 fs/notify/mark.c | 39 fs/proc/task_mmu.c | 4 include/crypto/speck.h | 62 include/drm/drm_atomic.h | 11 include/linux/compat.h | 3 include/linux/fs.h | 3 include/linux/hdmi.h | 4 include/linux/signal.h | 2 include/linux/tc.h | 1 include/media/cec.h | 72 include/rdma/ib_verbs.h | 34 include/uapi/linux/cec.h | 3 include/uapi/linux/fs.h | 4 include/uapi/linux/ndctl.h | 48 include/uapi/linux/videodev2.h | 23 include/uapi/rdma/ib_user_verbs.h | 20 kernel/bounds.c | 4 kernel/bpf/syscall.c | 13 kernel/bpf/verifier.c | 16 kernel/bpf/xskmap.c | 10 kernel/cpu.c | 11 kernel/dma/contiguous.c | 6 kernel/irq/manage.c | 8 kernel/kprobes.c | 27 kernel/locking/lockdep.c | 4 kernel/printk/printk.c | 7 kernel/sched/fair.c | 2 kernel/signal.c | 18 kernel/trace/trace_events_hist.c | 4 kernel/user_namespace.c | 12 lib/debug_locks.c | 2 mm/hmm.c | 36 mm/hugetlb.c | 6 mm/page_vma_mapped.c | 24 net/core/netclassid_cgroup.c | 1 net/ipv4/cipso_ipv4.c | 11 net/netfilter/xt_nat.c | 2 net/sched/sch_api.c | 1 net/sunrpc/svc_xprt.c | 2 net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 1 net/sunrpc/xprtrdma/transport.c | 6 net/xdp/xsk.c | 2 net/xfrm/xfrm_policy.c | 8 security/integrity/ima/ima_fs.c | 6 security/selinux/hooks.c | 5 security/smack/smack_lsm.c | 13 sound/pci/ca0106/ca0106.h | 2 sound/pci/hda/hda_controller.h | 1 sound/pci/hda/hda_intel.c | 15 sound/pci/hda/patch_conexant.c | 1 sound/pci/hda/patch_realtek.c | 26 sound/soc/codecs/sta32x.c | 3 sound/soc/intel/skylake/skl-topology.c | 1 tools/perf/Makefile.config | 2 tools/perf/builtin-report.c | 1 tools/perf/pmu-events/arch/x86/ivytown/uncore-power.json | 16 tools/perf/pmu-events/arch/x86/jaketown/uncore-power.json | 16 tools/perf/tests/shell/record+probe_libc_inet_pton.sh | 2 tools/perf/util/event.c | 1 tools/perf/util/evsel.c | 3 tools/perf/util/pmu.c | 13 tools/perf/util/srcline.c | 3 tools/perf/util/strbuf.c | 10 tools/perf/util/trace-event-info.c | 2 tools/perf/util/trace-event-read.c | 5 tools/power/cpupower/utils/cpufreq-info.c | 2 tools/power/cpupower/utils/helpers/amd.c | 7 tools/testing/selftests/drivers/usb/usbip/usbip_test.sh | 4 tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-createremove.tc | 12 tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-syntax.tc | 80 + tools/testing/selftests/net/reuseport_bpf.c | 13 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c | 4 virt/kvm/arm/arm.c | 4 virt/kvm/arm/mmu.c | 8 387 files changed, 3247 insertions(+), 4005 deletions(-)
Aaro Koskinen (1):
MIPS: OCTEON: fix out of bounds array access on CN68XX
Adam Thomson (2):
usb: typec: tcpm: Report back negotiated PPS voltage and current
usb: typec: tcpm: Fix APDO PPS order checking to be based on voltage
Ahmad Fatoum (1):
mtd: spi-nor: fsl-quadspi: Don't let -EINVAL on the bus
Al Viro (1):
gfs2_meta: ->mount() can get NULL dev_name
Alan Douglas (1):
PCI: cadence: Use AXI region 0 to signal interrupts from EP
Alex Stanoev (1):
ALSA: ca0106: Disable IZD on SB0570 DAC to fix audio pops
Alexander Duyck (1):
libnvdimm: Hold reference on parent while scheduling async init
Alexandre Belloni (3):
usb: gadget: udc: atmel: handle at91sam9rl PMC
uio: ensure class is registered before devices
mfd: menelaus: Fix possible race condition and leak
Alexei Starovoitov (1):
bpf/verifier: fix verifier instability
Alexey Khoroshilov (1):
iio: adc: imx25-gcq: Fix leak of device_node in mx25_gcq_setup_cfgs()
Amir Goldstein (1):
lockd: fix access beyond unterminated strings in prints
Andreas Kemnade (1):
w1: omap-hdq: fix missing bus unregister at removal
Andrew Elble (1):
nfsd: correctly decrement odstate refcount in error path
Andrew Lunn (1):
net: dsa: mv88e6xxx: Fix writing to a PHY page.
Anshuman Gupta (1):
xhci: Avoid USB autosuspend when resuming USB2 ports.
Antoine Tenart (1):
net: phy: phylink: ensure the carrier is off when starting phylink
Ard Biesheuvel (2):
crypto: morus/generic - fix for big endian systems
crypto: aegis/generic - fix for big endian systems
Arend van Spriel (1):
brcmfmac: fix for proper support of 160MHz bandwidth
Arnaldo Carvalho de Melo (1):
perf tests: Fix record+probe_libc_inet_pton.sh without ping's debuginfo
Arnd Bergmann (1):
kbuild: fix kernel/bounds.c 'W=1' warning
Artemy Kovalyov (1):
IB/mlx5: Fix MR cache initialization
Bart Van Assche (1):
ACPI / OSL: Use 'jiffies' as the time bassis for acpi_os_get_timer()
Bartosz Golaszewski (1):
nvmem: check the return value of nvmem_add_cells()
Ben Hutchings (1):
x86: boot: Fix EFI stub alignment
Ben Peddell (1):
bcache: Populate writeback_rate_minimum attribute
Benjamin Coddington (1):
nfs: Fix a missed page unlock after pg_doio()
Bin Meng (1):
PCI: Add Device IDs for Intel GPU "spurious interrupt" quirk
Bjorn Andersson (1):
soc: qcom: rmtfs-mem: Validate that scm is available
Björn Töpel (1):
xsk: do not call synchronize_net() under RCU read lock
Boris Ostrovsky (1):
xen/balloon: Support xend-based toolstack
Breno Leitao (2):
HID: hiddev: fix potential Spectre v1
selftests/powerpc: Fix ptrace tm failure
Bruce Allan (1):
ice: fix changing of ring descriptor size (ethtool -G)
Casey Schaufler (1):
Smack: ptrace capability use fixes
Chao Yu (5):
f2fs: fix to account IO correctly for cgroup writeback
f2fs: fix to recover inode's crtime during POR
f2fs: fix to recover inode's i_flags during POR
f2fs: fix to recover cold bit of inode block during POR
f2fs: fix to account IO correctly
Chris Mason (1):
Btrfs: don't clean dirty pages during buffered writes
Christian Hewitt (1):
Bluetooth: btbcm: Add entry for BCM4335C0 UART bluetooth
Christian Lamparter (1):
dmaengine: ppc4xx: fix off-by-one build failure
Christophe Leroy (1):
powerpc/msi: Fix compile error on mpc83xx
Christophe Lombard (1):
ocxl: Fix access to the AFU Descriptor Data
Chuanhua Han (1):
spi: spi-mem: Adjust op len based on message/transfer size limitations
Chuck Lever (1):
xprtrdma: Reset credit grant properly after a disconnect
Colin Ian King (1):
rpmsg: smd: fix memory leak on channel create
Damien Le Moal (2):
dm zoned: fix metadata block ref counting dm zoned: fix various dmz_get_mblock() issues
Dan Williams (3):
acpi, nfit: Fix Address Range Scrub completion tracking libnvdimm, region: Fail badblocks listing for inactive regions libnvdimm, pmem: Fix badblocks population for 'raw' namespaces
Daniel Colascione (1):
bpf: wait for running BPF programs when updating map-in-map
Daniel Mack (1):
ASoC: sta32x: set ->component pointer in private struct
David Ahern (1):
net: sched: Remove TCA_OPTIONS from policy
David Arcari (1):
mailbox: PCC: handle parse error
David Howells (1):
UAPI: ndctl: Fix g++-unsupported initialisation in headers
David Miller (1):
perf cpu_map: Align cpu map synthesized events properly.
Denis Drozdov (1):
IB/ipoib: Clear IPCB before icmp_send
Dexuan Cui (1):
Drivers: hv: vmbus: Use cpumask_var_t for on-stack cpu mask
Diego Viola (1):
libata: Apply NOLPM quirk for SAMSUNG MZ7TD256HAFV-000L9
Dmitry Bazhenov (1):
hwmon: (pmbus) Fix page count auto-detection.
Dou Liyang (1):
ACPI / processor: Fix the return value of acpi_processor_ids_walk()
Douglas Anderson (2):
pinctrl: spmi-mpp: Fix pmic_mpp_config_get() to be compliant
pinctrl: ssbi-gpio: Fix pm8xxx_pin_config_get() to be compliant
Dr. Greg Wettstein (1):
tpm: Restore functionality to xen vtpm driver.
Emmanuel Grumbach (1):
iwlwifi: mvm: clear HW_RESTART_REQUESTED when stopping the interface
Eric Biggers (1):
ima: fix showing large 'violations' or 'runtime_measurements_count'
Eric Dumazet (1):
bpf: do not blindly change rlimit in reuseport net selftest
Eric W. Biederman (3):
signal: Always deliver the kernel's SIGKILL and SIGSTOP to a pid namespace init signal/GenWQE: Fix sending of SIGKILL
signal: Guard against negative signal numbers in copy_siginfo_from_user32
Erik Schmauss (2):
ACPICA: AML interpreter: add region addresses in global list during initialization
ACPICA: AML Parser: fix parse loop to correctly skip erroneous extended opcodes
Eugen Hristev (2):
iio: adc: at91: fix acking DRDY irq on simple conversions
iio: adc: at91: fix wrong channel number in triggered buffer mode
Evan Green (1):
scsi: ufs: Schedule clk gating work on correct queue
Fabrice Gasnier (1):
usb: dwc2: fix a race with external vbus supply
Felix Fietkau (1):
mt76: mt76x2: fix multi-interface beacon configuration
Filipe Manana (7):
Btrfs: fix warning when replaying log after fsync of a tmpfile
Btrfs: fix wrong dentries after fsync of file that got its parent replaced
Btrfs: fix null pointer dereference on compressed write path error
Btrfs: fix assertion on fsync of regular file when using no-holes feature
Btrfs: fix deadlock when writing out free space caches
Btrfs: fix use-after-free during inode eviction
Btrfs: fix use-after-free when dumping free space
Finn Thain (1):
scsi: esp_scsi: Track residual for PIO transfers
Florian Westphal (1):
xfrm: policy: use hlist rcu variants on insert
Fuyun Liang (1):
net: hns3: Set STATE_DOWN bit of hdev state when stopping net
Geert Uytterhoeven (2):
thermal: rcar_thermal: Prevent doing work after unbind
thermal: da9062/61: Prevent hardware access during system suspend
Greg Kroah-Hartman (1):
Linux 4.18.19
Gustavo A. R. Silva (1):
mtd: rawnand: atmel: Fix potential NULL pointer dereference
Hans Verkuil (11):
media: v4l2-tpg: fix kernel oops when enabling HFLIP and OSD
media: cec: make cec_get_edid_spa_location() an inline function
media: cec: integrate cec_validate_phys_addr() in cec-api.c
media: cec: add new tx/rx status bits to detect aborts/timeouts
media: cec: fix the Signal Free Time calculation
media: cec: forgot to cancel delayed work
media: adv7604: when the EDID is cleared, unconfigure CEC as well
media: adv7842: when the EDID is cleared, unconfigure CEC as well
media: media colorspaces*.rst: rename AdobeRGB to opRGB
media: replace ADOBERGB by OPRGB
media: hdmi.h: rename ADOBE_RGB to OPRGB and ADOBE_YCC to OPYCC
Hans de Goede (2):
ALSA: hda: Add 2 more models to the power_save blacklist ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers
He Zhe (4):
dma-mapping: fix panic caused by passing empty cma command line argument x86/corruption-check: Fix panic in memory_corruption_check() when boot option without value is provided
printk: Fix panic caused by passing log_buf_len to command line
kgdboc: Passing ekgdboc to command line causes panic
Heiner Kallweit (1):
r8169: re-enable MSI-X on RTL8168g
Helge Deller (2):
parisc: Fix map_pages() to not overwrite existing pte entries
parisc: Fix exported address of os_hpmc handler
Honghui Zhang (1):
PCI: mediatek: Fix mtk_pcie_find_port() endpoint/port matching logic
Horia Geantă (2):
crypto: caam - fix implicit casts in endianness helpers
crypto: tcrypt - fix ghash-generic speed test
Hou Tao (1):
jffs2: free jffs2_sb_info through jffs2_kill_sb()
Hui Wang (1):
ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo M715
Jack Wang (1):
md: fix memleak for mempool
Jacob Keller (1):
ice: update fw version check logic
Jaegeuk Kim (2):
f2fs: clear PageError on the read path
Revert "f2fs: fix to clear PG_checked flag in set_page_dirty()"
James Smart (2):
scsi: lpfc: Correct soft lockup when running mds diagnostics
scsi: lpfc: Correct race with abort on completion path
Jan Glauber (1):
ipmi: Fix timer race with module unload
Jan Kara (2):
jbd2: fix use after free in jbd2_log_do_checkpoint()
fsnotify: Fix busy inodes during unmount
Jann Horn (1):
userns: also map extents in the reverse map to kernel IDs
Janosch Frank (1):
s390/sthyi: Fix machine name validity indication
Jarod Wilson (1):
perf tools: Fix use of alternatives to find JDIR
Jason A. Donenfeld (1):
crypto: speck - remove Speck
Jason Gerecke (1):
HID: wacom: Work around HID descriptor bug in DTK-2451 and DTH-2452
Jason Gunthorpe (1):
IB/rxe: Revise the ib_wr_opcode enum
Javier González (2):
lightnvm: pblk: fix race on sysfs line state
lightnvm: pblk: fix race condition on metadata I/O
Javier Martinez Canillas (1):
tpm: suppress transmit cmd error logs when TPM 1.2 is disabled/deactivated
Jeff Mahoney (5):
btrfs: fix error handling in free_log_tree
btrfs: fix error handling in btrfs_dev_replace_start
btrfs: iterate all devices during trim, instead of fs_devices::alloc_list
btrfs: don't attempt to trim devices that don't support it
btrfs: keep trim from interfering with transaction commits
Jeffrey Hugo (1):
ACPI/PPTT: Handle architecturally unknown cache types
Jens Axboe (1):
block: setup bounce bio_sets properly
Jeremy Cline (1):
ALSA: hda - Add mic quirk for the Lenovo G50-30 (17aa:3905)
Jia-Ju Bai (1):
lightnvm: pblk: fix two sleep-in-atomic-context bugs
Jian Shen (2):
net: hns3: Add nic state check before calling netif_tx_wake_queue
net: hns3: Fix ets validate issue
Jian-Hong Pan (1):
r8169: Enable MSI-X on RTL8106e
Jim Mattson (1):
KVM: nVMX: Clear reserved bits of #DB exit qualification
Jiri Kosina (1):
x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation
Jiri Olsa (3):
Revert "perf tools: Fix PMU term format max value calculation"
perf vendor events intel: Fix wrong filter_band* values for uncore events perf evsel: Store ids for events with their own cpus perf_event__synthesize_event_update_cpus
Joe Jin (1):
xen-swiotlb: use actually allocated size on check physical continuous
Johan Hovold (6):
net: stmmac: dwmac-sun8i: fix OF child-node lookup
NFC: nfcmrvl_uart: fix OF child-node lookup
power: supply: twl4030-charger: fix OF sibling-node lookup
net: bcmgenet: fix OF child-node lookup drm/mediatek: fix OF sibling-node lookup soc/tegra: pmc: Fix child-node lookup
John David Anglin (1):
parisc: Fix address in HPMC IVA
Jorgen Hansen (1):
VMCI: Resource wildcard match fixed
Josef Bacik (12):
btrfs: wait on caching when putting the bg cache
btrfs: release metadata before running delayed refs
btrfs: protect space cache inode alloc with GFP_NOFS
btrfs: reset max_extent_size on clear in a bitmap
btrfs: make sure we create all new block groups
btrfs: reset max_extent_size properly
btrfs: set max_extent_size properly
btrfs: don't use ctl->free_space for max_extent_size
btrfs: only free reserved extent if we didn't insert it
btrfs: fix insert_reserved error handling
btrfs: don't run delayed_iputs in commit
btrfs: move the dio_sem higher up the callchain
Juergen Gross (6):
x86/xen: Fix boot loader version reported for PVH guests
xen: fix race in xen_qlock_wait()
xen: make xen_qlock_wait() nestable
xen/pvh: don't try to unplug emulated devices
xen: fix xen_qlock_wait()
xen: remove size limit of privcmd-buf mapping interface
Justin Chen (1):
gpio: brcmstb: allow 0 width GPIO banks
Keith Busch (2):
nvme: remove ns sibling before clearing path
PCI: vmd: White list for fast interrupt handlers
Lars-Peter Clausen (1):
iio: ad5064: Fix regulator handling
Leo Li (1):
drm: Get ref on CRTC commit object when waiting for flip_done
Lina Iyer (1):
irqchip/pdc: Setup all edge interrupts as rising edge at GIC
Linus Walleij (1):
spi: gpio: No MISO does not imply no RX
Liu Xiang (1):
mtd: spi-nor: fsl-quadspi: fix read error for flash size larger than 16MB
Loic Poulain (1):
usb: chipidea: Prevent unbalanced IRQ disable
Lubomir Rintel (3):
x86/olpc: Indicate that legacy PC XO-1 platform should not register RTC
libertas: don't set URB_ZERO_PACKET on IN USB transfer
media: ov7670: make "xclk" clock optional
Luca Coelho (2):
iwlwifi: mvm: check for n_profiles validity in EWRD ACPI
iwlwifi: mvm: check return value of rs_rate_from_ucode_rate()
Lukas Czerner (1):
ext4: initialize retries variable in ext4_da_write_inline_data_begin()
Lukas Wunner (2):
PCI/ASPM: Fix link_state teardown on device removal
genirq: Fix race on spurious interrupt detection
Maciej S. Szmigiero (1):
pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges
Maciej W. Rozycki (4):
MIPS: memset: Fix CPU_DADDI_WORKAROUNDS `small_fixup' regression
rtc: cmos: Fix non-ACPI undefined reference to `hpet_rtc_interrupt'
rtc: cmos: Remove the `use_acpi_alarm' module parameter for !ACPI
TC: Set DMA masks for devices
Manjunath Patil (1):
xen-blkfront: fix kernel panic with negotiate_mq error path
Marek Szyprowski (3):
ARM: dts: exynos: Disable pull control for MAX8997 interrupts on Origen
ARM: dts: exynos: Convert exynos5250.dtsi to opp-v2 bindings
ARM: dts: exynos: Mark 1 GHz CPU OPP as suspend OPP on Exynos5250
Mark Rutland (1):
KVM: arm64: Fix caching of host MDCR_EL2 value
Martin Willi (1):
ath10k: schedule hardware restart if WMI command times out
Masahiro Yamada (1):
mtd: rawnand: denali: set SPARE_AREA_SKIP_BYTES register to 8 if unset
Masahisa Kojima (1):
net: socionext: Reset tx queue in ndo_stop
Masami Hiramatsu (5):
kprobes/x86: Use preempt_enable() in optimized_callback()
selftests: ftrace: Add synthetic event syntax testcase
kprobes: Return error if we fail to reuse kprobe instead of BUG_ON() selftests/ftrace: Fix synthetic event test to delete event correctly
tracing: Return -ENOENT if there is no target synthetic event
Mauro Carvalho Chehab (6):
Revert "media: dvbsky: use just one mutex for serializing device R/W ops"
media: em28xx: use a default format if TRY_FMT fails
media: tvp5150: avoid going past array on v4l2_querymenu()
media: em28xx: fix input name for Terratec AV 350
media: em28xx: make v4l2-compliance happier by starting sequence on zero
media: em28xx: fix handler for vidioc_s_input()
Michael Jin (1):
EDAC, amd64: Add Family 17h, models 10h-2fh support
Michael Neuling (1):
powerpc/tm: Fix HFSCR bit for no suspend case
Michal Hocko (1):
cgroup, netclassid: add a preemption point to write_classid
Mika Westerberg (2):
mtd: spi-nor: intel-spi: Add support for Intel Ice Lake SPI serial flash PCI / ACPI: Enable wake automatically for power managed bridges
Mike Kravetz (1):
hugetlbfs: dirty pages as they are added to pagecache
Mikulas Patocka (1):
crypto: aesni - don't use GFP_ATOMIC allocation if the request doesn't cross a page in gcm
Milian Wolff (1):
perf report: Don't crash on invalid inline debug information
Ming Lei (3):
block: don't deal with discard limit in blkdev_issue_discard()
block: make sure discard bio is aligned with logical block size
block: make sure writesame bio is aligned with logical block size
Miquel Raynal (1):
mtd: rawnand: marvell: fix the IRQ handler complete() condition
Moni Shoua (1):
IB/mlx5: Allow transition of DCI QP to reset
Nathan Chancellor (2):
net: qla3xxx: Remove overflowing shift statement
spi: spi-ep93xx: Use dma_data_direction for ep93xx_spi_dma_{finish,prepare}
Nicholas Piggin (1):
powerpc/64s/hash: Do not use PPC_INVALIDATE_ERAT on CPUs before POWER9
Nicolas Pitre (1):
Cramfs: fix abad comparison when wrap-arounds occur
Omar Sandoval (2):
ataflop: fix error handling during setup
swim: fix cleanup on setup error
Ondrej Mosnacek (1):
crypto: lrw - Fix out-of bounds access on counter overflow
Paolo Abeni (1):
netfilter: xt_nat: fix DNAT target for shifted portmap ranges
Paolo Valente (1):
block, bfq: correctly charge and reset entity service in all cases
Parav Pandit (1):
RDMA/core: Do not expose unsupported counters
Paul Cercueil (1):
dmaengine: dma-jz4780: Return error if not probed from DT
Peng Li (1):
net: hns3: Check hdev state when getting link status
Pieter Jansen van Vuuren (2):
nfp: flower: fix pedit set actions for multiple partial masks
nfp: flower: use offsets provided by pedit instead of index for ipv6
Prarit Bhargava (2):
cpupower: Fix coredump on VMWare
cpupower: Fix AMD Family 0x17 msr_pstate size
Punit Agrawal (1):
KVM: arm/arm64: Ensure only THP is candidate for adjustment
Qiuxu Zhuo (1):
EDAC, skx_edac: Fix logical channel intermediate decoding
Qu Wenruo (6):
btrfs: qgroup: Avoid calling qgroup functions if qgroup is not enabled
btrfs: Handle owner mismatch gracefully when walking up tree
btrfs: locking: Add extra check in btrfs_init_new_buffer() to avoid deadlock
btrfs: Enhance btrfs_trim_fs function to handle error better
btrfs: Ensure btrfs_trim_fs can trim the whole filesystem
btrfs: qgroup: Dirty all qgroups before rescan
Rafael J. Wysocki (1):
cpufreq: conservative: Take limits changes into account properly
Rafał Miłecki (2):
spi: bcm-qspi: switch back to reading flash using smaller chunks
spi: bcm-qspi: fix calculation of address length
Rajneesh Bhardwaj (1):
ACPI / PM: LPIT: Register sysfs attributes based on FADT
Ralph Campbell (2):
mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly mm/hmm: fix race between hmm_mirror_unregister() and mmu_notifier callback
Roger Pau Monne (1):
xen/pvh: increase early stack size
Ryan C Goodfellow (1):
nfp: devlink port split support for 1x100G CXP NIC
Sai Praneeth (1):
x86/speculation: Support Enhanced IBRS on future CPUs
Sanskriti Sharma (3):
perf tools: Free temporary 'sys' string in read_event_files() perf tools: Cleanup trace-event-info 'tdata' leak perf strbuf: Match va_{add,copy} with va_end
Sara Sharon (1):
iwlwifi: mvm: fix BAR seq ctrl reporting
Sebastian Andrzej Siewior (2):
x86/mm/pat: Disable preemption around __flush_tlb_all() x86/fpu: Remove second definition of fpu in __fpu__restore_sig()
Sebastian Basierski (1):
ixgbevf: VF2VF TCP RSS
Selvin Xavier (2):
RDMA/bnxt_re: Avoid accessing nq->bar_reg_iomem in failure case RDMA/bnxt_re: Fix recursive lock warning in debug kernel
Serhey Popovych (1):
tun: Consistently configure generic netdev params via rtnetlink
Shannon Nelson (1):
ixgbe: disallow IPsec Tx offload when in SR-IOV mode
Shaohua Li (2):
MD: fix invalid stored role for a disk
MD: fix invalid stored role for a disk - try2
Shaul Triebitz (1):
iwlwifi: pcie: avoid empty free RB queue
Shuah Khan (Samsung OSG) (2):
selftests: usbip: add wait after attach and before checking port status usbip:vudc: BUG kmalloc-2048 (Not tainted): Poison overwritten
Siva Rebbagondla (1):
rsi: fix memory alignment issue in ARM32 platforms
Soeren Moch (1):
rtc: ds1307: fix ds1339 wakealarm support
Song Muchun (1):
sched/fair: Fix the min_vruntime update logic in dequeue_entity()
Stefan Nuernberger (1):
net/ipv4: defensive cipso option parsing
Stephen Boyd (2):
pinctrl: qcom: spmi-mpp: Fix drive strength setting
firmware: coreboot: Unmap ioregion after device population
Stephen Smalley (1):
selinux: fix mounting of cgroup2 under older policies
Steve French (3):
smb3: allow stats which track session and share reconnects to be reset
smb3: do not attempt cifs operation in smb3 query info error path
smb3: on kerberos mount if server doesn't specify auth type use krb5
Suzuki K Poulose (2):
arm64: cpufeature: ctr: Fix cpu capability check for late CPUs
coresight: etb10: Fix handling of perf mode
Takashi Iwai (4):
ALSA: hda - Add quirk for ASUS G751 laptop
ALSA: hda - Fix headphone pin config for ASUS G751
ALSA: hda: Check the non-cached stream buffers more explicitly
ASoC: intel: skylake: Add missing break in skl_tplg_get_token()
Tang Junhui (3):
bcache: trace missed reading by cache_missed
bcache: correct dirty data statistics
bcache: fix miss key refill->end in writeback
Theodore Ts'o (3):
ext4: fix argument checking in EXT4_IOC_MOVE_EXT
ext4: fix EXT4_IOC_SWAP_BOOT
ext4: fix use-after-free race in ext4_remount()'s error path
Thierry Reding (1):
hwmon: (pwm-fan) Set fan speed to 0 on suspend
Thor Thayer (2):
ARM: dts: socfpga: Fix SDRAM node address for Arria10
arm64: dts: stratix10: Correct System Manager register size
Tomi Valkeinen (1):
drm: fix use of freed memory in drm_mode_setcrtc
Tonghao Zhang (1):
PCI/MSI: Warn and return error if driver enables MSI/MSI-X twice
Tony Luck (1):
EDAC, {i7core,sb,skx}_edac: Fix uncorrected error counting
Tri Vo (1):
arm64: lse: remove -fcall-used-x0 flag
Trond Myklebust (2):
NFSv4.1: Fix the r/wsize checking
nfsd: Fix an Oops in free_session()
[email protected] (1):
usb: host: ohci-at91: fix request of irq for optional gpio
Vasilis Liaskovitis (1):
xen/blkfront: avoid NULL blkfront_info dereference on device removal
Vignesh R (2):
PCI: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode
ARM: dts: dra7: Fix up unaligned access setting for PCIe EP
Vijay Immanuel (1):
IB/rxe: fix for duplicate request processing and ack psns
Viresh Kumar (3):
cpufreq: dt: Try freeing static OPPs only if we have added them
OPP: Free OPP table properly on performance state irregularities
arm: dts: exynos: Add missing cooling device properties for CPUs
Vlastimil Babka (1):
mm: /proc/pid/smaps_rollup: fix NULL pointer deref in smaps_pte_range()
Waiman Long (2):
locking/lockdep: Fix debug_locks off performance problem driver/dma/ioat: Call del_timer_sync() without holding prep_lock
Wang Dongsheng (1):
sdhci: acpi: add free_slot callback
Wang Shilong (2):
ext4: fix setattr project check in fssetxattr ioctl
ext4: propagate error from dquot_initialize() in EXT4_IOC_FSSETXATTR
Wenwen Wang (2):
scsi: megaraid_sas: fix a missing-check bug
dm ioctl: harden copy_params()'s copy_from_user() from malicious users
Will Deacon (3):
signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstack
arm64: entry: Allow handling of undefined instructions from EL1 iommu/arm-smmu: Ensure that page-table updates are visible before TLBI
Wolfram Sang (1):
i2c: rcar: cleanup DMA for all kinds of failure
Xiao Ni (1):
MD: Memory leak when flush bio size is zero
Xiaochen Shen (1):
x86/intel_rdt: Show missing resctrl mount options
Yoshihiro Shimoda (1):
usb: gadget: udc: renesas_usb3: Fix b-device mode for "workaround"
Yu Zhao (1):
mmc: sdhci-pci-o2micro: Add quirk for O2 Micro dev 0x8620 rev 0x01
YueHaibing (3):
pinctrl: sunxi: fix 'pctrl->functions' allocation in sunxi_pinctrl_build_state
pinctrl: qcom: spmi-mpp: Fix err handling of pmic_mpp_set_mux
failover: Add missing check to validate 'slave_dev' in net_failover_slave_unregister
Yunlei He (1):
f2fs: report error if quota off error during umount
Yunsheng Lin (4):
net: hns3: Fix for packet buffer setting bug
net: hns3: Preserve vlan 0 in hardware table
net: hns3: Fix ping exited problem when doing lp selftest
net: hns3: Fix for vf vlan delete failed problem
Zhikang Zhang (1):
f2fs: avoid sleeping under spin_lock
Greg KH
maintainerDocumentation/filesystems/fscrypt.rst +0 -10
@@ -191,21 +191,11 @@ Currently, the following pairs of encryption modes are supported: - AES-256-XTS for contents and AES-256-CTS-CBC for filenames - AES-128-CBC for contents and AES-128-CTS-CBC for filenames -- Speck128/256-XTS for contents and Speck128/256-CTS-CBC for filenames It is strongly recommended to use AES-256-XTS for contents encryption. AES-128-CBC was added only for low-powered embedded devices with crypto accelerators such as CAAM or CESA that do not support XTS. -Similarly, Speck128/256 support was only added for older or low-end -CPUs which cannot do AES fast enough -- especially ARM CPUs which have -NEON instructions but not the Cryptography Extensions -- and for which -it would not otherwise be feasible to use encryption at all. It is -not recommended to use Speck on CPUs that have AES instructions. -Speck support is only available if it has been enabled in the crypto -API via CONFIG_CRYPTO_SPECK. Also, on ARM platforms, to get -acceptable performance CONFIG_CRYPTO_SPECK_NEON must be enabled. - New encryption modes can be added relatively easily, without changes to individual filesystems. However, authenticated encryption (AE) modes are not currently supported because of the difficulty of dealing
Documentation/media/uapi/cec/cec-ioc-receive.rst +23 -2
@@ -16,10 +16,10 @@ CEC_RECEIVE, CEC_TRANSMIT - Receive or transmit a CEC message Synopsis ======== -.. c:function:: int ioctl( int fd, CEC_RECEIVE, struct cec_msg *argp ) +.. c:function:: int ioctl( int fd, CEC_RECEIVE, struct cec_msg \*argp ) :name: CEC_RECEIVE -.. c:function:: int ioctl( int fd, CEC_TRANSMIT, struct cec_msg *argp ) +.. c:function:: int ioctl( int fd, CEC_TRANSMIT, struct cec_msg \*argp ) :name: CEC_TRANSMIT Arguments
@@ -272,6 +272,19 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV'). - The transmit failed after one or more retries. This status bit is mutually exclusive with :ref:`CEC_TX_STATUS_OK <CEC-TX-STATUS-OK>`. Other bits can still be set to explain which failures were seen. + * .. _`CEC-TX-STATUS-ABORTED`: + + - ``CEC_TX_STATUS_ABORTED`` + - 0x40 + - The transmit was aborted due to an HDMI disconnect, or the adapter + was unconfigured, or a transmit was interrupted, or the driver + returned an error when attempting to start a transmit. + * .. _`CEC-TX-STATUS-TIMEOUT`: + + - ``CEC_TX_STATUS_TIMEOUT`` + - 0x80 + - The transmit timed out. This should not normally happen and this + indicates a driver problem. .. tabularcolumns:: |p{5.6cm}|p{0.9cm}|p{11.0cm}|
@@ -300,6 +313,14 @@ View On' messages from initiator 0xf ('Unregistered') to destination 0 ('TV'). - The message was received successfully but the reply was ``CEC_MSG_FEATURE_ABORT``. This status is only set if this message was the reply to an earlier transmitted message. + * .. _`CEC-RX-STATUS-ABORTED`: + + - ``CEC_RX_STATUS_ABORTED`` + - 0x08 + - The wait for a reply to an earlier transmitted message was aborted + because the HDMI cable was disconnected, the adapter was unconfigured + or the :ref:`CEC_TRANSMIT <CEC_RECEIVE>` that waited for a + reply was interrupted.
Documentation/media/uapi/v4l/biblio.rst +0 -10
@@ -226,16 +226,6 @@ xvYCC :author: International Electrotechnical Commission (http://www.iec.ch) -.. _adobergb: - -AdobeRGB -======== - - -:title: Adobe© RGB (1998) Color Image Encoding Version 2005-05 - -:author: Adobe Systems Incorporated (http://www.adobe.com) - .. _oprgb: opRGB
Documentation/media/uapi/v4l/colorspaces-defs.rst +4 -4
@@ -51,8 +51,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum - See :ref:`col-rec709`. * - ``V4L2_COLORSPACE_SRGB`` - See :ref:`col-srgb`. - * - ``V4L2_COLORSPACE_ADOBERGB`` - - See :ref:`col-adobergb`. + * - ``V4L2_COLORSPACE_OPRGB`` + - See :ref:`col-oprgb`. * - ``V4L2_COLORSPACE_BT2020`` - See :ref:`col-bt2020`. * - ``V4L2_COLORSPACE_DCI_P3``
@@ -90,8 +90,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum - Use the Rec. 709 transfer function. * - ``V4L2_XFER_FUNC_SRGB`` - Use the sRGB transfer function. - * - ``V4L2_XFER_FUNC_ADOBERGB`` - - Use the AdobeRGB transfer function. + * - ``V4L2_XFER_FUNC_OPRGB`` + - Use the opRGB transfer function. * - ``V4L2_XFER_FUNC_SMPTE240M`` - Use the SMPTE 240M transfer function. * - ``V4L2_XFER_FUNC_NONE``
Documentation/media/uapi/v4l/colorspaces-details.rst +6 -7
@@ -290,15 +290,14 @@ Y' is clamped to the range [0…1] and Cb and Cr are clamped to the range 170M/BT.601. The Y'CbCr quantization is limited range. -.. _col-adobergb: +.. _col-oprgb: -Colorspace Adobe RGB (V4L2_COLORSPACE_ADOBERGB) +Colorspace opRGB (V4L2_COLORSPACE_OPRGB) =============================================== -The :ref:`adobergb` standard defines the colorspace used by computer -graphics that use the AdobeRGB colorspace. This is also known as the -:ref:`oprgb` standard. The default transfer function is -``V4L2_XFER_FUNC_ADOBERGB``. The default Y'CbCr encoding is +The :ref:`oprgb` standard defines the colorspace used by computer +graphics that use the opRGB colorspace. The default transfer function is +``V4L2_XFER_FUNC_OPRGB``. The default Y'CbCr encoding is ``V4L2_YCBCR_ENC_601``. The default Y'CbCr quantization is limited range.
@@ -312,7 +311,7 @@ The chromaticities of the primary colors and the white reference are: .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| -.. flat-table:: Adobe RGB Chromaticities +.. flat-table:: opRGB Chromaticities :header-rows: 1 :stub-columns: 0 :widths: 1 1 2
Documentation/media/videodev2.h.rst.exceptions +4 -2
@@ -56,7 +56,8 @@ replace symbol V4L2_MEMORY_USERPTR :c:type:`v4l2_memory` # Documented enum v4l2_colorspace replace symbol V4L2_COLORSPACE_470_SYSTEM_BG :c:type:`v4l2_colorspace` replace symbol V4L2_COLORSPACE_470_SYSTEM_M :c:type:`v4l2_colorspace` -replace symbol V4L2_COLORSPACE_ADOBERGB :c:type:`v4l2_colorspace` +replace symbol V4L2_COLORSPACE_OPRGB :c:type:`v4l2_colorspace` +replace define V4L2_COLORSPACE_ADOBERGB :c:type:`v4l2_colorspace` replace symbol V4L2_COLORSPACE_BT2020 :c:type:`v4l2_colorspace` replace symbol V4L2_COLORSPACE_DCI_P3 :c:type:`v4l2_colorspace` replace symbol V4L2_COLORSPACE_DEFAULT :c:type:`v4l2_colorspace`
@@ -69,7 +70,8 @@ replace symbol V4L2_COLORSPACE_SRGB :c:type:`v4l2_colorspace` # Documented enum v4l2_xfer_func replace symbol V4L2_XFER_FUNC_709 :c:type:`v4l2_xfer_func` -replace symbol V4L2_XFER_FUNC_ADOBERGB :c:type:`v4l2_xfer_func` +replace symbol V4L2_XFER_FUNC_OPRGB :c:type:`v4l2_xfer_func` +replace define V4L2_XFER_FUNC_ADOBERGB :c:type:`v4l2_xfer_func` replace symbol V4L2_XFER_FUNC_DCI_P3 :c:type:`v4l2_xfer_func` replace symbol V4L2_XFER_FUNC_DEFAULT :c:type:`v4l2_xfer_func` replace symbol V4L2_XFER_FUNC_NONE :c:type:`v4l2_xfer_func`
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 18 -SUBLEVEL = 18 +SUBLEVEL = 19 EXTRAVERSION = NAME = Merciless Moray
arch/arm/boot/dts/dra7.dtsi +1 -1
@@ -354,7 +354,7 @@ ti,hwmods = "pcie1"; phys = <&pcie1_phy>; phy-names = "pcie-phy0"; - ti,syscon-unaligned-access = <&scm_conf1 0x14 2>; + ti,syscon-unaligned-access = <&scm_conf1 0x14 1>; status = "disabled"; }; };
arch/arm/boot/dts/exynos3250.dtsi +16 -0
@@ -78,6 +78,22 @@ compatible = "arm,cortex-a7"; reg = <1>; clock-frequency = <1000000000>; + clocks = <&cmu CLK_ARM_CLK>; + clock-names = "cpu"; + #cooling-cells = <2>; + + operating-points = < + 1000000 1150000 + 900000 1112500 + 800000 1075000 + 700000 1037500 + 600000 1000000 + 500000 962500 + 400000 925000 + 300000 887500 + 200000 850000 + 100000 850000 + >; }; };
arch/arm/boot/dts/exynos4210-origen.dts +9 -0
@@ -151,6 +151,8 @@ reg = <0x66>; interrupt-parent = <&gpx0>; interrupts = <4 IRQ_TYPE_NONE>, <3 IRQ_TYPE_NONE>; + pinctrl-names = "default"; + pinctrl-0 = <&max8997_irq>; max8997,pmic-buck1-dvs-voltage = <1350000>; max8997,pmic-buck2-dvs-voltage = <1100000>;
@@ -288,6 +290,13 @@ }; }; +&pinctrl_1 { + max8997_irq: max8997-irq { + samsung,pins = "gpx0-3", "gpx0-4"; + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; + }; +}; + &sdhci_0 { bus-width = <4>; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
arch/arm/boot/dts/exynos4210.dtsi +13 -0
@@ -55,6 +55,19 @@ device_type = "cpu"; compatible = "arm,cortex-a9"; reg = <0x901>; + clocks = <&clock CLK_ARM_CLK>; + clock-names = "cpu"; + clock-latency = <160000>; + + operating-points = < + 1200000 1250000 + 1000000 1150000 + 800000 1075000 + 500000 975000 + 400000 975000 + 200000 950000 + >; + #cooling-cells = <2>; /* min followed by max */ }; };
arch/arm/boot/dts/exynos4412.dtsi +9 -0
@@ -49,21 +49,30 @@ device_type = "cpu"; compatible = "arm,cortex-a9"; reg = <0xA01>; + clocks = <&clock CLK_ARM_CLK>; + clock-names = "cpu"; operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; /* min followed by max */ }; cpu@a02 { device_type = "cpu"; compatible = "arm,cortex-a9"; reg = <0xA02>; + clocks = <&clock CLK_ARM_CLK>; + clock-names = "cpu"; operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; /* min followed by max */ }; cpu@a03 { device_type = "cpu"; compatible = "arm,cortex-a9"; reg = <0xA03>; + clocks = <&clock CLK_ARM_CLK>; + clock-names = "cpu"; operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; /* min followed by max */ }; };
arch/arm/boot/dts/exynos5250.dtsi +92 -22
128 lines not on this page · raw message
arch/arm/boot/dts/socfpga_arria10.dtsi +1 -1
@@ -601,7 +601,7 @@ status = "disabled"; }; - sdr: sdr@ffc25000 { + sdr: sdr@ffcfb100 { compatible = "altr,sdr-ctl", "syscon"; reg = <0xffcfb100 0x80>; };
arch/arm/crypto/Kconfig +0 -6
@@ -121,10 +121,4 @@ config CRYPTO_CHACHA20_NEON select CRYPTO_BLKCIPHER select CRYPTO_CHACHA20 -config CRYPTO_SPECK_NEON - tristate "NEON accelerated Speck cipher algorithms" - depends on KERNEL_MODE_NEON - select CRYPTO_BLKCIPHER - select CRYPTO_SPECK - endif
arch/arm/crypto/Makefile +0 -2
@@ -10,7 +10,6 @@ obj-$(CONFIG_CRYPTO_SHA1_ARM_NEON) += sha1-arm-neon.o obj-$(CONFIG_CRYPTO_SHA256_ARM) += sha256-arm.o obj-$(CONFIG_CRYPTO_SHA512_ARM) += sha512-arm.o obj-$(CONFIG_CRYPTO_CHACHA20_NEON) += chacha20-neon.o -obj-$(CONFIG_CRYPTO_SPECK_NEON) += speck-neon.o ce-obj-$(CONFIG_CRYPTO_AES_ARM_CE) += aes-arm-ce.o ce-obj-$(CONFIG_CRYPTO_SHA1_ARM_CE) += sha1-arm-ce.o
@@ -54,7 +53,6 @@ ghash-arm-ce-y := ghash-ce-core.o ghash-ce-glue.o crct10dif-arm-ce-y := crct10dif-ce-core.o crct10dif-ce-glue.o crc32-arm-ce-y:= crc32-ce-core.o crc32-ce-glue.o chacha20-neon-y := chacha20-neon-core.o chacha20-neon-glue.o -speck-neon-y := speck-neon-core.o speck-neon-glue.o ifdef REGENERATE_ARM_CRYPTO quiet_cmd_perl = PERL $@
arch/arm/crypto/speck-neon-core.S deleted +0 -434
434 lines not on this page · raw message
arch/arm/crypto/speck-neon-glue.c deleted +0 -288
288 lines not on this page · raw message
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +1 -1
@@ -327,7 +327,7 @@ sysmgr: sysmgr@ffd12000 { compatible = "altr,sys-mgr", "syscon"; - reg = <0xffd12000 0x1000>; + reg = <0xffd12000 0x228>; }; /* Local timer */
arch/arm64/crypto/Kconfig +0 -6
@@ -119,10 +119,4 @@ config CRYPTO_AES_ARM64_BS select CRYPTO_AES_ARM64 select CRYPTO_SIMD -config CRYPTO_SPECK_NEON - tristate "NEON accelerated Speck cipher algorithms" - depends on KERNEL_MODE_NEON - select CRYPTO_BLKCIPHER - select CRYPTO_SPECK - endif
arch/arm64/crypto/Makefile +0 -3
@@ -56,9 +56,6 @@ sha512-arm64-y := sha512-glue.o sha512-core.o obj-$(CONFIG_CRYPTO_CHACHA20_NEON) += chacha20-neon.o chacha20-neon-y := chacha20-neon-core.o chacha20-neon-glue.o -obj-$(CONFIG_CRYPTO_SPECK_NEON) += speck-neon.o -speck-neon-y := speck-neon-core.o speck-neon-glue.o - obj-$(CONFIG_CRYPTO_AES_ARM64) += aes-arm64.o aes-arm64-y := aes-cipher-core.o aes-cipher-glue.o
arch/arm64/crypto/speck-neon-core.S deleted +0 -352
352 lines not on this page · raw message
arch/arm64/crypto/speck-neon-glue.c deleted +0 -282
282 lines not on this page · raw message
arch/arm64/kernel/cpufeature.c +18 -4
@@ -847,15 +847,29 @@ static bool has_no_fpsimd(const struct arm64_cpu_capabilities *entry, int __unus }static bool has_cache_idc (const struct arm64_cpu_capabilities *entry, -int __unused) +int scope) { -return read_sanitised_ftr_reg (SYS_CTR_EL0 ) &BIT (CTR_IDC_SHIFT ); +u64 ctr; + +if (scope ==SCOPE_SYSTEM ) + ctr = arm64_ftr_reg_ctrel0.sys_val; +else + ctr =read_cpuid_cachetype (); + +return ctr &BIT (CTR_IDC_SHIFT ); }static bool has_cache_dic (const struct arm64_cpu_capabilities *entry, -int __unused) +int scope) { -return read_sanitised_ftr_reg (SYS_CTR_EL0 ) &BIT (CTR_DIC_SHIFT ); +u64 ctr; + +if (scope ==SCOPE_SYSTEM ) + ctr = arm64_ftr_reg_ctrel0.sys_val; +else + ctr =read_cpuid_cachetype (); + +return ctr &BIT (CTR_DIC_SHIFT ); }#ifdef CONFIG_UNMAP_KERNEL_AT_EL0
arch/arm64/kernel/entry.S +1 -1
@@ -599,7 +599,7 @@ el1_undef: inherit_daif pstate=x23, tmp=x2 mov x0, sp bl do_undefinstr - ASM_BUG() + kernel_exit 1 el1_dbg: /* * Debug exception handling
arch/arm64/kernel/traps.c +7 -4
@@ -310,10 +310,12 @@ static int call_undef_hook(struct pt_regs *regs)int (*fn)(struct pt_regs *regs,u32 instr) =NULL ;void __user *pc = (void __user *)instruction_pointer (regs); -if (!user_mode (regs)) -return 1 ; - -if (compat_thumb_mode (regs)) { +if (!user_mode (regs)) { +__le32 instr_le; +if (probe_kernel_address ((__force __le32 *)pc, instr_le)) + goto exit; + instr =le32_to_cpu (instr_le); + }else if (compat_thumb_mode (regs)) {/* 16-bit Thumb instruction */ __le16 instr_le;if (get_user (instr_le, (__le16 __user *)pc))
@@ -407,6 +409,7 @@ asmlinkage void __exception do_undefinstr(struct pt_regs *regs)return ;force_signal_inject (SIGILL ,ILL_ILLOPC , regs->pc); +BUG_ON (!user_mode (regs)); }void cpu_enable_cache_maint_trap (const struct arm64_cpu_capabilities *__unused)
arch/arm64/lib/Makefile +1 -1
@@ -12,7 +12,7 @@ lib-y := bitops.o clear_user.o delay.o copy_from_user.o \ # when supported by the CPU. Result and argument registers are handled # correctly, based on the function prototype. lib-$(CONFIG_ARM64_LSE_ATOMICS) += atomic_ll_sc.o -CFLAGS_atomic_ll_sc.o := -fcall-used-x0 -ffixed-x1 -ffixed-x2 \ +CFLAGS_atomic_ll_sc.o := -ffixed-x1 -ffixed-x2 \ -ffixed-x3 -ffixed-x4 -ffixed-x5 -ffixed-x6 \ -ffixed-x7 -fcall-saved-x8 -fcall-saved-x9 \ -fcall-saved-x10 -fcall-saved-x11 -fcall-saved-x12 \
arch/m68k/configs/amiga_defconfig +0 -1
@@ -650,7 +650,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/m68k/configs/apollo_defconfig +0 -1
@@ -609,7 +609,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/m68k/configs/atari_defconfig +0 -1
@@ -631,7 +631,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/m68k/configs/bvme6000_defconfig +0 -1
@@ -601,7 +601,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/m68k/configs/hp300_defconfig +0 -1
@@ -611,7 +611,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/m68k/configs/mac_defconfig +0 -1
@@ -633,7 +633,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/m68k/configs/multi_defconfig +0 -1
@@ -713,7 +713,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/m68k/configs/mvme147_defconfig +0 -1
@@ -601,7 +601,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/m68k/configs/mvme16x_defconfig +0 -1
@@ -601,7 +601,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/m68k/configs/q40_defconfig +0 -1
@@ -624,7 +624,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/m68k/configs/sun3_defconfig +0 -1
@@ -602,7 +602,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/m68k/configs/sun3x_defconfig +0 -1
@@ -603,7 +603,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_LZO=m
arch/mips/cavium-octeon/executive/cvmx-helper.c +1 -1
@@ -67,7 +67,7 @@ void (*cvmx_override_pko_queue_priority) (int pko_port,void (*cvmx_override_ipd_port_setup) (int ipd_port);/* Port count per interface */ -static int interface_port_count[5 ]; +static int interface_port_count[9 ];/** * Return the number of interfaces the chip has. Each interface
arch/mips/lib/memset.S +3 -1
@@ -262,9 +262,11 @@ nop .Lsmall_fixup\@: + .set reorder PTR_SUBU a2, t1, a0 + PTR_ADDIU a2, 1 jr ra - PTR_ADDIU a2, 1 + .set noreorder .endm
arch/parisc/kernel/entry.S +1 -1
@@ -185,7 +185,7 @@ bv,n 0(%r3) nop .word 0 /* checksum (will be patched) */ - .word PA(os_hpmc) /* address of handler */ + .word 0 /* address of handler */ .word 0 /* length of handler */ .endm
arch/parisc/kernel/hpmc.S +1 -2
@@ -85,7 +85,7 @@ END(hpmc_pim_data) .import intr_save, code .align 16 -ENTRY_CFI(os_hpmc) +ENTRY(os_hpmc) .os_hpmc: /*
@@ -302,7 +302,6 @@ os_hpmc_6: b . nop .align 16 /* make function length multiple of 16 bytes */ -ENDPROC_CFI(os_hpmc) .os_hpmc_end:
arch/parisc/kernel/traps.c +2 -1
@@ -827,7 +827,8 @@ void __init initialize_ivt(const void *iva)* the Length/4 words starting at Address is zero. */ -/* Compute Checksum for HPMC handler */ +/* Setup IVA and compute checksum for HPMC handler */ + ivap[6 ] = (u32 )__pa (os_hpmc); length = os_hpmc_size; ivap[7 ] = length;
arch/parisc/mm/init.c +2 -6
@@ -495,12 +495,8 @@ static void __init map_pages(unsigned long start_vaddr, pte =pte_mkhuge (pte); } -if (address >= end_paddr) { -if (force) -break ; -else -pte_val (pte) =0 ; - } +if (address >= end_paddr) +break ;set_pte (pg_table, pte);
arch/powerpc/include/asm/mpic.h +7 -0
@@ -393,7 +393,14 @@ extern struct bus_type mpic_subsys;#define MPIC_REGSET_TSI108 MPIC_REGSET(1)/* Tsi108/109 PIC */ /* Get the version of primary MPIC */ +#ifdef CONFIG_MPIC extern u32 fsl_mpic_primary_get_version (void ); +#else +static inline u32 fsl_mpic_primary_get_version (void ) +{ +return 0 ; +} +#endif /* Allocate the controller structure and setup the linux irq descs * for the range if interrupts passed in. No HW initialization is
arch/powerpc/kernel/mce_power.c +7 -0
@@ -97,6 +97,13 @@ static void flush_and_reload_slb(void)static void flush_erat (void ) { +#ifdef CONFIG_PPC_BOOK3S_64 +if (!early_cpu_has_feature (CPU_FTR_ARCH_300 )) { +flush_and_reload_slb (); +return ; + } +#endif +/* PPC_INVALIDATE_ERAT can only be used on ISA v3 and newer */ asm volatile(PPC_INVALIDATE_ERAT : : :"memory"); }
arch/powerpc/kernel/setup_64.c +12 -6
@@ -242,13 +242,19 @@ static void cpu_ready_for_interrupts(void) }/* -* Fixup HFSCR:TM based on CPU features. The bit is set by our -* early asm init because at that point we haven't updated our -* CPU features from firmware and device-tree. Here we have, -* so let's do it. +* Set HFSCR:TM based on CPU features: +* In the special case of TM no suspend (P9N DD2.1), Linux is +* told TM is off via the dt-ftrs but told to (partially) use +* it via OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED. So HFSCR[TM] +* will be off from dt-ftrs but we need to turn it on for the +* no suspend case. */ -if (cpu_has_feature (CPU_FTR_HVMODE ) && !cpu_has_feature (CPU_FTR_TM_COMP )) -mtspr (SPRN_HFSCR ,mfspr (SPRN_HFSCR ) & ~HFSCR_TM ); +if (cpu_has_feature (CPU_FTR_HVMODE )) { +if (cpu_has_feature (CPU_FTR_TM_COMP )) +mtspr (SPRN_HFSCR ,mfspr (SPRN_HFSCR ) |HFSCR_TM ); +else +mtspr (SPRN_HFSCR ,mfspr (SPRN_HFSCR ) & ~HFSCR_TM ); + }/* Set IR and DR in PACA MSR */ get_paca ()->kernel_msr =MSR_KERNEL ;
arch/powerpc/mm/hash_native_64.c +2 -2
@@ -115,6 +115,8 @@ static void tlbiel_all_isa300(unsigned int num_sets, unsigned int is)tlbiel_hash_set_isa300 (0 , is,0 ,2 ,1 ); asmvolatile ("ptesync" : : :"memory" ); + + asmvolatile (PPC_INVALIDATE_ERAT "; isync" : : :"memory" ); }void hash__tlbiel_all (unsigned int action)
@@ -140,8 +142,6 @@ void hash__tlbiel_all(unsigned int action)tlbiel_all_isa206 (POWER7_TLB_SETS , is); else WARN(1, "%s called on pre-POWER7 CPU\n", __func__); - - asmvolatile (PPC_INVALIDATE_ERAT "; isync" : : :"memory" ); } static inline unsigned long ___tlbie(unsigned long vpn, int psize,
arch/s390/defconfig +0 -1
@@ -221,7 +221,6 @@ CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_SM4=m -CONFIG_CRYPTO_SPECK=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_DEFLATE=m
arch/s390/kernel/sthyi.c +5 -3
@@ -183,17 +183,19 @@ static void fill_hdr(struct sthyi_sctns *sctns)static void fill_stsi_mac (struct sthyi_sctns *sctns,struct sysinfo_1_1_1 *sysinfo) { +sclp_ocf_cpc_name_copy (sctns->mac.infmname); +if (*(u64 *)sctns->mac.infmname !=0 ) + sctns->mac.infmval1 |=MAC_NAME_VLD ; +if (stsi (sysinfo,1 ,1 ,1 ))return ; -sclp_ocf_cpc_name_copy (sctns->mac.infmname); -memcpy (sctns->mac.infmtype, sysinfo->type,sizeof (sctns->mac.infmtype));memcpy (sctns->mac.infmmanu, sysinfo->manufacturer,sizeof (sctns->mac.infmmanu));memcpy (sctns->mac.infmpman, sysinfo->plant,sizeof (sctns->mac.infmpman));memcpy (sctns->mac.infmseq, sysinfo->sequence,sizeof (sctns->mac.infmseq)); - sctns->mac.infmval1 |=MAC_ID_VLD |MAC_NAME_VLD ; + sctns->mac.infmval1 |=MAC_ID_VLD ; } static void fill_stsi_par(struct sthyi_sctns *sctns,
arch/x86/boot/tools/build.c +7 -0
@@ -391,6 +391,13 @@ int main(int argc, char ** argv)die ("Unable to mmap '%s': %m" , argv[2 ]);/* Number of 16-byte paragraphs, including space for a 4-byte CRC */ sys_size = (sz +15 +4 ) /16 ; +#ifdef CONFIG_EFI_STUB +/* +* COFF requires minimum 32-byte alignment of sections, and +* adding a signature is problematic without that alignment. +*/ + sys_size = (sys_size +1 ) & ~1 ; +#endif /* Patch the setup code with the appropriate size parameters */ buf[0x1f1 ] = setup_sectors-1 ;
arch/x86/crypto/aesni-intel_glue.c +1 -1
@@ -817,7 +817,7 @@ static int gcmaes_crypt_by_sg(bool enc, struct aead_request *req,/* Linearize assoc, if not already linear */ if (req->src->length >= assoclen && req->src->length && (!PageHighMem (sg_page (req->src)) || - req->src->offset + req->src->length <PAGE_SIZE )) { + req->src->offset + req->src->length <=PAGE_SIZE )) {scatterwalk_start (&assoc_sg_walk, req->src); assoc =scatterwalk_map (&assoc_sg_walk); }else {
arch/x86/include/asm/cpufeatures.h +1 -0
@@ -220,6 +220,7 @@#define X86_FEATURE_STIBP ( 7*32+27)/* Single Thread Indirect Branch Predictors */ #define X86_FEATURE_ZEN ( 7*32+28)/* "" CPU is AMD family 0x17 (Zen) */ #define X86_FEATURE_L1TF_PTEINV ( 7*32+29)/* "" L1TF workaround PTE inversion */ +#define X86_FEATURE_IBRS_ENHANCED ( 7*32+30)/* Enhanced IBRS */ /* Virtualization flags: Linux defined, word 8 */ #define X86_FEATURE_TPR_SHADOW ( 8*32+ 0)/* Intel TPR Shadow */
arch/x86/include/asm/kvm_host.h +1 -0
@@ -176,6 +176,7 @@ enum {#define DR6_BD (1 << 13)#define DR6_BS (1 << 14) +#define DR6_BT (1 << 15)#define DR6_RTM (1 << 16)#define DR6_FIXED_1 0xfffe0ff0#define DR6_INIT 0xffff0ff0
arch/x86/include/asm/nospec-branch.h +1 -0
@@ -215,6 +215,7 @@ enum spectre_v2_mitigation {SPECTRE_V2_RETPOLINE_GENERIC ,SPECTRE_V2_RETPOLINE_AMD ,SPECTRE_V2_IBRS , + SPECTRE_V2_IBRS_ENHANCED, };/* The Speculative Store Bypass disable variants */
arch/x86/include/asm/tlbflush.h +6 -0
@@ -469,6 +469,12 @@ static inline void __native_flush_tlb_one_user(unsigned long addr)*/ static inline void __flush_tlb_all (void ) { +/* +* This is to catch users with enabled preemption and the PGE feature +* and don't trigger the warning in __native_flush_tlb(). +*/ +VM_WARN_ON_ONCE (preemptible ()); +if (boot_cpu_has (X86_FEATURE_PGE )) {__flush_tlb_global (); }else {
arch/x86/kernel/check.c +15 -0
@@ -31,6 +31,11 @@ static __init int set_corruption_check(char *arg)ssize_t ret;unsigned long val; +if (!arg) { +pr_err ("memory_corruption_check config string not provided\n" ); +return -EINVAL ; + } + ret =kstrtoul (arg,10 , &val);if (ret)return ret;
@@ -45,6 +50,11 @@ static __init int set_corruption_check_period(char *arg)ssize_t ret;unsigned long val; +if (!arg) { +pr_err ("memory_corruption_check_period config string not provided\n" ); +return -EINVAL ; + } + ret =kstrtoul (arg,10 , &val);if (ret)return ret;
@@ -59,6 +69,11 @@ static __init int set_corruption_check_size(char *arg)char *end;unsigned size; +if (!arg) { +pr_err ("memory_corruption_check_size config string not provided\n" ); +return -EINVAL ; + } + size =memparse (arg, &end);if (*end =='\0' )
arch/x86/kernel/cpu/bugs.c +69 -8
133 lines not on this page · raw message
arch/x86/kernel/cpu/common.c +3 -0
@@ -1015,6 +1015,9 @@ static void __init cpu_set_bug_bits(struct cpuinfo_x86 *c) !cpu_has(c, X86_FEATURE_AMD_SSB_NO))setup_force_cpu_bug (X86_BUG_SPEC_STORE_BYPASS ); +if (ia32_cap &ARCH_CAP_IBRS_ALL ) +setup_force_cpu_cap (X86_FEATURE_IBRS_ENHANCED ); +if (x86_match_cpu (cpu_no_meltdown))return ;
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c +7 -0
@@ -2032,6 +2032,13 @@ static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf) {if (rdt_resources_all[RDT_RESOURCE_L3DATA ].alloc_enabled)seq_puts (seq,",cdp" ); + +if (rdt_resources_all[RDT_RESOURCE_L2DATA ].alloc_enabled) +seq_puts (seq,",cdpl2" ); + +if (is_mba_sc (&rdt_resources_all[RDT_RESOURCE_MBA ])) +seq_puts (seq,",mba_MBps" ); +return 0 ; }
arch/x86/kernel/fpu/signal.c +0 -1
@@ -314,7 +314,6 @@ static int __fpu__restore_sig(void __user *buf, void __user *buf_fx, int size)* thread's fpu state, reconstruct fxstate from the fsave * header. Validate and sanitize the copied state. */ -struct fpu *fpu = &tsk->thread.fpu;struct user_i387_ia32_struct env;int err =0 ;
arch/x86/kernel/kprobes/opt.c +1 -1
@@ -179,7 +179,7 @@ optimized_callback(struct optimized_kprobe *op, struct pt_regs *regs)opt_pre_handler (&op->kp, regs);__this_cpu_write (current_kprobe,NULL ); } -preempt_enable_no_resched (); +preempt_enable (); }NOKPROBE_SYMBOL (optimized_callback);
arch/x86/kvm/vmx.c +5 -2
@@ -3160,10 +3160,13 @@ static int nested_vmx_check_exception(struct kvm_vcpu *vcpu, unsigned long *exit } }else {if (vmcs12->exception_bitmap & (1u << nr)) { -if (nr ==DB_VECTOR ) +if (nr ==DB_VECTOR ) { *exit_qual = vcpu->arch.dr6; -else + *exit_qual &= ~(DR6_FIXED_1 |DR6_BT ); + *exit_qual ^=DR6_RTM ; + }else { *exit_qual =0 ; + }return 1 ; } }
arch/x86/mm/pageattr.c +5 -1
@@ -2063,9 +2063,13 @@ void __kernel_map_pages(struct page *page, int numpages, int enable)/* * We should perform an IPI and flush all tlbs, -* but that can deadlock->flush only current cpu: +* but that can deadlock->flush only current cpu. +* Preemption needs to be disabled around __flush_tlb_all() due to +* CR3 reload in __native_flush_tlb(). */ +preempt_disable ();__flush_tlb_all (); +preempt_enable ();arch_flush_lazy_mmu_mode (); }
arch/x86/platform/olpc/olpc-xo1-rtc.c +3 -0
@@ -16,6 +16,7 @@#include <asm/msr.h> #include <asm/olpc.h> +#include <asm/x86_init.h> static void rtc_wake_on (struct device *dev) {
@@ -75,6 +76,8 @@ static int __init xo1_rtc_init(void)if (r)return r; + x86_platform.legacy.rtc =0 ; +device_init_wakeup (&xo1_rtc_device.dev,1 );return 0 ; }
arch/x86/xen/enlighten_pvh.c +1 -1
@@ -75,7 +75,7 @@ static void __init init_pvh_bootparams(void)* Version 2.12 supports Xen entry point but we will use default x86/PC * environment (i.e. hardware_subarch 0). */ - pvh_bootparams.hdr.version =0x212 ; + pvh_bootparams.hdr.version = (2 <<8 ) |12 ; pvh_bootparams.hdr.type_of_loader = (9 <<4 ) |0 ;/* Xen loader */ x86_init.acpi.get_root_pointer = pvh_get_root_pointer;
arch/x86/xen/platform-pci-unplug.c +4 -0
@@ -146,6 +146,10 @@ void xen_unplug_emulated_devices(void) {int r; +/* PVH guests don't have emulated devices. */ +if (xen_pvh_domain ()) +return ; +/* user explicitly requested no unplug */ if (xen_emul_unplug &XEN_UNPLUG_NEVER )return ;
arch/x86/xen/spinlock.c +14 -21
@@ -9,6 +9,7 @@#include <linux/log2.h> #include <linux/gfp.h> #include <linux/slab.h> +#include <linux/atomic.h> #include <asm/paravirt.h> #include <asm/qspinlock.h>
@@ -21,6 +22,7 @@ static DEFINE_PER_CPU(int, lock_kicker_irq) = -1; static DEFINE_PER_CPU(char *, irq_name); +static DEFINE_PER_CPU(atomic_t, xen_qlock_wait_nest);static bool xen_pvspin = true;static void xen_qlock_kick (int cpu)
@@ -40,33 +42,24 @@ static void xen_qlock_kick(int cpu)static void xen_qlock_wait (u8 *byte,u8 val) {int irq =__this_cpu_read (lock_kicker_irq); +atomic_t *nest_cnt =this_cpu_ptr (&xen_qlock_wait_nest);/* If kicker interrupts not initialized yet, just spin */ -if (irq ==-1 ) +if (irq ==-1 ||in_nmi ())return ; -/* clear pending */ -xen_clear_irq_pending (irq); -barrier (); - -/* -* We check the byte value after clearing pending IRQ to make sure -* that we won't miss a wakeup event because of the clearing. -* -* The sync_clear_bit() call in xen_clear_irq_pending() is atomic. -* So it is effectively a memory barrier for x86. -*/ -if (READ_ONCE (*byte) != val) -return ; +/* Detect reentry. */ +atomic_inc (nest_cnt); -/* -* If an interrupt happens here, it will leave the wakeup irq -* pending, which will cause xen_poll_irq() to return -* immediately. -*/ +/* If irq pending already and no nested call clear it. */ +if (atomic_read (nest_cnt) ==1 &&xen_test_irq_pending (irq)) { +xen_clear_irq_pending (irq); + }else if (READ_ONCE (*byte) == val) { +/* Block until irq becomes pending (or a spurious wakeup) */ +xen_poll_irq (irq); + } -/* Block until irq becomes pending (or perhaps a spurious wakeup) */ -xen_poll_irq (irq); +atomic_dec (nest_cnt); }static irqreturn_t dummy_handler (int irq,void *dev_id)
arch/x86/xen/xen-pvh.S +1 -1
@@ -181,7 +181,7 @@ canary: .fill 48, 1, 0 early_stack: - .fill 256, 1, 0 + .fill BOOT_STACK_SIZE, 1, 0 early_stack_end: ELFNOTE(Xen, XEN_ELFNOTE_PHYS32_ENTRY,
block/bfq-wf2q.c +10 -3
@@ -1178,10 +1178,17 @@ bool __bfq_deactivate_entity(struct bfq_entity *entity, bool ins_into_idle_tree) st =bfq_entity_service_tree (entity); is_in_service = entity == sd->in_service_entity; -if (is_in_service) { -bfq_calc_finish (entity, entity->service); +bfq_calc_finish (entity, entity->service); + +if (is_in_service) sd->in_service_entity =NULL ; - } +else +/* +* Non in-service entity: nobody will take care of +* resetting its service counter on expiration. Do it +* now. +*/ + entity->service =0 ;if (entity->tree == &st->active)bfq_active_extract (st, entity);
block/blk-lib.c +4 -29
@@ -29,9 +29,7 @@ int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, {struct request_queue *q =bdev_get_queue (bdev);struct bio *bio = *biop; -unsigned int granularity;unsigned int op; -int alignment;sector_t bs_mask;if (!q)
@@ -54,38 +52,15 @@ int __blkdev_issue_discard(struct block_device *bdev, sector_t sector,if ((sector | nr_sects) & bs_mask)return -EINVAL ; -/* Zero-sector (unknown) and one-sector granularities are the same. */ - granularity =max (q->limits.discard_granularity >>9 ,1U ); - alignment = (bdev_discard_alignment (bdev) >>9 ) % granularity; -while (nr_sects) { -unsigned int req_sects; -sector_t end_sect, tmp; +unsigned int req_sects = nr_sects; +sector_t end_sect; -/* -* Issue in chunks of the user defined max discard setting, -* ensuring that bi_size doesn't overflow -*/ - req_sects =min_t (sector_t, nr_sects, - q->limits.max_discard_sectors);if (!req_sects) goto fail; -if (req_sects >UINT_MAX >>9 ) - req_sects =UINT_MAX >>9 ; + req_sects =min (req_sects,bio_allowed_max_sectors (q)); -/* -* If splitting a request, and the next starting sector would be -* misaligned, stop the discard at the previous aligned sector. -*/ end_sect = sector + req_sects; - tmp = end_sect; -if (req_sects < nr_sects && -sector_div (tmp, granularity) != alignment) { - end_sect = end_sect - alignment; -sector_div (end_sect, granularity); - end_sect = end_sect * granularity + alignment; - req_sects = end_sect - sector; - } bio =next_bio (bio,0 , gfp_mask); bio->bi_iter.bi_sector = sector;
@@ -186,7 +161,7 @@ static int __blkdev_issue_write_same(struct block_device *bdev, sector_t sector,return -EOPNOTSUPP ;/* Ensure that max_write_same_sectors doesn't overflow bi_size */ - max_write_same_sectors =UINT_MAX >>9 ; + max_write_same_sectors =bio_allowed_max_sectors (q);while (nr_sects) { bio =next_bio (bio,1 , gfp_mask);
block/blk-merge.c +2 -1
@@ -27,7 +27,8 @@ static struct bio *blk_bio_discard_split(struct request_queue *q,/* Zero-sector (unknown) and one-sector granularities are the same. */ granularity =max (q->limits.discard_granularity >>9 ,1U ); - max_discard_sectors =min (q->limits.max_discard_sectors,UINT_MAX >>9 ); + max_discard_sectors =min (q->limits.max_discard_sectors, +bio_allowed_max_sectors (q)); max_discard_sectors -= max_discard_sectors % granularity;if (unlikely (!max_discard_sectors)) {
block/blk.h +10 -0
@@ -326,6 +326,16 @@ static inline unsigned long blk_rq_deadline(struct request *rq)return rq->__deadline & ~0x1UL ; } +/* +* The max size one bio can handle is UINT_MAX becasue bvec_iter.bi_size +* is defined as 'unsigned int', meantime it has to aligned to with logical +* block size which is the minimum accepted unit by hardware. +*/ +static inline unsigned int bio_allowed_max_sectors (struct request_queue *q) +{ +return round_down (UINT_MAX ,queue_logical_block_size (q)) >>9 ; +} +/* * Internal io_context interface */
block/bounce.c +28 -9
@@ -31,6 +31,24 @@static struct bio_set bounce_bio_set, bounce_bio_split;static mempool_t page_pool, isa_page_pool; +static void init_bounce_bioset (void ) +{ +static bool bounce_bs_setup; +int ret; + +if (bounce_bs_setup) +return ; + + ret =bioset_init (&bounce_bio_set,BIO_POOL_SIZE ,0 ,BIOSET_NEED_BVECS ); +BUG_ON (ret); +if (bioset_integrity_create (&bounce_bio_set,BIO_POOL_SIZE )) +BUG_ON (1 ); + + ret =bioset_init (&bounce_bio_split,BIO_POOL_SIZE ,0 ,0 ); +BUG_ON (ret); + bounce_bs_setup = true; +} +#if defined(CONFIG_HIGHMEM )static __init int init_emergency_pool (void ) {
@@ -44,14 +62,7 @@ static __init int init_emergency_pool(void)BUG_ON (ret);pr_info ("pool size: %d pages\n" ,POOL_SIZE ); - ret =bioset_init (&bounce_bio_set,BIO_POOL_SIZE ,0 ,BIOSET_NEED_BVECS ); -BUG_ON (ret); -if (bioset_integrity_create (&bounce_bio_set,BIO_POOL_SIZE )) -BUG_ON (1 ); - - ret =bioset_init (&bounce_bio_split,BIO_POOL_SIZE ,0 ,0 ); -BUG_ON (ret); - +init_bounce_bioset ();return 0 ; }
@@ -86,6 +97,8 @@ static void *mempool_alloc_pages_isa(gfp_t gfp_mask, void *data)return mempool_alloc_pages (gfp_mask |GFP_DMA , data); } +static DEFINE_MUTEX (isa_mutex); +/* * gets called "every" time someone init's a queue with BLK_BOUNCE_ISA * as the max address, so check if the pool has already been created.
@@ -94,14 +107,20 @@ int init_emergency_isa_pool(void) {int ret; -if (mempool_initialized (&isa_page_pool)) +mutex_lock (&isa_mutex); + +if (mempool_initialized (&isa_page_pool)) { +mutex_unlock (&isa_mutex);return 0 ; + } ret =mempool_init (&isa_page_pool,ISA_POOL_SIZE , mempool_alloc_pages_isa, mempool_free_pages, (void *)0 );BUG_ON (ret);pr_info ("isa pool size: %d pages\n" ,ISA_POOL_SIZE ); +init_bounce_bioset (); +mutex_unlock (&isa_mutex);return 0 ; }
crypto/Kconfig +0 -14
@@ -1590,20 +1590,6 @@ config CRYPTO_SM4 If unsure, say N. -config CRYPTO_SPECK - tristate "Speck cipher algorithm" - select CRYPTO_ALGAPI - help - Speck is a lightweight block cipher that is tuned for optimal - performance in software (rather than hardware). - - Speck may not be as secure as AES, and should only be used on systems - where AES is not fast enough. - - See also: <https://eprint.iacr.org/2013/404.pdf> - - If unsure, say N. - config CRYPTO_TEA tristate "TEA, XTEA and XETA cipher algorithms" select CRYPTO_ALGAPI
crypto/Makefile +0 -1
@@ -115,7 +115,6 @@ obj-$(CONFIG_CRYPTO_TEA) += tea.o obj-$(CONFIG_CRYPTO_KHAZAD) += khazad.o obj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o obj-$(CONFIG_CRYPTO_SEED) += seed.o -obj-$(CONFIG_CRYPTO_SPECK) += speck.o obj-$(CONFIG_CRYPTO_SALSA20) += salsa20_generic.o obj-$(CONFIG_CRYPTO_CHACHA20) += chacha20_generic.o obj-$(CONFIG_CRYPTO_POLY1305) += poly1305_generic.o
crypto/aegis.h +9 -11
@@ -21,7 +21,7 @@union aegis_block {__le64 words64[AEGIS_BLOCK_SIZE /sizeof (__le64)]; -u32 words32[AEGIS_BLOCK_SIZE /sizeof (u32)]; +__le32 words32[AEGIS_BLOCK_SIZE /sizeof (__le32)];u8 bytes[AEGIS_BLOCK_SIZE ]; };
@@ -57,24 +57,22 @@ static void crypto_aegis_aesenc(union aegis_block *dst,const union aegis_block *src, const union aegis_block *key) { - u32 *d = dst->words32; const u8 *s = src->bytes; -const u32 *k = key->words32;const u32 *t0 = crypto_ft_tab[0 ];const u32 *t1 = crypto_ft_tab[1 ];const u32 *t2 = crypto_ft_tab[2 ];const u32 *t3 = crypto_ft_tab[3 ];u32 d0, d1, d2, d3; - d0 = t0[s[0 ]] ^ t1[s[5 ]] ^ t2[s[10 ]] ^ t3[s[15 ]] ^ k[0 ]; - d1 = t0[s[4 ]] ^ t1[s[9 ]] ^ t2[s[14 ]] ^ t3[s[3 ]] ^ k[1 ]; - d2 = t0[s[8 ]] ^ t1[s[13 ]] ^ t2[s[2 ]] ^ t3[s[7 ]] ^ k[2 ]; - d3 = t0[s[12 ]] ^ t1[s[1 ]] ^ t2[s[6 ]] ^ t3[s[11 ]] ^ k[3 ]; + d0 = t0[s[0 ]] ^ t1[s[5 ]] ^ t2[s[10 ]] ^ t3[s[15 ]]; + d1 = t0[s[4 ]] ^ t1[s[9 ]] ^ t2[s[14 ]] ^ t3[s[3 ]]; + d2 = t0[s[8 ]] ^ t1[s[13 ]] ^ t2[s[2 ]] ^ t3[s[7 ]]; + d3 = t0[s[12 ]] ^ t1[s[1 ]] ^ t2[s[6 ]] ^ t3[s[11 ]]; - d[0 ] = d0; - d[1 ] = d1; - d[2 ] = d2; - d[3 ] = d3; + dst->words32[0 ] =cpu_to_le32 (d0) ^ key->words32[0 ]; + dst->words32[1 ] =cpu_to_le32 (d1) ^ key->words32[1 ]; + dst->words32[2 ] =cpu_to_le32 (d2) ^ key->words32[2 ]; + dst->words32[3 ] =cpu_to_le32 (d3) ^ key->words32[3 ]; }#endif /* _CRYPTO_AEGIS_H */
crypto/lrw.c +6 -1
@@ -143,7 +143,12 @@ static inline int get_index128(be128 *block)return x +ffz (val); } -return x; +/* +* If we get here, then x == 128 and we are incrementing the counter +* from all ones to all zeros. This means we must return index 127, i.e. +* the one corresponding to key2*{ 1,...,1 }. +*/ +return 127 ; }static int post_crypt (struct skcipher_request *req)
crypto/morus1280.c +2 -5
@@ -385,14 +385,11 @@ static void crypto_morus1280_final(struct morus1280_state *state,struct morus1280_block *tag_xor, u64 assoclen, u64 cryptlen) { - u64 assocbits = assoclen * 8; -u64 cryptbits = cryptlen *8 ; - struct morus1280_block tmp;unsigned int i; - tmp.words[0 ] =cpu_to_le64 (assocbits); - tmp.words[1 ] =cpu_to_le64 (cryptbits); + tmp.words[0 ] = assoclen *8 ; + tmp.words[1 ] = cryptlen *8 ; tmp.words[2 ] =0 ; tmp.words[3 ] =0 ;
crypto/morus640.c +4 -12
@@ -384,21 +384,13 @@ static void crypto_morus640_final(struct morus640_state *state,struct morus640_block *tag_xor, u64 assoclen, u64 cryptlen) { - u64 assocbits = assoclen * 8; -u64 cryptbits = cryptlen *8 ; - -u32 assocbits_lo = (u32 )assocbits; -u32 assocbits_hi = (u32)(assocbits >>32 ); -u32 cryptbits_lo = (u32 )cryptbits; -u32 cryptbits_hi = (u32)(cryptbits >>32 ); - struct morus640_block tmp;unsigned int i; - tmp.words[0 ] =cpu_to_le32 (assocbits_lo); - tmp.words[1 ] =cpu_to_le32 (assocbits_hi); - tmp.words[2 ] =cpu_to_le32 (cryptbits_lo); - tmp.words[3 ] =cpu_to_le32 (cryptbits_hi); + tmp.words[0 ] =lower_32_bits (assoclen *8 ); + tmp.words[1 ] =upper_32_bits (assoclen *8 ); + tmp.words[2 ] =lower_32_bits (cryptlen *8 ); + tmp.words[3 ] =upper_32_bits (cryptlen *8 );for (i =0 ; i <MORUS_BLOCK_WORDS ; i++) state->s[4 ].words[i] ^= state->s[0 ].words[i];
crypto/speck.c deleted +0 -307
204 lines not on this page · raw message
crypto/testmgr.h +0 -738
738 lines not on this page · raw message
drivers/acpi/nfit/core.c +96 -67
163 lines not on this page · raw message
drivers/firmware/google/coreboot_table.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/hwtracing/coresight/coresight-etb10.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/iio/dac/ad5064.c +38 -15
53 lines not on this page · raw message
drivers/infiniband/hw/bnxt_re/qplib_fp.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +11 -2
Lines of this file are not shown. View the raw message.
drivers/infiniband/ulp/ipoib/ipoib_cm.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/md/dm-zoned-metadata.c +50 -30
80 lines not on this page · raw message
drivers/media/cec/cec-adap.c +27 -67
94 lines not on this page · raw message
drivers/media/cec/cec-edid.c +0 -60
60 lines not on this page · raw message
drivers/media/common/v4l2-tpg/v4l2-tpg-colors.c +131 -131
262 lines not on this page · raw message
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/vivid/vivid-core.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/vivid/vivid-ctrls.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/media/platform/vivid/vivid-vid-out.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/usb/em28xx/em28xx-cards.c +31 -2
Lines of this file are not shown. View the raw message.
drivers/media/usb/em28xx/em28xx-video.c +81 -11
92 lines not on this page · raw message
drivers/media/v4l2-core/v4l2-dv-timings.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/mtd/nand/raw/atmel/nand-controller.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/genet/bcmmii.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +24 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_controlq.c +19 -11
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_ethtool.c +14 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/netronome/nfp/flower/action.c +21 -14
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/netronome/nfp/nfp_devlink.c +14 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/socionext/netsec.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c +10 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c +33 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/include/brcmu_wifi.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/fw.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +6 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/rs.c +19 -5
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/tx.c +5 -4
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/pcie/rx.c +21 -11
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/libertas/if_usb.c +0 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt76x2_mac.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pci-dra7xx.c +8 -3
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pcie-cadence-ep.c +6 -5
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pcie-mediatek.c +11 -0
Lines of this file are not shown. View the raw message.
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c +19 -8
Lines of this file are not shown. View the raw message.
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c +21 -7
Lines of this file are not shown. View the raw message.
drivers/scsi/megaraid/megaraid_sas_base.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/usb/gadget/udc/atmel_usba_udc.c +2 -0
Lines of this file are not shown. View the raw message.
fs/btrfs/extent-tree.c +110 -58
168 lines not on this page · raw message
fs/btrfs/file.c +35 -6
41 lines not on this page · raw message
fs/btrfs/free-space-cache.c +32 -10
42 lines not on this page · raw message
fs/btrfs/tree-log.c +67 -19
86 lines not on this page · raw message
fs/ext4/ioctl.c +67 -30
97 lines not on this page · raw message
fs/ext4/super.c +48 -25
73 lines not on this page · raw message
fs/f2fs/extent_cache.c +32 -19
51 lines not on this page · raw message
include/crypto/speck.h deleted +0 -62
62 lines not on this page · raw message
include/media/cec.h +71 -1
72 lines not on this page · raw message
include/uapi/linux/ndctl.h +21 -27
48 lines not on this page · raw message
net/sunrpc/xprtrdma/svc_rdma_backchannel.c +1 -0
Lines of this file are not shown. View the raw message.
tools/perf/pmu-events/arch/x86/ivytown/uncore-power.json +8 -8
Lines of this file are not shown. View the raw message.
tools/perf/pmu-events/arch/x86/jaketown/uncore-power.json +8 -8
Lines of this file are not shown. View the raw message.
tools/perf/tests/shell/record+probe_libc_inet_pton.sh +1 -1
Lines of this file are not shown. View the raw message.
tools/power/cpupower/utils/cpufreq-info.c +2 -0
Lines of this file are not shown. View the raw message.
tools/power/cpupower/utils/helpers/amd.c +6 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/drivers/usb/usbip/usbip_test.sh +4 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-createremove.tc +6 -6
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-syntax.tc new file +80 -0
80 lines not on this page · raw message
tools/testing/selftests/net/reuseport_bpf.c +9 -4
Lines of this file are not shown. View the raw message.
tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c +2 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.