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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B0BAEB64DA for ; Fri, 14 Jul 2023 08:01:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235441AbjGNIBF (ORCPT ); Fri, 14 Jul 2023 04:01:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235585AbjGNIAg (ORCPT ); Fri, 14 Jul 2023 04:00:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 134394C3D for ; Fri, 14 Jul 2023 00:58:26 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 93F1161C58 for ; Fri, 14 Jul 2023 07:57:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED09BC433C8; Fri, 14 Jul 2023 07:57:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689321435; bh=IfLcYQotq5TIIbvKcOUwPCwI16MLFXvxH0vMKPmHXh4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=YlgziZ5qZnrI/ZzCgpJQBW/3vMznxbe4/tMTaOWjAA6EF2cK4lBLnNL2mkNCKfHWA R8e20j2i2h07MBg+DCXaSmmL//e2ejUrQJsgKxcHR/Z2bwVI+D40CxT6AjOGaNsM4F ow5oOovl/kjyOYUpZOGnGfSynKakM818vGuC0KWE/KPU2qTI42URs+fiSX1qxlpi4w L3RL+zPahMLboiF3YtXskoWAzPl+4IUe7ySCqToybU+i65cU3tIFbvL5MelXznPag1 k2dhvVl40PWeMfnnDFSagS375GTWBd+aeGMqpzYJhZkYD/3zAVxKAEhjNsDuIQdPPF 1Op37vMKurl5Q== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qKDfs-00D1NY-Ll; Fri, 14 Jul 2023 08:57:12 +0100 Date: Fri, 14 Jul 2023 08:57:12 +0100 Message-ID: <86r0pbudrb.wl-maz@kernel.org> From: Marc Zyngier To: chenqingyun001@208suo.com Cc: oliver.upton@linux.dev, catalin.marinas@arm.com, will@kernel.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com Subject: Re: [PATCH] KVM: arm64:Use #include instead of In-Reply-To: <3d56cf129c2cf1cf53f19ebe3c23a803@208suo.com> References: <3d56cf129c2cf1cf53f19ebe3c23a803@208suo.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: chenqingyun001@208suo.com, oliver.upton@linux.dev, catalin.marinas@arm.com, will@kernel.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 14 Jul 2023 05:57:42 +0100, chenqingyun001@208suo.com wrote: > > Since is a kernel-proprietary header file, it > should not be included by user-space programs. There is no userspace involved here. > And is a public header file, > which provides some functions for registering > and unregistering probes How is that relevant? Have you checked *why* we're including this file? > > Signed-off-by: Qingyun Chen > --- > arch/arm64/kvm/hyp/vhe/sysreg-sr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/kvm/hyp/vhe/sysreg-sr.c > b/arch/arm64/kvm/hyp/vhe/sysreg-sr.c > index b35a178e7e0d..072471df8b1b 100644 > --- a/arch/arm64/kvm/hyp/vhe/sysreg-sr.c > +++ b/arch/arm64/kvm/hyp/vhe/sysreg-sr.c > @@ -9,7 +9,7 @@ > #include > #include > > -#include > +#include And this is at the wrong thing to do. > #include > #include > #include > I'd rather you *stop* sending these patches. There is no justification for them, and you keep doing the wrong thing. M. -- Without deviation from the norm, progress is not possible.