Skip to content

Hexagon: various signal and return path cleanups

Richard Kuo linux-arch linux-hexagon lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Hexagon: Signal and return path fixesarch/hexagon/include/uapi/asm/signal.h arch/hexagon/kernel/process.c arch/hexagon/kernel/signal.c +2 more+84 -880 replies
2/6Hexagon: fix up int enable/disable at ret_from_forkarch/hexagon/kernel/vm_entry.S+11 -20 replies
3/6Hexagon: use correct work mask when checking for more workarch/hexagon/kernel/process.c+1 -10 replies
4/6Hexagon: check to if we will overflow the signal stackarch/hexagon/kernel/signal.c+4 -02 replies
5/6Hexagon: break up user fn/arg register settingarch/hexagon/kernel/process.c+2 -10 replies
6/6Hexagon: fix psp/sp macroarch/hexagon/include/uapi/asm/registers.h+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Hexagon: various signal and return path cleanups

The following patches clean up various issues with the signal and return path parts of the Hexagon arch port, which were pointed out by Al Viro:

https://lkml.org/lkml/2012/2/11/128

The work pending check was moved into a C routine to make it more readable and to make sure we repeat the check when necessary. Also, various arguments and return values for signal handling should now be fixed.

The patches can also be viewed in the context of my next batch of cleanups at my repo:

git://git.kernel.org/pub/scm/linux/kernel/git/rkuo/linux-hexagon-kernel.git

Any feedback is appreciated.

Thanks,
Richard Kuo

Richard Kuo (6):
Hexagon: Signal and return path fixes
Hexagon: fix up int enable/disable at ret_from_fork
Hexagon: use correct work mask when checking for more work
Hexagon: check to if we will overflow the signal stack
Hexagon: break up user fn/arg register setting
Hexagon: fix psp/sp macro

 arch/hexagon/include/uapi/asm/registers.h |    3 +-
 arch/hexagon/include/uapi/asm/signal.h    |    2 +
 arch/hexagon/kernel/process.c             |   44 ++++++++++++-
 arch/hexagon/kernel/signal.c              |   33 +++-------
 arch/hexagon/kernel/traps.c               |   13 +---
 arch/hexagon/kernel/vm_entry.S            |   96 +++++++++++++----------------
 6 files changed, 100 insertions(+), 91 deletions(-)
Signature · 8 lines
1.7.9.5


--

Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation