Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6690932rwr; Tue, 25 Apr 2023 02:09:26 -0700 (PDT) X-Google-Smtp-Source: AKy350ZS1K5XRAQT2QszZe1aPnGf3HkI/KB8GVVotiAsoo6PzNcLv1Csim3f7bBBgPw2yTZNY/z2 X-Received: by 2002:a17:902:ecd1:b0:19a:727e:d4f3 with SMTP id a17-20020a170902ecd100b0019a727ed4f3mr25607643plh.5.1682413766370; Tue, 25 Apr 2023 02:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682413766; cv=none; d=google.com; s=arc-20160816; b=xF4Aql2W8bcQk1Ktod4ynn9IbMwfDKqVC6Bt1WJfMjR3J2c4v78ZJLmUVt15gvev5Y 4xuIBvZ5d3GlikXGWixWeXluURRyhwPE4rUa0DnSUHT5rBPKxX8aDGoB7VGmhyEJGQG6 R8QTxpmgao02/cO0D5M1vmF6emqf3KzdvePAojJ3GvVg9TfKg85yjGgrfs31gY/ijCt6 w4A2fdZ3v6O/vhTIeblRvJEAgAha0ocvqUJ1J7G49OV1JGCLMd5mIhhrmVisaqOGOa5r VLLYb+h7fXJ5fiYiBmFuyeurTCDQKGQtauuC7JzkEGqf5r6WQEFPIr+ZQLcncVX1Z55q ykDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:feedback-id:dkim-signature:dkim-signature; bh=R0z5Zs+wnEsIT1a8y/eZUxxArXE6qSZmRohkAXezjZQ=; b=xbCJD8rSPO/hlc7rBJ820WkNLKrUOSqu0FLinJm7LJpZNvc5mWDg0cEo6J5iAI7F96 qxktwzAaq+Lbh5T6oE4edEcZeNqBSR7hyQKtnlqF33ILCubDmHlZdAvg1DYi1a/WdvL0 yRj7kSKQ/lqNXyFKrNGCDeQwlu/FuuT/eXhwPRfXfvkteE3ugqogrEF0GRRJZK0WCojS uxerZ2pGgHMZxeEdeqQt8jQXncZhQlxeFk0hWfVGvUQJEPlTLvBZbmenCv9inr0rEeDg hMo4RL6JXTUwb51VMExc8moJZgGED0yZgi++OZ1jRpBDynVGa6W24o6xut2QFosrulkF LiWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=TzdRGTV2; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=dETx4Eje; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020a170903024900b001a63ba2c894si13869925plh.548.2023.04.25.02.09.12; Tue, 25 Apr 2023 02:09:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=TzdRGTV2; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=dETx4Eje; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233392AbjDYJB7 (ORCPT + 99 others); Tue, 25 Apr 2023 05:01:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229927AbjDYJB6 (ORCPT ); Tue, 25 Apr 2023 05:01:58 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 604DF10DE for ; Tue, 25 Apr 2023 02:01:55 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 037C55C00CD; Tue, 25 Apr 2023 05:01:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 25 Apr 2023 05:01:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1682413312; x=1682499712; bh=R0z5Zs+wnEsIT1a8y/eZUxxArXE6qSZmRoh kAXezjZQ=; b=TzdRGTV2hO5JedwLX2OH2c1ohRTSGKu0BV1mcu4k29f/wMYONi1 5kUeO8gw7bqkaAn7CHeoDEtaO7V0IujFVTqgWsb00ooBp87ZjGGlDqJ3qrnNxubS kWkJS3sf4U3dr/894BbN6ajEwk9Wfhro5QnfvHZHKn6Eqh2kVXGGyNFz0iG1Adty 0cFij0usNnxVdc7ZbjGTbw4MV6UM6cWckn6LVOt4zhwOWzQrjknlZQtHYxgZfapb D0Ugd3uTRsJ30jSfca5/hREueVrgV6hSJc/QYM1v55o5P4sVFdHQ/YaM8r1nTCo0 mbnY1Eydy7mpuZlrJDW/aYEO4VlNCZyCb8A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682413312; x=1682499712; bh=R0z5Zs+wnEsIT1a8y/eZUxxArXE6qSZmRoh kAXezjZQ=; b=dETx4Eje6jqkXHZfDAN1w4Z2QYI6v+22QFbitdpKZpmsP34Jnh6 3XCvtuBxJj9lD5/Dz58wZBgT3IaAw8VhKe4FfAHsfy+H4vTlCwOeNNq83Q325psH Gizu/NVv4OwEGuP5w43EwdjiE16mSlmJcnTQEMEHwRdnsGG127x/rkilMSUYXN7J IYCzArom7aJfoGQLR8byHUhNpdPzZ4/qH/bflKJUZLIgWEHRuKb1P0tu3RDRFkW5 QhngQjBPmbwdrOi7G7lCInLltSCKgGPzIBnS0Pi8/6QY1/yBNEtFiLr03FNCacT3 kToS46wUsTLKxXsVcpFbTvSHUyJGb4yN6qw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeduvddgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnhepuddtjeffteetfeekjeeiheefueeigeeutdevieejveeihfff ledvgfduiefhvddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Apr 2023 05:01:50 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: arch/mips/include/asm/timex.h:75:10: error: instruction requires a CPU feature not currently enabled From: Jiaxun Yang In-Reply-To: <20230424200155.GA2605117@dev-arch.thelio-3990X> Date: Tue, 25 Apr 2023 10:01:39 +0100 Cc: Borislav Petkov , kernel test robot , Thomas Bogendoerfer , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <202304170748.Fg9VIgGd-lkp@intel.com> <20230419223707.GAZEBtE1vZGy5B4EUR@fat_crate.local> <20230419231834.GA1269248@dev-arch.thelio-3990X> <20230424200155.GA2605117@dev-arch.thelio-3990X> To: Nathan Chancellor X-Mailer: Apple Mail (2.3731.500.231) X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 2023=E5=B9=B44=E6=9C=8824=E6=97=A5 21:01=EF=BC=8CNathan Chancellor = =E5=86=99=E9=81=93=EF=BC=9A >=20 > On Thu, Apr 20, 2023 at 12:41:50AM +0100, Jiaxun Yang wrote: >>=20 >>=20 >>> 2023=E5=B9=B44=E6=9C=8820=E6=97=A5 00:18=EF=BC=8CNathan Chancellor = =E5=86=99=E9=81=93=EF=BC=9A >>>=20 >>> + Jiaxun, who has been looking into MIPS + LLVM issues recently and = has >>> been a big help :) >>=20 >> I think this patch[1] may fix the problem. >=20 > I have the following patch stack: >=20 > $ git log --oneline origin/master^.. > c6cd9f17692e MIPS: Replace assembly isa level directives with macros > 60508ba7d92f MIPS: Limit MIPS_MT_SMP support by ISA reversion > c9e250105de4 MIPS: Fallback CPU -march CFLAG to ISA level if = unsupported > 49c0420e59bb MIPS: Remove cc-option checks for -march=3Docteon > b7ea7e959023 MIPS: Detect toolchain support of o32 ABI with 64 bit CPU > 51f2d93245ba MIPS: Detect toolchain support of workarounds in Kconfig > 7382a07eb105 MIPS: Add toolchain feature dependency for microMIPS = smartMIPS > de0621fbedd3 MIPS: Move various toolchain ASE check to Kconfig > 3b85b9b39960 Add linux-next specific files for 20230424 >=20 > but with the robot's configuration, I still see that error. I notice > that the 'if (sel =3D=3D 0)' branch of ___read_32bit_c0_register() has = no > '.set push' directive, could that matter here? Sorry I was identifying the wrong problem. The real problem is LLVM IAS (or the whole LLVM stack)=E2=80=99s = microMIPS is broken, It unable to handle =E2=80=9Cmfc0=E2=80=9D and many other instructions. Perhaps we should come up a method to block this config to happen. Thanks Jiaxun >=20 > Cheers, > Nathan