All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 4/5] USB Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm
@ 2008-01-05 15:42 Al Boldi
  2008-01-05 18:46 ` David Brownell
  2008-01-05 19:20 ` Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm] Sam Ravnborg
  0 siblings, 2 replies; 7+ messages in thread
From: Al Boldi @ 2008-01-05 15:42 UTC (permalink / raw)
  To: linux-usb; +Cc: linux-kernel, David Brownell, Greg KH, Andrew Morton


From: David Brownell <david-b@pacbell.net>

Source "drivers/usb/gadget/Kconfig" for ARCH=arm.


Cc: David Brownell <david-b@pacbell.net>
Cc: Greg KH <greg@kroah.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Boldi <a1426z@gawab.com>

---

--- 23.a/arch/arm/Kconfig
+++ 23.b/arch/arm/Kconfig
@@ -1049,6 +1049,8 @@ source "drivers/hid/Kconfig"
 
 source "drivers/usb/Kconfig"
 
+source "drivers/usb/gadget/Kconfig"
+
 source "drivers/mmc/Kconfig"
 
 source "drivers/rtc/Kconfig"


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

* Re: [PATCH 4/5] USB Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm
  2008-01-05 15:42 [PATCH 4/5] USB Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm Al Boldi
@ 2008-01-05 18:46 ` David Brownell
  2008-01-05 19:20 ` Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm] Sam Ravnborg
  1 sibling, 0 replies; 7+ messages in thread
From: David Brownell @ 2008-01-05 18:46 UTC (permalink / raw)
  To: Al Boldi; +Cc: linux-usb, linux-kernel, Greg KH, Andrew Morton


> --- 23.a/arch/arm/Kconfig
> +++ 23.b/arch/arm/Kconfig
> @@ -1049,6 +1049,8 @@ source "drivers/hid/Kconfig"
>  
>  source "drivers/usb/Kconfig"
>  
> +source "drivers/usb/gadget/Kconfig"
> +
>  source "drivers/mmc/Kconfig"
>  
>  source "drivers/rtc/Kconfig"
> 


Better IMO to include such updates with the patch that reorganizes
that part of the menu ... it's conceptually a single change, and
fragmenting it will cause bisection problems.

In fact, moving the gadget Kconfig in a separate step would make
your main changes more clear too.
 

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

* Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm]
  2008-01-05 15:42 [PATCH 4/5] USB Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm Al Boldi
  2008-01-05 18:46 ` David Brownell
@ 2008-01-05 19:20 ` Sam Ravnborg
  2008-01-05 20:31   ` Russell King
  1 sibling, 1 reply; 7+ messages in thread
From: Sam Ravnborg @ 2008-01-05 19:20 UTC (permalink / raw)
  To: Al Boldi, Russell King, linux-arm-kernel
  Cc: linux-usb, linux-kernel, David Brownell, Greg KH, Andrew Morton

On Sat, Jan 05, 2008 at 06:42:52PM +0300, Al Boldi wrote:
> 
> From: David Brownell <david-b@pacbell.net>
> 
> Source "drivers/usb/gadget/Kconfig" for ARCH=arm.
> 
> 
> Cc: David Brownell <david-b@pacbell.net>
> Cc: Greg KH <greg@kroah.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Al Boldi <a1426z@gawab.com>
> 
> ---
> 
> --- 23.a/arch/arm/Kconfig
> +++ 23.b/arch/arm/Kconfig
> @@ -1049,6 +1049,8 @@ source "drivers/hid/Kconfig"
>  
>  source "drivers/usb/Kconfig"
>  
> +source "drivers/usb/gadget/Kconfig"
> +
>  source "drivers/mmc/Kconfig"
>  
>  source "drivers/rtc/Kconfig"

What is preventing ARM from using drivers/Kconfig?
That a better fix IMO.

	Sam

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

* Re: Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm]
  2008-01-05 19:20 ` Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm] Sam Ravnborg
@ 2008-01-05 20:31   ` Russell King
  2008-01-05 20:54     ` Sam Ravnborg
  2008-01-05 22:09     ` Arnd Bergmann
  0 siblings, 2 replies; 7+ messages in thread
From: Russell King @ 2008-01-05 20:31 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: Al Boldi, linux-arm-kernel, linux-usb, linux-kernel,
	David Brownell, Greg KH, Andrew Morton

On Sat, Jan 05, 2008 at 08:20:00PM +0100, Sam Ravnborg wrote:
> On Sat, Jan 05, 2008 at 06:42:52PM +0300, Al Boldi wrote:
> > 
> > From: David Brownell <david-b@pacbell.net>
> > 
> > Source "drivers/usb/gadget/Kconfig" for ARCH=arm.
> > 
> > 
> > Cc: David Brownell <david-b@pacbell.net>
> > Cc: Greg KH <greg@kroah.com>
> > Cc: Andrew Morton <akpm@linux-foundation.org>
> > Signed-off-by: Al Boldi <a1426z@gawab.com>
> > 
> > ---
> > 
> > --- 23.a/arch/arm/Kconfig
> > +++ 23.b/arch/arm/Kconfig
> > @@ -1049,6 +1049,8 @@ source "drivers/hid/Kconfig"
> >  
> >  source "drivers/usb/Kconfig"
> >  
> > +source "drivers/usb/gadget/Kconfig"
> > +
> >  source "drivers/mmc/Kconfig"
> >  
> >  source "drivers/rtc/Kconfig"
> 
> What is preventing ARM from using drivers/Kconfig?
> That a better fix IMO.

Not everything in drivers/ is suitable for every ARM configuration.  It
was felt at the time better for ARM to remain separate because people
didn't want to pollute drivers/Kconfig with the ARM specific conditionals.

(mtd is conditional because it's not supported on ARM CPUs without
alignment trap support.)

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

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

* Re: Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm]
  2008-01-05 20:31   ` Russell King
@ 2008-01-05 20:54     ` Sam Ravnborg
  2008-01-05 21:09       ` Russell King
  2008-01-05 22:09     ` Arnd Bergmann
  1 sibling, 1 reply; 7+ messages in thread
From: Sam Ravnborg @ 2008-01-05 20:54 UTC (permalink / raw)
  To: Russell King
  Cc: Al Boldi, linux-arm-kernel, linux-usb, linux-kernel,
	David Brownell, Greg KH, Andrew Morton

On Sat, Jan 05, 2008 at 08:31:24PM +0000, Russell King wrote:
> On Sat, Jan 05, 2008 at 08:20:00PM +0100, Sam Ravnborg wrote:
> > On Sat, Jan 05, 2008 at 06:42:52PM +0300, Al Boldi wrote:
> > > 
> > > From: David Brownell <david-b@pacbell.net>
> > > 
> > > Source "drivers/usb/gadget/Kconfig" for ARCH=arm.
> > > 
> > > 
> > > Cc: David Brownell <david-b@pacbell.net>
> > > Cc: Greg KH <greg@kroah.com>
> > > Cc: Andrew Morton <akpm@linux-foundation.org>
> > > Signed-off-by: Al Boldi <a1426z@gawab.com>
> > > 
> > > ---
> > > 
> > > --- 23.a/arch/arm/Kconfig
> > > +++ 23.b/arch/arm/Kconfig
> > > @@ -1049,6 +1049,8 @@ source "drivers/hid/Kconfig"
> > >  
> > >  source "drivers/usb/Kconfig"
> > >  
> > > +source "drivers/usb/gadget/Kconfig"
> > > +
> > >  source "drivers/mmc/Kconfig"
> > >  
> > >  source "drivers/rtc/Kconfig"
> > 
> > What is preventing ARM from using drivers/Kconfig?
> > That a better fix IMO.
> 
> Not everything in drivers/ is suitable for every ARM configuration.  It
> was felt at the time better for ARM to remain separate because people
> didn't want to pollute drivers/Kconfig with the ARM specific conditionals.
> 
Today we would have used HAVE_ for the problematic parts and thus
it would have been easy to not select what ARM does not support.
But unfortunately thats not how it got designed.


It would be nice to revist one day to see how much is actually needed
to cleanly supprt ARM in drivers/Kconfig.

	Sam

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

* Re: Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm]
  2008-01-05 20:54     ` Sam Ravnborg
@ 2008-01-05 21:09       ` Russell King
  0 siblings, 0 replies; 7+ messages in thread
From: Russell King @ 2008-01-05 21:09 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: Al Boldi, linux-arm-kernel, linux-usb, linux-kernel,
	David Brownell, Greg KH, Andrew Morton

On Sat, Jan 05, 2008 at 09:54:24PM +0100, Sam Ravnborg wrote:
> On Sat, Jan 05, 2008 at 08:31:24PM +0000, Russell King wrote:
> > Not everything in drivers/ is suitable for every ARM configuration.  It
> > was felt at the time better for ARM to remain separate because people
> > didn't want to pollute drivers/Kconfig with the ARM specific conditionals.
> > 
> Today we would have used HAVE_ for the problematic parts and thus
> it would have been easy to not select what ARM does not support.
> But unfortunately thats not how it got designed.
> 
> 
> It would be nice to revist one day to see how much is actually needed
> to cleanly supprt ARM in drivers/Kconfig.

You could diff the two Kconfig files - I try to keep them so they list
the same Kconfigs in the same order to keep the diff size down.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

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

* Re: Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm]
  2008-01-05 20:31   ` Russell King
  2008-01-05 20:54     ` Sam Ravnborg
@ 2008-01-05 22:09     ` Arnd Bergmann
  1 sibling, 0 replies; 7+ messages in thread
From: Arnd Bergmann @ 2008-01-05 22:09 UTC (permalink / raw)
  To: Russell King
  Cc: Sam Ravnborg, Al Boldi, linux-arm-kernel, linux-usb,
	linux-kernel, David Brownell, Greg KH, Andrew Morton

On Saturday 05 January 2008, Russell King wrote:
> Not everything in drivers/ is suitable for every ARM configuration.  It
> was felt at the time better for ARM to remain separate because people
> didn't want to pollute drivers/Kconfig with the ARM specific conditionals.

We made drivers/Kconfig work for s390 in the meantime, which is far more
special than arm in this regard, so I think you should try to give it
another go.

What are the main obstacles on arm that prevent you from building these
drivers?

	Arnd <><

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

end of thread, other threads:[~2008-01-05 22:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-05 15:42 [PATCH 4/5] USB Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm Al Boldi
2008-01-05 18:46 ` David Brownell
2008-01-05 19:20 ` Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm] Sam Ravnborg
2008-01-05 20:31   ` Russell King
2008-01-05 20:54     ` Sam Ravnborg
2008-01-05 21:09       ` Russell King
2008-01-05 22:09     ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.