]> www.infradead.org Git - users/hch/block.git/log
users/hch/block.git
4 years agoMerge remote-tracking branch 'ext4/dev' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:45:02 +0000 (09:45 +1100)]
Merge remote-tracking branch 'ext4/dev' into master

4 years agoMerge remote-tracking branch 'ext3/for_next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:45:02 +0000 (09:45 +1100)]
Merge remote-tracking branch 'ext3/for_next' into master

4 years agoMerge remote-tracking branch 'btrfs/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:45:01 +0000 (09:45 +1100)]
Merge remote-tracking branch 'btrfs/for-next' into master

4 years agoMerge remote-tracking branch 'xtensa/xtensa-for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:44:04 +0000 (09:44 +1100)]
Merge remote-tracking branch 'xtensa/xtensa-for-next' into master

4 years agoMerge remote-tracking branch 's390/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:44:03 +0000 (09:44 +1100)]
Merge remote-tracking branch 's390/for-next' into master

4 years agoMerge remote-tracking branch 'risc-v/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:43:08 +0000 (09:43 +1100)]
Merge remote-tracking branch 'risc-v/for-next' into master

# Conflicts:
# arch/riscv/kernel/vdso/Makefile

4 years agoMerge remote-tracking branch 'parisc-hd/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:42:10 +0000 (09:42 +1100)]
Merge remote-tracking branch 'parisc-hd/for-next' into master

4 years agoMerge remote-tracking branch 'nds32/next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:41:13 +0000 (09:41 +1100)]
Merge remote-tracking branch 'nds32/next' into master

4 years agoMerge remote-tracking branch 'mips/mips-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:39:45 +0000 (09:39 +1100)]
Merge remote-tracking branch 'mips/mips-next' into master

4 years agoMerge remote-tracking branch 'm68knommu/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:38:49 +0000 (09:38 +1100)]
Merge remote-tracking branch 'm68knommu/for-next' into master

4 years agoMerge remote-tracking branch 'h8300/h8300-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:37:06 +0000 (09:37 +1100)]
Merge remote-tracking branch 'h8300/h8300-next' into master

4 years agoMerge remote-tracking branch 'csky/linux-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:36:09 +0000 (09:36 +1100)]
Merge remote-tracking branch 'csky/linux-next' into master

4 years agoMerge remote-tracking branch 'ti-k3-new/ti-k3-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:35:13 +0000 (09:35 +1100)]
Merge remote-tracking branch 'ti-k3-new/ti-k3-next' into master

4 years agoMerge remote-tracking branch 'ti-k3/ti-k3-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:35:12 +0000 (09:35 +1100)]
Merge remote-tracking branch 'ti-k3/ti-k3-next' into master

4 years agoMerge remote-tracking branch 'tegra/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:35:07 +0000 (09:35 +1100)]
Merge remote-tracking branch 'tegra/for-next' into master

4 years agoMerge remote-tracking branch 'sunxi/sunxi/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:34:11 +0000 (09:34 +1100)]
Merge remote-tracking branch 'sunxi/sunxi/for-next' into master

4 years agoMerge remote-tracking branch 'samsung-krzk/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:33:12 +0000 (09:33 +1100)]
Merge remote-tracking branch 'samsung-krzk/for-next' into master

4 years agoMerge remote-tracking branch 'rockchip/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:33:11 +0000 (09:33 +1100)]
Merge remote-tracking branch 'rockchip/for-next' into master

4 years agoMerge remote-tracking branch 'reset/reset/next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:31:14 +0000 (09:31 +1100)]
Merge remote-tracking branch 'reset/reset/next' into master

4 years agoMerge remote-tracking branch 'renesas/next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:31:13 +0000 (09:31 +1100)]
Merge remote-tracking branch 'renesas/next' into master

4 years agoMerge remote-tracking branch 'realtek/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:31:13 +0000 (09:31 +1100)]
Merge remote-tracking branch 'realtek/for-next' into master

4 years agoMerge remote-tracking branch 'qcom/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:29:16 +0000 (09:29 +1100)]
Merge remote-tracking branch 'qcom/for-next' into master

4 years agoMerge remote-tracking branch 'omap/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:29:12 +0000 (09:29 +1100)]
Merge remote-tracking branch 'omap/for-next' into master

4 years agoMerge remote-tracking branch 'mvebu/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:28:15 +0000 (09:28 +1100)]
Merge remote-tracking branch 'mvebu/for-next' into master

4 years agoMerge remote-tracking branch 'mediatek/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:26:35 +0000 (09:26 +1100)]
Merge remote-tracking branch 'mediatek/for-next' into master

4 years agoMerge remote-tracking branch 'keystone/next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:26:35 +0000 (09:26 +1100)]
Merge remote-tracking branch 'keystone/next' into master

4 years agoMerge remote-tracking branch 'imx-mxs/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:25:08 +0000 (09:25 +1100)]
Merge remote-tracking branch 'imx-mxs/for-next' into master

4 years agoMerge remote-tracking branch 'drivers-memory/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:23:30 +0000 (09:23 +1100)]
Merge remote-tracking branch 'drivers-memory/for-next' into master

4 years agoMerge remote-tracking branch 'at91/at91-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:22:34 +0000 (09:22 +1100)]
Merge remote-tracking branch 'at91/at91-next' into master

4 years agoMerge remote-tracking branch 'aspeed/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:21:38 +0000 (09:21 +1100)]
Merge remote-tracking branch 'aspeed/for-next' into master

4 years agoMerge remote-tracking branch 'amlogic/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:19:38 +0000 (09:19 +1100)]
Merge remote-tracking branch 'amlogic/for-next' into master

4 years agoMerge remote-tracking branch 'arm-soc/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:18:42 +0000 (09:18 +1100)]
Merge remote-tracking branch 'arm-soc/for-next' into master

4 years agoMerge remote-tracking branch 'arm/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:15:47 +0000 (09:15 +1100)]
Merge remote-tracking branch 'arm/for-next' into master

4 years agoMerge remote-tracking branch 'asm-generic/master' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:02:24 +0000 (09:02 +1100)]
Merge remote-tracking branch 'asm-generic/master' into master

4 years agoMerge remote-tracking branch 'dma-mapping/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 22:00:47 +0000 (09:00 +1100)]
Merge remote-tracking branch 'dma-mapping/for-next' into master

4 years agoMerge remote-tracking branch 'kbuild/for-next' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:59:51 +0000 (08:59 +1100)]
Merge remote-tracking branch 'kbuild/for-next' into master

4 years agoMerge remote-tracking branch 'kspp-gustavo/for-next/kspp' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:48:22 +0000 (08:48 +1100)]
Merge remote-tracking branch 'kspp-gustavo/for-next/kspp' into master

4 years agoMerge remote-tracking branch 'drm-misc-fixes/for-linux-next-fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:36:01 +0000 (08:36 +1100)]
Merge remote-tracking branch 'drm-misc-fixes/for-linux-next-fixes' into master

4 years agoMerge remote-tracking branch 'kunit-fixes/kunit-fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:36:00 +0000 (08:36 +1100)]
Merge remote-tracking branch 'kunit-fixes/kunit-fixes' into master

4 years agoMerge remote-tracking branch 'pidfd-fixes/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:58 +0000 (08:35 +1100)]
Merge remote-tracking branch 'pidfd-fixes/fixes' into master

4 years agoMerge remote-tracking branch 'hyperv-fixes/hyperv-fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:56 +0000 (08:35 +1100)]
Merge remote-tracking branch 'hyperv-fixes/hyperv-fixes' into master

4 years agoMerge remote-tracking branch 'mmc-fixes/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:54 +0000 (08:35 +1100)]
Merge remote-tracking branch 'mmc-fixes/fixes' into master

4 years agoMerge remote-tracking branch 'drm-intel-fixes/for-linux-next-fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:54 +0000 (08:35 +1100)]
Merge remote-tracking branch 'drm-intel-fixes/for-linux-next-fixes' into master

4 years agoMerge remote-tracking branch 'scsi-fixes/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:53 +0000 (08:35 +1100)]
Merge remote-tracking branch 'scsi-fixes/fixes' into master

4 years agoMerge remote-tracking branch 'samsung-krzk-fixes/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:53 +0000 (08:35 +1100)]
Merge remote-tracking branch 'samsung-krzk-fixes/fixes' into master

# Conflicts:
# MAINTAINERS

4 years agoMerge remote-tracking branch 'vfs-fixes/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:52 +0000 (08:35 +1100)]
Merge remote-tracking branch 'vfs-fixes/fixes' into master

4 years agoMerge remote-tracking branch 'btrfs-fixes/next-fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:50 +0000 (08:35 +1100)]
Merge remote-tracking branch 'btrfs-fixes/next-fixes' into master

4 years agoMerge remote-tracking branch 'hwmon-fixes/hwmon' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:49 +0000 (08:35 +1100)]
Merge remote-tracking branch 'hwmon-fixes/hwmon' into master

4 years agoMerge remote-tracking branch 'kvm-fixes/master' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:49 +0000 (08:35 +1100)]
Merge remote-tracking branch 'kvm-fixes/master' into master

4 years agoMerge remote-tracking branch 'mips-fixes/mips-fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:48 +0000 (08:35 +1100)]
Merge remote-tracking branch 'mips-fixes/mips-fixes' into master

4 years agoMerge remote-tracking branch 'mtd-fixes/mtd/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:48 +0000 (08:35 +1100)]
Merge remote-tracking branch 'mtd-fixes/mtd/fixes' into master

4 years agoMerge remote-tracking branch 'dmaengine-fixes/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:47 +0000 (08:35 +1100)]
Merge remote-tracking branch 'dmaengine-fixes/fixes' into master

