Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6787580rwp; Tue, 18 Jul 2023 06:03:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlHAySN2EbOCwLley2CpiR6sk6JMsDAJp7Wm0rrAOzj4lCMGOT6snHVMKWHND34Mc59x7GVC X-Received: by 2002:a5e:8607:0:b0:77a:e86a:c24b with SMTP id z7-20020a5e8607000000b0077ae86ac24bmr2146241ioj.6.1689685383379; Tue, 18 Jul 2023 06:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689685383; cv=none; d=google.com; s=arc-20160816; b=mwVDclZAkM7dp8l+0VMJQPCBT0Mu4Folk9IZlqJyU89B36txTLq5w1cEw7u/Uhod2u z7/A4eog3Kecm7CvqerCeQsPdpWl3AfvETgg+9Na/42GTYw4aiFq708LpHPHYCenor51 3+V+KAF6WNeoBKXW9rVWuO4UXwwtQt0FP+0dGcJoYt1n11oj4cq8M4kT/yaTeOxWbdGS kFwGnlxLXB2n3/s/QFMQ+15+J3tdZ/klY9s6ChNsHqhaGRpPLKhceXOdj27ITw3ZRWwY /sBd3+T9IH+xnfVWAAW6/Mn/b0eUi214aocvSwTPGl0dQPxy3ZjpaW6z94E461Vb3gYc YESw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Q79BXzZcL1/WaOlmXCuMLYQAEHu/pqHCehrBeb7Pl/4=; fh=fJaLrrUhbx0yEzDo7FaSM2HCGDvqyFjh9lqjPuJ7xtg=; b=WWAW9gM6QVFH6vGOnAC6rxT4dxd8ZZwmJSE8gIfGEyEOfEJwmwWMquZRbPq5VHKu85 fVSzjwQNA3r6Fc+ROAvyoYuhDOfboqrj39OJxCsEJaA5QQqwwmxlYAhNbN3jir0zaam/ lxzEKAeQhPC8eM8aUTfqNKuPVZg15zR5bbaVcePFFKMklovqtcK/ZKkDYthZLp4IXQ2R CWxHnVFni72RgWfft1KER7A9XB3yZxa7wSbKuIdG46am18lfJG/DtebTTyZ5be6j6ggY sendA8+R0WJX6TETfvg2OPoAX03owZZdAjQWEVAsKoql0xFst9xKSsn6AJ3WwRvQKxHB 1G1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zaEY7Jg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a8-20020a631a48000000b0054fe43caa81si1514656pgm.782.2023.07.18.06.02.31; Tue, 18 Jul 2023 06:03:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zaEY7Jg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229819AbjGRM1F (ORCPT + 99 others); Tue, 18 Jul 2023 08:27:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230156AbjGRM1E (ORCPT ); Tue, 18 Jul 2023 08:27:04 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DE4D10FF for ; Tue, 18 Jul 2023 05:27:00 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3fbea14706eso51698475e9.2 for ; Tue, 18 Jul 2023 05:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689683219; x=1692275219; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Q79BXzZcL1/WaOlmXCuMLYQAEHu/pqHCehrBeb7Pl/4=; b=zaEY7Jg2ljy7bLYJJpcG/cafWQjMPcRxcgsSEBoIVee9TbL8hWHzeAZgwfT31J19Oa p9Uv2hLsu0ugi5qbOCS1TDH+3ZKQjAjkt4M05uiORnA3Vor1eRwzbZ6W4t8buZR7MGBO f1FPxisJxS7u1UP6YcikIe0ve4ss999LTAmwz5RrhAyinBBtcE5AtJANcdb+2pLsj9EA LCNDffpydRfucJtZR0KX9PYtPVNAoPCtbJMLVEoJ6Y6yVR9wqtY6xWZ1+cPd/0xNKGpu qEX3Fjot02sQjxRLIkuCWBw2tZLOSoH5xWQEpkJo5k8DPTQPNnvtHu/bfxJcIbQtMkf1 ILYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689683219; x=1692275219; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Q79BXzZcL1/WaOlmXCuMLYQAEHu/pqHCehrBeb7Pl/4=; b=PUmlHvajjiZFiYy4gXWaDuir/STLbwpxRFPFgP00yHDhonluYWMZTipetxhl7G+/yz z4veWjtHxQw0TIhkWjxOiLD/VWMSfRZvHsWcZzY5PYz17DqyxV+CMRTTKnwZUbgCZv7C cNr5MMdhqF+l3bji1v7pRGG5s6gblm/zrWoM0tE82L+jQrWxAGbTtlKGA1DrtlWYprlR erzc56aDob49PGuRFQSFNsvV2A9n8zrhr1cyazrtJw7Iy7C2A41cstHhsX61wzUytErD HbDhJGyNFSp/Yo2uhZPze7S7i8N78hYXuP7XByUuzXF3Y4VILjwxtcftj98t9UO6gySl rFug== X-Gm-Message-State: ABy/qLYlDpqC7pLxRvU9pUoZOZFuR4NBWTUW5fTFGWpFqJOXGTOIaSAY UuvO6dnt0vBSsRjswHTZoMpFkQ== X-Received: by 2002:a1c:f710:0:b0:3f9:c0f2:e1a4 with SMTP id v16-20020a1cf710000000b003f9c0f2e1a4mr1743885wmh.34.1689683218907; Tue, 18 Jul 2023 05:26:58 -0700 (PDT) Received: from [192.168.94.175] (140.red-95-127-46.staticip.rima-tde.net. [95.127.46.140]) by smtp.gmail.com with ESMTPSA id 12-20020a05600c230c00b003f90b9b2c31sm10180325wmo.28.2023.07.18.05.26.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Jul 2023 05:26:58 -0700 (PDT) Message-ID: Date: Tue, 18 Jul 2023 14:26:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 1/4] KVM: selftests: Rename the ASSERT_EQ macro Content-Language: en-US To: Thomas Huth , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Paolo Bonzini , Sean Christopherson Cc: linux-kselftest@vger.kernel.org, David Matlack References: <20230712075910.22480-1-thuth@redhat.com> <20230712075910.22480-2-thuth@redhat.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= In-Reply-To: <20230712075910.22480-2-thuth@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/7/23 09:59, Thomas Huth wrote: > There is already an ASSERT_EQ macro in the file > tools/testing/selftests/kselftest_harness.h, so we currently > can't include test_util.h from the KVM selftests together with > that file. Rename the macro in the KVM selftests to TEST_ASSERT_EQ > to avoid the problem - it is also more similar to the other macros > in test_util.h that way. > > Suggested-by: Sean Christopherson > Signed-off-by: Thomas Huth > --- > .../selftests/kvm/aarch64/aarch32_id_regs.c | 8 +-- > .../selftests/kvm/aarch64/page_fault_test.c | 10 +-- > .../testing/selftests/kvm/include/test_util.h | 4 +- > tools/testing/selftests/kvm/lib/kvm_util.c | 2 +- > .../selftests/kvm/max_guest_memory_test.c | 2 +- > tools/testing/selftests/kvm/s390x/cmma_test.c | 62 +++++++++---------- > tools/testing/selftests/kvm/s390x/memop.c | 6 +- > tools/testing/selftests/kvm/s390x/tprot.c | 4 +- > .../x86_64/dirty_log_page_splitting_test.c | 18 +++--- > .../x86_64/exit_on_emulation_failure_test.c | 2 +- > .../kvm/x86_64/nested_exceptions_test.c | 12 ++-- > .../kvm/x86_64/recalc_apic_map_test.c | 6 +- > .../selftests/kvm/x86_64/tsc_msrs_test.c | 32 +++++----- > .../vmx_exception_with_invalid_guest_state.c | 2 +- > .../selftests/kvm/x86_64/vmx_pmu_caps_test.c | 3 +- > .../selftests/kvm/x86_64/xapic_state_test.c | 8 +-- > .../selftests/kvm/x86_64/xen_vmcall_test.c | 20 +++--- > 17 files changed, 101 insertions(+), 100 deletions(-) Reviewed-by: Philippe Mathieu-Daudé