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: <20150822193549.GA27623@roeck-us.net>
Date:	Sat, 22 Aug 2015 12:35:50 -0700
From:	Guenter Roeck <linux@...ck-us.net>
To:	"James E.J. Bottomley" <jejb@...isc-linux.org>
Cc:	Helge Deller <deller@....de>, linux-parisc@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	"Luis R. Rodriguez" <mcgrof@...e.com>,
	Paul Gortmaker <paul.gortmaker@...driver.com>
Subject: Re: [PATCH -next] parisc: Define ioremap_uc and ioremap_wc

ping ... the problem fixed with this patch still affects next-20150821.

Guenter

On Fri, Jul 31, 2015 at 07:34:46PM -0700, Guenter Roeck wrote:
> Commit 3cc2dac5be3f ("drivers/video/fbdev/atyfb: Replace MTRR UC hole
> with strong UC") introduces calls to ioremap_wc and ioremap_uc. This
> causes build failures with parisc:allmodconfig. Map the missing
> functions to ioremap_nocache.
> 
> Fixes: 3cc2dac5be3f ("drivers/video/fbdev/atyfb:
> 	Replace MTRR UC hole with strong UC")
> Cc: Luis R. Rodriguez <mcgrof@...e.com>
> Cc: Paul Gortmaker <paul.gortmaker@...driver.com>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
> ---
>  arch/parisc/include/asm/io.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/parisc/include/asm/io.h b/arch/parisc/include/asm/io.h
> index 8cd0abf28ffb..1a16f1d1075f 100644
> --- a/arch/parisc/include/asm/io.h
> +++ b/arch/parisc/include/asm/io.h
> @@ -137,6 +137,8 @@ static inline void __iomem * ioremap(unsigned long offset, unsigned long size)
>  	return __ioremap(offset, size, _PAGE_NO_CACHE);
>  }
>  #define ioremap_nocache(off, sz)	ioremap((off), (sz))
> +#define ioremap_wc			ioremap_nocache
> +#define ioremap_uc			ioremap_nocache
>  
>  extern void iounmap(const volatile void __iomem *addr);
>  
> -- 
> 2.1.4
> 
> --
> 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/
> 
> 
--
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