From patchwork Fri Feb 9 09:05:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 771310 Delivered-To: patch@linaro.org Received: by 2002:adf:9dca:0:b0:33b:4db1:f5b3 with SMTP id q10csp750023wre; Fri, 9 Feb 2024 01:07:12 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWGJf5vb2l89IiI4qMG4fJwfNIPHkA6Gt79f7Pxg0QMV/JuBLIbvMsMWiBNtiFo9v7vJ1NYJj65qGnOzE+2Bu+4 X-Google-Smtp-Source: AGHT+IEIFWGdFu3eJL2tnDn9kdKdz27lZup3Hz1Y8z8hNkz/ICxfll0HVJ7qth0SsCLAoTVLBy9n X-Received: by 2002:a0c:e28d:0:b0:68c:850e:12c1 with SMTP id r13-20020a0ce28d000000b0068c850e12c1mr924767qvl.13.1707469631802; Fri, 09 Feb 2024 01:07:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1707469631; cv=none; d=google.com; s=arc-20160816; b=WQf5jI6hcEhICzjG3lOYQ2X0y8KmkxZCbvHDSrfA6C7U9Uj199ooVy/0Qe1HIy3YH8 4pPSZxQDGvyc+/XQMubHsK3ZGHG0Smq4qBHlhfkbCFh/qNAr6bxxMkb+1fFOOujSiOLG O9Ku2TaLTToNfBM10WZJJQ8poD+DHKDRDsqYTcFwaiXDrLpgwv1jyCFjKXm4raQdxJ20 R9G8P1ZLpB8pv31GMaBwTh6p77/XHqXcXE7pHDDncAgYi5dT8qKuqQBcYrnRiQipL5VB fNi3G2au8c7dLhdOgGDttxRVUeNqDd9qwd7+0u8+pKBIdgYxke5KBscj3TDInCfmJbjd XMSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=JwCfqJ3Ez0Lr6G31mkvU42qgszP4QebKIdCzDv4GODM=; fh=Cot55MiOhXt31GQm7cDfyalwTOOwnAXXanaq+NI+EEg=; b=zfaHzAOcsXqt3HOUorsDfdK712qWWDWxqpxYAECvl/7FFSbYcUPKlaAmpGyhoOPlO+ DTWYGjrF2JxDaESsb9ZvoP+yYEBGo6XLcwOcNhmEoKGRrwmKllF1rK+fKX4bfP+Yg9H7 r5UlpE1Nxx3kyMF7EScys6/H794HU9iz+V9lorbPUVNBM0PXw5hR6Qvt/WwZv3axt6oP /CcToKgGfgFRPsB8YIkD5A0egt9SBi0eozH+4LaigHZeNIUyFZCcTPshLy5v+GLR//py YkDwg/S1cDqWZne/E34ctGiuY5aUUyYqD4qVjB1Z7OlkZcGBgdglq/ZDRx+1fj73U0Ua 8Jzw==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GrvD0tkj; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCXLeSb9DUrDTrTpvY8dSccoH5oZ9fCuJCn2ovfhoiy1sBdIC55hddQF7/jSKoonyY9RviYCLtACyyNdBEoL2eKc Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id kk12-20020a056214508c00b0068ca70c38bbsi1478021qvb.104.2024.02.09.01.07.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Feb 2024 01:07:11 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GrvD0tkj; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rYMpH-0005BE-L0; Fri, 09 Feb 2024 04:05:39 -0500 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 1rYMpF-00052n-Cj for qemu-devel@nongnu.org; Fri, 09 Feb 2024 04:05:37 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rYMox-0000Xo-Et for qemu-devel@nongnu.org; Fri, 09 Feb 2024 04:05:36 -0500 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-33b401fd72bso372279f8f.3 for ; Fri, 09 Feb 2024 01:05:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707469516; x=1708074316; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JwCfqJ3Ez0Lr6G31mkvU42qgszP4QebKIdCzDv4GODM=; b=GrvD0tkjP4s3dOk6GtweWK6Ov2E0Nraxno8KWeAQvCBeml4SSgDED9MdSO9sMMt3AP ZWloNB8PdIJ6SxQ7lwfuW9tIEsMIsauvHbBU0GAwRs5IPLpRJIh7yFdLrvwkdxUNiHJa TiDiGu1aJNREwCJYfn30wK5Ks/13bMh8nr46SCHrJDPv/2Ngd3/70dC3imWFZuKVilyx TdYB68mqt2ONhQMZ9gcsCOOFDZFWt1oWH2ZAmPEdRq0Tc6Uj6qUTcYccbaMBx905/2qb yJn8B9Ysui2k9ebo5qMBBhg/Bf7q+VyK7h46ykLoY2zpsIg1VeGxR4Xb8sRwBEcBPGLG wo6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707469516; x=1708074316; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JwCfqJ3Ez0Lr6G31mkvU42qgszP4QebKIdCzDv4GODM=; b=aN+3TOrJHArPO641yt/TlLtPfOEQiC9MYbpStxCbvfTKh5taeQXvNUo+WJN2zzfQQw QTZZLSqHRrbI/gNc/bB4drAKU3S+4q1o6osBXDlVBe2/vv/eCFQh0n0XA/XCI8LXrPpL GKp70gtDTCwpOmmWWDMrj/D1xRVJEypSNdjrn85rMZVPF8/NrTwLS52HGFx2DwDMWuj8 fP4l7JVHOY32ZPamIVRE+1HgPUvUBt/TUKIN/VgSQ18tdez9QtJg/hIMMQrk4WfrgvZ4 HDb+kpc4cAIH2kBwiFr90qvgGiuIPk69uFBxpmesK3jrTcWN6WyjXZUQvkHff2MOMDqz G02w== X-Gm-Message-State: AOJu0Yw7an3BlmBH21S038Nh5bVeuRX0Q0EfBanlzAYEt8AhNQfHzAGn wNtsq/oXGD09BTa9jG0udUPsisTqBvuk0QAEhhZmSYSKzkoHYxcuHKFUm1zVRqccNQzcOryi5HS uX40= X-Received: by 2002:adf:a35e:0:b0:33b:4acd:22dc with SMTP id d30-20020adfa35e000000b0033b4acd22dcmr677190wrb.16.1707469516089; Fri, 09 Feb 2024 01:05:16 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXjIwYphfoXYTivwXAlxTBQgrAUXcN83O0GWXR9cXX6TtUFmC7WP6klMuHADGXuvElW0GRHAcae41gFEUzBPbPinO1HN7IvfMM1Sk+MwUX9LJXeJbrgKgE3bSU7baojYl6AJCWnR4UHD0xgsA1+7CALjUxFbxKXLMj4i9zRH9NpL501Wp6lvLPGaUD8gsy86GtsaRhqei++jUra8o6FjLb1UOFR1qWGRDuYMDcIsNTmZcN6fmbiD90Am/lWS5AXn0/PdJz0FmN8SxsEFEXDNxU1bQJtqv3V9lXGsI+aLrsVTPTBHphMIVoOh6vxfg0Lh/nCuSDoETmEVEN9mwoYm0ZY1A6u5AI= Received: from m1x-phil.lan ([176.187.218.105]) by smtp.gmail.com with ESMTPSA id o13-20020a5d58cd000000b0033b443a7aa7sm1255255wrf.97.2024.02.09.01.05.14 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 09 Feb 2024 01:05:15 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , Aurelien Jarno , Laurent Vivier , Jiaxun Yang , Paolo Bonzini , Peter Maydell , Huacai Chen , Richard Henderson , Aleksandar Rikalo Subject: [RFC PATCH 00/11] target/mips: Remove I6500 CPU definition Date: Fri, 9 Feb 2024 10:05:01 +0100 Message-ID: <20240209090513.9401-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=philmd@linaro.org; helo=mail-wr1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Alternative to: https://lore.kernel.org/qemu-devel/20240209085347.8446-1-philmd@linaro.org/ If the I6500 can not be tested or its support is incomplete, there is no point in wasting energy maintaining it. Philippe Mathieu-Daudé (11): target/mips: Remove helpers accessing SAAR registers hw/misc/mips: Reduce itc_reconfigure() scope target/mips: Remove MIPSITUState::itu field target/mips: Remove CPUMIPSState::saarp field hw/misc/mips_itu: Remove MIPSITUState::cpu0 field hw/misc/mips_itu: Remove MIPSITUState::saar field target/mips: Remove CPUMIPSState::CP0_SAAR[2] field target/mips: Remove helpers accessing SAARI register target/mips: Remove CPUMIPSState::CP0_SAARI field target/mips: Remove the unused DisasContext::saar field target/mips: Remove I6500 CPU definition docs/about/removed-features.rst | 5 +++ include/hw/misc/mips_itu.h | 6 --- target/mips/cpu.h | 4 -- target/mips/tcg/translate.h | 1 - target/mips/tcg/sysemu_helper.h.inc | 6 --- hw/mips/cps.c | 3 -- hw/misc/mips_itu.c | 35 ++-------------- target/mips/sysemu/machine.c | 4 +- target/mips/tcg/sysemu/cp0_helper.c | 63 ----------------------------- target/mips/tcg/translate.c | 62 ---------------------------- tests/qtest/machine-none-test.c | 2 +- target/mips/cpu-defs.c.inc | 40 ------------------ 12 files changed, 12 insertions(+), 219 deletions(-) Reviewed-by: Richard Henderson