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=unavailable 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 457FCC4320A for ; Wed, 1 Sep 2021 21:23:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2E6C860FDC for ; Wed, 1 Sep 2021 21:23:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344432AbhIAVYd (ORCPT ); Wed, 1 Sep 2021 17:24:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232500AbhIAVY1 (ORCPT ); Wed, 1 Sep 2021 17:24:27 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2489C061575 for ; Wed, 1 Sep 2021 14:23:29 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id r6so687683ilt.13 for ; Wed, 01 Sep 2021 14:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=U3KFrpxU4d2fmsa0Mn7hWzZCFQgA1sH9j0f2Swqi3I4=; b=fRlBbRG00Jqh6wY8ay/vacNRJwhJuS8FG/s1/thQukVdCQCJZlOxZIPolWunH7C2aS akm7SCr0nYZMueozliPX04kjQ92ewCY0fr31acSvPe1QwCKnJCvV1jwaL0tMxKpEVxXy eI48fILum/Et8BgE8VkMExuJkjWvZcaUeP5lNHCm2rhQrDTujESJAzUdlAvLZgnYpI3q EGr23r8la80yjaBNhhUmog5qndDRkCqe8kDmXOEP8OzSm4v6/MqhrlrTMKGOq1MCr6tH 4YLtyc5X2l5XKqzojqkHgqdXzoz41yjcj9Z5WLNn9001mORzWwl5LchRCco5+T+7dEvp aNUg== 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=U3KFrpxU4d2fmsa0Mn7hWzZCFQgA1sH9j0f2Swqi3I4=; b=l+IgCzdQicPoOfVfOLmKd7s4alf0ml3pAjWZp4F754D/zqrS6FNnRV4B/M2u0OgX9G P+bhFy8TtD7+onsEKFOPNiUrT6o4yvUR+5UPK4KSoBLRqUUsQNrPC2nYbXdxnTAKStHD a+48pzfbQBpLcIrmtk5HPrloLuJIcpeC2j4LGpzk4oF6MxGOR/QCQkdQiep017HbDTaF R6OTGNSYPjeH+UvHG1WsUUqgzysZA5JcJPPZgskU4InRwHCh0Q/xKe95cV17BSlExctH hAxh1AkuhdET36n9oUUBY1BvUWKly9hMCt6pHYMTitVUhcISj67N9uUmV7aGb5wFOGEH qvWg== X-Gm-Message-State: AOAM532odJ1XpYE5psIIl2O31AkexJmNVVdXSl/G2mPrquzq5ylDAbRc UcDeaY7mKhg0QqDDfUm0r9Mo/w== X-Google-Smtp-Source: ABdhPJziw+f4QRZL4Kpj7Ibv9UlaRalcjNo2GmF90sZI6p2noJaakA4if8ogq5yuBsRPfvxTChZhRQ== X-Received: by 2002:a05:6e02:531:: with SMTP id h17mr1051378ils.288.1630531409092; Wed, 01 Sep 2021 14:23:29 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id k21sm443809ioh.38.2021.09.01.14.23.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 14:23:28 -0700 (PDT) Date: Wed, 1 Sep 2021 21:23:25 +0000 From: Oliver Upton To: Raghavendra Rao Ananta Cc: Paolo Bonzini , Marc Zyngier , 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 v3 01/12] KVM: arm64: selftests: Add MMIO readl/writel support Message-ID: References: <20210901211412.4171835-1-rananta@google.com> <20210901211412.4171835-2-rananta@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210901211412.4171835-2-rananta@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 01, 2021 at 09:14:01PM +0000, Raghavendra Rao Ananta wrote: > Define the readl() and writel() functions for the guests to > access (4-byte) the MMIO region. > > The routines, and their dependents, are inspired from the kernel's > arch/arm64/include/asm/io.h and arch/arm64/include/asm/barrier.h. > > Signed-off-by: Raghavendra Rao Ananta > --- > .../selftests/kvm/include/aarch64/processor.h | 45 ++++++++++++++++++- > 1 file changed, 44 insertions(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/kvm/include/aarch64/processor.h b/tools/testing/selftests/kvm/include/aarch64/processor.h > index c0273aefa63d..3cbaf5c1e26b 100644 > --- a/tools/testing/selftests/kvm/include/aarch64/processor.h > +++ b/tools/testing/selftests/kvm/include/aarch64/processor.h > @@ -130,6 +130,49 @@ void vm_install_sync_handler(struct kvm_vm *vm, > val; \ > }) > > -#define isb() asm volatile("isb" : : : "memory") > +#define isb() asm volatile("isb" : : : "memory") Is this a stray diff? Otherwise: Reviewed-by: Oliver Upton 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 12F2BC432BE for ; Wed, 1 Sep 2021 21:23:39 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 8D0D760FDC for ; Wed, 1 Sep 2021 21:23:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8D0D760FDC 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 0A9C24B190; Wed, 1 Sep 2021 17:23:38 -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 0pa5VPix21t9; Wed, 1 Sep 2021 17:23:34 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 2AA9D4B104; Wed, 1 Sep 2021 17:23:34 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id C90DA4B0FC for ; Wed, 1 Sep 2021 17:23:32 -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 4+7JAKzHqgBJ for ; Wed, 1 Sep 2021 17:23:30 -0400 (EDT) Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id F10B54B0DF for ; Wed, 1 Sep 2021 17:23:29 -0400 (EDT) Received: by mail-il1-f171.google.com with SMTP id v16so705293ilo.10 for ; Wed, 01 Sep 2021 14:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=U3KFrpxU4d2fmsa0Mn7hWzZCFQgA1sH9j0f2Swqi3I4=; b=fRlBbRG00Jqh6wY8ay/vacNRJwhJuS8FG/s1/thQukVdCQCJZlOxZIPolWunH7C2aS akm7SCr0nYZMueozliPX04kjQ92ewCY0fr31acSvPe1QwCKnJCvV1jwaL0tMxKpEVxXy eI48fILum/Et8BgE8VkMExuJkjWvZcaUeP5lNHCm2rhQrDTujESJAzUdlAvLZgnYpI3q EGr23r8la80yjaBNhhUmog5qndDRkCqe8kDmXOEP8OzSm4v6/MqhrlrTMKGOq1MCr6tH 4YLtyc5X2l5XKqzojqkHgqdXzoz41yjcj9Z5WLNn9001mORzWwl5LchRCco5+T+7dEvp aNUg== 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=U3KFrpxU4d2fmsa0Mn7hWzZCFQgA1sH9j0f2Swqi3I4=; b=ArfNBLkQokQWa9mEzT/4PQqtGscOJtvR3i06dODbZ/76h6nVEJI/m9MoliFNYIsVW6 KwRwfibqpXTQJPOfLUdUirAydAVgTaMVWOFwZfNwNzhd9IgTb7ICppjikj43LTzSY9Cx a40dzkiePe3qwF+lwWIDAsTMmSlP2tXrlvBYlUNL5kPLXM6soDg8hl8tj7ubkC/c7U6/ KlokP+FqwxUevK9V8HQrLUicMTSHUc+MRUM8RAjVNagzjE4eY5ndh9Pf6v4wXg+Y0Vt7 WLKz+qpObujNqBWVd68DnWhgzTzHNhswCXpKIGMk/RBPXpzdqRe8gqDJEaN6ONhEZhm5 1Oiw== X-Gm-Message-State: AOAM530/QwdV6KE1VywAnEVQNIOrHaIZs4iXUqy19JjGvnyhTlRhZrun P5H1p5ZSu/+5Kdb0R67nVkrzdw== X-Google-Smtp-Source: ABdhPJziw+f4QRZL4Kpj7Ibv9UlaRalcjNo2GmF90sZI6p2noJaakA4if8ogq5yuBsRPfvxTChZhRQ== X-Received: by 2002:a05:6e02:531:: with SMTP id h17mr1051378ils.288.1630531409092; Wed, 01 Sep 2021 14:23:29 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id k21sm443809ioh.38.2021.09.01.14.23.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 14:23:28 -0700 (PDT) Date: Wed, 1 Sep 2021 21:23:25 +0000 From: Oliver Upton To: Raghavendra Rao Ananta Subject: Re: [PATCH v3 01/12] KVM: arm64: selftests: Add MMIO readl/writel support Message-ID: References: <20210901211412.4171835-1-rananta@google.com> <20210901211412.4171835-2-rananta@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210901211412.4171835-2-rananta@google.com> Cc: kvm@vger.kernel.org, Will Deacon , Catalin Marinas , Peter Shier , linux-kernel@vger.kernel.org, Marc Zyngier , 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 Wed, Sep 01, 2021 at 09:14:01PM +0000, Raghavendra Rao Ananta wrote: > Define the readl() and writel() functions for the guests to > access (4-byte) the MMIO region. > > The routines, and their dependents, are inspired from the kernel's > arch/arm64/include/asm/io.h and arch/arm64/include/asm/barrier.h. > > Signed-off-by: Raghavendra Rao Ananta > --- > .../selftests/kvm/include/aarch64/processor.h | 45 ++++++++++++++++++- > 1 file changed, 44 insertions(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/kvm/include/aarch64/processor.h b/tools/testing/selftests/kvm/include/aarch64/processor.h > index c0273aefa63d..3cbaf5c1e26b 100644 > --- a/tools/testing/selftests/kvm/include/aarch64/processor.h > +++ b/tools/testing/selftests/kvm/include/aarch64/processor.h > @@ -130,6 +130,49 @@ void vm_install_sync_handler(struct kvm_vm *vm, > val; \ > }) > > -#define isb() asm volatile("isb" : : : "memory") > +#define isb() asm volatile("isb" : : : "memory") Is this a stray diff? Otherwise: Reviewed-by: Oliver Upton _______________________________________________ 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 CB845C432BE for ; Wed, 1 Sep 2021 21:27:30 +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 830ED61026 for ; Wed, 1 Sep 2021 21:27:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 830ED61026 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: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=FzhsA301W37EPJf/+UycnQOkIfF1Vn1n7ro2F1XuGNk=; b=jjjDUwgYVRCpIX x7wUbiHzt6fIyQsdCXQHKbCILbAYTbv1h/y1HxFjjtAYFc8nUHiSaEJtkrm+0Pg2njzWJ/p9YrOIU Mi6MRaeXdd2Hxh+f53gJVCmAcC1tb+J1brAMGr/QpB1b4dacVlanyxH+2Wu64QNI3mvRn5xTM0ASq bO+dcM+ETRHea/5LOAfA3ZSDxRRum3ODOnOBCZnZwKaHIKjpjs375lXCIBVo1boSrCUiKjeptIWss 9Ud4LRRgJOHA2AGsyRIVubADTUgYGVpXyfsBxxUpaBxL/L4KuFMasOdD/g/UQZmlO/EUqDP96pDHn mU9kKJxJZEEFpF2Vl4ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLXj0-007Vhu-Qy; Wed, 01 Sep 2021 21:24:52 +0000 Received: from mail-il1-x134.google.com ([2607:f8b0:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLXhl-007Uyl-Gb for linux-arm-kernel@lists.infradead.org; Wed, 01 Sep 2021 21:23:34 +0000 Received: by mail-il1-x134.google.com with SMTP id g8so723338ilc.5 for ; Wed, 01 Sep 2021 14:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=U3KFrpxU4d2fmsa0Mn7hWzZCFQgA1sH9j0f2Swqi3I4=; b=fRlBbRG00Jqh6wY8ay/vacNRJwhJuS8FG/s1/thQukVdCQCJZlOxZIPolWunH7C2aS akm7SCr0nYZMueozliPX04kjQ92ewCY0fr31acSvPe1QwCKnJCvV1jwaL0tMxKpEVxXy eI48fILum/Et8BgE8VkMExuJkjWvZcaUeP5lNHCm2rhQrDTujESJAzUdlAvLZgnYpI3q EGr23r8la80yjaBNhhUmog5qndDRkCqe8kDmXOEP8OzSm4v6/MqhrlrTMKGOq1MCr6tH 4YLtyc5X2l5XKqzojqkHgqdXzoz41yjcj9Z5WLNn9001mORzWwl5LchRCco5+T+7dEvp aNUg== 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=U3KFrpxU4d2fmsa0Mn7hWzZCFQgA1sH9j0f2Swqi3I4=; b=eMwCyOQy2V0XZ0LrmGL440V4LHEcSvUt4cns6bsTDoUVOwfd0v9i8EjCeBVMBBp0Z5 PEHuxw5Et6Dk+RpkeL6Li+hlhlGKSZdLKfXv1SGX62XOjbEu2EhjAtcvmbKI6LpX6r6+ th+u1GVhl8vHr35V6NxCFmYOJolE+a36jkPsskqBVpNN37XnMchom9vMZb4SXZ1YjJXx yzldPufc77DkE25Ujku7xxtCt/MslMb66UyleGYZl0sMxD33pveobVloSKw4GWwOnYF7 oIgEQ0B01hAvlmnBGmtTbWX6uIDTfsjsZa9HmsI//uVsoM14yGe8K5GEN39Qr2a+yXcN aGTg== X-Gm-Message-State: AOAM531m3WqXpFd7bLLTyhrJBaHilgabunHQF9RuKzrlFBtNlqkVbrMk ts0ahJQQez4o/LwpBr0pjOjY1g== X-Google-Smtp-Source: ABdhPJziw+f4QRZL4Kpj7Ibv9UlaRalcjNo2GmF90sZI6p2noJaakA4if8ogq5yuBsRPfvxTChZhRQ== X-Received: by 2002:a05:6e02:531:: with SMTP id h17mr1051378ils.288.1630531409092; Wed, 01 Sep 2021 14:23:29 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id k21sm443809ioh.38.2021.09.01.14.23.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 14:23:28 -0700 (PDT) Date: Wed, 1 Sep 2021 21:23:25 +0000 From: Oliver Upton To: Raghavendra Rao Ananta Cc: Paolo Bonzini , Marc Zyngier , 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 v3 01/12] KVM: arm64: selftests: Add MMIO readl/writel support Message-ID: References: <20210901211412.4171835-1-rananta@google.com> <20210901211412.4171835-2-rananta@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210901211412.4171835-2-rananta@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210901_142333_657130_9A337742 X-CRM114-Status: GOOD ( 17.74 ) 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:01PM +0000, Raghavendra Rao Ananta wrote: > Define the readl() and writel() functions for the guests to > access (4-byte) the MMIO region. > > The routines, and their dependents, are inspired from the kernel's > arch/arm64/include/asm/io.h and arch/arm64/include/asm/barrier.h. > > Signed-off-by: Raghavendra Rao Ananta > --- > .../selftests/kvm/include/aarch64/processor.h | 45 ++++++++++++++++++- > 1 file changed, 44 insertions(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/kvm/include/aarch64/processor.h b/tools/testing/selftests/kvm/include/aarch64/processor.h > index c0273aefa63d..3cbaf5c1e26b 100644 > --- a/tools/testing/selftests/kvm/include/aarch64/processor.h > +++ b/tools/testing/selftests/kvm/include/aarch64/processor.h > @@ -130,6 +130,49 @@ void vm_install_sync_handler(struct kvm_vm *vm, > val; \ > }) > > -#define isb() asm volatile("isb" : : : "memory") > +#define isb() asm volatile("isb" : : : "memory") Is this a stray diff? Otherwise: Reviewed-by: Oliver Upton _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel