2021-05-11 08:02:30

by kernel test robot

[permalink] [raw]
Subject: [drm/i915/guc] 07336fb545: WARNING:at_drivers/gpu/drm/i915/gt/uc/intel_uc.c:#__uc_sanitize[i915]



Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 07336fb545bfa9794d5b4146809355dffc93f0aa ("[RFC PATCH 66/97] drm/i915/guc: Add disable interrupts to guc sanitize")
url: https://github.com/0day-ci/linux/commits/Matthew-Brost/Basic-GuC-submission-support-in-the-i915/20210507-030308
base: git://anongit.freedesktop.org/drm/drm-tip drm-tip

in testcase: xfstests
version: xfstests-x86_64-73c0871-1_20210401
with following parameters:

disk: 4HDD
fs: xfs
test: xfs-group-23
ucode: 0x21

test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git


on test machine: 4 threads 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 8G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):



If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>


kern :warn : [ 24.324557] ------------[ cut here ]------------
kern :warn : [ 24.329257] GuC status: 0x0, MIA core expected to be in reset
kern :warn : [ 24.335071] WARNING: CPU: 1 PID: 197 at drivers/gpu/drm/i915/gt/uc/intel_uc.c:60 __uc_sanitize+0xa1/0xc0 [i915]
kern :warn : [ 24.346756] Modules linked in: intel_powerclamp coretemp acpi_cpufreq(-) kvm_intel i915(+) ahci kvm intel_gtt libahci drm_kms_helper irq
bypass crct10dif_pclmul crc32_pclmul syscopyarea crc32c_intel mei_me sysfillrect wmi_bmof ghash_clmulni_intel rapl sysimgblt fb_sys_fops intel_cstate liba
ta drm joydev mei intel_uncore wmi video ip_tables
kern :warn : [ 24.378439] CPU: 1 PID: 197 Comm: systemd-udevd Not tainted 5.12.0-02605-g07336fb545bf #1
kern :warn : [ 24.388071] Hardware name: Hewlett-Packard HP Pro 3340 MT/17A1, BIOS 8.07 01/24/2013
kern :warn : [ 24.397285] RIP: 0010:__uc_sanitize+0xa1/0xc0 [i915]
kern :warn : [ 24.402840] Code: 44 89 e0 5b 41 5c c3 89 c6 48 c7 c7 20 4c 9b c0 e8 b4 47 8f ff 44 89 e0 5b 41 5c c3 89 c6 48 c7 c7 40 4c 9b c0 e8 b5 6
2 31 c1 <0f> 0b eb d2 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 2e 0f 1f 84 00
kern :warn : [ 24.421847] RSP: 0018:ffffc900005c7990 EFLAGS: 00010286
kern :warn : [ 24.427101] RAX: 0000000000000000 RBX: ffff88821b3c6908 RCX: 0000000000000000
kern :warn : [ 24.434288] RDX: ffff88821faa7960 RSI: ffff88821fa977f0 RDI: ffff88821fa977f0
kern :warn : [ 24.441519] RBP: ffff88821b3d3450 R08: ffff88821fa977f0 R09: ffffc900005c77a8
kern :warn : [ 24.450088] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
kern :warn : [ 24.458674] R13: ffff88821b3c68f0 R14: 0000000000000001 R15: ffff88821b3c6908
kern :warn : [ 24.467270] FS: 00007fc4a4b3ad40(0000) GS:ffff88821fa80000(0000) knlGS:0000000000000000
kern :warn : [ 24.475429] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern :warn : [ 24.482569] CR2: 00007fc4a521202f CR3: 000000021f0fe006 CR4: 00000000001706e0
kern :warn : [ 24.491126] Call Trace:
kern :warn : [ 24.493780] gt_sanitize+0x83/0x180 [i915]
kern :warn : [ 24.498005] intel_gt_resume+0x51/0x280 [i915]
kern :warn : [ 24.503938] ? intel_rps_init+0x301/0x760 [i915]
kern :warn : [ 24.509981] intel_gt_init+0x146/0x2e0 [i915]
kern :warn : [ 24.515762] i915_gem_init+0x129/0x1c0 [i915]
kern :warn : [ 24.521535] i915_driver_probe+0x2f3/0x6a0 [i915]
kern :warn : [ 24.526959] ? __cond_resched+0x19/0x40
kern :warn : [ 24.530826] ? mutex_lock+0x21/0x40
kern :warn : [ 24.530831] i915_pci_probe+0x54/0x140 [i915]
kern :warn : [ 24.538745] local_pci_probe+0x42/0x80
kern :warn : [ 24.542524] ? __cond_resched+0x19/0x40
kern :warn : [ 24.546408] pci_device_probe+0x107/0x1c0
kern :warn : [ 24.551825] really_probe+0xf0/0x400
kern :warn : [ 24.556811] driver_probe_device+0xe1/0x160
kern :warn : [ 24.562399] device_driver_attach+0x53/0x60
kern :warn : [ 24.567991] __driver_attach+0x8a/0x160
kern :warn : [ 24.572815] ? device_driver_attach+0x60/0x60
kern :info : [ 24.573611] ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
kern :warn : [ 24.577243] ? device_driver_attach+0x60/0x60
kern :warn : [ 24.577246] bus_for_each_dev+0x78/0xc0
kern :info : [ 24.583520] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
kern :warn : [ 24.587886] bus_add_driver+0x14d/0x200
kern :debug : [ 24.598175] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
kern :warn : [ 24.601823] driver_register+0x6c/0xc0
kern :info : [ 24.608849] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
kern :warn : [ 24.612654] ? 0xffffffffc0ad9000
kern :warn : [ 24.612657] i915_init+0x62/0x7c [i915]
kern :info : [ 24.620637] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
kern :warn : [ 24.623980] do_one_initcall+0x44/0x200
kern :debug : [ 24.627872] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
kern :warn : [ 24.636540] ? __cond_resched+0x19/0x40
kern :info : [ 24.640395] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
kern :warn : [ 24.647416] ? kmem_cache_alloc_trace+0x44/0x460
kern :info : [ 24.651297] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
kern :warn : [ 24.659262] do_init_module+0x5c/0x240
kern :info : [ 24.663933] ata5.00: ATA-10: INTEL SSDSC2KB240G8, XCV10100, max UDMA/133
kern :warn : [ 24.672656] load_module+0x1143/0x13a0
kern :info : [ 24.676418] ata5.00: 468862128 sectors, multi 1: LBA48 NCQ (depth 32)
kern :warn : [ 24.683177] ? kernel_read_file+0x220/0x280
kern :warn : [ 24.697667] ? __do_sys_finit_module+0xb1/0x120
kern :info : [ 24.697670] ata1.00: ATA-9: WDC WD20EZRX-00D8PB0, 80.00A80, max UDMA/133
kern :warn : [ 24.702259] __do_sys_finit_module+0xb1/0x120
kern :info : [ 24.709017] ata1.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 32), AA
kern :warn : [ 24.713423] do_syscall_64+0x33/0x40
kern :warn : [ 24.725471] entry_SYSCALL_64_after_hwframe+0x44/0xae
kern :debug : [ 24.725490] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
kern :warn : [ 24.731975] RIP: 0033:0x7fc4a5324f59
kern :info : [ 24.740383] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
kern :info : [ 24.740387] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
kern :warn : [ 24.745426] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
kern :debug : [ 24.762803] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
kern :warn : [ 24.781758] RSP: 002b:00007ffd7e4e4988 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
kern :info : [ 24.788776] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
kern :warn : [ 24.796438] RAX: ffffffffffffffda RBX: 0000559b41efcc10 RCX: 00007fc4a5324f59
kern :warn : [ 24.796440] RDX: 0000000000000000 RSI: 00007fc4a5229cad RDI: 0000000000000015
kern :warn : [ 24.796442] RBP: 00007fc4a5229cad R08: 0000000000000000 R09: 0000000000000000
kern :info : [ 24.804419] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
kern :warn : [ 24.811605] R10: 0000000000000015 R11: 0000000000000246 R12: 0000000000000000
kern :warn : [ 24.811607] R13: 0000559b41ef4870 R14: 0000000000020000 R15: 0000559b41efcc10
kern :info : [ 24.818795] ata5.00: configured for UDMA/133
kern :warn : [ 24.825989] ---[ end trace d71d841a02d7284b ]---



To reproduce:

git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
bin/lkp run generated-yaml-file



---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation

Thanks,
Oliver Sang


Attachments:
(No filename) (8.22 kB)
config-5.12.0-02605-g07336fb545bf (175.67 kB)
job-script (5.99 kB)
kmsg.xz (23.56 kB)
xfstests (864.00 B)
job.yaml (4.90 kB)
reproduce (881.00 B)
Download all attachments