Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2831359ybi; Mon, 17 Jun 2019 11:06:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqylikbRHmK4ZWNoXBHdMYChib5GlL+LPB/NqC7HBwS7RPujUZ6CsaRkxF2n17Vje8FFLHRi X-Received: by 2002:a17:902:8609:: with SMTP id f9mr101273179plo.252.1560794774967; Mon, 17 Jun 2019 11:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560794774; cv=none; d=google.com; s=arc-20160816; b=kH5jNnhN/Bz5MJ3qM41mD00yoMwc9Kl0bF1SR2oLH5TUfhFYBar/Ngt/Yak0jj/xVV 9ZdF6bWBwByUNv/NJvPy+FiEkr//z7Q/AeB70f0eEPrxh52Z9sxasj0o9WwHMyYmDmxx WuWxmGT+GcwycHTBWTsWRegZ6MaGrWD8E/8RE7+nJ+dGyjtERuZHuIrTa66JIs3c2OA2 TaGueXtCJfdX5z78nc236Ug2ei5asdSJCY8aO60RJimJ7gah83IV19reXRG/FNcEiQcj 02kjGD21AvChTg/M89Kiwh75TLZJuObYJ0ylPpdMep/fVU8w38iEU93GNfc8/MAuV9B4 yIzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=jpG+jxzHep4OSKdRkiByuEQWAVu//jt/P7m+WkenxLg=; b=Ith2eW99O8a4UMgX81CSziHNEl2Tj/pDd0iPd1r6s+xgmCYKHo4m+QZQbK6N4QgVXo 4zy43ojPCz18mYpBPTXYVjcIN9Vdxd/AbkCdBbKYIyqaW18ZVPKDZBcMplnuVXoPWVht Xo7/4T9ZzrFtsjGfLzbq7sk+BF9Rc6hQVn9VjqXPm3JVMUHnkAbfmRtn8Fn9tBjdATMF bLPL0Eq4LP3VUfozqzjUVlx6lg/VV1PQN/QVcy5jJN+u2tKHtpuTl4PVQ0FLcyGUA9bN 5Vhexwzi0UyI1hSrbXprIo1oelrLsu/EyEqackSh6ML4LgFhbTC/B6f+mTdw6HekZBNC 7wMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13si11706252pgd.347.2019.06.17.11.05.59; Mon, 17 Jun 2019 11:06:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726819AbfFQSDu (ORCPT + 99 others); Mon, 17 Jun 2019 14:03:50 -0400 Received: from gate.crashing.org ([63.228.1.57]:50407 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725995AbfFQSDt (ORCPT ); Mon, 17 Jun 2019 14:03:49 -0400 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id x5HI3QhV012161; Mon, 17 Jun 2019 13:03:26 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id x5HI3PGf012160; Mon, 17 Jun 2019 13:03:25 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Mon, 17 Jun 2019 13:03:25 -0500 From: Segher Boessenkool To: Andreas Schwab Cc: Christophe Leroy , linuxppc-dev@lists.ozlabs.org, Paul Mackerras , linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/32s: fix suspend/resume when IBATs 4-7 are used Message-ID: <20190617180325.GB7313@gate.crashing.org> References: <4291e0dd36aafff58bec429ac5355d10206c72d6.1560751738.git.christophe.leroy@c-s.fr> <87y32040h0.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87y32040h0.fsf@igel.home> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 (etc.) It needs to be compiled for some specific machine, like -m750cl for example, not just -many. It probably should keep using mtspr, instead. Segher