1. 12 2月, 2013 2 次提交
  2. 11 2月, 2013 1 次提交
  3. 30 1月, 2013 7 次提交
  4. 23 1月, 2013 4 次提交
    • C
      arm64: Add simple earlyprintk support · 2475ff9d
      Catalin Marinas 提交于
      This patch adds support for "earlyprintk=" parameter on the kernel
      command line. The format is:
      
        earlyprintk=<name>[,<addr>][,<options>]
      
      where <name> is the name of the (UART) device, e.g. "pl011", <addr> is
      the I/O address. The <options> aren't currently used.
      
      The mapping of the earlyprintk device is done very early during kernel
      boot and there are restrictions on which functions it can call. A
      special early_io_map() function is added which creates the mapping from
      the pre-defined EARLY_IOBASE to the device I/O address passed via the
      kernel parameter. The pgd entry corresponding to EARLY_IOBASE is
      pre-populated in head.S during kernel boot.
      
      Only PL011 is currently supported and it is assumed that the interface
      is already initialised by the boot loader before the kernel is started.
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      2475ff9d
    • C
      arm64: Populate the platform devices · d6bafb9b
      Catalin Marinas 提交于
      This patch add a device_initcall() to populate the platform devices
      (of_default_bus_match_table). This allows SoC implementations that do
      not require earlier initcalls to avoid any platform-specific code under
      arch/arm64.
      
      GIC and generic timer initialisation is done via FDT and CPU notifiers
      independently of the SoC code.
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      d6bafb9b
    • W
      arm64: makefile: fix uname munging when setting ARCH on native machine · f1b99392
      Will Deacon 提交于
      By popular demand, arch/aarch64 is now known as arch/arm64. However,
      uname -m (and indeed the GNU triplet) still use aarch64 as the machine
      string.
      
      This patch fixes native builds of both the kernel and perf tools by
      updating the relevant Makefiles to munge the output of uname -m and
      set the ARCH variable appropriately.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      f1b99392
    • W
      arm64: elf: fix core dumping to match what glibc expects · 9cf2b72b
      Will Deacon 提交于
      The kernel's internal definition of ELF_NGREG uses struct pt_regs, which
      means that we disagree with userspace on the size of coredumps since
      glibc correctly uses the user-visible struct user_pt_regs.
      
      This patch fixes our ELF_NGREG definition to use struct user_pt_regs
      and introduces our own ELF_CORE_COPY_REGS to convert between the user
      and kernel structure definitions.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      9cf2b72b
  5. 18 1月, 2013 2 次提交
  6. 17 1月, 2013 22 次提交
  7. 16 1月, 2013 2 次提交