From patchwork Tue Feb 1 18:20:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 538979 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp1128827imr; Tue, 1 Feb 2022 14:48:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzoZJFaijAzRfRoug3biODxyUDnKqN/a+YDjkLLe1Jud9B2eX/a+hl8k/oYJbNeFBNeyWvY X-Received: by 2002:a81:3612:: with SMTP id d18mr172296ywa.336.1643755736477; Tue, 01 Feb 2022 14:48:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643755736; cv=none; d=google.com; s=arc-20160816; b=KH4REV1iFwwUnv9hXckbdUrlCc7NEPTFlTdXGugnTn5qJ3nS8qcW+E6efmN3AQw4gG 9sCUSE/l8tzbAbxJyRakZZLN0d7hbcen4lpHmbSbCIiQiBWYWL2b00689CGoutc5BdbY 1BumS6peTXHL8a6OibfL4T5Wy66TCFZ8/f/WqgxVz+ajrmNTNJP2Rb+QfXnp30U/yKh3 loKVliTatR6r7TCrzf85HUvEfyTIEr9l5lUSH8vUpX+MRuOSBbTA/p2wXjVIteaJDGoK EJXOkAmBboPfydMrAMwLTWu1DICq0Ap5xgY0t+YOR9hbTHGiJqlXt6dW2vRckLtd+6eI 4uhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=CJ53Uj6U+FB2fJ+hgAKxvbRBEP4EFyNBAoP2qiY8QbM=; b=O6x6uVGKumYuyak2dvnd4mQqJDI2IGU8AQjwgcXq27RtLywY7VwwvRy2axCUkhkwUM +JxwBqUQacUloIZpep8rNPpXZ2DUSyJLdw1QLcCojDXKUXnuEcHmK6dSk8yLFHhplV7a lM0Si3MzhywcsCpUe4pttZbjV483xxplhwHno6+VsVOPkfTC52t/zJeXfEajvehv420m JtmBqT+uwrPoGba0nSXw4brSlyc5l3AQKuxEDuqVDSFwZb5hQAze3aci/UFGQKoI3dJj J6ZhJafgDLefysMY2fj4sJqFq+IAGFzZC9FmX2G3PCoPOBkNcBW80P0FtXqTVHBzRoRa lDYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ZUxlQqqJ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v2si31995429ybu.441.2022.02.01.14.48.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Feb 2022 14:48:56 -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=fail header.i=@linaro.org header.s=google header.b=ZUxlQqqJ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF1xI-0004eW-04 for patch@linaro.org; Tue, 01 Feb 2022 17:48:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nExtp-0002ec-Ku for qemu-devel@nongnu.org; Tue, 01 Feb 2022 13:29:06 -0500 Received: from [2a00:1450:4864:20::42b] (port=44732 helo=mail-wr1-x42b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nExto-0001fx-7F for qemu-devel@nongnu.org; Tue, 01 Feb 2022 13:29:05 -0500 Received: by mail-wr1-x42b.google.com with SMTP id k18so33752829wrg.11 for ; Tue, 01 Feb 2022 10:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CJ53Uj6U+FB2fJ+hgAKxvbRBEP4EFyNBAoP2qiY8QbM=; b=ZUxlQqqJBA4YDmIN2zLVlwC4UKygiy2t2beEmVZ02ZxY7Es5asPCi3Y35WY9Mrvhbu bgSeR89UKFtYHHlimv80FoPtOGepd2EmwVDNIg1DqmgOqJJE/Z9ZRByTiZI6UWqHsZ8Z 54NF0SY8eg1QYvWiMnTmWXAyx3ltMmUOiKrpTe2GAF1BZAUvo4vQbGZFfiHKIao8QXBk GJXu/MOtgjgSr9y3qrki7zSg/9H5y8jAqCenMF9m0yRvryLJOaSZHKL2xsB6IX95H07M Yi7uhj6g8c5n08d1o+gwM6/bwZLVpM+imMjhcx0oZ2jFSeZhzQHNjwGqqd+bW9r4HaqI Ojcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CJ53Uj6U+FB2fJ+hgAKxvbRBEP4EFyNBAoP2qiY8QbM=; b=p5Hzj/egMGyx779hxpFXrxcvpEFxLyGgpedfDOWmfMelRuQMbxNAt+n/536Y2JRYoP 9d29gnWz0FO39pk1HImd4Zg/6q1/p+u1FZxa5yM+K+/zPvmGzeCZtwyG9MHfhtJ1Ryan xecOeL+VwsiaBUEidfOWkwATBxusZPCr44svGGMN8kW7+1Ui2OGTzclb1OEGxsF/Adkj 7iniQKY+GP1Q4Z09zUWmSlY9o24xpylZ5BvxjydKxGTc2SYXP/1S9ext2UvDwMJVNmLx auKpisIVPw0/uC9cWkYWHOKa8MgTUHfLvT9SbSednRdw7YvYcqeqByvpF/iZaVU2P07i 2zrw== X-Gm-Message-State: AOAM533M68cINXktp7J11aRNx6jYStf1dSsaYz1mgP0pZ8atG5nkcN1g fj3jAcRWlv3E5vwefac+JJVDnA== X-Received: by 2002:a05:6000:1568:: with SMTP id 8mr21317434wrz.583.1643740142915; Tue, 01 Feb 2022 10:29:02 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m187sm2638848wme.25.2022.02.01.10.28.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 10:28:59 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 081001FFCF; Tue, 1 Feb 2022 18:20:53 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 24/25] target/i386: use CPU_LOG_INT for IRQ servicing Date: Tue, 1 Feb 2022 18:20:49 +0000 Message-Id: <20220201182050.15087-25-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220201182050.15087-1-alex.bennee@linaro.org> References: <20220201182050.15087-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42b (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: fam@euphon.net, Eduardo Habkost , berrange@redhat.com, stefanha@redhat.com, crosa@redhat.com, Richard Henderson , aaron@os.amperecomputing.com, robhenry@microsoft.com, f4bug@amsat.org, mahmoudabdalghany@outlook.com, minyihh@uci.edu, cota@braap.org, Luke.Craig@ll.mit.edu, pbonzini@redhat.com, kuhn.chenqun@huawei.com, ma.mandourr@gmail.com, =?utf-8?q?Alex_Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" I think these have been wrong since f193c7979c (do not depend on thunk.h - more log items). Fix them so as not to confuse other debugging. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20220124201608.604599-22-alex.bennee@linaro.org> --- target/i386/tcg/sysemu/seg_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/i386/tcg/sysemu/seg_helper.c b/target/i386/tcg/sysemu/seg_helper.c index bf3444c26b..824b9a5a26 100644 --- a/target/i386/tcg/sysemu/seg_helper.c +++ b/target/i386/tcg/sysemu/seg_helper.c @@ -167,7 +167,7 @@ bool x86_cpu_exec_interrupt(CPUState *cs, int interrupt_request) cs->interrupt_request &= ~(CPU_INTERRUPT_HARD | CPU_INTERRUPT_VIRQ); intno = cpu_get_pic_interrupt(env); - qemu_log_mask(CPU_LOG_TB_IN_ASM, + qemu_log_mask(CPU_LOG_INT, "Servicing hardware INT=0x%02x\n", intno); do_interrupt_x86_hardirq(env, intno, 1); break; @@ -175,7 +175,7 @@ bool x86_cpu_exec_interrupt(CPUState *cs, int interrupt_request) cpu_svm_check_intercept_param(env, SVM_EXIT_VINTR, 0, 0); intno = x86_ldl_phys(cs, env->vm_vmcb + offsetof(struct vmcb, control.int_vector)); - qemu_log_mask(CPU_LOG_TB_IN_ASM, + qemu_log_mask(CPU_LOG_INT, "Servicing virtual hardware INT=0x%02x\n", intno); do_interrupt_x86_hardirq(env, intno, 1); cs->interrupt_request &= ~CPU_INTERRUPT_VIRQ;