Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2002 07:56:24 -0700 (PDT)
From:      David Xu <bsddiy@yahoo.com>
To:        Bruce Evans <bde@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/i386/isa ipl.s
Message-ID:  <20020505145624.75619.qmail@web20910.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
--0-628401884-1020610584=:70631
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

while this commit fixes problem in UP system, in SMP system there is
still a scenario that one cpu running VM86 client gets fault and other
cpu in kernel mode calling bios service gets fault too, the system can
not correctly handle the scenario in trap.c, a solution is putting
in_vm86call into per-cpu area as you previous stated.
I have a patch attached, it's for CURRERNT branch.

David Xu

----- Original Message ----- 
From: "Bruce Evans" <bde@FreeBSD.ORG>
To: <cvs-committers@FreeBSD.ORG>; <cvs-all@FreeBSD.ORG>
Sent: Sunday, May 05, 2002 11:19 AM
Subject: cvs commit: src/sys/i386/isa ipl.s


> bde         2002/05/04 20:19:48 PDT
> 
>   Modified files:
>     sys/i386/isa         ipl.s 
>   Log:
>   Fixed checking for VM86 mode in doreti which I broke in rev.1.30.  Only
>   the case of VM86 calls from the kernel was broken, so this bug was not
>   a security hole.
>   
>   PR:             36710
>   Submitted by:   David Xu <davidx@viasoft.com.cn> (version for RELENG_4)
>   MFC after:      3 days
>   
>   Revision  Changes    Path
>   1.54      +12 -6     src/sys/i386/isa/ipl.s


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
--0-628401884-1020610584=:70631
Content-Type: application/x-gzip-compressed; name="in_vm86call.diff.tgz"
Content-Transfer-Encoding: base64
Content-Description: in_vm86call.diff.tgz
Content-Disposition: attachment; filename="in_vm86call.diff.tgz"

H4sIAC881TwAA+1YbW+bSBDOV/IrprpLz47fAAN2HKWKlbiudSS1YqfqSSch
DIuDQgCxi5voev/9Zhfs4Njn9EOTXk88srz2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JEpKgmV9sLf39/PkzDH07XDOb76jloi1zi+9rZfPuiZu3a/B2J7N7xhfO
WrTyivAqKfyOIy41Zj4W3hlxbJyYW74aGSeRQyiNEnAjQsPf2M9VPfku/GD9
D23deNT/Bn//xwJQvv+/Cnbr//zp2FYCOr1251v0fzbFJlvTC2//ms5TBW8M
kSr+Lr4bW78Pri4H5n6D3KMEDrnshUL84tDsAogrvDu2XTcRU+TvzuwGI9n9
Pm/M/y/w7Zr5EW3SH3b+p7RVZRX/Bs8Fiiprehn/r4Ed+q/waGw7/zvqyeqz
GvBxjif0Nn4KOlDT6kcoe1YnAE3XZja2fXM0vLTO+9M+RnNDas6DaBZIheiv
ZwHvzLDy51eXHUgoDOxJUjOIwrkk7y8pxS6+JsM8kuUj9UjkI7W7lC744ZOI
uS0UVrH4x6WK54c+vUHhxdJc6jWku2gRSL8q9cLyUqbOWHZW4UWZNkRZgpTa
isD1SaVwlFjdweImC8Ui5ApLMQEufBtVSEKYn7mhd4UbemfpRhzFgXRA7Hv8
Ldbkv+sHTtIW9vkhBkMQQBS4ENtzFDriUGDNK3nDq0RoJW5Yfg6zckje7tAm
AZb2iPH5kW+1fkBm92IJlLHJA5oH2J3JRDF6cnbFz4flygFx7/lwdOxHB1SJ
EiVKlChRokSJEiVKlCjxH8Q/Zp7lpQAoAAA=

--0-628401884-1020610584=:70631--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020505145624.75619.qmail>