From patchwork Mon Dec 30 15:25:14 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: 854242 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp6488113wrq; Mon, 30 Dec 2024 07:25:39 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWbt2CymkWt0rTEB/dyCkQqFh1vhXDZJwSnwns8vuxLvrjXhAF8rvwAdRkKD1T/BHbuu2b/3g==@linaro.org X-Google-Smtp-Source: AGHT+IFqt6qvBB0LO1Gi6vpVRnHB/ma4/msvFlYmpm7umYLV6BIF8VcX5oAgEy5wmbxciK+uRZF7 X-Received: by 2002:a05:6102:32cc:b0:4af:4974:a489 with SMTP id ada2fe7eead31-4b2cc46245cmr28126016137.20.1735572339306; Mon, 30 Dec 2024 07:25:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735572339; cv=none; d=google.com; s=arc-20240605; b=V+ZU2yH8Jp8fio/o/5z/rmZVzqMMVD4vazkNRfYMYLUevOQe2wrrR2UMunCwQKm4ZK wXuBvNgkRRS6wTyz+h7zd/O7ILdPbVm77LD6pn0RRL8tEccq0vWUduY8hbWIpOn2kkPr P6K3XyD+z0M8Yu4dPCAtxe0kGx1kzSc8xZt+9L1O7t7V6fBzaGRYBmt7UcpzMVc8gTsf 3xfIHGA2k/UCnlkSuFudJrsypO5nwRd+E+Tg3kl/T4TrlynMrdO3ebfbDpnd9BkOwCQt clbbRcWlIKBc5LV3C3ONR9m2uMShLlZeMnQIoLaJ9g8iH8cczfEto01l7dE4zf5ImSzH UeeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=qZxfXPJzrwIbM8EwrL9IK6oVeDERpQ9vvDWA7isyiAQ=; fh=Pu80oL6pqNVhcxmoTE7CG5kT5lPd7R2XHVDIETOmhNw=; b=URAuRC3UJI2AekSQ1YJWKzTP11OfVkjqbc/QiqwGf4maCDCV/iKJF6mZmcDlnQiufZ tHeYQjPMpKfEn0uMImhu1dxoNYDU+1J9goZ5Na3sGgZB7l70/BAwhpP3RI5qdz731bxK 8mlVUnGDjEcCIcP7jUMHK8iT3I7WwuqzohfbXbslf2Za5kL3YJ9xPwdgj64Rwk/bhgNN 2qzmo18fYNCrvj2rSm04T5RxrXF1vQcVqGo1woB/tNlOgKUozJoZpqUEdzxgorgqnmRn wdZfj4T4AmOy4R5fA18Ygy+prhwbiGfxL0/GwgNir+p8guT+YuAgoYwadWbPEB+Bwhkg 1bkg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DvcxLdrG; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ada2fe7eead31-4b2bfb7246bsi6021429137.427.2024.12.30.07.25.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Dec 2024 07:25:39 -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=DvcxLdrG; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSHe6-0002YL-Dx; Mon, 30 Dec 2024 10:25:30 -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 1tSHe2-0002VA-82 for qemu-devel@nongnu.org; Mon, 30 Dec 2024 10:25:27 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSHdz-0001jO-Ct for qemu-devel@nongnu.org; Mon, 30 Dec 2024 10:25:25 -0500 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-436281c8a38so66706945e9.3 for ; Mon, 30 Dec 2024 07:25:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735572321; x=1736177121; 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=qZxfXPJzrwIbM8EwrL9IK6oVeDERpQ9vvDWA7isyiAQ=; b=DvcxLdrGpJbDuy3A1rhn3ZSfSb/vmldOk0R+MEgs8JMAH65VpN/FPQgV9/gw61+plx oVctovw7ySfTmj7uHkaeK75G3VRyxr8+XnzGxLjX3E2tCKWpyLoOBVjbPgbEIV3vHq1q bUGrxsTlpHuwmjuCpUCIgJpsMwirSjw9eBKNi7CK+6eQGl1Eubi/Li70HEyPXULofAAa bC7Ywda8+fw2N3mAOHdCOGZ0ocg3a2o7mzXnEBoYVa4cwkx/MrHooHtkmVQERAO0mumR D7guQGyhy4Q7ScSCTcOAzPmlbZr5z6eG1+r6uXkNEJ46+UlOkexfA8YSbAvYdqC0mT31 jw3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735572321; x=1736177121; 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=qZxfXPJzrwIbM8EwrL9IK6oVeDERpQ9vvDWA7isyiAQ=; b=jMIIydJZAre0kFG9+eYzIvNrsbOOL0GH1lYILoRJnD2xHpICMHuE2cxT+lbibfG9AM 9SlN6vTWXiK57KxHL30Z3c1qh6Ct53GZaQCfZQOYKSbOdbkeH4/Mv8pGE5T2ZP7w6KYK lKHaC+Mi/tQtverlPftPKeeaJfrjIwMBZk95ZUO2il4rkdS5d46a0J2A4bDrF19QlLKf 8PQ8xrEovdJb/qhbaY7uYtTfAgupU8up3rL6OO5DVsa5V3sjkDHZHB4CFU2ZFsMpiqsL jJyUQur7F7KeDBged99PpPnSvNVjAN4CotYL86tJ8VLfN9Z8mA6NpwoIF4DfYWAAO7AZ DxmA== X-Gm-Message-State: AOJu0YwTFXWUCncO4JxbnxVzISb9k+9sAw73Z2eOhy8btCOFmCj1tSyJ z/b9bq0Ro/bc441uk7IDPlHFAM/AGwl4N1OBgjGAxlRoXCsX0Rl9gSHm8gfWpmI+FwZcoVFrL6r o X-Gm-Gg: ASbGnctk4ajhvViYi4KG3YyGADlNlv5MNy/HRN/SLpxgoxDwBRoOPBEf0lQRe4AYv/5 cWArgLWY4Q89uhejblwu9Xvj+gO1XeKENakzKMdOYCHbycXci030SgZdO3lZUFpzlPSM0cAPBC3 OhImZy/4nzhWoZ58CAbJwxRDMVxJm4ifiP7QgBY12QoayIzhdmd4Qqy0HEd5Hob4dwf2kf+8+e2 Bnj8o+rqDjcgPswGDZsBmdDs57qlvhnNCxLZd2Vc5ecWm73XyEUbiK/9sHijLdKaZlQ4Qu2MRyH 1pIiV48deKTOZFi5n/NpDQolS+wRKp8= X-Received: by 2002:a05:600c:1c28:b0:434:f953:eed with SMTP id 5b1f17b1804b1-43668b78d06mr316347415e9.30.1735572321171; Mon, 30 Dec 2024 07:25:21 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c89e140sm30989372f8f.79.2024.12.30.07.25.20 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 30 Dec 2024 07:25:20 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Helge Deller , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v3 0/5] hppa CPU reset and speedup Date: Mon, 30 Dec 2024 16:25:14 +0100 Message-ID: <20241230152519.86291-1-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Respin of: https://lore.kernel.org/qemu-devel/20241229234154.32250-1-deller@kernel.org/ "Add CPU reset function and speed up runtime and translation." - Remove hppa_cpu_init() - Reset PSW using M bit (untested) Helge, could we add a functional test booting Linux? Helge Deller (4): target/hppa: Convert hppa_cpu_init() to ResetHold handler hw/hppa: Reset vCPUs calling resettable_reset() target/hppa: Set PC on vCPU reset target/hppa: Speed up hppa_is_pa20() Philippe Mathieu-Daudé (1): target/hppa: Only set PSW 'M' bit on reset target/hppa/cpu.h | 11 +++++++++-- hw/hppa/machine.c | 6 +++--- target/hppa/cpu.c | 20 +++++++++++++++++--- 3 files changed, 29 insertions(+), 8 deletions(-)