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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 79C82C433F5 for ; Tue, 4 Jan 2022 13:46:29 +0000 (UTC) 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:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gae9C8Ig28NO1Lzgev+qDjeBz93xlIMCxjzENwEdpZE=; b=szD0jN7jEOYL2U A1ICk1jB+CCcxdM6FTq3gK+26CWgmFyWbFAxiobmbIkbtIAVp3jQYtCnhhuYhLfuiH4Kbd7Il3Gx1 eRpMgxKNUw87m4g7K3au9D5wgrd0MYgxfzRkyhIA+lJtsLWGcV1f0H4jrIIDOmBGKXOmw1CPoz6fv 6bW1H++VIG3Pah1GF2FaB5TN9yy8ZF367HHa5L5fTKh0xUxXIkp47bX3YXu5dxb5ysRYMpkHJmBpp Qxny+OE+DQmYcO6o2jPCfoXKbuY9+KdhrRi/nNTck5LlgwNTBif84T8u+DJ4Ddo+/hWB/mOGafHda rwQY9kOwvq6hI9vrvyuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4k7G-00BYoM-Ou; Tue, 04 Jan 2022 13:44:43 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4k7A-00BYmr-6G for linux-arm-kernel@lists.infradead.org; Tue, 04 Jan 2022 13:44:37 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E2321B815B3; Tue, 4 Jan 2022 13:44:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6E1DC36AE9; Tue, 4 Jan 2022 13:44:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1641303873; bh=meSSg/YmNbksR9ORav1v/bOv0Oo6+Koppmo78YLMnIQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=mXJopMPoRAwqub3ro5VAA6/y7RCrAGRKjh3JRwztH91E50zE67fnYuiI95IwLjxYM XzoR9b/DSZZtj85pabIlt28CO5xsdckUTKKPr2Rrhhm6UAPztxTqYz/bXhfrnvQJHX MDOMIv1O9/RFWz+wd4sUz4SzVOJ5f0yRfehaaZuEbiYx/upt/x0SnC0SLk0/P0IqsC vl3UhkBq3XM+fKk+8iCO8SK6Gb4O7COY3TZPpT0f2xoGIRG6jzWAnWTwZJipZb2kBk cJLC9AEOVtISZrE53II4HTwmXQLzelEsfxx+qHKU/XOfKoBD+/rChWfaB9h1FJ85s1 Ni7Y+6z2JpwDA== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1n4k75-00FvHK-Ih; Tue, 04 Jan 2022 13:44:31 +0000 Date: Tue, 04 Jan 2022 13:44:31 +0000 Message-ID: <87iluzvcn4.wl-maz@kernel.org> From: Marc Zyngier To: Andy Shevchenko Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, James Morse , Alexandru Elisei , Suzuki K Poulose Subject: Re: [PATCH v1 1/1] KVM: arm64: vgic: Replace kernel.h with the necessary inclusions In-Reply-To: References: <20211222165552.69288-1-andriy.shevchenko@linux.intel.com> <8735mk1pgt.wl-maz@kernel.org> 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/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: andriy.shevchenko@linux.intel.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220104_054436_406132_EB2A6EE6 X-CRM114-Status: GOOD ( 24.32 ) 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, 22 Dec 2021 19:14:28 +0000, Andy Shevchenko wrote: > > On Wed, Dec 22, 2021 at 08:25:43PM +0200, Andy Shevchenko wrote: > > On Wed, Dec 22, 2021 at 06:09:22PM +0000, Marc Zyngier wrote: > > > On Wed, 22 Dec 2021 16:55:52 +0000, > > > Andy Shevchenko wrote: > > > > > > > > When kernel.h is used in the headers it adds a lot into dependency hell, > > > > especially when there are circular dependencies are involved. > > > > > > Which circular dependencies? What problem are you solving? > > > > In particular moving bitmap_*alloc() APIs to the headers. > > > > But this may be a side effect of what I realized during the attempts > > of solving that issue. In any case there is no need to take entire > > mess of kernel.h in another header. > > For the record `make headerdep` doesn't make any difference with > or without this patch. But I consider it's better not to use kernel.h > in the headers due to a full mess behind it. Can you then please write a commit message that matches what this is actually doing instead of mentioning a problem that doesn't seem to exist? Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel