19 Jun, 2019

1 commit

  • Based on 1 normalized pattern(s):

    released under the term of the gnu gpl v2

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 16 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Alexios Zavras
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190602204654.922331175@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

14 May, 2018

1 commit


28 Jan, 2018

1 commit


20 Oct, 2014

1 commit


01 Jul, 2013

1 commit

  • With pm81/pm91/pm121, when the overtemperature state is entered, and
    when it remains on after skipped ticks, the driver will try to leave
    it too soon (immediately on the next tick). This is because the active
    FAILURE_OVERTEMP state is not visible in "new_failure" variable of the
    current tick. Furthermore, the driver will keep trying to clear condition
    in subsequent ticks as FAILURE_OVERTEMP remains set in the "last_failure"
    variable. These will start to trigger WARNINGS from windfarm core:

    [ 100.082735] windfarm: Clamping CPU frequency to minimum !
    [ 100.108132] windfarm: Overtemp condition detected !
    [ 101.952908] windfarm: Overtemp condition cleared !
    [...]
    [ 102.980388] WARNING: at drivers/macintosh/windfarm_core.c:463
    [...]
    [ 103.982227] WARNING: at drivers/macintosh/windfarm_core.c:463
    [...]
    [ 105.030494] WARNING: at drivers/macintosh/windfarm_core.c:463
    [...]
    [ 105.973666] WARNING: at drivers/macintosh/windfarm_core.c:463
    [...]
    [ 106.977913] WARNING: at drivers/macintosh/windfarm_core.c:463

    Fix by adding a helper global variable. We leave the overtemp state only
    after all failure bits have been cleared.

    I saw this error on iMac G5 iSight (pm121). Also pm81/pm91 are fixed
    based on the observation that these are almost identical/copy-pasted code.

    Signed-off-by: Aaro Koskinen
    Signed-off-by: Benjamin Herrenschmidt

    Aaro Koskinen
     

04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitconst,
    and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

30 Apr, 2012

1 commit


29 Mar, 2012

1 commit


22 May, 2010

1 commit

  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (92 commits)
    powerpc: Remove unused 'protect4gb' boot parameter
    powerpc: Build-in e1000e for pseries & ppc64_defconfig
    powerpc/pseries: Make request_ras_irqs() available to other pseries code
    powerpc/numa: Use ibm,architecture-vec-5 to detect form 1 affinity
    powerpc/numa: Set a smaller value for RECLAIM_DISTANCE to enable zone reclaim
    powerpc: Use smt_snooze_delay=-1 to always busy loop
    powerpc: Remove check of ibm,smt-snooze-delay OF property
    powerpc/kdump: Fix race in kdump shutdown
    powerpc/kexec: Fix race in kexec shutdown
    powerpc/kexec: Speedup kexec hash PTE tear down
    powerpc/pseries: Add hcall to read 4 ptes at a time in real mode
    powerpc: Use more accurate limit for first segment memory allocations
    powerpc/kdump: Use chip->shutdown to disable IRQs
    powerpc/kdump: CPUs assume the context of the oopsing CPU
    powerpc/crashdump: Do not fail on NULL pointer dereferencing
    powerpc/eeh: Fix oops when probing in early boot
    powerpc/pci: Check devices status property when scanning OF tree
    powerpc/vio: Switch VIO Bus PM to use generic helpers
    powerpc: Avoid bad relocations in iSeries code
    powerpc: Use common cpu_die (fixes SMP+SUSPEND build)
    ...

    Linus Torvalds
     

07 Apr, 2010

1 commit

  • Fix minor nits found by cppcheck

    [./macintosh/windfarm_pm81.c:760]: (style) Redundant condition. It is safe to deallocate a NULL pointer
    [./macintosh/windfarm_pm81.c:762]: (style) Redundant condition. It is safe to deallocate a NULL pointer

    Signed-off-by: David Binderman
    Signed-off-by: Benjamin Herrenschmidt

    d binderman
     

16 Mar, 2010

1 commit


09 Feb, 2010

1 commit


24 Apr, 2008

1 commit

  • Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias
    is prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable
    "macintosh" platform drivers, to re-enable auto loading.

    [dbrownell@users.sourceforge.net: registration fixes]
    Signed-off-by: Kay Sievers
    Signed-off-by: David Brownell
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Paul Mackerras

    Kay Sievers
     

16 Nov, 2006

1 commit

  • The windfarm code, in it's current incarnation, uses request_module() to
    load the various submodules it needs for a given platform so that only
    the main platform control module needs to be modprobed. However, it was
    missing various bits. This fixes it. In the future, we'll use some
    hotplug mecanisms to try to get all of this auto-loaded on the platforms
    where it matters but that isn't ready yet.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     

10 Oct, 2006

1 commit


31 Jul, 2006

1 commit

  • Now that get_property() returns a void *, there's no need to cast its
    return value. Also, treat the return value as const, so we can
    constify get_property later.

    powermac platform & macintosh driver changes.

    Built for pmac32_defconfig, g5_defconfig

    Signed-off-by: Jeremy Kerr
    Signed-off-by: Paul Mackerras

    Jeremy Kerr
     

08 Feb, 2006

1 commit

  • This patch adds a windfarm module, windfarm_pm112, for the dual core G5s
    (both 2 and 4 core models), keeping the machine from getting into
    vacuum-cleaner mode ;) For proper credits, the patch was initially
    written by Paul Mackerras, and slightly reworked by me to add overtemp
    handling among others. The patch also removes the sysfs attributes from
    windfarm_pm81 and windfarm_pm91 and instead adds code to the windfarm
    core to automagically expose attributes for sensor & controls.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     

10 Jan, 2006

1 commit


09 Dec, 2005

1 commit

  • model_id fields of wf_smu_sys_all_params should match the model ID
    they are supposed to represent (as commented). Fixes windfarm on some
    iMac 8,1 models.

    Signed-off-by: Michal Ostrowski
    Acked-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Michal Ostrowski
     

08 Nov, 2005

1 commit

  • This adds a new thermal control framework for PowerMac, along with the
    implementation for PowerMac8,1, PowerMac8,2 (iMac G5 rev 1 and 2), and
    PowerMac9,1 (latest single CPU desktop). In the future, I expect to move
    the older G5 thermal control to the new framework as well.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt