MIPS: https://lkml.org/lkml/2015/1/31/1 ARM: https://marc.info/?l=linaro-kernel&m=142253251904005&w=3 -----Original Message----- From: Andrew Morton [mailto:akpm@xxxxxxxxxxxxxxxxxxxx] Sent: Thursday, February 05, 2015 12:26 PM To: Wilcox, Matthew R Cc: Wu, Fengguang; kbuild-all@xxxxxx; Linux Memory Management List; linux-mips@xxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [next:master 4658/4676] undefined reference to `copy_user_page' On Thu, 5 Feb 2015 20:22:34 +0000 "Wilcox, Matthew R" <matthew.r.wilcox@xxxxxxxxx> wrote: > > -----Original Message----- > From: Andrew Morton [mailto:akpm@xxxxxxxxxxxxxxxxxxxx] > Sent: Thursday, February 05, 2015 12:21 PM > To: Wilcox, Matthew R > Cc: Wu, Fengguang; kbuild-all@xxxxxx; Linux Memory Management List; linux-mips@xxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: [next:master 4658/4676] undefined reference to `copy_user_page' > > On Thu, 22 Jan 2015 15:12:15 +0000 "Wilcox, Matthew R" <matthew.r.wilcox@xxxxxxxxx> wrote: > > > Looks like mips *declares* copy_user_page(), but never *defines* an implementation. > > > > It's documented in Documentation/cachetlb.txt, but it's not (currently) called if the architecture defines its own copy_user_highpage(), so some bitrot has occurred. ARM is currently fixing this, and MIPS will need to do the same. > > > > (We can't use copy_user_highpage() in DAX because we don't necessarily have a struct page for 'from'.) > > > Has there been any progress on this? It would be unpleasant to merge > > DAX into 3.19 and break MIPS and ARM. > > Yes, both MIPS and ARM have sent patches out for this. I'm not seeing either in linux-next.