DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de,
	"Marc Kleine-Budde" <mkl@pengutronix.de>,
	"Uwe Kleine-König" <ukl@pengutronix.de>,
	"Lucas Stach" <l.stach@pengutronix.de>
Cc: "Jan Lübbe" <jlu@pengutronix.de>
Subject: Re: [DistroKit] [PATCH] platform-v8a: kernelconfig: cleanup
Date: Thu, 25 Jan 2024 09:48:28 +0100	[thread overview]
Message-ID: <f5bf1ee1-26c6-438d-9f81-cd4f8f9a2c81@pengutronix.de> (raw)
In-Reply-To: <Za6QTVmjaqHUPUa2@pengutronix.de>

Hello Michael,

On 22.01.24 16:57, Michael Olbrich wrote:
> On Mon, Jan 22, 2024 at 04:01:36PM +0100, Ahmad Fatoum wrote:
>> On 17.01.24 14:56, Michael Olbrich wrote:
>>> -CONFIG_BLK_DEV_INITRD=y
>>> -CONFIG_INITRAMFS_SOURCE=""
>>> -# CONFIG_RD_GZIP is not set
>>> -# CONFIG_RD_BZIP2 is not set
>>> -# CONFIG_RD_LZMA is not set
>>> -# CONFIG_RD_XZ is not set
>>> -# CONFIG_RD_LZO is not set
>>> -# CONFIG_RD_LZ4 is not set
>>> -CONFIG_RD_ZSTD=y
>>> +# CONFIG_BLK_DEV_INITRD is not set
>>
>> We want to keep CONFIG_BLK_DEV_INITRD, so DistroKit systems can easily
>> boot common distros like Debian that ship with an initramfs.
> 
> I was not aware that this is a use-case for DistroKit. I'm not sure how
> that is supposed to work but fine.

It was suggested by Jan IIRC. Maybe he can chime in.

>>> -CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
>>> +# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
>>>  # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
>>>  # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
>>>  # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
>>>  # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
>>> -# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
>>> +CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y
>>
>> Why? The default can be changed later on, but using
>> performance as default allows for faster boot.
> 
> It does? By how much?
> 
> DistroKit does not change the default later so it runs with the maximum
> frequency the whole time. That is not a sane default for me.

That's a good point. As long as we don't change it later on, we shouldn't
be setting it.

>>> -# CONFIG_CMA_DEBUGFS is not set
>>> +CONFIG_CMA_DEBUGFS=y
>>
>> I never used this. What do we need this for given that we don't enable
>> graphic support?
> 
> CMA is not only used by graphics drivers. It's nice to have just in case,
> just like the other debug options we've enabled.

Ok.

>> The Espressobin has an on-board Ethernet switch, but it seems it was
>> not enabled before?
> 
> I'm not sure what makes sense for the Espressobin, that's why I asked Uwe
> to look at that.
> But I mostly disabled this stuff, because it's not actually configured
> anywhere in DistroKit.

Ok.

Cheers,
Ahmad

> 
>>> -CONFIG_PCIE_ROCKCHIP=y
>>> -CONFIG_PCIE_ROCKCHIP_HOST=y
>>> -CONFIG_PCIE_ROCKCHIP_EP=y
>>> -CONFIG_PCI_XGENE=y
>>> -CONFIG_PCI_XGENE_MSI=y
>>> +# CONFIG_PCIE_ROCKCHIP_HOST is not set
>>> +# CONFIG_PCI_XGENE is not set
>>
>> In case someone is wondering too: These are rk3399-specific. rk3568 PCI remains enabled.
> 
> Right. There were several drivers enabled that were not used by any of the
> boards supported by DistroKit.
> 
>> The rest looks ok.
> 
> Regards,
> Michael
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




  reply	other threads:[~2024-01-25  8:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-17 13:56 Michael Olbrich
2024-01-19 16:24 ` Michael Olbrich
2024-01-22 15:01 ` Ahmad Fatoum
2024-01-22 15:57   ` Michael Olbrich
2024-01-25  8:48     ` Ahmad Fatoum [this message]
2024-01-25 10:38       ` Uwe Kleine-König
2024-01-25 10:43     ` Jan Lübbe
2024-01-25 10:57       ` Michael Olbrich
2024-01-22 16:08 ` Uwe Kleine-König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f5bf1ee1-26c6-438d-9f81-cd4f8f9a2c81@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=jlu@pengutronix.de \
    --cc=l.stach@pengutronix.de \
    --cc=mkl@pengutronix.de \
    --cc=ukl@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox