On 06/07/2017 at 12:49 AM, Mikulas Patocka wrote:
HiHere I send the second version of the patch. It drops the change from boot_cpu_has(X86_FEATURE_PAT) to this_cpu_has(X86_FEATURE_PAT) (that caused kernel to be unbootable for some people). Another change is that setup_arch() calls init_cache_modes() if PAT is disabled, so that init_cache_modes() is always called. Mikulas
[PATCH v2] Works for me! CHeers, Bernhard