From patchwork Thu Jul 19 03:11:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jia He X-Patchwork-Id: 10533539 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 177BA601D2 for ; Thu, 19 Jul 2018 03:13:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06237296B3 for ; Thu, 19 Jul 2018 03:13:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE821296D9; Thu, 19 Jul 2018 03:13:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BA999296B3 for ; Thu, 19 Jul 2018 03:13:04 +0000 (UTC) Received: from localhost ([::1]:39358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffzNF-0001QH-JQ for patchwork-qemu-devel@patchwork.kernel.org; Wed, 18 Jul 2018 23:13:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffzMR-0000iw-Vz for qemu-devel@nongnu.org; Wed, 18 Jul 2018 23:12:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffzMR-00071o-2g for qemu-devel@nongnu.org; Wed, 18 Jul 2018 23:12:11 -0400 Received: from mail-pl0-x243.google.com ([2607:f8b0:400e:c01::243]:36998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffzMM-0006tH-Lb; Wed, 18 Jul 2018 23:12:06 -0400 Received: by mail-pl0-x243.google.com with SMTP id 31-v6so2942713plc.4; Wed, 18 Jul 2018 20:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=yjsjsEuPk8zzkNNrMVesOOC9+E4xh2yUbSso47H9vZE=; b=aPsllw/lq9urfrP45g5orjWCaVXO9wN/SOBrLdxqxb5MmIzRhRdTHPC7P4YHhi7g9+ DY9r2b165bpNIM7cciMkTLCWQpuf0axuMIJHOkqh7CVoJhJumg0f5uILLm9Pg81bO0MC e6lNT47QCXA87drjJ91zPiDsVqYRjw/Np2zHfv/GgdFw5SIrclkWUDHh8H4WRuWbmvf0 7gRn9eR+ESqVfy1xna8k1EfqZkkPfeTjBAL95L3Q+U6RJr5uWgg199fn/SM8giI49DDT pnt7JNpeGGp+i+9tNZVTDN8V7jNGAb4+9Xn7HdJ2TsO13aIJUjld4ZWlFLNWkHq4VlsG O3OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yjsjsEuPk8zzkNNrMVesOOC9+E4xh2yUbSso47H9vZE=; b=emoImTiPGphnkeWj35+Wa3bAs90cJqfJvSJUBHEK76WTfU9MzKL4uGJPzsNmlV0tAM QoE7l7BDjtlI9cYCE51wHr4G5u73WQPoFexUTzl9Qn6UtyPvh4Y4G4epEjKqfHvvJ/+O AO+agCg0FqRTSmDYiv8CkwtWI3ahSnItmZzMGSxXT0bDaxkH63OXsiT6SWJSvJ0WKwB2 eaW4uzn7LkSA3GqNnuFtcjR8Bdk2v8dMJFKpHnzWyHWUzkVf+E83ZRe+USW7jJDKq9vc xBsaT0HAZQkjpwnH0ZiWbhZkbPfdePgRF6IaxdObcSG/QYaD4wQKBBRih22WTvxcuIVW H/kA== X-Gm-Message-State: AOUpUlFrnFpQysBE+OM+IKAoBlrCN0kasJz68ThpkhHrc10MNvIBMuTD hXqZpUzJcx2QkWpFhmdlqtw= X-Google-Smtp-Source: AAOMgpcfDnpoG84XQZP4vwHXGbGAw1YGi8yJa4iIs+6rK8WxVnDX5clPcQl0ZB5822UrbQXBaYRHAQ== X-Received: by 2002:a17:902:70cc:: with SMTP id l12-v6mr8412148plt.132.1531969925644; Wed, 18 Jul 2018 20:12:05 -0700 (PDT) Received: from ct7host.localdomain ([38.106.11.25]) by smtp.gmail.com with ESMTPSA id k190-v6sm7594571pge.28.2018.07.18.20.12.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jul 2018 20:12:04 -0700 (PDT) From: Jia He X-Google-Original-From: Jia He To: Peter Maydell , Eric Auger Date: Thu, 19 Jul 2018 11:11:50 +0800 Message-Id: <1531969910-32843-1-git-send-email-jia.he@hxt-semitech.com> X-Mailer: git-send-email 1.8.3.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::243 Subject: [Qemu-devel] [PATCH] hw/intc/arm_gicv3_its: downgrade error_report to warn_report in kvm_arm_its_reset X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jia He , qemu-arm@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP In scripts/arch-run.bash of kvm-unit-tests, it will check the qemu output log with: if [ -z "$(echo "$errors" | grep -vi warning)" ]; then Thus without the warning prefix, all of the test fail. Since it is not unrecoverable error in kvm_arm_its_reset for current implementation, downgrading the report from error to warn makes sense. Signed-off-by: Jia He --- hw/intc/arm_gicv3_its_kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/intc/arm_gicv3_its_kvm.c b/hw/intc/arm_gicv3_its_kvm.c index 271ebe4..01573ab 100644 --- a/hw/intc/arm_gicv3_its_kvm.c +++ b/hw/intc/arm_gicv3_its_kvm.c @@ -211,7 +211,7 @@ static void kvm_arm_its_reset(DeviceState *dev) return; } - error_report("ITS KVM: full reset is not supported by the host kernel"); + warn_report("ITS KVM: full reset is not supported by the host kernel"); if (!kvm_device_check_attr(s->dev_fd, KVM_DEV_ARM_VGIC_GRP_ITS_REGS, GITS_CTLR)) {