From patchwork Fri Feb 4 20:43:34 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: 539895 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp3576196imr; Fri, 4 Feb 2022 13:08:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQ6IZKidAXXOwiJuXD4+GfAAtuKXnBQLVMa4qNfmb1sK9Jl8R0pPPmYaT4oQf940djA39y X-Received: by 2002:a81:df0b:: with SMTP id c11mr910881ywn.49.1644008905643; Fri, 04 Feb 2022 13:08:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644008905; cv=none; d=google.com; s=arc-20160816; b=jWXDqh0WiE3mSzSuTMIZi/0lTc301tjTfQCY0l7XfXGeYzn/FBXXjCuN/M+7J3oG/w +tbrGqxa9Ul6w91NXbsoWFUzL/gY7WCss+yJJNuB8DIRXc/V2nUYh7gBzaZHlUcLwZS9 Dw6PfCpsNaMf/+4kGCmPvEA82URxVjt4zD8/X+NfdLe3PKenvLMXKgPeyJ2m0A4FFBoy m1RDomFB8j4RqobfxH2kgDOSVRqfTDRAKKTpxo48N8iOYFq3+LnPhjLdxCRps6B61POt u7pDnPxC/ldSUYLCQRake/B8i0HM3yKDn6WpAlkSn5cWmKGLN6h+fSXyUBx5PqPfwYXY D//A== 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=fa+0TwD19Df5WmeRExOwAOGRJiz7yAQW3tPHdfMEfubmwrxBk695w5NSx9LP6kIw1z Fs5cgOueXUHO38ZGLyBMk97zcbLduvC+r592lNbJ1Q92be8b3AWQ+VED0LenU+jiyxXn WhWgxndEmVso6ba5wT3/iX6sNRLnv7qpJlx6XVao0ZAvJIMANNgWSYf0MG0uvPmP2BzJ 6EOFd7A/PENdXA6o9drxj47ytUVairW7yV+P6YzWJ9cN0IWtSk6D4gqpcmNzyUXr2hix jRsZ2sCtIKJknrJPCY/lZyniRcxGj2m2iuBSyKTjPZmy3LIm2M7NWjFFVORCKx7o4XW3 YRsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="VIR/wlTj"; 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 124si2099442ybb.266.2022.02.04.13.08.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Feb 2022 13:08:25 -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="VIR/wlTj"; 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]:45116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nG5of-0000xb-5j for patch@linaro.org; Fri, 04 Feb 2022 16:08:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nG5WX-0008Vi-UY for qemu-devel@nongnu.org; Fri, 04 Feb 2022 15:49:42 -0500 Received: from [2a00:1450:4864:20::42d] (port=44653 helo=mail-wr1-x42d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nG5WM-00089w-CI for qemu-devel@nongnu.org; Fri, 04 Feb 2022 15:49:40 -0500 Received: by mail-wr1-x42d.google.com with SMTP id k18so13422748wrg.11 for ; Fri, 04 Feb 2022 12:49:22 -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=VIR/wlTjqEtbrmTlSp7XM9IFtB3NBGY8PkdM/hgplre1n9zAxCt5oybyIRn11iIHIM QUU3CXJwr0rAa5ekxc4I97dVfnQlaGSMKWKkkt10RMiMiQlN82DHRsfv1wWJRdy1Te0J cbAnpC9MgGIbix8BPpOGlq9/yozGTBv9s9J2Xyu5zlsFocSRBHmNSHrBic7Q9AlN0rw6 pkI+9FlqDY2S3Vge/9Sgdd074Jf/O6/8kxELWVa89q+KBbq3xWO+aUfh/6O5+zfxWaUO z7EC9gQ72IBPGE1NnS2tr5n3OBMoriwAdXaYPm1hm6Mt2BKSisOsmxcAwl4iAySE9dea 7pIw== 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=1Zolal57Vnn3wcouC6pUJP3ldDlYykVDUB2Xv3K+FLzYBVSMpb2GjIsa8BKEBG2Qoo +mWTaRpawAbHFfUmevlYxMJFaSLPK4gAB4Gqa4f9wFnZaN6o/AmotuI+db0i8H1AIz/2 08YDLJKiKdLFVqL21fv/C9TM/lupRHzMgHPDRw11ccLySl09SqMOzGJJOWS3zvwWZRAc 2zfQQIox9uRlQV677AwrGyumA3ZWXIpSZVRlnRK58JEuc6NG9GULzRX5H2L1UrrN/GPs EHLIfeZI2VpjJyaN63KfClhr3QyxhwVMc7Ih6PAWVyYSgrUxZtZ2eg5aY3/RKTqEQUuW /FWQ== X-Gm-Message-State: AOAM530u/xokuIKWwWe6waWsZWABjeeFLhl6tgqLn9xoE+De71lsRQ0V +ktiOZBHHJaZ/yVuP8hIy6govg== X-Received: by 2002:adf:ff83:: with SMTP id j3mr561469wrr.618.1644007761315; Fri, 04 Feb 2022 12:49:21 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u14sm2866860wmq.41.2022.02.04.12.49.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 12:49:17 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id AC04A1FFD0; Fri, 4 Feb 2022 20:43:37 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: richard.henderson@linaro.org, qemu-devel@nongnu.org Subject: [PATCH v3 25/26] target/i386: use CPU_LOG_INT for IRQ servicing Date: Fri, 4 Feb 2022 20:43:34 +0000 Message-Id: <20220204204335.1689602-26-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220204204335.1689602-1-alex.bennee@linaro.org> References: <20220204204335.1689602-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42d (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42d.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_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=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, Luke.Craig@ll.mit.edu, kuhn.chenqun@huawei.com, f4bug@amsat.org, robhenry@microsoft.com, aaron@os.amperecomputing.com, mahmoudabdalghany@outlook.com, minyihh@uci.edu, cota@braap.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.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;