Skip to content
  1. May 07, 2014
    • Peter Robinson's avatar
      ARM: dts: Only build OMAP dtb if associated SoC is built · ae774090
      Peter Robinson authored
      
      
      With ARCH_OMAP2PLUS being separated out into OMAP2/3/4/5 etc all the TI device
      tree blobs are built no matter the combination of SoCs that are enabled. This
      often causes a bunch of irrelevant .dts to be built on a multi platform kernel,
      this enables the building of just the ones relevant to the SoCs that are
      actually enabled. It also orders the dts file alphabetically.
      
      This also helps to avoid trivial merge conflicts when adding support
      for new boards.
      
      [tony@atomide.com: updated the order for am335x and am43x, moved am3517 to omap3]
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      ae774090
  2. Apr 28, 2014
    • Mark Salter's avatar
      arm: KVM: fix possible misalignment of PGDs and bounce page · 5d4e08c4
      Mark Salter authored
      
      
      The kvm/mmu code shared by arm and arm64 uses kalloc() to allocate
      a bounce page (if hypervisor init code crosses page boundary) and
      hypervisor PGDs. The problem is that kalloc() does not guarantee
      the proper alignment. In the case of the bounce page, the page sized
      buffer allocated may also cross a page boundary negating the purpose
      and leading to a hang during kvm initialization. Likewise the PGDs
      allocated may not meet the minimum alignment requirements of the
      underlying MMU. This patch uses __get_free_page() to guarantee the
      worst case alignment needs of the bounce page and PGDs on both arm
      and arm64.
      
      Cc: <stable@vger.kernel.org> # 3.10+
      Signed-off-by: default avatarMark Salter <msalter@redhat.com>
      Acked-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
      5d4e08c4
  3. Apr 26, 2014
  4. Apr 25, 2014
  5. Apr 24, 2014
  6. Apr 23, 2014
  7. Apr 22, 2014
    • Jeff Layton's avatar
      locks: rename file-private locks to "open file description locks" · 0d3f7a2d
      Jeff Layton authored
      File-private locks have been merged into Linux for v3.15, and *now*
      people are commenting that the name and macro definitions for the new
      file-private locks suck.
      
      ...and I can't even disagree. The names and command macros do suck.
      
      We're going to have to live with these for a long time, so it's
      important that we be happy with the names before we're stuck with them.
      The consensus on the lists so far is that they should be rechristened as
      "open file description locks".
      
      The name isn't a big deal for the kernel, but the command macros are not
      visually distinct enough from the traditional POSIX lock macros. The
      glibc and documentation folks are recommending that we change them to
      look like F_OFD_{GETLK|SETLK|SETLKW}. That lessens the chance that a
      programmer will typo one of the commands wrong, and also makes it easier
      to spot this difference when reading code.
      
      This patch makes the following changes that I think are necessary before
      v3.15 shi...
      0d3f7a2d
    • Soren Brinkmann's avatar
    • Soren Brinkmann's avatar
      ARM: zynq: DT: Add 'clock-latency' property · b2bf5d48
      Soren Brinkmann authored
      
      
      Specify the 'clock-latency' property to avoid certain cpufreq governors
      from refusing to work with the following error:
        ondemand governor failed, too long transition latency of HW, fallback to performance governor
      
      Reported-by: default avatarMike Looijmans <mike.looijmans@topic.nl>
      Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
      Tested-by: default avatarMike Looijmans <mike.looijmans@topic.nl>
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      b2bf5d48
    • Tony Lindgren's avatar
      ARM: OMAP2+: Fix oops for GPMC free · efe80723
      Tony Lindgren authored
      
      
      If gpmc_cs_remap() fails we will get an error because we are calling
      release_resource() on an uninitialized resource. Let's fix that by
      checking the resource flags. And while at it, let's also make
      gpmc_cs_delete_mem() use the res pointer that we already have to
      avoid confusion.
      
      Without this patch we can get the following error:
      
      omap-gpmc 6e000000.gpmc: cannot remap GPMC CS 1 to 0x01000300
      Unable to handle kernel NULL pointer dereference at virtual address 00000018
      ...
      (gpmc_cs_free+0x94/0xc8)
      (gpmc_probe_generic_child+0x178/0x1ec)
      (gpmc_probe_dt+0x1bc/0x2cc)
      (gpmc_probe+0x250/0x44c)
      (platform_drv_probe+0x3c/0x6c)
      (really_probe+0x74/0x208)
      (driver_probe_device+0x34/0x50)
      (bus_for_each_drv+0x60/0x8c)
      (device_attach+0x80/0xa4)
      (bus_probe_device+0x88/0xb0)
      (device_add+0x320/0x450)
      (of_platform_device_create_pdata+0x80/0x9c)
      (of_platform_bus_create+0xd0/0x170)
      (of_platform_bus_create+0x12c/0x170)
      (of_platform_populate+0x60/0x98)
      (pdata_quirks_init+0x30/0x48)
      (customize_machine+0x20/0x48)
      (do_one_initcall+0x2c/0x14c)
      (do_basic_setup+0x98/0xd8)
      (kernel_init_freeable+0x12c/0x1e0)
      (kernel_init+0x8/0xf0)
      (ret_from_fork+0x14/0x2c)
      Code: e1a04000 e59f0070 eb195136 e5942010 (e5923018)
      
      Cc: Pekon Gupta <pekon@ti.com>
      Reviewed-by: default avatarJavier Martinez Canillas <javier@dowhile0.org>
      Signed-off-by: default avatartony Lindgren <tony@atomide.com>
      efe80723
  8. Apr 19, 2014