Explorar o código

Merge tag 'asoc-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus

ASoC: Fixes for v3.7

A couple of driver fixes, one that improves the interoperability of
WM8994 with controllers that are sensitive to extra BCLK cycles and some
build break fixes for ux500.
Takashi Iwai %!s(int64=12) %!d(string=hai) anos
pai
achega
c64064ce93
Modificáronse 100 ficheiros con 355 adicións e 294 borrados
  1. 0 6
      .gitignore
  2. 38 38
      Documentation/DocBook/media/Makefile
  3. 2 2
      Documentation/DocBook/networking.tmpl
  4. 3 62
      Documentation/IPMI.txt
  5. 1 0
      Documentation/hwmon/coretemp
  6. 1 2
      Documentation/hwmon/submitting-patches
  7. 1 0
      Documentation/sysrq.txt
  8. 23 1
      MAINTAINERS
  9. 15 2
      Makefile
  10. 2 0
      arch/arm/boot/dts/Makefile
  11. 32 17
      arch/arm/boot/dts/dove.dtsi
  12. 9 1
      arch/arm/boot/dts/imx6q-arm2.dts
  13. 10 8
      arch/arm/boot/dts/kirkwood-lsxl.dtsi
  14. 2 2
      arch/arm/boot/dts/wm8505.dtsi
  15. 2 2
      arch/arm/kernel/entry-common.S
  16. 4 4
      arch/arm/mach-dove/common.c
  17. 5 0
      arch/arm/mach-dove/pcie.c
  18. 0 2
      arch/arm/mach-kirkwood/board-dt.c
  19. 2 2
      arch/arm/mach-kirkwood/common.c
  20. 1 1
      arch/arm/mach-omap2/clock44xx_data.c
  21. 11 4
      arch/arm/mach-omap2/clockdomain.c
  22. 1 1
      arch/arm/mach-omap2/devices.c
  23. 19 5
      arch/arm/mach-omap2/gpmc.c
  24. 1 1
      arch/arm/mach-omap2/timer.c
  25. 0 13
      arch/arm/mach-prima2/include/mach/gpio.h
  26. 1 1
      arch/arm/mach-s3c24xx/clock-s3c2440.c
  27. 1 1
      arch/arm/mach-shmobile/board-armadillo800eva.c
  28. 11 11
      arch/arm/mach-shmobile/clock-r8a7779.c
  29. 1 1
      arch/arm/mach-tegra/board-dt-tegra20.c
  30. 1 1
      arch/arm/mach-tegra/board-dt-tegra30.c
  31. 1 1
      arch/arm/mach-tegra/board.h
  32. 1 0
      arch/arm/mach-tegra/tegra20_clocks_data.c
  33. 1 1
      arch/arm/mach-tegra/tegra30_clocks.c
  34. 1 0
      arch/arm/mach-tegra/tegra30_clocks_data.c
  35. 1 1
      arch/arm/mach-tegra/timer.c
  36. 1 0
      arch/arm/plat-omap/debug-devices.c
  37. 1 0
      arch/arm64/Kconfig
  38. 0 1
      arch/arm64/include/asm/Kbuild
  39. 7 0
      arch/arm64/include/asm/linkage.h
  40. 0 10
      arch/arm64/include/asm/processor.h
  41. 2 1
      arch/arm64/include/uapi/asm/ptrace.h
  42. 51 22
      arch/arm64/kernel/ptrace.c
  43. 12 0
      arch/arm64/kernel/setup.c
  44. 0 1
      arch/arm64/kernel/smp.c
  45. 10 10
      arch/arm64/kernel/vdso.c
  46. 2 2
      arch/frv/kernel/entry.S
  47. 1 1
      arch/frv/kernel/process.c
  48. 2 0
      arch/frv/kernel/setup.c
  49. 0 3
      arch/hexagon/include/asm/Kbuild
  50. 1 1
      arch/hexagon/include/asm/atomic.h
  51. 1 1
      arch/hexagon/include/asm/barrier.h
  52. 1 1
      arch/hexagon/include/asm/bitops.h
  53. 1 1
      arch/hexagon/include/asm/cache.h
  54. 1 1
      arch/hexagon/include/asm/cacheflush.h
  55. 1 1
      arch/hexagon/include/asm/checksum.h
  56. 1 1
      arch/hexagon/include/asm/cmpxchg.h
  57. 1 1
      arch/hexagon/include/asm/delay.h
  58. 1 1
      arch/hexagon/include/asm/dma-mapping.h
  59. 1 1
      arch/hexagon/include/asm/dma.h
  60. 1 1
      arch/hexagon/include/asm/elf.h
  61. 1 1
      arch/hexagon/include/asm/exec.h
  62. 1 1
      arch/hexagon/include/asm/fixmap.h
  63. 1 1
      arch/hexagon/include/asm/hexagon_vm.h
  64. 1 1
      arch/hexagon/include/asm/intrinsics.h
  65. 1 1
      arch/hexagon/include/asm/io.h
  66. 1 1
      arch/hexagon/include/asm/irq.h
  67. 1 1
      arch/hexagon/include/asm/irqflags.h
  68. 1 1
      arch/hexagon/include/asm/kgdb.h
  69. 1 1
      arch/hexagon/include/asm/linkage.h
  70. 1 1
      arch/hexagon/include/asm/mem-layout.h
  71. 1 1
      arch/hexagon/include/asm/mmu.h
  72. 1 1
      arch/hexagon/include/asm/mmu_context.h
  73. 1 1
      arch/hexagon/include/asm/module.h
  74. 1 1
      arch/hexagon/include/asm/page.h
  75. 1 1
      arch/hexagon/include/asm/perf_event.h
  76. 1 1
      arch/hexagon/include/asm/pgalloc.h
  77. 1 1
      arch/hexagon/include/asm/pgtable.h
  78. 1 1
      arch/hexagon/include/asm/processor.h
  79. 1 1
      arch/hexagon/include/asm/smp.h
  80. 1 1
      arch/hexagon/include/asm/spinlock.h
  81. 1 1
      arch/hexagon/include/asm/spinlock_types.h
  82. 1 1
      arch/hexagon/include/asm/string.h
  83. 1 1
      arch/hexagon/include/asm/suspend.h
  84. 1 1
      arch/hexagon/include/asm/switch_to.h
  85. 1 1
      arch/hexagon/include/asm/syscall.h
  86. 1 1
      arch/hexagon/include/asm/thread_info.h
  87. 1 1
      arch/hexagon/include/asm/time.h
  88. 1 1
      arch/hexagon/include/asm/timer-regs.h
  89. 1 1
      arch/hexagon/include/asm/timex.h
  90. 1 1
      arch/hexagon/include/asm/tlb.h
  91. 1 1
      arch/hexagon/include/asm/tlbflush.h
  92. 1 1
      arch/hexagon/include/asm/traps.h
  93. 1 1
      arch/hexagon/include/asm/uaccess.h
  94. 1 1
      arch/hexagon/include/asm/vdso.h
  95. 1 1
      arch/hexagon/include/asm/vm_fault.h
  96. 1 1
      arch/hexagon/include/asm/vm_mmu.h
  97. 12 0
      arch/hexagon/include/uapi/asm/Kbuild
  98. 1 1
      arch/hexagon/include/uapi/asm/bitsperlong.h
  99. 1 1
      arch/hexagon/include/uapi/asm/byteorder.h
  100. 0 0
      arch/hexagon/include/uapi/asm/kvm_para.h

+ 0 - 6
.gitignore

@@ -14,10 +14,6 @@
 *.o.*
 *.o.*
 *.a
 *.a
 *.s
 *.s
-*.ko.unsigned
-*.ko.stripped
-*.ko.stripped.dig
-*.ko.stripped.sig
 *.ko
 *.ko
 *.so
 *.so
 *.so.dbg
 *.so.dbg
@@ -95,6 +91,4 @@ GTAGS
 extra_certificates
 extra_certificates
 signing_key.priv
 signing_key.priv
 signing_key.x509
 signing_key.x509
-signing_key.x509.keyid
-signing_key.x509.signer
 x509.genkey
 x509.genkey

+ 38 - 38
Documentation/DocBook/media/Makefile

@@ -56,15 +56,15 @@ FUNCS = \
 	write \
 	write \
 
 
 IOCTLS = \
 IOCTLS = \
-	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/linux/videodev2.h) \
-	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/linux/dvb/audio.h) \
-	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/linux/dvb/ca.h) \
-	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/linux/dvb/dmx.h) \
-	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/linux/dvb/frontend.h) \
-	$(shell perl -ne 'print "$$1 " if /\#define\s+([A-Z][^\s]+)\s+_IO/' $(srctree)/include/linux/dvb/net.h) \
-	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/linux/dvb/video.h) \
-	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/linux/media.h) \
-	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/linux/v4l2-subdev.h) \
+	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/uapi/linux/videodev2.h) \
+	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/uapi/linux/dvb/audio.h) \
+	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/uapi/linux/dvb/ca.h) \
+	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/uapi/linux/dvb/dmx.h) \
+	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/uapi/linux/dvb/frontend.h) \
+	$(shell perl -ne 'print "$$1 " if /\#define\s+([A-Z][^\s]+)\s+_IO/' $(srctree)/include/uapi/linux/dvb/net.h) \
+	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/uapi/linux/dvb/video.h) \
+	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/uapi/linux/media.h) \
+	$(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/uapi/linux/v4l2-subdev.h) \
 	VIDIOC_SUBDEV_G_FRAME_INTERVAL \
 	VIDIOC_SUBDEV_G_FRAME_INTERVAL \
 	VIDIOC_SUBDEV_S_FRAME_INTERVAL \
 	VIDIOC_SUBDEV_S_FRAME_INTERVAL \
 	VIDIOC_SUBDEV_ENUM_MBUS_CODE \
 	VIDIOC_SUBDEV_ENUM_MBUS_CODE \
@@ -74,32 +74,32 @@ IOCTLS = \
 	VIDIOC_SUBDEV_S_SELECTION \
 	VIDIOC_SUBDEV_S_SELECTION \
 
 
 TYPES = \
 TYPES = \
-	$(shell perl -ne 'print "$$1 " if /^typedef\s+[^\s]+\s+([^\s]+)\;/' $(srctree)/include/linux/videodev2.h) \
-	$(shell perl -ne 'print "$$1 " if /^}\s+([a-z0-9_]+_t)/' $(srctree)/include/linux/dvb/frontend.h)
+	$(shell perl -ne 'print "$$1 " if /^typedef\s+[^\s]+\s+([^\s]+)\;/' $(srctree)/include/uapi/linux/videodev2.h) \
+	$(shell perl -ne 'print "$$1 " if /^}\s+([a-z0-9_]+_t)/' $(srctree)/include/uapi/linux/dvb/frontend.h)
 
 
 ENUMS = \
 ENUMS = \
-	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/linux/videodev2.h) \
-	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/linux/dvb/audio.h) \
-	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/linux/dvb/ca.h) \
-	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/linux/dvb/dmx.h) \
-	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/linux/dvb/frontend.h) \
-	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/linux/dvb/net.h) \
-	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/linux/dvb/video.h) \
-	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/linux/media.h) \
-	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/linux/v4l2-mediabus.h) \
-	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/linux/v4l2-subdev.h)
+	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/videodev2.h) \
+	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/dvb/audio.h) \
+	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/dvb/ca.h) \
+	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/dvb/dmx.h) \
+	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/dvb/frontend.h) \
+	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/dvb/net.h) \
+	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/dvb/video.h) \
+	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/media.h) \
+	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/v4l2-mediabus.h) \
+	$(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/v4l2-subdev.h)
 
 
 STRUCTS = \
 STRUCTS = \
-	$(shell perl -ne 'print "$$1 " if /^struct\s+([^\s]+)\s+/' $(srctree)/include/linux/videodev2.h) \
-	$(shell perl -ne 'print "$$1 " if (/^struct\s+([^\s\{]+)\s*/)' $(srctree)/include/linux/dvb/audio.h) \
-	$(shell perl -ne 'print "$$1 " if (/^struct\s+([^\s]+)\s+/)' $(srctree)/include/linux/dvb/ca.h) \
-	$(shell perl -ne 'print "$$1 " if (/^struct\s+([^\s]+)\s+/)' $(srctree)/include/linux/dvb/dmx.h) \
-	$(shell perl -ne 'print "$$1 " if (!/dtv\_cmds\_h/ && /^struct\s+([^\s]+)\s+/)' $(srctree)/include/linux/dvb/frontend.h) \
-	$(shell perl -ne 'print "$$1 " if (/^struct\s+([A-Z][^\s]+)\s+/)' $(srctree)/include/linux/dvb/net.h) \
-	$(shell perl -ne 'print "$$1 " if (/^struct\s+([^\s]+)\s+/)' $(srctree)/include/linux/dvb/video.h) \
-	$(shell perl -ne 'print "$$1 " if /^struct\s+([^\s]+)\s+/' $(srctree)/include/linux/media.h) \
-	$(shell perl -ne 'print "$$1 " if /^struct\s+([^\s]+)\s+/' $(srctree)/include/linux/v4l2-subdev.h) \
-	$(shell perl -ne 'print "$$1 " if /^struct\s+([^\s]+)\s+/' $(srctree)/include/linux/v4l2-mediabus.h)
+	$(shell perl -ne 'print "$$1 " if /^struct\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/videodev2.h) \
+	$(shell perl -ne 'print "$$1 " if (/^struct\s+([^\s\{]+)\s*/)' $(srctree)/include/uapi/linux/dvb/audio.h) \
+	$(shell perl -ne 'print "$$1 " if (/^struct\s+([^\s]+)\s+/)' $(srctree)/include/uapi/linux/dvb/ca.h) \
+	$(shell perl -ne 'print "$$1 " if (/^struct\s+([^\s]+)\s+/)' $(srctree)/include/uapi/linux/dvb/dmx.h) \
+	$(shell perl -ne 'print "$$1 " if (!/dtv\_cmds\_h/ && /^struct\s+([^\s]+)\s+/)' $(srctree)/include/uapi/linux/dvb/frontend.h) \
+	$(shell perl -ne 'print "$$1 " if (/^struct\s+([A-Z][^\s]+)\s+/)' $(srctree)/include/uapi/linux/dvb/net.h) \
+	$(shell perl -ne 'print "$$1 " if (/^struct\s+([^\s]+)\s+/)' $(srctree)/include/uapi/linux/dvb/video.h) \
+	$(shell perl -ne 'print "$$1 " if /^struct\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/media.h) \
+	$(shell perl -ne 'print "$$1 " if /^struct\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/v4l2-subdev.h) \
+	$(shell perl -ne 'print "$$1 " if /^struct\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/v4l2-mediabus.h)
 
 
 ERRORS = \
 ERRORS = \
 	E2BIG \
 	E2BIG \
@@ -205,7 +205,7 @@ $(MEDIA_OBJ_DIR)/v4l2.xml: $(OBJIMGFILES)
 	@(ln -sf $(MEDIA_SRC_DIR)/v4l/*xml $(MEDIA_OBJ_DIR)/)
 	@(ln -sf $(MEDIA_SRC_DIR)/v4l/*xml $(MEDIA_OBJ_DIR)/)
 	@(ln -sf $(MEDIA_SRC_DIR)/dvb/*xml $(MEDIA_OBJ_DIR)/)
 	@(ln -sf $(MEDIA_SRC_DIR)/dvb/*xml $(MEDIA_OBJ_DIR)/)
 
 
-$(MEDIA_OBJ_DIR)/videodev2.h.xml: $(srctree)/include/linux/videodev2.h $(MEDIA_OBJ_DIR)/v4l2.xml
+$(MEDIA_OBJ_DIR)/videodev2.h.xml: $(srctree)/include/uapi/linux/videodev2.h $(MEDIA_OBJ_DIR)/v4l2.xml
 	@$($(quiet)gen_xml)
 	@$($(quiet)gen_xml)
 	@(					\
 	@(					\
 	echo "<programlisting>") > $@
 	echo "<programlisting>") > $@
@@ -216,7 +216,7 @@ $(MEDIA_OBJ_DIR)/videodev2.h.xml: $(srctree)/include/linux/videodev2.h $(MEDIA_O
 	@(					\
 	@(					\
 	echo "</programlisting>") >> $@
 	echo "</programlisting>") >> $@
 
 
-$(MEDIA_OBJ_DIR)/audio.h.xml: $(srctree)/include/linux/dvb/audio.h $(MEDIA_OBJ_DIR)/v4l2.xml
+$(MEDIA_OBJ_DIR)/audio.h.xml: $(srctree)/include/uapi/linux/dvb/audio.h $(MEDIA_OBJ_DIR)/v4l2.xml
 	@$($(quiet)gen_xml)
 	@$($(quiet)gen_xml)
 	@(					\
 	@(					\
 	echo "<programlisting>") > $@
 	echo "<programlisting>") > $@
@@ -227,7 +227,7 @@ $(MEDIA_OBJ_DIR)/audio.h.xml: $(srctree)/include/linux/dvb/audio.h $(MEDIA_OBJ_D
 	@(					\
 	@(					\
 	echo "</programlisting>") >> $@
 	echo "</programlisting>") >> $@
 
 
-$(MEDIA_OBJ_DIR)/ca.h.xml: $(srctree)/include/linux/dvb/ca.h $(MEDIA_OBJ_DIR)/v4l2.xml
+$(MEDIA_OBJ_DIR)/ca.h.xml: $(srctree)/include/uapi/linux/dvb/ca.h $(MEDIA_OBJ_DIR)/v4l2.xml
 	@$($(quiet)gen_xml)
 	@$($(quiet)gen_xml)
 	@(					\
 	@(					\
 	echo "<programlisting>") > $@
 	echo "<programlisting>") > $@
@@ -238,7 +238,7 @@ $(MEDIA_OBJ_DIR)/ca.h.xml: $(srctree)/include/linux/dvb/ca.h $(MEDIA_OBJ_DIR)/v4
 	@(					\
 	@(					\
 	echo "</programlisting>") >> $@
 	echo "</programlisting>") >> $@
 
 
-$(MEDIA_OBJ_DIR)/dmx.h.xml: $(srctree)/include/linux/dvb/dmx.h $(MEDIA_OBJ_DIR)/v4l2.xml
+$(MEDIA_OBJ_DIR)/dmx.h.xml: $(srctree)/include/uapi/linux/dvb/dmx.h $(MEDIA_OBJ_DIR)/v4l2.xml
 	@$($(quiet)gen_xml)
 	@$($(quiet)gen_xml)
 	@(					\
 	@(					\
 	echo "<programlisting>") > $@
 	echo "<programlisting>") > $@
@@ -249,7 +249,7 @@ $(MEDIA_OBJ_DIR)/dmx.h.xml: $(srctree)/include/linux/dvb/dmx.h $(MEDIA_OBJ_DIR)/
 	@(					\
 	@(					\
 	echo "</programlisting>") >> $@
 	echo "</programlisting>") >> $@
 
 
-$(MEDIA_OBJ_DIR)/frontend.h.xml: $(srctree)/include/linux/dvb/frontend.h $(MEDIA_OBJ_DIR)/v4l2.xml
+$(MEDIA_OBJ_DIR)/frontend.h.xml: $(srctree)/include/uapi/linux/dvb/frontend.h $(MEDIA_OBJ_DIR)/v4l2.xml
 	@$($(quiet)gen_xml)
 	@$($(quiet)gen_xml)
 	@(					\
 	@(					\
 	echo "<programlisting>") > $@
 	echo "<programlisting>") > $@
@@ -260,7 +260,7 @@ $(MEDIA_OBJ_DIR)/frontend.h.xml: $(srctree)/include/linux/dvb/frontend.h $(MEDIA
 	@(					\
 	@(					\
 	echo "</programlisting>") >> $@
 	echo "</programlisting>") >> $@
 
 
-$(MEDIA_OBJ_DIR)/net.h.xml: $(srctree)/include/linux/dvb/net.h $(MEDIA_OBJ_DIR)/v4l2.xml
+$(MEDIA_OBJ_DIR)/net.h.xml: $(srctree)/include/uapi/linux/dvb/net.h $(MEDIA_OBJ_DIR)/v4l2.xml
 	@$($(quiet)gen_xml)
 	@$($(quiet)gen_xml)
 	@(					\
 	@(					\
 	echo "<programlisting>") > $@
 	echo "<programlisting>") > $@
@@ -271,7 +271,7 @@ $(MEDIA_OBJ_DIR)/net.h.xml: $(srctree)/include/linux/dvb/net.h $(MEDIA_OBJ_DIR)/
 	@(					\
 	@(					\
 	echo "</programlisting>") >> $@
 	echo "</programlisting>") >> $@
 
 
-$(MEDIA_OBJ_DIR)/video.h.xml: $(srctree)/include/linux/dvb/video.h $(MEDIA_OBJ_DIR)/v4l2.xml
+$(MEDIA_OBJ_DIR)/video.h.xml: $(srctree)/include/uapi/linux/dvb/video.h $(MEDIA_OBJ_DIR)/v4l2.xml
 	@$($(quiet)gen_xml)
 	@$($(quiet)gen_xml)
 	@(					\
 	@(					\
 	echo "<programlisting>") > $@
 	echo "<programlisting>") > $@

+ 2 - 2
Documentation/DocBook/networking.tmpl

@@ -56,7 +56,7 @@
 !Enet/core/filter.c
 !Enet/core/filter.c
      </sect1>
      </sect1>
      <sect1><title>Generic Network Statistics</title>
      <sect1><title>Generic Network Statistics</title>
-!Iinclude/linux/gen_stats.h
+!Iinclude/uapi/linux/gen_stats.h
 !Enet/core/gen_stats.c
 !Enet/core/gen_stats.c
 !Enet/core/gen_estimator.c
 !Enet/core/gen_estimator.c
      </sect1>
      </sect1>
@@ -80,7 +80,7 @@
 !Enet/wimax/op-rfkill.c
 !Enet/wimax/op-rfkill.c
 !Enet/wimax/stack.c
 !Enet/wimax/stack.c
 !Iinclude/net/wimax.h
 !Iinclude/net/wimax.h
-!Iinclude/linux/wimax.h
+!Iinclude/uapi/linux/wimax.h
      </sect1>
      </sect1>
   </chapter>
   </chapter>
 
 

+ 3 - 62
Documentation/IPMI.txt

@@ -42,13 +42,7 @@ The driver interface depends on your hardware.  If your system
 properly provides the SMBIOS info for IPMI, the driver will detect it
 properly provides the SMBIOS info for IPMI, the driver will detect it
 and just work.  If you have a board with a standard interface (These
 and just work.  If you have a board with a standard interface (These
 will generally be either "KCS", "SMIC", or "BT", consult your hardware
 will generally be either "KCS", "SMIC", or "BT", consult your hardware
-manual), choose the 'IPMI SI handler' option.  A driver also exists
-for direct I2C access to the IPMI management controller.  Some boards
-support this, but it is unknown if it will work on every board.  For
-this, choose 'IPMI SMBus handler', but be ready to try to do some
-figuring to see if it will work on your system if the SMBIOS/APCI
-information is wrong or not present.  It is fairly safe to have both
-these enabled and let the drivers auto-detect what is present.
+manual), choose the 'IPMI SI handler' option.
 
 
 You should generally enable ACPI on your system, as systems with IPMI
 You should generally enable ACPI on your system, as systems with IPMI
 can have ACPI tables describing them.
 can have ACPI tables describing them.
@@ -58,8 +52,7 @@ their job correctly, the IPMI controller should be automatically
 detected (via ACPI or SMBIOS tables) and should just work.  Sadly,
 detected (via ACPI or SMBIOS tables) and should just work.  Sadly,
 many boards do not have this information.  The driver attempts
 many boards do not have this information.  The driver attempts
 standard defaults, but they may not work.  If you fall into this
 standard defaults, but they may not work.  If you fall into this
-situation, you need to read the section below named 'The SI Driver' or
-"The SMBus Driver" on how to hand-configure your system.
+situation, you need to read the section below named 'The SI Driver'.
 
 
 IPMI defines a standard watchdog timer.  You can enable this with the
 IPMI defines a standard watchdog timer.  You can enable this with the
 'IPMI Watchdog Timer' config option.  If you compile the driver into
 'IPMI Watchdog Timer' config option.  If you compile the driver into
@@ -104,12 +97,7 @@ driver, each open file for this device ties in to the message handler
 as an IPMI user.
 as an IPMI user.
 
 
 ipmi_si - A driver for various system interfaces.  This supports KCS,
 ipmi_si - A driver for various system interfaces.  This supports KCS,
-SMIC, and BT interfaces.  Unless you have an SMBus interface or your
-own custom interface, you probably need to use this.
-
-ipmi_smb - A driver for accessing BMCs on the SMBus. It uses the
-I2C kernel driver's SMBus interfaces to send and receive IPMI messages
-over the SMBus.
+SMIC, and BT interfaces.
 
 
 ipmi_watchdog - IPMI requires systems to have a very capable watchdog
 ipmi_watchdog - IPMI requires systems to have a very capable watchdog
 timer.  This driver implements the standard Linux watchdog timer
 timer.  This driver implements the standard Linux watchdog timer
@@ -482,53 +470,6 @@ for specifying an interface.  Note that when removing an interface,
 only the first three parameters (si type, address type, and address)
 only the first three parameters (si type, address type, and address)
 are used for the comparison.  Any options are ignored for removing.
 are used for the comparison.  Any options are ignored for removing.
 
 
-The SMBus Driver
-----------------
-
-The SMBus driver allows up to 4 SMBus devices to be configured in the
-system.  By default, the driver will register any SMBus interfaces it finds
-in the I2C address range of 0x20 to 0x4f on any adapter.  You can change this
-at module load time (for a module) with:
-
-  modprobe ipmi_smb.o
-	addr=<adapter1>,<i2caddr1>[,<adapter2>,<i2caddr2>[,...]]
-	dbg=<flags1>,<flags2>...
-	[defaultprobe=1] [dbg_probe=1]
-
-The addresses are specified in pairs, the first is the adapter ID and the
-second is the I2C address on that adapter.
-
-The debug flags are bit flags for each BMC found, they are:
-IPMI messages: 1, driver state: 2, timing: 4, I2C probe: 8
-
-Setting smb_defaultprobe to zero disabled the default probing of SMBus
-interfaces at address range 0x20 to 0x4f.  This means that only the
-BMCs specified on the smb_addr line will be detected.
-
-Setting smb_dbg_probe to 1 will enable debugging of the probing and
-detection process for BMCs on the SMBusses.
-
-Discovering the IPMI compliant BMC on the SMBus can cause devices
-on the I2C bus to fail. The SMBus driver writes a "Get Device ID" IPMI
-message as a block write to the I2C bus and waits for a response.
-This action can be detrimental to some I2C devices. It is highly recommended
-that the known I2c address be given to the SMBus driver in the smb_addr
-parameter. The default address range will not be used when a smb_addr
-parameter is provided.
-
-When compiled into the kernel, the addresses can be specified on the
-kernel command line as:
-
-  ipmb_smb.addr=<adapter1>,<i2caddr1>[,<adapter2>,<i2caddr2>[,...]]
-	ipmi_smb.dbg=<flags1>,<flags2>...
-	ipmi_smb.defaultprobe=0 ipmi_smb.dbg_probe=1
-
-These are the same options as on the module command line.
-
-Note that you might need some I2C changes if CONFIG_IPMI_PANIC_EVENT
-is enabled along with this, so the I2C driver knows to run to
-completion during sending a panic event.
-
 
 
 Other Pieces
 Other Pieces
 ------------
 ------------

+ 1 - 0
Documentation/hwmon/coretemp

@@ -105,6 +105,7 @@ Process		Processor					TjMax(C)
 		330/230						125
 		330/230						125
 		E680/660/640/620				90
 		E680/660/640/620				90
 		E680T/660T/640T/620T				110
 		E680T/660T/640T/620T				110
+		CE4170/4150/4110				110
 
 
 45nm		Core2 Processors
 45nm		Core2 Processors
 		Solo ULV SU3500/3300				100
 		Solo ULV SU3500/3300				100

+ 1 - 2
Documentation/hwmon/submitting-patches

@@ -60,8 +60,7 @@ increase the chances of your change being accepted.
 
 
 * Add the driver to Kconfig and Makefile in alphabetical order.
 * Add the driver to Kconfig and Makefile in alphabetical order.
 
 
-* Make sure that all dependencies are listed in Kconfig. For new drivers, it
-  is most likely prudent to add a dependency on EXPERIMENTAL.
+* Make sure that all dependencies are listed in Kconfig.
 
 
 * Avoid forward declarations if you can. Rearrange the code if necessary.
 * Avoid forward declarations if you can. Rearrange the code if necessary.
 
 

+ 1 - 0
Documentation/sysrq.txt

@@ -116,6 +116,7 @@ On all -  write a character to /proc/sysrq-trigger.  e.g.:
 'w'	- Dumps tasks that are in uninterruptable (blocked) state.
 'w'	- Dumps tasks that are in uninterruptable (blocked) state.
 
 
 'x'	- Used by xmon interface on ppc/powerpc platforms.
 'x'	- Used by xmon interface on ppc/powerpc platforms.
+          Show global PMU Registers on sparc64.
 
 
 'y'	- Show global CPU Registers [SPARC-64 specific]
 'y'	- Show global CPU Registers [SPARC-64 specific]
 
 

+ 23 - 1
MAINTAINERS

@@ -235,6 +235,7 @@ F:	drivers/platform/x86/acer-wmi.c
 
 
 ACPI
 ACPI
 M:	Len Brown <lenb@kernel.org>
 M:	Len Brown <lenb@kernel.org>
+M:	Rafael J. Wysocki <rjw@sisk.pl>
 L:	linux-acpi@vger.kernel.org
 L:	linux-acpi@vger.kernel.org
 W:	http://www.lesswatts.org/projects/acpi/
 W:	http://www.lesswatts.org/projects/acpi/
 Q:	http://patchwork.kernel.org/project/linux-acpi/list/
 Q:	http://patchwork.kernel.org/project/linux-acpi/list/
@@ -4372,7 +4373,7 @@ F:	Documentation/scsi/53c700.txt
 F:	drivers/scsi/53c700*
 F:	drivers/scsi/53c700*
 
 
 LED SUBSYSTEM
 LED SUBSYSTEM
-M:	Bryan Wu <bryan.wu@canonical.com>
+M:	Bryan Wu <cooloney@gmail.com>
 M:	Richard Purdie <rpurdie@rpsys.net>
 M:	Richard Purdie <rpurdie@rpsys.net>
 L:	linux-leds@vger.kernel.org
 L:	linux-leds@vger.kernel.org
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds.git
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds.git
@@ -5019,6 +5020,20 @@ F:	net/ipv6/
 F:	include/net/ip*
 F:	include/net/ip*
 F:	arch/x86/net/*
 F:	arch/x86/net/*
 
 
+NETWORKING [IPSEC]
+M:	Steffen Klassert <steffen.klassert@secunet.com>
+M:	Herbert Xu <herbert@gondor.apana.org.au>
+M:	"David S. Miller" <davem@davemloft.net>
+L:	netdev@vger.kernel.org
+T:	git git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
+S:	Maintained
+F:	net/xfrm/
+F:	net/key/
+F:	net/ipv4/xfrm*
+F:	net/ipv6/xfrm*
+F:	include/uapi/linux/xfrm.h
+F:	include/net/xfrm.h
+
 NETWORKING [LABELED] (NetLabel, CIPSO, Labeled IPsec, SECMARK)
 NETWORKING [LABELED] (NetLabel, CIPSO, Labeled IPsec, SECMARK)
 M:	Paul Moore <paul@paul-moore.com>
 M:	Paul Moore <paul@paul-moore.com>
 L:	netdev@vger.kernel.org
 L:	netdev@vger.kernel.org
@@ -7731,6 +7746,13 @@ W:	http://www.ideasonboard.org/uvc/
 S:	Maintained
 S:	Maintained
 F:	drivers/media/usb/uvc/
 F:	drivers/media/usb/uvc/
 
 
+USB WEBCAM GADGET
+M:	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
+L:	linux-usb@vger.kernel.org
+S:	Maintained
+F:	drivers/usb/gadget/*uvc*.c
+F:	drivers/usb/gadget/webcam.c
+
 USB WIRELESS RNDIS DRIVER (rndis_wlan)
 USB WIRELESS RNDIS DRIVER (rndis_wlan)
 M:	Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
 M:	Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
 L:	linux-wireless@vger.kernel.org
 L:	linux-wireless@vger.kernel.org

+ 15 - 2
Makefile

@@ -1,7 +1,7 @@
 VERSION = 3
 VERSION = 3
 PATCHLEVEL = 7
 PATCHLEVEL = 7
 SUBLEVEL = 0
 SUBLEVEL = 0
-EXTRAVERSION = -rc1
+EXTRAVERSION = -rc2
 NAME = Terrified Chipmunk
 NAME = Terrified Chipmunk
 
 
 # *DOCUMENTATION*
 # *DOCUMENTATION*
@@ -437,7 +437,9 @@ endif
 PHONY += asm-generic
 PHONY += asm-generic
 asm-generic:
 asm-generic:
 	$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \
 	$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \
-	            obj=arch/$(SRCARCH)/include/generated/asm
+	            src=asm obj=arch/$(SRCARCH)/include/generated/asm
+	$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \
+	            src=uapi/asm obj=arch/$(SRCARCH)/include/generated/uapi/asm
 
 
 # To make sure we do not include .config for any of the *config targets
 # To make sure we do not include .config for any of the *config targets
 # catch them early, and hand them over to scripts/kconfig/Makefile
 # catch them early, and hand them over to scripts/kconfig/Makefile
@@ -717,6 +719,17 @@ endif # INSTALL_MOD_STRIP
 export mod_strip_cmd
 export mod_strip_cmd
 
 
 
 
+ifeq ($(CONFIG_MODULE_SIG),y)
+MODSECKEY = ./signing_key.priv
+MODPUBKEY = ./signing_key.x509
+export MODPUBKEY
+mod_sign_cmd = perl $(srctree)/scripts/sign-file $(MODSECKEY) $(MODPUBKEY)
+else
+mod_sign_cmd = true
+endif
+export mod_sign_cmd
+
+
 ifeq ($(KBUILD_EXTMOD),)
 ifeq ($(KBUILD_EXTMOD),)
 core-y		+= kernel/ mm/ fs/ ipc/ security/ crypto/ block/
 core-y		+= kernel/ mm/ fs/ ipc/ security/ crypto/ block/
 
 

+ 2 - 0
arch/arm/boot/dts/Makefile

@@ -25,6 +25,8 @@ dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
 	exynos4210-trats.dtb \
 	exynos4210-trats.dtb \
 	exynos5250-smdk5250.dtb
 	exynos5250-smdk5250.dtb
 dtb-$(CONFIG_ARCH_HIGHBANK) += highbank.dtb
 dtb-$(CONFIG_ARCH_HIGHBANK) += highbank.dtb
+dtb-$(CONFIG_ARCH_INTEGRATOR) += integratorap.dtb \
+	integratorcp.dtb
 dtb-$(CONFIG_ARCH_LPC32XX) += ea3250.dtb phy3250.dtb
 dtb-$(CONFIG_ARCH_LPC32XX) += ea3250.dtb phy3250.dtb
 dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-dns320.dtb \
 dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-dns320.dtb \
 	kirkwood-dns325.dtb \
 	kirkwood-dns325.dtb \

+ 32 - 17
arch/arm/boot/dts/dove.dtsi

@@ -4,21 +4,32 @@
 	compatible = "marvell,dove";
 	compatible = "marvell,dove";
 	model = "Marvell Armada 88AP510 SoC";
 	model = "Marvell Armada 88AP510 SoC";
 
 
-	interrupt-parent = <&intc>;
-
-	intc: interrupt-controller {
-		compatible = "marvell,orion-intc";
-		interrupt-controller;
-		#interrupt-cells = <1>;
-		reg = <0xf1020204 0x04>,
-		      <0xf1020214 0x04>;
-	};
-
-	mbus@f1000000 {
+	soc@f1000000 {
 		compatible = "simple-bus";
 		compatible = "simple-bus";
-		ranges = <0 0xf1000000 0x4000000>;
 		#address-cells = <1>;
 		#address-cells = <1>;
 		#size-cells = <1>;
 		#size-cells = <1>;
+		interrupt-parent = <&intc>;
+
+		ranges = <0xc8000000 0xc8000000 0x0100000   /* CESA SRAM   1M */
+		          0xe0000000 0xe0000000 0x8000000   /* PCIe0 Mem 128M */
+		          0xe8000000 0xe8000000 0x8000000   /* PCIe1 Mem 128M */
+		          0xf0000000 0xf0000000 0x0100000   /* ScratchPad  1M */
+		          0x00000000 0xf1000000 0x1000000   /* SB/NB regs 16M */
+		          0xf2000000 0xf2000000 0x0100000   /* PCIe0 I/O   1M */
+		          0xf2100000 0xf2100000 0x0100000   /* PCIe0 I/O   1M */
+		          0xf8000000 0xf8000000 0x8000000>; /* BootROM   128M */
+
+		l2: l2-cache {
+			compatible = "marvell,tauros2-cache";
+			marvell,tauros2-cache-features = <0>;
+		};
+
+		intc: interrupt-controller {
+			compatible = "marvell,orion-intc";
+			interrupt-controller;
+			#interrupt-cells = <1>;
+			reg = <0x20204 0x04>, <0x20214 0x04>;
+		};
 
 
 		uart0: serial@12000 {
 		uart0: serial@12000 {
 			compatible = "ns16550a";
 			compatible = "ns16550a";
@@ -56,11 +67,6 @@
 			status = "disabled";
 			status = "disabled";
 		};
 		};
 
 
-		wdt: wdt@20300 {
-			compatible = "marvell,orion-wdt";
-			reg = <0x20300 0x28>;
-		};
-
 		gpio0: gpio@d0400 {
 		gpio0: gpio@d0400 {
 			compatible = "marvell,orion-gpio";
 			compatible = "marvell,orion-gpio";
 			#gpio-cells = <2>;
 			#gpio-cells = <2>;
@@ -139,5 +145,14 @@
 			nr-ports = <1>;
 			nr-ports = <1>;
 			status = "disabled";
 			status = "disabled";
 		};
 		};
+
+		crypto: crypto@30000 {
+			compatible = "marvell,orion-crypto";
+			reg = <0x30000 0x10000>,
+			      <0xc8000000 0x800>;
+			reg-names = "regs", "sram";
+			interrupts = <31>;
+			status = "okay";
+		};
 	};
 	};
 };
 };

+ 9 - 1
arch/arm/boot/dts/imx6q-arm2.dts

@@ -37,6 +37,13 @@
 					pinctrl_hog: hoggrp {
 					pinctrl_hog: hoggrp {
 						fsl,pins = <
 						fsl,pins = <
 							176  0x80000000	/* MX6Q_PAD_EIM_D25__GPIO_3_25 */
 							176  0x80000000	/* MX6Q_PAD_EIM_D25__GPIO_3_25 */
+						>;
+					};
+				};
+
+				arm2 {
+					pinctrl_usdhc3_arm2: usdhc3grp-arm2 {
+						fsl,pins = <
 							1363 0x80000000	/* MX6Q_PAD_NANDF_CS0__GPIO_6_11 */
 							1363 0x80000000	/* MX6Q_PAD_NANDF_CS0__GPIO_6_11 */
 							1369 0x80000000 /* MX6Q_PAD_NANDF_CS1__GPIO_6_14 */
 							1369 0x80000000 /* MX6Q_PAD_NANDF_CS1__GPIO_6_14 */
 						>;
 						>;
@@ -58,7 +65,8 @@
 				wp-gpios = <&gpio6 14 0>;
 				wp-gpios = <&gpio6 14 0>;
 				vmmc-supply = <&reg_3p3v>;
 				vmmc-supply = <&reg_3p3v>;
 				pinctrl-names = "default";
 				pinctrl-names = "default";
-				pinctrl-0 = <&pinctrl_usdhc3_1>;
+				pinctrl-0 = <&pinctrl_usdhc3_1
+					     &pinctrl_usdhc3_arm2>;
 				status = "okay";
 				status = "okay";
 			};
 			};
 
 

+ 10 - 8
arch/arm/boot/dts/kirkwood-lsxl.dtsi

@@ -48,17 +48,19 @@
 		#size-cells = <0>;
 		#size-cells = <0>;
 		button@1 {
 		button@1 {
 			label = "Function Button";
 			label = "Function Button";
-			linux,code = <132>;
+			linux,code = <357>;
 			gpios = <&gpio1 9 1>;
 			gpios = <&gpio1 9 1>;
 		};
 		};
 		button@2 {
 		button@2 {
 			label = "Power-on Switch";
 			label = "Power-on Switch";
-			linux,code = <116>;
+			linux,code = <0>;
+			linux,input-type = <5>;
 			gpios = <&gpio1 10 1>;
 			gpios = <&gpio1 10 1>;
 		};
 		};
 		button@3 {
 		button@3 {
 			label = "Power-auto Switch";
 			label = "Power-auto Switch";
-			linux,code = <142>;
+			linux,code = <1>;
+			linux,input-type = <5>;
 			gpios = <&gpio1 11 1>;
 			gpios = <&gpio1 11 1>;
 		};
 		};
 	};
 	};
@@ -67,28 +69,28 @@
 		compatible = "gpio-leds";
 		compatible = "gpio-leds";
 
 
 		led@1 {
 		led@1 {
-			label = "lschlv2:blue:func";
+			label = "lsxl:blue:func";
 			gpios = <&gpio1 4 1>;
 			gpios = <&gpio1 4 1>;
 		};
 		};
 
 
 		led@2 {
 		led@2 {
-			label = "lschlv2:red:alarm";
+			label = "lsxl:red:alarm";
 			gpios = <&gpio1 5 1>;
 			gpios = <&gpio1 5 1>;
 		};
 		};
 
 
 		led@3 {
 		led@3 {
-			label = "lschlv2:amber:info";
+			label = "lsxl:amber:info";
 			gpios = <&gpio1 6 1>;
 			gpios = <&gpio1 6 1>;
 		};
 		};
 
 
 		led@4 {
 		led@4 {
-			label = "lschlv2:blue:power";
+			label = "lsxl:blue:power";
 			gpios = <&gpio1 7 1>;
 			gpios = <&gpio1 7 1>;
 			linux,default-trigger = "default-on";
 			linux,default-trigger = "default-on";
 		};
 		};
 
 
 		led@5 {
 		led@5 {
-			label = "lschlv2:red:func";
+			label = "lsxl:red:func";
 			gpios = <&gpio1 16 1>;
 			gpios = <&gpio1 16 1>;
 		};
 		};
 	};
 	};

+ 2 - 2
arch/arm/boot/dts/wm8505.dtsi

@@ -71,13 +71,13 @@
 		ehci@d8007100 {
 		ehci@d8007100 {
 			compatible = "via,vt8500-ehci";
 			compatible = "via,vt8500-ehci";
 			reg = <0xd8007100 0x200>;
 			reg = <0xd8007100 0x200>;
-			interrupts = <43>;
+			interrupts = <1>;
 		};
 		};
 
 
 		uhci@d8007300 {
 		uhci@d8007300 {
 			compatible = "platform-uhci";
 			compatible = "platform-uhci";
 			reg = <0xd8007300 0x200>;
 			reg = <0xd8007300 0x200>;
-			interrupts = <43>;
+			interrupts = <0>;
 		};
 		};
 
 
 		fb@d8050800 {
 		fb@d8050800 {

+ 2 - 2
arch/arm/kernel/entry-common.S

@@ -88,9 +88,9 @@ ENTRY(ret_from_fork)
 	bl	schedule_tail
 	bl	schedule_tail
 	cmp	r5, #0
 	cmp	r5, #0
 	movne	r0, r4
 	movne	r0, r4
-	movne	lr, pc
+	adrne	lr, BSYM(1f)
 	movne	pc, r5
 	movne	pc, r5
-	get_thread_info tsk
+1:	get_thread_info tsk
 	b	ret_slow_syscall
 	b	ret_slow_syscall
 ENDPROC(ret_from_fork)
 ENDPROC(ret_from_fork)
 
 

+ 4 - 4
arch/arm/mach-dove/common.c

@@ -32,6 +32,7 @@
 #include <linux/irq.h>
 #include <linux/irq.h>
 #include <plat/time.h>
 #include <plat/time.h>
 #include <linux/platform_data/usb-ehci-orion.h>
 #include <linux/platform_data/usb-ehci-orion.h>
+#include <plat/irq.h>
 #include <plat/common.h>
 #include <plat/common.h>
 #include <plat/addr-map.h>
 #include <plat/addr-map.h>
 #include "common.h"
 #include "common.h"
@@ -109,8 +110,8 @@ static void __init dove_clk_init(void)
 
 
 	orion_clkdev_add(NULL, "orion-ehci.0", usb0);
 	orion_clkdev_add(NULL, "orion-ehci.0", usb0);
 	orion_clkdev_add(NULL, "orion-ehci.1", usb1);
 	orion_clkdev_add(NULL, "orion-ehci.1", usb1);
-	orion_clkdev_add(NULL, "mv643xx_eth.0", ge);
-	orion_clkdev_add("0", "sata_mv.0", sata);
+	orion_clkdev_add(NULL, "mv643xx_eth_port.0", ge);
+	orion_clkdev_add(NULL, "sata_mv.0", sata);
 	orion_clkdev_add("0", "pcie", pex0);
 	orion_clkdev_add("0", "pcie", pex0);
 	orion_clkdev_add("1", "pcie", pex1);
 	orion_clkdev_add("1", "pcie", pex1);
 	orion_clkdev_add(NULL, "sdhci-dove.0", sdio0);
 	orion_clkdev_add(NULL, "sdhci-dove.0", sdio0);
@@ -399,7 +400,7 @@ static void __init dove_dt_init(void)
 		(dove_tclk + 499999) / 1000000);
 		(dove_tclk + 499999) / 1000000);
 
 
 #ifdef CONFIG_CACHE_TAUROS2
 #ifdef CONFIG_CACHE_TAUROS2
