From mboxrd@z Thu Jan 1 00:00:00 1970 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=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 42DB9C4320E for ; Thu, 2 Sep 2021 13:46:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0D49160525 for ; Thu, 2 Sep 2021 13:46:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0D49160525 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PLN1AXISE5lfCLg7zykQvvDWsUChuWdq3e44l9ho/QU=; b=MNBvPrKAxc+qfB rsea3N0bHUNsC3ArNr1D8xd9WmnCsTKCIjx0a/ncYENKVKSl70zuYKQ8OfCkmWFnhBfrflmwajWYw Owzw2KEns0oevNKjZSwJFtyFDRvA65vslcvQqTS4uWMlHsmg9+VMyDpXMU/DeZnip/31j5PgfukXa foOBjsjQMQH42lacu4weXytj9deHx/j+gbUph+9dZ7ine600t0a12KR4d3ziBF0W+/Ny0dTTd9dq8 uAhwUVDHHNFkul24dTqcRcRl/vVenKQVnZl18iLUV/kiHxRX40maTHoVxOn9XQ7wens19f4kvzcTm Tiey1PIbAeDoFHtjCNRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLn0q-009jyc-Cm; Thu, 02 Sep 2021 13:44:16 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLn0m-009jxQ-3f for linux-arm-kernel@lists.infradead.org; Thu, 02 Sep 2021 13:44:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630590249; 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=T2sQaHX/TcWJ2dahfK5mWTNM7+KrblVFKGdEsrvVUlznzVv9xmQgBbU+yoF5KPL4nLFb1t +0pGNHeTIgOYXHjJ09nu/w67yznITVXXgxFfxoJX0Ey+sYl7IEgwNycfziK4hYZxP+ZlYQ t3C3YbfeKFRD2rUwusdteme9GDlRMxo= 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-34-fCYkb1KLPwiKpacNGI6prQ-1; Thu, 02 Sep 2021 09:44:07 -0400 X-MC-Unique: fCYkb1KLPwiKpacNGI6prQ-1 Received: by mail-qv1-f70.google.com with SMTP id l3-20020a056214104300b00366988901acso1576303qvr.2 for ; Thu, 02 Sep 2021 06:44:07 -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=Ps/+6iXs+HVv2JIxutjpTA6mrp3OJG36Zyr0lIWsBKv/MWYDPUgvX20yi+5bJfMn9O hBQEFukke7+bSipe5E5A2sAaieQq2lUw+29GgljDMZc5CvRCQ7+G3eGmuMhRE2O5+SLt bcwVxHZd4nfrbiBXQT/6bXzp3o19o1RgBqMLYAoDsQA1XhiwNlPzfKPJ8WUckkmNkSow 9ImedEKZm4gruf0e7Zhy3X470zs6cqNiJ2H5FrSh1RoAbTHCB0FXByNCFs0tG8MJFHH5 rwUZXp4kY8ycnIYd1SezscrNYBofYj9+7ysJM9U2qs9iKk3FymF5w1YO8SxVJZH9+/tP zRbA== X-Gm-Message-State: AOAM532W5NoYyA1v99CKZA2DLPTkfvwbFKIh75WqtmMfNyWWvIeoNBm6 fCxE61b8ndvgdMjE70zJdhKyLFX8pgoZb42YF88T++ugbv9c2kbz3cPZ3I3vo1Gs/8FCSF+OlVU wJ6vYU/D2UDm/5qSHMPgFCNy3pP//58jK9W4= X-Received: by 2002:ae9:ef48:: with SMTP id d69mr3231887qkg.232.1630590246652; Thu, 02 Sep 2021 06:44:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdTmtzmIqhqv1SiL46ML/7VojNuDfGcPgaJcYW31JCHc0kbak0ynOg7JISUhtrJ42VKof4iA== 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 In-Reply-To: <20210901211412.4171835-3-rananta@google.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=drjones@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210902_064412_271806_7B9ADB2B X-CRM114-Status: GOOD ( 12.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel