Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Status about csum_partial optimization patches.
@ 2014-07-31  2:55 cee1
  2014-08-15  8:56 ` [v2] mips: use wsbh/dsbh/dshd on Loongson 3A chenj
  2014-08-26  1:41 ` Status about csum_partial optimization patches cee1
  0 siblings, 2 replies; 5+ messages in thread
From: cee1 @ 2014-07-31  2:55 UTC (permalink / raw)
  To: Linux MIPS Mailing List
  Cc: Ralf Baechle, Paul Burton, huacai chen, James Hogan,
	markos.chandras

Hi all,

The csum_partial optimization patches have resided at patch-work for
quite a while:
1. http://patchwork.linux-mips.org/patch/6988/
2. http://patchwork.linux-mips.org/patch/7176/

Any comments about patch 1, can it be merged?

For patch 2, which is actually Loongson3 related and is modified from
ralf's patch: http://www.linux-mips.org/archives/linux-mips/2014-06/msg00023.html.
In patch 2, there are still two switches for Loongson 3A:
1. #define cpu_has_wsbh IS_ENABLED(CONFIG_CPU_LOONGSON3) in
cpu-feature-overrides.h
2. #if defined(_MIPS_ARCH_LOONGSON3A) in swab.h

It replaces the "#if defined(_MIPS_ARCH_LOONGSON3A)" with "#if
cpu_has_wsbh" in csum_partial.S, compared with ralf's original patch.
My question is using cpu_has_wsbh in macro is not suitable, hence it
is preferred to revert to the ralf's original patch?



-- 
Regards,

- cee1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-26  1:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-31  2:55 Status about csum_partial optimization patches cee1
2014-08-15  8:56 ` [v2] mips: use wsbh/dsbh/dshd on Loongson 3A chenj
2014-08-19 23:21   ` David Daney
2014-08-20  3:11     ` Chen Jie
2014-08-26  1:41 ` Status about csum_partial optimization patches cee1

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox