{"push_id":1022721114,"size":4,"distinct_size":4,"ref":"refs/heads/next-test","head":"6e669f085d595cb6053920832c89f1a13067db44","before":"a1b5344620a3e6291afaf7542714ba9c391ef1c7","commits":[{"sha":"7a25d91214cb22e642b9ed6e4434bfaf74adad28","author":{"email":"6e153e0b007d41886131fe1b3c497d3f384be07d@buserror.net","name":"Scott Wood"},"message":"powerpc/book3e-64: Use hardcoded mttmr opcode\n\nThis preserves the ability to build using older binutils (reportedly <=\n2.22).\n\nFixes: 6becef7ea04a (\"powerpc/mpc85xx: Add CPU hotplug support for E6500\")\nSigned-off-by: Scott Wood <oss@buserror.net>\nCc: chenhui.zhao@freescale.com\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/7a25d91214cb22e642b9ed6e4434bfaf74adad28"},{"sha":"b081251ef6d6d7cf06448deeb3d9860b636358f5","author":{"email":"864f124608374e06e4da1fa5d2e47ed839b95411@ellerman.id.au","name":"Michael Ellerman"},"message":"powerpc/rcpm: Fix build break when SMP=n\n\nAdd an include of asm/smp.h to fix a build break when SMP=n:\n\n  arch/powerpc/sysdev/fsl_rcpm.c:32:2: error: implicit declaration of\n  function 'get_hard_smp_processor_id'\n\nFixes: d17799f9c10e (\"powerpc/rcpm: add RCPM driver\")\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/b081251ef6d6d7cf06448deeb3d9860b636358f5"},{"sha":"2e098dcee6208a690f73e11feb29d181cae7d978","author":{"email":"4e2d3d12816ace76f1cfa36c1816509bd24cf089@c-s.fr","name":"Christophe Leroy"},"message":"powerpc/8xx: Fix do_mtspr_cpu6() build on older compilers\n\nGCC < 4.9 is unable to build this, saying:\n\n  arch/powerpc/mm/8xx_mmu.c:139:2: error: memory input 1 is not directly addressable\n\nChange the one-element array into a simple variable to avoid this.\n\nFixes: 1458dd951f7c (\"powerpc/8xx: Handle CPU6 ERRATA directly in mtspr() macro\")\nSigned-off-by: Christophe Leroy <christophe.leroy@c-s.fr>\nCc: Scott Wood <oss@buserror.net>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/2e098dcee6208a690f73e11feb29d181cae7d978"},{"sha":"6e669f085d595cb6053920832c89f1a13067db44","author":{"email":"99dea9acac81454e66986aa60f5d078ee8370e4c@gmail.com","name":"Cyril Bur"},"message":"powerpc: Fix unrecoverable SLB miss during restore_math()\n\nCommit 70fe3d9 \"powerpc: Restore FPU/VEC/VSX if previously used\" introduces a\ncall to restore_math() late in the syscall return path, after MSR_RI has been\ncleared. The MSR_RI flag is used to indicate whether the kernel can take\nanother exception or not. A cleared MSR_RI flag indicates that the kernel\ncannot.\n\nUnfortunately when a machine is under SLB pressure an SLB miss can occur\nin restore_math() which (with MSR_RI cleared) leads to an unrecoverable\nexception.\n\n  Unrecoverable exception 4100 at c0000000000088d8\n  cpu 0x0: Vector: 4100  at [c0000003fa473b20]\n      pc: c0000000000088d8: .load_vr_state+0x70/0x110\n      lr: c00000000000f710: .restore_math+0x130/0x188\n      sp: c0000003fa473da0\n     msr: 9000000002003030\n    current = 0xc0000007f876f180\n    paca    = 0xc00000000fff0000\t softe: 0\t irq_happened: 0x01\n      pid   = 1944, comm = K08umountfs\n  [link register   ] c00000000000f710 .restore_math+0x130/0x188\n  [c0000003fa473da0] c0000003fa473e30 (unreliable)\n  [c0000003fa473e30] c000000000007b6c system_call+0x84/0xfc\n\nThe clearing of MSR_RI is actually an optimisation to avoid multiple MSR\nwrites, what must be disabled are interrupts. See comment in entry_64.S:\n\n  /*\n   * For performance reasons we clear RI the same time that we\n   * clear EE. We only need to clear RI just before we restore r13\n   * below, but batching it with EE saves us one expensive mtmsrd call.\n   * We have to be careful to restore RI if we branch anywhere from\n   * here (eg syscall_exit_work).\n   */\n\nAt the point of calling restore_math() r13 has not been restored, as such, the\nquick fix of turning MSR_RI back on for the call to restore_math() will\neliminate the occurrence of an unrecoverable exception.\n\nWe'd like to do a better fix in future.\n\nFixes: 70fe3d980f5f (\"powerpc: Restore FPU/VEC/VSX if previously used\")\nSigned-off-by: Cyril Bur <cyrilbur@gmail.com>\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>","distinct":true,"url":"https://api.github.com/repos/linuxppc/linux/commits/6e669f085d595cb6053920832c89f1a13067db44"}]}