From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Marc Zyngier <maz@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org,
James Morse <james.morse@arm.com>,
Alexandru Elisei <alexandru.elisei@arm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>
Subject: Re: [PATCH v1 1/1] KVM: arm64: vgic: Replace kernel.h with the necessary inclusions
Date: Wed, 22 Dec 2021 20:25:42 +0200 [thread overview]
Message-ID: <YcNtpnxbyDA/CGgc@smile.fi.intel.com> (raw)
In-Reply-To: <8735mk1pgt.wl-maz@kernel.org>
On Wed, Dec 22, 2021 at 06:09:22PM +0000, Marc Zyngier wrote:
> On Wed, 22 Dec 2021 16:55:52 +0000,
> Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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.
--
With Best Regards,
Andy Shevchenko
WARNING: multiple messages have this Message-ID (diff)
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Marc Zyngier <maz@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org,
James Morse <james.morse@arm.com>,
Alexandru Elisei <alexandru.elisei@arm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>
Subject: Re: [PATCH v1 1/1] KVM: arm64: vgic: Replace kernel.h with the necessary inclusions
Date: Wed, 22 Dec 2021 20:25:42 +0200 [thread overview]
Message-ID: <YcNtpnxbyDA/CGgc@smile.fi.intel.com> (raw)
In-Reply-To: <8735mk1pgt.wl-maz@kernel.org>
On Wed, Dec 22, 2021 at 06:09:22PM +0000, Marc Zyngier wrote:
> On Wed, 22 Dec 2021 16:55:52 +0000,
> Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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.
--
With Best Regards,
Andy Shevchenko
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Marc Zyngier <maz@kernel.org>
Cc: linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v1 1/1] KVM: arm64: vgic: Replace kernel.h with the necessary inclusions
Date: Wed, 22 Dec 2021 20:25:42 +0200 [thread overview]
Message-ID: <YcNtpnxbyDA/CGgc@smile.fi.intel.com> (raw)
In-Reply-To: <8735mk1pgt.wl-maz@kernel.org>
On Wed, Dec 22, 2021 at 06:09:22PM +0000, Marc Zyngier wrote:
> On Wed, 22 Dec 2021 16:55:52 +0000,
> Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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.
--
With Best Regards,
Andy Shevchenko
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
next prev parent reply other threads:[~2021-12-22 18:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-22 16:55 [PATCH v1 1/1] KVM: arm64: vgic: Replace kernel.h with the necessary inclusions Andy Shevchenko
2021-12-22 16:55 ` Andy Shevchenko
2021-12-22 16:55 ` Andy Shevchenko
2021-12-22 18:09 ` Marc Zyngier
2021-12-22 18:09 ` Marc Zyngier
2021-12-22 18:09 ` Marc Zyngier
2021-12-22 18:25 ` Andy Shevchenko [this message]
2021-12-22 18:25 ` Andy Shevchenko
2021-12-22 18:25 ` Andy Shevchenko
2021-12-22 19:14 ` Andy Shevchenko
2021-12-22 19:14 ` Andy Shevchenko
2021-12-22 19:14 ` Andy Shevchenko
2022-01-04 13:44 ` Marc Zyngier
2022-01-04 13:44 ` Marc Zyngier
2022-01-04 13:44 ` Marc Zyngier
2022-01-04 13:45 ` Andy Shevchenko
2022-01-04 13:45 ` Andy Shevchenko
2022-01-04 13:45 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YcNtpnxbyDA/CGgc@smile.fi.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=alexandru.elisei@arm.com \
--cc=james.morse@arm.com \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=suzuki.poulose@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.