[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200818061659.GH18179@shao2-debian>
Date: Tue, 18 Aug 2020 14:17:00 +0800
From: kernel test robot <lkp@...el.com>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: linux-acpi@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
catalin.marinas@....com, will@...nel.org,
lorenzo.pieralisi@....com, rjw@...ysocki.net, lenb@...nel.org,
Ard Biesheuvel <ardb@...nel.org>, 0day robot <lkp@...el.com>,
LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: [ACPI] a34cc34917: WARNING:at_drivers/acpi/osl.c:#acpi_os_unmap_iomem
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: a34cc34917319aed90ebf9b0fbf4146666f5f75d ("[PATCH] ACPI: ioremap: avoid redundant rounding to OS page size")
url: https://github.com/0day-ci/linux/commits/Ard-Biesheuvel/ACPI-ioremap-avoid-redundant-rounding-to-OS-page-size/20200817-200603
base: https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git linux-next
in testcase: boot
on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------+------------+------------+
| | 395313eda1 | a34cc34917 |
+----------------------------------------------------+------------+------------+
| boot_successes | 22 | 0 |
| boot_failures | 0 | 16 |
| WARNING:at_drivers/acpi/osl.c:#acpi_os_unmap_iomem | 0 | 16 |
| EIP:acpi_os_unmap_iomem | 0 | 16 |
| BUG:kernel_NULL_pointer_dereference,address | 0 | 16 |
| Oops:#[##] | 0 | 16 |
| EIP:acpi_tb_verify_checksum | 0 | 16 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 16 |
+----------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>
[ 0.289823] WARNING: CPU: 0 PID: 0 at drivers/acpi/osl.c:431 acpi_os_unmap_iomem+0x61/0xa0
[ 0.290300] Modules linked in:
[ 0.290486] CPU: 0 PID: 0 Comm: swapper Not tainted 5.8.0-11404-ga34cc34917319a #2
[ 0.290931] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 0.291423] EIP: acpi_os_unmap_iomem+0x61/0xa0
[ 0.291686] Code: 03 50 14 39 d1 76 32 8b 00 3d 98 d2 fa c1 75 e9 b8 40 d2 fa c1 e8 9f 3c 00 00 53 68 44 71 b5 c1 68 e4 fe d6 c1 e8 5d cc 90 ff <0f> 0b 83 c4 0c 8d 65 f8 5b 5e 5d c3 8d 76 00 85 c0 74 d3 e8 97 bc
[ 0.292763] EAX: 0000002f EBX: c207b6dc ECX: 00000000 EDX: 00000000
[ 0.293128] ESI: 00000074 EDI: 00000000 EBP: c1dfdf20 ESP: c1dfdf0c
[ 0.293493] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068 EFLAGS: 00210292
[ 0.293889] CR0: 80050033 CR2: ffde6000 CR3: 020b1000 CR4: 00040690
[ 0.294262] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 0.294632] DR6: fffe0ff0 DR7: 00000400
[ 0.294859] Call Trace:
[ 0.295010] acpi_os_unmap_memory+0x8/0x10
[ 0.295261] acpi_tb_release_table+0xf/0x12
[ 0.295515] acpi_tb_verify_temp_table+0x13f/0x1bf
[ 0.295800] acpi_reallocate_root_table+0xb8/0xcf
[ 0.296077] acpi_early_init+0x47/0xd1
[ 0.296300] start_kernel+0x349/0x3da
[ 0.296520] i386_start_kernel+0x42/0x44
[ 0.296753] startup_32_smp+0x164/0x168
[ 0.296984] irq event stamp: 2765
[ 0.297184] hardirqs last enabled at (2773): [<c109de65>] console_unlock+0x435/0x570
[ 0.297639] hardirqs last disabled at (2780): [<c109da74>] console_unlock+0x44/0x570
[ 0.298091] softirqs last enabled at (2324): [<c1279e62>] irq_read_recursion_soft_321+0x32/0xd0
[ 0.298608] softirqs last disabled at (2322): [<c1279e62>] irq_read_recursion_soft_321+0x32/0xd0
[ 0.299124] ---[ end trace 49b5cf897ec2b91b ]---
To reproduce:
# build kernel
cd linux
cp config-5.8.0-11404-ga34cc34917319a .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
lkp
View attachment "config-5.8.0-11404-ga34cc34917319a" of type "text/plain" (138181 bytes)
View attachment "job-script" of type "text/plain" (4789 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (5596 bytes)
Powered by blists - more mailing lists