diff mbox series

[8/9] kernel/x86: remove support for AGP

Message ID cef99d7140cf858e75762e5f5d63dcf534cc1b1d.1682539911.git.ehem+openwrt@m5p.com
State New
Headers show
Series (mostly) x86 kernel configuration adjustments | expand

Commit Message

Elliott Mitchell April 13, 2023, 5:47 a.m. UTC
OpenWRT is not a graphics-oriented Linux distribution.  There is no
need for AGP support in any standard OpenWRT kernel.

Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com>
---
 target/linux/x86/64/config-5.10      |  5 -----
 target/linux/x86/64/config-5.15      |  5 -----
 target/linux/x86/generic/config-5.10 | 11 -----------
 target/linux/x86/generic/config-5.15 | 11 -----------
 target/linux/x86/legacy/config-5.10  | 11 -----------
 target/linux/x86/legacy/config-5.15  | 11 -----------
 6 files changed, 54 deletions(-)

Comments

Philip Prindeville April 28, 2023, 4:35 p.m. UTC | #1
Reviewed-by: Philip Prindeville <philipp@redfish-solutions.com>


> On Apr 12, 2023, at 11:47 PM, Elliott Mitchell <ehem+openwrt@m5p.com> wrote:
> 
> OpenWRT is not a graphics-oriented Linux distribution.  There is no
> need for AGP support in any standard OpenWRT kernel.
> 
> Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com>
> ---
> target/linux/x86/64/config-5.10      |  5 -----
> target/linux/x86/64/config-5.15      |  5 -----
> target/linux/x86/generic/config-5.10 | 11 -----------
> target/linux/x86/generic/config-5.15 | 11 -----------
> target/linux/x86/legacy/config-5.10  | 11 -----------
> target/linux/x86/legacy/config-5.15  | 11 -----------
> 6 files changed, 54 deletions(-)
> 
> diff --git a/target/linux/x86/64/config-5.10 b/target/linux/x86/64/config-5.10
> index de93495fb1..b226b347bd 100644
> --- a/target/linux/x86/64/config-5.10
> +++ b/target/linux/x86/64/config-5.10
> @@ -33,11 +33,6 @@ CONFIG_ACPI_THERMAL=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> # CONFIG_ACRN_GUEST is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_AMD64 is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_VIA is not set
> CONFIG_AMD_IOMMU=y
> # CONFIG_AMD_IOMMU_V2 is not set
> CONFIG_ARCH_CPUIDLE_HALTPOLL=y
> diff --git a/target/linux/x86/64/config-5.15 b/target/linux/x86/64/config-5.15
> index 39e5064e53..7f5b80e54a 100644
> --- a/target/linux/x86/64/config-5.15
> +++ b/target/linux/x86/64/config-5.15
> @@ -36,11 +36,6 @@ CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> # CONFIG_ACRN_GUEST is not set
> # CONFIG_ADV_SWBUTTON is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_AMD64 is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_VIA is not set
> CONFIG_AMD_IOMMU=y
> # CONFIG_AMD_IOMMU_V2 is not set
> # CONFIG_AMD_PMC is not set
> diff --git a/target/linux/x86/generic/config-5.10 b/target/linux/x86/generic/config-5.10
> index e53777759b..6da10e3776 100644
> --- a/target/linux/x86/generic/config-5.10
> +++ b/target/linux/x86/generic/config-5.10
> @@ -30,17 +30,6 @@ CONFIG_ACPI_TAD=y
> CONFIG_ACPI_THERMAL=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_ALI is not set
> -# CONFIG_AGP_AMD is not set
> -# CONFIG_AGP_AMD64 is not set
> -# CONFIG_AGP_ATI is not set
> -# CONFIG_AGP_EFFICEON is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_NVIDIA is not set
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_SWORKS is not set
> -# CONFIG_AGP_VIA is not set
> # CONFIG_APM is not set
> CONFIG_ARCH_CPUIDLE_HALTPOLL=y
> CONFIG_ARCH_DMA_ADDR_T_64BIT=y
> diff --git a/target/linux/x86/generic/config-5.15 b/target/linux/x86/generic/config-5.15
> index 5dbd432ce5..491e9737f5 100644
> --- a/target/linux/x86/generic/config-5.15
> +++ b/target/linux/x86/generic/config-5.15
> @@ -31,17 +31,6 @@ CONFIG_ACPI_THERMAL=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> # CONFIG_ADV_SWBUTTON is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_ALI is not set
> -# CONFIG_AGP_AMD is not set
> -# CONFIG_AGP_AMD64 is not set
> -# CONFIG_AGP_ATI is not set
> -# CONFIG_AGP_EFFICEON is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_NVIDIA is not set
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_SWORKS is not set
> -# CONFIG_AGP_VIA is not set
> # CONFIG_AMD_PMC is not set
> # CONFIG_APM is not set
> CONFIG_ARCH_CPUIDLE_HALTPOLL=y
> diff --git a/target/linux/x86/legacy/config-5.10 b/target/linux/x86/legacy/config-5.10
> index 3a44ab45d6..e5284822a5 100644
> --- a/target/linux/x86/legacy/config-5.10
> +++ b/target/linux/x86/legacy/config-5.10
> @@ -27,17 +27,6 @@ CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
> CONFIG_ACPI_THERMAL=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_ALI is not set
> -# CONFIG_AGP_AMD is not set
> -# CONFIG_AGP_AMD64 is not set
> -# CONFIG_AGP_ATI is not set
> -# CONFIG_AGP_EFFICEON is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_NVIDIA is not set
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_SWORKS is not set
> -# CONFIG_AGP_VIA is not set
> CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
> CONFIG_BACKLIGHT_CLASS_DEVICE=y
> CONFIG_BLK_DEV_SR=y
> diff --git a/target/linux/x86/legacy/config-5.15 b/target/linux/x86/legacy/config-5.15
> index 74edf85abd..7e943138d4 100644
> --- a/target/linux/x86/legacy/config-5.15
> +++ b/target/linux/x86/legacy/config-5.15
> @@ -28,17 +28,6 @@ CONFIG_ACPI_THERMAL=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> # CONFIG_ADV_SWBUTTON is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_ALI is not set
> -# CONFIG_AGP_AMD is not set
> -# CONFIG_AGP_AMD64 is not set
> -# CONFIG_AGP_ATI is not set
> -# CONFIG_AGP_EFFICEON is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_NVIDIA is not set
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_SWORKS is not set
> -# CONFIG_AGP_VIA is not set
> # CONFIG_AMD_PMC is not set
> CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
> CONFIG_BACKLIGHT_CLASS_DEVICE=y
> -- 
> (\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
> \BS (    |       ehem+openwrt@m5p.com     PGP 87145445       |    )   /
>  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
> 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
> 
> 
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Philip Prindeville April 28, 2023, 4:35 p.m. UTC | #2
Reviewed-by: Philip Prindeville <philipp@redfish-solutions.com>


> On Apr 12, 2023, at 11:47 PM, Elliott Mitchell <ehem+openwrt@m5p.com> wrote:
> 
> OpenWRT is not a graphics-oriented Linux distribution.  There is no
> need for AGP support in any standard OpenWRT kernel.
> 
> Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com>
> ---
> target/linux/x86/64/config-5.10      |  5 -----
> target/linux/x86/64/config-5.15      |  5 -----
> target/linux/x86/generic/config-5.10 | 11 -----------
> target/linux/x86/generic/config-5.15 | 11 -----------
> target/linux/x86/legacy/config-5.10  | 11 -----------
> target/linux/x86/legacy/config-5.15  | 11 -----------
> 6 files changed, 54 deletions(-)
> 
> diff --git a/target/linux/x86/64/config-5.10 b/target/linux/x86/64/config-5.10
> index de93495fb1..b226b347bd 100644
> --- a/target/linux/x86/64/config-5.10
> +++ b/target/linux/x86/64/config-5.10
> @@ -33,11 +33,6 @@ CONFIG_ACPI_THERMAL=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> # CONFIG_ACRN_GUEST is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_AMD64 is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_VIA is not set
> CONFIG_AMD_IOMMU=y
> # CONFIG_AMD_IOMMU_V2 is not set
> CONFIG_ARCH_CPUIDLE_HALTPOLL=y
> diff --git a/target/linux/x86/64/config-5.15 b/target/linux/x86/64/config-5.15
> index 39e5064e53..7f5b80e54a 100644
> --- a/target/linux/x86/64/config-5.15
> +++ b/target/linux/x86/64/config-5.15
> @@ -36,11 +36,6 @@ CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> # CONFIG_ACRN_GUEST is not set
> # CONFIG_ADV_SWBUTTON is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_AMD64 is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_VIA is not set
> CONFIG_AMD_IOMMU=y
> # CONFIG_AMD_IOMMU_V2 is not set
> # CONFIG_AMD_PMC is not set
> diff --git a/target/linux/x86/generic/config-5.10 b/target/linux/x86/generic/config-5.10
> index e53777759b..6da10e3776 100644
> --- a/target/linux/x86/generic/config-5.10
> +++ b/target/linux/x86/generic/config-5.10
> @@ -30,17 +30,6 @@ CONFIG_ACPI_TAD=y
> CONFIG_ACPI_THERMAL=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_ALI is not set
> -# CONFIG_AGP_AMD is not set
> -# CONFIG_AGP_AMD64 is not set
> -# CONFIG_AGP_ATI is not set
> -# CONFIG_AGP_EFFICEON is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_NVIDIA is not set
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_SWORKS is not set
> -# CONFIG_AGP_VIA is not set
> # CONFIG_APM is not set
> CONFIG_ARCH_CPUIDLE_HALTPOLL=y
> CONFIG_ARCH_DMA_ADDR_T_64BIT=y
> diff --git a/target/linux/x86/generic/config-5.15 b/target/linux/x86/generic/config-5.15
> index 5dbd432ce5..491e9737f5 100644
> --- a/target/linux/x86/generic/config-5.15
> +++ b/target/linux/x86/generic/config-5.15
> @@ -31,17 +31,6 @@ CONFIG_ACPI_THERMAL=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> # CONFIG_ADV_SWBUTTON is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_ALI is not set
> -# CONFIG_AGP_AMD is not set
> -# CONFIG_AGP_AMD64 is not set
> -# CONFIG_AGP_ATI is not set
> -# CONFIG_AGP_EFFICEON is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_NVIDIA is not set
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_SWORKS is not set
> -# CONFIG_AGP_VIA is not set
> # CONFIG_AMD_PMC is not set
> # CONFIG_APM is not set
> CONFIG_ARCH_CPUIDLE_HALTPOLL=y
> diff --git a/target/linux/x86/legacy/config-5.10 b/target/linux/x86/legacy/config-5.10
> index 3a44ab45d6..e5284822a5 100644
> --- a/target/linux/x86/legacy/config-5.10
> +++ b/target/linux/x86/legacy/config-5.10
> @@ -27,17 +27,6 @@ CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
> CONFIG_ACPI_THERMAL=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_ALI is not set
> -# CONFIG_AGP_AMD is not set
> -# CONFIG_AGP_AMD64 is not set
> -# CONFIG_AGP_ATI is not set
> -# CONFIG_AGP_EFFICEON is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_NVIDIA is not set
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_SWORKS is not set
> -# CONFIG_AGP_VIA is not set
> CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
> CONFIG_BACKLIGHT_CLASS_DEVICE=y
> CONFIG_BLK_DEV_SR=y
> diff --git a/target/linux/x86/legacy/config-5.15 b/target/linux/x86/legacy/config-5.15
> index 74edf85abd..7e943138d4 100644
> --- a/target/linux/x86/legacy/config-5.15
> +++ b/target/linux/x86/legacy/config-5.15
> @@ -28,17 +28,6 @@ CONFIG_ACPI_THERMAL=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_WMI is not set
> # CONFIG_ADV_SWBUTTON is not set
> -CONFIG_AGP=y
> -# CONFIG_AGP_ALI is not set
> -# CONFIG_AGP_AMD is not set
> -# CONFIG_AGP_AMD64 is not set
> -# CONFIG_AGP_ATI is not set
> -# CONFIG_AGP_EFFICEON is not set
> -CONFIG_AGP_INTEL=y
> -# CONFIG_AGP_NVIDIA is not set
> -# CONFIG_AGP_SIS is not set
> -# CONFIG_AGP_SWORKS is not set
> -# CONFIG_AGP_VIA is not set
> # CONFIG_AMD_PMC is not set
> CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
> CONFIG_BACKLIGHT_CLASS_DEVICE=y
> -- 
> (\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
> \BS (    |       ehem+openwrt@m5p.com     PGP 87145445       |    )   /
> \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
> 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
> 
> 
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff mbox series

Patch

diff --git a/target/linux/x86/64/config-5.10 b/target/linux/x86/64/config-5.10
index de93495fb1..b226b347bd 100644
--- a/target/linux/x86/64/config-5.10
+++ b/target/linux/x86/64/config-5.10
@@ -33,11 +33,6 @@  CONFIG_ACPI_THERMAL=y
 CONFIG_ACPI_VIDEO=y
 # CONFIG_ACPI_WMI is not set
 # CONFIG_ACRN_GUEST is not set
-CONFIG_AGP=y
-# CONFIG_AGP_AMD64 is not set
-CONFIG_AGP_INTEL=y
-# CONFIG_AGP_SIS is not set
-# CONFIG_AGP_VIA is not set
 CONFIG_AMD_IOMMU=y
 # CONFIG_AMD_IOMMU_V2 is not set
 CONFIG_ARCH_CPUIDLE_HALTPOLL=y
diff --git a/target/linux/x86/64/config-5.15 b/target/linux/x86/64/config-5.15
index 39e5064e53..7f5b80e54a 100644
--- a/target/linux/x86/64/config-5.15
+++ b/target/linux/x86/64/config-5.15
@@ -36,11 +36,6 @@  CONFIG_ACPI_VIDEO=y
 # CONFIG_ACPI_WMI is not set
 # CONFIG_ACRN_GUEST is not set
 # CONFIG_ADV_SWBUTTON is not set
-CONFIG_AGP=y
-# CONFIG_AGP_AMD64 is not set
-CONFIG_AGP_INTEL=y
-# CONFIG_AGP_SIS is not set
-# CONFIG_AGP_VIA is not set
 CONFIG_AMD_IOMMU=y
 # CONFIG_AMD_IOMMU_V2 is not set
 # CONFIG_AMD_PMC is not set
diff --git a/target/linux/x86/generic/config-5.10 b/target/linux/x86/generic/config-5.10
index e53777759b..6da10e3776 100644
--- a/target/linux/x86/generic/config-5.10
+++ b/target/linux/x86/generic/config-5.10
@@ -30,17 +30,6 @@  CONFIG_ACPI_TAD=y
 CONFIG_ACPI_THERMAL=y
 CONFIG_ACPI_VIDEO=y
 # CONFIG_ACPI_WMI is not set
-CONFIG_AGP=y
-# CONFIG_AGP_ALI is not set
-# CONFIG_AGP_AMD is not set
-# CONFIG_AGP_AMD64 is not set
-# CONFIG_AGP_ATI is not set
-# CONFIG_AGP_EFFICEON is not set
-CONFIG_AGP_INTEL=y
-# CONFIG_AGP_NVIDIA is not set
-# CONFIG_AGP_SIS is not set
-# CONFIG_AGP_SWORKS is not set
-# CONFIG_AGP_VIA is not set
 # CONFIG_APM is not set
 CONFIG_ARCH_CPUIDLE_HALTPOLL=y
 CONFIG_ARCH_DMA_ADDR_T_64BIT=y
diff --git a/target/linux/x86/generic/config-5.15 b/target/linux/x86/generic/config-5.15
index 5dbd432ce5..491e9737f5 100644
--- a/target/linux/x86/generic/config-5.15
+++ b/target/linux/x86/generic/config-5.15
@@ -31,17 +31,6 @@  CONFIG_ACPI_THERMAL=y
 CONFIG_ACPI_VIDEO=y
 # CONFIG_ACPI_WMI is not set
 # CONFIG_ADV_SWBUTTON is not set
-CONFIG_AGP=y
-# CONFIG_AGP_ALI is not set
-# CONFIG_AGP_AMD is not set
-# CONFIG_AGP_AMD64 is not set
-# CONFIG_AGP_ATI is not set
-# CONFIG_AGP_EFFICEON is not set
-CONFIG_AGP_INTEL=y
-# CONFIG_AGP_NVIDIA is not set
-# CONFIG_AGP_SIS is not set
-# CONFIG_AGP_SWORKS is not set
-# CONFIG_AGP_VIA is not set
 # CONFIG_AMD_PMC is not set
 # CONFIG_APM is not set
 CONFIG_ARCH_CPUIDLE_HALTPOLL=y
diff --git a/target/linux/x86/legacy/config-5.10 b/target/linux/x86/legacy/config-5.10
index 3a44ab45d6..e5284822a5 100644
--- a/target/linux/x86/legacy/config-5.10
+++ b/target/linux/x86/legacy/config-5.10
@@ -27,17 +27,6 @@  CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
 CONFIG_ACPI_THERMAL=y
 CONFIG_ACPI_VIDEO=y
 # CONFIG_ACPI_WMI is not set
-CONFIG_AGP=y
-# CONFIG_AGP_ALI is not set
-# CONFIG_AGP_AMD is not set
-# CONFIG_AGP_AMD64 is not set
-# CONFIG_AGP_ATI is not set
-# CONFIG_AGP_EFFICEON is not set
-CONFIG_AGP_INTEL=y
-# CONFIG_AGP_NVIDIA is not set
-# CONFIG_AGP_SIS is not set
-# CONFIG_AGP_SWORKS is not set
-# CONFIG_AGP_VIA is not set
 CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
 CONFIG_BACKLIGHT_CLASS_DEVICE=y
 CONFIG_BLK_DEV_SR=y
diff --git a/target/linux/x86/legacy/config-5.15 b/target/linux/x86/legacy/config-5.15
index 74edf85abd..7e943138d4 100644
--- a/target/linux/x86/legacy/config-5.15
+++ b/target/linux/x86/legacy/config-5.15
@@ -28,17 +28,6 @@  CONFIG_ACPI_THERMAL=y
 CONFIG_ACPI_VIDEO=y
 # CONFIG_ACPI_WMI is not set
 # CONFIG_ADV_SWBUTTON is not set
-CONFIG_AGP=y
-# CONFIG_AGP_ALI is not set
-# CONFIG_AGP_AMD is not set
-# CONFIG_AGP_AMD64 is not set
-# CONFIG_AGP_ATI is not set
-# CONFIG_AGP_EFFICEON is not set
-CONFIG_AGP_INTEL=y
-# CONFIG_AGP_NVIDIA is not set
-# CONFIG_AGP_SIS is not set
-# CONFIG_AGP_SWORKS is not set
-# CONFIG_AGP_VIA is not set
 # CONFIG_AMD_PMC is not set
 CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
 CONFIG_BACKLIGHT_CLASS_DEVICE=y