From nobody Mon Nov 25 02:57:19 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=flygoat.com ARC-Seal: i=1; a=rsa-sha256; t=1718974840; cv=none; d=zohomail.com; s=zohoarc; b=Q+UiaaT4lSSO3fPIGABM9D68uzXKexZrb6F86Ijkc2iK9XQzkZVlSPtWwo9ipWGVaxmG7KwTB6vT8JGfQpyrlKVyHvqep6N51ybWS26uqQwpUtZoLmWlIRDSk+9a6cL1j6y2QRz8u6Ukgtr9vHOwm8D/BqpakRixB4zlIxChTrk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1718974840; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=gT2jLym9c6kJFJ+5mmTK3eAZwFetlVf+TwMnw12Lex4=; b=Aour4q85G39cU6EyckkyU7ecClFNu/9qY3NlmJWW21jn/yOHX6eX/CIUVMo4ex0xL9a8sPWCY2R7D5HhD/1dZXzerdWB6z9Ub3OMCRIW0MsN1ZDkkK4nIQhReMpnkzip5CUavh5/cw0bFgafDyz+f0rOZlzy9UN5cnBqtlvcE9c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1718974840860269.54780118460815; Fri, 21 Jun 2024 06:00:40 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKdr1-0000pX-Qy; Fri, 21 Jun 2024 08:58:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKdqz-0000or-Gq for qemu-devel@nongnu.org; Fri, 21 Jun 2024 08:58:57 -0400 Received: from fout6-smtp.messagingengine.com ([103.168.172.149]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKdqy-0000yh-0i for qemu-devel@nongnu.org; Fri, 21 Jun 2024 08:58:57 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id 2F76913801CA; Fri, 21 Jun 2024 08:58:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 21 Jun 2024 08:58:55 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 21 Jun 2024 08:58:54 -0400 (EDT) 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:subject:subject:to:to; s=fm3; t=1718974735; x=1719061135; bh=gT2jLym9c6kJFJ+5mmTK3eAZwFetlVf+TwMnw12Lex4=; b= DgLsni8E5ia0IiiCB95PNetLn34LXf+bvh+rI1Uk9PBE1Z7na1WStTaZTNHmxCh4 cUm3fUjtMBDwgydXOSKRpjFH2My5sFt0ltTslG8B0FdVvR/YADI7yTcLjoKYbT5d gj/BTGXKbPxFSn38pB37IZ4TrisjPqsfgDj8sMYtfUNp2P86Gf2YkIeQjpTwk1Y3 wATn/m0Q5k4MVpneuqg3Di7dDONIuFyn8gPC8q8KEESmcodcQ42AUrBVpgZYJw1l 7PhsoVlIJjINuSLa13NPyR2FDey7ZjM3X6lZ286pxs8wxJQF43CM+2d9uqze7eIO 86YIji2t7Zfb1xsUvm1hNw== 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:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718974735; x= 1719061135; bh=gT2jLym9c6kJFJ+5mmTK3eAZwFetlVf+TwMnw12Lex4=; b=K UqbMLptVBw85uzN5pou2ci/Igivf0Nex/P7yCUk9Eh2I7JSmgmcVz6be0YRACByt VvZguJ/9EQM8tomwkK9EIFILVypTwfFTzXkMys0BhkkgxrIvIJJeQtPKwUf8/L4l SKNMEBzJ25ZThkOcyGx8/ZikL6vkusNJIeRiORji21hOB01GHStixzX4cZ9mRsJn RcPx/tXtz6Hz6kuJjzQiPLkJ/z2azG9LhUFo3IHM+bFtDba2i5xnJzyaO6KQzxuB fFXWvdByZBveD/QtotkbSGnEMdHfVC8G+HeSd95QbelK9KBUTzbQyu6EcUiXFEMp ga/9o3Xlap3PZguoA9Diw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeefgedgheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephfffufggtgfgkfhfjgfvvefosehtjeertdertdejnecuhfhrohhmpeflihgr gihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqne cuggftrfgrthhtvghrnhepvdekiefhfeevkeeuveetfeelffekgedugefhtdduudeghfeu veegffegudekjeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail From: Jiaxun Yang Date: Fri, 21 Jun 2024 13:58:43 +0100 Subject: [PATCH 3/3] linux-user/mips64: Use MIPS64R2-generic as default CPU type MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240621-loongson3-ipi-follow-v1-3-c6e73f2b2844@flygoat.com> References: <20240621-loongson3-ipi-follow-v1-0-c6e73f2b2844@flygoat.com> In-Reply-To: <20240621-loongson3-ipi-follow-v1-0-c6e73f2b2844@flygoat.com> To: qemu-devel@nongnu.org Cc: Huacai Chen , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Laurent Vivier , Jiaxun Yang , stable@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=844; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=g3k3nWcLqtTiZ2wMMOFp6to4dK8fiS1Lxyx+pASHj8Y=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhrTSSi6ez3d7Uu/nHj7EMr/H6rCYlG9dZEprx5RZ/QXxW Z/nX9vVUcrCIMbFICumyBIioNS3ofHigusPsv7AzGFlAhnCwMUpABNpYmBk2GJ90zO+1X51U8WU 46fkffwNPGbv+MVfM1dMUf/73ES+v4wMG37amlyqeNutc1g/6uMxjTkiF0Q9c2NtIzY0tzE8bdj CCQA= X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=103.168.172.149; envelope-from=jiaxun.yang@flygoat.com; helo=fout6-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @flygoat.com) X-ZM-MESSAGEID: 1718974842947100003 5KEf is some what not standard compliant by having non-functional FCSR condition fields. This is causing glibc test failure in qemu-user. Use MIPS64R2-generic as our default type, which have maximum CPU features. Cc: stable@vger.kernel.org Signed-off-by: Jiaxun Yang --- linux-user/mips64/target_elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/mips64/target_elf.h b/linux-user/mips64/target_elf.h index 5f2f2df29f7f..82bb7e8b1cbf 100644 --- a/linux-user/mips64/target_elf.h +++ b/linux-user/mips64/target_elf.h @@ -15,6 +15,6 @@ static inline const char *cpu_get_model(uint32_t eflags) if ((eflags & EF_MIPS_MACH) =3D=3D EF_MIPS_MACH_5900) { return "R5900"; } - return "5KEf"; + return "MIPS64R2-generic"; } #endif --=20 2.43.0