summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Dongwoo Lee [Thu, 18 Aug 2022 04:59:09 +0000 (13:59 +0900)]
pass-hal-tm1: Add display/disk hal information
Change-Id: I0b6f0d886319788c6a61a5148e51947ecefdfb39
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Tue, 14 Sep 2021 08:14:18 +0000 (17:14 +0900)]
pass-hal: tm1: 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: Ida5a7a1492a1b2693fbb7a7b1e8d8f5063abfa4e
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Chanwoo Choi [Thu, 26 Aug 2021 08:20:31 +0000 (17:20 +0900)]
pass-hal: tm1: Add missing target_level for thermal section
Change-Id: If75112a79e7760e981cf7ca1e2a7790b71db83e3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 29 Jul 2021 13:10:30 +0000 (22:10 +0900)]
pass-hal: tm1: 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.
And remove unneeded pass-resource1.conf.
Change-Id: I3a2ae83bb5f2b5d9b8a9566aff24e4e2def2e16c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 18 Feb 2021 02:50:06 +0000 (11:50 +0900)]
pass-hal: tm1: Fix svace warning
Change-Id: I35623dfb144e21e5e285a814b1e61a909ae10deb
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Fri, 29 Jan 2021 07:35:51 +0000 (16:35 +0900)]
pass-hal: tm1: Update pass-hal-tm1 by using hal-api-power interface
Prior pass-hal-tm1 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-tm1 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
Changes from v1.1.0
- Remake the pass-hal-tm1 according to hal-api-power(/platform/hal/api/power).
Change-Id: I5f68875224bb90e476532a57f659e42a1ec9dadc
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Mateusz Majewski [Thu, 3 Dec 2020 06:38:41 +0000 (07:38 +0100)]
pass-hal: tm1: Add Doze mode support
The Doze mode is supported by the main PASS repository, but in order to
not get a bajillion of warnings (and also to actually receive DBus calls
in the daemon), we also have to enable it in the HAL layer. This commit
does just that.
Change-Id: I470b66d21b8d67f4e9c3bacf8b7d48c04734b48f
Chanwoo Choi [Thu, 13 Aug 2020 02:42:11 +0000 (11:42 +0900)]
pass-hal: tm1 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: I42d7796171e415416d2cd123650b3c9840f6f9d3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 13 Aug 2020 02:20:53 +0000 (11:20 +0900)]
pass-hal: tm1: Add read permission to allow others to read
Add read permission to allow others to access the sysfs node for CPU h/w
resource.
Change-Id: I58b986f2a852391bbc2cfce020798777aa637bcf
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Mon, 25 May 2020 10:02:35 +0000 (19:02 +0900)]
pass-hal: tm1: Change smack label to give read permission everyone
Change smack label to give read permission everyone as following:
- System -> System:Shared
Change-Id: I1aebb9a00603fba398240d5f7f84b000b7b6c437
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Tue, 11 Feb 2020 12:22:58 +0000 (21:22 +0900)]
pass-hal: tm1: Update configuration using scenario pass_level for CPU0
Change-Id: I0cd469250d80db0b331287a8c00212d892eb506a
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Dongwoo Lee [Wed, 11 Sep 2019 05:24:45 +0000 (14:24 +0900)]
pass-hal: tm1: Send exact size of pmqos data
To prevent buffer overflow, sends exact size of pmqos data.
Change-Id: Idd44094e3198973d7ca84bd1b67f05724080dacb
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Fri, 12 Apr 2019 05:56:36 +0000 (14:56 +0900)]
pass-hal: tm1: Change name of thermal actions
This changes name of thermal actions as following thermal interface
standard.
Change-Id: I84d553f45d370fe13de54d738c9cee303973a8b7
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Fri, 15 Mar 2019 04:44:11 +0000 (13:44 +0900)]
pass-hal: tm1: Add post dependency on security-config
When pass HAL is being installed during image creation, systemd
accesses pass-hal.conf which includes tizen-specific user names and
group names. However, at this time if these user names and group
names doesn't exist, warning message can be printed out. This can be
resolved by adding dependency on security-config. Although tm1 image
creation doesn't have warning messages yet, this patch adds dependency
on security-config to prevent it proactively.
Change-Id: Ida6940e55b6c481dfcd2d3b81120d995ef61b8ad
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Chanwoo Choi [Fri, 16 Mar 2018 08:41:09 +0000 (17:41 +0900)]
pass-hal: tm1: Add support of 'thermal monitor' property
TM1 supports the following four scenarios. Each thermal scenario
has their own unique name, limited temperature and timer interval.
- ReleaseAction
- WarningAction
- LimitAction
- ShutdownAction
Change-Id: Idec94beeb43e3b47c6aca19bcc0b8655243c8004
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 22 Mar 2018 06:45:00 +0000 (15:45 +0900)]
pass-hal: tm1: Fix overflow issue reported by savce
Change-Id: I65d800449f2feedfcd167f4519d44cde5902d53b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 15 Mar 2018 02:02:57 +0000 (11:02 +0900)]
pass-hal: tm1: Add thermal resource name of CPU h/w resource
TM1 board has the 'ap_therm' resource name for thermal information.
Change-Id: I9275ae99b18f24a151a95b6e3b856aca21e5657b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 15 Mar 2018 00:16:30 +0000 (09:16 +0900)]
pass-hal: tm1: Add get_temp() of cpu h/w resource
Add tm1_cpu_get_temp() which reads the temperature of CPU h/w resource.
Change-Id: If90e98f01d58eb816815ba62ed8030779e01dcf5
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 15 Mar 2018 02:00:13 +0000 (11:00 +0900)]
pass-hal: tm1: Add new sysfs path to get temperature
Add new sysfs path to get temperature. Permit the only read permission.
Change-Id: I759b07fb760e07a5473ee8db984dd729e0a938a4
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Tue, 21 Nov 2017 08:00:04 +0000 (17:00 +0900)]
pass-hal: tm1: Release v1.0.0
Detailed description for this release:
- Provide the configuration files for Spreadtrum SoC-based TM1 board
- /etc/pass/pass.conf contains the list of supported h/w resources as following:
: pass-resource0.conf indicates the CPU cluster h/w which have four CPU.
: pass-resource1.conf indicates the non-standard device which sends
the specific data from tizen framework to the pass-hal layer through PMQoS.
Change-Id: I84098cd59a46ea9dab5d5307ecc4b91270a57fa2
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Tue, 26 Sep 2017 10:38:05 +0000 (19:38 +0900)]
pass-hal: tm1: Fix overrun issue of array
The 'len + 1' of argument of read() might access
the out of range of 'buf' string. This patch fixes
the overrunt issue.
Change-Id: I58845d38c23307b85369d353d82448c35afa91f6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Tue, 5 Sep 2017 05:36:23 +0000 (14:36 +0900)]
pass-hal: tm1: Remove unused version info
This patch removes the unused version info.
Change-Id: Ib6c946d2a706f743a63ef07c3f4a82cf279f9198
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Wook Song [Wed, 23 Aug 2017 01:04:09 +0000 (10:04 +0900)]
pass-hal: tm1: Change the way to restart daemon after install/uninstall
Since the binary of 'awk', which is exploited to check the state of the
pass daemon itself, is not included in the Tizen image for the headless
devices, this patch changes the way to restart the PASS daemon itself
after installing or uninstalling this package.
Change-Id: Id830ee185a1fbb5f9d3f8e3fe34b7627345d1d4e
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Tue, 22 Aug 2017 09:19:45 +0000 (18:19 +0900)]
pass-hal: tm1: Make nonstandard HAL work even if without TRM
Since the nonstandard interfaces of HAL is designed under the assumption
that TRM is preliminarily installed and the unix domain socket file exists
to recieve the PMQoS scenario information, PASS does not work as
intended without TRM.
This patch fixes this problem by assigning a nop function to the
interface for setting PMQoS data when the file for recieving the
scenario information does not exist at the HAL open point.
Change-Id: I5d88e531ae1782d668df01054aca07c524b8af6e
Reported-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Wook Song <wook16.song@samsung.com>
Chanwoo Choi [Wed, 16 Aug 2017 07:35:16 +0000 (16:35 +0900)]
pass-hal: tm1: Remove wrong dependency of pass-hal-devel
This package does not depend on the pass-hal-devel package.
So, this patch removes the wrong dependency.
Change-Id: I87b6d40d39f333221568f08b90a06217fd227362
Reported-by: Wook Song <wook16.song@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Dongwoo Lee [Fri, 4 Aug 2017 01:57:51 +0000 (10:57 +0900)]
pass-hal: tm1: Add dependency on PASS
Since PASS HAL for TM1 cannot run standalone, it should be check that
PASS is installed. To do this, dependency on PASS is added to RPM spec.
Change-Id: Ib6476adecfc9a0ed679e70c85dc05b566c88ba6e
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Dongwoo Lee [Fri, 21 Jul 2017 01:54:14 +0000 (10:54 +0900)]
pass-hal: tm1: Force to restore initial state of resource
Though PASS supports save/restore initial state of each resource, but
tm1 has weird pmqos interface and thus it doesn't work well.
To resolve this, pass-hal-tm1 forces to restore initial state when it
is closed.
Change-Id: I8c0591538f44a24577fea4a88d1dd86316c5a94e
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Tue, 18 Jul 2017 05:04:58 +0000 (14:04 +0900)]
pass-hal: tm1: Add get functions to cpu resource
Currently, pass-hal-tm1 doesn't have get functions for min/max
frequency and min/max number of online cpu, and cannot get initial
state of cpu resource. However, they are necessary to support
save/restore feature. For this reason those functions are added.
Change-Id: I42e502bcdcf60fc1d39380455308d81cffa7ea0e
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Wed, 19 Jul 2017 06:48:19 +0000 (15:48 +0900)]
pass-hal: tm1: Clean up code
To improve readability of code, some missing blank line will be added
and unnecessary braces will be removed.
Change-Id: Ia12499bc019333dac54eba12e9deab44ec5c6797
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Chanwoo Choi [Fri, 7 Jul 2017 02:23:13 +0000 (11:23 +0900)]
pass-hal: tm1: Remove the specific author information
This patch removes the specific author information
from HAL_MODULE_STRUCTURE.
Change-Id: Ic99f5e5e076eba58f9b8629f67576e05b2de7884
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Dongwoo Lee [Fri, 7 Jul 2017 00:53:50 +0000 (09:53 +0900)]
pass-hal: tm1: Fix wrong function name
The function with prefix 'tm2' will be fixed.
Change-Id: Ie6410bc5c1670e52c6a5f2648a8da14b6b904ca3
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Wook Song [Tue, 4 Jul 2017 07:32:21 +0000 (16:32 +0900)]
pass-hal: tm1: Add nonstandard HAL for PMQoS support with TRM
This patch allows TM1-HAL to support the PMQoS feature with TRM. By
using nonstandard interfaces of HAL, the information of PMQoS scenario
is sent to the TRM via the local UNIX Socket protocol whenever the pass
daemon receives it.
Change-Id: Ifede3e5f6e33f74ad901439c1a20767d8614b15b
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Thu, 22 Jun 2017 09:54:12 +0000 (18:54 +0900)]
pass-hal: tm1: packaging: Use %{_libdir} macro instead of /usr/lib
This patch replaces the path referring to /usr/lib in the spec file with
the macro %{_libdir}.
Change-Id: Ia6f85906bd01a1876cb02eea4873b78dbaccc1c3
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Tue, 20 Jun 2017 08:40:19 +0000 (17:40 +0900)]
pass-hal: tm1: Apply the value type change of pass_res_type
This patch applies the change of the value type of the entry,
"pass_res_type", to the PassResource0 section of the pass.conf file.
Change-Id: Ia74dc31f75ab043ebed803cfab227b9b0e99a40e
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Tue, 20 Jun 2017 07:29:36 +0000 (16:29 +0900)]
pass-hal: tm1: packaging: Restart daemon after install/uninstall
This patch adds bits of code to %post and %postun sections so that the
daemon is restarted when the package is installed/uninstalled. Note that
the daemon is only restarted in the case of that the daemon is running
before the hal package is installed/uninstalled.
Change-Id: I9d5b1c7ae01e9dca61eedebe727685a066b9d0cd
Signed-off-by: Wook Song <wook16.song@samsung.com>
Chanwoo Choi [Thu, 15 Jun 2017 10:34:56 +0000 (19:34 +0900)]
pass-hal: tm1: Add pass-hal.conf to change the permission of sysfs nodes
The pass-hal-tm1 package handles the many sysfs nodes in order
to change the state of h/w resources. All sysfs node should
be required to change the permission from root to system_fw
because PASS daemon has the system_fw permission.
So, this patch adds new pass-hal.conf which contains
the permission information for the required sysfs nodes.
Change-Id: I62b761c101841ec0db09389ac6476d3d00d14ab6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 15 Jun 2017 10:36:24 +0000 (19:36 +0900)]
pass-hal: tm1: Remove unused scenarios
This patch removes the unused scenarios except for AppLaunch and
UltraPowerSaving.
Change-Id: Iabfa7d26fbbb353cfecc43a55ae48128ce34b5a6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 11 May 2017 05:26:50 +0000 (14:26 +0900)]
pass-hal: tm1: Add missing license information
This patch adds the missing license information for *.(c|h).
The pass-hal-tm1 uses the Apache-2.0 License
Change-Id: I2fd6b7a34230dcd34b3c55f323cc58c50899b60f
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 11 May 2017 05:23:01 +0000 (14:23 +0900)]
pass-hal: tm1: Add LICENSE file
This patch adds the missing LICENSE file which is Apache-2.0.
Change-Id: If59ec958744ff80ac2b4314113131752252e2c38
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Wed, 26 Apr 2017 07:42:52 +0000 (16:42 +0900)]
pass-hal: tm1: Add resource name for open and close function
This patch just adds the new argument of h/w resource name
when calling the open and close functions. The resource name
will be used to identify the h/w resource.
Change-Id: If919c848c89b94906bf5930216b2db678369c87c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Wook Song [Tue, 28 Mar 2017 11:09:27 +0000 (20:09 +0900)]
pass-hal: tm1: Modify close function to unlock PMQoS
This patch modifies the close function so that it unlocks all of the
PMQoS states for the CPU resource when the PASS daemon is stopped.
Change-Id: Ib2921253eab0c40454f0527b2ddd624235c6511d
Signed-off-by: Wook Song <wook16.song@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Tue, 28 Mar 2017 05:55:27 +0000 (14:55 +0900)]
packaging: Add ExclusiveArch property to build on armv7l architecture
This patch adds the 'ExclusiveArch' property in order to build
this package only for armv7l.
Change-Id: If70ed076cb54642082386f7e1435d54ab360f7cd
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Mon, 27 Feb 2017 05:52:32 +0000 (14:52 +0900)]
pass-hal: tm1: Fix value of governor type for CPU resource
This patch fixes the value of governor type for CPU h/w resource
because PASS core redefines the governor types as following:
- PASS_GOV_DUMMY : -1
- PASS_GOV_BASIC : 0
- PASS_GOV_HOTPLUG_ONLY : 1
- PASS_GOV_RADIATION : 2
- PASS_GOV_STEP : 3
The CPU resource on TM1 use the PASS_GOV_HOTPLUG_ONLY governor
which uses both HAL interface, Resource controller and Hotplug interface.
Change-Id: I404c30a3879c8fbbee152e241c55025d1ef2c76f
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Wook Song [Wed, 15 Feb 2017 06:44:59 +0000 (15:44 +0900)]
pass-hal: tm1: Remove pass_compatible entry from resource conf file
This patch removes the pass_compatible entry from the resource config
file (e.g., pass-resource0.conf) because it is not required any more.
Change-Id: Id19e2194db9cfd98ea0b7cf90ee6d95fefa2df6c
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Wed, 15 Feb 2017 05:15:31 +0000 (14:15 +0900)]
pass-hal: tm1: Add configuration files for resources
This patch adds the new configuration files for resources of TM1
board.
- pass.conf contains the number of supported resources and the
information
- pass-resource0.conf is the configuration file for CPU cores on TM1.
Change-Id: I0edb434adc34e85051ddb6522032d8413aa7d0e1
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Tue, 14 Feb 2017 08:37:23 +0000 (17:37 +0900)]
pass-hal: tm1: Add implementation of HAL for CPU
This patch adds an implementation of the PASS HAL for CPU.
Change-Id: I7d63c225a64cb6a422e22481c8fb690402eb7a64
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Thu, 9 Feb 2017 05:59:47 +0000 (14:59 +0900)]
pass-hal-tm1: Create spec file for RPM package
This patch creates files required to build the RPM package. After
applying this patch, you can build an empty RPM package named
pass-hal-tm1.
Change-Id: I8ceee3f10ef3134aefba8103ff9244d7189f218d
Signed-off-by: Wook Song <wook16.song@samsung.com>
Tizen Infrastructure [Mon, 13 Feb 2017 04:17:14 +0000 (20:17 -0800)]
Initial empty repository