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]
Message-ID: <CAPcyv4jpP28UfNDsVa9pV0FuygpirHHWE2AiVgN0eok0+n+Q_g@mail.gmail.com>
Date:	Wed, 3 Jun 2015 16:58:24 -0700
From:	Dan Williams <dan.j.williams@...el.com>
To:	Arnd Bergmann <arnd@...db.de>, Ingo Molnar <mingo@...hat.com>,
	Borislav Petkov <bp@...en8.de>,
	"H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ross Zwisler <ross.zwisler@...ux.intel.com>,
	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Juergen Gross <jgross@...e.com>, X86 ML <x86@...nel.org>,
	"Kani, Toshimitsu" <toshi.kani@...com>,
	"linux-nvdimm@...ts.01.org" <linux-nvdimm@...ts.01.org>,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	Luis Rodriguez <mcgrof@...e.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Stefan Bader <stefan.bader@...onical.com>,
	Andy Lutomirski <luto@...capital.net>, linux-mm@...ck.org,
	geert@...ux-m68k.org, ralf@...ux-mips.org,
	Henrique de Moraes Holschuh <hmh@....eng.br>,
	mpe@...erman.id.au, Tejun Heo <tj@...nel.org>,
	Paul Mackerras <paulus@...ba.org>,
	Christoph Hellwig <hch@....de>
Subject: Re: [PATCH v3 2/6] cleanup IORESOURCE_CACHEABLE vs ioremap()

On Wed, Jun 3, 2015 at 2:34 PM, Dan Williams <dan.j.williams@...el.com> wrote:
> Quoting Arnd:
>     I was thinking the opposite approach and basically removing all uses
>     of IORESOURCE_CACHEABLE from the kernel. There are only a handful of
>     them.and we can probably replace them all with hardcoded
>     ioremap_cached() calls in the cases they are actually useful.
>
> All existing usages of IORESOURCE_CACHEABLE call ioremap() instead of
> ioremap_nocache() if the resource is cacheable, however ioremap() is
> uncached by default.  Clearly none of the existing usages care about the
> cacheability, so let's clean that up before introducing generic
> ioremap_cache() support across architectures.
>
> Suggested-by: Arnd Bergmann <arnd@...db.de>

Signed-off-by: Dan Williams <dan.j.williams@...el.com>
--
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