qemu_pipe: fix page fault inside interrupt handler

- qemu_pipe instance is deleted inside release, but interrupt can still happen
  even after that. This can cause page fault inside interrupt handler in rare
  case.
- The fix stores valid pipe pointers to  a radix tree and access
  pipe from interrupt only when the instance is found in the tree.
- changed some debugging messages to KERN_WARNING to detect such case by
  log.

Change-Id: I2b6cd82860904a790e6f17753dff081c5821802d
Signed-off-by: keunyoung <keunyoung@google.com>
mips: goldfish: Update various things for 3.4.

This change fixes up various things to the point where it is possible
to build for MIPS/goldfish, but the kernel does not boot successfully
yet.

Change-Id: I8a32baa5a87d55b2b08eaba6e01c9ed843a1cdc1
Signed-off-by: Young-Ho Cha <ganadist@gmail.com>
mips: goldfish: Goldfish driver support for MIPS

Change-Id: I3f190e9e446b599c8f60037fed463bf083fc1e9b
Signed-off-By: Chris Dearman <chris@mips.com>
Signed-off-By: Bhanu Chetlapalli <bhanu@mips.com>
Signed-off-by: Raghu Gandham <raghu@mips.com>
mips: goldfish: move files to suitable location

arch/mips/mach-goldfish -> arch/mips/goldfish
arch/mips/include/mach -> arch/mips/goldfish/include/mach
include/asm-mips/mach-goldfish -> arch/mips/include/asm/mach-goldfish
remove unnecessary headers

Change-Id: I0251951cfd76f4c3286016991de199581f96ad4a
Signed-off-by: Young-Ho Cha <ganadist@gmail.com>
mips_goldfish: fix section mismatch

- plat_mem_setup should be in __init section

Change-Id: I02167089482a659487039179efad20c022c4f87c
Signed-off-by: keunyoung <keunyoung@google.com>
qemu_pipe: add prints for failure cases

- to allow easy detection if such case happens

Change-Id: I1242be82d5b11ba67c90b8b11e5728d218e18dea
Signed-off-by: keunyoung <keunyoung@google.com>
mips: goldfish: fix compiler warning

fix readl/writel arguments type
add missing <linux/export.h> include
also remove unused headers

Change-Id: If63669b93d45f03e06df7a277c1e3a76d6f02f6d
Signed-off-by: Young-Ho Cha <ganadist@gmail.com>
mips_goldfish: enable fuse

Change-Id: I0d92d17e02b706984203319ebbd57243dfc5e7e4
Signed-off-by: keunyoung <keunyoung@google.com>
[MIPS] Enable config options to match the defaults of the goldfish target.

Signed-off-by: Raghu Gandham <raghu.gandham@imgtec.com>