From patchwork Tue Jun 22 20:05:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Christopherson X-Patchwork-Id: 12338445 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=-26.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT,USER_IN_DEF_DKIM_WL autolearn=ham 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 9AF73C49EA5 for ; Tue, 22 Jun 2021 20:05:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 84C8A610C7 for ; Tue, 22 Jun 2021 20:05:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232883AbhFVUID (ORCPT ); Tue, 22 Jun 2021 16:08:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232880AbhFVUH7 (ORCPT ); Tue, 22 Jun 2021 16:07:59 -0400 Received: from mail-qv1-xf4a.google.com (mail-qv1-xf4a.google.com [IPv6:2607:f8b0:4864:20::f4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4A1CC061768 for ; Tue, 22 Jun 2021 13:05:42 -0700 (PDT) Received: by mail-qv1-xf4a.google.com with SMTP id f11-20020a056214164bb029026bc7adaae8so354815qvw.2 for ; Tue, 22 Jun 2021 13:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=reply-to:date:in-reply-to:message-id:mime-version:references :subject:from:to:cc; bh=yS607YMkjceC4JgRruoi4/ygC1MkOaxs5bVEaulz0tc=; b=RIuUzkEVhRmNz0bDMwt1Z7pVdRtVEUhMXcjZ7o9biugvOtkiRE/17qM9Mjf4lPrxcx uzG6uMvMFR27JmMJPdJgpsm8KGgsvU/nkBMb4DbjBsvCEXuL/Ts6tjsqt2fxWMW+ksw2 ElNOe83RDiz4i2QX1I8edZtLEJEIcUmRNJbKaIKONoXRNZ2LNP2797wJItihUjdHHHwP 28NZ8q3rtcrKoYiADETzXnKPwfRZr9EiFdXL+vT6sb+ctvAqqSR3IpOzkcuUrUJFWUoG /wvMbzoSy6zvAtZO30oQP2uYoCgUVGtZ6vvlB5M5bo7C5BoWu8LqIy2IWiHEAC9wAob6 pm8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:date:in-reply-to:message-id :mime-version:references:subject:from:to:cc; bh=yS607YMkjceC4JgRruoi4/ygC1MkOaxs5bVEaulz0tc=; b=FL5Hu6THktQNY5Lmk4lnHxuhd0UesmmGErxYeiATybTIiEEUKGjdLJb+9b9wK8bVqr BFwFRiDev+HgRdHlp2t8Md3m6DqTj01DkLktvBJmuYgMCePf7cMJT2APGDlvKAGWTqnY dmzLXkALFOPASqDfCcnkY82bEiNlTnizlsxg/ZaylyoyPD24zHkaTFWkpFXp16P/n9Z2 FiVjjvXrp3XAikhU+/j0zMK/N+7o8l0P+Mtji4timM8Ap2JWSe35rX9UBVqhwTIxTN0A wwV5HkGPhIv4XOhu8RnviFmZDEPLXwJI79EDsiqrsZ3qVVtIs03qa8jQfp44m0dwzSRt BKvA== X-Gm-Message-State: AOAM530JsnahAIv2UiFaYm9zhVJyqIOaAZWeesk5AWvZOgwY6JIdDw39 p1ppIyGU+GO6Yog/Sw01zlvCo66Qpgk= X-Google-Smtp-Source: ABdhPJzkhqdyZ2pHk6tsLg53zmI8hJ/HdjKmFlDkPze3Xe8cBtlmbSVriL31WeiVmbQff0jNMVxSqPMUY8U= X-Received: from seanjc798194.pdx.corp.google.com ([2620:15c:f:10:7d90:4528:3c45:18fb]) (user=seanjc job=sendgmr) by 2002:a0c:f805:: with SMTP id r5mr554023qvn.31.1624392341779; Tue, 22 Jun 2021 13:05:41 -0700 (PDT) Reply-To: Sean Christopherson Date: Tue, 22 Jun 2021 13:05:11 -0700 In-Reply-To: <20210622200529.3650424-1-seanjc@google.com> Message-Id: <20210622200529.3650424-2-seanjc@google.com> Mime-Version: 1.0 References: <20210622200529.3650424-1-seanjc@google.com> X-Mailer: git-send-email 2.32.0.288.g62a8d224e6-goog Subject: [PATCH 01/19] KVM: selftests: Remove errant asm/barrier.h include to fix arm64 build From: Sean Christopherson To: Paolo Bonzini , Christian Borntraeger , Janosch Frank Cc: David Hildenbrand , Cornelia Huck , Claudio Imbrenda , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Xu , Sean Christopherson , Peter Shier Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Drop an unnecessary include of asm/barrier.h from dirty_log_test.c to allow the test to build on arm64. arm64, s390, and x86 all build cleanly without the include (PPC and MIPS aren't supported in KVM's selftests). arm64's barrier.h includes linux/kasan-checks.h, which is not copied into tools/. In file included from ../../../../tools/include/asm/barrier.h:8, from dirty_log_test.c:19: .../arm64/include/asm/barrier.h:12:10: fatal error: linux/kasan-checks.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Fixes: 84292e565951 ("KVM: selftests: Add dirty ring buffer test") Cc: Peter Xu Signed-off-by: Sean Christopherson --- tools/testing/selftests/kvm/dirty_log_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/kvm/dirty_log_test.c b/tools/testing/selftests/kvm/dirty_log_test.c index 81edbd23d371..b4d24f50aca6 100644 --- a/tools/testing/selftests/kvm/dirty_log_test.c +++ b/tools/testing/selftests/kvm/dirty_log_test.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include "kvm_util.h"