Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1654261
| From | Andy Lutomirski <luto@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: espfix and 5-level paging |
| Date | 2017-05-31 16:00 +0200 |
| Message-ID | <tNcki-5yl-23@gated-at.bofh.it> (permalink) |
| References | <tNcki-5yl-25@gated-at.bofh.it> <tNcki-5yl-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, May 27, 2017 at 2:30 PM, Yuhong Bao <YuhongBao_386@hotmail.com> wrote: > I don't like espfix of course, and would probably manually fix it to N in the kernel config unless I really had to run buggy DPMI apps. > Win8 decided to just disable NTVDM by default instead. > ________________________________________ > From: Yuhong Bao > Sent: Saturday, May 13, 2017 2:39:59 AM > To: kirill.shutemov@linux.intel.com; linux-kernel@vger.kernel.org > Subject: espfix and 5-level paging > > Instead of porting espfix to 5-level paging, why not fix the IRET instruction? > It probably should not require even a CR4 flag to enable. I have no context here. It would be great if Intel and/or AMD were to fix IRET. Meanwhile, we can work around it in the kernel, which we do if MODIFY_LDT is on and configured to allow 16-bit segments. If you don't want 16-bit segments, you can turn them off. (This has nothing to do with buggy DPMI apps. It affects pretty much all 16-bit code.)
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: espfix and 5-level paging Andy Lutomirski <luto@kernel.org> - 2017-05-31 16:00 +0200
csiph-web