Searched hist:"7 cd01b08" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/powerpc/lib/ |
H A D | error-inject.c | 7cd01b08 Thu Jun 07 04:52:02 CDT 2018 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> powerpc: Add support for function error injection
We implement regs_set_return_value() and override_function_with_return() for this purpose.
On powerpc, a return from a function (blr) just branches to the location contained in the link register. So, we can just update pt_regs rather than redirecting execution to a dummy function that returns.
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 7cd01b08 Thu Jun 07 04:52:02 CDT 2018 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> powerpc: Add support for function error injection We implement regs_set_return_value() and override_function_with_return() for this purpose. On powerpc, a return from a function (blr) just branches to the location contained in the link register. So, we can just update pt_regs rather than redirecting execution to a dummy function that returns. Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
H A D | Makefile | 7cd01b08 Thu Jun 07 04:52:02 CDT 2018 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> powerpc: Add support for function error injection
We implement regs_set_return_value() and override_function_with_return() for this purpose.
On powerpc, a return from a function (blr) just branches to the location contained in the link register. So, we can just update pt_regs rather than redirecting execution to a dummy function that returns.
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 7cd01b08 Thu Jun 07 04:52:02 CDT 2018 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> powerpc: Add support for function error injection We implement regs_set_return_value() and override_function_with_return() for this purpose. On powerpc, a return from a function (blr) just branches to the location contained in the link register. So, we can just update pt_regs rather than redirecting execution to a dummy function that returns. Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | ptrace.h | 7cd01b08 Thu Jun 07 04:52:02 CDT 2018 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> powerpc: Add support for function error injection
We implement regs_set_return_value() and override_function_with_return() for this purpose.
On powerpc, a return from a function (blr) just branches to the location contained in the link register. So, we can just update pt_regs rather than redirecting execution to a dummy function that returns.
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 7cd01b08 Thu Jun 07 04:52:02 CDT 2018 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> powerpc: Add support for function error injection We implement regs_set_return_value() and override_function_with_return() for this purpose. On powerpc, a return from a function (blr) just branches to the location contained in the link register. So, we can just update pt_regs rather than redirecting execution to a dummy function that returns. Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
/openbmc/linux/arch/powerpc/ |
H A D | Kconfig | 7cd01b08 Thu Jun 07 04:52:02 CDT 2018 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> powerpc: Add support for function error injection
We implement regs_set_return_value() and override_function_with_return() for this purpose.
On powerpc, a return from a function (blr) just branches to the location contained in the link register. So, we can just update pt_regs rather than redirecting execution to a dummy function that returns.
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 7cd01b08 Thu Jun 07 04:52:02 CDT 2018 Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> powerpc: Add support for function error injection We implement regs_set_return_value() and override_function_with_return() for this purpose. On powerpc, a return from a function (blr) just branches to the location contained in the link register. So, we can just update pt_regs rather than redirecting execution to a dummy function that returns. Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|