1. 14 12月, 2007 1 次提交
    • L
      ACPI: tables: complete searching upon RSDP w/ bad checksum. · 239665a3
      Len Brown 提交于
      ACPI tables follow a tree structure in memory.
      The root of the tree is the RSDP (Root System Description Pointer).
      
      To find the RSDP, the OS searches for the signature "RSD PTR "
      in well known physical memory locations.  Then the OS computes
      a table checksum to verify that the signature is really part
      of a valid table header.
      
      Some systems have a proper signature but an invalid checksum;
      followed elsewhere by a proper signature with valid checksum.
      
      http://bugzilla.kernel.org/show_bug.cgi?id=9444
      
      The Linux RSDP scanning code bailed out on those systems
      and as a result they booted with ACPI disabled.
      
      Fix this by deleting the Linux RSDP scanning code and
      plugging in the ACPICA RSDP scanning code.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      239665a3
  2. 17 11月, 2007 4 次提交
  3. 16 11月, 2007 4 次提交
    • Y
      [MIPS] Lasat: Fix overlap of interrupt number ranges. · 89becf5c
      Yoichi Yuasa 提交于
      The range of MIPS_CPU IRQ and the range of LASAT IRQ overlap.
      Signed-off-by: NYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      89becf5c
    • R
      [MIPS] Fix shadow register support. · f6771dbb
      Ralf Baechle 提交于
      Shadow register support would not possibly have worked on multicore
      systems.  The support code for it was also depending not on MIPS R2 but
      VSMP or SMTC kernels even though it makes perfect sense with UP kernels.
      
      SR sets are a scarce resource and the expected usage pattern is that
      users actually hardcode the register set numbers in their code.  So fix
      the allocator by ditching it.  Move the remaining CPU probe bits into
      the generic CPU probe.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      f6771dbb
    • R
      [MIPS] Change get_cycles to always return 0. · efb9ca08
      Ralf Baechle 提交于
      This avoids us executing an mfc0 c0_count instruction on processors which
      don't have but also on certain R4000 and R4400 versions where reading from
      the count register just in the very moment when its value equals
      c0_compare will result in the timer interrupt getting lost.
      
      There is still a number of users of get_cycles remaining outside the
      arch code:
      
      crypto/tcrypt.c:                start = get_cycles();
      crypto/tcrypt.c:                end = get_cycles();
      crypto/tcrypt.c:                start = get_cycles();
      crypto/tcrypt.c:                end = get_cycles();
      crypto/tcrypt.c:                start = get_cycles();
      crypto/tcrypt.c:                end = get_cycles();
      drivers/char/hangcheck-timer.c: return get_cycles();
      drivers/char/hangcheck-timer.c: printk("Hangcheck: Using get_cycles().\n");
      drivers/char/random.c:  sample.cycles = get_cycles();
      drivers/input/joystick/analog.c:#define GET_TIME(x)     do { x = get_cycles(); }
      include/linux/arcdevice.h:          _x = get_cycles(); \
      include/linux/arcdevice.h:          _y = get_cycles(); \
      mm/slub.c:      if (!s->defrag_ratio || get_cycles() % 1024 > s->defrag_ratio)
      mm/slub.c:      p += 64 + (get_cycles() & 0xff) * sizeof(void *);
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      efb9ca08
    • J
      i2c: Make i2c_check_addr static · 5e31c2bd
      Jean Delvare 提交于
      i2c_check_addr is only used inside i2c-core now, so we can make it
      static and stop exporting it. Thanks to David Brownell for noticing.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      5e31c2bd
  4. 15 11月, 2007 25 次提交
  5. 13 11月, 2007 6 次提交