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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 23 Jul 2015 08:27:00 -0600
From:	Toshi Kani <toshi.kani@...com>
To:	Jan Beulich <JBeulich@...e.com>
Cc:	peterz@...radead.org, mingo@...nel.org, x86@...nel.org,
	tglx@...utronix.de, bp@...e.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86, pat: Add comments to cachemode translation tables

On Thu, 2015-07-23 at 00:42 -0600, Jan Beulich wrote:
> > 
> > > > On 22.07.15 at 20:06, <toshi.kani@...com> wrote:
> > Add comments to the cachemode translation tables to clarify that
> > the default values are set as minimal supported mode, which are
> > necessary to handle WC and WT fallback to UC- when they are not
> > enabled.
> 
> Wait - shouldn't WT fall back to UC (so to not be affected by WC
> MTRR settings)?

Well, when MTRR is set to WC, WT will become UC.  So, it is not safe to
start with.

I know Luis is driving to support UC.  When UC can be used for both regular
memory and IO memory, yes, it can be changed to fall back to UC.  At this
point, however, UC cannot be set to regular memory.  See
reserve_ram_pages_type().

Thanks,
-Toshi 
--
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