Re: [PATCH] xen: avoid link error on ARM
From: Arnd Bergmann
Date: Mon Mar 04 2019 - 16:23:30 EST
On Mon, Mar 4, 2019 at 10:19 PM Boris Ostrovsky
<boris.ostrovsky@xxxxxxxxxx> wrote:
>
> On 3/4/19 3:47 PM, Arnd Bergmann wrote:
> > Building the privcmd code as a loadable module on ARM, we get
> > a link error due to the private cache management functions:
> >
> > ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined!
>
> Can __sync_icache_dcache be exported in arm32, just like it is in arm64?
Russell wants all cache management operations to stay private to the
kernel, as they tend to get abused by other drivers:
https://lore.kernel.org/linux-arm-kernel/20181218100908.GL26090@xxxxxxxxxxxxxxxxxxxxx/
Arnd