1. 20 8月, 2014 2 次提交
    • M
      arm64: configs: Enable X-Gene SATA and ethernet in defconfig · 49d947fa
      Mark Brown 提交于
      Currently when run on an APM platform the ARMv8 defconfig has no viable
      options for rootfs other than ramdisk which is rather limiting. Since
      we already have both SATA and the bits needed for NFS root enabled we just
      need to enable the relevant drivers so do that, helping enable direct
      testing of upstream.
      
      If the configuration ends up becoming too big we can consider modularising
      some of the drivers and asking people to use an initramfs but for now this
      is not an issue.
      Signed-off-by: NMark Brown <broonie@linaro.org>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      49d947fa
    • A
      arm64: align randomized TEXT_OFFSET on 4 kB boundary · 4190312b
      Ard Biesheuvel 提交于
      When booting via UEFI, the kernel Image is loaded at a 4 kB boundary and
      the embedded EFI stub is executed in place. The EFI stub relocates the
      Image to reside TEXT_OFFSET bytes above a 2 MB boundary, and jumps into
      the kernel proper.
      
      In AArch64, PC relative symbol references are emitted using adrp/add or
      adrp/ldr pairs, where the offset into a 4 kB page is resolved using a
      separate :lo12: relocation. This implicitly assumes that the code will
      always be executed at the same relative offset with respect to a 4 kB
      boundary, or the references will point to the wrong address.
      
      This means we should link the kernel at a 4 kB aligned base address in
      order to remain compatible with the base address the UEFI loader uses
      when doing the initial load of Image. So update the code that generates
      TEXT_OFFSET to choose a multiple of 4 kB.
      
      At the same time, update the code so it chooses from the interval [0..2MB)
      as the author originally intended.
      Reviewed-by: NMark Rutland <mark.rutland@arm.com>
      Signed-off-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      4190312b
  2. 19 8月, 2014 3 次提交
  3. 17 8月, 2014 1 次提交
  4. 16 8月, 2014 34 次提交