]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Drop mips-ralink-don-t-define-pc_iobase-but-increase-io_s.patch
authorSasha Levin <sashal@kernel.org>
Mon, 15 Nov 2021 12:24:45 +0000 (07:24 -0500)
committerSasha Levin <sashal@kernel.org>
Mon, 15 Nov 2021 12:24:45 +0000 (07:24 -0500)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-5.14/mips-ralink-don-t-define-pc_iobase-but-increase-io_s.patch [deleted file]
queue-5.14/series
queue-5.15/mips-ralink-don-t-define-pc_iobase-but-increase-io_s.patch [deleted file]
queue-5.15/series

diff --git a/queue-5.14/mips-ralink-don-t-define-pc_iobase-but-increase-io_s.patch b/queue-5.14/mips-ralink-don-t-define-pc_iobase-but-increase-io_s.patch
deleted file mode 100644 (file)
index bdb96ce..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-From 04f24c5f790baa4f2644ce62d8d4727b5bb55b1e Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Sun, 22 Aug 2021 18:10:03 +0200
-Subject: MIPS: ralink: don't define PC_IOBASE but increase IO_SPACE_LIMIT
-
-From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
-
-[ Upstream commit 159697474db41732ef3b6c2e8d9395f09d1f659e ]
-
-Defining PCI_IOBASE results in pci resource handling working but the
-addresses generated for IO accesses are wrong since the ioremap in the pci core
-function 'pci_parse_request_of_pci_ranges' tries to remap to a fixed virtual
-address (PC_IOBASE) which can't work for KSEG1 addresses. To get it working this
-way, we would need to put PCI_IOBASE somewhere into KSEG2 which will result in
-creating TLB entries for IO addresses, which most of the time isn't needed on
-MIPS because of access via KSEG1. So avoid to define PCI_IOBASE and increase
-IO_SPACE_LIMIT resource for ralink MIPS platform instead, to get valid IO
-addresses for resources from pci core 'pci_address_to_pio' function.
-
-Fixes: 222b27713d7f ("MIPS: ralink: Define PCI_IOBASE")
-Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
-Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
-Link: https://lore.kernel.org/r/20210822161005.22467-2-sergio.paracuellos@gmail.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- arch/mips/include/asm/mach-ralink/spaces.h | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/arch/mips/include/asm/mach-ralink/spaces.h b/arch/mips/include/asm/mach-ralink/spaces.h
-index 87d085c9ad610..31a3525213cf3 100644
---- a/arch/mips/include/asm/mach-ralink/spaces.h
-+++ b/arch/mips/include/asm/mach-ralink/spaces.h
-@@ -2,9 +2,7 @@
- #ifndef __ASM_MACH_RALINK_SPACES_H_
- #define __ASM_MACH_RALINK_SPACES_H_
--#define PCI_IOBASE    _AC(0xa0000000, UL)
--#define PCI_IOSIZE    SZ_16M
--#define IO_SPACE_LIMIT        (PCI_IOSIZE - 1)
-+#define IO_SPACE_LIMIT        0x1fffffff
- #include <asm/mach-generic/spaces.h>
- #endif
--- 
-2.33.0
-
index 5e24f2ccc8733b252f3044a8120e8b3601e22c54..1f6a68510559b842eb08b286ef4549f89390765a 100644 (file)
@@ -571,7 +571,6 @@ arm64-dts-meson-g12b-fix-the-pwm-regulator-supply-pr.patch
 arm64-dts-meson-sm1-fix-the-pwm-regulator-supply-pro.patch
 bus-ti-sysc-fix-timekeeping_suspended-warning-on-res.patch
 arm-dts-at91-tse850-the-emac-phy-interface-is-rmii.patch
-mips-ralink-don-t-define-pc_iobase-but-increase-io_s.patch
 arm64-dts-qcom-sc7180-base-dynamic-cpu-power-coeffic.patch
 soc-qcom-llcc-disable-mmuhwt-retention.patch
 scsi-dc395-fix-error-case-unwinding.patch
diff --git a/queue-5.15/mips-ralink-don-t-define-pc_iobase-but-increase-io_s.patch b/queue-5.15/mips-ralink-don-t-define-pc_iobase-but-increase-io_s.patch
deleted file mode 100644 (file)
index f3077b6..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-From 38e92cf76656405e5c5ba7e4e80f4766e9dc0500 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Sun, 22 Aug 2021 18:10:03 +0200
-Subject: MIPS: ralink: don't define PC_IOBASE but increase IO_SPACE_LIMIT
-
-From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
-
-[ Upstream commit 159697474db41732ef3b6c2e8d9395f09d1f659e ]
-
-Defining PCI_IOBASE results in pci resource handling working but the
-addresses generated for IO accesses are wrong since the ioremap in the pci core
-function 'pci_parse_request_of_pci_ranges' tries to remap to a fixed virtual
-address (PC_IOBASE) which can't work for KSEG1 addresses. To get it working this
-way, we would need to put PCI_IOBASE somewhere into KSEG2 which will result in
-creating TLB entries for IO addresses, which most of the time isn't needed on
-MIPS because of access via KSEG1. So avoid to define PCI_IOBASE and increase
-IO_SPACE_LIMIT resource for ralink MIPS platform instead, to get valid IO
-addresses for resources from pci core 'pci_address_to_pio' function.
-
-Fixes: 222b27713d7f ("MIPS: ralink: Define PCI_IOBASE")
-Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
-Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
-Link: https://lore.kernel.org/r/20210822161005.22467-2-sergio.paracuellos@gmail.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- arch/mips/include/asm/mach-ralink/spaces.h | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/arch/mips/include/asm/mach-ralink/spaces.h b/arch/mips/include/asm/mach-ralink/spaces.h
-index 87d085c9ad610..31a3525213cf3 100644
---- a/arch/mips/include/asm/mach-ralink/spaces.h
-+++ b/arch/mips/include/asm/mach-ralink/spaces.h
-@@ -2,9 +2,7 @@
- #ifndef __ASM_MACH_RALINK_SPACES_H_
- #define __ASM_MACH_RALINK_SPACES_H_
--#define PCI_IOBASE    _AC(0xa0000000, UL)
--#define PCI_IOSIZE    SZ_16M
--#define IO_SPACE_LIMIT        (PCI_IOSIZE - 1)
-+#define IO_SPACE_LIMIT        0x1fffffff
- #include <asm/mach-generic/spaces.h>
- #endif
--- 
-2.33.0
-
index 94ed31362760c1a99ca15026be68a507b31571e1..1076100a4bfc278a54e61b93a81af8f3c3460306 100644 (file)
@@ -591,7 +591,6 @@ arm64-dts-meson-g12b-fix-the-pwm-regulator-supply-pr.patch
 arm64-dts-meson-sm1-fix-the-pwm-regulator-supply-pro.patch
 bus-ti-sysc-fix-timekeeping_suspended-warning-on-res.patch
 arm-dts-at91-tse850-the-emac-phy-interface-is-rmii.patch
-mips-ralink-don-t-define-pc_iobase-but-increase-io_s.patch
 arm64-dts-qcom-sc7180-base-dynamic-cpu-power-coeffic.patch
 soc-qcom-llcc-disable-mmuhwt-retention.patch
 arm64-dts-qcom-sc7280-fix-display-port-phy-reg-prope.patch