1. 30 Jul, 2015 1 commit
  2. 28 Jul, 2015 2 commits
  3. 27 Jul, 2015 5 commits
  4. 24 Jul, 2015 4 commits
  5. 23 Jul, 2015 8 commits
  6. 22 Jul, 2015 2 commits
    • Peter Griffin's avatar
      ARM: STi: Remove platform call to trace_hardirqs_off() · 50de4dd4
      Peter Griffin authored
      Calling trace_hardirqs_off() from the platform specific
      secondary startup code as not been necessary since Dec 2010
      when Russell King consolidated the call into the common SMP
      code.
      
      2c0136db ARM: SMP: consolidate trace_hardirqs_off() into common SMP code
      Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
      Signed-off-by: default avatarMaxime Coquelin <maxime.coquelin@st.com>
      50de4dd4
    • Peter Griffin's avatar
      ARM: STi: Add code to release secondary cores from holding pen. · 94a8cfce
      Peter Griffin authored
      Most upstream devs boot STi platform via JTAG which abuses the
      boot process by setting the PC of secondary cores directly. As
      a consquence, booting STi platforms via u-boot results in only
      the primary core being brought up as the code to manage the
      holding pen is not upstream.
      
      This patch adds the necessary code to bring the secondary cores
      out of the holding pen. It uses the cpu-release-addr DT property
      to get the address of the holding pen from the bootloader.
      
      With this patch booting upstream kernels via u-boot works
      correctly:
      
      [    0.045456] CPU: Testing write buffer coherency: ok
      [    0.045597] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
      [    0.045734] Setting up static identity map for 0x40209000 - 0x40209098
      [    0.065047] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
      [    0.065081] Brought up 2 CPUs
      [    0.065089] SMP: Total of 2 processors activated (5983.43 BogoMIPS).
      [    0.065092] CPU: All CPU(s) started in SVC mode.
      Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
      Acked-by: default avatarMaxime Coquelin <maxime.coquelin@st.com>
      Signed-off-by: default avatarMaxime Coquelin <maxime.coquelin@st.com>
      94a8cfce
  7. 20 Jul, 2015 1 commit
  8. 18 Jul, 2015 3 commits
    • Vaishali Thakkar's avatar
      ARM: pxa: Use setup_timer · 6d6db340
      Vaishali Thakkar authored
      Use the timer API function setup_timer instead of structure field
      assignments to initialize a timer.
      
      A simplified version of the Coccinelle semantic patch that performs
      this transformation is as follows:
      
      @change@
      expression e1, e2, a;
      @@
      
      -init_timer(&e1);
      +setup_timer(&e1, a, 0UL);
      ... when != a = e2
      -e1.function = a;
      Signed-off-by: default avatarVaishali Thakkar <vthakkar1994@gmail.com>
      Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      6d6db340
    • Vaishali Thakkar's avatar
      ARM: pxa: Use module_platform_driver · 9754c8ef
      Vaishali Thakkar authored
      Use module_platform_driver for drivers whose init and exit functions
      only register and unregister, respectively.
      
      A simplified version of the Coccinelle semantic patch that performs
      this transformation is as follows:
      
      @A@
      identifier f, x;
      @@
      -static f(...) { return platform_driver_register(&x); }
      
      @b depends on a@
      identifier e, a.x;
      @@
      -static e(...) { platform_driver_unregister(&x); }
      
      @c depends on a && b@
      identifier a.f;
      declarer name module_init;
      @@
      -module_init(f);
      
      @d depends on a && b && c@
      identifier b.e, a.x;
      declarer name module_exit;
      declarer name module_platform_driver;
      @@
      -module_exit(e);
      +module_platform_driver(x);
      Signed-off-by: default avatarVaishali Thakkar <vthakkar1994@gmail.com>
      Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      9754c8ef
    • Robert Jarzmik's avatar
      ARM: pxa: transition to dmaengine phase 1 · 4be0856f
      Robert Jarzmik authored
      In order to slowly transition pxa to dmaengine, the legacy code will now
      rely on dmaengine to request a channel.
      
      This implies that PXA architecture selects DMADEVICES and PXA_DMA,
      which is not pretty. Yet it enables PXA drivers to be ported one by one,
      with part of them using dmaengine, and the other part using the legacy
      code.
      Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      4be0856f
  9. 17 Jul, 2015 1 commit
  10. 16 Jul, 2015 12 commits
  11. 15 Jul, 2015 1 commit