Bug 211993

Summary: Atomisp module makes the kernel appear to be a debug version
Product: Drivers Reporter: Maurizio Ferreira (ferreiramaurizio)
Component: StagingAssignee: drivers_staging (drivers_staging)
Status: NEW ---    
Severity: normal CC: antoniovazquezblanco, feidegg, wangzhihao9
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 5.11.1-arch1-1 Subsystem:
Regression: No Bisected commit-id:
Attachments: output of dmesg command

Description Maurizio Ferreira 2021-02-28 08:59:25 UTC
Created attachment 295527 [details]
output of dmesg command

The module makes the kernel appear to be a debug version, (while it is not)
since it emits the following message :

>[    6.149299] **********************************************************
>[    6.149302] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
>[    6.149304] **                                                      **
>[    6.149306] ** trace_printk() being used. Allocating extra memory.  **
>[    6.149307] **                                                      **
>[    6.149309] ** This means that this is a DEBUG kernel and it is     **
>[    6.149310] ** unsafe for production use.                           **
>[    6.149311] **                                                      **
>[    6.149313] ** If you see this message and you are not debugging    **
>[    6.149314] ** the kernel, report this immediately to your vendor!  **
>[    6.149316] **                                                      **
>[    6.149317] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
>[    6.149319] **********************************************************>

Moreover it does not honor the module parameter dbg_func since setting it to 0
has no effect.

Behaviour encountered on ArchLinux, kernel version 5.11.1-arch1-1, running on Asus T100Ha
Comment 1 Zhihao Wang 2021-05-29 10:55:39 UTC
I have the same problem, kernel 5.10.x debian official kernel source, running on Hp Elitepad 1000 g2.
Comment 2 Zhihao Wang 2021-05-29 15:46:30 UTC
Recently I tried the Ubuntu kernel and didn't find this problem. Maybe it is not a bug?
Comment 3 Zhihao Wang 2021-06-11 13:25:53 UTC
I found something new.
If I switch the ACPI version to the lower, this message appeared.
Comment 4 Q. Chen 2022-03-26 01:21:12 UTC
Same issue in the dmesg.

My laptop is vbook v1 with atom x5 z8300 soc.

running 5.16.16-arch1-1 kernel.

web research tells this warning message in dmesg is because "atomisp" module.

but if add "modprobe.blacklist=atomisp,atomisp_ov2680,atomisp_gmin_platform" in grub kernel command line, it will effect the s0ix sleep state. blacklist these modules will cause cpu cannot get into s0ix sleep mode.