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=-23.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL 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 DA2AFC433F5 for ; Thu, 9 Sep 2021 20:06:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B1B7260F6B for ; Thu, 9 Sep 2021 20:06:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245240AbhIIUHz (ORCPT ); Thu, 9 Sep 2021 16:07:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231422AbhIIUHx (ORCPT ); Thu, 9 Sep 2021 16:07:53 -0400 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16B02C061574 for ; Thu, 9 Sep 2021 13:06:44 -0700 (PDT) Received: by mail-yb1-xb2e.google.com with SMTP id v10so6308809ybq.7 for ; Thu, 09 Sep 2021 13:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tO7FQvr77frYJi3nZmu6+pwHGzzGpRLOFUZlxjTtI1U=; b=Oy8ce1O5/wmCpWya7nBN8qiLzyBclFRFa2r5eAlAZU84jaC9rRJqZj+6BkGTdfIpgW Xo43sUbTTRgBrpwz5atoMw8WujebQDagPIFYaWoWcjBinCeRRovpaAoErPviwwGktYxP 2IzfCacZM2oMqC39Ot+/X5X/Dm9DDMIjRuU6S0+QBgx2AmPIUXBsbIFrNplp1T8lCRh8 yi+d82k1py9m7Zw1jRBRnzaBMTHpxNDk1JlsO3SBLSBfCH36zQGB1BjjhcxRxp10WXKe 5KDRIbkrpMER8mwxPbVPhljAg1QG2K6yLR41eqOBWjdb0KAOLc1agFTWxfHGFr2zJmrQ svJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tO7FQvr77frYJi3nZmu6+pwHGzzGpRLOFUZlxjTtI1U=; b=i+NdqcfqQ2nhP6sfkCF6KoOFFI/ieIOMwtNp7nwZEmE/npPrK8V1aiDPmP/4SlTvje ifzAZGaqQthhGxga5cNoQlS8e9ZADdej1TywGUVOuH5tVAKP0EnJcdQDyg2SaZYPA2Rv P/cniYhCZhgkLnjyHvKkvTGfZxG+ewD+E3GbeXrGgCCvEQVADB75QLC8dtvSJbiLKN8C fXE98lX/cct9gYjzjCm9U+OgrSsqmuHnWrrPARAn5Dl46GDAu8DvWKHSP1ZdwGvpWmEJ N4sNrwxRV+FuPpEmKXXu7d4vRWeaOOvv9H2q6NFg5N1zKAeynaQ4fJ9tUO/dT77Vz8eT VT4Q== X-Gm-Message-State: AOAM531b2v6uQ70Sw4ZqUEPRWWwl4L19KS4qIXlCNAWDQLrzLJH835X/ ejaA5AS1lySvErbOu9UU+wv7p/tkKit8lT9eiYQaDg== X-Google-Smtp-Source: ABdhPJy5AGrEZidGvl3dQRB0sKLB1qGhBQdOWzBR63cYYp97lf+k7MCv+e5P0N+q7y2PLgyyxkEQheVKlXRUYFUqZyY= X-Received: by 2002:a25:8093:: with SMTP id n19mr6441809ybk.414.1631218003111; Thu, 09 Sep 2021 13:06:43 -0700 (PDT) MIME-Version: 1.0 References: <20210909013818.1191270-1-rananta@google.com> <20210909013818.1191270-3-rananta@google.com> <20210909171755.GF5176@sirena.org.uk> In-Reply-To: <20210909171755.GF5176@sirena.org.uk> From: Raghavendra Rao Ananta Date: Thu, 9 Sep 2021 13:06:31 -0700 Message-ID: Subject: Re: [PATCH v4 02/18] KVM: arm64: selftests: Add sysreg.h To: Mark Brown Cc: Paolo Bonzini , Marc Zyngier , Andrew Jones , James Morse , Alexandru Elisei , Suzuki K Poulose , Catalin Marinas , Will Deacon , Peter Shier , Ricardo Koller , Oliver Upton , Reiji Watanabe , Jing Zhang , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 9, 2021 at 10:18 AM Mark Brown wrote: > > On Thu, Sep 09, 2021 at 01:38:02AM +0000, Raghavendra Rao Ananta wrote: > > Bring-in the kernel's arch/arm64/include/asm/sysreg.h > > into selftests to make use of all the standard > > register definitions in consistence with the kernel. > > > Signed-off-by: Raghavendra Rao Ananta > > --- > > .../selftests/kvm/include/aarch64/sysreg.h | 1278 +++++++++++++++++ > > 1 file changed, 1278 insertions(+) > > create mode 100644 tools/testing/selftests/kvm/include/aarch64/sysreg.h > > Can we arrange to copy this at build time rather than having a duplicate > copy we need to keep in sync? We have some stuff to do this for uapi > headers already. That's a great idea actually (I wasn't aware of it). But, probably should've mentioned it earlier, I had a hard time compiling the header as is so I modified it a little bit and made the definitions of [write|read]_sysreg_s() similar to the ones in kvm-unit-tests. I'll try my best to get the original format working and try to implement your idea if it works. Regards, Raghavendra 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=-13.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 14ABFC433F5 for ; Thu, 9 Sep 2021 20:06:51 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 7F668610FF for ; Thu, 9 Sep 2021 20:06:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7F668610FF Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id ECA764B1B3; Thu, 9 Sep 2021 16:06:49 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@google.com Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8MJMn-JkK64W; Thu, 9 Sep 2021 16:06:46 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 8A7414B1A4; Thu, 9 Sep 2021 16:06:46 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id EEE9A4B192 for ; Thu, 9 Sep 2021 16:06:44 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qdyzJK5DpyFy for ; Thu, 9 Sep 2021 16:06:43 -0400 (EDT) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id DA2754B191 for ; Thu, 9 Sep 2021 16:06:43 -0400 (EDT) Received: by mail-yb1-f172.google.com with SMTP id q70so6288915ybg.11 for ; Thu, 09 Sep 2021 13:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tO7FQvr77frYJi3nZmu6+pwHGzzGpRLOFUZlxjTtI1U=; b=Oy8ce1O5/wmCpWya7nBN8qiLzyBclFRFa2r5eAlAZU84jaC9rRJqZj+6BkGTdfIpgW Xo43sUbTTRgBrpwz5atoMw8WujebQDagPIFYaWoWcjBinCeRRovpaAoErPviwwGktYxP 2IzfCacZM2oMqC39Ot+/X5X/Dm9DDMIjRuU6S0+QBgx2AmPIUXBsbIFrNplp1T8lCRh8 yi+d82k1py9m7Zw1jRBRnzaBMTHpxNDk1JlsO3SBLSBfCH36zQGB1BjjhcxRxp10WXKe 5KDRIbkrpMER8mwxPbVPhljAg1QG2K6yLR41eqOBWjdb0KAOLc1agFTWxfHGFr2zJmrQ svJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tO7FQvr77frYJi3nZmu6+pwHGzzGpRLOFUZlxjTtI1U=; b=WTSvkAHIF9ZJypumnPdNfeKPXwlP7oizicCne/xM4h4bg5lDpA5ag8DweVOo56/nRq Zwgxugpbaz23RCLcuNBlY/v2JqpN/yoAVS5KKdnEAjm3k70iSuSfgDjjqiJ2pmpKRZyr vH+CrEKTN8JdTanTy9cUMnlSJMAS1iXmCrZx424IwG2ji51GDY4AWa+tv0aR7v2afB3t 6dlpKbgVJXzpqiUi6K5sgkZ0N4pGSgzZ5gbDm9YG+WegasksFbKEBRealqwkXc+DDHEo EbKJLROhvqJ8iiRw+ncNfjrzaAIgOo8VaSl7EuJ5cFvqtE5ptiHBcLHxV3TLIAEBHOWi ri0Q== X-Gm-Message-State: AOAM531Eh/g2fm3mcvq1X1YZMeOWYiknZZ/RoAAx/nGL3Vlt1NGy2afc vS3zZjaMP4nob1VumINylcK6jsmHsNCslijx8Eefqw== X-Google-Smtp-Source: ABdhPJy5AGrEZidGvl3dQRB0sKLB1qGhBQdOWzBR63cYYp97lf+k7MCv+e5P0N+q7y2PLgyyxkEQheVKlXRUYFUqZyY= X-Received: by 2002:a25:8093:: with SMTP id n19mr6441809ybk.414.1631218003111; Thu, 09 Sep 2021 13:06:43 -0700 (PDT) MIME-Version: 1.0 References: <20210909013818.1191270-1-rananta@google.com> <20210909013818.1191270-3-rananta@google.com> <20210909171755.GF5176@sirena.org.uk> In-Reply-To: <20210909171755.GF5176@sirena.org.uk> From: Raghavendra Rao Ananta Date: Thu, 9 Sep 2021 13:06:31 -0700 Message-ID: Subject: Re: [PATCH v4 02/18] KVM: arm64: selftests: Add sysreg.h To: Mark Brown Cc: kvm@vger.kernel.org, Will Deacon , Marc Zyngier , Peter Shier , linux-kernel@vger.kernel.org, Catalin Marinas , Paolo Bonzini , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Thu, Sep 9, 2021 at 10:18 AM Mark Brown wrote: > > On Thu, Sep 09, 2021 at 01:38:02AM +0000, Raghavendra Rao Ananta wrote: > > Bring-in the kernel's arch/arm64/include/asm/sysreg.h > > into selftests to make use of all the standard > > register definitions in consistence with the kernel. > > > Signed-off-by: Raghavendra Rao Ananta > > --- > > .../selftests/kvm/include/aarch64/sysreg.h | 1278 +++++++++++++++++ > > 1 file changed, 1278 insertions(+) > > create mode 100644 tools/testing/selftests/kvm/include/aarch64/sysreg.h > > Can we arrange to copy this at build time rather than having a duplicate > copy we need to keep in sync? We have some stuff to do this for uapi > headers already. That's a great idea actually (I wasn't aware of it). But, probably should've mentioned it earlier, I had a hard time compiling the header as is so I modified it a little bit and made the definitions of [write|read]_sysreg_s() similar to the ones in kvm-unit-tests. I'll try my best to get the original format working and try to implement your idea if it works. Regards, Raghavendra _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm 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_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 8582FC433EF for ; Thu, 9 Sep 2021 20:08:49 +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 3E7C461104 for ; Thu, 9 Sep 2021 20:08:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3E7C461104 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/Ng7I1xo2nAA9rIftixh1k74ZmSg8geOFdE0y8rE3S4=; b=ENiRSCj30m/Nrx XWYWJCRpm8JWgyfEC156YjOGkwZWcERQhiSoKyTlKlrDok0+243VGAWxqaYHwWENvEjLbjI03rgjC z6io5QLMq/ukEbYngox2HoxERt3CJ/pzDJQbZojix8xoQQCkWguq1/+83my0q5JbOJuhIdzMPLzhK 4OFKkEFpJ8Pr4ZJzapgKql6qXUN5tFvTKDTL5vCBMUGc0O8dDpZLxt+kDX52cGUYSKrfccYYszD16 3usB0zggr7TgER9928HfUSzroRFm4lukRR69TQx8ZqddbhBE8JVHifDkHpnlnM/HC50fKUjuMnvId xDRKbBAB7aWCkctFikPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mOQJs-00AmCa-2a; Thu, 09 Sep 2021 20:06:48 +0000 Received: from mail-yb1-xb36.google.com ([2607:f8b0:4864:20::b36]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mOQJo-00AmC9-Pb for linux-arm-kernel@lists.infradead.org; Thu, 09 Sep 2021 20:06:46 +0000 Received: by mail-yb1-xb36.google.com with SMTP id k65so6279203yba.13 for ; Thu, 09 Sep 2021 13:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tO7FQvr77frYJi3nZmu6+pwHGzzGpRLOFUZlxjTtI1U=; b=Oy8ce1O5/wmCpWya7nBN8qiLzyBclFRFa2r5eAlAZU84jaC9rRJqZj+6BkGTdfIpgW Xo43sUbTTRgBrpwz5atoMw8WujebQDagPIFYaWoWcjBinCeRRovpaAoErPviwwGktYxP 2IzfCacZM2oMqC39Ot+/X5X/Dm9DDMIjRuU6S0+QBgx2AmPIUXBsbIFrNplp1T8lCRh8 yi+d82k1py9m7Zw1jRBRnzaBMTHpxNDk1JlsO3SBLSBfCH36zQGB1BjjhcxRxp10WXKe 5KDRIbkrpMER8mwxPbVPhljAg1QG2K6yLR41eqOBWjdb0KAOLc1agFTWxfHGFr2zJmrQ svJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tO7FQvr77frYJi3nZmu6+pwHGzzGpRLOFUZlxjTtI1U=; b=0H04XtHOfb7zqnKptcOSx6S9EGzNOAdJzLeO+8nWYg3tcSjaQQaNAs8q7kB/B61uAL T+eXGJcDZN9RXw/Kqy8FPKoUhvF+NJstxbJA3FENbkvBp91yEBsPyKXgFFjikqZMbAUx v3M+nPnKFsZgMVdsyDlkHxWRoSG+GRnsu94jnRDhFXg92/twg6EJIDI+vj8NPk5SSERc /mopVeMjjJI8ivV/KLrfKcZ/4/IsTpqa8IV57fKfwLHwXAC23i6GWTDe7P30sHwbx7K7 MTRfKfqejRhtR7IabRdog+oKRBbp86TYw84ISYKepLLJd0D5grDUiP0Y50ajMhu9hh6n oySQ== X-Gm-Message-State: AOAM533FLNC8eBLLWRKf/5lCWvB0UM0HaeznYQzNxb8gNVw0Vuacd6/I rGgz6V8ZV9eRZ0aeSEPCGC2K8SZKox1Rsqv3iD2JOw== X-Google-Smtp-Source: ABdhPJy5AGrEZidGvl3dQRB0sKLB1qGhBQdOWzBR63cYYp97lf+k7MCv+e5P0N+q7y2PLgyyxkEQheVKlXRUYFUqZyY= X-Received: by 2002:a25:8093:: with SMTP id n19mr6441809ybk.414.1631218003111; Thu, 09 Sep 2021 13:06:43 -0700 (PDT) MIME-Version: 1.0 References: <20210909013818.1191270-1-rananta@google.com> <20210909013818.1191270-3-rananta@google.com> <20210909171755.GF5176@sirena.org.uk> In-Reply-To: <20210909171755.GF5176@sirena.org.uk> From: Raghavendra Rao Ananta Date: Thu, 9 Sep 2021 13:06:31 -0700 Message-ID: Subject: Re: [PATCH v4 02/18] KVM: arm64: selftests: Add sysreg.h To: Mark Brown Cc: Paolo Bonzini , Marc Zyngier , Andrew Jones , James Morse , Alexandru Elisei , Suzuki K Poulose , Catalin Marinas , Will Deacon , Peter Shier , Ricardo Koller , Oliver Upton , Reiji Watanabe , Jing Zhang , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, kvm@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210909_130644_892757_B0B3AA61 X-CRM114-Status: GOOD ( 17.43 ) 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 Thu, Sep 9, 2021 at 10:18 AM Mark Brown wrote: > > On Thu, Sep 09, 2021 at 01:38:02AM +0000, Raghavendra Rao Ananta wrote: > > Bring-in the kernel's arch/arm64/include/asm/sysreg.h > > into selftests to make use of all the standard > > register definitions in consistence with the kernel. > > > Signed-off-by: Raghavendra Rao Ananta > > --- > > .../selftests/kvm/include/aarch64/sysreg.h | 1278 +++++++++++++++++ > > 1 file changed, 1278 insertions(+) > > create mode 100644 tools/testing/selftests/kvm/include/aarch64/sysreg.h > > Can we arrange to copy this at build time rather than having a duplicate > copy we need to keep in sync? We have some stuff to do this for uapi > headers already. That's a great idea actually (I wasn't aware of it). But, probably should've mentioned it earlier, I had a hard time compiling the header as is so I modified it a little bit and made the definitions of [write|read]_sysreg_s() similar to the ones in kvm-unit-tests. I'll try my best to get the original format working and try to implement your idea if it works. Regards, Raghavendra _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel