lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4FAA7C9A.2060808@linux.intel.com>
Date:	Wed, 09 May 2012 07:18:02 -0700
From:	"H. Peter Anvin" <hpa@...ux.intel.com>
To:	Paolo Bonzini <pbonzini@...hat.com>
CC:	Jarkko Sakkinen <jarkko.sakkinen@...el.com>,
	linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
	Michal Marek <mmarek@...e.cz>, Sam Ravnborg <sam@...nborg.org>,
	Joseph Cihula <joseph.cihula@...el.com>,
	Shane Wang <shane.wang@...el.com>
Subject: Re: [PATCH 04/23] x86, realmode: Move reboot_32.S to unified realmode
 code

On 05/09/2012 07:15 AM, Paolo Bonzini wrote:
> 
> I'm not sure I understand.  The code has
> 
> 	andl	$0x60000000, %edx	; clear ET/PE
> 	jz	2f
> 	...
> 2:
> 	andb	$0x10, %dl		; clear CD/WT, %edx is always 0
> 
> 
> What I've suggested is:
> 
> 	testl	$0x60000000, %edx
> 	jz	2f
> 	...
> 2:
> 	andb	$0x10, %dl		; clear PE only
> 
> 
> What would jump to the BIOS with caches on is:
> 
> 	testl	$0x60000000, %edx
> 	jz	2f
> 	...
> 2:
> 	andl	$0x10, %edx		; Clear CD/WT/PE
> 
> 
> Am I missing something?
> 

Not awake yet, sorry...

	-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