Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AiO HotPlug (complete sysFS entries and Descriptions are provided) #91

Open
Shoaib0597 opened this issue Jun 9, 2017 · 0 comments

Comments

@Shoaib0597
Copy link
Contributor

Shoaib0597 commented Jun 9, 2017

Hi @yoinx,

I request you to add AiO HotPlug, an All in One HotPlug for Traditional Quad-Core and Hexa/Octa-Core big.LITTLE SoCs. I have developed this HotPlug myself.

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

1. Enable/Disable Toggle---
sysFS Path---
/sys/kernel/AiO_HotPlug/toggle
Range---
1 or 0

2. A Traditional "Number of Online Cores" SeekBar---
sysFS Path---
/sys/kernel/AiO_HotPlug/cores
Range---
1 to 4

3. A "big Cluster" SeekBar---
sysFS Path---
/sys/kernel/AiO_HotPlug/big_cores
Range---
0 to 2 (on Hexa-Core big.LITTLE SoCs)
0 to 4 (on Octa-Core big.LITTLE SoCs)
Note:
At value 0, the entire Cluster will be switched off.

4. A "LITTLE Cluster" SeekBar---
sysFS Path---
/sys/kernel/AiO_HotPlug/LITTLE_cores
Range---
0 to 4
Note:
At value 0, the entire Cluster will be switched off.

Misc. Notes--

  1. The HotPlug will expose only 1 and 2 sysFS entries if it is running on a Traditional Quad-Core SoC.
  2. The HotPlug will expose only 1, 3 and 4 sysFS entries if it is running on a Hexa/Octa-Core big.LITTLE SoC.

Optional Requests---
1. Titles and Descriptions---
a. Enable/Disable Toggle---
Main Title-----AiO HotPlug
Description---An All in One HotPlug, developed by Shoaib Anwar a.k.a. Shoaib0597, for all main types of SoCs.

b. "Number of Online Cores" SeekBar
Main Title-----Number of Online Cores
Description---No Description (Leave Blank)

c. "big Cluster" SeekBar---
Main Title-----big Cluster
Description---Set the Number of Online Cores. At value 0, the entire Cluster will be switched off (only if atleast 1 LITTLE Core is active and HotPlug Boost Toggle (available in CPU TAB) is Enabled).
Note: At value of 0 of this SeekBar, instead of showing "0", show "Offline".

d. "LITTLE Cluster" SeekBar---
Main Title-----LITTLE Cluster
Description---Set the Number of Online Cores. At value 0, the entire Cluster will be switched off (only if atleast 1 big Core is active).
Note: At value of 0 of this SeekBar, instead of showing "0", show "Offline".

2. Please, if possible, try to copy/paste these descriptions exactly. :)

Thanks! I hope this gets merged soon. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant