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

arm64-dts-allwinner-h616-Add-efuse_xlate-cpu-frequency-scaling-v1_6_2 #5247

Merged
merged 1 commit into from
May 26, 2023

Conversation

AGM1968
Copy link
Collaborator

@AGM1968 AGM1968 commented May 25, 2023

Description

Add cpu-frequency to orangepizero2, allwinner h616 6.x.y kernels

Follow up Jira reference number AR-1683

How Has This Been Tested?

SBC-bench as with 5.19.17.

additional well presented results to be viewed further @
mdziekon#2

Armbian 23.05.0-trunk Bullseye ttyS0

orangepizero2 login: alistair
Password:
  ___  ____  _   _____             ____
 / _ \|  _ \(_) |__  /___ _ __ ___|___ \
| | | | |_) | |   / // _ \ '__/ _ \ __) |
| |_| |  __/| |  / /|  __/ | | (_) / __/
 \___/|_|   |_| /____\___|_|  \___/_____|

Welcome to Armbian 23.05.0-trunk Bullseye with bleeding edge Linux 6.2.16-sunxi64

No end-user support: built from trunk

System load:   13%              Up time:       0 min
Memory usage:  8% of 984M       IP:            10.0.0.12
CPU temp:      42°C             Usage of /:    5% of 29G

[ Menu-driven system configuration (beta): sudo apt update && sudo apt install armbian-config ]

alistair@orangepizero2:~$ dmesg | grep cpu*
[    0.000000] percpu: Embedded 19 pages/cpu s38760 r8192 d30872 u77824
[    0.000000] pcpu-alloc: s38760 r8192 d30872 u77824 alloc=19*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] printk: log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] printk: log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.041807] cpuidle: using governor menu
[    0.062518] cryptd: max_cpu_qlen set to 1000
[    0.700973] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.875685] ledtrig-cpu: registered to indicate activity on CPUs
[    2.053265] sun50i_cpufreq_nvmem: Using CPU speed bin speed0
[    8.995945] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 408000 KHz, changing to: 480000 KHz

  • Test A BUILD
    compiled and booted

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@mdziekon
Copy link
Contributor

@AGM1968 in the description you've stated this patch adds CPU scaling to:

allwinner h616 6.x.y kernels

However, your patch applies to 6.2.y kernels only. Is there any reason why you didn't add the appropriate entries to at least 6.1 kernel as well (which is the current version, while 6.2 is edge atm)?

@AGM1968
Copy link
Collaborator Author

AGM1968 commented May 25, 2023

Technically no reason, my interest is in edge, as that supersedes.

Copy link
Member

@igorpecovnik igorpecovnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EDGE, we can merge

@igorpecovnik igorpecovnik added Ready to merge Reviewed, tested and ready for merge 23.05 labels May 26, 2023
@igorpecovnik igorpecovnik merged commit e086457 into armbian:main May 26, 2023
13 checks passed
mdziekon added a commit to mdziekon/armbian-build that referenced this pull request Jun 17, 2023
(see armbian#5247)
(original author of the patch for kernel 6.2: AGM1968)
mdziekon added a commit to mdziekon/armbian-build that referenced this pull request Jun 19, 2023
(see armbian#5247)
(original author of the patch for kernel 6.2: AGM1968)
mdziekon added a commit to mdziekon/armbian-build that referenced this pull request Jun 20, 2023
(see armbian#5247)
(original author of the patch for kernel 6.2: AGM1968)
igorpecovnik pushed a commit that referenced this pull request Jun 20, 2023
(see #5247)
(original author of the patch for kernel 6.2: AGM1968)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge Reviewed, tested and ready for merge
Development

Successfully merging this pull request may close these issues.

None yet

3 participants