4 years agoMerge remote-tracking branch 'kselftest-fixes/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:46 +0000 (08:35 +1100)]
Merge remote-tracking branch 'kselftest-fixes/fixes' into master

4 years agoMerge remote-tracking branch 'ide/master' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:43 +0000 (08:35 +1100)]
Merge remote-tracking branch 'ide/master' into master

4 years agoMerge remote-tracking branch 'input-current/for-linus' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:36 +0000 (08:35 +1100)]
Merge remote-tracking branch 'input-current/for-linus' into master

4 years agoMerge remote-tracking branch 'thunderbolt-fixes/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:35 +0000 (08:35 +1100)]
Merge remote-tracking branch 'thunderbolt-fixes/fixes' into master

4 years agoMerge remote-tracking branch 'char-misc.current/char-misc-linus' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:35 +0000 (08:35 +1100)]
Merge remote-tracking branch 'char-misc.current/char-misc-linus' into master

4 years agoMerge remote-tracking branch 'staging.current/staging-linus' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:34 +0000 (08:35 +1100)]
Merge remote-tracking branch 'staging.current/staging-linus' into master

4 years agoMerge remote-tracking branch 'phy/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:34 +0000 (08:35 +1100)]
Merge remote-tracking branch 'phy/fixes' into master

4 years agoMerge remote-tracking branch 'usb-chipidea-fixes/for-usb-fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:33 +0000 (08:35 +1100)]
Merge remote-tracking branch 'usb-chipidea-fixes/for-usb-fixes' into master

4 years agoMerge remote-tracking branch 'usb-serial-fixes/usb-linus' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:33 +0000 (08:35 +1100)]
Merge remote-tracking branch 'usb-serial-fixes/usb-linus' into master

4 years agoMerge remote-tracking branch 'usb-gadget-fixes/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:33 +0000 (08:35 +1100)]
Merge remote-tracking branch 'usb-gadget-fixes/fixes' into master

# Conflicts:
# drivers/usb/cdns3/gadget.c
# drivers/usb/dwc3/dwc3-of-simple.c
# drivers/usb/dwc3/gadget.c

4 years agoMerge remote-tracking branch 'usb.current/usb-linus' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:30 +0000 (08:35 +1100)]
Merge remote-tracking branch 'usb.current/usb-linus' into master

4 years agoMerge remote-tracking branch 'tty.current/tty-linus' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:30 +0000 (08:35 +1100)]
Merge remote-tracking branch 'tty.current/tty-linus' into master

4 years agoMerge remote-tracking branch 'spi-fixes/for-linus' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:29 +0000 (08:35 +1100)]
Merge remote-tracking branch 'spi-fixes/for-linus' into master

4 years agoMerge remote-tracking branch 'regulator-fixes/for-linus' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:26 +0000 (08:35 +1100)]
Merge remote-tracking branch 'regulator-fixes/for-linus' into master

4 years agoMerge remote-tracking branch 'regmap-fixes/for-linus' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:26 +0000 (08:35 +1100)]
Merge remote-tracking branch 'regmap-fixes/for-linus' into master

4 years agoMerge remote-tracking branch 'sound-asoc-fixes/for-linus' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:25 +0000 (08:35 +1100)]
Merge remote-tracking branch 'sound-asoc-fixes/for-linus' into master

4 years agoMerge remote-tracking branch 'sound-current/for-linus' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:25 +0000 (08:35 +1100)]
Merge remote-tracking branch 'sound-current/for-linus' into master

4 years agoMerge remote-tracking branch 'ipsec/master' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:23 +0000 (08:35 +1100)]
Merge remote-tracking branch 'ipsec/master' into master

4 years agoMerge remote-tracking branch 'bpf/master' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:22 +0000 (08:35 +1100)]
Merge remote-tracking branch 'bpf/master' into master

4 years agoMerge remote-tracking branch 'sparc/master' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:19 +0000 (08:35 +1100)]
Merge remote-tracking branch 'sparc/master' into master

4 years agoMerge remote-tracking branch 'arm-soc-fixes/arm/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:19 +0000 (08:35 +1100)]
Merge remote-tracking branch 'arm-soc-fixes/arm/fixes' into master

4 years agoMerge remote-tracking branch 'arm64-fixes/for-next/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:18 +0000 (08:35 +1100)]
Merge remote-tracking branch 'arm64-fixes/for-next/fixes' into master

4 years agoMerge remote-tracking branch 'arm-current/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:18 +0000 (08:35 +1100)]
Merge remote-tracking branch 'arm-current/fixes' into master

4 years agoMerge remote-tracking branch 'kbuild-current/fixes' into master
Stephen Rothwell [Thu, 29 Oct 2020 21:35:17 +0000 (08:35 +1100)]
Merge remote-tracking branch 'kbuild-current/fixes' into master

4 years agoARM: SoC: document merges
Arnd Bergmann [Thu, 29 Oct 2020 21:26:04 +0000 (22:26 +0100)]
ARM: SoC: document merges

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 years agoMerge branch 'arm/fixes' into for-next
Arnd Bergmann [Thu, 29 Oct 2020 21:23:39 +0000 (22:23 +0100)]
Merge branch 'arm/fixes' into for-next

* arm/fixes:
  soc: ti: ti_sci_pm_domains: check for proper args count in xlate
  arm64: dts: allwinner: h5: OrangePi Prime: Fix ethernet node
  arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY
  arm64: dts: allwinner: h5: libretech-all-h5-cc: Enable RGMII RX/TX delay on PHY
  ARM: dts: sunxi: bananapi-m2-plus: Enable RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun9i: Enable both RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun8i: a83t: Enable both RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun8i: h3: orangepi-plus2e: Enable RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun7i: bananapi-m1-plus: Enable RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun7i: cubietruck: Enable RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Ethernet PHY
  Revert "arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high"
  ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix ethernet node
  arm64: dts: allwinner: h5: OrangePi PC2: Fix ethernet node
  arm64: dts: allwinner: a64: Pine64 Plus: Fix ethernet node
  arm64: dts: allwinner: a64: OrangePi Win: Fix ethernet node
  arm64: dts: allwinner: Pine H64: Enable both RGMII RX/TX delay
  arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay
  arm64: dts: allwinner: pinetab: Drop unnecessary address/size-cells information
  MAINTAINERS: Add Jernej Škrabec as a reviewer for Allwinner SoCs support

4 years agoMerge tag 'sunxi-fixes-for-5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 29 Oct 2020 21:13:57 +0000 (22:13 +0100)]
Merge tag 'sunxi-fixes-for-5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/fixes

Mostly some fixes for a fallout in a PHY driver that pointed out errors
in our DTs. Along with that, Jernej agreed to be a reviewer!

* tag 'sunxi-fixes-for-5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  arm64: dts: allwinner: h5: OrangePi Prime: Fix ethernet node
  arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY
  arm64: dts: allwinner: h5: libretech-all-h5-cc: Enable RGMII RX/TX delay on PHY
  ARM: dts: sunxi: bananapi-m2-plus: Enable RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun9i: Enable both RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun8i: a83t: Enable both RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun8i: h3: orangepi-plus2e: Enable RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun7i: bananapi-m1-plus: Enable RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun7i: cubietruck: Enable RGMII RX/TX delay on Ethernet PHY
  ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Ethernet PHY
  Revert "arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high"
  ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix ethernet node
  arm64: dts: allwinner: h5: OrangePi PC2: Fix ethernet node
  arm64: dts: allwinner: a64: Pine64 Plus: Fix ethernet node
  arm64: dts: allwinner: a64: OrangePi Win: Fix ethernet node
  arm64: dts: allwinner: Pine H64: Enable both RGMII RX/TX delay
  arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay
  arm64: dts: allwinner: pinetab: Drop unnecessary address/size-cells information
  MAINTAINERS: Add Jernej Škrabec as a reviewer for Allwinner SoCs support

Link: https://lore.kernel.org/r/d1a1a6a6-fca4-4f1b-93b3-f2f6963b4e04.lettre@localhost
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 years agosoc: ti: ti_sci_pm_domains: check for proper args count in xlate
Tero Kristo [Thu, 29 Oct 2020 09:33:37 +0000 (11:33 +0200)]
soc: ti: ti_sci_pm_domains: check for proper args count in xlate

K2G devices still only use single parameter for power-domains property,
so check for this properly in the driver. Without this, every peripheral
fails to probe resulting in boot failure.

Link: https://lore.kernel.org/r/20201029093337.21170-1-t-kristo@ti.com
Fixes: efa5c01cd7ee ("soc: ti: ti_sci_pm_domains: switch to use multiple genpds instead of one")
Reported-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 years agoMerge tag 'fallthrough-fixes-clang-5.10-rc2' of git://git.kernel.org/pub/scm/linux...
Linus Torvalds [Thu, 29 Oct 2020 20:02:52 +0000 (13:02 -0700)]
Merge tag 'fallthrough-fixes-clang-5.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux

Pull fallthrough fix from Gustavo A. R. Silva:
 "This fixes a ton of fall-through warnings when building with Clang
  12.0.0 and -Wimplicit-fallthrough"

* tag 'fallthrough-fixes-clang-5.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux:
  include: jhash/signal: Fix fall-through warnings for Clang

4 years agoMerge tag 'net-5.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Linus Torvalds [Thu, 29 Oct 2020 19:55:02 +0000 (12:55 -0700)]
Merge tag 'net-5.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

Pull networking fixes from Jakub Kicinski:
 "Current release regressions:

   - r8169: fix forced threading conflicting with other shared
     interrupts; we tried to fix the use of raise_softirq_irqoff from an
     IRQ handler on RT by forcing hard irqs, but this driver shares
     legacy PCI IRQs so drop the _irqoff() instead

   - tipc: fix memory leak caused by a recent syzbot report fix to
     tipc_buf_append()

  Current release - bugs in new features:

   - devlink: Unlock on error in dumpit() and fix some error codes

   - net/smc: fix null pointer dereference in smc_listen_decline()

  Previous release - regressions:

   - tcp: Prevent low rmem stalls with SO_RCVLOWAT.

   - net: protect tcf_block_unbind with block lock

   - ibmveth: Fix use of ibmveth in a bridge; the self-imposed filtering
     to only send legal frames to the hypervisor was too strict

   - net: hns3: Clear the CMDQ registers before unmapping BAR region;
     incorrect cleanup order was leading to a crash

   - bnxt_en - handful of fixes to fixes:
      - Send HWRM_FUNC_RESET fw command unconditionally, even if there
        are PCIe errors being reported
      - Check abort error state in bnxt_open_nic().
      - Invoke cancel_delayed_work_sync() for PFs also.
      - Fix regression in workqueue cleanup logic in bnxt_remove_one().

   - mlxsw: Only advertise link modes supported by both driver and
     device, after removal of 56G support from the driver 56G was not
     cleared from advertised modes

   - net/smc: fix suppressed return code

  Previous release - always broken:

   - netem: fix zero division in tabledist, caused by integer overflow

   - bnxt_en: Re-write PCI BARs after PCI fatal error.

   - cxgb4: set up filter action after rewrites

   - net: ipa: command payloads already mapped

  Misc:

   - s390/ism: fix incorrect system EID, it's okay to change since it
     was added in current release

   - vsock: use ns_capable_noaudit() on socket create to suppress false
     positive audit messages"

* tag 'net-5.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (36 commits)
  r8169: fix issue with forced threading in combination with shared interrupts
  netem: fix zero division in tabledist
  ibmvnic: fix ibmvnic_set_mac
  mptcp: add missing memory scheduling in the rx path
  tipc: fix memory leak caused by tipc_buf_append()
  gtp: fix an use-before-init in gtp_newlink()
  net: protect tcf_block_unbind with block lock
  ibmveth: Fix use of ibmveth in a bridge.
  net/sched: act_mpls: Add softdep on mpls_gso.ko
  ravb: Fix bit fields checking in ravb_hwtstamp_get()
  devlink: Unlock on error in dumpit()
  devlink: Fix some error codes
  chelsio/chtls: fix memory leaks in CPL handlers
  chelsio/chtls: fix deadlock issue
  net: hns3: Clear the CMDQ registers before unmapping BAR region
  bnxt_en: Send HWRM_FUNC_RESET fw command unconditionally.
  bnxt_en: Check abort error state in bnxt_open_nic().
  bnxt_en: Re-write PCI BARs after PCI fatal error.
  bnxt_en: Invoke cancel_delayed_work_sync() for PFs also.
  bnxt_en: Fix regression in workqueue cleanup logic in bnxt_remove_one().
  ...

4 years agoprintk: ringbuffer: Replace zero-length array with flexible-array member
Gustavo A. R. Silva [Tue, 27 Oct 2020 18:50:19 +0000 (13:50 -0500)]
printk: ringbuffer: Replace zero-length array with flexible-array member

There is a regular need in the kernel to provide a way to declare having a
dynamically sized set of trailing elements in a structure. Kernel code should
always use “flexible array members”[1] for these cases. The older style of
one-element or zero-length arrays should no longer be used[2].

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://www.kernel.org/doc/html/v5.9/process/deprecated.html#zero-length-and-one-element-arrays

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
4 years agonet/smc: Replace zero-length array with flexible-array member
Gustavo A. R. Silva [Tue, 27 Oct 2020 06:33:56 +0000 (01:33 -0500)]
net/smc: Replace zero-length array with flexible-array member

There is a regular need in the kernel to provide a way to declare having a
dynamically sized set of trailing elements in a structure. Kernel code should
always use “flexible array members”[1] for these cases. The older style of
one-element or zero-length arrays should no longer be used[2].

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://www.kernel.org/doc/html/v5.9/process/deprecated.html#zero-length-and-one-element-arrays

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
4 years agonet/mlx5: Replace zero-length array with flexible-array member
Gustavo A. R. Silva [Tue, 27 Oct 2020 20:28:40 +0000 (15:28 -0500)]
net/mlx5: Replace zero-length array with flexible-array member

There is a regular need in the kernel to provide a way to declare having a
dynamically sized set of trailing elements in a structure. Kernel code should
always use “flexible array members”[1] for these cases. The older style of
one-element or zero-length arrays should no longer be used[2].

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://www.kernel.org/doc/html/v5.9/process/deprecated.html#zero-length-and-one-element-arrays

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
4 years agomei: hw: Replace zero-length array with flexible-array member
Gustavo A. R. Silva [Tue, 27 Oct 2020 06:15:49 +0000 (01:15 -0500)]
mei: hw: Replace zero-length array with flexible-array member

There is a regular need in the kernel to provide a way to declare having a
dynamically sized set of trailing elements in a structure. Kernel code should
always use “flexible array members”[1] for these cases. The older style of
one-element or zero-length arrays should no longer be used[2].

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://www.kernel.org/doc/html/v5.9/process/deprecated.html#zero-length-and-one-element-arrays

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
4 years agogve: Replace zero-length array with flexible-array member
Gustavo A. R. Silva [Tue, 27 Oct 2020 21:30:45 +0000 (16:30 -0500)]
gve: Replace zero-length array with flexible-array member

There is a regular need in the kernel to provide a way to declare having a
dynamically sized set of trailing elements in a structure.  Kernel code
should always use “flexible array members”[1] for these cases.  The
older style of one-element or zero-length arrays should no longer be
used[2].

Refactor the code according to the use of a flexible-array member in
struct gve_stats_report, instead of a zero-length array, and use the
struct_size() helper to calculate the size for the resource allocation.

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://www.kernel.org/doc/html/v5.9/process/deprecated.html#zero-length-and-one-element-arrays

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
4 years agoBluetooth: btintel: Replace zero-length array with flexible-array member
Gustavo A. R. Silva [Tue, 27 Oct 2020 05:54:08 +0000 (00:54 -0500)]
Bluetooth: btintel: Replace zero-length array with flexible-array member

There is a regular need in the kernel to provide a way to declare having a
dynamically sized set of trailing elements in a structure. Kernel code should
always use “flexible array members”[1] for these cases. The older style of
one-element or zero-length arrays should no longer be used[2].

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://www.kernel.org/doc/html/v5.9/process/deprecated.html#zero-length-and-one-element-arrays

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
4 years agocoresight: cti: Initialize dynamic sysfs attributes
Suzuki K Poulose [Thu, 29 Oct 2020 16:45:58 +0000 (10:45 -0600)]
coresight: cti: Initialize dynamic sysfs attributes

With LOCKDEP enabled, CTI driver triggers the following splat due
to uninitialized lock class for dynamically allocated attribute
objects.

[    5.372901] coresight etm0: CPU0: ETM v4.0 initialized
[    5.376694] coresight etm1: CPU1: ETM v4.0 initialized
[    5.380785] coresight etm2: CPU2: ETM v4.0 initialized
[    5.385851] coresight etm3: CPU3: ETM v4.0 initialized
[    5.389808] BUG: key ffff00000564a798 has not been registered!
[    5.392456] ------------[ cut here ]------------
[    5.398195] DEBUG_LOCKS_WARN_ON(1)
[    5.398233] WARNING: CPU: 1 PID: 32 at kernel/locking/lockdep.c:4623 lockdep_init_map_waits+0x14c/0x260
[    5.406149] Modules linked in:
[    5.415411] CPU: 1 PID: 32 Comm: kworker/1:1 Not tainted 5.9.0-12034-gbbe85027ce80 #51
[    5.418553] Hardware name: Qualcomm Technologies, Inc. APQ 8016 SBC (DT)
[    5.426453] Workqueue: events amba_deferred_retry_func
[    5.433299] pstate: 40000005 (nZcv daif -PAN -UAO -TCO BTYPE=--)
[    5.438252] pc : lockdep_init_map_waits+0x14c/0x260
[    5.444410] lr : lockdep_init_map_waits+0x14c/0x260
[    5.449007] sp : ffff800012bbb720
...

[    5.531561] Call trace:
[    5.536847]  lockdep_init_map_waits+0x14c/0x260
[    5.539027]  __kernfs_create_file+0xa8/0x1c8
[    5.543539]  sysfs_add_file_mode_ns+0xd0/0x208
[    5.548054]  internal_create_group+0x118/0x3c8
[    5.552307]  internal_create_groups+0x58/0xb8
[    5.556733]  sysfs_create_groups+0x2c/0x38
[    5.561160]  device_add+0x2d8/0x768
[    5.565148]  device_register+0x28/0x38
[    5.568537]  coresight_register+0xf8/0x320
[    5.572358]  cti_probe+0x1b0/0x3f0

...

Fix this by initializing the attributes when they are allocated.

Fixes: 3c5597e39812 ("coresight: cti: Add connection information to sysfs")
Reported-by: Leo Yan <leo.yan@linaro.org>
Tested-by: Leo Yan <leo.yan@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20201029164559.1268531-2-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4 years agocoresight: Fix uninitialised pointer bug in etm_setup_aux()
Mike Leach [Thu, 29 Oct 2020 16:45:59 +0000 (10:45 -0600)]
coresight: Fix uninitialised pointer bug in etm_setup_aux()

Commit [bb1860efc817] changed the sink handling code introducing an
uninitialised pointer bug. This results in the default sink selection
failing.

Prior to commit:

static void etm_setup_aux(...)

<snip>
        struct coresight_device *sink;
<snip>

        /* First get the selected sink from user space. */
        if (event->attr.config2) {
                id = (u32)event->attr.config2;
                sink = coresight_get_sink_by_id(id);
        } else {
                sink = coresight_get_enabled_sink(true);
        }
<ctd>

*sink always initialised - possibly to NULL which triggers the
automatic sink selection.

After commit:

static void etm_setup_aux(...)

<snip>
        struct coresight_device *sink;
<snip>

        /* First get the selected sink from user space. */
        if (event->attr.config2) {
                id = (u32)event->attr.config2;
                sink = coresight_get_sink_by_id(id);
        }
<ctd>

*sink pointer uninitialised when not providing a sink on the perf command
line. This breaks later checks to enable automatic sink selection.

Fixes: bb1860efc817 ("coresight: etm: perf: Sink selection using sysfs is deprecated")
Signed-off-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20201029164559.1268531-3-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4 years agoMerge branch 'sunxi/fixes-for-5.10' into sunxi/for-next
Maxime Ripard [Thu, 29 Oct 2020 19:03:58 +0000 (20:03 +0100)]
Merge branch 'sunxi/fixes-for-5.10' into sunxi/for-next

4 years agoMerge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
Linus Torvalds [Thu, 29 Oct 2020 18:50:59 +0000 (11:50 -0700)]
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma

Pull rdma fixes from Jason Gunthorpe:
 "The good news is people are testing rc1 in the RDMA world - the bad
  news is testing of the for-next area is not as good as I had hoped, as
  we really should have caught at least the rdma_connect_locked() issue
  before now.

  Notable merge window regressions that didn't get caught/fixed in time
  for rc1:

   - Fix in kernel users of rxe, they were broken by the rapid fix to
     undo the uABI breakage in rxe from another patch

   - EFA userspace needs to read the GID table but was broken with the
     new GID table logic

   - Fix user triggerable deadlock in mlx5 using devlink reload

   - Fix deadlock in several ULPs using rdma_connect from the CM handler
     callbacks

   - Memory leak in qedr"

* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
  RDMA/qedr: Fix memory leak in iWARP CM
  RDMA: Add rdma_connect_locked()
  RDMA/uverbs: Fix false error in query gid IOCTL
  RDMA/mlx5: Fix devlink deadlock on net namespace deletion
  RDMA/rxe: Fix small problem in network_type patch

4 years agor8169: fix issue with forced threading in combination with shared interrupts
Heiner Kallweit [Thu, 29 Oct 2020 09:18:53 +0000 (10:18 +0100)]
r8169: fix issue with forced threading in combination with shared interrupts

As reported by Serge flag IRQF_NO_THREAD causes an error if the
interrupt is actually shared and the other driver(s) don't have this
flag set. This situation can occur if a PCI(e) legacy interrupt is
used in combination with forced threading.
There's no good way to deal with this properly, therefore we have to
remove flag IRQF_NO_THREAD. For fixing the original forced threading
issue switch to napi_schedule().

Fixes: 424a646e072a ("r8169: fix operation under forced interrupt threading")
Link: https://www.spinics.net/lists/netdev/msg694960.html
Reported-by: Serge Belyshev <belyshev@depni.sinp.msu.ru>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Serge Belyshev <belyshev@depni.sinp.msu.ru>
Link: https://lore.kernel.org/r/b5b53bfe-35ac-3768-85bf-74d1290cf394@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
4 years agonetem: fix zero division in tabledist
Aleksandr Nogikh [Wed, 28 Oct 2020 17:07:31 +0000 (17:07 +0000)]
netem: fix zero division in tabledist

Currently it is possible to craft a special netlink RTM_NEWQDISC
command that can result in jitter being equal to 0x80000000. It is
enough to set the 32 bit jitter to 0x02000000 (it will later be
multiplied by 2^6) or just set the 64 bit jitter via
TCA_NETEM_JITTER64. This causes an overflow during the generation of
uniformly distributed numbers in tabledist(), which in turn leads to
division by zero (sigma != 0, but sigma * 2 is 0).

The related fragment of code needs 32-bit division - see commit
9b0ed89 ("netem: remove unnecessary 64 bit modulus"), so switching to
64 bit is not an option.

Fix the issue by keeping the value of jitter within the range that can
be adequately handled by tabledist() - [0;INT_MAX]. As negative std
deviation makes no sense, take the absolute value of the passed value
and cap it at INT_MAX. Inside tabledist(), switch to unsigned 32 bit
arithmetic in order to prevent overflows.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Aleksandr Nogikh <nogikh@google.com>
Reported-by: syzbot+ec762a6342ad0d3c0d8f@syzkaller.appspotmail.com
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Link: https://lore.kernel.org/r/20201028170731.1383332-1-aleksandrnogikh@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
4 years agoibmvnic: fix ibmvnic_set_mac
Lijun Pan [Tue, 27 Oct 2020 22:04:56 +0000 (17:04 -0500)]
ibmvnic: fix ibmvnic_set_mac

