Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp526682img; Thu, 28 Feb 2019 03:44:25 -0800 (PST) X-Google-Smtp-Source: AHgI3IaQKbVRUQKlhx1a1DfMCByXkGpPhH+e9uHMx8yEbkr6Gyqn0JWtC5nnoNKY94+03uRWbnUI X-Received: by 2002:a17:902:87:: with SMTP id a7mr7479691pla.295.1551354265184; Thu, 28 Feb 2019 03:44:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551354265; cv=none; d=google.com; s=arc-20160816; b=KndC9Oa5FEs+S/1vqQ6eaqEI7LX2kVSuPqHxqj0rd+E+/IxE0Xx5aGuP8p1/yw4B7D 1/bSNHGVGUf+gVywH7ugWytlNmFTP3NDtQBDl171t3fmsjABv3393m3ZGHAyZEOxUCk3 q30wDejbXTlPWIrArlLimMQWJFtYjhcgjVf5l/gZ4xjHlZrQKxe2kUUQb2cEahYf4vAF oabAzhtibPzBc8HUg7L7H+/Ox0lH8WMhpgSwXGpxGZcwQU3gRh/OJpkIAtrlgU+HKeb4 bJxGVniXD1CVM1ssyiDgc6YhR9CeD5L8AlzGTgATTytgDAmqlUcBIGtIl3Xg9Oxj5Vl3 sjdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=Az9T19+uIrJaL+Gaesv2XtDukiGIfL3lDuWXaXpvztY=; b=eP4Y42GfkCeJauI7pLd7MvLk7Nv+UxL25Lj+vZxXzCmUq4s9VmtCl8gtAHJsas8QFj gtGxved4R9l1b+2gg9jzWp2EnPhla4RK/ij8cDT6U8iZA26Q59vuWeFVALmoyzliVEpz 3T0iTlBjE/WIE8Ab+3ol+mUvHcR+t6jq9CIshh7l8CZ/006V5nuoBzlNjjL6fcl/mk3a gwl1D5Pw6CF65hq57Nt7D6G4TJExEYLLgDA9v4z9sDnMpdk2NgXVs+OqqOMnTig19OAU gdDAPA8mx/aCbiRmzW5y41pYygxwBLSsMJ1XoyQLFR4EDe64/JeBdvjsURnmQv5e2gVx JmQQ== 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 c11si12318984pga.350.2019.02.28.03.44.10; Thu, 28 Feb 2019 03:44:25 -0800 (PST) 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 S1731538AbfB1JVR (ORCPT + 99 others); Thu, 28 Feb 2019 04:21:17 -0500 Received: from ozlabs.org ([203.11.71.1]:41657 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbfB1JVQ (ORCPT ); Thu, 28 Feb 2019 04:21:16 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 4496Vf0vRHz9s9T; Thu, 28 Feb 2019 20:21:13 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 27da80719ef132cf8c80eb406d5aeb37dddf78cc X-Patchwork-Hint: ignore In-Reply-To: To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Diana Craciun From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powerpc/fsl: Fix the flush of branch predictor. Message-Id: <4496Vf0vRHz9s9T@ozlabs.org> Date: Thu, 28 Feb 2019 20:21:13 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2019-02-26 at 18:18:48 UTC, Christophe Leroy wrote: > The commit identified below adds MC_BTB_FLUSH macro only when > CONFIG_PPC_FSL_BOOK3E is defined. This results in the following error > on some configs (seen several times with kisskb randconfig_defconfig) > > arch/powerpc/kernel/exceptions-64e.S:576: Error: Unrecognized opcode: `mc_btb_flush' > make[3]: *** [scripts/Makefile.build:367: arch/powerpc/kernel/exceptions-64e.o] Error 1 > make[2]: *** [scripts/Makefile.build:492: arch/powerpc/kernel] Error 2 > make[1]: *** [Makefile:1043: arch/powerpc] Error 2 > make: *** [Makefile:152: sub-make] Error 2 > > This patch adds a blank definition of MC_BTB_FLUSH for other cases. > > Fixes: 10c5e83afd4a ("powerpc/fsl: Flush the branch predictor at each kernel entry (64bit)") > Cc: Diana Craciun > Signed-off-by: Christophe Leroy > Reviewed-by: Daniel Axtens > Reviewed-by: Diana Craciun Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/27da80719ef132cf8c80eb406d5aeb37 cheers