platform/adaptation/pass-hal-standard.git
6 years agopass-hal: standard: Add new library for memory h/w device 48/146348/4 accepted/tizen/unified/20170913.070639 submit/tizen/20170911.052326
Chanwoo Choi [Mon, 28 Aug 2017 04:53:30 +0000 (13:53 +0900)]
pass-hal: standard: Add new library for memory h/w device

This patch adds the new library (memory.so) in order to
support the memory[1] h/w device. And the struct pass_resource_memory
supports the 'fault_around_bytes'[2] feature.

The 'fault_around_bytes'[2] was supported from Linux Kernel v3.15.

[1] https://en.wikipedia.org/wiki/Computer_memory
[2] https://lkml.org/lkml/2016/4/18/612

Change-Id: I76f73c2af32f5d09061a54fab20df5d4f43f3eec
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: standard: Remove unused version info 54/147654/2
Chanwoo Choi [Tue, 5 Sep 2017 04:25:23 +0000 (13:25 +0900)]
pass-hal: standard: Remove unused version info

This patch just removes the unused version info.

Change-Id: I8f4ba62ee9b3679f505744a01620ea78ee5934ef
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: standard: Change the way to restart daemon after (un)install 43/145543/1 accepted/tizen/unified/20170824.172534 submit/tizen/20170824.064003
Wook Song [Wed, 23 Aug 2017 01:18:32 +0000 (10:18 +0900)]
pass-hal: standard: Change the way to restart daemon after (un)install

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: Ib80558692c0b16998b10d9e55b15e25cdc3d501e
Signed-off-by: Wook Song <wook16.song@samsung.com>
6 years agopass-hal: standard: Remove wrong dependency of pass-hal-devel 99/144299/2 accepted/tizen/4.0/unified/20170828.224354 accepted/tizen/unified/20170822.023803 submit/tizen/20170821.043932 submit/tizen_4.0/20170828.110001
Chanwoo Choi [Wed, 16 Aug 2017 07:32:26 +0000 (16:32 +0900)]
pass-hal: standard: 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: I96ab18c355fbaadafde958ef564085b0eace5136
Reported-by: Wook Song <wook16.song@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
6 years agopass-hal: standard: Add implementation for get_available_min/max_freq() 44/143144/7
Dongwoo Lee [Mon, 7 Aug 2017 06:55:32 +0000 (15:55 +0900)]
pass-hal: standard: Add implementation for get_available_min/max_freq()

The new functions for getting available minimum/maximum frequency
is added to dvfs callback. For cpu it can be done by accessing cpuinfo
node, but devfreq has no sysfs node which has available max, so the
value is retrieved from the available frequency lists.

Change-Id: I4b09149d3d434837462e412412eb022489ab96b3
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
6 years agopass-hal: standard: Add permissions for the available min/max frequency 05/143305/6
Dongwoo Lee [Wed, 9 Aug 2017 06:47:50 +0000 (15:47 +0900)]
pass-hal: standard: Add permissions for the available min/max frequency

To add implementation for the new function to get available frequency
of cpu and memory bus, PASS should have the proper permission for
sysfs node which the new functions access. For this, the permission
for these sysfs node will be added to pass-hal.conf

Change-Id: I96aafa604390efe97b7059ce6e45b0ea8d243450
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
6 years agopass-hal: standard: Add pass-hal.conf to change the permission of sysfs nodes
Dongwoo Lee [Wed, 9 Aug 2017 07:02:36 +0000 (16:02 +0900)]
pass-hal: standard: Add pass-hal.conf to change the permission of sysfs nodes

The standard HAL package handles the many sysfs nodes to change the
state of h/w resources. Therefore, the proper permission for all
sysfs node to system_fw because PASS daemon has the system_fw
permission. To do this, this patch adds pass-hal.conf which contains
the permission information for the required sysfs nodes.

Change-Id: Ica5bfc55f2cc7e0ac1e9e914b25d8237daaacdcd
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
6 years agopass-hal: standard: Implement HAL with standard interfaces 96/140496/12
Dongwoo Lee [Wed, 8 Feb 2017 05:57:22 +0000 (14:57 +0900)]
pass-hal: standard: Implement HAL with standard interfaces

This provides PASS standard HAL for CPU, GPU, and memory bus. Since
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.

Change-Id: I3dee9be02cc843cfffb940e86ffcac9ae8126205
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
6 years agopass-hal: standard: Create spec file for RPM package 91/140091/1 accepted/tizen/4.0/unified/20170816.013711 accepted/tizen/unified/20170803.161411 submit/tizen/20170803.052703 submit/tizen_4.0/20170811.094300
Dongwoo Lee [Wed, 8 Feb 2017 05:45:41 +0000 (14:45 +0900)]
pass-hal: standard: Create spec file for RPM package

This patch creates files required to build the RPM package. Although it
is possible to build the package, only one empty RPM file would be
created since source files are not implemented yet.

Change-Id: I5132d84314e2329f17082d41d5e0b71836b0c0c0
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
6 years agoInitial empty repository master
Tizen Infrastructure [Wed, 12 Jul 2017 10:51:34 +0000 (10:51 +0000)]
Initial empty repository