From patchwork Thu Sep 14 19:52:25 2023 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: 1834427 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=BRYLum1R; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Rmp0J3R9wz1ypL for ; Fri, 15 Sep 2023 05:53:20 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgsOF-0005aj-RE; Thu, 14 Sep 2023 15:52:39 -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 1qgsOE-0005aJ-Kh for qemu-devel@nongnu.org; Thu, 14 Sep 2023 15:52:38 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qgsOD-0006jx-5g for qemu-devel@nongnu.org; Thu, 14 Sep 2023 15:52:38 -0400 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-9adb9fa7200so233058066b.0 for ; Thu, 14 Sep 2023 12:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694721153; x=1695325953; 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=pH/Gd9c3Al2hm3nRlXGcuzsIQc0Vb10/gJIBjNiHVrw=; b=BRYLum1RhgUbJ5zzLolUSlihnwZJIDt08z/PTYm2mxHPbMQBA5cmGYjZDr/Ad/DT0J JOMT/7IjmEIg2WpVPquKz+pLVTdEyNiGYfuA5V38yZq/m1a6uvdAO6lFfg3/VqYm094o qCmesYgdQlVlTDNmQPACquFLA2sWMPnDRz4XL4mFFfxI+tiD++RxA+XkTZcvoQOifxLe o8o+TQV6HFKMn42+jcUe3hcSO5w2eZXiBpZr2mX3wkidt6843zvVqE7UAT29E84LieAY 4G8Vx24qn5e7KwUB7C44q8iOJlZlxrOhHNIu5jvy5DnEFIVZKja/luAxczgDebsfTuHH LhzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694721153; x=1695325953; 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=pH/Gd9c3Al2hm3nRlXGcuzsIQc0Vb10/gJIBjNiHVrw=; b=K6ufuV5TQCSIfsgWLD4nLeIJMJMPQqSgBS3qjdwg0kjG8GH4a/ihdz/hJSaQlu+dDG j/mE7ZODG6vKD2fFe+yAz6egjsT8mGyjskor6V2jHOL/7jLc3vMRJLhu3ww/p0IaUFH+ cY594FYtll9k74NDCT/fc+TU8ld3fFdwqvn+UogKGjeCWjCh/5RnvwW+QhbtjmONBTOf 3GNnhpk9DgSDKiDe/R6XXtdkfL7ds4Wnseve1u3dUJT49UqtHKupn3E8PQ0kB6mkb18L xEwTn5OPEoOXK1nzv2uJgFyGZF7DKoDDHi5r5uxkJdDeugP3/FRu2far4FYvG/jt4X8c 21RQ== X-Gm-Message-State: AOJu0YyiJ3oWeKnzvTpWU15L4auDNNZenSJZMDuZ2TJZG+AdJIJ4xTqj ggxQsdp4t+fnBddFyylQJyWYEy922yai6t2VYSc= X-Google-Smtp-Source: AGHT+IFMIkpAAfmS2OsHx2VNNlTohRKTz3utvIfbWkLfwXqhdEngpTdAsu4ZYyqA42tlNo4VNguf+Q== X-Received: by 2002:a17:906:6a19:b0:9a5:83f0:9bc5 with SMTP id qw25-20020a1709066a1900b009a583f09bc5mr3773895ejc.18.1694721153357; Thu, 14 Sep 2023 12:52:33 -0700 (PDT) Received: from m1x-phil.lan (176-131-223-129.abo.bbox.fr. [176.131.223.129]) by smtp.gmail.com with ESMTPSA id x8-20020a170906298800b0099bcb44493fsm1441278eje.147.2023.09.14.12.52.31 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 14 Sep 2023 12:52:32 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Greg Kurz , Anton Johansson , Yanan Wang , Richard Henderson , David Gibson , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Eduardo Habkost , Marcel Apfelbaum , Daniel Henrique Barboza , =?utf-8?q?Alex_Benn=C3=A9e?= , Paolo Bonzini , Harsh Prateek Bora , qemu-ppc@nongnu.org Subject: [PATCH 0/4] accel/tcg: Stubs cleanups Date: Thu, 14 Sep 2023 21:52:25 +0200 Message-ID: <20230914195229.78244-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::62c; envelope-from=philmd@linaro.org; helo=mail-ej1-x62c.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=unavailable 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org - Remove unused stubs, - Guard with tcg_enabled() and remove more, - Reduce tlb_set_dirty() scope? Philippe Mathieu-Daudé (4): accel/tcg: Remove tlb_set_dirty() stub accel/tcg: Remove unused tcg_flush_jmp_cache() stub accel/tcg: Guard tb_flush() with tcg_enabled() and remove the stub accel/tcg: Keep tlb_set_dirty() internal include/exec/exec-all.h | 1 - accel/stubs/tcg-stub.c | 12 ------------ accel/tcg/cputlb.c | 2 +- cpu.c | 15 +++++++++------ gdbstub/softmmu.c | 5 ++++- hw/ppc/spapr_hcall.c | 2 +- 6 files changed, 15 insertions(+), 22 deletions(-)