summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Chanwoo Choi [Fri, 28 Jun 2024 11:23:25 +0000 (20:23 +0900)]
hal-backend-power: Add support new hal_common_put/get_backend_v2
Add the support HAL ABI compatibility by hal_common_put/get_backend_v2()
functions which allocates/frees the memory and then hal-backend fill out
the implemented function pointer on hal-backend.
Change-Id: Ib5dec37e3794e8256d3d1d102ffdc8b5e2afcfe7
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Mon, 17 Jun 2024 10:33:38 +0000 (19:33 +0900)]
hal-backend-power: Initialize major_version and minor_version of HAL_MODULE_POWER
Initialize major_version and minor_version of HAL_MODULE_POWER
in order to support the new HAL API versioning method.
Change-Id: Iafe3030a1c21b4d2e1eda519a3e0b9f31c7c883d
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Tue, 9 Apr 2024 12:33:25 +0000 (21:33 +0900)]
packaging: Use only hal-rootstrap package to build
hal-roostrap package contains the allowed and maintained files
to build hal-backend package. In order to keep ABI (Application Binary
Interface) compatibility between platfrom and hal image,
must use only hal-rootstrap pacakge for build.
Change-Id: Ib1b405582183ff594d21626f37205093cc7ee42f
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 4 Aug 2022 02:27:55 +0000 (11:27 +0900)]
pass-hal: rpi: Replace LF with space from buffer
Change-Id: I007af41740cde0f6d1af358a17665af4437ce25d
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Fri, 22 Jul 2022 04:00:49 +0000 (13:00 +0900)]
scripts: Add display/disk resource configuration
Change-Id: Idb79195dc414aaa9f2c9cab2d7cc6a7409c05106
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Dongwoo Lee [Tue, 14 Sep 2021 06:39:21 +0000 (15:39 +0900)]
pass-hal: rpi: Update temperature property
Since pass core is changed to handle temperature property with range
value, it should be updated as using object which has start and end
values. Optionally, temperature object can have threshold used for
preserving upper level policies until temperature is down enoughly.
Change-Id: Ie07c9f70334070ad9f83ead27aa91e4f51ba381d
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Chanwoo Choi [Tue, 27 Jul 2021 05:39:07 +0000 (14:39 +0900)]
pass-hal: rpi: Convert script format to json to improve readability
The legacy .conf file format is not better on side of readability.
So that change the configuration file format to json style to improve
readability.
Change-Id: I378d14bfae6f0ae3bbb58362e2eda0212cef6b11
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Wed, 3 Mar 2021 04:00:01 +0000 (13:00 +0900)]
pass-hal: rpi: Add support of Performance mode
When Performance mode, set the highest CPU frequency
and maximize fault_around_bytes in order to guarantee the high-performance.
Change-Id: I5288885458ec9c7e0257b2d3b2d091be320d1583
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 18 Feb 2021 03:09:22 +0000 (12:09 +0900)]
pass-hal: rpi: Fix svace warnings
Change-Id: I50d416383d832ef2430c313f46923a0c9593cb85
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Mon, 8 Feb 2021 06:26:32 +0000 (15:26 +0900)]
pass-hal: rpi: Remove unsupportd backend functions
Remove unsupportd backend functions as following:
- remove hotplug_ops because rpi4 has been supported the dynamic CPU hotplug
- remove the up_threshold and down_threshold of ondemand governor
because rpi4 uses the schedutil cpufreq governor.
Change-Id: I1fe1a3f8eebae12608779d64bfbc554a9f024ee5
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Fri, 22 Jan 2021 04:52:33 +0000 (13:52 +0900)]
pass-hal: rpi: v1.2.0 and Remove unused dlog dependency
Change the version due to following changes and remove unused dlog
dependency.
Changes from v1.1.0
- Remake the pass-hal-rpi according to hal-api-power
(/platform/hal/api/power).
Change-Id: Ibbdfa2cfd1841cdde0ba08e19600974a25f14857
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 7 Jan 2021 13:21:59 +0000 (22:21 +0900)]
pass-hal: rpi: Update pass-hal-rpi by using hal-api-power interface
Prior pass-hal-rpi depends on PASS HAL interface (hal.h) provided by
pass-hal-devel pkg. In order to keep the new HAL API package on Tizen 6.5,
change the pass-hal-rpi package.
[Mandatory implementation for HAL backend]
- Power HAL backend must define 'hal_backend_power_data' symbol
including the implementation of Power HAL interface.
- Include /hal/lib64/libhal-backend-power.so
Change-Id: Ib705482d398b5d0d3b3249b896fb477e882f5da6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 22 Oct 2020 10:58:59 +0000 (19:58 +0900)]
pass-hal: rpi: Remove unneeded header files
Change-Id: Ie9e2374e88f04f298b446ba2ef6dcb2e011e44c6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 13 Aug 2020 02:39:46 +0000 (11:39 +0900)]
pass-hal: rpi: v1.1.0
Change dependency version of PASS daemon because the format of configuration
file was changed like 'scenario pass_level' and then verison-up.
Change-Id: Ic1a239a842027b07efe85cdc1293e77dc723c06c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Wed, 29 Jul 2020 01:18:25 +0000 (10:18 +0900)]
pass-hal: rpi: script: Add memory configuration file for fault_around_bytes
The fault_around_bytes has the follwowing policy:
- Default value : 4K
- In case of AppLaunch : 4K
Change-Id: I92b7c1bd010d2a093dcf37d12d1930a4c23b6d4c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Wed, 29 Jul 2020 01:16:29 +0000 (10:16 +0900)]
pass-hal: rpi: Add support of memory resource for handling fault_around_bytes
In order to handle fault_around_bytes according to the PM QoS scenario,
add code for supporting the memory h/w resource.
Change-Id: Ie7681e7528eb2eab0643f00bb5401436ff7a26bc
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Tue, 28 Jul 2020 06:30:06 +0000 (15:30 +0900)]
pass-hal: rpi: Edit pass-hal.conf path into /usr/lib/tmpfiles.d
The configuration file should be located in /usr/lib/tmpfiles.d/
regardless of architecture type.
Change-Id: If0b3e96c9ac6e2a5aef8cb1411f89fe97dcf2728
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Mon, 25 May 2020 10:05:59 +0000 (19:05 +0900)]
pass-hal: rpi: Change smack label to give read permission everyone for missing node
Change smack label to give read permission everyone as following:
- System -> System:Shared
Change-Id: If164aaf542dc322d6a971eeb98f6cbabedb425b3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Fri, 27 Mar 2020 06:01:20 +0000 (15:01 +0900)]
pass-hal: rpi: Change smack label to give read permission everyone
Change smack label to give read permission everyone as following:
- System -> System:Shared
Change-Id: Iafd552376f56ea3060975fd70beccaf71f927b35
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Fri, 20 Mar 2020 05:45:27 +0000 (14:45 +0900)]
pass-hal: rpi: Add read permission for cpufreq sysfs interface
Add read permission for cpufreq sysfs interface for other user.
Change-Id: I9710d710e7690bacdb2e22de8f9e67f098c08837
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Wed, 18 Mar 2020 06:07:54 +0000 (15:07 +0900)]
pass-hal: rpi: Add missing license information for sysfs.h
Change-Id: I3b2ae78ef1e0a229fa52260b9cd46921db387c92
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Fri, 7 Feb 2020 01:43:29 +0000 (10:43 +0900)]
pass-hal: rpi: Add configuration files for resources
This patch adds the new configuration files for resources of RPI4 board.
- pass.conf contains the number of supported resources and the information.
- pass-cpu0.conf is the configuration file for CPU core
: The number of CPU is four in the one cluster
: The supported CPU frequencies : 600MHz, 1500MHz
: The thermal node of CPU is /sys/class/thermal/thermal_zone0/temp
- /etc/pass.conf
: Contain one h/w resource information for Quad-core cluster
- /etc/pass/pass-cpu0.conf
: Contain CPU h/w resource information for Quad-core cluster
: Contain two PMQoS Scenarios
1. AppLaunch for boosting Tizen application launching time.
2. UltraPowerSaving by capping h/w resource to reduce power.
: Contain four Thermal Scenarios
1. Release
2. Warning
3. LimitAction need to limit h/w resource for preventing overheating
4. Shutdown
- /usr/lib/tmpfiles.d/pass-hal.conf
: Contain the list of sysfs interface which are accessed by PASS HAL library
like /usr/lib/pass/cpu.so
Change-Id: Ie406f750c2fd334b1b27fd5d3ef068aa7b39f185
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Dongwoo Lee [Mon, 24 Feb 2020 05:31:34 +0000 (14:31 +0900)]
pass-hal: rpi: Implement HAL with standard interfaces for CPU
This provides PASS standard HAL for CPU.
Sicne this PASS HAL communicates with kernel using standard interface,
only the configuration for each resource is required, when PASS is
applied to the new target. If the target has nonstandard interface
for some resources, the specific HAL for the corresponding target
should be prepared.
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
[cw00.choi: Pick up cpu.c from pass-hal-standard.git/src/cpu/cpu.c.
Instead of installing the pass-hal-standard hal pkg, add src/cpu.c hal
library for CPU h/w resource in order to reduce the memory usage
of unneeded PASS HAL library like bus.so, gpu.so and memory.so.]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Change-Id: I0fdc73b678dcd68a7f286c3de7f8dbba363552b6
Chanwoo Choi [Fri, 7 Feb 2020 01:54:03 +0000 (10:54 +0900)]
packaging: Add RPM spec file for build
Add RPM spec file for building the package including the pass.conf and
pass-cpu0.conf files.
Change-Id: Iccd31229875cf9e1c7fdf404848061c8e182be11
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Tizen Infrastructure [Fri, 14 Feb 2020 01:53:09 +0000 (01:53 +0000)]
Initial empty repository