From nobody Tue May 21 23:47:14 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=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1670584076; cv=none; d=zohomail.com; s=zohoarc; b=JPhtEuE7NucM1/xoBV6CV6eXVGFpRmtOd4+z58U6yGWhTcgR6bB862DSQp+1EQXBmaOeB4RbBhWtsbMIBrtJpSOnQvYC9tDlHT8aGoInE+iJx0jbvPgCIbsjY6PAJwxvuvQyVnwqDV03v90eLoQLXSHZx7toqBEV1kknf+knB1A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670584076; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=P1XZqzx8SzT2AxQxVxKOk6muGF552luMg73/1kO+f3k=; b=kHI4PWQuCI7oyYoLefx6aJqOFF99j8mKbTjthpF69v/GV+xaW9DSBBxvIpRIdwyc+PT3+3nLeJxHfOcQjlJ8rz73wIkORYwHd7RFKpZpqJUX12R+c6Z1zd6eR2mj3/BxwfOaSEQjSTZA29V8h1XCHDlGP1nJEiWct/HSCcjZBQ8= 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 1670584076407127.5875880407583; Fri, 9 Dec 2022 03:07:56 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3bDe-0004yC-8L; Fri, 09 Dec 2022 06:07:06 -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 1p3bDI-0004wv-D4 for qemu-devel@nongnu.org; Fri, 09 Dec 2022 06:06:49 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3bDG-0000Zy-Qq for qemu-devel@nongnu.org; Fri, 09 Dec 2022 06:06:43 -0500 Received: by mail-wm1-x331.google.com with SMTP id k22-20020a05600c1c9600b003d1ee3a6289so3158207wms.2 for ; Fri, 09 Dec 2022 03:06:42 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id a9-20020a05600c2d4900b003c6bd12ac27sm1349204wmg.37.2022.12.09.03.06.39 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 09 Dec 2022 03:06:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P1XZqzx8SzT2AxQxVxKOk6muGF552luMg73/1kO+f3k=; b=Mrcfhes7AV4wSEN7Yjkp0qBJznyW9JsQtege4gj4gcxiniLFiUWBVMWCclUhr3AU87 MhHQqQv/VM8kqeSBo25mPVyS9xgfVf9nGBzhYg+GB1aDpsmAKZvctK/APyvIXp7vCHnz rnXfCqAFX43yO+ABBZfFvlcw7HTKM8352rqWS5M/MzC/9BIzPDfn9Dy2aV9bCoYz2o3d 4yKnf683k+FKxraoB2mUraMgmKNblB3eR25T+CLV/DoXzTKmbbCbyARex0kupt0hRiZV LRKvzhs7+Cbv6KuadixlTA4POOFp/FGDdHBngNUOh4n5JN+EAe8b5I+Wm+4VLbFfBOx4 jTrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P1XZqzx8SzT2AxQxVxKOk6muGF552luMg73/1kO+f3k=; b=EUom8UnZ01rpBLJ08SDvOXpgwjKMb4FYTWMBFzIGiNHZqro5aEOSmo66PF0CutL5C/ +MANIV5IleBwZbbxnWmLWVa7hYukncAD2DzL0L173Ar0bhASqVUQMgXSeiVW4BSIcvGN LSZZINv1Yw8+xMXZJXaKesQrDR5x7xQh0jqw3Q1r/JH48rzsTdvooajITRTjEzVGKXLk 5VdXAfpC42qAeNjgxjm55zuT1yoj0oM5JunKVaBn6TBkFu02pjaPe+9WZN0Z2UlAh+ak YEzkg4Q/PggKij5gUaYCUstvc5eXe+pX4UyR/yA3yCdGjvNSYbY/uW9c0zmoLcNsKoSQ rXuQ== X-Gm-Message-State: ANoB5pkiZe4l3z48kNyN2pqg4NMhGtq/nNs50cMpRQ7CsVMg5KCS0U9p hTPsFlVjQFvObi0E17SAHqzkY49ddz+Z2Vg7O5E= X-Google-Smtp-Source: AA0mqf5jR6n5mzVcnb72vMQus8FxZPR9u9FbtVD8Th+MP6nVXz+dtk8AMhqFurbq6eVM873VRsJREg== X-Received: by 2002:a05:600c:4e91:b0:3d1:dc6f:b1a4 with SMTP id f17-20020a05600c4e9100b003d1dc6fb1a4mr5810026wmq.5.1670584000957; Fri, 09 Dec 2022 03:06:40 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi , Peter Xu , David Hildenbrand , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH-for-8.0 v3 1/2] physmem: Remove unused "exec/translate-all.h" Date: Fri, 9 Dec 2022 12:06:30 +0100 Message-Id: <20221209110631.59031-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221209110631.59031-1-philmd@linaro.org> References: <20221209110631.59031-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=2a00:1450:4864:20::331; envelope-from=philmd@linaro.org; helo=mail-wm1-x331.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1670584078724100001 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- softmmu/physmem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/softmmu/physmem.c b/softmmu/physmem.c index 1b606a3002..d562c0bb93 100644 --- a/softmmu/physmem.c +++ b/softmmu/physmem.c @@ -58,7 +58,6 @@ =20 #include "qemu/rcu_queue.h" #include "qemu/main-loop.h" -#include "exec/translate-all.h" #include "sysemu/replay.h" =20 #include "exec/memory-internal.h" --=20 2.38.1 From nobody Tue May 21 23:47:14 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=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1670584088; cv=none; d=zohomail.com; s=zohoarc; b=cAYh6hxHu/7A7WoNn7vrd96jFRxSXk5UtUehcs58gq3mRLHvBoI0O2V/QIytYnqImYu/mXjy4y/uRJHqFbdRxdm72cpWCApmakd/1tE/YS0WYDSEwp4BtpzJg0C5HtEgx9XNfgOREPsOIzM+n0+7RUIoINJxKPTpw7yObtw6uMY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670584088; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Rol1YC6OG7gH13doSoyRHJDeV0JryMZ9eZ3VXv2OjO0=; b=Ts8ufOWVhmVRrQDgL0vbM6GP+MjvHxR904ZnfCwRV1rUkQT7LA7XYVDIofuwLoOdRchF/d+uhG2muyf1VreXDNp2kQuZwrzJWrZFb2W5s8nQZ1v9iEJOsJqbwv8TlnhIZ3VneGvjf771KHClLrXFCrY6H888EeA1ML7ppKh4hyo= 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 1670584088517246.51760791132892; Fri, 9 Dec 2022 03:08:08 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3bDh-00052C-8r; Fri, 09 Dec 2022 06:07:09 -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 1p3bDN-0004x4-Qz for qemu-devel@nongnu.org; Fri, 09 Dec 2022 06:06:58 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3bDL-0000bX-PW for qemu-devel@nongnu.org; Fri, 09 Dec 2022 06:06:49 -0500 Received: by mail-wm1-x333.google.com with SMTP id c65-20020a1c3544000000b003cfffd00fc0so5508018wma.1 for ; Fri, 09 Dec 2022 03:06:47 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id f14-20020a1c6a0e000000b003cf75213bb9sm7670850wmc.8.2022.12.09.03.06.44 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 09 Dec 2022 03:06:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Rol1YC6OG7gH13doSoyRHJDeV0JryMZ9eZ3VXv2OjO0=; b=dNBz8KhD6/xeI3gWNioBuys2fAnPok5uJOhYy8Fc/RqlmTRY1oORcBTAG+K+KFJsa4 jxnS2YX6+TJJRwhYXgy31FC5NMD+CmwJKXBFRWuEIX/iGPMbI/sICPrXRLP9mMFHMcLP 4Ji3LD5TN7MUJvAz4Lng4p1L0qxHzIRYpiD/cIOB5d3Fq37OncgQNwHqTNuL3wLNRjln oJpaOGzqYQcttTVC1LsvKPD0uQk9jw2RjggpFgDU9tufGoqowBOIormP5UrX89HG3fuY 5wfPOXzVExnv5NMIByAnze+mTa6Mn8VEd4ZWL7MwKK2e0CKXO1oVSIv8TmszrFw6Iz2N PzZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Rol1YC6OG7gH13doSoyRHJDeV0JryMZ9eZ3VXv2OjO0=; b=S2X/bDjhkx/8CEFWqEc9AhafIYzZAxxd9sHwBThhgrLv80fZvm8uWWQjKg5YCGvW7G 1jpf8dSxOYXOrYhmXWwiOI79nG8qZwrL/6PLVQYfqp6cuJTxhCsiXfL1pMN37rlAeT/+ QLHUPRpN8zTW8Hvywax6J7jdKQsPD+QZRdXcuVnrchnlAGVWRN3MN7APPBO/GVLN7mwx jKSVl1NViiFZWv0uO/gPhXCIejXM3qu70WJDv7TqZj5NBSRwAfKyWyWUG7BhFImTljjp UV8UY6kf8YpAmd0bjxDtIWEoVCSAiurqt3uSYOdvTfOHZkXkZgpspws88SJ+qZo5eT/K 9Fgw== X-Gm-Message-State: ANoB5pkoYFrvTAyCJei5H2uR9nZWhQm9cVR3fEiwZM6HdWPAv5OsXYhg 97aKHaIjHe/4E4ZvPB78/I8e3SSxa1AtyFxCx28= X-Google-Smtp-Source: AA0mqf6yaqvsmMZg/AAlcjWWPhTpU+MjmPeTOpvxzc9ZMHemK8zsucM64bs7W6ax09dmUDD8ugEyoA== X-Received: by 2002:a05:600c:ad0:b0:3cf:6f4d:c260 with SMTP id c16-20020a05600c0ad000b003cf6f4dc260mr4706462wmr.32.1670584005944; Fri, 09 Dec 2022 03:06:45 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi , Peter Xu , David Hildenbrand , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH-for-8.0 v3 2/2] physmem: Remove trace events from trace-root.h Date: Fri, 9 Dec 2022 12:06:31 +0100 Message-Id: <20221209110631.59031-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221209110631.59031-1-philmd@linaro.org> References: <20221209110631.59031-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1670584089000100003 Missed in d9f24bf572 ("exec: split out non-softmmu-specific parts"). Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- softmmu/physmem.c | 2 +- softmmu/trace-events | 5 +++++ trace-events | 5 ----- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/softmmu/physmem.c b/softmmu/physmem.c index d562c0bb93..94ee981917 100644 --- a/softmmu/physmem.c +++ b/softmmu/physmem.c @@ -50,7 +50,7 @@ #include "sysemu/hostmem.h" #include "sysemu/hw_accel.h" #include "sysemu/xen-mapcache.h" -#include "trace/trace-root.h" +#include "trace.h" =20 #ifdef CONFIG_FALLOCATE_PUNCH_HOLE #include diff --git a/softmmu/trace-events b/softmmu/trace-events index 22606dc27b..c7d709151d 100644 --- a/softmmu/trace-events +++ b/softmmu/trace-events @@ -21,6 +21,11 @@ flatview_destroy(void *view, void *root) "%p (root %p)" flatview_destroy_rcu(void *view, void *root) "%p (root %p)" global_dirty_changed(unsigned int bitmask) "bitmask 0x%"PRIx32 =20 +# physmem.c +find_ram_offset(uint64_t size, uint64_t offset) "size: 0x%" PRIx64 " @ 0x%= " PRIx64 +find_ram_offset_loop(uint64_t size, uint64_t candidate, uint64_t offset, u= int64_t next, uint64_t mingap) "trying size: 0x%" PRIx64 " @ 0x%" PRIx64 ",= offset: 0x%" PRIx64" next: 0x%" PRIx64 " mingap: 0x%" PRIx64 +ram_block_discard_range(const char *rbname, void *hva, size_t length, bool= need_madvise, bool need_fallocate, int ret) "%s@%p + 0x%zx: madvise: %d fa= llocate: %d ret: %d" + # softmmu.c vm_stop_flush_all(int ret) "ret %d" =20 diff --git a/trace-events b/trace-events index b6b84b175e..6e67dfe91b 100644 --- a/trace-events +++ b/trace-events @@ -37,11 +37,6 @@ dma_complete(void *dbs, int ret, void *cb) "dbs=3D%p ret= =3D%d cb=3D%p" dma_blk_cb(void *dbs, int ret) "dbs=3D%p ret=3D%d" dma_map_wait(void *dbs) "dbs=3D%p" =20 -# exec.c -find_ram_offset(uint64_t size, uint64_t offset) "size: 0x%" PRIx64 " @ 0x%= " PRIx64 -find_ram_offset_loop(uint64_t size, uint64_t candidate, uint64_t offset, u= int64_t next, uint64_t mingap) "trying size: 0x%" PRIx64 " @ 0x%" PRIx64 ",= offset: 0x%" PRIx64" next: 0x%" PRIx64 " mingap: 0x%" PRIx64 -ram_block_discard_range(const char *rbname, void *hva, size_t length, bool= need_madvise, bool need_fallocate, int ret) "%s@%p + 0x%zx: madvise: %d fa= llocate: %d ret: %d" - # job.c job_state_transition(void *job, int ret, const char *legal, const char *s= 0, const char *s1) "job %p (ret: %d) attempting %s transition (%s-->%s)" job_apply_verb(void *job, const char *state, const char *verb, const char = *legal) "job %p in state %s; applying verb %s (%s)" --=20 2.38.1