From: Cornelia Huck <cohuck@redhat.com>
To: "Corvin Köhne" <corvin.koehne@gmail.com>, qemu-devel@nongnu.org
Cc: "Alex Williamson" <alex.williamson@redhat.com>,
"Cédric Le Goater" <clg@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Corvin Köhne" <c.koehne@beckhoff.com>
Subject: Re: [PATCH 2/4] scripts/update-linux-headers: include PCI ID header for Intel GPUs
Date: Thu, 06 Feb 2025 16:21:46 +0100 [thread overview]
Message-ID: <87ikpn6qut.fsf@redhat.com> (raw)
In-Reply-To: <20250206121341.118337-3-corvin.koehne@gmail.com>
On Thu, Feb 06 2025, Corvin Köhne <corvin.koehne@gmail.com> wrote:
> From: Corvin Köhne <c.koehne@beckhoff.com>
>
> We've recently imported the PCI ID header for Intel GPUs into our tree.
> Add it to our helper script to make it easier for us to sync this file
> in the future.
>
> Signed-off-by: Corvin Köhne <c.koehne@beckhoff.com>
> ---
> scripts/update-linux-headers.sh | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
> index 8913e4fb99..a4ff5a8fe9 100755
> --- a/scripts/update-linux-headers.sh
> +++ b/scripts/update-linux-headers.sh
> @@ -269,6 +269,12 @@ mkdir -p "$output/include/standard-headers/drm"
> cp_portable "$hdrdir/include/drm/drm_fourcc.h" \
> "$output/include/standard-headers/drm"
>
> +# Linux does not install the PCI IDs header for i915 devices, so we have to
> +# pick it up from the source tree itself.
> +mkdir -p "$output/include/standard-headers/drm/intel"
> +cp_portable "$linux/include/drm/intel/pciids.h" \
> + "$output/include/standard-headers/drm/intel"
> +
> cat <<EOF >$output/include/standard-headers/linux/types.h
> /* For QEMU all types are already defined via osdep.h, so this
> * header does not need to do anything.
The correct process here would be:
1. update the script (this patch)
2. run a full headers update against Linux v.13 (replaces patch 1)
I'll leave discussion of the whole series to the others :)
Thanks,
Cornelia
next prev parent reply other threads:[~2025-02-06 15:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-06 12:13 [PATCH 0/4] vfio/igd: sync PCI IDs with i915 Corvin Köhne
2025-02-06 12:13 ` [PATCH 1/4] include/standard-headers: add PCI IDs for Intel GPUs Corvin Köhne
2025-02-06 12:13 ` [PATCH 2/4] scripts/update-linux-headers: include PCI ID header " Corvin Köhne
2025-02-06 15:21 ` Cornelia Huck [this message]
2025-02-06 12:13 ` [PATCH 3/4] vfio/igd: use PCI ID defines to detect IGD gen Corvin Köhne
2025-02-06 21:26 ` Alex Williamson
2025-02-07 7:47 ` Corvin Köhne
2025-02-07 8:08 ` Corvin Köhne
2025-02-06 12:13 ` [PATCH 4/4] vfio/igd: sync GPU generation with i915 kernel driver Corvin Köhne
2025-02-07 18:09 ` Tomita Moeko
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=87ikpn6qut.fsf@redhat.com \
--to=cohuck@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=c.koehne@beckhoff.com \
--cc=clg@redhat.com \
--cc=corvin.koehne@gmail.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).