Re: [PATCH 01/15] m68k: move *_relaxed macros into io_no.h and io_mm.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Angelo,

On 19/04/18 06:27, Angelo Dureghello wrote:
On Wed, Apr 18, 2018 at 10:01:34AM +1000, Greg Ungerer wrote:
On 18/04/18 06:53, Angelo Dureghello wrote:
[snip]
Is it ok to test the patch now in my mcf54415 based board ?

Yes, please do. I expect it should fix the the issues you found,
but lets confirm that is really the case.

I will be issuing a v2 of the series - to fix the problems found by
the autobuilder. But they are minor changes, and I would like to
know that they actually fix your problems first.


Ok i tested it.

* applied all 15 patches
* enabled MMU
* compilied, there was 1 error

   LDS     arch/m68k/kernel/vmlinux.lds
   CC      arch/m68k/mm/init.o
   CC      arch/m68k/mm/cache.o
   CC      arch/m68k/mm/fault.o
   CC      arch/m68k/mm/kmap.o
arch/m68k/mm/kmap.c: In function '__ioremap':
arch/m68k/mm/kmap.c:129:6: error: implicit declaration of function '__cf_internalio' [-Werror=implicit-function-declaration]
   if (__cf_internalio(physaddr))
       ^
arch/m68k/mm/kmap.c: In function 'iounmap':
arch/m68k/mm/kmap.c:243:6: error: implicit declaration of function 'cf_internalio' [-Werror=implicit-function-declaration]
   if (cf_internalio(addr))
       ^
cc1: some warnings being treated as errors
scripts/Makefile.build:312: set di istruzioni per l'obiettivo "arch/m68k/mm/kmap.o" non riuscito
make[1]: *** [arch/m68k/mm/kmap.o] Errore 1
Makefile:1060: set di istruzioni per l'obiettivo "arch/m68k/mm" non riuscito
make: *** [arch/m68k/mm] Errore 2

Just to pass over the issue i changed line 20 of

from
#if defined(CONFIG_PCI) && defined(CONFIG_COLDFIRE)
to
#if defined(CONFIG_PCI) || defined(CONFIG_COLDFIRE)

Then it built fine.
So my dspi driver works fine with MMU enabled.

Tested-by: Angelo Dureghello <angelo@xxxxxxxx>

Thats great, thanks for taking the time to debug and test that.

I'll fix it in a slightly different way, but I see what the source
of the problem is.

I have a v2 ready and will send here soon.

Thanks
Greg



Reviewed-by: Angelo Dureghello <angelo@xxxxxxxx>

Thanks for that. I will add that in.

Regards
Greg



Regards,
Angelo


--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux