1. 01 3月, 2012 6 次提交
  2. 09 1月, 2012 2 次提交
  3. 06 1月, 2012 5 次提交
  4. 22 12月, 2011 1 次提交
    • K
      cpu: convert 'cpu' and 'machinecheck' sysdev_class to a regular subsystem · 8a25a2fd
      Kay Sievers 提交于
      This moves the 'cpu sysdev_class' over to a regular 'cpu' subsystem
      and converts the devices to regular devices. The sysdev drivers are
      implemented as subsystem interfaces now.
      
      After all sysdev classes are ported to regular driver core entities, the
      sysdev implementation will be entirely removed from the kernel.
      
      Userspace relies on events and generic sysfs subsystem infrastructure
      from sysdev devices, which are made available with this conversion.
      
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Chris Metcalf <cmetcalf@tilera.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Borislav Petkov <bp@amd64.org>
      Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Zhang Rui <rui.zhang@intel.com>
      Cc: Dave Jones <davej@redhat.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Arjan van de Ven <arjan@linux.intel.com>
      Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
      Cc: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8a25a2fd
  5. 15 12月, 2011 1 次提交
  6. 09 12月, 2011 5 次提交
  7. 06 12月, 2011 1 次提交
  8. 12 11月, 2011 1 次提交
    • A
      [CPUFREQ] db8500: fix build error due to undeclared i variable · eb0b38a5
      Axel Lin 提交于
      The variable i is removed by commit ded84337
      "[CPUFREQ] db8500: remove unneeded for loop iteration over freq_table",
      but current code to print available frequencies still uses the i variable.
      Thus add the i variable back to fix below buld error:
      
        CC      drivers/cpufreq/db8500-cpufreq.o
      drivers/cpufreq/db8500-cpufreq.c: In function 'db8500_cpufreq_init':
      drivers/cpufreq/db8500-cpufreq.c:123: error: 'i' undeclared (first use in this function)
      drivers/cpufreq/db8500-cpufreq.c:123: error: (Each undeclared identifier is reported only once
      drivers/cpufreq/db8500-cpufreq.c:123: error: for each function it appears in.)
      make[2]: *** [drivers/cpufreq/db8500-cpufreq.o] Error 1
      make[1]: *** [drivers/cpufreq] Error 2
      make: *** [drivers] Error 2
      
      This patch also fixes using uninitialized i variable as array index.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NDave Jones <davej@redhat.com>
      eb0b38a5
  9. 11 11月, 2011 1 次提交
  10. 09 11月, 2011 10 次提交
  11. 01 11月, 2011 2 次提交
  12. 27 10月, 2011 5 次提交
    • L
      [CPUFREQ] db8500: support all frequencies · 6283e328
      Linus Walleij 提交于
      This adds support for the 200 MHz frequency mode of the
      DB8500 SoC, and prints the available frequencies at init
      time.
      
      Cc: Vincent Guittot <vincent.guittot@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NDave Jones <davej@redhat.com>
      6283e328
    • A
      [CPUFREQ] db8500: remove unneeded for loop iteration over freq_table · ded84337
      Axel Lin 提交于
      Don't know why to do the loop iteration here. It looks unneeded.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NDave Jones <davej@redhat.com>
      ded84337
    • M
      [CPUFREQ] ARM Exynos4210 PM/Suspend compatibility with different bootloaders · 0073f538
      MyungJoo Ham 提交于
      We have various bootloaders for Exynos4210 machines. Some of they
      set the ARM core frequency at boot time even when the boot is a resume
      from suspend-to-RAM. Such changes may create inconsistency in the
      data of CPUFREQ driver and have incurred hang issues with suspend-to-RAM.
      
      This patch enables to save and restore CPU frequencies with pm-notifier and
      sets the frequency at the initial (boot-time) value so that there wouldn't
      be any inconsistency between bootloader and kernel. This patch does not
      use CPUFREQ's suspend/resume callbacks because they are syscore-ops, which
      do not allow to use mutex that is being used by regulators that are used by
      the target function.
      
      This also prevents any CPUFREQ transitions during suspend-resume context,
      which could be dangerous at noirq-context along with regulator framework.
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NDave Jones <davej@redhat.com>
      0073f538
    • V
      [CPUFREQ] ARM: ux500: send cpufreq notification for all cpus · 8efd072b
      Vincent Guittot 提交于
      The same clock is used for all cpus so we must notify the frequency change
      for each one in order to update the configuration of all twd clockevents.
      
      change since V1:
      * use policy->cpus instead of cpu_online_mask
      Signed-off-by: NVincent Guittot <vincent.guittot@linaro.org>
      Signed-off-by: NDave Jones <davej@redhat.com>
      8efd072b
    • R
      [CPUFREQ] e_powersaver: Allow user to lower maximum voltage · 826e570b
      Rafał Bilski 提交于
      Add new module option "set_max_voltage".
      One of the lessons learned from Adaptive Powersaver is that voltage values
      returned by processor are for worst case scenario. But required voltage
      is changing with CPU temperature. And even processors produced in the same
      batch can have different minimum voltage necessary for stable work at
      specified frequency.
      On Elonex Webbook, once system starts, temperature never drops below
      48 deg. C. Loading module after systems start allows user to lower CPU
      voltage and still have stable system.
      Sadly C7 doesn't allow code to set frequency or voltage from outside limits.
      If you ask it to set voltage lower then minimum it will ignore you. Thats
      why it isn't possible to change minimum voltage for minimum frequency too.
      Changing maximum voltage on Elonex Webbook leads to very good results. Looks
      like VIA C7 1.6GHz 1084mV can safetly run at 892mV. This means 83% of
      orginal value. If same percentage applies to power generated it means 12.5W
      in the place of 15W. Not much, but it is better then nothing.
      Only C7-M makes it possible.
      If voltage is too low by 16mV or more you will experience kernel panic.
      If voltage is too low by 32mV or more you will experience system freeze.
      Signed-off-by: NRafał Bilski <rafalbilski@interia.pl>
      Signed-off-by: NDave Jones <davej@redhat.com>
      826e570b