Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1279648ybt; Thu, 9 Jul 2020 03:12:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyRYO8Ybo/ARFIxfT5v0uj0/BMwC1Gitv/ACIxYfMeEWRIbCKkVotfwVfZNBhZF/f7u8tF X-Received: by 2002:a17:906:f98e:: with SMTP id li14mr55460699ejb.174.1594289533427; Thu, 09 Jul 2020 03:12:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594289533; cv=none; d=google.com; s=arc-20160816; b=rFZSYOwoKx8UhIWJHMi10jbZbV+XHwkxnVyw7J0A7sMtq/hxMZGYQUzviO/ftfM3Ci TAIqDfecj83KgF/b5TEC0yxlv2XO7/SZLbKD2k0j/ZsynVnaMfqLEOCH0XwM6ls+/CRq NlN+JykfAF0MpWSWj3qq47QFssnO5STHm3sGWw+PlKNlVf/nqZHdSwLkLLhnbT82Sbq3 bBEVBz3ciKCAwdlMIBWcWAWzwZtxroA1XFEqzJRVfbYejXn5pXf7TeWJJ66+zjddwv+q PWFxLxlvfYrEUxlYeNGOIXCJV+dSvKgOg1BX3ORksWqM6RBTfeSdqGCHCrJxf9DfdPNS DJGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=GrNomWTVPpF2ombmb/5SY8pG67rEi3how1480JKjkdU=; b=JjMOfNtAL4ojRQ6FkbvWszFYIjJyg49i+fXlqaHBBuL/sG7C1Zxaca4DtNoe+gVjHF YiGxr15oFBVgrXk65hmKYwIIe5PIKv7o6J7w1W1zOIKsGd3baxaRVpuIZFUoV2gNsBz7 GBZGSYYfzpkxDfzsROzL3V7zNHLIb6MiX7G2fDGrXd8KX2h30NXYxNyJx731MeGxiXXD 002rFi2Wmw2j5gQ2MIN6HKEcCt2c+3DOY44vjZjGqCwPRitQjxf68GVc/8dquiDw9ONl yK5i3jc1wSR+0vnIRLUtDb+KmfykqupLhP0GtX7RuygSfhI6R8YH/nwqcpc58g0XeIrU 3MZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=kxRBUjVz; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h23si1725507edv.18.2020.07.09.03.11.50; Thu, 09 Jul 2020 03:12:13 -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=@ellerman.id.au header.s=201909 header.b=kxRBUjVz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726630AbgGIKJT (ORCPT + 99 others); Thu, 9 Jul 2020 06:09:19 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:43361 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726323AbgGIKJS (ORCPT ); Thu, 9 Jul 2020 06:09:18 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4B2X2f6tyhz9sSd; Thu, 9 Jul 2020 20:09:14 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1594289355; bh=B+pvOdRR00uR6MW/d9Tg/MIy1GpvfDv7HP5aB55eLMw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=kxRBUjVzQLmCVjdHJKK+OcMHo6neU1RQex6N/x2BrSSEzz8iH/g7k4DoVMlUhjVk7 qjlMzJqNzIPeCAL4m8bkMuCl1Dr7W0UwucYzh02G9a/78uSyNSp/rFzURUfJIof5xH rvrxbDJUq5MJV/BQwK0VcLmyEvCImjHGLb+/cWWbDQYBeOaA4oQ2CL3X3APXF6/y2J D2L/vyTlEu1jwKOp2V1ztZHSpC9pxYI9LfxuGcgX3zR3P6RAS/67QId4q+XfV3yQtt K7ocKhOlTOWEa7eB+mqmgAgCqXAnWX3PTuHX9vuE8pgXODpslKd4pTMDt2KQ2hnq7g Rlwx0t1IcWGFQ== From: Michael Ellerman To: Nicholas Piggin , linuxppc-dev@lists.ozlabs.org Cc: Nicholas Piggin , Will Deacon , Peter Zijlstra , Boqun Feng , Ingo Molnar , Waiman Long , Anton Blanchard , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm-ppc@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH v3 2/6] powerpc/pseries: move some PAPR paravirt functions to their own file In-Reply-To: <20200706043540.1563616-3-npiggin@gmail.com> References: <20200706043540.1563616-1-npiggin@gmail.com> <20200706043540.1563616-3-npiggin@gmail.com> Date: Thu, 09 Jul 2020 20:11:29 +1000 Message-ID: <87d055vvzi.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nicholas Piggin writes: > Little bit of changelog would be nice :D > Signed-off-by: Nicholas Piggin > --- > arch/powerpc/include/asm/paravirt.h | 61 +++++++++++++++++++++++++++++ > arch/powerpc/include/asm/spinlock.h | 24 +----------- > arch/powerpc/lib/locks.c | 12 +++--- > 3 files changed, 68 insertions(+), 29 deletions(-) > create mode 100644 arch/powerpc/include/asm/paravirt.h > > diff --git a/arch/powerpc/include/asm/paravirt.h b/arch/powerpc/include/asm/paravirt.h > new file mode 100644 > index 000000000000..7a8546660a63 > --- /dev/null > +++ b/arch/powerpc/include/asm/paravirt.h > @@ -0,0 +1,61 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > +#ifndef __ASM_PARAVIRT_H > +#define __ASM_PARAVIRT_H Should be _ASM_POWERPC_PARAVIRT_H > +#ifdef __KERNEL__ We shouldn't need __KERNEL__ in here, it's not a uapi header. cheers