Add DMA and device tree support to the flash controller FLCTL
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/20 of 2 patches 0 repliesNew
- v2 posting 1/20 of 2 patches 0 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] Add DMA and device tree support to the flash controller FLCTL
Quoted 16 lines · Bastian Hecht
Hi Artem,
Quoted 5 lines
Hi, I used to be able to compile MTD stuff for mackerel board with the defconfig attached, but now it fails with 3.7-rc1 with as error:
/tmp/cc2Nr7AN.s: Error: bad immediate value for 8-bit offset (1024)Quoted 8 lines
It fails for
dogc4.c, but if I disable DOCG4, it fails for other drivers with a similar error.I've tried (arm) gcc 4.6.3 and the latest Linaro 4.7 build.
Any idea? I did not dig this, is this a known issue? Could you try to reproduce this in your setup?
Quoted 8 lines
I can reproduce the error with the following output:
/tmp/ccYAbker.s: Assembler messages:/tmp/ccYAbker.s: Error: bad immediate value for 8-bit offset (2048) make[3]: *** [drivers/mtd/nand/docg4.o] Error 1The compiler version is: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) I usually use: gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) and can compile things without problems.
Yeah, a bug report would be great. I've switched to 4.4.1 and checked your patches with aiaiai:
--------------------------------------------------------------------------------
Successfully built configuration "arm-mackerel_defconfig,arm,arm-none-linux-gnueabi-", results:
after_patching.log renamed from before_patching.log +0 -0
@@ @@ +drivers/mtd/nand/sh_flctl.c:1142 flctl_probe() warn: 'irq' was not released on error [smatch] +drivers/mtd/nand/sh_flctl.c:1142:2-8: ERROR: missing iounmap; ioremap on line 1117 and execution via conditional on line 1140 [coccinelle] +drivers/mtd/nand/sh_flctl.c:164:25: warning: cast removes address space of expression [sparse] +drivers/mtd/nand/sh_flctl.c:181:25: warning: cast removes address space of expression [sparse] -drivers/mtd/nand/sh_flctl.c:311 write_fiforeg() Error invalid range 4096 to -1 [smatch] -drivers/mtd/nand/sh_flctl.c:317:17: warning: incorrect type in argument 2 (different address spaces) [sparse] -drivers/mtd/nand/sh_flctl.c:317:17: expected void volatile [noderef] <asn:2>*addr [sparse] -drivers/mtd/nand/sh_flctl.c:317:17: got void *fifo_addr [sparse] +drivers/mtd/nand/sh_flctl.c:469 write_fiforeg() Error invalid range 4096 to -1 [smatch] +drivers/mtd/nand/sh_flctl.c:485:17: warning: incorrect type in argument 2 (different address spaces) [sparse] +drivers/mtd/nand/sh_flctl.c:485:17: expected void volatile [noderef] <asn:2>*addr [sparse] +drivers/mtd/nand/sh_flctl.c:485:17: got void *fifo_addr [sparse]
--------------------------------------------------------------------------------
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121019/e8f29d12/attachment.sig>