Merge branch 'linus' into release
Len Brown [Sun, 5 Apr 2009 06:14:15 +0000 (02:14 -0400)]
Conflicts:
arch/x86/kernel/cpu/cpufreq/longhaul.c

Signed-off-by: Len Brown <len.brown@intel.com>

26 files changed:
1  2 
Documentation/kernel-parameters.txt
MAINTAINERS
arch/x86/kernel/acpi/boot.c
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
arch/x86/kernel/cpu/cpufreq/longhaul.c
arch/x86/mm/srat_64.c
drivers/acpi/acpica/tbxface.c
drivers/acpi/battery.c
drivers/acpi/dock.c
drivers/acpi/fan.c
drivers/acpi/osl.c
drivers/acpi/processor_core.c
drivers/acpi/processor_perflib.c
drivers/acpi/sbs.c
drivers/acpi/tables.c
drivers/acpi/thermal.c
drivers/acpi/video.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/pci/pci-acpi.c
drivers/platform/x86/sony-laptop.c
drivers/platform/x86/thinkpad_acpi.c
include/acpi/acpiosxf.h
include/acpi/acpixf.h
include/linux/acpi.h

Simple merge
diff --cc MAINTAINERS
@@@ -4290,8 -4368,24 +4373,21 @@@ L:    tlan-devel@lists.sourceforge.net (su
  W:    http://sourceforge.net/projects/tlan/
  S:    Maintained
  
+ TOMOYO SECURITY MODULE
+ P:    Kentaro Takeda
+ M:    takedakn@nttdata.co.jp
+ P:    Tetsuo Handa
+ M:    penguin-kernel@I-love.SAKURA.ne.jp
+ L:    linux-kernel@vger.kernel.org (kernel issues)
+ L:    tomoyo-users-en@lists.sourceforge.jp (subscribers-only, for developers and users in English)
+ L:    tomoyo-dev@lists.sourceforge.jp (subscribers-only, for developers in Japanese)
+ L:    tomoyo-users@lists.sourceforge.jp (subscribers-only, for users in Japanese)
+ W:    http://tomoyo.sourceforge.jp/
+ T:    quilt http://svn.sourceforge.jp/svnroot/tomoyo/trunk/2.2.x/tomoyo-lsm/patches/
+ S:    Maintained
  TOSHIBA ACPI EXTRAS DRIVER
 -P:    John Belmonte
 -M:    toshiba_acpi@memebeam.org
 -W:    http://memebeam.org/toys/ToshibaAcpiDriver
 -S:    Maintained
 +S:    Orphan
  
  TOSHIBA SMM DRIVER
  P:    Jonathan Buzzard
Simple merge
@@@ -680,22 -680,10 +680,22 @@@ static int acpi_cpufreq_cpu_init(struc
                            perf->states[i].transition_latency * 1000;
        }
  
 +      /* Check for high latency (>20uS) from buggy BIOSes, like on T42 */
 +      if (perf->control_register.space_id == ACPI_ADR_SPACE_FIXED_HARDWARE &&
 +          policy->cpuinfo.transition_latency > 20 * 1000) {
 +              static int print_once;
 +              policy->cpuinfo.transition_latency = 20 * 1000;
 +              if (!print_once) {
 +                      print_once = 1;
 +                      printk(KERN_INFO "Capping off P-state tranision latency"
 +                              " at 20 uS\n");
 +              }
 +      }
 +
        data->max_freq = perf->states[0].core_frequency * 1000;
        /* table init */
-       for (i=0; i<perf->state_count; i++) {
-               if (i>0 && perf->states[i].core_frequency >=
+       for (i = 0; i < perf->state_count; i++) {
+               if (i > 0 && perf->states[i].core_frequency >=
                    data->freq_table[valid_states-1].frequency / 1000)
                        continue;
  
@@@ -326,10 -328,10 +328,10 @@@ retry_loop
        case TYPE_POWERSAVER:
                if (longhaul_flags & USE_ACPI_C3) {
                        /* Don't allow wakeup */
 -                      acpi_set_register(ACPI_BITREG_BUS_MASTER_RLD, 0);
 +                      acpi_write_bit_register(ACPI_BITREG_BUS_MASTER_RLD, 0);
-                       do_powersaver(cx->address, clock_ratio_index, dir);
+                       do_powersaver(cx->address, mults_index, dir);
                } else {
-                       do_powersaver(0, clock_ratio_index, dir);
+                       do_powersaver(0, mults_index, dir);
                }
                break;
        }
                outb(0, 0x22);
        } else if ((pr != NULL) && pr->flags.bm_control) {
                /* Enable bus master arbitration */
 -              acpi_set_register(ACPI_BITREG_ARB_DISABLE, 0);
 +              acpi_write_bit_register(ACPI_BITREG_ARB_DISABLE, 0);
        }
-       outb(pic2_mask,0xA1);   /* restore mask */
-       outb(pic1_mask,0x21);
+       outb(pic2_mask, 0xA1);  /* restore mask */
+       outb(pic1_mask, 0x21);
  
        local_irq_restore(flags);
        preempt_enable();
Simple merge
@@@ -373,10 -375,11 +373,11 @@@ ACPI_EXPORT_SYMBOL(acpi_unload_table_id
   *
   * DESCRIPTION: Finds and verifies an ACPI table.
   *
 - *****************************************************************************/
 + ******************************************************************************/
  acpi_status
- acpi_get_table(char *signature,
-              u32 instance, struct acpi_table_header **out_table)
+ acpi_get_table_with_size(char *signature,
+              u32 instance, struct acpi_table_header **out_table,
+              acpi_size *tbl_size)
  {
         u32 i;
         u32 j;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -521,22 -513,15 +521,22 @@@ int acpi_processor_preregister_performa
  
                if (pr->performance) {
                        retval = -EBUSY;
 -                      continue;
 +                      goto err_out;
                }
  
-               if (!performance || !percpu_ptr(performance, i)) {
+               if (!performance || !per_cpu_ptr(performance, i)) {
                        retval = -EINVAL;
 -                      continue;
 +                      goto err_out;
                }
 +      }
 +
 +      /* Call _PSD for all CPUs */
 +      for_each_possible_cpu(i) {
 +              pr = per_cpu(processors, i);
 +              if (!pr)
 +                      continue;
  
-               pr->performance = percpu_ptr(performance, i);
+               pr->performance = per_cpu_ptr(performance, i);
                cpumask_set_cpu(i, pr->performance->shared_cpu_map);
                if (acpi_processor_get_psd(pr)) {
                        retval = -EINVAL;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge