mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Multiple undefined configuration options are dependent in Kconfig under the v6.3-rc4 drivers directory
@ 2023-03-29  7:52 孙滢
  2023-03-29 22:34 ` Damien Le Moal
  0 siblings, 1 reply; 5+ messages in thread
From: 孙滢 @ 2023-03-29  7:52 UTC (permalink / raw)
  To: linux-ide, linux-kernel, greybus-dev

It has been discovered that the following configuration options are undefined in the current latest version, v6.3-rc4, yet they are being relied upon by other configuration options in multiple Kconfig files:

MIPS_BAIKAL_T1 is undefined, used as a 'depends on' condition in multiple files such as drivers/ata/Kconfig, drivers/hwmon/Kconfig, drivers/bus/Kconfig, and drivers/memory/Kconfig.
MFD_MAX597X is undefined, used as a 'depends on' condition in Kconfig file drivers/regulator/Kconfig.
MFD_SM5703 is undefined, used as a 'depends on' condition in Kconfig file drivers/regulator/Kconfig.
ARCH_THUNDERBAY is undefined, used as a 'depends on' condition in Kconfig files drivers/pinctrl/Kconfig and drivers/phy/intel/Kconfig.
ARCH_BCM4908 is undefined, used as a 'depends on' condition in Kconfig file drivers/leds/blink/Kconfig.
MFD_TN48M_CPLD is undefined, used as a 'depends on' condition in Kconfig files drivers/gpio/Kconfig and drivers/reset/Kconfig. 
USB_HSIC_USB3613 is undefined, used as a 'depends on' condition in drivers/staging/greybus/Kconfig and drivers/staging/greybus/arche-platform.c.

If these 7 configuration options are deprecated, it is recommended to remove the dependencies on them in the Kconfig files. 
If they are still useful, it is recommended to define them.


Best regards,
Ying Sun
Pengpeng Hou
Yanjie Ren

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Multiple undefined configuration options are dependent in Kconfig under the v6.3-rc4 drivers directory
  2023-03-29  7:52 Multiple undefined configuration options are dependent in Kconfig under the v6.3-rc4 drivers directory 孙滢
@ 2023-03-29 22:34 ` Damien Le Moal
  2023-04-10 23:40   ` Serge Semin
  0 siblings, 1 reply; 5+ messages in thread
From: Damien Le Moal @ 2023-03-29 22:34 UTC (permalink / raw)
  To: 孙滢,
	linux-ide, linux-kernel, greybus-dev, Linux ARM, linux-mips

On 3/29/23 16:52, 孙滢 wrote:
> It has been discovered that the following configuration options are undefined in the current latest version, v6.3-rc4, yet they are being relied upon by other configuration options in multiple Kconfig files:
> 
> MIPS_BAIKAL_T1 is undefined, used as a 'depends on' condition in multiple files such as drivers/ata/Kconfig, drivers/hwmon/Kconfig, drivers/bus/Kconfig, and drivers/memory/Kconfig.
> MFD_MAX597X is undefined, used as a 'depends on' condition in Kconfig file drivers/regulator/Kconfig.
> MFD_SM5703 is undefined, used as a 'depends on' condition in Kconfig file drivers/regulator/Kconfig.
> ARCH_THUNDERBAY is undefined, used as a 'depends on' condition in Kconfig files drivers/pinctrl/Kconfig and drivers/phy/intel/Kconfig.
> ARCH_BCM4908 is undefined, used as a 'depends on' condition in Kconfig file drivers/leds/blink/Kconfig.
> MFD_TN48M_CPLD is undefined, used as a 'depends on' condition in Kconfig files drivers/gpio/Kconfig and drivers/reset/Kconfig. 
> USB_HSIC_USB3613 is undefined, used as a 'depends on' condition in drivers/staging/greybus/Kconfig and drivers/staging/greybus/arche-platform.c.
> 
> If these 7 configuration options are deprecated, it is recommended to remove the dependencies on them in the Kconfig files. 
> If they are still useful, it is recommended to define them.

+ linux-arm & linux-mips

What about you send patches to fix this ?

> 
> 
> Best regards,
> Ying Sun
> Pengpeng Hou
> Yanjie Ren

-- 
Damien Le Moal
Western Digital Research


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Multiple undefined configuration options are dependent in Kconfig under the v6.3-rc4 drivers directory
  2023-03-29 22:34 ` Damien Le Moal
