1. 29 6月, 2015 1 次提交
    • R
      ARM: fix DEBUG_SET_MODULE_RONX build dependencies · e6ae32c3
      Russell King 提交于
      randconfig testing reveals that DEBUG_SET_MODULE_RONX needs to depend on
      MMU otherwise these build errors are observed:
      
      kernel/built-in.o: In function `set_section_ro_nx':
      kernel/module.c:1738: undefined reference to `set_memory_nx'
      kernel/built-in.o: In function `set_page_attributes':
      kernel/module.c:1709: undefined reference to `set_memory_ro'
      
      This is because the pageattr functions are not built for !MMU configs as
      they don't have page tables.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e6ae32c3
  2. 03 4月, 2015 2 次提交
  3. 28 3月, 2015 1 次提交
  4. 16 3月, 2015 1 次提交
  5. 12 3月, 2015 1 次提交
  6. 24 2月, 2015 2 次提交
  7. 28 1月, 2015 1 次提交
  8. 26 1月, 2015 2 次提交
  9. 22 1月, 2015 1 次提交
  10. 21 1月, 2015 8 次提交
  11. 20 1月, 2015 2 次提交
  12. 15 1月, 2015 1 次提交
  13. 14 1月, 2015 1 次提交
  14. 09 1月, 2015 2 次提交
  15. 28 11月, 2014 1 次提交
  16. 21 11月, 2014 1 次提交
  17. 20 11月, 2014 1 次提交
  18. 17 11月, 2014 1 次提交
    • G
      ARM: shmobile: Add early debugging support using SCIF(A) · 7a2071c5
      Geert Uytterhoeven 提交于
      Add serial port debug macros for the SCIF(A) serial ports.
      This includes all supported shmobile SoCs, except for EMEV2.
      
      The configuration logic (both Kconfig and #ifdef) is more complicated than
      one would expect, for several reasons:
        1. Not all SoCs have the same serial devices, and they're not always
           at the same addresses.
        2. There are two different types: SCIF and SCIFA. Fortunately they can
           easily be distinguished by physical address.
        3. Not all boards use the same serial port for the console.
           The defaults correspond to the boards that are supported in
           mainline. If you want to use a different serial port, just change
           the value of CONFIG_DEBUG_UART_PHYS, and the rest will auto-adapt.
        4. debug_ll_io_init() maps the SCIF(A) registers to a fixed virtual
           address. 0xfdxxxxxx was chosen, as it should lie below VMALLOC_END
           = 0xff000000, and must not conflict with the 2 MiB reserved region
           at PCI_IO_VIRT_BASE = 0xfee00000.
             - On SoCs not using the legacy machine_desc.map_io(),
      	 debug_ll_io_init() is called by the ARM core code.
             - On SoCs using the legacy machine_desc.map_io(),
      	 debug_ll_io_init() must be called explicitly. Calls are added
      	 for r8a7740, r8a7779, sh7372, and sh73a0.
      
      This was derived from the r8a7790 version by Laurent Pinchart.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Tested-by: NSimon Horman <horms+renesas@verge.net.au>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      7a2071c5
  19. 14 11月, 2014 1 次提交
  20. 08 11月, 2014 6 次提交
  21. 21 10月, 2014 2 次提交
    • M
      ARM: brcmstb: add debug UART for earlyprintk support · 81b43a6e
      Marc Carino 提交于
      Add the UART definitions needed to support earlyprintk on brcmstb machines.
      Signed-off-by: NMarc Carino <marc.ceeeee@gmail.com>
      Acked-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      81b43a6e
    • R
      ARM: pxa: fix hang on startup with DEBUG_LL · cde7fc87
      Robert Jarzmik 提交于
      The commit 2111667b ("ARM: pxa: call debug_ll_io_init for
      earlyprintk") triggers in the current kernel the attached backtrace on
      PXA/tosa early in the boot time when DEBUG_LL is enabled.
      
      It is due to overlap between uart virtual memory defined in
      DEBUG_UART_VIRT and mapped by debug_ll_io_init() and peripheral bus
      mapped by pxa_map_io at the same address, 0xf2100000.
      
      As hinted by Arnd, map early virtual memory for low level debug on
      address 0xf6200000, even if that means 2 virtual mappings will give
      access to the pxa internal UARTs (FFUART, BTUART, STUART, ...).
      
      ------------[ cut here ]------------
      kernel BUG at /home/lumag/linux/mm/vmalloc.c:1143!
      Internal error: Oops - BUG: 0 [#1] PREEMPT ARM
      Modules linked in:
      CPU: 0 PID: 0 Comm: swapper Not tainted 3.17.0-00032-g8e0d202-dirty #23
      task: c062a5a8 ti: c0620000 task.ti: c0620000
      PC is at vm_area_add_early+0x54/0x84
      LR is at add_static_vm_early+0xc/0x60
      pc : [<c03e1100>]    lr : [<c03d9ef4>]    psr: 800001d3
      sp : c0621f04  ip : c03efa74  fp : c03edf84
      r10: c0637e98  r9 : 40000001  r8 : c03da57c
      r7 : c3ffcfb0  r6 : 00000000  r5 : c3ffcfb0  r4 : 02000000
      r3 : c3ffcfd8  r2 : f2100000  r1 : f4000000  r0 : c3ffcfb0
      Flags: Nzcv  IRQs off  FIQs off  Mode SVC_32  ISA ARM  Segment kernel
      Control: 00007977  Table: a0004000  DAC: 00000017
      Process swapper (pid: 0, stack limit = 0xc06201c8)
      Stack: (0xc0621f04 to 0xc0622000)
      1f00:          c3ffcfd8 40000001 c3ffcfd8 c03ee08c c03da570 c03db90c c0637d24
      1f20: 00000000 c03ec7cc c066e654 a0700000 000a0700 c03db914 c03db90c c03daf84
      1f40: 00000000 000a0000 c0000000 c03ec7cc 000a0700 c0700000 ffff1000 000a3fff
      1f60: 00001000 00000007 00000000 c03ec7cc c0008000 c03ed748 c0621fd4 c03d5d18
      1f80: 69052d00 a03ec48c 00000000 c03d8ad0 0000006c 00007977 c036c6e8 00000001
      1fa0: c0621fd4 c03ed744 c0628000 a0004000 69052d00 a03ec48c 00000000 c03d68d4
      1fc0: 00000000 00000000 00000000 00000000 00000000 c03ed748 c0649894 c062801c
      1fe0: c03ed744 c062b2f0 a0004000 69052d00 a03ec48c a0008040 00000000 00000000
      [<c03e1100>] (vm_area_add_early) from [<c03d9ef4>] (add_static_vm_early+0xc/0x60)
      [<c03d9ef4>] (add_static_vm_early) from [<c03da570>] (iotable_init.part.6+0xa8/0xb4)
      [<c03da570>] (iotable_init.part.6) from [<c03db914>] (pxa25x_map_io+0x8/0x24)
      [<c03db914>] (pxa25x_map_io) from [<c03daf84>] (paging_init+0x744/0x8d8)
      [<c03daf84>] (paging_init) from [<c03d8ad0>] (setup_arch+0x354/0x608)
      [<c03d8ad0>] (setup_arch) from [<c03d68d4>] (start_kernel+0xa8/0x3dc)
      [<c03d68d4>] (start_kernel) from [<a0008040>] (0xa0008040)
      Code: e5904008 e0811004 e1520001 2a000005 (e7f001f2)
      ---[ end trace f24b6c88ae00fa9a ]---
      Kernel panic - not syncing: Attempted to kill the idle task!
      ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
      
      Cc: <stable@vger.kernel.org>
      Reported-by: NDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
      Signed-off-by: NRobert Jarzmik <robert.jarzmik@free.fr>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      cde7fc87
  22. 20 10月, 2014 1 次提交