1. 05 1月, 2012 1 次提交
  2. 22 12月, 2011 6 次提交
    • R
      PM: Drop generic_subsys_pm_ops · 90363ddf
      Rafael J. Wysocki 提交于
      Since the PM core is now going to execute driver callbacks directly
      if the corresponding subsystem callbacks are not present,
      forward-only subsystem callbacks (i.e. such that only execute the
      corresponding driver callbacks) are not necessary any more.  Thus
      it is possible to remove generic_subsys_pm_ops, because the only
      callback in there that is not forward-only, .runtime_idle, is not
      really used by the only user of generic_subsys_pm_ops, which is
      vio_bus_type.
      
      However, the generic callback routines themselves cannot be removed
      from generic_ops.c, because they are used individually by a number
      of subsystems.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      90363ddf
    • R
      PM / Sleep: Remove forward-only callbacks from AMBA bus type · 8114ab76
      Rafael J. Wysocki 提交于
      The forward-only PM callbacks provided by the AMBA bus type are not
      necessary any more, because the PM core executes driver callbacks
      when the corresponding subsystem callbacks are not present, so drop
      them.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      8114ab76
    • R
      PM / Sleep: Remove forward-only callbacks from platform bus type · 9b39e73d
      Rafael J. Wysocki 提交于
      The forward-only PM callbacks provided by the platform bus type are
      not necessary any more, because the PM core executes driver callbacks
      when the corresponding subsystem callbacks are not present, so drop
      them.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      9b39e73d
    • R
      PM: Run the driver callback directly if the subsystem one is not there · 35cd133c
      Rafael J. Wysocki 提交于
      Make the PM core execute driver PM callbacks directly if the
      corresponding subsystem callbacks are not present.
      
      There are three reasons for doing that.  First, it reflects the
      behavior of drivers/base/dd.c:really_probe() that runs the driver's
      .probe() callback directly if the bus type's one is not defined, so
      this change will remove one arbitrary difference between the PM core
      and the remaining parts of the driver core.  Second, it will allow
      some subsystems, whose PM callbacks don't do anything except for
      executing driver callbacks, to be simplified quite a bit by removing
      those "forward-only" callbacks.  Finally, it will allow us to remove
      one level of indirection in the system suspend and resume code paths
      where it is not necessary, which is going to lead to less debug noise
      with initcall_debug passed in the kernel command line (messages won't
      be printed for driverless devices whose subsystems don't provide
      PM callbacks among other things).
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      35cd133c
    • R
      PM / Sleep: Make pm_op() and pm_noirq_op() return callback pointers · 9cf519d1
      Rafael J. Wysocki 提交于
      Make the pm_op() and pm_noirq_op() functions return pointers to
      appropriate callbacks instead of executing those callbacks and
      returning their results.
      
      This change is required for a subsequent modification that will
      execute the corresponding driver callback if the subsystem
      callback returned by either pm_op(), or pm_noirq_op() is NULL.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      9cf519d1
    • R
      Merge branch 'master' into pm-sleep · b00f4dc5
      Rafael J. Wysocki 提交于
      * master: (848 commits)
        SELinux: Fix RCU deref check warning in sel_netport_insert()
        binary_sysctl(): fix memory leak
        mm/vmalloc.c: remove static declaration of va from __get_vm_area_node
        ipmi_watchdog: restore settings when BMC reset
        oom: fix integer overflow of points in oom_badness
        memcg: keep root group unchanged if creation fails
        nilfs2: potential integer overflow in nilfs_ioctl_clean_segments()
        nilfs2: unbreak compat ioctl
        cpusets: stall when updating mems_allowed for mempolicy or disjoint nodemask
        evm: prevent racing during tfm allocation
        evm: key must be set once during initialization
        mmc: vub300: fix type of firmware_rom_wait_states module parameter
        Revert "mmc: enable runtime PM by default"
        mmc: sdhci: remove "state" argument from sdhci_suspend_host
        x86, dumpstack: Fix code bytes breakage due to missing KERN_CONT
        IB/qib: Correct sense on freectxts increment and decrement
        RDMA/cma: Verify private data length
        cgroups: fix a css_set not found bug in cgroup_attach_proc
        oprofile: Fix uninitialized memory access when writing to writing to oprofilefs
        Revert "xen/pv-on-hvm kexec: add xs_reset_watches to shutdown watches from old kernel"
        ...
      
      Conflicts:
      	kernel/cgroup_freezer.c
      b00f4dc5
  3. 21 12月, 2011 22 次提交
  4. 20 12月, 2011 11 次提交