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: <20151013141055.GC11573@e104818-lin.cambridge.arm.com>
Date:	Tue, 13 Oct 2015 15:10:55 +0100
From:	Catalin Marinas <catalin.marinas@....com>
To:	yalin wang <yalin.wang2010@...il.com>
Cc:	will.deacon@....com, mingo@...nel.org, toshi.kani@...com,
	mark.rutland@....com, michal.simek@...inx.com, treding@...dia.com,
	andre.przywara@....com, linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org
Subject: Re: [RFC] arm64: ioremap: add ioremap_cache macro

On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote:
> Add ioremap_cache macro, because some code will test if this macro
> is defined or not, and will generate a generric version if not defined,
> for example, memremap.c do like this.
> 
> Signed-off-by: yalin wang <yalin.wang2010@...il.com>
> ---
>  arch/arm64/include/asm/io.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h
> index 44be1e0..d6b620c 100644
> --- a/arch/arm64/include/asm/io.h
> +++ b/arch/arm64/include/asm/io.h
> @@ -172,6 +172,7 @@ extern void __iomem *ioremap_cache(phys_addr_t phys_addr, size_t size);
>  #define ioremap_wc(addr, size)		__ioremap((addr), (size), __pgprot(PROT_NORMAL_NC))
>  #define ioremap_wt(addr, size)		__ioremap((addr), (size), __pgprot(PROT_DEVICE_nGnRE))
>  #define iounmap				__iounmap
> +#define ioremap_cache                  ioremap_cache

Applied. Thanks.

-- 
Catalin
--
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