Received: by 10.223.185.116 with SMTP id b49csp6400569wrg; Wed, 28 Feb 2018 08:47:59 -0800 (PST) X-Google-Smtp-Source: AH8x226ZA0RVE31o+bXpMM4ObXzMtfEJWJ8FHdIduDznNhZMTtard2tekMIU46jUCN6Wi+VSUDyz X-Received: by 2002:a17:902:822:: with SMTP id 31-v6mr18851544plk.362.1519836479020; Wed, 28 Feb 2018 08:47:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519836478; cv=none; d=google.com; s=arc-20160816; b=MHY/PD4ny8yd7Fi+GEaKkAeKC6972fjnFNbRohTjZGjMxkQj/iNkh63GXmdkzilOc2 tJrAZab4TRvBq1UUl2DX12kVgGuPGX40nM3hhZvkmlIYThwNAczhjDeR4E8/64tRwaH2 eRs80ipLEFyxkmaVYJvvOx5NiddxxkeXeHZUeAb33z/F+/8lK146cgtfxFN32BkJMTvg yR1Z2Bd43IpGhbHCknvb1Qjn69hiHA7C9HGcJlb2yHBwbQtti/kvlZD21mDxXfqA7IV6 eH78yZnShT+OebvIsWRdHHkK3wpIc1V7mZ7uE8IHyy5HO1BniyZ+6XuywLqmwp648iya 987g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=mBHyTIi4R8+iz95nVEWO5z4Rhj2sYY7X9qxrccDoszc=; b=yEgm4jQ0AhH6Wmhsct/tRwOY5r+r5B6gD6U2wAJNAwm8yJOwKnDI3cAeum99MthvVB hlOmHhm5QuZn/0UwyWjzAaHbzsc6MLTVJOlc3x5eFFheT+8sBOePFGC2SeALpd9NBtMz FM/ZdPk8EVCE9JjpNcoM98FXaFJ4gvBZVzHfF1L6rnQeRLh2EUunh7+PfoA3yTaiuxt6 qukWTJU0Cii9X8YRkZQAQ2hSfXhx8CLeUgqKYHF6QmXI4i5fvEdoHjWatHUw+XXWHADa 0YTD7hRZ5X/gSu6tq7CpZ6uwwnvx4OuueOP7ROPx44hvgDm+OKXnqWyLuUTHWAyEJqs6 2fOg== 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 k21si1471090pff.287.2018.02.28.08.47.44; Wed, 28 Feb 2018 08:47:58 -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 S1753303AbeB1QrH (ORCPT + 99 others); Wed, 28 Feb 2018 11:47:07 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:34602 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934122AbeB1P7B (ORCPT ); Wed, 28 Feb 2018 10:59:01 -0500 Received: from [2a02:8011:400e:2:6f00:88c8:c921:d332] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1er3Yt-0006XS-GY; Wed, 28 Feb 2018 15:22:31 +0000 Received: from ben by deadeye with local (Exim 4.90_1) (envelope-from ) id 1er3Yf-0008Vm-Vj; Wed, 28 Feb 2018 15:22:17 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "James Hogan" , "Paul Burton" , linux-mips@linux-mips.org, "James Hogan" , "Ralf Baechle" Date: Wed, 28 Feb 2018 15:20:18 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 091/254] MIPS: CPS: Fix r1 .set mt assembler warning In-Reply-To: X-SA-Exim-Connect-IP: 2a02:8011:400e:2:6f00:88c8:c921:d332 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.55-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: James Hogan commit 17278a91e04f858155d54bee5528ba4fbcec6f87 upstream. MIPS CPS has a build warning on kernels configured for MIPS32R1 or MIPS64R1, due to the use of .set mt without a prior .set mips{32,64}r2: arch/mips/kernel/cps-vec.S Assembler messages: arch/mips/kernel/cps-vec.S:238: Warning: the `mt' extension requires MIPS32 revision 2 or greater Add .set MIPS_ISA_LEVEL_RAW before .set mt to silence the warning. Fixes: 245a7868d2f2 ("MIPS: smp-cps: rework core/VPE initialisation") Signed-off-by: James Hogan Cc: Paul Burton Cc: James Hogan Cc: James Hogan Cc: Paul Burton Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/17699/ Signed-off-by: Ralf Baechle Signed-off-by: Ben Hutchings --- arch/mips/kernel/cps-vec.S | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/mips/kernel/cps-vec.S +++ b/arch/mips/kernel/cps-vec.S @@ -229,6 +229,7 @@ LEAF(mips_cps_core_init) has_mt t0, 3f .set push + .set MIPS_ISA_LEVEL_RAW .set mt /* Only allow 1 TC per VPE to execute... */ @@ -347,6 +348,7 @@ LEAF(mips_cps_boot_vpes) nop .set push + .set MIPS_ISA_LEVEL_RAW .set mt 1: /* Enter VPE configuration state */