Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NONE for ALL, and ALL for NONE



Manuel Bouyer <bouyer%antioche.eu.org@localhost> writes:

> On Wed, Dec 05, 2018 at 01:40:58AM +0530, Cherry G.Mathew wrote:
>> Hello,
>> 
>> I was paring down GENERIC to see if I could build a kernel without
>> ACPI/MPBIOS - and voila - it's still possible! (with a few nits here and
>> there).
>> 
>> In the spirit of yin/yang, I thought this was a fun provide a minimalist
>> configuration without these, and the following suggestion seemed
>> inspiring:
>> 
>> <jak> well, we do have a ALL, maybe we need a NONE
>> 
>> (disclaimer: <jak> may or may not resemble anyone in real life, with or
>> without above opinion).
>> 
>> One interesting outcome of this exercise was to tease out cross subsystem
>> dependencies that have slowly crept in - for eg: PCI vs. MSI.
>> 
>> I've added a patch below for your entertainment, but more seriously, I'm
>> wondering what people think about having a "NONE" kernel - something
>> with just the very basic code needed to boot on the least common
>> denominator x86 platform - real or emulated.
>
> I think you could take one more step and get rid of PCI entirely.
> pciide should show up as wdc0 at isa, and vga should show up at isa too

I left it there as a test for platform PCI support (without ACPI or
MPBIOS). It's possible to just comment it out.

I suppose a lot more can be culled. Thoughts ?
-- 
~~cherry


Attachment: NONE
Description: Binary data



Home | Main Index | Thread Index | Old Index