Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp398277pxb; Thu, 2 Sep 2021 06:47:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8YPaECXe0XsJLW+n3TzPmt6OXqjkIKvMuXSFFK4wM+NQhDKtsnaKby7rcx4gVCEqsdlu7 X-Received: by 2002:a05:6402:10d6:: with SMTP id p22mr3578379edu.168.1630590454078; Thu, 02 Sep 2021 06:47:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630590454; cv=none; d=google.com; s=arc-20160816; b=xh2md/Q0sfgxVfJ9WUeORj9aKWL1wTT7p930R+iuh7iUPYOAEPWzl5osoax4OuBA0I NSmnR9qeykB/vfUeelcQ5DQBi9Tg2nMBk7xJys8dh7B7guPS/qbf2p6UgN2d1KeqrMC8 EDtJL1TU7MffbsBMdRpwVNhvfStM6NwArIgyFoICxs9MPfmqgxhiWxKlXEUFnRWFKUxt Bxk+KA6eDsoHM3UfdahMzw0RkhheEdY8It+5OiWAsuyHvocQDpGgplhGsF9/v+Yk0swa eOtAu0fGMm2fSdf3uYLmnW+8IEogirC149fZUKZCCbgOrV+qpprlJoJUN7SxdMK3UZua jhOA== 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=PRM8lYGUmpsg4gH1Jz3PJxIAnZtJDS7+em5ACTDkhkU=; b=xTw9blAryTeT8iQrQgNwjoX5CKoozBvTnTPR8ChERtQ1wyrH36RJ1UCg0H4Di3Q960 coU2v6PC6V5oNkbPWIq1uJb71t/n9d3R4k2+wFuxWC5ZWXRVa6AGTGm2sZ1xAgHsjC3S RTFQPISx5cATZnNLdCju+BnvRGp7f2bps8da7KcMJNxv1EZdw6NDhyPRi5ZRkjMOCkbi ZeB1XtwUX6b2v/9oyUTPCqBk9c7cfDUqoi2hO2RXjwwJjyR4gZG5+1cjWr/5XCMZgFef iv5Fs49NT4TvsoIdMnp1NL9bAfw6r621q40w5eaxbBGYp+0ehXa+rI81ImBFXlER5Yz7 PfYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QjPcRUqm; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l4si1890644ejo.650.2021.09.02.06.46.42; Thu, 02 Sep 2021 06:47:34 -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=@redhat.com header.s=mimecast20190719 header.b=QjPcRUqm; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345215AbhIBNpO (ORCPT + 99 others); Thu, 2 Sep 2021 09:45:14 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:35712 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234188AbhIBNpH (ORCPT ); Thu, 2 Sep 2021 09:45:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630590248; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PRM8lYGUmpsg4gH1Jz3PJxIAnZtJDS7+em5ACTDkhkU=; b=QjPcRUqmyKU0TRfpc1WtY2E0oI9voSL5YQt8sUQXITY+gHNOOCIU625KW5WVTTCfLpqumv 5hE+ybfs+t3MLTbiuRRz1zoTOnHTrSV1kQZ7NtB1XBUsj7ey2KO9DATE3xWEgrKhQWNs0a 6TVvW8q5M9e0w7s3yItaMekQVezFAiY= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-309-3CVrbb8iPA6qtuXIQjalhA-1; Thu, 02 Sep 2021 09:44:07 -0400 X-MC-Unique: 3CVrbb8iPA6qtuXIQjalhA-1 Received: by mail-qv1-f70.google.com with SMTP id et12-20020a056214176c00b0037279a2ce4cso1557225qvb.13 for ; Thu, 02 Sep 2021 06:44:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=PRM8lYGUmpsg4gH1Jz3PJxIAnZtJDS7+em5ACTDkhkU=; b=OpyUT1nVnMtUSf+tHUVdOCaWz8LNvfBAdfQ06R+27z8/WkaUX0VOu1T+YIzyynPz7k vUC1hkMhw9H06yUcoTbfxZsMA93wOeyNIArjbMLwTBioEqiomNQbcGf/fwJEHOb792wr MfSosTPK7igADb2wnyyc28kESD9z3Q/phRdFiJIvFjxTVVPCoPT/9xQjmOZH64rAcNVJ Ym5aSAkvx3qytCIBIi/ZYOA6FsSAn5LUo+UwOu3MImq/thD98UCNYkRrsoJMssVT32CW l3HwA66Mhwuug1TfNOsBVeCQFh7eBKWDnrILSmXxx+Un/z0XColP5OBxjqzLHx16+WNL d+SA== X-Gm-Message-State: AOAM530EJr1UN/J68r+BNvCVoUbjmbfjFE0UmQv4TMI7YhI/PnVxvhti ALafPl1mkAptNDjjPSqf9M56WPhRHFPS4rveQVbez/2rcjKATJIB9sWXtF2tPTdBFHJx//Q0KGU Cr6Vjp9XqoGqY259CThUJdXeo X-Received: by 2002:ae9:ef48:: with SMTP id d69mr3231879qkg.232.1630590246612; Thu, 02 Sep 2021 06:44:06 -0700 (PDT) X-Received: by 2002:ae9:ef48:: with SMTP id d69mr3231851qkg.232.1630590246376; Thu, 02 Sep 2021 06:44:06 -0700 (PDT) Received: from gator (nat-pool-brq-u.redhat.com. [213.175.37.12]) by smtp.gmail.com with ESMTPSA id w11sm1412416qkp.49.2021.09.02.06.44.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 06:44:06 -0700 (PDT) Date: Thu, 2 Sep 2021 15:44:02 +0200 From: Andrew Jones To: Raghavendra Rao Ananta Cc: Paolo Bonzini , Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , kvm@vger.kernel.org, Catalin Marinas , Peter Shier , linux-kernel@vger.kernel.org, Will Deacon , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 02/12] KVM: arm64: selftests: Add write_sysreg_s and read_sysreg_s Message-ID: <20210902134402.zihdyigplaxm432o@gator> References: <20210901211412.4171835-1-rananta@google.com> <20210901211412.4171835-3-rananta@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210901211412.4171835-3-rananta@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 01, 2021 at 09:14:02PM +0000, Raghavendra Rao Ananta wrote: > For register names that are unsupported by the assembler or the ones > without architectural names, add the macros write_sysreg_s and > read_sysreg_s to support them. > > The functionality is derived from kvm-unit-tests and kernel's > arch/arm64/include/asm/sysreg.h. > > Signed-off-by: Raghavendra Rao Ananta > --- > .../selftests/kvm/include/aarch64/processor.h | 61 +++++++++++++++++++ > 1 file changed, 61 insertions(+) If we don't replace with an import of arch/arm64/include/asm/sysreg.h Reviewed-by: Andrew Jones