Just installed Kernel 4.6-rc1 on the test system.
Depending on your configuration, you may encounter a compilation error:
CC drivers/thermal/mtk_thermal.o drivers/thermal/mtk_thermal.c: In function ‘mtk_thermal_probe’: drivers/thermal/mtk_thermal.c:560:8: error: implicit declaration of function ‘device_reset’ [-Werror=implicit-function-declaration] ret = device_reset(&pdev->dev); ^ cc1: some warnings being treated as errors ..................................
This is due to a Mediatek thermal driver being ‘selected’ by default (and in error?), and the simple fix is to deselect it! After that, the kernel should compile OK..
VMware 12.1.0 compiles and loads/runs OK.
NVIDIA 361.28 compile fails:
/home/rgadsdon/NVIDIA-Linux-x86_64-361.28/kernel/nvidia-uvm/uvm_lite.c: In function ‘_fault_common’: /home/rgadsdon/NVIDIA-Linux-x86_64-361.28/kernel/nvidia-uvm/uvm_lite.c:1286:20: error: ‘VM_FAULT_MINOR’ undeclared (first use in this function) retValue = VM_FAULT_MINOR; ^ /home/rgadsdon/NVIDIA-Linux-x86_64-361.28/kernel/nvidia-uvm/uvm_lite.c:1286:20: note: each undeclared identifier is reported only once for each function it appears in /usr/src/linux-4.6-rc1/scripts/Makefile.build:291: recipe for target '/home/rgadsdon/NVIDIA-Linux-x86_64-361.28/kernel/nvidia-uvm/uvm_lite.o' failed make: *** [/home/rgadsdon/NVIDIA-Linux-x86_64-361.28/kernel/nvidia-uvm/uvm_lite.o] Error 1 /usr/src/linux-4.6-rc1/Makefile:1427: recipe for target '_module_/home/rgadsdon/NVIDIA-Linux-x86_64-361.28/kernel' failed
364.12 (beta) compile has a similar error..
There is a quick-and-dirty patch for this, and a second patch for a subsequent compile error with 364.12, here:
I have applied both patches to 364.12, and it compiles OK against 4.6-rc1..
The first patch is all that is necessary for 361.28, and it then compiles OK..
Robert Gadsdon. March 26, 2016.