Re: [PATCH] powerpc/32s: fix suspend/resume when IBATs 4-7 are used

From: Segher Boessenkool
Date: Mon Jun 17 2019 - 14:10:34 EST

On Mon, Jun 17, 2019 at 06:53:47PM +0200, Andreas Schwab wrote:
> AS arch/powerpc/kernel/swsusp_32.o
> arch/powerpc/kernel/swsusp_32.S: Assembler messages:
> arch/powerpc/kernel/swsusp_32.S:109: Error: invalid bat number
> arch/powerpc/kernel/swsusp_32.S:111: Error: invalid bat number

It needs to be compiled for some specific machine, like -m750cl for
example, not just -many. It probably should keep using mtspr, instead.