https://bugzilla.kernel.org/show_bug.cgi?id=88801
--- Comment #44 from ingvarthorv...@gmail.com ---
First yes you can use kgb if you have a second system and can mount the
debugged system over serial. On the other hand remove this line:
ap->pflags = ATA_PFLAG_PIO32 | ATA_PFLAG_PIO32CHANGE;
from
https://bugzilla.kernel.org/show_bug.cgi?id=88801
--- Comment #42 from Elmar Stellnberger ---
Isn`t there any better way to debug this? If the backtrace does not give you
enough information isn`t there something like kdb that can generate core files
/ analyse variables
Hi Russell,
Russell King writes:
> Add a simple, generic, single register fixed-direction GPIO driver.
> This is able to support a single register where a fixed number of
> bits are used for input and a fixed number of bits used for output.
>
> Signed-off-by: Russell
On Mon, Aug 29, 2016 at 09:57:20PM +0200, Robert Jarzmik wrote:
> Russell King writes:
> If gpio_reg_init() failed (and I know, the probability of a lack of memory at
> that stage of the kernel boot is ridiculous), this will end up as an NULL
> pointer dereference if
On Mon, Aug 29, 2016 at 09:39:54PM +0200, Robert Jarzmik wrote:
> Hi Russell,
>
> Russell King writes:
>
> > Add a simple, generic, single register fixed-direction GPIO driver.
> > This is able to support a single register where a fixed number of
> > bits are used
https://bugzilla.kernel.org/show_bug.cgi?id=88801
--- Comment #46 from ingvarthorv...@gmail.com ---
That probably is the issue. Seems that it was either ports or flags not being
set correctly. After tracing for a bit that was conclusion, just checking if
removing the line fixes the issue or do be
https://bugzilla.kernel.org/show_bug.cgi?id=88801
--- Comment #41 from Elmar Stellnberger ---
dropped to initrd, no fs mountable, keyboard not working.
--
You are receiving this mail because:
You are the assignee for the bug.
Further to the DS suspend/resume fix, here's a few more for SA11x0/PXA.
drivers/pcmcia/sa11xx_base.c | 8
drivers/pcmcia/soc_common.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for
Use the MAX1600 power switch driver for Neponset.
Signed-off-by: Russell King
---
drivers/pcmcia/Kconfig | 1 +
drivers/pcmcia/sa_neponset.c | 79 ++--
2 files changed, 20 insertions(+), 60 deletions(-)
diff --git
Convert the low level PCMCIA driver to gpiod APIs for controlling
the socket power.
Signed-off-by: Russell King
---
arch/arm/mach-sa1100/jornada720.c | 12 ++
drivers/pcmcia/sa_jornada720.c | 81 +-
2 files changed, 66
Provide generic non-voltage sensing socket support for StrongARM
platforms using the gpiolib and regulator subsystems to obtain the
resources to control the socket.
Signed-off-by: Russell King
---
drivers/pcmcia/sa1100_generic.c | 120
Switch to a per-socket cpufreq notifier rather than a global notifier.
This allows each socket to be self-contained.
Signed-off-by: Russell King
---
drivers/pcmcia/soc_common.c | 77 ++---
drivers/pcmcia/soc_common.h | 3 ++
2
Following on from the PCMCIA fixes, this series reworks GPIO on SA11x0
and PXA platforms. This is a subset of a larger series, which I'm
splitting up due to its size. This part contains the base and PCMCIA
updates. Further updates for IrDA drivers, DMA engine, serial, and
ethernet will follow
Now that we have migrated all users of the legacy private SA gpio
interfaces, we can remove these redundant interfaces.
Signed-off-by: Russell King
---
arch/arm/common/sa.c | 59 --
Fix the reporting of the currently programmed timing information. These
entries have been showing zero due to the clock rate being a factor of
1000 too big. With this change, we go from:
I/O : 165 (0)
attribute: 300 (0)
common : 300 (0)
to:
I/O : 165 (172)
attribute: 300 (316)
Add units to the timing information, so we know that the numbers are
nanoseconds. The output changes from:
I/O : 165 (172)
attribute: 300 (316)
common : 300 (316)
to:
I/O : 165ns (172ns)
attribute: 300ns (316ns)
common : 300ns (316ns)
Signed-off-by: Russell King
SS_STSCHG should be set for an IO card when the BVD1 signal is asserted
low, not high.
Signed-off-by: Russell King
---
drivers/pcmcia/soc_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pcmcia/soc_common.c
Add a simple, generic, single register fixed-direction GPIO driver.
This is able to support a single register where a fixed number of
bits are used for input and a fixed number of bits used for output.
Signed-off-by: Russell King
---
drivers/gpio/Kconfig | 6 ++
Add a GPIO driver for the board control register/board status register
for the sa1100/assabet platform. This allows us to transition a range
of drivers to use the gpiod APIs rather than the platform private
ASSABET_BCR_* interfaces.
Signed-off-by: Russell King
---
Add a gpio driver for the lubbock miscellaneous write IO register so we
can take advantage of subsystems modelled around gpiolib, rather than
having to provide platform specific callbacks.
Signed-off-by: Russell King
---
arch/arm/mach-pxa/Kconfig | 1 +
Switch to using the gpiod_* consumer API rather than the legacy API.
Signed-off-by: Russell King
---
drivers/pcmcia/soc_common.c | 57 +
drivers/pcmcia/soc_common.h | 3 +++
2 files changed, 45 insertions(+), 15
Signed-off-by: Russell King
---
drivers/gpio/gpio-sa1100.c | 199 -
1 file changed, 124 insertions(+), 75 deletions(-)
diff --git a/drivers/gpio/gpio-sa1100.c b/drivers/gpio/gpio-sa1100.c
index fb9d52a57d78..bad0169524c9
Use sa11x0_gpio_set_wake() to set the PWER register, as provided by
Dmitry some time back.
Signed-off-by: Russell King
---
drivers/gpio/gpio-sa1100.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/drivers/gpio/gpio-sa1100.c
Convert nanoengine to use the generic CF socket support.
Signed-off-by: Russell King
---
arch/arm/mach-sa1100/nanoengine.c | 23 +++
drivers/pcmcia/sa1100_generic.c| 3 -
drivers/pcmcia/sa1100_generic.h| 1 -
drivers/pcmcia/sa1100_nanoengine.c | 133
Switch shannon's PCMCIA implementation to use the gpiod APIs.
Signed-off-by: Russell King
---
arch/arm/mach-sa1100/shannon.c | 13 +
drivers/pcmcia/sa1100_shannon.c | 25 ++---
2 files changed, 19 insertions(+), 19 deletions(-)
diff
Add the gpiod table for Neponset PCMCIA power control.
Signed-off-by: Russell King
---
arch/arm/mach-sa1100/neponset.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/mach-sa1100/neponset.c b/arch/arm/mach-sa1100/neponset.c
index
Switch simpad's CF implementation to use the gpiod APIs. The inverted
detection is handled using gpiolib's native inversion abilities.
Signed-off-by: Russell King
---
arch/arm/mach-sa1100/simpad.c | 12
drivers/pcmcia/sa1100_simpad.c | 12 +++-
Add a gpio_chip instance for SA GPIOs. This allows us to use
gpiolib to lookup and manipulate SA GPIOs.
Signed-off-by: Russell King
---
arch/arm/common/sa.c | 168 ++-
1 file changed, 165 insertions(+), 3
The NCR, MDM_CTL* and AUD registers manipulate the state of external
signals (eg, the RTS, DTR signals and the ethernet oscillator enable
signal) or indicate the state of external signals (eg, CTS, DSR).
Where these registers can be written, the current value can be read
back, which relieves us
As Lubbock now provides GPIOs via gpiolib for controlling the socket
power, we can use the MAX1600 driver. Switch Lubbock to use this
driver, which simplifies the code.
Signed-off-by: Russell King
---
arch/arm/mach-pxa/lubbock.c | 16 ++
Add support to soc_common for controlling reset and bus enable GPIOs
from within the generic soc_common layer, rather than having
individual drivers having to perform this themselves.
Signed-off-by: Russell King
---
drivers/pcmcia/soc_common.c | 20
Add support for handling supply regulators in the soc_common code. This
allows us to separate out the board specifics for setting voltages from
the PCMCIA code.
We detect when setting a voltage fails, and report this fact - some
platforms have fixed-voltage supplies (eg, for CF sockets at 3.3V)
Add a driver-data pointer so that low level drivers can add additional
data to the sa pcmcia socket structure.
Signed-off-by: Russell King
---
drivers/pcmcia/sa_generic.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pcmcia/sa_generic.h
Convert Assabet to use the generic CF socket support.
Signed-off-by: Russell King
---
arch/arm/mach-sa1100/assabet.c | 61 +-
arch/arm/mach-sa1100/include/mach/assabet.h | 6 --
drivers/pcmcia/Makefile | 1 -
Provide the SoC-level infrastructure to support the generic CF sockets.
Signed-off-by: Russell King
---
arch/arm/mach-sa1100/clock.c | 2 ++
arch/arm/mach-sa1100/generic.c | 14 +-
arch/arm/mach-sa1100/generic.h | 3 +++
3 files changed, 18
Switch h3xxx's PCMCIA implementation to use the gpiod APIs where
possible.
Signed-off-by: Russell King
---
arch/arm/mach-sa1100/h3xxx.c | 17 +
drivers/pcmcia/sa1100_h3600.c | 16 +++-
2 files changed, 24 insertions(+), 9 deletions(-)
Convert Cerf to use the generic CF socket support.
Signed-off-by: Russell King
---
arch/arm/mach-sa1100/cerf.c | 18 +++--
drivers/pcmcia/Makefile | 1 -
drivers/pcmcia/sa1100_cerf.c| 85 -
bvd1 and bvd2 both default to 1 in the generic soc_common code, so
having a driver repeat this is redundant. Remove it.
Signed-off-by: Russell King
---
drivers/pcmcia/sa1100_shannon.c | 4
drivers/pcmcia/sa1100_simpad.c | 4 ++--
2 files changed, 2
Add a helper to get the voltage state of CF sockets, where the voltage
sense pins are not wired up. Switch assabet and cerf to use this
helper.
Signed-off-by: Russell King
---
drivers/pcmcia/sa1100_assabet.c | 9 +
drivers/pcmcia/sa1100_cerf.c| 9
Constify the pcmcia_low_level operation pointer to soc_pcmcia_init_one()
which has no need to modify it.
Signed-off-by: Russell King
---
drivers/pcmcia/soc_common.c | 2 +-
drivers/pcmcia/soc_common.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff
Add a driver for the MAX1600 PCMCIA power switch device. This is a
dual-channel device, controlled via four GPIO signals per channel.
Two signals control the Vcc output, and two control the Vpp output.
Signed-off-by: Russell King
---
drivers/pcmcia/Kconfig | 3
https://bugzilla.kernel.org/show_bug.cgi?id=88801
--- Comment #36 from ingvarthorv...@gmail.com ---
Most drivers need to check that was just making sure it wasn't this one. I
don't have this hardware otherwise I would have not asked you to test for me
and just give me your traces so I can debug
https://bugzilla.kernel.org/show_bug.cgi?id=88801
--- Comment #37 from ingvarthorv...@gmail.com ---
Created attachment 231151
--> https://bugzilla.kernel.org/attachment.cgi?id=231151=edit
Test Port on Card is Not Null
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=88801
--- Comment #35 from Elmar Stellnberger ---
Ingvar; are you sure that your latest patch does not break the whole kernel IO
subsystem? Last time I have got stuck in the initrd (not even the kyboard was
working). Please test
https://bugzilla.kernel.org/show_bug.cgi?id=88801
--- Comment #38 from Elmar Stellnberger ---
Created attachment 231221
--> https://bugzilla.kernel.org/attachment.cgi?id=231221=edit
screenshot of the backtrace (your last patch 0009)
Now that definitely worsens things:
45 matches
Mail list logo