summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Chanwoo Choi [Mon, 25 May 2020 10:07:55 +0000 (19:07 +0900)]
pass-hal: tw2: Change smack label to give read permission everyone
Change smack label to give read permission everyone as following:
- System -> System:Shared
Change-Id: Icbae398f152da329b37c9864eee9fa11e4dc9512
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Mon, 24 Feb 2020 11:35:34 +0000 (20:35 +0900)]
pass-hal: tw2: Update configuration using scenario pass_level for CPU0/Memory
Change-Id: I0006fcae5985be209e17249a9a28d606f595ced4
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Dongwoo Lee [Wed, 11 Sep 2019 06:37:40 +0000 (15:37 +0900)]
pass-hal: tw2: Send exact size of pmqos data
To prevent buffer overflow, sends exact size of pmqos data.
Change-Id: I8e7ef967e619a5f722546754479a1aaed9a10c8c
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Fri, 12 Apr 2019 06:13:26 +0000 (15:13 +0900)]
pass-hal: tw2: Change name of thermal actions
This changes name of thermal actions as following thermal interface
standard.
Change-Id: I4668b70877598ca2435ce186402e7e0d29230268
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Fri, 15 Mar 2019 05:12:22 +0000 (14:12 +0900)]
pass-hal: tw2: 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 tw2 image
creation doesn't have warning messages yet, this patch adds dependency
on security-config to prevent it proactively.
Change-Id: I3b0912bd46853abe5930160761146c6a3eed8bea
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Chanwoo Choi [Fri, 16 Mar 2018 08:41:09 +0000 (17:41 +0900)]
pass-hal: tw2: Add support of 'thermal monitor' property
TW2 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:46:07 +0000 (15:46 +0900)]
pass-hal: tw2: Fix overflow issue reported by svace
Change-Id: I2b5df07f99074bff5b54f57bb18f878fdd826106
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 15 Mar 2018 05:37:07 +0000 (14:37 +0900)]
pass-hal: tw2: Add thermal resource name of CPU h/w resource
TW2 board has the 'ap_therm' resource name for thermal information.
Change-Id: I0521326c6e3e93c37ed160da6d0a5621e4b755a9
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 15 Mar 2018 05:36:06 +0000 (14:36 +0900)]
pass-hal: tw2: Add get_temp() of cpu h/w resource
Add tw2_cpu_get_temp() which reads the temperature of CPU h/w resource.
Change-Id: I3b3a9f39fe7a797db7e13a8e31b7df6489d45f5f
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 15 Mar 2018 05:34:24 +0000 (14:34 +0900)]
pass-hal: tw2: Add new sysfs path to get temperature
Add new sysfs path to get temperature. Permit the only read permission.
Change-Id: If3673dabff1bad48d750dce8d9046f6b028696e0
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Tue, 21 Nov 2017 08:04:21 +0000 (17:04 +0900)]
pass-hal: tw2: Release v1.0.0
Detailed description for this release:
- Provide the configuration files for Exynos7270-based TW2 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 two CPU.
: pass-resource1.conf indicates the Memory h/w.
: pass-resource2.conf indicates the non-standard device which sends
the specific data from tizen framework to the pass-hal layer through PMQoS.
Change-Id: I5d78e397b5cbc0ce97d675520e28239d37387213
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 12 Oct 2017 08:27:40 +0000 (17:27 +0900)]
pass-hal: tw2: Disable AppLaunch scenario for memory h/w resource
This patch disables the 'AppLaunch' scenario for memorh h/w resource
in order to keep the 4096 byte of the fault_around_bytes.
Change-Id: Id9b133629fea223fb11224da1a94b81920c39d85
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Tue, 26 Sep 2017 10:30:04 +0000 (19:30 +0900)]
pass-hal: tw2: 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 overrun issue of array.
Change-Id: If227dd582b74fc5fc0dc3a875526a642c098f84c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Wed, 6 Sep 2017 08:18:17 +0000 (17:18 +0900)]
pass-hal: tw2: Add pass-resource5.conf for memory h/w device
This patch adds the new resource configuration for the memory h/w device
in order to handle the 'fault_around_bytes'[1] element.
The 'fault_around_bytes' indicates the number of bytes to be mapped
around the fault. If the value is low(e.g., 4096), it is able to
increase the empty memory on normal case. On the other hand,
if the value is high (e.g., 65536), it is able to improve
the performance by mapping the huge pages such as the app launching.
[1] https://lkml.org/lkml/2016/4/18/612
And this patch adjusts the sequence between memory and
nonstanard type because when writing the pass.conf file,
please recommend to locate the 'nonstandard' resource type
on the last in the pass.conf.
Change-Id: I585587c705f04844602a01b2f3ec7ef4269ddb88
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Tue, 5 Sep 2017 05:38:58 +0000 (14:38 +0900)]
pass-hal: tw2: Remove unused version info
This patch removes the unused version info.
Change-Id: I46e989671472b912a9e38e10eca8c4b48b05a67e
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Wook Song [Wed, 23 Aug 2017 08:16:10 +0000 (17:16 +0900)]
pass-hal: tw2: Make nonstandard HAL work even if without TRM
Since the nonstandard interfaces of HAL are 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 to receive the scenario
information does not exist at the HAL open point.
Change-Id: Iea895670268aa49ed3878b10253f0266e8804f5d
Reported-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Wed, 23 Aug 2017 01:40:34 +0000 (10:40 +0900)]
pass-hal: tw2: Change the way to restart daemon after install/uninstall
This patch simply changes the way to restart the pass daemon after
installing or uninstalling this package. 'awk' is no longer needed. Note
that the option 'try-restart' of systemctl is to restart one or more
units (in this context, the pass daemon) if active.
Change-Id: I05c5a076831babdf63dc644b4b9e4daa13c0ec2c
Signed-off-by: Wook Song <wook16.song@samsung.com>
Chanwoo Choi [Wed, 16 Aug 2017 07:37:38 +0000 (16:37 +0900)]
pass-hal: tw2: 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: I8ff87679c3f40a170242ed0c2beb5e83631c0174
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: tw2: Add dependency on PASS
Since PASS HAL for TW2 cannot run standalone, it should be check that
PASS is installed. To do this, dependency on PASS is added to RPM spec.
Change-Id: I7c1248aab0845ac65b5e644459a8c18c62a78a99
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Fri, 21 Jul 2017 00:38:36 +0000 (09:38 +0900)]
pass-hal: tw2: Force to restore initial state of resource
Though PASS supports save/restore initial state of each resource, but
tw2 has weird pmqos interface and thus it doesn't work well.
To resolve this, pass-hal-tw2 forces to restore initial state when it
is closed.
Change-Id: Ia6420122f1bd858c8a38a2702bcffa2e8524d395
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Tue, 18 Jul 2017 05:04:58 +0000 (14:04 +0900)]
pass-hal: tw2: Add get functions to cpu resource
Currently, pass-hal-tw2 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: I85d00f0e2b18caed30a9deeddad5fbe89cb12579
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Wed, 19 Jul 2017 06:48:19 +0000 (15:48 +0900)]
pass-hal: tw2: Clean up code
To improve readability of code, some missing blank line will be added
and unnecessary braces will be removed.
Change-Id: Ic7771c5fe3de75483ea8735eae2c2c2dc675bb81
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Wook Song [Tue, 4 Jul 2017 07:32:21 +0000 (16:32 +0900)]
pass-hal: tw2: Add nonstandard HAL for PMQoS support with TRM
This patch allows TW2-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.
Signed-off-by: Wook Song <wook16.song@samsung.com>
[retrieved from PASS-hal-tm1]
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Change-Id: Id3ff97cc24c88c639aeb98ecc7a4c04454380be1
Wook Song [Wed, 15 Feb 2017 05:15:31 +0000 (14:15 +0900)]
pass-hal: tw2: Add configuration files for resources
This patch adds the new configuration files for resources of tw2
board.
- pass.conf contains the number of supported resources and the
information.
- pass-hal.conf contains the permission information for the required
sysfs node.
- pass-resource0.conf is the configuration file for CPU cores on tw2.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
[Retrieved from pass-hal-tm1]
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Change-Id: Ibac9ee4acfb92b7608fc771b88fd37f00baad7ef
Wook Song [Tue, 14 Feb 2017 08:37:23 +0000 (17:37 +0900)]
pass-hal: tw2: Add implementation of HAL for CPU
This patch adds an implementation of the PASS HAL for CPU.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
[Retrived from pass-hal-tm1]
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Change-Id: I38d34319a3a98fd142cca755dacbb65d557dbd7c
Wook Song [Thu, 9 Feb 2017 05:59:47 +0000 (14:59 +0900)]
pass-hal: tw2: 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-tw2.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
[retrieved from pass-hal-tm1]
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Change-Id: I109a4502c4500cfeb52e346928ec3b9dccee73f1
Tizen Infrastructure [Mon, 3 Jul 2017 02:56:30 +0000 (02:56 +0000)]
Initial empty repository