xe-eudebug: GPU debugging interface
Subsystems (3)
cover xe-eudebug: GPU debugging interface
Hi,
This patchset is to allow l0/oneAPI GDB
(or some other debugger) to attach to xe driven device.
The intent is to provide a similar but not API compatible functionality as in:
https://dgpu-docs.intel.com/driver/gpu-debugging.html
Debugger first opens a connection to a device through drm ioctl with debug target as a pid. This will return a dedicated file descriptor used for debugging for further events and control.
Xe internal resources that are considered essential to debugger functionality are relayed as events to the debugger. On debugger connection, all existing resources are relayed to debugger (discovery) and from that point onwards, as they are created/destroyed.
uapi is extended to allow an application/lib to provide debug metadata information. These are relayed as events to the debugger so it can decode the program state. Debug metadata is also attached to capture dumps if no debugger was connected during the gpu/hw exception. For capturing, the goal is to allow external tools to construct symbolic backtraces from error capture dumps.
Along with the resource and metadata events, we provide an event for EU attention. The debugger can (with the assistance of SIP program provided with pipeline setup), figure out which exact eu/thread and instruction encountered the breakpoint or some other exception.
Latest code can be found in:
https://gitlab.freedesktop.org/miku/kernel/-/tree/eudebug-dev
With the associated tests in:
https://gitlab.freedesktop.org/Dominisg/igt-gpu-tools/-/tree/eudebug-dev
All comments greatly appreciated,
- Mika
Christoph Manszewski (1):
drm/xe/xe_eudebug: Add vm bind events w/o acking
Dominik Grzegorzek (15):
drm/xe/eudebug: Introduce exec_queue events drm/xe/eudebug: hw enablement for eudebug drm/xe: define XE_MAX_[DSS|EU]_FUSE_BITS globally drm/xe: Introduce for_each_dss_steering loop drm/xe: Export xe_hw_engine's mmio accessors drm/xe: Add runalone engine property drm/xe/eudebug: Introduce per device attention scan worker drm/xe: Move and export xe_hw_engine lookup. drm/xe/eudebug: Introduce EU control interface drm/xe: Debug metadata create/destroy ioctls xe/drm: Include debug_metadata in usercoredump drm/xe: Set vm debug metadata
drm/xe/: Include attention in usercapture.
RFC: xe/drm: attach debug metadata to vma drm/xe: Capture metadata attached to vma
Mika Kuoppala (9):
drm/xe/eudebug: Introduce eudebug support drm/xe/eudebug: Introduce discovery for resources drm/xe: Extend drm_xe_vm_bind_op
drm/xe/eudebug: uapi for client to debugger metadata (work in
progress)
drm/xe/eudebug: Create/destroy user metadata drm/xe/eudebug: Set vm metadata
drm/xe/eudebug: User coredump support drm/xe/eudebug: Add per process coredumps drm/xe/eudebug: vm open/pread/pwrite
drivers/gpu/drm/xe/Makefile | 6 +- drivers/gpu/drm/xe/regs/xe_engine_regs.h | 4 + drivers/gpu/drm/xe/regs/xe_gt_regs.h | 46 + drivers/gpu/drm/xe/xe_debug_metadata.c | 120 + drivers/gpu/drm/xe/xe_debug_metadata.h | 26 + drivers/gpu/drm/xe/xe_debug_metadata_types.h | 28 + drivers/gpu/drm/xe/xe_device.c | 42 +- drivers/gpu/drm/xe/xe_device_types.h | 40 + drivers/gpu/drm/xe/xe_eudebug.c | 2552 ++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 42 + drivers/gpu/drm/xe/xe_eudebug_types.h | 271 ++ drivers/gpu/drm/xe/xe_exec_queue.c | 63 +- drivers/gpu/drm/xe/xe_gt_debug.c | 150 + drivers/gpu/drm/xe/xe_gt_debug.h | 27 + drivers/gpu/drm/xe/xe_gt_mcr.c | 27 + drivers/gpu/drm/xe/xe_gt_mcr.h | 15 + drivers/gpu/drm/xe/xe_gt_topology.c | 3 - drivers/gpu/drm/xe/xe_gt_types.h | 6 +- drivers/gpu/drm/xe/xe_hw_engine.c | 37 +- drivers/gpu/drm/xe/xe_hw_engine.h | 11 + drivers/gpu/drm/xe/xe_lrc.c | 8 + drivers/gpu/drm/xe/xe_lrc.h | 3 + drivers/gpu/drm/xe/xe_usercoredump.c | 710 +++++ drivers/gpu/drm/xe/xe_usercoredump.h | 26 + drivers/gpu/drm/xe/xe_usercoredump_types.h | 107 + drivers/gpu/drm/xe/xe_vm.c | 284 +- drivers/gpu/drm/xe/xe_vm.h | 5 + drivers/gpu/drm/xe/xe_vm_types.h | 39 + include/uapi/drm/xe_drm.h | 107 + include/uapi/drm/xe_drm_tmp.h | 172 ++ 30 files changed, 4914 insertions(+), 63 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_debug_metadata.c create mode 100644 drivers/gpu/drm/xe/xe_debug_metadata.h create mode 100644 drivers/gpu/drm/xe/xe_debug_metadata_types.h create mode 100644 drivers/gpu/drm/xe/xe_eudebug.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug.h create mode 100644 drivers/gpu/drm/xe/xe_eudebug_types.h create mode 100644 drivers/gpu/drm/xe/xe_gt_debug.c create mode 100644 drivers/gpu/drm/xe/xe_gt_debug.h create mode 100644 drivers/gpu/drm/xe/xe_usercoredump.c create mode 100644 drivers/gpu/drm/xe/xe_usercoredump.h create mode 100644 drivers/gpu/drm/xe/xe_usercoredump_types.h create mode 100644 include/uapi/drm/xe_drm_tmp.h
Signature · 1 line
2.34.1
RFC 1/25 drm/xe/eudebug: Introduce eudebug support
With eudebug event interface, user space debugger process (like gdb) is able to keep track of resources created by another process (debuggee using drm/xe) and act upon these resources.
For example, debugger can find a client vm which contains isa/elf for a particular shader/eu-kernel and then inspect and modify it (for example installing a breakpoint).
Debugger first opens a connection to xe with a drm ioctl specifying target pid to connect. This returns an anon fd handle that can then be used to listen for events with dedicated ioctl.
This patch introduces eudebug connection and event queuing, adding client create/destroy and vm create/destroy events as a baseline. More events for full debugger operation are needed and those will be introduced in follow up patches.
The resource tracking parts are inspired by the work of Maciej Patelczyk on resource handling for i915. Chris Wilson suggested improvement of two ways mapping which makes it easy to use resource map as a definitive bookkeep of what resources are played to debugger in the discovery phase (on follow up patch).
v2: - event printer removed (Maarten)
- trim down kfifo accessors (Maarten)
- xa_alloc spurious locking removed (Maarten)
--- drivers/gpu/drm/xe/Makefile | 3 +- drivers/gpu/drm/xe/xe_device.c | 22 +- drivers/gpu/drm/xe/xe_device_types.h | 25 + drivers/gpu/drm/xe/xe_eudebug.c | 1010 +++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 27 + drivers/gpu/drm/xe/xe_eudebug_types.h | 166 ++++ drivers/gpu/drm/xe/xe_vm.c | 7 +- include/uapi/drm/xe_drm_tmp.h | 78 ++ 8 files changed, 1335 insertions(+), 3 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_eudebug.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug.h create mode 100644 drivers/gpu/drm/xe/xe_eudebug_types.h create mode 100644 include/uapi/drm/xe_drm_tmp.h
drivers/gpu/drm/xe/Makefile +2 -1
@@ -117,7 +117,8 @@ xe-y += xe_bb.o \ xe_vm_madvise.o \ xe_wait_user_fence.o \ xe_wa.o \ - xe_wopcm.o + xe_wopcm.o \ + xe_eudebug.o # graphics hardware monitoring (HWMON) support xe-$(CONFIG_HWMON) += xe_hwmon.o
drivers/gpu/drm/xe/xe_device.c +21 -1
@@ -14,6 +14,7 @@#include <drm/drm_managed.h> #include <drm/drm_print.h> #include <drm/xe_drm.h> +#include <drm/xe_drm_tmp.h> #include "regs/xe_regs.h" #include "xe_bo.h"
@@ -39,6 +40,7 @@#include "xe_vm_madvise.h" #include "xe_wait_user_fence.h" #include "xe_hwmon.h" +#include "xe_eudebug.h" #ifdef CONFIG_LOCKDEP struct lockdep_map xe_device_mem_access_lockdep_map = {
@@ -74,7 +76,15 @@ static int xe_file_open(struct drm_device *dev, struct drm_file *file)xa_init_flags (&xef->exec_queue.xa,XA_FLAGS_ALLOC1 ); file->driver_priv = xef; -return 0 ; + + ret =xa_alloc (&xe->clients.xa, &xef->client_id, xef, xa_limit_32b,GFP_KERNEL ); + +if (!ret) +xe_eudebug_file_open (xef); +else +kfree (xef); + +return ret; } static void device_kill_persistent_exec_queues(struct xe_device *xe,
@@ -88,6 +98,12 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)struct xe_exec_queue *q;unsigned long idx; +xe_eudebug_file_close (xef); + +mutex_lock (&xe->clients.lock); +xa_erase (&xe->clients.xa, xef->client_id); +mutex_unlock (&xe->clients.lock); +mutex_lock (&xef->exec_queue.lock);xa_for_each (&xef->exec_queue.xa, idx, q) {xe_exec_queue_kill (q);
@@ -129,6 +145,7 @@ static const struct drm_ioctl_desc xe_ioctls[] = {DRM_IOCTL_DEF_DRV (XE_WAIT_USER_FENCE , xe_wait_user_fence_ioctl,DRM_RENDER_ALLOW ),DRM_IOCTL_DEF_DRV (XE_VM_MADVISE , xe_vm_madvise_ioctl,DRM_RENDER_ALLOW ), + DRM_IOCTL_DEF_DRV(XE_EUDEBUG_CONNECT, xe_eudebug_connect_ioctl, DRM_RENDER_ALLOW), }; static const struct file_operations xe_driver_fops = {
@@ -195,6 +212,7 @@ static void xe_device_destroy(struct drm_device *dev, void *dummy)destroy_workqueue (xe->unordered_wq);ttm_device_fini (&xe->ttm); +xe_eudebug_fini (xe); } struct xe_device *xe_device_create(struct pci_dev *pdev,
@@ -242,6 +260,8 @@ struct xe_device *xe_device_create(struct pci_dev *pdev,INIT_LIST_HEAD (&xe->pinned.external_vram);INIT_LIST_HEAD (&xe->pinned.evicted); +xe_eudebug_init (xe); + xe->ordered_wq =alloc_ordered_workqueue ("xe-ordered-wq" ,0 ); xe->unordered_wq =alloc_workqueue ("xe-unordered-wq" ,0 ,0 );if (!xe->ordered_wq || !xe->unordered_wq) {
drivers/gpu/drm/xe/xe_device_types.h +25 -0
@@ -408,6 +408,28 @@ struct xe_device {/** @needs_flr_on_fini: requests function-reset on fini */ bool needs_flr_on_fini; +/** @debugger connection list and globals for device */ +struct { +/** @lock: protects the list of connections */ +spinlock_t lock; +/** @list: list of connections, aka debuggers */ +struct list_head list; + +/** @session_count: session counter to track connections */ +u64 session_count; + +/** @available: is the debugging functionality available */ +bool available; + } eudebug; + +/** @clients xe_file tracking for eudebug discovery */ +struct { +/** @lock: protects the xa */ +struct mutex lock; +/** @xa: xarray of xe_files currently open */ +struct xarray xa; + } clients; +/* private: */ #if IS_ENABLED (CONFIG_DRM_XE_DISPLAY )
@@ -511,6 +533,9 @@ struct xe_file {/** @client: drm client */ struct xe_drm_client *client; + +/** @client_id: id in clients.xa for eudebug discovery */ + int client_id; };#endif
drivers/gpu/drm/xe/xe_eudebug.c new file +1010 -0
1,010 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug.h new file +27 -0
@@ -0,0 +1,27 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef _XE_EUDEBUG_H_ + +struct drm_device ; +struct drm_file ; +struct xe_device ; +struct xe_file ; +struct xe_vm ; + +int xe_eudebug_connect_ioctl (struct drm_device *dev, +void *data, +struct drm_file *file); + +void xe_eudebug_init (struct xe_device *xe); +void xe_eudebug_fini (struct xe_device *xe); + +void xe_eudebug_file_open (struct xe_file *xef); +void xe_eudebug_file_close (struct xe_file *xef); + +void xe_eudebug_vm_create (struct xe_file *xef,struct xe_vm *vm); +void xe_eudebug_vm_destroy (struct xe_file *xef,struct xe_vm *vm); + +#endif
drivers/gpu/drm/xe/xe_eudebug_types.h new file +166 -0
166 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm.c +6 -1
@@ -34,6 +34,7 @@#include "xe_trace.h" #include "generated/xe_wa_oob.h" #include "xe_wa.h" +#include "xe_eudebug.h" #define TEST_VM_ASYNC_OPS_ERROR
@@ -2017,6 +2018,8 @@ int xe_vm_create_ioctl(struct drm_device *dev, void *data, args->reserved[0 ] =xe_bo_main_addr (vm->pt_root[0 ]->bo,XE_PAGE_SIZE );#endif +xe_eudebug_vm_create (xef, vm); +return 0 ; }
@@ -2043,8 +2046,10 @@ int xe_vm_destroy_ioctl(struct drm_device *dev, void *data,xa_erase (&xef->vm.xa, args->vm_id);mutex_unlock (&xef->vm.lock); -if (!err) +if (!err) { +xe_eudebug_vm_destroy (xef, vm);xe_vm_close_and_put (vm); + }return err; }
include/uapi/drm/xe_drm_tmp.h new file +78 -0
78 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [Intel-xe] [RFC 01/25] drm/xe/eudebug: Introduce eudebug support
Quoted 66 lines · Mika Kuoppala
With eudebug event interface, user space debugger process (like gdb) is able to keep track of resources created by another process (debuggee using drm/xe) and act upon these resources.
For example, debugger can find a client vm which contains isa/elf for a particular shader/eu-kernel and then inspect and modify it (for example installing a breakpoint).
Debugger first opens a connection to xe with a drm ioctl specifying target pid to connect. This returns an anon fd handle that can then be used to listen for events with dedicated ioctl.
This patch introduces eudebug connection and event queuing, adding client create/destroy and vm create/destroy events as a baseline. More events for full debugger operation are needed and those will be introduced in follow up patches.
The resource tracking parts are inspired by the work of Maciej Patelczyk on resource handling for i915. Chris Wilson suggested improvement of two ways mapping which makes it easy to use resource map as a definitive bookkeep of what resources are played to debugger in the discovery phase (on follow up patch).
v2: - event printer removed (Maarten)
- trim down kfifo accessors (Maarten)
-xa_allocspurious locking removed (Maarten)Cc Maarten Lankhorst <[email protected]>Cc Lucas De Marchi <[email protected]>Cc Maciej Patelczyk <[email protected]>Cc Dominik Grzegorzek <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>--- drivers/gpu/drm/xe/Makefile | 3 +- drivers/gpu/drm/xe/xe_device.c | 22 +- drivers/gpu/drm/xe/xe_device_types.h | 25 + drivers/gpu/drm/xe/xe_eudebug.c | 1010 +++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 27 + drivers/gpu/drm/xe/xe_eudebug_types.h | 166 ++++ drivers/gpu/drm/xe/xe_vm.c | 7 +- include/uapi/drm/xe_drm_tmp.h | 78 ++ 8 files changed, 1335 insertions(+), 3 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_eudebug.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug.h create mode 100644 drivers/gpu/drm/xe/xe_eudebug_types.h create mode 100644 include/uapi/drm/xe_drm_tmp.hdrivers/gpu/drm/xe/Makefile +2
-1@@ -117,7 +117,8 @@ xe-y += xe_bb.o \ xe_vm_madvise.o \ xe_wait_user_fence.o \ xe_wa.o \ - xe_wopcm.o + xe_wopcm.o \ + xe_eudebug.o # graphics hardware monitoring (HWMON) support xe-$(CONFIG_HWMON) += xe_hwmon.odrivers/gpu/drm/xe/xe_device.c +0
-0
drivers/gpu/drm/xe/xe_device.c line 17
Quoted 4 lines
drivers/gpu/drm/xe/xe_device.c +1
-0@@ -14,6 +14,7 @@#include <drm/drm_managed.h> #include <drm/drm_print.h> #include <drm/xe_drm.h> +#include <drm/xe_drm_tmp.h>
tmp?? Even if we need a separate header for UAPI accessed through a different file descriptor, we should probably come up with a better / more descriptive name.
Quoted 13 lines
drivers/gpu/drm/xe/xe_device.c +1
-0#include "regs/xe_regs.h" #include "xe_bo.h" @@ -39,6 +40,7 @@#include "xe_vm_madvise.h" #include "xe_wait_user_fence.h" #include "xe_hwmon.h" +#include "xe_eudebug.h" #ifdef CONFIG_LOCKDEP struct lockdep_map xe_device_mem_access_lockdep_map = {@@ -74,7 +76,15 @@ static int xe_file_open(struct drm_device *dev, struct drm_file *file)xa_init_flags (&xef->exec_queue.xa,XA_FLAGS_ALLOC1 );
drivers/gpu/drm/xe/xe_device.c static int xe_file_open(struct drm_device *dev, struct drm_file *file) · line 85
Quoted 10 lines
drivers/gpu/drm/xe/xe_device.c +7
-1file->driver_priv = xef; -return 0 ; + + ret =xa_alloc (&xe->clients.xa, &xef->client_id, xef, xa_limit_32b,GFP_KERNEL ); + +if (!ret) +xe_eudebug_file_open (xef); +else +kfree (xef);
Don't we also need to cleanup the drm_client that was allocated earlier in the function?
Quoted 6 lines
drivers/gpu/drm/xe/xe_device.c +2
-0+ +return ret; } static void device_kill_persistent_exec_queues(struct xe_device *xe,
drivers/gpu/drm/xe/xe_device.c static void xe_file_close(struct drm_device *dev, struct drm_file *file) · line 105
Quoted 8 lines
drivers/gpu/drm/xe/xe_device.c +5
-0@@ -88,6 +98,12 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)struct xe_exec_queue *q;unsigned long idx; +xe_eudebug_file_close (xef); + +mutex_lock (&xe->clients.lock); +xa_erase (&xe->clients.xa, xef->client_id); +mutex_unlock (&xe->clients.lock);
Is the mutex locking here necessary? I thought XArrays took care of the necessary locking internally with xa_lock()?
Matt
Quoted 1,413 lines
drivers/gpu/drm/xe/xe_device.c +5
-0+mutex_lock (&xef->exec_queue.lock);xa_for_each (&xef->exec_queue.xa, idx, q) {xe_exec_queue_kill (q);@@ -129,6 +145,7 @@ static const struct drm_ioctl_desc xe_ioctls[] = {DRM_IOCTL_DEF_DRV (XE_WAIT_USER_FENCE , xe_wait_user_fence_ioctl,DRM_RENDER_ALLOW ),DRM_IOCTL_DEF_DRV (XE_VM_MADVISE , xe_vm_madvise_ioctl,DRM_RENDER_ALLOW ), + DRM_IOCTL_DEF_DRV(XE_EUDEBUG_CONNECT, xe_eudebug_connect_ioctl, DRM_RENDER_ALLOW), }; static const struct file_operations xe_driver_fops = {@@ -195,6 +212,7 @@ static void xe_device_destroy(struct drm_device *dev, void *dummy)destroy_workqueue (xe->unordered_wq);ttm_device_fini (&xe->ttm); +xe_eudebug_fini (xe); } struct xe_device *xe_device_create(struct pci_dev *pdev,@@ -242,6 +260,8 @@ struct xe_device *xe_device_create(struct pci_dev *pdev,INIT_LIST_HEAD (&xe->pinned.external_vram);INIT_LIST_HEAD (&xe->pinned.evicted); +xe_eudebug_init (xe); + xe->ordered_wq =alloc_ordered_workqueue ("xe-ordered-wq" ,0 ); xe->unordered_wq =alloc_workqueue ("xe-unordered-wq" ,0 ,0 );if (!xe->ordered_wq || !xe->unordered_wq) {drivers/gpu/drm/xe/xe_device_types.h +25
-0@@ -408,6 +408,28 @@ struct xe_device {/** @needs_flr_on_fini: requests function-reset on fini */ bool needs_flr_on_fini; +/** @debugger connection list and globals for device */ +struct { +/** @lock: protects the list of connections */ +spinlock_t lock; +/** @list: list of connections, aka debuggers */ +struct list_head list; + +/** @session_count: session counter to track connections */ +u64 session_count; + +/** @available: is the debugging functionality available */ +bool available; + } eudebug; + +/** @clients xe_file tracking for eudebug discovery */ +struct { +/** @lock: protects the xa */ +struct mutex lock; +/** @xa: xarray of xe_files currently open */ +struct xarray xa; + } clients; +/* private: */ #if IS_ENABLED (CONFIG_DRM_XE_DISPLAY )@@ -511,6 +533,9 @@ struct xe_file {/** @client: drm client */ struct xe_drm_client *client; + +/** @client_id: id in clients.xa for eudebug discovery */ + int client_id; };#endif drivers/gpu/drm/xe/xe_eudebug.c new file +1010
-0@@ -0,0 +1,1010 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2023 Intel Corporation +*/ + +#include <linux/uaccess.h> + +#include "xe_eudebug.h" + +#include <linux/anon_inodes.h> +#include <linux/poll.h> +#include <linux/delay.h> + +#include <drm/drm_managed.h> +#include <uapi/drm/xe_drm_tmp.h> + +#include "xe_device.h" +#include "xe_eudebug_types.h" + +/* +* If there is no event being read in this time (for example gdb stuck) +* connection is forcibly disconnected. This releases the client as it was +* waiting to get space for event in fifo. +*/ +#define XE_EUDEBUG_NO_READ_DETECTED_TIMEOUT_MS (10 * 1000) + +#define for_each_debugger_rcu (debugger, head) \ + list_for_each_entry_rcu((debugger), (head), connection_link) + +#define from_event (T , event) container_of((event), typeof(*(T)), base) +#define to_event (e) (&(e)->base) + +#define XE_EUDEBUG_DBG_STR "eudbg: (%d/%d:%lld:%d/%d): " +#define XE_EUDEBUG_DBG_ARGS (d) current->pid, \ + task_tgid_nr(current), \ + (d)->session, \ + (d)->target_task->pid, \ + task_tgid_nr((d)->target_task) + +#define eu_err (d, fmt, ...) drm_err(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \ + XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__) +#define eu_warn (d, fmt, ...) drm_warn(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \ + XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__) +#define eu_dbg (d, fmt, ...) drm_dbg(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \ + XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__) + +#define struct_member (T , member) (((T *)0)->member) + +#define write_member (T_out, ptr, member, value) { \ + BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \ + BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \ + offsetof(typeof(T_out), member)); \ + BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \ + BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \ + BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \ +/* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \ + (ptr)->member = (value); \ + } + +static struct xe_eudebug_event * +event_fifo_pending (struct xe_eudebug *d) +{ +struct xe_eudebug_event *event; + +if (kfifo_peek (&d->events.fifo, &event)) +return event; + +return NULL ; +} + +/* +* This is racy as we dont take the lock for read but all the +* callsites can handle the race so we can live without lock. +*/ +__no_kcsan +static unsigned int +event_fifo_num_events_peek (const struct xe_eudebug *const d) +{ +return kfifo_len (&d->events.fifo); +} + +static const struct rhashtable_params rhash_res = { + .head_offset = offsetof(struct xe_eudebug_handle , rh_head), + .key_len = sizeof_field(struct xe_eudebug_handle, key), + .key_offset = offsetof(struct xe_eudebug_handle , key), + .automatic_shrinking = true, +}; + +static struct xe_eudebug_resource * +resource_from_type (struct xe_eudebug_resources *const res,const int t) +{ +XE_WARN_ON (t <0 ); +XE_WARN_ON (t >=XE_EUDEBUG_RES_TYPE_COUNT ); + +return &res->rt[t]; +} + +static struct xe_eudebug_resources * +xe_eudebug_resources_alloc (void ) +{ +struct xe_eudebug_resources *res; +int err; +int i; + + res =kzalloc (sizeof (*res),GFP_KERNEL ); +if (!res) +return ERR_PTR (-ENOMEM ); + +mutex_init (&res->lock); + +for (i =0 ; i <XE_EUDEBUG_RES_TYPE_COUNT ; i++) { +xa_init_flags (&res->rt[i].xa,XA_FLAGS_ALLOC1 ); + err =rhashtable_init (&res->rt[i].rh, &rhash_res); + +if (err) { +while (i--) { +xa_destroy (&res->rt[i].xa); +rhashtable_destroy (&res->rt[i].rh); + } + + goto out; + } + } + +out: +if (err) { +kfree (res); +return ERR_PTR (err); + } + +return res; +} + +static void res_free_fn (void *ptr,void *arg) +{ +XE_WARN_ON (ptr); +kfree (ptr); +} + +static void +xe_eudebug_resources_free (struct xe_eudebug *d) +{ +struct xe_eudebug_resources *res = d->res; +struct xe_eudebug_handle *h; +unsigned long i, j; +int err; + +mutex_lock (&res->lock); +for (i =0 ; i <XE_EUDEBUG_RES_TYPE_COUNT ; i++) { +struct xe_eudebug_resource *r = &res->rt[i]; + +xa_for_each (&r->xa, j, h) { +struct xe_eudebug_handle *t; + + err =rhashtable_remove_fast (&r->rh, + &h->rh_head, + rhash_res); +XE_WARN_ON (err); + t =xa_erase (&r->xa, h->id); +XE_WARN_ON (t != h); +kfree (t); + } + } +mutex_unlock (&res->lock); + +for (i =0 ; i <XE_EUDEBUG_RES_TYPE_COUNT ; i++) { +struct xe_eudebug_resource *r = &res->rt[i]; + +rhashtable_free_and_destroy (&r->rh, res_free_fn,NULL ); +XE_WARN_ON (!xa_empty (&r->xa)); +xa_destroy (&r->xa); + } + +mutex_destroy (&res->lock); + +kfree (res); +} + +static void xe_eudebug_free (struct kref *ref) +{ +struct xe_eudebug *d =container_of (ref,typeof (*d), ref); +struct xe_eudebug_event *event; + +while (kfifo_get (&d->events.fifo, &event)) +kfree (event); + +xe_eudebug_resources_free (d); +put_task_struct (d->target_task); +mutex_destroy (&d->lock); + +XE_WARN_ON (kfifo_len (&d->events.fifo)); + +kfree_rcu (d, rcu); +} + +static void xe_eudebug_put (struct xe_eudebug *d) +{ +kref_put (&d->ref, xe_eudebug_free); +} + +static bool +xe_eudebug_detached (const struct xe_eudebug *const d) +{ +/* Can only be set so we accept the race */ +return data_race (READ_ONCE (d->closed)); +} + +static void xe_eudebug_detach (struct xe_eudebug *d) +{ +struct xe_device *xe = d->xe; + +XE_WARN_ON (!xe_eudebug_detached (d)); + +spin_lock (&xe->eudebug.lock); +list_del_rcu (&d->connection_link); +eu_dbg (d,"session %lld detached" , d->session); +spin_unlock (&xe->eudebug.lock); +} + +static void xe_eudebug_disconnect (struct xe_eudebug *d, +const int err) +{ +bool detached = false; + +mutex_lock (&d->lock); +if (!d->closed) { + d->closed = true; + detached = true; + d->last_error = err; + } +mutex_unlock (&d->lock); + +if (detached) { +xe_eudebug_detach (d); +eu_dbg (d,"disconnected: %d (%d)" , d->last_error, err); + } + +wake_up_all (&d->events.write_done); + +if (detached) +xe_eudebug_put (d); +} + +static int xe_eudebug_release (struct inode *inode,struct file *file) +{ +struct xe_eudebug *d = file->private_data; + +xe_eudebug_disconnect (d,0 ); +xe_eudebug_put (d); + +return 0 ; +} + +static __poll_t xe_eudebug_poll (struct file *file,poll_table *wait) +{ +struct xe_eudebug *const d = file->private_data; +__poll_t ret =0 ; + +poll_wait (file, &d->events.write_done, wait); + +if (xe_eudebug_detached (d)) { + ret |=EPOLLHUP ; +if (d->last_error) + ret |=EPOLLERR ; + } + +if (event_fifo_num_events_peek (d)) + ret |=EPOLLIN ; + +return ret; +} + +static ssize_t xe_eudebug_read (struct file *file, +char __user *buf, +size_t count, +loff_t *ppos) +{ +return -EINVAL ; +} + +static struct xe_eudebug * +xe_eudebug_for_task_get (struct xe_device *xe, +struct task_struct *task) +{ +struct xe_eudebug *d, *iter; + + d =NULL ; + +rcu_read_lock (); +for_each_debugger_rcu (iter, &xe->eudebug.list) { +if (!same_thread_group (iter->target_task, task)) +continue ; + +if (kref_get_unless_zero (&iter->ref)) + d = iter; + +break ; + } +rcu_read_unlock (); + +return d; +} + +static struct task_struct *find_task_get (struct xe_file *xef) +{ +struct task_struct *task; +struct pid *pid; + +rcu_read_lock (); + pid =rcu_dereference (xef->drm->pid); + task =pid_task (pid,PIDTYPE_PID ); +if (task) +get_task_struct (task); +rcu_read_unlock (); + +return task; +} + +static struct xe_eudebug * +xe_eudebug_get (struct xe_file *xef) +{ +struct task_struct *task; +struct xe_eudebug *d; + + task =find_task_get (xef); +if (task) { + d =xe_eudebug_for_task_get (to_xe_device (xef->drm->minor->dev), + task); +put_task_struct (task); + }else { + d =NULL ; + } + +if (d &&xe_eudebug_detached (d)) { +xe_eudebug_put (d); + d =NULL ; + } + +return d; +} + +static int queue_event (struct xe_eudebug *const d, +struct xe_eudebug_event **event) +{ +if (*event ==NULL ) +return -EINVAL ; + +/* We just drop quietly on disconnected */ +if (xe_eudebug_detached (d)) { +wake_up_all (&d->events.write_done); +kfree (*event); + *event =NULL ; +return 0 ; + } + +if (kfifo_in_spinlocked (&d->events.fifo, event,1 , &d->events.lock)) { +wake_up_all (&d->events.write_done); + *event =NULL ; +return 0 ; + } + +return -ENOSPC ; +} + +static int _xe_eudebug_queue_event (struct xe_eudebug *d, +struct xe_eudebug_event *event, +gfp_t gfp) +{ +u64 start_t; +int ret; + +XE_WARN_ON (event->len <=sizeof (struct xe_eudebug_event )); +XE_WARN_ON (!event->type); +XE_WARN_ON (event->type ==DRM_XE_EUDEBUG_EVENT_READ ); + + ret =queue_event (d, &event); +if (!ret) +return 0 ; + + start_t =ktime_get (); + +while (ret == -ENOSPC ) { +struct xe_eudebug_event *blocking; + + ret =queue_event (d, &event); +if (ret != -ENOSPC ) +break ; + + blocking =event_fifo_pending (d); + +msleep (1 +1 *event_fifo_num_events_peek (d)); + +/* restart timeout if we see progress on fifo */ +if (blocking && blocking !=event_fifo_pending (d)) + start_t =ktime_get (); + +if (ktime_ms_delta (ktime_get (), start_t) >= +XE_EUDEBUG_NO_READ_DETECTED_TIMEOUT_MS ) + ret = -ETIMEDOUT ; + } + +if (ret) { +eu_warn (d,"event %llu queue failed (blocked %lld ms), disconnecting with %d" , + event ? event->seqno :0 , +ktime_ms_delta (ktime_get (), start_t), + ret); +xe_eudebug_disconnect (d, ret); + } + +kfree (event); + +return ret; +} + +static int xe_eudebug_queue_event (struct xe_eudebug *d, +struct xe_eudebug_event *event) +{ +return _xe_eudebug_queue_event (d, event,GFP_KERNEL ); +} + +static struct xe_eudebug_handle * +alloc_handle (const int type,const void *const key) +{ +struct xe_eudebug_handle *h; + + h =kzalloc (sizeof (*h),GFP_KERNEL ); +if (!h) +return NULL ; + + h->key = (u64 )key; + +return h; +} + +static struct xe_eudebug_handle * +__find_handle (struct xe_eudebug_resource *r, +void *key) +{ +struct xe_eudebug_handle *h; + + h =rhashtable_lookup_fast (&r->rh, + &key, + rhash_res); +if (h) { +XE_WARN_ON (!h->id); +XE_WARN_ON ((int )h->id <0 ); +XE_WARN_ON (h !=xa_load (&r->xa, h->id)); + } + +return h; +} + +static int find_handle (struct xe_eudebug_resources *res, +const int type, +void *key) +{ +struct xe_eudebug_resource *r; +struct xe_eudebug_handle *h; +int id; + + r =resource_from_type (res, type); + +mutex_lock (&res->lock); + h =__find_handle (r, key); + id = h ? h->id : -ENOENT ; +mutex_unlock (&res->lock); + +return id; +} + +static int xe_eudebug_add_handle (struct xe_eudebug *d, +int type, +void *p) +{ +struct xe_eudebug_resource *r; +struct xe_eudebug_handle *h; +int err; + +if (xe_eudebug_detached (d)) +return -ENOTCONN ; + + h =alloc_handle (type, p); +if (!h) +return -ENOMEM ; + + r =resource_from_type (d->res, type); + +mutex_lock (&d->res->lock); +if (!__find_handle (r, p)) { + err =xa_alloc (&r->xa, &h->id, h, xa_limit_31b,GFP_KERNEL ); + +if (h->id >=INT_MAX ) { +xa_erase (&r->xa, h->id); + err = -ENOSPC ; + } + +if (!err) + err =rhashtable_insert_fast (&r->rh, + &h->rh_head, + rhash_res); + +if (err) +xa_erase (&r->xa, h->id); + }else { + err = -EEXIST ; + } +mutex_unlock (&d->res->lock); + +if (err) { +kfree (h); +XE_WARN_ON (err >0 ); +return err; + } + +XE_WARN_ON (h->id ==0 ); + +return h->id; +} + +static long xe_eudebug_remove_handle (struct xe_eudebug *d,int type,void *p) +{ +struct xe_eudebug_resource *r; +struct xe_eudebug_handle *h, *xa_h; +long ret; + +if (xe_eudebug_detached (d)) +return -ENOTCONN ; + + r =resource_from_type (d->res, type); + +mutex_lock (&d->res->lock); + h =__find_handle (r, p); +if (h) { + ret =rhashtable_remove_fast (&r->rh, + &h->rh_head, + rhash_res); + xa_h =xa_erase (&r->xa, h->id); +XE_WARN_ON (ret); +XE_WARN_ON (xa_h != h); +if (!ret) + ret = h->id; + }else { + ret = -ENOENT ; + } +mutex_unlock (&d->res->lock); + +kfree (h); + +XE_WARN_ON (!ret); + +return ret; +} + +static struct xe_eudebug_event * +xe_eudebug_create_event (struct xe_eudebug *d, +u16 type,u16 flags,u32 len,gfp_t gfp) +{ +struct xe_eudebug_event *event; + +XE_WARN_ON (len <=sizeof (*event)); + + event =kzalloc (len, gfp); +if (!event) +return NULL ; + + event->type = type; + event->flags = flags; + event->len = len; + event->seqno =atomic_long_inc_return (&d->events.seqno); + +return event; +} + +static long xe_eudebug_read_event (struct xe_eudebug *d, +const u64 arg, +const bool wait) +{ +struct drm_xe_eudebug_event __user *const user_orig = +u64_to_user_ptr (arg); +struct drm_xe_eudebug_event user_event; +struct xe_eudebug_event *event; +long ret; + +if (copy_from_user (&user_event, user_orig,sizeof (user_event))) +return -EFAULT ; + +if (!user_event.type) +return -EINVAL ; + +if (user_event.type >DRM_XE_EUDEBUG_EVENT_MAX_EVENT ) +return -EINVAL ; + +if (user_event.type !=DRM_XE_EUDEBUG_EVENT_READ ) +return -EINVAL ; + +if (user_event.len <sizeof (*user_orig)) +return -EINVAL ; + +if (user_event.flags) +return -EINVAL ; + +if (user_event.reserved) +return -EINVAL ; + +if (wait) + ret =wait_event_interruptible_timeout (d->events.write_done, +event_fifo_num_events_peek (d), +msecs_to_jiffies (10 *10000 )); +else + ret =0 ; + +if (ret <0 ) +return ret; + +spin_lock (&d->events.lock); + event =event_fifo_pending (d); +if (event) { +if (user_event.len < event->len) { + ret = -EMSGSIZE ; + }else if (!kfifo_get (&d->events.fifo, &event)) { +eu_warn (d,"internal fifo corruption" ); + ret = -ENOTCONN ; + }else { + ret =0 ; + } + }else { + ret = -ENOENT ; + } +spin_unlock (&d->events.lock); + +if (ret) +return ret; + +if (copy_to_user (user_orig, event, event->len)) + ret = -EFAULT ; + +kfree (event); + +return ret; +} + +static long xe_eudebug_ioctl (struct file *file, +unsigned int cmd, +unsigned long arg) +{ +struct xe_eudebug *const d = file->private_data; +long ret; + +switch (cmd) { +case DRM_XE_EUDEBUG_IOCTL_READ_EVENT : + ret =xe_eudebug_read_event (d, arg, + !(file->f_flags &O_NONBLOCK )); +eu_dbg (d,"ioctl cmd=READ_EVENT ret=%ld\n" , ret); +break ; + +default : + ret = -EINVAL ; + } + +return ret; +} + +static const struct file_operations fops = { + .owner =THIS_MODULE , + .llseek = no_llseek, + .release = xe_eudebug_release, + .poll = xe_eudebug_poll, + .read = xe_eudebug_read, + .unlocked_ioctl = xe_eudebug_ioctl, +}; + +static struct task_struct *find_get_target (const pid_t nr) +{ +struct task_struct *task; + +rcu_read_lock (); + task =pid_task (find_pid_ns (nr,task_active_pid_ns (current)),PIDTYPE_PID ); +if (task) +get_task_struct (task); +rcu_read_unlock (); + +return task; +} + + +static int +xe_eudebug_connect (struct xe_device *xe, +struct drm_xe_eudebug_connect *param) +{ +const u64 known_open_flags =0 ; +struct xe_eudebug *d, *t =NULL ; +unsigned long f_flags =0 ; +int fd; +int err; + +if (param->extensions) +return -EINVAL ; + +if (!param->pid) +return -EINVAL ; + +if (param->flags & ~known_open_flags) +return -EINVAL ; + +if (param->version && param->version !=DRM_XE_EUDEBUG_VERSION ) +return -EINVAL ; + + param->version =DRM_XE_EUDEBUG_VERSION ; + +if (!xe->eudebug.available) +return -EOPNOTSUPP ; + + d =kzalloc (sizeof (*d),GFP_KERNEL ); +if (!d) +return -ENOMEM ; + +kref_init (&d->ref); +mutex_init (&d->lock); +init_waitqueue_head (&d->events.write_done); + +spin_lock_init (&d->events.lock); +INIT_KFIFO (d->events.fifo); + + d->res =xe_eudebug_resources_alloc (); +if (IS_ERR (d->res)) { + err =PTR_ERR (d->res); + goto err_free; + } + + d->target_task =find_get_target (param->pid); +if (!d->target_task) { + err = -ENOENT ; + goto err_free_res; + } + +/* XXX: Proper access tracking with ptrace_may_access */ +if (!capable (CAP_SYS_ADMIN )) { + err = -EACCES ; + goto err_put_task; + } + + t =xe_eudebug_for_task_get (xe, d->target_task); +if (t) { + err = -EBUSY ; + goto err_put_task; + } + + d->xe = xe; + + fd =anon_inode_getfd ("[xe_eudebug]" , &fops, d, f_flags); +if (fd <0 ) { + err = fd; + goto err_put_task; + } + +spin_lock (&xe->eudebug.lock); +/* XXX handle the overflow without bailing out */ +if (xe->eudebug.session_count +1 ==0 ) { +spin_unlock (&xe->eudebug.lock); +drm_err (&xe->drm,"debugger connections exhausted. (you need module reload)\n" ); + err = -EBUSY ; + goto err_put_task; + } + + d->session = ++xe->eudebug.session_count; +kref_get (&d->ref); +list_add_tail_rcu (&d->connection_link, &xe->eudebug.list); +spin_unlock (&xe->eudebug.lock); + +eu_dbg (d,"connected session %lld" , d->session); + +return fd; + +err_put_task: +if (t) +xe_eudebug_put (t); + +put_task_struct (d->target_task); +err_free_res: +xe_eudebug_resources_free (d); +err_free: +kfree (d); + +return err; +} + +int xe_eudebug_connect_ioctl (struct drm_device *dev, +void *data, +struct drm_file *file) +{ +struct xe_device *xe =to_xe_device (dev); +struct drm_xe_eudebug_connect *const param = data; +int ret =0 ; + + ret =xe_eudebug_connect (xe, param); + +return ret; +} + +void xe_eudebug_init (struct xe_device *xe) +{ +int ret; + +spin_lock_init (&xe->eudebug.lock); +INIT_LIST_HEAD (&xe->eudebug.list); +xa_init_flags (&xe->clients.xa,XA_FLAGS_ALLOC1 ); + + ret =drmm_mutex_init (&xe->drm, &xe->clients.lock); +if (ret) +drm_warn (&xe->drm, +"eudebug init failed: %d, debugger unavailable\n" , + ret); + + xe->eudebug.available = ret ==0 ; +} + +void xe_eudebug_fini (struct xe_device *xe) +{ +XE_WARN_ON (!list_empty_careful (&xe->eudebug.list)); +mutex_destroy (&xe->clients.lock); +} + +static int send_open_event (struct xe_eudebug *d,u32 flags,const u64 handle) +{ +struct xe_eudebug_event *event; +struct xe_eudebug_event_open *eo; + +if (!handle) +return -EINVAL ; + +if (XE_WARN_ON ((long )handle >=INT_MAX )) +return -EINVAL ; + + event =xe_eudebug_create_event (d,DRM_XE_EUDEBUG_EVENT_OPEN , + flags,sizeof (*eo),GFP_KERNEL ); +if (!event) +return -ENOMEM ; + + eo =from_event (eo, event); + + write_member(struct drm_xe_eudebug_event_client, eo, + client_handle, handle); + +return xe_eudebug_queue_event (d, event); +} + +static int client_create_event (struct xe_eudebug *d,struct xe_file *xef) +{ +int ret; + + ret =xe_eudebug_add_handle (d,XE_EUDEBUG_RES_TYPE_CLIENT , xef); + +if (ret >0 ) + ret =send_open_event (d,DRM_XE_EUDEBUG_EVENT_CREATE , ret); + +return ret; +} + +static int client_destroy_event (struct xe_eudebug *d,struct xe_file *xef) +{ +int ret; + + ret =xe_eudebug_remove_handle (d,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (ret >0 ) + ret =send_open_event (d,DRM_XE_EUDEBUG_EVENT_DESTROY , ret); + +return ret; +} + +void xe_eudebug_file_open (struct xe_file *xef) +{ +struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =client_create_event (d, xef); +if (err == -EEXIST ) + err =0 ; + +if (err) { +eu_err (d,"error %d on eudebug_file_open, disconnecting" , err); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} + +void xe_eudebug_file_close (struct xe_file *xef) +{ +struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =client_destroy_event (d, xef); +if (err) { +eu_err (d,"error %d on eudebug_file_close, disconnecting" , err); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} + +static int send_vm_event (struct xe_eudebug *d,u32 flags, +const u64 client_handle, +const u64 vm_handle) +{ +struct xe_eudebug_event *event; +struct xe_eudebug_event_vm *e; + + event =xe_eudebug_create_event (d,DRM_XE_EUDEBUG_EVENT_VM , + flags,sizeof (*e),GFP_KERNEL ); +if (!event) +return -ENOMEM ; + + e =from_event (e, event); + + write_member(struct drm_xe_eudebug_event_vm, e, client_handle, client_handle); + write_member(struct drm_xe_eudebug_event_vm, e, vm_handle, vm_handle); + +return xe_eudebug_queue_event (d, event); +} + +static int vm_create_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_vm *vm) +{ +int h_c, h_vm; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =xe_eudebug_add_handle (d,XE_EUDEBUG_RES_TYPE_VM , vm); +if (h_vm <0 ) +return h_vm; + +XE_WARN_ON (!h_c); +XE_WARN_ON (!h_vm); + +return send_vm_event (d,DRM_XE_EUDEBUG_EVENT_CREATE , h_c, h_vm); +} + +static int vm_destroy_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_vm *vm) +{ +int h_c, h_vm; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) { +XE_WARN_ON ("no client found for vm" ); +eu_warn (d,"no client found for vm" ); +return h_c; + } + + h_vm =xe_eudebug_remove_handle (d,XE_EUDEBUG_RES_TYPE_VM , vm); +if (h_vm <0 ) +return h_vm; + +XE_WARN_ON (!h_c); +XE_WARN_ON (!h_vm); + +return send_vm_event (d,DRM_XE_EUDEBUG_EVENT_DESTROY , h_c, h_vm); +} + +void xe_eudebug_vm_create (struct xe_file *xef,struct xe_vm *vm) +{ +struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =vm_create_event (d, xef, vm); +if (err == -EEXIST || err == -ENOTCONN ) + err =0 ; + +if (err) { +eu_err (d,"error %d on eudebug_vm_create, disconnecting" , err); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} + +void xe_eudebug_vm_destroy (struct xe_file *xef,struct xe_vm *vm) +{ +struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =vm_destroy_event (d, xef, vm); +if (err == -ENOTCONN ) + err =0 ; + +if (err) { +eu_err (d,"error %d on eudebug_vm_destroy, disconnecting" , err); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +}drivers/gpu/drm/xe/xe_eudebug.h new file +27
-0@@ -0,0 +1,27 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef _XE_EUDEBUG_H_ + +struct drm_device ; +struct drm_file ; +struct xe_device ; +struct xe_file ; +struct xe_vm ; + +int xe_eudebug_connect_ioctl (struct drm_device *dev, +void *data, +struct drm_file *file); + +void xe_eudebug_init (struct xe_device *xe); +void xe_eudebug_fini (struct xe_device *xe); + +void xe_eudebug_file_open (struct xe_file *xef); +void xe_eudebug_file_close (struct xe_file *xef); + +void xe_eudebug_vm_create (struct xe_file *xef,struct xe_vm *vm); +void xe_eudebug_vm_destroy (struct xe_file *xef,struct xe_vm *vm); + +#endif drivers/gpu/drm/xe/xe_eudebug_types.h new file +166
-0@@ -0,0 +1,166 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef __XE_EUDEBUG_TYPES_H_ + +#include <linux/mutex.h> +#include <linux/kref.h> +#include <linux/kfifo.h> +#include <linux/completion.h> +#include <linux/wait.h> +#include <linux/xarray.h> +#include <linux/rbtree.h> +#include <linux/rhashtable.h> + +#include <uapi/drm/xe_drm.h> + +struct xe_device ; +struct task_struct ; +struct xe_eudebug_event ; + +#define CONFIG_DRM_XE_DEBUGGER_EVENT_QUEUE_SIZE 32 + +/** +* struct xe_eudebug_event - Internal base event struct for eudebug +*/ +struct xe_eudebug_event { +/** @len: length of this event, including payload */ +u32 len; + +/** @type: message type */ +u16 type; + +/** @flags: message flags */ +u16 flags; + +/** @seqno: sequence number for ordering */ +u64 seqno; + +/** @reserved: reserved field MBZ */ +u64 reserved; + +/** @data: payload bytes */ +u8 data[]; +} __packed; + +/** +* struct xe_eudebug_event_open - Internal event for client open/close +*/ +struct xe_eudebug_event_open { +/** @base: base event */ +struct xe_eudebug_event base; + +/** @client_handle: opaque handle for client */ +u64 client_handle; +} __packed; + +/** +* struct xe_eudebug_event_vm - Internal event for vm open/close +*/ +struct xe_eudebug_event_vm { +/** @base: base event */ +struct xe_eudebug_event base; + +/** @client_handle: client containing the vm open/close */ +u64 client_handle; + +/** @vm_handle: vm handle it's open/close */ +u64 vm_handle; +} __packed; + +/** +* struct xe_eudebug_handle - eudebug resource handle +*/ +struct xe_eudebug_handle { +/** @key: key value in rhashtable <key:id> */ +u64 key; + +/** @id: opaque handle id for xarray <id:key> */ +int id; + +/** @rh_head: rhashtable head */ +struct rhash_head rh_head; +}; + +/** +* struct xe_eudebug_resource - Resource map for one resource +*/ +struct xe_eudebug_resource { +/** @xa: xarrays for <id->key> */ +struct xarray xa; + +/** @rh rhashtable for <key->id> */ +struct rhashtable rh; +}; + +#define XE_EUDEBUG_RES_TYPE_CLIENT 0 +#define XE_EUDEBUG_RES_TYPE_VM 1 +#define XE_EUDEBUG_RES_TYPE_COUNT (XE_EUDEBUG_RES_TYPE_VM + 1) + +/** +* struct xe_eudebug_resources - eudebug resources for all types +*/ +struct xe_eudebug_resources { +/** @lock: guards access into rt */ +struct mutex lock; + +/** @rt: resource maps for all types */ +struct xe_eudebug_resource rt[XE_EUDEBUG_RES_TYPE_COUNT ]; +}; + +/** +* struct xe_eudebug - Top level struct for eudebug: the connection +*/ +struct xe_eudebug { +/** @ref: kref counter for this struct */ +struct kref ref; + +/** @rcu: rcu_head for rcu destruction */ +struct rcu_head rcu; + +/** @connection_link: our link into the xe_device:eudebug.list */ +struct list_head connection_link; + +/** @lock: guards access to last_error */ +struct mutex lock; + +/** @last_error: the error that resulted in disconnect */ +int last_error; + +/** @xe: the parent device we are serving */ +struct xe_device *xe; + +/** @closed: if debug connection is closed (one way) */ +bool closed; + +/** @target_task: the task that we are debugging */ +struct task_struct *target_task; + +/** @res: the resource maps we track for target_task */ +struct xe_eudebug_resources *res; + +/** @session: session number for this connection (for logs) */ +u64 session; + +/** @events: kfifo queue of to-be-delivered events */ +struct { +/** @lock: guards access to fifo */ +spinlock_t lock; + +/** @fifo: queue of events pending */ + DECLARE_KFIFO(fifo, + struct xe_eudebug_event *, + CONFIG_DRM_XE_DEBUGGER_EVENT_QUEUE_SIZE); + +/** @write_done: waitqueue for signalling write to fifo */ +wait_queue_head_t write_done; + +/** @event_seqno: seqno counter to stamp events for fifo */ +atomic_long_t seqno; + } events; + +}; + +#endif drivers/gpu/drm/xe/xe_vm.c +6
-1@@ -34,6 +34,7 @@#include "xe_trace.h" #include "generated/xe_wa_oob.h" #include "xe_wa.h" +#include "xe_eudebug.h" #define TEST_VM_ASYNC_OPS_ERROR @@ -2017,6 +2018,8 @@ int xe_vm_create_ioctl(struct drm_device *dev, void *data, args->reserved[0 ] =xe_bo_main_addr (vm->pt_root[0 ]->bo,XE_PAGE_SIZE );#endif +xe_eudebug_vm_create (xef, vm); +return 0 ; }@@ -2043,8 +2046,10 @@ int xe_vm_destroy_ioctl(struct drm_device *dev, void *data,xa_erase (&xef->vm.xa, args->vm_id);mutex_unlock (&xef->vm.lock); -if (!err) +if (!err) { +xe_eudebug_vm_destroy (xef, vm);xe_vm_close_and_put (vm); + }return err; }include/uapi/drm/xe_drm_tmp.h new file +78
-0@@ -0,0 +1,78 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ +#ifndef _UAPI_XE_DRM_TMP_H_ +#define _UAPI_XE_DRM_TMP_H_ + +#include "xe_drm.h" + +#if defined(__cplusplus) +extern "C" { +#endif + +#define DRM_XE_EUDEBUG_CONNECT 0x5f + +#define DRM_IOCTL_XE_EUDEBUG_CONNECT DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_EUDEBUG_CONNECT, struct drm_xe_eudebug_connect) + +/** +* Do a eudebug event read for a debugger connection. +* +* This ioctl is available in debug version 1. +*/ +#define DRM_XE_EUDEBUG_IOCTL_READ_EVENT _IO('j', 0x0) + +/* XXX: Document events to match their internal counterparts when moved to xe_drm.h */ +struct drm_xe_eudebug_event { +__u32 len; + +__u16 type; +#define DRM_XE_EUDEBUG_EVENT_NONE 0 +#define DRM_XE_EUDEBUG_EVENT_READ 1 +#define DRM_XE_EUDEBUG_EVENT_OPEN 2 +#define DRM_XE_EUDEBUG_EVENT_VM 3 +#define DRM_XE_EUDEBUG_EVENT_MAX_EVENT DRM_XE_EUDEBUG_EVENT_VM + +__u16 flags; +#define DRM_XE_EUDEBUG_EVENT_CREATE (1 << 0) +#define DRM_XE_EUDEBUG_EVENT_DESTROY (1 << 1) + +__u64 seqno; +__u64 reserved; +} __attribute__((packed)); + +struct drm_xe_eudebug_event_client { +struct drm_xe_eudebug_event base; + +__u64 client_handle;/* This is unique per debug connection */ +} __attribute__((packed)); + +struct drm_xe_eudebug_event_vm { +struct drm_xe_eudebug_event base; + +__u64 client_handle; +__u64 vm_handle; +} __attribute__((packed)); + +/* +* Debugger ABI (ioctl and events) Version History: +* 0 - No debugger available +* 1 - Initial version +*/ +#define DRM_XE_EUDEBUG_VERSION 1 + +struct drm_xe_eudebug_connect { +/** @extensions: Pointer to the first extension struct, if any */ +__u64 extensions; + +__u64 pid;/* input: Target process ID */ +__u32 flags;/* MBZ */ + +__u32 version;/* output: current ABI (ioctl / events) version */ +}; + +#if defined(__cplusplus) +} +#endif + +#endif /* _UAPI_XE_DRM_TMP_H_ */ Signature · 1 line
2.34.1
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Re: [Intel-xe] [RFC 01/25] drm/xe/eudebug: Introduce eudebug support
Quoted 60 lines · Matt Roper
Quoted 59 lines · Mika Kuoppala
With eudebug event interface, user space debugger process (like gdb) is able to keep track of resources created by another process (debuggee using drm/xe) and act upon these resources.
For example, debugger can find a client vm which contains isa/elf for a particular shader/eu-kernel and then inspect and modify it (for example installing a breakpoint).
Debugger first opens a connection to xe with a drm ioctl specifying target pid to connect. This returns an anon fd handle that can then be used to listen for events with dedicated ioctl.
This patch introduces eudebug connection and event queuing, adding client create/destroy and vm create/destroy events as a baseline. More events for full debugger operation are needed and those will be introduced in follow up patches.
The resource tracking parts are inspired by the work of Maciej Patelczyk on resource handling for i915. Chris Wilson suggested improvement of two ways mapping which makes it easy to use resource map as a definitive bookkeep of what resources are played to debugger in the discovery phase (on follow up patch).
v2: - event printer removed (Maarten)
- trim down kfifo accessors (Maarten)
-xa_allocspurious locking removed (Maarten)Cc Maarten Lankhorst <[email protected]>Cc Lucas De Marchi <[email protected]>Cc Maciej Patelczyk <[email protected]>Cc Dominik Grzegorzek <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>--- drivers/gpu/drm/xe/Makefile | 3 +- drivers/gpu/drm/xe/xe_device.c | 22 +- drivers/gpu/drm/xe/xe_device_types.h | 25 + drivers/gpu/drm/xe/xe_eudebug.c | 1010 +++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 27 + drivers/gpu/drm/xe/xe_eudebug_types.h | 166 ++++ drivers/gpu/drm/xe/xe_vm.c | 7 +- include/uapi/drm/xe_drm_tmp.h | 78 ++ 8 files changed, 1335 insertions(+), 3 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_eudebug.c create mode 100644 drivers/gpu/drm/xe/xe_eudebug.h create mode 100644 drivers/gpu/drm/xe/xe_eudebug_types.h create mode 100644 include/uapi/drm/xe_drm_tmp.hdrivers/gpu/drm/xe/Makefile +2
-1@@ -117,7 +117,8 @@ xe-y += xe_bb.o \ xe_vm_madvise.o \ xe_wait_user_fence.o \ xe_wa.o \ - xe_wopcm.o + xe_wopcm.o \ + xe_eudebug.o
Quoted 16 lines
drivers/gpu/drm/xe/xe_device.c line 17
Quoted 11 lines
drivers/gpu/drm/xe/Makefile +0
-0# graphics hardware monitoring (HWMON) support xe-$(CONFIG_HWMON) += xe_hwmon.odrivers/gpu/drm/xe/xe_device.c +1
-0@@ -14,6 +14,7 @@#include <drm/drm_managed.h> #include <drm/drm_print.h> #include <drm/xe_drm.h> +#include <drm/xe_drm_tmp.h> tmp?? Even if we need a separate header for UAPI accessed through a different file descriptor, we should probably come up with a better / more descriptive name.
Yes, one could argue that the tmp is strong hint. As this is not going to be final place. Either merge into xe_drm.h or rename to xe_drm_eudebug.h
Quoted 14 lines
Quoted 14 lines
drivers/gpu/drm/xe/xe_device.c +1
-0#include "regs/xe_regs.h" #include "xe_bo.h" @@ -39,6 +40,7 @@#include "xe_vm_madvise.h" #include "xe_wait_user_fence.h" #include "xe_hwmon.h" +#include "xe_eudebug.h" #ifdef CONFIG_LOCKDEP struct lockdep_map xe_device_mem_access_lockdep_map = {@@ -74,7 +76,15 @@ static int xe_file_open(struct drm_device *dev, struct drm_file *file)xa_init_flags (&xef->exec_queue.xa,XA_FLAGS_ALLOC1 );
Quoted 13 lines
drivers/gpu/drm/xe/xe_device.c static int xe_file_open(struct drm_device *dev, struct drm_file *file) · line 85
Quoted 9 lines
drivers/gpu/drm/xe/xe_device.c +7
-1file->driver_priv = xef; -return 0 ; + + ret =xa_alloc (&xe->clients.xa, &xef->client_id, xef, xa_limit_32b,GFP_KERNEL ); + +if (!ret) +xe_eudebug_file_open (xef); +else +kfree (xef);Don't we also need to cleanup the
drm_clientthat was allocated earlier in the function?
Oh yes, drm clients have emerged and this patch lags behind.
Quoted 9 lines
Quoted 9 lines
drivers/gpu/drm/xe/xe_device.c +2
-0+ +return ret; } static void device_kill_persistent_exec_queues(struct xe_device *xe,@@ -88,6 +98,12 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)struct xe_exec_queue *q;unsigned long idx;
Quoted 9 lines
drivers/gpu/drm/xe/xe_device.c static void xe_file_close(struct drm_device *dev, struct drm_file *file) · line 105
Quoted 5 lines
drivers/gpu/drm/xe/xe_device.c +5
-0+xe_eudebug_file_close (xef); + +mutex_lock (&xe->clients.lock); +xa_erase (&xe->clients.xa, xef->client_id); +mutex_unlock (&xe->clients.lock);Is the mutex locking here necessary? I thought XArrays took care of the necessary locking internally with
xa_lock()?
As we are not needing the client_id to anywhere, I have changed this to be list. And for the xe_file_open above, we dont need to alloc array and thus dont need to kfree(client) on error.
Thanks!
-Mika
Quoted 1,422 lines
Matt
Quoted 1,413 lines
drivers/gpu/drm/xe/xe_device.c +5
-0+mutex_lock (&xef->exec_queue.lock);xa_for_each (&xef->exec_queue.xa, idx, q) {xe_exec_queue_kill (q);@@ -129,6 +145,7 @@ static const struct drm_ioctl_desc xe_ioctls[] = {DRM_IOCTL_DEF_DRV (XE_WAIT_USER_FENCE , xe_wait_user_fence_ioctl,DRM_RENDER_ALLOW ),DRM_IOCTL_DEF_DRV (XE_VM_MADVISE , xe_vm_madvise_ioctl,DRM_RENDER_ALLOW ), + DRM_IOCTL_DEF_DRV(XE_EUDEBUG_CONNECT, xe_eudebug_connect_ioctl, DRM_RENDER_ALLOW), }; static const struct file_operations xe_driver_fops = {@@ -195,6 +212,7 @@ static void xe_device_destroy(struct drm_device *dev, void *dummy)destroy_workqueue (xe->unordered_wq);ttm_device_fini (&xe->ttm); +xe_eudebug_fini (xe); } struct xe_device *xe_device_create(struct pci_dev *pdev,@@ -242,6 +260,8 @@ struct xe_device *xe_device_create(struct pci_dev *pdev,INIT_LIST_HEAD (&xe->pinned.external_vram);INIT_LIST_HEAD (&xe->pinned.evicted); +xe_eudebug_init (xe); + xe->ordered_wq =alloc_ordered_workqueue ("xe-ordered-wq" ,0 ); xe->unordered_wq =alloc_workqueue ("xe-unordered-wq" ,0 ,0 );if (!xe->ordered_wq || !xe->unordered_wq) {drivers/gpu/drm/xe/xe_device_types.h +25
-0@@ -408,6 +408,28 @@ struct xe_device {/** @needs_flr_on_fini: requests function-reset on fini */ bool needs_flr_on_fini; +/** @debugger connection list and globals for device */ +struct { +/** @lock: protects the list of connections */ +spinlock_t lock; +/** @list: list of connections, aka debuggers */ +struct list_head list; + +/** @session_count: session counter to track connections */ +u64 session_count; + +/** @available: is the debugging functionality available */ +bool available; + } eudebug; + +/** @clients xe_file tracking for eudebug discovery */ +struct { +/** @lock: protects the xa */ +struct mutex lock; +/** @xa: xarray of xe_files currently open */ +struct xarray xa; + } clients; +/* private: */ #if IS_ENABLED (CONFIG_DRM_XE_DISPLAY )@@ -511,6 +533,9 @@ struct xe_file {/** @client: drm client */ struct xe_drm_client *client; + +/** @client_id: id in clients.xa for eudebug discovery */ + int client_id; };#endif drivers/gpu/drm/xe/xe_eudebug.c new file +1010
-0@@ -0,0 +1,1010 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2023 Intel Corporation +*/ + +#include <linux/uaccess.h> + +#include "xe_eudebug.h" + +#include <linux/anon_inodes.h> +#include <linux/poll.h> +#include <linux/delay.h> + +#include <drm/drm_managed.h> +#include <uapi/drm/xe_drm_tmp.h> + +#include "xe_device.h" +#include "xe_eudebug_types.h" + +/* +* If there is no event being read in this time (for example gdb stuck) +* connection is forcibly disconnected. This releases the client as it was +* waiting to get space for event in fifo. +*/ +#define XE_EUDEBUG_NO_READ_DETECTED_TIMEOUT_MS (10 * 1000) + +#define for_each_debugger_rcu (debugger, head) \ + list_for_each_entry_rcu((debugger), (head), connection_link) + +#define from_event (T , event) container_of((event), typeof(*(T)), base) +#define to_event (e) (&(e)->base) + +#define XE_EUDEBUG_DBG_STR "eudbg: (%d/%d:%lld:%d/%d): " +#define XE_EUDEBUG_DBG_ARGS (d) current->pid, \ + task_tgid_nr(current), \ + (d)->session, \ + (d)->target_task->pid, \ + task_tgid_nr((d)->target_task) + +#define eu_err (d, fmt, ...) drm_err(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \ + XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__) +#define eu_warn (d, fmt, ...) drm_warn(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \ + XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__) +#define eu_dbg (d, fmt, ...) drm_dbg(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \ + XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__) + +#define struct_member (T , member) (((T *)0)->member) + +#define write_member (T_out, ptr, member, value) { \ + BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \ + BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \ + offsetof(typeof(T_out), member)); \ + BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \ + BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \ + BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \ +/* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \ + (ptr)->member = (value); \ + } + +static struct xe_eudebug_event * +event_fifo_pending (struct xe_eudebug *d) +{ +struct xe_eudebug_event *event; + +if (kfifo_peek (&d->events.fifo, &event)) +return event; + +return NULL ; +} + +/* +* This is racy as we dont take the lock for read but all the +* callsites can handle the race so we can live without lock. +*/ +__no_kcsan +static unsigned int +event_fifo_num_events_peek (const struct xe_eudebug *const d) +{ +return kfifo_len (&d->events.fifo); +} + +static const struct rhashtable_params rhash_res = { + .head_offset = offsetof(struct xe_eudebug_handle , rh_head), + .key_len = sizeof_field(struct xe_eudebug_handle, key), + .key_offset = offsetof(struct xe_eudebug_handle , key), + .automatic_shrinking = true, +}; + +static struct xe_eudebug_resource * +resource_from_type (struct xe_eudebug_resources *const res,const int t) +{ +XE_WARN_ON (t <0 ); +XE_WARN_ON (t >=XE_EUDEBUG_RES_TYPE_COUNT ); + +return &res->rt[t]; +} + +static struct xe_eudebug_resources * +xe_eudebug_resources_alloc (void ) +{ +struct xe_eudebug_resources *res; +int err; +int i; + + res =kzalloc (sizeof (*res),GFP_KERNEL ); +if (!res) +return ERR_PTR (-ENOMEM ); + +mutex_init (&res->lock); + +for (i =0 ; i <XE_EUDEBUG_RES_TYPE_COUNT ; i++) { +xa_init_flags (&res->rt[i].xa,XA_FLAGS_ALLOC1 ); + err =rhashtable_init (&res->rt[i].rh, &rhash_res); + +if (err) { +while (i--) { +xa_destroy (&res->rt[i].xa); +rhashtable_destroy (&res->rt[i].rh); + } + + goto out; + } + } + +out: +if (err) { +kfree (res); +return ERR_PTR (err); + } + +return res; +} + +static void res_free_fn (void *ptr,void *arg) +{ +XE_WARN_ON (ptr); +kfree (ptr); +} + +static void +xe_eudebug_resources_free (struct xe_eudebug *d) +{ +struct xe_eudebug_resources *res = d->res; +struct xe_eudebug_handle *h; +unsigned long i, j; +int err; + +mutex_lock (&res->lock); +for (i =0 ; i <XE_EUDEBUG_RES_TYPE_COUNT ; i++) { +struct xe_eudebug_resource *r = &res->rt[i]; + +xa_for_each (&r->xa, j, h) { +struct xe_eudebug_handle *t; + + err =rhashtable_remove_fast (&r->rh, + &h->rh_head, + rhash_res); +XE_WARN_ON (err); + t =xa_erase (&r->xa, h->id); +XE_WARN_ON (t != h); +kfree (t); + } + } +mutex_unlock (&res->lock); + +for (i =0 ; i <XE_EUDEBUG_RES_TYPE_COUNT ; i++) { +struct xe_eudebug_resource *r = &res->rt[i]; + +rhashtable_free_and_destroy (&r->rh, res_free_fn,NULL ); +XE_WARN_ON (!xa_empty (&r->xa)); +xa_destroy (&r->xa); + } + +mutex_destroy (&res->lock); + +kfree (res); +} + +static void xe_eudebug_free (struct kref *ref) +{ +struct xe_eudebug *d =container_of (ref,typeof (*d), ref); +struct xe_eudebug_event *event; + +while (kfifo_get (&d->events.fifo, &event)) +kfree (event); + +xe_eudebug_resources_free (d); +put_task_struct (d->target_task); +mutex_destroy (&d->lock); + +XE_WARN_ON (kfifo_len (&d->events.fifo)); + +kfree_rcu (d, rcu); +} + +static void xe_eudebug_put (struct xe_eudebug *d) +{ +kref_put (&d->ref, xe_eudebug_free); +} + +static bool +xe_eudebug_detached (const struct xe_eudebug *const d) +{ +/* Can only be set so we accept the race */ +return data_race (READ_ONCE (d->closed)); +} + +static void xe_eudebug_detach (struct xe_eudebug *d) +{ +struct xe_device *xe = d->xe; + +XE_WARN_ON (!xe_eudebug_detached (d)); + +spin_lock (&xe->eudebug.lock); +list_del_rcu (&d->connection_link); +eu_dbg (d,"session %lld detached" , d->session); +spin_unlock (&xe->eudebug.lock); +} + +static void xe_eudebug_disconnect (struct xe_eudebug *d, +const int err) +{ +bool detached = false; + +mutex_lock (&d->lock); +if (!d->closed) { + d->closed = true; + detached = true; + d->last_error = err; + } +mutex_unlock (&d->lock); + +if (detached) { +xe_eudebug_detach (d); +eu_dbg (d,"disconnected: %d (%d)" , d->last_error, err); + } + +wake_up_all (&d->events.write_done); + +if (detached) +xe_eudebug_put (d); +} + +static int xe_eudebug_release (struct inode *inode,struct file *file) +{ +struct xe_eudebug *d = file->private_data; + +xe_eudebug_disconnect (d,0 ); +xe_eudebug_put (d); + +return 0 ; +} + +static __poll_t xe_eudebug_poll (struct file *file,poll_table *wait) +{ +struct xe_eudebug *const d = file->private_data; +__poll_t ret =0 ; + +poll_wait (file, &d->events.write_done, wait); + +if (xe_eudebug_detached (d)) { + ret |=EPOLLHUP ; +if (d->last_error) + ret |=EPOLLERR ; + } + +if (event_fifo_num_events_peek (d)) + ret |=EPOLLIN ; + +return ret; +} + +static ssize_t xe_eudebug_read (struct file *file, +char __user *buf, +size_t count, +loff_t *ppos) +{ +return -EINVAL ; +} + +static struct xe_eudebug * +xe_eudebug_for_task_get (struct xe_device *xe, +struct task_struct *task) +{ +struct xe_eudebug *d, *iter; + + d =NULL ; + +rcu_read_lock (); +for_each_debugger_rcu (iter, &xe->eudebug.list) { +if (!same_thread_group (iter->target_task, task)) +continue ; + +if (kref_get_unless_zero (&iter->ref)) + d = iter; + +break ; + } +rcu_read_unlock (); + +return d; +} + +static struct task_struct *find_task_get (struct xe_file *xef) +{ +struct task_struct *task; +struct pid *pid; + +rcu_read_lock (); + pid =rcu_dereference (xef->drm->pid); + task =pid_task (pid,PIDTYPE_PID ); +if (task) +get_task_struct (task); +rcu_read_unlock (); + +return task; +} + +static struct xe_eudebug * +xe_eudebug_get (struct xe_file *xef) +{ +struct task_struct *task; +struct xe_eudebug *d; + + task =find_task_get (xef); +if (task) { + d =xe_eudebug_for_task_get (to_xe_device (xef->drm->minor->dev), + task); +put_task_struct (task); + }else { + d =NULL ; + } + +if (d &&xe_eudebug_detached (d)) { +xe_eudebug_put (d); + d =NULL ; + } + +return d; +} + +static int queue_event (struct xe_eudebug *const d, +struct xe_eudebug_event **event) +{ +if (*event ==NULL ) +return -EINVAL ; + +/* We just drop quietly on disconnected */ +if (xe_eudebug_detached (d)) { +wake_up_all (&d->events.write_done); +kfree (*event); + *event =NULL ; +return 0 ; + } + +if (kfifo_in_spinlocked (&d->events.fifo, event,1 , &d->events.lock)) { +wake_up_all (&d->events.write_done); + *event =NULL ; +return 0 ; + } + +return -ENOSPC ; +} + +static int _xe_eudebug_queue_event (struct xe_eudebug *d, +struct xe_eudebug_event *event, +gfp_t gfp) +{ +u64 start_t; +int ret; + +XE_WARN_ON (event->len <=sizeof (struct xe_eudebug_event )); +XE_WARN_ON (!event->type); +XE_WARN_ON (event->type ==DRM_XE_EUDEBUG_EVENT_READ ); + + ret =queue_event (d, &event); +if (!ret) +return 0 ; + + start_t =ktime_get (); + +while (ret == -ENOSPC ) { +struct xe_eudebug_event *blocking; + + ret =queue_event (d, &event); +if (ret != -ENOSPC ) +break ; + + blocking =event_fifo_pending (d); + +msleep (1 +1 *event_fifo_num_events_peek (d)); + +/* restart timeout if we see progress on fifo */ +if (blocking && blocking !=event_fifo_pending (d)) + start_t =ktime_get (); + +if (ktime_ms_delta (ktime_get (), start_t) >= +XE_EUDEBUG_NO_READ_DETECTED_TIMEOUT_MS ) + ret = -ETIMEDOUT ; + } + +if (ret) { +eu_warn (d,"event %llu queue failed (blocked %lld ms), disconnecting with %d" , + event ? event->seqno :0 , +ktime_ms_delta (ktime_get (), start_t), + ret); +xe_eudebug_disconnect (d, ret); + } + +kfree (event); + +return ret; +} + +static int xe_eudebug_queue_event (struct xe_eudebug *d, +struct xe_eudebug_event *event) +{ +return _xe_eudebug_queue_event (d, event,GFP_KERNEL ); +} + +static struct xe_eudebug_handle * +alloc_handle (const int type,const void *const key) +{ +struct xe_eudebug_handle *h; + + h =kzalloc (sizeof (*h),GFP_KERNEL ); +if (!h) +return NULL ; + + h->key = (u64 )key; + +return h; +} + +static struct xe_eudebug_handle * +__find_handle (struct xe_eudebug_resource *r, +void *key) +{ +struct xe_eudebug_handle *h; + + h =rhashtable_lookup_fast (&r->rh, + &key, + rhash_res); +if (h) { +XE_WARN_ON (!h->id); +XE_WARN_ON ((int )h->id <0 ); +XE_WARN_ON (h !=xa_load (&r->xa, h->id)); + } + +return h; +} + +static int find_handle (struct xe_eudebug_resources *res, +const int type, +void *key) +{ +struct xe_eudebug_resource *r; +struct xe_eudebug_handle *h; +int id; + + r =resource_from_type (res, type); + +mutex_lock (&res->lock); + h =__find_handle (r, key); + id = h ? h->id : -ENOENT ; +mutex_unlock (&res->lock); + +return id; +} + +static int xe_eudebug_add_handle (struct xe_eudebug *d, +int type, +void *p) +{ +struct xe_eudebug_resource *r; +struct xe_eudebug_handle *h; +int err; + +if (xe_eudebug_detached (d)) +return -ENOTCONN ; + + h =alloc_handle (type, p); +if (!h) +return -ENOMEM ; + + r =resource_from_type (d->res, type); + +mutex_lock (&d->res->lock); +if (!__find_handle (r, p)) { + err =xa_alloc (&r->xa, &h->id, h, xa_limit_31b,GFP_KERNEL ); + +if (h->id >=INT_MAX ) { +xa_erase (&r->xa, h->id); + err = -ENOSPC ; + } + +if (!err) + err =rhashtable_insert_fast (&r->rh, + &h->rh_head, + rhash_res); + +if (err) +xa_erase (&r->xa, h->id); + }else { + err = -EEXIST ; + } +mutex_unlock (&d->res->lock); + +if (err) { +kfree (h); +XE_WARN_ON (err >0 ); +return err; + } + +XE_WARN_ON (h->id ==0 ); + +return h->id; +} + +static long xe_eudebug_remove_handle (struct xe_eudebug *d,int type,void *p) +{ +struct xe_eudebug_resource *r; +struct xe_eudebug_handle *h, *xa_h; +long ret; + +if (xe_eudebug_detached (d)) +return -ENOTCONN ; + + r =resource_from_type (d->res, type); + +mutex_lock (&d->res->lock); + h =__find_handle (r, p); +if (h) { + ret =rhashtable_remove_fast (&r->rh, + &h->rh_head, + rhash_res); + xa_h =xa_erase (&r->xa, h->id); +XE_WARN_ON (ret); +XE_WARN_ON (xa_h != h); +if (!ret) + ret = h->id; + }else { + ret = -ENOENT ; + } +mutex_unlock (&d->res->lock); + +kfree (h); + +XE_WARN_ON (!ret); + +return ret; +} + +static struct xe_eudebug_event * +xe_eudebug_create_event (struct xe_eudebug *d, +u16 type,u16 flags,u32 len,gfp_t gfp) +{ +struct xe_eudebug_event *event; + +XE_WARN_ON (len <=sizeof (*event)); + + event =kzalloc (len, gfp); +if (!event) +return NULL ; + + event->type = type; + event->flags = flags; + event->len = len; + event->seqno =atomic_long_inc_return (&d->events.seqno); + +return event; +} + +static long xe_eudebug_read_event (struct xe_eudebug *d, +const u64 arg, +const bool wait) +{ +struct drm_xe_eudebug_event __user *const user_orig = +u64_to_user_ptr (arg); +struct drm_xe_eudebug_event user_event; +struct xe_eudebug_event *event; +long ret; + +if (copy_from_user (&user_event, user_orig,sizeof (user_event))) +return -EFAULT ; + +if (!user_event.type) +return -EINVAL ; + +if (user_event.type >DRM_XE_EUDEBUG_EVENT_MAX_EVENT ) +return -EINVAL ; + +if (user_event.type !=DRM_XE_EUDEBUG_EVENT_READ ) +return -EINVAL ; + +if (user_event.len <sizeof (*user_orig)) +return -EINVAL ; + +if (user_event.flags) +return -EINVAL ; + +if (user_event.reserved) +return -EINVAL ; + +if (wait) + ret =wait_event_interruptible_timeout (d->events.write_done, +event_fifo_num_events_peek (d), +msecs_to_jiffies (10 *10000 )); +else + ret =0 ; + +if (ret <0 ) +return ret; + +spin_lock (&d->events.lock); + event =event_fifo_pending (d); +if (event) { +if (user_event.len < event->len) { + ret = -EMSGSIZE ; + }else if (!kfifo_get (&d->events.fifo, &event)) { +eu_warn (d,"internal fifo corruption" ); + ret = -ENOTCONN ; + }else { + ret =0 ; + } + }else { + ret = -ENOENT ; + } +spin_unlock (&d->events.lock); + +if (ret) +return ret; + +if (copy_to_user (user_orig, event, event->len)) + ret = -EFAULT ; + +kfree (event); + +return ret; +} + +static long xe_eudebug_ioctl (struct file *file, +unsigned int cmd, +unsigned long arg) +{ +struct xe_eudebug *const d = file->private_data; +long ret; + +switch (cmd) { +case DRM_XE_EUDEBUG_IOCTL_READ_EVENT : + ret =xe_eudebug_read_event (d, arg, + !(file->f_flags &O_NONBLOCK )); +eu_dbg (d,"ioctl cmd=READ_EVENT ret=%ld\n" , ret); +break ; + +default : + ret = -EINVAL ; + } + +return ret; +} + +static const struct file_operations fops = { + .owner =THIS_MODULE , + .llseek = no_llseek, + .release = xe_eudebug_release, + .poll = xe_eudebug_poll, + .read = xe_eudebug_read, + .unlocked_ioctl = xe_eudebug_ioctl, +}; + +static struct task_struct *find_get_target (const pid_t nr) +{ +struct task_struct *task; + +rcu_read_lock (); + task =pid_task (find_pid_ns (nr,task_active_pid_ns (current)),PIDTYPE_PID ); +if (task) +get_task_struct (task); +rcu_read_unlock (); + +return task; +} + + +static int +xe_eudebug_connect (struct xe_device *xe, +struct drm_xe_eudebug_connect *param) +{ +const u64 known_open_flags =0 ; +struct xe_eudebug *d, *t =NULL ; +unsigned long f_flags =0 ; +int fd; +int err; + +if (param->extensions) +return -EINVAL ; + +if (!param->pid) +return -EINVAL ; + +if (param->flags & ~known_open_flags) +return -EINVAL ; + +if (param->version && param->version !=DRM_XE_EUDEBUG_VERSION ) +return -EINVAL ; + + param->version =DRM_XE_EUDEBUG_VERSION ; + +if (!xe->eudebug.available) +return -EOPNOTSUPP ; + + d =kzalloc (sizeof (*d),GFP_KERNEL ); +if (!d) +return -ENOMEM ; + +kref_init (&d->ref); +mutex_init (&d->lock); +init_waitqueue_head (&d->events.write_done); + +spin_lock_init (&d->events.lock); +INIT_KFIFO (d->events.fifo); + + d->res =xe_eudebug_resources_alloc (); +if (IS_ERR (d->res)) { + err =PTR_ERR (d->res); + goto err_free; + } + + d->target_task =find_get_target (param->pid); +if (!d->target_task) { + err = -ENOENT ; + goto err_free_res; + } + +/* XXX: Proper access tracking with ptrace_may_access */ +if (!capable (CAP_SYS_ADMIN )) { + err = -EACCES ; + goto err_put_task; + } + + t =xe_eudebug_for_task_get (xe, d->target_task); +if (t) { + err = -EBUSY ; + goto err_put_task; + } + + d->xe = xe; + + fd =anon_inode_getfd ("[xe_eudebug]" , &fops, d, f_flags); +if (fd <0 ) { + err = fd; + goto err_put_task; + } + +spin_lock (&xe->eudebug.lock); +/* XXX handle the overflow without bailing out */ +if (xe->eudebug.session_count +1 ==0 ) { +spin_unlock (&xe->eudebug.lock); +drm_err (&xe->drm,"debugger connections exhausted. (you need module reload)\n" ); + err = -EBUSY ; + goto err_put_task; + } + + d->session = ++xe->eudebug.session_count; +kref_get (&d->ref); +list_add_tail_rcu (&d->connection_link, &xe->eudebug.list); +spin_unlock (&xe->eudebug.lock); + +eu_dbg (d,"connected session %lld" , d->session); + +return fd; + +err_put_task: +if (t) +xe_eudebug_put (t); + +put_task_struct (d->target_task); +err_free_res: +xe_eudebug_resources_free (d); +err_free: +kfree (d); + +return err; +} + +int xe_eudebug_connect_ioctl (struct drm_device *dev, +void *data, +struct drm_file *file) +{ +struct xe_device *xe =to_xe_device (dev); +struct drm_xe_eudebug_connect *const param = data; +int ret =0 ; + + ret =xe_eudebug_connect (xe, param); + +return ret; +} + +void xe_eudebug_init (struct xe_device *xe) +{ +int ret; + +spin_lock_init (&xe->eudebug.lock); +INIT_LIST_HEAD (&xe->eudebug.list); +xa_init_flags (&xe->clients.xa,XA_FLAGS_ALLOC1 ); + + ret =drmm_mutex_init (&xe->drm, &xe->clients.lock); +if (ret) +drm_warn (&xe->drm, +"eudebug init failed: %d, debugger unavailable\n" , + ret); + + xe->eudebug.available = ret ==0 ; +} + +void xe_eudebug_fini (struct xe_device *xe) +{ +XE_WARN_ON (!list_empty_careful (&xe->eudebug.list)); +mutex_destroy (&xe->clients.lock); +} + +static int send_open_event (struct xe_eudebug *d,u32 flags,const u64 handle) +{ +struct xe_eudebug_event *event; +struct xe_eudebug_event_open *eo; + +if (!handle) +return -EINVAL ; + +if (XE_WARN_ON ((long )handle >=INT_MAX )) +return -EINVAL ; + + event =xe_eudebug_create_event (d,DRM_XE_EUDEBUG_EVENT_OPEN , + flags,sizeof (*eo),GFP_KERNEL ); +if (!event) +return -ENOMEM ; + + eo =from_event (eo, event); + + write_member(struct drm_xe_eudebug_event_client, eo, + client_handle, handle); + +return xe_eudebug_queue_event (d, event); +} + +static int client_create_event (struct xe_eudebug *d,struct xe_file *xef) +{ +int ret; + + ret =xe_eudebug_add_handle (d,XE_EUDEBUG_RES_TYPE_CLIENT , xef); + +if (ret >0 ) + ret =send_open_event (d,DRM_XE_EUDEBUG_EVENT_CREATE , ret); + +return ret; +} + +static int client_destroy_event (struct xe_eudebug *d,struct xe_file *xef) +{ +int ret; + + ret =xe_eudebug_remove_handle (d,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (ret >0 ) + ret =send_open_event (d,DRM_XE_EUDEBUG_EVENT_DESTROY , ret); + +return ret; +} + +void xe_eudebug_file_open (struct xe_file *xef) +{ +struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =client_create_event (d, xef); +if (err == -EEXIST ) + err =0 ; + +if (err) { +eu_err (d,"error %d on eudebug_file_open, disconnecting" , err); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} + +void xe_eudebug_file_close (struct xe_file *xef) +{ +struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =client_destroy_event (d, xef); +if (err) { +eu_err (d,"error %d on eudebug_file_close, disconnecting" , err); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} + +static int send_vm_event (struct xe_eudebug *d,u32 flags, +const u64 client_handle, +const u64 vm_handle) +{ +struct xe_eudebug_event *event; +struct xe_eudebug_event_vm *e; + + event =xe_eudebug_create_event (d,DRM_XE_EUDEBUG_EVENT_VM , + flags,sizeof (*e),GFP_KERNEL ); +if (!event) +return -ENOMEM ; + + e =from_event (e, event); + + write_member(struct drm_xe_eudebug_event_vm, e, client_handle, client_handle); + write_member(struct drm_xe_eudebug_event_vm, e, vm_handle, vm_handle); + +return xe_eudebug_queue_event (d, event); +} + +static int vm_create_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_vm *vm) +{ +int h_c, h_vm; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =xe_eudebug_add_handle (d,XE_EUDEBUG_RES_TYPE_VM , vm); +if (h_vm <0 ) +return h_vm; + +XE_WARN_ON (!h_c); +XE_WARN_ON (!h_vm); + +return send_vm_event (d,DRM_XE_EUDEBUG_EVENT_CREATE , h_c, h_vm); +} + +static int vm_destroy_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_vm *vm) +{ +int h_c, h_vm; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) { +XE_WARN_ON ("no client found for vm" ); +eu_warn (d,"no client found for vm" ); +return h_c; + } + + h_vm =xe_eudebug_remove_handle (d,XE_EUDEBUG_RES_TYPE_VM , vm); +if (h_vm <0 ) +return h_vm; + +XE_WARN_ON (!h_c); +XE_WARN_ON (!h_vm); + +return send_vm_event (d,DRM_XE_EUDEBUG_EVENT_DESTROY , h_c, h_vm); +} + +void xe_eudebug_vm_create (struct xe_file *xef,struct xe_vm *vm) +{ +struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =vm_create_event (d, xef, vm); +if (err == -EEXIST || err == -ENOTCONN ) + err =0 ; + +if (err) { +eu_err (d,"error %d on eudebug_vm_create, disconnecting" , err); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} + +void xe_eudebug_vm_destroy (struct xe_file *xef,struct xe_vm *vm) +{ +struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =vm_destroy_event (d, xef, vm); +if (err == -ENOTCONN ) + err =0 ; + +if (err) { +eu_err (d,"error %d on eudebug_vm_destroy, disconnecting" , err); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +}drivers/gpu/drm/xe/xe_eudebug.h new file +27
-0@@ -0,0 +1,27 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef _XE_EUDEBUG_H_ + +struct drm_device ; +struct drm_file ; +struct xe_device ; +struct xe_file ; +struct xe_vm ; + +int xe_eudebug_connect_ioctl (struct drm_device *dev, +void *data, +struct drm_file *file); + +void xe_eudebug_init (struct xe_device *xe); +void xe_eudebug_fini (struct xe_device *xe); + +void xe_eudebug_file_open (struct xe_file *xef); +void xe_eudebug_file_close (struct xe_file *xef); + +void xe_eudebug_vm_create (struct xe_file *xef,struct xe_vm *vm); +void xe_eudebug_vm_destroy (struct xe_file *xef,struct xe_vm *vm); + +#endif drivers/gpu/drm/xe/xe_eudebug_types.h new file +166
-0@@ -0,0 +1,166 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef __XE_EUDEBUG_TYPES_H_ + +#include <linux/mutex.h> +#include <linux/kref.h> +#include <linux/kfifo.h> +#include <linux/completion.h> +#include <linux/wait.h> +#include <linux/xarray.h> +#include <linux/rbtree.h> +#include <linux/rhashtable.h> + +#include <uapi/drm/xe_drm.h> + +struct xe_device ; +struct task_struct ; +struct xe_eudebug_event ; + +#define CONFIG_DRM_XE_DEBUGGER_EVENT_QUEUE_SIZE 32 + +/** +* struct xe_eudebug_event - Internal base event struct for eudebug +*/ +struct xe_eudebug_event { +/** @len: length of this event, including payload */ +u32 len; + +/** @type: message type */ +u16 type; + +/** @flags: message flags */ +u16 flags; + +/** @seqno: sequence number for ordering */ +u64 seqno; + +/** @reserved: reserved field MBZ */ +u64 reserved; + +/** @data: payload bytes */ +u8 data[]; +} __packed; + +/** +* struct xe_eudebug_event_open - Internal event for client open/close +*/ +struct xe_eudebug_event_open { +/** @base: base event */ +struct xe_eudebug_event base; + +/** @client_handle: opaque handle for client */ +u64 client_handle; +} __packed; + +/** +* struct xe_eudebug_event_vm - Internal event for vm open/close +*/ +struct xe_eudebug_event_vm { +/** @base: base event */ +struct xe_eudebug_event base; + +/** @client_handle: client containing the vm open/close */ +u64 client_handle; + +/** @vm_handle: vm handle it's open/close */ +u64 vm_handle; +} __packed; + +/** +* struct xe_eudebug_handle - eudebug resource handle +*/ +struct xe_eudebug_handle { +/** @key: key value in rhashtable <key:id> */ +u64 key; + +/** @id: opaque handle id for xarray <id:key> */ +int id; + +/** @rh_head: rhashtable head */ +struct rhash_head rh_head; +}; + +/** +* struct xe_eudebug_resource - Resource map for one resource +*/ +struct xe_eudebug_resource { +/** @xa: xarrays for <id->key> */ +struct xarray xa; + +/** @rh rhashtable for <key->id> */ +struct rhashtable rh; +}; + +#define XE_EUDEBUG_RES_TYPE_CLIENT 0 +#define XE_EUDEBUG_RES_TYPE_VM 1 +#define XE_EUDEBUG_RES_TYPE_COUNT (XE_EUDEBUG_RES_TYPE_VM + 1) + +/** +* struct xe_eudebug_resources - eudebug resources for all types +*/ +struct xe_eudebug_resources { +/** @lock: guards access into rt */ +struct mutex lock; + +/** @rt: resource maps for all types */ +struct xe_eudebug_resource rt[XE_EUDEBUG_RES_TYPE_COUNT ]; +}; + +/** +* struct xe_eudebug - Top level struct for eudebug: the connection +*/ +struct xe_eudebug { +/** @ref: kref counter for this struct */ +struct kref ref; + +/** @rcu: rcu_head for rcu destruction */ +struct rcu_head rcu; + +/** @connection_link: our link into the xe_device:eudebug.list */ +struct list_head connection_link; + +/** @lock: guards access to last_error */ +struct mutex lock; + +/** @last_error: the error that resulted in disconnect */ +int last_error; + +/** @xe: the parent device we are serving */ +struct xe_device *xe; + +/** @closed: if debug connection is closed (one way) */ +bool closed; + +/** @target_task: the task that we are debugging */ +struct task_struct *target_task; + +/** @res: the resource maps we track for target_task */ +struct xe_eudebug_resources *res; + +/** @session: session number for this connection (for logs) */ +u64 session; + +/** @events: kfifo queue of to-be-delivered events */ +struct { +/** @lock: guards access to fifo */ +spinlock_t lock; + +/** @fifo: queue of events pending */ + DECLARE_KFIFO(fifo, + struct xe_eudebug_event *, + CONFIG_DRM_XE_DEBUGGER_EVENT_QUEUE_SIZE); + +/** @write_done: waitqueue for signalling write to fifo */ +wait_queue_head_t write_done; + +/** @event_seqno: seqno counter to stamp events for fifo */ +atomic_long_t seqno; + } events; + +}; + +#endif drivers/gpu/drm/xe/xe_vm.c +6
-1@@ -34,6 +34,7 @@#include "xe_trace.h" #include "generated/xe_wa_oob.h" #include "xe_wa.h" +#include "xe_eudebug.h" #define TEST_VM_ASYNC_OPS_ERROR @@ -2017,6 +2018,8 @@ int xe_vm_create_ioctl(struct drm_device *dev, void *data, args->reserved[0 ] =xe_bo_main_addr (vm->pt_root[0 ]->bo,XE_PAGE_SIZE );#endif +xe_eudebug_vm_create (xef, vm); +return 0 ; }@@ -2043,8 +2046,10 @@ int xe_vm_destroy_ioctl(struct drm_device *dev, void *data,xa_erase (&xef->vm.xa, args->vm_id);mutex_unlock (&xef->vm.lock); -if (!err) +if (!err) { +xe_eudebug_vm_destroy (xef, vm);xe_vm_close_and_put (vm); + }return err; }include/uapi/drm/xe_drm_tmp.h new file +78
-0@@ -0,0 +1,78 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ +#ifndef _UAPI_XE_DRM_TMP_H_ +#define _UAPI_XE_DRM_TMP_H_ + +#include "xe_drm.h" + +#if defined(__cplusplus) +extern "C" { +#endif + +#define DRM_XE_EUDEBUG_CONNECT 0x5f + +#define DRM_IOCTL_XE_EUDEBUG_CONNECT DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_EUDEBUG_CONNECT, struct drm_xe_eudebug_connect) + +/** +* Do a eudebug event read for a debugger connection. +* +* This ioctl is available in debug version 1. +*/ +#define DRM_XE_EUDEBUG_IOCTL_READ_EVENT _IO('j', 0x0) + +/* XXX: Document events to match their internal counterparts when moved to xe_drm.h */ +struct drm_xe_eudebug_event { +__u32 len; + +__u16 type; +#define DRM_XE_EUDEBUG_EVENT_NONE 0 +#define DRM_XE_EUDEBUG_EVENT_READ 1 +#define DRM_XE_EUDEBUG_EVENT_OPEN 2 +#define DRM_XE_EUDEBUG_EVENT_VM 3 +#define DRM_XE_EUDEBUG_EVENT_MAX_EVENT DRM_XE_EUDEBUG_EVENT_VM + +__u16 flags; +#define DRM_XE_EUDEBUG_EVENT_CREATE (1 << 0) +#define DRM_XE_EUDEBUG_EVENT_DESTROY (1 << 1) + +__u64 seqno; +__u64 reserved; +} __attribute__((packed)); + +struct drm_xe_eudebug_event_client { +struct drm_xe_eudebug_event base; + +__u64 client_handle;/* This is unique per debug connection */ +} __attribute__((packed)); + +struct drm_xe_eudebug_event_vm { +struct drm_xe_eudebug_event base; + +__u64 client_handle; +__u64 vm_handle; +} __attribute__((packed)); + +/* +* Debugger ABI (ioctl and events) Version History: +* 0 - No debugger available +* 1 - Initial version +*/ +#define DRM_XE_EUDEBUG_VERSION 1 + +struct drm_xe_eudebug_connect { +/** @extensions: Pointer to the first extension struct, if any */ +__u64 extensions; + +__u64 pid;/* input: Target process ID */ +__u32 flags;/* MBZ */ + +__u32 version;/* output: current ABI (ioctl / events) version */ +}; + +#if defined(__cplusplus) +} +#endif + +#endif /* _UAPI_XE_DRM_TMP_H_ */ Signature · 1 line
2.34.1Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Re: [Intel-xe] [RFC 01/25] drm/xe/eudebug: Introduce eudebug support
In reply to Mika KuoppalaHi Mika,
On Mon, Nov 06, 2023 at 01:18:21PM +0200, Mika Kuoppala wrote:
...
Quoted 5 lines
Cc Maarten Lankhorst <[email protected]>Cc Lucas De Marchi <[email protected]>Cc Maciej Patelczyk <[email protected]>Cc Dominik Grzegorzek <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>
please loop me in.
...
drivers/gpu/drm/xe/xe_device.c static int xe_file_open(struct drm_device *dev, struct drm_file *file) · line 85
Quoted 12 lines
drivers/gpu/drm/xe/xe_device.c +7
-1@@ -74,7 +76,15 @@ static int xe_file_open(struct drm_device *dev, struct drm_file *file)xa_init_flags (&xef->exec_queue.xa,XA_FLAGS_ALLOC1 ); file->driver_priv = xef; -return 0 ; + + ret =xa_alloc (&xe->clients.xa, &xef->client_id, xef, xa_limit_32b,GFP_KERNEL ); + +if (!ret) +xe_eudebug_file_open (xef); +else +kfree (xef);
why do we need to fail here? Just disable the debugger. Just set eudebug->available = false.
Quoted 6 lines
drivers/gpu/drm/xe/xe_device.c +2
-0+ +return ret; } static void device_kill_persistent_exec_queues(struct xe_device *xe,
drivers/gpu/drm/xe/xe_device.c static void xe_file_close(struct drm_device *dev, struct drm_file *file) · line 105
Quoted 8 lines
drivers/gpu/drm/xe/xe_device.c +5
-0@@ -88,6 +98,12 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)struct xe_exec_queue *q;unsigned long idx; +xe_eudebug_file_close (xef); + +mutex_lock (&xe->clients.lock); +xa_erase (&xe->clients.xa, xef->client_id); +mutex_unlock (&xe->clients.lock);
xa_erase does loc already, do we need the mutexes?
Quoted 3 lines
drivers/gpu/drm/xe/xe_device.c +0
-0mutex_lock (&xef->exec_queue.lock);xa_for_each (&xef->exec_queue.xa, idx, q) {xe_exec_queue_kill (q);
...
drivers/gpu/drm/xe/xe_device_types.h struct xe_device { · line 430
Quoted 5 lines
drivers/gpu/drm/xe/xe_device_types.h +5
-0+struct { +/** @lock: protects the xa */ +struct mutex lock; +/** @xa: xarray of xe_files currently open */ +struct xarray xa;
most of the operations on xa are already protected, do we really need the lock?
Quoted 2 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-0+ } clients; +
...
Quoted 5 lines
+/*
+ * If there is no event being read in this time (for example gdb stuck)
+ * connection is forcibly disconnected. This releases the client as it was
+ * waiting to get space for event in fifo.
+ */
This comment is misleading... which time? Do you mean for a "certain amount of time"?
drivers/gpu/drm/xe/xe_eudebug.c line 30
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +6
-0+#define XE_EUDEBUG_NO_READ_DETECTED_TIMEOUT_MS (10 * 1000) + +#define for_each_debugger_rcu (debugger, head) \ + list_for_each_entry_rcu((debugger), (head), connection_link) + +#define from_event (T , event) container_of((event), typeof(*(T)), base)
from event to what? I would call this cast_event()
Quoted 1 line
+#define
to_event(e)(&(e)->base)
...
drivers/gpu/drm/xe/xe_eudebug.c line 56
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +8
-0+#define write_member (T_out, ptr, member, value) { \ + BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \ + BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \ + offsetof(typeof(T_out), member)); \ + BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \ + BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \ + BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \ +/* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \
some spurious commenting here
/* ... */
Review
Quoted 2 lines
(quoted diff) +2
-0+ (ptr)->member = (value); \ + }
Is this really necessary? This is in the category of "extremely safe" programming, but it's adding quite a lot of complexity for just overwriting an '=' assignment operator
Besides, this piece of define does not belong to this file and if you really really want it, please add a good comment with a convincing explanation that this is needed.
drivers/gpu/drm/xe/xe_eudebug.c line 69
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+static struct xe_eudebug_event * +event_fifo_pending (struct xe_eudebug *d) +{ +struct xe_eudebug_event *event; + +if (kfifo_peek (&d->events.fifo, &event)) +return event; + +return NULL ; +}
I don't see much benefit on this wrapper either. Using directly kfifo_peek() should be enough. Also because you still check the return value of event_fifo_pending, so that you replace 3 lines of code with 3 lines of code.
drivers/gpu/drm/xe/xe_eudebug.c line 80
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+/* +* This is racy as we dont take the lock for read but all the +* callsites can handle the race so we can live without lock. +*/ +__no_kcsan +static unsigned int +event_fifo_num_events_peek (const struct xe_eudebug *const d) +{ +return kfifo_len (&d->events.fifo); +}
Same here.
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +5
-0+static const struct rhashtable_params rhash_res = { + .head_offset = offsetof(struct xe_eudebug_handle , rh_head), + .key_len = sizeof_field(struct xe_eudebug_handle, key), + .key_offset = offsetof(struct xe_eudebug_handle , key), + .automatic_shrinking = true,
drivers/gpu/drm/xe/xe_eudebug.c line 96
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+}; + +static struct xe_eudebug_resource * +resource_from_type (struct xe_eudebug_resources *const res,const int t) +{ +XE_WARN_ON (t <0 ); +XE_WARN_ON (t >=XE_EUDEBUG_RES_TYPE_COUNT ); + +return &res->rt[t]; +}
same here? At this point this wrapper is completely useless.
Quoted 15 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +15
-0+static struct xe_eudebug_resources * +xe_eudebug_resources_alloc (void ) +{ +struct xe_eudebug_resources *res; +int err; +int i; + + res =kzalloc (sizeof (*res),GFP_KERNEL ); +if (!res) +return ERR_PTR (-ENOMEM ); + +mutex_init (&res->lock); + +for (i =0 ; i <XE_EUDEBUG_RES_TYPE_COUNT ; i++) { +xa_init_flags (&res->rt[i].xa,XA_FLAGS_ALLOC1 );
drivers/gpu/drm/xe/xe_eudebug.c line 122
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+ err =rhashtable_init (&res->rt[i].rh, &rhash_res); + +if (err) { +while (i--) { +xa_destroy (&res->rt[i].xa); +rhashtable_destroy (&res->rt[i].rh); + } + + goto out; + }
this can be
if (err) goto out;
and the while destroy can be in the exit path.
drivers/gpu/drm/xe/xe_eudebug.c line 131
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +9
-0+ } + +out: +if (err) { +kfree (res); +return ERR_PTR (err); + } + +return res;
this exit path is a bit complex I think you meant:
for (i = 0... ) {
int err;
xa_init_flags()
err = rhashtable_init(...)
if (err)
goto out;
}
return res;
out
while (i--) {
xa_destroy(...);
rhashtable_destroy(...);
}
kfree(res);
return ERR_PTR(err);Otherwise there is not even need for the goto at all, just break :-)
drivers/gpu/drm/xe/xe_eudebug.c line 136
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +5
-0+} + +static void res_free_fn (void *ptr,void *arg) +{ +XE_WARN_ON (ptr);
no need for the WARN_ON here.
drivers/gpu/drm/xe/xe_eudebug.c line 141
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +5
-0+kfree (ptr); +} + +static void +xe_eudebug_resources_free (struct xe_eudebug *d)
xe_eudebug_destroy_resources() ?
Quoted 3 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +3
-0+{ +struct xe_eudebug_resources *res = d->res; +struct xe_eudebug_handle *h;
...
Quoted 1 line
+static void
xe_eudebug_free(struct kref *ref)
xe_eudebug_destroy() ?
free sounds more like "free memory", but here we are actually destroying the session.
drivers/gpu/drm/xe/xe_eudebug.c line 191
Quoted 12 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +12
-0+{ +struct xe_eudebug *d =container_of (ref,typeof (*d), ref); +struct xe_eudebug_event *event; + +while (kfifo_get (&d->events.fifo, &event)) +kfree (event); + +xe_eudebug_resources_free (d); +put_task_struct (d->target_task); +mutex_destroy (&d->lock); + +XE_WARN_ON (kfifo_len (&d->events.fifo));
I think this is an overkill.
Quoted 2 lines
(quoted diff) +2
-0+ kfree_rcu(d, rcu); +}
...
Quoted 12 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +12
-0+static void xe_eudebug_disconnect (struct xe_eudebug *d, +const int err) +{ +bool detached = false; + +mutex_lock (&d->lock); +if (!d->closed) { + d->closed = true; + detached = true; + d->last_error = err; + } +mutex_unlock (&d->lock);
drivers/gpu/drm/xe/xe_eudebug.c line 241
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+ +if (detached) { +xe_eudebug_detach (d); +eu_dbg (d,"disconnected: %d (%d)" , d->last_error, err); + } + +wake_up_all (&d->events.write_done); + +if (detached) +xe_eudebug_put (d);
why isn't this inside the previous 'if'?
Quoted 11 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +11
-0+} + +static int xe_eudebug_release (struct inode *inode,struct file *file) +{ +struct xe_eudebug *d = file->private_data; + +xe_eudebug_disconnect (d,0 ); +xe_eudebug_put (d); + +return 0 ; +}
...
drivers/gpu/drm/xe/xe_eudebug.c line 367
Quoted 3 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +3
-0+static int _xe_eudebug_queue_event (struct xe_eudebug *d, +struct xe_eudebug_event *event, +gfp_t gfp)
is there anything different from GFP_KERNEL?
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +9
-0+{ +u64 start_t; +int ret; + +XE_WARN_ON (event->len <=sizeof (struct xe_eudebug_event )); +XE_WARN_ON (!event->type); +XE_WARN_ON (event->type ==DRM_XE_EUDEBUG_EVENT_READ ); + + ret =queue_event (d, &event);
drivers/gpu/drm/xe/xe_eudebug.c line 386
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+if (!ret) +return 0 ; + + start_t =ktime_get (); + +while (ret == -ENOSPC ) { +struct xe_eudebug_event *blocking; + + ret =queue_event (d, &event); +if (ret != -ENOSPC )
if (!ret)?
drivers/gpu/drm/xe/xe_eudebug.c line 391
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +5
-0+break ; + + blocking =event_fifo_pending (d); + +msleep (1 +1 *event_fifo_num_events_peek (d));
fsleep()?
drivers/gpu/drm/xe/xe_eudebug.c line 399
Quoted 7 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +7
-0+/* restart timeout if we see progress on fifo */ +if (blocking && blocking !=event_fifo_pending (d)) + start_t =ktime_get (); + +if (ktime_ms_delta (ktime_get (), start_t) >= +XE_EUDEBUG_NO_READ_DETECTED_TIMEOUT_MS ) + ret = -ETIMEDOUT ;
this should still be -ENOSPC. Even though ENOSPC is more referred to a device, rather than a list.
drivers/gpu/drm/xe/xe_eudebug.c line 407
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +8
-0+ } + +if (ret) { +eu_warn (d,"event %llu queue failed (blocked %lld ms), disconnecting with %d" , + event ? event->seqno :0 , +ktime_ms_delta (ktime_get (), start_t), + ret); +xe_eudebug_disconnect (d, ret);
warn or err? we are disconnecting the debugger after this.
Quoted 13 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +13
-0+ } + +kfree (event); + +return ret; +} + +static int xe_eudebug_queue_event (struct xe_eudebug *d, +struct xe_eudebug_event *event) +{ +return _xe_eudebug_queue_event (d, event,GFP_KERNEL ); +} +
drivers/gpu/drm/xe/xe_eudebug.c line 430
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+static struct xe_eudebug_handle * +alloc_handle (const int type,const void *const key) +{ +struct xe_eudebug_handle *h; + + h =kzalloc (sizeof (*h),GFP_KERNEL ); +if (!h) +return NULL ; + + h->key = (u64 )key;
no, please, don't fool the 'const'. Just don't declare it as const in the parameter list.
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +6
-0+return h; +} + +static struct xe_eudebug_handle * +__find_handle (struct xe_eudebug_resource *r, +void *key)
drivers/gpu/drm/xe/xe_eudebug.c line 447
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+{ +struct xe_eudebug_handle *h; + + h =rhashtable_lookup_fast (&r->rh, + &key, + rhash_res); +if (h) { +XE_WARN_ON (!h->id); +XE_WARN_ON ((int )h->id <0 ); +XE_WARN_ON (h !=xa_load (&r->xa, h->id));
I find all these warnings unnecessary and this function too.
Quoted 4 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +4
-0+ } + +return h; +}
...
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +9
-0+static int xe_eudebug_add_handle (struct xe_eudebug *d, +int type, +void *p) +{ +struct xe_eudebug_resource *r; +struct xe_eudebug_handle *h; +int err; + +if (xe_eudebug_detached (d))
drivers/gpu/drm/xe/xe_eudebug.c line 489
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+return -ENOTCONN ; + + h =alloc_handle (type, p); +if (!h) +return -ENOMEM ; + + r =resource_from_type (d->res, type); + +mutex_lock (&d->res->lock); +if (!__find_handle (r, p)) {
this check should be made at the beginning of the function, just to avoid allocating/de-allocating.
drivers/gpu/drm/xe/xe_eudebug.c line 492
Quoted 3 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +3
-0+ err =xa_alloc (&r->xa, &h->id, h, xa_limit_31b,GFP_KERNEL ); + +if (h->id >=INT_MAX ) {
how can an integer be higher than an integer?
Quoted 13 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +13
-0+xa_erase (&r->xa, h->id); + err = -ENOSPC ; + } + +if (!err) + err =rhashtable_insert_fast (&r->rh, + &h->rh_head, + rhash_res); + +if (err) +xa_erase (&r->xa, h->id); + }else { + err = -EEXIST ;
drivers/gpu/drm/xe/xe_eudebug.c line 515
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+ } +mutex_unlock (&d->res->lock); + +if (err) { +kfree (h); +XE_WARN_ON (err >0 ); +return err; + } + +XE_WARN_ON (h->id ==0 );
unnecessary.
Quoted 2 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +2
-0+return h->id; +}
...
Quoted 27 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +27
-0+static long xe_eudebug_read_event (struct xe_eudebug *d, +const u64 arg, +const bool wait) +{ +struct drm_xe_eudebug_event __user *const user_orig = +u64_to_user_ptr (arg); +struct drm_xe_eudebug_event user_event; +struct xe_eudebug_event *event; +long ret; + +if (copy_from_user (&user_event, user_orig,sizeof (user_event))) +return -EFAULT ; + +if (!user_event.type) +return -EINVAL ; + +if (user_event.type >DRM_XE_EUDEBUG_EVENT_MAX_EVENT ) +return -EINVAL ; + +if (user_event.type !=DRM_XE_EUDEBUG_EVENT_READ ) +return -EINVAL ; + +if (user_event.len <sizeof (*user_orig)) +return -EINVAL ; + +if (user_event.flags) +return -EINVAL ;
drivers/gpu/drm/xe/xe_eudebug.c line 610
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+ +if (user_event.reserved) +return -EINVAL ; + +if (wait) + ret =wait_event_interruptible_timeout (d->events.write_done, +event_fifo_num_events_peek (d), +msecs_to_jiffies (10 *10000 )); +else + ret =0 ;
please initialize it at the declaration.
Quoted 3 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +3
-0+ +if (ret <0 ) +return ret;
...
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +5
-0+void xe_eudebug_init (struct xe_device *xe) +{ +int ret; + +spin_lock_init (&xe->eudebug.lock);
drivers/gpu/drm/xe/xe_eudebug.c line 814
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+INIT_LIST_HEAD (&xe->eudebug.list); +xa_init_flags (&xe->clients.xa,XA_FLAGS_ALLOC1 ); + + ret =drmm_mutex_init (&xe->drm, &xe->clients.lock); +if (ret) +drm_warn (&xe->drm, +"eudebug init failed: %d, debugger unavailable\n" , + ret); + + xe->eudebug.available = ret ==0 ;
available = !!ret;
Quoted 1 line
+}
...
drivers/gpu/drm/xe/xe_eudebug.c line 831
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +9
-0+static int send_open_event (struct xe_eudebug *d,u32 flags,const u64 handle) +{ +struct xe_eudebug_event *event; +struct xe_eudebug_event_open *eo; + +if (!handle) +return -EINVAL ; + +if (XE_WARN_ON ((long )handle >=INT_MAX ))
just don't declare it as const.
Quoted 1 line
(quoted diff) +1
-0+ return -EINVAL;
...
Quoted 4 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +4
-0+void xe_eudebug_file_open (struct xe_file *xef) +{ +struct xe_eudebug *d; +int err;
drivers/gpu/drm/xe/xe_eudebug.c line 883
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+ + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =client_create_event (d, xef); +if (err == -EEXIST ) + err =0 ; + +if (err) {
'if (err && err != -EEXIST)' looks clearer. And it's valid for all coming below.
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +9
-0+eu_err (d,"error %d on eudebug_file_open, disconnecting" , err); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} + +void xe_eudebug_file_close (struct xe_file *xef) +{
drivers/gpu/drm/xe/xe_eudebug.c line 902
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =client_destroy_event (d, xef); +if (err) { +eu_err (d,"error %d on eudebug_file_close, disconnecting" , err);
eu_warn()?
drivers/gpu/drm/xe/xe_eudebug.c line 889
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +5
-0+xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +}
Andi
Re: [Intel-xe] [RFC 01/25] drm/xe/eudebug: Introduce eudebug support
Quoted 11 lines · Andi Shyti
Hi Mika,
On Mon, Nov 06, 2023 at 01:18:21PM +0200, Mika Kuoppala wrote:
...Quoted 5 lines
Cc Maarten Lankhorst <[email protected]>Cc Lucas De Marchi <[email protected]>Cc Maciej Patelczyk <[email protected]>Cc Dominik Grzegorzek <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>please loop me in.
Will do.
Quoted 6 lines
...
Quoted 3 lines
drivers/gpu/drm/xe/xe_device.c +0
-0@@ -74,7 +76,15 @@ static int xe_file_open(struct drm_device *dev, struct drm_file *file)xa_init_flags (&xef->exec_queue.xa,XA_FLAGS_ALLOC1 );
Quoted 13 lines
drivers/gpu/drm/xe/xe_device.c static int xe_file_open(struct drm_device *dev, struct drm_file *file) · line 85
Quoted 9 lines
drivers/gpu/drm/xe/xe_device.c +7
-1file->driver_priv = xef; -return 0 ; + + ret =xa_alloc (&xe->clients.xa, &xef->client_id, xef, xa_limit_32b,GFP_KERNEL ); + +if (!ret) +xe_eudebug_file_open (xef); +else +kfree (xef);why do we need to fail here? Just disable the debugger. Just set
eudebug->available= false.
Changed to lists instead of array so cant fail here anymore.
Quoted 9 lines
Quoted 9 lines
drivers/gpu/drm/xe/xe_device.c +2
-0+ +return ret; } static void device_kill_persistent_exec_queues(struct xe_device *xe,@@ -88,6 +98,12 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)struct xe_exec_queue *q;unsigned long idx;
Quoted 8 lines
drivers/gpu/drm/xe/xe_device.c static void xe_file_close(struct drm_device *dev, struct drm_file *file) · line 105
Quoted 5 lines
drivers/gpu/drm/xe/xe_device.c +5
-0+xe_eudebug_file_close (xef); + +mutex_lock (&xe->clients.lock); +xa_erase (&xe->clients.xa, xef->client_id); +mutex_unlock (&xe->clients.lock);
xa_erasedoes loc already, do we need the mutexes?
Changed to list.
Quoted 6 lines
Quoted 3 lines
drivers/gpu/drm/xe/xe_device.c +0
-0mutex_lock (&xef->exec_queue.lock);xa_for_each (&xef->exec_queue.xa, idx, q) {xe_exec_queue_kill (q);...
Quoted 9 lines
drivers/gpu/drm/xe/xe_device_types.h struct xe_device { · line 430
Quoted 5 lines
drivers/gpu/drm/xe/xe_device_types.h +5
-0+struct { +/** @lock: protects the xa */ +struct mutex lock; +/** @xa: xarray of xe_files currently open */ +struct xarray xa;most of the operations on xa are already protected, do we really need the lock?
We need the lock to block creating new clients while the discovery is running.
Quoted 5 lines
Quoted 2 lines
drivers/gpu/drm/xe/xe_device_types.h +2
-0+ } clients; +...
Quoted 9 lines
Quoted 5 lines
+/*
+ * If there is no event being read in this time (for example gdb stuck)
+ * connection is forcibly disconnected. This releases the client as it was
+ * waiting to get space for event in fifo.
+ */This comment is misleading... which time? Do you mean for a "certain amount of time"?
Yes it tries to point to the define below to be the interval.
'If there is no detected read by userspace, during this period, assume userspace problem and disconnect debugger to allow forward progress. detected in the timeout period'
?
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c line 30
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +6
-0+#define XE_EUDEBUG_NO_READ_DETECTED_TIMEOUT_MS (10 * 1000) + +#define for_each_debugger_rcu (debugger, head) \ + list_for_each_entry_rcu((debugger), (head), connection_link) + +#define from_event (T , event) container_of((event), typeof(*(T)), base)from event to what? I would call this
cast_event()
Sounds like a better name, tried to be symmetrical to 'to_event'. Even then it should be from_base_event, to_base_event.
Quoted 4 lines
Quoted 1 line
+#define
to_event(e)(&(e)->base)...
Quoted 11 lines
drivers/gpu/drm/xe/xe_eudebug.c line 56
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +8
-0+#define write_member (T_out, ptr, member, value) { \ + BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \ + BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \ + offsetof(typeof(T_out), member)); \ + BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \ + BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \ + BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \ +/* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \some spurious commenting here
Yes all our members are max u64 so no memcpy needed. Need to remove.
Quoted 9 lines
/* ... */
Review
Quoted 2 lines
(quoted diff) +2
-0+ (ptr)->member = (value); \ + }Is this really necessary? This is in the category of "extremely safe" programming, but it's adding quite a lot of complexity for just overwriting an '=' assignment operator
This all stems from the fact that we keep uapi events 1:1 with internal (for now and if possible forever). This allows copy_to_user straight from kfifo. To enforce that we dont mess up, enforce the parity with this macro.
Quoted 4 lines
Besides, this piece of define does not belong to this file and if you really really want it, please add a good comment with a convincing explanation that this is needed.
But it is defined right before usage and only this file will use it. What would be better place?
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +7
-0+static struct xe_eudebug_event * +event_fifo_pending (struct xe_eudebug *d) +{ +struct xe_eudebug_event *event; + +if (kfifo_peek (&d->events.fifo, &event)) +return event;
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c line 69
Quoted 3 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +3
-0+ +return NULL ; +}I don't see much benefit on this wrapper either. Using directly
kfifo_peek()should be enough. Also because you still check the return value ofevent_fifo_pending, so that you replace 3 lines of code with 3 lines of code.
Yes, it doesnt by so much in lines. I remember Maarten noted about the same issue, and my excuse back then was that it is documentative (and a little bit simpler) on callsites.
Quoted 22 lines
drivers/gpu/drm/xe/xe_eudebug.c line 80
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+/* +* This is racy as we dont take the lock for read but all the +* callsites can handle the race so we can live without lock. +*/ +__no_kcsan +static unsigned int +event_fifo_num_events_peek (const struct xe_eudebug *const d) +{ +return kfifo_len (&d->events.fifo); +}Same here.
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +9
-0+static const struct rhashtable_params rhash_res = { + .head_offset = offsetof(struct xe_eudebug_handle , rh_head), + .key_len = sizeof_field(struct xe_eudebug_handle, key), + .key_offset = offsetof(struct xe_eudebug_handle , key), + .automatic_shrinking = true, +}; + +static struct xe_eudebug_resource * +resource_from_type (struct xe_eudebug_resources *const res,const int t)
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c line 96
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +6
-0+{ +XE_WARN_ON (t <0 ); +XE_WARN_ON (t >=XE_EUDEBUG_RES_TYPE_COUNT ); + +return &res->rt[t]; +}same here? At this point this wrapper is completely useless.
Looks like it came to birth to assert the boundaries.
Quoted 28 lines
Quoted 15 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +15
-0+static struct xe_eudebug_resources * +xe_eudebug_resources_alloc (void ) +{ +struct xe_eudebug_resources *res; +int err; +int i; + + res =kzalloc (sizeof (*res),GFP_KERNEL ); +if (!res) +return ERR_PTR (-ENOMEM ); + +mutex_init (&res->lock); + +for (i =0 ; i <XE_EUDEBUG_RES_TYPE_COUNT ; i++) { +xa_init_flags (&res->rt[i].xa,XA_FLAGS_ALLOC1 );drivers/gpu/drm/xe/xe_eudebug.c line 122
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+ err =rhashtable_init (&res->rt[i].rh, &rhash_res); + +if (err) { +while (i--) { +xa_destroy (&res->rt[i].xa); +rhashtable_destroy (&res->rt[i].rh); + } + + goto out; + }this can be
Quoted 4 lines
if (err) goto out;and the while destroy can be in the exit path.
I go for that.
Quoted 34 lines
drivers/gpu/drm/xe/xe_eudebug.c line 131
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +9
-0+ } + +out: +if (err) { +kfree (res); +return ERR_PTR (err); + } + +return res;this exit path is a bit complex I think you meant:
for (i = 0... ) { int err; xa_init_flags() err = rhashtable_init(...) if (err) goto out; } return res; out while (i--) { xa_destroy(...); rhashtable_destroy(...); } kfree(res); return ERR_PTR(err);
Quoted 2 lines
Otherwise there is not even need for the goto at all, just break :-)
I will check if this will fit in more nicely.
Quoted 7 lines
drivers/gpu/drm/xe/xe_eudebug.c line 136
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +5
-0+} + +static void res_free_fn (void *ptr,void *arg) +{ +XE_WARN_ON (ptr);no need for the
WARN_ONhere.
kfree will be fine with zero, but the intention is to have safeguard if our upper level cleanup actually managed to get rid of all the resources. Before the rhashtable destroy kicks in.
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c line 141
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +5
-0+kfree (ptr); +} + +static void +xe_eudebug_resources_free (struct xe_eudebug *d)
xe_eudebug_destroy_resources()?
Good one.
Quoted 7 lines
Quoted 4 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +3
-0+{ +struct xe_eudebug_resources *res = d->res; +struct xe_eudebug_handle *h;...
Quoted 6 lines
Quoted 1 line
+static void
xe_eudebug_free(struct kref *ref)
xe_eudebug_destroy()?free sounds more like "free memory", but here we are actually destroying the session
But we do free if last ref..
Quoted 15 lines
drivers/gpu/drm/xe/xe_eudebug.c line 191
Quoted 13 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +12
-0+{ +struct xe_eudebug *d =container_of (ref,typeof (*d), ref); +struct xe_eudebug_event *event; + +while (kfifo_get (&d->events.fifo, &event)) +kfree (event); + +xe_eudebug_resources_free (d); +put_task_struct (d->target_task); +mutex_destroy (&d->lock); + +XE_WARN_ON (kfifo_len (&d->events.fifo));I think this is an overkill.
Why? If something snuck event into the fifo, we will leak. Better leave to kmemleak to find it?
Quoted 22 lines
Quoted 3 lines
(quoted diff) +2
-0+ kfree_rcu(d, rcu); +}...
Quoted 16 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +16
-0+static void xe_eudebug_disconnect (struct xe_eudebug *d, +const int err) +{ +bool detached = false; + +mutex_lock (&d->lock); +if (!d->closed) { + d->closed = true; + detached = true; + d->last_error = err; + } +mutex_unlock (&d->lock); + +if (detached) { +xe_eudebug_detach (d); +eu_dbg (d,"disconnected: %d (%d)" , d->last_error, err);
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c line 241
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +6
-0+ } + +wake_up_all (&d->events.write_done); + +if (detached) +xe_eudebug_put (d);why isn't this inside the previous 'if'?
Yes it should be. I have already restructured attach/detach and will accommodate this if not already.
Quoted 15 lines
Quoted 12 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +11
-0+} + +static int xe_eudebug_release (struct inode *inode,struct file *file) +{ +struct xe_eudebug *d = file->private_data; + +xe_eudebug_disconnect (d,0 ); +xe_eudebug_put (d); + +return 0 ; +}...
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c line 367
Quoted 3 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +3
-0+static int _xe_eudebug_queue_event (struct xe_eudebug *d, +struct xe_eudebug_event *event, +gfp_t gfp)is there anything different from
GFP_KERNEL?
Not yet atleast. Unlikely to ever be so can be omitted.
Quoted 14 lines
Quoted 14 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +13
-0+{ +u64 start_t; +int ret; + +XE_WARN_ON (event->len <=sizeof (struct xe_eudebug_event )); +XE_WARN_ON (!event->type); +XE_WARN_ON (event->type ==DRM_XE_EUDEBUG_EVENT_READ ); + + ret =queue_event (d, &event); +if (!ret) +return 0 ; + + start_t =ktime_get ();
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c line 386
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +6
-0+ +while (ret == -ENOSPC ) { +struct xe_eudebug_event *blocking; + + ret =queue_event (d, &event); +if (ret != -ENOSPC )if (!ret)?
We do want to wait with -ENOSPC.
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c line 391
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +5
-0+break ; + + blocking =event_fifo_pending (d); + +msleep (1 +1 *event_fifo_num_events_peek (d));
fsleep()?
Looks like better fit yes.
Quoted 12 lines
drivers/gpu/drm/xe/xe_eudebug.c line 399
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +7
-0+/* restart timeout if we see progress on fifo */ +if (blocking && blocking !=event_fifo_pending (d)) + start_t =ktime_get (); + +if (ktime_ms_delta (ktime_get (), start_t) >= +XE_EUDEBUG_NO_READ_DETECTED_TIMEOUT_MS ) + ret = -ETIMEDOUT ;this should still be
-ENOSPC. Even though ENOSPC is more referred to a device, rather than a list.
Not propagated to userspace atleast, but for our logging sanity yes.
Quoted 11 lines
drivers/gpu/drm/xe/xe_eudebug.c line 407
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +8
-0+ } + +if (ret) { +eu_warn (d,"event %llu queue failed (blocked %lld ms), disconnecting with %d" , + event ? event->seqno :0 , +ktime_ms_delta (ktime_get (), start_t), + ret); +xe_eudebug_disconnect (d, ret);warn or err? we are disconnecting the debugger after this.
Or even info? As this actually can be provoked by userspace.
Quoted 18 lines
Quoted 18 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +18
-0+ } + +kfree (event); + +return ret; +} + +static int xe_eudebug_queue_event (struct xe_eudebug *d, +struct xe_eudebug_event *event) +{ +return _xe_eudebug_queue_event (d, event,GFP_KERNEL ); +} + +static struct xe_eudebug_handle * +alloc_handle (const int type,const void *const key) +{ +struct xe_eudebug_handle *h; +
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c line 430
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +5
-0+ h =kzalloc (sizeof (*h),GFP_KERNEL ); +if (!h) +return NULL ; + + h->key = (u64 )key;no, please, don't fool the 'const'. Just don't declare it as const in the parameter list.
Yeah thats bad.
Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+return h; +} + +static struct xe_eudebug_handle * +__find_handle (struct xe_eudebug_resource *r, +void *key) +{ +struct xe_eudebug_handle *h; + + h = rhashtable_lookup_fast(&r->rh,
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c line 447
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +6
-0+ &key, + rhash_res); +if (h) { +XE_WARN_ON (!h->id); +XE_WARN_ON ((int )h->id <0 ); +XE_WARN_ON (h !=xa_load (&r->xa, h->id));I find all these warnings unnecessary and this function too.
Lets get rid of it, we can assert on insertion if needed.
Quoted 30 lines
Quoted 4 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +4
-0+ } + +return h; +}...
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +9
-0+static int xe_eudebug_add_handle (struct xe_eudebug *d, +int type, +void *p) +{ +struct xe_eudebug_resource *r; +struct xe_eudebug_handle *h; +int err; + +if (xe_eudebug_detached (d))drivers/gpu/drm/xe/xe_eudebug.c line 489
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+return -ENOTCONN ; + + h =alloc_handle (type, p); +if (!h) +return -ENOMEM ; + + r =resource_from_type (d->res, type); + +mutex_lock (&d->res->lock); +if (!__find_handle (r, p)) {this check should be made at the beginning of the function, just to avoid allocating/de-allocating.
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c line 492
Quoted 3 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +3
-0+ err =xa_alloc (&r->xa, &h->id, h, xa_limit_31b,GFP_KERNEL ); + +if (h->id >=INT_MAX ) {how can an integer be higher than an integer?
our ids are unsigned iirc
Quoted 17 lines
Quoted 17 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +17
-0+xa_erase (&r->xa, h->id); + err = -ENOSPC ; + } + +if (!err) + err =rhashtable_insert_fast (&r->rh, + &h->rh_head, + rhash_res); + +if (err) +xa_erase (&r->xa, h->id); + }else { + err = -EEXIST ; + } +mutex_unlock (&d->res->lock); + +if (err) {
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c line 515
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +6
-0+kfree (h); +XE_WARN_ON (err >0 ); +return err; + } + +XE_WARN_ON (h->id ==0 );unnecessary.
Yes, lets trust that zero is busy by xa_array
Quoted 36 lines
Quoted 2 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +2
-0+return h->id; +}...
Quoted 31 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +31
-0+static long xe_eudebug_read_event (struct xe_eudebug *d, +const u64 arg, +const bool wait) +{ +struct drm_xe_eudebug_event __user *const user_orig = +u64_to_user_ptr (arg); +struct drm_xe_eudebug_event user_event; +struct xe_eudebug_event *event; +long ret; + +if (copy_from_user (&user_event, user_orig,sizeof (user_event))) +return -EFAULT ; + +if (!user_event.type) +return -EINVAL ; + +if (user_event.type >DRM_XE_EUDEBUG_EVENT_MAX_EVENT ) +return -EINVAL ; + +if (user_event.type !=DRM_XE_EUDEBUG_EVENT_READ ) +return -EINVAL ; + +if (user_event.len <sizeof (*user_orig)) +return -EINVAL ; + +if (user_event.flags) +return -EINVAL ; + +if (user_event.reserved) +return -EINVAL ; +
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c line 610
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +6
-0+if (wait) + ret =wait_event_interruptible_timeout (d->events.write_done, +event_fifo_num_events_peek (d), +msecs_to_jiffies (10 *10000 )); +else + ret =0 ;please initialize it at the declaration.
Ok
Quoted 15 lines
Quoted 3 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +3
-0+ +if (ret <0 ) +return ret;...
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +9
-0+void xe_eudebug_init (struct xe_device *xe) +{ +int ret; + +spin_lock_init (&xe->eudebug.lock); +INIT_LIST_HEAD (&xe->eudebug.list); +xa_init_flags (&xe->clients.xa,XA_FLAGS_ALLOC1 ); + + ret =drmm_mutex_init (&xe->drm, &xe->clients.lock);
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c line 814
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +6
-0+if (ret) +drm_warn (&xe->drm, +"eudebug init failed: %d, debugger unavailable\n" , + ret); + + xe->eudebug.available = ret ==0 ;available = !!ret;
Ok
Quoted 51 lines
Quoted 1 line
+}
...
drivers/gpu/drm/xe/xe_eudebug.c line 831
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +9
-0+static int send_open_event (struct xe_eudebug *d,u32 flags,const u64 handle) +{ +struct xe_eudebug_event *event; +struct xe_eudebug_event_open *eo; + +if (!handle) +return -EINVAL ; + +if (XE_WARN_ON ((long )handle >=INT_MAX ))just don't declare it as const.
Quoted 1 line
(quoted diff) +1
-0+ return -EINVAL;...
Quoted 4 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +4
-0+void xe_eudebug_file_open (struct xe_file *xef) +{ +struct xe_eudebug *d; +int err;drivers/gpu/drm/xe/xe_eudebug.c line 883
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +10
-0+ + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =client_create_event (d, xef); +if (err == -EEXIST ) + err =0 ; + +if (err) {'if (err && err !=
-EEXIST)' looks clearer. And it's valid for all coming below.Quoted 13 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +13
-0+eu_err (d,"error %d on eudebug_file_open, disconnecting" , err); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} + +void xe_eudebug_file_close (struct xe_file *xef) +{ +struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef);
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c line 902
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +6
-0+if (!d) +return ; + + err =client_destroy_event (d, xef); +if (err) { +eu_err (d,"error %d on eudebug_file_close, disconnecting" , err);
eu_warn()?
At the moment with enough discovery vs resource creation pressure, we can race the addition and actually hit this.
So this is internal bookkeeping error for now.
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c line 889
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c new file +5
-0+xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +}
Thanks for all the comments!
-Mika
Quoted 2 lines
Andi
RFC 2/25 drm/xe/eudebug: Introduce discovery for resources
In reply to Mika KuoppalaDebugger connection can happen way after the client has created and destroyed arbitrary number of resources.
We need to playback all currently existing resources for the debugger. The client is held until this so called discovery process, executed by workqueue, is complete.
This patch is based on discovery work by Maciej Patelczyk for i915 driver.
--- drivers/gpu/drm/xe/xe_eudebug.c | 109 +++++++++++++++++++++++++- drivers/gpu/drm/xe/xe_eudebug_types.h | 10 +++ 2 files changed, 118 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_eudebug.c +108 -1
@@ -181,6 +181,8 @@ static void xe_eudebug_free(struct kref *ref)struct xe_eudebug *d =container_of (ref,typeof (*d), ref);struct xe_eudebug_event *event; +destroy_workqueue (d->discovery_wq); +while (kfifo_get (&d->events.fifo, &event))kfree (event);
@@ -235,6 +237,7 @@ static void xe_eudebug_disconnect(struct xe_eudebug *d,eu_dbg (d,"disconnected: %d (%d)" , d->last_error, err); } +complete_all (&d->discovery);wake_up_all (&d->events.write_done);if (detached)
@@ -331,6 +334,14 @@ xe_eudebug_get(struct xe_file *xef) d =NULL ; } +if (d) { +int err; + + err =wait_for_completion_interruptible (&d->discovery); +if (err) +xe_eudebug_disconnect (d, err); + } +if (d &&xe_eudebug_detached (d)) {xe_eudebug_put (d); d =NULL ;
@@ -682,6 +693,7 @@ static struct task_struct *find_get_target(const pid_t nr)return task; } +static void discovery_work_fn (struct work_struct *work); static int xe_eudebug_connect(struct xe_device *xe,
@@ -717,9 +729,11 @@ xe_eudebug_connect(struct xe_device *xe,kref_init (&d->ref);mutex_init (&d->lock);init_waitqueue_head (&d->events.write_done); +init_completion (&d->discovery);spin_lock_init (&d->events.lock);INIT_KFIFO (d->events.fifo); +INIT_WORK (&d->discovery_work, discovery_work_fn); d->res =xe_eudebug_resources_alloc ();if (IS_ERR (d->res)) {
@@ -727,10 +741,17 @@ xe_eudebug_connect(struct xe_device *xe, goto err_free; } + d->discovery_wq =alloc_workqueue ("xe_eudebug_discovery" , +WQ_UNBOUND ,0 ); +if (!d->discovery_wq) { + err = -ENOMEM ; + goto err_free_res; + } + d->target_task =find_get_target (param->pid);if (!d->target_task) { err = -ENOENT ; - goto err_free_res; + goto err_free_wq; }/* XXX: Proper access tracking with ptrace_may_access */
@@ -769,6 +790,8 @@ xe_eudebug_connect(struct xe_device *xe,eu_dbg (d,"connected session %lld" , d->session); +queue_work (d->discovery_wq, &d->discovery_work); +return fd; err_put_task:
@@ -776,6 +799,8 @@ xe_eudebug_connect(struct xe_device *xe,xe_eudebug_put (t);put_task_struct (d->target_task); +err_free_wq: +destroy_workqueue (d->discovery_wq); err_free_res:xe_eudebug_resources_free (d); err_free:
@@ -1008,3 +1033,85 @@ void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm)xe_eudebug_put (d); } + +static int discover_client (struct xe_eudebug *d,struct xe_file *xef) +{ +struct xe_vm *vm; +unsigned long i; +int err; + + err =client_create_event (d, xef); +if (err) +return err; + +mutex_lock (&xef->vm.lock); +xa_for_each (&xef->vm.xa, i, vm) { + err =vm_create_event (d, xef, vm); +if (err) +break ; + } +mutex_unlock (&xef->vm.lock); + +return err; +} + +static bool xe_eudebug_task_match (struct xe_eudebug *d,struct xe_file *xef) +{ +struct task_struct *task; +bool match; + + task =find_task_get (xef); +if (!task) +return false; + + match =same_thread_group (d->target_task, task); + +put_task_struct (task); + +return match; +} + +static void discover_clients (struct xe_device *xe,struct xe_eudebug *d) +{ +unsigned long index =0 ; +int err; + +mutex_lock (&xe->clients.lock); + +do { +struct xe_file *xef; + +if (xe_eudebug_detached (d)) +break ; + + err =0 ; + xef =xa_find_after (&xe->clients.xa, &index,ULONG_MAX ,XA_PRESENT ); +if (!xef) +break ; + +if (xe_eudebug_task_match (d, xef)) { + err =discover_client (d, xef); +eu_dbg (d,"discover client %p: %d\n" , xef, err); + } + +if (err) +xe_eudebug_disconnect (d, err); + }while (!err); + +mutex_unlock (&xe->clients.lock); +} + +static void discovery_work_fn (struct work_struct *work) +{ +struct xe_eudebug *d =container_of (work,typeof (*d), + discovery_work); +struct xe_device *xe = d->xe; + +eu_dbg (d,"Discovery start\n" ); + +discover_clients (xe, d); + +eu_dbg (d,"Discovery end\n" ); + +complete_all (&d->discovery); +}
drivers/gpu/drm/xe/xe_eudebug_types.h +10 -0
@@ -19,6 +19,7 @@struct xe_device ;struct task_struct ;struct xe_eudebug_event ; +struct workqueue_struct ;#define CONFIG_DRM_XE_DEBUGGER_EVENT_QUEUE_SIZE 32
@@ -144,6 +145,15 @@ struct xe_eudebug {/** @session: session number for this connection (for logs) */ u64 session; +/** @discovery: completion to wait for discovery */ +struct completion discovery; + +/** @discovery_work: worker to discover resources for target_task */ +struct work_struct discovery_work; + +/** @discovery_wq: workqueue for discovery worker */ +struct workqueue_struct *discovery_wq; +/** @events: kfifo queue of to-be-delivered events */ struct {/** @lock: guards access to fifo */
Signature · 1 line
2.34.1
Re: [Intel-xe] [RFC 02/25] drm/xe/eudebug: Introduce discovery for resources
Hi Mika,
Quoted 9 lines · Mika Kuoppala
Debugger connection can happen way after the client has created and destroyed arbitrary number of resources.
We need to playback all currently existing resources for the debugger. The client is held until this so called discovery process, executed by workqueue, is complete.
This patch is based on discovery work by Maciej Patelczyk for i915 driver.
I think it's valid also for the previous patch.
Andi
RFC 3/25 drm/xe/eudebug: Introduce exec_queue events
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Introduce exec_queue events.
--- drivers/gpu/drm/xe/xe_eudebug.c | 160 ++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 4 + drivers/gpu/drm/xe/xe_eudebug_types.h | 31 ++++- drivers/gpu/drm/xe/xe_exec_queue.c | 5 + include/uapi/drm/xe_drm_tmp.h | 14 ++- 5 files changed, 212 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_eudebug.c +160 -0
@@ -16,6 +16,8 @@#include "xe_device.h" #include "xe_eudebug_types.h" +#include "xe_exec_queue_types.h" +#include "xe_vm.h" /* * If there is no event being read in this time (for example gdb stuck)
@@ -1034,8 +1036,158 @@ void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm)xe_eudebug_put (d); } +static int send_exec_queue_event (struct xe_eudebug *d,u32 flags, +u64 client_handle,u64 vm_handle, +u64 exec_queue_handle,u16 engine_class, +u16 width,u64 *lrc_handles) +{ +struct xe_eudebug_event *event; +struct xe_eudebug_event_exec_queue *e; +const u32 sz =struct_size (e, lrc_handle, width); + + event =xe_eudebug_create_event (d,DRM_XE_EUDEBUG_EVENT_EXEC_QUEUE , + flags, sz,GFP_KERNEL ); +if (!event) +return -ENOMEM ; + + e =from_event (e, event); + + write_member(struct drm_xe_eudebug_event_exec_queue, e, client_handle, client_handle); + write_member(struct drm_xe_eudebug_event_exec_queue, e, vm_handle, vm_handle); + write_member(struct drm_xe_eudebug_event_exec_queue, e, exec_queue_handle, exec_queue_handle); + write_member(struct drm_xe_eudebug_event_exec_queue, e, engine_class, engine_class); + write_member(struct drm_xe_eudebug_event_exec_queue, e, width, width); + +memcpy (e->lrc_handle, lrc_handles, width); + +return xe_eudebug_queue_event (d, event); +} + +static int exec_queue_create_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_exec_queue *q) +{ +int h_c, h_vm, h_queue; +u64 h_lrc[XE_HW_ENGINE_MAX_INSTANCE ]; +int i; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =find_handle (d->res,XE_EUDEBUG_RES_TYPE_VM , q->vm); +if (h_vm <0 ) +return h_vm; + + h_queue =xe_eudebug_add_handle (d,XE_EUDEBUG_RES_TYPE_EXEC_QUEUE , q); +if (h_queue <0 ) +return h_queue; + +for (i =0 ; i < q->width; i++) { +int h =xe_eudebug_add_handle (d, +XE_EUDEBUG_RES_TYPE_LRC , + &q->lrc[i]); +if (h <0 ) +return h; + + h_lrc[i] = h; + } + +/* No need to cleanup for added handles on error as if we fail +* we disconnect +*/ + +return send_exec_queue_event (d,DRM_XE_EUDEBUG_EVENT_CREATE , + h_c, h_vm, h_queue, (u16 )q->class, + q->width, h_lrc); +} + +static int exec_queue_destroy_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_exec_queue *q) +{ +int h_c, h_vm, h_queue; +u64 h_lrc[XE_HW_ENGINE_MAX_INSTANCE ]; +int i; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =find_handle (d->res,XE_EUDEBUG_RES_TYPE_VM , q->vm); +if (h_vm <0 ) +return h_vm; + + h_queue =xe_eudebug_remove_handle (d, +XE_EUDEBUG_RES_TYPE_EXEC_QUEUE , + q); +if (h_queue <0 ) +return h_queue; + +for (i =0 ; i < q->width; i++) { +int h =xe_eudebug_remove_handle (d, +XE_EUDEBUG_RES_TYPE_LRC , + &q->lrc[i]); + +if (h <0 ) +return h; + + h_lrc[i] = h; + } + +return send_exec_queue_event (d,DRM_XE_EUDEBUG_EVENT_DESTROY , + h_c, h_vm, h_queue, (u16 )q->class, + q->width, h_lrc); +} + +void xe_eudebug_exec_queue_create (struct xe_file *xef,struct xe_exec_queue *q) +{ +struct xe_eudebug *d; +int err; + +if (q->class !=XE_ENGINE_CLASS_RENDER && + q->class !=XE_ENGINE_CLASS_COMPUTE ) +return ; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =exec_queue_create_event (d, xef, q); +if (err == -EEXIST || err == -ENOTCONN ) + err =0 ; + +if (err) { +eu_err (d,"error %d on %s, disconnecting" , err, __func__); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} + +void xe_eudebug_exec_queue_destroy (struct xe_file *xef,struct xe_exec_queue *q) +{ +struct xe_eudebug *d; +int err; + +if (q->class !=XE_ENGINE_CLASS_RENDER && + q->class !=XE_ENGINE_CLASS_COMPUTE ) +return ; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =exec_queue_destroy_event (d, xef, q); +if (err && err != -ENOTCONN ) { +eu_err (d,"error %d on %s, disconnecting" , err, __func__); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} +static int discover_client (struct xe_eudebug *d,struct xe_file *xef) { +struct xe_exec_queue *q;struct xe_vm *vm;unsigned long i;int err;
@@ -1052,6 +1204,14 @@ static int discover_client(struct xe_eudebug *d, struct xe_file *xef) }mutex_unlock (&xef->vm.lock); +mutex_lock (&xef->exec_queue.lock); +xa_for_each (&xef->exec_queue.xa, i, q) { + err =exec_queue_create_event (d, xef, q); +if (err) +break ; + } +mutex_unlock (&xef->exec_queue.lock); +return err; }
drivers/gpu/drm/xe/xe_eudebug.h +4 -0
@@ -10,6 +10,7 @@ struct drm_file;struct xe_device ;struct xe_file ;struct xe_vm ; +struct xe_exec_queue ; int xe_eudebug_connect_ioctl(struct drm_device *dev, void *data,
@@ -24,4 +25,7 @@ void xe_eudebug_file_close(struct xe_file *xef);void xe_eudebug_vm_create (struct xe_file *xef,struct xe_vm *vm);void xe_eudebug_vm_destroy (struct xe_file *xef,struct xe_vm *vm); +void xe_eudebug_exec_queue_create (struct xe_file *xef,struct xe_exec_queue *q); +void xe_eudebug_exec_queue_destroy (struct xe_file *xef,struct xe_exec_queue *q); +#endif
drivers/gpu/drm/xe/xe_eudebug_types.h +30 -1
@@ -71,6 +71,33 @@ struct xe_eudebug_event_vm {u64 vm_handle; } __packed; +/** +* struct xe_eudebug_event_exec_queue - Internal event for +* exec_queue create/destroy +*/ +struct xe_eudebug_event_exec_queue { +/** @base: base event */ +struct xe_eudebug_event base; + +/** @client_handle: client for the engine create/destroy */ +u64 client_handle; + +/** @vm_handle: vm handle for the engine create/destroy */ +u64 vm_handle; + +/** @exec_queue_handle: engine handle */ +u64 exec_queue_handle; + +/** @engine_handle: engine class */ +u16 engine_class; + +/** @width: submission width (number BB per exec) for this exec queue */ +u16 width; + +/** @lrc_handles: handles for each logical ring context created with this exec queue */ +u64 lrc_handle[]; +} __packed; +/** * struct xe_eudebug_handle - eudebug resource handle */
@@ -98,7 +125,9 @@ struct xe_eudebug_resource {#define XE_EUDEBUG_RES_TYPE_CLIENT 0#define XE_EUDEBUG_RES_TYPE_VM 1 -#define XE_EUDEBUG_RES_TYPE_COUNT (XE_EUDEBUG_RES_TYPE_VM + 1) +#define XE_EUDEBUG_RES_TYPE_EXEC_QUEUE 2 +#define XE_EUDEBUG_RES_TYPE_LRC 3 +#define XE_EUDEBUG_RES_TYPE_COUNT (XE_EUDEBUG_RES_TYPE_LRC + 1)/** * struct xe_eudebug_resources - eudebug resources for all types
drivers/gpu/drm/xe/xe_exec_queue.c +5 -0
@@ -22,6 +22,7 @@#include "xe_ring_ops_types.h" #include "xe_trace.h" #include "xe_vm.h" +#include "xe_eudebug.h" enum xe_exec_queue_sched_prop {XE_EXEC_QUEUE_JOB_TIMEOUT =0 ,
@@ -738,6 +739,8 @@ int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data, args->exec_queue_id = id; +xe_eudebug_exec_queue_create (xef, q); +return 0 ; kill_exec_queue:
@@ -872,6 +875,8 @@ int xe_exec_queue_destroy_ioctl(struct drm_device *dev, void *data,if (XE_IOCTL_DBG (xe, !q))return -ENOENT ; +xe_eudebug_exec_queue_destroy (xef, q); +if (!(q->flags &EXEC_QUEUE_FLAG_PERSISTENT ))xe_exec_queue_kill (q);else
include/uapi/drm/xe_drm_tmp.h +13 -1
@@ -31,7 +31,8 @@ struct drm_xe_eudebug_event {#define DRM_XE_EUDEBUG_EVENT_READ 1#define DRM_XE_EUDEBUG_EVENT_OPEN 2#define DRM_XE_EUDEBUG_EVENT_VM 3 -#define DRM_XE_EUDEBUG_EVENT_MAX_EVENT DRM_XE_EUDEBUG_EVENT_VM +#define DRM_XE_EUDEBUG_EVENT_EXEC_QUEUE 4 +#define DRM_XE_EUDEBUG_EVENT_MAX_EVENT DRM_XE_EUDEBUG_EVENT_EXEC_QUEUE__u16 flags;#define DRM_XE_EUDEBUG_EVENT_CREATE (1 << 0)
@@ -54,6 +55,17 @@ struct drm_xe_eudebug_event_vm {__u64 vm_handle; } __attribute__((packed)); +struct drm_xe_eudebug_event_exec_queue { +struct drm_xe_eudebug_event base; + +__u64 client_handle; +__u64 vm_handle; +__u64 exec_queue_handle; +__u16 engine_class; +__u16 width; +__u64 lrc_handle[0 ]; +} __attribute__((packed)); +/* * Debugger ABI (ioctl and events) Version History: * 0 - No debugger available
Signature · 1 line
2.34.1
Re: [Intel-xe] [RFC 03/25] drm/xe/eudebug: Introduce exec_queue events
Hi Dominik and Mika,
Quoted 3 lines · Mika Kuoppala
From: Dominik Grzegorzek <[email protected]>
Introduce
exec_queueevents.
I love exec_queues, I love them more when they are properly introduced.
Quoted 1 line
Signed-off-by Dominik Grzegorzek <[email protected]>
which doesn't prevent you from reviewing this patch.
...
Quoted 13 lines
drivers/gpu/drm/xe/xe_eudebug.c +13
-0+static int exec_queue_create_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_exec_queue *q) +{ +int h_c, h_vm, h_queue; +u64 h_lrc[XE_HW_ENGINE_MAX_INSTANCE ]; +int i; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =find_handle (d->res,XE_EUDEBUG_RES_TYPE_VM , q->vm); +if (h_vm <0 )
drivers/gpu/drm/xe/xe_eudebug.c void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm) · line 1088
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c +10
-0+return h_vm; + + h_queue =xe_eudebug_add_handle (d,XE_EUDEBUG_RES_TYPE_EXEC_QUEUE , q); +if (h_queue <0 ) +return h_queue; + +for (i =0 ; i < q->width; i++) { +int h =xe_eudebug_add_handle (d, +XE_EUDEBUG_RES_TYPE_LRC , + &q->lrc[i]);
please, important assignments need to be separate from the declaration.
drivers/gpu/drm/xe/xe_eudebug.c void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm) · line 1097
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c +9
-0+if (h <0 ) +return h; + + h_lrc[i] = h; + } + +/* No need to cleanup for added handles on error as if we fail +* we disconnect +*/
this comment is misplaced and not properly formatted.
Anyway, for -EEXIST and -ENOTCONN, you don't really fail, I think those need to be checked and treated separately. If -EEXIST, I believe the correct behavior should be 'continue', rather than 'return'.
Quoted 23 lines
drivers/gpu/drm/xe/xe_eudebug.c +23
-0+return send_exec_queue_event (d,DRM_XE_EUDEBUG_EVENT_CREATE , + h_c, h_vm, h_queue, (u16 )q->class, + q->width, h_lrc); +} + +static int exec_queue_destroy_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_exec_queue *q) +{ +int h_c, h_vm, h_queue; +u64 h_lrc[XE_HW_ENGINE_MAX_INSTANCE ]; +int i; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =find_handle (d->res,XE_EUDEBUG_RES_TYPE_VM , q->vm); +if (h_vm <0 ) +return h_vm; + + h_queue =xe_eudebug_remove_handle (d, +XE_EUDEBUG_RES_TYPE_EXEC_QUEUE , + q);
drivers/gpu/drm/xe/xe_eudebug.c void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm) · line 1131
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c +10
-0+if (h_queue <0 ) +return h_queue; + +for (i =0 ; i < q->width; i++) { +int h =xe_eudebug_remove_handle (d, +XE_EUDEBUG_RES_TYPE_LRC , + &q->lrc[i]); + +if (h <0 ) +return h;
why not continue?
Andi
Quoted 7 lines
drivers/gpu/drm/xe/xe_eudebug.c +7
-0+ h_lrc[i] = h; + } + +return send_exec_queue_event (d,DRM_XE_EUDEBUG_EVENT_DESTROY , + h_c, h_vm, h_queue, (u16 )q->class, + q->width, h_lrc); +}
Re: [Intel-xe] [RFC 03/25] drm/xe/eudebug: Introduce exec_queue events
Hi Andi!
Quoted 9 lines · Andi Shyti
Hi Dominik and Mika,
Quoted 3 lines · Mika Kuoppala
From: Dominik Grzegorzek <[email protected]>
Introduce
exec_queueevents.I love
exec_queues, I love them more when they are properly introduced.
Fair.
Quoted 48 lines
Quoted 2 lines
Signed-off-by Dominik Grzegorzek <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>which doesn't prevent you from reviewing this patch.
...
Quoted 13 lines
drivers/gpu/drm/xe/xe_eudebug.c +13
-0+static int exec_queue_create_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_exec_queue *q) +{ +int h_c, h_vm, h_queue; +u64 h_lrc[XE_HW_ENGINE_MAX_INSTANCE ]; +int i; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =find_handle (d->res,XE_EUDEBUG_RES_TYPE_VM , q->vm); +if (h_vm <0 )drivers/gpu/drm/xe/xe_eudebug.c void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm) · line 1088
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c +10
-0+return h_vm; + + h_queue =xe_eudebug_add_handle (d,XE_EUDEBUG_RES_TYPE_EXEC_QUEUE , q); +if (h_queue <0 ) +return h_queue; + +for (i =0 ; i < q->width; i++) { +int h =xe_eudebug_add_handle (d, +XE_EUDEBUG_RES_TYPE_LRC , + &q->lrc[i]);please, important assignments need to be separate from the declaration.
drivers/gpu/drm/xe/xe_eudebug.c void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm) · line 1097
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c +9
-0+if (h <0 ) +return h; + + h_lrc[i] = h; + } + +/* No need to cleanup for added handles on error as if we fail +* we disconnect +*/ this comment is misplaced and not properly formatted.
Quoted 4 lines
Anyway, for
-EEXISTand-ENOTCONN, you don't really fail, I think those need to be checked and treated separately. If-EEXIST, I believe the correct behavior should be 'continue', rather than 'return'.
Isn't that already handled in xe_eudebug_exec_queue_create? In fact, if resource exists we do continue, we just do not send an event twice.
You actually made me think if we shouldn't be more radical and disconnect if sth already exists in our resource tracking.
Quoted 37 lines
Quoted 24 lines
drivers/gpu/drm/xe/xe_eudebug.c +23
-0+return send_exec_queue_event (d,DRM_XE_EUDEBUG_EVENT_CREATE , + h_c, h_vm, h_queue, (u16 )q->class, + q->width, h_lrc); +} + +static int exec_queue_destroy_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_exec_queue *q) +{ +int h_c, h_vm, h_queue; +u64 h_lrc[XE_HW_ENGINE_MAX_INSTANCE ]; +int i; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =find_handle (d->res,XE_EUDEBUG_RES_TYPE_VM , q->vm); +if (h_vm <0 ) +return h_vm; + + h_queue =xe_eudebug_remove_handle (d, +XE_EUDEBUG_RES_TYPE_EXEC_QUEUE , + q);drivers/gpu/drm/xe/xe_eudebug.c void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm) · line 1131
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c +10
-0+if (h_queue <0 ) +return h_queue; + +for (i =0 ; i < q->width; i++) { +int h =xe_eudebug_remove_handle (d, +XE_EUDEBUG_RES_TYPE_LRC , + &q->lrc[i]); + +if (h <0 ) +return h;why not continue?
Quoted 1 line
Andi
Because we can't send valid destroy event, so we disconnect. If we end up in situation where there is exec_queue with lrc missing, it means we are already in an invalid state.
Many thanks,
Dominik
Quoted 8 lines
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c +7
-0+ h_lrc[i] = h; + } + +return send_exec_queue_event (d,DRM_XE_EUDEBUG_EVENT_DESTROY , + h_c, h_vm, h_queue, (u16 )q->class, + q->width, h_lrc); +}
Re: [Intel-xe] [RFC 03/25] drm/xe/eudebug: Introduce exec_queue events
Hi Dominik,
Quoted 12 lines
Quoted 12 lines
drivers/gpu/drm/xe/xe_eudebug.c void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm) · line 1097
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c +9
-0+if (h <0 ) +return h; + + h_lrc[i] = h; + } + +/* No need to cleanup for added handles on error as if we fail +* we disconnect +*/ this comment is misplaced and not properly formatted.
Quoted 7 lines
Quoted 4 lines
Anyway, for
-EEXISTand-ENOTCONN, you don't really fail, I think those need to be checked and treated separately. If-EEXIST, I believe the correct behavior should be 'continue', rather than 'return'.Isn't that already handled in
xe_eudebug_exec_queue_create? In fact, if resource exists we do continue, we just do not send an event twice.
no, you return. if (h == -EEXIST) return -EEXIST;
-EEXIST is treated at the same way as -ENOTCONN, which most probably means that the queue is full.
Quoted 2 lines
You actually made me think if we shouldn't be more radical and disconnect if sth already exists in our resource tracking.
nah... I don't think so. If things go wrong let them fail on their own, don't kill by speculation.
Quoted 36 lines
Quoted 36 lines
Quoted 23 lines
drivers/gpu/drm/xe/xe_eudebug.c +23
-0+return send_exec_queue_event (d,DRM_XE_EUDEBUG_EVENT_CREATE , + h_c, h_vm, h_queue, (u16 )q->class, + q->width, h_lrc); +} + +static int exec_queue_destroy_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_exec_queue *q) +{ +int h_c, h_vm, h_queue; +u64 h_lrc[XE_HW_ENGINE_MAX_INSTANCE ]; +int i; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =find_handle (d->res,XE_EUDEBUG_RES_TYPE_VM , q->vm); +if (h_vm <0 ) +return h_vm; + + h_queue =xe_eudebug_remove_handle (d, +XE_EUDEBUG_RES_TYPE_EXEC_QUEUE , + q);drivers/gpu/drm/xe/xe_eudebug.c void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm) · line 1131
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c +10
-0+if (h_queue <0 ) +return h_queue; + +for (i =0 ; i < q->width; i++) { +int h =xe_eudebug_remove_handle (d, +XE_EUDEBUG_RES_TYPE_LRC , + &q->lrc[i]); + +if (h <0 ) +return h;why not continue?
Quoted 3 lines
Quoted 1 line
Andi
Because we can't send valid destroy event, so we disconnect. If we end up in situation where there is
exec_queuewith lrc missing, it means we are already in an invalid state.
So that if one handle failes to be removed we disconnect the debugger and clear everything. Right?
Andi
Re: [Intel-xe] [RFC 03/25] drm/xe/eudebug: Introduce exec_queue events
Quoted 19 lines · Andi Shyti
Hi Dominik,
Quoted 17 lines
Quoted 16 lines
drivers/gpu/drm/xe/xe_eudebug.c void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm) · line 1097
Quoted 9 lines
drivers/gpu/drm/xe/xe_eudebug.c +9
-0+if (h <0 ) +return h; + + h_lrc[i] = h; + } + +/* No need to cleanup for added handles on error as if we fail +* we disconnect +*/ this comment is misplaced and not properly formatted.
Anyway, for
-EEXISTand-ENOTCONN, you don't really fail, I think those need to be checked and treated separately. If-EEXIST, I believe the correct behavior should be 'continue', rather than 'return'.
Quoted 7 lines
Quoted 2 lines
Isn't that already handled in
xe_eudebug_exec_queue_create? In fact, if resource exists we do continue, we just do not send an event twice.no, you return. if (h ==
-EEXIST) return-EEXIST;
-EEXISTis treated at the same way as-ENOTCONN, which most probably means that the queue is full.
Ahh ok, I thouhgt u refered to 'return send_exec_queue_event.' Sure, I should probably at least try to add all handles.
Quoted 42 lines
Quoted 2 lines
You actually made me think if we shouldn't be more radical and disconnect if sth already exists in our resource tracking.
nah... I don't think so. If things go wrong let them fail on their own, don't kill by speculation.
Quoted 36 lines
Quoted 36 lines
Quoted 23 lines
drivers/gpu/drm/xe/xe_eudebug.c +23
-0+return send_exec_queue_event (d,DRM_XE_EUDEBUG_EVENT_CREATE , + h_c, h_vm, h_queue, (u16 )q->class, + q->width, h_lrc); +} + +static int exec_queue_destroy_event (struct xe_eudebug *d, +struct xe_file *xef,struct xe_exec_queue *q) +{ +int h_c, h_vm, h_queue; +u64 h_lrc[XE_HW_ENGINE_MAX_INSTANCE ]; +int i; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =find_handle (d->res,XE_EUDEBUG_RES_TYPE_VM , q->vm); +if (h_vm <0 ) +return h_vm; + + h_queue =xe_eudebug_remove_handle (d, +XE_EUDEBUG_RES_TYPE_EXEC_QUEUE , + q);drivers/gpu/drm/xe/xe_eudebug.c void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm) · line 1131
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c +10
-0+if (h_queue <0 ) +return h_queue; + +for (i =0 ; i < q->width; i++) { +int h =xe_eudebug_remove_handle (d, +XE_EUDEBUG_RES_TYPE_LRC , + &q->lrc[i]); + +if (h <0 ) +return h;why not continue?
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Andi
Because we can't send valid destroy event, so we disconnect. If we end up in situation where there is
exec_queuewith lrc missing, it means we are already in an invalid state.So that if one handle failes to be removed we disconnect the debugger and clear everything. Right?
Indeed,
Dominik
Quoted 2 lines
Andi
RFC 4/25 drm/xe/eudebug: hw enablement for eudebug
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
In order to turn on debug capabilities, (i.e. breakpoints), TD_CTL and some other registers needs to be programmed. Implement eudebug mode enabling including eudebug related workarounds.
--- drivers/gpu/drm/xe/regs/xe_gt_regs.h | 14 ++++++++ drivers/gpu/drm/xe/xe_eudebug.c | 48 ++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 2 ++ drivers/gpu/drm/xe/xe_hw_engine.c | 2 ++ 4 files changed, 66 insertions(+)
drivers/gpu/drm/xe/regs/xe_gt_regs.h +14 -0
@@ -60,6 +60,10 @@#define MTL_MCR_GROUPID REG_GENMASK(11, 8)#define MTL_MCR_INSTANCEID REG_GENMASK(3, 0) +#define CS_DEBUG_MODE2 XE_REG(0x20d8, XE_REG_OPTION_MASKED) +#define INST_STATE_CACHE_INVALIDATE REG_BIT(6) +#define GLOBAL_DEBUG_ENABLE REG_BIT(5) +#define FF_SLICE_CS_CHICKEN1 XE_REG(0x20e0, XE_REG_OPTION_MASKED)#define FFSC_PERCTX_PREEMPT_CTRL REG_BIT(14)
@@ -334,6 +338,14 @@#define HALF_SLICE_CHICKEN7 XE_REG_MCR(0xe194, XE_REG_OPTION_MASKED)#define DG2_DISABLE_ROUND_ENABLE_ALLOW_FOR_SSLA REG_BIT(15) +#define TD_CTL XE_REG_MCR(0xe400) +#define TD_CTL_FEH_AND_FEE_ENABLE REG_BIT(7)/* forced halt and exception */ +#define TD_CTL_FORCE_EXTERNAL_HALT REG_BIT(6) +#define TD_CTL_FORCE_THREAD_BREAKPOINT_ENABLE REG_BIT(4) +#define TD_CTL_FORCE_EXCEPTION REG_BIT(3) +#define TD_CTL_BREAKPOINT_ENABLE REG_BIT(2) +#define TD_CTL_GLOBAL_DEBUG_ENABLE REG_BIT(0)/* XeHP */ +#define CACHE_MODE_SS XE_REG_MCR(0xe420, XE_REG_OPTION_MASKED)#define ENABLE_EU_COUNT_FOR_TDL_FLUSH REG_BIT(10)#define DISABLE_ECC REG_BIT(5)
@@ -355,11 +367,13 @@#define UGM_BACKUP_MODE REG_BIT(13)#define MDQ_ARBITRATION_MODE REG_BIT(12)#define EARLY_EOT_DIS REG_BIT(1) +#define STALL_DOP_GATING_DISABLE REG_BIT(5)#define ROW_CHICKEN2 XE_REG_MCR(0xe4f4, XE_REG_OPTION_MASKED)#define DISABLE_READ_SUPPRESSION REG_BIT(15)#define DISABLE_EARLY_READ REG_BIT(14)#define ENABLE_LARGE_GRF_MODE REG_BIT(12) +#define XEHPC_DISABLE_BTB REG_BIT(11)#define PUSH_CONST_DEREF_HOLD_DIS REG_BIT(8)#define DISABLE_DOP_GATING REG_BIT(0)
drivers/gpu/drm/xe/xe_eudebug.c +48 -0
64 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug.h +2 -0
@@ -11,6 +11,7 @@ struct xe_device;struct xe_file ;struct xe_vm ;struct xe_exec_queue ; +struct xe_hw_engine ; int xe_eudebug_connect_ioctl(struct drm_device *dev, void *data,
@@ -18,6 +19,7 @@ int xe_eudebug_connect_ioctl(struct drm_device *dev,void xe_eudebug_init (struct xe_device *xe);void xe_eudebug_fini (struct xe_device *xe); +void xe_eudebug_init_hw_engine (struct xe_hw_engine *hwe);void xe_eudebug_file_open (struct xe_file *xef);void xe_eudebug_file_close (struct xe_file *xef);
drivers/gpu/drm/xe/xe_hw_engine.c +2 -0
@@ -13,6 +13,7 @@#include "xe_assert.h" #include "xe_bo.h" #include "xe_device.h" +#include "xe_eudebug.h" #include "xe_execlist.h" #include "xe_force_wake.h" #include "xe_gt.h"
@@ -409,6 +410,7 @@ static void hw_engine_init_early(struct xe_gt *gt, struct xe_hw_engine *hwe,xe_tuning_process_engine (hwe);xe_wa_process_engine (hwe);hw_engine_setup_default_state (hwe); +xe_eudebug_init_hw_engine (hwe);xe_reg_sr_init (&hwe->reg_whitelist, hwe->name,gt_to_xe (gt));xe_reg_whitelist_process_engine (hwe);
Signature · 1 line
2.34.1
Re: [Intel-xe] [RFC 04/25] drm/xe/eudebug: hw enablement for eudebug
Quoted 98 lines · Mika Kuoppala
From: Dominik Grzegorzek <[email protected]>
In order to turn on debug capabilities, (i.e. breakpoints),
TD_CTLand some other registers needs to be programmed. Implement eudebug mode enabling including eudebug related workarounds.Signed-off-by Dominik Grzegorzek <[email protected]>--- drivers/gpu/drm/xe/regs/xe_gt_regs.h | 14 ++++++++ drivers/gpu/drm/xe/xe_eudebug.c | 48 ++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 2 ++ drivers/gpu/drm/xe/xe_hw_engine.c | 2 ++ 4 files changed, 66 insertions(+)drivers/gpu/drm/xe/regs/xe_gt_regs.h +14
-0@@ -60,6 +60,10 @@#define MTL_MCR_GROUPID REG_GENMASK(11, 8)#define MTL_MCR_INSTANCEID REG_GENMASK(3, 0) +#define CS_DEBUG_MODE2 XE_REG(0x20d8, XE_REG_OPTION_MASKED) +#define INST_STATE_CACHE_INVALIDATE REG_BIT(6) +#define GLOBAL_DEBUG_ENABLE REG_BIT(5) +#define FF_SLICE_CS_CHICKEN1 XE_REG(0x20e0, XE_REG_OPTION_MASKED)#define FFSC_PERCTX_PREEMPT_CTRL REG_BIT(14)@@ -334,6 +338,14 @@#define HALF_SLICE_CHICKEN7 XE_REG_MCR(0xe194, XE_REG_OPTION_MASKED)#define DG2_DISABLE_ROUND_ENABLE_ALLOW_FOR_SSLA REG_BIT(15) +#define TD_CTL XE_REG_MCR(0xe400) +#define TD_CTL_FEH_AND_FEE_ENABLE REG_BIT(7)/* forced halt and exception */ +#define TD_CTL_FORCE_EXTERNAL_HALT REG_BIT(6) +#define TD_CTL_FORCE_THREAD_BREAKPOINT_ENABLE REG_BIT(4) +#define TD_CTL_FORCE_EXCEPTION REG_BIT(3) +#define TD_CTL_BREAKPOINT_ENABLE REG_BIT(2) +#define TD_CTL_GLOBAL_DEBUG_ENABLE REG_BIT(0)/* XeHP */ +#define CACHE_MODE_SS XE_REG_MCR(0xe420, XE_REG_OPTION_MASKED)#define ENABLE_EU_COUNT_FOR_TDL_FLUSH REG_BIT(10)#define DISABLE_ECC REG_BIT(5)@@ -355,11 +367,13 @@#define UGM_BACKUP_MODE REG_BIT(13)#define MDQ_ARBITRATION_MODE REG_BIT(12)#define EARLY_EOT_DIS REG_BIT(1) +#define STALL_DOP_GATING_DISABLE REG_BIT(5)#define ROW_CHICKEN2 XE_REG_MCR(0xe4f4, XE_REG_OPTION_MASKED)#define DISABLE_READ_SUPPRESSION REG_BIT(15)#define DISABLE_EARLY_READ REG_BIT(14)#define ENABLE_LARGE_GRF_MODE REG_BIT(12) +#define XEHPC_DISABLE_BTB REG_BIT(11)#define PUSH_CONST_DEREF_HOLD_DIS REG_BIT(8)#define DISABLE_DOP_GATING REG_BIT(0)drivers/gpu/drm/xe/xe_eudebug.c +21
-0@@ -14,10 +14,15 @@#include <drm/drm_managed.h> #include <uapi/drm/xe_drm_tmp.h> +#include "regs/xe_gt_regs.h" #include "xe_device.h" +#include "xe_gt.h" #include "xe_eudebug_types.h" #include "xe_exec_queue_types.h" +#include "xe_module.h" +#include "xe_rtp.h" #include "xe_vm.h" +#include "xe_wa.h" /* * If there is no event being read in this time (for example gdb stuck) @@ -824,6 +829,49 @@ int xe_eudebug_connect_ioctl(struct drm_device *dev,return ret; } +#undef XE_REG_MCR +#define XE_REG_MCR (...) XE_REG(__VA_ARGS__, .mcr = 1) + +void xe_eudebug_init_hw_engine(struct xe_hw_engine *hwe) +{ + const struct xe_rtp_entry_sr eudebug_was[] = { + { XE_RTP_NAME("GlobalDebugEnable"), + XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1200, 1210), + ENGINE_CLASS(RENDER)), + XE_RTP_ACTIONS(SET(CS_DEBUG_MODE2, GLOBAL_DEBUG_ENABLE)) + }, + { XE_RTP_NAME("TdCtlDebugEnable"), + XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1200, XE_RTP_END_VERSION_UNDEFINED), + FUNC(xe_rtp_match_first_render_or_compute)), + XE_RTP_ACTIONS(SET(TD_CTL, + TD_CTL_BREAKPOINT_ENABLE |
drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 857
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c +10
-0+TD_CTL_FORCE_THREAD_BREAKPOINT_ENABLE | + TD_CTL_FEH_AND_FEE_ENABLE)) + }, + { XE_RTP_NAME("TdCtlGlobalDebugEnable"), +XE_RTP_RULES (GRAPHICS_VERSION_RANGE (1250 ,XE_RTP_END_VERSION_UNDEFINED ), +FUNC (xe_rtp_match_first_render_or_compute)), +XE_RTP_ACTIONS (SET (TD_CTL ,TD_CTL_GLOBAL_DEBUG_ENABLE )) + }, + { XE_RTP_NAME("22015693276"), + XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1250, XE_RTP_END_VERSION_UNDEFINED),
The actual workaround number here is 18022722726, and the workaround database indicates that it is only necessary for PVC (version 12.60). Is there some other workaround that tells us we also need to apply this on DG2/ATS-M (12.55) and all later platforms as well?
drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 861
Quoted 4 lines
drivers/gpu/drm/xe/xe_eudebug.c +4
-0+ FUNC(xe_rtp_match_first_render_or_compute)), +XE_RTP_ACTIONS (SET (ROW_CHICKEN ,STALL_DOP_GATING_DISABLE )) + }, + { XE_RTP_NAME("14015527279"),
The proper workaround lineage number here is 14015474168.
drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 872
Quoted 11 lines
drivers/gpu/drm/xe/xe_eudebug.c +11
-0+ XE_RTP_RULES(PLATFORM(PVC), + FUNC(xe_rtp_match_first_render_or_compute)), + XE_RTP_ACTIONS(SET(ROW_CHICKEN2, XEHPC_DISABLE_BTB)) + }, + {} + }; +struct xe_rtp_process_ctx ctx =XE_RTP_PROCESS_CTX_INITIALIZER (hwe); +struct xe_device *xe =gt_to_xe (hwe->gt); + +if (xe->eudebug.available) +xe_rtp_process_to_sr (&ctx, eudebug_was, &hwe->reg_sr);
eudebug.available is always set if there weren't any errors (e.g., memory allocation failures) during general init, right? So even if the user has no plans to use EU debugging, this flag is still on, so all this extra programming happens anyway? It seems like a lot of these things are programming that should always happen when EU debugging is actually being utilized, unless I'm misunderstanding.
Matt
Quoted 48 lines
drivers/gpu/drm/xe/xe_eudebug.c +2
-0+} +void xe_eudebug_init (struct xe_device *xe) {int ret;drivers/gpu/drm/xe/xe_eudebug.h +2
-0@@ -11,6 +11,7 @@ struct xe_device;struct xe_file ;struct xe_vm ;struct xe_exec_queue ; +struct xe_hw_engine ; int xe_eudebug_connect_ioctl(struct drm_device *dev, void *data,@@ -18,6 +19,7 @@ int xe_eudebug_connect_ioctl(struct drm_device *dev,void xe_eudebug_init (struct xe_device *xe);void xe_eudebug_fini (struct xe_device *xe); +void xe_eudebug_init_hw_engine (struct xe_hw_engine *hwe);void xe_eudebug_file_open (struct xe_file *xef);void xe_eudebug_file_close (struct xe_file *xef);drivers/gpu/drm/xe/xe_hw_engine.c +2
-0@@ -13,6 +13,7 @@#include "xe_assert.h" #include "xe_bo.h" #include "xe_device.h" +#include "xe_eudebug.h" #include "xe_execlist.h" #include "xe_force_wake.h" #include "xe_gt.h" @@ -409,6 +410,7 @@ static void hw_engine_init_early(struct xe_gt *gt, struct xe_hw_engine *hwe,xe_tuning_process_engine (hwe);xe_wa_process_engine (hwe);hw_engine_setup_default_state (hwe); +xe_eudebug_init_hw_engine (hwe);xe_reg_sr_init (&hwe->reg_whitelist, hwe->name,gt_to_xe (gt));xe_reg_whitelist_process_engine (hwe);Signature · 1 line
2.34.1
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Re: [Intel-xe] [RFC 04/25] drm/xe/eudebug: hw enablement for eudebug
Hi Matt,
Having read your comments, I realized some more inaccurasies in this patch.
Quoted 84 lines · Matt Roper
Quoted 82 lines · Mika Kuoppala
From: Dominik Grzegorzek <[email protected]>
In order to turn on debug capabilities, (i.e. breakpoints),
TD_CTLand some other registers needs to be programmed. Implement eudebug mode enabling including eudebug related workarounds.Signed-off-by Dominik Grzegorzek <[email protected]>--- drivers/gpu/drm/xe/regs/xe_gt_regs.h | 14 ++++++++ drivers/gpu/drm/xe/xe_eudebug.c | 48 ++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 2 ++ drivers/gpu/drm/xe/xe_hw_engine.c | 2 ++ 4 files changed, 66 insertions(+)drivers/gpu/drm/xe/regs/xe_gt_regs.h +14
-0@@ -60,6 +60,10 @@#define MTL_MCR_GROUPID REG_GENMASK(11, 8)#define MTL_MCR_INSTANCEID REG_GENMASK(3, 0) +#define CS_DEBUG_MODE2 XE_REG(0x20d8, XE_REG_OPTION_MASKED) +#define INST_STATE_CACHE_INVALIDATE REG_BIT(6) +#define GLOBAL_DEBUG_ENABLE REG_BIT(5) +#define FF_SLICE_CS_CHICKEN1 XE_REG(0x20e0, XE_REG_OPTION_MASKED)#define FFSC_PERCTX_PREEMPT_CTRL REG_BIT(14)@@ -334,6 +338,14 @@#define HALF_SLICE_CHICKEN7 XE_REG_MCR(0xe194, XE_REG_OPTION_MASKED)#define DG2_DISABLE_ROUND_ENABLE_ALLOW_FOR_SSLA REG_BIT(15) +#define TD_CTL XE_REG_MCR(0xe400) +#define TD_CTL_FEH_AND_FEE_ENABLE REG_BIT(7)/* forced halt and exception */ +#define TD_CTL_FORCE_EXTERNAL_HALT REG_BIT(6) +#define TD_CTL_FORCE_THREAD_BREAKPOINT_ENABLE REG_BIT(4) +#define TD_CTL_FORCE_EXCEPTION REG_BIT(3) +#define TD_CTL_BREAKPOINT_ENABLE REG_BIT(2) +#define TD_CTL_GLOBAL_DEBUG_ENABLE REG_BIT(0)/* XeHP */ +#define CACHE_MODE_SS XE_REG_MCR(0xe420, XE_REG_OPTION_MASKED)#define ENABLE_EU_COUNT_FOR_TDL_FLUSH REG_BIT(10)#define DISABLE_ECC REG_BIT(5)@@ -355,11 +367,13 @@#define UGM_BACKUP_MODE REG_BIT(13)#define MDQ_ARBITRATION_MODE REG_BIT(12)#define EARLY_EOT_DIS REG_BIT(1) +#define STALL_DOP_GATING_DISABLE REG_BIT(5)#define ROW_CHICKEN2 XE_REG_MCR(0xe4f4, XE_REG_OPTION_MASKED)#define DISABLE_READ_SUPPRESSION REG_BIT(15)#define DISABLE_EARLY_READ REG_BIT(14)#define ENABLE_LARGE_GRF_MODE REG_BIT(12) +#define XEHPC_DISABLE_BTB REG_BIT(11)#define PUSH_CONST_DEREF_HOLD_DIS REG_BIT(8)#define DISABLE_DOP_GATING REG_BIT(0)drivers/gpu/drm/xe/xe_eudebug.c +5
-0@@ -14,10 +14,15 @@#include <drm/drm_managed.h> #include <uapi/drm/xe_drm_tmp.h> +#include "regs/xe_gt_regs.h" #include "xe_device.h" +#include "xe_gt.h" #include "xe_eudebug_types.h" #include "xe_exec_queue_types.h" +#include "xe_module.h" +#include "xe_rtp.h" #include "xe_vm.h" +#include "xe_wa.h" /* * If there is no event being read in this time (for example gdb stuck) @@ -824,6 +829,49 @@ int xe_eudebug_connect_ioctl(struct drm_device *dev,return ret; }
Quoted 7 lines
drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 838
Quoted 7 lines
drivers/gpu/drm/xe/xe_eudebug.c +7
-0+#undef XE_REG_MCR +#define XE_REG_MCR (...) XE_REG(__VA_ARGS__, .mcr = 1) + +void xe_eudebug_init_hw_engine (struct xe_hw_engine *hwe) +{ +const struct xe_rtp_entry_sr eudebug_was[] = { + {XE_RTP_NAME ("GlobalDebugEnable" ),
Should be "14015447018".
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 843
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c +5
-0+XE_RTP_RULES (GRAPHICS_VERSION_RANGE (1200 ,1210 ), +ENGINE_CLASS (RENDER )), +XE_RTP_ACTIONS (SET (CS_DEBUG_MODE2 ,GLOBAL_DEBUG_ENABLE )) + }, + { XE_RTP_NAME("TdCtlDebugEnable"),
I should split it into two entries. One for td clt debug enable and rest of "14015447018".
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 851
Quoted 8 lines
drivers/gpu/drm/xe/xe_eudebug.c +8
-0+XE_RTP_RULES (GRAPHICS_VERSION_RANGE (1200 ,XE_RTP_END_VERSION_UNDEFINED ), +FUNC (xe_rtp_match_first_render_or_compute)), +XE_RTP_ACTIONS (SET (TD_CTL , +TD_CTL_BREAKPOINT_ENABLE | +TD_CTL_FORCE_THREAD_BREAKPOINT_ENABLE | +TD_CTL_FEH_AND_FEE_ENABLE )) + }, + { XE_RTP_NAME("TdCtlGlobalDebugEnable"),
XE_RTP_NAME("14015447018") and I should close the range. :)
Quoted 11 lines
drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 857
Quoted 6 lines
drivers/gpu/drm/xe/xe_eudebug.c +6
-0+XE_RTP_RULES (GRAPHICS_VERSION_RANGE (1250 ,XE_RTP_END_VERSION_UNDEFINED ), +FUNC (xe_rtp_match_first_render_or_compute)), +XE_RTP_ACTIONS (SET (TD_CTL ,TD_CTL_GLOBAL_DEBUG_ENABLE )) + }, + { XE_RTP_NAME("22015693276"), + XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1250, XE_RTP_END_VERSION_UNDEFINED),The actual workaround number here is 18022722726, and the workaround database indicates that it is only necessary for PVC (version 12.60). Is there some other workaround that tells us we also need to apply this on DG2/ATS-M (12.55) and all later platforms as well?
Right, 18022722726. The original bug was reported on DG2 and I'm sure that we need this on 12.55. Database indeed claims differently. I will try to have it corrected there to sort it out. Future platrforms indeed may not be affected.
Quoted 7 lines
drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 861
Quoted 5 lines
drivers/gpu/drm/xe/xe_eudebug.c +4
-0+ FUNC(xe_rtp_match_first_render_or_compute)), +XE_RTP_ACTIONS (SET (ROW_CHICKEN ,STALL_DOP_GATING_DISABLE )) + }, + { XE_RTP_NAME("14015527279"),The proper workaround lineage number here is 14015474168.
Yes, you are right.
Quoted 21 lines
drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 872
Quoted 12 lines
drivers/gpu/drm/xe/xe_eudebug.c +11
-0+ XE_RTP_RULES(PLATFORM(PVC), + FUNC(xe_rtp_match_first_render_or_compute)), + XE_RTP_ACTIONS(SET(ROW_CHICKEN2, XEHPC_DISABLE_BTB)) + }, + {} + }; +struct xe_rtp_process_ctx ctx =XE_RTP_PROCESS_CTX_INITIALIZER (hwe); +struct xe_device *xe =gt_to_xe (hwe->gt); + +if (xe->eudebug.available) +xe_rtp_process_to_sr (&ctx, eudebug_was, &hwe->reg_sr);eudebug.available is always set if there weren't any errors (e.g., memory allocation failures) during general init, right? So even if the user has no plans to use EU debugging, this flag is still on, so all this extra programming happens anyway? It seems like a lot of these things are programming that should always happen when EU debugging is actually being utilized, unless I'm misunderstanding.
Quoted 1 line
Matt
Your understanding is correct. We took simplistic approach to enable EU Debugger always. We were developing it on topic branch, where it could be enabled always. Our ultimate goal and definetly sth needed before an upstream merge is an sysfs entry, which will allow to enable eudebug dynamically. I should have mentioned it in the commit message, sorry.
Thanks for your comments!
~Dominik
Quoted 50 lines
Quoted 49 lines
drivers/gpu/drm/xe/xe_eudebug.c +2
-0+} +void xe_eudebug_init (struct xe_device *xe) {int ret;drivers/gpu/drm/xe/xe_eudebug.h +2
-0@@ -11,6 +11,7 @@ struct xe_device;struct xe_file ;struct xe_vm ;struct xe_exec_queue ; +struct xe_hw_engine ; int xe_eudebug_connect_ioctl(struct drm_device *dev, void *data,@@ -18,6 +19,7 @@ int xe_eudebug_connect_ioctl(struct drm_device *dev,void xe_eudebug_init (struct xe_device *xe);void xe_eudebug_fini (struct xe_device *xe); +void xe_eudebug_init_hw_engine (struct xe_hw_engine *hwe);void xe_eudebug_file_open (struct xe_file *xef);void xe_eudebug_file_close (struct xe_file *xef);drivers/gpu/drm/xe/xe_hw_engine.c +2
-0@@ -13,6 +13,7 @@#include "xe_assert.h" #include "xe_bo.h" #include "xe_device.h" +#include "xe_eudebug.h" #include "xe_execlist.h" #include "xe_force_wake.h" #include "xe_gt.h" @@ -409,6 +410,7 @@ static void hw_engine_init_early(struct xe_gt *gt, struct xe_hw_engine *hwe,xe_tuning_process_engine (hwe);xe_wa_process_engine (hwe);hw_engine_setup_default_state (hwe); +xe_eudebug_init_hw_engine (hwe);xe_reg_sr_init (&hwe->reg_whitelist, hwe->name,gt_to_xe (gt));xe_reg_whitelist_process_engine (hwe);Signature · 1 line
2.34.1
Re: [Intel-xe] [RFC 04/25] drm/xe/eudebug: hw enablement for eudebug
In reply to Matt RoperQuoted 132 lines · Matt Roper
Quoted 98 lines · Mika Kuoppala
From: Dominik Grzegorzek <[email protected]>
In order to turn on debug capabilities, (i.e. breakpoints),
TD_CTLand some other registers needs to be programmed. Implement eudebug mode enabling including eudebug related workarounds.Signed-off-by Dominik Grzegorzek <[email protected]>--- drivers/gpu/drm/xe/regs/xe_gt_regs.h | 14 ++++++++ drivers/gpu/drm/xe/xe_eudebug.c | 48 ++++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 2 ++ drivers/gpu/drm/xe/xe_hw_engine.c | 2 ++ 4 files changed, 66 insertions(+)drivers/gpu/drm/xe/regs/xe_gt_regs.h +14
-0@@ -60,6 +60,10 @@#define MTL_MCR_GROUPID REG_GENMASK(11, 8)#define MTL_MCR_INSTANCEID REG_GENMASK(3, 0) +#define CS_DEBUG_MODE2 XE_REG(0x20d8, XE_REG_OPTION_MASKED) +#define INST_STATE_CACHE_INVALIDATE REG_BIT(6) +#define GLOBAL_DEBUG_ENABLE REG_BIT(5) +#define FF_SLICE_CS_CHICKEN1 XE_REG(0x20e0, XE_REG_OPTION_MASKED)#define FFSC_PERCTX_PREEMPT_CTRL REG_BIT(14)@@ -334,6 +338,14 @@#define HALF_SLICE_CHICKEN7 XE_REG_MCR(0xe194, XE_REG_OPTION_MASKED)#define DG2_DISABLE_ROUND_ENABLE_ALLOW_FOR_SSLA REG_BIT(15) +#define TD_CTL XE_REG_MCR(0xe400) +#define TD_CTL_FEH_AND_FEE_ENABLE REG_BIT(7)/* forced halt and exception */ +#define TD_CTL_FORCE_EXTERNAL_HALT REG_BIT(6) +#define TD_CTL_FORCE_THREAD_BREAKPOINT_ENABLE REG_BIT(4) +#define TD_CTL_FORCE_EXCEPTION REG_BIT(3) +#define TD_CTL_BREAKPOINT_ENABLE REG_BIT(2) +#define TD_CTL_GLOBAL_DEBUG_ENABLE REG_BIT(0)/* XeHP */ +#define CACHE_MODE_SS XE_REG_MCR(0xe420, XE_REG_OPTION_MASKED)#define ENABLE_EU_COUNT_FOR_TDL_FLUSH REG_BIT(10)#define DISABLE_ECC REG_BIT(5)@@ -355,11 +367,13 @@#define UGM_BACKUP_MODE REG_BIT(13)#define MDQ_ARBITRATION_MODE REG_BIT(12)#define EARLY_EOT_DIS REG_BIT(1) +#define STALL_DOP_GATING_DISABLE REG_BIT(5)#define ROW_CHICKEN2 XE_REG_MCR(0xe4f4, XE_REG_OPTION_MASKED)#define DISABLE_READ_SUPPRESSION REG_BIT(15)#define DISABLE_EARLY_READ REG_BIT(14)#define ENABLE_LARGE_GRF_MODE REG_BIT(12) +#define XEHPC_DISABLE_BTB REG_BIT(11)#define PUSH_CONST_DEREF_HOLD_DIS REG_BIT(8)#define DISABLE_DOP_GATING REG_BIT(0)drivers/gpu/drm/xe/xe_eudebug.c +21
-0@@ -14,10 +14,15 @@#include <drm/drm_managed.h> #include <uapi/drm/xe_drm_tmp.h> +#include "regs/xe_gt_regs.h" #include "xe_device.h" +#include "xe_gt.h" #include "xe_eudebug_types.h" #include "xe_exec_queue_types.h" +#include "xe_module.h" +#include "xe_rtp.h" #include "xe_vm.h" +#include "xe_wa.h" /* * If there is no event being read in this time (for example gdb stuck) @@ -824,6 +829,49 @@ int xe_eudebug_connect_ioctl(struct drm_device *dev,return ret; } +#undef XE_REG_MCR +#define XE_REG_MCR (...) XE_REG(__VA_ARGS__, .mcr = 1) + +void xe_eudebug_init_hw_engine(struct xe_hw_engine *hwe) +{ + const struct xe_rtp_entry_sr eudebug_was[] = { + { XE_RTP_NAME("GlobalDebugEnable"), + XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1200, 1210), + ENGINE_CLASS(RENDER)), + XE_RTP_ACTIONS(SET(CS_DEBUG_MODE2, GLOBAL_DEBUG_ENABLE)) + }, + { XE_RTP_NAME("TdCtlDebugEnable"), + XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1200, XE_RTP_END_VERSION_UNDEFINED), + FUNC(xe_rtp_match_first_render_or_compute)), + XE_RTP_ACTIONS(SET(TD_CTL, + TD_CTL_BREAKPOINT_ENABLE |drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 857
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c +10
-0+TD_CTL_FORCE_THREAD_BREAKPOINT_ENABLE | + TD_CTL_FEH_AND_FEE_ENABLE)) + }, + { XE_RTP_NAME("TdCtlGlobalDebugEnable"), +XE_RTP_RULES (GRAPHICS_VERSION_RANGE (1250 ,XE_RTP_END_VERSION_UNDEFINED ), +FUNC (xe_rtp_match_first_render_or_compute)), +XE_RTP_ACTIONS (SET (TD_CTL ,TD_CTL_GLOBAL_DEBUG_ENABLE )) + }, + { XE_RTP_NAME("22015693276"), + XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1250, XE_RTP_END_VERSION_UNDEFINED),The actual workaround number here is 18022722726, and the workaround database indicates that it is only necessary for PVC (version 12.60). Is there some other workaround that tells us we also need to apply this on DG2/ATS-M (12.55) and all later platforms as well?
drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 861
Quoted 4 lines
drivers/gpu/drm/xe/xe_eudebug.c +4
-0+ FUNC(xe_rtp_match_first_render_or_compute)), +XE_RTP_ACTIONS (SET (ROW_CHICKEN ,STALL_DOP_GATING_DISABLE )) + }, + { XE_RTP_NAME("14015527279"),The proper workaround lineage number here is 14015474168.
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c +10
-0+ XE_RTP_RULES(PLATFORM(PVC), + FUNC(xe_rtp_match_first_render_or_compute)), + XE_RTP_ACTIONS(SET(ROW_CHICKEN2, XEHPC_DISABLE_BTB)) + }, + {} + }; +struct xe_rtp_process_ctx ctx =XE_RTP_PROCESS_CTX_INITIALIZER (hwe); +struct xe_device *xe =gt_to_xe (hwe->gt); + +if (xe->eudebug.available)
Quoted 10 lines
drivers/gpu/drm/xe/xe_eudebug.c int xe_eudebug_connect_ioctl(struct drm_device *dev, · line 872
Quoted 1 line
drivers/gpu/drm/xe/xe_eudebug.c +1
-0+xe_rtp_process_to_sr (&ctx, eudebug_was, &hwe->reg_sr);eudebug.available is always set if there weren't any errors (e.g., memory allocation failures) during general init, right? So even if the user has no plans to use EU debugging, this flag is still on, so all this extra programming happens anyway? It seems like a lot of these things are programming that should always happen when EU debugging is actually being utilized, unless I'm misunderstanding.
To actually lessen the configuration hazzle, if you pull on topic branch, you get eudebug explicitly.
Before merging we have to come up with a toggle. Either module paramater or sysfs.
Also we need to comb through workarounds to figure out which are globals and if there is some things that need to be enabled only when debugger is connected.
Thanks,
-Mika
Quoted 56 lines
Matt
Quoted 48 lines
drivers/gpu/drm/xe/xe_eudebug.c +2
-0+} +void xe_eudebug_init (struct xe_device *xe) {int ret;drivers/gpu/drm/xe/xe_eudebug.h +2
-0@@ -11,6 +11,7 @@ struct xe_device;struct xe_file ;struct xe_vm ;struct xe_exec_queue ; +struct xe_hw_engine ; int xe_eudebug_connect_ioctl(struct drm_device *dev, void *data,@@ -18,6 +19,7 @@ int xe_eudebug_connect_ioctl(struct drm_device *dev,void xe_eudebug_init (struct xe_device *xe);void xe_eudebug_fini (struct xe_device *xe); +void xe_eudebug_init_hw_engine (struct xe_hw_engine *hwe);void xe_eudebug_file_open (struct xe_file *xef);void xe_eudebug_file_close (struct xe_file *xef);drivers/gpu/drm/xe/xe_hw_engine.c +2
-0@@ -13,6 +13,7 @@#include "xe_assert.h" #include "xe_bo.h" #include "xe_device.h" +#include "xe_eudebug.h" #include "xe_execlist.h" #include "xe_force_wake.h" #include "xe_gt.h" @@ -409,6 +410,7 @@ static void hw_engine_init_early(struct xe_gt *gt, struct xe_hw_engine *hwe,xe_tuning_process_engine (hwe);xe_wa_process_engine (hwe);hw_engine_setup_default_state (hwe); +xe_eudebug_init_hw_engine (hwe);xe_reg_sr_init (&hwe->reg_whitelist, hwe->name,gt_to_xe (gt));xe_reg_whitelist_process_engine (hwe);Signature · 1 line
2.34.1Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Re: [Intel-xe] [RFC 04/25] drm/xe/eudebug: hw enablement for eudebug
In reply to Mika KuoppalaHi Mika,
Quoted 7 lines · Mika Kuoppala
From: Dominik Grzegorzek <[email protected]>
In order to turn on debug capabilities, (i.e. breakpoints),
TD_CTLand some other registers needs to be programmed. Implement eudebug mode enabling including eudebug related workarounds.Signed-off-by Dominik Grzegorzek <[email protected]>
I see that your SoB is missing from other patches, as well, I'm not going to comment on them, anymore.
Andi
RFC 5/25 drm/xe: define XE_MAX_[DSS|EU]_FUSE_BITS globally
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Move XE_MAX_[DSS|EU]_FUSE_BITS definitions to header.
--- drivers/gpu/drm/xe/xe_gt_topology.c | 3 --- drivers/gpu/drm/xe/xe_gt_types.h | 6 ++++-- 2 files changed, 4 insertions(+), 5 deletions(-)
drivers/gpu/drm/xe/xe_gt_topology.c +0 -3
@@ -11,9 +11,6 @@#include "xe_gt.h" #include "xe_mmio.h" -#define XE_MAX_DSS_FUSE_BITS (32 * XE_MAX_DSS_FUSE_REGS) -#define XE_MAX_EU_FUSE_BITS (32 * XE_MAX_EU_FUSE_REGS) -static void load_dss_mask (struct xe_gt *gt,xe_dss_mask_t mask,int numregs, ...) {
drivers/gpu/drm/xe/xe_gt_types.h +4 -2
@@ -25,10 +25,12 @@ enum xe_gt_type { };#define XE_MAX_DSS_FUSE_REGS 3 +#define XE_MAX_DSS_FUSE_BITS (32 * XE_MAX_DSS_FUSE_REGS)#define XE_MAX_EU_FUSE_REGS 1 +#define XE_MAX_EU_FUSE_BITS (32 * XE_MAX_EU_FUSE_REGS) -typedef unsigned long xe_dss_mask_t [BITS_TO_LONGS (32 *XE_MAX_DSS_FUSE_REGS )]; -typedef unsigned long xe_eu_mask_t [BITS_TO_LONGS (32 *XE_MAX_EU_FUSE_REGS )]; +typedef unsigned long xe_dss_mask_t [BITS_TO_LONGS (XE_MAX_DSS_FUSE_BITS )]; +typedef unsigned long xe_eu_mask_t [BITS_TO_LONGS (XE_MAX_EU_FUSE_BITS )];struct xe_mmio_range {u32 start;
Signature · 1 line
2.34.1
RFC 6/25 drm/xe: Introduce for_each_dss_steering loop
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Implement macro allowing to loop over each DSS (both compute and geometry) and get mcr steering for each.
v2: - Respect pre-XE_Hp platforms (with HSW-style slice).
--- drivers/gpu/drm/xe/xe_gt_mcr.c | 27 +++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_gt_mcr.h | 15 +++++++++++++++ 2 files changed, 42 insertions(+)
drivers/gpu/drm/xe/xe_gt_mcr.c +27 -0
@@ -683,3 +683,30 @@ void xe_gt_mcr_steering_dump(struct xe_gt *gt, struct drm_printer *p) } } } + +/** +* xe_gt_mcr_get_dss_steering - returns the group/instance steering for a SS +* @gt: GT structure +* @dss: DSS ID to obtain steering for +* @group: pointer to storage for steering group ID +* @instance: pointer to storage for steering instance ID +* +* Returns the steering IDs (via the @group and @instance parameters) that +* correspond to a specific subslice/DSS ID. +*/ +void xe_gt_mcr_get_dss_steering (struct xe_gt *gt,int dss, +int *group,int *instance) +{ +struct xe_device *xe =gt_to_xe (gt); +unsigned int dss_per_grp; + +if (xe->info.platform ==XE_PVC ) + dss_per_grp =8 ; +else if (GRAPHICS_VERx100 (xe) >=1250 ) + dss_per_grp =4 ; +else + dss_per_grp =6 ; + + *group = dss / dss_per_grp; + *instance = dss % dss_per_grp; +}
drivers/gpu/drm/xe/xe_gt_mcr.h +15 -0
@@ -7,6 +7,7 @@#define _XE_GT_MCR_H_#include "regs/xe_reg_defs.h" +#include "xe_gt_types.h" struct drm_printer ;struct xe_gt ;
@@ -26,4 +27,18 @@ void xe_gt_mcr_multicast_write(struct xe_gt *gt, struct xe_reg_mcr mcr_reg,void xe_gt_mcr_steering_dump (struct xe_gt *gt,struct drm_printer *p); +void xe_gt_mcr_get_dss_steering (struct xe_gt *gt,int dss,int *group,int *instance); + +/* Loop over each DSS (inlc. geometry and compute) and determine the group and instance IDs that +* should be used to steer MCR accesses toward this DSS. Fused-off subslices +* are skipped. +*/ +#define for_each_dss_steering (ss_, gt_, group_, instance_) \ + for (ss_ = 0, xe_gt_mcr_get_dss_steering(gt_, 0, &group_, &instance_); \ + ss_ < XE_MAX_DSS_FUSE_BITS; \ + ss_++, xe_gt_mcr_get_dss_steering(gt_, ss_, &group_, &instance_)) \ + for_each_if(test_bit(ss_, gt_->fuse_topo.c_dss_mask) || \ + test_bit(ss_, gt_->fuse_topo.g_dss_mask)) + +#endif /* _XE_GT_MCR_H_ */
Signature · 1 line
2.34.1
RFC 7/25 drm/xe: Export xe_hw_engine's mmio accessors
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Declare hw engine's mmio accessors in header file.
--- drivers/gpu/drm/xe/xe_hw_engine.c | 5 ++--- drivers/gpu/drm/xe/xe_hw_engine.h | 5 +++++ 2 files changed, 7 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_hw_engine.c +2 -3
@@ -244,8 +244,7 @@ static void hw_engine_fini(struct drm_device *drm, void *arg) hwe->gt =NULL ; } -static void hw_engine_mmio_write32 (struct xe_hw_engine *hwe,struct xe_reg reg, -u32 val) +void hw_engine_mmio_write32 (struct xe_hw_engine *hwe,struct xe_reg reg,u32 val) {xe_gt_assert (hwe->gt, !(reg.addr & hwe->mmio_base));xe_force_wake_assert_held (gt_to_fw (hwe->gt), hwe->domain);
@@ -255,7 +254,7 @@ static void hw_engine_mmio_write32(struct xe_hw_engine *hwe, struct xe_reg reg,xe_mmio_write32 (hwe->gt, reg, val); } -static u32 hw_engine_mmio_read32 (struct xe_hw_engine *hwe,struct xe_reg reg) +u32 hw_engine_mmio_read32 (struct xe_hw_engine *hwe,struct xe_reg reg) {xe_gt_assert (hwe->gt, !(reg.addr & hwe->mmio_base));xe_force_wake_assert_held (gt_to_fw (hwe->gt), hwe->domain);
drivers/gpu/drm/xe/xe_hw_engine.h +5 -0
@@ -62,6 +62,11 @@ void xe_hw_engine_print(struct xe_hw_engine *hwe, struct drm_printer *p);void xe_hw_engine_setup_default_lrc_state (struct xe_hw_engine *hwe);bool xe_hw_engine_is_reserved (struct xe_hw_engine *hwe); + +void hw_engine_mmio_write32 (struct xe_hw_engine *hwe,struct xe_reg reg,u32 val); + +u32 hw_engine_mmio_read32 (struct xe_hw_engine *hwe,struct xe_reg reg); +static inline bool xe_hw_engine_is_valid (struct xe_hw_engine *hwe) {return hwe->name;
Signature · 1 line
2.34.1
RFC 8/25 drm/xe: Add runalone engine property
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Introduce runalone engine param, which is used to ensure that only one hw engine of group [rcs0, ccs0-3] is active on a tile. User can set property only on engine create.
Note: unlike the i915, xe allows user to set runalone also on devices with single render/compute engine. It should not make much difference, but leave control to the user.
--- drivers/gpu/drm/xe/regs/xe_engine_regs.h | 1 + drivers/gpu/drm/xe/xe_exec_queue.c | 21 +++++++++++++++++++++ drivers/gpu/drm/xe/xe_lrc.c | 8 ++++++++ drivers/gpu/drm/xe/xe_lrc.h | 3 +++ include/uapi/drm/xe_drm.h | 1 + 5 files changed, 34 insertions(+)
drivers/gpu/drm/xe/regs/xe_engine_regs.h +1 -0
@@ -72,6 +72,7 @@#define RING_EXECLIST_STATUS_HI (base) XE_REG((base) + 0x234 + 4)#define RING_CONTEXT_CONTROL (base) XE_REG((base) + 0x244) +#define CTX_CTRL_RUN_ALONE REG_BIT(7)#define CTX_CTRL_INHIBIT_SYN_CTX_SWITCH REG_BIT(3)#define CTX_CTRL_ENGINE_CTX_RESTORE_INHIBIT REG_BIT(0)
drivers/gpu/drm/xe/xe_exec_queue.c +21 -0
@@ -402,6 +402,26 @@ static int exec_queue_set_acc_granularity(struct xe_device *xe, struct xe_exec_qreturn 0 ; } +static int engine_set_runalone (struct xe_device *xe,struct xe_exec_queue *q, +u64 value,bool create) +{ +int i; + +if (XE_IOCTL_DBG (xe, !create)) +return -EINVAL ; + +if (XE_IOCTL_DBG (xe, (q->class !=XE_ENGINE_CLASS_RENDER && + q->class !=XE_ENGINE_CLASS_COMPUTE ))) +return -EINVAL ; + +if (value) { +for (i =0 ; i < q->width; i++) +xe_lrc_set_runalone (q->lrc + i); + } + +return 0 ; +} +typedef int (*xe_exec_queue_set_property_fn )(struct xe_device *xe,struct xe_exec_queue *q,u64 value,bool create);
@@ -415,6 +435,7 @@ static const xe_exec_queue_set_property_fn exec_queue_set_property_funcs[] = { [XE_EXEC_QUEUE_SET_PROPERTY_ACC_TRIGGER] = exec_queue_set_acc_trigger, [XE_EXEC_QUEUE_SET_PROPERTY_ACC_NOTIFY] = exec_queue_set_acc_notify, [XE_EXEC_QUEUE_SET_PROPERTY_ACC_GRANULARITY] = exec_queue_set_acc_granularity, + [XE_EXEC_QUEUE_SET_PROPERTY_RUNALONE] = engine_set_runalone, }; static int exec_queue_user_ext_set_property(struct xe_device *xe,
drivers/gpu/drm/xe/xe_lrc.c +8 -0
@@ -1273,3 +1273,11 @@ void xe_lrc_emit_hwe_state_instructions(struct xe_exec_queue *q, struct xe_bb *b bb->len += num_dw; } } + +void xe_lrc_set_runalone (struct xe_lrc *lrc) +{ +u32 ctl; + + ctl =_MASKED_BIT_ENABLE (CTX_CTRL_RUN_ALONE ); +xe_lrc_write_ctx_reg (lrc,CTX_CONTEXT_CONTROL , ctl); +}
drivers/gpu/drm/xe/xe_lrc.h +3 -0
@@ -55,4 +55,7 @@ void xe_lrc_dump_default(struct drm_printer *p,void xe_lrc_emit_hwe_state_instructions (struct xe_exec_queue *q,struct xe_bb *bb); +void xe_lrc_set_runalone (struct xe_lrc *lrc); + +#endif
include/uapi/drm/xe_drm.h +1 -0
@@ -765,6 +765,7 @@ struct drm_xe_exec_queue_set_property {#define XE_EXEC_QUEUE_SET_PROPERTY_ACC_TRIGGER 5#define XE_EXEC_QUEUE_SET_PROPERTY_ACC_NOTIFY 6#define XE_EXEC_QUEUE_SET_PROPERTY_ACC_GRANULARITY 7 +#define XE_EXEC_QUEUE_SET_PROPERTY_RUNALONE 8/** @property: property to set */ __u32 property;
Signature · 1 line
2.34.1
RFC 9/25 drm/xe/eudebug: Introduce per device attention scan worker
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Scan for EU debugging attention bits periodically to detect if some EU thread has entered the system routine (SIP) due to EU thread exception.
Make the scanning interval 10 times slower when there is no debugger connection open. Send attention event whenever we see attention with debugger presence. If there is no debugger connection active - reset.
Based on work by authors and other folks who were part of attentions in i915.
- v2 Do not validate potentially active hwe against engine->hwe. Whenever the engine has width > 1, this field contains only the first hwe of the class.
- squash dss walking and semaphore to mutex
--- drivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/regs/xe_engine_regs.h | 3 + drivers/gpu/drm/xe/regs/xe_gt_regs.h | 6 + drivers/gpu/drm/xe/xe_device_types.h | 3 + drivers/gpu/drm/xe/xe_eudebug.c | 357 ++++++++++++++++++++++- drivers/gpu/drm/xe/xe_eudebug_types.h | 32 ++ drivers/gpu/drm/xe/xe_gt_debug.c | 150 ++++++++++ drivers/gpu/drm/xe/xe_gt_debug.h | 21 ++ include/uapi/drm/xe_drm_tmp.h | 18 +- 9 files changed, 583 insertions(+), 8 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_gt_debug.c create mode 100644 drivers/gpu/drm/xe/xe_gt_debug.h
drivers/gpu/drm/xe/Makefile +1 -0
@@ -61,6 +61,7 @@ xe-y += xe_bb.o \ xe_gt_clock.o \ xe_gt_debugfs.o \ xe_gt_idle_sysfs.o \ + xe_gt_debug.o \ xe_gt_mcr.o \ xe_gt_pagefault.o \ xe_gt_sysfs.o \
drivers/gpu/drm/xe/regs/xe_engine_regs.h +3 -0
@@ -71,6 +71,9 @@#define RING_EXECLIST_STATUS_LO (base) XE_REG((base) + 0x234)#define RING_EXECLIST_STATUS_HI (base) XE_REG((base) + 0x234 + 4) +#define RING_CURRENT_LRCA (base) XE_REG((base) + 0x240) +#define CURRENT_LRCA_VALID REG_BIT(0) +#define RING_CONTEXT_CONTROL (base) XE_REG((base) + 0x244)#define CTX_CTRL_RUN_ALONE REG_BIT(7)#define CTX_CTRL_INHIBIT_SYN_CTX_SWITCH REG_BIT(3)
drivers/gpu/drm/xe/regs/xe_gt_regs.h +6 -0
@@ -351,6 +351,8 @@#define DISABLE_ECC REG_BIT(5)#define ENABLE_PREFETCH_INTO_IC REG_BIT(3) +#define TD_ATT (x) XE_REG_MCR(0xe470 + (x) * 4) +#define ROW_CHICKEN4 XE_REG_MCR(0xe48c, XE_REG_OPTION_MASKED)#define DISABLE_GRF_CLEAR REG_BIT(13)#define XEHP_DIS_BBL_SYSPIPE REG_BIT(11)
@@ -406,6 +408,10 @@#define RCU_MODE XE_REG(0x14800, XE_REG_OPTION_MASKED)#define RCU_MODE_CCS_ENABLE REG_BIT(0) +#define RCU_DEBUG_1 XE_REG(0x14a00) +#define RCU_DEBUG_1_RUNALONE_ACTIVE REG_BIT(2) +#define RCU_DEBUG_1_CONTEXT_ACTIVE REG_BIT(0) +#define FORCEWAKE_ACK_GT XE_REG(0x130044)#define FORCEWAKE_KERNEL BIT(0)#define FORCEWAKE_USER BIT(1)
drivers/gpu/drm/xe/xe_device_types.h +3 -0
@@ -420,6 +420,9 @@ struct xe_device {/** @available: is the debugging functionality available */ bool available; + +/** @attention_scan: attention scan worker */ +struct delayed_work attention_scan; } eudebug;/** @clients xe_file tracking for eudebug discovery */
drivers/gpu/drm/xe/xe_eudebug.c +352 -5
418 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug_types.h +32 -0
@@ -98,6 +98,35 @@ struct xe_eudebug_event_exec_queue {u64 lrc_handle[]; } __packed; +/** +* struct xe_eudebug_event_eu_attention - Internal event for EU attention +*/ +struct xe_eudebug_event_eu_attention { +/** @base: base event */ +struct xe_eudebug_event base; + +/** @client_handle: client for the attention */ +u64 client_handle; + +/** @exec_queue_handle: handle of exec_queue which raised attention */ +u64 exec_queue_handle; + +/** @lrc_handle: lrc handle of the workload which raised attention */ +u64 lrc_handle; + +/** @flags: eu attention event flags, currently MBZ */ +u32 flags; + +/** @bitmask_size: size of the bitmask, specific to device */ +u32 bitmask_size; + +/** +* @bitmask: reflects threads currently signalling attention, +* starting from natural hardware order of DSS=0, eu=0 +*/ +u8 bitmask[0 ]; +} __packed; +/** * struct xe_eudebug_handle - eudebug resource handle */
@@ -183,6 +212,9 @@ struct xe_eudebug {/** @discovery_wq: workqueue for discovery worker */ struct workqueue_struct *discovery_wq; +/** eu_lock: guards operations on eus (eu thread control and attention) */ +struct mutex eu_lock; +/** @events: kfifo queue of to-be-delivered events */ struct {/** @lock: guards access to fifo */
drivers/gpu/drm/xe/xe_gt_debug.c new file +150 -0
150 lines not on this page · raw message
drivers/gpu/drm/xe/xe_gt_debug.h new file +21 -0
@@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef __XE_GT_DEBUG_ +#define __XE_GT_DEBUG_ + +#define TD_EU_ATTENTION_MAX_ROWS 2u + +#include "xe_gt_types.h" + +#define XE_GT_ATTENTION_TIMEOUT_MS 100 + +int xe_gt_eu_threads_needing_attention (struct xe_gt *gt); + +int xe_gt_eu_attention_bitmap_size (struct xe_gt *gt); +int xe_gt_eu_attention_bitmap (struct xe_gt *gt,u8 *bits, +unsigned int bitmap_size); + +#endif
include/uapi/drm/xe_drm_tmp.h +15 -3
@@ -32,11 +32,13 @@ struct drm_xe_eudebug_event {#define DRM_XE_EUDEBUG_EVENT_OPEN 2#define DRM_XE_EUDEBUG_EVENT_VM 3#define DRM_XE_EUDEBUG_EVENT_EXEC_QUEUE 4 -#define DRM_XE_EUDEBUG_EVENT_MAX_EVENT DRM_XE_EUDEBUG_EVENT_EXEC_QUEUE +#define DRM_XE_EUDEBUG_EVENT_EU_ATTENTION 5 +#define DRM_XE_EUDEBUG_EVENT_MAX_EVENT DRM_XE_EUDEBUG_EVENT_EU_ATTENTION__u16 flags; -#define DRM_XE_EUDEBUG_EVENT_CREATE (1 << 0) -#define DRM_XE_EUDEBUG_EVENT_DESTROY (1 << 1) +#define DRM_XE_EUDEBUG_EVENT_CREATE BIT(0) +#define DRM_XE_EUDEBUG_EVENT_DESTROY BIT(1) +#define DRM_XE_EUDEBUG_EVENT_STATE_CHANGE BIT(2)__u64 seqno;__u64 reserved;
@@ -66,6 +68,16 @@ struct drm_xe_eudebug_event_exec_queue {__u64 lrc_handle[0 ]; } __attribute__((packed)); +struct drm_xe_eudebug_event_eu_attention { +struct drm_xe_eudebug_event base; +__u64 client_handle; +__u64 exec_queue_handle; +__u64 lrc_handle; +__u32 flags; +__u32 bitmask_size; +__u8 bitmask[0 ]; +} __attribute__((packed)); +/* * Debugger ABI (ioctl and events) Version History: * 0 - No debugger available
Signature · 1 line
2.34.1
RFC 10/25 drm/xe: Move and export xe_hw_engine lookup.
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
--- drivers/gpu/drm/xe/xe_exec_queue.c | 37 ++++-------------------------- drivers/gpu/drm/xe/xe_hw_engine.c | 30 ++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_hw_engine.h | 6 +++++ 3 files changed, 40 insertions(+), 33 deletions(-)
drivers/gpu/drm/xe/xe_exec_queue.c +4 -33
@@ -504,34 +504,6 @@ static int exec_queue_user_extensions(struct xe_device *xe, struct xe_exec_queuereturn 0 ; } -static const enum xe_engine_class user_to_xe_engine_class[] = { - [DRM_XE_ENGINE_CLASS_RENDER ] =XE_ENGINE_CLASS_RENDER , - [DRM_XE_ENGINE_CLASS_COPY ] =XE_ENGINE_CLASS_COPY , - [DRM_XE_ENGINE_CLASS_VIDEO_DECODE ] =XE_ENGINE_CLASS_VIDEO_DECODE , - [DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE ] =XE_ENGINE_CLASS_VIDEO_ENHANCE , - [DRM_XE_ENGINE_CLASS_COMPUTE ] =XE_ENGINE_CLASS_COMPUTE , -}; - -static struct xe_hw_engine * -find_hw_engine (struct xe_device *xe, -struct drm_xe_engine_class_instance eci) -{ -u32 idx; - -if (eci.engine_class >ARRAY_SIZE (user_to_xe_engine_class)) -return NULL ; - -if (eci.gt_id >= xe->info.gt_count) -return NULL ; - - idx =array_index_nospec (eci.engine_class, -ARRAY_SIZE (user_to_xe_engine_class)); - -return xe_gt_hw_engine (xe_device_get_gt (xe, eci.gt_id), - user_to_xe_engine_class[idx], - eci.engine_instance, true); -} -static u32 bind_exec_queue_logical_mask (struct xe_device *xe,struct xe_gt *gt,struct drm_xe_engine_class_instance *eci,u16 width,u16 num_placements)
@@ -553,8 +525,7 @@ static u32 bind_exec_queue_logical_mask(struct xe_device *xe, struct xe_gt *gt,if (xe_hw_engine_is_reserved (hwe))continue ; -if (hwe->class == - user_to_xe_engine_class[DRM_XE_ENGINE_CLASS_COPY ]) +if (hwe->class ==XE_ENGINE_CLASS_COPY ) logical_mask |=BIT (hwe->logical_instance); }
@@ -583,7 +554,7 @@ static u32 calc_validate_logical_mask(struct xe_device *xe, struct xe_gt *gt, n = j * width + i; - hwe =find_hw_engine (xe, eci[n]); + hwe =xe_hw_engine_lookup (xe, eci[n]);if (XE_IOCTL_DBG (xe, !hwe))return 0 ;
@@ -664,7 +635,7 @@ int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,if (XE_IOCTL_DBG (xe, !logical_mask))return -EINVAL ; - hwe =find_hw_engine (xe, eci[0 ]); + hwe =xe_hw_engine_lookup (xe, eci[0 ]);if (XE_IOCTL_DBG (xe, !hwe))return -EINVAL ;
@@ -705,7 +676,7 @@ int xe_exec_queue_create_ioctl(struct drm_device *dev, void *data,if (XE_IOCTL_DBG (xe, !logical_mask))return -EINVAL ; - hwe =find_hw_engine (xe, eci[0 ]); + hwe =xe_hw_engine_lookup (xe, eci[0 ]);if (XE_IOCTL_DBG (xe, !hwe))return -EINVAL ;
drivers/gpu/drm/xe/xe_hw_engine.c +30 -0
@@ -5,7 +5,10 @@#include "xe_hw_engine.h" +#include <linux/nospec.h> +#include <drm/drm_managed.h> +#include <drm/xe_drm.h> #include "regs/xe_engine_regs.h" #include "regs/xe_gt_regs.h"
@@ -849,3 +852,30 @@ bool xe_hw_engine_is_reserved(struct xe_hw_engine *hwe)return xe->info.supports_usm && hwe->class ==XE_ENGINE_CLASS_COPY && hwe->instance == gt->usm.reserved_bcs_instance; } + +static const enum xe_engine_class user_to_xe_engine_class[] = { + [DRM_XE_ENGINE_CLASS_RENDER ] =XE_ENGINE_CLASS_RENDER , + [DRM_XE_ENGINE_CLASS_COPY ] =XE_ENGINE_CLASS_COPY , + [DRM_XE_ENGINE_CLASS_VIDEO_DECODE ] =XE_ENGINE_CLASS_VIDEO_DECODE , + [DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE ] =XE_ENGINE_CLASS_VIDEO_ENHANCE , + [DRM_XE_ENGINE_CLASS_COMPUTE ] =XE_ENGINE_CLASS_COMPUTE , +}; + +struct xe_hw_engine * +xe_hw_engine_lookup (struct xe_device *xe,struct drm_xe_engine_class_instance eci) +{ +u32 idx; + +if (eci.engine_class >ARRAY_SIZE (user_to_xe_engine_class)) +return NULL ; + +if (eci.gt_id >= xe->info.tile_count) +return NULL ; + + idx =array_index_nospec (eci.engine_class, +ARRAY_SIZE (user_to_xe_engine_class)); + +return xe_gt_hw_engine (xe_device_get_gt (xe, eci.gt_id), + user_to_xe_engine_class[idx], + eci.engine_instance, true); +}
drivers/gpu/drm/xe/xe_hw_engine.h +6 -0
@@ -9,6 +9,8 @@#include "xe_hw_engine_types.h" struct drm_printer ; +struct drm_xe_engine_class_instance ; +struct xe_device ;#ifdef CONFIG_DRM_XE_JOB_TIMEOUT_MIN #define XE_HW_ENGINE_JOB_TIMEOUT_MIN CONFIG_DRM_XE_JOB_TIMEOUT_MIN
@@ -67,6 +69,10 @@ void hw_engine_mmio_write32(struct xe_hw_engine *hwe, struct xe_reg reg, u32 valu32 hw_engine_mmio_read32 (struct xe_hw_engine *hwe,struct xe_reg reg); +struct xe_hw_engine * +xe_hw_engine_lookup (struct xe_device *xe, +struct drm_xe_engine_class_instance eci); +static inline bool xe_hw_engine_is_valid (struct xe_hw_engine *hwe) {return hwe->name;
Signature · 1 line
2.34.1
RFC 11/25 drm/xe/eudebug: Introduce EU control interface
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Introduce EU control functionality, which allows EU debugger to interrupt, resume, and inform about the current state of EU threads during execution. Provide an abstraction layer, so in the future guc will only need to provide appropriate callbacks.
Based on implementation created by authors and other folks within i915 driver.
--- drivers/gpu/drm/xe/regs/xe_gt_regs.h | 2 + drivers/gpu/drm/xe/xe_eudebug.c | 400 +++++++++++++++++++++++++- drivers/gpu/drm/xe/xe_eudebug_types.h | 21 ++ drivers/gpu/drm/xe/xe_gt_debug.c | 12 +- drivers/gpu/drm/xe/xe_gt_debug.h | 6 + include/uapi/drm/xe_drm_tmp.h | 17 +- 6 files changed, 443 insertions(+), 15 deletions(-)
drivers/gpu/drm/xe/regs/xe_gt_regs.h +2 -0
@@ -362,6 +362,8 @@#define THREAD_EX_ARB_MODE REG_GENMASK(3, 2)#define THREAD_EX_ARB_MODE_RR_AFTER_DEP REG_FIELD_PREP(THREAD_EX_ARB_MODE, 0x2) +#define TD_CLR (i) XE_REG_MCR(0xe490 + (i) * 4) +#define ROW_CHICKEN3 XE_REG_MCR(0xe49c, XE_REG_OPTION_MASKED)#define DIS_FIX_EOT1_FLUSH REG_BIT(9)
drivers/gpu/drm/xe/xe_eudebug.c +392 -8
453 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug_types.h +21 -0
@@ -18,7 +18,9 @@struct xe_device ;struct task_struct ; +struct xe_eudebug ;struct xe_eudebug_event ; +struct xe_hw_engine ;struct workqueue_struct ;#define CONFIG_DRM_XE_DEBUGGER_EVENT_QUEUE_SIZE 32
@@ -169,6 +171,23 @@ struct xe_eudebug_resources {struct xe_eudebug_resource rt[XE_EUDEBUG_RES_TYPE_COUNT ]; }; +/** +* struct xe_eudebug_eu_control_ops - interface for eu thread +* state control backend +*/ +struct xe_eudebug_eu_control_ops { +/** @interrupt_all: interrupts workload active on given hwe */ +int (*interrupt_all)(struct xe_eudebug *e,struct xe_hw_engine *hwe, +u64 client_handle); + +/** @resume: resumes threads reflected by bitmask active on given hwe */ +int (*resume)(struct xe_eudebug *e,struct xe_hw_engine *hwe, +u8 *bitmap,unsigned int bitmap_size); + +/** @stopped: returns bitmap reflecting threads which signal attention */ +int (*stopped)(struct xe_eudebug *e,struct xe_hw_engine *hwe, +u8 *bitmap,unsigned int bitmap_size); +};/** * struct xe_eudebug - Top level struct for eudebug: the connection */
@@ -232,6 +251,8 @@ struct xe_eudebug { atomic_long_t seqno; } events; +/** @ops operations for eu_control */ +struct xe_eudebug_eu_control_ops *ops; };#endif
drivers/gpu/drm/xe/xe_gt_debug.c +6 -6
@@ -12,12 +12,12 @@#include "xe_gt_mcr.h" #include "xe_pm.h" -static int xe_gt_for_each_dss_group_instance (struct xe_gt *gt, -int (*fn)(struct xe_gt *gt, -void *data, -unsigned int group, -unsigned int instance), -void *data) +int xe_gt_for_each_dss_group_instance (struct xe_gt *gt, +int (*fn)(struct xe_gt *gt, +void *data, +unsigned int group, +unsigned int instance), +void *data) {const enum xe_force_wake_domains fw_domains =XE_FW_GT |XE_FW_RENDER ;unsigned int dss, group, instance;
drivers/gpu/drm/xe/xe_gt_debug.h +6 -0
@@ -13,6 +13,12 @@#define XE_GT_ATTENTION_TIMEOUT_MS 100int xe_gt_eu_threads_needing_attention (struct xe_gt *gt); +int xe_gt_for_each_dss_group_instance (struct xe_gt *gt, +int (*fn)(struct xe_gt *gt, +void *data, +unsigned int group, +unsigned int instance), +void *data);int xe_gt_eu_attention_bitmap_size (struct xe_gt *gt); int xe_gt_eu_attention_bitmap(struct xe_gt *gt, u8 *bits,
include/uapi/drm/xe_drm_tmp.h +16 -1
@@ -20,7 +20,8 @@ extern "C" {* * This ioctl is available in debug version 1. */ -#define DRM_XE_EUDEBUG_IOCTL_READ_EVENT _IO('j', 0x0) +#define DRM_XE_EUDEBUG_IOCTL_READ_EVENT _IO('j', 0x0) +#define DRM_XE_EUDEBUG_IOCTL_EU_CONTROL _IOWR('j', 0x2, struct drm_xe_eudebug_eu_control)/* XXX: Document events to match their internal counterparts when moved to xe_drm.h */ struct drm_xe_eudebug_event {
@@ -95,6 +96,20 @@ struct drm_xe_eudebug_connect {__u32 version;/* output: current ABI (ioctl / events) version */ }; +struct drm_xe_eudebug_eu_control { +__u64 client_handle; +__u32 cmd; +#define DRM_XE_EUDEBUG_EU_CONTROL_CMD_INTERRUPT_ALL 0 +#define DRM_XE_EUDEBUG_EU_CONTROL_CMD_STOPPED 1 +#define DRM_XE_EUDEBUG_EU_CONTROL_CMD_RESUME 2 +__u32 flags; +__u64 seqno; + +struct drm_xe_engine_class_instance ci; +__u32 bitmask_size; +__u64 bitmask_ptr; +} __attribute__((packed)); +#if defined(__cplusplus) }#endif
Signature · 1 line
2.34.1
RFC 12/25 drm/xe: Extend drm_xe_vm_bind_op
In reply to Mika KuoppalaThe bind api is extensible but for a single bind op, there is not a mechanism to extend. Add extensions field to struct drm_xe_vm_bind_op.
--- include/uapi/drm/xe_drm.h | 3 +++ 1 file changed, 3 insertions(+)
include/uapi/drm/xe_drm.h +3 -0
@@ -621,6 +621,9 @@ struct drm_xe_vm_destroy { };struct drm_xe_vm_bind_op { +/** @extensions: Pointer to the first extension struct, if any */ +__u64 extensions; +/** * @obj: GEM object to operate on, MBZ for MAP_USERPTR, MBZ for UNMAP */
Signature · 1 line
2.34.1
RFC 13/25 drm/xe/eudebug: uapi for client to debugger metadata (work in progress)
In reply to Mika KuoppalaMetadata structures to pass client (l0) information to debugger instance. ELF positions, module specific data and thread save area, sba area (XXX)
--- include/uapi/drm/xe_drm.h | 103 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+)
include/uapi/drm/xe_drm.h +103 -0
@@ -110,6 +110,8 @@ struct xe_user_extension {#define DRM_XE_WAIT_USER_FENCE 0x0a#define DRM_XE_VM_MADVISE 0x0b#define DRM_XE_EXEC_QUEUE_GET_PROPERTY 0x0c +#define DRM_XE_DEBUG_METADATA_CREATE 0x0d +#define DRM_XE_DEBUG_METADATA_DESTROY 0x0e/* Must be kept compact -- no holes */ #define DRM_IOCTL_XE_DEVICE_QUERY DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_DEVICE_QUERY, struct drm_xe_device_query)
@@ -125,6 +127,8 @@ struct xe_user_extension {#define DRM_IOCTL_XE_EXEC_QUEUE_SET_PROPERTY DRM_IOW(DRM_COMMAND_BASE + DRM_XE_EXEC_QUEUE_SET_PROPERTY, struct drm_xe_exec_queue_set_property)#define DRM_IOCTL_XE_WAIT_USER_FENCE DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_WAIT_USER_FENCE, struct drm_xe_wait_user_fence)#define DRM_IOCTL_XE_VM_MADVISE DRM_IOW(DRM_COMMAND_BASE + DRM_XE_VM_MADVISE, struct drm_xe_vm_madvise) +#define DRM_IOCTL_XE_DEBUG_METADATA_CREATE DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_DEBUG_METADATA_CREATE, struct drm_xe_debug_metadata_create) +#define DRM_IOCTL_XE_DEBUG_METADATA_DESTROY DRM_IOW(DRM_COMMAND_BASE + DRM_XE_DEBUG_METADATA_DESTROY, struct drm_xe_debug_metadata_destroy)/** struct drm_xe_engine_class_instance - instance of an engine class */ struct drm_xe_engine_class_instance {
@@ -592,6 +596,7 @@ struct drm_xe_ext_set_property {struct drm_xe_vm_create {#define XE_VM_EXTENSION_SET_PROPERTY 0 +#define XE_VM_EXTENSION_SET_DEBUG_METADATA 1/** @extensions: Pointer to the first extension struct, if any */ __u64 extensions;
@@ -620,7 +625,25 @@ struct drm_xe_vm_destroy {__u64 reserved[2 ]; }; +struct drm_xe_vm_bind_op_ext_attach_debug { +/** @base: base user extension */ +struct xe_user_extension base; + +/** @id: Debug object id from create metadata */ +__u64 id; + +/** @flags: Flags */ +__u64 flags; + +/** @cookie: Cookie */ +__u64 cookie; + +/** @reserved: Reserved */ +__u64 reserved; +}; +struct drm_xe_vm_bind_op { +#define XE_VM_BIND_OP_EXTENSIONS_ATTACH_DEBUG 0/** @extensions: Pointer to the first extension struct, if any */ __u64 extensions;
@@ -679,7 +702,13 @@ struct drm_xe_vm_bind_op {* operations, the BO handle MBZ, and the BO offset MBZ. This flag is * intended to implement VK sparse bindings. */ +#define XE_VM_BIND_FLAG_NULL (0x1 << 3) +/* +* If capture flag is set, on gpu error the contents of this bind +* will be included in the device (XXX: per process) error state dump. +*/ +#define XE_VM_BIND_FLAG_CAPTURE (0x1 << 20)/** @flags: Bind flags */ __u32 flags;
@@ -1092,6 +1121,80 @@ struct drm_xe_vm_madvise {#define XE_PMU_MEDIA_GROUP_BUSY (gt) ___XE_PMU_OTHER(gt, 3)#define XE_PMU_ANY_ENGINE_GROUP_BUSY (gt) ___XE_PMU_OTHER(gt, 4) +/* +* struct drm_xe_debug_metadata_create - Create debug metadata +* +* Add a region of user memory to be marked as debug metadata. +* When the debugger attaches, the metadata regions will be delivered +* for debugger. Debugger can then map these regions to help decode +* the program state. +* +* Returns handle to created metadata entry. +*/ +struct drm_xe_debug_metadata_create { +/** @extensions: Pointer to the first extension struct, if any */ +__u64 extensions; + +#define DRM_XE_DEBUG_METADATA_ELF_BINARY 0 +#define DRM_XE_DEBUG_METADATA_PROGRAM_MODULE 1 +/** @type: Type of metadata */ +__u64 type; + +/** @user_addr: pointer to start of the metadata */ +__u64 user_addr; + +/** @len: length, in bytes of the medata */ +__u64 len; + +/** @id: created metadata handle (out) */ +__u64 id; +}; + +/** +* struct drm_xe_debug_metadata_destroy - Destroy debug metadata +* +* Destroy debug metadata. +*/ +struct drm_xe_debug_metadata_destroy { +/** @extensions: Pointer to the first extension struct, if any */ +__u64 extensions; + +/** @id: metadata handle to destroy */ +__u64 id; +}; + +/** +* struct drm_xe_ext_vm_set_debug_metadata - Annotate metadata in vm +* +* Annotate static regions of vm to be noted as debug metadata. +* These will be communicated to a debugger and (XXX: selectively?) +* included in gpu error state. +* +*/ +struct drm_xe_ext_vm_set_debug_metadata { +/** @base: base user extension */ +struct xe_user_extension base; + +#define DRM_XE_VM_DEBUG_METADATA_COOKIE 0 +#define DRM_XE_VM_DEBUG_METADATA_MODULE_AREA 1 +#define DRM_XE_VM_DEBUG_METADATA_SBA_AREA 2 +#define DRM_XE_VM_DEBUG_METADATA_SIP_AREA 3 +#define DRM_XE_VM_DEBUG_METADATA_NUM (1 + DRM_XE_VM_DEBUG_METADATA_SIP_AREA) +/** @type: Type of metadata at offset if not cookie */ +__u64 type; + +union { +/**@cookie: Cookie value to attach if type is METADATA_COOKIE */ +__u64 cookie; + +/**@offset: Offset into vm where metadata starts */ +__u64 offset; + }; + +/** @len: Length of metadata in bytes or zero for cookie */ +__u64 len; +}; +#if defined(__cplusplus) }#endif
Signature · 1 line
2.34.1
RFC 14/25 drm/xe/eudebug: Create/destroy user metadata
In reply to Mika KuoppalaEvent definition for create/destroy user metadata
--- include/uapi/drm/xe_drm_tmp.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)
include/uapi/drm/xe_drm_tmp.h +12 -0
@@ -79,6 +79,18 @@ struct drm_xe_eudebug_event_eu_attention {__u8 bitmask[0 ]; } __attribute__((packed)); +struct drm_xe_eudebug_event_metadata { +struct drm_xe_eudebug_event base; + +__u64 client_handle; + +/* XXX: Refer to xe_drm.h for fields */ +__u64 type; +__u64 user_addr; +__u64 len; +__u64 id; +} __attribute__((packed)); +/* * Debugger ABI (ioctl and events) Version History: * 0 - No debugger available
Signature · 1 line
2.34.1
RFC 15/25 drm/xe/eudebug: Set vm metadata
In reply to Mika KuoppalaEvent definition for set vm metadata
--- include/uapi/drm/xe_drm_tmp.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
include/uapi/drm/xe_drm_tmp.h +15 -0
@@ -91,6 +91,21 @@ struct drm_xe_eudebug_event_metadata {__u64 id; } __attribute__((packed)); +struct drm_xe_eudebug_event_vm_set_metadata { +struct drm_xe_eudebug_event base; + +__u64 client_handle; +__u64 vm_handle; + +/* XXX: Refer to xe_drm.h for fields */ +__u64 type; +union { +__u64 cookie; +__u64 offset; + }; +__u64 len; +} __attribute__((packed)); +/* * Debugger ABI (ioctl and events) Version History: * 0 - No debugger available
Signature · 1 line
2.34.1
RFC 16/25 drm/xe/eudebug: User coredump support
In reply to Mika KuoppalaCapture the user state when gpu encounters error. We start by allowing user to mark vma to of intrest so that its content will be included in the coredump.
--- drivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/xe_device_types.h | 1 + drivers/gpu/drm/xe/xe_eudebug.c | 1 - drivers/gpu/drm/xe/xe_usercoredump.c | 292 +++++++++++++++++++++ drivers/gpu/drm/xe/xe_usercoredump.h | 19 ++ drivers/gpu/drm/xe/xe_usercoredump_types.h | 48 ++++ drivers/gpu/drm/xe/xe_vm.c | 33 ++- drivers/gpu/drm/xe/xe_vm.h | 5 + drivers/gpu/drm/xe/xe_vm_types.h | 3 + 9 files changed, 392 insertions(+), 11 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_usercoredump.c create mode 100644 drivers/gpu/drm/xe/xe_usercoredump.h create mode 100644 drivers/gpu/drm/xe/xe_usercoredump_types.h
drivers/gpu/drm/xe/Makefile +1 -0
@@ -48,6 +48,7 @@ xe-y += xe_bb.o \ xe_bo_evict.o \ xe_debugfs.o \ xe_devcoredump.o \ + xe_usercoredump.o \ xe_device.o \ xe_device_sysfs.o \ xe_dma_buf.o \
drivers/gpu/drm/xe/xe_device_types.h +1 -0
@@ -14,6 +14,7 @@#include "xe_devcoredump_types.h" #include "xe_heci_gsc.h" +#include "xe_usercoredump_types.h" #include "xe_gt_types.h" #include "xe_platform_types.h" #include "xe_pt_types.h"
drivers/gpu/drm/xe/xe_eudebug.c +0 -1
@@ -24,7 +24,6 @@#include "xe_hw_engine.h" #include "xe_exec_queue.h" #include "xe_eudebug_types.h" -//#include "xe_exec_queue_types.h" #include "xe_guc_exec_queue_types.h" #include "xe_execlist_types.h" #include "xe_mmio.h"
drivers/gpu/drm/xe/xe_usercoredump.c new file +292 -0
292 lines not on this page · raw message
drivers/gpu/drm/xe/xe_usercoredump.h new file +19 -0
@@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef _XE_USER_COREDUMP__H_ +#define _XE_USER_COREDUMP__H_ + +struct xe_device ; +struct xe_exec_queue ; +struct drm_printer ; +struct xe_user_state_snapshot ; + +struct xe_user_state_snapshot * +xe_user_state_snapshot_capture (struct xe_exec_queue *eq); +void xe_user_state_snapshot_release (struct xe_user_state_snapshot *s); +void xe_user_state_snapshot_print (struct xe_user_state_snapshot *s, +struct drm_printer *p); +#endif
drivers/gpu/drm/xe/xe_usercoredump_types.h new file +48 -0
48 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm.c +23 -10
@@ -865,6 +865,7 @@ static struct xe_vma *xe_vma_create(struct xe_vm *vm, u64 start, u64 end, bool read_only, bool is_null, + bool capture, u8 tile_mask) { struct xe_vma *vma;
@@ -896,7 +897,8 @@ static struct xe_vma *xe_vma_create(struct xe_vm *vm, vma->gpuva.flags |=XE_VMA_READ_ONLY ;if (is_null) vma->gpuva.flags |=DRM_GPUVA_SPARSE ; - +if (capture) + vma->gpuva.flags |=XE_VMA_CAPTURE ;if (tile_mask) { vma->tile_mask = tile_mask; }else {
@@ -2204,6 +2206,7 @@ vm_bind_ioctl_ops_create(struct xe_vm *vm, struct xe_bo *bo, op->map.read_only = flags &XE_VM_BIND_FLAG_READONLY ; op->map.is_null = flags &XE_VM_BIND_FLAG_NULL ; + op->map.capture = flags &XE_VM_BIND_FLAG_CAPTURE ; }break ;case XE_VM_BIND_OP_UNMAP :
@@ -2268,7 +2271,7 @@ vm_bind_ioctl_ops_create(struct xe_vm *vm, struct xe_bo *bo, }static struct xe_vma *new_vma (struct xe_vm *vm,struct drm_gpuva_op_map *op, -u8 tile_mask,bool read_only,bool is_null) +u8 tile_mask,bool read_only,bool is_null,bool capture) {struct xe_bo *bo = op->gem.obj ?gem_to_xe_bo (op->gem.obj) :NULL ;struct xe_vma *vma;
@@ -2283,7 +2286,7 @@ static struct xe_vma *new_vma(struct xe_vm *vm, struct drm_gpuva_op_map *op, } vma =xe_vma_create (vm, bo, op->gem.offset, op->va.addr, op->va.addr + - op->va.range -1 , read_only, is_null, + op->va.range -1 , read_only, is_null, capture, tile_mask);if (bo)xe_bo_unlock (bo);
@@ -2430,7 +2433,7 @@ static int vm_bind_ioctl_ops_parse(struct xe_vm *vm, struct xe_exec_queue *q, vma =new_vma (vm, &op->base.map, op->tile_mask, op->map.read_only, - op->map.is_null); + op->map.is_null, op->map.capture);if (IS_ERR (vma))return PTR_ERR (vma);
@@ -2456,7 +2459,7 @@ static int vm_bind_ioctl_ops_parse(struct xe_vm *vm, struct xe_exec_queue *q, vma =new_vma (vm, op->base.remap.prev, op->tile_mask, read_only, - is_null); + is_null, op->map.capture);if (IS_ERR (vma))return PTR_ERR (vma);
@@ -2487,10 +2490,13 @@ static int vm_bind_ioctl_ops_parse(struct xe_vm *vm, struct xe_exec_queue *q,bool is_null = op->base.remap.unmap->va->flags &DRM_GPUVA_SPARSE ; +bool capture = + op->base.remap.unmap->va->flags & +XE_VMA_CAPTURE ; vma =new_vma (vm, op->base.remap.next, op->tile_mask, read_only, - is_null); + is_null, capture);if (IS_ERR (vma))return PTR_ERR (vma);
@@ -2835,12 +2841,12 @@ static int vm_bind_ioctl_ops_execute(struct xe_vm *vm,#define SUPPORTED_FLAGS \ (FORCE_ASYNC_OP_ERROR | XE_VM_BIND_FLAG_ASYNC | \ XE_VM_BIND_FLAG_READONLY | XE_VM_BIND_FLAG_IMMEDIATE | \ - XE_VM_BIND_FLAG_NULL | 0xffff) + XE_VM_BIND_FLAG_NULL | XE_VM_BIND_FLAG_CAPTURE | 0xffff)#else #define SUPPORTED_FLAGS \ (XE_VM_BIND_FLAG_ASYNC | XE_VM_BIND_FLAG_READONLY | \ XE_VM_BIND_FLAG_IMMEDIATE | XE_VM_BIND_FLAG_NULL | \ - 0xffff) + XE_VM_BIND_FLAG_CAPTURE | 0xffff)#endif #define XE_64K_PAGE_MASK 0xffffull
@@ -2888,6 +2894,7 @@ static int vm_bind_ioctl_check_args(struct xe_device *xe,u64 obj_offset = (*bind_ops)[i].obj_offset;u32 region = (*bind_ops)[i].region;bool is_null = flags &XE_VM_BIND_FLAG_NULL ; +bool capture = flags &XE_VM_BIND_FLAG_CAPTURE ;if (i ==0 ) { *async = !!(flags &XE_VM_BIND_FLAG_ASYNC );
@@ -2918,6 +2925,10 @@ static int vm_bind_ioctl_check_args(struct xe_device *xe, op == XE_VM_BIND_OP_UNMAP_ALL) ||XE_IOCTL_DBG (xe, obj && op ==XE_VM_BIND_OP_MAP_USERPTR ) || +XE_IOCTL_DBG (xe, capture && + op !=XE_VM_BIND_OP_MAP_USERPTR && + op !=XE_VM_BIND_OP_MAP ) || +XE_IOCTL_DBG (xe, capture && is_null) ||XE_IOCTL_DBG (xe, obj && op ==XE_VM_BIND_OP_PREFETCH ) || XE_IOCTL_DBG(xe, region &&
@@ -3295,6 +3306,7 @@ int xe_analyze_vm(struct drm_printer *p, struct xe_vm *vm, int gt_id)struct xe_vma *vma =gpuva_to_vma (gpuva);bool is_userptr =xe_vma_is_userptr (vma);bool is_null =xe_vma_is_null (vma); +bool capture =xe_vma_is_capture_requested (vma);if (is_null) { addr =0 ;
@@ -3312,11 +3324,12 @@ int xe_analyze_vm(struct drm_printer *p, struct xe_vm *vm, int gt_id) addr =__xe_bo_addr (xe_vma_bo (vma),0 ,XE_PAGE_SIZE ); is_vram =xe_bo_is_vram (xe_vma_bo (vma)); } -drm_printf (p," [%016llx-%016llx] S:0x%016llx A:%016llx %s\n" , +drm_printf (p," [%016llx-%016llx] S:0x%016llx A:%016llx %s %s\n" ,xe_vma_start (vma),xe_vma_end (vma) -1 ,xe_vma_size (vma), addr, is_null ?"NULL" : is_userptr ?"USR" : - is_vram ?"VRAM" :"SYS" ); + is_vram ?"VRAM" :"SYS" , + capture ?"(captured)" :"not captured" ); }up_read (&vm->lock);
drivers/gpu/drm/xe/xe_vm.h +5 -0
@@ -129,6 +129,11 @@ static inline bool xe_vma_is_null(struct xe_vma *vma)return vma->gpuva.flags &DRM_GPUVA_SPARSE ; } +static inline bool xe_vma_is_capture_requested (struct xe_vma *vma) +{ +return vma->gpuva.flags &XE_VMA_CAPTURE ; +} +static inline bool xe_vma_has_no_bo (struct xe_vma *vma) {return !xe_vma_bo (vma);
drivers/gpu/drm/xe/xe_vm_types.h +3 -0
@@ -32,6 +32,7 @@ struct xe_vm;#define XE_VMA_PTE_4K (DRM_GPUVA_USERBITS << 5)#define XE_VMA_PTE_2M (DRM_GPUVA_USERBITS << 6)#define XE_VMA_PTE_1G (DRM_GPUVA_USERBITS << 7) +#define XE_VMA_CAPTURE (DRM_GPUVA_USERBITS << 8)/** struct xe_userptr - User pointer */ struct xe_userptr {
@@ -340,6 +341,8 @@ struct xe_vma_op_map {bool read_only;/** @is_null: is NULL binding */ bool is_null; +/** @capture:: Try to include in devcoredump */ +bool capture; };/** struct xe_vma_op_remap - VMA remap operation */
Signature · 1 line
2.34.1
RFC 17/25 drm/xe/eudebug: Add per process coredumps
In reply to Mika KuoppalaWe gather state of execution errors for particular pid for retrospection. State includes vmas, contents of vmas that were marked for capture and vm and vma based metadata.
TODO: Quotas
--- drivers/gpu/drm/xe/xe_device.c | 3 + drivers/gpu/drm/xe/xe_device_types.h | 3 + drivers/gpu/drm/xe/xe_usercoredump.c | 182 ++++++++++++++++++++- drivers/gpu/drm/xe/xe_usercoredump.h | 7 + drivers/gpu/drm/xe/xe_usercoredump_types.h | 23 +++ 5 files changed, 217 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_device.c +3 -0
@@ -41,6 +41,7 @@#include "xe_wait_user_fence.h" #include "xe_hwmon.h" #include "xe_eudebug.h" +#include "xe_usercoredump.h" #ifdef CONFIG_LOCKDEP struct lockdep_map xe_device_mem_access_lockdep_map = {
@@ -456,6 +457,7 @@ int xe_device_probe(struct xe_device *xe)xe_display_register (xe);xe_debugfs_register (xe); +xe_usercoredumps_init (xe);xe_pmu_register (&xe->pmu);
@@ -479,6 +481,7 @@ int xe_device_probe(struct xe_device *xe)static void xe_device_remove_display (struct xe_device *xe) { +xe_usercoredumps_fini (xe);xe_display_unregister (xe);drm_dev_unplug (&xe->drm);
drivers/gpu/drm/xe/xe_device_types.h +3 -0
@@ -203,6 +203,9 @@ struct xe_device {/** @devcoredump: device coredump */ struct xe_devcoredump devcoredump; +/** @usercoredumps: User state coredump repository */ +struct xe_usercoredumps usercoredumps; +/** @info: device info */ struct intel_device_info {/** @graphics_name: graphics IP name */
drivers/gpu/drm/xe/xe_usercoredump.c +181 -1
197 lines not on this page · raw message
drivers/gpu/drm/xe/xe_usercoredump.h +7 -0
@@ -16,4 +16,11 @@ xe_user_state_snapshot_capture(struct xe_exec_queue *eq);void xe_user_state_snapshot_release (struct xe_user_state_snapshot *s);void xe_user_state_snapshot_print (struct xe_user_state_snapshot *s,struct drm_printer *p); + +void xe_usercoredumps_init (struct xe_device *xe); +void xe_usercoredumps_fini (struct xe_device *xe); +int xe_usercoredumps_add (struct xe_device *xe, +struct xe_user_state_snapshot *s); +int xe_usercoredumps_remove (struct xe_device *xe, +struct xe_user_state_snapshot *s);#endif
drivers/gpu/drm/xe/xe_usercoredump_types.h +23 -0
@@ -9,8 +9,10 @@#include <linux/ktime.h> #include <linux/mutex.h> #include <linux/sched.h> +#include <linux/xarray.h> struct xe_device ; +struct xe_pidroot ;struct xe_vma_snapshot {struct list_head link;
@@ -34,6 +36,7 @@ struct xe_vma_snapshot {* shows the state of the GPU of when the issue has happened. */ struct xe_user_state_snapshot { +struct list_head link;struct {struct mutex lock;
@@ -43,6 +46,26 @@ struct xe_user_state_snapshot {struct pid *pid;u64 client_id;/* drm client id */ char comm[TASK_COMM_LEN ]; +u64 count; + +struct xe_pidroot *pidroot; + struct dentry *dentry; +}; + +struct xe_pidroot { +struct xe_usercoredumps *store; +int pid_nr; +unsigned long seqno; +struct list_head snapshots; +struct dentry *dentry; +}; + +struct xe_usercoredumps { +struct xe_device *xe; +struct mutex lock; +struct xarray pidroots; + +struct dentry *debugfs_root; };#endif
Signature · 1 line
2.34.1
RFC 18/25 drm/xe: Debug metadata create/destroy ioctls
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Ad a part of eu debug feature introduce debug metadata objects. These are to be used to pass metadata between client and debugger, by attaching them to vm_bind operations.
--- drivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/xe_debug_metadata.c | 107 +++++++++++++++++++ drivers/gpu/drm/xe/xe_debug_metadata.h | 23 ++++ drivers/gpu/drm/xe/xe_debug_metadata_types.h | 28 +++++ drivers/gpu/drm/xe/xe_device.c | 17 +++ drivers/gpu/drm/xe/xe_device_types.h | 8 ++ 6 files changed, 184 insertions(+) create mode 100644 drivers/gpu/drm/xe/xe_debug_metadata.c create mode 100644 drivers/gpu/drm/xe/xe_debug_metadata.h create mode 100644 drivers/gpu/drm/xe/xe_debug_metadata_types.h
drivers/gpu/drm/xe/Makefile +1 -0
@@ -47,6 +47,7 @@ xe-y += xe_bb.o \ xe_bo.o \ xe_bo_evict.o \ xe_debugfs.o \ + xe_debug_metadata.o \ xe_devcoredump.o \ xe_usercoredump.o \ xe_device.o \
drivers/gpu/drm/xe/xe_debug_metadata.c new file +107 -0
107 lines not on this page · raw message
drivers/gpu/drm/xe/xe_debug_metadata.h new file +23 -0
@@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef _XE_DEBUG_METADATA_H_ +#define _XE_DEBUG_METADATA_H_ + +#include "xe_debug_metadata_types.h" + +struct drm_device ; +struct drm_file ; + +void xe_debug_metadata_put (struct xe_debug_metadata *mdata); + +int xe_debug_metadata_create_ioctl (struct drm_device *dev, +void *data, +struct drm_file *file); + +int xe_debug_metadata_destroy_ioctl (struct drm_device *dev, +void *data, +struct drm_file *file); +#endif
drivers/gpu/drm/xe/xe_debug_metadata_types.h new file +28 -0
@@ -0,0 +1,28 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2023 Intel Corporation +*/ + +#ifndef _XE_DEBUG_METADATA_TYPES_H_ +#define _XE_DEBUG_METADATA_TYPES_H_ + +#include <linux/kref.h> + +struct xe_debug_metadata { +/** @type: type of given metadata */ +u64 type; + +/** @ptr: copy of userptr, given as a metadata payload */ +void *ptr; + +/** @len: length, in bytes of the metadata */ +u64 len; + +/** @id */ +u64 id; + +/** @ref: reference count */ +struct kref refcount; +}; + +#endif
drivers/gpu/drm/xe/xe_device.c +17 -0
@@ -19,6 +19,7 @@#include "regs/xe_regs.h" #include "xe_bo.h" #include "xe_debugfs.h" +#include "xe_debug_metadata.h" #include "xe_display.h" #include "xe_dma_buf.h" #include "xe_drm_client.h"
@@ -76,6 +77,9 @@ static int xe_file_open(struct drm_device *dev, struct drm_file *file)mutex_init (&xef->exec_queue.lock);xa_init_flags (&xef->exec_queue.xa,XA_FLAGS_ALLOC1 ); +mutex_init (&xef->debug_metadata.lock); +xa_init_flags (&xef->debug_metadata.xa,XA_FLAGS_ALLOC1 ); + file->driver_priv = xef; ret =xa_alloc (&xe->clients.xa, &xef->client_id, xef, xa_limit_32b,GFP_KERNEL );
@@ -97,6 +101,7 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)struct xe_file *xef = file->driver_priv;struct xe_vm *vm;struct xe_exec_queue *q; +struct xe_debug_metadata *mdata;unsigned long idx;xe_eudebug_file_close (xef);
@@ -122,7 +127,15 @@ static void xe_file_close(struct drm_device *dev, struct drm_file *file)xa_destroy (&xef->vm.xa);mutex_destroy (&xef->vm.lock); +mutex_lock (&xef->debug_metadata.lock); +xa_for_each (&xef->debug_metadata.xa, idx, mdata) +xe_debug_metadata_put (mdata); +mutex_unlock (&xef->debug_metadata.lock); +xa_destroy (&xef->debug_metadata.xa); +mutex_destroy (&xef->debug_metadata.lock); +xe_drm_client_put (xef->client); +kfree (xef); }
@@ -147,6 +160,10 @@ static const struct drm_ioctl_desc xe_ioctls[] = { DRM_RENDER_ALLOW),DRM_IOCTL_DEF_DRV (XE_VM_MADVISE ,xe_vm_madvise_ioctl ,DRM_RENDER_ALLOW ),DRM_IOCTL_DEF_DRV (XE_EUDEBUG_CONNECT ,xe_eudebug_connect_ioctl ,DRM_RENDER_ALLOW ), +DRM_IOCTL_DEF_DRV (XE_DEBUG_METADATA_CREATE ,xe_debug_metadata_create_ioctl , +DRM_RENDER_ALLOW ), +DRM_IOCTL_DEF_DRV (XE_DEBUG_METADATA_DESTROY ,xe_debug_metadata_destroy_ioctl , + DRM_RENDER_ALLOW), };static const struct file_operations xe_driver_fops = {
drivers/gpu/drm/xe/xe_device_types.h +8 -0
@@ -543,6 +543,14 @@ struct xe_file {/** @client_id: id in clients.xa for eudebug discovery */ int client_id; + +/** @debug_metadata: array of debug metadata for file */ +struct { +/** @xa: xarray to store engines */ +struct xarray xa; +/** @lock: protects file engine state */ +struct mutex lock; + } debug_metadata; };#endif
Signature · 1 line
2.34.1
RFC 19/25 xe/drm: Include debug_metadata in usercoredump
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Include all created debug metadatas in usercoredump, so the user can include i.e. elf binary to make the meaningful in offline analysis.
--- drivers/gpu/drm/xe/xe_usercoredump.c | 54 +++++++++++++++++++++- drivers/gpu/drm/xe/xe_usercoredump_types.h | 9 ++++ 2 files changed, 62 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_usercoredump.c +53 -1
@@ -5,6 +5,9 @@#include "xe_usercoredump.h" +#include <drm/xe_drm.h> + +#include "xe_debug_metadata.h" #include "xe_device_types.h" #include "xe_exec_queue_types.h" #include "xe_vm.h"
@@ -123,12 +126,19 @@ static void free_vma_snapshot(struct xe_vma_snapshot *s)void xe_user_state_snapshot_release (struct xe_user_state_snapshot *s) {struct xe_vma_snapshot *v, *v_tmp; +struct xe_debug_metadata_snapshot *ms, *ms_tmp;mutex_lock (&s->vmas.lock);list_for_each_entry_safe (v, v_tmp, &s->vmas.list, link)free_vma_snapshot (v);mutex_unlock (&s->vmas.lock); +list_for_each_entry_safe (ms, ms_tmp, &s->metadata_list, link) { +list_del (&ms->link); +xe_debug_metadata_put (ms->mdata); +kfree (ms); + } +mutex_destroy (&s->vmas.lock);put_pid (s->pid);
@@ -195,6 +205,28 @@ static void capture_vmas(struct xe_user_state_snapshot *s,up_read (&vm->lock); } +static void capture_metadata (struct xe_user_state_snapshot *s, +struct xe_file *xef) +{ +struct xe_debug_metadata_snapshot *ms; +struct xe_debug_metadata *mdata; +unsigned long i; + +INIT_LIST_HEAD (&s->metadata_list); +mutex_lock (&xef->debug_metadata.lock); +xa_for_each (&xef->debug_metadata.xa, i, mdata) { + ms =kzalloc (sizeof (*ms),GFP_KERNEL ); +if (!ms) +break ; + +INIT_LIST_HEAD (&ms->link); +list_add (&ms->link, &s->metadata_list); +kref_get (&mdata->refcount); + ms->mdata = mdata; + } +mutex_unlock (&xef->debug_metadata.lock); +} +static void hexdump (struct drm_printer *m,const void *buf,size_t len) {const size_t rowsize =8 *sizeof (u32);
@@ -242,10 +274,23 @@ static void vma_snapshot_print(struct drm_printer *p,hexdump (p, s->data, s->captured_bytes); } +static const char *debug_metadata_type_to_str (const u64 type) +{ +switch (type) { +case DRM_XE_DEBUG_METADATA_ELF_BINARY : +return "elf binary" ; +case DRM_XE_DEBUG_METADATA_PROGRAM_MODULE : +return "program module" ; + } + +return "unknown" ; +} +void xe_user_state_snapshot_print (struct xe_user_state_snapshot *s,struct drm_printer *p) {struct xe_vma_snapshot *v; +struct xe_debug_metadata_snapshot *ms;drm_printf (p,"PID: %d\n" ,pid_vnr (s->pid));drm_printf (p,"Comm: %s\n" , s->comm);
@@ -254,8 +299,13 @@ void xe_user_state_snapshot_print(struct xe_user_state_snapshot *s,mutex_lock (&s->vmas.lock);list_for_each_entry (v, &s->vmas.list, link)vma_snapshot_print (p, v); -mutex_unlock (&s->vmas.lock); + +list_for_each_entry (ms, &s->metadata_list, link) { +drm_printf (p,"Metadata id=%llu of type %s:\n" , + ms->mdata->id,debug_metadata_type_to_str (ms->mdata->type)); +hexdump (p, ms->mdata->ptr, ms->mdata->len); + } } struct xe_user_state_snapshot *
@@ -287,6 +337,8 @@ xe_user_state_snapshot_capture(struct xe_exec_queue *q) }capture_vmas (s, q); +capture_metadata (s, xef); +return s; }
drivers/gpu/drm/xe/xe_usercoredump_types.h +9 -0
@@ -13,6 +13,7 @@struct xe_device ;struct xe_pidroot ; +struct xe_debug_metadata ;struct xe_vma_snapshot {struct list_head link;
@@ -28,6 +29,12 @@ struct xe_vma_snapshot {void *data; }; +struct xe_debug_metadata_snapshot { +struct list_head link; + +struct xe_debug_metadata *mdata; +}; +/** * struct xe_user_state_snapshot - Crash snapshot *
@@ -43,6 +50,8 @@ struct xe_user_state_snapshot {struct list_head list; } vmas; +struct list_head metadata_list; +struct pid *pid;u64 client_id;/* drm client id */ char comm[TASK_COMM_LEN ];
Signature · 1 line
2.34.1
RFC 20/25 drm/xe: Set vm debug metadata
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
Implement set debug metadata vm extension, which allow to the vm debug information needed by dbgUMD.
--- drivers/gpu/drm/xe/xe_usercoredump.c | 51 +++++++++- drivers/gpu/drm/xe/xe_usercoredump_types.h | 7 ++ drivers/gpu/drm/xe/xe_vm.c | 107 +++++++++++++++++++-- drivers/gpu/drm/xe/xe_vm_types.h | 23 +++++ 4 files changed, 177 insertions(+), 11 deletions(-)
drivers/gpu/drm/xe/xe_usercoredump.c +46 -5
@@ -5,7 +5,6 @@#include "xe_usercoredump.h" -#include <drm/xe_drm.h> #include "xe_debug_metadata.h" #include "xe_device_types.h"
@@ -206,9 +205,11 @@ static void capture_vmas(struct xe_user_state_snapshot *s, }static void capture_metadata (struct xe_user_state_snapshot *s, -struct xe_file *xef) +struct xe_file *xef, +struct xe_vm *vm) {struct xe_debug_metadata_snapshot *ms; +struct xe_vm_debug_metadata *vmd;struct xe_debug_metadata *mdata;unsigned long i;
@@ -225,6 +226,17 @@ static void capture_metadata(struct xe_user_state_snapshot *s, ms->mdata = mdata; }mutex_unlock (&xef->debug_metadata.lock); + +xe_vm_get (vm); +list_for_each_entry (vmd, &vm->debug_metadata, link) { + +if (vmd->type >=ARRAY_SIZE (s->vm_metadata)) +continue ; + + s->vm_metadata[vmd->type].value = vmd->offset; + s->vm_metadata[vmd->type].len = vmd->len; + } +xe_vm_put (vm); }static void hexdump (struct drm_printer *m,const void *buf,size_t len)
@@ -286,11 +298,28 @@ static const char *debug_metadata_type_to_str(const u64 type)return "unknown" ; } +static const char *vm_metadata_type_to_str (const u64 type) +{ +switch (type) { +case DRM_XE_VM_DEBUG_METADATA_COOKIE : +return "Cookie" ; +case DRM_XE_VM_DEBUG_METADATA_MODULE_AREA : +return "Module area" ; +case DRM_XE_VM_DEBUG_METADATA_SBA_AREA : +return "Sba area" ; +case DRM_XE_VM_DEBUG_METADATA_SIP_AREA : +return "Sip area" ; + } + +return "Unknown" ; +} +void xe_user_state_snapshot_print (struct xe_user_state_snapshot *s,struct drm_printer *p) {struct xe_vma_snapshot *v;struct xe_debug_metadata_snapshot *ms; +int i;drm_printf (p,"PID: %d\n" ,pid_vnr (s->pid));drm_printf (p,"Comm: %s\n" , s->comm);
@@ -302,10 +331,22 @@ void xe_user_state_snapshot_print(struct xe_user_state_snapshot *s,mutex_unlock (&s->vmas.lock);list_for_each_entry (ms, &s->metadata_list, link) { -drm_printf (p,"Metadata id=%llu of type %s:\n" , - ms->mdata->id,debug_metadata_type_to_str (ms->mdata->type)); +drm_printf (p,"Metadata id:%llu s:0x%016llx of type %s:\n" , + ms->mdata->id, ms->mdata->len, +debug_metadata_type_to_str (ms->mdata->type));hexdump (p, ms->mdata->ptr, ms->mdata->len); } + +for (i =0 ; i <ARRAY_SIZE (s->vm_metadata); i++) +if (i ==DRM_XE_VM_DEBUG_METADATA_COOKIE ) +drm_printf (p,"%s: 0x%016llx\n" , +vm_metadata_type_to_str (i), s->vm_metadata[i].value); +else +drm_printf (p,"%s: 0x%08x_%08x size=0x%llx\n" , +vm_metadata_type_to_str (i), +upper_32_bits (s->vm_metadata[i].value), +lower_32_bits (s->vm_metadata[i].value), + s->vm_metadata[i].len); } struct xe_user_state_snapshot *
@@ -337,7 +378,7 @@ xe_user_state_snapshot_capture(struct xe_exec_queue *q) }capture_vmas (s, q); -capture_metadata (s, xef); +capture_metadata (s, xef, q->vm);return s;
drivers/gpu/drm/xe/xe_usercoredump_types.h +7 -0
@@ -11,6 +11,8 @@#include <linux/sched.h> #include <linux/xarray.h> +#include <drm/xe_drm.h> +struct xe_device ;struct xe_pidroot ;struct xe_debug_metadata ;
@@ -52,6 +54,11 @@ struct xe_user_state_snapshot {struct list_head metadata_list; +struct { +u64 value; +u64 len; + } vm_metadata[DRM_XE_VM_DEBUG_METADATA_NUM ]; +struct pid *pid;u64 client_id;/* drm client id */ char comm[TASK_COMM_LEN ];
drivers/gpu/drm/xe/xe_vm.c +101 -6
149 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm_types.h +23 -0
@@ -329,6 +329,9 @@ struct xe_vm {bool batch_invalidate_tlb;/** @xef: XE file handle for tracking this VM's drm client */ struct xe_file *xef; + +/** @debug_metadata: List of vm debug metadata */ +struct list_head debug_metadata; };/** struct xe_vma_op_map - VMA map operation */
@@ -423,4 +426,24 @@ struct xe_vma_op { }; }; +/** struct xe_vm_debug_metadata - vm creation time metadata for eu debug */ +struct xe_vm_debug_metadata { +/** @type: Type of metadata */ +u64 type; + +union { +/** @cookie: Cookie value to attach if type is METADATA_COOKIE */ +u64 cookie; + +/** @offset: Offset into vm where metadata starts */ +u64 offset; + }; + +/** @len: Length of metadata in bytes or zero for cookie */ +u64 len; + +/** @link: list of metadata attached to vm */ +struct list_head link; +}; +#endif
Signature · 1 line
2.34.1
RFC 21/25 drm/xe/: Include attention in usercapture.
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
--- drivers/gpu/drm/xe/xe_eudebug.c | 24 +++- drivers/gpu/drm/xe/xe_usercoredump.c | 140 +++++++++++++++++++++ drivers/gpu/drm/xe/xe_usercoredump_types.h | 18 +++ 3 files changed, 180 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_eudebug.c +22 -2
@@ -16,6 +16,8 @@#include "regs/xe_engine_regs.h" #include "regs/xe_gt_regs.h" +#include "xe_devcoredump.h" +#include "xe_usercoredump.h" #include "xe_device.h" #include "xe_gt.h" #include "xe_gt_debug.h"
@@ -1031,7 +1033,9 @@ static struct xe_exec_queue *runalone_active_queue_get(struct xe_gt *gt, int *lrxe_exec_queue_get (q); found = q; - *lrc_idx = idx; + +if (lrc_idx) + *lrc_idx = idx;break ; }
@@ -1187,10 +1191,26 @@ static void attention_scan_fn(struct work_struct *work) ret =xe_eudebug_handle_gt_attention (gt);if (ret) { -// TODO: error capture +struct xe_exec_queue *eq; +drm_info (>_to_xe (gt)->drm,"gt:%d unable to handle eu attention ret=%d\n" , gt_id, ret); + + eq =runalone_active_queue_get (gt,NULL ); +if (!IS_ERR (eq)) { +struct xe_user_state_snapshot *s; + + s =xe_user_state_snapshot_capture (eq); +if (s) +xe_usercoredumps_add (xe, s); + +xe_devcoredump (eq); + }else { +drm_info (>_to_xe (gt)->drm, +"cannot determine active request, set runalone\n" ); + } +xe_gt_reset_async (gt); } }
drivers/gpu/drm/xe/xe_usercoredump.c +140 -0
174 lines not on this page · raw message
drivers/gpu/drm/xe/xe_usercoredump_types.h +18 -0
@@ -12,6 +12,7 @@#include <linux/xarray.h> #include <drm/xe_drm.h> +#include "xe_gt_debug.h" struct xe_device ;struct xe_pidroot ;
@@ -37,6 +38,16 @@ struct xe_debug_metadata_snapshot {struct xe_debug_metadata *mdata; }; +struct xe_eu_attentions_snapshot { +#define MAX_EUS_PER_ROW 4u +#define MAX_THREADS 8u + +u8 att[XE_MAX_DSS_FUSE_BITS *TD_EU_ATTENTION_MAX_ROWS * +MAX_THREADS *MAX_EUS_PER_ROW /8 ]; +unsigned int size; +ktime_t ts; +}; +/** * struct xe_user_state_snapshot - Crash snapshot *
@@ -59,6 +70,13 @@ struct xe_user_state_snapshot {u64 len; } vm_metadata[DRM_XE_VM_DEBUG_METADATA_NUM ]; +struct { +u32 td_ctl;/* can be in power ctx on newer gens */ + +struct xe_eu_attentions_snapshot before; +struct xe_eu_attentions_snapshot after; + } attentions; +struct pid *pid;u64 client_id;/* drm client id */ char comm[TASK_COMM_LEN ];
Signature · 1 line
2.34.1
RFC 22/25 RFC: xe/drm: attach debug metadata to vma
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
--- drivers/gpu/drm/xe/xe_debug_metadata.c | 15 ++- drivers/gpu/drm/xe/xe_debug_metadata.h | 3 + drivers/gpu/drm/xe/xe_vm.c | 140 +++++++++++++++++++++++-- drivers/gpu/drm/xe/xe_vm_types.h | 13 +++ 4 files changed, 163 insertions(+), 8 deletions(-)
drivers/gpu/drm/xe/xe_debug_metadata.c +14 -1
@@ -23,6 +23,19 @@ void xe_debug_metadata_put(struct xe_debug_metadata *mdata)kref_put (&mdata->refcount, xe_debug_metadata_release); } +struct xe_debug_metadata *xe_debug_metadata_lookup (struct xe_file *xef,u32 id) +{ +struct xe_debug_metadata *mdata; + +mutex_lock (&xef->debug_metadata.lock); + mdata =xa_load (&xef->debug_metadata.xa, id); +if (mdata) +kref_get (&mdata->refcount); +mutex_unlock (&xef->debug_metadata.lock); + +return mdata; +} +int xe_debug_metadata_create_ioctl (struct drm_device *dev,void *data,struct drm_file *file)
@@ -68,7 +81,7 @@ int xe_debug_metadata_create_ioctl(struct drm_device *dev, }mutex_lock (&xef->debug_metadata.lock); - err =xa_alloc (&xef->debug_metadata.xa, &id, mdata, xa_limit_32b,GFP_KERNEL ); + err =xa_alloc (&xef->debug_metadata.xa, &id, mdata,XA_LIMIT (1 ,UINT_MAX ),GFP_KERNEL );mutex_unlock (&xef->debug_metadata.lock); args->id = id;
drivers/gpu/drm/xe/xe_debug_metadata.h +3 -0
@@ -10,9 +10,12 @@struct drm_device ;struct drm_file ; +struct xe_file ;void xe_debug_metadata_put (struct xe_debug_metadata *mdata); +struct xe_debug_metadata *xe_debug_metadata_lookup (struct xe_file *xef,u32 id); +int xe_debug_metadata_create_ioctl (struct drm_device *dev,void *data,struct drm_file *file);
drivers/gpu/drm/xe/xe_vm.c +133 -7
225 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vm_types.h +13 -0
@@ -123,6 +123,13 @@ struct xe_vma {struct list_head link; } extobj; +struct { +/** @debug.metadata: id of attached xe_debug_metadata */ +u32 metadata; +/** @debug.cookie: user defined cookie */ +u64 cookie; + } debug; +/** * @userptr: user pointer state, only allocated for VMAs that are * user pointers
@@ -346,6 +353,12 @@ struct xe_vma_op_map {bool is_null;/** @capture:: Try to include in devcoredump */ bool capture; +/** @metadata: attached debug metadata */ +struct { +u32 id; +u64 flags; +u64 cookie; + } metadata; };/** struct xe_vma_op_remap - VMA remap operation */
Signature · 1 line
2.34.1
RFC 23/25 drm/xe: Capture metadata attached to vma
In reply to Mika KuoppalaFrom: Dominik Grzegorzek <[email protected]>
--- drivers/gpu/drm/xe/xe_usercoredump.c | 7 ++++++- drivers/gpu/drm/xe/xe_usercoredump_types.h | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_usercoredump.c +6 -1
@@ -107,6 +107,8 @@ vma_snapshot_create(struct xe_vma *vma, u64 addr, bool is_vram) s->is_vram = is_vram; s->is_userptr =xe_vma_is_userptr (vma); s->is_null =xe_vma_is_null (vma); + s->metadata = vma->debug.metadata; + s->cookie = vma->debug.cookie;/* Ignore alloc failure by omitting contents */ if (xe_vma_is_capture_requested (vma)) {
@@ -378,13 +380,16 @@ static void vma_snapshot_print(struct drm_printer *p,const bool is_userptr = s->is_userptr;const bool is_captured = s->flags &XE_VMA_CAPTURE ; -drm_printf (p," [%016llx-%016llx] S:0x%016llx f:%08x A:%016llx %s %s\n" , +drm_printf (p," [%016llx-%016llx] S:0x%016llx f:%08x A:%016llx %s %s" , s->start, s->start + s->size, s->size, s->flags, s->dma_addr, is_null ?"NULL" : is_userptr ?"USR" : s->is_vram ?"VRAM" :"SYS" , is_captured ?"(captured)" :"" ); +drm_printf (p, s->metadata ?" m:%u c:0x%016llx\n" :"\n" , + s->metadata, s->cookie); +if (s->data)hexdump (p, s->data, s->captured_bytes); }
drivers/gpu/drm/xe/xe_usercoredump_types.h +2 -0
@@ -26,6 +26,8 @@ struct xe_vma_snapshot {u64 size;u64 dma_addr;u64 captured_bytes; +u32 metadata; +u64 cookie; bool is_vram:1; bool is_userptr:1;bool is_null;
Signature · 1 line
2.34.1
RFC 24/25 drm/xe/xe_eudebug: Add vm bind events w/o acking
In reply to Mika KuoppalaFrom: Christoph Manszewski <[email protected]>
TODO:
- reduce code duplication in xe_eudebug bind/unbind functions
- rebase on latest eudebug-dev
- address XXX
--- drivers/gpu/drm/xe/xe_eudebug.c | 93 +++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 4 ++ drivers/gpu/drm/xe/xe_eudebug_types.h | 13 ++++ drivers/gpu/drm/xe/xe_vm.c | 5 ++ include/uapi/drm/xe_drm_tmp.h | 22 +++++-- 5 files changed, 131 insertions(+), 6 deletions(-)
drivers/gpu/drm/xe/xe_eudebug.c +93 -0
@@ -1983,6 +1983,99 @@ void xe_eudebug_exec_queue_destroy(struct xe_file *xef, struct xe_exec_queue *q)xe_eudebug_put (d); } +static int send_vm_bind_event (struct xe_eudebug *d,u32 flags,u64 client_handle,u64 vm_handle, +u64 va_start,u64 va_length) +{ +struct xe_eudebug_event_vm_bind *e; +struct xe_eudebug_event *event; + +const u32 sz =sizeof (*e); + + event =xe_eudebug_create_event (d,DRM_XE_EUDEBUG_EVENT_VM_BIND , + flags, sz,GFP_KERNEL ); +if (!event) +return -ENOMEM ; + + e =from_event (e, event); + + write_member(struct drm_xe_eudebug_event_vm_bind, e, client_handle, client_handle); + write_member(struct drm_xe_eudebug_event_vm_bind, e, vm_handle, vm_handle); + write_member(struct drm_xe_eudebug_event_vm_bind, e, va_start, va_start); + write_member(struct drm_xe_eudebug_event_vm_bind, e, va_length, va_length); + +return xe_eudebug_queue_event (d, event); +} + +static int vm_bind_event (struct xe_eudebug *d,struct xe_file *xef,struct xe_vm *vm, +struct xe_vma *vma) +{ +int h_c, h_vm; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =find_handle (d->res,XE_EUDEBUG_RES_TYPE_VM , vm); +if (h_vm <0 ) +return h_vm; + +return send_vm_bind_event (d,DRM_XE_EUDEBUG_EVENT_CREATE , h_c, h_vm, vma->gpuva.va.addr, + vma->gpuva.va.range); +} + +static int vm_unbind_event (struct xe_eudebug *d,struct xe_file *xef,struct xe_vm *vm, +struct xe_vma *vma) +{ +int h_c, h_vm; + + h_c =find_handle (d->res,XE_EUDEBUG_RES_TYPE_CLIENT , xef); +if (h_c <0 ) +return h_c; + + h_vm =find_handle (d->res,XE_EUDEBUG_RES_TYPE_VM , vm); +if (h_vm <0 ) +return h_vm; + +return send_vm_bind_event (d,DRM_XE_EUDEBUG_EVENT_DESTROY , h_c, h_vm, vma->gpuva.va.addr, + vma->gpuva.va.range); +} + +void xe_eudebug_vm_bind (struct xe_file *xef,struct xe_vm *vm,struct xe_vma *vma) +{ +struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =vm_bind_event (d, xef, vm, vma); +if (err) { +eu_err (d,"error %d on %s, disconnecting" , err, __func__); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} + +void xe_eudebug_vm_unbind (struct xe_file *xef,struct xe_vm *vm,struct xe_vma *vma) +{ +struct xe_eudebug *d; +int err; + + d =xe_eudebug_get (xef); +if (!d) +return ; + + err =vm_unbind_event (d, xef, vm, vma); +if (err) { +eu_err (d,"error %d on %s, disconnecting" , err, __func__); +xe_eudebug_disconnect (d, err); + } + +xe_eudebug_put (d); +} +static int discover_client (struct xe_eudebug *d,struct xe_file *xef) {struct xe_exec_queue *q;
drivers/gpu/drm/xe/xe_eudebug.h +4 -0
@@ -10,6 +10,7 @@ struct drm_file;struct xe_device ;struct xe_file ;struct xe_vm ; +struct xe_vma ;struct xe_exec_queue ;struct xe_hw_engine ;
@@ -30,4 +31,7 @@ void xe_eudebug_vm_destroy(struct xe_file *xef, struct xe_vm *vm);void xe_eudebug_exec_queue_create (struct xe_file *xef,struct xe_exec_queue *q);void xe_eudebug_exec_queue_destroy (struct xe_file *xef,struct xe_exec_queue *q); +void xe_eudebug_vm_bind (struct xe_file *xef,struct xe_vm *vm,struct xe_vma *vma); +void xe_eudebug_vm_unbind (struct xe_file *xef,struct xe_vm *vm,struct xe_vma *vma); +#endif
drivers/gpu/drm/xe/xe_eudebug_types.h +13 -0
@@ -129,6 +129,19 @@ struct xe_eudebug_event_eu_attention {u8 bitmask[0 ]; } __packed; +/** +* struct xe_eudebug_event_vm_bind - Internal event for vm bind/unbind operation +*/ +struct xe_eudebug_event_vm_bind { +/** @base: base event */ +struct xe_eudebug_event base; +u64 client_handle; + +u64 vm_handle; +u64 va_start; +u64 va_length; +} __packed; +/** * struct xe_eudebug_handle - eudebug resource handle */
drivers/gpu/drm/xe/xe_vm.c +5 -0
@@ -1882,6 +1882,9 @@ static int __xe_vm_bind(struct xe_vm *vm, struct xe_vma *vma,dma_fence_wait (fence, true);dma_fence_put (fence); +/* XXX: get's also called for prefetch */ +xe_eudebug_vm_bind (vm->xef, vm, vma); +return 0 ; }
@@ -1919,6 +1922,8 @@ static int xe_vm_unbind(struct xe_vm *vm, struct xe_vma *vma,if (IS_ERR (fence))return PTR_ERR (fence); +xe_eudebug_vm_unbind (vm->xef, vm, vma); +xe_vma_destroy (vma, fence);if (last_op)xe_exec_queue_last_fence_set (wait_exec_queue, vm, fence);
include/uapi/drm/xe_drm_tmp.h +16 -6
@@ -28,13 +28,14 @@ struct drm_xe_eudebug_event {__u32 len;__u16 type; -#define DRM_XE_EUDEBUG_EVENT_NONE 0 -#define DRM_XE_EUDEBUG_EVENT_READ 1 -#define DRM_XE_EUDEBUG_EVENT_OPEN 2 -#define DRM_XE_EUDEBUG_EVENT_VM 3 +#define DRM_XE_EUDEBUG_EVENT_NONE 0 +#define DRM_XE_EUDEBUG_EVENT_READ 1 +#define DRM_XE_EUDEBUG_EVENT_OPEN 2 +#define DRM_XE_EUDEBUG_EVENT_VM 3#define DRM_XE_EUDEBUG_EVENT_EXEC_QUEUE 4 -#define DRM_XE_EUDEBUG_EVENT_EU_ATTENTION 5 -#define DRM_XE_EUDEBUG_EVENT_MAX_EVENT DRM_XE_EUDEBUG_EVENT_EU_ATTENTION +#define DRM_XE_EUDEBUG_EVENT_EU_ATTENTION 5 +#define DRM_XE_EUDEBUG_EVENT_VM_BIND 6 +#define DRM_XE_EUDEBUG_EVENT_MAX_EVENT DRM_XE_EUDEBUG_EVENT_VM_BIND__u16 flags;#define DRM_XE_EUDEBUG_EVENT_CREATE BIT(0)
@@ -79,6 +80,15 @@ struct drm_xe_eudebug_event_eu_attention {__u8 bitmask[0 ]; } __attribute__((packed)); +struct drm_xe_eudebug_event_vm_bind { +struct drm_xe_eudebug_event base; +__u64 client_handle; + +__u64 vm_handle; +__u64 va_start; +__u64 va_length; +} __attribute__((packed)); +struct drm_xe_eudebug_event_metadata {struct drm_xe_eudebug_event base;
Signature · 1 line
2.34.1
RFC 25/25 drm/xe/eudebug: vm open/pread/pwrite
In reply to Mika KuoppalaDebugger needs access to the client's vm to read and write. For example inspecting ISA/ELF and setting up breakpoints.
Add ioctl to open target vm with debugger client and vm_handle and hook up pread/pwrite possibility.
Open will take timeout argument so that standard fsync can be used for explicit flushing between cpu/gpu for the target vm.
TODO: userptr
TODO: flushes per engine
--- drivers/gpu/drm/xe/regs/xe_gt_regs.h | 24 ++ drivers/gpu/drm/xe/xe_eudebug.c | 384 +++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_eudebug.h | 5 + include/uapi/drm/xe_drm_tmp.h | 18 ++ 4 files changed, 431 insertions(+)
drivers/gpu/drm/xe/regs/xe_gt_regs.h +24 -0
@@ -414,6 +414,30 @@#define RCU_DEBUG_1_RUNALONE_ACTIVE REG_BIT(2)#define RCU_DEBUG_1_CONTEXT_ACTIVE REG_BIT(0) +#define RCU_ASYNC_FLUSH XE_REG(0x149fc) +#define RCU_ASYNC_FLUSH_IN_PROGRESS REG_BIT(31) +#define RCU_ASYNC_FLUSH_ENGINE_ID_SHIFT 28 +#define RCU_ASYNC_FLUSH_ENGINE_ID_DECODE1 REG_BIT(26) +#define RCU_ASYNC_FLUSH_AMFS REG_BIT(8) +#define RCU_ASYNC_FLUSH_PREFETCH REG_BIT(7) +#define RCU_ASYNC_FLUSH_DATA_PORT REG_BIT(6) +#define RCU_ASYNC_FLUSH_DATA_CACHE REG_BIT(5) +#define RCU_ASYNC_FLUSH_HDC_PIPELINE REG_BIT(4) +#define RCU_ASYNC_INVALIDATE_HDC_PIPELINE REG_BIT(3) +#define RCU_ASYNC_INVALIDATE_CONSTANT_CACHE REG_BIT(2) +#define RCU_ASYNC_INVALIDATE_TEXTURE_CACHE REG_BIT(1) +#define RCU_ASYNC_INVALIDATE_INSTRUCTION_CACHE REG_BIT(0) +#define RCU_ASYNC_FLUSH_AND_INVALIDATE_ALL ( \ + RCU_ASYNC_FLUSH_AMFS | \ + RCU_ASYNC_FLUSH_PREFETCH | \ + RCU_ASYNC_FLUSH_DATA_PORT | \ + RCU_ASYNC_FLUSH_DATA_CACHE | \ + RCU_ASYNC_FLUSH_HDC_PIPELINE | \ + RCU_ASYNC_INVALIDATE_HDC_PIPELINE | \ + RCU_ASYNC_INVALIDATE_CONSTANT_CACHE | \ + RCU_ASYNC_INVALIDATE_TEXTURE_CACHE | \ + RCU_ASYNC_INVALIDATE_INSTRUCTION_CACHE ) +#define FORCEWAKE_ACK_GT XE_REG(0x130044)#define FORCEWAKE_KERNEL BIT(0)#define FORCEWAKE_USER BIT(1)
drivers/gpu/drm/xe/xe_eudebug.c +384 -0
413 lines not on this page · raw message
drivers/gpu/drm/xe/xe_eudebug.h +5 -0
@@ -5,6 +5,8 @@#ifndef _XE_EUDEBUG_H_ +#include <linux/types.h> +struct drm_device ;struct drm_file ;struct xe_device ;
@@ -13,6 +15,7 @@ struct xe_vm;struct xe_vma ;struct xe_exec_queue ;struct xe_hw_engine ; +struct xe_vma ; int xe_eudebug_connect_ioctl(struct drm_device *dev, void *data,
@@ -34,4 +37,6 @@ void xe_eudebug_exec_queue_destroy(struct xe_file *xef, struct xe_exec_queue *q)void xe_eudebug_vm_bind (struct xe_file *xef,struct xe_vm *vm,struct xe_vma *vma);void xe_eudebug_vm_unbind (struct xe_file *xef,struct xe_vm *vm,struct xe_vma *vma); +int xe_eudebug_vm_access (struct xe_vm *vm,u64 offset, +void *buf,u64 len,bool write);#endif
include/uapi/drm/xe_drm_tmp.h +18 -0
@@ -22,6 +22,7 @@ extern "C" {*/ #define DRM_XE_EUDEBUG_IOCTL_READ_EVENT _IO('j', 0x0)#define DRM_XE_EUDEBUG_IOCTL_EU_CONTROL _IOWR('j', 0x2, struct drm_xe_eudebug_eu_control) +#define DRM_XE_EUDEBUG_IOCTL_VM_OPEN _IOW('j', 0x1, struct drm_xe_eudebug_vm_open)/* XXX: Document events to match their internal counterparts when moved to xe_drm.h */ struct drm_xe_eudebug_event {
@@ -147,6 +148,23 @@ struct drm_xe_eudebug_eu_control {__u64 bitmask_ptr; } __attribute__((packed)); +struct drm_xe_eudebug_vm_open { +/** @extensions: Pointer to the first extension struct, if any */ +__u64 extensions; + +/** @client_handle: id of client */ +__u64 client_handle; + +/** @vm_handle: id of vm */ +__u64 vm_handle; + +/** @flags: flags */ +__u64 flags; + +/** @timeout_ns: Timeout value in nanoseconds operations (fsync) */ +__u64 timeout_ns; +}; +#if defined(__cplusplus) }#endif
Signature · 1 line
2.34.1
Patchwork
CI[Intel-xe] ✓ CI.Patch_applied: success for xe-eudebug: GPU debugging interface
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: xe-eudebug: GPU debugging interface
URL : https://patchwork.freedesktop.org/series/126019/
State : success
== Summary ==
=== Applying kernel patches on branch 'drm-xe-next' with base: ===
Base commit: fc457bcc1 Revert "FIXME: drm/i915/crtc: use irqsave for locking event_lock" === git am output follows ===
.git/rebase-apply/patch:68: trailing whitespace.
warning: 1 line adds whitespace errors.
.git/rebase-apply/patch:349: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
Applying: drm/xe/eudebug: Introduce eudebug support
Applying: drm/xe/eudebug: Introduce discovery for resources
Applying: drm/xe/eudebug: Introduce exec_queue events
Applying: drm/xe/eudebug: hw enablement for eudebug
Applying: drm/xe: define XE_MAX_[DSS|EU]_FUSE_BITS globally
Applying: drm/xe: Introduce for_each_dss_steering loop
Applying: drm/xe: Export xe_hw_engine's mmio accessors
Applying: drm/xe: Add runalone engine property
Applying: drm/xe/eudebug: Introduce per device attention scan worker
Applying: drm/xe: Move and export xe_hw_engine lookup.
Applying: drm/xe/eudebug: Introduce EU control interface
Applying: drm/xe: Extend drm_xe_vm_bind_op
Applying: drm/xe/eudebug: uapi for client to debugger metadata (work in progress)
Applying: drm/xe/eudebug: Create/destroy user metadata
Applying: drm/xe/eudebug: Set vm metadata
Applying: drm/xe/eudebug: User coredump support
Applying: drm/xe/eudebug: Add per process coredumps
Applying: drm/xe: Debug metadata create/destroy ioctls
Applying: xe/drm: Include debug_metadata in usercoredump
Applying: drm/xe: Set vm debug metadata
Applying: drm/xe/: Include attention in usercapture.
Applying: RFC: xe/drm: attach debug metadata to vma
Applying: drm/xe: Capture metadata attached to vma
Applying: drm/xe/xe_eudebug: Add vm bind events w/o acking
Applying: drm/xe/eudebug: vm open/pread/pwrite
Patchwork
CI[Intel-xe] ✗ CI.checkpatch: warning for xe-eudebug: GPU debugging interface
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: xe-eudebug: GPU debugging interface
URL : https://patchwork.freedesktop.org/series/126019/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 77e8500f7589521665f03db5c263daafe60daddc
Author: Mika Kuoppala <[email protected]> Date: Mon Nov 6 13:18:45 2023 +0200
drm/xe/eudebug: vm open/pread/pwrite
Debugger needs access to the client's vm to read and write. For example inspecting ISA/ELF and setting up breakpoints.
Add ioctl to open target vm with debugger client and vm_handle and hook up pread/pwrite possibility.
Open will take timeout argument so that standard fsync can be used for explicit flushing between cpu/gpu for the target vm.
TODO: userptr
TODO: flushes per engine
+ /mt/dim checkpatch fc457bcc18109467961edc92c80b238009f6a9fb drm-intele793dfbe2 drm/xe/eudebug: Introduce eudebug support
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:172: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #172:
new file mode 100644
-:210: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #210: FILE: drivers/gpu/drm/xe/xe_eudebug.c:34:
+#define XE_EUDEBUG_DBG_ARGS(d) current->pid, \
+ task_tgid_nr(current), \
+ (d)->session, \
+ (d)->target_task->pid, \
+ task_tgid_nr((d)->target_task)
-:210: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects? #210: FILE: drivers/gpu/drm/xe/xe_eudebug.c:34:
+#define XE_EUDEBUG_DBG_ARGS(d) current->pid, \
+ task_tgid_nr(current), \
+ (d)->session, \
+ (d)->target_task->pid, \
+ task_tgid_nr((d)->target_task)
-:216: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects? #216: FILE: drivers/gpu/drm/xe/xe_eudebug.c:40:
+#define eu_err(d, fmt, ...) drm_err(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \
+ XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__)
-:218: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects? #218: FILE: drivers/gpu/drm/xe/xe_eudebug.c:42:
+#define eu_warn(d, fmt, ...) drm_warn(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \
+ XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__)
-:220: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects? #220: FILE: drivers/gpu/drm/xe/xe_eudebug.c:44:
+#define eu_dbg(d, fmt, ...) drm_dbg(&(d)->xe->drm, XE_EUDEBUG_DBG_STR # fmt, \
+ XE_EUDEBUG_DBG_ARGS(d), ##__VA_ARGS__)
-:223: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'T' may be better as '(T)' to avoid precedence issues #223: FILE: drivers/gpu/drm/xe/xe_eudebug.c:47:
+#define struct_member(T, member) (((T *)0)->member)
-:223: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'member' may be better as '(member)' to avoid precedence issues #223: FILE: drivers/gpu/drm/xe/xe_eudebug.c:47:
+#define struct_member(T, member) (((T *)0)->member)
-:225: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ptr' - possible side-effects? #225: FILE: drivers/gpu/drm/xe/xe_eudebug.c:49:
+#define write_member(T_out, ptr, member, value) { \
+ BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \
+ BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \
+ offsetof(typeof(T_out), member)); \
+ BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \
+ BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \
+ BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \
+ /* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \
+ (ptr)->member = (value); \
+ }
-:225: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'ptr' may be better as '(ptr)' to avoid precedence issues #225: FILE: drivers/gpu/drm/xe/xe_eudebug.c:49:
+#define write_member(T_out, ptr, member, value) { \
+ BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \
+ BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \
+ offsetof(typeof(T_out), member)); \
+ BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \
+ BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \
+ BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \
+ /* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \
+ (ptr)->member = (value); \
+ }
-:225: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'member' - possible side-effects? #225: FILE: drivers/gpu/drm/xe/xe_eudebug.c:49:
+#define write_member(T_out, ptr, member, value) { \
+ BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \
+ BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \
+ offsetof(typeof(T_out), member)); \
+ BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \
+ BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \
+ BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \
+ /* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \
+ (ptr)->member = (value); \
+ }
-:225: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'value' - possible side-effects? #225: FILE: drivers/gpu/drm/xe/xe_eudebug.c:49:
+#define write_member(T_out, ptr, member, value) { \
+ BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \
+ BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \
+ offsetof(typeof(T_out), member)); \
+ BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \
+ BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \
+ BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \
+ /* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \
+ (ptr)->member = (value); \
+ }
-:521: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!event" #521: FILE: drivers/gpu/drm/xe/xe_eudebug.c:345:
+ if (*event == NULL)
-:784: CHECK:SPACING: spaces preferred around that '*' (ctx:VxV) #784: FILE: drivers/gpu/drm/xe/xe_eudebug.c:608:
+ msecs_to_jiffies(10*10000));
^
-:861: CHECK:LINE_SPACING: Please don't use multiple blank lines #861: FILE: drivers/gpu/drm/xe/xe_eudebug.c:685:
+
+
-:1446: WARNING:LONG_LINE: line length of 130 exceeds 100 columns #1446: FILE: include/uapi/drm/xe_drm_tmp.h:16:
+#define DRM_IOCTL_XE_EUDEBUG_CONNECT DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_EUDEBUG_CONNECT, struct drm_xe_eudebug_connect)
total: 1 errors, 2 warnings, 13 checks, 1417 lines checked c1f1509f3 drm/xe/eudebug: Introduce discovery for resources 661ce4c31 drm/xe/eudebug: Introduce exec_queue events
-:28: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #28: FILE: drivers/gpu/drm/xe/xe_eudebug.c:1040:
+static int send_exec_queue_event(struct xe_eudebug *d, u32 flags,
+ u64 client_handle, u64 vm_handle,
-:45: WARNING:LONG_LINE: line length of 102 exceeds 100 columns #45: FILE: drivers/gpu/drm/xe/xe_eudebug.c:1057:
+ write_member(struct drm_xe_eudebug_event_exec_queue, e, exec_queue_handle, exec_queue_handle);
total: 0 errors, 1 warnings, 1 checks, 286 lines checked b16f0af5c drm/xe/eudebug: hw enablement for eudebug276eaf4f8 drm/xe: define XE_MAX_[DSS|EU]_FUSE_BITS globally -:38: WARNING:NEW_TYPEDEFS: do not add new typedefs
#38: FILE: drivers/gpu/drm/xe/xe_gt_types.h:32:
+typedef unsigned long xe_dss_mask_t[BITS_TO_LONGS(XE_MAX_DSS_FUSE_BITS)];
-:39: WARNING:NEW_TYPEDEFS: do not add new typedefs
#39: FILE: drivers/gpu/drm/xe/xe_gt_types.h:33:
+typedef unsigned long xe_eu_mask_t[BITS_TO_LONGS(XE_MAX_EU_FUSE_BITS)];
total: 0 errors, 2 warnings, 0 checks, 23 lines checked9ba055fbe drm/xe: Introduce for_each_dss_steering loop
-:70: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ss_' - possible side-effects? #70: FILE: drivers/gpu/drm/xe/xe_gt_mcr.h:36:
+#define for_each_dss_steering(ss_, gt_, group_, instance_) \
+ for (ss_ = 0, xe_gt_mcr_get_dss_steering(gt_, 0, &group_, &instance_); \
+ ss_ < XE_MAX_DSS_FUSE_BITS; \
+ ss_++, xe_gt_mcr_get_dss_steering(gt_, ss_, &group_, &instance_)) \
+ for_each_if(test_bit(ss_, gt_->fuse_topo.c_dss_mask) || \
+ test_bit(ss_, gt_->fuse_topo.g_dss_mask))
-:70: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'gt_' - possible side-effects? #70: FILE: drivers/gpu/drm/xe/xe_gt_mcr.h:36:
+#define for_each_dss_steering(ss_, gt_, group_, instance_) \
+ for (ss_ = 0, xe_gt_mcr_get_dss_steering(gt_, 0, &group_, &instance_); \
+ ss_ < XE_MAX_DSS_FUSE_BITS; \
+ ss_++, xe_gt_mcr_get_dss_steering(gt_, ss_, &group_, &instance_)) \
+ for_each_if(test_bit(ss_, gt_->fuse_topo.c_dss_mask) || \
+ test_bit(ss_, gt_->fuse_topo.g_dss_mask))
-:70: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'group_' - possible side-effects? #70: FILE: drivers/gpu/drm/xe/xe_gt_mcr.h:36:
+#define for_each_dss_steering(ss_, gt_, group_, instance_) \
+ for (ss_ = 0, xe_gt_mcr_get_dss_steering(gt_, 0, &group_, &instance_); \
+ ss_ < XE_MAX_DSS_FUSE_BITS; \
+ ss_++, xe_gt_mcr_get_dss_steering(gt_, ss_, &group_, &instance_)) \
+ for_each_if(test_bit(ss_, gt_->fuse_topo.c_dss_mask) || \
+ test_bit(ss_, gt_->fuse_topo.g_dss_mask))
-:70: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'group_' may be better as '(group_)' to avoid precedence issues #70: FILE: drivers/gpu/drm/xe/xe_gt_mcr.h:36:
+#define for_each_dss_steering(ss_, gt_, group_, instance_) \
+ for (ss_ = 0, xe_gt_mcr_get_dss_steering(gt_, 0, &group_, &instance_); \
+ ss_ < XE_MAX_DSS_FUSE_BITS; \
+ ss_++, xe_gt_mcr_get_dss_steering(gt_, ss_, &group_, &instance_)) \
+ for_each_if(test_bit(ss_, gt_->fuse_topo.c_dss_mask) || \
+ test_bit(ss_, gt_->fuse_topo.g_dss_mask))
-:70: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'instance_' - possible side-effects? #70: FILE: drivers/gpu/drm/xe/xe_gt_mcr.h:36:
+#define for_each_dss_steering(ss_, gt_, group_, instance_) \
+ for (ss_ = 0, xe_gt_mcr_get_dss_steering(gt_, 0, &group_, &instance_); \
+ ss_ < XE_MAX_DSS_FUSE_BITS; \
+ ss_++, xe_gt_mcr_get_dss_steering(gt_, ss_, &group_, &instance_)) \
+ for_each_if(test_bit(ss_, gt_->fuse_topo.c_dss_mask) || \
+ test_bit(ss_, gt_->fuse_topo.g_dss_mask))
-:70: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'instance_' may be better as '(instance_)' to avoid precedence issues #70: FILE: drivers/gpu/drm/xe/xe_gt_mcr.h:36:
+#define for_each_dss_steering(ss_, gt_, group_, instance_) \
+ for (ss_ = 0, xe_gt_mcr_get_dss_steering(gt_, 0, &group_, &instance_); \
+ ss_ < XE_MAX_DSS_FUSE_BITS; \
+ ss_++, xe_gt_mcr_get_dss_steering(gt_, ss_, &group_, &instance_)) \
+ for_each_if(test_bit(ss_, gt_->fuse_topo.c_dss_mask) || \
+ test_bit(ss_, gt_->fuse_topo.g_dss_mask))
-:77: CHECK:LINE_SPACING: Please don't use multiple blank lines #77: FILE: drivers/gpu/drm/xe/xe_gt_mcr.h:43:
+
+
total: 0 errors, 0 warnings, 7 checks, 55 lines checked cb3761f3d drm/xe: Export xe_hw_engine's mmio accessors 7ed7b8cdd drm/xe: Add runalone engine property -:75: ERROR:TRAILING_WHITESPACE: trailing whitespace #75: FILE: drivers/gpu/drm/xe/xe_lrc.c:1276:
+^I$
-:93: CHECK:LINE_SPACING: Please don't use multiple blank lines #93: FILE: drivers/gpu/drm/xe/xe_lrc.h:60:
+
+
total: 1 errors, 0 warnings, 1 checks, 65 lines checked 39e3e738f drm/xe/eudebug: Introduce per device attention scan worker Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:152: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #152: FILE: drivers/gpu/drm/xe/xe_eudebug.c:707:
+{
+
-:319: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'T' may be better as '(T)' to avoid precedence issues #319: FILE: drivers/gpu/drm/xe/xe_eudebug.c:874:
+#define struct_member(T, member) (((T *)0)->member)
-:319: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'member' may be better as '(member)' to avoid precedence issues #319: FILE: drivers/gpu/drm/xe/xe_eudebug.c:874:
+#define struct_member(T, member) (((T *)0)->member)
-:321: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ptr' - possible side-effects? #321: FILE: drivers/gpu/drm/xe/xe_eudebug.c:876:
+#define write_member(T_out, ptr, member, value) { \
+ BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \
+ BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \
+ offsetof(typeof(T_out), member)); \
+ BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \
+ BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \
+ BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \
+ /* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \
+ (ptr)->member = (value); \
+ }
-:321: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'ptr' may be better as '(ptr)' to avoid precedence issues #321: FILE: drivers/gpu/drm/xe/xe_eudebug.c:876:
+#define write_member(T_out, ptr, member, value) { \
+ BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \
+ BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \
+ offsetof(typeof(T_out), member)); \
+ BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \
+ BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \
+ BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \
+ /* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \
+ (ptr)->member = (value); \
+ }
-:321: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'member' - possible side-effects? #321: FILE: drivers/gpu/drm/xe/xe_eudebug.c:876:
+#define write_member(T_out, ptr, member, value) { \
+ BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \
+ BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \
+ offsetof(typeof(T_out), member)); \
+ BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \
+ BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \
+ BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \
+ /* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \
+ (ptr)->member = (value); \
+ }
-:321: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'value' - possible side-effects? #321: FILE: drivers/gpu/drm/xe/xe_eudebug.c:876:
+#define write_member(T_out, ptr, member, value) { \
+ BUILD_BUG_ON(sizeof(*ptr) != sizeof(T_out)); \
+ BUILD_BUG_ON(offsetof(typeof(*ptr), member) != \
+ offsetof(typeof(T_out), member)); \
+ BUILD_BUG_ON(sizeof(ptr->member) != sizeof(value)); \
+ BUILD_BUG_ON(sizeof(struct_member(T_out, member)) != sizeof(value)); \
+ BUILD_BUG_ON(!typecheck(typeof((ptr)->member), value)); \
+ /* memcpy(&ptr->member, &(value), sizeof(ptr->member)); */ \
+ (ptr)->member = (value); \
+ }
-:378: CHECK:LINE_SPACING: Please don't use multiple blank lines #378: FILE: drivers/gpu/drm/xe/xe_eudebug.c:933:
+
+
-:506: WARNING:BRACES: braces {} are not necessary for single statement blocks #506: FILE: drivers/gpu/drm/xe/xe_eudebug.c:1233:
+ if (xe->eudebug.available) {
+ attention_scan_flush(xe);
+ }
-:552: ERROR:FLEXIBLE_ARRAY: Use C99 flexible arrays - see https://docs.kernel.org/process/deprecated.html#zero-length-and-one-element-arrays
#552: FILE: drivers/gpu/drm/xe/xe_eudebug_types.h:128:
+ u8 bitmask[0];
+} __packed;
-:568: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #568:
new file mode 100644
-:587: ERROR:OPEN_BRACE: that open brace { should be on the previous line #587: FILE: drivers/gpu/drm/xe/xe_gt_debug.c:15:
+static int xe_gt_for_each_dss_group_instance(struct xe_gt *gt,
+ int (*fn)(struct xe_gt *gt,
+ void *data, + unsigned int group, + unsigned int instance),
+ void *data)
+{
-:678: CHECK:LINE_SPACING: Please don't use multiple blank lines #678: FILE: drivers/gpu/drm/xe/xe_gt_debug.c:106:
+
+
total: 2 errors, 2 warnings, 9 checks, 708 lines checked
240371147 drm/xe: Move and export xe_hw_engine lookup.
-:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
total: 0 errors, 1 warnings, 0 checks, 125 lines checked6ec79652d drm/xe/eudebug: Introduce EU control interface
-:11: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #11:
Based on implementation created by authors and other folks within i915 driver.
-:202: WARNING:UNNECESSARY_MODIFIER: Integer promotion: Using 'h' in '%hu' is unnecessary #202: FILE: drivers/gpu/drm/xe/xe_eudebug.c:826:
+ eu_dbg(d,
+ "eu_control: client_handle=%llu, cmd=%u, flags=0x%x, ci.engine_class=%hu," + "ci.engine_instance=%hu, ci.gt_id=%hu, bitmask_size=%u\n", + user_arg.client_handle, user_arg.cmd, user_arg.flags, user_arg.ci.engine_class, + user_arg.ci.gt_id, user_arg.ci.engine_instance, user_arg.bitmask_size);
-:202: WARNING:UNNECESSARY_MODIFIER: Integer promotion: Using 'h' in '%hu' is unnecessary #202: FILE: drivers/gpu/drm/xe/xe_eudebug.c:826:
+ eu_dbg(d,
+ "eu_control: client_handle=%llu, cmd=%u, flags=0x%x, ci.engine_class=%hu," + "ci.engine_instance=%hu, ci.gt_id=%hu, bitmask_size=%u\n", + user_arg.client_handle, user_arg.cmd, user_arg.flags, user_arg.ci.engine_class, + user_arg.ci.gt_id, user_arg.ci.engine_instance, user_arg.bitmask_size);
-:202: WARNING:UNNECESSARY_MODIFIER: Integer promotion: Using 'h' in '%hu' is unnecessary #202: FILE: drivers/gpu/drm/xe/xe_eudebug.c:826:
+ eu_dbg(d,
+ "eu_control: client_handle=%llu, cmd=%u, flags=0x%x, ci.engine_class=%hu," + "ci.engine_instance=%hu, ci.gt_id=%hu, bitmask_size=%u\n", + user_arg.client_handle, user_arg.cmd, user_arg.flags, user_arg.ci.engine_class, + user_arg.ci.gt_id, user_arg.ci.engine_instance, user_arg.bitmask_size);
-:213: WARNING:UNNECESSARY_MODIFIER: Integer promotion: Using 'h' in '%hu' is unnecessary #213: FILE: drivers/gpu/drm/xe/xe_eudebug.c:837:
+ eu_dbg(d,
+ "eu_control: client_handle=%llu, cmd=%u, flags=0x%x, ci.engine_class=%hu," + "ci.engine_instance=%hu, ci.gt_id=%hu, bitmask_size=%u, ret=%d\n", + user_arg.client_handle, user_arg.cmd, user_arg.flags, user_arg.ci.engine_class, + user_arg.ci.gt_id, user_arg.ci.engine_instance, user_arg.bitmask_size, ret);
-:213: WARNING:UNNECESSARY_MODIFIER: Integer promotion: Using 'h' in '%hu' is unnecessary #213: FILE: drivers/gpu/drm/xe/xe_eudebug.c:837:
+ eu_dbg(d,
+ "eu_control: client_handle=%llu, cmd=%u, flags=0x%x, ci.engine_class=%hu," + "ci.engine_instance=%hu, ci.gt_id=%hu, bitmask_size=%u, ret=%d\n", + user_arg.client_handle, user_arg.cmd, user_arg.flags, user_arg.ci.engine_class, + user_arg.ci.gt_id, user_arg.ci.engine_instance, user_arg.bitmask_size, ret);
-:213: WARNING:UNNECESSARY_MODIFIER: Integer promotion: Using 'h' in '%hu' is unnecessary #213: FILE: drivers/gpu/drm/xe/xe_eudebug.c:837:
+ eu_dbg(d,
+ "eu_control: client_handle=%llu, cmd=%u, flags=0x%x, ci.engine_class=%hu," + "ci.engine_instance=%hu, ci.gt_id=%hu, bitmask_size=%u, ret=%d\n", + user_arg.client_handle, user_arg.cmd, user_arg.flags, user_arg.ci.engine_class, + user_arg.ci.gt_id, user_arg.ci.engine_instance, user_arg.bitmask_size, ret);
-:336: CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #336: FILE: drivers/gpu/drm/xe/xe_eudebug.c:1265:
+ udelay(100);
-:345: CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #345: FILE: drivers/gpu/drm/xe/xe_eudebug.c:1274:
+ udelay(100);
-:398: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #398: FILE: drivers/gpu/drm/xe/xe_eudebug.c:1327:
+ eu_dbg(d,
+ "WRONG CLEAR (%u:%u:%u) TD_CRL: 0x%08x; TD_ATT: 0x%08x\n",
total: 0 errors, 7 warnings, 3 checks, 560 lines checked14a6b7c78 drm/xe: Extend drm_xe_vm_bind_op5da32407c drm/xe/eudebug: uapi for client to debugger metadata (work in progress) -:31: WARNING:LONG_LINE: line length of 143 exceeds 100 columns
#31: FILE: include/uapi/drm/xe_drm.h:130:
+#define DRM_IOCTL_XE_DEBUG_METADATA_CREATE DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_DEBUG_METADATA_CREATE, struct drm_xe_debug_metadata_create)
-:32: WARNING:LONG_LINE: line length of 144 exceeds 100 columns #32: FILE: include/uapi/drm/xe_drm.h:131:
+#define DRM_IOCTL_XE_DEBUG_METADATA_DESTROY DRM_IOW(DRM_COMMAND_BASE + DRM_XE_DEBUG_METADATA_DESTROY, struct drm_xe_debug_metadata_destroy)
total: 0 errors, 2 warnings, 0 checks, 141 lines checked495bbea60 drm/xe/eudebug: Create/destroy user metadata2dc23ac3e drm/xe/eudebug: Set vm metadata4aab75f57 drm/xe/eudebug: User coredump support
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:49: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #49:
new file mode 100644
-:198: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u64' over 'uint64_t' #198: FILE: drivers/gpu/drm/xe/xe_usercoredump.c:145:
+ uint64_t addr;
-:338: WARNING:STRCPY: Prefer strscpy over strcpy - see: https://github.com/KSPP/linux/issues/88
#338: FILE: drivers/gpu/drm/xe/xe_usercoredump.c:285:
+ strcpy(s->comm, "");
-:413: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #413: FILE: drivers/gpu/drm/xe/xe_usercoredump_types.h:37:
+struct xe_user_state_snapshot {
+
-:415: CHECK:UNCOMMENTED_DEFINITION: struct mutex definition without comment #415: FILE: drivers/gpu/drm/xe/xe_usercoredump_types.h:39:
+ struct mutex lock;
total: 0 errors, 2 warnings, 3 checks, 527 lines checkeda4c967d59 drm/xe/eudebug: Add per process coredumps
-:174: WARNING:SYMBOLIC_PERMS: Symbolic permissions 'S_IRUSR | S_IWUSR' are not preferred. Consider using octal permissions '0600'. #174: FILE: drivers/gpu/drm/xe/xe_usercoredump.c:387:
+ d = debugfs_create_file(name, S_IRUSR | S_IWUSR,
-:241: WARNING:MISORDERED_TYPE: type 'long unsigned int' should be specified in [[un]signed] [short|int|long|long long] order #241: FILE: drivers/gpu/drm/xe/xe_usercoredump.c:454:
+ long unsigned int pid;
-:241: WARNING:UNNECESSARY_INT: Prefer 'unsigned long' over 'long unsigned int' as the int is unnecessary #241: FILE: drivers/gpu/drm/xe/xe_usercoredump.c:454:
+ long unsigned int pid;
-:319: CHECK:UNCOMMENTED_DEFINITION: struct mutex definition without comment #319: FILE: drivers/gpu/drm/xe/xe_usercoredump_types.h:65:
+ struct mutex lock;
total: 0 errors, 3 warnings, 1 checks, 281 lines checkedb6201c624 drm/xe: Debug metadata create/destroy ioctls
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:25: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #25:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 227 lines checked eddbabfc8 xe/drm: Include debug_metadata in usercoredump 207876b25 drm/xe: Set vm debug metadata
-:43: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #43: FILE: drivers/gpu/drm/xe/xe_usercoredump.c:232:
+ list_for_each_entry(vmd, &vm->debug_metadata, link) {
+
total: 0 errors, 0 warnings, 1 checks, 297 lines checkedc10f013cd drm/xe/: Include attention in usercapture.
-:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
-:160: CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #160: FILE: drivers/gpu/drm/xe/xe_usercoredump.c:323:
+ udelay(200);
-:169: CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #169: FILE: drivers/gpu/drm/xe/xe_usercoredump.c:332:
+ udelay(200);
-:180: CHECK:BRACES: Blank lines aren't necessary before a close brace '}' #180: FILE: drivers/gpu/drm/xe/xe_usercoredump.c:343:
+
+}
total: 0 errors, 1 warnings, 3 checks, 255 lines checked6b487280f RFC: xe/drm: attach debug metadata to vma
-:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
total: 0 errors, 1 warnings, 0 checks, 289 lines checked6fcaf6ffc drm/xe: Capture metadata attached to vma
-:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
total: 0 errors, 1 warnings, 0 checks, 33 lines checked 32562466a drm/xe/xe_eudebug: Add vm bind events w/o acking 77e8500f7 drm/xe/eudebug: vm open/pread/pwrite -:29: WARNING:SPACE_BEFORE_TAB: please, no space before tabs #29: FILE: drivers/gpu/drm/xe/regs/xe_gt_regs.h:417:
+#define RCU_ASYNC_FLUSH^I ^I^I^IXE_REG(0x149fc)$
-:51: ERROR:SPACING: space prohibited before that close parenthesis ')' #51: FILE: drivers/gpu/drm/xe/regs/xe_gt_regs.h:439:
+ RCU_ASYNC_INVALIDATE_INSTRUCTION_CACHE )
-:293: ERROR:SPACING: space required after that ',' (ctx:VxV) #293: FILE: drivers/gpu/drm/xe/xe_eudebug.c:2368:
+ xe_mmio_write32(gt, psmi_addr,_MASKED_BIT_ENABLE(IDLE_MSG_DISABLE));
^
total: 2 errors, 1 warnings, 0 checks, 494 lines checked
Patchwork
CI[Intel-xe] ✓ CI.KUnit: success for xe-eudebug: GPU debugging interface
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: xe-eudebug: GPU debugging interface
URL : https://patchwork.freedesktop.org/series/126019/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
stty: 'standard input': Inappropriate ioctl for device
[11:26:17] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:26:21] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make ARCH=um O=.kunit --jobs=48 [11:26:41] Starting KUnit Kernel (1/1)... [11:26:41] ============================================================ [11:26:41] ========================== xe_bo ========================== [11:26:41] [SKIPPED] xe_ccs_migrate_kunit [11:26:41] [SKIPPED] xe_bo_evict_kunit [11:26:41] ===================== [SKIPPED] xe_bo ====================== [11:26:41] ======================= xe_dma_buf ======================== [11:26:41] [SKIPPED] xe_dma_buf_kunit [11:26:41] =================== [SKIPPED] xe_dma_buf =================== [11:26:41] ======================= xe_migrate ======================== [11:26:41] [SKIPPED] xe_migrate_sanity_kunit [11:26:41] =================== [SKIPPED] xe_migrate =================== [11:26:41] ========================= xe_pci ========================== [11:26:41] [PASSED] xe_gmdid_graphics_ip [11:26:41] [PASSED] xe_gmdid_media_ip [11:26:41] ===================== [PASSED] xe_pci ====================== [11:26:41] ========================= xe_rtp ========================== [11:26:41] ================== xe_rtp_process_tests =================== [11:26:41] [PASSED] coalesce-same-reg [11:26:41] [PASSED] no-match-no-add [11:26:41] [PASSED] no-match-no-add-multiple-rules [11:26:41] [PASSED] two-regs-two-entries [11:26:41] [PASSED] clr-one-set-other [11:26:41] [PASSED] set-field [11:26:41] [PASSED] conflict-duplicate [11:26:41] [PASSED] conflict-not-disjoint [11:26:41] [PASSED] conflict-reg-type [11:26:41] ============== [PASSED] xe_rtp_process_tests =============== [11:26:41] ===================== [PASSED] xe_rtp ====================== [11:26:41] ========================== xe_wa ========================== [11:26:41] ======================== xe_wa_gt ========================= [11:26:41] [PASSED] TIGERLAKE (B0) [11:26:41] [PASSED] DG1 (A0) [11:26:41] [PASSED] DG1 (B0) [11:26:41] [PASSED] ALDERLAKE_S (A0) [11:26:41] [PASSED] ALDERLAKE_S (B0) [11:26:41] [PASSED] ALDERLAKE_S (C0) [11:26:41] [PASSED] ALDERLAKE_S (D0) [11:26:41] [PASSED] ALDERLAKE_P (A0) [11:26:41] [PASSED] ALDERLAKE_P (B0) [11:26:41] [PASSED] ALDERLAKE_P (C0) [11:26:41] [PASSED] ALDERLAKE_S_RPLS (D0) [11:26:41] [PASSED] ALDERLAKE_P_RPLU (E0) [11:26:41] [PASSED] DG2_G10 (A0) [11:26:41] [PASSED] DG2_G10 (A1) [11:26:41] [PASSED] DG2_G10 (B0) [11:26:41] [PASSED] DG2_G10 (C0) [11:26:41] [PASSED] DG2_G11 (A0) [11:26:41] [PASSED] DG2_G11 (B0) [11:26:41] [PASSED] DG2_G11 (B1) [11:26:41] [PASSED] DG2_G12 (A0) [11:26:41] [PASSED] DG2_G12 (A1) [11:26:41] [PASSED] PVC (B0) [11:26:41] [PASSED] PVC (B1) [11:26:41] [PASSED] PVC (C0) [11:26:41] ==================== [PASSED] xe_wa_gt ===================== [11:26:41] ====================== [PASSED] xe_wa ====================== [11:26:41] ============================================================ [11:26:41] Testing complete. Ran 39 tests: passed: 35, skipped: 4 [11:26:41] Elapsed time: 24.678s total, 4.195s configuring, 20.314s building, 0.147s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [11:26:41] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:26:43] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make ARCH=um O=.kunit --jobs=48 [11:27:03] Starting KUnit Kernel (1/1)... [11:27:03] ============================================================ [11:27:03] ================== drm_test_pick_cmdline ================== [11:27:03] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [11:27:03] =============== drm_test_pick_cmdline_named =============== [11:27:03] [PASSED] NTSC [11:27:03] [PASSED] NTSC-J [11:27:03] [PASSED] PAL [11:27:03] [PASSED] PAL-M [11:27:03] =========== [PASSED] drm_test_pick_cmdline_named =========== [11:27:03] ============== [PASSED] drm_test_pick_cmdline ============== [11:27:03] ======================== drm_buddy ======================== [11:27:03] [PASSED] drm_test_buddy_alloc_limit [11:27:03] [PASSED] drm_test_buddy_alloc_range [11:27:03] [PASSED] drm_test_buddy_alloc_optimistic [11:27:03] [PASSED] drm_test_buddy_alloc_pessimistic [11:27:03] [PASSED] drm_test_buddy_alloc_smoke [11:27:03] [PASSED] drm_test_buddy_alloc_pathological [11:27:03] ==================== [PASSED] drm_buddy ==================== [11:27:03] =================== drm_cmdline_parser ==================== [11:27:03] [PASSED] drm_test_cmdline_force_d_only [11:27:03] [PASSED] drm_test_cmdline_force_D_only_dvi [11:27:03] [PASSED] drm_test_cmdline_force_D_only_hdmi [11:27:03] [PASSED] drm_test_cmdline_force_D_only_not_digital [11:27:03] [PASSED] drm_test_cmdline_force_e_only [11:27:03] [PASSED] drm_test_cmdline_res [11:27:03] [PASSED] drm_test_cmdline_res_vesa [11:27:03] [PASSED] drm_test_cmdline_res_vesa_rblank [11:27:03] [PASSED] drm_test_cmdline_res_rblank [11:27:03] [PASSED] drm_test_cmdline_res_bpp [11:27:03] [PASSED] drm_test_cmdline_res_refresh [11:27:03] [PASSED] drm_test_cmdline_res_bpp_refresh [11:27:03] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [11:27:03] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [11:27:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [11:27:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [11:27:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [11:27:03] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [11:27:03] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [11:27:03] [PASSED] drm_test_cmdline_res_margins_force_on [11:27:03] [PASSED] drm_test_cmdline_res_vesa_margins [11:27:03] [PASSED] drm_test_cmdline_name [11:27:03] [PASSED] drm_test_cmdline_name_bpp [11:27:03] [PASSED] drm_test_cmdline_name_option [11:27:03] [PASSED] drm_test_cmdline_name_bpp_option [11:27:03] [PASSED] drm_test_cmdline_rotate_0 [11:27:03] [PASSED] drm_test_cmdline_rotate_90 [11:27:03] [PASSED] drm_test_cmdline_rotate_180 [11:27:03] [PASSED] drm_test_cmdline_rotate_270 [11:27:03] [PASSED] drm_test_cmdline_hmirror [11:27:03] [PASSED] drm_test_cmdline_vmirror [11:27:03] [PASSED] drm_test_cmdline_margin_options [11:27:03] [PASSED] drm_test_cmdline_multiple_options [11:27:03] [PASSED] drm_test_cmdline_bpp_extra_and_option [11:27:03] [PASSED] drm_test_cmdline_extra_and_option [11:27:03] [PASSED] drm_test_cmdline_freestanding_options [11:27:03] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [11:27:03] [PASSED] drm_test_cmdline_panel_orientation [11:27:03] ================ drm_test_cmdline_invalid ================= [11:27:03] [PASSED] margin_only [11:27:03] [PASSED] interlace_only [11:27:03] [PASSED] res_missing_x [11:27:03] [PASSED] res_missing_y [11:27:03] [PASSED] res_bad_y [11:27:03] [PASSED] res_missing_y_bpp [11:27:03] [PASSED] res_bad_bpp [11:27:03] [PASSED] res_bad_refresh [11:27:03] [PASSED] res_bpp_refresh_force_on_off [11:27:03] [PASSED] res_invalid_mode [11:27:03] [PASSED] res_bpp_wrong_place_mode [11:27:03] [PASSED] name_bpp_refresh [11:27:03] [PASSED] name_refresh [11:27:03] [PASSED] name_refresh_wrong_mode [11:27:03] [PASSED] name_refresh_invalid_mode [11:27:03] [PASSED] rotate_multiple [11:27:03] [PASSED] rotate_invalid_val [11:27:03] [PASSED] rotate_truncated [11:27:03] [PASSED] invalid_option [11:27:03] [PASSED] invalid_tv_option [11:27:03] [PASSED] truncated_tv_option [11:27:03] ============ [PASSED] drm_test_cmdline_invalid ============= [11:27:03] =============== drm_test_cmdline_tv_options =============== [11:27:03] [PASSED] NTSC [11:27:03] [PASSED] NTSC_443 [11:27:03] [PASSED] NTSC_J [11:27:03] [PASSED] PAL [11:27:03] [PASSED] PAL_M [11:27:03] [PASSED] PAL_N [11:27:03] [PASSED] SECAM [11:27:03] =========== [PASSED] drm_test_cmdline_tv_options =========== [11:27:03] =============== [PASSED] drm_cmdline_parser ================ [11:27:03] ================ drm_get_tv_mode_from_name ================ [11:27:03] ========== drm_test_get_tv_mode_from_name_valid =========== [11:27:03] [PASSED] NTSC [11:27:03] [PASSED] NTSC-443 [11:27:03] [PASSED] NTSC-J [11:27:03] [PASSED] PAL [11:27:03] [PASSED] PAL-M [11:27:03] [PASSED] PAL-N [11:27:03] [PASSED] SECAM [11:27:03] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [11:27:03] [PASSED] drm_test_get_tv_mode_from_name_truncated [11:27:03] ============ [PASSED] drm_get_tv_mode_from_name ============ [11:27:03] ==================== drm_damage_helper ==================== [11:27:03] [PASSED] drm_test_damage_iter_no_damage [11:27:03] [PASSED] drm_test_damage_iter_no_damage_fractional_src [11:27:03] [PASSED] drm_test_damage_iter_no_damage_src_moved [11:27:03] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [11:27:03] [PASSED] drm_test_damage_iter_no_damage_not_visible [11:27:03] [PASSED] drm_test_damage_iter_no_damage_no_crtc [11:27:03] [PASSED] drm_test_damage_iter_no_damage_no_fb [11:27:03] [PASSED] drm_test_damage_iter_simple_damage [11:27:03] [PASSED] drm_test_damage_iter_single_damage [11:27:03] [PASSED] drm_test_damage_iter_single_damage_intersect_src [11:27:03] [PASSED] drm_test_damage_iter_single_damage_outside_src [11:27:03] [PASSED] drm_test_damage_iter_single_damage_fractional_src [11:27:03] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [11:27:03] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [11:27:03] [PASSED] drm_test_damage_iter_single_damage_src_moved [11:27:03] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [11:27:03] [PASSED] drm_test_damage_iter_damage [11:27:03] [PASSED] drm_test_damage_iter_damage_one_intersect [11:27:03] [PASSED] drm_test_damage_iter_damage_one_outside [11:27:03] [PASSED] drm_test_damage_iter_damage_src_moved [11:27:03] [PASSED] drm_test_damage_iter_damage_not_visible [11:27:03] ================ [PASSED] drm_damage_helper ================ [11:27:03] ==================== drm_dp_mst_helper ==================== [11:27:03] ============== drm_test_dp_mst_calc_pbn_mode ============== [11:27:03] [PASSED] Clock 154000 BPP 30 DSC disabled [11:27:03] [PASSED] Clock 234000 BPP 30 DSC disabled [11:27:03] [PASSED] Clock 297000 BPP 24 DSC disabled [11:27:03] [PASSED] Clock 332880 BPP 24 DSC enabled [11:27:03] [PASSED] Clock 324540 BPP 24 DSC enabled [11:27:03] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [11:27:03] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [11:27:03] [PASSED] DP_ENUM_PATH_RESOURCES with port number [11:27:03] [PASSED] DP_POWER_UP_PHY with port number [11:27:03] [PASSED] DP_POWER_DOWN_PHY with port number [11:27:03] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [11:27:03] [PASSED] DP_ALLOCATE_PAYLOAD with port number [11:27:03] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [11:27:03] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [11:27:03] [PASSED] DP_QUERY_PAYLOAD with port number [11:27:03] [PASSED] DP_QUERY_PAYLOAD with VCPI [11:27:03] [PASSED] DP_REMOTE_DPCD_READ with port number [11:27:03] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [11:27:03] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [11:27:03] [PASSED] DP_REMOTE_DPCD_WRITE with port number [11:27:03] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [11:27:03] [PASSED] DP_REMOTE_DPCD_WRITE with data array [11:27:03] [PASSED] DP_REMOTE_I2C_READ with port number [11:27:03] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [11:27:03] [PASSED] DP_REMOTE_I2C_READ with transactions array [11:27:03] [PASSED] DP_REMOTE_I2C_WRITE with port number [11:27:03] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [11:27:03] [PASSED] DP_REMOTE_I2C_WRITE with data array [11:27:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [11:27:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [11:27:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [11:27:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [11:27:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [11:27:03] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [11:27:03] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [11:27:03] ================ [PASSED] drm_dp_mst_helper ================ [11:27:03] ================= drm_format_helper_test ================== [11:27:03] ============== drm_test_fb_xrgb8888_to_gray8 ============== [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [11:27:03] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [11:27:03] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [11:27:03] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [11:27:03] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [11:27:03] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [11:27:03] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [11:27:03] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [11:27:03] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [11:27:03] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [11:27:03] ============== drm_test_fb_xrgb8888_to_mono =============== [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [11:27:03] ==================== drm_test_fb_swab ===================== [11:27:03] [PASSED] single_pixel_source_buffer [11:27:03] [PASSED] single_pixel_clip_rectangle [11:27:03] [PASSED] well_known_colors [11:27:03] [PASSED] destination_pitch [11:27:03] ================ [PASSED] drm_test_fb_swab ================= [11:27:03] ================= drm_test_fb_clip_offset ================= [11:27:03] [PASSED] pass through [11:27:03] [PASSED] horizontal offset [11:27:03] [PASSED] vertical offset [11:27:03] [PASSED] horizontal and vertical offset [11:27:03] [PASSED] horizontal offset (custom pitch) [11:27:03] [PASSED] vertical offset (custom pitch) [11:27:03] [PASSED] horizontal and vertical offset (custom pitch) [11:27:03] ============= [PASSED] drm_test_fb_clip_offset ============= [11:27:03] ============== drm_test_fb_build_fourcc_list ============== [11:27:03] [PASSED] no native formats [11:27:03] [PASSED] XRGB8888 as native format [11:27:03] [PASSED] remove duplicates [11:27:03] [PASSED] convert alpha formats [11:27:03] [PASSED] random formats [11:27:03] ========== [PASSED] drm_test_fb_build_fourcc_list ========== [11:27:03] =================== drm_test_fb_memcpy ==================== [11:27:03] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [11:27:03] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [11:27:03] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [11:27:03] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [11:27:03] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [11:27:03] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [11:27:03] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [11:27:03] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [11:27:03] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [11:27:03] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [11:27:03] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [11:27:03] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [11:27:03] =============== [PASSED] drm_test_fb_memcpy ================ [11:27:03] ============= [PASSED] drm_format_helper_test ============== [11:27:03] ======================= drm_format ======================== [11:27:03] [PASSED] drm_test_format_block_width_invalid [11:27:03] [PASSED] drm_test_format_block_width_one_plane [11:27:03] [PASSED] drm_test_format_block_width_two_plane [11:27:03] [PASSED] drm_test_format_block_width_three_plane [11:27:03] [PASSED] drm_test_format_block_width_tiled [11:27:03] [PASSED] drm_test_format_block_height_invalid [11:27:03] [PASSED] drm_test_format_block_height_one_plane [11:27:03] [PASSED] drm_test_format_block_height_two_plane [11:27:03] [PASSED] drm_test_format_block_height_three_plane [11:27:03] [PASSED] drm_test_format_block_height_tiled [11:27:03] [PASSED] drm_test_format_min_pitch_invalid [11:27:03] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [11:27:03] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [11:27:03] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [11:27:03] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [11:27:03] [PASSED] drm_test_format_min_pitch_two_plane [11:27:03] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [11:27:03] [PASSED] drm_test_format_min_pitch_tiled [11:27:03] =================== [PASSED] drm_format ==================== [11:27:03] ===================== drm_framebuffer ===================== [11:27:03] =============== drm_test_framebuffer_create =============== [11:27:03] [PASSED] ABGR8888 normal sizes [11:27:03] [PASSED] ABGR8888 max sizes [11:27:03] [PASSED] ABGR8888 pitch greater than min required [11:27:03] [PASSED] ABGR8888 pitch less than min required [11:27:03] [PASSED] ABGR8888 Invalid width [11:27:03] [PASSED] ABGR8888 Invalid buffer handle [11:27:03] [PASSED] No pixel format [11:27:03] [PASSED] ABGR8888 Width 0 [11:27:03] [PASSED] ABGR8888 Height 0 [11:27:03] [PASSED] ABGR8888 Out of bound height * pitch combination [11:27:03] [PASSED] ABGR8888 Large buffer offset [11:27:03] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [11:27:03] [PASSED] ABGR8888 Valid buffer modifier [11:27:03] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [11:27:03] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [11:27:03] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [11:27:03] [PASSED] NV12 Normal sizes [11:27:03] [PASSED] NV12 Max sizes [11:27:03] [PASSED] NV12 Invalid pitch [11:27:03] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [11:27:03] [PASSED] NV12 different modifier per-plane [11:27:03] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [11:27:03] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [11:27:03] [PASSED] NV12 Modifier for inexistent plane [11:27:03] [PASSED] NV12 Handle for inexistent plane [11:27:03] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [11:27:03] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [11:27:03] [PASSED] YVU420 Normal sizes [11:27:03] [PASSED] YVU420 Max sizes [11:27:03] [PASSED] YVU420 Invalid pitch [11:27:03] [PASSED] YVU420 Different pitches [11:27:03] [PASSED] YVU420 Different buffer offsets/pitches [11:27:03] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [11:27:03] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [11:27:03] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [11:27:03] [PASSED] YVU420 Valid modifier [11:27:03] [PASSED] YVU420 Different modifiers per plane [11:27:03] [PASSED] YVU420 Modifier for inexistent plane [11:27:03] [PASSED] X0L2 Normal sizes [11:27:03] [PASSED] X0L2 Max sizes [11:27:03] [PASSED] X0L2 Invalid pitch [11:27:03] [PASSED] X0L2 Pitch greater than minimum required [11:27:03] [PASSED] X0L2 Handle for inexistent plane [11:27:03] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [11:27:03] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [11:27:03] [PASSED] X0L2 Valid modifier [11:27:03] [PASSED] X0L2 Modifier for inexistent plane [11:27:03] =========== [PASSED] drm_test_framebuffer_create =========== [11:27:03] ================= [PASSED] drm_framebuffer ================= [11:27:03] ==================== drm-test-managed ===================== [11:27:03] [PASSED] drm_test_managed_run_action [11:27:03] ================ [PASSED] drm-test-managed ================= [11:27:03] ========================= drm_mm ========================== [11:27:03] [PASSED] drm_test_mm_init [11:27:03] [PASSED] drm_test_mm_debug [11:27:14] [PASSED] drm_test_mm_reserve [11:27:24] [PASSED] drm_test_mm_insert [11:27:25] [PASSED] drm_test_mm_replace [11:27:25] [PASSED] drm_test_mm_insert_range [11:27:25] [PASSED] drm_test_mm_frag [11:27:25] [PASSED] drm_test_mm_align [11:27:25] [PASSED] drm_test_mm_align32 [11:27:25] [PASSED] drm_test_mm_align64 [11:27:25] [PASSED] drm_test_mm_evict [11:27:26] [PASSED] drm_test_mm_evict_range [11:27:26] [PASSED] drm_test_mm_topdown [11:27:26] [PASSED] drm_test_mm_bottomup [11:27:26] [PASSED] drm_test_mm_lowest [11:27:26] [PASSED] drm_test_mm_highest [11:27:26] [PASSED] drm_test_mm_color [11:27:27] [PASSED] drm_test_mm_color_evict [11:27:27] [PASSED] drm_test_mm_color_evict_range [11:27:27] ===================== [PASSED] drm_mm ====================== [11:27:27] =================== drm_modes_analog_tv =================== [11:27:27] [PASSED] drm_test_modes_analog_tv_ntsc_480i [11:27:27] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [11:27:27] [PASSED] drm_test_modes_analog_tv_pal_576i [11:27:27] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [11:27:27] =============== [PASSED] drm_modes_analog_tv =============== [11:27:27] ==================== drm_plane_helper ===================== [11:27:27] =============== drm_test_check_plane_state ================ [11:27:27] [PASSED] clipping_simple [11:27:27] [PASSED] clipping_rotate_reflect [11:27:27] [PASSED] positioning_simple [11:27:27] [PASSED] upscaling [11:27:27] [PASSED] downscaling [11:27:27] [PASSED] rounding1 [11:27:27] [PASSED] rounding2 [11:27:27] [PASSED] rounding3 [11:27:27] [PASSED] rounding4 [11:27:27] =========== [PASSED] drm_test_check_plane_state ============ [11:27:27] =========== drm_test_check_invalid_plane_state ============ [11:27:27] [PASSED] positioning_invalid [11:27:27] [PASSED] upscaling_invalid [11:27:27] [PASSED] downscaling_invalid [11:27:27] ======= [PASSED] drm_test_check_invalid_plane_state ======== [11:27:27] ================ [PASSED] drm_plane_helper ================= [11:27:27] ============ drm_connector_helper_tv_get_modes ============ [11:27:27] ====== drm_test_connector_helper_tv_get_modes_check ======= [11:27:27] [PASSED] None [11:27:27] [PASSED] PAL [11:27:27] [PASSED] NTSC [11:27:27] [PASSED] Both, NTSC Default [11:27:27] [PASSED] Both, PAL Default [11:27:27] [PASSED] Both, NTSC Default, with PAL on command-line [11:27:27] [PASSED] Both, PAL Default, with NTSC on command-line [11:27:27] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [11:27:27] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [11:27:27] ======================== drm_rect ========================= [11:27:27] [PASSED] drm_test_rect_clip_scaled_div_by_zero [11:27:27] [PASSED] drm_test_rect_clip_scaled_not_clipped [11:27:27] [PASSED] drm_test_rect_clip_scaled_clipped [11:27:27] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [11:27:27] ================= drm_test_rect_intersect ================= [11:27:27] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [11:27:27] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [11:27:27] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [11:27:27] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [11:27:27] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [11:27:27] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [11:27:27] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [11:27:27] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [11:27:27] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [11:27:27] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [11:27:27] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [11:27:27] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [11:27:27] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [11:27:27] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [11:27:27] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [11:27:27] ============= [PASSED] drm_test_rect_intersect ============= [11:27:27] ================ drm_test_rect_calc_hscale ================ [11:27:27] [PASSED] normal use [11:27:27] [PASSED] out of max range [11:27:27] [PASSED] out of min range [11:27:27] [PASSED] zero dst [11:27:27] [PASSED] negative src [11:27:27] [PASSED] negative dst [11:27:27] ============ [PASSED] drm_test_rect_calc_hscale ============ [11:27:27] ================ drm_test_rect_calc_vscale ================ [11:27:27] [PASSED] normal use [11:27:27] [PASSED] out of max range [11:27:27] [PASSED] out of min range [11:27:27] [PASSED] zero dst [11:27:27] [PASSED] negative src [11:27:27] [PASSED] negative dst [11:27:27] ============ [PASSED] drm_test_rect_calc_vscale ============ [11:27:27] ================== drm_test_rect_rotate =================== [11:27:27] [PASSED] reflect-x [11:27:27] [PASSED] reflect-y [11:27:27] [PASSED] rotate-0 [11:27:27] [PASSED] rotate-90 [11:27:27] [PASSED] rotate-180 [11:27:27] [PASSED] rotate-270 [11:27:27] ============== [PASSED] drm_test_rect_rotate =============== [11:27:27] ================ drm_test_rect_rotate_inv ================= [11:27:27] [PASSED] reflect-x [11:27:27] [PASSED] reflect-y [11:27:27] [PASSED] rotate-0 [11:27:27] [PASSED] rotate-90 [11:27:27] [PASSED] rotate-180 [11:27:27] [PASSED] rotate-270 [11:27:27] ============ [PASSED] drm_test_rect_rotate_inv ============= stty: 'standard input': Inappropriate ioctl for device [11:27:27] ==================== [PASSED] drm_rect ===================== [11:27:27] ======================== drm_exec ========================= [11:27:27] [PASSED] sanitycheck [11:27:27] [PASSED] test_lock [11:27:27] [PASSED] test_lock_unlock [11:27:27] [PASSED] test_duplicates [11:27:27] [PASSED] test_prepare [11:27:27] [PASSED] test_prepare_array [11:27:27] [PASSED] test_multiple_loops [11:27:27] ==================== [PASSED] drm_exec ===================== [11:27:27] ============================================================ [11:27:27] Testing complete. Ran 368 tests: passed: 368 [11:27:27] Elapsed time: 45.462s total, 1.661s configuring, 19.705s building, 24.094s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI[Intel-xe] ✓ CI.Build: success for xe-eudebug: GPU debugging interface
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: xe-eudebug: GPU debugging interface
URL : https://patchwork.freedesktop.org/series/126019/
State : success
== Summary ==
+ trap cleanup EXIT
+ cd /kernel
+ git clone https://gitlab.freedesktop.org/drm/xe/ci.git .ci
Cloning into '.ci'...
++ date +%s
+ echo -e '\e[0Ksection_start:1699270060:build_x86_64[collapsed=true]\r\e[0KBuild x86-64'
+ mkdir -p build64-default [0Ksection_start:1699270060:build_x86_64[collapsed=true]
[0KBuild x86-64
+ cp .ci/kernel/kconfig build64-default/.config
+ make O=build64-default olddefconfig
make[1]: Entering directory '/kernel/build64-default'
GEN Makefile HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf # # configuration written to .config # make[1]: Leaving directory '/kernel/build64-default' ++ nproc + make O=build64-default -j48 make[1]: Entering directory '/kernel/build64-default' GEN Makefile WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h WRAP arch/x86/include/generated/uapi/asm/errno.h SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h WRAP arch/x86/include/generated/uapi/asm/fcntl.h GEN arch/x86/include/generated/asm/orc_hash.h WRAP arch/x86/include/generated/uapi/asm/ioctls.h SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h SYSTBL arch/x86/include/generated/asm/syscalls_32.h WRAP arch/x86/include/generated/uapi/asm/ioctl.h SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h WRAP arch/x86/include/generated/uapi/asm/ipcbuf.h SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h WRAP arch/x86/include/generated/uapi/asm/param.h SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h WRAP arch/x86/include/generated/uapi/asm/poll.h WRAP arch/x86/include/generated/uapi/asm/resource.h WRAP arch/x86/include/generated/uapi/asm/socket.h SYSTBL arch/x86/include/generated/asm/syscalls_64.h WRAP arch/x86/include/generated/uapi/asm/sockios.h WRAP arch/x86/include/generated/uapi/asm/termios.h WRAP arch/x86/include/generated/uapi/asm/termbits.h WRAP arch/x86/include/generated/uapi/asm/types.h HOSTCC arch/x86/tools/relocs_32.o HOSTCC arch/x86/tools/relocs_64.o HOSTCC arch/x86/tools/relocs_common.o WRAP arch/x86/include/generated/asm/early_ioremap.h WRAP arch/x86/include/generated/asm/export.h WRAP arch/x86/include/generated/asm/mcs_spinlock.h WRAP arch/x86/include/generated/asm/irq_regs.h WRAP arch/x86/include/generated/asm/local64.h WRAP arch/x86/include/generated/asm/kmap_size.h WRAP arch/x86/include/generated/asm/mmiowb.h WRAP arch/x86/include/generated/asm/module.lds.h WRAP arch/x86/include/generated/asm/rwonce.h WRAP arch/x86/include/generated/asm/unaligned.h UPD include/generated/uapi/linux/version.h UPD include/config/kernel.release HOSTCC scripts/kallsyms HOSTCC scripts/sorttable HOSTCC scripts/asn1_compiler UPD include/generated/compile.h UPD include/generated/utsrelease.h HOSTCC scripts/unifdef DESCEND objtool HOSTCC /kernel/build64-default/tools/objtool/fixdep.o HOSTLD /kernel/build64-default/tools/objtool/fixdep-in.o LINK /kernel/build64-default/tools/objtool/fixdep INSTALL /kernel/build64-default/tools/objtool/libsubcmd/include/subcmd/help.h INSTALL /kernel/build64-default/tools/objtool/libsubcmd/include/subcmd/exec-cmd.h INSTALL /kernel/build64-default/tools/objtool/libsubcmd/include/subcmd/pager.h INSTALL /kernel/build64-default/tools/objtool/libsubcmd/include/subcmd/parse-options.h INSTALL /kernel/build64-default/tools/objtool/libsubcmd/include/subcmd/run-command.h CC /kernel/build64-default/tools/objtool/libsubcmd/exec-cmd.o INSTALL libsubcmd_headers CC /kernel/build64-default/tools/objtool/libsubcmd/help.o CC /kernel/build64-default/tools/objtool/libsubcmd/pager.o CC /kernel/build64-default/tools/objtool/libsubcmd/parse-options.o CC /kernel/build64-default/tools/objtool/libsubcmd/run-command.o CC /kernel/build64-default/tools/objtool/libsubcmd/sigchain.o CC /kernel/build64-default/tools/objtool/libsubcmd/subcmd-config.o HOSTLD arch/x86/tools/relocs CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s HDRINST usr/include/video/edid.h HDRINST usr/include/video/sisfb.h HDRINST usr/include/video/uvesafb.h HDRINST usr/include/drm/amdgpu_drm.h HDRINST usr/include/drm/qaic_accel.h HDRINST usr/include/drm/i915_drm.h HDRINST usr/include/drm/virtgpu_drm.h HDRINST usr/include/drm/vgem_drm.h HDRINST usr/include/drm/xe_drm.h HDRINST usr/include/drm/omap_drm.h HDRINST usr/include/drm/radeon_drm.h HDRINST usr/include/drm/tegra_drm.h HDRINST usr/include/drm/drm_mode.h HDRINST usr/include/drm/ivpu_accel.h HDRINST usr/include/drm/xe_drm_tmp.h HDRINST usr/include/drm/exynos_drm.h HDRINST usr/include/drm/drm_sarea.h HDRINST usr/include/drm/v3d_drm.h HDRINST usr/include/drm/drm_fourcc.h HDRINST usr/include/drm/qxl_drm.h HDRINST usr/include/drm/nouveau_drm.h HDRINST usr/include/drm/habanalabs_accel.h HDRINST usr/include/drm/vmwgfx_drm.h HDRINST usr/include/drm/etnaviv_drm.h HDRINST usr/include/drm/msm_drm.h HDRINST usr/include/drm/vc4_drm.h HDRINST usr/include/drm/panfrost_drm.h HDRINST usr/include/drm/lima_drm.h HDRINST usr/include/drm/drm.h HDRINST usr/include/drm/armada_drm.h HDRINST usr/include/mtd/inftl-user.h HDRINST usr/include/mtd/nftl-user.h HDRINST usr/include/mtd/mtd-user.h HDRINST usr/include/mtd/ubi-user.h HDRINST usr/include/mtd/mtd-abi.h HDRINST usr/include/xen/gntdev.h HDRINST usr/include/xen/gntalloc.h HDRINST usr/include/xen/evtchn.h HDRINST usr/include/xen/privcmd.h HDRINST usr/include/asm-generic/auxvec.h HDRINST usr/include/asm-generic/bitsperlong.h HDRINST usr/include/asm-generic/posix_types.h UPD scripts/mod/devicetable-offsets.h HDRINST usr/include/asm-generic/ioctls.h HDRINST usr/include/asm-generic/mman.h HDRINST usr/include/asm-generic/shmbuf.h HDRINST usr/include/asm-generic/bpf_perf_event.h HDRINST usr/include/asm-generic/types.h HDRINST usr/include/asm-generic/poll.h HDRINST usr/include/asm-generic/msgbuf.h HDRINST usr/include/asm-generic/swab.h HDRINST usr/include/asm-generic/statfs.h HDRINST usr/include/asm-generic/unistd.h HDRINST usr/include/asm-generic/hugetlb_encode.h HDRINST usr/include/asm-generic/resource.h HDRINST usr/include/asm-generic/param.h HDRINST usr/include/asm-generic/termbits-common.h HDRINST usr/include/asm-generic/sockios.h HDRINST usr/include/asm-generic/kvm_para.h HDRINST usr/include/asm-generic/errno.h HDRINST usr/include/asm-generic/termios.h HDRINST usr/include/asm-generic/mman-common.h HDRINST usr/include/asm-generic/ioctl.h HDRINST usr/include/asm-generic/socket.h HDRINST usr/include/asm-generic/signal-defs.h HDRINST usr/include/asm-generic/termbits.h HDRINST usr/include/asm-generic/int-ll64.h HDRINST usr/include/asm-generic/signal.h HDRINST usr/include/asm-generic/siginfo.h HDRINST usr/include/asm-generic/stat.h HDRINST usr/include/asm-generic/int-l64.h HDRINST usr/include/asm-generic/errno-base.h HDRINST usr/include/asm-generic/fcntl.h HDRINST usr/include/asm-generic/setup.h HDRINST usr/include/asm-generic/ipcbuf.h HDRINST usr/include/asm-generic/sembuf.h HDRINST usr/include/asm-generic/ucontext.h HDRINST usr/include/rdma/mlx5_user_ioctl_cmds.h HDRINST usr/include/rdma/irdma-abi.h HDRINST usr/include/rdma/mana-abi.h HDRINST usr/include/rdma/hfi/hfi1_user.h HDRINST usr/include/rdma/hfi/hfi1_ioctl.h HDRINST usr/include/rdma/rdma_user_rxe.h MKELF scripts/mod/elfconfig.h HDRINST usr/include/rdma/rdma_user_ioctl.h HDRINST usr/include/rdma/mlx5_user_ioctl_verbs.h HDRINST usr/include/rdma/bnxt_re-abi.h HDRINST usr/include/rdma/hns-abi.h HDRINST usr/include/rdma/qedr-abi.h HDRINST usr/include/rdma/ib_user_ioctl_cmds.h HDRINST usr/include/rdma/vmw_pvrdma-abi.h HDRINST usr/include/rdma/ib_user_sa.h HOSTCC scripts/mod/modpost.o HDRINST usr/include/rdma/ib_user_ioctl_verbs.h HOSTCC scripts/mod/file2alias.o HDRINST usr/include/rdma/rvt-abi.h HDRINST usr/include/rdma/rdma_netlink.h HOSTCC scripts/mod/sumversion.o HDRINST usr/include/rdma/mlx5-abi.h HDRINST usr/include/rdma/erdma-abi.h HDRINST usr/include/rdma/rdma_user_ioctl_cmds.h HDRINST usr/include/rdma/rdma_user_cm.h HDRINST usr/include/rdma/ib_user_verbs.h HDRINST usr/include/rdma/efa-abi.h HDRINST usr/include/rdma/siw-abi.h HDRINST usr/include/rdma/mlx4-abi.h HDRINST usr/include/rdma/mthca-abi.h HDRINST usr/include/rdma/ib_user_mad.h HDRINST usr/include/rdma/ocrdma-abi.h HDRINST usr/include/rdma/cxgb4-abi.h HDRINST usr/include/misc/xilinx_sdfec.h HDRINST usr/include/misc/uacce/hisi_qm.h HDRINST usr/include/misc/uacce/uacce.h HDRINST usr/include/misc/cxl.h HDRINST usr/include/misc/ocxl.h HDRINST usr/include/misc/fastrpc.h HDRINST usr/include/misc/pvpanic.h HDRINST usr/include/linux/i8k.h HDRINST usr/include/linux/acct.h HDRINST usr/include/linux/atmmpc.h HDRINST usr/include/linux/fs.h HDRINST usr/include/linux/cifs/cifs_mount.h HDRINST usr/include/linux/cifs/cifs_netlink.h HDRINST usr/include/linux/if_packet.h HDRINST usr/include/linux/route.h HDRINST usr/include/linux/patchkey.h HDRINST usr/include/linux/tc_ematch/tc_em_cmp.h HDRINST usr/include/linux/tc_ematch/tc_em_ipt.h HDRINST usr/include/linux/tc_ematch/tc_em_meta.h HDRINST usr/include/linux/tc_ematch/tc_em_nbyte.h HDRINST usr/include/linux/tc_ematch/tc_em_text.h HDRINST usr/include/linux/virtio_pmem.h HDRINST usr/include/linux/rkisp1-config.h HDRINST usr/include/linux/vhost.h HDRINST usr/include/linux/cec-funcs.h HDRINST usr/include/linux/ppdev.h HDRINST usr/include/linux/isdn/capicmd.h HDRINST usr/include/linux/virtio_fs.h HDRINST usr/include/linux/netfilter_ipv6.h HDRINST usr/include/linux/lirc.h HDRINST usr/include/linux/mroute6.h HDRINST usr/include/linux/nl80211-vnd-intel.h HDRINST usr/include/linux/ivtvfb.h HDRINST usr/include/linux/auxvec.h HDRINST usr/include/linux/dm-log-userspace.h HDRINST usr/include/linux/dccp.h HDRINST usr/include/linux/virtio_scmi.h HDRINST usr/include/linux/atmarp.h HDRINST usr/include/linux/arcfb.h HDRINST usr/include/linux/nbd-netlink.h HDRINST usr/include/linux/sched/types.h HDRINST usr/include/linux/tcp.h HDRINST usr/include/linux/neighbour.h HDRINST usr/include/linux/dlm_device.h HDRINST usr/include/linux/wmi.h HDRINST usr/include/linux/btrfs_tree.h HDRINST usr/include/linux/virtio_crypto.h HDRINST usr/include/linux/vbox_err.h HDRINST usr/include/linux/edd.h HDRINST usr/include/linux/loop.h HDRINST usr/include/linux/nvme_ioctl.h HDRINST usr/include/linux/mmtimer.h HDRINST usr/include/linux/if_pppol2tp.h HDRINST usr/include/linux/mtio.h HDRINST usr/include/linux/if_arcnet.h HDRINST usr/include/linux/romfs_fs.h HDRINST usr/include/linux/posix_types.h HDRINST usr/include/linux/rtc.h HDRINST usr/include/linux/landlock.h HDRINST usr/include/linux/gpio.h HDRINST usr/include/linux/selinux_netlink.h HDRINST usr/include/linux/pps.h HDRINST usr/include/linux/ndctl.h HDRINST usr/include/linux/virtio_gpu.h HDRINST usr/include/linux/android/binderfs.h HDRINST usr/include/linux/android/binder.h HDRINST usr/include/linux/virtio_vsock.h HDRINST usr/include/linux/sound.h HDRINST usr/include/linux/vtpm_proxy.h HDRINST usr/include/linux/nfs_fs.h HDRINST usr/include/linux/elf-fdpic.h HDRINST usr/include/linux/adfs_fs.h HDRINST usr/include/linux/target_core_user.h HDRINST usr/include/linux/netlink_diag.h HDRINST usr/include/linux/const.h HDRINST usr/include/linux/firewire-cdev.h HDRINST usr/include/linux/vdpa.h HDRINST usr/include/linux/if_infiniband.h HDRINST usr/include/linux/serial.h HDRINST usr/include/linux/iio/types.h HDRINST usr/include/linux/iio/buffer.h HDRINST usr/include/linux/iio/events.h HDRINST usr/include/linux/baycom.h HDRINST usr/include/linux/major.h HDRINST usr/include/linux/atmppp.h HDRINST usr/include/linux/ipv6_route.h HDRINST usr/include/linux/spi/spidev.h HDRINST usr/include/linux/spi/spi.h HDRINST usr/include/linux/virtio_ring.h HDRINST usr/include/linux/hdlc/ioctl.h HDRINST usr/include/linux/remoteproc_cdev.h HDRINST usr/include/linux/hyperv.h HDRINST usr/include/linux/rpl_iptunnel.h HDRINST usr/include/linux/sync_file.h HDRINST usr/include/linux/igmp.h HDRINST usr/include/linux/v4l2-dv-timings.h HDRINST usr/include/linux/virtio_i2c.h HDRINST usr/include/linux/xfrm.h HDRINST usr/include/linux/capability.h HDRINST usr/include/linux/gtp.h HDRINST usr/include/linux/xdp_diag.h HDRINST usr/include/linux/pkt_cls.h HDRINST usr/include/linux/suspend_ioctls.h HDRINST usr/include/linux/vt.h HDRINST usr/include/linux/loadpin.h HDRINST usr/include/linux/dlm_plock.h HDRINST usr/include/linux/fb.h HDRINST usr/include/linux/max2175.h HDRINST usr/include/linux/sunrpc/debug.h HDRINST usr/include/linux/gsmmux.h HDRINST usr/include/linux/watchdog.h HDRINST usr/include/linux/vhost_types.h HDRINST usr/include/linux/vduse.h HDRINST usr/include/linux/ila.h HDRINST usr/include/linux/tdx-guest.h HDRINST usr/include/linux/close_range.h HDRINST usr/include/linux/ivtv.h HDRINST usr/include/linux/cryptouser.h HDRINST usr/include/linux/netfilter/xt_string.h HDRINST usr/include/linux/netfilter/nfnetlink_compat.h HDRINST usr/include/linux/netfilter/nf_nat.h HDRINST usr/include/linux/netfilter/xt_recent.h HDRINST usr/include/linux/netfilter/xt_addrtype.h HDRINST usr/include/linux/netfilter/nf_conntrack_tcp.h HDRINST usr/include/linux/netfilter/xt_MARK.h HDRINST usr/include/linux/netfilter/xt_SYNPROXY.h HDRINST usr/include/linux/netfilter/xt_multiport.h HDRINST usr/include/linux/netfilter/nfnetlink.h HDRINST usr/include/linux/netfilter/xt_cgroup.h HDRINST usr/include/linux/netfilter/nf_synproxy.h HDRINST usr/include/linux/netfilter/xt_TCPOPTSTRIP.h HDRINST usr/include/linux/netfilter/nfnetlink_log.h HDRINST usr/include/linux/netfilter/xt_TPROXY.h HDRINST usr/include/linux/netfilter/xt_u32.h HDRINST usr/include/linux/netfilter/nfnetlink_osf.h HDRINST usr/include/linux/netfilter/xt_ecn.h HDRINST usr/include/linux/netfilter/xt_esp.h HDRINST usr/include/linux/netfilter/nfnetlink_hook.h HDRINST usr/include/linux/netfilter/xt_mac.h HDRINST usr/include/linux/netfilter/xt_comment.h HDRINST usr/include/linux/netfilter/xt_NFQUEUE.h HDRINST usr/include/linux/netfilter/xt_osf.h HDRINST usr/include/linux/netfilter/xt_hashlimit.h HDRINST usr/include/linux/netfilter/nf_conntrack_sctp.h HDRINST usr/include/linux/netfilter/xt_socket.h HDRINST usr/include/linux/netfilter/xt_connmark.h HDRINST usr/include/linux/netfilter/xt_sctp.h HDRINST usr/include/linux/netfilter/xt_tcpudp.h HDRINST usr/include/linux/netfilter/xt_DSCP.h HDRINST usr/include/linux/netfilter/xt_time.h HDRINST usr/include/linux/netfilter/xt_IDLETIMER.h HDRINST usr/include/linux/netfilter/xt_policy.h HDRINST usr/include/linux/netfilter/xt_rpfilter.h HDRINST usr/include/linux/netfilter/xt_nfacct.h HDRINST usr/include/linux/netfilter/xt_SECMARK.h HDRINST usr/include/linux/netfilter/xt_length.h HDRINST usr/include/linux/netfilter/nfnetlink_cthelper.h HDRINST usr/include/linux/netfilter/xt_quota.h HDRINST usr/include/linux/netfilter/xt_CLASSIFY.h HDRINST usr/include/linux/netfilter/xt_ipcomp.h HDRINST usr/include/linux/netfilter/xt_iprange.h HDRINST usr/include/linux/netfilter/xt_bpf.h HDRINST usr/include/linux/netfilter/xt_LOG.h HDRINST usr/include/linux/netfilter/xt_rateest.h HDRINST usr/include/linux/netfilter/xt_CONNSECMARK.h HDRINST usr/include/linux/netfilter/xt_HMARK.h HDRINST usr/include/linux/netfilter/xt_CONNMARK.h HDRINST usr/include/linux/netfilter/xt_pkttype.h HDRINST usr/include/linux/netfilter/xt_ipvs.h HDRINST usr/include/linux/netfilter/xt_devgroup.h HDRINST usr/include/linux/netfilter/xt_AUDIT.h HDRINST usr/include/linux/netfilter/xt_realm.h HDRINST usr/include/linux/netfilter/nf_conntrack_common.h HDRINST usr/include/linux/netfilter/xt_set.h HDRINST usr/include/linux/netfilter/xt_LED.h HDRINST usr/include/linux/netfilter/xt_connlabel.h HDRINST usr/include/linux/netfilter/xt_owner.h HDRINST usr/include/linux/netfilter/xt_dccp.h HDRINST usr/include/linux/netfilter/xt_limit.h HDRINST usr/include/linux/netfilter/xt_conntrack.h HDRINST usr/include/linux/netfilter/xt_TEE.h HDRINST usr/include/linux/netfilter/xt_RATEEST.h HDRINST usr/include/linux/netfilter/xt_connlimit.h HDRINST usr/include/linux/netfilter/ipset/ip_set.h HDRINST usr/include/linux/netfilter/ipset/ip_set_list.h HDRINST usr/include/linux/netfilter/ipset/ip_set_hash.h HDRINST usr/include/linux/netfilter/ipset/ip_set_bitmap.h HDRINST usr/include/linux/netfilter/x_tables.h HDRINST usr/include/linux/netfilter/xt_dscp.h HDRINST usr/include/linux/netfilter/nf_conntrack_ftp.h HDRINST usr/include/linux/netfilter/xt_cluster.h HDRINST usr/include/linux/netfilter/nf_conntrack_tuple_common.h HDRINST usr/include/linux/netfilter/nf_log.h HDRINST usr/include/linux/netfilter/xt_tcpmss.h HDRINST usr/include/linux/netfilter/xt_NFLOG.h HDRINST usr/include/linux/netfilter/xt_l2tp.h HDRINST usr/include/linux/netfilter/xt_helper.h HDRINST usr/include/linux/netfilter/xt_statistic.h HDRINST usr/include/linux/netfilter/nfnetlink_queue.h HDRINST usr/include/linux/netfilter/nfnetlink_cttimeout.h HDRINST usr/include/linux/netfilter/xt_CT.h HDRINST usr/include/linux/netfilter/xt_CHECKSUM.h HDRINST usr/include/linux/netfilter/xt_connbytes.h HDRINST usr/include/linux/netfilter/xt_state.h HDRINST usr/include/linux/netfilter/nf_tables.h HDRINST usr/include/linux/netfilter/xt_mark.h HDRINST usr/include/linux/netfilter/xt_cpu.h HDRINST usr/include/linux/netfilter/nf_tables_compat.h HDRINST usr/include/linux/netfilter/xt_physdev.h HDRINST usr/include/linux/netfilter/nfnetlink_conntrack.h HDRINST usr/include/linux/netfilter/nfnetlink_acct.h HDRINST usr/include/linux/netfilter/xt_TCPMSS.h HDRINST usr/include/linux/tty_flags.h HDRINST usr/include/linux/if_phonet.h HDRINST usr/include/linux/elf-em.h HDRINST usr/include/linux/vm_sockets.h HDRINST usr/include/linux/dlmconstants.h HDRINST usr/include/linux/bsg.h HDRINST usr/include/linux/matroxfb.h HDRINST usr/include/linux/sysctl.h HDRINST usr/include/linux/unix_diag.h HDRINST usr/include/linux/pcitest.h HDRINST usr/include/linux/mman.h HDRINST usr/include/linux/if_plip.h HDRINST usr/include/linux/virtio_balloon.h HDRINST usr/include/linux/pidfd.h HDRINST usr/include/linux/f2fs.h HDRINST usr/include/linux/x25.h HDRINST usr/include/linux/if_cablemodem.h HDRINST usr/include/linux/utsname.h HDRINST usr/include/linux/counter.h HDRINST usr/include/linux/atm_tcp.h HDRINST usr/include/linux/atalk.h HDRINST usr/include/linux/virtio_rng.h HDRINST usr/include/linux/vboxguest.h HDRINST usr/include/linux/bpf_perf_event.h HDRINST usr/include/linux/ipmi_ssif_bmc.h HDRINST usr/include/linux/nfs_mount.h HDRINST usr/include/linux/sonet.h HDRINST usr/include/linux/netfilter.h HDRINST usr/include/linux/keyctl.h HDRINST usr/include/linux/nl80211.h HDRINST usr/include/linux/misc/bcm_vk.h HDRINST usr/include/linux/audit.h HDRINST usr/include/linux/tipc_config.h HDRINST usr/include/linux/tipc_sockets_diag.h HDRINST usr/include/linux/futex.h HDRINST usr/include/linux/sev-guest.h HDRINST usr/include/linux/ublk_cmd.h HDRINST usr/include/linux/types.h HDRINST usr/include/linux/virtio_input.h HDRINST usr/include/linux/if_slip.h HDRINST usr/include/linux/personality.h HDRINST usr/include/linux/openat2.h HDRINST usr/include/linux/poll.h HDRINST usr/include/linux/posix_acl.h HDRINST usr/include/linux/smc_diag.h HDRINST usr/include/linux/snmp.h HDRINST usr/include/linux/errqueue.h HDRINST usr/include/linux/if_tunnel.h HDRINST usr/include/linux/fanotify.h HDRINST usr/include/linux/kernel.h HDRINST usr/include/linux/rtnetlink.h HDRINST usr/include/linux/rpl.h HDRINST usr/include/linux/memfd.h HDRINST usr/include/linux/serial_core.h HDRINST usr/include/linux/dns_resolver.h HDRINST usr/include/linux/pr.h HDRINST usr/include/linux/atm_eni.h HDRINST usr/include/linux/lp.h HDRINST usr/include/linux/virtio_mem.h HDRINST usr/include/linux/ultrasound.h HDRINST usr/include/linux/sctp.h HDRINST usr/include/linux/uio.h HDRINST usr/include/linux/tcp_metrics.h HDRINST usr/include/linux/wwan.h HDRINST usr/include/linux/atmbr2684.h HDRINST usr/include/linux/in_route.h HDRINST usr/include/linux/qemu_fw_cfg.h HDRINST usr/include/linux/if_macsec.h HDRINST usr/include/linux/usb/charger.h HDRINST usr/include/linux/usb/g_uvc.h HDRINST usr/include/linux/usb/gadgetfs.h HDRINST usr/include/linux/usb/raw_gadget.h HDRINST usr/include/linux/usb/cdc-wdm.h HDRINST usr/include/linux/usb/g_printer.h HDRINST usr/include/linux/usb/midi.h HDRINST usr/include/linux/usb/tmc.h HDRINST usr/include/linux/usb/video.h HDRINST usr/include/linux/usb/functionfs.h HDRINST usr/include/linux/usb/audio.h HDRINST usr/include/linux/usb/ch11.h HDRINST usr/include/linux/usb/ch9.h HDRINST usr/include/linux/usb/cdc.h HDRINST usr/include/linux/jffs2.h HDRINST usr/include/linux/ax25.h HDRINST usr/include/linux/tiocl.h HDRINST usr/include/linux/auto_fs.h HDRINST usr/include/linux/scc.h HDRINST usr/include/linux/psci.h HDRINST usr/include/linux/swab.h HDRINST usr/include/linux/cec.h HDRINST usr/include/linux/kfd_ioctl.h HDRINST usr/include/linux/smc.h LD /kernel/build64-default/tools/objtool/libsubcmd/libsubcmd-in.o HDRINST usr/include/linux/qrtr.h HDRINST usr/include/linux/screen_info.h HDRINST usr/include/linux/nfsacl.h HDRINST usr/include/linux/seg6_hmac.h HDRINST usr/include/linux/gameport.h HDRINST usr/include/linux/wireless.h HDRINST usr/include/linux/fdreg.h HDRINST usr/include/linux/cciss_defs.h HDRINST usr/include/linux/serial_reg.h HDRINST usr/include/linux/perf_event.h HDRINST usr/include/linux/in6.h HDRINST usr/include/linux/hid.h HDRINST usr/include/linux/netlink.h HDRINST usr/include/linux/fuse.h HDRINST usr/include/linux/magic.h HDRINST usr/include/linux/ioam6_iptunnel.h HDRINST usr/include/linux/stm.h HDRINST usr/include/linux/vsockmon.h HDRINST usr/include/linux/seg6.h HDRINST usr/include/linux/idxd.h HDRINST usr/include/linux/nitro_enclaves.h HDRINST usr/include/linux/ptrace.h HDRINST usr/include/linux/ioam6_genl.h HDRINST usr/include/linux/qnx4_fs.h HDRINST usr/include/linux/fsl_mc.h AR /kernel/build64-default/tools/objtool/libsubcmd/libsubcmd.a HDRINST usr/include/linux/net_tstamp.h HDRINST usr/include/linux/msg.h HDRINST usr/include/linux/netfilter_ipv4/ipt_TTL.h HDRINST usr/include/linux/netfilter_ipv4/ipt_ttl.h HDRINST usr/include/linux/netfilter_ipv4/ipt_ah.h HDRINST usr/include/linux/netfilter_ipv4/ipt_ECN.h HDRINST usr/include/linux/netfilter_ipv4/ip_tables.h HDRINST usr/include/linux/netfilter_ipv4/ipt_ecn.h HDRINST usr/include/linux/netfilter_ipv4/ipt_CLUSTERIP.h HDRINST usr/include/linux/netfilter_ipv4/ipt_REJECT.h HDRINST usr/include/linux/netfilter_ipv4/ipt_LOG.h HDRINST usr/include/linux/sem.h HDRINST usr/include/linux/net_namespace.h HDRINST usr/include/linux/radeonfb.h HDRINST usr/include/linux/tee.h HDRINST usr/include/linux/udp.h HDRINST usr/include/linux/virtio_bt.h HDRINST usr/include/linux/v4l2-subdev.h HDRINST usr/include/linux/posix_acl_xattr.h HDRINST usr/include/linux/v4l2-mediabus.h HDRINST usr/include/linux/atmapi.h HDRINST usr/include/linux/raid/md_p.h HDRINST usr/include/linux/raid/md_u.h HDRINST usr/include/linux/zorro_ids.h HDRINST usr/include/linux/nbd.h HDRINST usr/include/linux/isst_if.h HDRINST usr/include/linux/rxrpc.h HDRINST usr/include/linux/unistd.h HDRINST usr/include/linux/if_arp.h HDRINST usr/include/linux/atm_zatm.h HDRINST usr/include/linux/io_uring.h HDRINST usr/include/linux/if_fddi.h HDRINST usr/include/linux/bpqether.h HDRINST usr/include/linux/sysinfo.h HDRINST usr/include/linux/auto_dev-ioctl.h HDRINST usr/include/linux/nfs4_mount.h HDRINST usr/include/linux/keyboard.h HDRINST usr/include/linux/virtio_mmio.h HDRINST usr/include/linux/input.h HDRINST usr/include/linux/qnxtypes.h HDRINST usr/include/linux/mdio.h HDRINST usr/include/linux/lwtunnel.h HDRINST usr/include/linux/gfs2_ondisk.h HDRINST usr/include/linux/eventfd.h HDRINST usr/include/linux/nfs4.h HDRINST usr/include/linux/ptp_clock.h HDRINST usr/include/linux/nubus.h HDRINST usr/include/linux/if_bonding.h HDRINST usr/include/linux/kcov.h HDRINST usr/include/linux/fadvise.h HDRINST usr/include/linux/taskstats.h HDRINST usr/include/linux/veth.h HDRINST usr/include/linux/atm.h HDRINST usr/include/linux/ipmi.h HDRINST usr/include/linux/kdev_t.h HDRINST usr/include/linux/mount.h HDRINST usr/include/linux/shm.h CC /kernel/build64-default/tools/objtool/weak.o HDRINST usr/include/linux/resource.h HDRINST usr/include/linux/prctl.h CC /kernel/build64-default/tools/objtool/check.o HDRINST usr/include/linux/watch_queue.h CC /kernel/build64-default/tools/objtool/special.o CC /kernel/build64-default/tools/objtool/builtin-check.o HDRINST usr/include/linux/sched.h HDRINST usr/include/linux/phonet.h MKDIR /kernel/build64-default/tools/objtool/arch/x86/ HDRINST usr/include/linux/random.h CC /kernel/build64-default/tools/objtool/elf.o HDRINST usr/include/linux/tty.h MKDIR /kernel/build64-default/tools/objtool/arch/x86/lib/ CC /kernel/build64-default/tools/objtool/objtool.o HDRINST usr/include/linux/apm_bios.h CC /kernel/build64-default/tools/objtool/arch/x86/special.o HDRINST usr/include/linux/fd.h CC /kernel/build64-default/tools/objtool/orc_gen.o HDRINST usr/include/linux/um_timetravel.h HDRINST usr/include/linux/tls.h HDRINST usr/include/linux/rpmsg_types.h GEN /kernel/build64-default/tools/objtool/arch/x86/lib/inat-tables.c CC /kernel/build64-default/tools/objtool/orc_dump.o CC /kernel/build64-default/tools/objtool/libstring.o HDRINST usr/include/linux/pfrut.h CC /kernel/build64-default/tools/objtool/libctype.o HDRINST usr/include/linux/mei.h CC /kernel/build64-default/tools/objtool/str_error_r.o HDRINST usr/include/linux/fsi.h HDRINST usr/include/linux/rds.h CC /kernel/build64-default/tools/objtool/librbtree.o HDRINST usr/include/linux/if_x25.h HDRINST usr/include/linux/param.h HDRINST usr/include/linux/netdevice.h HDRINST usr/include/linux/binfmts.h HDRINST usr/include/linux/if_pppox.h HDRINST usr/include/linux/sockios.h HDRINST usr/include/linux/kcm.h HDRINST usr/include/linux/virtio_9p.h HDRINST usr/include/linux/genwqe/genwqe_card.h HDRINST usr/include/linux/if_tun.h HDRINST usr/include/linux/ext4.h HDRINST usr/include/linux/if_ether.h HDRINST usr/include/linux/kvm_para.h HDRINST usr/include/linux/kernel-page-flags.h HDRINST usr/include/linux/cdrom.h HDRINST usr/include/linux/un.h HDRINST usr/include/linux/module.h HDRINST usr/include/linux/mqueue.h HDRINST usr/include/linux/a.out.h HDRINST usr/include/linux/input-event-codes.h HDRINST usr/include/linux/coda.h HDRINST usr/include/linux/rio_mport_cdev.h HDRINST usr/include/linux/ipsec.h HDRINST usr/include/linux/blkpg.h HDRINST usr/include/linux/blkzoned.h HDRINST usr/include/linux/netfilter_bridge/ebt_arpreply.h HDRINST usr/include/linux/netfilter_bridge/ebt_redirect.h HDRINST usr/include/linux/netfilter_bridge/ebt_nflog.h HDRINST usr/include/linux/netfilter_bridge/ebt_802_3.h HDRINST usr/include/linux/netfilter_bridge/ebt_nat.h HDRINST usr/include/linux/netfilter_bridge/ebt_mark_m.h HDRINST usr/include/linux/netfilter_bridge/ebtables.h HDRINST usr/include/linux/netfilter_bridge/ebt_vlan.h HDRINST usr/include/linux/netfilter_bridge/ebt_limit.h HDRINST usr/include/linux/netfilter_bridge/ebt_log.h HDRINST usr/include/linux/netfilter_bridge/ebt_stp.h HDRINST usr/include/linux/netfilter_bridge/ebt_pkttype.h HDRINST usr/include/linux/netfilter_bridge/ebt_ip.h HDRINST usr/include/linux/netfilter_bridge/ebt_ip6.h HDRINST usr/include/linux/netfilter_bridge/ebt_arp.h HDRINST usr/include/linux/netfilter_bridge/ebt_mark_t.h HDRINST usr/include/linux/netfilter_bridge/ebt_among.h HDRINST usr/include/linux/reiserfs_fs.h CC /kernel/build64-default/tools/objtool/arch/x86/decode.o HDRINST usr/include/linux/cciss_ioctl.h HDRINST usr/include/linux/fsmap.h HDRINST usr/include/linux/smiapp.h HDRINST usr/include/linux/switchtec_ioctl.h HDRINST usr/include/linux/atmdev.h HDRINST usr/include/linux/hpet.h HDRINST usr/include/linux/virtio_config.h HDRINST usr/include/linux/string.h HDRINST usr/include/linux/kfd_sysfs.h HDRINST usr/include/linux/inet_diag.h HDRINST usr/include/linux/netdev.h HDRINST usr/include/linux/xattr.h HDRINST usr/include/linux/iommufd.h HDRINST usr/include/linux/user_events.h HDRINST usr/include/linux/errno.h HDRINST usr/include/linux/icmp.h HDRINST usr/include/linux/i2o-dev.h HDRINST usr/include/linux/pg.h HDRINST usr/include/linux/if_bridge.h HDRINST usr/include/linux/thermal.h HDRINST usr/include/linux/uinput.h HDRINST usr/include/linux/handshake.h HDRINST usr/include/linux/dqblk_xfs.h HDRINST usr/include/linux/v4l2-common.h HDRINST usr/include/linux/nvram.h HDRINST usr/include/linux/if_vlan.h HDRINST usr/include/linux/uhid.h HDRINST usr/include/linux/omap3isp.h HDRINST usr/include/linux/rose.h HDRINST usr/include/linux/phantom.h HDRINST usr/include/linux/ipmi_msgdefs.h HDRINST usr/include/linux/bcm933xx_hcs.h HDRINST usr/include/linux/bpf.h HDRINST usr/include/linux/mempolicy.h HDRINST usr/include/linux/efs_fs_sb.h HDRINST usr/include/linux/nexthop.h HDRINST usr/include/linux/net_dropmon.h HDRINST usr/include/linux/surface_aggregator/cdev.h HDRINST usr/include/linux/surface_aggregator/dtx.h HDRINST usr/include/linux/net.h HDRINST usr/include/linux/mii.h HDRINST usr/include/linux/virtio_pcidev.h HDRINST usr/include/linux/termios.h HDRINST usr/include/linux/cgroupstats.h HDRINST usr/include/linux/mpls.h HDRINST usr/include/linux/iommu.h HDRINST usr/include/linux/toshiba.h HDRINST usr/include/linux/zorro.h HDRINST usr/include/linux/virtio_scsi.h HDRINST usr/include/linux/chio.h HDRINST usr/include/linux/pkt_sched.h HDRINST usr/include/linux/cramfs_fs.h HDRINST usr/include/linux/nfs3.h HDRINST usr/include/linux/vfio_ccw.h HDRINST usr/include/linux/atm_nicstar.h HDRINST usr/include/linux/ncsi.h HDRINST usr/include/linux/virtio_net.h HDRINST usr/include/linux/ioctl.h HDRINST usr/include/linux/stddef.h HDRINST usr/include/linux/limits.h HDRINST usr/include/linux/ipmi_bmc.h HDRINST usr/include/linux/netfilter_arp.h HDRINST usr/include/linux/if_addr.h HDRINST usr/include/linux/rpmsg.h HDRINST usr/include/linux/media-bus-format.h HDRINST usr/include/linux/kernelcapi.h HDRINST usr/include/linux/ppp_defs.h HDRINST usr/include/linux/ethtool.h HDRINST usr/include/linux/aspeed-video.h HDRINST usr/include/linux/hdlc.h HDRINST usr/include/linux/fscrypt.h HDRINST usr/include/linux/batadv_packet.h HDRINST usr/include/linux/uuid.h HDRINST usr/include/linux/capi.h HDRINST usr/include/linux/mptcp.h HDRINST usr/include/linux/hidraw.h HDRINST usr/include/linux/virtio_console.h HDRINST usr/include/linux/irqnr.h HDRINST usr/include/linux/coresight-stm.h HDRINST usr/include/linux/cxl_mem.h HDRINST usr/include/linux/iso_fs.h HDRINST usr/include/linux/virtio_blk.h HDRINST usr/include/linux/udf_fs_i.h HDRINST usr/include/linux/coff.h HDRINST usr/include/linux/dma-buf.h HDRINST usr/include/linux/ife.h HDRINST usr/include/linux/agpgart.h HDRINST usr/include/linux/socket.h HDRINST usr/include/linux/nilfs2_ondisk.h HDRINST usr/include/linux/connector.h HDRINST usr/include/linux/auto_fs4.h HDRINST usr/include/linux/bt-bmc.h HDRINST usr/include/linux/map_to_7segment.h HDRINST usr/include/linux/tc_act/tc_skbedit.h HDRINST usr/include/linux/tc_act/tc_ctinfo.h HDRINST usr/include/linux/tc_act/tc_defact.h HDRINST usr/include/linux/tc_act/tc_gact.h HDRINST usr/include/linux/tc_act/tc_vlan.h HDRINST usr/include/linux/tc_act/tc_skbmod.h HDRINST usr/include/linux/tc_act/tc_sample.h HDRINST usr/include/linux/tc_act/tc_tunnel_key.h HDRINST usr/include/linux/tc_act/tc_gate.h HDRINST usr/include/linux/tc_act/tc_mirred.h HDRINST usr/include/linux/tc_act/tc_nat.h HDRINST usr/include/linux/tc_act/tc_csum.h HDRINST usr/include/linux/tc_act/tc_connmark.h HDRINST usr/include/linux/tc_act/tc_ife.h HDRINST usr/include/linux/tc_act/tc_mpls.h HDRINST usr/include/linux/tc_act/tc_ct.h HDRINST usr/include/linux/tc_act/tc_pedit.h HDRINST usr/include/linux/tc_act/tc_bpf.h HDRINST usr/include/linux/tc_act/tc_ipt.h HDRINST usr/include/linux/netrom.h HDRINST usr/include/linux/joystick.h HDRINST usr/include/linux/falloc.h HDRINST usr/include/linux/cycx_cfm.h HDRINST usr/include/linux/omapfb.h HDRINST usr/include/linux/msdos_fs.h HDRINST usr/include/linux/virtio_types.h HDRINST usr/include/linux/mroute.h HDRINST usr/include/linux/psample.h HDRINST usr/include/linux/ipv6.h HDRINST usr/include/linux/dw100.h HDRINST usr/include/linux/psp-sev.h HDRINST usr/include/linux/vfio.h HDRINST usr/include/linux/if_ppp.h HDRINST usr/include/linux/byteorder/big_endian.h HDRINST usr/include/linux/byteorder/little_endian.h HDRINST usr/include/linux/comedi.h HDRINST usr/include/linux/scif_ioctl.h HDRINST usr/include/linux/timerfd.h HDRINST usr/include/linux/time_types.h HDRINST usr/include/linux/firewire-constants.h HDRINST usr/include/linux/virtio_snd.h HDRINST usr/include/linux/ppp-ioctl.h HDRINST usr/include/linux/gen_stats.h HDRINST usr/include/linux/fib_rules.h HDRINST usr/include/linux/virtio_iommu.h HDRINST usr/include/linux/genetlink.h HDRINST usr/include/linux/uvcvideo.h HDRINST usr/include/linux/pfkeyv2.h HDRINST usr/include/linux/soundcard.h HDRINST usr/include/linux/times.h HDRINST usr/include/linux/nfc.h HDRINST usr/include/linux/affs_hardblocks.h HDRINST usr/include/linux/nilfs2_api.h HDRINST usr/include/linux/rseq.h HDRINST usr/include/linux/caif/caif_socket.h HDRINST usr/include/linux/caif/if_caif.h HDRINST usr/include/linux/i2c-dev.h HDRINST usr/include/linux/cuda.h HDRINST usr/include/linux/mei_uuid.h HDRINST usr/include/linux/cn_proc.h HDRINST usr/include/linux/parport.h HDRINST usr/include/linux/v4l2-controls.h HDRINST usr/include/linux/hsi/cs-protocol.h HDRINST usr/include/linux/hsi/hsi_char.h HDRINST usr/include/linux/seg6_genl.h HDRINST usr/include/linux/am437x-vpfe.h HDRINST usr/include/linux/amt.h HDRINST usr/include/linux/netconf.h HDRINST usr/include/linux/erspan.h HDRINST usr/include/linux/nsfs.h HDRINST usr/include/linux/xilinx-v4l2-controls.h HDRINST usr/include/linux/aspeed-p2a-ctrl.h HDRINST usr/include/linux/vfio_zdev.h HDRINST usr/include/linux/serio.h HDRINST usr/include/linux/acrn.h HDRINST usr/include/linux/nfs2.h HDRINST usr/include/linux/virtio_pci.h HDRINST usr/include/linux/ipc.h HDRINST usr/include/linux/ethtool_netlink.h HDRINST usr/include/linux/kd.h HDRINST usr/include/linux/elf.h HDRINST usr/include/linux/videodev2.h HDRINST usr/include/linux/if_alg.h HDRINST usr/include/linux/sonypi.h HDRINST usr/include/linux/fsverity.h HDRINST usr/include/linux/if.h HDRINST usr/include/linux/vm_sockets_diag.h HDRINST usr/include/linux/btrfs.h HDRINST usr/include/linux/netfilter_bridge.h HDRINST usr/include/linux/packet_diag.h HDRINST usr/include/linux/netfilter_ipv4.h HDRINST usr/include/linux/kvm.h HDRINST usr/include/linux/pci.h HDRINST usr/include/linux/if_addrlabel.h HDRINST usr/include/linux/hdlcdrv.h HDRINST usr/include/linux/cfm_bridge.h HDRINST usr/include/linux/fiemap.h HDRINST usr/include/linux/dm-ioctl.h HDRINST usr/include/linux/aspeed-lpc-ctrl.h HDRINST usr/include/linux/atmioc.h HDRINST usr/include/linux/dlm.h HDRINST usr/include/linux/pci_regs.h HDRINST usr/include/linux/cachefiles.h HDRINST usr/include/linux/membarrier.h HDRINST usr/include/linux/nfs_idmap.h HDRINST usr/include/linux/ip.h HDRINST usr/include/linux/atm_he.h HDRINST usr/include/linux/nfsd/export.h HDRINST usr/include/linux/nfsd/stats.h HDRINST usr/include/linux/nfsd/debug.h HDRINST usr/include/linux/nfsd/cld.h HDRINST usr/include/linux/ip_vs.h HDRINST usr/include/linux/vmcore.h HDRINST usr/include/linux/vbox_vmmdev_types.h HDRINST usr/include/linux/dvb/osd.h HDRINST usr/include/linux/dvb/dmx.h HDRINST usr/include/linux/dvb/net.h HDRINST usr/include/linux/dvb/frontend.h HDRINST usr/include/linux/dvb/ca.h HDRINST usr/include/linux/dvb/version.h HDRINST usr/include/linux/dvb/video.h HDRINST usr/include/linux/dvb/audio.h HDRINST usr/include/linux/nfs.h HDRINST usr/include/linux/if_link.h HDRINST usr/include/linux/wait.h HDRINST usr/include/linux/icmpv6.h HDRINST usr/include/linux/media.h HDRINST usr/include/linux/seg6_local.h HDRINST usr/include/linux/tps6594_pfsm.h HDRINST usr/include/linux/openvswitch.h HDRINST usr/include/linux/atmsap.h HDRINST usr/include/linux/bpfilter.h HDRINST usr/include/linux/fpga-dfl.h HDRINST usr/include/linux/userio.h HDRINST usr/include/linux/signal.h HDRINST usr/include/linux/map_to_14segment.h HDRINST usr/include/linux/hdreg.h HDRINST usr/include/linux/utime.h HDRINST usr/include/linux/usbdevice_fs.h HDRINST usr/include/linux/timex.h HDRINST usr/include/linux/if_fc.h HDRINST usr/include/linux/reiserfs_xattr.h HDRINST usr/include/linux/hw_breakpoint.h HDRINST usr/include/linux/quota.h HDRINST usr/include/linux/ioprio.h HDRINST usr/include/linux/eventpoll.h HDRINST usr/include/linux/atmclip.h HDRINST usr/include/linux/can.h HDRINST usr/include/linux/if_team.h HDRINST usr/include/linux/usbip.h HDRINST usr/include/linux/stat.h HDRINST usr/include/linux/fou.h HDRINST usr/include/linux/hash_info.h HDRINST usr/include/linux/ppp-comp.h HDRINST usr/include/linux/ip6_tunnel.h HDRINST usr/include/linux/tipc_netlink.h HDRINST usr/include/linux/in.h HDRINST usr/include/linux/wireguard.h HDRINST usr/include/linux/btf.h HDRINST usr/include/linux/batman_adv.h HDRINST usr/include/linux/fcntl.h HDRINST usr/include/linux/if_ltalk.h HDRINST usr/include/linux/i2c.h HDRINST usr/include/linux/atm_idt77105.h HDRINST usr/include/linux/kexec.h HDRINST usr/include/linux/arm_sdei.h HDRINST usr/include/linux/netfilter_ipv6/ip6_tables.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_ah.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_NPT.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_rt.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_REJECT.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_opts.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_srh.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_LOG.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_mh.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_HL.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_hl.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_frag.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_ipv6header.h HDRINST usr/include/linux/minix_fs.h HDRINST usr/include/linux/aio_abi.h HDRINST usr/include/linux/pktcdvd.h HDRINST usr/include/linux/libc-compat.h HDRINST usr/include/linux/atmlec.h HDRINST usr/include/linux/signalfd.h HDRINST usr/include/linux/bpf_common.h HDRINST usr/include/linux/seg6_iptunnel.h HDRINST usr/include/linux/synclink.h HDRINST usr/include/linux/mpls_iptunnel.h HDRINST usr/include/linux/mctp.h HDRINST usr/include/linux/if_xdp.h HDRINST usr/include/linux/llc.h HDRINST usr/include/linux/atmsvc.h HDRINST usr/include/linux/sed-opal.h HDRINST usr/include/linux/sock_diag.h HDRINST usr/include/linux/time.h HDRINST usr/include/linux/securebits.h HDRINST usr/include/linux/fsl_hypervisor.h HDRINST usr/include/linux/if_hippi.h HDRINST usr/include/linux/seccomp.h HDRINST usr/include/linux/oom.h HDRINST usr/include/linux/filter.h HDRINST usr/include/linux/inotify.h HDRINST usr/include/linux/rfkill.h HDRINST usr/include/linux/reboot.h HDRINST usr/include/linux/can/vxcan.h HDRINST usr/include/linux/can/j1939.h HDRINST usr/include/linux/can/netlink.h HDRINST usr/include/linux/can/bcm.h HDRINST usr/include/linux/can/raw.h HDRINST usr/include/linux/can/gw.h HDRINST usr/include/linux/can/error.h HDRINST usr/include/linux/can/isotp.h HDRINST usr/include/linux/if_eql.h HDRINST usr/include/linux/psp-dbc.h HDRINST usr/include/linux/hiddev.h HDRINST usr/include/linux/blktrace_api.h HDRINST usr/include/linux/ccs.h HDRINST usr/include/linux/ioam6.h HDRINST usr/include/linux/hsr_netlink.h HDRINST usr/include/linux/mmc/ioctl.h HDRINST usr/include/linux/bfs_fs.h HDRINST usr/include/linux/rio_cm_cdev.h HDRINST usr/include/linux/uleds.h HDRINST usr/include/linux/mrp_bridge.h HDRINST usr/include/linux/adb.h HDRINST usr/include/linux/pmu.h HDRINST usr/include/linux/udmabuf.h HDRINST usr/include/linux/kcmp.h HDRINST usr/include/linux/dma-heap.h HDRINST usr/include/linux/userfaultfd.h HDRINST usr/include/linux/netfilter_arp/arpt_mangle.h HDRINST usr/include/linux/netfilter_arp/arp_tables.h HDRINST usr/include/linux/tipc.h HDRINST usr/include/linux/virtio_ids.h HDRINST usr/include/linux/l2tp.h HDRINST usr/include/linux/devlink.h HDRINST usr/include/linux/virtio_gpio.h HDRINST usr/include/linux/dcbnl.h HDRINST usr/include/linux/cyclades.h HDRINST usr/include/sound/intel/avs/tokens.h HDRINST usr/include/sound/sof/fw.h HDRINST usr/include/sound/sof/abi.h HDRINST usr/include/sound/sof/header.h HDRINST usr/include/sound/sof/tokens.h HDRINST usr/include/sound/usb_stream.h HDRINST usr/include/sound/sfnt_info.h HDRINST usr/include/sound/asequencer.h HDRINST usr/include/sound/tlv.h HDRINST usr/include/sound/asound.h HDRINST usr/include/sound/asoc.h HDRINST usr/include/sound/sb16_csp.h HDRINST usr/include/sound/compress_offload.h HDRINST usr/include/sound/hdsp.h HDRINST usr/include/sound/emu10k1.h HDRINST usr/include/sound/snd_ar_tokens.h HDRINST usr/include/sound/snd_sst_tokens.h HDRINST usr/include/sound/asound_fm.h HDRINST usr/include/sound/hdspm.h HDRINST usr/include/sound/compress_params.h HDRINST usr/include/sound/firewire.h HDRINST usr/include/sound/skl-tplg-interface.h HDRINST usr/include/scsi/scsi_bsg_ufs.h HDRINST usr/include/scsi/scsi_netlink_fc.h HDRINST usr/include/scsi/scsi_bsg_mpi3mr.h HDRINST usr/include/scsi/fc/fc_ns.h HDRINST usr/include/scsi/fc/fc_fs.h HDRINST usr/include/scsi/fc/fc_els.h HDRINST usr/include/scsi/fc/fc_gs.h HDRINST usr/include/scsi/scsi_bsg_fc.h HDRINST usr/include/scsi/cxlflash_ioctl.h HDRINST usr/include/scsi/scsi_netlink.h HDRINST usr/include/linux/version.h HDRINST usr/include/asm/processor-flags.h HDRINST usr/include/asm/auxvec.h HDRINST usr/include/asm/svm.h HDRINST usr/include/asm/bitsperlong.h HDRINST usr/include/asm/kvm_perf.h HDRINST usr/include/asm/mce.h HDRINST usr/include/asm/posix_types.h HDRINST usr/include/asm/msr.h HDRINST usr/include/asm/sigcontext32.h HDRINST usr/include/asm/mman.h HDRINST usr/include/asm/shmbuf.h HDRINST usr/include/asm/e820.h HDRINST usr/include/asm/posix_types_64.h HDRINST usr/include/asm/vsyscall.h HDRINST usr/include/asm/msgbuf.h HDRINST usr/include/asm/swab.h HDRINST usr/include/asm/statfs.h HDRINST usr/include/asm/posix_types_x32.h HDRINST usr/include/asm/ptrace.h HDRINST usr/include/asm/unistd.h HDRINST usr/include/asm/ist.h HDRINST usr/include/asm/prctl.h HDRINST usr/include/asm/boot.h HDRINST usr/include/asm/sigcontext.h HDRINST usr/include/asm/posix_types_32.h HDRINST usr/include/asm/kvm_para.h HDRINST usr/include/asm/a.out.h HDRINST usr/include/asm/mtrr.h HDRINST usr/include/asm/amd_hsmp.h HDRINST usr/include/asm/hwcap2.h HDRINST usr/include/asm/ptrace-abi.h HDRINST usr/include/asm/vm86.h HDRINST usr/include/asm/vmx.h HDRINST usr/include/asm/ldt.h HDRINST usr/include/asm/perf_regs.h HDRINST usr/include/asm/kvm.h HDRINST usr/include/asm/debugreg.h HDRINST usr/include/asm/signal.h HDRINST usr/include/asm/bootparam.h HDRINST usr/include/asm/siginfo.h HDRINST usr/include/asm/hw_breakpoint.h HDRINST usr/include/asm/stat.h HDRINST usr/include/asm/setup.h HDRINST usr/include/asm/sembuf.h HDRINST usr/include/asm/sgx.h HDRINST usr/include/asm/ucontext.h HDRINST usr/include/asm/byteorder.h HDRINST usr/include/asm/unistd_64.h HDRINST usr/include/asm/ioctls.h HDRINST usr/include/asm/bpf_perf_event.h HDRINST usr/include/asm/types.h HDRINST usr/include/asm/poll.h HDRINST usr/include/asm/resource.h HDRINST usr/include/asm/param.h HDRINST usr/include/asm/sockios.h HDRINST usr/include/asm/errno.h HDRINST usr/include/asm/unistd_x32.h HDRINST usr/include/asm/termios.h HDRINST usr/include/asm/ioctl.h HDRINST usr/include/asm/socket.h HDRINST usr/include/asm/unistd_32.h HDRINST usr/include/asm/termbits.h HDRINST usr/include/asm/fcntl.h HDRINST usr/include/asm/ipcbuf.h HOSTLD scripts/mod/modpost CC kernel/bounds.s CHKSHA1 ../include/linux/atomic/atomic-arch-fallback.h CHKSHA1 ../include/linux/atomic/atomic-instrumented.h CHKSHA1 ../include/linux/atomic/atomic-long.h UPD include/generated/timeconst.h UPD include/generated/bounds.h CC arch/x86/kernel/asm-offsets.s LD /kernel/build64-default/tools/objtool/arch/x86/objtool-in.o UPD include/generated/asm-offsets.h CALL ../scripts/checksyscalls.sh LD /kernel/build64-default/tools/objtool/objtool-in.o LINK /kernel/build64-default/tools/objtool/objtool LDS scripts/module.lds CC ipc/compat.o CC ipc/util.o CC ipc/msgutil.o CC ipc/msg.o CC ipc/sem.o CC ipc/shm.o AR certs/built-in.a HOSTCC usr/gen_init_cpio CC ipc/syscall.o AR arch/x86/video/built-in.a CC ipc/ipc_sysctl.o CC init/main.o AS arch/x86/lib/clear_page_64.o CC security/commoncap.o CC arch/x86/lib/cmdline.o CC ipc/mqueue.o CC io_uring/io_uring.o AS arch/x86/lib/cmpxchg16b_emu.o CC [M] arch/x86/video/fbdev.o CC io_uring/xattr.o CC ipc/namespace.o CC security/min_addr.o CC block/bdev.o CC mm/filemap.o AR virt/lib/built-in.a CC arch/x86/power/cpu.o CC init/do_mounts.o CC arch/x86/lib/copy_mc.o CC arch/x86/pci/i386.o UPD init/utsversion-tmp.h CC [M] virt/lib/irqbypass.o CC security/keys/gc.o CC arch/x86/realmode/init.o CC block/partitions/core.o CC net/core/sock.o CC arch/x86/events/amd/core.o CC arch/x86/mm/init.o AS arch/x86/crypto/aesni-intel_asm.o AR drivers/irqchip/built-in.a AR drivers/cache/built-in.a CC fs/notify/inotify/inotify_fsnotify.o CC arch/x86/kernel/fpu/init.o AR sound/i2c/other/built-in.a CC arch/x86/mm/pat/set_memory.o AR sound/drivers/opl3/built-in.a CC io_uring/nop.o CC sound/core/seq/seq.o CC fs/notify/dnotify/dnotify.o AS arch/x86/lib/copy_mc_64.o AR sound/i2c/built-in.a CC arch/x86/entry/vdso/vma.o AS arch/x86/lib/copy_page_64.o AR sound/drivers/opl4/built-in.a AR drivers/bus/mhi/built-in.a CC lib/kunit/hooks.o CC arch/x86/crypto/aesni-intel_glue.o AR sound/drivers/mpu401/built-in.a CC arch/x86/mm/pat/memtype.o AR drivers/bus/built-in.a CC kernel/sched/core.o AR sound/drivers/vx/built-in.a CC arch/x86/mm/pat/memtype_interval.o AS arch/x86/crypto/aesni-intel_avx-x86_64.o CC mm/kasan/common.o AR sound/drivers/pcsp/built-in.a AR drivers/phy/allwinner/built-in.a CC crypto/api.o AR sound/drivers/built-in.a AR drivers/phy/amlogic/built-in.a AS arch/x86/crypto/aes_ctrby8_avx-x86_64.o AS [M] arch/x86/crypto/ghash-clmulni-intel_asm.o AR drivers/phy/broadcom/built-in.a AR drivers/phy/cadence/built-in.a CC [M] arch/x86/crypto/ghash-clmulni-intel_glue.o AR drivers/phy/freescale/built-in.a AR drivers/phy/hisilicon/built-in.a AR drivers/phy/ingenic/built-in.a CC crypto/cipher.o AR drivers/phy/intel/built-in.a AR drivers/phy/lantiq/built-in.a AR drivers/phy/marvell/built-in.a AR drivers/phy/mediatek/built-in.a AR drivers/phy/microchip/built-in.a AR drivers/phy/motorola/built-in.a GEN usr/initramfs_data.cpio CC [M] lib/kunit/test.o AR drivers/phy/mscc/built-in.a COPY usr/initramfs_inc_data AS usr/initramfs_data.o AS arch/x86/lib/copy_user_64.o AR drivers/phy/qualcomm/built-in.a AR usr/built-in.a AR drivers/phy/ralink/built-in.a AS arch/x86/lib/copy_user_uncached_64.o CC sound/core/seq/seq_lock.o AR drivers/phy/realtek/built-in.a CC arch/x86/lib/cpu.o AR drivers/phy/renesas/built-in.a AR drivers/phy/rockchip/built-in.a AR drivers/phy/samsung/built-in.a CC arch/x86/kernel/fpu/bugs.o AR drivers/phy/socionext/built-in.a CC arch/x86/entry/vsyscall/vsyscall_64.o AR drivers/phy/st/built-in.a AR drivers/phy/starfive/built-in.a AR drivers/phy/sunplus/built-in.a AR drivers/phy/tegra/built-in.a AR virt/built-in.a AS arch/x86/entry/vsyscall/vsyscall_emu_64.o AR drivers/phy/ti/built-in.a AR drivers/phy/xilinx/built-in.a CC drivers/phy/phy-core.o CC kernel/locking/mutex.o CC kernel/power/qos.o CC fs/notify/inotify/inotify_user.o CC arch/x86/kernel/fpu/core.o CC kernel/sched/fair.o CC io_uring/fs.o CC ipc/mq_sysctl.o CC kernel/sched/build_policy.o AS arch/x86/realmode/rm/header.o AS arch/x86/realmode/rm/trampoline_64.o AS arch/x86/realmode/rm/stack.o CC io_uring/splice.o CC security/keys/key.o CC security/keys/keyring.o AS arch/x86/realmode/rm/reboot.o CC fs/nfs_common/grace.o AR fs/notify/dnotify/built-in.a AS arch/x86/realmode/rm/wakeup_asm.o CC fs/notify/fanotify/fanotify.o CC arch/x86/pci/init.o CC arch/x86/pci/mmconfig_64.o CC sound/core/seq/seq_clientmgr.o CC arch/x86/realmode/rm/wakemain.o CC arch/x86/lib/delay.o AS arch/x86/lib/getuser.o CC sound/core/seq/seq_memory.o CC io_uring/sync.o CC fs/iomap/trace.o CC io_uring/advise.o CC arch/x86/realmode/rm/video-mode.o CC arch/x86/power/hibernate_64.o CC block/partitions/ldm.o CC arch/x86/entry/vdso/extable.o CC mm/kasan/report.o AS arch/x86/realmode/rm/copy.o CC io_uring/filetable.o CC crypto/compress.o AS arch/x86/realmode/rm/bioscall.o CC arch/x86/realmode/rm/regs.o AS arch/x86/power/hibernate_asm_64.o CC [M] lib/kunit/resource.o CC arch/x86/mm/init_64.o CC arch/x86/realmode/rm/video-vga.o CC fs/notify/fanotify/fanotify_user.o AS [M] arch/x86/crypto/crc32-pclmul_asm.o CC [M] arch/x86/crypto/crc32-pclmul_glue.o CC arch/x86/events/amd/lbr.o GEN arch/x86/lib/inat-tables.c CC arch/x86/lib/insn-eval.o CC crypto/algapi.o CC arch/x86/realmode/rm/video-vesa.o CC arch/x86/mm/fault.o CC net/core/request_sock.o CC arch/x86/entry/vdso/vdso32-setup.o CC arch/x86/realmode/rm/video-bios.o LDS arch/x86/entry/vdso/vdso.lds AR arch/x86/entry/vsyscall/built-in.a CC arch/x86/power/hibernate.o CC arch/x86/lib/insn.o PASYMS arch/x86/realmode/rm/pasyms.h LDS arch/x86/realmode/rm/realmode.lds LD arch/x86/realmode/rm/realmode.elf RELOCS arch/x86/realmode/rm/realmode.relocs OBJCOPY arch/x86/realmode/rm/realmode.bin AS arch/x86/realmode/rmpiggy.o AR fs/quota/built-in.a AR arch/x86/realmode/built-in.a CC security/inode.o CC security/device_cgroup.o CC fs/notify/fsnotify.o CC io_uring/openclose.o CC arch/x86/pci/direct.o AR fs/nfs_common/built-in.a CC init/do_mounts_initrd.o CC arch/x86/mm/ioremap.o AS [M] arch/x86/crypto/crct10dif-pcl-asm_64.o AR drivers/phy/built-in.a CC [M] lib/kunit/static_stub.o CC [M] lib/kunit/string-stream.o AR drivers/pinctrl/actions/built-in.a CC kernel/power/main.o AR drivers/pinctrl/bcm/built-in.a AR drivers/pinctrl/cirrus/built-in.a CC kernel/power/console.o AR fs/notify/inotify/built-in.a AS arch/x86/entry/vdso/vdso-note.o CC arch/x86/kernel/fpu/regset.o CC fs/proc/task_mmu.o AR drivers/pinctrl/freescale/built-in.a CC arch/x86/entry/vdso/vclock_gettime.o CC drivers/pinctrl/intel/pinctrl-baytrail.o CC drivers/pinctrl/intel/pinctrl-intel.o CC fs/notify/notification.o CC arch/x86/pci/mmconfig-shared.o CC [M] arch/x86/crypto/crct10dif-pclmul_glue.o AR arch/x86/ia32/built-in.a CC fs/notify/group.o AR arch/x86/mm/pat/built-in.a CC sound/core/sound.o CC fs/kernfs/mount.o CC fs/sysfs/file.o CC mm/kasan/init.o CC fs/sysfs/dir.o CC fs/sysfs/symlink.o CC arch/x86/entry/vdso/vgetcpu.o CC arch/x86/events/amd/ibs.o CC security/keys/keyctl.o CC fs/iomap/iter.o CC security/keys/permission.o AR arch/x86/power/built-in.a CC kernel/sched/build_utility.o CC io_uring/uring_cmd.o AS arch/x86/lib/memcpy_64.o CC [M] lib/kunit/assert.o AS arch/x86/lib/memmove_64.o CC [M] lib/kunit/try-catch.o CC fs/kernfs/inode.o CC block/partitions/msdos.o AS arch/x86/lib/memset_64.o LD [M] arch/x86/crypto/ghash-clmulni-intel.o LD [M] arch/x86/crypto/crc32-pclmul.o CC arch/x86/lib/misc.o LD [M] arch/x86/crypto/crct10dif-pclmul.o HOSTCC arch/x86/entry/vdso/vdso2c AR arch/x86/crypto/built-in.a CC arch/x86/mm/extable.o CC arch/x86/lib/pc-conf-reg.o CC fs/sysfs/mount.o AR ipc/built-in.a CC net/core/skbuff.o CC sound/core/seq/seq_queue.o CC arch/x86/kernel/fpu/signal.o CC init/initramfs.o CC fs/notify/mark.o CC fs/notify/fdinfo.o CC kernel/power/process.o CC kernel/power/suspend.o AS arch/x86/lib/putuser.o AS arch/x86/lib/retpoline.o CC block/partitions/efi.o CC mm/kasan/generic.o CC kernel/power/hibernate.o CC sound/core/init.o CC arch/x86/lib/usercopy.o CC crypto/scatterwalk.o CC sound/core/memory.o CC mm/kasan/report_generic.o LDS arch/x86/entry/vdso/vdso32/vdso32.lds CC [M] lib/kunit/executor.o CC arch/x86/pci/fixup.o AS arch/x86/entry/vdso/vdso32/note.o CC kernel/locking/semaphore.o AR fs/notify/fanotify/built-in.a CC arch/x86/pci/acpi.o AS arch/x86/entry/vdso/vdso32/system_call.o AS arch/x86/entry/vdso/vdso32/sigreturn.o CC fs/proc/inode.o CC arch/x86/mm/mmap.o CC fs/sysfs/group.o CC init/calibrate.o CC arch/x86/entry/vdso/vdso32/vclock_gettime.o CC fs/proc/root.o CC sound/core/seq/seq_fifo.o CC arch/x86/lib/usercopy_64.o CC kernel/locking/rwsem.o CC fs/iomap/buffered-io.o AR sound/isa/ad1816a/built-in.a AR sound/isa/ad1848/built-in.a AR sound/pci/ac97/built-in.a AR sound/isa/cs423x/built-in.a AR sound/pci/ali5451/built-in.a AR sound/isa/es1688/built-in.a AR sound/pci/asihpi/built-in.a CC drivers/gpio/gpiolib.o AR sound/isa/galaxy/built-in.a AR sound/pci/au88x0/built-in.a AR sound/isa/gus/built-in.a AR sound/pci/aw2/built-in.a AR sound/isa/msnd/built-in.a AR sound/pci/ctxfi/built-in.a CC fs/kernfs/dir.o AR sound/isa/opti9xx/built-in.a AR sound/pci/ca0106/built-in.a AR sound/isa/sb/built-in.a AR sound/pci/cs46xx/built-in.a AR drivers/pwm/built-in.a AR sound/isa/wavefront/built-in.a AR sound/pci/cs5535audio/built-in.a CC mm/kasan/shadow.o AR sound/pci/lola/built-in.a AR sound/isa/wss/built-in.a CC [M] drivers/pinctrl/intel/pinctrl-cherryview.o AR sound/isa/built-in.a AR sound/pci/lx6464es/built-in.a CC fs/kernfs/file.o AR sound/pci/echoaudio/built-in.a CC kernel/power/snapshot.o CC fs/kernfs/symlink.o CC [M] drivers/pinctrl/intel/pinctrl-broxton.o AR sound/pci/emu10k1/built-in.a AR sound/pci/hda/built-in.a CC [M] sound/pci/hda/hda_bind.o CC fs/proc/base.o CC mm/kasan/quarantine.o CC arch/x86/events/amd/uncore.o CC crypto/proc.o CC crypto/aead.o CC [M] lib/kunit/attributes.o CC arch/x86/kernel/fpu/xstate.o AR sound/pci/ice1712/built-in.a AR sound/pci/korg1212/built-in.a CC init/init_task.o AR sound/pci/mixart/built-in.a AR sound/pci/nm256/built-in.a CC security/keys/process_keys.o CC sound/core/control.o CC arch/x86/mm/pgtable.o CC [M] drivers/pinctrl/intel/pinctrl-geminilake.o CC arch/x86/lib/msr-smp.o CC arch/x86/entry/vdso/vdso32/vgetcpu.o CC kernel/power/swap.o CC kernel/power/user.o CC sound/core/seq/seq_prioq.o AR block/partitions/built-in.a CC block/fops.o AR fs/notify/built-in.a AR fs/sysfs/built-in.a AR sound/pci/oxygen/built-in.a CC mm/mempool.o AR sound/pci/pcxhr/built-in.a CC fs/configfs/inode.o CC fs/devpts/inode.o AR sound/pci/riptide/built-in.a AR sound/pci/rme9652/built-in.a CC kernel/locking/percpu-rwsem.o CC net/core/datagram.o AR sound/pci/trident/built-in.a VDSO arch/x86/entry/vdso/vdso64.so.dbg CC kernel/printk/printk.o VDSO arch/x86/entry/vdso/vdso32.so.dbg CC arch/x86/pci/legacy.o OBJCOPY arch/x86/entry/vdso/vdso64.so OBJCOPY arch/x86/entry/vdso/vdso32.so VDSO2C arch/x86/entry/vdso/vdso-image-64.c VDSO2C arch/x86/entry/vdso/vdso-image-32.c CC arch/x86/entry/vdso/vdso-image-64.o CC io_uring/epoll.o CC io_uring/statx.o CC arch/x86/entry/vdso/vdso-image-32.o CC arch/x86/mm/physaddr.o CC arch/x86/lib/cache-smp.o CC net/core/stream.o CC crypto/geniv.o AR sound/pci/ymfpci/built-in.a AR sound/pci/vx222/built-in.a AR arch/x86/net/built-in.a AR arch/x86/platform/atom/built-in.a CC kernel/power/poweroff.o AR arch/x86/platform/ce4100/built-in.a CC crypto/skcipher.o CC arch/x86/platform/efi/memmap.o AR lib/kunit/built-in.a LD [M] lib/kunit/kunit.o CC io_uring/net.o CC arch/x86/lib/msr.o CC lib/math/div64.o AR arch/x86/platform/geode/built-in.a AS arch/x86/lib/msr-reg.o AR arch/x86/entry/vdso/built-in.a CC [M] sound/pci/hda/hda_codec.o AS arch/x86/entry/entry.o CC lib/math/gcd.o AS arch/x86/entry/entry_64.o CC lib/math/lcm.o CC sound/core/misc.o AR mm/kasan/built-in.a CC init/version.o CC drivers/pci/msi/pcidev_msi.o CC drivers/pci/msi/api.o CC lib/math/int_log.o CC drivers/pci/msi/msi.o CC arch/x86/entry/syscall_64.o CC drivers/video/console/dummycon.o CC sound/core/seq/seq_timer.o CC drivers/pci/msi/irqdomain.o CC lib/math/int_pow.o AR arch/x86/events/amd/built-in.a CC lib/math/int_sqrt.o CC arch/x86/events/intel/core.o CC lib/math/reciprocal_div.o CC arch/x86/pci/irq.o CC fs/configfs/file.o AR fs/kernfs/built-in.a CC fs/configfs/dir.o CC [M] drivers/pinctrl/intel/pinctrl-sunrisepoint.o CC arch/x86/entry/common.o CC fs/proc/generic.o AR init/built-in.a CC kernel/locking/irqflag-debug.o CC fs/proc/array.o CC arch/x86/events/intel/bts.o CC lib/math/rational.o CC kernel/locking/mutex-debug.o CC mm/oom_kill.o AR fs/devpts/built-in.a CC security/keys/request_key.o CC drivers/video/logo/logo.o CC arch/x86/mm/tlb.o CC arch/x86/pci/common.o AS arch/x86/entry/thunk_64.o HOSTCC drivers/video/logo/pnmtologo CC block/bio.o AR arch/x86/kernel/fpu/built-in.a CC crypto/seqiv.o CC arch/x86/platform/efi/quirks.o CC arch/x86/kernel/cpu/mce/core.o CC block/elevator.o CC arch/x86/kernel/cpu/mce/severity.o CC drivers/video/console/vgacon.o CC [M] lib/math/prime_numbers.o CC sound/core/device.o CC arch/x86/platform/efi/efi.o AR drivers/pinctrl/intel/built-in.a CC block/blk-core.o CC arch/x86/lib/msr-reg-export.o LOGO drivers/video/logo/logo_linux_clut224.c AR drivers/pinctrl/mediatek/built-in.a CC drivers/video/logo/logo_linux_clut224.o AS arch/x86/lib/hweight.o AR drivers/pinctrl/mvebu/built-in.a AS arch/x86/entry/entry_64_compat.o AR drivers/pinctrl/nomadik/built-in.a AR kernel/power/built-in.a AR drivers/pinctrl/nuvoton/built-in.a AR drivers/video/logo/built-in.a CC arch/x86/entry/syscall_32.o AR drivers/pinctrl/nxp/built-in.a CC arch/x86/pci/early.o AR sound/ppc/built-in.a CC arch/x86/kernel/acpi/boot.o AR drivers/pinctrl/qcom/built-in.a CC arch/x86/pci/bus_numa.o CC sound/core/seq/seq_system.o AR drivers/pinctrl/sprd/built-in.a CC arch/x86/lib/iomem.o CC net/core/scm.o AR drivers/pinctrl/sunplus/built-in.a AR drivers/pinctrl/ti/built-in.a CC arch/x86/kernel/cpu/mtrr/mtrr.o CC fs/iomap/direct-io.o CC drivers/pinctrl/core.o CC kernel/irq/irqdesc.o CC arch/x86/kernel/cpu/mtrr/if.o CC crypto/echainiv.o CC kernel/locking/lockdep.o AR drivers/pci/msi/built-in.a CC drivers/pci/pcie/portdrv.o CC kernel/irq/handle.o CC drivers/pci/pcie/rcec.o CC drivers/gpio/gpiolib-devres.o CC arch/x86/kernel/acpi/sleep.o CC crypto/ahash.o CC arch/x86/pci/amd_bus.o AS arch/x86/lib/iomap_copy_64.o AS arch/x86/kernel/acpi/wakeup_64.o CC security/keys/request_key_auth.o CC arch/x86/lib/inat.o AR lib/math/built-in.a CC lib/crypto/memneq.o CC lib/zlib_inflate/inffast.o CC lib/crypto/utils.o CC security/keys/user_defined.o CC lib/zlib_inflate/inflate.o AR arch/x86/lib/built-in.a AR arch/x86/lib/lib.a CC sound/core/seq/seq_ports.o CC fs/proc/fd.o CC fs/configfs/symlink.o CC fs/configfs/mount.o CC arch/x86/platform/efi/efi_64.o CC arch/x86/mm/cpu_entry_area.o CC security/keys/compat.o CC arch/x86/kernel/cpu/mce/genpool.o AR arch/x86/entry/built-in.a CC fs/proc/proc_tty.o CC [M] arch/x86/kvm/../../../virt/kvm/kvm_main.o CC fs/proc/cmdline.o CC [M] arch/x86/kvm/../../../virt/kvm/eventfd.o CC kernel/printk/printk_safe.o CC drivers/gpio/gpiolib-legacy.o CC fs/proc/consoles.o CC security/keys/proc.o CC io_uring/msg_ring.o CC arch/x86/kernel/cpu/mtrr/generic.o CC io_uring/timeout.o CC fs/configfs/item.o AR drivers/video/console/built-in.a CC drivers/video/backlight/backlight.o CC kernel/irq/manage.o CC drivers/video/fbdev/core/fb_notify.o CC io_uring/sqpoll.o AR drivers/video/fbdev/omap/built-in.a CC kernel/rcu/update.o CC lib/crypto/chacha.o CC drivers/pci/pcie/aspm.o CC kernel/rcu/sync.o CC lib/crypto/aes.o CC fs/iomap/fiemap.o CC mm/fadvise.o CC arch/x86/kernel/acpi/apei.o AR arch/x86/pci/built-in.a CC arch/x86/mm/maccess.o AR sound/arm/built-in.a CC sound/core/seq/seq_info.o CC kernel/irq/spurious.o CC sound/core/info.o CC fs/proc/cpuinfo.o CC [M] sound/pci/hda/hda_jack.o CC arch/x86/kernel/apic/apic.o CC fs/proc/devices.o CC lib/zlib_inflate/infutil.o CC net/core/gen_stats.o CC drivers/gpio/gpiolib-cdev.o CC [M] sound/pci/hda/hda_auto_parser.o CC crypto/shash.o CC mm/maccess.o CC arch/x86/mm/pgprot.o AR fs/configfs/built-in.a CC kernel/printk/printk_ringbuffer.o CC arch/x86/mm/hugetlbpage.o CC arch/x86/kernel/apic/apic_common.o CC drivers/pinctrl/pinctrl-utils.o CC mm/page-writeback.o CC kernel/irq/resend.o CC drivers/pinctrl/pinmux.o CC arch/x86/kernel/cpu/mce/intel.o CC drivers/idle/intel_idle.o CC fs/proc/interrupts.o AR arch/x86/platform/iris/built-in.a AS arch/x86/platform/efi/efi_stub_64.o AR drivers/char/ipmi/built-in.a CC arch/x86/kernel/cpu/mce/threshold.o AR arch/x86/platform/efi/built-in.a CC security/keys/sysctl.o CC arch/x86/platform/intel/iosf_mbi.o CC lib/zlib_inflate/inftrees.o CC [M] drivers/video/fbdev/core/fb_info.o CC arch/x86/kernel/acpi/cppc.o AR sound/core/seq/built-in.a CC kernel/irq/chip.o AR drivers/video/backlight/built-in.a CC drivers/pinctrl/pinconf.o CC drivers/gpio/gpiolib-sysfs.o CC kernel/irq/dummychip.o CC fs/iomap/seek.o CC lib/crypto/gf128mul.o CC lib/zlib_inflate/inflate_syms.o CC arch/x86/kernel/cpu/mtrr/cleanup.o CC kernel/locking/lockdep_proc.o AR sound/sh/built-in.a CC arch/x86/mm/kasan_init_64.o CC kernel/irq/devres.o CC arch/x86/mm/numa.o AR sound/synth/emux/built-in.a AR sound/synth/built-in.a CC fs/iomap/swapfile.o CC drivers/pinctrl/pinconf-generic.o CC mm/folio-compat.o CC mm/readahead.o CC fs/proc/loadavg.o CC io_uring/fdinfo.o CC arch/x86/kernel/acpi/cstate.o CC kernel/printk/sysctl.o CC net/core/gen_estimator.o CC mm/swap.o CC sound/core/isadma.o CC drivers/pci/pcie/aer.o CC arch/x86/events/intel/ds.o CC block/blk-sysfs.o AR security/keys/built-in.a AR security/built-in.a CC fs/proc/meminfo.o CC arch/x86/kernel/cpu/mce/apei.o AR lib/zlib_inflate/built-in.a AR sound/usb/misc/built-in.a CC fs/ext4/balloc.o AR sound/usb/usx2y/built-in.a AR sound/usb/caiaq/built-in.a CC fs/ext4/bitmap.o CC crypto/akcipher.o AR sound/usb/6fire/built-in.a CC lib/zlib_deflate/deflate.o AR sound/usb/hiface/built-in.a CC crypto/sig.o AR arch/x86/platform/intel/built-in.a AR kernel/printk/built-in.a CC kernel/irq/autoprobe.o CC fs/jbd2/transaction.o AR sound/usb/bcd2000/built-in.a CC fs/jbd2/commit.o AR arch/x86/platform/intel-mid/built-in.a AR sound/usb/built-in.a CC kernel/irq/irqdomain.o AR arch/x86/platform/intel-quark/built-in.a CC net/core/net_namespace.o AR arch/x86/platform/olpc/built-in.a AR arch/x86/platform/scx200/built-in.a CC kernel/irq/proc.o AR arch/x86/platform/ts5500/built-in.a CC lib/lzo/lzo1x_compress.o AR arch/x86/platform/uv/built-in.a CC [M] drivers/video/fbdev/core/fbmem.o AR arch/x86/platform/built-in.a CC [M] sound/pci/hda/hda_sysfs.o CC lib/lzo/lzo1x_decompress_safe.o CC [M] sound/pci/hda/hda_controller.o CC lib/crypto/blake2s.o CC arch/x86/events/zhaoxin/core.o CC kernel/rcu/srcutree.o CC fs/jbd2/recovery.o AR drivers/pinctrl/built-in.a CC fs/ramfs/inode.o CC fs/jbd2/checkpoint.o CC drivers/gpio/gpiolib-acpi.o CC sound/core/vmaster.o AR drivers/idle/built-in.a AR fs/iomap/built-in.a CC fs/proc/stat.o CC drivers/acpi/acpica/dsargs.o AR arch/x86/kernel/acpi/built-in.a CC drivers/acpi/acpica/dscontrol.o CC fs/proc/uptime.o CC drivers/acpi/acpica/dsdebug.o AR kernel/sched/built-in.a CC kernel/locking/spinlock.o CC drivers/acpi/numa/srat.o CC block/blk-flush.o AR arch/x86/kernel/cpu/mce/built-in.a CC arch/x86/mm/numa_64.o AR arch/x86/kernel/cpu/mtrr/built-in.a CC kernel/locking/osq_lock.o CC arch/x86/kernel/cpu/microcode/core.o CC lib/crypto/blake2s-generic.o CC arch/x86/kernel/cpu/microcode/intel.o CC arch/x86/kernel/apic/apic_noop.o CC drivers/video/aperture.o AR lib/lzo/built-in.a CC fs/jbd2/revoke.o CC arch/x86/mm/amdtopology.o CC arch/x86/mm/srat.o CC fs/proc/util.o CC fs/jbd2/journal.o CC [M] drivers/video/fbdev/core/fbcmap.o CC crypto/kpp.o CC fs/ext4/block_validity.o CC io_uring/tctx.o CC block/blk-settings.o CC kernel/irq/migration.o CC drivers/video/cmdline.o CC kernel/irq/cpuhotplug.o CC drivers/acpi/acpica/dsfield.o CC kernel/locking/qspinlock.o CC drivers/acpi/apei/apei-base.o CC lib/zlib_deflate/deftree.o CC kernel/locking/rtmutex_api.o AR drivers/acpi/pmic/built-in.a CC sound/core/ctljack.o CC drivers/acpi/apei/hest.o CC lib/zlib_deflate/deflate_syms.o CC fs/ramfs/file-mmu.o CC drivers/pci/pcie/err.o AR arch/x86/events/zhaoxin/built-in.a CC lib/crypto/blake2s-selftest.o CC drivers/acpi/apei/erst.o CC arch/x86/kernel/apic/ipi.o CC [M] sound/pci/hda/hda_proc.o CC drivers/acpi/dptf/int340x_thermal.o CC fs/proc/version.o CC fs/proc/softirqs.o CC net/core/secure_seq.o CC kernel/irq/pm.o AR drivers/acpi/numa/built-in.a CC kernel/irq/msi.o CC kernel/irq/affinity.o CC lib/crypto/des.o CC [M] sound/pci/hda/hda_hwdep.o CC drivers/gpio/gpiolib-swnode.o CC mm/truncate.o CC fs/hugetlbfs/inode.o CC sound/core/jack.o CC kernel/irq/matrix.o CC fs/fat/cache.o CC arch/x86/mm/pkeys.o CC drivers/acpi/acpica/dsinit.o CC fs/nfs/client.o CC drivers/acpi/acpica/dsmethod.o CC fs/nfs/dir.o CC kernel/rcu/tree.o CC fs/proc/namespaces.o CC crypto/acompress.o CC arch/x86/kernel/cpu/microcode/amd.o CC block/blk-ioc.o CC [M] drivers/video/fbdev/core/modedb.o AR fs/ramfs/built-in.a CC arch/x86/kernel/apic/vector.o CC arch/x86/kernel/apic/init.o AR kernel/livepatch/built-in.a AR lib/zlib_deflate/built-in.a CC [M] drivers/video/fbdev/core/fbcvt.o CC drivers/video/nomodeset.o CC mm/vmscan.o CC fs/exportfs/expfs.o CC arch/x86/events/intel/knc.o AR drivers/acpi/dptf/built-in.a AR drivers/video/fbdev/omap2/omapfb/dss/built-in.a CC arch/x86/mm/pti.o CC net/core/flow_dissector.o AR drivers/video/fbdev/omap2/omapfb/displays/built-in.a CC fs/ext4/dir.o AR drivers/video/fbdev/omap2/omapfb/built-in.a CC kernel/locking/spinlock_debug.o AR drivers/video/fbdev/omap2/built-in.a CC net/llc/llc_core.o CC io_uring/poll.o CC net/ethernet/eth.o CC drivers/pci/pcie/aer_inject.o CC net/802/p8022.o CC arch/x86/events/intel/lbr.o CC net/sched/sch_generic.o CC drivers/acpi/apei/bert.o CC block/blk-map.o CC arch/x86/events/intel/p4.o AR drivers/gpio/built-in.a CC net/802/psnap.o CC net/netlink/af_netlink.o CC drivers/acpi/apei/ghes.o CC drivers/acpi/acpica/dsmthdat.o CC block/blk-merge.o CC drivers/acpi/acpica/dsobject.o CC net/802/stp.o CC crypto/scompress.o CC fs/proc/self.o CC kernel/locking/qrwlock.o CC [M] sound/pci/hda/hda_generic.o CC sound/core/timer.o CC fs/fat/dir.o CC fs/proc/thread_self.o CC crypto/algboss.o AR fs/exportfs/built-in.a CC fs/lockd/clntlock.o CC crypto/testmgr.o CC lib/crypto/sha1.o AR arch/x86/kernel/cpu/microcode/built-in.a CC arch/x86/kernel/cpu/cacheinfo.o CC arch/x86/kernel/cpu/scattered.o CC crypto/cmac.o CC crypto/hmac.o CC fs/lockd/clntproc.o CC fs/proc/proc_sysctl.o AR net/bpf/built-in.a CC [M] drivers/video/fbdev/core/fb_cmdline.o AR arch/x86/mm/built-in.a CC [M] sound/pci/hda/patch_realtek.o CC net/ethtool/ioctl.o CC [M] drivers/video/fbdev/core/fb_io_fops.o CC [M] sound/pci/hda/patch_analog.o CC net/llc/llc_input.o CC drivers/acpi/acpica/dsopcode.o CC drivers/pci/pcie/pme.o CC net/core/sysctl_net_core.o AR kernel/irq/built-in.a CC lib/crypto/sha256.o CC lib/lz4/lz4_compress.o AR kernel/locking/built-in.a CC fs/proc/proc_net.o CC fs/ext4/ext4_jbd2.o CC fs/nls/nls_base.o CC arch/x86/kernel/kprobes/core.o AR fs/hugetlbfs/built-in.a AR fs/unicode/built-in.a LDS arch/x86/kernel/vmlinux.lds CC kernel/dma/mapping.o CC [M] lib/crypto/arc4.o AS arch/x86/kernel/head_64.o CC lib/zstd/zstd_compress_module.o AR net/802/built-in.a CC fs/nls/nls_cp437.o CC net/core/dev.o CC arch/x86/kernel/kprobes/opt.o CC fs/lockd/clntxdr.o CC io_uring/cancel.o AR net/ethernet/built-in.a CC lib/zstd/compress/fse_compress.o CC arch/x86/events/intel/p6.o CC drivers/acpi/acpica/dspkginit.o CC drivers/acpi/acpica/dsutils.o CC arch/x86/kernel/apic/hw_nmi.o CC arch/x86/events/intel/pt.o CC net/ethtool/common.o CC [M] arch/x86/kvm/../../../virt/kvm/binary_stats.o AR drivers/acpi/apei/built-in.a CC crypto/vmac.o CC lib/zstd/compress/hist.o CC kernel/dma/direct.o CC block/blk-timeout.o CC net/ethtool/netlink.o LD [M] lib/crypto/libarc4.o CC fs/nls/nls_ascii.o CC lib/lz4/lz4hc_compress.o CC [M] drivers/video/fbdev/core/fb_backlight.o AR lib/crypto/built-in.a CC drivers/pci/pcie/dpc.o CC fs/nls/nls_iso8859-1.o CC arch/x86/kernel/kprobes/ftrace.o CC net/llc/llc_output.o CC lib/zstd/compress/huf_compress.o CC fs/nls/nls_utf8.o AR fs/jbd2/built-in.a CC drivers/video/hdmi.o CC drivers/acpi/tables.o CC arch/x86/kernel/cpu/topology.o CC fs/nfs/file.o CC [M] drivers/video/fbdev/core/fbmon.o CC fs/ext4/extents.o CC drivers/acpi/acpica/dswexec.o CC fs/fat/fatent.o CC fs/ext4/extents_status.o CC arch/x86/kernel/cpu/common.o CC net/sched/sch_mq.o CC net/netlink/genetlink.o CC net/netlink/policy.o CC arch/x86/kernel/apic/io_apic.o CC mm/shmem.o CC net/sched/sch_frag.o CC [M] fs/nls/nls_ucs2_utils.o CC [M] drivers/video/fbdev/core/fb_defio.o CC io_uring/kbuf.o CC sound/core/hrtimer.o CC net/netlink/diag.o CC fs/lockd/host.o CC [M] arch/x86/kvm/../../../virt/kvm/vfio.o CC fs/lockd/svc.o CC arch/x86/kernel/cpu/rdrand.o CC block/blk-lib.o CC fs/proc/kcore.o AR arch/x86/kernel/kprobes/built-in.a CC fs/nfs/getroot.o CC net/core/dev_addr_lists.o CC arch/x86/kernel/apic/msi.o CC net/ethtool/bitset.o CC arch/x86/kernel/head64.o CC fs/ext4/file.o AR drivers/pci/pcie/built-in.a CC drivers/pci/hotplug/pci_hotplug_core.o CC drivers/acpi/acpica/dswload.o CC kernel/dma/ops_helpers.o AR net/llc/built-in.a CC fs/ext4/fsmap.o AR drivers/pci/controller/dwc/built-in.a AR drivers/pci/controller/mobiveil/built-in.a CC drivers/pci/controller/vmd.o CC net/core/dst.o AR fs/nls/built-in.a CC [M] net/netfilter/ipvs/ip_vs_conn.o CC sound/core/seq_device.o CC [M] net/netfilter/ipvs/ip_vs_core.o CC lib/lz4/lz4_decompress.o AR net/ipv4/netfilter/built-in.a CC [M] net/ipv4/netfilter/nf_defrag_ipv4.o CC arch/x86/events/intel/uncore.o CC [M] net/ipv4/netfilter/nf_reject_ipv4.o CC fs/nfs/inode.o CC crypto/xcbc.o CC drivers/acpi/acpica/dswload2.o CC net/core/netevent.o CC fs/proc/kmsg.o CC [M] arch/x86/kvm/../../../virt/kvm/coalesced_mmio.o CC block/blk-mq.o CC [M] arch/x86/kvm/../../../virt/kvm/async_pf.o CC lib/zstd/compress/zstd_compress.o CC fs/proc/page.o CC fs/fat/file.o CC [M] drivers/video/fbdev/core/fb_chrdev.o CC arch/x86/events/intel/uncore_nhmex.o CC kernel/dma/dummy.o CC kernel/dma/contiguous.o CC io_uring/rsrc.o CC net/core/neighbour.o CC net/sched/sch_api.o CC drivers/pci/hotplug/acpi_pcihp.o CC [M] sound/core/control_led.o CC fs/nfs/super.o CC arch/x86/kernel/ebda.o CC fs/lockd/svclock.o CC [M] net/ipv4/netfilter/ip_tables.o CC [M] drivers/video/fbdev/uvesafb.o CC arch/x86/kernel/cpu/match.o CC [M] sound/pci/hda/patch_hdmi.o CC net/core/rtnetlink.o CC crypto/crypto_null.o CC drivers/acpi/acpica/dswscope.o CC net/ethtool/strset.o CC block/blk-mq-tag.o CC drivers/pnp/pnpacpi/core.o AR drivers/pci/controller/built-in.a CC arch/x86/events/intel/uncore_snb.o AR net/netlink/built-in.a CC net/xfrm/xfrm_policy.o CC kernel/dma/swiotlb.o CC arch/x86/kernel/apic/x2apic_phys.o CC net/xfrm/xfrm_state.o CC net/core/utils.o AR lib/lz4/built-in.a CC lib/xz/xz_dec_syms.o CC fs/ext4/fsync.o CC lib/xz/xz_dec_stream.o CC [M] arch/x86/kvm/../../../virt/kvm/irqchip.o CC lib/raid6/algos.o CC [M] arch/x86/kvm/../../../virt/kvm/dirty_ring.o CC arch/x86/kernel/cpu/bugs.o CC drivers/acpi/acpica/dswstate.o CC lib/raid6/recov.o CC drivers/pci/hotplug/pciehp_core.o CC [M] drivers/video/fbdev/core/fb_procfs.o CC kernel/dma/remap.o CC net/ipv4/route.o AR fs/proc/built-in.a CC net/xfrm/xfrm_hash.o CC fs/fat/inode.o CC crypto/md5.o CC [M] net/ipv4/netfilter/iptable_filter.o CC [M] sound/core/hwdep.o CC drivers/acpi/acpica/evevent.o AR drivers/pci/switch/built-in.a CC lib/xz/xz_dec_lzma2.o CC drivers/pnp/pnpacpi/rsparser.o CC fs/fat/misc.o CC kernel/rcu/rcu_segcblist.o CC arch/x86/kernel/apic/x2apic_cluster.o CC arch/x86/events/intel/uncore_snbep.o CC [M] drivers/video/fbdev/simplefb.o CC kernel/entry/common.o HOSTCC lib/raid6/mktables CC fs/fat/nfs.o CC kernel/entry/syscall_user_dispatch.o CC block/blk-stat.o CC lib/xz/xz_dec_bcj.o CC drivers/acpi/acpica/evgpe.o CC net/ethtool/linkinfo.o CC crypto/sha1_generic.o UNROLL lib/raid6/int1.c CC drivers/acpi/acpica/evgpeblk.o UNROLL lib/raid6/int2.c CC drivers/acpi/acpica/evgpeinit.o UNROLL lib/raid6/int4.c UNROLL lib/raid6/int8.c CC fs/lockd/svcshare.o UNROLL lib/raid6/int16.c UNROLL lib/raid6/int32.c CC lib/raid6/recov_ssse3.o CC drivers/pci/hotplug/pciehp_ctrl.o CC [M] drivers/video/fbdev/core/fbsysfs.o CC [M] sound/pci/hda/hda_eld.o CC [M] arch/x86/kvm/../../../virt/kvm/pfncache.o CC fs/ext4/hash.o CC arch/x86/kernel/cpu/aperfmperf.o CC [M] sound/core/pcm.o CC [M] net/ipv4/netfilter/iptable_mangle.o CC [M] net/netfilter/ipvs/ip_vs_ctl.o AR kernel/dma/built-in.a CC [M] net/ipv4/netfilter/iptable_nat.o AR kernel/rcu/built-in.a CC io_uring/rw.o CC fs/nfs/io.o CC kernel/module/main.o CC mm/util.o CC io_uring/opdef.o CC drivers/pnp/core.o CC net/unix/af_unix.o CC fs/nfs/direct.o AR lib/xz/built-in.a CC [M] arch/x86/kvm/x86.o CC lib/fonts/fonts.o CC arch/x86/kernel/apic/apic_flat_64.o CC lib/fonts/font_8x8.o CC net/sched/sch_blackhole.o CC drivers/acpi/acpica/evgpeutil.o AR drivers/pnp/pnpacpi/built-in.a CC kernel/module/strict_rwx.o CC drivers/acpi/acpica/evglock.o CC arch/x86/kernel/apic/probe_64.o CC crypto/sha256_generic.o CC drivers/pnp/card.o CC net/xfrm/xfrm_input.o CC lib/raid6/recov_avx2.o CC net/ethtool/linkmodes.o CC kernel/time/time.o CC arch/x86/kernel/cpu/cpuid-deps.o CC fs/fat/namei_vfat.o CC kernel/time/timer.o CC kernel/entry/kvm.o CC lib/fonts/font_8x16.o CC net/sched/sch_fifo.o CC drivers/pci/hotplug/pciehp_pci.o CC drivers/acpi/acpica/evhandler.o CC fs/ext4/ialloc.o CC [M] sound/pci/hda/hda_intel.o CC fs/lockd/svcproc.o LD [M] sound/pci/hda/snd-hda-codec.o CC [M] drivers/video/fbdev/core/fbcon.o LD [M] sound/pci/hda/snd-hda-codec-generic.o CC mm/mmzone.o LD [M] sound/pci/hda/snd-hda-codec-realtek.o CC drivers/pci/hotplug/pciehp_hpc.o AR arch/x86/kernel/apic/built-in.a CC net/ethtool/rss.o CC arch/x86/kernel/platform-quirks.o CC arch/x86/kernel/process_64.o CC drivers/pci/access.o CC arch/x86/kernel/cpu/umwait.o CC arch/x86/kernel/cpu/proc.o CC [M] sound/core/pcm_native.o CC crypto/sha512_generic.o CC fs/fat/namei_msdos.o AR lib/fonts/built-in.a CC fs/nfs/pagelist.o CC net/unix/garbage.o CC net/ethtool/linkstate.o CC block/blk-mq-sysfs.o CC [M] net/ipv4/netfilter/ipt_REJECT.o CC io_uring/notif.o CC lib/zstd/compress/zstd_compress_literals.o CC lib/raid6/mmx.o CC mm/vmstat.o CC lib/raid6/sse1.o CC drivers/pnp/driver.o CC lib/raid6/sse2.o CC drivers/acpi/acpica/evmisc.o CC lib/zstd/compress/zstd_compress_sequences.o CC drivers/pci/bus.o CC mm/backing-dev.o CC drivers/pci/hotplug/acpiphp_core.o AR kernel/entry/built-in.a CC net/ethtool/debug.o MKCAP arch/x86/kernel/cpu/capflags.c CC fs/nfs/read.o LD [M] sound/pci/hda/snd-hda-codec-analog.o AR net/sched/built-in.a CC block/blk-mq-cpumap.o CC net/unix/sysctl_net_unix.o CC fs/lockd/svcsubs.o CC lib/zstd/compress/zstd_compress_superblock.o CC arch/x86/events/intel/uncore_discovery.o CC drivers/acpi/acpica/evregion.o CC lib/zstd/compress/zstd_double_fast.o CC lib/argv_split.o CC crypto/sha3_generic.o CC mm/mm_init.o CC drivers/pnp/resource.o CC fs/lockd/mon.o CC net/unix/diag.o AR fs/fat/built-in.a CC lib/zstd/compress/zstd_fast.o CC drivers/acpi/acpica/evrgnini.o CC net/unix/scm.o CC fs/lockd/trace.o CC lib/zstd/compress/zstd_lazy.o CC lib/raid6/avx2.o CC kernel/time/hrtimer.o CC net/ipv4/inetpeer.o CC block/blk-mq-sched.o CC block/ioctl.o CC drivers/pci/probe.o CC fs/lockd/xdr.o CC fs/ntfs/aops.o CC lib/bug.o CC net/ethtool/wol.o CC fs/ntfs/attrib.o CC drivers/pci/hotplug/acpiphp_glue.o CC io_uring/io-wq.o CC drivers/acpi/acpica/evsci.o CC block/genhd.o CC crypto/blake2b_generic.o CC drivers/acpi/acpica/evxface.o CC net/ethtool/features.o LD [M] sound/pci/hda/snd-hda-codec-hdmi.o LD [M] sound/pci/hda/snd-hda-intel.o CC block/ioprio.o CC kernel/module/kmod.o AR sound/pci/built-in.a CC block/badblocks.o CC kernel/futex/core.o CC [M] drivers/video/fbdev/core/bitblit.o CC arch/x86/events/intel/cstate.o CC kernel/futex/syscalls.o CC lib/raid6/avx512.o CC lib/raid6/recov_avx512.o CC kernel/time/timekeeping.o AR drivers/amba/built-in.a CC arch/x86/events/core.o CC fs/lockd/clnt4xdr.o CC [M] drivers/video/fbdev/core/softcursor.o CC drivers/pnp/manager.o CC kernel/time/ntp.o CC lib/buildid.o CC fs/ext4/indirect.o CC kernel/futex/pi.o CC net/xfrm/xfrm_output.o AR net/unix/built-in.a CC lib/cmdline.o CC [M] net/netfilter/ipvs/ip_vs_sched.o CC drivers/pnp/support.o CC drivers/acpi/acpica/evxfevnt.o CC [M] net/netfilter/ipvs/ip_vs_xmit.o CC [M] net/netfilter/ipvs/ip_vs_app.o CC fs/lockd/xdr4.o CC drivers/pci/host-bridge.o CC net/ipv4/protocol.o AR fs/hostfs/built-in.a CC net/ethtool/privflags.o CC [M] drivers/video/fbdev/core/tileblit.o CC fs/ext4/inline.o CC net/xfrm/xfrm_sysctl.o CC fs/ntfs/collate.o CC fs/nfs/symlink.o CC kernel/module/tree_lookup.o CC fs/nfs/unlink.o AR drivers/pci/hotplug/built-in.a CC crypto/ecb.o CC [M] net/netfilter/ipvs/ip_vs_sync.o CC net/ethtool/rings.o CC mm/percpu.o CC net/ethtool/channels.o CC block/blk-rq-qos.o CC fs/ntfs/compress.o CC drivers/pnp/interface.o TABLE lib/raid6/tables.c CC lib/raid6/int1.o CC drivers/acpi/acpica/evxfgpe.o CC fs/ntfs/debug.o AR arch/x86/events/intel/built-in.a CC net/core/link_watch.o CC drivers/pci/remove.o CC [M] sound/core/pcm_lib.o CC [M] sound/core/pcm_misc.o CC [M] sound/core/pcm_memory.o CC lib/cpumask.o CC mm/slab_common.o CC drivers/acpi/acpica/evxfregn.o CC kernel/futex/requeue.o CC net/netfilter/core.o CC block/disk-events.o CC crypto/cbc.o CC fs/ext4/inode.o CC net/packet/af_packet.o AR net/ipv6/netfilter/built-in.a CC arch/x86/kernel/signal.o CC [M] net/ipv6/netfilter/nf_defrag_ipv6_hooks.o CC kernel/module/debug_kmemleak.o AR io_uring/built-in.a CC net/packet/diag.o CC net/xfrm/xfrm_replay.o CC [M] net/netfilter/ipvs/ip_vs_est.o CC [M] drivers/video/fbdev/core/fb_logo.o CC net/ipv4/ip_input.o CC net/core/filter.o CC drivers/acpi/acpica/exconcat.o CC kernel/time/clocksource.o CC drivers/pnp/quirks.o CC lib/raid6/int2.o CC net/core/sock_diag.o CC fs/nfs/write.o CC fs/lockd/svc4proc.o CC fs/nfs/namespace.o CC drivers/pci/pci.o CC drivers/pci/pci-driver.o CC kernel/futex/waitwake.o CC fs/debugfs/inode.o CC kernel/time/jiffies.o CC crypto/pcbc.o CC drivers/pci/search.o CC fs/tracefs/inode.o CC arch/x86/kernel/signal_64.o CC kernel/module/kallsyms.o CC net/ethtool/coalesce.o CC mm/compaction.o CC block/blk-ia-ranges.o CC drivers/acpi/acpica/exconfig.o CC mm/show_mem.o CC fs/ntfs/dir.o CC arch/x86/kernel/traps.o CC kernel/time/timer_list.o CC arch/x86/kernel/idt.o CC arch/x86/kernel/irq.o CC arch/x86/events/probe.o CC lib/raid6/int4.o CC crypto/cts.o AR kernel/futex/built-in.a CC [M] net/netfilter/ipvs/ip_vs_proto.o CC kernel/cgroup/cgroup.o CC drivers/pnp/system.o CC crypto/lrw.o CC [M] drivers/video/fbdev/core/cfbfillrect.o CC crypto/xts.o CC fs/nfs/mount_clnt.o CC arch/x86/events/utils.o CC [M] net/ipv6/netfilter/nf_conntrack_reasm.o CC drivers/acpi/acpica/exconvrt.o CC net/netfilter/nf_log.o CC fs/debugfs/file.o AR drivers/clk/actions/built-in.a CC drivers/dma/dw/core.o CC [M] sound/core/memalloc.o AR drivers/clk/analogbits/built-in.a AR drivers/clk/bcm/built-in.a AR drivers/clk/imgtec/built-in.a CC fs/tracefs/event_inode.o AR drivers/clk/imx/built-in.a CC arch/x86/events/rapl.o AR drivers/clk/ingenic/built-in.a AR drivers/clk/mediatek/built-in.a AR drivers/clk/microchip/built-in.a CC drivers/dma/dw/dw.o AR drivers/clk/mstar/built-in.a CC drivers/dma/dw/idma32.o AR drivers/clk/mvebu/built-in.a CC block/early-lookup.o CC fs/lockd/procfs.o AR drivers/clk/ralink/built-in.a CC kernel/module/procfs.o AR drivers/clk/renesas/built-in.a CC block/bsg.o AR drivers/clk/socfpga/built-in.a CC lib/zstd/compress/zstd_ldm.o AR drivers/clk/sprd/built-in.a AR drivers/clk/starfive/built-in.a AR drivers/clk/sunxi-ng/built-in.a CC net/xfrm/xfrm_device.o AR drivers/pnp/built-in.a AR drivers/clk/ti/built-in.a CC kernel/time/timeconv.o CC lib/zstd/compress/zstd_opt.o AR drivers/clk/versatile/built-in.a CC drivers/clk/x86/clk-lpss-atom.o AR drivers/clk/xilinx/built-in.a CC arch/x86/kernel/irq_64.o CC lib/raid6/int8.o CC net/ethtool/pause.o CC net/ethtool/eee.o CC fs/nfs/nfstrace.o CC drivers/clk/x86/clk-pmc-atom.o CC net/ipv4/ip_fragment.o CC drivers/acpi/acpica/excreate.o CC net/ipv4/ip_forward.o CC drivers/clk/clk-devres.o CC drivers/clk/clk-bulk.o CC [M] sound/core/pcm_timer.o LD [M] sound/core/snd-ctl-led.o LD [M] sound/core/snd-hwdep.o CC fs/ntfs/file.o CC crypto/ctr.o CC net/ethtool/tsinfo.o CC kernel/time/timecounter.o CC drivers/dma/hsu/hsu.o CC arch/x86/kernel/cpu/powerflags.o CC [M] drivers/video/fbdev/core/cfbcopyarea.o CC kernel/time/alarmtimer.o CC kernel/module/sysfs.o AR sound/core/built-in.a AR drivers/dma/idxd/built-in.a CC arch/x86/events/msr.o CC drivers/acpi/acpica/exdebug.o CC [M] drivers/video/fbdev/core/cfbimgblt.o CC fs/ext4/ioctl.o CC [M] drivers/video/fbdev/core/sysfillrect.o AR fs/lockd/built-in.a AR fs/tracefs/built-in.a AR drivers/dma/mediatek/built-in.a CC block/bsg-lib.o CC fs/pstore/inode.o CC block/blk-cgroup.o CC drivers/acpi/acpica/exdump.o CC crypto/gcm.o CC lib/raid6/int16.o CC fs/nfs/export.o AR fs/debugfs/built-in.a CC lib/raid6/int32.o CC net/netfilter/nf_queue.o AR drivers/clk/x86/built-in.a CC [M] net/netfilter/ipvs/ip_vs_pe.o CC fs/btrfs/super.o CC net/netfilter/nf_sockopt.o CC drivers/clk/clkdev.o CC drivers/pci/pci-sysfs.o CC net/netfilter/utils.o CC arch/x86/kernel/cpu/feat_ctl.o LD [M] sound/core/snd-pcm.o CC drivers/dma/dw/acpi.o CC net/ethtool/cabletest.o AR sound/firewire/built-in.a CC kernel/cgroup/rstat.o AR sound/sparc/built-in.a CC kernel/cgroup/namespace.o CC fs/ntfs/index.o CC drivers/acpi/acpica/exfield.o AR sound/spi/built-in.a CC kernel/cgroup/cgroup-v1.o AR sound/parisc/built-in.a CC drivers/clk/clk.o LD [M] net/ipv6/netfilter/nf_defrag_ipv6.o AR sound/pcmcia/vx/built-in.a CC net/ipv6/af_inet6.o AR sound/pcmcia/pdaudiocf/built-in.a AR sound/pcmcia/built-in.a AR sound/mips/built-in.a AR sound/soc/built-in.a AR sound/atmel/built-in.a AR sound/hda/built-in.a CC [M] sound/hda/hda_bus_type.o AR kernel/module/built-in.a CC [M] sound/hda/hdac_bus.o CC net/xfrm/xfrm_algo.o CC net/key/af_key.o AR arch/x86/events/built-in.a AR drivers/dma/hsu/built-in.a CC [M] drivers/video/fbdev/core/syscopyarea.o CC lib/zstd/zstd_decompress_module.o CC lib/zstd/decompress/huf_decompress.o CC lib/raid6/tables.o CC net/core/dev_ioctl.o CC drivers/acpi/acpica/exfldio.o CC arch/x86/kernel/cpu/intel.o CC fs/pstore/platform.o CC arch/x86/kernel/dumpstack_64.o AR sound/x86/built-in.a CC net/ipv6/anycast.o AR sound/xen/built-in.a CC net/ipv6/ip6_output.o CC [M] drivers/video/fbdev/core/sysimgblt.o CC fs/nfs/sysfs.o CC fs/efivarfs/inode.o CC kernel/time/posix-timers.o CC net/ipv4/ip_options.o CC drivers/dma/dw/pci.o CC fs/efivarfs/file.o CC net/ethtool/tunnels.o CC fs/pstore/pmsg.o CC kernel/cgroup/freezer.o CC [M] net/netfilter/ipvs/ip_vs_proto_tcp.o CC crypto/pcrypt.o CC fs/ntfs/inode.o CC [M] sound/hda/hdac_device.o AR net/packet/built-in.a CC kernel/cgroup/legacy_freezer.o CC arch/x86/kernel/time.o CC drivers/acpi/acpica/exmisc.o CC drivers/acpi/acpica/exmutex.o CC mm/shmem_quota.o CC fs/nfs/fs_context.o CC mm/interval_tree.o CC block/blk-cgroup-rwstat.o CC [M] net/netfilter/nfnetlink.o CC net/ethtool/fec.o AR lib/raid6/built-in.a CC drivers/pci/rom.o CC fs/ntfs/mft.o CC kernel/cgroup/pids.o AR net/bridge/netfilter/built-in.a CC net/bridge/br.o CC fs/efivarfs/super.o AR net/dsa/built-in.a AR fs/pstore/built-in.a AR drivers/dma/dw/built-in.a CC [M] fs/netfs/buffered_read.o CC [M] net/sunrpc/auth_gss/auth_gss.o AR drivers/dma/qcom/built-in.a AR drivers/dma/ti/built-in.a CC net/xfrm/xfrm_user.o AR drivers/dma/xilinx/built-in.a CC [M] drivers/video/fbdev/core/fb_sys_fops.o CC [M] drivers/dma/ioat/init.o CC crypto/cryptd.o CC [M] drivers/dma/ioat/dma.o CC net/sunrpc/clnt.o CC arch/x86/kernel/cpu/intel_pconfig.o CC arch/x86/kernel/cpu/tsx.o CC drivers/acpi/acpica/exnames.o CC lib/ctype.o CC net/8021q/vlan_core.o CC lib/zstd/decompress/zstd_ddict.o CC [M] fs/netfs/io.o CC net/core/tso.o CC kernel/cgroup/cpuset.o CC lib/zstd/decompress/zstd_decompress.o CC net/ipv6/ip6_input.o CC [M] net/netfilter/ipvs/ip_vs_proto_udp.o CC net/bridge/br_device.o CC drivers/acpi/blacklist.o CC block/blk-throttle.o CC lib/dec_and_lock.o CC [M] sound/hda/hdac_sysfs.o CC drivers/pci/setup-res.o CC fs/ext4/mballoc.o CC drivers/dma/dmaengine.o CC net/ipv4/ip_output.o CC lib/zstd/decompress/zstd_decompress_block.o CC mm/list_lru.o CC arch/x86/kernel/cpu/intel_epb.o CC lib/zstd/zstd_common_module.o CC fs/efivarfs/vars.o CC fs/ntfs/mst.o CC drivers/acpi/acpica/exoparg1.o CC kernel/time/posix-cpu-timers.o CC [M] net/netfilter/ipvs/ip_vs_nfct.o LD [M] drivers/video/fbdev/core/fb.o CC net/ethtool/eeprom.o AR drivers/video/fbdev/core/built-in.a AR drivers/video/fbdev/built-in.a CC net/ipv4/ip_sockglue.o AR drivers/video/built-in.a CC net/dcb/dcbnl.o AR drivers/soc/apple/built-in.a AR drivers/soc/aspeed/built-in.a CC net/dcb/dcbevent.o AR drivers/soc/bcm/built-in.a AR drivers/pmdomain/actions/built-in.a AR drivers/soc/fsl/built-in.a AR drivers/pmdomain/amlogic/built-in.a AR drivers/soc/fujitsu/built-in.a AR drivers/pmdomain/apple/built-in.a CC net/l3mdev/l3mdev.o AR drivers/soc/hisilicon/built-in.a CC drivers/clk/clk-divider.o AR drivers/soc/imx/built-in.a AR drivers/pmdomain/bcm/built-in.a AR drivers/soc/ixp4xx/built-in.a AR drivers/pmdomain/imx/built-in.a AR drivers/soc/loongson/built-in.a CC arch/x86/kernel/cpu/amd.o AR drivers/pmdomain/mediatek/built-in.a CC arch/x86/kernel/cpu/hygon.o AR drivers/soc/mediatek/built-in.a CC crypto/des_generic.o AR drivers/pmdomain/qcom/built-in.a AR drivers/soc/microchip/built-in.a AR drivers/pmdomain/renesas/built-in.a AR drivers/soc/nuvoton/built-in.a AR drivers/pmdomain/rockchip/built-in.a AR drivers/pmdomain/samsung/built-in.a AR drivers/soc/pxa/built-in.a AR drivers/pmdomain/st/built-in.a CC [M] net/netfilter/nf_conntrack_core.o AR drivers/soc/amlogic/built-in.a AR drivers/pmdomain/starfive/built-in.a AR drivers/soc/qcom/built-in.a AR drivers/pmdomain/sunxi/built-in.a AR drivers/soc/renesas/built-in.a AR drivers/pmdomain/tegra/built-in.a CC [M] net/netfilter/nf_conntrack_standalone.o AR drivers/soc/rockchip/built-in.a AR drivers/pmdomain/ti/built-in.a AR drivers/soc/sifive/built-in.a CC fs/ntfs/namei.o AR drivers/pmdomain/xilinx/built-in.a CC drivers/pci/irq.o AR drivers/pmdomain/built-in.a CC drivers/acpi/acpica/exoparg2.o AR drivers/soc/sunxi/built-in.a AR drivers/soc/ti/built-in.a CC [M] drivers/dma/ioat/prep.o AR drivers/soc/xilinx/built-in.a CC [M] net/netfilter/nf_conntrack_expect.o AR drivers/soc/built-in.a CC block/mq-deadline.o CC [M] sound/hda/hdac_regmap.o CC net/bridge/br_fdb.o CC [M] fs/netfs/iterator.o AR fs/efivarfs/built-in.a AR net/key/built-in.a CC [M] net/8021q/vlan.o CC [M] drivers/dma/ioat/dca.o CC [M] fs/fscache/cache.o CC [M] drivers/dma/ioat/sysfs.o CC crypto/aes_generic.o CC [M] fs/fscache/cookie.o CC mm/workingset.o CC net/core/sock_reuseport.o CC drivers/acpi/acpica/exoparg3.o CC drivers/acpi/acpica/exoparg6.o CC drivers/clk/clk-fixed-factor.o CC fs/nfs/sysctl.o CC drivers/pci/vpd.o CC drivers/dma/virt-dma.o AR net/l3mdev/built-in.a CC mm/debug.o CC fs/ntfs/runlist.o CC net/handshake/alert.o CC mm/gup.o CC [M] net/netfilter/ipvs/ip_vs_rr.o CC net/ethtool/stats.o CC net/ipv4/inet_hashtables.o CC kernel/time/posix-clock.o CC net/bridge/br_forward.o CC [M] fs/netfs/main.o CC arch/x86/kernel/cpu/centaur.o CC [M] sound/hda/hdac_controller.o CC kernel/time/itimer.o CC arch/x86/kernel/cpu/zhaoxin.o CC drivers/acpi/acpica/exprep.o CC block/kyber-iosched.o CC net/ipv4/inet_timewait_sock.o CC [M] sound/hda/hdac_stream.o CC drivers/clk/clk-fixed-rate.o CC [M] net/sunrpc/auth_gss/gss_generic_token.o CC net/ipv6/addrconf.o LD [M] drivers/dma/ioat/ioatdma.o CC drivers/dma/acpi-dma.o CC fs/btrfs/ctree.o CC [M] net/netfilter/nf_conntrack_helper.o AR net/xfrm/built-in.a CC [M] net/bluetooth/af_bluetooth.o CC [M] net/dns_resolver/dns_key.o CC drivers/acpi/acpica/exregion.o CC lib/zstd/common/debug.o CC arch/x86/kernel/cpu/perfctr-watchdog.o CC [M] net/bluetooth/hci_core.o CC [M] net/netfilter/nf_conntrack_proto.o CC [M] net/8021q/vlan_dev.o CC kernel/trace/trace_clock.o CC drivers/pci/setup-bus.o CC fs/nfs/nfs2super.o CC crypto/crc32c_generic.o CC fs/ext4/migrate.o CC block/bfq-iosched.o CC net/devres.o CC drivers/clk/clk-gate.o AR net/dcb/built-in.a CC drivers/pci/vc.o CC net/ipv4/inet_connection_sock.o CC fs/ntfs/super.o CC [M] net/sunrpc/auth_gss/gss_mech_switch.o CC [M] fs/fscache/io.o CC drivers/virtio/virtio.o LD [M] net/netfilter/ipvs/ip_vs.o CC net/ipv4/tcp.o CC kernel/time/clockevents.o CC net/handshake/genl.o CC drivers/acpi/acpica/exresnte.o CC net/core/fib_notifier.o CC kernel/trace/ftrace.o CC [M] fs/netfs/objects.o AR kernel/cgroup/built-in.a CC net/handshake/netlink.o CC net/ethtool/phc_vclocks.o CC drivers/tty/vt/vt_ioctl.o AR drivers/dma/built-in.a CC [M] sound/hda/array.o CC crypto/crct10dif_common.o CC drivers/char/hw_random/core.o CC [M] net/dns_resolver/dns_query.o CC drivers/char/agp/backend.o CC arch/x86/kernel/cpu/vmware.o CC crypto/crct10dif_generic.o CC drivers/clk/clk-multiplier.o CC net/ipv4/tcp_input.o CC drivers/acpi/acpica/exresolv.o CC drivers/pci/mmap.o CC drivers/tty/hvc/hvc_console.o CC net/bridge/br_if.o CC drivers/tty/serial/8250/8250_core.o AR drivers/tty/ipwireless/built-in.a CC drivers/tty/serial/8250/8250_pnp.o CC [M] arch/x86/kvm/emulate.o CC lib/zstd/common/entropy_common.o CC fs/nfs/proc.o CC fs/ext4/mmp.o CC [M] fs/smb/common/cifs_arc4.o CC [M] fs/smb/client/trace.o CC kernel/time/tick-common.o CC [M] fs/smb/client/cifsfs.o CC drivers/virtio/virtio_ring.o CC crypto/authenc.o CC [M] fs/fscache/main.o CC [M] sound/hda/hdmi_chmap.o CC drivers/clk/clk-mux.o CC [M] net/8021q/vlan_netlink.o CC arch/x86/kernel/cpu/hypervisor.o LD [M] fs/netfs/netfs.o LD [M] net/dns_resolver/dns_resolver.o CC fs/nfs/nfs2xdr.o CC [M] fs/smb/common/cifs_md4.o CC net/socket.o CC drivers/virtio/virtio_anchor.o CC net/ethtool/mm.o CC drivers/char/agp/generic.o CC net/core/xdp.o CC drivers/char/hw_random/intel-rng.o CC [M] net/bluetooth/hci_conn.o CC [M] net/netfilter/nf_conntrack_proto_generic.o CC drivers/acpi/acpica/exresop.o CC [M] net/netfilter/nf_conntrack_proto_tcp.o CC net/core/flow_offload.o CC [M] fs/smb/client/cifs_debug.o CC [M] net/sunrpc/auth_gss/svcauth_gss.o CC arch/x86/kernel/cpu/mshyperv.o CC [M] fs/smb/client/connect.o CC drivers/tty/vt/vc_screen.o CC fs/ntfs/sysctl.o CC net/handshake/request.o CC fs/ntfs/unistr.o CC drivers/pci/setup-irq.o CC [M] fs/smb/client/dir.o CC drivers/clk/clk-composite.o CC [M] net/netfilter/nf_conntrack_proto_udp.o CC mm/mmap_lock.o AR drivers/tty/hvc/built-in.a CC drivers/virtio/virtio_pci_modern_dev.o CC net/handshake/tlshd.o CC drivers/acpi/acpica/exserial.o CC fs/ext4/move_extent.o AR drivers/char/hw_random/built-in.a CC net/compat.o CC kernel/time/tick-broadcast.o CC drivers/tty/serial/8250/8250_port.o CC [M] net/8021q/vlanproc.o CC [M] sound/hda/trace.o CC crypto/authencesn.o CC drivers/pci/proc.o CC net/ethtool/module.o CC fs/nfs/nfs3super.o CC net/bridge/br_input.o CC drivers/clk/clk-fractional-divider.o CC fs/ntfs/upcase.o CC drivers/acpi/acpica/exstore.o CC arch/x86/kernel/cpu/capflags.o CC fs/ext4/namei.o CC [M] fs/fscache/volume.o CC fs/ext4/page-io.o CC drivers/tty/vt/selection.o AR arch/x86/kernel/cpu/built-in.a CC arch/x86/kernel/ioport.o CC drivers/char/agp/isoch.o CC net/core/gro.o CC drivers/virtio/virtio_pci_legacy_dev.o CC drivers/char/tpm/tpm-chip.o CC kernel/time/tick-broadcast-hrtimer.o CC drivers/acpi/acpica/exstoren.o CC drivers/char/tpm/tpm-dev-common.o CC [M] net/netfilter/nf_conntrack_proto_icmp.o CC net/ethtool/pse-pd.o CC mm/highmem.o CC drivers/char/mem.o CC net/ipv4/tcp_output.o AR sound/virtio/built-in.a CC [M] fs/smb/client/file.o CC fs/ext4/readpage.o AR fs/ntfs/built-in.a CC drivers/pci/slot.o AR net/8021q/built-in.a CC drivers/char/tpm/tpm-dev.o LD [M] net/8021q/8021q.o CC drivers/clk/clk-gpio.o CC [M] sound/hda/hdac_component.o CC net/sysctl_net.o CC net/handshake/trace.o CC [M] fs/fscache/proc.o CC crypto/lzo.o CC [M] net/netfilter/nf_conntrack_extend.o CC drivers/tty/vt/keyboard.o CC arch/x86/kernel/dumpstack.o CC [M] fs/smb/client/inode.o CC block/bfq-wf2q.o CC kernel/time/tick-oneshot.o CC drivers/char/agp/intel-agp.o CC block/bfq-cgroup.o CC fs/nfs/nfs3client.o CC drivers/acpi/acpica/exstorob.o CC [M] net/bluetooth/hci_event.o CC fs/btrfs/extent-tree.o CC drivers/virtio/virtio_pci_modern.o CC drivers/acpi/acpica/exsystem.o CC [M] fs/smb/client/link.o CC arch/x86/kernel/nmi.o AR drivers/clk/built-in.a CC crypto/lzo-rle.o CC drivers/tty/serial/8250/8250_dma.o CC drivers/char/tpm/tpm-interface.o CC [M] net/sunrpc/auth_gss/gss_rpc_upcall.o CC mm/memory.o CC drivers/tty/vt/consolemap.o CC kernel/time/tick-sched.o CC crypto/lz4.o CC net/bridge/br_ioctl.o LD [M] fs/fscache/fscache.o CC drivers/acpi/acpica/extrace.o CC drivers/pci/pci-acpi.o CC [M] sound/hda/hdac_i915.o CC [M] fs/fuse/dev.o CC [M] sound/hda/intel-dsp-config.o CC [M] fs/fuse/dir.o CC mm/mincore.o CC net/ethtool/plca.o CC [M] fs/fuse/file.o CC kernel/trace/ring_buffer.o CC drivers/pci/quirks.o CC [M] net/sunrpc/auth_gss/gss_rpc_xdr.o CC net/ipv4/tcp_timer.o CC [M] net/netfilter/nf_conntrack_acct.o CC net/ipv4/tcp_ipv4.o CC lib/decompress.o CC drivers/char/agp/intel-gtt.o CC drivers/tty/serial/serial_core.o CC lib/decompress_bunzip2.o CC drivers/virtio/virtio_pci_common.o CC [M] net/netfilter/nf_conntrack_seqadj.o CC drivers/tty/serial/8250/8250_dwlib.o CC crypto/lz4hc.o CC drivers/acpi/acpica/exutils.o CC net/ipv6/addrlabel.o CC drivers/tty/serial/8250/8250_pcilib.o CC block/blk-mq-pci.o CC fs/nfs/nfs3proc.o CC net/core/netdev-genl.o CC crypto/xxhash_generic.o CC arch/x86/kernel/ldt.o AR net/handshake/built-in.a CC drivers/acpi/acpica/hwacpi.o CC [M] sound/hda/intel-nhlt.o CC drivers/char/tpm/tpm1-cmd.o CC drivers/acpi/acpica/hwesleep.o HOSTCC drivers/tty/vt/conmakehash CC lib/zstd/common/error_private.o CC lib/zstd/common/fse_decompress.o CC drivers/char/random.o CC lib/decompress_inflate.o CC [M] net/sunrpc/auth_gss/trace.o CC kernel/time/vsyscall.o CC [M] arch/x86/kvm/i8259.o CC drivers/tty/vt/vt.o CC [M] net/sunrpc/auth_gss/gss_krb5_mech.o CC lib/decompress_unlz4.o CC crypto/rng.o AR net/ethtool/built-in.a CC [M] net/sunrpc/auth_gss/gss_krb5_seal.o CC drivers/tty/serial/serial_base_bus.o CC drivers/char/misc.o CC drivers/tty/serial/8250/8250_pci.o CC [M] fs/overlayfs/super.o CC [M] fs/overlayfs/namei.o CC [M] net/netfilter/nf_conntrack_proto_icmpv6.o CC net/bridge/br_stp.o CC block/blk-mq-virtio.o CC drivers/tty/serial/8250/8250_exar.o CC drivers/acpi/acpica/hwgpe.o CC kernel/trace/trace.o CC drivers/virtio/virtio_pci_legacy.o CC [M] sound/hda/intel-sdw-acpi.o AR drivers/char/agp/built-in.a CC drivers/acpi/acpica/hwregs.o CC kernel/time/timekeeping_debug.o CC lib/decompress_unlzma.o CC net/core/netdev-genl-gen.o CC lib/decompress_unlzo.o CC [M] fs/smb/client/misc.o CC [M] fs/fuse/inode.o CC [M] net/netfilter/nf_conntrack_proto_dccp.o AS arch/x86/kernel/ibt_selftest.o CC net/ipv6/route.o CC drivers/char/tpm/tpm2-cmd.o CC fs/ext4/resize.o CC arch/x86/kernel/setup.o CC lib/zstd/common/zstd_common.o CC net/ipv4/tcp_minisocks.o CC drivers/acpi/acpica/hwsleep.o CC drivers/pci/ats.o CC net/bridge/br_stp_bpdu.o AR lib/zstd/built-in.a CC [M] fs/smb/client/netmisc.o CC [M] fs/overlayfs/util.o CC lib/decompress_unxz.o CC block/blk-mq-debugfs.o CC crypto/drbg.o CC block/blk-pm.o LD [M] sound/hda/snd-hda-core.o CC [M] fs/overlayfs/inode.o CC fs/nfs/nfs3xdr.o CC net/ipv4/tcp_cong.o LD [M] sound/hda/snd-intel-dspcfg.o CC [M] drivers/virtio/virtio_mem.o LD [M] sound/hda/snd-intel-sdw-acpi.o CC sound/sound_core.o CC kernel/time/namespace.o CC drivers/tty/serial/8250/8250_early.o CC lib/decompress_unzstd.o CC [M] arch/x86/kvm/irq.o CC net/core/gso.o CC drivers/acpi/acpica/hwvalid.o AR drivers/iommu/amd/built-in.a CC [M] fs/overlayfs/file.o CC drivers/iommu/intel/dmar.o CC sound/last.o CC drivers/char/virtio_console.o AR drivers/gpu/host1x/built-in.a AR drivers/iommu/arm/arm-smmu/built-in.a CC drivers/char/hpet.o AR drivers/gpu/drm/tests/built-in.a CC [M] drivers/gpu/drm/tests/drm_kunit_helpers.o AR drivers/iommu/arm/arm-smmu-v3/built-in.a AR drivers/iommu/arm/built-in.a AR drivers/iommu/iommufd/built-in.a CC [M] drivers/gpu/drm/tests/drm_buddy_test.o CC [M] drivers/gpu/drm/tests/drm_cmdline_parser_test.o CC lib/dump_stack.o CC drivers/iommu/iommu.o CC net/core/net-sysfs.o AR drivers/gpu/drm/arm/built-in.a CC drivers/tty/serial/serial_ctrl.o CC drivers/char/nvram.o CC drivers/pci/iov.o CC [M] fs/smb/client/smbencrypt.o CC drivers/char/tpm/tpmrm-dev.o CC net/bridge/br_stp_if.o CC drivers/acpi/acpica/hwxface.o CC [M] net/netfilter/nf_conntrack_proto_sctp.o CC drivers/acpi/acpica/hwxfsleep.o CC drivers/tty/serial/8250/8250_dw.o CC block/holder.o AR kernel/time/built-in.a AR sound/built-in.a CC [M] fs/overlayfs/dir.o CC drivers/tty/serial/8250/8250_lpss.o CC net/ipv4/tcp_metrics.o CC arch/x86/kernel/x86_init.o CC [M] fs/overlayfs/readdir.o CC net/bridge/br_stp_timer.o CC [M] net/sunrpc/auth_gss/gss_krb5_unseal.o CC [M] arch/x86/kvm/lapic.o CC [M] net/netfilter/nf_conntrack_netlink.o CC [M] fs/fuse/control.o CC lib/earlycpio.o CC [M] fs/fuse/xattr.o CC kernel/trace/trace_output.o AR drivers/virtio/built-in.a CC [M] fs/smb/client/transport.o CC [M] fs/fuse/acl.o CC lib/extable.o CC net/sunrpc/xprt.o CC drivers/acpi/acpica/hwpci.o CC net/bridge/br_netlink.o CC [M] fs/overlayfs/copy_up.o CC [M] fs/fuse/readdir.o CC crypto/jitterentropy.o CC [M] fs/fuse/ioctl.o CC drivers/char/tpm/tpm2-space.o CC crypto/jitterentropy-kcapi.o CC drivers/acpi/acpica/nsaccess.o CC [M] fs/smb/client/cached_dir.o CC [M] fs/smb/client/cifs_unicode.o AR block/built-in.a CC drivers/tty/serial/8250/8250_mid.o CC drivers/iommu/iommu-traces.o CC fs/btrfs/print-tree.o COPY drivers/tty/vt/defkeymap.c CONMK drivers/tty/vt/consolemap_deftbl.c CC fs/ext4/super.o CC drivers/tty/vt/defkeymap.o CC fs/open.o CC arch/x86/kernel/i8259.o CC drivers/pci/pci-label.o CC lib/flex_proportions.o CC drivers/acpi/acpica/nsalloc.o CC drivers/pci/pci-stub.o CC drivers/iommu/iommu-sysfs.o CC [M] net/sunrpc/auth_gss/gss_krb5_wrap.o CC drivers/connector/cn_queue.o CC drivers/connector/connector.o CC drivers/tty/vt/consolemap_deftbl.o CC drivers/acpi/acpica/nsarguments.o AR fs/nfs/built-in.a AR drivers/tty/vt/built-in.a CC drivers/connector/cn_proc.o CC [M] net/sunrpc/auth_gss/gss_krb5_crypto.o CC drivers/tty/tty_io.o CC fs/read_write.o CC net/core/page_pool.o CC crypto/ghash-generic.o CC arch/x86/kernel/irqinit.o CC drivers/tty/serial/serial_port.o CC drivers/base/power/sysfs.o CC lib/idr.o CC drivers/iommu/intel/iommu.o CC drivers/base/firmware_loader/builtin/main.o CC drivers/base/firmware_loader/main.o CC net/bridge/br_netlink_tunnel.o CC [M] drivers/gpu/drm/tests/drm_connector_test.o CC drivers/base/regmap/regmap.o CC drivers/char/tpm/tpm-sysfs.o CC drivers/tty/serial/8250/8250_pericom.o CC drivers/base/regmap/regcache.o LD [M] fs/fuse/fuse.o CC drivers/acpi/acpica/nsconvert.o CC drivers/base/regmap/regcache-rbtree.o CC arch/x86/kernel/jump_label.o CC drivers/base/power/generic_ops.o CC [M] fs/overlayfs/export.o CC net/bridge/br_arp_nd_proxy.o CC drivers/pci/vgaarb.o CC crypto/af_alg.o CC net/bridge/br_sysfs_if.o CC [M] fs/smb/client/nterr.o CC drivers/iommu/dma-iommu.o AR drivers/base/firmware_loader/builtin/built-in.a CC drivers/iommu/iova.o CC crypto/algif_hash.o CC drivers/base/power/common.o CC drivers/acpi/acpica/nsdump.o CC mm/mlock.o CC net/ipv4/tcp_fastopen.o CC fs/file_table.o CC kernel/trace/trace_seq.o CC arch/x86/kernel/irq_work.o CC lib/irq_regs.o CC fs/btrfs/root-tree.o CC drivers/iommu/intel/pasid.o CC [M] net/bluetooth/mgmt.o CC [M] net/bluetooth/hci_sock.o CC [M] drivers/gpu/drm/tests/drm_damage_helper_test.o CC drivers/acpi/acpica/nseval.o CC drivers/block/loop.o CC lib/is_single_threaded.o CC [M] drivers/block/nbd.o CC [M] drivers/gpu/drm/tests/drm_dp_mst_helper_test.o CC [M] net/sunrpc/auth_gss/gss_krb5_keys.o CC kernel/trace/trace_stat.o AR drivers/tty/serial/8250/built-in.a CC drivers/tty/serial/earlycon.o AR drivers/connector/built-in.a CC fs/btrfs/dir-item.o CC drivers/base/regmap/regcache-flat.o CC drivers/char/tpm/eventlog/common.o CC drivers/base/power/qos.o AR drivers/misc/eeprom/built-in.a AR drivers/misc/cb710/built-in.a AR drivers/misc/ti-st/built-in.a AR drivers/misc/lis3lv02d/built-in.a AR drivers/misc/cardreader/built-in.a CC [M] drivers/misc/mei/hdcp/mei_hdcp.o CC drivers/char/tpm/eventlog/tpm1.o CC [M] fs/overlayfs/params.o AR drivers/base/firmware_loader/built-in.a AR drivers/base/test/built-in.a CC [M] drivers/misc/mei/pxp/mei_pxp.o CC drivers/base/component.o CC drivers/iommu/intel/trace.o CC drivers/base/regmap/regcache-maple.o CC drivers/acpi/acpica/nsinit.o LD [M] net/sunrpc/auth_gss/auth_rpcgss.o CC net/core/net-procfs.o CC lib/klist.o CC fs/super.o CC mm/mmap.o CC crypto/algif_skcipher.o CC [M] fs/smb/client/cifsencrypt.o CC fs/char_dev.o CC [M] net/netfilter/nf_nat_core.o CC arch/x86/kernel/probe_roms.o AR drivers/pci/built-in.a AR drivers/misc/built-in.a CC [M] drivers/misc/mei/init.o CC fs/stat.o CC drivers/iommu/irq_remapping.o CC [M] drivers/gpu/drm/tests/drm_format_helper_test.o CC net/bridge/br_sysfs_br.o CC drivers/tty/serial/serial_mctrl_gpio.o CC lib/kobject.o CC [M] arch/x86/kvm/i8254.o CC drivers/base/core.o CC arch/x86/kernel/sys_ia32.o CC kernel/trace/trace_printk.o CC net/core/netpoll.o LD [M] net/sunrpc/auth_gss/rpcsec_gss_krb5.o CC drivers/acpi/acpica/nsload.o CC drivers/char/tpm/eventlog/tpm2.o CC [M] drivers/gpu/drm/tests/drm_format_test.o CC net/sunrpc/socklib.o CC drivers/iommu/intel/cap_audit.o CC drivers/base/bus.o CC [M] arch/x86/kvm/ioapic.o CC drivers/char/tpm/tpm_ppi.o CC kernel/trace/pid_list.o CC net/ipv4/tcp_rate.o CC [M] net/bluetooth/hci_sysfs.o CC drivers/base/dd.o LD [M] fs/overlayfs/overlay.o CC drivers/base/power/runtime.o CC net/sunrpc/xprtsock.o CC arch/x86/kernel/signal_32.o CC drivers/iommu/intel/irq_remapping.o CC drivers/base/syscore.o CC [M] net/netfilter/nf_nat_proto.o CC fs/exec.o CC drivers/acpi/acpica/nsnames.o CC [M] drivers/misc/mei/hbm.o CC [M] drivers/gpu/drm/tests/drm_framebuffer_test.o CC arch/x86/kernel/sys_x86_64.o CC drivers/char/tpm/eventlog/acpi.o CC fs/btrfs/file-item.o CC crypto/xor.o CC drivers/char/tpm/eventlog/efi.o AR drivers/tty/serial/built-in.a CC lib/kobject_uevent.o CC drivers/tty/n_tty.o CC fs/btrfs/inode-item.o CC kernel/trace/trace_sched_switch.o CC [M] net/netfilter/nf_nat_helper.o CC drivers/acpi/acpica/nsobject.o CC drivers/acpi/acpica/nsparse.o CC arch/x86/kernel/espfix_64.o CC fs/ext4/symlink.o CC drivers/base/power/wakeirq.o CC [M] drivers/gpu/drm/tests/drm_managed_test.o CC [M] drivers/gpu/drm/tests/drm_mm_test.o CC fs/pipe.o CC drivers/base/power/main.o CC fs/ext4/sysfs.o CC fs/ext4/xattr.o CC [M] net/bluetooth/l2cap_core.o CC net/sunrpc/sched.o CC [M] net/netfilter/nf_nat_redirect.o CC crypto/hash_info.o CC arch/x86/kernel/ksysfs.o CC [M] net/bluetooth/l2cap_sock.o CC crypto/simd.o CC [M] net/bluetooth/smp.o CC drivers/base/regmap/regmap-debugfs.o CC [M] fs/smb/client/readdir.o CC net/ipv6/ip6_fib.o CC net/bridge/br_nf_core.o CC net/core/fib_rules.o CC net/ipv6/ipv6_sockglue.o CC [M] arch/x86/kvm/irq_comm.o CC drivers/char/tpm/tpm_crb.o CC [M] net/netfilter/nf_nat_masquerade.o CC [M] fs/smb/client/ioctl.o CC drivers/acpi/acpica/nspredef.o CC [M] net/netfilter/x_tables.o CC [M] net/netfilter/xt_tcpudp.o CC net/ipv4/tcp_recovery.o CC drivers/base/power/wakeup.o CC drivers/base/power/wakeup_stats.o CC fs/btrfs/disk-io.o CC [M] drivers/misc/mei/interrupt.o CC kernel/trace/trace_functions.o CC net/core/net-traces.o CC fs/ext4/xattr_hurd.o CC fs/namei.o AR drivers/block/built-in.a CC drivers/mfd/mfd-core.o CC drivers/iommu/intel/perfmon.o CC arch/x86/kernel/bootflag.o CC drivers/acpi/acpica/nsprepkg.o CC drivers/mfd/intel-lpss.o CC [M] crypto/md4.o CC lib/logic_pio.o CC [M] net/netfilter/xt_mark.o CC [M] net/netfilter/xt_nat.o CC drivers/base/regmap/regmap-i2c.o CC drivers/base/power/domain.o AR drivers/char/tpm/built-in.a CC fs/btrfs/transaction.o AR drivers/char/built-in.a AR drivers/nfc/built-in.a AR drivers/dax/hmem/built-in.a CC drivers/dax/super.o CC drivers/base/regmap/regmap-irq.o CC net/bridge/br_multicast.o CC [M] net/netfilter/xt_REDIRECT.o CC drivers/tty/tty_ioctl.o CC drivers/acpi/acpica/nsrepair.o CC drivers/dax/bus.o CC [M] arch/x86/kvm/cpuid.o CC drivers/dma-buf/dma-buf.o CC drivers/base/power/domain_governor.o CC [M] crypto/ccm.o CC arch/x86/kernel/e820.o CC drivers/dma-buf/dma-fence.o CC [M] drivers/misc/mei/client.o CC lib/maple_tree.o CC net/ipv4/tcp_ulp.o CC kernel/trace/trace_preemptirq.o CC drivers/mfd/intel-lpss-pci.o CC mm/mmu_gather.o CC kernel/trace/trace_nop.o CC drivers/base/driver.o CC net/ipv4/tcp_offload.o CC net/bridge/br_mdb.o CC kernel/bpf/core.o CC [M] fs/smb/client/sess.o CC drivers/base/power/clock_ops.o CC drivers/acpi/acpica/nsrepair2.o CC [M] fs/smb/client/export.o CC [M] drivers/gpu/drm/tests/drm_modes_test.o CC [M] net/netfilter/xt_MASQUERADE.o CC [M] fs/smb/client/unc.o CC lib/memcat_p.o AR drivers/iommu/intel/built-in.a AR drivers/iommu/built-in.a CC [M] fs/smb/client/winucase.o CC net/bridge/br_multicast_eht.o CC kernel/events/core.o CC net/bridge/br_vlan.o CC [M] drivers/gpu/drm/tests/drm_plane_helper_test.o CC net/sunrpc/auth.o CC arch/x86/kernel/pci-dma.o CC drivers/tty/tty_ldisc.o CC drivers/mfd/intel-lpss-acpi.o CC drivers/acpi/acpica/nssearch.o CC kernel/fork.o CC net/ipv6/ndisc.o CC net/bridge/br_vlan_tunnel.o CC lib/nmi_backtrace.o CC kernel/trace/trace_functions_graph.o CC [M] crypto/arc4.o CC [M] net/bluetooth/lib.o AR drivers/base/regmap/built-in.a CC fs/btrfs/inode.o CC mm/mprotect.o AR drivers/gpu/drm/display/built-in.a CC [M] drivers/gpu/drm/display/drm_display_helper_mod.o CC fs/btrfs/file.o CC [M] drivers/gpu/drm/display/drm_dp_dual_mode_helper.o AR drivers/dax/built-in.a CC [M] arch/x86/kvm/pmu.o CC drivers/base/class.o CC [M] crypto/ecc.o CC [M] drivers/gpu/drm/tests/drm_probe_helper_test.o AR drivers/base/power/built-in.a CC drivers/base/platform.o CC drivers/dma-buf/dma-fence-array.o CC [M] net/netfilter/xt_addrtype.o CC drivers/acpi/acpica/nsutils.o CC drivers/mfd/intel_soc_pmic_crc.o AR drivers/gpu/vga/built-in.a CC drivers/acpi/acpica/nswalk.o CC [M] net/netfilter/xt_conntrack.o CC arch/x86/kernel/quirks.o CC drivers/acpi/acpica/nsxfeval.o CC [M] drivers/gpu/drm/display/drm_dp_helper.o CC net/ipv4/tcp_plb.o CC [M] drivers/gpu/drm/tests/drm_rect_test.o CC [M] drivers/misc/mei/main.o CC drivers/tty/tty_buffer.o CC lib/plist.o CC lib/radix-tree.o CC mm/mremap.o CC drivers/acpi/acpica/nsxfname.o CC drivers/dma-buf/dma-fence-chain.o CC drivers/acpi/acpica/nsxfobj.o CC [M] drivers/gpu/drm/display/drm_dp_mst_topology.o CC [M] fs/smb/client/smb2ops.o CC [M] drivers/gpu/drm/tests/drm_exec_test.o CC mm/msync.o CC [M] drivers/gpu/drm/display/drm_dsc_helper.o CC mm/page_vma_mapped.o CC [M] drivers/misc/mei/dma-ring.o CC [M] crypto/essiv.o CC kernel/trace/fgraph.o CC [M] drivers/mfd/lpc_sch.o CC fs/btrfs/defrag.o CC net/bridge/br_vlan_options.o CC kernel/trace/blktrace.o CC arch/x86/kernel/topology.o CC drivers/acpi/acpica/psargs.o CC net/ipv4/datagram.o CC drivers/base/cpu.o CC drivers/base/firmware.o CC [M] arch/x86/kvm/mtrr.o CC drivers/tty/tty_port.o CC [M] net/bluetooth/ecdh_helper.o CC [M] drivers/mfd/lpc_ich.o CC [M] net/netfilter/xt_ipvs.o CC fs/btrfs/extent_map.o AR drivers/cxl/core/built-in.a AR drivers/cxl/built-in.a CC drivers/dma-buf/dma-fence-unwrap.o CC drivers/dma-buf/dma-resv.o CC lib/ratelimit.o CC lib/rbtree.o CC drivers/tty/tty_mutex.o CC drivers/tty/tty_ldsem.o CC net/sunrpc/auth_null.o CC [M] crypto/ecdh.o CC [M] drivers/misc/mei/bus.o CC lib/seq_buf.o CC arch/x86/kernel/kdebugfs.o CC fs/btrfs/sysfs.o AR drivers/gpu/drm/renesas/rcar-du/built-in.a AR drivers/gpu/drm/renesas/built-in.a CC drivers/base/init.o CC fs/btrfs/accessors.o AR drivers/gpu/drm/omapdrm/built-in.a CC [M] drivers/gpu/drm/display/drm_hdcp_helper.o AR drivers/gpu/drm/tilcdc/built-in.a AR drivers/mfd/built-in.a CC net/sunrpc/auth_tls.o CC arch/x86/kernel/alternative.o CC drivers/acpi/acpica/psloop.o CC net/sunrpc/auth_unix.o CC net/sunrpc/svc.o CC net/bridge/br_mst.o CC lib/siphash.o CC mm/pagewalk.o AR kernel/bpf/built-in.a CC mm/pgtable-generic.o CC net/sunrpc/svcsock.o CC kernel/trace/trace_events.o CC mm/rmap.o CC fs/fcntl.o CC drivers/acpi/osi.o CC net/ipv6/udp.o AR drivers/gpu/drm/imx/built-in.a AR drivers/gpu/drm/i2c/built-in.a AR drivers/gpu/drm/panel/built-in.a CC net/sunrpc/svcauth.o AR drivers/gpu/drm/bridge/analogix/built-in.a CC [M] net/bridge/br_netfilter_hooks.o AR drivers/gpu/drm/bridge/cadence/built-in.a CC net/sunrpc/svcauth_unix.o CC [M] crypto/ecdh_helper.o AR drivers/gpu/drm/bridge/imx/built-in.a CC lib/string.o AR drivers/gpu/drm/bridge/synopsys/built-in.a CC [M] arch/x86/kvm/hyperv.o CC [M] net/bluetooth/hci_request.o AR drivers/gpu/drm/bridge/built-in.a CC drivers/tty/tty_baudrate.o AR drivers/macintosh/built-in.a CC fs/ioctl.o CC drivers/base/map.o CC drivers/acpi/acpica/psobject.o CC net/ipv4/raw.o CC net/core/selftests.o CC lib/timerqueue.o CC [M] net/bluetooth/mgmt_util.o CC net/sunrpc/addr.o CC drivers/dma-buf/sync_file.o CC [M] net/bridge/br_netfilter_ipv6.o CC [M] net/bluetooth/mgmt_config.o LD [M] net/netfilter/nf_conntrack.o LD [M] net/netfilter/nf_nat.o CC [M] net/bluetooth/hci_codec.o AR net/netfilter/built-in.a CC net/sunrpc/rpcb_clnt.o LD [M] crypto/ecdh_generic.o CC net/sunrpc/timer.o AR crypto/built-in.a CC net/core/ptp_classifier.o CC [M] net/bluetooth/eir.o CC [M] drivers/misc/mei/bus-fixup.o CC net/sunrpc/xdr.o CC net/ipv4/udp.o CC lib/vsprintf.o CC drivers/dma-buf/sw_sync.o CC drivers/base/devres.o CC [M] drivers/misc/mei/debugfs.o CC fs/btrfs/xattr.o CC drivers/acpi/acpica/psopcode.o CC drivers/tty/tty_jobctrl.o CC fs/readdir.o CC mm/vmalloc.o CC net/core/netprio_cgroup.o CC net/core/dst_cache.o CC lib/win_minmax.o CC [M] drivers/misc/mei/mei-trace.o CC fs/ext4/xattr_trusted.o CC fs/select.o CC arch/x86/kernel/i8253.o CC fs/dcache.o CC drivers/acpi/acpica/psopinfo.o CC net/sunrpc/sunrpc_syms.o CC [M] drivers/misc/mei/pci-me.o CC lib/xarray.o CC [M] drivers/misc/mei/hw-me.o CC fs/ext4/xattr_user.o CC drivers/acpi/acpica/psparse.o CC [M] net/bluetooth/hci_sync.o CC net/core/gro_cells.o CC [M] net/bluetooth/coredump.o CC drivers/dma-buf/sync_debug.o CC [M] net/bluetooth/sco.o CC fs/inode.o CC net/sunrpc/cache.o CC drivers/base/attribute_container.o CC drivers/base/transport_class.o CC mm/page_alloc.o CC drivers/tty/n_null.o CC arch/x86/kernel/hw_breakpoint.o CC drivers/base/topology.o CC fs/ext4/fast_commit.o CC net/sunrpc/rpc_pipe.o CC [M] drivers/gpu/drm/display/drm_hdmi_helper.o CC fs/ext4/orphan.o CC [M] drivers/misc/mei/gsc-me.o CC arch/x86/kernel/tsc.o CC arch/x86/kernel/tsc_msr.o CC net/sunrpc/sysfs.o CC drivers/acpi/acpica/psscope.o CC arch/x86/kernel/io_delay.o CC net/ipv4/udplite.o CC fs/attr.o CC drivers/acpi/osl.o CC drivers/base/container.o AR net/bridge/built-in.a CC drivers/scsi/scsi.o CC [M] drivers/dma-buf/selftest.o AR drivers/gpu/drm/hisilicon/built-in.a CC drivers/scsi/hosts.o CC kernel/trace/trace_export.o LD [M] net/bridge/br_netfilter.o CC drivers/scsi/scsi_ioctl.o CC net/sunrpc/svc_xprt.o CC fs/btrfs/ordered-data.o CC [M] drivers/gpu/drm/display/drm_scdc_helper.o CC drivers/tty/pty.o CC net/sunrpc/xprtmultipath.o CC drivers/base/property.o AR drivers/gpu/drm/mxsfb/built-in.a AR net/core/built-in.a AR drivers/gpu/drm/tiny/built-in.a AR drivers/gpu/drm/xlnx/built-in.a CC net/sunrpc/stats.o AR drivers/gpu/drm/gud/built-in.a CC drivers/scsi/scsicam.o AR drivers/gpu/drm/solomon/built-in.a CC net/sunrpc/sysctl.o CC drivers/tty/sysrq.o CC arch/x86/kernel/rtc.o CC drivers/acpi/acpica/pstree.o CC fs/btrfs/extent_io.o CC lib/lockref.o CC drivers/base/cacheinfo.o LD [M] drivers/misc/mei/mei.o CC [M] arch/x86/kvm/debugfs.o CC net/ipv6/udplite.o CC net/ipv6/raw.o CC drivers/acpi/utils.o CC [M] drivers/dma-buf/st-dma-fence.o LD [M] drivers/misc/mei/mei-gsc.o CC lib/bcd.o CC lib/sort.o CC fs/bad_inode.o CC drivers/acpi/acpica/psutils.o CC [M] drivers/gpu/drm/display/drm_dp_aux_dev.o CC kernel/trace/trace_event_perf.o CC drivers/acpi/acpica/pswalk.o CC mm/init-mm.o CC drivers/base/swnode.o CC fs/file.o CC net/ipv4/udp_offload.o CC drivers/scsi/scsi_error.o CC drivers/acpi/acpica/psxface.o CC kernel/trace/trace_events_filter.o CC arch/x86/kernel/resource.o CC fs/filesystems.o CC kernel/trace/trace_events_trigger.o CC [M] fs/smb/client/smb2maperror.o LD [M] drivers/misc/mei/mei-me.o AS arch/x86/kernel/irqflags.o CC drivers/acpi/acpica/rsaddr.o CC drivers/scsi/scsi_lib.o CC drivers/scsi/scsi_lib_dma.o CC arch/x86/kernel/static_call.o CC drivers/nvme/host/core.o CC arch/x86/kernel/process.o CC lib/parser.o CC drivers/nvme/host/ioctl.o CC mm/memblock.o AR drivers/nvme/target/built-in.a CC mm/memory_hotplug.o CC arch/x86/kernel/ptrace.o CC kernel/trace/trace_eprobe.o CC fs/namespace.o CC [M] drivers/dma-buf/st-dma-fence-chain.o AR drivers/tty/built-in.a CC drivers/nvme/host/sysfs.o CC mm/madvise.o CC drivers/nvme/host/pr.o CC drivers/ata/libata-core.o CC drivers/nvme/host/trace.o CC [M] fs/smb/client/smb2transport.o CC drivers/ata/libata-scsi.o CC [M] arch/x86/kvm/mmu/mmu.o CC drivers/acpi/acpica/rscalc.o CC drivers/acpi/reboot.o CC net/ipv6/icmp.o CC drivers/base/auxiliary.o CC net/ipv6/mcast.o CC lib/debug_locks.o CC kernel/trace/trace_kprobe.o CC fs/btrfs/volumes.o LD [M] drivers/gpu/drm/display/drm_display_helper.o CC lib/random32.o CC [M] drivers/gpu/drm/ttm/ttm_tt.o CC fs/seq_file.o CC lib/bust_spinlocks.o CC [M] drivers/gpu/drm/ttm/ttm_bo.o CC fs/btrfs/async-thread.o CC drivers/ata/libata-eh.o CC drivers/spi/spi.o CC drivers/acpi/acpica/rscreate.o CC fs/btrfs/ioctl.o AR fs/ext4/built-in.a CC fs/xattr.o CC drivers/base/devtmpfs.o CC drivers/acpi/nvs.o CC lib/kasprintf.o CC [M] drivers/gpu/drm/ttm/ttm_bo_util.o CC kernel/trace/error_report-traces.o CC drivers/nvme/host/fault_inject.o CC drivers/net/phy/mdio-boardinfo.o AR drivers/net/pse-pd/built-in.a CC drivers/ata/libata-transport.o CC [M] drivers/dma-buf/st-dma-fence-unwrap.o CC [M] fs/smb/client/smb2misc.o CC drivers/net/mdio/acpi_mdio.o CC lib/bitmap.o CC net/ipv4/arp.o CC drivers/nvme/host/pci.o CC kernel/events/ring_buffer.o AR net/sunrpc/built-in.a CC drivers/net/mdio/fwnode_mdio.o CC drivers/acpi/acpica/rsdumpinfo.o CC fs/libfs.o CC arch/x86/kernel/tls.o AR drivers/net/pcs/built-in.a CC mm/page_io.o CC [M] fs/smb/client/smb2pdu.o CC kernel/trace/power-traces.o CC net/ipv6/reassembly.o CC drivers/acpi/wakeup.o CC drivers/base/node.o CC [M] drivers/gpu/drm/ttm/ttm_bo_vm.o CC drivers/acpi/sleep.o CC drivers/acpi/acpica/rsinfo.o CC drivers/acpi/acpica/rsio.o CC [M] fs/smb/client/smb2inode.o CC fs/btrfs/locking.o CC drivers/ata/libata-trace.o CC drivers/scsi/scsi_scan.o CC [M] drivers/dma-buf/st-dma-resv.o AR drivers/net/ethernet/adi/built-in.a GEN drivers/scsi/scsi_devinfo_tbl.c CC drivers/base/memory.o AR drivers/net/ethernet/alacritech/built-in.a AR drivers/net/usb/built-in.a AR drivers/net/ethernet/amazon/built-in.a CC [M] drivers/net/usb/pegasus.o CC drivers/net/phy/stubs.o AR drivers/net/ethernet/aquantia/built-in.a AR drivers/net/ethernet/asix/built-in.a AR drivers/net/ethernet/cadence/built-in.a AR drivers/net/ethernet/broadcom/built-in.a CC drivers/net/phy/mdio_devres.o CC [M] drivers/net/ethernet/broadcom/b44.o CC [M] drivers/net/ethernet/broadcom/bnx2.o CC drivers/scsi/scsi_devinfo.o CC [M] drivers/net/ipvlan/ipvlan_core.o CC [M] drivers/net/ethernet/broadcom/cnic.o CC [M] net/bluetooth/iso.o AR drivers/net/mdio/built-in.a CC drivers/acpi/device_sysfs.o CC net/ipv6/tcp_ipv6.o CC drivers/ata/libata-sata.o CC [M] drivers/net/ipvlan/ipvlan_main.o CC drivers/acpi/acpica/rsirq.o CC [M] fs/smb/client/smb2file.o CC arch/x86/kernel/step.o AR drivers/dma-buf/built-in.a LD [M] drivers/dma-buf/dmabuf_selftests.o CC lib/scatterlist.o CC fs/fs-writeback.o CC [M] drivers/gpu/drm/ttm/ttm_module.o CC drivers/base/module.o CC kernel/events/callchain.o CC [M] drivers/net/ipvlan/ipvlan_l3s.o CC fs/btrfs/orphan.o CC mm/swap_state.o CC drivers/ata/libata-sff.o CC drivers/acpi/acpica/rslist.o CC drivers/net/phy/phy.o CC drivers/acpi/acpica/rsmemory.o CC mm/swapfile.o CC drivers/acpi/device_pm.o CC [M] fs/smb/client/cifsacl.o CC kernel/exec_domain.o CC arch/x86/kernel/i8237.o CC [M] drivers/gpu/drm/ttm/ttm_execbuf_util.o CC kernel/events/hw_breakpoint.o CC drivers/acpi/proc.o CC arch/x86/kernel/stacktrace.o CC arch/x86/kernel/reboot.o CC drivers/base/pinctrl.o CC drivers/acpi/bus.o CC net/ipv4/icmp.o CC kernel/trace/rpm-traces.o CC drivers/acpi/glue.o CC drivers/acpi/acpica/rsmisc.o CC drivers/scsi/scsi_sysctl.o CC [M] drivers/gpu/drm/ttm/ttm_range_manager.o CC arch/x86/kernel/msr.o CC [M] net/bluetooth/a2mp.o CC drivers/acpi/acpica/rsserial.o CC [M] drivers/net/usb/rtl8150.o CC [M] fs/smb/client/fs_context.o CC fs/pnode.o CC drivers/base/devcoredump.o CC drivers/acpi/acpica/rsutils.o CC kernel/panic.o CC [M] drivers/gpu/drm/ttm/ttm_resource.o CC lib/list_sort.o CC kernel/events/uprobes.o CC drivers/scsi/scsi_debugfs.o CC drivers/acpi/acpica/rsxface.o CC drivers/acpi/acpica/tbdata.o CC drivers/acpi/acpica/tbfadt.o CC lib/uuid.o AR drivers/nvme/host/built-in.a AR drivers/nvme/built-in.a CC [M] drivers/gpu/drm/ttm/ttm_pool.o CC [M] drivers/gpu/drm/ttm/ttm_device.o LD [M] drivers/net/ipvlan/ipvlan.o CC [M] fs/smb/client/dns_resolve.o CC [M] drivers/gpu/drm/ttm/ttm_sys_manager.o CC lib/iov_iter.o CC [M] drivers/net/usb/r8152.o CC mm/swap_slots.o CC drivers/ata/libata-pmp.o AR drivers/firewire/built-in.a AR drivers/spi/built-in.a AR drivers/cdrom/built-in.a CC kernel/cpu.o CC [M] drivers/net/usb/asix_devices.o CC mm/dmapool.o CC drivers/ata/libata-acpi.o CC arch/x86/kernel/cpuid.o CC fs/splice.o ASN.1 fs/smb/client/cifs_spnego_negtokeninit.asn1.[ch] CC drivers/ata/libata-pata-timings.o CC kernel/trace/trace_dynevent.o CC drivers/ata/ahci.o CC drivers/net/loopback.o CC arch/x86/kernel/early-quirks.o CC [M] drivers/net/vxlan/vxlan_core.o CC fs/btrfs/export.o CC mm/hugetlb.o CC drivers/base/platform-msi.o CC drivers/net/phy/phy-c45.o CC drivers/base/physical_location.o CC fs/btrfs/tree-log.o CC drivers/acpi/acpica/tbfind.o CC [M] net/bluetooth/amp.o CC [M] arch/x86/kvm/mmu/page_track.o CC drivers/scsi/scsi_trace.o CC [M] drivers/gpu/drm/ttm/ttm_agp_backend.o AR drivers/auxdisplay/built-in.a CC drivers/usb/common/common.o CC drivers/usb/core/usb.o AR drivers/usb/phy/built-in.a CC net/ipv6/ping.o CC drivers/net/phy/phy-core.o CC kernel/exit.o CC drivers/usb/core/hub.o CC drivers/usb/host/pci-quirks.o CC drivers/acpi/acpica/tbinstal.o CC drivers/usb/host/ehci-hcd.o CC drivers/net/netconsole.o CC [M] drivers/net/dummy.o CC drivers/base/trace.o CC kernel/softirq.o CC drivers/usb/core/hcd.o CC drivers/net/phy/phy_device.o CC kernel/trace/trace_probe.o CC drivers/input/serio/serio.o CC drivers/input/keyboard/atkbd.o AR drivers/input/mouse/built-in.a CC arch/x86/kernel/smp.o CC arch/x86/kernel/smpboot.o CC kernel/trace/trace_uprobe.o CC drivers/ata/libahci.o LD [M] drivers/gpu/drm/ttm/ttm.o CC net/ipv4/devinet.o CC drivers/scsi/scsi_logging.o CC [M] drivers/gpu/drm/scheduler/sched_main.o CC drivers/rtc/lib.o CC drivers/acpi/acpica/tbprint.o AR drivers/i2c/algos/built-in.a CC [M] drivers/i2c/algos/i2c-algo-bit.o CC drivers/usb/common/debug.o CC drivers/i2c/busses/i2c-designware-common.o AR drivers/i2c/muxes/built-in.a CC [M] drivers/i2c/muxes/i2c-mux-gpio.o CC [M] drivers/gpu/drm/scheduler/sched_fence.o AR drivers/usb/common/built-in.a CC drivers/i2c/i2c-boardinfo.o CC [M] drivers/net/usb/asix_common.o CC [M] drivers/net/macvlan.o CC drivers/i2c/busses/i2c-designware-master.o AR drivers/base/built-in.a CC drivers/rtc/class.o AR drivers/i3c/built-in.a CC drivers/rtc/interface.o CC drivers/i2c/busses/i2c-designware-platdrv.o CC drivers/acpi/scan.o CC [M] net/bluetooth/hci_debugfs.o AR kernel/events/built-in.a CC [M] drivers/net/mii.o CC drivers/acpi/resource.o CC drivers/acpi/acpica/tbutils.o CC net/ipv6/exthdrs.o CC fs/btrfs/free-space-cache.o CC mm/hugetlb_vmemmap.o CC drivers/input/serio/i8042.o CC lib/clz_ctz.o CC [M] drivers/gpu/drm/scheduler/sched_entity.o AR drivers/net/ethernet/cavium/common/built-in.a AR drivers/net/ethernet/cavium/thunder/built-in.a CC [M] fs/smb/client/namespace.o AR drivers/net/ethernet/cortina/built-in.a AR drivers/net/ethernet/cavium/liquidio/built-in.a CC [M] drivers/net/mdio.o AR drivers/net/ethernet/cavium/octeon/built-in.a AR drivers/net/ethernet/cavium/built-in.a CC [M] drivers/net/tun.o CC drivers/scsi/scsi_pm.o AR drivers/input/keyboard/built-in.a CC drivers/input/input.o CC drivers/i2c/i2c-core-base.o CC drivers/input/input-compat.o CC drivers/acpi/acpica/tbxface.o CC lib/bsearch.o AR drivers/net/ethernet/engleder/built-in.a AR drivers/net/ethernet/ezchip/built-in.a CC drivers/input/serio/libps2.o CC [M] arch/x86/kvm/mmu/spte.o CC net/ipv6/datagram.o CC drivers/acpi/acpica/tbxfload.o CC mm/mempolicy.o CC [M] drivers/net/veth.o CC lib/find_bit.o CC drivers/acpi/acpi_processor.o CC arch/x86/kernel/tsc_sync.o CC [M] fs/smb/client/smb1ops.o CC drivers/i2c/i2c-core-smbus.o CC [M] drivers/net/usb/ax88172a.o CC drivers/usb/core/urb.o CC [M] drivers/net/usb/ax88179_178a.o CC drivers/usb/core/message.o CC drivers/i2c/busses/i2c-designware-baytrail.o CC drivers/usb/host/ehci-pci.o CC lib/llist.o CC lib/memweight.o CC lib/kfifo.o CC drivers/acpi/acpica/tbxfroot.o CC drivers/acpi/processor_core.o CC drivers/scsi/scsi_bsg.o CC drivers/net/phy/linkmode.o CC drivers/acpi/processor_pdc.o LD [M] drivers/gpu/drm/scheduler/gpu-sched.o CC mm/sparse.o CC [M] drivers/net/ethernet/broadcom/tg3.o CC drivers/acpi/ec.o CC drivers/usb/host/ohci-hcd.o CC drivers/usb/host/ohci-pci.o CC drivers/ata/ata_piix.o CC [M] arch/x86/kvm/mmu/tdp_iter.o CC kernel/trace/rethook.o CC arch/x86/kernel/setup_percpu.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_device.o AR drivers/input/serio/built-in.a CC arch/x86/kernel/ftrace.o CC drivers/rtc/nvmem.o CC drivers/acpi/dock.o LD [M] net/bluetooth/bluetooth.o AS arch/x86/kernel/ftrace_64.o CC drivers/acpi/acpica/utaddress.o CC arch/x86/kernel/trace_clock.o CC [M] arch/x86/kvm/mmu/tdp_mmu.o CC [M] drivers/i2c/busses/i2c-scmi.o CC drivers/acpi/acpica/utalloc.o CC arch/x86/kernel/trace.o CC drivers/net/phy/mdio_bus.o CC drivers/acpi/pci_root.o CC drivers/acpi/pci_link.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.o CC [M] arch/x86/kvm/smm.o CC drivers/scsi/scsi_common.o CC mm/sparse-vmemmap.o CC drivers/net/phy/mdio_device.o CC lib/percpu-refcount.o CC lib/rhashtable.o CC [M] drivers/net/usb/cdc_ether.o CC net/ipv4/af_inet.o CC drivers/rtc/dev.o CC drivers/net/phy/swphy.o CC [M] drivers/net/usb/cdc_eem.o CC drivers/input/input-mt.o AR kernel/trace/built-in.a CC drivers/i2c/i2c-core-acpi.o CC kernel/resource.o CC drivers/usb/core/driver.o CC drivers/acpi/acpica/utascii.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_kms.o CC [M] arch/x86/kvm/vmx/vmx.o CC [M] drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.o CC drivers/acpi/acpica/utbuffer.o CC drivers/usb/host/uhci-hcd.o CC net/ipv6/ip6_flowlabel.o CC arch/x86/kernel/rethook.o CC drivers/scsi/sd.o CC drivers/i2c/i2c-core-slave.o AR drivers/ata/built-in.a CC [M] fs/smb/client/cifssmb.o CC fs/btrfs/zlib.o CC drivers/acpi/acpica/utcksum.o CC [M] drivers/i2c/busses/i2c-ccgx-ucsi.o CC drivers/i2c/i2c-dev.o CC [M] drivers/gpu/drm/i915/i915_driver.o CC [M] drivers/i2c/busses/i2c-i801.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.o CC drivers/acpi/acpica/utcopy.o CC drivers/acpi/pci_irq.o LD [M] drivers/gpu/drm/amd/amdxcp/amdxcp.o CC lib/base64.o CC [M] drivers/i2c/i2c-smbus.o CC drivers/acpi/acpi_lpss.o CC drivers/net/phy/fixed_phy.o CC [M] drivers/i2c/busses/i2c-isch.o CC lib/once.o CC lib/refcount.o CC drivers/rtc/proc.o CC drivers/rtc/sysfs.o CC [M] drivers/net/vxlan/vxlan_multicast.o CC drivers/usb/core/config.o CC drivers/input/input-poller.o CC net/ipv4/igmp.o CC arch/x86/kernel/crash_core_64.o CC mm/mmu_notifier.o CC lib/rcuref.o CC drivers/acpi/acpi_apd.o CC kernel/sysctl.o CC [M] drivers/net/vxlan/vxlan_vnifilter.o CC drivers/usb/host/xhci.o CC mm/ksm.o CC [M] drivers/i2c/i2c-mux.o CC drivers/usb/host/xhci-mem.o CC [M] drivers/net/vxlan/vxlan_mdb.o CC [M] fs/smb/client/cifs_spnego_negtokeninit.asn1.o CC drivers/acpi/acpica/utexcep.o CC drivers/acpi/acpica/utdebug.o CC drivers/usb/core/file.o CC fs/btrfs/lzo.o CC fs/btrfs/zstd.o CC drivers/usb/core/buffer.o CC drivers/rtc/rtc-mc146818-lib.o CC [M] drivers/gpu/drm/xe/tests/xe_bo_test.o CC [M] drivers/net/usb/smsc75xx.o CC lib/usercopy.o CC [M] drivers/gpu/drm/xe/tests/xe_dma_buf_test.o CC drivers/usb/core/sysfs.o CC drivers/acpi/acpi_platform.o CC drivers/acpi/acpi_pnp.o CC arch/x86/kernel/module.o CC drivers/input/ff-core.o CC mm/slub.o CC [M] drivers/net/phy/phylink.o CC drivers/usb/host/xhci-ext-caps.o CC [M] drivers/i2c/busses/i2c-ismt.o CC [M] drivers/i2c/busses/i2c-piix4.o CC drivers/usb/core/endpoint.o CC arch/x86/kernel/early_printk.o CC lib/errseq.o CC drivers/acpi/acpica/utdecode.o CC [M] arch/x86/kvm/kvm-asm-offsets.s CC net/ipv6/inet6_connection_sock.o CC [M] drivers/gpu/drm/xe/tests/xe_migrate_test.o CC net/ipv6/udp_offload.o CC lib/bucket_locks.o CC [M] drivers/gpu/drm/xe/tests/xe_pci_test.o CC [M] drivers/gpu/drm/xe/xe_bb.o CC mm/migrate.o CC drivers/usb/host/xhci-ring.o CC drivers/input/touchscreen.o CC kernel/capability.o CC drivers/rtc/rtc-cmos.o CC drivers/usb/host/xhci-hub.o CC drivers/usb/core/devio.o CC [M] drivers/i2c/busses/i2c-designware-pcidrv.o CC [M] drivers/net/usb/smsc95xx.o CC drivers/input/ff-memless.o CC [M] drivers/gpu/drm/amd/amdgpu/atombios_crtc.o CC net/ipv6/seg6.o CC [M] fs/smb/client/asn1.o CC drivers/acpi/acpica/utdelete.o CC drivers/acpi/acpica/uterror.o CC arch/x86/kernel/hpet.o CC [M] drivers/gpu/drm/vgem/vgem_drv.o CC [M] drivers/gpu/drm/xe/tests/xe_rtp_test.o CC [M] drivers/gpu/drm/xe/tests/xe_wa_test.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.o CC [M] drivers/gpu/drm/i915/i915_drm_client.o CC lib/generic-radix-tree.o CC drivers/usb/core/notify.o CC [M] drivers/gpu/drm/xe/xe_bo.o CC drivers/input/vivaldi-fmap.o CC drivers/acpi/acpica/uteval.o CC [M] drivers/gpu/drm/amd/amdgpu/atom.o CC fs/btrfs/compression.o CC fs/btrfs/delayed-ref.o CC [M] drivers/gpu/drm/nouveau/nvif/object.o CC drivers/acpi/acpica/utglobal.o CC drivers/usb/host/xhci-dbg.o CC net/ipv6/fib6_notifier.o CC drivers/scsi/sg.o CC drivers/acpi/acpica/uthex.o CC [M] drivers/gpu/drm/xe/xe_bo_evict.o CC lib/string_helpers.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_fence.o CC kernel/ptrace.o CC drivers/input/input-leds.o CC net/ipv4/fib_frontend.o CC lib/hexdump.o LD [M] drivers/i2c/busses/i2c-designware-pci.o AR drivers/i2c/busses/built-in.a AR drivers/i2c/built-in.a CC [M] drivers/gpu/drm/i915/i915_config.o CC [M] drivers/net/phy/aquantia_main.o AR drivers/media/i2c/built-in.a AR drivers/media/tuners/built-in.a AR drivers/media/common/b2c2/built-in.a AR drivers/media/rc/keymaps/built-in.a AR drivers/rtc/built-in.a CC [M] drivers/gpu/drm/vgem/vgem_fence.o AR drivers/media/rc/built-in.a AR drivers/media/common/saa7146/built-in.a CC drivers/acpi/acpica/utids.o AR drivers/ptp/built-in.a CC [M] drivers/ptp/ptp_clock.o AR drivers/media/common/siano/built-in.a AR drivers/power/reset/built-in.a CC [M] drivers/ptp/ptp_chardev.o CC [M] drivers/net/usb/mcs7830.o AR drivers/media/common/v4l2-tpg/built-in.a CC drivers/power/supply/power_supply_core.o CC drivers/hwmon/hwmon.o AR drivers/media/common/videobuf2/built-in.a CC [M] drivers/net/usb/usbnet.o AR drivers/media/common/built-in.a AR drivers/media/platform/allegro-dvt/built-in.a CC [M] drivers/hwmon/acpi_power_meter.o AR drivers/media/platform/amlogic/meson-ge2d/built-in.a AR drivers/media/platform/amlogic/built-in.a CC [M] drivers/gpu/drm/xe/xe_debugfs.o CC lib/kstrtox.o AR drivers/media/platform/amphion/built-in.a AR drivers/media/platform/aspeed/built-in.a CC drivers/usb/host/xhci-trace.o CC [M] drivers/gpu/drm/xe/xe_debug_metadata.o AR drivers/media/platform/atmel/built-in.a AR drivers/media/platform/cadence/built-in.a LD [M] drivers/net/vxlan/vxlan.o CC [M] drivers/gpu/drm/i915/i915_getparam.o AR drivers/media/platform/chips-media/built-in.a CC arch/x86/kernel/amd_nb.o AR drivers/media/platform/intel/built-in.a AR drivers/media/platform/marvell/built-in.a CC kernel/user.o CC drivers/acpi/power.o AR drivers/media/platform/mediatek/jpeg/built-in.a CC lib/debug_info.o AR drivers/media/platform/mediatek/mdp/built-in.a CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.o AR drivers/media/platform/mediatek/vcodec/common/built-in.a AR drivers/media/platform/mediatek/vcodec/encoder/built-in.a AR drivers/media/platform/mediatek/vcodec/decoder/built-in.a AR drivers/media/platform/mediatek/vcodec/built-in.a AR drivers/net/ethernet/fungible/built-in.a AR drivers/media/platform/microchip/built-in.a CC lib/iomap.o AR drivers/media/platform/mediatek/vpu/built-in.a AR drivers/media/platform/mediatek/mdp3/built-in.a AR drivers/media/platform/mediatek/built-in.a AR drivers/media/platform/nvidia/tegra-vde/built-in.a AR drivers/media/platform/nvidia/built-in.a AR drivers/media/platform/nxp/dw100/built-in.a CC drivers/input/mousedev.o AR drivers/media/platform/nxp/imx-jpeg/built-in.a CC drivers/acpi/acpica/utinit.o AR drivers/media/platform/nxp/imx8-isi/built-in.a CC [M] drivers/gpu/drm/nouveau/nvif/client.o AR drivers/media/platform/nxp/built-in.a AR drivers/media/platform/qcom/camss/built-in.a AR drivers/media/platform/qcom/venus/built-in.a AR drivers/media/platform/qcom/built-in.a AR drivers/media/platform/renesas/rcar-vin/built-in.a CC net/ipv6/rpl.o AR drivers/media/platform/renesas/rzg2l-cru/built-in.a AR drivers/media/platform/renesas/vsp1/built-in.a AR drivers/media/platform/renesas/built-in.a CC net/ipv6/ioam6.o AR drivers/media/platform/rockchip/rga/built-in.a CC kernel/signal.o CC net/ipv6/sysctl_net_ipv6.o AR drivers/media/platform/rockchip/rkisp1/built-in.a LD [M] drivers/gpu/drm/vgem/vgem.o AR drivers/media/platform/rockchip/built-in.a CC arch/x86/kernel/kvm.o CC [M] drivers/net/phy/aquantia_hwmon.o AR drivers/media/platform/samsung/exynos-gsc/built-in.a CC lib/pci_iomap.o AR drivers/media/platform/samsung/exynos4-is/built-in.a CC [M] drivers/gpu/drm/ast/ast_drv.o AR drivers/media/platform/samsung/s3c-camif/built-in.a AR drivers/media/platform/samsung/s5p-g2d/built-in.a AR drivers/media/platform/samsung/s5p-jpeg/built-in.a AR drivers/media/platform/samsung/s5p-mfc/built-in.a AR drivers/media/platform/samsung/built-in.a CC [M] drivers/gpu/drm/ast/ast_i2c.o AR drivers/media/platform/st/sti/bdisp/built-in.a AR drivers/media/platform/st/sti/c8sectpfe/built-in.a CC [M] drivers/net/phy/ax88796b.o AR drivers/media/platform/st/sti/delta/built-in.a CC drivers/usb/host/xhci-debugfs.o AR drivers/media/platform/st/sti/hva/built-in.a CC [M] drivers/ptp/ptp_sysfs.o AR drivers/media/platform/st/stm32/built-in.a CC arch/x86/kernel/kvmclock.o AR drivers/media/platform/st/built-in.a CC drivers/acpi/acpica/utlock.o CC [M] drivers/gpu/drm/ast/ast_main.o CC lib/iomap_copy.o CC drivers/power/supply/power_supply_sysfs.o AR drivers/media/platform/sunxi/sun4i-csi/built-in.a CC fs/btrfs/relocation.o AR drivers/media/platform/sunxi/sun6i-csi/built-in.a CC drivers/power/supply/power_supply_leds.o AR drivers/media/platform/sunxi/sun6i-mipi-csi2/built-in.a AR drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/built-in.a AR drivers/media/platform/sunxi/sun8i-di/built-in.a CC drivers/power/supply/power_supply_hwmon.o CC [M] drivers/net/phy/bcm7xxx.o AR drivers/media/platform/sunxi/sun8i-rotate/built-in.a CC [M] drivers/net/phy/bcm87xx.o AR drivers/media/platform/sunxi/built-in.a CC drivers/usb/core/generic.o CC fs/btrfs/delayed-inode.o CC drivers/acpi/event.o AR drivers/media/platform/ti/am437x/built-in.a AR drivers/media/platform/ti/cal/built-in.a CC drivers/acpi/acpica/utmath.o LD [M] fs/smb/client/cifs.o AR drivers/media/platform/ti/vpe/built-in.a CC lib/devres.o CC net/ipv6/xfrm6_policy.o CC [M] drivers/gpu/drm/i915/i915_ioctl.o CC lib/check_signature.o AR drivers/media/platform/ti/davinci/built-in.a AR drivers/media/platform/ti/omap/built-in.a CC [M] drivers/hwmon/coretemp.o AR drivers/media/platform/ti/omap3isp/built-in.a AR drivers/media/platform/ti/built-in.a CC [M] drivers/net/phy/bcm-phy-lib.o AR drivers/media/platform/verisilicon/built-in.a AR drivers/media/platform/via/built-in.a CC drivers/scsi/scsi_sysfs.o CC fs/btrfs/scrub.o AR drivers/media/platform/xilinx/built-in.a AR drivers/media/platform/built-in.a CC [M] drivers/gpu/drm/nouveau/nvif/conn.o CC fs/btrfs/backref.o CC kernel/sys.o AR drivers/media/pci/ttpci/built-in.a CC kernel/umh.o AR drivers/media/pci/b2c2/built-in.a AR drivers/media/pci/pluto2/built-in.a CC drivers/input/evdev.o CC [M] drivers/gpu/drm/ast/ast_mm.o AR drivers/media/pci/dm1105/built-in.a CC drivers/acpi/acpica/utmisc.o AR drivers/media/pci/pt1/built-in.a AR drivers/media/pci/pt3/built-in.a AR drivers/media/pci/mantis/built-in.a CC fs/btrfs/ulist.o AR drivers/media/pci/ngene/built-in.a CC drivers/usb/core/quirks.o CC fs/btrfs/qgroup.o AR drivers/media/pci/ddbridge/built-in.a AR drivers/media/pci/saa7146/built-in.a CC fs/btrfs/send.o AR drivers/power/supply/built-in.a AR drivers/media/pci/smipcie/built-in.a CC drivers/acpi/acpica/utmutex.o AR drivers/power/built-in.a CC drivers/usb/core/devices.o CC [M] drivers/gpu/drm/ast/ast_mode.o AR drivers/media/pci/netup_unidvb/built-in.a CC [M] drivers/net/phy/broadcom.o CC drivers/usb/core/phy.o AR drivers/media/pci/intel/ipu3/built-in.a AR drivers/media/pci/intel/ivsc/built-in.a CC [M] drivers/net/usb/cdc_ncm.o AR drivers/media/pci/intel/built-in.a AR drivers/media/pci/built-in.a CC [M] drivers/net/phy/lxt.o AR drivers/thermal/broadcom/built-in.a AR drivers/thermal/samsung/built-in.a AR drivers/media/usb/b2c2/built-in.a CC drivers/thermal/intel/intel_tcc.o AR drivers/media/usb/dvb-usb/built-in.a CC [M] drivers/ptp/ptp_vclock.o AR drivers/media/usb/dvb-usb-v2/built-in.a AR drivers/media/usb/s2255/built-in.a AR drivers/thermal/st/built-in.a AR drivers/media/usb/siano/built-in.a AR drivers/thermal/qcom/built-in.a AR drivers/media/usb/ttusb-budget/built-in.a CC arch/x86/kernel/paravirt.o AR drivers/media/usb/ttusb-dec/built-in.a CC drivers/watchdog/watchdog_core.o AR drivers/media/usb/built-in.a CC net/ipv4/fib_semantics.o AR drivers/media/mmc/siano/built-in.a CC [M] drivers/gpu/drm/ast/ast_post.o AR drivers/media/mmc/built-in.a CC drivers/thermal/intel/therm_throt.o AR drivers/media/firewire/built-in.a CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_object.o CC lib/interval_tree.o AR drivers/media/spi/built-in.a CC lib/assoc_array.o CC lib/list_debug.o CC lib/debugobjects.o AR drivers/media/test-drivers/built-in.a CC [M] drivers/md/persistent-data/dm-array.o AR drivers/media/built-in.a CC lib/bitrev.o CC [M] drivers/gpu/drm/xe/xe_devcoredump.o CC [M] drivers/md/persistent-data/dm-bitset.o CC drivers/acpi/acpica/utnonansi.o CC drivers/usb/storage/scsiglue.o CC [M] drivers/gpu/drm/nouveau/nvif/device.o CC drivers/usb/storage/protocol.o CC [M] drivers/gpu/drm/i915/i915_irq.o AR drivers/hwmon/built-in.a CC net/ipv4/fib_trie.o CC net/ipv4/fib_notifier.o CC mm/memory-tiers.o CC fs/btrfs/dev-replace.o CC drivers/usb/host/xhci-pci.o CC drivers/usb/serial/usb-serial.o CC [M] drivers/gpu/drm/ast/ast_dp501.o CC drivers/acpi/acpica/utobject.o CC [M] drivers/gpu/drm/nouveau/nvif/disp.o CC mm/migrate_device.o CC [M] drivers/gpu/drm/xe/xe_usercoredump.o CC drivers/usb/core/port.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_gart.o CC net/ipv6/xfrm6_state.o CC [M] drivers/ptp/ptp_kvm_x86.o CC net/ipv6/xfrm6_input.o AR drivers/input/built-in.a CC drivers/usb/core/hcd-pci.o CC [M] drivers/net/phy/realtek.o CC arch/x86/kernel/pvclock.o CC arch/x86/kernel/pcspeaker.o CC drivers/opp/core.o CC [M] drivers/gpu/drm/xe/xe_device.o AR drivers/scsi/built-in.a CC [M] drivers/gpu/drm/xe/xe_device_sysfs.o CC [M] drivers/thermal/intel/x86_pkg_temp_thermal.o CC drivers/watchdog/watchdog_dev.o CC drivers/acpi/acpica/utosi.o CC fs/sync.o CC fs/btrfs/raid56.o CC [M] arch/x86/kvm/vmx/pmu_intel.o CC [M] drivers/md/persistent-data/dm-block-manager.o CC drivers/usb/storage/transport.o CC fs/btrfs/uuid-tree.o CC net/ipv6/xfrm6_output.o CC [M] drivers/ptp/ptp_kvm_common.o CC lib/crc16.o CC net/ipv4/inet_fragment.o CC [M] drivers/gpu/drm/ast/ast_dp.o LD [M] drivers/ptp/ptp.o CC [M] arch/x86/kvm/vmx/vmcs12.o CC [M] drivers/gpu/drm/nouveau/nvif/driver.o CC drivers/cpufreq/cpufreq.o CC [M] drivers/gpu/drm/nouveau/nvif/event.o CC [M] drivers/gpu/drm/xe/xe_dma_buf.o CC arch/x86/kernel/check.o CC drivers/cpufreq/freq_table.o CC drivers/usb/core/usb-acpi.o CC [M] drivers/net/usb/r8153_ecm.o CC drivers/acpi/acpica/utownerid.o CC lib/crc-t10dif.o CC kernel/workqueue.o CC kernel/pid.o HOSTCC lib/gen_crc32table CC [M] drivers/gpu/drm/xe/xe_drm_client.o AR drivers/usb/host/built-in.a CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.o CC [M] drivers/gpu/drm/xe/xe_exec.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_display.o CC [M] drivers/net/phy/smsc.o CC [M] drivers/md/persistent-data/dm-space-map-common.o CC drivers/usb/serial/generic.o AR drivers/thermal/intel/built-in.a CC [M] drivers/gpu/drm/xe/xe_execlist.o AR drivers/thermal/tegra/built-in.a AR drivers/thermal/mediatek/built-in.a CC drivers/thermal/thermal_core.o LD [M] drivers/ptp/ptp_kvm.o CC drivers/opp/cpu.o CC drivers/cpufreq/cpufreq_performance.o AR drivers/net/ethernet/huawei/built-in.a CC drivers/watchdog/softdog.o CC drivers/thermal/thermal_sysfs.o CC [M] drivers/gpu/drm/i915/i915_mitigations.o CC drivers/acpi/acpica/utpredef.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.o CC drivers/md/md.o CC drivers/gpu/drm/drm_mipi_dsi.o CC arch/x86/kernel/uprobes.o CC lib/libcrc32c.o CC drivers/thermal/thermal_trip.o CC drivers/usb/serial/bus.o CC drivers/usb/storage/usb.o CC fs/btrfs/props.o CC mm/huge_memory.o CC drivers/acpi/acpica/utresdecode.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_gem.o CC [M] drivers/gpu/drm/nouveau/nvif/fifo.o AR drivers/usb/core/built-in.a CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_ring.o CC [M] arch/x86/kvm/vmx/hyperv.o CC mm/khugepaged.o LD [M] drivers/gpu/drm/ast/ast.o CC fs/btrfs/free-space-tree.o CC fs/btrfs/tree-checker.o CC drivers/cpufreq/cpufreq_ondemand.o CC drivers/opp/debugfs.o CC net/ipv6/xfrm6_protocol.o AR drivers/watchdog/built-in.a LD [M] drivers/net/usb/asix.o CC net/ipv6/netfilter.o CC [M] drivers/net/ethernet/intel/e1000/e1000_main.o CC drivers/acpi/acpica/utresrc.o CC drivers/acpi/acpica/utstate.o CC drivers/acpi/acpica/utstring.o AR drivers/usb/misc/built-in.a CC [M] drivers/net/ethernet/intel/e1000/e1000_hw.o CC lib/xxhash.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_cs.o CC fs/btrfs/space-info.o CC drivers/usb/gadget/udc/core.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_bios.o CC drivers/cpuidle/governors/menu.o AR drivers/usb/gadget/function/built-in.a CC drivers/cpuidle/governors/haltpoll.o CC drivers/usb/storage/initializers.o CC drivers/usb/serial/console.o CC arch/x86/kernel/perf_regs.o LD [M] drivers/net/phy/aquantia.o AR drivers/net/phy/built-in.a CC [M] drivers/md/persistent-data/dm-space-map-disk.o CC kernel/task_work.o CC lib/genalloc.o CC [M] arch/x86/kvm/vmx/nested.o CC [M] drivers/net/ethernet/intel/e1000/e1000_ethtool.o CC net/ipv4/ping.o CC arch/x86/kernel/tracepoint.o CC [M] drivers/gpu/drm/xe/xe_exec_queue.o CC [M] drivers/gpu/drm/i915/i915_module.o CC drivers/acpi/acpica/utstrsuppt.o CC drivers/thermal/thermal_helpers.o AR drivers/opp/built-in.a CC [M] drivers/net/ethernet/intel/e1000/e1000_param.o CC arch/x86/kernel/itmt.o CC [M] drivers/gpu/drm/nouveau/nvif/head.o CC arch/x86/kernel/umip.o CC fs/btrfs/block-rsv.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.o CC net/ipv6/fib6_rules.o CC drivers/mmc/core/core.o CC drivers/thermal/thermal_hwmon.o CC drivers/mmc/host/sdhci.o CC drivers/usb/storage/sierra_ms.o CC [M] arch/x86/kvm/vmx/posted_intr.o CC [M] drivers/usb/class/usbtmc.o CC drivers/cpufreq/cpufreq_governor.o CC drivers/usb/storage/option_ms.o CC fs/btrfs/delalloc-space.o CC drivers/mmc/core/bus.o CC drivers/acpi/acpica/utstrtoul64.o CC drivers/acpi/acpica/utxface.o CC drivers/usb/serial/ftdi_sio.o CC [M] drivers/md/persistent-data/dm-space-map-metadata.o CC drivers/mmc/host/sdhci-pci-core.o AR drivers/usb/gadget/legacy/built-in.a CC drivers/usb/gadget/usbstring.o CC drivers/thermal/gov_fair_share.o AR drivers/ufs/built-in.a AR drivers/cpuidle/governors/built-in.a CC drivers/cpuidle/cpuidle.o CC net/ipv6/proc.o CC [M] drivers/net/ethernet/intel/e1000e/82571.o CC drivers/cpuidle/driver.o CC lib/percpu_counter.o CC [M] drivers/net/ethernet/intel/e1000e/ich8lan.o CC arch/x86/kernel/unwind_orc.o CC [M] drivers/gpu/drm/nouveau/nvif/mem.o CC [M] drivers/gpu/drm/amd/amdgpu/atombios_dp.o CC drivers/thermal/gov_step_wise.o LD [M] arch/x86/kvm/kvm.o CC kernel/extable.o CC drivers/acpi/acpica/utxfinit.o CC drivers/thermal/gov_user_space.o CC drivers/usb/gadget/udc/trace.o CC drivers/usb/storage/usual-tables.o CC [M] drivers/gpu/drm/i915/i915_params.o CC lib/fault-inject.o CC drivers/acpi/acpica/utxferror.o CC [M] drivers/net/ethernet/intel/igb/igb_main.o CC drivers/acpi/acpica/utxfmutex.o CC drivers/cpufreq/cpufreq_governor_attr_set.o CC [M] drivers/net/ethernet/intel/igb/igb_ethtool.o CC drivers/usb/gadget/config.o AR drivers/leds/trigger/built-in.a AR drivers/leds/blink/built-in.a CC [M] drivers/leds/trigger/ledtrig-audio.o AR drivers/leds/simple/built-in.a UPD arch/x86/kvm/kvm-asm-offsets.h CC drivers/mmc/core/host.o CC [M] drivers/gpu/drm/i915/i915_pci.o CC drivers/leds/led-core.o CC drivers/cpuidle/governor.o CC [M] drivers/md/persistent-data/dm-transaction-manager.o CC drivers/leds/led-class.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.o CC drivers/mmc/core/mmc.o CC drivers/cpuidle/sysfs.o CC [M] drivers/gpu/drm/xe/xe_force_wake.o CC [M] drivers/gpu/drm/xe/xe_ggtt.o AR drivers/thermal/built-in.a AS [M] arch/x86/kvm/vmx/vmenter.o CC [M] drivers/gpu/drm/xe/xe_gt.o CC drivers/cpuidle/poll_state.o CC drivers/leds/led-triggers.o AR drivers/acpi/acpica/built-in.a CC [M] drivers/net/ethernet/intel/igc/igc_main.o CC [M] drivers/gpu/drm/nouveau/nvif/mmu.o CC drivers/acpi/evged.o CC [M] drivers/net/ethernet/intel/igbvf/vf.o CC arch/x86/kernel/callthunks.o AR drivers/usb/storage/built-in.a CC [M] drivers/net/ethernet/intel/igbvf/mbx.o CC lib/syscall.o CC net/ipv4/ip_tunnel_core.o CC drivers/cpufreq/acpi-cpufreq.o CC [M] drivers/net/ethernet/intel/igbvf/ethtool.o CC [M] drivers/net/ethernet/intel/e1000e/80003es2lan.o CC kernel/params.o CC fs/btrfs/block-group.o CC [M] drivers/md/persistent-data/dm-btree.o CC drivers/usb/serial/pl2303.o CC net/ipv6/syncookies.o CC drivers/usb/gadget/epautoconf.o CC drivers/usb/gadget/composite.o CC [M] drivers/net/ethernet/intel/e1000e/mac.o CC drivers/usb/gadget/functions.o CC kernel/kthread.o AR drivers/firmware/arm_ffa/built-in.a CC kernel/sys_ni.o AR drivers/firmware/arm_scmi/built-in.a CC kernel/nsproxy.o AR drivers/firmware/broadcom/built-in.a CC drivers/cpuidle/cpuidle-haltpoll.o CC kernel/notifier.o AR drivers/firmware/meson/built-in.a AR drivers/firmware/cirrus/built-in.a CC [M] drivers/net/ethernet/intel/igc/igc_mac.o CC kernel/ksysfs.o CC [M] drivers/net/ethernet/intel/igc/igc_i225.o CC drivers/firmware/efi/libstub/efi-stub-helper.o CC drivers/firmware/efi/efi-bgrt.o CC drivers/acpi/sysfs.o CC [M] drivers/net/ethernet/intel/igc/igc_base.o AR drivers/usb/gadget/udc/built-in.a CC lib/dynamic_debug.o CC kernel/cred.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.o CC [M] drivers/gpu/drm/i915/i915_scatterlist.o AR drivers/leds/built-in.a CC [M] drivers/gpu/drm/xe/xe_gt_clock.o AR drivers/crypto/stm32/built-in.a AR drivers/crypto/xilinx/built-in.a AR drivers/crypto/hisilicon/built-in.a AR drivers/crypto/intel/keembay/built-in.a AR drivers/crypto/intel/ixp4xx/built-in.a AR drivers/crypto/intel/built-in.a CC drivers/clocksource/acpi_pm.o CC [M] drivers/gpu/drm/nouveau/nvif/outp.o AR drivers/crypto/starfive/built-in.a CC arch/x86/kernel/cet.o AR drivers/crypto/built-in.a AR drivers/cpuidle/built-in.a CC arch/x86/kernel/mmconf-fam10h_64.o CC [M] drivers/gpu/drm/xe/xe_gt_debugfs.o CC [M] drivers/gpu/drm/xe/xe_gt_idle_sysfs.o CC drivers/mmc/core/mmc_ops.o CC kernel/reboot.o CC kernel/async.o CC mm/page_counter.o CC [M] drivers/net/ethernet/intel/igbvf/netdev.o CC drivers/cpufreq/intel_pstate.o CC drivers/mmc/host/sdhci-pci-o2micro.o CC drivers/firmware/efi/libstub/gop.o CC drivers/usb/gadget/configfs.o CC net/ipv4/gre_offload.o CC drivers/clocksource/i8253.o LD [M] drivers/net/ethernet/intel/e1000/e1000.o CC drivers/firmware/efi/efi.o CC [M] drivers/gpu/drm/xe/xe_gt_debug.o AR drivers/usb/serial/built-in.a CC drivers/mmc/core/sd.o CC mm/memcontrol.o CC drivers/firmware/efi/libstub/secureboot.o CC drivers/acpi/property.o AR drivers/net/ethernet/i825xx/built-in.a AR drivers/net/ethernet/microsoft/built-in.a CC kernel/range.o AR drivers/net/ethernet/litex/built-in.a AR drivers/net/ethernet/microchip/built-in.a CC drivers/mmc/core/sd_ops.o CC [M] drivers/net/ethernet/intel/igc/igc_nvm.o CC kernel/smpboot.o AR drivers/net/ethernet/mscc/built-in.a CC [M] drivers/md/persistent-data/dm-btree-remove.o CC drivers/mmc/core/sdio.o CC [M] drivers/net/ethernet/intel/e1000e/manage.o CC drivers/usb/gadget/u_f.o AR drivers/net/ethernet/neterion/built-in.a CC drivers/acpi/acpi_cmos_rtc.o CC kernel/ucount.o CC kernel/regset.o CC [M] drivers/gpu/drm/xe/xe_gt_mcr.o CC net/ipv6/mip6.o CC [M] drivers/net/ethernet/intel/e1000e/nvm.o AR drivers/clocksource/built-in.a CC drivers/acpi/x86/apple.o CC arch/x86/kernel/vsmp_64.o CC drivers/firmware/efi/libstub/tpm.o CC [M] drivers/gpu/drm/xe/xe_gt_pagefault.o CC [M] drivers/net/ethernet/intel/igc/igc_phy.o AR drivers/net/ethernet/netronome/built-in.a CC [M] drivers/net/ethernet/intel/e1000e/phy.o CC [M] drivers/gpu/drm/i915/i915_suspend.o CC [M] drivers/md/persistent-data/dm-btree-spine.o CC mm/vmpressure.o CC fs/btrfs/discard.o CC [M] drivers/gpu/drm/nouveau/nvif/timer.o AR drivers/firmware/imx/built-in.a AR drivers/firmware/psci/built-in.a AR drivers/firmware/smccc/built-in.a CC fs/utimes.o CC fs/d_path.o CC [M] drivers/gpu/drm/drm_aperture.o CC fs/stack.o CC drivers/firmware/efi/libstub/file.o CC fs/fs_struct.o CC [M] drivers/gpu/drm/nouveau/nvif/vmm.o CC fs/btrfs/reflink.o CC net/ipv4/metrics.o AR arch/x86/kernel/built-in.a CC net/ipv6/addrconf_core.o CC kernel/ksyms_common.o CC fs/btrfs/subpage.o AR arch/x86/built-in.a CC drivers/acpi/x86/utils.o CC kernel/groups.o CC drivers/mmc/host/sdhci-pci-arasan.o CC [M] drivers/net/ethernet/intel/igc/igc_diag.o CC drivers/firmware/efi/vars.o CC lib/errname.o CC [M] drivers/net/ethernet/intel/e1000e/param.o CC [M] drivers/gpu/drm/nouveau/nvif/user.o CC [M] drivers/gpu/drm/i915/i915_switcheroo.o CC lib/nlattr.o CC drivers/firmware/efi/libstub/mem.o CC [M] drivers/gpu/drm/i915/i915_sysfs.o CC drivers/acpi/x86/s2idle.o CC fs/btrfs/tree-mod-log.o CC [M] drivers/net/ethernet/intel/e1000e/ethtool.o LD [M] drivers/md/persistent-data/dm-persistent-data.o CC [M] drivers/net/ethernet/intel/igc/igc_ethtool.o AR drivers/usb/gadget/built-in.a CC mm/swap_cgroup.o CC mm/hugetlb_cgroup.o AR drivers/usb/built-in.a CC drivers/mmc/core/sdio_ops.o CC [M] drivers/gpu/drm/drm_atomic.o CC drivers/hid/usbhid/hid-core.o CC drivers/hid/hid-core.o CC drivers/hid/usbhid/hiddev.o CC mm/kmemleak.o CC net/ipv6/exthdrs_core.o CC drivers/acpi/debugfs.o CC [M] drivers/gpu/drm/drm_atomic_uapi.o CC drivers/hid/hid-input.o CC [M] drivers/gpu/drm/drm_auth.o AR drivers/net/ethernet/ni/built-in.a CC drivers/firmware/efi/reboot.o AR drivers/firmware/tegra/built-in.a CC drivers/firmware/efi/memattr.o CC [M] drivers/gpu/drm/amd/amdgpu/atombios_encoders.o AR drivers/net/ethernet/packetengines/built-in.a CC drivers/mmc/host/sdhci-pci-dwc-mshc.o CC drivers/hid/hid-quirks.o CC [M] drivers/net/ethernet/intel/e1000e/netdev.o AR drivers/staging/media/built-in.a AR drivers/staging/built-in.a CC drivers/acpi/acpi_lpat.o CC kernel/vhost_task.o CC net/ipv6/ip6_checksum.o CC drivers/firmware/efi/libstub/random.o CC [M] drivers/gpu/drm/xe/xe_gt_sysfs.o AR drivers/cpufreq/built-in.a CC drivers/acpi/acpi_lpit.o CC fs/btrfs/extent-io-tree.o CC [M] drivers/gpu/drm/i915/i915_utils.o CC [M] drivers/gpu/drm/nouveau/nvif/userc361.o LD [M] drivers/net/ethernet/intel/igbvf/igbvf.o CC net/ipv4/netlink.o CC [M] drivers/net/ethernet/intel/igc/igc_ptp.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_main.o CC [M] drivers/net/ethernet/intel/ixgbevf/vf.o AR drivers/net/ethernet/intel/built-in.a CC [M] drivers/net/ethernet/intel/ixgbevf/mbx.o CC drivers/mmc/core/sdio_bus.o CC [M] drivers/net/ethernet/intel/e100.o CC [M] drivers/net/ethernet/intel/igc/igc_dump.o CC drivers/mmc/host/sdhci-pci-gli.o CC net/ipv4/nexthop.o CC kernel/kcmp.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/client.o LD [M] arch/x86/kvm/kvm-intel.o CC lib/checksum.o CC net/ipv6/ip6_icmp.o AR drivers/platform/x86/amd/built-in.a CC drivers/mmc/core/sdio_cis.o CC drivers/mmc/core/sdio_io.o CC drivers/platform/x86/intel/pmc/core.o CC drivers/mmc/core/sdio_irq.o CC drivers/mmc/core/slot-gpio.o CC drivers/platform/x86/intel/pmc/core_ssram.o CC [M] drivers/gpu/drm/drm_blend.o CC drivers/acpi/prmt.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_sa.o CC drivers/firmware/efi/libstub/randomalloc.o CC [M] drivers/gpu/drm/amd/amdgpu/atombios_i2c.o CC [M] drivers/gpu/drm/xe/xe_gt_tlb_invalidation.o CC mm/page_isolation.o CC lib/cpu_rmap.o CC fs/btrfs/fs.o CC fs/btrfs/messages.o CC drivers/md/md-bitmap.o CC [M] drivers/net/ethernet/intel/ixgbevf/ethtool.o CC net/ipv6/output_core.o CC [M] drivers/gpu/drm/drm_bridge.o CC lib/dynamic_queue_limits.o CC drivers/acpi/acpi_pcc.o CC [M] drivers/gpu/drm/i915/intel_clock_gating.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.o CC net/ipv4/udp_tunnel_stub.o AR drivers/hid/usbhid/built-in.a CC net/ipv6/protocol.o CC drivers/hid/hid-debug.o CC kernel/freezer.o CC lib/glob.o CC [M] drivers/gpu/drm/xe/xe_gt_topology.o CC fs/statfs.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/engine.o CC drivers/md/md-autodetect.o CC drivers/platform/x86/intel/pmc/spt.o CC [M] drivers/net/ethernet/intel/igc/igc_tsn.o CC mm/early_ioremap.o CC [M] drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.o CC drivers/firmware/efi/tpm.o CC [M] drivers/gpu/drm/drm_cache.o CC drivers/firmware/efi/libstub/pci.o CC drivers/mmc/core/regulator.o CC kernel/stacktrace.o CC drivers/platform/x86/intel/pmc/cnp.o CC [M] drivers/gpu/drm/i915/intel_device_info.o CC drivers/hid/hidraw.o CC net/ipv6/ip6_offload.o CC drivers/acpi/ac.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_vm.o CC drivers/firmware/efi/memmap.o CC lib/strncpy_from_user.o CC drivers/acpi/button.o CC drivers/platform/x86/intel/pmc/icl.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.o CC drivers/platform/x86/p2sb.o CC fs/fs_pin.o CC fs/btrfs/bio.o CC mm/cma.o CC drivers/mmc/host/sdhci-acpi.o CC drivers/platform/x86/intel/pmc/tgl.o CC [M] drivers/gpu/drm/i915/intel_memory_region.o CC [M] drivers/net/ethernet/intel/igb/e1000_82575.o CC drivers/platform/x86/intel/pmc/adl.o CC [M] drivers/net/ethernet/intel/igb/e1000_mac.o CC kernel/dma.o CC [M] drivers/net/ethernet/intel/igb/e1000_nvm.o HOSTCC drivers/gpu/drm/xe/xe_gen_wa_oob CC [M] drivers/gpu/drm/drm_client.o CC drivers/mmc/host/cqhci-core.o CC mm/secretmem.o CC drivers/firmware/efi/libstub/skip_spaces.o CC net/ipv6/tcpv6_offload.o CC [M] drivers/net/ethernet/intel/igb/e1000_phy.o CC [M] drivers/net/ethernet/intel/ixgbevf/ipsec.o CC drivers/firmware/efi/libstub/lib-cmdline.o CC drivers/mmc/core/debugfs.o CC kernel/smp.o CC drivers/mmc/core/block.o CC drivers/hid/hid-generic.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_common.o CC drivers/platform/x86/intel/pmc/mtl.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/enum.o CC [M] drivers/gpu/drm/xe/xe_guc_ads.o CC lib/strnlen_user.o CC drivers/mmc/core/queue.o CC net/ipv4/sysctl_net_ipv4.o CC drivers/firmware/efi/libstub/lib-ctype.o CC drivers/firmware/efi/libstub/alignedmem.o CC net/ipv4/proc.o CC [M] drivers/gpu/drm/drm_client_modeset.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.o CC [M] drivers/net/ethernet/intel/igb/e1000_mbx.o CC [M] drivers/net/ethernet/intel/igc/igc_xdp.o CC drivers/acpi/fan_core.o CC drivers/platform/x86/pmc_atom.o CC drivers/hid/hid-a4tech.o CC [M] drivers/gpu/drm/xe/xe_guc_ct.o CC net/ipv6/exthdrs_offload.o CC [M] drivers/net/ethernet/intel/igb/e1000_i210.o CC drivers/acpi/fan_attr.o CC [M] drivers/gpu/drm/i915/intel_pcode.o AR drivers/firmware/xilinx/built-in.a CC [M] drivers/gpu/drm/i915/intel_region_ttm.o CC lib/net_utils.o CC drivers/hid/hid-apple.o CC drivers/hid/hid-belkin.o CC drivers/platform/x86/intel/pmc/pltdrv.o CC drivers/firmware/efi/libstub/relocate.o CC [M] drivers/gpu/drm/drm_color_mgmt.o CC kernel/uid16.o CC drivers/firmware/efi/esrt.o CC [M] drivers/mmc/host/sdhci-pltfm.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/event.o CC [M] drivers/net/ethernet/intel/igb/igb_ptp.o CC [M] drivers/net/ethernet/intel/igb/igb_hwmon.o CC net/ipv6/inet6_hashtables.o CC drivers/acpi/processor_driver.o CC net/ipv6/mcast_snoop.o CC drivers/firmware/efi/libstub/printk.o CC [M] drivers/gpu/drm/i915/intel_runtime_pm.o CC [M] drivers/platform/x86/wmi.o CC drivers/md/dm-uevent.o CC lib/sg_pool.o CC [M] drivers/net/ethernet/intel/e1000e/ptp.o CC fs/btrfs/lru_cache.o LD [M] drivers/net/ethernet/intel/igc/igc.o AR drivers/platform/x86/intel/pmc/built-in.a CC [M] net/ipv6/ip6_udp_tunnel.o CC [M] drivers/platform/x86/intel/pmt/class.o CC kernel/kallsyms.o CC [M] drivers/gpu/drm/i915/intel_sbi.o CC [M] drivers/gpu/drm/drm_connector.o CC [M] drivers/gpu/drm/drm_crtc.o CC drivers/firmware/efi/efi-pstore.o CC [M] drivers/gpu/drm/drm_displayid.o CC [M] drivers/gpu/drm/drm_drv.o CC mm/userfaultfd.o CC drivers/firmware/dmi_scan.o AR drivers/mmc/host/built-in.a CC [M] drivers/gpu/drm/xe/xe_guc_debugfs.o CC kernel/acct.o CC net/ipv4/syncookies.o CC [M] drivers/gpu/drm/drm_dumb_buffers.o CC drivers/firmware/dmi-sysfs.o CC [M] drivers/gpu/drm/xe/xe_guc_hwconfig.o CC fs/btrfs/acl.o CC drivers/firmware/efi/cper.o CC drivers/acpi/processor_thermal.o CC net/ipv4/esp4.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_82599.o CC lib/stackdepot.o CC drivers/md/dm.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_82598.o CC drivers/firmware/efi/libstub/vsprintf.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_phy.o CC drivers/hid/hid-cherry.o CC [M] drivers/gpu/drm/i915/intel_step.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/firmware.o CC drivers/md/dm-table.o CC drivers/mailbox/mailbox.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_ib.o CC fs/nsfs.o CC drivers/firmware/efi/libstub/x86-stub.o AR drivers/mmc/core/built-in.a CC drivers/mailbox/pcc.o AR drivers/mmc/built-in.a CC kernel/crash_core.o CC drivers/hid/hid-chicony.o CC [M] drivers/gpu/drm/xe/xe_guc_log.o CC [M] drivers/platform/x86/intel/pmt/telemetry.o AR drivers/platform/surface/built-in.a CC [M] drivers/platform/x86/intel/pmt/crashlog.o CC [M] drivers/gpu/drm/i915/intel_uncore.o CC drivers/md/dm-target.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_pll.o CC [M] drivers/gpu/drm/xe/xe_guc_pc.o CC mm/memremap.o CC drivers/firmware/dmi-id.o CC [M] drivers/platform/x86/wmi-bmof.o CC drivers/hid/hid-cypress.o LD [M] drivers/net/ethernet/intel/e1000e/e1000e.o CC drivers/hid/hid-ezkey.o CC drivers/acpi/processor_idle.o CC lib/ucs2_string.o CC drivers/acpi/processor_throttling.o CC [M] drivers/gpu/drm/drm_edid.o CC drivers/firmware/memmap.o AR net/ipv6/built-in.a LD [M] drivers/platform/x86/intel/pmt/pmt_class.o CC drivers/md/dm-linear.o CC drivers/md/dm-stripe.o CC kernel/compat.o CC mm/hmm.o LD [M] drivers/net/ethernet/intel/ixgbevf/ixgbevf.o CC mm/memfd.o CC drivers/hid/hid-kensington.o CC drivers/hid/hid-lg.o CC lib/sbitmap.o LD [M] drivers/net/ethernet/intel/igb/igb.o CC kernel/utsname.o AR fs/btrfs/built-in.a CC fs/fs_types.o CC drivers/firmware/efi/libstub/x86-5lvl.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.o CC mm/bootmem_info.o AR drivers/mailbox/built-in.a CC drivers/hid/hid-lg-g15.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/gpuobj.o LD [M] drivers/platform/x86/intel/pmt/pmt_telemetry.o CC drivers/hid/hid-microsoft.o CC drivers/firmware/efi/cper_cxl.o CC lib/group_cpus.o LD [M] drivers/platform/x86/intel/pmt/pmt_crashlog.o CC drivers/hid/hid-monterey.o CC drivers/platform/x86/intel/turbo_max_3.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.o STUBCPY drivers/firmware/efi/libstub/alignedmem.stub.o CC drivers/md/dm-ioctl.o CC [M] drivers/gpu/drm/i915/intel_wakeref.o STUBCPY drivers/firmware/efi/libstub/efi-stub-helper.stub.o STUBCPY drivers/firmware/efi/libstub/file.stub.o CC [M] lib/asn1_decoder.o CC [M] drivers/platform/x86/intel/vsec.o CC net/ipv4/esp4_offload.o STUBCPY drivers/firmware/efi/libstub/gop.stub.o CC [M] drivers/gpu/drm/drm_encoder.o GEN lib/oid_registry_data.c CC [M] drivers/gpu/drm/drm_file.o CC [M] drivers/gpu/drm/drm_fourcc.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_x540.o CC kernel/user_namespace.o CC kernel/pid_namespace.o CC drivers/firmware/efi/runtime-wrappers.o CC net/ipv4/netfilter.o UPD kernel/config_data CC drivers/md/dm-io.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_x550.o CC kernel/stop_machine.o CC fs/fs_context.o CC [M] drivers/gpu/drm/drm_framebuffer.o CC kernel/kprobes.o CC kernel/hung_task.o CC kernel/watchdog.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.o CC net/ipv4/inet_diag.o CC drivers/firmware/efi/dev-path-parser.o STUBCPY drivers/firmware/efi/libstub/lib-cmdline.stub.o STUBCPY drivers/firmware/efi/libstub/lib-ctype.stub.o STUBCPY drivers/firmware/efi/libstub/mem.stub.o CC net/ipv4/tcp_diag.o CC fs/fs_parser.o STUBCPY drivers/firmware/efi/libstub/pci.stub.o STUBCPY drivers/firmware/efi/libstub/printk.stub.o STUBCPY drivers/firmware/efi/libstub/random.stub.o CC [M] lib/oid_registry.o STUBCPY drivers/firmware/efi/libstub/randomalloc.stub.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_lib.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.o STUBCPY drivers/firmware/efi/libstub/relocate.stub.o STUBCPY drivers/firmware/efi/libstub/secureboot.stub.o STUBCPY drivers/firmware/efi/libstub/skip_spaces.stub.o STUBCPY drivers/firmware/efi/libstub/tpm.stub.o CC fs/fsopen.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/intr.o STUBCPY drivers/firmware/efi/libstub/vsprintf.stub.o CC [M] drivers/gpu/drm/xe/xe_guc_submit.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/ioctl.o STUBCPY drivers/firmware/efi/libstub/x86-5lvl.stub.o STUBCPY drivers/firmware/efi/libstub/x86-stub.stub.o CC fs/init.o AR drivers/firmware/efi/libstub/lib.a CC net/ipv4/udp_diag.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.o AR drivers/net/ethernet/realtek/built-in.a CC [M] drivers/gpu/drm/drm_gem.o CC [M] drivers/net/ethernet/realtek/8139cp.o CC drivers/acpi/processor_perflib.o AR mm/built-in.a CC [M] drivers/net/ethernet/realtek/8139too.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/memory.o CC [M] drivers/platform/x86/intel/rst.o CC [M] drivers/gpu/drm/drm_ioctl.o CC drivers/md/dm-kcopyd.o CC [M] drivers/platform/x86/mxm-wmi.o AR drivers/hid/built-in.a CC net/ipv4/tcp_cubic.o CC drivers/md/dm-sysfs.o AR lib/lib.a GEN lib/crc32table.h CC lib/crc32.o CC net/ipv4/xfrm4_policy.o CC [M] drivers/gpu/drm/i915/vlv_sideband.o CC [M] drivers/platform/x86/intel_ips.o CC [M] drivers/gpu/drm/i915/vlv_suspend.o CC kernel/watchdog_perf.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.o CC kernel/seccomp.o CC drivers/firmware/efi/apple-properties.o CC drivers/firmware/efi/earlycon.o CC net/ipv4/xfrm4_state.o CC fs/kernel_read_file.o CC [M] drivers/gpu/drm/drm_lease.o LD [M] drivers/platform/x86/intel/intel_vsec.o CC fs/mnt_idmapping.o AR drivers/platform/x86/intel/built-in.a CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.o CC drivers/md/dm-stats.o LD [M] drivers/platform/x86/intel/intel-rst.o CC kernel/relay.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.o CC drivers/devfreq/devfreq.o CC fs/remap_range.o CC drivers/firmware/efi/cper-x86.o CC fs/buffer.o CC drivers/md/dm-rq.o CC drivers/acpi/container.o CC fs/mpage.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/mm.o AR lib/built-in.a CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.o CC [M] drivers/devfreq/governor_simpleondemand.o CC [M] drivers/devfreq/governor_performance.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.o CC [M] drivers/gpu/drm/drm_managed.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_sync.o CC drivers/md/dm-io-rewind.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.o CC kernel/utsname_sysctl.o CC drivers/md/dm-builtin.o CC kernel/delayacct.o CC [M] drivers/gpu/drm/drm_mm.o CC kernel/taskstats.o CC fs/proc_namespace.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.o CC [M] drivers/gpu/drm/xe/xe_heci_gsc.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.o CC net/ipv4/xfrm4_input.o CC [M] drivers/gpu/drm/drm_mode_config.o CC kernel/tsacct.o CC fs/direct-io.o CC drivers/acpi/thermal.o AR drivers/platform/x86/built-in.a AR drivers/platform/built-in.a CC fs/eventpoll.o CC kernel/tracepoint.o AR drivers/net/ethernet/renesas/built-in.a AR drivers/firmware/efi/built-in.a AR drivers/firmware/built-in.a AR drivers/net/ethernet/sfc/built-in.a CC fs/anon_inodes.o CC drivers/powercap/powercap_sys.o AR drivers/perf/built-in.a CC [M] drivers/gpu/drm/drm_mode_object.o CC drivers/ras/ras.o CC net/ipv4/xfrm4_output.o CC [M] drivers/gpu/drm/xe/xe_hw_engine.o CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.o CC [M] drivers/gpu/drm/i915/soc/intel_dram.o CC [M] drivers/gpu/drm/i915/soc/intel_gmch.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.o CC fs/signalfd.o AR drivers/hwtracing/intel_th/built-in.a CC [M] drivers/gpu/drm/drm_modes.o CC drivers/android/binderfs.o CC fs/timerfd.o CC [M] drivers/gpu/drm/i915/soc/intel_pch.o CC drivers/android/binder.o CC [M] drivers/md/dm-bufio.o CC [M] drivers/net/ethernet/realtek/r8169_main.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/object.o AR drivers/nvmem/layouts/built-in.a CC [M] drivers/gpu/drm/drm_modeset_lock.o CC drivers/nvmem/core.o CC [M] drivers/mtd/chips/chipreg.o CC [M] drivers/uio/uio.o CC [M] drivers/vfio/pci/vfio_pci_core.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_virt.o CC [M] drivers/pps/pps.o CC [M] drivers/pps/kapi.o CC [M] drivers/vfio/pci/vfio_pci_intrs.o CC kernel/latencytop.o CC [M] drivers/vfio/pci/vfio_pci_rdwr.o CC drivers/ras/debugfs.o CC [M] drivers/md/dm-bio-prison-v1.o CC [M] drivers/pps/sysfs.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.o CC kernel/irq_work.o CC [M] drivers/gpu/drm/drm_plane.o CC [M] drivers/gpu/drm/i915/i915_memcpy.o CC [M] drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.o CC [M] drivers/bluetooth/btusb.o AR drivers/devfreq/built-in.a CC [M] drivers/vfio/pci/vfio_pci_config.o CC drivers/powercap/intel_rapl_common.o CC [M] drivers/vfio/vfio_main.o CC drivers/acpi/acpi_memhotplug.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.o CC kernel/static_call.o CC [M] drivers/gpu/drm/drm_prime.o CC [M] drivers/md/dm-bio-prison-v2.o CC [M] drivers/md/dm-crypt.o CC net/ipv4/xfrm4_protocol.o CC [M] drivers/gpu/drm/i915/i915_mm.o CC [M] drivers/gpu/drm/drm_print.o CC [M] drivers/net/ethernet/realtek/r8169_firmware.o CC [M] drivers/bluetooth/btintel.o CC [M] drivers/vfio/iova_bitmap.o CC [M] drivers/mtd/mtdcore.o CC [M] drivers/gpu/drm/xe/xe_hw_fence.o AR drivers/ras/built-in.a CC [M] drivers/gpu/drm/i915/i915_sw_fence.o CC [M] drivers/dca/dca-core.o CC [M] drivers/gpu/drm/i915/i915_sw_fence_work.o CC fs/eventfd.o CC [M] drivers/dca/dca-sysfs.o LD [M] drivers/pps/pps_core.o CC [M] drivers/gpu/drm/drm_property.o CC drivers/powercap/intel_rapl_msr.o CC [M] net/ipv4/ip_tunnel.o CC [M] drivers/vfio/pci/vfio_pci.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/oproxy.o CC drivers/acpi/ioapic.o CC kernel/static_call_inline.o CC [M] drivers/ssb/main.o CC [M] drivers/ssb/scan.o CC [M] drivers/gpu/drm/i915/i915_syncmap.o CC [M] net/ipv4/udp_tunnel_core.o CC [M] drivers/ssb/sprom.o CC [M] drivers/gpu/drm/xe/xe_huc.o CC [M] drivers/md/dm-thin.o AR drivers/nvmem/built-in.a CC kernel/user-return-notifier.o CC [M] drivers/net/ethernet/realtek/r8169_phy_config.o CC [M] drivers/gpu/drm/drm_syncobj.o CC [M] drivers/gpu/drm/xe/xe_huc_debugfs.o CC [M] drivers/gpu/drm/drm_sysfs.o CC fs/userfaultfd.o CC [M] drivers/gpu/drm/xe/xe_irq.o CC [M] drivers/gpu/drm/drm_trace_points.o LD [M] drivers/net/ethernet/intel/ixgbe/ixgbe.o CC kernel/padata.o CC fs/aio.o CC [M] drivers/md/dm-thin-metadata.o CC [M] drivers/ssb/pci.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/option.o CC [M] drivers/vfio/group.o AR drivers/net/ethernet/smsc/built-in.a CC [M] drivers/net/ethernet/smsc/smsc9420.o LD [M] drivers/dca/dca.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_sched.o CC [M] drivers/ssb/pcihost_wrapper.o CC [M] drivers/vhost/net.o CC [M] drivers/gpu/drm/i915/i915_user_extensions.o CC [M] drivers/ssb/driver_chipcommon.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.o CC [M] drivers/vhost/vhost.o AR drivers/powercap/built-in.a CC [M] drivers/mtd/mtdsuper.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_ids.o LD [M] drivers/vfio/pci/vfio-pci.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.o CC [M] drivers/gpu/drm/i915/i915_ioc32.o CC [M] drivers/gpu/drm/drm_vblank.o CC drivers/acpi/battery.o CC [M] net/ipv4/udp_tunnel_nic.o LD [M] drivers/vfio/pci/vfio-pci-core.o CC fs/locks.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/ramht.o CC fs/binfmt_script.o CC [M] drivers/gpu/drm/i915/i915_debugfs.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/subdev.o CC [M] drivers/gpu/drm/drm_vblank_work.o CC [M] drivers/gpu/drm/nouveau/nvkm/core/uevent.o CC [M] drivers/gpu/drm/xe/xe_lrc.o CC [M] drivers/gpu/drm/drm_vma_manager.o CC [M] drivers/ssb/driver_chipcommon_pmu.o CC [M] drivers/vfio/container.o CC [M] drivers/vfio/virqfd.o CC [M] drivers/vfio/vfio_iommu_type1.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.o AR net/ipv4/built-in.a CC [M] drivers/gpu/drm/drm_writeback.o CC [M] drivers/gpu/drm/lib/drm_random.o LD [M] drivers/md/dm-bio-prison.o AR drivers/md/built-in.a GEN xe_wa_oob.c xe_wa_oob.h CC [M] drivers/gpu/drm/drm_ioc32.o CC [M] drivers/gpu/drm/i915/i915_debugfs_params.o CC kernel/jump_label.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.o CC kernel/context_tracking.o CC [M] drivers/gpu/drm/drm_panel.o CC [M] drivers/mtd/mtdconcat.o CC [M] drivers/ssb/driver_pcicore.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_csa.o CC [M] drivers/gpu/drm/nouveau/nvkm/nvfw/fw.o CC [M] drivers/mtd/mtdpart.o CC [M] drivers/bluetooth/btbcm.o CC [M] drivers/gpu/drm/drm_pci.o CC drivers/android/binder_alloc.o GEN xe_wa_oob.c xe_wa_oob.h CC [M] drivers/gpu/drm/drm_debugfs.o CC [M] drivers/gpu/drm/i915/display/intel_display_debugfs.o CC [M] drivers/gpu/drm/i915/display/intel_display_debugfs_params.o CC kernel/iomem.o CC [M] drivers/gpu/drm/i915/display/intel_pipe_crc.o CC [M] drivers/gpu/drm/drm_debugfs_crc.o CC [M] drivers/gpu/drm/i915/i915_pmu.o CC [M] drivers/gpu/drm/drm_edid_load.o LD [M] drivers/net/ethernet/realtek/r8169.o AR drivers/net/ethernet/socionext/built-in.a CC [M] drivers/gpu/drm/xe/xe_mmio.o AR drivers/net/ethernet/vertexcom/built-in.a CC drivers/acpi/hed.o AR drivers/net/ethernet/wangxun/built-in.a CC drivers/acpi/bgrt.o AR drivers/net/ethernet/xilinx/built-in.a AR drivers/net/ethernet/synopsys/built-in.a CC drivers/acpi/cppc_acpi.o AR drivers/net/ethernet/pensando/built-in.a CC [M] drivers/gpu/drm/drm_panel_orientation_quirks.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_ras.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.o CC [M] drivers/gpu/drm/drm_exec.o CC [M] drivers/gpu/drm/drm_gpuvm.o CC [M] drivers/mtd/mtdchar.o CC [M] drivers/gpu/drm/nouveau/nvkm/nvfw/hs.o CC kernel/rseq.o CC [M] drivers/gpu/drm/xe/xe_mocs.o AR drivers/net/ethernet/built-in.a GZIP kernel/config_data.gz CC kernel/configs.o AR drivers/net/built-in.a CC [M] drivers/bluetooth/btrtl.o CC [M] drivers/gpu/drm/i915/gt/gen2_engine_cs.o LD [M] drivers/vfio/vfio.o LD [M] drivers/ssb/ssb.o CC [M] drivers/gpu/drm/drm_buddy.o CC fs/binfmt_elf.o CC fs/compat_binfmt_elf.o LD [M] net/ipv4/udp_tunnel.o CC [M] drivers/gpu/drm/i915/gt/gen6_engine_cs.o AR net/built-in.a CC [M] drivers/gpu/drm/drm_gem_shmem_helper.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.o CC [M] drivers/gpu/drm/nouveau/nvkm/nvfw/ls.o CC drivers/acpi/spcr.o CC fs/mbcache.o CC drivers/acpi/acpi_pad.o CC [M] drivers/gpu/drm/i915/gt/gen6_ppgtt.o CC [M] drivers/vhost/iotlb.o CC [M] drivers/gpu/drm/nouveau/nvkm/nvfw/acr.o LD [M] drivers/md/dm-thin-pool.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_umc.o CC [M] drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.o CC [M] drivers/gpu/drm/xe/xe_module.o CC [M] drivers/gpu/drm/drm_suballoc.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.o CC [M] drivers/gpu/drm/nouveau/nvkm/nvfw/flcn.o LD [M] drivers/vhost/vhost_net.o CC [M] drivers/gpu/drm/nouveau/nvkm/falcon/base.o CC [M] drivers/gpu/drm/nouveau/nvkm/falcon/cmdq.o CC [M] drivers/gpu/drm/nouveau/nvkm/falcon/fw.o CC [M] drivers/gpu/drm/i915/gt/gen7_renderclear.o CC [M] drivers/gpu/drm/drm_gem_ttm_helper.o CC [M] drivers/gpu/drm/drm_atomic_helper.o CC [M] drivers/gpu/drm/xe/xe_pat.o CC [M] drivers/gpu/drm/nouveau/nvkm/falcon/msgq.o CC [M] drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_rap.o CC [M] drivers/gpu/drm/xe/xe_pci.o AR kernel/built-in.a LD [M] drivers/vhost/vhost_iotlb.o CC [M] drivers/acpi/acpi_video.o CC [M] drivers/acpi/video_detect.o CC fs/posix_acl.o CC [M] drivers/gpu/drm/drm_atomic_state_helper.o CC [M] drivers/gpu/drm/i915/gt/gen8_engine_cs.o CC fs/coredump.o CC fs/drop_caches.o CC fs/sysctls.o CC [M] drivers/gpu/drm/i915/gt/gen8_ppgtt.o LD [M] drivers/mtd/mtd.o CC [M] drivers/gpu/drm/drm_bridge_connector.o AR drivers/acpi/built-in.a CC [M] drivers/gpu/drm/drm_crtc_helper.o CC [M] drivers/gpu/drm/i915/gt/intel_breadcrumbs.o CC [M] drivers/gpu/drm/drm_damage_helper.o CC [M] drivers/gpu/drm/nouveau/nvkm/falcon/v1.o CC [M] drivers/gpu/drm/xe/xe_pcode.o CC [M] drivers/gpu/drm/xe/xe_pm.o CC [M] drivers/gpu/drm/i915/gt/intel_context.o CC [M] drivers/gpu/drm/drm_encoder_slave.o CC fs/fhandle.o CC [M] drivers/gpu/drm/i915/gt/intel_context_sseu.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.o CC [M] drivers/gpu/drm/nouveau/nvkm/falcon/gm200.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_securedisplay.o CC [M] drivers/gpu/drm/nouveau/nvkm/falcon/gp102.o CC [M] drivers/gpu/drm/nouveau/nvkm/falcon/ga100.o CC [M] drivers/gpu/drm/i915/gt/intel_engine_cs.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.o AR drivers/android/built-in.a CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_mca.o CC [M] drivers/gpu/drm/i915/gt/intel_engine_heartbeat.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_lsdma.o CC [M] drivers/gpu/drm/nouveau/nvkm/falcon/ga102.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.o CC [M] drivers/gpu/drm/i915/gt/intel_engine_pm.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/acr/lsfw.o CC [M] drivers/gpu/drm/i915/gt/intel_engine_user.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm200.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm20b.o CC [M] drivers/gpu/drm/i915/gt/intel_execlists_submission.o CC [M] drivers/gpu/drm/i915/gt/intel_ggtt.o CC [M] drivers/gpu/drm/xe/xe_preempt_fence.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.o CC [M] drivers/gpu/drm/drm_flip_work.o CC [M] drivers/gpu/drm/xe/xe_pt.o CC [M] drivers/gpu/drm/i915/gt/intel_ggtt_fencing.o CC [M] drivers/gpu/drm/i915/gt/intel_gt.o CC [M] drivers/gpu/drm/xe/xe_pt_walk.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp102.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp108.o CC [M] drivers/gpu/drm/drm_format_helper.o CC [M] drivers/gpu/drm/amd/amdgpu/cik.o CC [M] drivers/gpu/drm/xe/xe_query.o CC [M] drivers/gpu/drm/xe/xe_range_fence.o CC [M] drivers/gpu/drm/xe/xe_reg_sr.o CC [M] drivers/gpu/drm/amd/amdgpu/cik_ih.o CC [M] drivers/gpu/drm/drm_gem_atomic_helper.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/acr/gv100.o CC [M] drivers/gpu/drm/amd/amdgpu/dce_v8_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp10b.o CC [M] drivers/gpu/drm/xe/xe_reg_whitelist.o CC [M] drivers/gpu/drm/amd/amdgpu/gfx_v7_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/acr/tu102.o CC [M] drivers/gpu/drm/amd/amdgpu/cik_sdma.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/acr/ga100.o CC [M] drivers/gpu/drm/xe/xe_rtp.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/acr/ga102.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.o LD [M] drivers/acpi/video.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_clock_utils.o CC [M] drivers/gpu/drm/xe/xe_ring_ops.o CC [M] drivers/gpu/drm/amd/amdgpu/uvd_v4_2.o AR fs/built-in.a CC [M] drivers/gpu/drm/amd/amdgpu/vce_v2_0.o CC [M] drivers/gpu/drm/drm_gem_framebuffer_helper.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_debugfs.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_engines_debugfs.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.o CC [M] drivers/gpu/drm/xe/xe_sa.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.o CC [M] drivers/gpu/drm/amd/amdgpu/si.o CC [M] drivers/gpu/drm/xe/xe_sched_job.o CC [M] drivers/gpu/drm/amd/amdgpu/gmc_v6_0.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_irq.o CC [M] drivers/gpu/drm/amd/amdgpu/gfx_v6_0.o CC [M] drivers/gpu/drm/amd/amdgpu/si_ih.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.o CC [M] drivers/gpu/drm/xe/xe_step.o CC [M] drivers/gpu/drm/drm_kms_helper_common.o CC [M] drivers/gpu/drm/drm_modeset_helper.o CC [M] drivers/gpu/drm/drm_plane_helper.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm107.o CC [M] drivers/gpu/drm/xe/xe_sync.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm20b.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu102.o CC [M] drivers/gpu/drm/xe/xe_tile.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_mcr.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_pm.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.o CC [M] drivers/gpu/drm/amd/amdgpu/si_dma.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.o CC [M] drivers/gpu/drm/xe/xe_tile_sysfs.o CC [M] drivers/gpu/drm/xe/xe_trace.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/bit.o CC [M] drivers/gpu/drm/drm_probe_helper.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_pm_irq.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_requests.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/boost.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_sysfs.o CC [M] drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.o CC [M] drivers/gpu/drm/xe/xe_ttm_sys_mgr.o CC [M] drivers/gpu/drm/i915/gt/intel_gtt.o CC [M] drivers/gpu/drm/i915/gt/intel_llc.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.o CC [M] drivers/gpu/drm/drm_rect.o CC [M] drivers/gpu/drm/i915/gt/intel_lrc.o CC [M] drivers/gpu/drm/i915/gt/intel_migrate.o CC [M] drivers/gpu/drm/xe/xe_ttm_stolen_mgr.o CC [M] drivers/gpu/drm/amd/amdgpu/dce_v6_0.o CC [M] drivers/gpu/drm/amd/amdgpu/uvd_v3_1.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.o CC [M] drivers/gpu/drm/amd/amdgpu/vi.o CC [M] drivers/gpu/drm/xe/xe_ttm_vram_mgr.o CC [M] drivers/gpu/drm/i915/gt/intel_mocs.o CC [M] drivers/gpu/drm/amd/amdgpu/mxgpu_vi.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.o CC [M] drivers/gpu/drm/xe/xe_tuning.o CC [M] drivers/gpu/drm/amd/amdgpu/nbio_v6_1.o CC [M] drivers/gpu/drm/xe/xe_uc.o CC [M] drivers/gpu/drm/amd/amdgpu/soc15.o CC [M] drivers/gpu/drm/xe/xe_uc_debugfs.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.o CC [M] drivers/gpu/drm/xe/xe_uc_fw.o CC [M] drivers/gpu/drm/amd/amdgpu/emu_soc.o CC [M] drivers/gpu/drm/xe/xe_vm.o CC [M] drivers/gpu/drm/amd/amdgpu/mxgpu_ai.o CC [M] drivers/gpu/drm/xe/xe_vm_madvise.o CC [M] drivers/gpu/drm/i915/gt/intel_ppgtt.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.o CC [M] drivers/gpu/drm/drm_self_refresh_helper.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/gpio.o CC [M] drivers/gpu/drm/amd/amdgpu/nbio_v7_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/i2c.o CC [M] drivers/gpu/drm/xe/xe_wait_user_fence.o CC [M] drivers/gpu/drm/drm_simple_kms_helper.o CC [M] drivers/gpu/drm/bridge/panel.o CC [M] drivers/gpu/drm/i915/gt/intel_rc6.o CC [M] drivers/gpu/drm/amd/amdgpu/vega10_reg_init.o CC [M] drivers/gpu/drm/amd/amdgpu/vega20_reg_init.o CC [M] drivers/gpu/drm/i915/gt/intel_region_lmem.o CC [M] drivers/gpu/drm/i915/gt/intel_renderstate.o CC [M] drivers/gpu/drm/xe/xe_wa.o CC [M] drivers/gpu/drm/amd/amdgpu/nbio_v7_4.o CC [M] drivers/gpu/drm/xe/xe_wopcm.o CC [M] drivers/gpu/drm/xe/xe_eudebug.o CC [M] drivers/gpu/drm/amd/amdgpu/nbio_v2_3.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/iccsense.o CC [M] drivers/gpu/drm/i915/gt/intel_reset.o CC [M] drivers/gpu/drm/xe/xe_hwmon.o CC [M] drivers/gpu/drm/xe/xe_display.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/image.o CC [M] drivers/gpu/drm/i915/gt/intel_ring.o CC [M] drivers/gpu/drm/i915/gt/intel_ring_submission.o CC [M] drivers/gpu/drm/xe/display/xe_fb_pin.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.o CC [M] drivers/gpu/drm/amd/amdgpu/nv.o CC [M] drivers/gpu/drm/amd/amdgpu/arct_reg_init.o CC [M] drivers/gpu/drm/amd/amdgpu/mxgpu_nv.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/mxm.o CC [M] drivers/gpu/drm/amd/amdgpu/nbio_v7_2.o CC [M] drivers/gpu/drm/drm_fbdev_generic.o CC [M] drivers/gpu/drm/xe/display/xe_hdcp_gsc.o CC [M] drivers/gpu/drm/i915/gt/intel_rps.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/npde.o CC [M] drivers/gpu/drm/xe/display/xe_plane_initial.o CC [M] drivers/gpu/drm/i915/gt/intel_sa_media.o CC [M] drivers/gpu/drm/amd/amdgpu/hdp_v4_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/pcir.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.o CC [M] drivers/gpu/drm/xe/display/xe_display_rps.o CC [M] drivers/gpu/drm/xe/display/xe_display_misc.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/pll.o CC [M] drivers/gpu/drm/i915/gt/intel_sseu.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/pmu.o CC [M] drivers/gpu/drm/amd/amdgpu/hdp_v5_0.o CC [M] drivers/gpu/drm/amd/amdgpu/aldebaran_reg_init.o CC [M] drivers/gpu/drm/amd/amdgpu/aldebaran.o CC [M] drivers/gpu/drm/amd/amdgpu/soc21.o CC [M] drivers/gpu/drm/amd/amdgpu/sienna_cichlid.o CC [M] drivers/gpu/drm/drm_fb_helper.o CC [M] drivers/gpu/drm/xe/display/ext/i915_irq.o CC [M] drivers/gpu/drm/xe/display/ext/i915_utils.o CC [M] drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/power_budget.o CC [M] drivers/gpu/drm/i915/gt/intel_sseu_debugfs.o CC [M] drivers/gpu/drm/amd/amdgpu/nbio_v4_3.o CC [M] drivers/gpu/drm/amd/amdgpu/hdp_v6_0.o CC [M] drivers/gpu/drm/i915/gt/intel_timeline.o CC [M] drivers/gpu/drm/xe/i915-soc/intel_dram.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/ramcfg.o CC [M] drivers/gpu/drm/xe/i915-soc/intel_pch.o CC [M] drivers/gpu/drm/xe/i915-display/icl_dsi.o CC [M] drivers/gpu/drm/amd/amdgpu/nbio_v7_7.o CC [M] drivers/gpu/drm/amd/amdgpu/hdp_v5_2.o CC [M] drivers/gpu/drm/amd/amdgpu/lsdma_v6_0.o CC [M] drivers/gpu/drm/i915/gt/intel_tlb.o LD [M] drivers/gpu/drm/drm.o CC [M] drivers/gpu/drm/i915/gt/intel_wopcm.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/rammap.o CC [M] drivers/gpu/drm/xe/i915-display/intel_atomic.o CC [M] drivers/gpu/drm/xe/i915-display/intel_atomic_plane.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.o CC [M] drivers/gpu/drm/i915/gt/intel_workarounds.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowacpi.o LD [M] drivers/gpu/drm/drm_shmem_helper.o CC [M] drivers/gpu/drm/xe/i915-display/intel_audio.o CC [M] drivers/gpu/drm/amd/amdgpu/nbio_v7_9.o LD [M] drivers/gpu/drm/drm_suballoc_helper.o CC [M] drivers/gpu/drm/i915/gt/shmem_utils.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowof.o CC [M] drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.o CC [M] drivers/gpu/drm/amd/amdgpu/df_v1_7.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.o CC [M] drivers/gpu/drm/amd/amdgpu/df_v3_6.o CC [M] drivers/gpu/drm/xe/i915-display/intel_backlight.o CC [M] drivers/gpu/drm/xe/i915-display/intel_bios.o CC [M] drivers/gpu/drm/amd/amdgpu/df_v4_3.o CC [M] drivers/gpu/drm/xe/i915-display/intel_bw.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowramin.o CC [M] drivers/gpu/drm/amd/amdgpu/gmc_v7_0.o CC [M] drivers/gpu/drm/amd/amdgpu/gmc_v8_0.o CC [M] drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.o CC [M] drivers/gpu/drm/i915/gt/sysfs_engines.o CC [M] drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowrom.o CC [M] drivers/gpu/drm/amd/amdgpu/gmc_v9_0.o CC [M] drivers/gpu/drm/i915/gt/intel_ggtt_gmch.o CC [M] drivers/gpu/drm/i915/gt/gen6_renderstate.o CC [M] drivers/gpu/drm/xe/i915-display/intel_cdclk.o CC [M] drivers/gpu/drm/xe/i915-display/intel_color.o CC [M] drivers/gpu/drm/i915/gt/gen7_renderstate.o LD [M] drivers/gpu/drm/drm_ttm_helper.o CC [M] drivers/gpu/drm/i915/gt/gen8_renderstate.o AR drivers/gpu/drm/built-in.a CC [M] drivers/gpu/drm/amd/amdgpu/gfxhub_v1_1.o CC [M] drivers/gpu/drm/i915/gt/gen9_renderstate.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/timing.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/therm.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/vmap.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/vpstate.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_busy.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/xpio.o LD [M] drivers/gpu/drm/drm_kms_helper.o CC [M] drivers/gpu/drm/xe/i915-display/intel_combo_phy.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_clflush.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_context.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_create.o CC [M] drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_dmabuf.o CC [M] drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.o CC [M] drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.o CC [M] drivers/gpu/drm/xe/i915-display/intel_connector.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_domain.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_execbuffer.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_internal.o CC [M] drivers/gpu/drm/amd/amdgpu/gmc_v10_0.o CC [M] drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.o CC [M] drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.o CC [M] drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_object.o CC [M] drivers/gpu/drm/xe/i915-display/intel_crtc.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0205.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_lmem.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_mman.o CC [M] drivers/gpu/drm/xe/i915-display/intel_crtc_state_dump.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0209.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_pages.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bios/P0260.o CC [M] drivers/gpu/drm/xe/i915-display/intel_cursor.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.o CC [M] drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.o CC [M] drivers/gpu/drm/amd/amdgpu/mmhub_v3_0.o CC [M] drivers/gpu/drm/amd/amdgpu/mmhub_v3_0_2.o CC [M] drivers/gpu/drm/amd/amdgpu/gmc_v11_0.o CC [M] drivers/gpu/drm/xe/i915-display/intel_cx0_phy.o CC [M] drivers/gpu/drm/amd/amdgpu/mmhub_v3_0_1.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_phys.o CC [M] drivers/gpu/drm/xe/i915-display/intel_ddi.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_pm.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_region.o CC [M] drivers/gpu/drm/xe/i915-display/intel_ddi_buf_trans.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display_debugfs.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_shmem.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_shrinker.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_stolen.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bus/g94.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.o CC [M] drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0_3.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_throttle.o CC [M] drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_tiling.o CC [M] drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.o CC [M] drivers/gpu/drm/amd/amdgpu/umc_v6_0.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_ttm.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_ttm_move.o CC [M] drivers/gpu/drm/amd/amdgpu/umc_v6_1.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv04.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display_debugfs_params.o CC [M] drivers/gpu/drm/amd/amdgpu/umc_v6_7.o CC [M] drivers/gpu/drm/amd/amdgpu/umc_v8_7.o CC [M] drivers/gpu/drm/amd/amdgpu/umc_v8_10.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_irq.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_ih.o CC [M] drivers/gpu/drm/amd/amdgpu/iceland_ih.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display_device.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display_driver.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.o CC [M] drivers/gpu/drm/amd/amdgpu/tonga_ih.o CC [M] drivers/gpu/drm/amd/amdgpu/cz_ih.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_userptr.o CC [M] drivers/gpu/drm/amd/amdgpu/vega10_ih.o CC [M] drivers/gpu/drm/i915/gem/i915_gem_wait.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.o CC [M] drivers/gpu/drm/amd/amdgpu/vega20_ih.o CC [M] drivers/gpu/drm/i915/gem/i915_gemfs.o CC [M] drivers/gpu/drm/i915/i915_active.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display_irq.o CC [M] drivers/gpu/drm/amd/amdgpu/navi10_ih.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.o CC [M] drivers/gpu/drm/i915/i915_cmd_parser.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display_params.o CC [M] drivers/gpu/drm/amd/amdgpu/ih_v6_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.o CC [M] drivers/gpu/drm/amd/amdgpu/ih_v6_1.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.o CC [M] drivers/gpu/drm/i915/i915_deps.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_psp.o CC [M] drivers/gpu/drm/i915/i915_gem_evict.o CC [M] drivers/gpu/drm/i915/i915_gem_gtt.o CC [M] drivers/gpu/drm/amd/amdgpu/psp_v3_1.o CC [M] drivers/gpu/drm/amd/amdgpu/psp_v10_0.o CC [M] drivers/gpu/drm/amd/amdgpu/psp_v11_0.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display_power.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display_power_map.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display_power_well.o CC [M] drivers/gpu/drm/amd/amdgpu/psp_v11_0_8.o CC [M] drivers/gpu/drm/amd/amdgpu/psp_v12_0.o CC [M] drivers/gpu/drm/i915/i915_gem_ww.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllnv04.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display_trace.o CC [M] drivers/gpu/drm/amd/amdgpu/psp_v13_0.o CC [M] drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.o CC [M] drivers/gpu/drm/amd/amdgpu/dce_v10_0.o CC [M] drivers/gpu/drm/i915/i915_gem.o CC [M] drivers/gpu/drm/xe/i915-display/intel_display_wa.o CC [M] drivers/gpu/drm/amd/amdgpu/dce_v11_0.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dkl_phy.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/clk/pllgt215.o CC [M] drivers/gpu/drm/i915/i915_query.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.o CC [M] drivers/gpu/drm/i915/i915_request.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.o CC [M] drivers/gpu/drm/i915/i915_scheduler.o CC [M] drivers/gpu/drm/i915/i915_trace_points.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dmc.o CC [M] drivers/gpu/drm/i915/i915_ttm_buddy_manager.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.o CC [M] drivers/gpu/drm/i915/i915_vma.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.o CC [M] drivers/gpu/drm/amd/amdgpu/gfx_v8_0.o CC [M] drivers/gpu/drm/i915/i915_vma_resource.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv10.o CC [M] drivers/gpu/drm/amd/amdgpu/gfx_v9_0.o CC [M] drivers/gpu/drm/amd/amdgpu/gfx_v9_4.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv1a.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.o CC [M] drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.o CC [M] drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.o CC [M] drivers/gpu/drm/amd/amdgpu/gfx_v10_0.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dp.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dp_aux.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.o CC [M] drivers/gpu/drm/amd/amdgpu/imu_v11_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g84.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.o CC [M] drivers/gpu/drm/amd/amdgpu/gfx_v11_0.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dp_aux_backlight.o CC [M] drivers/gpu/drm/amd/amdgpu/gfx_v11_0_3.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_debugfs.o CC [M] drivers/gpu/drm/amd/amdgpu/imu_v11_0_3.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc_ads.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dp_hdcp.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm107.o CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v2_4.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc_capture.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc_ct.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dp_link_training.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dp_mst.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.o CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v3_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gv100.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu102.o CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v4_0.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc_debugfs.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ga100.o CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v4_4.o CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc_fw.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dpll.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.o CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v5_0.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc_log.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dpll_mgr.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.o CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v5_2.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dpt.o CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v6_0.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_mes.o CC [M] drivers/gpu/drm/xe/i915-display/intel_drrs.o CC [M] drivers/gpu/drm/amd/amdgpu/mes_v10_1.o CC [M] drivers/gpu/drm/amd/amdgpu/mes_v11_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp10b.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.o CC [M] drivers/gpu/drm/amd/amdgpu/uvd_v5_0.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc_rc.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dsb.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dsi.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dsi_dcs_backlight.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_guc_submission.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv04.o CC [M] drivers/gpu/drm/amd/amdgpu/uvd_v6_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv10.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_huc.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv1a.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_huc_debugfs.o CC [M] drivers/gpu/drm/xe/i915-display/intel_dsi_vbt.o CC [M] drivers/gpu/drm/xe/i915-display/intel_fb.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_huc_fw.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_uc.o CC [M] drivers/gpu/drm/xe/i915-display/intel_fbc.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.o CC [M] drivers/gpu/drm/i915/gt/uc/intel_uc_fw.o CC [M] drivers/gpu/drm/xe/i915-display/intel_fdi.o CC [M] drivers/gpu/drm/i915/gt/intel_gsc.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv25.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.o CC [M] drivers/gpu/drm/amd/amdgpu/uvd_v7_0.o CC [M] drivers/gpu/drm/i915/i915_hwmon.o CC [M] drivers/gpu/drm/xe/i915-display/intel_fifo_underrun.o CC [M] drivers/gpu/drm/xe/i915-display/intel_frontbuffer.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_vce.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv35.o CC [M] drivers/gpu/drm/amd/amdgpu/vce_v3_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv36.o CC [M] drivers/gpu/drm/xe/i915-display/intel_global_state.o CC [M] drivers/gpu/drm/xe/i915-display/intel_gmbus.o CC [M] drivers/gpu/drm/xe/i915-display/intel_hdcp.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.o CC [M] drivers/gpu/drm/xe/i915-display/intel_hdmi.o CC [M] drivers/gpu/drm/amd/amdgpu/vce_v4_0.o CC [M] drivers/gpu/drm/i915/display/hsw_ips.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.o CC [M] drivers/gpu/drm/i915/display/intel_atomic.o CC [M] drivers/gpu/drm/amd/amdgpu/vcn_sw_ring.o CC [M] drivers/gpu/drm/amd/amdgpu/vcn_v1_0.o CC [M] drivers/gpu/drm/i915/display/intel_atomic_plane.o CC [M] drivers/gpu/drm/amd/amdgpu/vcn_v2_0.o CC [M] drivers/gpu/drm/amd/amdgpu/vcn_v2_5.o CC [M] drivers/gpu/drm/i915/display/intel_audio.o CC [M] drivers/gpu/drm/i915/display/intel_bios.o CC [M] drivers/gpu/drm/i915/display/intel_bw.o CC [M] drivers/gpu/drm/amd/amdgpu/vcn_v3_0.o CC [M] drivers/gpu/drm/i915/display/intel_cdclk.o CC [M] drivers/gpu/drm/xe/i915-display/intel_hotplug.o CC [M] drivers/gpu/drm/amd/amdgpu/vcn_v4_0.o CC [M] drivers/gpu/drm/xe/i915-display/intel_hotplug_irq.o CC [M] drivers/gpu/drm/xe/i915-display/intel_hti.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv41.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv44.o CC [M] drivers/gpu/drm/i915/display/intel_color.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv46.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv47.o CC [M] drivers/gpu/drm/xe/i915-display/intel_link_bw.o CC [M] drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.o CC [M] drivers/gpu/drm/i915/display/intel_combo_phy.o CC [M] drivers/gpu/drm/i915/display/intel_connector.o CC [M] drivers/gpu/drm/i915/display/intel_crtc.o CC [M] drivers/gpu/drm/xe/i915-display/intel_lspcon.o CC [M] drivers/gpu/drm/xe/i915-display/intel_modeset_lock.o CC [M] drivers/gpu/drm/xe/i915-display/intel_modeset_setup.o CC [M] drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.o CC [M] drivers/gpu/drm/i915/display/intel_crtc_state_dump.o CC [M] drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.o CC [M] drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.o CC [M] drivers/gpu/drm/i915/display/intel_cursor.o CC [M] drivers/gpu/drm/xe/i915-display/intel_modeset_verify.o CC [M] drivers/gpu/drm/xe/i915-display/intel_panel.o CC [M] drivers/gpu/drm/i915/display/intel_display.o CC [M] drivers/gpu/drm/i915/display/intel_display_driver.o CC [M] drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.o CC [M] drivers/gpu/drm/xe/i915-display/intel_pipe_crc.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv49.o CC [M] drivers/gpu/drm/xe/i915-display/intel_pmdemand.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv4e.o CC [M] drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.o CC [M] drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.o CC [M] drivers/gpu/drm/xe/i915-display/intel_pps.o CC [M] drivers/gpu/drm/xe/i915-display/intel_psr.o CC [M] drivers/gpu/drm/amd/amdgpu/athub_v1_0.o CC [M] drivers/gpu/drm/xe/i915-display/intel_qp_tables.o CC [M] drivers/gpu/drm/amd/amdgpu/athub_v2_0.o CC [M] drivers/gpu/drm/amd/amdgpu/athub_v2_1.o CC [M] drivers/gpu/drm/i915/display/intel_display_irq.o CC [M] drivers/gpu/drm/xe/i915-display/intel_quirks.o CC [M] drivers/gpu/drm/i915/display/intel_display_params.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/g84.o CC [M] drivers/gpu/drm/amd/amdgpu/athub_v3_0.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gt215.o CC [M] drivers/gpu/drm/i915/display/intel_display_power.o CC [M] drivers/gpu/drm/xe/i915-display/intel_snps_phy.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/mcp77.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/mcp89.o CC [M] drivers/gpu/drm/i915/display/intel_display_power_map.o CC [M] drivers/gpu/drm/xe/i915-display/intel_tc.o CC [M] drivers/gpu/drm/amd/amdgpu/smuio_v9_0.o CC [M] drivers/gpu/drm/xe/i915-display/intel_vblank.o CC [M] drivers/gpu/drm/xe/i915-display/intel_vdsc.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.o CC [M] drivers/gpu/drm/amd/amdgpu/smuio_v11_0.o CC [M] drivers/gpu/drm/i915/display/intel_display_power_well.o CC [M] drivers/gpu/drm/amd/amdgpu/smuio_v11_0_6.o CC [M] drivers/gpu/drm/xe/i915-display/intel_vga.o CC [M] drivers/gpu/drm/amd/amdgpu/smuio_v13_0.o CC [M] drivers/gpu/drm/i915/display/intel_display_reset.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf108.o CC [M] drivers/gpu/drm/i915/display/intel_display_rps.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk104.o CC [M] drivers/gpu/drm/amd/amdgpu/smuio_v13_0_3.o CC [M] drivers/gpu/drm/xe/i915-display/intel_vrr.o CC [M] drivers/gpu/drm/amd/amdgpu/smuio_v13_0_6.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_reset.o CC [M] drivers/gpu/drm/amd/amdgpu/mca_v3_0.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk110.o CC [M] drivers/gpu/drm/i915/display/intel_display_wa.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk20a.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_module.o CC [M] drivers/gpu/drm/xe/i915-display/intel_wm.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm107.o CC [M] drivers/gpu/drm/xe/i915-display/skl_scaler.o CC [M] drivers/gpu/drm/i915/display/intel_dmc.o CC [M] drivers/gpu/drm/xe/i915-display/skl_universal_plane.o CC [M] drivers/gpu/drm/i915/display/intel_dpio_phy.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.o CC [M] drivers/gpu/drm/i915/display/intel_dpll.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm20b.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp100.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_pasid.o CC [M] drivers/gpu/drm/xe/i915-display/skl_watermark.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_doorbell.o CC [M] drivers/gpu/drm/i915/display/intel_dpll_mgr.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_flat_memory.o CC [M] drivers/gpu/drm/xe/xe_pmu.o CC [M] drivers/gpu/drm/i915/display/intel_dpt.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.o CC [M] drivers/gpu/drm/i915/display/intel_drrs.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp102.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_mqd_manager.o CC [M] drivers/gpu/drm/i915/display/intel_dsb.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_mqd_manager_cik.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp10b.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_mqd_manager_vi.o CC [M] drivers/gpu/drm/xe/i915-display/intel_acpi.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_mqd_manager_v9.o CC [M] drivers/gpu/drm/i915/display/intel_fb.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_mqd_manager_v10.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_mqd_manager_v11.o CC [M] drivers/gpu/drm/i915/display/intel_fb_pin.o CC [M] drivers/gpu/drm/xe/i915-display/intel_opregion.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_kernel_queue.o CC [M] drivers/gpu/drm/i915/display/intel_fbc.o CC [M] drivers/gpu/drm/i915/display/intel_fdi.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gv100.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/tu102.o CC [M] drivers/gpu/drm/xe/i915-display/intel_fbdev.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager.o CC [M] drivers/gpu/drm/i915/display/intel_fifo_underrun.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager_vi.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager_v9.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ga100.o CC [M] drivers/gpu/drm/xe/xe_guc.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ga102.o CC [M] drivers/gpu/drm/i915/display/intel_frontbuffer.o CC [M] drivers/gpu/drm/i915/display/intel_global_state.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.o CC [M] drivers/gpu/drm/xe/xe_migrate.o CC [M] drivers/gpu/drm/i915/display/intel_hdcp.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.o HDRTEST drivers/gpu/drm/xe/abi/guc_klvs_abi.h CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_cik.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_vi.o HDRTEST drivers/gpu/drm/xe/abi/guc_errors_abi.h CC [M] drivers/gpu/drm/i915/display/intel_hdcp_gsc.o CC [M] drivers/gpu/drm/i915/display/intel_hotplug.o HDRTEST drivers/gpu/drm/xe/abi/guc_actions_slpc_abi.h HDRTEST drivers/gpu/drm/xe/abi/guc_communication_mmio_abi.h CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.o HDRTEST drivers/gpu/drm/xe/abi/guc_actions_abi.h HDRTEST drivers/gpu/drm/xe/abi/guc_communication_ctb_abi.h HDRTEST drivers/gpu/drm/xe/abi/guc_messages_abi.h CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_v9.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_gem.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_vma_types.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_irq.h CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv04.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv10.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv1a.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv20.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband_reg.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_wakeref.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_pcode.h CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_v10.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_v11.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_interrupt.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_events.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/cik_event_interrupt.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v9.o CC [M] drivers/gpu/drm/i915/display/intel_hotplug_irq.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v10.o CC [M] drivers/gpu/drm/i915/display/intel_hti.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv41.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv44.o CC [M] drivers/gpu/drm/i915/display/intel_link_bw.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h CC [M] drivers/gpu/drm/i915/display/intel_load_detect.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v11.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_smi_events.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_reg_defs.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_trace.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_reg.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_active_types.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_utils.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_config.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/vlv_sideband.h CC [M] drivers/gpu/drm/i915/display/intel_lpe_audio.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_gem_stolen.h CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debug.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv49.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_mchbar_regs.h CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv4e.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_debugfs.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_migrate.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_debugfs.h CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.o CC [M] drivers/gpu/drm/i915/display/intel_modeset_lock.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/rammcp77.o CC [M] drivers/gpu/drm/i915/display/intel_modeset_verify.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_gpu_error.h CC [M] drivers/gpu/drm/i915/display/intel_modeset_setup.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/soc/intel_pch.h CC [M] drivers/gpu/drm/i915/display/intel_overlay.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/soc/intel_dram.h CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/soc/intel_gmch.h CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf108.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_vgpu.h CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm107.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_aldebaran.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_fixed.h CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gc_9_4_3.o CC [M] drivers/gpu/drm/i915/display/intel_pch_display.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.o CC [M] drivers/gpu/drm/i915/display/intel_pch_refclk.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10_3.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v11.o CC [M] drivers/gpu/drm/i915/display/intel_plane_initial.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h CC [M] drivers/gpu/drm/i915/display/intel_pmdemand.o CC [M] drivers/gpu/drm/i915/display/intel_psr.o CC [M] drivers/gpu/drm/i915/display/intel_quirks.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_step.h CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.o CC [M] drivers/gpu/drm/i915/display/intel_sprite.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgm200.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.o CC [M] drivers/gpu/drm/i915/display/intel_sprite_uapi.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_uc_fw.h CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_job.o CC [M] drivers/gpu/drm/i915/display/intel_tc.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_pci_config.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object_frontbuffer.h CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_acp.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/gt/intel_rps.h CC [M] drivers/gpu/drm/amd/amdgpu/../acp/acp_hw.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_clock_gating.h CC [M] drivers/gpu/drm/i915/display/intel_vblank.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_ioc32.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp102.o CC [M] drivers/gpu/drm/i915/display/intel_vga.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/sddr2.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.o HDRTEST drivers/gpu/drm/xe/compat-i915-headers/intel_gt_types.h HDRTEST drivers/gpu/drm/xe/compat-i915-headers/i915_active.h HDRTEST drivers/gpu/drm/xe/instructions/xe_instr_defs.h HDRTEST drivers/gpu/drm/xe/instructions/xe_gfxpipe_commands.h CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/sddr3.o CC [M] drivers/gpu/drm/i915/display/intel_wm.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gddr3.o HDRTEST drivers/gpu/drm/xe/instructions/xe_mi_commands.h HDRTEST drivers/gpu/drm/xe/regs/xe_reg_defs.h CC [M] drivers/gpu/drm/i915/display/i9xx_plane.o HDRTEST drivers/gpu/drm/xe/regs/xe_guc_regs.h CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.o HDRTEST drivers/gpu/drm/xe/regs/xe_gt_regs.h CC [M] drivers/gpu/drm/i915/display/i9xx_wm.o HDRTEST drivers/gpu/drm/xe/regs/xe_regs.h CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/arcturus_ppt.o CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/navi10_ppt.o HDRTEST drivers/gpu/drm/xe/regs/xe_gpu_commands.h HDRTEST drivers/gpu/drm/xe/regs/xe_lrc_layout.h CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.o CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fb/gddr5.o CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/cyan_skillfish_ppt.o HDRTEST drivers/gpu/drm/xe/regs/xe_mchbar_regs.h CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.o HDRTEST drivers/gpu/drm/xe/regs/xe_engine_regs.h CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/smu_v11_0.o CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu12/renoir_ppt.o HDRTEST drivers/gpu/drm/xe/tests/xe_test.h HDRTEST drivers/gpu/drm/xe/tests/xe_pci_test.h HDRTEST drivers/gpu/drm/xe/tests/xe_migrate_test.h HDRTEST drivers/gpu/drm/xe/tests/xe_dma_buf_test.h HDRTEST drivers/gpu/drm/xe/tests/xe_bo_test.h HDRTEST drivers/gpu/drm/xe/xe_assert.h CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu12/smu_v12_0.o CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0.o HDRTEST drivers/gpu/drm/xe/xe_bb.h CC [M] drivers/gpu/drm/i915/display/skl_scaler.o HDRTEST drivers/gpu/drm/xe/xe_bb_types.h CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fuse/nv50.o CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/aldebaran_ppt.o HDRTEST drivers/gpu/drm/xe/xe_bo.h CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/yellow_carp_ppt.o HDRTEST drivers/gpu/drm/xe/xe_bo_doc.h CC [M] drivers/gpu/drm/i915/display/skl_universal_plane.o HDRTEST drivers/gpu/drm/xe/xe_bo_evict.h HDRTEST drivers/gpu/drm/xe/xe_bo_types.h HDRTEST drivers/gpu/drm/xe/xe_debug_metadata.h CC [M] drivers/gpu/drm/i915/display/skl_watermark.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fuse/gf100.o CC [M] drivers/gpu/drm/i915/display/intel_acpi.o CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_0_ppt.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/fuse/gm107.o CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_4_ppt.o HDRTEST drivers/gpu/drm/xe/xe_debug_metadata_types.h CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_5_ppt.o HDRTEST drivers/gpu/drm/xe/xe_debugfs.h CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.o HDRTEST drivers/gpu/drm/xe/xe_devcoredump.h CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv10.o CC [M] drivers/gpu/drm/i915/display/intel_opregion.o HDRTEST drivers/gpu/drm/xe/xe_devcoredump_types.h CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/gpio/g94.o HDRTEST drivers/gpu/drm/xe/xe_device.h CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_7_ppt.o CC [M] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_6_ppt.o CC [M] drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.o
953 lines not shown · raw message
Part of this message is not shown here. View the raw message.
Patchwork
CI[Intel-xe] ✗ CI.Hooks: failure for xe-eudebug: GPU debugging interface
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: xe-eudebug: GPU debugging interface
URL : https://patchwork.freedesktop.org/series/126019/
State : failure
== Summary ==
run-parts: executing /workspace/ci/hooks/00-showenv /workspace
+ pwd
+ ls -la
total 1128
drwxrwxr-x 12 1003 1003 4096 Nov 6 11:34 . drwxr-xr-x 1 root root 4096 Nov 6 11:34 .. -rw-rw-r-- 1 1003 1003 798760 Nov 6 11:34 build.log -rw-rw-r-- 1 1003 1003 26120 Nov 6 11:26 checkpatch.log drwxrwxr-x 5 1003 1003 4096 Nov 6 11:23 ci drwxrwxr-x 9 1003 1003 4096 Nov 6 11:23 docker drwxrwxr-x 8 1003 1003 4096 Nov 6 11:23 .git -rw-rw-r-- 1 1003 1003 1723 Nov 6 11:25 git_apply.log drwxrwxr-x 4 1003 1003 4096 Nov 6 11:23 .github -rw-rw-r-- 1 1003 1003 233 Nov 6 11:23 .groovylintrc.json -rw-rw-r-- 1 1003 1003 78 Nov 6 11:34 hooks.log drwxrwxr-x 31 1003 1003 4096 Nov 6 11:34 kernel -rw-rw-r-- 1 1003 1003 218586 Nov 6 11:25 kernel.mbox -rw-rw-r-- 1 1003 1003 28749 Nov 6 11:27 kunit.log -rw-rw-r-- 1 1003 1003 48 Nov 6 11:25 parent.tag drwxrwxr-x 44 1003 1003 4096 Nov 6 11:23 pipelines -rw-rw-r-- 1 1003 1003 793 Nov 6 11:23 README.adoc drwxrwxr-x 3 1003 1003 4096 Nov 6 11:23 scripts drwxrwxr-x 3 1003 1003 4096 Nov 6 11:23 src drwxrwxr-x 2 1003 1003 4096 Nov 6 11:23 vars drwxrwxr-x 2 1003 1003 4096 Nov 6 11:23 .vscode
+ uname -a
Linux 71a79827fb61 5.4.0-164-generic #181-Ubuntu SMP Fri Sep 1 13:41:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
+ export
+ grep -Ei '(^|\W)CI_'
declare -x CI_KERNEL_BUILD_DIR="/workspace/kernel/build64-default"
declare -x CI_KERNEL_SRC_DIR="/workspace/kernel"
declare -x CI_TOOLS_SRC_DIR="/workspace/ci"
declare -x CI_WORKSPACE_DIR="/workspace"
+ '[' -n /workspace ']'
+ git_args='-C /workspace/kernel'
+ git_log_args=
+ git --no-pager -C /workspace/kernel log --format=oneline --abbrev-commit77e8500f7 drm/xe/eudebug: vm open/pread/pwrite32562466a drm/xe/xe_eudebug: Add vm bind events w/o acking6fcaf6ffc drm/xe: Capture metadata attached to vma6b487280f RFC: xe/drm: attach debug metadata to vmac10f013cd drm/xe/: Include attention in usercapture.207876b25 drm/xe: Set vm debug metadataeddbabfc8 xe/drm: Include debug_metadata in usercoredumpb6201c624 drm/xe: Debug metadata create/destroy ioctlsa4c967d59 drm/xe/eudebug: Add per process coredumps4aab75f57 drm/xe/eudebug: User coredump support2dc23ac3e drm/xe/eudebug: Set vm metadata495bbea60 drm/xe/eudebug: Create/destroy user metadata5da32407c drm/xe/eudebug: uapi for client to debugger metadata (work in progress)14a6b7c78 drm/xe: Extend drm_xe_vm_bind_op6ec79652d drm/xe/eudebug: Introduce EU control interface
240371147 drm/xe: Move and export xe_hw_engine lookup.39e3e738f drm/xe/eudebug: Introduce per device attention scan worker7ed7b8cdd drm/xe: Add runalone engine propertycb3761f3d drm/xe: Export xe_hw_engine's mmio accessors9ba055fbe drm/xe: Introduce for_each_dss_steering loop276eaf4f8 drm/xe: define XE_MAX_[DSS|EU]_FUSE_BITS globallyb16f0af5c drm/xe/eudebug: hw enablement for eudebug661ce4c31 drm/xe/eudebug: Introduce exec_queue eventsc1f1509f3 drm/xe/eudebug: Introduce discovery for resourcese793dfbe2 drm/xe/eudebug: Introduce eudebug supportfc457bcc1 Revert "FIXME: drm/i915/crtc: use irqsave for locking event_lock"
run-parts: executing /workspace/ci/hooks/10-build-W1
+ SRC_DIR=/workspace/kernel
+ RESTORE_DISPLAY_CONFIG=0
+ '[' -n /workspace/kernel/build64-default ']'
+ BUILD_DIR=/workspace/kernel/build64-default
+ cd /workspace/kernel
+ grep -q -e '^CONFIG_DRM_XE_DISPLAY=[yY]' /workspace/kernel/build64-default/.config
+ RESTORE_DISPLAY_CONFIG=1
+ trap cleanup EXIT
+ ./scripts/config --file /workspace/kernel/build64-default/.config --disable CONFIG_DRM_XE_DISPLAY ++ nproc
+ make -j48 O=/workspace/kernel/build64-default modules_prepare
make[1]: Entering directory '/workspace/kernel/build64-default'
SYNC include/config/auto.conf.cmd GEN Makefile GEN Makefile UPD include/config/kernel.release UPD include/generated/compile.h UPD include/generated/utsrelease.h DESCEND objtool CALL ../scripts/checksyscalls.sh HOSTCC /workspace/kernel/build64-default/tools/objtool/fixdep.o HOSTLD /workspace/kernel/build64-default/tools/objtool/fixdep-in.o LINK /workspace/kernel/build64-default/tools/objtool/fixdep INSTALL libsubcmd_headers CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/exec-cmd.o CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/help.o CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/pager.o CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/parse-options.o CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/run-command.o CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/sigchain.o CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/subcmd-config.o LD /workspace/kernel/build64-default/tools/objtool/libsubcmd/libsubcmd-in.o AR /workspace/kernel/build64-default/tools/objtool/libsubcmd/libsubcmd.a CC /workspace/kernel/build64-default/tools/objtool/weak.o CC /workspace/kernel/build64-default/tools/objtool/check.o CC /workspace/kernel/build64-default/tools/objtool/special.o CC /workspace/kernel/build64-default/tools/objtool/builtin-check.o CC /workspace/kernel/build64-default/tools/objtool/elf.o CC /workspace/kernel/build64-default/tools/objtool/objtool.o CC /workspace/kernel/build64-default/tools/objtool/orc_gen.o CC /workspace/kernel/build64-default/tools/objtool/orc_dump.o CC /workspace/kernel/build64-default/tools/objtool/libstring.o CC /workspace/kernel/build64-default/tools/objtool/libctype.o CC /workspace/kernel/build64-default/tools/objtool/str_error_r.o CC /workspace/kernel/build64-default/tools/objtool/librbtree.o CC /workspace/kernel/build64-default/tools/objtool/arch/x86/special.o CC /workspace/kernel/build64-default/tools/objtool/arch/x86/decode.o LD /workspace/kernel/build64-default/tools/objtool/arch/x86/objtool-in.o LD /workspace/kernel/build64-default/tools/objtool/objtool-in.o LINK /workspace/kernel/build64-default/tools/objtool/objtool
make[1]: Leaving directory '/workspace/kernel/build64-default' ++ nproc
+ make -j48 O=/workspace/kernel/build64-default M=drivers/gpu/drm/xe W=1 make[1]: Entering directory '/workspace/kernel/build64-default'
CC [M] drivers/gpu/drm/xe/xe_bb.o CC [M] drivers/gpu/drm/xe/xe_bo.o CC [M] drivers/gpu/drm/xe/xe_bo_evict.o CC [M] drivers/gpu/drm/xe/xe_debugfs.o CC [M] drivers/gpu/drm/xe/xe_debug_metadata.o CC [M] drivers/gpu/drm/xe/xe_devcoredump.o CC [M] drivers/gpu/drm/xe/xe_usercoredump.o CC [M] drivers/gpu/drm/xe/xe_device.o CC [M] drivers/gpu/drm/xe/xe_device_sysfs.o CC [M] drivers/gpu/drm/xe/xe_dma_buf.o CC [M] drivers/gpu/drm/xe/xe_drm_client.o CC [M] drivers/gpu/drm/xe/xe_exec.o CC [M] drivers/gpu/drm/xe/xe_execlist.o CC [M] drivers/gpu/drm/xe/xe_exec_queue.o CC [M] drivers/gpu/drm/xe/xe_force_wake.o CC [M] drivers/gpu/drm/xe/xe_ggtt.o CC [M] drivers/gpu/drm/xe/xe_gt.o CC [M] drivers/gpu/drm/xe/xe_gt_clock.o CC [M] drivers/gpu/drm/xe/xe_gt_debugfs.o CC [M] drivers/gpu/drm/xe/xe_gt_idle_sysfs.o CC [M] drivers/gpu/drm/xe/xe_gt_debug.o CC [M] drivers/gpu/drm/xe/xe_gt_mcr.o CC [M] drivers/gpu/drm/xe/xe_gt_pagefault.o CC [M] drivers/gpu/drm/xe/xe_gt_sysfs.o CC [M] drivers/gpu/drm/xe/xe_gt_tlb_invalidation.o CC [M] drivers/gpu/drm/xe/xe_gt_topology.o HOSTCC drivers/gpu/drm/xe/xe_gen_wa_oob CC [M] drivers/gpu/drm/xe/xe_guc_ads.o CC [M] drivers/gpu/drm/xe/xe_guc_ct.o CC [M] drivers/gpu/drm/xe/xe_guc_debugfs.o CC [M] drivers/gpu/drm/xe/xe_guc_hwconfig.o CC [M] drivers/gpu/drm/xe/xe_guc_log.o CC [M] drivers/gpu/drm/xe/xe_guc_pc.o CC [M] drivers/gpu/drm/xe/xe_guc_submit.o CC [M] drivers/gpu/drm/xe/xe_heci_gsc.o CC [M] drivers/gpu/drm/xe/xe_hw_engine.o CC [M] drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.o CC [M] drivers/gpu/drm/xe/xe_hw_fence.o CC [M] drivers/gpu/drm/xe/xe_huc.o CC [M] drivers/gpu/drm/xe/xe_huc_debugfs.o CC [M] drivers/gpu/drm/xe/xe_irq.o CC [M] drivers/gpu/drm/xe/xe_lrc.o CC [M] drivers/gpu/drm/xe/xe_mmio.o CC [M] drivers/gpu/drm/xe/xe_mocs.o CC [M] drivers/gpu/drm/xe/xe_module.o CC [M] drivers/gpu/drm/xe/xe_pat.o CC [M] drivers/gpu/drm/xe/xe_pci.o CC [M] drivers/gpu/drm/xe/xe_pcode.o CC [M] drivers/gpu/drm/xe/xe_pm.o CC [M] drivers/gpu/drm/xe/xe_preempt_fence.o CC [M] drivers/gpu/drm/xe/xe_pt.o CC [M] drivers/gpu/drm/xe/xe_pt_walk.o CC [M] drivers/gpu/drm/xe/xe_query.o CC [M] drivers/gpu/drm/xe/xe_range_fence.o CC [M] drivers/gpu/drm/xe/xe_reg_sr.o ../drivers/gpu/drm/xe/xe_gt_debug.c:123: warning: Function parameter or member 'bits' not described in 'xe_gt_eu_attention_bitmap' ../drivers/gpu/drm/xe/xe_gt_debug.c:123: warning: Function parameter or member 'bitmap_size' not described in 'xe_gt_eu_attention_bitmap' CC [M] drivers/gpu/drm/xe/xe_reg_whitelist.o CC [M] drivers/gpu/drm/xe/xe_rtp.o CC [M] drivers/gpu/drm/xe/xe_sa.o CC [M] drivers/gpu/drm/xe/xe_sched_job.o CC [M] drivers/gpu/drm/xe/xe_step.o CC [M] drivers/gpu/drm/xe/xe_sync.o CC [M] drivers/gpu/drm/xe/xe_tile.o CC [M] drivers/gpu/drm/xe/xe_tile_sysfs.o CC [M] drivers/gpu/drm/xe/xe_trace.o CC [M] drivers/gpu/drm/xe/xe_ttm_sys_mgr.o CC [M] drivers/gpu/drm/xe/xe_ttm_vram_mgr.o CC [M] drivers/gpu/drm/xe/xe_tuning.o CC [M] drivers/gpu/drm/xe/xe_uc.o CC [M] drivers/gpu/drm/xe/xe_uc_debugfs.o CC [M] drivers/gpu/drm/xe/xe_uc_fw.o CC [M] drivers/gpu/drm/xe/xe_vm_madvise.o CC [M] drivers/gpu/drm/xe/xe_wait_user_fence.o CC [M] drivers/gpu/drm/xe/xe_wopcm.o CC [M] drivers/gpu/drm/xe/xe_eudebug.o CC [M] drivers/gpu/drm/xe/xe_hwmon.o CC [M] drivers/gpu/drm/xe/xe_pmu.o HDRTEST drivers/gpu/drm/xe/abi/guc_klvs_abi.h HDRTEST drivers/gpu/drm/xe/abi/guc_errors_abi.h CC [M] drivers/gpu/drm/xe/tests/xe_bo_test.o HDRTEST drivers/gpu/drm/xe/abi/guc_actions_slpc_abi.h HDRTEST drivers/gpu/drm/xe/abi/guc_communication_mmio_abi.h CC [M] drivers/gpu/drm/xe/tests/xe_dma_buf_test.o HDRTEST drivers/gpu/drm/xe/abi/guc_actions_abi.h CC [M] drivers/gpu/drm/xe/tests/xe_migrate_test.o HDRTEST drivers/gpu/drm/xe/abi/guc_communication_ctb_abi.h HDRTEST drivers/gpu/drm/xe/abi/guc_messages_abi.h HDRTEST drivers/gpu/drm/xe/instructions/xe_instr_defs.h CC [M] drivers/gpu/drm/xe/tests/xe_pci_test.o HDRTEST drivers/gpu/drm/xe/instructions/xe_gfxpipe_commands.h CC [M] drivers/gpu/drm/xe/tests/xe_rtp_test.o HDRTEST drivers/gpu/drm/xe/instructions/xe_mi_commands.h HDRTEST drivers/gpu/drm/xe/regs/xe_reg_defs.h HDRTEST drivers/gpu/drm/xe/regs/xe_guc_regs.h HDRTEST drivers/gpu/drm/xe/regs/xe_gt_regs.h HDRTEST drivers/gpu/drm/xe/regs/xe_regs.h CC [M] drivers/gpu/drm/xe/tests/xe_wa_test.o HDRTEST drivers/gpu/drm/xe/regs/xe_gpu_commands.h HDRTEST drivers/gpu/drm/xe/regs/xe_lrc_layout.h HDRTEST drivers/gpu/drm/xe/regs/xe_engine_regs.h HDRTEST drivers/gpu/drm/xe/regs/xe_mchbar_regs.h HDRTEST drivers/gpu/drm/xe/tests/xe_test.h HDRTEST drivers/gpu/drm/xe/tests/xe_pci_test.h HDRTEST drivers/gpu/drm/xe/tests/xe_migrate_test.h HDRTEST drivers/gpu/drm/xe/tests/xe_dma_buf_test.h HDRTEST drivers/gpu/drm/xe/tests/xe_bo_test.h HDRTEST drivers/gpu/drm/xe/xe_assert.h HDRTEST drivers/gpu/drm/xe/xe_bb.h HDRTEST drivers/gpu/drm/xe/xe_bb_types.h HDRTEST drivers/gpu/drm/xe/xe_bo.h HDRTEST drivers/gpu/drm/xe/xe_bo_doc.h HDRTEST drivers/gpu/drm/xe/xe_bo_evict.h HDRTEST drivers/gpu/drm/xe/xe_bo_types.h HDRTEST drivers/gpu/drm/xe/xe_debug_metadata.h HDRTEST drivers/gpu/drm/xe/xe_debug_metadata_types.h HDRTEST drivers/gpu/drm/xe/xe_debugfs.h HDRTEST drivers/gpu/drm/xe/xe_devcoredump.h HDRTEST drivers/gpu/drm/xe/xe_devcoredump_types.h HDRTEST drivers/gpu/drm/xe/xe_device.h HDRTEST drivers/gpu/drm/xe/xe_device_sysfs.h HDRTEST drivers/gpu/drm/xe/xe_device_types.h HDRTEST drivers/gpu/drm/xe/xe_dma_buf.h HDRTEST drivers/gpu/drm/xe/xe_drm_client.h HDRTEST drivers/gpu/drm/xe/xe_drv.h HDRTEST drivers/gpu/drm/xe/xe_eudebug.h HDRTEST drivers/gpu/drm/xe/xe_eudebug_types.h HDRTEST drivers/gpu/drm/xe/xe_exec.h HDRTEST drivers/gpu/drm/xe/xe_exec_queue.h HDRTEST drivers/gpu/drm/xe/xe_exec_queue_types.h HDRTEST drivers/gpu/drm/xe/xe_execlist.h HDRTEST drivers/gpu/drm/xe/xe_execlist_types.h HDRTEST drivers/gpu/drm/xe/xe_force_wake.h HDRTEST drivers/gpu/drm/xe/xe_force_wake_types.h HDRTEST drivers/gpu/drm/xe/xe_ggtt.h HDRTEST drivers/gpu/drm/xe/xe_ggtt_types.h HDRTEST drivers/gpu/drm/xe/xe_gt.h HDRTEST drivers/gpu/drm/xe/xe_gt_clock.h HDRTEST drivers/gpu/drm/xe/xe_gt_debug.h HDRTEST drivers/gpu/drm/xe/xe_gt_debugfs.h HDRTEST drivers/gpu/drm/xe/xe_gt_idle_sysfs.h HDRTEST drivers/gpu/drm/xe/xe_gt_idle_sysfs_types.h HDRTEST drivers/gpu/drm/xe/xe_gt_mcr.h HDRTEST drivers/gpu/drm/xe/xe_gt_pagefault.h HDRTEST drivers/gpu/drm/xe/xe_gt_printk.h HDRTEST drivers/gpu/drm/xe/xe_gt_sysfs.h HDRTEST drivers/gpu/drm/xe/xe_gt_sysfs_types.h HDRTEST drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h HDRTEST drivers/gpu/drm/xe/xe_gt_tlb_invalidation_types.h HDRTEST drivers/gpu/drm/xe/xe_gt_topology.h HDRTEST drivers/gpu/drm/xe/xe_gt_types.h HDRTEST drivers/gpu/drm/xe/xe_guc.h HDRTEST drivers/gpu/drm/xe/xe_guc_ads.h HDRTEST drivers/gpu/drm/xe/xe_guc_ads_types.h HDRTEST drivers/gpu/drm/xe/xe_guc_ct.h HDRTEST drivers/gpu/drm/xe/xe_guc_ct_types.h HDRTEST drivers/gpu/drm/xe/xe_guc_debugfs.h HDRTEST drivers/gpu/drm/xe/xe_guc_exec_queue_types.h HDRTEST drivers/gpu/drm/xe/xe_guc_fwif.h HDRTEST drivers/gpu/drm/xe/xe_guc_hwconfig.h HDRTEST drivers/gpu/drm/xe/xe_guc_log.h HDRTEST drivers/gpu/drm/xe/xe_guc_log_types.h HDRTEST drivers/gpu/drm/xe/xe_guc_pc.h HDRTEST drivers/gpu/drm/xe/xe_guc_pc_types.h HDRTEST drivers/gpu/drm/xe/xe_guc_submit.h HDRTEST drivers/gpu/drm/xe/xe_guc_submit_types.h HDRTEST drivers/gpu/drm/xe/xe_guc_types.h HDRTEST drivers/gpu/drm/xe/xe_heci_gsc.h HDRTEST drivers/gpu/drm/xe/xe_huc.h HDRTEST drivers/gpu/drm/xe/xe_huc_debugfs.h HDRTEST drivers/gpu/drm/xe/xe_huc_types.h HDRTEST drivers/gpu/drm/xe/xe_hw_engine.h HDRTEST drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.h HDRTEST drivers/gpu/drm/xe/xe_hw_engine_types.h HDRTEST drivers/gpu/drm/xe/xe_hw_fence.h HDRTEST drivers/gpu/drm/xe/xe_hw_fence_types.h HDRTEST drivers/gpu/drm/xe/xe_hwmon.h HDRTEST drivers/gpu/drm/xe/xe_irq.h HDRTEST drivers/gpu/drm/xe/xe_lrc.h HDRTEST drivers/gpu/drm/xe/xe_lrc_types.h HDRTEST drivers/gpu/drm/xe/xe_macros.h HDRTEST drivers/gpu/drm/xe/xe_map.h HDRTEST drivers/gpu/drm/xe/xe_migrate.h HDRTEST drivers/gpu/drm/xe/xe_migrate_doc.h HDRTEST drivers/gpu/drm/xe/xe_mmio.h HDRTEST drivers/gpu/drm/xe/xe_mocs.h HDRTEST drivers/gpu/drm/xe/xe_module.h HDRTEST drivers/gpu/drm/xe/xe_pat.h HDRTEST drivers/gpu/drm/xe/xe_pci.h HDRTEST drivers/gpu/drm/xe/xe_pci_types.h HDRTEST drivers/gpu/drm/xe/xe_pcode.h HDRTEST drivers/gpu/drm/xe/xe_pcode_api.h HDRTEST drivers/gpu/drm/xe/xe_platform_types.h HDRTEST drivers/gpu/drm/xe/xe_pm.h HDRTEST drivers/gpu/drm/xe/xe_pmu.h HDRTEST drivers/gpu/drm/xe/xe_pmu_types.h HDRTEST drivers/gpu/drm/xe/xe_preempt_fence.h HDRTEST drivers/gpu/drm/xe/xe_preempt_fence_types.h HDRTEST drivers/gpu/drm/xe/xe_pt.h HDRTEST drivers/gpu/drm/xe/xe_pt_types.h HDRTEST drivers/gpu/drm/xe/xe_pt_walk.h HDRTEST drivers/gpu/drm/xe/xe_query.h HDRTEST drivers/gpu/drm/xe/xe_range_fence.h HDRTEST drivers/gpu/drm/xe/xe_reg_sr.h HDRTEST drivers/gpu/drm/xe/xe_reg_sr_types.h HDRTEST drivers/gpu/drm/xe/xe_reg_whitelist.h HDRTEST drivers/gpu/drm/xe/xe_res_cursor.h HDRTEST drivers/gpu/drm/xe/xe_ring_ops.h HDRTEST drivers/gpu/drm/xe/xe_ring_ops_types.h HDRTEST drivers/gpu/drm/xe/xe_rtp.h HDRTEST drivers/gpu/drm/xe/xe_rtp_types.h HDRTEST drivers/gpu/drm/xe/xe_sa.h HDRTEST drivers/gpu/drm/xe/xe_sa_types.h HDRTEST drivers/gpu/drm/xe/xe_sched_job.h HDRTEST drivers/gpu/drm/xe/xe_sched_job_types.h HDRTEST drivers/gpu/drm/xe/xe_step.h HDRTEST drivers/gpu/drm/xe/xe_step_types.h HDRTEST drivers/gpu/drm/xe/xe_sync.h HDRTEST drivers/gpu/drm/xe/xe_sync_types.h HDRTEST drivers/gpu/drm/xe/xe_tile.h HDRTEST drivers/gpu/drm/xe/xe_tile_sysfs.h HDRTEST drivers/gpu/drm/xe/xe_tile_sysfs_types.h HDRTEST drivers/gpu/drm/xe/xe_trace.h HDRTEST drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h HDRTEST drivers/gpu/drm/xe/xe_ttm_sys_mgr.h HDRTEST drivers/gpu/drm/xe/xe_ttm_vram_mgr.h HDRTEST drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h HDRTEST drivers/gpu/drm/xe/xe_tuning.h HDRTEST drivers/gpu/drm/xe/xe_uc.h HDRTEST drivers/gpu/drm/xe/xe_uc_debugfs.h HDRTEST drivers/gpu/drm/xe/xe_uc_fw.h HDRTEST drivers/gpu/drm/xe/xe_uc_fw_abi.h HDRTEST drivers/gpu/drm/xe/xe_uc_fw_types.h HDRTEST drivers/gpu/drm/xe/xe_uc_types.h HDRTEST drivers/gpu/drm/xe/xe_usercoredump.h HDRTEST drivers/gpu/drm/xe/xe_usercoredump_types.h HDRTEST drivers/gpu/drm/xe/xe_vm.h HDRTEST drivers/gpu/drm/xe/xe_vm_doc.h HDRTEST drivers/gpu/drm/xe/xe_vm_madvise.h HDRTEST drivers/gpu/drm/xe/xe_vm_types.h HDRTEST drivers/gpu/drm/xe/xe_wa.h HDRTEST drivers/gpu/drm/xe/xe_wait_user_fence.h HDRTEST drivers/gpu/drm/xe/xe_wopcm.h HDRTEST drivers/gpu/drm/xe/xe_wopcm_types.h GEN xe_wa_oob.c xe_wa_oob.h GEN xe_wa_oob.c xe_wa_oob.h CC [M] drivers/gpu/drm/xe/xe_guc.o CC [M] drivers/gpu/drm/xe/xe_migrate.o CC [M] drivers/gpu/drm/xe/xe_ring_ops.o CC [M] drivers/gpu/drm/xe/xe_ttm_stolen_mgr.o CC [M] drivers/gpu/drm/xe/xe_vm.o CC [M] drivers/gpu/drm/xe/xe_wa.o LD [M] drivers/gpu/drm/xe/xe.o
MODPOST drivers/gpu/drm/xe/Module.symvers
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_bo_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_dma_buf_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_migrate_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_pci_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_rtp_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_wa_test.o
CC [M] drivers/gpu/drm/xe/xe.mod.o CC [M] drivers/gpu/drm/xe/tests/xe_bo_test.mod.o CC [M] drivers/gpu/drm/xe/tests/xe_dma_buf_test.mod.o CC [M] drivers/gpu/drm/xe/tests/xe_migrate_test.mod.o CC [M] drivers/gpu/drm/xe/tests/xe_pci_test.mod.o CC [M] drivers/gpu/drm/xe/tests/xe_rtp_test.mod.o CC [M] drivers/gpu/drm/xe/tests/xe_wa_test.mod.o LD [M] drivers/gpu/drm/xe/tests/xe_pci_test.ko LD [M] drivers/gpu/drm/xe/tests/xe_wa_test.ko LD [M] drivers/gpu/drm/xe/tests/xe_dma_buf_test.ko LD [M] drivers/gpu/drm/xe/tests/xe_migrate_test.ko LD [M] drivers/gpu/drm/xe/tests/xe_rtp_test.ko LD [M] drivers/gpu/drm/xe/tests/xe_bo_test.ko LD [M] drivers/gpu/drm/xe/xe.ko
make[1]: Leaving directory '/workspace/kernel/build64-default'
+ cleanup
+ '[' 1 -eq 1 ']'
+ ./scripts/config --file /workspace/kernel/build64-default/.config --enable CONFIG_DRM_XE_DISPLAY
run-parts: executing /workspace/ci/hooks/20-kernel-doc
+ SRC_DIR=/workspace/kernel
+ cd /workspace/kernel
+ find drivers/gpu/drm/xe/ -name '*.[ch]' -not -path 'drivers/gpu/drm/xe/display/*'
+ xargs ./scripts/kernel-doc -Werror -none include/uapi/drm/xe_drm.hdrivers/gpu/drm/xe/xe_device_types.h:514: warning: Function parameter or member 'eudebug' not described in 'xe_device' drivers/gpu/drm/xe/xe_device_types.h:514: warning: Function parameter or member 'clients' not described in 'xe_device' drivers/gpu/drm/xe/xe_usercoredump_types.h:90: warning: Function parameter or member 'link' not described in 'xe_user_state_snapshot' drivers/gpu/drm/xe/xe_usercoredump_types.h:90: warning: Function parameter or member 'vmas' not described in 'xe_user_state_snapshot' drivers/gpu/drm/xe/xe_usercoredump_types.h:90: warning: Function parameter or member 'metadata_list' not described in 'xe_user_state_snapshot' drivers/gpu/drm/xe/xe_usercoredump_types.h:90: warning: Function parameter or member 'vm_metadata' not described in 'xe_user_state_snapshot' drivers/gpu/drm/xe/xe_usercoredump_types.h:90: warning: Function parameter or member 'attentions' not described in 'xe_user_state_snapshot' drivers/gpu/drm/xe/xe_usercoredump_types.h:90: warning: Function parameter or member 'pid' not described in 'xe_user_state_snapshot' drivers/gpu/drm/xe/xe_usercoredump_types.h:90: warning: Function parameter or member 'client_id' not described in 'xe_user_state_snapshot' drivers/gpu/drm/xe/xe_usercoredump_types.h:90: warning: Function parameter or member 'comm' not described in 'xe_user_state_snapshot' drivers/gpu/drm/xe/xe_usercoredump_types.h:90: warning: Function parameter or member 'count' not described in 'xe_user_state_snapshot' drivers/gpu/drm/xe/xe_usercoredump_types.h:90: warning: Function parameter or member 'pidroot' not described in 'xe_user_state_snapshot' drivers/gpu/drm/xe/xe_usercoredump_types.h:90: warning: Function parameter or member 'dentry' not described in 'xe_user_state_snapshot' drivers/gpu/drm/xe/xe_gt_debug.c:124: warning: Function parameter or member 'bits' not described in 'xe_gt_eu_attention_bitmap' drivers/gpu/drm/xe/xe_gt_debug.c:124: warning: Function parameter or member 'bitmap_size' not described in 'xe_gt_eu_attention_bitmap' drivers/gpu/drm/xe/xe_eudebug_types.h:102: warning: Function parameter or member 'engine_class' not described in 'xe_eudebug_event_exec_queue' drivers/gpu/drm/xe/xe_eudebug_types.h:102: warning: Function parameter or member 'lrc_handle' not described in 'xe_eudebug_event_exec_queue' drivers/gpu/drm/xe/xe_eudebug_types.h:144: warning: Function parameter or member 'client_handle' not described in 'xe_eudebug_event_vm_bind' drivers/gpu/drm/xe/xe_eudebug_types.h:144: warning: Function parameter or member 'vm_handle' not described in 'xe_eudebug_event_vm_bind' drivers/gpu/drm/xe/xe_eudebug_types.h:144: warning: Function parameter or member 'va_start' not described in 'xe_eudebug_event_vm_bind' drivers/gpu/drm/xe/xe_eudebug_types.h:144: warning: Function parameter or member 'va_length' not described in 'xe_eudebug_event_vm_bind' drivers/gpu/drm/xe/xe_eudebug_types.h:169: warning: Function parameter or member 'rh' not described in 'xe_eudebug_resource' drivers/gpu/drm/xe/xe_eudebug_types.h:270: warning: Function parameter or member 'eu_lock' not described in 'xe_eudebug' drivers/gpu/drm/xe/xe_eudebug_types.h:270: warning: Function parameter or member 'ops' not described in 'xe_eudebug'
24 warnings as Errors
run-parts: /workspace/ci/hooks/20-kernel-doc exited with return code 123
Patchwork
CI[Intel-xe] ✓ CI.checksparse: success for xe-eudebug: GPU debugging interface
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: xe-eudebug: GPU debugging interface
URL : https://patchwork.freedesktop.org/series/126019/
State : success
== Summary ==
+ trap cleanup EXIT
+ KERNEL=/kernel
+ MT=/root/linux/maintainer-tools
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools /root/linux/maintainer-tools Cloning into '/root/linux/maintainer-tools'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ make -C /root/linux/maintainer-tools
make: Entering directory '/root/linux/maintainer-tools'
cc -O2 -g -Wextra -o remap-log remap-log.c
make: Leaving directory '/root/linux/maintainer-tools'
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ /root/linux/maintainer-tools/dim sparse --fast fc457bcc18109467961edc92c80b238009f6a9fb Sparse version: 0.6.1 (Ubuntu: 0.6.1-2build1)
Fast mode used, each commit won't be checked separately.
Okay!
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI[Intel-xe] ✗ CI.BAT: failure for xe-eudebug: GPU debugging interface
In reply to Mika Kuoppala== Series Details ==
== Series Details ==
Series: xe-eudebug: GPU debugging interface
URL : https://patchwork.freedesktop.org/series/126019/
State : failure
== Summary ==
CI Bug Log - changes from xe-471-fc457bcc18109467961edc92c80b238009f6a9fb_BAT -> xe-pw-126019v1_BAT
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-126019v1_BAT absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-126019v1_BAT, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-126019v1_BAT:
### IGT changes ###
#### Possible regressions ####
* igt@core_hotunplug@unbind-rebind:
- bat-adlp-7: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-adlp-7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-adlp-7/igt@[email protected]
* igt@xe_dma_buf_sync@export-dma-buf-once:
- bat-pvc-2: [PASS][3] -> [FAIL][4] +10 other tests fail
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-pvc-2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* igt@xe_exec_compute_mode@twice-userptr-invalidate:
- bat-atsm-2: [PASS][5] -> [FAIL][6] +100 other tests fail
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-atsm-2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-atsm-2/igt@[email protected]
* igt@xe_intel_bb@create-in-region:
- bat-adlp-7: [PASS][7] -> [FAIL][8] +130 other tests fail
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-adlp-7/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-adlp-7/igt@[email protected]
* igt@xe_intel_bb@intel-bb-blit-y:
- bat-pvc-2: NOTRUN -> [FAIL][9] +75 other tests fail
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
#### Warnings ####
* igt@kms_frontbuffer_tracking@basic:
- bat-adlp-7: [DMESG-FAIL][10] ([Intel XE#282] / [i915#2017]) -> [FAIL][11]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-adlp-7/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-adlp-7/igt@[email protected]
* igt@xe_evict@evict-beng-small-external:
- bat-pvc-2: [FAIL][12] ([Intel XE#389]) -> [FAIL][13] +3 other tests fail
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-pvc-2/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* igt@xe_evict@evict-small-cm:
- bat-pvc-2: [DMESG-FAIL][14] ([Intel XE#482]) -> [FAIL][15] +3 other tests fail
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-pvc-2/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* {igt@xe_evict_ccs@evict-ccs-overcommit-parallel-nofree-samefd}:
- bat-pvc-2: [INCOMPLETE][16] ([Intel XE#854]) -> [FAIL][17]
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-pvc-2/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* {igt@xe_evict_ccs@evict-ccs-overcommit-simple}:
- bat-pvc-2: [PASS][18] -> [FAIL][19]
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-pvc-2/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* {igt@xe_exec_compute_mode@twice-bindexecqueue-userptr-invalidate}:
- bat-pvc-2: NOTRUN -> [FAIL][20] +11 other tests fail
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* {igt@xe_exec_compute_mode@twice-bindexecqueue-userptr-rebind}:
- bat-atsm-2: [PASS][21] -> [FAIL][22] +13 other tests fail
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-atsm-2/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-atsm-2/igt@[email protected]
* {igt@xe_vm@bind-execqueues-independent}:
- bat-adlp-7: [PASS][23] -> [FAIL][24] +11 other tests fail
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-adlp-7/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-adlp-7/igt@[email protected]
New tests
---------
New tests have been introduced between xe-471-fc457bcc18109467961edc92c80b238009f6a9fb_BAT and xe-pw-126019v1_BAT:
### New IGT tests (1) ###
* igt@xe_live_ktest:
- Statuses :
- Exec time: [None] s
Known issues
------------
Here are the changes found in xe-pw-126019v1_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@unbind-rebind:
- bat-atsm-2: [PASS][25] -> [INCOMPLETE][26] ([Intel XE#764])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-atsm-2/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-atsm-2/igt@[email protected]
* igt@kms_addfb_basic@addfb25-x-tiled-legacy:
- bat-pvc-2: NOTRUN -> [SKIP][27] ([i915#6077]) +33 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-after-cursor-atomic:
- bat-pvc-2: NOTRUN -> [SKIP][28] ([Intel XE#782]) +5 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-pvc-2: NOTRUN -> [SKIP][29] ([Intel XE#784])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* igt@kms_flip@basic-flip-vs-dpms:
- bat-pvc-2: NOTRUN -> [SKIP][30] ([Intel XE#541]) +3 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* igt@kms_force_connector_basic@force-connector-state:
- bat-pvc-2: NOTRUN -> [SKIP][31] ([Intel XE#540]) +3 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- bat-pvc-2: NOTRUN -> [SKIP][32] ([Intel XE#783])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-pvc-2: NOTRUN -> [SKIP][33] ([Intel XE#829]) +6 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* igt@kms_prop_blob@basic:
- bat-pvc-2: NOTRUN -> [SKIP][34] ([Intel XE#780])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* igt@kms_psr@primary_page_flip:
- bat-pvc-2: NOTRUN -> [SKIP][35] ([Intel XE#535]) +2 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@kms_psr@primary_page_flip.html
* igt@xe_guc_pc@freq_range_idle:
- bat-pvc-2: NOTRUN -> [SKIP][36] ([Intel XE#533]) +1 other test skip
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@xe_guc_pc@freq_range_idle.html
* igt@xe_huc_copy@huc_copy:
- bat-pvc-2: NOTRUN -> [SKIP][37] ([Intel XE#255])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@xe_huc_copy@huc_copy.html
* igt@xe_intel_bb@render:
- bat-pvc-2: NOTRUN -> [SKIP][38] ([Intel XE#532])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
* igt@xe_module_load@load:
- bat-dg2-oem2: [PASS][39] -> [INCOMPLETE][40] ([Intel XE#597] / [Intel XE#714])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-471-fc457bcc18109467961edc92c80b238009f6a9fb/bat-dg2-oem2/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-dg2-oem2/igt@[email protected]
* igt@xe_pm_residency@gt-c6-on-idle:
- bat-pvc-2: NOTRUN -> [SKIP][41] ([Intel XE#531])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/bat-pvc-2/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#255]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/255
[Intel XE#282]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/282
[Intel XE#389]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/389
[Intel XE#482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/482
[Intel XE#531]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/531
[Intel XE#532]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/532
[Intel XE#533]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/533
[Intel XE#535]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/535
[Intel XE#540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/540
[Intel XE#541]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/541
[Intel XE#597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/597
[Intel XE#714]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/714
[Intel XE#764]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/764
[Intel XE#780]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/780
[Intel XE#782]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/782
[Intel XE#783]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/783
[Intel XE#784]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/784
[Intel XE#829]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/829
[Intel XE#854]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/854
[i915#2017]: https://gitlab.freedesktop.org/drm/intel/issues/2017
[i915#6077]: https://gitlab.freedesktop.org/drm/intel/issues/6077
Build changes
-------------
* Linux: xe-471-fc457bcc18109467961edc92c80b238009f6a9fb -> xe-pw-126019v1
IGT_7573: 69485d223b256208614e9949a4a7e84bde52d5f5 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-471-fc457bcc18109467961edc92c80b238009f6a9fb: fc457bcc18109467961edc92c80b238009f6a9fb
xe-pw-126019v1: 126019v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-126019v1/index.html