Re: [PATCH 2/6] mips: Add N64 machine type

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

 



在 2021/1/8 下午3:04, Lauri Kasanen 写道:
On Thu, 7 Jan 2021 18:10:35 +0100
Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> wrote:

32BIT kernel don't compile, because you use TO_UNCAC which only
exists for 64bit kernels. One solution would be to use CKSEG1 to
convert from physical to an uncached address. But I'd prefer if
you add resources to your platform device and do ioremap in device
drivers. This way there is also no need to export the interrupt
defines outside.
:( Jiaxun told me to use TO_UNCAC because CKSEG1 was unclear to him...

I will change back to CKSEG1. ioremap seems much needless overhead.


Sorry, ignored that you have 32-bit kernel as well.

- Jiaxun



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux