Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp403651pxb; Thu, 2 Sep 2021 06:54:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfr0ndShhaHtKaAM6+VN/z6UXiZJsmtdV45Gadkas6tllduYDJOmjIkcmwEAoLrHLRI00o X-Received: by 2002:a17:906:b18e:: with SMTP id w14mr3999499ejy.63.1630590876555; Thu, 02 Sep 2021 06:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630590876; cv=none; d=google.com; s=arc-20160816; b=N0j84v27eO8rm8d/NVaNiuEP2QhcxfiSEU5LSZWdLPm+CLCzqW/kQk2emtiDgTwZbf 3KluCJwwl5aul74X+oAI0DidCun79JuUheKVuEXgsZ6Ay7UdCOBnJHdmYPWvk1gQMm0f gfN2iXygOue+E6yDfLOaOmmCChY3rNj7J66UghVps06iTBrwk8Cq/aG3ABVPZV3dCnWT 8yxqroOmzcztwUXJgXC9mh5YQJpjKqk0EFlStWO9HMklld6IsQzLZHU3UGl0AIWxhrTP 8hF/GZv4TBt/TFkg2heS4fTtLixoaCxVqC4Sx4Nm1nDPnqCsD9iqDjH5qij6K8bI6PWK Y3CQ== 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=PcQKXY/cQKOdShIe+YVlSE7XvlfimtQWI3kVCVJqZrE=; b=0Af1J59lHxWkaWLIirdtvKErGaxgdj+dmxvO2wduXUR0zRmI7g4elx7EpYdkuu+J0J Xp9wvnM4K3bE3UW+TWK8dapauQFqinIGbEaW2DxGp1jj7+vWj5yDvpFDx6vE2Tumtsrg zFKRCt6HiQqpPexna1OcP9m2TG6GqiRJUxidweW9IPW2aI/M40Ydxafd5qyWlZqQIC4w 5ZL9Sdm182gsHTQMhtm6GpRIN9mDFOer4NwFJIVtcoVowaHZruaWrb5/SZewgvUk7Klx hGBL0+OwTnmVGvmRAZgu0m/E1mJ2DhRz1Cz+aGSMYk7dTSOlPdyCtuijL3y2+7QLtfgb ojGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=b1vzPZ9J; 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 kq12si2243827ejb.265.2021.09.02.06.53.43; Thu, 02 Sep 2021 06:54:36 -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=b1vzPZ9J; 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 S1345051AbhIBNrI (ORCPT + 99 others); Thu, 2 Sep 2021 09:47:08 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:38817 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232466AbhIBNrI (ORCPT ); Thu, 2 Sep 2021 09:47:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630590369; 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=PcQKXY/cQKOdShIe+YVlSE7XvlfimtQWI3kVCVJqZrE=; b=b1vzPZ9JXu6L4cVcxglXRIxWoBlHaNFzfNCD16uPWuJtdIGzE1muhCtqUpgQLo+uk7PxNL qE4v6sP3bVJgP0lZAwNCONOyQ9/dyywl1crKQfpH6jvdVQctCmUbjr0U7l38y3j6BAHsfv BX89nUKMUDI+DKq6nBs3w2R8QWDMKMk= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-319-RO3ZDOHIPi6eB6d5aRBl-A-1; Thu, 02 Sep 2021 09:46:08 -0400 X-MC-Unique: RO3ZDOHIPi6eB6d5aRBl-A-1 Received: by mail-qk1-f198.google.com with SMTP id x19-20020a05620a099300b003f64d79cbbaso1672623qkx.7 for ; Thu, 02 Sep 2021 06:46:08 -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=PcQKXY/cQKOdShIe+YVlSE7XvlfimtQWI3kVCVJqZrE=; b=T7fK6du47wl5te1SkkfLFYdZUP0GuhltKIwFoFyPby6Y9gP8UUy3IilvsWWOmrM+iA 4qLhyG0S1fJa1cAO9pH6FTMeSCcNTcGv6jBZSQpHZKLi3GREM5RIK1GW/Pzo1nkIjrP9 gEeE3gEzy4Nal+eyzj9GcYTSMiqtfoB5S4c/b/QhEl4JxXir9trwZzdmVa24oJ68vCQH 1ktWWRv4XlNMyBzY1hZlsx118HkA4dsJvG0n/aIlEXQK3f6Ik1a7sukZU2+Yop8jBAmc DH7hEemXV6+dHu2iw5WVuu0Wrap481eTmTIQq6aeikrF7vzAEmp3ognQhJdYCv9l2Dgw 96nw== X-Gm-Message-State: AOAM533kox6i3KA/z3j3C+SzeTM0nAEej9N06jaqziL0SaIEMmZQz9fE YFdzKa5exMARpKRIFaGXQqrlttxKxcUrJdO0ijZROAimvt9YBXo9Id18REEYXS45FXrDyxt7E7Q vVIVOIUFAahz6nq7BnGevDRxP X-Received: by 2002:a0c:d804:: with SMTP id h4mr3371882qvj.37.1630590368155; Thu, 02 Sep 2021 06:46:08 -0700 (PDT) X-Received: by 2002:a0c:d804:: with SMTP id h4mr3371853qvj.37.1630590367962; Thu, 02 Sep 2021 06:46:07 -0700 (PDT) Received: from gator (nat-pool-brq-u.redhat.com. [213.175.37.12]) by smtp.gmail.com with ESMTPSA id d20sm1413091qkl.13.2021.09.02.06.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 06:46:07 -0700 (PDT) Date: Thu, 2 Sep 2021 15:46:03 +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 03/12] KVM: arm64: selftests: Add support for cpu_relax Message-ID: <20210902134603.zqdaqa4yfndi2dmc@gator> References: <20210901211412.4171835-1-rananta@google.com> <20210901211412.4171835-4-rananta@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210901211412.4171835-4-rananta@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 01, 2021 at 09:14:03PM +0000, Raghavendra Rao Ananta wrote: > Implement the guest helper routine, cpu_relax(), to yield > the processor to other tasks. > > The function was derived from > arch/arm64/include/asm/vdso/processor.h. > > Signed-off-by: Raghavendra Rao Ananta > --- > tools/testing/selftests/kvm/include/aarch64/processor.h | 5 +++++ > 1 file changed, 5 insertions(+) > Reviewed-by: Andrew Jones