Thread (1 message) 1 message, 1 author, 2014-08-28
DORMANTno replies

[PATCH 5/6] arm64: Port SWP/SWPB emulation support from arm

From: Punit Agrawal <hidden>
Date: 2014-08-28 10:21:02

Arnd Bergmann [off-list ref] writes:
On Wednesday 27 August 2014, Punit Agrawal wrote:
quoted
I'll replace the counters with trace points.

There is still the pr_warn which informs the user about applications
using legacy instructions. Hopefully, this should encourage updating the
software.
pr_warn_ratelimit() please. There is no point printing this all the time
if nobody reads the messages.
Agreed. The patch indeed uses pr_warn_ratelimit().
quoted
quoted
quoted
If we do both, there is no longer a need to have any debugfs file logic,
which is also a plus.
Sounds good to me.
Just a note: instead of being 'swp_emulate.enable=0' this'll be
'v7_obsolete.swp_emulate=0' and correspondingly for the other features.
It would be nice if the module name could be the same for arm32 and arm64,
and I don't know if we want to rename swp_emulate.c to v7_obsolete.c
on arm32.
Catalin was suggesting renaming v7_obsolete.c, so I'll wait to see what
is the outcome there. Calling it swp_emulate.c feels wrong as in the
subsequent patch we add CP15 barrier emulation to it.
Other than that, I have no opinion on the specific name of the module
or the option.

	Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help