Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: powerpc: Remove IOMMU_VMERGE config option powerpc: Fix swiotlb to respect the boot option powerpc: Do not call prink when CONFIG_PRINTK is not defined powerpc: Use correct ccr bit for syscall error status powerpc/fsl-booke: Get coherent bit from PTE powerpc/85xx: Make sure lwarx hint isn't set on ppc32
This commit is contained in:
@@ -746,9 +746,6 @@ finish_tlb_load:
|
||||
rlwimi r12, r11, 32-19, 27, 31 /* extract WIMGE from pte */
|
||||
#else
|
||||
rlwimi r12, r11, 26, 27, 31 /* extract WIMGE from pte */
|
||||
#endif
|
||||
#ifdef CONFIG_SMP
|
||||
ori r12, r12, MAS2_M
|
||||
#endif
|
||||
mtspr SPRN_MAS2, r12
|
||||
|
||||
@@ -887,13 +884,17 @@ KernelSPE:
|
||||
lwz r3,_MSR(r1)
|
||||
oris r3,r3,MSR_SPE@h
|
||||
stw r3,_MSR(r1) /* enable use of SPE after return */
|
||||
#ifdef CONFIG_PRINTK
|
||||
lis r3,87f@h
|
||||
ori r3,r3,87f@l
|
||||
mr r4,r2 /* current */
|
||||
lwz r5,_NIP(r1)
|
||||
bl printk
|
||||
#endif
|
||||
b ret_from_except
|
||||
#ifdef CONFIG_PRINTK
|
||||
87: .string "SPE used in kernel (task=%p, pc=%x) \n"
|
||||
#endif
|
||||
.align 4,0
|
||||
|
||||
#endif /* CONFIG_SPE */
|
||||
|
@@ -42,12 +42,7 @@
|
||||
|
||||
#define DBG(...)
|
||||
|
||||
#ifdef CONFIG_IOMMU_VMERGE
|
||||
static int novmerge = 0;
|
||||
#else
|
||||
static int novmerge = 1;
|
||||
#endif
|
||||
|
||||
static int novmerge;
|
||||
static int protect4gb = 1;
|
||||
|
||||
static void __iommu_free(struct iommu_table *, dma_addr_t, unsigned int);
|
||||
|
@@ -39,7 +39,6 @@
|
||||
#include <asm/serial.h>
|
||||
#include <asm/udbg.h>
|
||||
#include <asm/mmu_context.h>
|
||||
#include <asm/swiotlb.h>
|
||||
|
||||
#include "setup.h"
|
||||
|
||||
@@ -343,11 +342,6 @@ void __init setup_arch(char **cmdline_p)
|
||||
ppc_md.setup_arch();
|
||||
if ( ppc_md.progress ) ppc_md.progress("arch: exit", 0x3eab);
|
||||
|
||||
#ifdef CONFIG_SWIOTLB
|
||||
if (ppc_swiotlb_enable)
|
||||
swiotlb_init(1);
|
||||
#endif
|
||||
|
||||
paging_init();
|
||||
|
||||
/* Initialize the MMU context management stuff */
|
||||
|
@@ -61,7 +61,6 @@
|
||||
#include <asm/xmon.h>
|
||||
#include <asm/udbg.h>
|
||||
#include <asm/kexec.h>
|
||||
#include <asm/swiotlb.h>
|
||||
#include <asm/mmu_context.h>
|
||||
|
||||
#include "setup.h"
|
||||
@@ -541,11 +540,6 @@ void __init setup_arch(char **cmdline_p)
|
||||
if (ppc_md.setup_arch)
|
||||
ppc_md.setup_arch();
|
||||
|
||||
#ifdef CONFIG_SWIOTLB
|
||||
if (ppc_swiotlb_enable)
|
||||
swiotlb_init(1);
|
||||
#endif
|
||||
|
||||
paging_init();
|
||||
|
||||
/* Initialize the MMU context management stuff */
|
||||
|
Reference in New Issue
Block a user