Skip to content
Snippets Groups Projects
  1. Apr 30, 2017
  2. Apr 18, 2017
  3. Apr 05, 2017
  4. Feb 21, 2017
    • Andy Shevchenko's avatar
      x86: Intel MID platforms has no microcode update · 308c75e0
      Andy Shevchenko authored
      
      There is no microcode update available for SoCs used on Intel MID
      platforms.
      
      Use conditional to bypass it.
      
      Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      308c75e0
    • J. Tang's avatar
      x86: Force 32-bit jumps in interrupt handlers · 3c03f492
      J. Tang authored
      
      Depending upon the compiler used, IRQ entries could vary in sizes. With
      GCC 5.x, the code generator will use short jumps for some IRQ entries
      but near jumps for others. For example, GCC 5.4.0 generates the
      following:
      
      $ objdump -d interrupt.o
      <snip>
      00000207 <irq_18>:
      207:   6a 12                   push   $0x12
      209:   eb 85                   jmp    190 <irq_common_entry>
      
      0000020b <irq_19>:
      20b:   6a 13                   push   $0x13
      20d:   eb 81                   jmp    190 <irq_common_entry>
      
      0000020f <irq_20>:
      20f:   6a 14                   push   $0x14
      211:   e9 7a ff ff ff          jmp    190 <irq_common_entry>
      
      00000216 <irq_21>:
      216:   6a 15                   push   $0x15
      218:   e9 73 ff ff ff          jmp    190 <irq_common_entry>
      
      This causes a problem in cpu_init_interrupts(), because the IDT setup
      assumed same sizes for all IRQ entries. GCC 4.x always generated 32-bit
      jumps, so this previously was not a problem.
      
      The fix is to force 32-bit near jumps for all entries within the
      inline assembly. This works for GCC 5.x, and 4.x was already using
      that form of jumping.
      
      Signed-off-by: default avatarJason Tang <tang@jtang.org>
      Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
      3c03f492
  5. Feb 08, 2017
    • Simon Glass's avatar
      dm: core: Replace of_offset with accessor · e160f7d4
      Simon Glass authored
      
      At present devices use a simple integer offset to record the device tree
      node associated with the device. In preparation for supporting a live
      device tree, which uses a node pointer instead, refactor existing code to
      access this field through an inline function.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      e160f7d4
  6. Feb 07, 2017
  7. Feb 06, 2017
Loading