* spi, spi_fsl-spi.c not working?
@ 2014-07-17 9:11 Heiko Schocher
2014-07-17 11:31 ` Mark Brown
2014-08-04 21:52 ` Scott Wood
0 siblings, 2 replies; 4+ messages in thread
From: Heiko Schocher @ 2014-07-17 9:11 UTC (permalink / raw)
To: linuxppc-dev
Cc: Andreas Larsson, linux-spi, linux-kernel, Mark Brown, Anton Vorontsov
Hello all,
I just tried a mpc83xx based board (similiar to the mpc8313erdb)
with linux v3.16-rc4 using the drivers/spi/spi-fsl-spi.c driver.
DT nodes for spi are the same as in arch/powerpc/boot/dts/mpc8313erdb.dts:
spi@7000 {
cell-index = <0>;
compatible = "fsl,spi";
reg = <0x7000 0x1000>;
interrupts = <16 0x8>;
interrupt-parent = <&ipic>;
mode = "cpu";
};
Bootlog shows:
[ 1.341411] fsl_spi f0007000.spi: master is unqueued, this is deprecated
[ 1.554405] ------------[ cut here ]------------
[ 1.559080] WARNING: at c023a958 [verbose debug info unavailable]
[ 1.565208] Modules linked in:
[ 1.568305] CPU: 0 PID: 1 Comm: swapper Not tainted 3.16.0-rc4-ids720-patch1-01642-g69ef753 #20
[ 1.577059] task: c782c000 ti: c781a000 task.ti: c781a000
[ 1.582493] NIP: c023a958 LR: c0238bfc CTR: c027884c
[ 1.587491] REGS: c781bb80 TRAP: 0700 Not tainted (3.16.0-rc4-ids720-patch1-01642-g69ef753)
[ 1.596149] MSR: 00029032 <EE,ME,IR,DR,RI> CR: 22002044 XER: 00000000
[ 1.602851]
GPR00: c0238bfc c781bc30 c782c000 c051421c c6c62a00 c6c62b06 c03e392c 00000002
GPR08: c03de53c 00000001 c6c62ab8 00001032 82002042 00000000 c0004158 00000000
GPR16: 00000000 00000000 00000000 00000000 c0495c54 c0495cbc c0495cc8 c0495cd4
GPR24: 00000000 00000000 00000000 c050c6a4 c051421c c0544aa8 c0540000 c6c62a00
[ 1.632952] NIP [c023a958] driver_probe_device+0x58/0x230
[ 1.638397] LR [c0238bfc] bus_for_each_drv+0x50/0xac
[ 1.643390] Call Trace:
[ 1.645865] [c781bc30] [c023abf0] __device_attach+0x0/0x70 (unreliable)
[ 1.652539] [c781bc50] [c0238bfc] bus_for_each_drv+0x50/0xac
[ 1.658247] [c781bc80] [c023a8bc] device_attach+0xb4/0xd8
[ 1.663693] [c781bca0] [c0239dd4] bus_probe_device+0xa0/0xc4
[ 1.669400] [c781bcc0] [c0237d68] device_add+0x384/0x520
[ 1.674762] [c781bd00] [c0279298] spi_add_device+0xb0/0x170
[ 1.680383] [c781bd20] [c027aac4] spi_register_master+0x500/0x75c
[ 1.686530] [c781bd70] [c027e138] of_fsl_spi_probe+0x494/0x594
[ 1.692413] [c781bdd0] [c023c1ac] platform_drv_probe+0x28/0x68
[ 1.698297] [c781bde0] [c023a98c] driver_probe_device+0x8c/0x230
[ 1.704353] [c781be00] [c023abec] __driver_attach+0xbc/0xc0
[ 1.709972] [c781be20] [c0238cb4] bus_for_each_dev+0x5c/0xa8
[ 1.715681] [c781be50] [c023a038] bus_add_driver+0xf4/0x1e4
[ 1.721300] [c781be70] [c023b394] driver_register+0x88/0x130
[ 1.727013] [c781be80] [c0003ad0] do_one_initcall+0x8c/0x210
[ 1.732732] [c781bef0] [c04d30ac] kernel_init_freeable+0x114/0x1c0
[ 1.738962] [c781bf30] [c0004170] kernel_init+0x18/0x108
[ 1.744331] [c781bf40] [c000e830] ret_from_kernel_thread+0x5c/0x64
[ 1.750549] Instruction dump:
Did someone detected such a problem with this driver?
Is it maybe the missing "support for the SPI subsystem's queue SPI messages"?
Any hints?
Thanks!
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: spi, spi_fsl-spi.c not working?
2014-07-17 9:11 spi, spi_fsl-spi.c not working? Heiko Schocher
@ 2014-07-17 11:31 ` Mark Brown
2014-07-17 11:44 ` Heiko Schocher
2014-08-04 21:52 ` Scott Wood
1 sibling, 1 reply; 4+ messages in thread
From: Mark Brown @ 2014-07-17 11:31 UTC (permalink / raw)
To: Heiko Schocher
Cc: Andreas Larsson, linux-spi, linux-kernel, Anton Vorontsov, linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
On Thu, Jul 17, 2014 at 11:11:45AM +0200, Heiko Schocher wrote:
> Is it maybe the missing "support for the SPI subsystem's queue SPI messages"?
It shouldn't be that, that's still optional (sadly).
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: spi, spi_fsl-spi.c not working?
2014-07-17 11:31 ` Mark Brown
@ 2014-07-17 11:44 ` Heiko Schocher
0 siblings, 0 replies; 4+ messages in thread
From: Heiko Schocher @ 2014-07-17 11:44 UTC (permalink / raw)
To: Mark Brown
Cc: Andreas Larsson, linux-spi, linux-kernel, Anton Vorontsov, linuxppc-dev
Hello Mark,
Am 17.07.2014 13:31, schrieb Mark Brown:
> On Thu, Jul 17, 2014 at 11:11:45AM +0200, Heiko Schocher wrote:
>
>> Is it maybe the missing "support for the SPI subsystem's queue SPI messages"?
>
> It shouldn't be that, that's still optional (sadly).
Thanks for this info! I digging in it ...
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: spi, spi_fsl-spi.c not working?
2014-07-17 9:11 spi, spi_fsl-spi.c not working? Heiko Schocher
2014-07-17 11:31 ` Mark Brown
@ 2014-08-04 21:52 ` Scott Wood
1 sibling, 0 replies; 4+ messages in thread
From: Scott Wood @ 2014-08-04 21:52 UTC (permalink / raw)
To: hs
Cc: Andreas Larsson, linux-kernel, linux-spi, Mark Brown,
Anton Vorontsov, linuxppc-dev
On Thu, 2014-07-17 at 11:11 +0200, Heiko Schocher wrote:
> Hello all,
>
> I just tried a mpc83xx based board (similiar to the mpc8313erdb)
> with linux v3.16-rc4 using the drivers/spi/spi-fsl-spi.c driver.
> DT nodes for spi are the same as in arch/powerpc/boot/dts/mpc8313erdb.dts:
>
> spi@7000 {
> cell-index = <0>;
> compatible = "fsl,spi";
> reg = <0x7000 0x1000>;
> interrupts = <16 0x8>;
> interrupt-parent = <&ipic>;
> mode = "cpu";
> };
>
> Bootlog shows:
>
> [ 1.341411] fsl_spi f0007000.spi: master is unqueued, this is deprecated
> [ 1.554405] ------------[ cut here ]------------
> [ 1.559080] WARNING: at c023a958 [verbose debug info unavailable]
If you haven't already resolved this, could you enable verbose debug
info (or use gdb) to get the line number?
I don't see the WARNING when booting mpc8379rdb with SPI enabled (though
I do see the "master is unqueued" message). I don't have easy access to
an mpc8313erdb to test on.
-Scott
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-04 21:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-17 9:11 spi, spi_fsl-spi.c not working? Heiko Schocher
2014-07-17 11:31 ` Mark Brown
2014-07-17 11:44 ` Heiko Schocher
2014-08-04 21:52 ` Scott Wood
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).