Re: [PATCH] x86/kconfig/32: Make CONFIG_VM86 default to n and remove EXPERT

2015-07-09 Thread Yuhong Bao
Andy Lutomirski kernel.org> writes: > > VM86 is entirely broken if ptrace, syscall auditing, or NOHZ_FULL is > in use. The code is a big undocumented mess, it's a real PITA to > test, and it looks like a big chunk of vm86_32.c is dead code. It > also plays awful games with the entry asm.

Re: [PATCH] x86/kconfig/32: Make CONFIG_VM86 default to n and remove EXPERT

2015-07-09 Thread Yuhong Bao
Andy Lutomirski luto at kernel.org writes: VM86 is entirely broken if ptrace, syscall auditing, or NOHZ_FULL is in use. The code is a big undocumented mess, it's a real PITA to test, and it looks like a big chunk of vm86_32.c is dead code. It also plays awful games with the entry asm.

RE: [PATCH 0/3] Early use of boot service memory

2014-08-01 Thread Yuhong Bao
>> I think i can go to a date based black list, that removes the manual >> step. System running firmware before certain date assumes we need >> to do the work around. If firmware is newer than that date, we don't >> use the workaround. Blacklist overrides and allows current behavior >> for new

RE: [PATCH 0/3] Early use of boot service memory

2014-08-01 Thread Yuhong Bao
I think i can go to a date based black list, that removes the manual step. System running firmware before certain date assumes we need to do the work around. If firmware is newer than that date, we don't use the workaround. Blacklist overrides and allows current behavior for new firmware that

RE: [BUG] x86: reboot doesn't reboot

2014-04-28 Thread Yuhong Bao
> I'll contact > the people I know in Dell and see if I can find anyone from the firmware > division who'll actually talk to us. What about now? As a side note, OT, but: http://arstechnica.com/gadgets/2014/04/fast-but-compromised-gigabytes-amd-powered-mini-gaming-pc-reviewed/?comments=1 (notice

RE: [BUG] x86: reboot doesn't reboot

2014-04-28 Thread Yuhong Bao
I'll contact the people I know in Dell and see if I can find anyone from the firmware division who'll actually talk to us. What about now? As a side note, OT, but: http://arstechnica.com/gadgets/2014/04/fast-but-compromised-gigabytes-amd-powered-mini-gaming-pc-reviewed/?comments=1 (notice

Linux, UEFI, and Chromebooks (was RE: [PATCH 0/4] EFI 1:1 mapping)

2014-02-09 Thread Yuhong Bao
frustrating here is that Google decided that x86 Chromebooks should use different firmware, otherwise it would be easier to convince vendor to fix these firmware bugs. Yuhong Bao-- To unsubscribe from this list: send the line "unsubscribe linux-kern

Linux, UEFI, and Chromebooks (was RE: [PATCH 0/4] EFI 1:1 mapping)

2014-02-09 Thread Yuhong Bao
, otherwise it would be easier to convince vendor to fix these firmware bugs. Yuhong Bao-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

On EOMA-68 patent licensing...

2013-11-23 Thread Yuhong Bao
er what would happen if something similar was tried with EFI or ACPI? Yuhong Bao-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.

On EOMA-68 patent licensing...

2013-11-23 Thread Yuhong Bao
if something similar was tried with EFI or ACPI? Yuhong Bao-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

On WfW 3.11 (was RE: Linux 3.11-rc5)

2013-08-12 Thread Yuhong Bao
orruption in multitasking OSes. Let's just say that if OS/2 2.x actually replaced DOS/Windows instead of turning into an entire fiasco, these hardware would not likely have shipped with the problems. Yuhong Bao-- To unsubscribe from this list: send the line &qu

On WfW 3.11 (was RE: Linux 3.11-rc5)

2013-08-12 Thread Yuhong Bao
in multitasking OSes. Let's just say that if OS/2 2.x actually replaced DOS/Windows instead of turning into an entire fiasco, these hardware would not likely have shipped with the problems. Yuhong Bao-- To unsubscribe from this list: send the line unsubscribe

RE: IO regression after ab8fabd46f on x86 kernels with high memory

2013-06-02 Thread Yuhong Bao
EFI runtime services. In retrospect, I would have stuck with 32-bit EFI with 64-bit kernels calling runtime services in compatibility mode, but of course it is too late for that now. Yuhong Bao-- To unsubscribe from this list: send the line "unsubsc

RE: IO regression after ab8fabd46f on x86 kernels with high memory

2013-06-02 Thread Yuhong Bao
services. In retrospect, I would have stuck with 32-bit EFI with 64-bit kernels calling runtime services in compatibility mode, but of course it is too late for that now. Yuhong Bao-- To unsubscribe from this list: send the line unsubscribe linux-kernel

RE: [PATCH] mm,x86: limit 32 bit kernel to 12GB memory

2013-05-11 Thread Yuhong Bao
have various > random problems. So it's not just "system stability", it's more fluid > than that. FYI 32-bit Windows already limits to 16GB when 3G/1G split is used for a similar reason. (They default to 2G/2G split.) Yuhong Bao-- To uns

RE: [PATCH] mm,x86: limit 32 bit kernel to 12GB memory

2013-05-11 Thread Yuhong Bao
problems. So it's not just system stability, it's more fluid than that. FYI 32-bit Windows already limits to 16GB when 3G/1G split is used for a similar reason. (They default to 2G/2G split.) Yuhong Bao-- To unsubscribe from this list: send the line unsubscribe

RE: [tip:x86/urgent] x86-64, init: Do not set NX bits on non-NX capable hardware

2013-05-10 Thread Yuhong Bao
mply extends this detection to > the early page table mask. AFAIK the only production x86-64 processor that don't support NX that I know of is the original Nocona D0 stepping. Must more common are the problem of BIOSes disabling the NX feature. Yuhong Bao-- To u

RE: [tip:x86/urgent] x86-64, init: Do not set NX bits on non-NX capable hardware

2013-05-10 Thread Yuhong Bao
this detection to the early page table mask. AFAIK the only production x86-64 processor that don't support NX that I know of is the original Nocona D0 stepping. Must more common are the problem of BIOSes disabling the NX feature. Yuhong Bao-- To unsubscribe from

RE: device tree not the answer in the ARM world [was: Re: running Debian on a Cubieboard]

2013-05-09 Thread Yuhong Bao
egally bound is a myth, but that is off-topic for lkml of course. Yuhong Bao-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majo

RE: device tree not the answer in the ARM world [was: Re: running Debian on a Cubieboard]

2013-05-09 Thread Yuhong Bao
incorporation. so you'd need to show them that > > it would hurt their profits to continue the way that they are going. > I think legally bound is a myth, but that is off-topic for lkml of course. And obviously it doesn't matter if it is actually required by la

RE: device tree not the answer in the ARM world [was: Re: running Debian on a Cubieboard]

2013-05-09 Thread Yuhong Bao
their profits to continue the way that they are going. I think legally bound is a myth, but that is off-topic for lkml of course. And obviously it doesn't matter if it is actually required by law if they practically behave that way. Yuhong Bao

RE: device tree not the answer in the ARM world [was: Re: running Debian on a Cubieboard]

2013-05-09 Thread Yuhong Bao
, but that is off-topic for lkml of course. Yuhong Bao-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

RE: [tip:x86/smap] x86-32: Start out eflags and cr4 clean

2012-11-23 Thread Yuhong Bao
> + * Specifically, cr4 exists if and only if CPUID exists, > + * which in turn exists if and only if EFLAGS.ID exists. This may be true for *Intel* 486 CPUs as VME was implemented at the same time as CPUID, but I am not sure that it is true for AMD 486 CPUs. Yuho

RE: [tip:x86/smap] x86-32: Start out eflags and cr4 clean

2012-11-23 Thread Yuhong Bao
+ * Specifically, cr4 exists if and only if CPUID exists, + * which in turn exists if and only if EFLAGS.ID exists. This may be true for *Intel* 486 CPUs as VME was implemented at the same time as CPUID, but I am not sure that it is true for AMD 486 CPUs. Yuhong Bao

RE: [PATCH] USB: XHCI: xhci-ring: Remove unused dma address calculation in inc_enq and inc_deq function

2012-11-11 Thread Yuhong Bao
> It looks like your mail client attempted to line wrap it. You might > want to use mutt, thunderbird, or maybe even the plain text gmail > interface to resend this. If anyone is using Outlook, see this: https://lkml.org/lkml/2011/1/25/587 Y

RE: [PATCH] USB: XHCI: xhci-ring: Remove unused dma address calculation in inc_enq and inc_deq function

2012-11-11 Thread Yuhong Bao
It looks like your mail client attempted to line wrap it. You might want to use mutt, thunderbird, or maybe even the plain text gmail interface to resend this. If anyone is using Outlook, see this: https://lkml.org/lkml/2011/1/25/587 Yuhong Bao