summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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