[PATCH 2/5] ARM: mxs-lradc: Simplify mxs_lradc_trigger_init error handle

2013-07-15 Thread Otavio Salvador
As we have a 'ret' variable with the iio_trigger_register return, this can be used as result. Signed-off-by: Otavio Salvador --- drivers/staging/iio/adc/mxs-lradc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging

[PATCH 2/5] ARM: mxs-lradc: Simplify mxs_lradc_trigger_init error handle

2013-07-15 Thread Otavio Salvador
As we have a 'ret' variable with the iio_trigger_register return, this can be used as result. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- drivers/staging/iio/adc/mxs-lradc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/iio/adc/mxs

[PATCH 5/5] iio: add configuration option for debug support

2013-07-15 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- drivers/iio/Kconfig | 7 +++ drivers/iio/Makefile | 2 ++ 2 files changed, 9 insertions(+) diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig index 9af763a..d1f06f2 100644 --- a/drivers/iio/Kconfig +++ b/drivers/iio/Kconfig

[PATCH 4/5] ARM: dts: imx23-olinuxino: enable Low Resolution ADC

2013-07-15 Thread Otavio Salvador
The i.XM23 has a internal Low Resolution ADC; this enables the support for this device. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- arch/arm/boot/dts/imx23-olinuxino.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot

[PATCH 1/5] ARM: dts: imx23-evk: enable USB PHY and controller

2013-07-15 Thread Otavio Salvador
The i.MX23EVK board provides a USB port so the USB PHY and controller need to be enabled for it to be usable. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- arch/arm/boot/dts/imx23-evk.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx23-evk.dts

[PATCH 3/5] ARM: dts: imx23-evk: enable Low Resolution ADC

2013-07-15 Thread Otavio Salvador
The i.XM23 has a internal Low Resolution ADC; this enables the support for this device. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- arch/arm/boot/dts/imx23-evk.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx23-evk.dts b/arch/arm/boot/dts/imx23

Re: [PATCH 2/5] ARM: mxs-lradc: Simplify mxs_lradc_trigger_init error handle

2013-07-15 Thread Otavio Salvador
On Mon, Jul 15, 2013 at 11:24 AM, Marek Vasut marek.va...@gmail.com wrote: Dear Otavio Salvador, As we have a 'ret' variable with the iio_trigger_register return, this can be used as result. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- drivers/staging/iio/adc/mxs-lradc.c | 6

Re: [PATCH 1/5] ARM: dts: imx23-evk: enable USB PHY and controller

2013-07-15 Thread Otavio Salvador
On Mon, Jul 15, 2013 at 12:39 PM, Fabio Estevam feste...@gmail.com wrote: Hi Otavio, On Mon, Jul 15, 2013 at 11:22 AM, Otavio Salvador ota...@ossystems.com.br wrote: The i.MX23EVK board provides a USB port so the USB PHY and controller need to be enabled for it to be usable. Signed-off

Re: Fwd: mxs-lradc oops when unloading module

2013-06-24 Thread Otavio Salvador
n(+), 1 deletion(-) > > diff --git a/drivers/iio/industrialio-trigger.c > b/drivers/iio/industrialio-trigger.c > index 4d6c7d8..ea8a414 100644 > --- a/drivers/iio/industrialio-trigger.c > +++ b/drivers/iio/industrialio-trigger.c > @@ -104,7 +104,7 @@ void iio_trigger_unregister(st

Re: Fwd: mxs-lradc oops when unloading module

2013-06-24 Thread Otavio Salvador
*trig_info) ida_simple_remove(iio_trigger_ida, trig_info-id); /* Possible issue in here */ - device_unregister(trig_info-dev); + device_del(trig_info-dev); } EXPORT_SYMBOL(iio_trigger_unregister); Tested-by: Otavio Salvador ota...@ossystems.com.br It does fix

Fwd: mxs-lradc oops when unloading module

2013-06-16 Thread Otavio Salvador
_trigger_put(struct iio_trigger *trig) { module_put(trig->ops->owner); put_device(>dev); } so, somehow the trig->ops is NULL here. Do someone has a clue? -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://projetos.ossystems.co

Fwd: mxs-lradc oops when unloading module

2013-06-16 Thread Otavio Salvador
someone has a clue? -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-18 Thread Otavio Salvador
On Mon, Feb 18, 2013 at 7:38 PM, Alan Stern wrote: > On Mon, 18 Feb 2013, Otavio Salvador wrote: > >> >> I thought the ehci-pci module would be load for every ehci PCI; What >> >> do you think? >> > >> > The kernel can't guarantee anything about

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-18 Thread Otavio Salvador
On Mon, Feb 18, 2013 at 7:09 PM, Alan Stern wrote: > On Sun, 10 Feb 2013, Otavio Salvador wrote: > >> On Sun, Feb 10, 2013 at 12:47 PM, Alan Stern >> wrote: >> > On Sun, 10 Feb 2013, Otavio Salvador wrote: >> >> I do have EHCI and PCI enabled so it shou

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-18 Thread Otavio Salvador
On Mon, Feb 18, 2013 at 7:09 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sun, 10 Feb 2013, Otavio Salvador wrote: On Sun, Feb 10, 2013 at 12:47 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sun, 10 Feb 2013, Otavio Salvador wrote: I do have EHCI and PCI enabled so it should

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-18 Thread Otavio Salvador
On Mon, Feb 18, 2013 at 7:38 PM, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 18 Feb 2013, Otavio Salvador wrote: I thought the ehci-pci module would be load for every ehci PCI; What do you think? The kernel can't guarantee anything about what driver modules are loaded. That's

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-10 Thread Otavio Salvador
On Sun, Feb 10, 2013 at 12:47 PM, Alan Stern wrote: > On Sun, 10 Feb 2013, Otavio Salvador wrote: >> I do have EHCI and PCI enabled so it should be working. Any clue about >> why it breaks it? > > Perhaps your system is not loading the new ehci-pci kernel module. Yes; i

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-10 Thread Otavio Salvador
On Sun, Feb 10, 2013 at 12:47 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sun, 10 Feb 2013, Otavio Salvador wrote: I do have EHCI and PCI enabled so it should be working. Any clue about why it breaks it? Perhaps your system is not loading the new ehci-pci kernel module. Yes; it should

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-09 Thread Otavio Salvador
On Sun, Feb 10, 2013 at 1:11 AM, Otavio Salvador wrote: > Hello, > > On Sat, Jan 12, 2013 at 8:41 PM, Otavio Salvador > wrote: >> Today I tried to update my kernel from 3.7.2 to 3.8-rc3 and I had no >> success; I used localmodconfig to generate the .config for my mach

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-09 Thread Otavio Salvador
Hello, On Sat, Jan 12, 2013 at 8:41 PM, Otavio Salvador wrote: > Today I tried to update my kernel from 3.7.2 to 3.8-rc3 and I had no > success; I used localmodconfig to generate the .config for my machine > but keyboard does not work. > > Using same generated .config with 3

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-09 Thread Otavio Salvador
Hello, On Sat, Jan 12, 2013 at 8:41 PM, Otavio Salvador ota...@ossystems.com.br wrote: Today I tried to update my kernel from 3.7.2 to 3.8-rc3 and I had no success; I used localmodconfig to generate the .config for my machine but keyboard does not work. Using same generated .config

Re: Linux 3.8 broken for MacBookAir5,1

2013-02-09 Thread Otavio Salvador
On Sun, Feb 10, 2013 at 1:11 AM, Otavio Salvador ota...@ossystems.com.br wrote: Hello, On Sat, Jan 12, 2013 at 8:41 PM, Otavio Salvador ota...@ossystems.com.br wrote: Today I tried to update my kernel from 3.7.2 to 3.8-rc3 and I had no success; I used localmodconfig to generate the .config

Linux 3.8 broken for MacBookAir5,1

2013-01-12 Thread Otavio Salvador
Hello, Today I tried to update my kernel from 3.7.2 to 3.8-rc3 and I had no success; I used localmodconfig to generate the .config for my machine but keyboard does not work. Using same generated .config with 3.7.2 works fine. Anyone has a clue about? -- Otavio Salvador

Linux 3.8 broken for MacBookAir5,1

2013-01-12 Thread Otavio Salvador
Hello, Today I tried to update my kernel from 3.7.2 to 3.8-rc3 and I had no success; I used localmodconfig to generate the .config for my machine but keyboard does not work. Using same generated .config with 3.7.2 works fine. Anyone has a clue about? -- Otavio Salvador

Re: Boot freeze after/during PCI initialization

2012-08-13 Thread Otavio Salvador
On Mon, Aug 13, 2012 at 10:36 AM, Otavio Salvador wrote: > On Thu, Aug 9, 2012 at 5:00 PM, Otavio Salvador > wrote: >> Hello, >> >> One of machines we have freeze during initialization from time to time: >> >> freeze at: http://download.ossystems.com.

Re: Boot freeze after/during PCI initialization

2012-08-13 Thread Otavio Salvador
On Thu, Aug 9, 2012 at 5:00 PM, Otavio Salvador wrote: > Hello, > > One of machines we have freeze during initialization from time to time: > > freeze at: http://download.ossystems.com.br/~otavio/geode-freeze.jpg > works at: http://download.ossystems.com.br/~otavio/geode

Re: Boot freeze after/during PCI initialization

2012-08-13 Thread Otavio Salvador
On Thu, Aug 9, 2012 at 5:00 PM, Otavio Salvador ota...@ossystems.com.br wrote: Hello, One of machines we have freeze during initialization from time to time: freeze at: http://download.ossystems.com.br/~otavio/geode-freeze.jpg works at: http://download.ossystems.com.br/~otavio/geode-working

Re: Boot freeze after/during PCI initialization

2012-08-13 Thread Otavio Salvador
On Mon, Aug 13, 2012 at 10:36 AM, Otavio Salvador ota...@ossystems.com.br wrote: On Thu, Aug 9, 2012 at 5:00 PM, Otavio Salvador ota...@ossystems.com.br wrote: Hello, One of machines we have freeze during initialization from time to time: freeze at: http://download.ossystems.com.br/~otavio

Re: oops when using git gc --auto

2008-02-26 Thread Otavio Salvador
Nick Piggin <[EMAIL PROTECTED]> writes: > On Wednesday 27 February 2008 00:22, Otavio Salvador wrote: >> Hello, >> >> Today I got this oops, someone has an idea of what's going wrong? >> >> Unable to handle kernel paging request at 02

Re: oops when using git gc --auto

2008-02-26 Thread Otavio Salvador
Nick Piggin <[EMAIL PROTECTED]> writes: > On Wednesday 27 February 2008 00:22, Otavio Salvador wrote: >> Hello, >> >> Today I got this oops, someone has an idea of what's going wrong? >> >> Unable to handle kernel paging request at 02

oops when using git gc --auto

2008-02-26 Thread Otavio Salvador
Hello, Today I got this oops, someone has an idea of what's going wrong? Unable to handle kernel paging request at 0200 RIP: [] find_get_pages+0x3c/0x69 PGD 0 Oops: [1] SMP CPU 3 Modules linked in: sha256_generic aes_generic aes_x86_64 cbc blkcipher nvidia(P) rfcomm l2cap

oops when using git gc --auto

2008-02-26 Thread Otavio Salvador
Hello, Today I got this oops, someone has an idea of what's going wrong? Unable to handle kernel paging request at 0200 RIP: [802735c3] find_get_pages+0x3c/0x69 PGD 0 Oops: [1] SMP CPU 3 Modules linked in: sha256_generic aes_generic aes_x86_64 cbc blkcipher

Re: oops when using git gc --auto

2008-02-26 Thread Otavio Salvador
Nick Piggin [EMAIL PROTECTED] writes: On Wednesday 27 February 2008 00:22, Otavio Salvador wrote: Hello, Today I got this oops, someone has an idea of what's going wrong? Unable to handle kernel paging request at 0200 RIP: [802735c3] find_get_pages+0x3c/0x69

Re: oops when using git gc --auto

2008-02-26 Thread Otavio Salvador
Nick Piggin [EMAIL PROTECTED] writes: On Wednesday 27 February 2008 00:22, Otavio Salvador wrote: Hello, Today I got this oops, someone has an idea of what's going wrong? Unable to handle kernel paging request at 0200 RIP: [802735c3] find_get_pages+0x3c/0x69

Re: USB looks to be restarting