Jakub Kicinski brought up a concern in ibmvnic_set_mac().
ibmvnic_set_mac() does this:

ether_addr_copy(adapter->mac_addr, addr->sa_data);
if (adapter->state != VNIC_PROBED)
rc = __ibmvnic_set_mac(netdev, addr->sa_data);

So if state == VNIC_PROBED, the user can assign an invalid address to
adapter->mac_addr, and ibmvnic_set_mac() will still return 0.

The fix is to validate ethernet address at the beginning of
ibmvnic_set_mac(), and move the ether_addr_copy to
the case of "adapter->state != VNIC_PROBED".

Fixes: c26eba03e407 ("ibmvnic: Update reset infrastructure to support tunable parameters")
Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Link: https://lore.kernel.org/r/20201027220456.71450-1-ljp@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
4 years agomptcp: add missing memory scheduling in the rx path
Paolo Abeni [Tue, 27 Oct 2020 14:59:14 +0000 (15:59 +0100)]
mptcp: add missing memory scheduling in the rx path

When moving the skbs from the subflow into the msk receive
queue, we must schedule there the required amount of memory.

Try to borrow the required memory from the subflow, if needed,
so that we leverage the existing TCP heuristic.

Fixes: 6771bfd9ee24 ("mptcp: update mptcp ack sequence from work queue")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Link: https://lore.kernel.org/r/f6143a6193a083574f11b00dbf7b5ad151bc4ff4.1603810630.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
4 years agolockdep: Fix nr_unused_locks
eter Zijlstra [Tue, 27 Oct 2020 13:35:34 +0000 (13:35 +0000)]
lockdep: Fix nr_unused_locks

Catch all transitions from class->usage_mask == 0 to indicate used
locks.

<4>[   27.737536] DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused)
<4>[   27.737550] WARNING: CPU: 0 PID: 821 at kernel/locking/lockdep_proc.c:256 lockdep_stats_show+0xa33/0xac0

Fixes: 2bb8945bcc1a ("lockdep: Fix usage_traceoverflow")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit 1947734908a2fb47416ab775b3fb07142f0425af)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
4 years agodrm/i915/gt: Use the local HWSP offset during submission
Chris Wilson [Thu, 22 Oct 2020 06:41:27 +0000 (07:41 +0100)]
drm/i915/gt: Use the local HWSP offset during submission

We wrap the timeline on construction of the next request, but there may
still be requests in flight that have not yet finalized the breadcrumb.
(The breadcrumb is delayed as we need engine-local offsets, and for the
virtual engine that is not known until execution.) As such, by the time
we write to the timeline's HWSP offset it may have changed, and we
should use the value we preserved in the request instead.

Though the window is small and infrequent (at full flow we can expect a
timeline's seqno to wrap once every 30 minutes), the impact of writing
the old seqno into the new HWSP is severe: the old requests are never
completed, and the new requests are completed before they are even
submitted.

Fixes: ebece7539242 ("drm/i915: Keep timeline HWSP allocated until idle across the system")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: <stable@vger.kernel.org> # v5.2+
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201022064127.10159-1-chris@chris-wilson.co.uk
(cherry picked from commit c10f6019d0b2dc8a6a62b55459f3ada5bc4e5e1a)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
4 years agodrm/i915/gem: Flush coherency domains on first set-domain-ioctl
Chris Wilson [Mon, 19 Oct 2020 20:38:25 +0000 (21:38 +0100)]
drm/i915/gem: Flush coherency domains on first set-domain-ioctl

Avoid skipping what appears to be a no-op set-domain-ioctl if the cache
coherency state is inconsistent with our target domain. This also has
the utility of using the population of the pages to validate the backing
store.

The danger in skipping the first set-domain is leaving the cache
inconsistent and submitting stale data, or worse leaving the clean data
in the cache and not flushing it to the GPU. The impact should be small
as it requires a no-op set-domain as the very first ioctl in a
particular sequence not found in typical userspace.

Reported-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Fixes: 754a25442705 ("drm/i915: Skip object locking around a no-op set-domain ioctl")
Testcase: igt/gem_mmap_offset/blt-coherency
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: <stable@vger.kernel.org> # v5.2+
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201019203825.10966-1-chris@chris-wilson.co.uk
(cherry picked from commit 44c2200afcd59f441b43f27829b4003397cc495d)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
4 years agodrm/i915: Reject 90/270 degree rotated initial fbs
Ville Syrjälä [Tue, 20 Oct 2020 19:43:29 +0000 (22:43 +0300)]
drm/i915: Reject 90/270 degree rotated initial fbs

We don't currently handle the initial fb readout correctly
for 90/270 degree rotated scanout. Reject it.

Cc: stable@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201020194330.28568-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit a40a8305a732f4ecc2186ac7ca132ba062ed770d)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>