x86-use-generic-early_ioremap.patch removed from -mm tree
Subject: [merged] x86-use-generic-early_ioremap.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 08 Apr 2014 14:50:57 -0700
The patch titled
Subject: x86: use generic early_ioremap
has been removed from the -mm tree. Its filename was
x86-use-generic-early_ioremap.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Mark Salter <[email protected]>
Subject: x86: use generic early_ioremap
Move x86 over to the generic early ioremap implementation.
---
arch/x86/Kconfig | 1 arch/x86/include/asm/Kbuild | 1 arch/x86/include/asm/fixmap.h | 6 arch/x86/include/asm/io.h | 15 -- arch/x86/mm/ioremap.c | 228 -------------------------------- arch/x86/mm/pgtable_32.c | 2 6 files changed, 13 insertions(+), 240 deletions(-)
arch/x86/Kconfig renamed from arch/x86/Kconfig~x86-use-generic-early_ioremap +1 -0
@@ -43,6 +43,7 @@ config X86 select HAVE_DMA_ATTRS select HAVE_DMA_CONTIGUOUS if !SWIOTLB select HAVE_KRETPROBES + select GENERIC_EARLY_IOREMAP select HAVE_OPTPROBES select HAVE_KPROBES_ON_FTRACE select HAVE_FTRACE_MCOUNT_RECORD
arch/x86/include/asm/Kbuild renamed from arch/x86/include/asm/Kbuild~x86-use-generic-early_ioremap +1 -0
@@ -5,5 +5,6 @@ genhdr-y += unistd_64.h genhdr-y += unistd_x32.h generic-y += clkdev.h +generic-y += early_ioremap.h generic-y += cputime.h generic-y += mcs_spinlock.h
arch/x86/include/asm/fixmap.h renamed from arch/x86/include/asm/fixmap.h~x86-use-generic-early_ioremap +6 -0
@@ -163,5 +163,11 @@ static inline void __set_fixmap(enum fix#include <asm-generic/fixmap.h> +#define __late_set_fixmap (idx, phys, flags) __set_fixmap(idx, phys, flags) +#define __late_clear_fixmap (idx) __set_fixmap(idx, 0, __pgprot(0)) + +void __early_set_fixmap (enum fixed_addresses idx, +phys_addr_t phys,pgprot_t flags); +#endif /* !__ASSEMBLY__ */ #endif /* _ASM_X86_FIXMAP_H */
arch/x86/include/asm/io.h renamed from arch/x86/include/asm/io.h~x86-use-generic-early_ioremap +1 -14
@@ -39,6 +39,7 @@#include <linux/string.h> #include <linux/compiler.h> #include <asm/page.h> +#include <asm/early_ioremap.h> #define build_mmio_read (name, size, type, reg, barrier) \ static inline type name(const volatile void __iomem *addr) \
@@ -316,20 +317,6 @@ extern int ioremap_change_attr(unsigned unsigned long prot_val);extern void __iomem *ioremap_wc (resource_size_t offset,unsigned long size); -/* -* early_ioremap() and early_iounmap() are for temporary early boot-time -* mappings, before the real ioremap() is functional. -* A boot-time mapping is currently limited to at most 16 pages. -*/ -extern void early_ioremap_init (void ); -extern void early_ioremap_reset (void ); -extern void __iomem *early_ioremap (resource_size_t phys_addr, -unsigned long size); -extern void *early_memremap (resource_size_t phys_addr, -unsigned long size); -extern void early_iounmap (void __iomem *addr,unsigned long size); -extern void early_memunmap (void *addr,unsigned long size); -extern void fixup_early_ioremap (void );extern bool is_early_ioremap_ptep (pte_t *ptep);#ifdef CONFIG_XEN
arch/x86/mm/ioremap.c renamed from arch/x86/mm/ioremap.c~x86-use-generic-early_ioremap +3 -220
248 lines not on this page · raw message