* x86/Kconfig: where to place a new chipset
@ 2011-10-27 1:17 Alessandro Rubini
2011-10-27 5:54 ` H. Peter Anvin
0 siblings, 1 reply; 2+ messages in thread
From: Alessandro Rubini @ 2011-10-27 1:17 UTC (permalink / raw)
To: linux-kernel; +Cc: tglx, mingo, hpa, x86, giancarlo.asnaghi
Hello.
I'm currently working on a PCIe chipset (or IO-Hub), called STA2X11.
The device hosts a number of peripherals (sata, ether, spi, uart, ...)
and a DMA controller. The individual PCI functions can't be enabled
by themselves, as chip support must be activated first. This is both
because some internal mappings must be setup and because internal
device functions rely on the internal DMA engine. Actually, an
instance of swiotlb is being used.
While I'm sure core code should be in arch/x86/platform (and there is
where I placed the initialization code), I'm wondering where should
the device fall in the Kconfig tree. I tend to put it in the
X86_32_NON_STANDARD stanza, even if the resulting kernel will also
work on standard computers (the "SGI Visual Workstation" config option
does the same).
On the other hand, the device can either be the core chipset (main use
case) or it can be plugged on a PCIe board.
Any suggestion is welcome about Kconfig placement. Being a "vi
.config" and "make oldconfig" kind of guy, I can't really understand
the manu layout, so I'm finding a hard time in making a sensible
choice.
thanks
/alessandro
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: x86/Kconfig: where to place a new chipset
2011-10-27 1:17 x86/Kconfig: where to place a new chipset Alessandro Rubini
@ 2011-10-27 5:54 ` H. Peter Anvin
0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2011-10-27 5:54 UTC (permalink / raw)
To: Alessandro Rubini; +Cc: linux-kernel, tglx, mingo, x86, giancarlo.asnaghi
On 10/27/2011 03:17 AM, Alessandro Rubini wrote:
> Hello.
>
> I'm currently working on a PCIe chipset (or IO-Hub), called STA2X11.
> The device hosts a number of peripherals (sata, ether, spi, uart, ...)
> and a DMA controller. The individual PCI functions can't be enabled
> by themselves, as chip support must be activated first. This is both
> because some internal mappings must be setup and because internal
> device functions rely on the internal DMA engine. Actually, an
> instance of swiotlb is being used.
>
> While I'm sure core code should be in arch/x86/platform (and there is
> where I placed the initialization code), I'm wondering where should
> the device fall in the Kconfig tree. I tend to put it in the
> X86_32_NON_STANDARD stanza, even if the resulting kernel will also
> work on standard computers (the "SGI Visual Workstation" config option
> does the same).
>
> On the other hand, the device can either be the core chipset (main use
> case) or it can be plugged on a PCIe board.
>
The nonstandard platform location seems fine to me.
-hpa
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-27 5:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-27 1:17 x86/Kconfig: where to place a new chipset Alessandro Rubini
2011-10-27 5:54 ` H. Peter Anvin
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 NNTP newsgroup(s).