From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38AABC4320E for ; Mon, 30 Aug 2021 04:42:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1EBCD60F5C for ; Mon, 30 Aug 2021 04:42:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230248AbhH3EnV (ORCPT ); Mon, 30 Aug 2021 00:43:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230029AbhH3EnS (ORCPT ); Mon, 30 Aug 2021 00:43:18 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE68AC061575 for ; Sun, 29 Aug 2021 21:42:25 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id a93so25769385ybi.1 for ; Sun, 29 Aug 2021 21:42:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zY3qlsb7ZjPk5BEi04sy91garjJLfXOARzZj+ed5JFY=; b=oP7ov56BVt4hUGVpAFfO+U35vIDmLATzE+bzN7dmjB3nZKriANTROMFIMsbyVCoNca R07ZZtW+mnQ3I5G4ZAZufIrnxoGZDYAIWCXGpYM+DsPZVH5mCZbxdXcjg1GpMsQ9VUas 9tJKOPC9k04ZzYYusZlsAa0Y/A/XHE0pZT7bwlaWlB5KPbDASNoLVIRue7eRnv/JgMXW Mm7ZuuPtb1EFFJX4Nz8ZJzfXhbXLqkGy1MMH7KM4qq72jUoCPd9gS+BG1PGtmkOpeBXl k9SQuK/dA137WcuN73yGI5/A8oTpSy7Nta0Kdf3nW6WDS3ibOfLpMysvGrYxwMyy/EyS HqHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zY3qlsb7ZjPk5BEi04sy91garjJLfXOARzZj+ed5JFY=; b=cqNriJmBlXigX8Uo4t6gKUuIXUTUUR0kRmzAgFWDycTt5WxI/OX5w3phyddTxf2D7B Dlf10tbiJzXFb7Ynrfl+zNtHqhMSTJcBaTtuRUFuAQaihqUZj0pFgibq4dDqDeLgguQh zuI5BHKYxgRVBYUYSuArRJhRwO6ShYeAOdt1CwY3TjZhUXjlQrNb8ee8oKjZUKuE6845 GmZ+B32vMfP447QeTvnK+BUUs1PlxzPtafbXRlIbFUSxMcynyZlzbAo1g8aTxphHb/4A xWUnJq79byDqqZZUcOSNo082+pk3wiGjBaqejf3OE7O3SsCIwRYTqfDxhl0AYLFxo9XU BIrg== X-Gm-Message-State: AOAM5318sKqSz0pi9DbpFWcGmIZltDhlDYRhaMUWl3xorQ/K9FxYMe0o Ub6XvwbLPkYdwAnrpcetd+JoTC3yW+030waxwtIIsQ== X-Google-Smtp-Source: ABdhPJwUk65aPlObB4jF1Mlst+wheGf7v9d0HcQ7LOWkfqADQ3NN4swdsHRfEE4mVQUuvIdWxUAkCEKeFQ51TkO0a5k= X-Received: by 2002:a25:81c5:: with SMTP id n5mr21796587ybm.276.1630298544826; Sun, 29 Aug 2021 21:42:24 -0700 (PDT) MIME-Version: 1.0 References: <20210829182641.2505220-3-mizhang@google.com> <202108301131.HmLTqoX4-lkp@intel.com> In-Reply-To: <202108301131.HmLTqoX4-lkp@intel.com> From: Mingwei Zhang Date: Sun, 29 Aug 2021 21:42:13 -0700 Message-ID: Subject: Re: [PATCH v2 2/2] selftests: KVM: use dirty logging to check if page stats work correctly To: kernel test robot Cc: Paolo Bonzini , kbuild-all@lists.01.org, kvm , LKML , Sean Christopherson , David Matlack , Jing Zhang , Peter Xu , Ben Gardon Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > dirty_log_perf_test.c: In function 'run_test': > >> dirty_log_perf_test.c:236:28: error: macro "TEST_ASSERT" requires 3 arguments, but only 1 given > 236 | "2M page number is zero"); > | ^ > In file included from include/kvm_util.h:10, > from dirty_log_perf_test.c:17: > include/test_util.h:46: note: macro "TEST_ASSERT" defined here > 46 | #define TEST_ASSERT(e, fmt, ...) \ > | > >> dirty_log_perf_test.c:235:3: error: 'TEST_ASSERT' undeclared (first use in this function) > 235 | TEST_ASSERT(get_page_stats(X86_PAGE_SIZE_2M) > 0 > | ^~~~~~~~~~~ > dirty_log_perf_test.c:235:3: note: each undeclared identifier is reported only once for each function it appears in > Sorry, there is one fix not checked in before I sent it out. Will fix it in the next version. From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5279441868102483732==" MIME-Version: 1.0 From: Mingwei Zhang To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 2/2] selftests: KVM: use dirty logging to check if page stats work correctly Date: Sun, 29 Aug 2021 21:42:13 -0700 Message-ID: In-Reply-To: <202108301131.HmLTqoX4-lkp@intel.com> List-Id: --===============5279441868102483732== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable > dirty_log_perf_test.c: In function 'run_test': > >> dirty_log_perf_test.c:236:28: error: macro "TEST_ASSERT" requires 3 ar= guments, but only 1 given > 236 | "2M page number is zero"); > | ^ > In file included from include/kvm_util.h:10, > from dirty_log_perf_test.c:17: > include/test_util.h:46: note: macro "TEST_ASSERT" defined here > 46 | #define TEST_ASSERT(e, fmt, ...) \ > | > >> dirty_log_perf_test.c:235:3: error: 'TEST_ASSERT' undeclared (first us= e in this function) > 235 | TEST_ASSERT(get_page_stats(X86_PAGE_SIZE_2M) > 0 > | ^~~~~~~~~~~ > dirty_log_perf_test.c:235:3: note: each undeclared identifier is repor= ted only once for each function it appears in > Sorry, there is one fix not checked in before I sent it out. Will fix it in the next version. --===============5279441868102483732==--