TO: Jiang Liu <[email protected]> tree: https://github.com/jiangliu/linux.git irqdomain/x86_p1v1 head: 90570a43f68f85d3a4245aadbb226112faec3ad8 commit: 688af65fc73d7efd606f9abf0122d92e2edeb179 [24/62] :::::: branch date: 16 hours ago :::::: commit date: 4 days ago
arch/x86/kernel/apic/apic.c:1487 disable_x2apic() warn: mask and shift to zero arch/x86/kernel/apic/apic.c:1488 disable_x2apic() warn: mask and shift to zero git remote add jiangliu https://github.com/jiangliu/linux.git git remote update jiangliu git checkout 688af65fc73d7efd606f9abf0122d92e2edeb179 vim +1487 arch/x86/kernel/apic/apic.c dc91d5e9 Thomas Gleixner 2015-01-15 1481 u64 msr; dc91d5e9 Thomas Gleixner 2015-01-15 1482 dc91d5e9 Thomas Gleixner 2015-01-15 1483 rdmsrl(MSR_IA32_APICBASE, msr); dc91d5e9 Thomas Gleixner 2015-01-15 1484 if (!(msr & X2APIC_ENABLE)) dc91d5e9 Thomas Gleixner 2015-01-15 1485 return; dc91d5e9 Thomas Gleixner 2015-01-15 1486 /* Disable xapic and x2apic first and then reenable xapic mode */ dc91d5e9 Thomas Gleixner 2015-01-15 @1487 wrmsrl(MSR_IA32_APICBASE, msr & ~(X2APIC_ENABLE | XAPIC_ENABLE)); dc91d5e9 Thomas Gleixner 2015-01-15 @1488 wrmsrl(MSR_IA32_APICBASE, msr & ~X2APIC_ENABLE); dc91d5e9 Thomas Gleixner 2015-01-15 1489 printk_once(KERN_INFO "x2apic disabled\n"); dc91d5e9 Thomas Gleixner 2015-01-15 1490 } dc91d5e9 Thomas Gleixner 2015-01-15 1491 :::::: The code at line 1487 was first introduced by commit :::::: dc91d5e9349fa240de04b86e0a329858c101b892 x86/x2apic: Disable x2apic from nox2apic setup :::::: TO: Thomas Gleixner <[email protected]> :::::: CC: Jiang Liu <[email protected]> --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation _______________________________________________ kbuild mailing list [email protected] https://lists.01.org/mailman/listinfo/kbuild
