Skip to content
This repository was archived by the owner on Oct 5, 2019. It is now read-only.
This repository was archived by the owner on Oct 5, 2019. It is now read-only.

Add PowerPlug HotPlug (with complete sysFS entries and Descriptions) #581

@Shoaib0597

Description

@Shoaib0597

Hi @Grarak

I request you to add PowerPlug HotPlug, an All in One HotPlug for Octa-Core big.LITTLE SoCs. This HotPlug of mine is based on Pranav Vashi's (neobuddy89) work. So, I want you to add his name too in addition to my name as the authors of this HotPlug.

This HotPlug offers a total of 7 sysFS entries. They are (order-wise)---

1. Enable/Disable Toggle---
sysFS Path---
/sys/kernel/power_plug/toggle
Range---
0 or 1 (Off/On)
Description---
A toggle to Enable HotPlug and allow Manual Control of Cores only i.e., Dynamic HotPlugging won't be done.

2. A "Dynamic HotPlugging" Enable/Disable Toggle---
sysFS Path---
/sys/kernel/power_plug/dynamic
Range---
0 or 1 (Off/On)
Description---
A toggle to Enable Dynamic-HotPlugging and allow Automatic Control of Cores i.e., users are no longer required to manually adjust the No. of Cores Online/Offline.

3. A Traditional "Min. Number of Online Cores" SeekBar---
sysFS Path---
/sys/kernel/power_plug/min_cpus_online
Range---
1 to 8 (No. of Cores)
Description---
This value defines the Min. No. of Cores which will always be Online.

4. A Traditional "Max. Number of Online Cores" SeekBar---
sysFS Path---
/sys/kernel/power_plug/max_cpus_online
Range---
1 to 8 (No. of Cores)
Description---
This value limits the Max. No. of Cores which can be Online.

5. A Traditional "Down-Threshold" SeekBar---
sysFS Path---
/sys/kernel/power_plug/dyn_down_threshold
Range---
0 to 100 %

6. A Traditional "Up-Threshold" SeekBar---
sysFS Path---
/sys/kernel/power_plug/dyn_up_threshold
Range---
0 to 100 %

7. A Traditional "Dynamic Interval" SeekBar---
sysFS Path---
/sys/kernel/power_plug/dyn_interval_ms
Range---
0 to 5000 ms
Description---
The Delay before a Core is Disabled.

Optional Requests (I have already created perfectly working Custom Controls (a great feature, thanks!) for this HotPlug)---
1. Title and Description---
a. Enable/Disable Toggle---
Main Title-----PowerPlug HotPlug
Description---An All in One HotPlug, developed by neobuddy89 and Shoaib0597.

2. Please, if possible, try to copy/paste this description exactly. :)

Thanks! I hope this gets merged soon. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions