Searched hist:a7159a87a3836f61a97882e671d2d66bbb96c62e (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/arch/sparc/kernel/ |
H A D | etrap_64.S | diff a7159a87a3836f61a97882e671d2d66bbb96c62e Fri Aug 18 14:40:36 CDT 2017 Anthony Yznaga <anthony.yznaga@oracle.com> sparc64: speed up etrap/rtrap on NG2 and later processors
For many sun4v processor types, reading or writing a privileged register has a latency of 40 to 70 cycles. Use a combination of the low-latency allclean, otherw, normalw, and nop instructions in etrap and rtrap to replace 2 rdpr and 5 wrpr instructions and improve etrap/rtrap performance. allclean, otherw, and normalw are available on NG2 and later processors.
The average ticks to execute the flush windows trap ("ta 0x3") with and without this patch on select platforms:
CPU Not patched Patched % Latency Reduction
NG2 1762 1558 -11.58 NG4 3619 3204 -11.47 M7 3015 2624 -12.97 SPARC64-X 829 770 -7.12
Signed-off-by: Anthony Yznaga <anthony.yznaga@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | rtrap_64.S | diff a7159a87a3836f61a97882e671d2d66bbb96c62e Fri Aug 18 14:40:36 CDT 2017 Anthony Yznaga <anthony.yznaga@oracle.com> sparc64: speed up etrap/rtrap on NG2 and later processors
For many sun4v processor types, reading or writing a privileged register has a latency of 40 to 70 cycles. Use a combination of the low-latency allclean, otherw, normalw, and nop instructions in etrap and rtrap to replace 2 rdpr and 5 wrpr instructions and improve etrap/rtrap performance. allclean, otherw, and normalw are available on NG2 and later processors.
The average ticks to execute the flush windows trap ("ta 0x3") with and without this patch on select platforms:
CPU Not patched Patched % Latency Reduction
NG2 1762 1558 -11.58 NG4 3619 3204 -11.47 M7 3015 2624 -12.97 SPARC64-X 829 770 -7.12
Signed-off-by: Anthony Yznaga <anthony.yznaga@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | vmlinux.lds.S | diff a7159a87a3836f61a97882e671d2d66bbb96c62e Fri Aug 18 14:40:36 CDT 2017 Anthony Yznaga <anthony.yznaga@oracle.com> sparc64: speed up etrap/rtrap on NG2 and later processors
For many sun4v processor types, reading or writing a privileged register has a latency of 40 to 70 cycles. Use a combination of the low-latency allclean, otherw, normalw, and nop instructions in etrap and rtrap to replace 2 rdpr and 5 wrpr instructions and improve etrap/rtrap performance. allclean, otherw, and normalw are available on NG2 and later processors.
The average ticks to execute the flush windows trap ("ta 0x3") with and without this patch on select platforms:
CPU Not patched Patched % Latency Reduction
NG2 1762 1558 -11.58 NG4 3619 3204 -11.47 M7 3015 2624 -12.97 SPARC64-X 829 770 -7.12
Signed-off-by: Anthony Yznaga <anthony.yznaga@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | setup_64.c | diff a7159a87a3836f61a97882e671d2d66bbb96c62e Fri Aug 18 14:40:36 CDT 2017 Anthony Yznaga <anthony.yznaga@oracle.com> sparc64: speed up etrap/rtrap on NG2 and later processors
For many sun4v processor types, reading or writing a privileged register has a latency of 40 to 70 cycles. Use a combination of the low-latency allclean, otherw, normalw, and nop instructions in etrap and rtrap to replace 2 rdpr and 5 wrpr instructions and improve etrap/rtrap performance. allclean, otherw, and normalw are available on NG2 and later processors.
The average ticks to execute the flush windows trap ("ta 0x3") with and without this patch on select platforms:
CPU Not patched Patched % Latency Reduction
NG2 1762 1558 -11.58 NG4 3619 3204 -11.47 M7 3015 2624 -12.97 SPARC64-X 829 770 -7.12
Signed-off-by: Anthony Yznaga <anthony.yznaga@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | trap_block.h | diff a7159a87a3836f61a97882e671d2d66bbb96c62e Fri Aug 18 14:40:36 CDT 2017 Anthony Yznaga <anthony.yznaga@oracle.com> sparc64: speed up etrap/rtrap on NG2 and later processors
For many sun4v processor types, reading or writing a privileged register has a latency of 40 to 70 cycles. Use a combination of the low-latency allclean, otherw, normalw, and nop instructions in etrap and rtrap to replace 2 rdpr and 5 wrpr instructions and improve etrap/rtrap performance. allclean, otherw, and normalw are available on NG2 and later processors.
The average ticks to execute the flush windows trap ("ta 0x3") with and without this patch on select platforms:
CPU Not patched Patched % Latency Reduction
NG2 1762 1558 -11.58 NG4 3619 3204 -11.47 M7 3015 2624 -12.97 SPARC64-X 829 770 -7.12
Signed-off-by: Anthony Yznaga <anthony.yznaga@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|