Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp221112pxb; Wed, 8 Sep 2021 22:35:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwC6gUcaukpYiExwwaM8gwKtkW6mOjSlIX+kFXlihN4AZ5l25CwAu0KG1kSkpy4WEsMCzVK X-Received: by 2002:a6b:e712:: with SMTP id b18mr1192172ioh.186.1631165745930; Wed, 08 Sep 2021 22:35:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631165745; cv=none; d=google.com; s=arc-20160816; b=cLD2VWommBRdRKSu8Q1uy3MGoF/u+ZCmiaSlnvRtXyJV7vsyP1ZpY/Yo6LRbHO30YB P1tQHiW0zk2Z5TO4pthA9CwZj0tLZ3NOJ/GLLqLZwN0xykBFtVvrhSHFoW0BAqYEpEOe +lUka49lwIxR0Rb4zkDeMFmY79pahYuDyjw+KI9q7SOPrGXdNxGLnYGLer2gXm0sWspk OaC5l08boX5xLD2E9JKkyaY1CYedZWwggv/HVgGvuspJEsKWaZXvtPtVgX3lepSCsXz+ LzHhiMM4Ld0JALDf/wzbP8xvv2q6Cfsg4T0DswlPxBxWSFnLe5Pyg58BS9YeC/++C7w2 2OgA== 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=y2Hl2l4cxBWAmvma6OCIzHq+HL4honh1QiJPwU9rasU=; b=LVwY3PGhrCgMIeqA1X4sYQOovpXXySP2qp9YfV7eJ7+nXMEuH2rIKV+Bsu1D8KgK8F A/kE4ogb/eZTY8+Lo6TIlR7D0RpQTvnGQNJ4HGAoWJVZ/4bNVOGGzuAZQ4Yzy3K9zK8h +MxoHfkJVifGhpMZJp02L+ihWm6JqFivFKvAd54GR3jyfmBuJhbA/hpQukmtnPaTKDjl W4HBDq4HSR0ZUpRbqZGGr7XB8Oz6ZoZgevcDsE29LdE4jYyFdamljb6O1Wub0qbSSm7a Wpd9h1fapzDXRb/QxXHZLQnXg/Nd2gzskiDmd4P1jKHLsmXHbuH9LYh0CBa9cHfz8C22 amvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=h0trGScM; 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 k11si783729ili.81.2021.09.08.22.35.33; Wed, 08 Sep 2021 22:35:45 -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=h0trGScM; 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 S1350775AbhIIFfy (ORCPT + 99 others); Thu, 9 Sep 2021 01:35:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350756AbhIIFfw (ORCPT ); Thu, 9 Sep 2021 01:35:52 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63E2EC061757 for ; Wed, 8 Sep 2021 22:34:43 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id j18so787971ioj.8 for ; Wed, 08 Sep 2021 22:34:43 -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=y2Hl2l4cxBWAmvma6OCIzHq+HL4honh1QiJPwU9rasU=; b=h0trGScMtT5bQc/2VuAgPUXIbyF8zoHK/m2lOVQQC7tyT0+N9vwYgAYl0C7N+3clR9 9GhxGKDa0YmXUs7zbK+2egOPre9sEsGTgq6ZZ9vBfRp67UeT8J4VCDFJvbSMCvfYQkL4 dJsIjN5VShAqkQxXN04P6nXY7quSg4zza2QawEf9RSHqbuiuhDkcTW32Do2SizpJ7QRC cb26MSQiRsktbLZ+9DGCB8pAeUbvrDxFMRCqaK9WNqBQ8ZpiOZGNpX9AkIx4B2QjGgfP LzVyTeBWH9iuO1vBdsL8zYB5iMC96Sb/LGZeIVJqS19WCm3v+Y7CuSIQN7ZZrdgw6Efn cNOQ== 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=y2Hl2l4cxBWAmvma6OCIzHq+HL4honh1QiJPwU9rasU=; b=12cCVX0xjYTMGgcpl20RycJUsHTvJIAK+SHSuVwQG0u24LRgXke8Ut6eu67HjWbWWz WQ477dpUKzS7kXlwEjv9JMwDb7LLbHncXofHnz5/OV9/ymPJaM8CD9dJwRHkk3zTbvT7 ZIZpJ/XPB3srWkpK1yAny11qebpGEb6ZwDv470TUw3x+wfjGaCzOy0YjRe/4sgWVSZ9O /SllxECxHG+Jfm91jmeHv83SedoOF7DZWlNdiLuum2X97ifN1lqld5qtmhXtNp5Yz8TI HVfuZVYn30HUFgZRcRrUZKFHv+xTojFXClkVPa0RBQFvLPXXkTxG/JdW8O1ZM1b5ZkEq Zu6w== X-Gm-Message-State: AOAM532AGIpEmfe49IgBHs1A7KKLg9jDMVBrcGMAipo1zK2j54Rots6q t56Wr8drAbe6mjcJ/y6Fqux89g== X-Received: by 2002:a05:6638:1613:: with SMTP id x19mr1279010jas.77.1631165682590; Wed, 08 Sep 2021 22:34:42 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id z10sm409971ill.69.2021.09.08.22.34.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 22:34:42 -0700 (PDT) Date: Thu, 9 Sep 2021 05:34:38 +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 17/18] KVM: arm64: selftests: Replace ARM64_SYS_REG with ARM64_SYS_KVM_REG Message-ID: References: <20210909013818.1191270-1-rananta@google.com> <20210909013818.1191270-18-rananta@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210909013818.1191270-18-rananta@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 09, 2021 at 01:38:17AM +0000, Raghavendra Rao Ananta wrote: > With the introduction of ARM64_SYS_KVM_REG, that takes the > system register encodings from sysreg.h directly, replace > all the users of ARM64_SYS_REG, relyiing on the encodings > created in processor.h, with ARM64_SYS_KVM_REG. > > Signed-off-by: Raghavendra Rao Ananta > --- > .../selftests/kvm/aarch64/debug-exceptions.c | 2 +- > .../selftests/kvm/aarch64/psci_cpu_on_test.c | 3 ++- > .../selftests/kvm/include/aarch64/processor.h | 10 ---------- > .../selftests/kvm/lib/aarch64/processor.c | 16 ++++++++-------- > 4 files changed, 11 insertions(+), 20 deletions(-) I would probably just squash this into the patch that introduces the ARM64_SYS_KVM_REG macro. -- Thanks, Oliver