From: Boris Brezillon <boris.brezillon@collabora.com>
To: Steven Price <steven.price@arm.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>,
dri-devel@lists.freedesktop.org, kernel@collabora.com,
kernel test robot <lkp@intel.com>
Subject: Re: [PATCH 2/3] drm/panthor: Explicitly include page.h for the {virt,__phys)_to_pfn() defs
Date: Mon, 4 Mar 2024 14:17:08 +0100 [thread overview]
Message-ID: <20240304141708.4f886418@collabora.com> (raw)
In-Reply-To: <bbd9d18b-8e34-4972-980a-15bd348051ea@arm.com>
On Mon, 4 Mar 2024 12:31:23 +0000
Steven Price <steven.price@arm.com> wrote:
> On 04/03/2024 09:08, Boris Brezillon wrote:
> > Something on arm[64] must be including <asm/page.h>, but things fail
> > to compile on sparc64. Make sure this header is included explicitly
> > so this driver can be compile-tested on all supported architectures.
> >
> > Reported-by: kernel test robot <lkp@intel.com>
> > Closes: https://lore.kernel.org/oe-kbuild-all/202403031142.Vl4pW7X6-lkp@intel.com/
> > Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
>
> Seems reasonable, although I do wonder if it's right to include a "asm"
> header here or if we should pull in something like "linux/mm.h" which
> includes asm/page.h. I can find examples of both. Either way:
Actually, I considered including linux/mm.h too, so I'm happy to go for
this option (will fix when applying.
>
> Reviewed-by: Steven Price <steven.price@arm.com>
>
> > ---
> > drivers/gpu/drm/panthor/panthor_device.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/panthor/panthor_device.c b/drivers/gpu/drm/panthor/panthor_device.c
> > index bfe8da4a6e4c..68e467ee458a 100644
> > --- a/drivers/gpu/drm/panthor/panthor_device.c
> > +++ b/drivers/gpu/drm/panthor/panthor_device.c
> > @@ -3,6 +3,8 @@
> > /* Copyright 2019 Linaro, Ltd, Rob Herring <robh@kernel.org> */
> > /* Copyright 2023 Collabora ltd. */
> >
> > +#include <asm/page.h>
> > +
> > #include <linux/clk.h>
> > #include <linux/platform_device.h>
> > #include <linux/pm_domain.h>
>
next prev parent reply other threads:[~2024-03-04 13:17 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 9:08 [PATCH 0/3] drm/panthor: Fix 3 issues reported by the kernel test bot Boris Brezillon
2024-03-04 9:08 ` [PATCH 1/3] drm/panthor: Fix panthor_devfreq kerneldoc Boris Brezillon
2024-03-04 11:17 ` Liviu Dudau
2024-03-04 12:31 ` Steven Price
2024-03-04 9:08 ` [PATCH 2/3] drm/panthor: Explicitly include page.h for the {virt, __phys)_to_pfn() defs Boris Brezillon
2024-03-04 11:16 ` [PATCH 2/3] drm/panthor: Explicitly include page.h for the {virt,__phys)_to_pfn() defs Liviu Dudau
2024-03-04 13:17 ` Boris Brezillon
2024-03-04 12:31 ` Steven Price
2024-03-04 13:17 ` Boris Brezillon [this message]
2024-03-04 9:08 ` [PATCH 3/3] drm/panthor: Fix undefined panthor_device_suspend/resume symbol issue Boris Brezillon
2024-03-04 11:13 ` Liviu Dudau
2024-03-04 12:31 ` Steven Price
2024-03-11 11:05 ` Jani Nikula
2024-03-11 11:46 ` Boris Brezillon
2024-03-11 11:49 ` Jani Nikula
2024-03-11 11:52 ` Boris Brezillon
2024-03-11 13:11 ` Robin Murphy
2024-03-11 13:22 ` Boris Brezillon
2024-03-11 13:36 ` Robin Murphy
2024-03-11 13:46 ` Steven Price
2024-03-11 13:58 ` Boris Brezillon
2024-03-11 13:59 ` Boris Brezillon
2024-03-11 14:05 ` Boris Brezillon
2024-03-11 9:52 ` [PATCH 0/3] drm/panthor: Fix 3 issues reported by the kernel test bot Boris Brezillon
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=20240304141708.4f886418@collabora.com \
--to=boris.brezillon@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel@collabora.com \
--cc=liviu.dudau@arm.com \
--cc=lkp@intel.com \
--cc=steven.price@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.