[PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture - Kernel

This is a discussion on [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture - Kernel ; On Thu, Feb 07, 2008 at 09:23:29PM +0100, Sam Ravnborg wrote: > On Thu, Feb 07, 2008 at 04:05:58PM +0000, Russell King - ARM Linux wrote: > > On Thu, Feb 07, 2008 at 04:09:34PM +0100, Marcin Juszkiewicz wrote: > ...

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 21 to 30 of 30

Thread: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

  1. Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

    On Thu, Feb 07, 2008 at 09:23:29PM +0100, Sam Ravnborg wrote:
    > On Thu, Feb 07, 2008 at 04:05:58PM +0000, Russell King - ARM Linux wrote:
    > > On Thu, Feb 07, 2008 at 04:09:34PM +0100, Marcin Juszkiewicz wrote:
    > > > Dnia Thursday, 7 of February 2008, Sam Ravnborg napisał:
    > > > > On Thu, Feb 07, 2008 at 07:58:24AM -0500, Christoph Hellwig wrote:
    > > >
    > > > > > Any chance to make arm finally use drivers/Kconfig? It's a bit silly
    > > > > > that arm still is crapping around while even s390 uses it.
    > > >
    > > > > rmk said that it should be easy to check the amount of work needed to
    > > > > do so. But I have not had time to look into it yet - hopefully someone
    > > > > in ARM land could fix it.
    > > >
    > > > I looked at it and 'arch/arm/Kconfig' does not source few entries:

    > >
    > > diff -u arch/arm/Kconfig drivers/Kconfig shows the situation. This is
    > > why I insist that new entries to arch/arm/Kconfig should be in the same
    > > order as drivers/Kconfig.
    > >
    > > > Including of 'drivers/mtd' depends on "ALIGNMENT_TRAP || !CPU_CP15_MMU".

    > >
    > > It's this which is the main issue.
    > >
    > > > Including of 'drivers/ide' depends on "PCMCIA || ARCH_CLPS7500 ||
    > > > ARCH_IOP32X || ARCH_IOP33X || ARCH_IXP4XX || ARCH_L7200 ||
    > > > ARCH_LH7A40X || ARCH_PXA || ARCH_RPC || ARCH_S3C2410 || ARCH_SA1100 ||
    > > > ARCH_SHARK || FOOTBRIDGE || ARCH_IXP23XX" but 'drivers/ata' (which can be
    > > > used instead on PCMCIA enabled platforms) does not depend on such set.

    > >
    > > IDE people insisted that we _will_ have that silly conditional for IDE.
    > > I personally do not want it and would be happy to see it go - but I
    > > don't have the authority to do that. Take this one up with Bart.

    >
    > Both situations are trivially fixable by introducing
    > HAVE_IDE and HAVE_MTD.
    > See attached patch.
    >
    > My quick scan told me that only S390 and UM did not
    > support IDE neither MTD.
    > ARM is the only one where IDE and MTD support is conditional
    > and the rest you select them unconditionally.


    Quick status on this.
    I have submitted a corrected patch containing only the
    HAVE_IDE stuff via kbuild.git and considering the
    comment from David the mtd bits are trivial done.
    So I expect someone that better can check the arm stuff
    to do the final conversion bits to introduce drivers/Kconfig
    when kbuild.git hits mainline.

    Sam
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

    Am Thu, 7 Feb 2008 14:12:36 +0100
    schrieb Hans-Jürgen Koch :

    AFAICT, this patch was neither rejected nor applied. It generated a
    long thread about changing the whole ARM Kconfig system. I feel not
    qualified to do that, but I still want UIO available on ARM ;-)
    What can I do to help?

    Thanks,
    Hans

    > From: Hans J Koch
    > To: linux-kernel@vger.kernel.org
    > Cc: linux-arm-kernel@lists.arm.linux.org.uk
    > Cc: Greg KH
    > Subject: arch/arm/Kconfig: Make UIO available on ARM architecture
    >
    > Source drivers/uio/Kconfig to make UIO available in menuconfig if
    > ARCH=arm.
    >
    > Signed-off-by: Hans J Koch
    > ---
    > arch/arm/Kconfig | 2 ++
    > 1 file changed, 2 insertions(+)
    >
    > Index: linux-2.6/arch/arm/Kconfig
    > ================================================== =================
    > --- linux-2.6.orig/arch/arm/Kconfig 2008-02-07
    > 13:57:58.000000000 +0100 +++ linux-2.6/arch/arm/Kconfig
    > 2008-02-07 14:08:46.000000000 +0100 @@ -1159,6 +1159,8 @@
    >
    > source "drivers/dca/Kconfig"
    >
    > +source "drivers/uio/Kconfig"
    > +
    > endmenu
    >
    > source "fs/Kconfig"
    >
    > --
    > To unsubscribe from this list: send the line "unsubscribe
    > linux-kernel" in the body of a message to majordomo@vger.kernel.org
    > More majordomo info at http://vger.kernel.org/majordomo-info.html
    > Please read the FAQ at http://www.tux.org/lkml/

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  3. Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

    On Mon, Feb 11, 2008 at 09:25:47AM +0100, Hans-Jürgen Koch wrote:
    > Am Thu, 7 Feb 2008 14:12:36 +0100
    > schrieb Hans-Jürgen Koch :
    >
    > AFAICT, this patch was neither rejected nor applied. It generated a
    > long thread about changing the whole ARM Kconfig system. I feel not
    > qualified to do that, but I still want UIO available on ARM ;-)
    > What can I do to help?


    I think we can just do like this. That will bring in a few device
    drives that does not make much sense on arm but does it matter?

    And we are then in sync with the rest of the archs.

    Sam

    diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
    index 9619c43..64629dd 100644
    --- a/arch/arm/Kconfig
    +++ b/arch/arm/Kconfig
    @@ -1087,91 +1087,7 @@ endmenu

    source "net/Kconfig"

    -menu "Device Drivers"
    -
    -source "drivers/base/Kconfig"
    -
    -source "drivers/connector/Kconfig"
    -
    -if ALIGNMENT_TRAP || !CPU_CP15_MMU
    -source "drivers/mtd/Kconfig"
    -endif
    -
    -source "drivers/parport/Kconfig"
    -
    -source "drivers/pnp/Kconfig"
    -
    -source "drivers/block/Kconfig"
    -
    -# misc before ide - BLK_DEV_SGIIOC4 depends on SGI_IOC4
    -
    -source "drivers/misc/Kconfig"
    -
    -source "drivers/ide/Kconfig"
    -
    -source "drivers/scsi/Kconfig"
    -
    -source "drivers/ata/Kconfig"
    -
    -source "drivers/md/Kconfig"
    -
    -source "drivers/message/fusion/Kconfig"
    -
    -source "drivers/ieee1394/Kconfig"
    -
    -source "drivers/message/i2o/Kconfig"
    -
    -source "drivers/net/Kconfig"
    -
    -source "drivers/isdn/Kconfig"
    -
    -# input before char - char/joystick depends on it. As does USB.
    -
    -source "drivers/input/Kconfig"
    -
    -source "drivers/char/Kconfig"
    -
    -source "drivers/i2c/Kconfig"
    -
    -source "drivers/spi/Kconfig"
    -
    -source "drivers/gpio/Kconfig"
    -
    -source "drivers/w1/Kconfig"
    -
    -source "drivers/power/Kconfig"
    -
    -source "drivers/hwmon/Kconfig"
    -
    -source "drivers/watchdog/Kconfig"
    -
    -source "drivers/ssb/Kconfig"
    -
    -#source "drivers/l3/Kconfig"
    -
    -source "drivers/mfd/Kconfig"
    -
    -source "drivers/media/Kconfig"
    -
    -source "drivers/video/Kconfig"
    -
    -source "sound/Kconfig"
    -
    -source "drivers/hid/Kconfig"
    -
    -source "drivers/usb/Kconfig"
    -
    -source "drivers/mmc/Kconfig"
    -
    -source "drivers/leds/Kconfig"
    -
    -source "drivers/rtc/Kconfig"
    -
    -source "drivers/dma/Kconfig"
    -
    -source "drivers/dca/Kconfig"
    -
    -endmenu
    +source "drivers/Kconfig"

    source "fs/Kconfig"

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  4. Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture


    Russell King - ARM Linux wrote:
    > On Fri, Feb 08, 2008 at 10:43:42AM +0000, David Woodhouse wrote:
    >> On Fri, 2008-02-08 at 10:23 +0000, Russell King - ARM Linux wrote:
    >>> That would be misleading though - !CPU_CP15_MMU does not mean we
    >>> support unaligned accesses. It means that we may have no way to
    >>> support fixing up unaligned accesses.

    >> Doesn't that mean you should disallow MTD (or at least 16-bit NOR flash)
    >> if !CPU_CP15_MMU, then? But at the moment you allow it?

    >
    > Ask Hyok or Greg Ungerer.


    I would agree that it means disabling 16-bit NOR flash, but the 8-bit
    case should be fine right?

    A complete disable of MTD seems like overkill. A more fine grained
    approach would be better.

    Regards
    Greg



    ------------------------------------------------------------------------
    Greg Ungerer -- Chief Software Dude EMAIL: gerg@snapgear.com
    Secure Computing Corporation PHONE: +61 7 3435 2888
    825 Stanley St, FAX: +61 7 3891 3630
    Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  5. Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

    Hello,

    Hans-Jürgen Koch wrote:
    > Am Thu, 7 Feb 2008 14:12:36 +0100
    > schrieb Hans-Jürgen Koch :
    >
    > AFAICT, this patch was neither rejected nor applied. It generated a
    > long thread about changing the whole ARM Kconfig system. I feel not
    > qualified to do that, but I still want UIO available on ARM ;-)
    > What can I do to help?

    Anything new here?

    In my eyes this can be sent to the patch system.

    Russell?

    Best regards
    Uwe

    --
    Uwe Kleine-König, Software Engineer
    Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
    Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  6. Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

    On Thu, Apr 10, 2008 at 02:21:27PM +0200, Uwe Kleine-König wrote:
    > Hello,
    >
    > Hans-Jürgen Koch wrote:
    > > Am Thu, 7 Feb 2008 14:12:36 +0100
    > > schrieb Hans-Jürgen Koch :
    > >
    > > AFAICT, this patch was neither rejected nor applied. It generated a
    > > long thread about changing the whole ARM Kconfig system. I feel not
    > > qualified to do that, but I still want UIO available on ARM ;-)
    > > What can I do to help?

    > Anything new here?
    >
    > In my eyes this can be sent to the patch system.


    I don't remember anything about this...
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  7. Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

    Hi Russell,

    Russell King - ARM Linux wrote:
    > On Thu, Apr 10, 2008 at 02:21:27PM +0200, Uwe Kleine-König wrote:
    > > Hello,
    > >
    > > Hans-Jürgen Koch wrote:
    > > > Am Thu, 7 Feb 2008 14:12:36 +0100
    > > > schrieb Hans-Jürgen Koch :
    > > >
    > > > AFAICT, this patch was neither rejected nor applied. It generated a
    > > > long thread about changing the whole ARM Kconfig system. I feel not
    > > > qualified to do that, but I still want UIO available on ARM ;-)
    > > > What can I do to help?

    > > Anything new here?
    > >
    > > In my eyes this can be sent to the patch system.

    >
    > I don't remember anything about this...

    I don't know how I should understand your statement. Does this only
    comment on my suggestion to send it to the patch system or on the patch
    itself?

    After Hans-Jürgen addressed your concerns about the order in
    arch/arm/Kconfig compared to drivers/Kconfig there was no addional
    feedback (apart from the discussion about including drivers/Kconfig in
    arch/arm/Kconfig).

    I consider the patch good until arch/arm/Kconfig includes
    drivers/Kconfig (if ever).

    As it is a while that the discussion took place, here is the thread in
    the archive:

    http://lists.arm.linux.org.uk/lurker...8cd1bd.en.html

    and the following post includes the last version of the patch:

    http://lists.arm.linux.org.uk/lurker...4f4569.en.html

    Best regards
    Uwe

    --
    Uwe Kleine-König, Software Engineer
    Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
    Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  8. Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

    On Thu, Apr 10, 2008 at 02:57:09PM +0200, Uwe Kleine-König wrote:
    > After Hans-Jürgen addressed your concerns about the order in
    > arch/arm/Kconfig compared to drivers/Kconfig there was no addional
    > feedback (apart from the discussion about including drivers/Kconfig in
    > arch/arm/Kconfig).


    Ah, that issue (a brief synopsis helps!)

    > and the following post includes the last version of the patch:
    >
    > http://lists.arm.linux.org.uk/lurker...4f4569.en.html


    That looks fine.
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  9. Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

    Hello Jürgen,

    > > and the following post includes the last version of the patch:
    > >
    > > http://lists.arm.linux.org.uk/lurker...4f4569.en.html

    >
    > That looks fine.

    Do you want to post the patch to the patch system? If yes you can add
    an Acked-by: me; if no I can do it, too.

    Best regards
    Uwe

    --
    Uwe Kleine-König, Software Engineer
    Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
    Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  10. Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

    Hi rmk

    On Thu, Apr 10, 2008 at 01:27:06PM +0100, Russell King - ARM Linux wrote:
    > On Thu, Apr 10, 2008 at 02:21:27PM +0200, Uwe Kleine-König wrote:
    > > Hello,
    > >
    > > Hans-Jürgen Koch wrote:
    > > > Am Thu, 7 Feb 2008 14:12:36 +0100
    > > > schrieb Hans-Jürgen Koch :
    > > >
    > > > AFAICT, this patch was neither rejected nor applied. It generated a
    > > > long thread about changing the whole ARM Kconfig system. I feel not
    > > > qualified to do that, but I still want UIO available on ARM ;-)
    > > > What can I do to help?

    > > Anything new here?
    > >
    > > In my eyes this can be sent to the patch system.

    >
    > I don't remember anything about this...


    When this topic was last discussed we looked into what prevented
    ARM from using the generic drivers/Kconfig.
    The conclusion was that only IDE and MTD did so.
    The IDE issue was quickly fixed in upstream by introducing HAVE_IDE
    and the MTD issue were concluded to be a non-issue.

    So there should not be any problems left to my best knowledge to
    use the generic drivers/Kconfig for arm.

    Sam
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2