Re: pgprot_writecombine & shub 1.x

From: Jesse Barnes <jbarnes_at_sgi.com>
Date: 2005-01-20 09:53:00
On Wednesday, January 19, 2005 2:39 pm, David Mosberger wrote:
>   Jesse> Sounds good, though that could be a long wait.  Should we add
>   Jesse> this new EFI call anyway?  Seems like it'll be useful
>   Jesse> regardless...
>
> I agree.

Ok, here you go Tony.  This one fixes the loop and also fixes drm_vm.c.  All 
of the bits aside from the efi.h bit are ia64 specific (either under 
arch/ia64 or __ia64__), so your tree is probably the right place for all of 
it.

This patch adds efi_range_is_wc() to efi.h.  It's used to determine whether an 
address range can be mapped with the write coalescing attribute.  It also 
fixes up some ia64 specific callers to use the new routine instead of 
unconditionally calling pgprot_writecombined, which can be dangerous if used 
on ranges that don't support it.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>

Thanks,
Jesse

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Wed Jan 19 17:53:36 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:34 EST