2008-01-24 Thread Otavio Salvador
Alan Stern <[EMAIL PROTECTED]> writes: >> > Does someone has any idea how to solve it? > > Unplug the device attached to port 2 of bus 1. Apparently it is > spontaneously disconnecting and reconnecting itself over and over. The machine power suply had problem and then it needed to be replace.

Re: USB looks to be restarting

2008-01-24 Thread Otavio Salvador
Alan Stern [EMAIL PROTECTED] writes: Does someone has any idea how to solve it? Unplug the device attached to port 2 of bus 1. Apparently it is spontaneously disconnecting and reconnecting itself over and over. The machine power suply had problem and then it needed to be replace. Doing it

Re: [stable] 2.6.23 regression: top displaying 9999% CPU usage

2007-10-30 Thread Otavio Salvador
Ingo Molnar <[EMAIL PROTECTED]> writes: > * Frans Pop <[EMAIL PROTECTED]> wrote: > >> On Monday 29 October 2007, Balbir Singh wrote: >> > We'll also need this additional patch (untested), >> >> OK. Both patches together do the trick. Gave it a nice long test run and got >> no more weirdness. >>

Re: [stable] 2.6.23 regression: top displaying 9999% CPU usage

2007-10-30 Thread Otavio Salvador
Ingo Molnar [EMAIL PROTECTED] writes: * Frans Pop [EMAIL PROTECTED] wrote: On Monday 29 October 2007, Balbir Singh wrote: We'll also need this additional patch (untested), OK. Both patches together do the trick. Gave it a nice long test run and got no more weirdness. Tested-by: Frans

Re: Build Failure with 2.6.24-rc1

2007-10-24 Thread Otavio Salvador
Chris Holvenstot <[EMAIL PROTECTED]> writes: > When attempting to build the 2.6.24-rc1 kernel: > > > arch/x86/kernel/built-in.o: In function `smp_send_nmi_allbutself': > /build/linux/arch/x86/kernel/crash.c:85: undefined reference to > `genapic' > make: *** [.tmp_vmlinux1] Error 1 Use the patch

Re: Build Failure with 2.6.24-rc1

2007-10-24 Thread Otavio Salvador
Chris Holvenstot [EMAIL PROTECTED] writes: When attempting to build the 2.6.24-rc1 kernel: arch/x86/kernel/built-in.o: In function `smp_send_nmi_allbutself': /build/linux/arch/x86/kernel/crash.c:85: undefined reference to `genapic' make: *** [.tmp_vmlinux1] Error 1 Use the patch that Ingo

Re: [PATCH] Add PM_TRACE x86_64 support.

2007-02-07 Thread Otavio Salvador
Nigel Cunningham <[EMAIL PROTECTED]> writes: > - for (tracedata = &__tracedata_start ; tracedata < &__tracedata_end ; > tracedata += 6) { > + for (tracedata = &__tracedata_start ; tracedata < &__tracedata_end ; > tracedata += 2 + sizeof(unsigned long)) { Could you split this line? --

Re: PROBLEM: sata timeouts with intel 82801HB on amd64

2007-02-07 Thread Otavio Salvador
"Trevor Offner Caira" <[EMAIL PROTECTED]> writes: > (3) Keywords: SATA, AHCI, modules, kernel, Intel. Does your systems is being run using ata_piix or ahci driver? -- O T A V I OS A L V A D O R - E-mail: [EMAIL PROTECTED] UIN:

Re: PROBLEM: sata timeouts with intel 82801HB on amd64

2007-02-07 Thread Otavio Salvador
Trevor Offner Caira [EMAIL PROTECTED] writes: (3) Keywords: SATA, AHCI, modules, kernel, Intel. Does your systems is being run using ata_piix or ahci driver? -- O T A V I OS A L V A D O R - E-mail: [EMAIL PROTECTED] UIN: 5906116

Re: [PATCH] Add PM_TRACE x86_64 support.

2007-02-07 Thread Otavio Salvador
Nigel Cunningham [EMAIL PROTECTED] writes: - for (tracedata = __tracedata_start ; tracedata __tracedata_end ; tracedata += 6) { + for (tracedata = __tracedata_start ; tracedata __tracedata_end ; tracedata += 2 + sizeof(unsigned long)) { Could you split this line? -- O T

<    1   2   3