@ 2023-04-10 23:40   ` Serge Semin
  2023-04-14  8:18     ` Jiaxun Yang
  0 siblings, 1 reply; 5+ messages in thread
From: Serge Semin @ 2023-04-10 23:40 UTC (permalink / raw)
  To: Damien Le Moal, sunying
  Cc: Damien Le Moal, linux-ide, linux-kernel, greybus-dev, Linux ARM,
	linux-mips

On Thu, Mar 30, 2023 at 07:34:58AM +0900, Damien Le Moal wrote:
> On 3/29/23 16:52, 孙滢 wrote:
> > It has been discovered that the following configuration options are undefined in the current latest version, v6.3-rc4, yet they are being relied upon by other configuration options in multiple Kconfig files:
> > 
> > MIPS_BAIKAL_T1 is undefined, used as a 'depends on' condition in multiple files such as drivers/ata/Kconfig, drivers/hwmon/Kconfig, drivers/bus/Kconfig, and drivers/memory/Kconfig.
> > MFD_MAX597X is undefined, used as a 'depends on' condition in Kconfig file drivers/regulator/Kconfig.
> > MFD_SM5703 is undefined, used as a 'depends on' condition in Kconfig file drivers/regulator/Kconfig.
> > ARCH_THUNDERBAY is undefined, used as a 'depends on' condition in Kconfig files drivers/pinctrl/Kconfig and drivers/phy/intel/Kconfig.
> > ARCH_BCM4908 is undefined, used as a 'depends on' condition in Kconfig file drivers/leds/blink/Kconfig.
> > MFD_TN48M_CPLD is undefined, used as a 'depends on' condition in Kconfig files drivers/gpio/Kconfig and drivers/reset/Kconfig. 
> > USB_HSIC_USB3613 is undefined, used as a 'depends on' condition in drivers/staging/greybus/Kconfig and drivers/staging/greybus/arche-platform.c.

Please, don't drop the MIPS_BAIKAL_T1 config. It will be defined and
thus utilized after I submit the SoC CSP support to the MIPS arch.

-Serge(y)

> > 
> > If these 7 configuration options are deprecated, it is recommended to remove the dependencies on them in the Kconfig files. 
> > If they are still useful, it is recommended to define them.
> 
> + linux-arm & linux-mips
> 
> What about you send patches to fix this ?
> 
> > 
> > 
> > Best regards,
> > Ying Sun
> > Pengpeng Hou
> > Yanjie Ren
> 
> -- 
> Damien Le Moal
> Western Digital Research
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Multiple undefined configuration options are dependent in Kconfig under the v6.3-rc4 drivers directory
  2023-04-10 23:40   ` Serge Semin
@ 2023-04-14  8:18     ` Jiaxun Yang
  2023-04-21 13:19       ` Serge Semin
  0 siblings, 1 reply; 5+ messages in thread
From: Jiaxun Yang @ 2023-04-14  8:18 UTC (permalink / raw)
  To: Serge Semin; +Cc: linux-kernel, linux-mips



> 2023年4月11日 00:40,Serge Semin <fancer.lancer@gmail.com> 写道:
> 
> On Thu, Mar 30, 2023 at 07:34:58AM +0900, Damien Le Moal wrote:
>> On 3/29/23 16:52, 孙滢 wrote:
>>> It has been discovered that the following configuration options are undefined in the current latest version, v6.3-rc4, yet they are being relied upon by other configuration options in multiple Kconfig files:
>>> 
>>> MIPS_BAIKAL_T1 is undefined, used as a 'depends on' condition in multiple files such as drivers/ata/Kconfig, drivers/hwmon/Kconfig, drivers/bus/Kconfig, and drivers/memory/Kconfig.
>>> MFD_MAX597X is undefined, used as a 'depends on' condition in Kconfig file drivers/regulator/Kconfig.
>>> MFD_SM5703 is undefined, used as a 'depends on' condition in Kconfig file drivers/regulator/Kconfig.
>>> ARCH_THUNDERBAY is undefined, used as a 'depends on' condition in Kconfig files drivers/pinctrl/Kconfig and drivers/phy/intel/Kconfig.
>>> ARCH_BCM4908 is undefined, used as a 'depends on' condition in Kconfig file drivers/leds/blink/Kconfig.
>>> MFD_TN48M_CPLD is undefined, used as a 'depends on' condition in Kconfig files drivers/gpio/Kconfig and drivers/reset/Kconfig. 
>>> USB_HSIC_USB3613 is undefined, used as a 'depends on' condition in drivers/staging/greybus/Kconfig and drivers/staging/greybus/arche-platform.c.
> 
> Please, don't drop the MIPS_BAIKAL_T1 config. It will be defined and
> thus utilized after I submit the SoC CSP support to the MIPS arch.

Hi Serge,

Is there any special support at MIPS arch level required by Baikal T1?

I think MIPS32R5 generic kernel should fit your purpose? You can easily add some “workaround”
under generic kernel framework as well.

Thanks
Jiaxun





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Multiple undefined configuration options are dependent in Kconfig under the v6.3-rc4 drivers directory
  2023-04-14  8:18     ` Jiaxun Yang
@ 2023-04-21 13:19       ` Serge Semin
  0 siblings, 0 replies; 5+ messages in thread
From: Serge Semin @ 2023-04-21 13:19 UTC (permalink / raw)
  To: Jiaxun Yang; +Cc: linux-kernel, linux-mips

On Fri, Apr 14, 2023 at 09:18:20AM +0100, Jiaxun Yang wrote:
> 
> 
> > 2023年4月11日 00:40,Serge Semin <fancer.lancer@gmail.com> 写道:
> > 
> > On Thu, Mar 30, 2023 at 07:34:58AM +0900, Damien Le Moal wrote:
> >> On 3/29/23 16:52, 孙滢 wrote:
> >>> It has been discovered that the following configuration options are undefined in the current latest version, v6.3-rc4, yet they are being relied upon by other configuration options in multiple Kconfig files:
> >>> 
> >>> MIPS_BAIKAL_T1 is undefined, used as a 'depends on' condition in multiple files such as drivers/ata/Kconfig, drivers/hwmon/Kconfig, drivers/bus/Kconfig, and drivers/memory/Kconfig.
> >>> MFD_MAX597X is undefined, used as a 'depends on' condition in Kconfig file drivers/regulator/Kconfig.
> >>> MFD_SM5703 is undefined, used as a 'depends on' condition in Kconfig file drivers/regulator/Kconfig.
> >>> ARCH_THUNDERBAY is undefined, used as a 'depends on' condition in Kconfig files drivers/pinctrl/Kconfig and drivers/phy/intel/Kconfig.
> >>> ARCH_BCM4908 is undefined, used as a 'depends on' condition in Kconfig file drivers/leds/blink/Kconfig.
> >>> MFD_TN48M_CPLD is undefined, used as a 'depends on' condition in Kconfig files drivers/gpio/Kconfig and drivers/reset/Kconfig. 
> >>> USB_HSIC_USB3613 is undefined, used as a 'depends on' condition in drivers/staging/greybus/Kconfig and drivers/staging/greybus/arche-platform.c.
> > 
> > Please, don't drop the MIPS_BAIKAL_T1 config. It will be defined and
> > thus utilized after I submit the SoC CSP support to the MIPS arch.
> 

> Hi Serge,
> 
> Is there any special support at MIPS arch level required by Baikal T1?
> 
> I think MIPS32R5 generic kernel should fit your purpose? You can easily add some “workaround”
> under generic kernel framework as well.

Alas there are multiple configs specific to our chip. So the MIPS
generic sub-module won't workout our needs at the current state. I'll
have a better look at it when time comes (whether it's possible to fix
it up somehow) but meanwhile it's better to retain the MIPS_BAIKAL_T1
config in the drivers.

-Serge(y)

> 
> Thanks
> Jiaxun
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-21 13:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-29  7:52 Multiple undefined configuration options are dependent in Kconfig under the v6.3-rc4 drivers directory 孙滢
2023-03-29 22:34 ` Damien Le Moal
2023-04-10 23:40   ` Serge Semin
2023-04-14  8:18     ` Jiaxun Yang
2023-04-21 13:19       ` Serge Semin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®