Comment 32 for bug 1808418

Revision history for this message
bmaupin (bmaupin) wrote :

I'm still seeing this same behaviour for the 5.3 kernel.

I'm just now getting back to this, and I think I'm going to need some hand holding...

> Try changing IRQ configs (CONFIG_GENERIC_IRQ_MIGRATION=y to =n) and i2c-designware's (CONFIG_I2C_DESIGNWARE_CORE=y to =m).

I copied the 4.13.0 configuration from here to .config and modified those two options:

curl https://launchpadlibrarian.net/414616578/config-4.13.0-041300rc1-generic > .config
cp .config .config.bak
sed -i 's/CONFIG_GENERIC_IRQ_MIGRATION=.*/CONFIG_GENERIC_IRQ_MIGRATION=n/' .config
sed -i 's/CONFIG_I2C_DESIGNWARE_CORE=.*/CONFIG_I2C_DESIGNWARE_CORE=m/' .config

Now I can confirm the changes:

$ diff .config.bak .config
92c92
< CONFIG_GENERIC_IRQ_MIGRATION=y
---
> CONFIG_GENERIC_IRQ_MIGRATION=n
4073c4073
< CONFIG_I2C_DESIGNWARE_CORE=y
---
> CONFIG_I2C_DESIGNWARE_CORE=m

However, when I build the kernel and look at the .config file, both of them seem to be reverted.

The same thing happens if I run make oldconfig; the changes aren't preserved.

I can't find them either using make menuconfig. I just see this:

│ Symbol: GENERIC_IRQ_MIGRATION [=y] │
  │ Type : boolean │
  │ Defined at kernel/irq/Kconfig:38 │
  │ Selected by: X86 [=y] && SMP [=y]

  │ Symbol: I2C_DESIGNWARE_CORE [=y] │
  │ Type : tristate │
  │ Defined at drivers/i2c/busses/Kconfig:480 │
  │ Depends on: I2C [=y] && HAS_IOMEM [=y] │
  │ Selected by: I2C_DESIGNWARE_PLATFORM [=y] && I2C [=y] && HAS_IOMEM [=y] && (ACPI [=y] && COMMON_CLK [=y] || !ACPI [=y]) || I2C_DESIGNWARE

How can I override these two values?

Thanks!