unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Leo Famulari <leo@famulari.name>
Cc: 53619@debbugs.gnu.org
Subject: [bug#53619] [PATCH 0/3] gnu: linux-libre: Build the snd-emu10k1 module.
Date: Sun, 30 Jan 2022 23:45:36 -0500	[thread overview]
Message-ID: <87pmo8343z.fsf@gmail.com> (raw)
In-Reply-To: <YfbjluIKLeuT7LVS@jasmine.lan> (Leo Famulari's message of "Sun, 30 Jan 2022 14:14:30 -0500")

Hi Leo,

Leo Famulari <leo@famulari.name> writes:

> On Sat, Jan 29, 2022 at 10:33:46PM -0500, Maxim Cournoyer wrote:
>> The unrelated changes appear just by running 'make oldconfig' on the
>> master branch:
>
> Understood. If you check the history of the kernel configs, you'll see
> that we try to avoid making unnecessary changes to them within a kernel
> series. I think that practice is an important source of stability for
> Guix System users.

OK!  Thanks for explaining this; I was wondering about which methodology
were used.  It's reasonable.

> So, could you try to make only the changes necessary to make
> your sound card work? You might have to manually edit the config files.
> That is something that we do.
>
> Examples of unnecessary changes:
>
>> -CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
>> +CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.3.0"
>>  CONFIG_CC_IS_GCC=y
>> -CONFIG_GCC_VERSION=110200
>> +CONFIG_GCC_VERSION=100300
>>  CONFIG_CLANG_VERSION=0
>>  CONFIG_AS_IS_GNU=y
>> -CONFIG_AS_VERSION=23400
>> +CONFIG_AS_VERSION=23700
>>  CONFIG_LD_IS_BFD=y
>> -CONFIG_LD_VERSION=23400
>> +CONFIG_LD_VERSION=23700
>>  CONFIG_LLD_VERSION=0>>  CONFIG_CC_CAN_LINK=y
>>  CONFIG_CC_CAN_LINK_STATIC=y
>>  CONFIG_CC_HAS_ASM_GOTO=y
>> -CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
>>  CONFIG_CC_HAS_ASM_INLINE=y
>>  CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y
>>  CONFIG_IRQ_WORK=y

I've dropped that hunk for all touched config files, as well as all the
ones not about CONFIG_SND* options.

>> -CONFIG_X86_PLATFORM_DRIVERS_INTEL=y
>
>> -CONFIG_CC_HAS_ZERO_CALL_USED_REGS=y
>> -# CONFIG_ZERO_CALL_USED_REGS is not set
> ^
> This one disables a new security feature, we definitely don't want to
> disable that.

Ugh.  Not sure why 'make oldconfig' ends up with this.  You'll probably
want to be careful when running it for the next upgrade.

I've adjusted strategy and used grep & sed to add support for the
EMU10K1-based sound cards without the added noise of 'make oldconfig'.

It's interesting to note that EMU10K1 was already enabled for some
configs.

Thank you!

Maxim




  parent reply	other threads:[~2022-01-31  4:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-29  2:30 [bug#53619] [PATCH 0/3] gnu: linux-libre: Build the snd-emu10k1 module Maxim Cournoyer
2022-01-29  2:37 ` [bug#53619] [PATCH 1/3] gnu: linux-libre: Enable CONFIG_ZONE_DMA in all configs Maxim Cournoyer
2022-01-29  2:37   ` [bug#53619] [PATCH 2/3] gnu: linux-libre: Build the snd-emu10k1 kernel module Maxim Cournoyer
2022-01-29  2:37   ` [bug#53619] [PATCH 3/3] gnu: linux-libre: Expose running kernel config as /proc/config.gz Maxim Cournoyer
2022-01-29 18:29 ` [bug#53619] [PATCH 0/3] gnu: linux-libre: Build the snd-emu10k1 module Leo Famulari
2022-01-30  3:33   ` Maxim Cournoyer
2022-01-30 19:14     ` Leo Famulari
2022-01-31  4:42       ` [bug#53619] [PATCH v2 2/3] gnu: linux-libre: Build the snd-emu10k1 kernel module Maxim Cournoyer
2022-01-31  4:45       ` Maxim Cournoyer [this message]
2022-02-06  4:51         ` bug#53619: [PATCH 0/3] gnu: linux-libre: Build the snd-emu10k1 module Maxim Cournoyer
2022-02-07 21:35         ` [bug#53619] " Maxim Cournoyer

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87pmo8343z.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=53619@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).