Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2949696lqo; Tue, 14 May 2024 14:46:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWf90c04hBP7l2vHoonXRN3MaJ0t0/ve1t1p7YlYt4Epa/3MTqtEHRDF5H5FW7sH3LgzDji+FQU0g6AlysaTu/0ZLROY9vzIKAMHOlHMw== X-Google-Smtp-Source: AGHT+IGwANHRbG1Ii2wiYT+X+rbv83Q7URZyoGUkyBM+M2rhLweJ5yiJBlpYlMeuLicBUkEJ63Pc X-Received: by 2002:a17:903:124b:b0:1e8:6551:e825 with SMTP id d9443c01a7336-1ef43c0f64dmr158859385ad.2.1715723183667; Tue, 14 May 2024 14:46:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715723183; cv=pass; d=google.com; s=arc-20160816; b=U83b4u3CikhkI7bAHVGqrROIB8Gm92Yb9OwKcNqamnn4u5tRNK4Wp7HBWPXOemf9A2 D0IlRHFG3HCCuM3ojMre5/x5RaVyaVdcmumh78kYE4/F+fFNtAz6QL4g/6jvTKjhr1VD A8SMyVj7aOYre8sD1UNHXQ9m2VFx5eSyVIqwReM5NYrQEIRCbTnssbl6eQPlMecwkSKc RK/De0l1nxVA++AYzSIwp1qhV5CCYN2Q/wtH1qoT9BASBb3DWfApSXmkfY17ZFDKQ5f9 PPodfZToe50H1ZmvYEaz113JgS99JJfTcudCl86amB6n8JQvxcJWbBQf01uwekMBzcAf 2loA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date; bh=B9EBD7W/7vj4LGIvjmYyye9lVYW9ky/02zVVjGKs5IY=; fh=u3cdPxu2Az9/dbSbUVQ7J3YQHBSofU1wDr0tRQTpK9M=; b=D8Zx9AmyXhQS1kVP5ETzoiWVf9XccO6cMiECW8N4u3UE94fifAGmiMCxF7HF2ubV+S HH0JivqeTyNaPwS7sRxfDc4c5zn6Y6Tk0B18P/Q6oRtu6WXxBo3Oc1vT87J/y0iVHdfY J8LPIqmRFAneg50HSw5/rlOuKXjgqP7DU4pdJvLS6oK2AYjkNRtqqevXQOOMtbAyeRt/ JcSh0sEs3/sEbQ/alHJkct4nZk+Ri0vGRdXUjbBUh/7StK5Xg3vf/M/lvck5cCCSFDqV Phu52Jjr5WlU6jlxKXN4Q7ThyDx87xBD/nEZwsCF/ReSSjPDeUeXXQr112VbB58Lxv50 RrYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-179206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179206-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c369481si125617555ad.627.2024.05.14.14.46.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 14:46:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-179206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179206-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0BA2AB20EB4 for ; Tue, 14 May 2024 21:46:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99C44181CE9; Tue, 14 May 2024 21:46:09 +0000 (UTC) Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 014F9180A77; Tue, 14 May 2024 21:46:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.133.224.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715723169; cv=none; b=ctLcyD7o2DFeW5CqPNDThUmmnn33Rp42Gc47gwyG5w50QpPwJ38c0sODMm/m4iT40BjEdzdc1UANT2+HCRzZzaf4ShWxJpKHgWccUa6BREVHrJIhgMZu4yl97WUeZsMIPxLWgUS6otl2ZkE41F2Fdzxo5IXinJmW0fVCsbKisSk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715723169; c=relaxed/simple; bh=tA0JXE2hoL6cfxV24wwc92Ng3pYIs8abpFOuRnVXY1A=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=f50cqnDPUsJWKwy9shL5Ue2Wk+gfwmwLNiBf0TK2KK+A0AklYo5/WIYJZAHbTZ5jWxYtXiJ1F9apIBlDP0y70CJPupKlWTwEeYS3LcsfKRmQ2FgAkerHQXL1zKwWDePRrCJJCcGqghSPHHlmf3WCTL63I4Ntyj6RF/pdWZelPv4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk; spf=none smtp.mailfrom=orcam.me.uk; arc=none smtp.client-ip=78.133.224.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=orcam.me.uk Received: by angie.orcam.me.uk (Postfix, from userid 500) id 2B44792009C; Tue, 14 May 2024 23:38:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 2116892009B; Tue, 14 May 2024 22:38:19 +0100 (BST) Date: Tue, 14 May 2024 22:38:19 +0100 (BST) From: "Maciej W. Rozycki" To: Jiaxun Yang cc: Thomas Bogendoerfer , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Guenter Roeck Subject: Re: [PATCH 6/8] MIPS: Limit MIPS_MT_SMP support by ISA reversion In-Reply-To: <20240202-llvm-msym32-v1-6-52f0631057d6@flygoat.com> Message-ID: References: <20240202-llvm-msym32-v1-0-52f0631057d6@flygoat.com> <20240202-llvm-msym32-v1-6-52f0631057d6@flygoat.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Fri, 2 Feb 2024, Jiaxun Yang wrote: > MIPS MT ASE is only available on ISA between Release 1 and Release 5. R2+ only actually, as also evident from Kconfig... > --- a/arch/mips/Kconfig > +++ b/arch/mips/Kconfig > @@ -2171,7 +2171,8 @@ config CPU_R4K_CACHE_TLB > config MIPS_MT_SMP > bool "MIPS MT SMP support (1 TC on each available VPE)" > default y > - depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS > + depends on TARGET_ISA_REV > 0 && TARGET_ISA_REV < 6 > + depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MICROMIPS > select CPU_MIPSR2_IRQ_VI > select CPU_MIPSR2_IRQ_EI ^^^^^^ ... here. I wish people looked beyond the line they change, sigh... Maciej