android_kernel_xiaomi_sm7250/arch/i386
Aleksey Gorelov 4031ff3881 [PATCH] fix broken vm86 interrupt/signal handling
Commit c3ff8ec31c ("[PATCH] i386: Don't
miss pending signals returning to user mode after signal processing")
meant that vm86 interrupt/signal handling got broken for the case when
vm86 is called from kernel space.

In this scenario, if signal is pending because of vm86 interrupt,
do_notify_resume/do_signal exits immediately due to user_mode() check,
without processing any signals.  Thus, resume_userspace handler is spinning
in a tight loop with signal pending and TIF_SIGPENDING is set.  Previously
everything worked Ok.

No in-tree usage of vm86() from kernel space exists, but I've heard
about a number of projects out there which use vm86 calls from kernel,
one of them being this, for instance:

	http://dev.gentoo.org/~spock/projects/vesafb-tng/

The following patch fixes the issue.

Signed-off-by: Aleksey Gorelov <aleksey_gorelov@phoenix.com>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-27 17:32:38 -07:00
..
boot Merge branch 'x86-64' 2006-06-26 10:51:09 -07:00
crypto [CRYPTO] aes: Add wrappers for assembly routines 2006-06-26 17:34:42 +10:00
kernel [PATCH] fix broken vm86 interrupt/signal handling 2006-06-27 17:32:38 -07:00
lib [PATCH] Time: i386 Conversion - part 3: Enable Generic Timekeeping 2006-06-26 09:58:21 -07:00
mach-default
mach-es7000
mach-generic
mach-visws
mach-voyager
math-emu
mm [PATCH] pgdat allocation for new node add (specify node id) 2006-06-27 17:32:35 -07:00
oprofile Merge branch 'x86-64' 2006-06-26 10:51:09 -07:00
pci [PATCH] arch: use list_move() 2006-06-26 09:58:17 -07:00
power
defconfig
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-06-26 13:33:14 -07:00
Kconfig.cpu i386: Trivial typo fixes 2006-06-26 18:47:15 +02:00
Kconfig.debug
Makefile
Makefile.cpu