Re: Objective of OpenWRT/x86?

2023-04-26 Thread Joseph Mullally
One nice feature for users of the "x86/64" and similar builds are that they work out of the box on most generic hardware or virtualization platforms. I use it on real hardware and KVM with device passthrough, and it was very easy to set up. I'm guessing this is far more common than speculative high

Re: [PATCH 0/9] (mostly) x86 kernel configuration adjustments

2023-04-26 Thread Stefan Lippers-Hollmann
Hi On 2023-04-26, Elliott Mitchell wrote: > On Thu, Apr 27, 2023 at 01:11:13AM +0200, Stefan Lippers-Hollmann wrote: > > On 2023-04-26, Elliott Mitchell wrote: > > [...] > > > > > > Looks like little of ISA remained on "64", yet some DMA support remained > > > due to the generic configuration. R

Re: [PATCH 0/9] (mostly) x86 kernel configuration adjustments

2023-04-26 Thread Elliott Mitchell
On Thu, Apr 27, 2023 at 01:11:13AM +0200, Stefan Lippers-Hollmann wrote: > On 2023-04-26, Elliott Mitchell wrote: > [...] > > > > Looks like little of ISA remained on "64", yet some DMA support remained > > due to the generic configuration. Remove the ISA and ISA DMA support > > from the top-leve

Re: [PATCH 9/9] kernel/x86: remove DRM support

2023-04-26 Thread Elliott Mitchell
On Thu, Apr 27, 2023 at 12:50:52AM +0200, Stefan Lippers-Hollmann wrote: > On 2023-04-19, Elliott Mitchell wrote: > > Direct Rendering Manager is mainly for running X (possibly Wayland > > too). As OpenWRT is meant for networking devices, there is no need > > for the support to be present. > > Th

Re: [PATCH 6/9] kernel/x86: enable x32 support for amd64

2023-04-26 Thread Elliott Mitchell
On Thu, Apr 27, 2023 at 12:46:49AM +0200, Stefan Lippers-Hollmann wrote: > > On 2023-03-30, Elliott Mitchell wrote: > > Full amd64 support isn't really appropriate for most situations > > OpenWRT is deployed. Whereas x86-x32 seems extremely appropriate for > > these situations. As such enable x8

Re: [PATCH 0/9] (mostly) x86 kernel configuration adjustments

2023-04-26 Thread Stefan Lippers-Hollmann
On 2023-04-26, Elliott Mitchell wrote: [...] > > Looks like little of ISA remained on "64", yet some DMA support remained > due to the generic configuration. Remove the ISA and ISA DMA support > from the top-level configuration. Geode and Legacy though almost > certainly still need ISA support.

Re: [PATCH 1/9] kernel/generic: remove CONFIG_FB_NOTIFY

2023-04-26 Thread Elliott Mitchell
On Tue, Apr 25, 2023 at 04:23:20PM -0700, Elliott Mitchell wrote: > I don't know what version of Linux this option disappeared at, but > it is clearly gone now. Then when I try to find it again (`find build_dir/target-$targ/linux-$targ/linux-5.15.108 -name Kconfig\* -print0 | xargs -0 grep -eFB_N

Re: [PATCH 9/9] kernel/x86: remove DRM support

2023-04-26 Thread Stefan Lippers-Hollmann
Hi On 2023-04-19, Elliott Mitchell wrote: > Direct Rendering Manager is mainly for running X (possibly Wayland > too). As OpenWRT is meant for networking devices, there is no need > for the support to be present. That is only partially true, the Linux kernel is making a strong push away from dep

Re: [PATCH 6/9] kernel/x86: enable x32 support for amd64

2023-04-26 Thread Stefan Lippers-Hollmann
Hi On 2023-03-30, Elliott Mitchell wrote: > Full amd64 support isn't really appropriate for most situations > OpenWRT is deployed. Whereas x86-x32 seems extremely appropriate for > these situations. As such enable x86-x32 support. > > CONFIG_ARCH_MMAP_RND_COMPAT_BITS is required to follow along

[PATCH 9/9] kernel/x86: remove DRM support

2023-04-26 Thread Elliott Mitchell
Direct Rendering Manager is mainly for running X (possibly Wayland too). As OpenWRT is meant for networking devices, there is no need for the support to be present. Signed-off-by: Elliott Mitchell --- target/linux/x86/64/config-5.10 | 40 target/linux/x86/64/co

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

2023-04-26 Thread Elliott Mitchell
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 --- target/linux/x86/64/config-5.10 | 5 - target/linux/x86/64/config-5.15 | 5 - target/linux/x86/generic/config-5.10 | 11

[PATCH 7/9] kernel/x86: remove all ISA support from non-legacy

2023-04-26 Thread Elliott Mitchell
While some older PCI motherboard might emulate some functions via ISA, actual ISA is absent from anything non-legacy. Move ISA DMA enabling to Geode and Legacy. Signed-off-by: Elliott Mitchell --- Question here is how far to go with removing ISA support? Certainly it is appropriate to keep for

[PATCH 6/9] kernel/x86: enable x32 support for amd64

2023-04-26 Thread Elliott Mitchell
Full amd64 support isn't really appropriate for most situations OpenWRT is deployed. Whereas x86-x32 seems extremely appropriate for these situations. As such enable x86-x32 support. CONFIG_ARCH_MMAP_RND_COMPAT_BITS is required to follow along, otherwise the kernel build breaks. Signed-off-by:

[PATCH 5/9] kernel/x86: remove CONFIG_M686 from common configuration

2023-04-26 Thread Elliott Mitchell
All of the sublevels choose their own values, so there is no point in the common file having anything. This also removes a warning from the kernel build process. Signed-off-by: Elliott Mitchell --- target/linux/x86/config-5.10 | 2 +- target/linux/x86/config-5.15 | 2 +- target/

[PATCH 4/9] kernel/x86: move SCx200 support from generic to geode

2023-04-26 Thread Elliott Mitchell
The SCx200 is part of the Geode platform. As such generic x86 doesn't need the driver, but Geode does. Signed-off-by: Elliott Mitchell --- target/linux/x86/config-5.10 | 5 + target/linux/x86/config-5.15 | 5 + target/linux/x86/geode/config-5.10 | 3 +++ target/linux/x86/geo

[PATCH 3/9] kernel/x86: move Geode HW random from generic to geode

2023-04-26 Thread Elliott Mitchell
Quite reasonable to have support for the Geode HW random number generator. On the Geode kernel. Support for the VIA HWRNG has been enabled in common. Pull that from the Geode kernel. Signed-off-by: Elliott Mitchell --- target/linux/x86/config-5.10 | 1 - target/linux/x86/config-5.15

[PATCH 1/9] kernel/generic: remove CONFIG_FB_NOTIFY

2023-04-26 Thread Elliott Mitchell
I don't know what version of Linux this option disappeared at, but it is clearly gone now. Signed-off-by: Elliott Mitchell --- target/linux/generic/config-5.10 | 1 - target/linux/generic/config-5.15 | 1 - 2 files changed, 2 deletions(-) diff --git a/target/linux/generic/config-5.10 b/target/l

[PATCH 2/8] kernel/x86: move SCx200 support from generic to geode

2023-04-26 Thread Elliott Mitchell
The SCx200 is part of the Geode platform. As such generic x86 doesn't need the driver, but Geode does. Signed-off-by: Elliott Mitchell --- target/linux/x86/config-5.10 | 5 + target/linux/x86/config-5.15 | 5 + target/linux/x86/geode/config-5.10 | 3 +++ target/linux/x86/geo

[PATCH 2/9] kernel: change CONFIG_HW_RANDOM default to y

2023-04-26 Thread Elliott Mitchell
Many devices do not have hardware random number generators. Yet more do than don't, and they are becoming more common. Signed-off-by: Elliott Mitchell --- target/linux/airoha/config-5.15 | 1 - target/linux/apm821xx/config-5.10 | 1 - target/linux/apm821xx/config-5.15

[PATCH 1/8] kernel/x86: remove CONFIG_M686 from common configuration

2023-04-26 Thread Elliott Mitchell
All of the sublevels choose their own values, so there is no point in the common file having anything. This also removes a warning from the kernel build process. Signed-off-by: Elliott Mitchell --- target/linux/x86/config-5.10 | 2 +- target/linux/x86/config-5.15 | 2 +- 2 files changed, 2 inse

[PATCH 0/9] (mostly) x86 kernel configuration adjustments

2023-04-26 Thread Elliott Mitchell
I've been mentioning the issue several times, but the OpenWRT x86 builds really don't seem to fit well. As such several x86 kernel configuration adjustments I think are appropriate. First, a side issue. The "# CONFIG_ is not set" was meant for use by tools. Theory being almost all options would

Objective of OpenWRT/x86?

2023-04-26 Thread Elliott Mitchell
Well, was a specific objective ever chosen for the x86 version of OpenWRT? I can state my goal/hope for OpenWRT/x86. The *WRT Linux distributions were so named for originally targeting the LinkSys WRT54G. This was a small AP, so one might expect builds to be for small APs. By today's standards

Proposal regarding handling of kernel configs

2023-04-26 Thread Elliott Mitchell
I propose changing how kernel configuration files are handled in Git. Specifically, I propose all targets on the development branch should *always* have "config-" and "config-" files. When development moves off the older kernel, the configuration file should be kept until the configuration file fo

Re: [PATCH] ipq40xx: add PCIe magic hack to improve VRX518 compatibility

2023-04-26 Thread Paul D
On 2023-04-25 16:12, Jan Hoffmann wrote: On 2023-01-30 at 23:40, Jan Hoffmann wrote: Some VRX518 modems fail to initialize properly with the error message "dc_ep_clk_on failed". As a result, the DSL data path doesn't work. This hack, which is based on code from the FRITZ!Box 7530 GPL archive, f