From patchwork Wed Feb 9 14:15:26 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: 541121 Delivered-To: patch@linaro.org Received: by 2002:ad5:420f:0:0:0:0:0 with SMTP id e15csp1475971imo; Wed, 9 Feb 2022 08:17:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKXV7Rc7bB2T2Pv4j0UIHOHrcGClWhioGdDRuVa5Upt0tJioTca+1EJEqa+HTD/OujCjnK X-Received: by 2002:a81:328b:: with SMTP id y133mr1888630ywy.360.1644423449469; Wed, 09 Feb 2022 08:17:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644423449; cv=none; d=google.com; s=arc-20160816; b=p72CqoDvN5Oat1IDhUKq6cdWP1qZntu8XgxjJVFa5zRb7B0pGdZXMXcmJEogsCeFDr c159htIC0Ixbwu9GLXIXmjBoOUbV3qfboHSgW+ee3CFBRRl0nJtQ1jW9iXu5POCQA/Gv tlFtHF0cEH+kLUXDwSPrgGURe8NCQaCM5UHnPaWzzXJgBPbx4DVpnL1uS9yJLkivdsE1 +Zuz5f+qutVDx+vbVACJ/MuFnStAmpT7LHEUmGKZwt1+UxK74lhFHy9NC0XIRbUqAvzD rs+CHuJMoXOCxd6ZmjmT+dl27I9APb8SknhmY96AzDZuEYatrITNkcE4XkkXU2J6Wcna uu9g== 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=Nc7NqSSiuD8zDZWIBuWD4uXfx2qSa99zJOclVo9lxBA=; b=rTuTCY9Y1AQhMG9KZ8HnupbXDLqNzdD8jsp+WlvMsOntCnrFl2kT9nvtD2zvW26h4t koOMJQXpN3FG7f4NT63jpCYvQMLXTq+NeMW0PxOB0P6MtEz3yEebLUIH00Xa3VWNGxgB CnI+yWi1a/DX2HxPpxZmBB9M67tq7IGCqENcbon5P8Hi7KefTtW3/WMgETpRElb00F1V VykB9muzrihg27rok7oDjstL2Hm3/iHLLQ6nVkZWgLNwmo96q8L8ZVUyBHUuPkNDZGls Fa9xltM+AoILnEK7BV9g6JwtnqiLCpboeDcqI8Olss9iug6S07UASshVJDhw9KXoFiki ktjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SW1OP7QM; 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 x1si15369771ybt.639.2022.02.09.08.17.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Feb 2022 08:17:29 -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=SW1OP7QM; 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]:60336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHpeq-0002mj-R8 for patch@linaro.org; Wed, 09 Feb 2022 11:17:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHo3b-0004mc-DQ for qemu-devel@nongnu.org; Wed, 09 Feb 2022 09:34:55 -0500 Received: from [2a00:1450:4864:20::534] (port=41501 helo=mail-ed1-x534.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHo3Z-0003E0-Hr for qemu-devel@nongnu.org; Wed, 09 Feb 2022 09:34:55 -0500 Received: by mail-ed1-x534.google.com with SMTP id cz16so5446643edb.8 for ; Wed, 09 Feb 2022 06:34:53 -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=Nc7NqSSiuD8zDZWIBuWD4uXfx2qSa99zJOclVo9lxBA=; b=SW1OP7QMPXwLLrVWCRlrIqlGgg0TRnLBe239Y3UuzDFHX842kAd4Xg/lTfAz4lETh7 uLYDhR574ecpkUz0hPb5HpV/LBJ/fw5OxahQbqxrNWMGvU6rwtjyBdUkW93gLDMUULUT HphJjohzYBrMWnp6gLk2j92IS5+16loY6FHRfnLD51/kVC0StXCLqQf1D0v/P+2FZNmt 35HhUo7PJ8coYaWIiprYaz+LfeR8Wsj4DqRt36ilc/QEyzKlTBqXLHKKTEgpPoSNUQIe IPvYjgRZ2NVYv1rdjWniIGQfAO/sNpEtZYPHfLtXID0u1xao8CUSZypJON79hx5frjtJ sEFA== 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=Nc7NqSSiuD8zDZWIBuWD4uXfx2qSa99zJOclVo9lxBA=; b=Y5v7KF+7EtmLeRXeAncjV7iQF8VGZqg1pzSpGUt6JH3v+ST67dp92cu5YLAIQ3eNYB quk56B4Zou1JrCZE4Uzp24xQnSkJ28e6Vy+fSUdjZaFNSCrOxCEAwsyF33dYq/xtnJvQ Dm+4ayMX95aReLmjKpQ8441GUiA09cCZ8WTL/k6+rU5OuAYuAorBX39DQfKYQNFB9nci shVZfIo6KXgJ4Y7QfLvitAucnLBpqpNrW+fwhzwSRLpUNQnvef1SOUe4ybPhsMahnTuD G3HXyNoQH+mgAITYuhpF7BCd+tNmeQFq2EbBmz0id18PyRBKm/Brfh1MvKtWn2YjHzYQ EXcw== X-Gm-Message-State: AOAM530ZLZKQv8U3rtrksgvG29BMHqfNx5Wngty5zG/RzgXd8x8AXbdE WZ1iuPYSN2b2DMsOJoEwbiY+dw== X-Received: by 2002:a50:fd05:: with SMTP id i5mr2796341eds.181.1644417292027; Wed, 09 Feb 2022 06:34:52 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q5sm5136325eds.82.2022.02.09.06.34.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 06:34:50 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 83B251FFD0; Wed, 9 Feb 2022 14:15:31 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 25/28] target/i386: use CPU_LOG_INT for IRQ servicing Date: Wed, 9 Feb 2022 14:15:26 +0000 Message-Id: <20220209141529.3418384-26-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220209141529.3418384-1-alex.bennee@linaro.org> References: <20220209141529.3418384-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::534 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x534.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: Eduardo Habkost , Richard Henderson , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= 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: <20220204204335.1689602-26-alex.bennee@linaro.org> 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;