Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp142056pxb; Wed, 8 Sep 2021 20:00:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDYT8k3kSKcWMWem57gdqtSJln0cBgqYJKBTVzfs0hndX0wC/op/El+dFMkzBwPOxGyiTq X-Received: by 2002:a05:6402:2806:: with SMTP id h6mr796073ede.259.1631156444168; Wed, 08 Sep 2021 20:00:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631156444; cv=none; d=google.com; s=arc-20160816; b=TW04ElVjRV6NXdxfUYyhA8OnFChr9amhWfX0ySjpeh3V0xPaf5gUJcgwU11rTG9CfN u9CScWvGwOmHyl/P7ZmYAfn4wqvDq0xJSzX5YUTqWx90ZLK6i7bstvJOfL8Gx07q6YQ6 K+fK31K/k3RhHlINDlx4VxJWnTH3aaI2Sd0WtnthCvAF+dMlP3lEw+v6XTfU4eIDEW71 s3FFxWgaoo2iuUIH2r/wwn4saK1kD+vT+yFxYWT1rczQzroM8BRRjiWbDXaRKZ1tKOoB VU8Iv7Cq0el0NdGc4do7T+B12CiHkh68XUG6FmA32+QbXdHnRRH4b2vZEhx01e7vSYap Us7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=70g9MtOxJ+c9WQaUJGlWTIEgCLNxdZNwZARtMaXCcgM=; b=kPIbnhUqa4KThs3ZPT2oLFR/nHosIgPAGVMIe0GbO+NJKEDUlIr0PpLHKjBJ+uZ/FO Snav1j/lmf0CvdTFVdyfIHMQW3vTJoaA4tbB/NbN98XrrNlwVGVRqPct142HX5iyaurk /uspXs5e46FwHDfrpoWty/zySYmCYO1YEF8jAIKyIRTur0SuNc+tN3c8ecYra84ure2X QDVRUMuAVcTp4Z/xZtWz/38Sjw0vR2BaUFc1YqPK49gVlLgvLKcnGao9VnpfI1FuxrXp A2iWyc4A3xfqGBSefnPyJ4es2e34i4zgxjBjpvoUNNx8o2Jsj6oOMEnwtVpvJOTXHNdo pdRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=fybdFrS1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l24si581962edr.77.2021.09.08.20.00.21; Wed, 08 Sep 2021 20:00:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=fybdFrS1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349737AbhIIC4y (ORCPT + 99 others); Wed, 8 Sep 2021 22:56:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349570AbhIIC4x (ORCPT ); Wed, 8 Sep 2021 22:56:53 -0400 Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1658CC061757 for ; Wed, 8 Sep 2021 19:55:45 -0700 (PDT) Received: by mail-il1-x131.google.com with SMTP id b4so436927ilr.11 for ; Wed, 08 Sep 2021 19:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=70g9MtOxJ+c9WQaUJGlWTIEgCLNxdZNwZARtMaXCcgM=; b=fybdFrS1IowdAXfYbxOXZ3I6iSICWHOoF9IqHePDV3JYI5GmKvgKKa90x5sb5L8SYR 9szwaRfJMm9JfBRUgGGY3YY12Mjuc+rk2CbaIqEdAE32pvpey8S5NzpVoqHHXoJoizU9 Y4m0MBUqxSXXIpH97d7OQLDeqGByZe+DbZDDbBDInbxLt8uB2fzneSrc+2gXDZ6qGE7k UtVvjlpHQ5cpq/I/6xiR7ftkjaNaD1UCpUlyMn/WeV1wyAJhooWq7AgiBdv15eANHjag wv9n6hADOzo+d0E/yh8ZUZBX4YFEHDZJ9eQixJtbt9LixnwUWFrLJ9+yU+ejmrjmnr5b qvLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=70g9MtOxJ+c9WQaUJGlWTIEgCLNxdZNwZARtMaXCcgM=; b=Pne/aaiZ4He6iFg5c8paYxQp5gJAM9A2dqnXf+0XtnVHU2IkWd8C3D8RvyjZxwaIK9 MQfnHeUs0/fpnPcjx5zMoV+RvwyMZTfvEt/OB4r2uwVjHfwb4Yeem41J6WuV9vTVMM2N 1Wi62PCsLqwizeCE79zwQ2+daWky2TymNZWWjMjyOf3HOdxmPVVTo87cZ6U+eCg+KgaJ keuD0h9oz9QK3WkQAx6S+sucw8a8i7aK9uWN0R4Qa6kNHgvr1ZcSHKaIzhl58EUAwPsS 49ndtkU6h3Fp/00n8rkgMY77hYTTfon4/V8PqJnm887/d0IfVtdrG2dSke9Zo3wfmFie LDrw== X-Gm-Message-State: AOAM533oGlwXEmIJGtd/J1mof59jvtA7sLQReD1KdmRC4AqtlAM7DB1C c6WuxXHxOntADYQHOftVxiEMOQ== X-Received: by 2002:a92:6907:: with SMTP id e7mr563449ilc.301.1631156144318; Wed, 08 Sep 2021 19:55:44 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id a2sm259247ilm.82.2021.09.08.19.55.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 19:55:43 -0700 (PDT) Date: Thu, 9 Sep 2021 02:55:40 +0000 From: Oliver Upton To: Raghavendra Rao Ananta Cc: Paolo Bonzini , Marc Zyngier , Andrew Jones , James Morse , Alexandru Elisei , Suzuki K Poulose , Catalin Marinas , Will Deacon , Peter Shier , Ricardo Koller , Reiji Watanabe , Jing Zhang , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v4 03/18] KVM: arm64: selftests: Use read/write definitions from sysreg.h Message-ID: References: <20210909013818.1191270-1-rananta@google.com> <20210909013818.1191270-4-rananta@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210909013818.1191270-4-rananta@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 09, 2021 at 01:38:03AM +0000, Raghavendra Rao Ananta wrote: > Make use of the register read/write definitions from > sysreg.h, instead of the existing definitions. A syntax > correction is needed for the files that use write_sysreg() > to make it compliant with the new (kernel's) syntax. > > Signed-off-by: Raghavendra Rao Ananta > --- > .../selftests/kvm/aarch64/debug-exceptions.c | 28 +++++++++---------- > .../selftests/kvm/include/aarch64/processor.h | 13 +-------- > 2 files changed, 15 insertions(+), 26 deletions(-) > [...] > diff --git a/tools/testing/selftests/kvm/include/aarch64/processor.h b/tools/testing/selftests/kvm/include/aarch64/processor.h > index 96578bd46a85..bed4ffa70905 100644 > --- a/tools/testing/selftests/kvm/include/aarch64/processor.h > +++ b/tools/testing/selftests/kvm/include/aarch64/processor.h > @@ -8,6 +8,7 @@ > #define SELFTEST_KVM_PROCESSOR_H > > #include "kvm_util.h" > +#include "sysreg.h" #include , based on comments to 02/18 Otherwise: Reviewed-by: Oliver Upton