-	tauros2_init();
+	tauros2_init(0);
 #endif
 #endif
 	dove_setup_cpu_mbus();
 	dove_setup_cpu_mbus();
 
 
@@ -415,7 +416,6 @@ static void __init dove_dt_init(void)
 	dove_ehci0_init();
 	dove_ehci0_init();
 	dove_ehci1_init();
 	dove_ehci1_init();
 	dove_pcie_init(1, 1);
 	dove_pcie_init(1, 1);
-	dove_crypto_init();
 
 
 	of_platform_populate(NULL, of_default_bus_match_table,
 	of_platform_populate(NULL, of_default_bus_match_table,
 			     dove_auxdata_lookup, NULL);
 			     dove_auxdata_lookup, NULL);

+ 5 - 0
arch/arm/mach-dove/pcie.c

@@ -10,6 +10,7 @@
 
 
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/pci.h>
 #include <linux/pci.h>
+#include <linux/clk.h>
 #include <video/vga.h>
 #include <video/vga.h>
 #include <asm/mach/pci.h>
 #include <asm/mach/pci.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/arch.h>
@@ -188,6 +189,10 @@ static void __init add_pcie_port(int index, void __iomem *base)
 
 
 	if (orion_pcie_link_up(base)) {
 	if (orion_pcie_link_up(base)) {
 		struct pcie_port *pp = &pcie_port[num_pcie_ports++];
 		struct pcie_port *pp = &pcie_port[num_pcie_ports++];
+		struct clk *clk = clk_get_sys("pcie", (index ? "1" : "0"));
+
+		if (!IS_ERR(clk))
+			clk_prepare_enable(clk);
 
 
 		printk(KERN_INFO "link up\n");
 		printk(KERN_INFO "link up\n");
 
 

+ 0 - 2
arch/arm/mach-kirkwood/board-dt.c

@@ -51,9 +51,7 @@ static void __init kirkwood_dt_init(void)
 
 
 	kirkwood_setup_cpu_mbus();
 	kirkwood_setup_cpu_mbus();
 
 
-#ifdef CONFIG_CACHE_FEROCEON_L2
 	kirkwood_l2_init();
 	kirkwood_l2_init();
-#endif
 
 
 	/* Setup root of clk tree */
 	/* Setup root of clk tree */
 	kirkwood_clk_init();
 	kirkwood_clk_init();

+ 2 - 2
arch/arm/mach-kirkwood/common.c

@@ -633,6 +633,7 @@ char * __init kirkwood_id(void)
 
 
 void __init kirkwood_l2_init(void)
 void __init kirkwood_l2_init(void)
 {
 {
+#ifdef CONFIG_CACHE_FEROCEON_L2
 #ifdef CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH
 #ifdef CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH
 	writel(readl(L2_CONFIG_REG) | L2_WRITETHROUGH, L2_CONFIG_REG);
 	writel(readl(L2_CONFIG_REG) | L2_WRITETHROUGH, L2_CONFIG_REG);
 	feroceon_l2_init(1);
 	feroceon_l2_init(1);
@@ -640,6 +641,7 @@ void __init kirkwood_l2_init(void)
 	writel(readl(L2_CONFIG_REG) & ~L2_WRITETHROUGH, L2_CONFIG_REG);
 	writel(readl(L2_CONFIG_REG) & ~L2_WRITETHROUGH, L2_CONFIG_REG);
 	feroceon_l2_init(0);
 	feroceon_l2_init(0);
 #endif
 #endif
+#endif
 }
 }
 
 
 void __init kirkwood_init(void)
 void __init kirkwood_init(void)
@@ -657,9 +659,7 @@ void __init kirkwood_init(void)
 
 
 	kirkwood_setup_cpu_mbus();
 	kirkwood_setup_cpu_mbus();
 
 
-#ifdef CONFIG_CACHE_FEROCEON_L2
 	kirkwood_l2_init();
 	kirkwood_l2_init();
-#endif
 
 
 	/* Setup root of clk tree */
 	/* Setup root of clk tree */
 	kirkwood_clk_init();
 	kirkwood_clk_init();

+ 1 - 1
arch/arm/mach-omap2/clock44xx_data.c

@@ -3294,7 +3294,7 @@ static struct omap_clk omap44xx_clks[] = {
 	CLK(NULL,	"auxclk5_src_ck",		&auxclk5_src_ck,	CK_443X),
 	CLK(NULL,	"auxclk5_src_ck",		&auxclk5_src_ck,	CK_443X),
 	CLK(NULL,	"auxclk5_ck",			&auxclk5_ck,	CK_443X),
 	CLK(NULL,	"auxclk5_ck",			&auxclk5_ck,	CK_443X),
 	CLK(NULL,	"auxclkreq5_ck",		&auxclkreq5_ck,	CK_443X),
 	CLK(NULL,	"auxclkreq5_ck",		&auxclkreq5_ck,	CK_443X),
-	CLK(NULL,	"gpmc_ck",			&dummy_ck,	CK_443X),
+	CLK("omap-gpmc",	"fck",				&dummy_ck,	CK_443X),
 	CLK("omap_i2c.1",	"ick",				&dummy_ck,	CK_443X),
 	CLK("omap_i2c.1",	"ick",				&dummy_ck,	CK_443X),
 	CLK("omap_i2c.2",	"ick",				&dummy_ck,	CK_443X),
 	CLK("omap_i2c.2",	"ick",				&dummy_ck,	CK_443X),
 	CLK("omap_i2c.3",	"ick",				&dummy_ck,	CK_443X),
 	CLK("omap_i2c.3",	"ick",				&dummy_ck,	CK_443X),

+ 11 - 4
arch/arm/mach-omap2/clockdomain.c

@@ -925,15 +925,18 @@ static int _clkdm_clk_hwmod_enable(struct clockdomain *clkdm)
 	if (!clkdm || !arch_clkdm || !arch_clkdm->clkdm_clk_enable)
 	if (!clkdm || !arch_clkdm || !arch_clkdm->clkdm_clk_enable)
 		return -EINVAL;
 		return -EINVAL;
 
 
+	spin_lock_irqsave(&clkdm->lock, flags);
+
 	/*
 	/*
 	 * For arch's with no autodeps, clkcm_clk_enable
 	 * For arch's with no autodeps, clkcm_clk_enable
 	 * should be called for every clock instance or hwmod that is
 	 * should be called for every clock instance or hwmod that is
 	 * enabled, so the clkdm can be force woken up.
 	 * enabled, so the clkdm can be force woken up.
 	 */
 	 */
-	if ((atomic_inc_return(&clkdm->usecount) > 1) && autodeps)
+	if ((atomic_inc_return(&clkdm->usecount) > 1) && autodeps) {
+		spin_unlock_irqrestore(&clkdm->lock, flags);
 		return 0;
 		return 0;
+	}
 
 
-	spin_lock_irqsave(&clkdm->lock, flags);
 	arch_clkdm->clkdm_clk_enable(clkdm);
 	arch_clkdm->clkdm_clk_enable(clkdm);
 	pwrdm_state_switch(clkdm->pwrdm.ptr);
 	pwrdm_state_switch(clkdm->pwrdm.ptr);
 	spin_unlock_irqrestore(&clkdm->lock, flags);
 	spin_unlock_irqrestore(&clkdm->lock, flags);
@@ -950,15 +953,19 @@ static int _clkdm_clk_hwmod_disable(struct clockdomain *clkdm)
 	if (!clkdm || !arch_clkdm || !arch_clkdm->clkdm_clk_disable)
 	if (!clkdm || !arch_clkdm || !arch_clkdm->clkdm_clk_disable)
 		return -EINVAL;
 		return -EINVAL;
 
 
+	spin_lock_irqsave(&clkdm->lock, flags);
+
 	if (atomic_read(&clkdm->usecount) == 0) {
 	if (atomic_read(&clkdm->usecount) == 0) {
+		spin_unlock_irqrestore(&clkdm->lock, flags);
 		WARN_ON(1); /* underflow */
 		WARN_ON(1); /* underflow */
 		return -ERANGE;
 		return -ERANGE;
 	}
 	}
 
 
-	if (atomic_dec_return(&clkdm->usecount) > 0)
+	if (atomic_dec_return(&clkdm->usecount) > 0) {
+		spin_unlock_irqrestore(&clkdm->lock, flags);
 		return 0;
 		return 0;
+	}
 
 
-	spin_lock_irqsave(&clkdm->lock, flags);
 	arch_clkdm->clkdm_clk_disable(clkdm);
 	arch_clkdm->clkdm_clk_disable(clkdm);
 	pwrdm_state_switch(clkdm->pwrdm.ptr);
 	pwrdm_state_switch(clkdm->pwrdm.ptr);
 	spin_unlock_irqrestore(&clkdm->lock, flags);
 	spin_unlock_irqrestore(&clkdm->lock, flags);

+ 1 - 1
arch/arm/mach-omap2/devices.c

@@ -341,7 +341,7 @@ static void __init omap_init_dmic(void)
 
 
 	oh = omap_hwmod_lookup("dmic");
 	oh = omap_hwmod_lookup("dmic");
 	if (!oh) {
 	if (!oh) {
-		printk(KERN_ERR "Could not look up mcpdm hw_mod\n");
+		pr_err("Could not look up dmic hw_mod\n");
 		return;
 		return;
 	}
 	}
 
 

+ 19 - 5
arch/arm/mach-omap2/gpmc.c

@@ -868,9 +868,9 @@ static void __devexit gpmc_mem_exit(void)
 
 
 }
 }
 
 
-static void __devinit gpmc_mem_init(void)
+static int __devinit gpmc_mem_init(void)
 {
 {
-	int cs;
+	int cs, rc;
 	unsigned long boot_rom_space = 0;
 	unsigned long boot_rom_space = 0;
 
 
 	/* never allocate the first page, to facilitate bug detection;
 	/* never allocate the first page, to facilitate bug detection;
@@ -890,13 +890,21 @@ static void __devinit gpmc_mem_init(void)
 		if (!gpmc_cs_mem_enabled(cs))
 		if (!gpmc_cs_mem_enabled(cs))
 			continue;
 			continue;
 		gpmc_cs_get_memconf(cs, &base, &size);
 		gpmc_cs_get_memconf(cs, &base, &size);
-		if (gpmc_cs_insert_mem(cs, base, size) < 0)
-			BUG();
+		rc = gpmc_cs_insert_mem(cs, base, size);
+		if (IS_ERR_VALUE(rc)) {
+			while (--cs >= 0)
+				if (gpmc_cs_mem_enabled(cs))
+					gpmc_cs_delete_mem(cs);
+			return rc;
+		}
 	}
 	}
+
+	return 0;
 }
 }
 
 
 static __devinit int gpmc_probe(struct platform_device *pdev)
 static __devinit int gpmc_probe(struct platform_device *pdev)
 {
 {
+	int rc;
 	u32 l;
 	u32 l;
 	struct resource *res;
 	struct resource *res;
 
 
@@ -936,7 +944,13 @@ static __devinit int gpmc_probe(struct platform_device *pdev)
 	dev_info(gpmc_dev, "GPMC revision %d.%d\n", GPMC_REVISION_MAJOR(l),
 	dev_info(gpmc_dev, "GPMC revision %d.%d\n", GPMC_REVISION_MAJOR(l),
 		 GPMC_REVISION_MINOR(l));
 		 GPMC_REVISION_MINOR(l));
 
 
-	gpmc_mem_init();
+	rc = gpmc_mem_init();
+	if (IS_ERR_VALUE(rc)) {
+		clk_disable_unprepare(gpmc_l3_clk);
+		clk_put(gpmc_l3_clk);
+		dev_err(gpmc_dev, "failed to reserve memory\n");
+		return rc;
+	}
 
 
 	if (IS_ERR_VALUE(gpmc_setup_irq()))
 	if (IS_ERR_VALUE(gpmc_setup_irq()))
 		dev_warn(gpmc_dev, "gpmc_setup_irq failed\n");
 		dev_warn(gpmc_dev, "gpmc_setup_irq failed\n");

+ 1 - 1
arch/arm/mach-omap2/timer.c

@@ -467,7 +467,7 @@ OMAP_SYS_TIMER(3_am33xx)
 #ifdef CONFIG_ARCH_OMAP4
 #ifdef CONFIG_ARCH_OMAP4
 #ifdef CONFIG_LOCAL_TIMERS
 #ifdef CONFIG_LOCAL_TIMERS
 static DEFINE_TWD_LOCAL_TIMER(twd_local_timer,
 static DEFINE_TWD_LOCAL_TIMER(twd_local_timer,
-			      OMAP44XX_LOCAL_TWD_BASE, 29 + OMAP_INTC_START);
+			      OMAP44XX_LOCAL_TWD_BASE, 29);
 #endif
 #endif
 
 
 static void __init omap4_timer_init(void)
 static void __init omap4_timer_init(void)

+ 0 - 13
arch/arm/mach-prima2/include/mach/gpio.h

@@ -1,13 +0,0 @@
-#ifndef __MACH_GPIO_H
-#define __MACH_GPIO_H
-
-/* Pull up/down values */
-enum sirfsoc_gpio_pull {
-	SIRFSOC_GPIO_PULL_NONE,
-	SIRFSOC_GPIO_PULL_UP,
-	SIRFSOC_GPIO_PULL_DOWN,
-};
-
-void sirfsoc_gpio_set_pull(unsigned gpio, unsigned mode);
-
-#endif

+ 1 - 1
arch/arm/mach-s3c24xx/clock-s3c2440.c

@@ -163,7 +163,7 @@ static struct clk_lookup s3c2440_clk_lookup[] = {
 	CLKDEV_INIT(NULL, "clk_uart_baud3", &s3c2440_clk_fclk_n),
 	CLKDEV_INIT(NULL, "clk_uart_baud3", &s3c2440_clk_fclk_n),
 };
 };
 
 
-static int s3c2440_clk_add(struct device *dev, struct subsys_interface *sif)
+static int __init_refok s3c2440_clk_add(struct device *dev, struct subsys_interface *sif)
 {
 {
 	struct clk *clock_upll;
 	struct clk *clock_upll;
 	struct clk *clock_h;
 	struct clk *clock_h;

+ 1 - 1
arch/arm/mach-shmobile/board-armadillo800eva.c

@@ -1196,7 +1196,7 @@ static void __init eva_init(void)
 
 
 #ifdef CONFIG_CACHE_L2X0
 #ifdef CONFIG_CACHE_L2X0
 	/* Early BRESP enable, Shared attribute override enable, 32K*8way */
 	/* Early BRESP enable, Shared attribute override enable, 32K*8way */
-	l2x0_init(__io(0xf0002000), 0x40440000, 0x82000fff);
+	l2x0_init(IOMEM(0xf0002000), 0x40440000, 0x82000fff);
 #endif
 #endif
 
 
 	i2c_register_board_info(0, i2c0_devices, ARRAY_SIZE(i2c0_devices));
 	i2c_register_board_info(0, i2c0_devices, ARRAY_SIZE(i2c0_devices));

+ 11 - 11
arch/arm/mach-shmobile/clock-r8a7779.c

@@ -24,17 +24,17 @@
 #include <linux/clkdev.h>
 #include <linux/clkdev.h>
 #include <mach/common.h>
 #include <mach/common.h>
 
 
-#define FRQMR   0xffc80014
-#define MSTPCR0 0xffc80030
-#define MSTPCR1 0xffc80034
-#define MSTPCR3 0xffc8003c
-#define MSTPSR1 0xffc80044
-#define MSTPSR4 0xffc80048
-#define MSTPSR6 0xffc8004c
-#define MSTPCR4 0xffc80050
-#define MSTPCR5 0xffc80054
-#define MSTPCR6 0xffc80058
-#define MSTPCR7 0xffc80040
+#define FRQMR		IOMEM(0xffc80014)
+#define MSTPCR0		IOMEM(0xffc80030)
+#define MSTPCR1		IOMEM(0xffc80034)
+#define MSTPCR3		IOMEM(0xffc8003c)
+#define MSTPSR1		IOMEM(0xffc80044)
+#define MSTPSR4		IOMEM(0xffc80048)
+#define MSTPSR6		IOMEM(0xffc8004c)
+#define MSTPCR4		IOMEM(0xffc80050)
+#define MSTPCR5		IOMEM(0xffc80054)
+#define MSTPCR6		IOMEM(0xffc80058)
+#define MSTPCR7		IOMEM(0xffc80040)
 
 
 /* ioremap() through clock mapping mandatory to avoid
 /* ioremap() through clock mapping mandatory to avoid
  * collision with ARM coherent DMA virtual memory range.
  * collision with ARM coherent DMA virtual memory range.

+ 1 - 1
arch/arm/mach-tegra/board-dt-tegra20.c

@@ -182,7 +182,7 @@ DT_MACHINE_START(TEGRA_DT, "nVidia Tegra20 (Flattened Device Tree)")
 	.init_early	= tegra20_init_early,
 	.init_early	= tegra20_init_early,
 	.init_irq	= tegra_dt_init_irq,
 	.init_irq	= tegra_dt_init_irq,
 	.handle_irq	= gic_handle_irq,
 	.handle_irq	= gic_handle_irq,
-	.timer		= &tegra_timer,
+	.timer		= &tegra_sys_timer,
 	.init_machine	= tegra_dt_init,
 	.init_machine	= tegra_dt_init,
 	.init_late	= tegra_dt_init_late,
 	.init_late	= tegra_dt_init_late,
 	.restart	= tegra_assert_system_reset,
 	.restart	= tegra_assert_system_reset,

+ 1 - 1
arch/arm/mach-tegra/board-dt-tegra30.c

@@ -89,7 +89,7 @@ DT_MACHINE_START(TEGRA30_DT, "NVIDIA Tegra30 (Flattened Device Tree)")
 	.init_early	= tegra30_init_early,
 	.init_early	= tegra30_init_early,
 	.init_irq	= tegra_dt_init_irq,
 	.init_irq	= tegra_dt_init_irq,
 	.handle_irq	= gic_handle_irq,
 	.handle_irq	= gic_handle_irq,
-	.timer		= &tegra_timer,
+	.timer		= &tegra_sys_timer,
 	.init_machine	= tegra30_dt_init,
 	.init_machine	= tegra30_dt_init,
 	.init_late	= tegra_init_late,
 	.init_late	= tegra_init_late,
 	.restart	= tegra_assert_system_reset,
 	.restart	= tegra_assert_system_reset,

+ 1 - 1
arch/arm/mach-tegra/board.h

@@ -55,5 +55,5 @@ static inline int harmony_pcie_init(void) { return 0; }
 
 
 void __init tegra_paz00_wifikill_init(void);
 void __init tegra_paz00_wifikill_init(void);
 
 
-extern struct sys_timer tegra_timer;
+extern struct sys_timer tegra_sys_timer;
 #endif
 #endif

+ 1 - 0
arch/arm/mach-tegra/tegra20_clocks_data.c

@@ -953,6 +953,7 @@ PERIPH_CLK(pcie_xclk,	NULL,		  "pcie_xclk",  74,     0,	26000000,  mux_clk_m,
 static struct clk *tegra_list_clks[] = {
 static struct clk *tegra_list_clks[] = {
 	&tegra_apbdma,
 	&tegra_apbdma,
 	&tegra_rtc,
 	&tegra_rtc,
+	&tegra_timer,
 	&tegra_i2s1,
 	&tegra_i2s1,
 	&tegra_i2s2,
 	&tegra_i2s2,
 	&tegra_spdif_out,
 	&tegra_spdif_out,

+ 1 - 1
arch/arm/mach-tegra/tegra30_clocks.c

@@ -1199,7 +1199,7 @@ static long tegra30_pll_round_rate(struct clk_hw *hw, unsigned long rate,
 {
 {
 	struct clk_tegra *c = to_clk_tegra(hw);
 	struct clk_tegra *c = to_clk_tegra(hw);
 	unsigned long input_rate = *prate;
 	unsigned long input_rate = *prate;
-	unsigned long output_rate = *prate;
+	u64 output_rate = *prate;
 	const struct clk_pll_freq_table *sel;
 	const struct clk_pll_freq_table *sel;
 	struct clk_pll_freq_table cfg;
 	struct clk_pll_freq_table cfg;
 	int mul;
 	int mul;

+ 1 - 0
arch/arm/mach-tegra/tegra30_clocks_data.c

@@ -1143,6 +1143,7 @@ struct clk *tegra_list_clks[] = {
 	&tegra_apbdma,
 	&tegra_apbdma,
 	&tegra_rtc,
 	&tegra_rtc,
 	&tegra_kbc,
 	&tegra_kbc,
+	&tegra_timer,
 	&tegra_kfuse,
 	&tegra_kfuse,
 	&tegra_fuse,
 	&tegra_fuse,
 	&tegra_fuse_burn,
 	&tegra_fuse_burn,

+ 1 - 1
arch/arm/mach-tegra/timer.c

@@ -245,7 +245,7 @@ static void __init tegra_init_timer(void)
 	register_persistent_clock(NULL, tegra_read_persistent_clock);
 	register_persistent_clock(NULL, tegra_read_persistent_clock);
 }
 }
 
 
-struct sys_timer tegra_timer = {
+struct sys_timer tegra_sys_timer = {
 	.init = tegra_init_timer,
 	.init = tegra_init_timer,
 };
 };
 
 

+ 1 - 0
arch/arm/plat-omap/debug-devices.c

@@ -16,6 +16,7 @@
 #include <linux/smc91x.h>
 #include <linux/smc91x.h>
 
 
 #include <mach/hardware.h>
 #include <mach/hardware.h>
+#include "../mach-omap2/debug-devices.h"
 
 
 /* Many OMAP development platforms reuse the same "debug board"; these
 /* Many OMAP development platforms reuse the same "debug board"; these
  * platforms include H2, H3, H4, and Perseus2.
  * platforms include H2, H3, H4, and Perseus2.

+ 1 - 0
arch/arm64/Kconfig

@@ -22,6 +22,7 @@ config ARM64
 	select HAVE_PERF_EVENTS
 	select HAVE_PERF_EVENTS
 	select HAVE_SPARSE_IRQ
 	select HAVE_SPARSE_IRQ
 	select IRQ_DOMAIN
 	select IRQ_DOMAIN
+	select MODULES_USE_ELF_RELA
 	select NO_BOOTMEM
 	select NO_BOOTMEM
 	select OF
 	select OF
 	select OF_EARLY_FLATTREE
 	select OF_EARLY_FLATTREE

+ 0 - 1
arch/arm64/include/asm/Kbuild

@@ -18,7 +18,6 @@ generic-y += ipcbuf.h
 generic-y += irq_regs.h
 generic-y += irq_regs.h
 generic-y += kdebug.h
 generic-y += kdebug.h
 generic-y += kmap_types.h
 generic-y += kmap_types.h
-generic-y += linkage.h
 generic-y += local.h
 generic-y += local.h
 generic-y += local64.h
 generic-y += local64.h
 generic-y += mman.h
 generic-y += mman.h

+ 7 - 0
arch/arm64/include/asm/linkage.h

@@ -0,0 +1,7 @@
+#ifndef __ASM_LINKAGE_H
+#define __ASM_LINKAGE_H
+
+#define __ALIGN		.align 4
+#define __ALIGN_STR	".align 4"
+
+#endif

+ 0 - 10
arch/arm64/include/asm/processor.h

@@ -92,30 +92,20 @@ static inline void start_thread_common(struct pt_regs *regs, unsigned long pc)
 static inline void start_thread(struct pt_regs *regs, unsigned long pc,
 static inline void start_thread(struct pt_regs *regs, unsigned long pc,
 				unsigned long sp)
 				unsigned long sp)
 {
 {
-	unsigned long *stack = (unsigned long *)sp;
-
 	start_thread_common(regs, pc);
 	start_thread_common(regs, pc);
 	regs->pstate = PSR_MODE_EL0t;
 	regs->pstate = PSR_MODE_EL0t;
 	regs->sp = sp;
 	regs->sp = sp;
-	regs->regs[2] = stack[2];	/* x2 (envp) */
-	regs->regs[1] = stack[1];	/* x1 (argv) */
-	regs->regs[0] = stack[0];	/* x0 (argc) */
 }
 }
 
 
 #ifdef CONFIG_COMPAT
 #ifdef CONFIG_COMPAT
 static inline void compat_start_thread(struct pt_regs *regs, unsigned long pc,
 static inline void compat_start_thread(struct pt_regs *regs, unsigned long pc,
 				       unsigned long sp)
 				       unsigned long sp)
 {
 {
-	unsigned int *stack = (unsigned int *)sp;
-
 	start_thread_common(regs, pc);
 	start_thread_common(regs, pc);
 	regs->pstate = COMPAT_PSR_MODE_USR;
 	regs->pstate = COMPAT_PSR_MODE_USR;
 	if (pc & 1)
 	if (pc & 1)
 		regs->pstate |= COMPAT_PSR_T_BIT;
 		regs->pstate |= COMPAT_PSR_T_BIT;
 	regs->compat_sp = sp;
 	regs->compat_sp = sp;
-	regs->regs[2] = stack[2];	/* x2 (envp) */
-	regs->regs[1] = stack[1];	/* x1 (argv) */
-	regs->regs[0] = stack[0];	/* x0 (argc) */
 }
 }
 #endif
 #endif
 
 

+ 2 - 1
arch/arm64/include/uapi/asm/ptrace.h

@@ -79,13 +79,14 @@ struct user_fpsimd_state {
 
 
 struct user_hwdebug_state {
 struct user_hwdebug_state {
 	__u32		dbg_info;
 	__u32		dbg_info;
+	__u32		pad;
 	struct {
 	struct {
 		__u64	addr;
 		__u64	addr;
 		__u32	ctrl;
 		__u32	ctrl;
+		__u32	pad;
 	}		dbg_regs[16];
 	}		dbg_regs[16];
 };
 };
 
 
-
 #endif /* __ASSEMBLY__ */
 #endif /* __ASSEMBLY__ */
 
 
 #endif /* _UAPI__ASM_PTRACE_H */
 #endif /* _UAPI__ASM_PTRACE_H */

+ 51 - 22
arch/arm64/kernel/ptrace.c

@@ -234,28 +234,33 @@ static int ptrace_hbp_fill_attr_ctrl(unsigned int note_type,
 				     struct arch_hw_breakpoint_ctrl ctrl,
 				     struct arch_hw_breakpoint_ctrl ctrl,
 				     struct perf_event_attr *attr)
 				     struct perf_event_attr *attr)
 {
 {
-	int err, len, type;
+	int err, len, type, disabled = !ctrl.enabled;
 
 
-	err = arch_bp_generic_fields(ctrl, &len, &type);
-	if (err)
-		return err;
-
-	switch (note_type) {
-	case NT_ARM_HW_BREAK:
-		if ((type & HW_BREAKPOINT_X) != type)
-			return -EINVAL;
-		break;
-	case NT_ARM_HW_WATCH:
-		if ((type & HW_BREAKPOINT_RW) != type)
+	if (disabled) {
+		len = 0;
+		type = HW_BREAKPOINT_EMPTY;
+	} else {
+		err = arch_bp_generic_fields(ctrl, &len, &type);
+		if (err)
+			return err;
+
+		switch (note_type) {
+		case NT_ARM_HW_BREAK:
+			if ((type & HW_BREAKPOINT_X) != type)
+				return -EINVAL;
+			break;
+		case NT_ARM_HW_WATCH:
+			if ((type & HW_BREAKPOINT_RW) != type)
+				return -EINVAL;
+			break;
+		default:
 			return -EINVAL;
 			return -EINVAL;
-		break;
-	default:
-		return -EINVAL;
+		}
 	}
 	}
 
 
 	attr->bp_len	= len;
 	attr->bp_len	= len;
 	attr->bp_type	= type;
 	attr->bp_type	= type;
-	attr->disabled	= !ctrl.enabled;
+	attr->disabled	= disabled;
 
 
 	return 0;
 	return 0;
 }
 }
@@ -372,7 +377,7 @@ static int ptrace_hbp_set_addr(unsigned int note_type,
 
 
 #define PTRACE_HBP_ADDR_SZ	sizeof(u64)
 #define PTRACE_HBP_ADDR_SZ	sizeof(u64)
 #define PTRACE_HBP_CTRL_SZ	sizeof(u32)
 #define PTRACE_HBP_CTRL_SZ	sizeof(u32)
-#define PTRACE_HBP_REG_OFF	sizeof(u32)
+#define PTRACE_HBP_PAD_SZ	sizeof(u32)
 
 
 static int hw_break_get(struct task_struct *target,
 static int hw_break_get(struct task_struct *target,
 			const struct user_regset *regset,
 			const struct user_regset *regset,
@@ -380,7 +385,7 @@ static int hw_break_get(struct task_struct *target,
 			void *kbuf, void __user *ubuf)
 			void *kbuf, void __user *ubuf)
 {
 {
 	unsigned int note_type = regset->core_note_type;
 	unsigned int note_type = regset->core_note_type;
-	int ret, idx = 0, offset = PTRACE_HBP_REG_OFF, limit;
+	int ret, idx = 0, offset, limit;
 	u32 info, ctrl;
 	u32 info, ctrl;
 	u64 addr;
 	u64 addr;
 
 
@@ -389,11 +394,20 @@ static int hw_break_get(struct task_struct *target,
 	if (ret)
 	if (ret)
 		return ret;
 		return ret;
 
 
-	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &info, 0, 4);
+	ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &info, 0,
+				  sizeof(info));
+	if (ret)
+		return ret;
+
+	/* Pad */
+	offset = offsetof(struct user_hwdebug_state, pad);
+	ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, offset,
+				       offset + PTRACE_HBP_PAD_SZ);
 	if (ret)
 	if (ret)
 		return ret;
 		return ret;
 
 
 	/* (address, ctrl) registers */
 	/* (address, ctrl) registers */
+	offset = offsetof(struct user_hwdebug_state, dbg_regs);
 	limit = regset->n * regset->size;
 	limit = regset->n * regset->size;
 	while (count && offset < limit) {
 	while (count && offset < limit) {
 		ret = ptrace_hbp_get_addr(note_type, target, idx, &addr);
 		ret = ptrace_hbp_get_addr(note_type, target, idx, &addr);
@@ -413,6 +427,13 @@ static int hw_break_get(struct task_struct *target,
 		if (ret)
 		if (ret)
 			return ret;
 			return ret;
 		offset += PTRACE_HBP_CTRL_SZ;
 		offset += PTRACE_HBP_CTRL_SZ;
+
+		ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf,
+					       offset,
+					       offset + PTRACE_HBP_PAD_SZ);
+		if (ret)
+			return ret;
+		offset += PTRACE_HBP_PAD_SZ;
 		idx++;
 		idx++;
 	}
 	}
 
 
@@ -425,12 +446,13 @@ static int hw_break_set(struct task_struct *target,
 			const void *kbuf, const void __user *ubuf)
 			const void *kbuf, const void __user *ubuf)
 {
 {
 	unsigned int note_type = regset->core_note_type;
 	unsigned int note_type = regset->core_note_type;
-	int ret, idx = 0, offset = PTRACE_HBP_REG_OFF, limit;
+	int ret, idx = 0, offset, limit;
 	u32 ctrl;
 	u32 ctrl;
 	u64 addr;
 	u64 addr;
 
 
-	/* Resource info */
-	ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 0, 4);
+	/* Resource info and pad */
+	offset = offsetof(struct user_hwdebug_state, dbg_regs);
+	ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 0, offset);
 	if (ret)
 	if (ret)
 		return ret;
 		return ret;
 
 
@@ -454,6 +476,13 @@ static int hw_break_set(struct task_struct *target,
 		if (ret)
 		if (ret)
 			return ret;
 			return ret;
 		offset += PTRACE_HBP_CTRL_SZ;
 		offset += PTRACE_HBP_CTRL_SZ;
+
+		ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
+						offset,
+						offset + PTRACE_HBP_PAD_SZ);
+		if (ret)
+			return ret;
+		offset += PTRACE_HBP_PAD_SZ;
 		idx++;
 		idx++;
 	}
 	}
 
 

+ 12 - 0
arch/arm64/kernel/setup.c

@@ -170,7 +170,19 @@ static void __init setup_machine_fdt(phys_addr_t dt_phys)
 
 
 void __init early_init_dt_add_memory_arch(u64 base, u64 size)
 void __init early_init_dt_add_memory_arch(u64 base, u64 size)
 {
 {
+	base &= PAGE_MASK;
 	size &= PAGE_MASK;
 	size &= PAGE_MASK;
+	if (base + size < PHYS_OFFSET) {
+		pr_warning("Ignoring memory block 0x%llx - 0x%llx\n",
+			   base, base + size);
+		return;
+	}
+	if (base < PHYS_OFFSET) {
+		pr_warning("Ignoring memory range 0x%llx - 0x%llx\n",
+			   base, PHYS_OFFSET);
+		size -= PHYS_OFFSET - base;
+		base = PHYS_OFFSET;
+	}
 	memblock_add(base, size);
 	memblock_add(base, size);
 }
 }
 
 

+ 0 - 1
arch/arm64/kernel/smp.c

@@ -46,7 +46,6 @@
 #include <asm/sections.h>
 #include <asm/sections.h>
 #include <asm/tlbflush.h>
 #include <asm/tlbflush.h>
 #include <asm/ptrace.h>
 #include <asm/ptrace.h>
-#include <asm/mmu_context.h>
 
 
 /*
 /*
  * as from 2.5, kernels no longer have an init_tasks structure
  * as from 2.5, kernels no longer have an init_tasks structure

+ 10 - 10
arch/arm64/kernel/vdso.c

@@ -28,6 +28,7 @@
 #include <linux/sched.h>
 #include <linux/sched.h>
 #include <linux/signal.h>
 #include <linux/signal.h>
 #include <linux/slab.h>
 #include <linux/slab.h>
+#include <linux/timekeeper_internal.h>
 #include <linux/vmalloc.h>
 #include <linux/vmalloc.h>
 
 
 #include <asm/cacheflush.h>
 #include <asm/cacheflush.h>
@@ -222,11 +223,10 @@ struct vm_area_struct *get_gate_vma(struct mm_struct *mm)
 /*
 /*
  * Update the vDSO data page to keep in sync with kernel timekeeping.
  * Update the vDSO data page to keep in sync with kernel timekeeping.
  */
  */
-void update_vsyscall(struct timespec *ts, struct timespec *wtm,
-		     struct clocksource *clock, u32 mult)
+void update_vsyscall(struct timekeeper *tk)
 {
 {
 	struct timespec xtime_coarse;
 	struct timespec xtime_coarse;
-	u32 use_syscall = strcmp(clock->name, "arch_sys_counter");
+	u32 use_syscall = strcmp(tk->clock->name, "arch_sys_counter");
 
 
 	++vdso_data->tb_seq_count;
 	++vdso_data->tb_seq_count;
 	smp_wmb();
 	smp_wmb();
@@ -237,13 +237,13 @@ void update_vsyscall(struct timespec *ts, struct timespec *wtm,
 	vdso_data->xtime_coarse_nsec		= xtime_coarse.tv_nsec;
 	vdso_data->xtime_coarse_nsec		= xtime_coarse.tv_nsec;
 
 
 	if (!use_syscall) {
 	if (!use_syscall) {
-		vdso_data->cs_cycle_last	= clock->cycle_last;
-		vdso_data->xtime_clock_sec	= ts->tv_sec;
-		vdso_data->xtime_clock_nsec	= ts->tv_nsec;
-		vdso_data->cs_mult		= mult;
-		vdso_data->cs_shift		= clock->shift;
-		vdso_data->wtm_clock_sec	= wtm->tv_sec;
-		vdso_data->wtm_clock_nsec	= wtm->tv_nsec;
+		vdso_data->cs_cycle_last	= tk->clock->cycle_last;
+		vdso_data->xtime_clock_sec	= tk->xtime_sec;
+		vdso_data->xtime_clock_nsec	= tk->xtime_nsec >> tk->shift;
+		vdso_data->cs_mult		= tk->mult;
+		vdso_data->cs_shift		= tk->shift;
+		vdso_data->wtm_clock_sec	= tk->wall_to_monotonic.tv_sec;
+		vdso_data->wtm_clock_nsec	= tk->wall_to_monotonic.tv_nsec;
 	}
 	}
 
 
 	smp_wmb();
 	smp_wmb();

+ 2 - 2
arch/frv/kernel/entry.S

@@ -867,8 +867,8 @@ ret_from_fork:
 ret_from_kernel_thread:
 ret_from_kernel_thread:
 	lddi.p		@(gr28,#REG_GR(8)),gr20
 	lddi.p		@(gr28,#REG_GR(8)),gr20
 	call		schedule_tail
 	call		schedule_tail
-	or.p		gr20,gr20,gr8
-	calll		@(gr21,gr0)
+	calll.p		@(gr21,gr0)
+	or		gr20,gr20,gr8
 	bra		sys_exit
 	bra		sys_exit
 
 
 	.globl		ret_from_kernel_execve
 	.globl		ret_from_kernel_execve

+ 1 - 1
arch/frv/kernel/process.c

@@ -194,7 +194,7 @@ int copy_thread(unsigned long clone_flags,
 		memset(childregs, 0, sizeof(struct pt_regs));
 		memset(childregs, 0, sizeof(struct pt_regs));
 		childregs->gr9 = usp; /* function */
 		childregs->gr9 = usp; /* function */
 		childregs->gr8 = arg;
 		childregs->gr8 = arg;
-		chilregs->psr = PSR_S;
+		childregs->psr = PSR_S;
 		p->thread.pc = (unsigned long) ret_from_kernel_thread;
 		p->thread.pc = (unsigned long) ret_from_kernel_thread;
 		save_user_regs(p->thread.user);
 		save_user_regs(p->thread.user);
 		return 0;
 		return 0;

+ 2 - 0
arch/frv/kernel/setup.c

@@ -112,9 +112,11 @@ char __initdata redboot_command_line[COMMAND_LINE_SIZE];
 #ifdef CONFIG_PM
 #ifdef CONFIG_PM
 #define __pminit
 #define __pminit
 #define __pminitdata
 #define __pminitdata
+#define __pminitconst
 #else
 #else
 #define __pminit __init
 #define __pminit __init
 #define __pminitdata __initdata
 #define __pminitdata __initdata
+#define __pminitconst __initconst
 #endif
 #endif
 
 
 struct clock_cmode {
 struct clock_cmode {

+ 0 - 3
arch/hexagon/include/asm/Kbuild

@@ -1,8 +1,5 @@
-include include/asm-generic/Kbuild.asm
 
 
-header-y += registers.h
 header-y += ucontext.h
 header-y += ucontext.h
-header-y += user.h
 
 
 generic-y += auxvec.h
 generic-y += auxvec.h
 generic-y += bug.h
 generic-y += bug.h

+ 1 - 1
arch/hexagon/include/asm/atomic.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Atomic operations for the Hexagon architecture
  * Atomic operations for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify

+ 1 - 1
arch/hexagon/include/asm/barrier.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Memory barrier definitions for the Hexagon architecture
  * Memory barrier definitions for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/bitops.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Bit operations for the Hexagon architecture
  * Bit operations for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify

+ 1 - 1
arch/hexagon/include/asm/cache.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Cache definitions for the Hexagon architecture
  * Cache definitions for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/cacheflush.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Cache flush operations for the Hexagon architecture
  * Cache flush operations for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/checksum.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/cmpxchg.h

@@ -1,7 +1,7 @@
 /*
 /*
  * xchg/cmpxchg operations for the Hexagon architecture
  * xchg/cmpxchg operations for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify

+ 1 - 1
arch/hexagon/include/asm/delay.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/dma-mapping.h

@@ -1,7 +1,7 @@
 /*
 /*
  * DMA operations for the Hexagon architecture
  * DMA operations for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/dma.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/elf.h

@@ -1,7 +1,7 @@
 /*
 /*
  * ELF definitions for the Hexagon architecture
  * ELF definitions for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/exec.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Process execution related definitions for the Hexagon architecture
  * Process execution related definitions for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/fixmap.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Fixmap support for Hexagon - enough to support highmem features
  * Fixmap support for Hexagon - enough to support highmem features
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/hexagon_vm.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Declarations for to Hexagon Virtal Machine.
  * Declarations for to Hexagon Virtal Machine.
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/intrinsics.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/io.h

@@ -1,7 +1,7 @@
 /*
 /*
  * IO definitions for the Hexagon architecture
  * IO definitions for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/irq.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/irqflags.h

@@ -1,7 +1,7 @@
 /*
 /*
  * IRQ support for the Hexagon architecture
  * IRQ support for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/kgdb.h

@@ -1,7 +1,7 @@
 /*
 /*
  * arch/hexagon/include/asm/kgdb.h - Hexagon KGDB Support
  * arch/hexagon/include/asm/kgdb.h - Hexagon KGDB Support
  *
  *
- * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/linkage.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/mem-layout.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Memory layout definitions for the Hexagon architecture
  * Memory layout definitions for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/mmu.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/mmu_context.h

@@ -1,7 +1,7 @@
 /*
 /*
  * MM context support for the Hexagon architecture
  * MM context support for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/module.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/page.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Page management definitions for the Hexagon architecture
  * Page management definitions for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/perf_event.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/pgalloc.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Page table support for the Hexagon architecture
  * Page table support for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/pgtable.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Page table support for the Hexagon architecture
  * Page table support for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/processor.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Process/processor support for the Hexagon architecture
  * Process/processor support for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/smp.h

@@ -1,7 +1,7 @@
 /*
 /*
  * SMP definitions for the Hexagon architecture
  * SMP definitions for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/spinlock.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Spinlock support for the Hexagon architecture
  * Spinlock support for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify

+ 1 - 1
arch/hexagon/include/asm/spinlock_types.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Spinlock support for the Hexagon architecture
  * Spinlock support for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/string.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/suspend.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/switch_to.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Task switching definitions for the Hexagon architecture
  * Task switching definitions for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/syscall.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Syscall support for the Hexagon architecture
  * Syscall support for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/thread_info.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Thread support for the Hexagon architecture
  * Thread support for the Hexagon architecture
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/time.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/timer-regs.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Timer support for Hexagon
  * Timer support for Hexagon
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/timex.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/tlb.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/tlbflush.h

@@ -1,7 +1,7 @@
 /*
 /*
  * TLB flush support for Hexagon
  * TLB flush support for Hexagon
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/traps.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Trap support for Hexagon
  * Trap support for Hexagon
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/uaccess.h

@@ -1,7 +1,7 @@
 /*
 /*
  * User memory access support for Hexagon
  * User memory access support for Hexagon
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/vdso.h

@@ -1,7 +1,7 @@
 /*
 /*
  * vDSO implementation for Hexagon
  * vDSO implementation for Hexagon
  *
  *
- * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/vm_fault.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/vm_mmu.h

@@ -1,7 +1,7 @@
 /*
 /*
  * Hexagon VM page table entry definitions
  * Hexagon VM page table entry definitions
  *
  *
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 12 - 0
arch/hexagon/include/uapi/asm/Kbuild

@@ -1,3 +1,15 @@
 # UAPI Header export list
 # UAPI Header export list
 include include/uapi/asm-generic/Kbuild.asm
 include include/uapi/asm-generic/Kbuild.asm
 
 
+header-y += bitsperlong.h
+header-y += byteorder.h
+header-y += kvm_para.h
+header-y += param.h
+header-y += ptrace.h
+header-y += registers.h
+header-y += setup.h
+header-y += sigcontext.h
+header-y += signal.h
+header-y += swab.h
+header-y += unistd.h
+header-y += user.h

+ 1 - 1
arch/hexagon/include/asm/bitsperlong.h → arch/hexagon/include/uapi/asm/bitsperlong.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 1 - 1
arch/hexagon/include/asm/byteorder.h → arch/hexagon/include/uapi/asm/byteorder.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  *
  *
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
  * it under the terms of the GNU General Public License version 2 and

+ 0 - 0
arch/hexagon/include/asm/kvm_para.h → arch/hexagon/include/uapi/asm/kvm_para.h


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio