Bug 1012477

Summary: no support for power button events on AXP209 PMIC used with Allwinner SoCs
Product: [openSUSE] openSUSE Distribution Reporter: Michal Suchanek <msuchanek>
Component: KernelAssignee: Michal Suchanek <msuchanek>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: tiwai
Version: Leap 42.2   
Target Milestone: ---   
Hardware: armv7   
OS: Other   
See Also: http://bugzilla.opensuse.org/show_bug.cgi?id=1012325
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michal Suchanek 2016-11-28 21:06:33 UTC
# CONFIG_INPUT_AXP20X_PEK is not set
Comment 1 Takashi Iwai 2016-11-29 07:29:07 UTC
It depends on CONFIG_MFD_AXP20X, too.

Is the corresponding DT part also available for your device at all?
Comment 2 Michal Suchanek 2016-11-29 11:39:07 UTC
As I understand KConfig if CONFIG_MFD_AXP20X were not set there would be no CONFIG_INPUT_AXP20X_PEK line in the config. 

Also the poweroff command would not power off the board because it's the AXP20X that drives the CPU regulators and turns off the power on shutdown.

The DT part should be there because in general the DT bindings for the hardware are merged together with the driver.

Should it not be the case it's another board-specific problem.
Comment 3 Takashi Iwai 2016-11-29 11:42:07 UTC
It was just a question :)  Feel free to enable the kconfigs as long as they don't break kABI, and just send the pull request if it works.
Comment 4 Swamp Workflow Management 2016-12-08 12:17:28 UTC
openSUSE-SU-2016:3050-1: An update that solves 12 vulnerabilities and has 75 fixes is now available.

Category: security (important)
Bug References: 1000118,1000433,1001171,1001310,1001486,1001888,1003813,1004052,1004365,1004517,1005169,1005666,1005745,1005917,1005921,1005925,1005929,1006175,1006576,1006809,1006827,1006915,1006918,1007197,1007615,1007653,1007955,1008831,1008979,1009062,1009454,1010040,1010158,1010444,1010478,1010507,1010665,1010690,1010970,1011176,1011685,1011913,1012060,1012094,1012452,1012477,1012754,1012767,1012829,1012992,1013479,1013533,1013700,799133,843661,914939,954986,963609,963655,963904,964462,966186,966191,966316,966318,966325,969476,969477,971975,972993,974313,978907,979681,983087,983318,985850,986255,987805,990384,991414,992555,993739,994881,995278,997059,997807,998054
CVE References: CVE-2015-1350,CVE-2015-8964,CVE-2016-7042,CVE-2016-7913,CVE-2016-7917,CVE-2016-8632,CVE-2016-8655,CVE-2016-8666,CVE-2016-9083,CVE-2016-9084,CVE-2016-9555,CVE-2016-9794
Sources used:
openSUSE Leap 42.2 (src):    kernel-debug-4.4.36-5.1, kernel-default-4.4.36-5.1, kernel-docs-4.4.36-5.3, kernel-obs-build-4.4.36-5.1, kernel-obs-qa-4.4.36-5.1, kernel-source-4.4.36-5.1, kernel-syms-4.4.36-5.1, kernel-vanilla-4.4.36-5.1
Comment 5 Michal Suchanek 2016-12-10 18:53:11 UTC
.