platform/core/system/pass.git
7 years agopmqos: conf: Add configuration file including the supported scenario list
Chanwoo Choi [Wed, 5 Oct 2016 05:21:15 +0000 (14:21 +0900)]
pmqos: conf: Add configuration file including the supported scenario list

This patch adds the pmqos.conf file which include the supported scenario list.

Change-Id: I331d55a8ce7453a6a9f4c59f961b9a86cf63f970
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
[wook16.song: Make git-am work without any failure]
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: conf: Add configuration file for TM2
Chanwoo Choi [Fri, 1 Jul 2016 07:32:54 +0000 (16:32 +0900)]
pass: conf: Add configuration file for TM2

This patch adds the TM2's configuration file which include the detailed
PASS level and scenario information.

Change-Id: Ibb07b584d30c4020385a22f20cf4da6a09773d57
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
[wook16.song: Make git-am work without any failure]
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopmqos: Fix the build error to remove the non-supported notifier
Chanwoo Choi [Mon, 4 Jul 2016 05:22:33 +0000 (14:22 +0900)]
pmqos: Fix the build error to remove the non-supported notifier

This patch fixs the build error to removethe non-supported notifier
and funcitons.

Change-Id: I70885660d48dc3a7a67e5d62b79828cbae0f04fa
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopmqos: Add the support the PMQOS feature to handle the resource according to scenario
Jiyoung Yun [Mon, 4 Jul 2016 03:52:26 +0000 (12:52 +0900)]
pmqos: Add the support the PMQOS feature to handle the resource according to scenario

This patch adds the support the PMQOS feature to handle the h/w resource
according to scenario. This code move from Tizen 2.4 branch to Tizen 3.0 branch.

Change-Id: Id9c48b7e3b101f00840c31ff37a694f4a32dbd21
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
[cw00.choi: Move the code from Tizen 2.4 from Tizen 3.0]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
[wook16.song: Make git-am work without any failure]
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agocore: Add DD_LIST_SORT macro
Chanwoo Choi [Mon, 4 Jul 2016 04:27:26 +0000 (13:27 +0900)]
core: Add DD_LIST_SORT macro

This patch adds the DD_LIST_SORT macro to support the sorting.

Change-Id: Id435a884e14e731b2f4bf7e96ca9bd028571aac0
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass: plugin: Add the get/set_freq for CPU/BUS/GPU frequency h/w resource
Chanwoo Choi [Wed, 29 Jun 2016 07:42:26 +0000 (16:42 +0900)]
pass: plugin: Add the get/set_freq for CPU/BUS/GPU frequency h/w resource

This patch adds the funcions to handle the h/w resource of CPU, Memory bus
and GPU frequency. This functions can handle the maximum/minimum/current
frequency of h/w resource.

Change-Id: Icabbc94b94863e109fab2eb664ac4f703da0dc7e
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass: pmqos: Split out the pm_qos feature from core driver
Chanwoo Choi [Mon, 20 Jun 2016 11:50:32 +0000 (20:50 +0900)]
pass: pmqos: Split out the pm_qos feature from core driver

This patch split out the pm_qos feature from the core driver of PASS.
The pass-pmqos.c handles the h/w resource according to user scenario.

Change-Id: Iab5880696838394d4c03b8458b910665e9dbe759
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass: Remove the unused header file
Chanwoo Choi [Thu, 9 Jun 2016 10:20:38 +0000 (19:20 +0900)]
pass: Remove the unused header file

This patch removes the pass-hotplug.h header file because it is not used.

Change-Id: I8d73e880baeec94d4b9a4c0d08de765ec2b14f48
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass: Fix the build warning
Chanwoo Choi [Thu, 9 Jun 2016 08:04:08 +0000 (17:04 +0900)]
pass: Fix the build warning

This patch fixes the all of build warning.

Change-Id: I2425c949093735e9554be1bdad43bb3a7017513d
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass: gov: Fix the bug of radiation governor
Chanwoo Choi [Wed, 4 May 2016 11:45:49 +0000 (20:45 +0900)]
pass: gov: Fix the bug of radiation governor

This patch fixes the bug of radiation governor

Change-Id: Iba76f9646149871770a81f8aff39e39b6f673c47
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass: plugin: Initialize the pass_table and add debug messages
Chanwoo Choi [Thu, 28 Apr 2016 12:00:18 +0000 (21:00 +0900)]
pass: plugin: Initialize the pass_table and add debug messages

This patch initializes the pass_table and add debug messages.

Change-Id: Ic9ee59d2f05d309b7f6502c30b14e8482be76d63
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass: core: Remove the min_freq setting when turn on/off CPUs
Chanwoo Choi [Wed, 4 May 2016 13:11:37 +0000 (22:11 +0900)]
pass: core: Remove the min_freq setting when turn on/off CPUs

This patch removes the min_freq setting to reduce the high power-consumption
when the state of CPUs are changed.

Change-Id: I8bef77cd12da0cced85b8503e33e530eb506bcb7
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass: Add the multi-cluster support for big.LITTLE core
Chanwoo Choi [Tue, 30 Jun 2015 09:59:23 +0000 (18:59 +0900)]
pass: Add the multi-cluster support for big.LITTLE core

This patch add the multi-cluser support for big.LITTLE core because previous
PASS (Power Aware System Service) only have supported the only one cluster.

Change-Id: Ib84ddce38ea4b54f25745e9b889f332217bd2ec4
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass: Add PASS (Power Aware System Service) to support the power management
Chanwoo Choi [Thu, 2 Jun 2016 04:22:40 +0000 (13:22 +0900)]
pass: Add PASS (Power Aware System Service) to support the power management

This patch adds the support for PASS (Power Aware System Service) which is used
for power management of Tizen platform. PASS uses the CPU utilization, current CPU
frequency and the number of running tasks to determine the required system
resource currently. PASS has the two governors as following:
- Step governor
- Radiation governor

Change-Id: I3c43978701a0ebe02fab7c5b50847e57cc345090
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
[wook16.song: Make git-am work without any failure]
Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agonotifier: Add DEVICE_NOTIFIER_PMQOS type for PASS
Chanwoo Choi [Thu, 2 Jun 2016 03:04:05 +0000 (12:04 +0900)]
notifier: Add DEVICE_NOTIFIER_PMQOS type for PASS

This patch adds the DEVICE_NOTIFIER_PMQOS notifier because PASS uses the
DEVICE_NOTIFIER_PMQOS to support scenario-based power management.

Change-Id: If570675b55a029b37615ce186e0f8daf9aa9ca80
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
7 years agopass: Eliminate RPM pacakage dependency of main daemon
Wook Song [Wed, 23 Nov 2016 02:33:20 +0000 (11:33 +0900)]
pass: Eliminate RPM pacakage dependency of main daemon

This patch elminates the RPM package dependency of the main daemon,
currently named pass-X.X.X-X.armv7l.rpm, on the tool for convenience of
the test.

7 years agopass: Change log tag
Wook Song [Tue, 22 Nov 2016 05:21:12 +0000 (14:21 +0900)]
pass: Change log tag

This patch replace the log tag, which is DEVICED, with PASS.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Modify unit configuration file for systemd
Wook Song [Tue, 22 Nov 2016 02:24:50 +0000 (11:24 +0900)]
pass: Modify unit configuration file for systemd

This patch modifies the unit configuration file (normally, the file name
of each systemd unit configuration file ends in .service) to register
the pass daemon to systemd.

Note: at this point, you can build and run this package.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Remove time module
Wook Song [Mon, 21 Nov 2016 07:38:39 +0000 (16:38 +0900)]
pass: Remove time module

This patch removes the time module (time/time-handler.c), which is
currently not referenced by any other modules or the core.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Clean up APIs for removed modules
Wook Song [Mon, 21 Nov 2016 07:20:24 +0000 (16:20 +0900)]
pass: Clean up APIs for removed modules

This patch cleans up the APIs of deviced. Since the modules which are
no longer required by PASS are excluded from the package, APIs that
correspond to these modules are removed.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Remove led module
Wook Song [Mon, 21 Nov 2016 07:09:12 +0000 (16:09 +0900)]
pass: Remove led module

This patch removes the led moudule of deviced.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Remove unnecessary modules
Wook Song [Mon, 21 Nov 2016 05:48:00 +0000 (14:48 +0900)]
pass: Remove unnecessary modules

This patch removes the dispaly, extcon, and power modules of deviced and
applies change 24b34852276fd4d6872e7d6d32387d8d4f8efdf7 ("power: systemd
dbus method and signal are used to check if booting is done") of
deviced to pass. Several dependencies between the core and these modules
are also eliminated.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Remove haptic and touchscreen modules
Wook Song [Mon, 21 Nov 2016 02:09:45 +0000 (11:09 +0900)]
pass: Remove haptic and touchscreen modules

PASS does not require the haptic and touchscreen modules of deviced.
Since there is no dependency between the core and these modules, this
patch removes the haptic and touchscreen moudlues without any changes in
src/core.c. CMakeLists.txt and packaging/pass.spec are slightly
modified and several files (scripts/deviced-vibrator.conf and
systemd/deviced-vibrator.service), which are required by the haptic
module, are deleted.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Remove block module and related features
Wook Song [Fri, 18 Nov 2016 07:35:51 +0000 (16:35 +0900)]
pass: Remove block module and related features

This patch removes the block module, which is not required for pass.
Several features related to the block module including
TIZEN_FEATURE_BLOCK_SET_PERMISION and block_tmpfs are also eliminated as
well.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agolibpass: Remove libpass (libdeviced of deviced)
Wook Song [Fri, 18 Nov 2016 06:47:39 +0000 (15:47 +0900)]
libpass: Remove libpass (libdeviced of deviced)

This patch removes libpass packages, which were libdeviced of deviced.
These packages are required to build devicectl. Since devicectl has been
removed, there is no reason to remain these packages at this point.

Now, when the building is successfully done, you can find only following
packages as the results:

- pass-0.0.1-1.armv7l.rpm
- pass-debuginfo-0.0.1-1.armv7l.rpm
- pass-debugsource-0.0.1-1.armv7l.rpm

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Remove all usb-related modules and features
Wook Song [Fri, 18 Nov 2016 06:06:46 +0000 (15:06 +0900)]
pass: Remove all usb-related modules and features

This patch mainly removes usb (both client and host) modules, which are
not necessary for pass. Several debug features using usb are also
removed.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agodevicectl: Remove devicectl
Wook Song [Fri, 18 Nov 2016 04:23:19 +0000 (13:23 +0900)]
devicectl: Remove devicectl

This patch removes devicectl, which is a helper tool for deviced. When
the stable version of pass is ready and available, it will be refactored
to support pass.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Remove tzip module
Wook Song [Fri, 18 Nov 2016 02:18:50 +0000 (11:18 +0900)]
pass: Remove tzip module

Since PASS does not require the tzip module of deviced, src/tzip is
removed.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Remove battery and ir modules
Wook Song [Fri, 18 Nov 2016 01:39:46 +0000 (10:39 +0900)]
pass: Remove battery and ir modules

PASS does not require the battery and ir modules of deviced. The
src/battery and src/ir directories are deleted. In order to apply these
changes, CMakeLists.txt and packaging/pass.spec files are also modified.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Change names of project and daemon to "pass"
Wook Song [Fri, 18 Nov 2016 00:27:53 +0000 (09:27 +0900)]
pass: Change names of project and daemon to "pass"

This patch simply changes names of this project and the main daemon to
"pass". When the packages are successfully built, you can find the
following files as the results:

- libpass-0.0.1-1.armv7l.rpm
- libpass-devel-0.0.1-1.armv7l.rpm
- pass-debuginfo-0.0.1-1.armv7l.rpm
- pass-tools-0.0.1-1.armv7l.rpm
- libpass-debuginfo-0.0.1-1.armv7l.rpm
- pass-0.0.1-1.armv7l.rpm
- pass-debugsource-0.0.1-1.armv7l.rpm
- pass-tools-debuginfo-0.0.1-1.armv7l.rpm

Note: although those packages can be built without any errors, you
should not install them to your target device since it may cause
conflict with the existing deviced.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agopass: Fork from deviced
Wook Song [Thu, 17 Nov 2016 04:21:15 +0000 (13:21 +0900)]
pass: Fork from deviced

This patch adds a bunch of files forked from deviced. In order to make
pass work as a separte systemd daemon, we start from the specific
snapshot of deviced.

Originates from:

ssh://review.tizen.org:29418/platform/core/system/deviced
(branch: accepted/tizen_3.0_mobile)
commit: 41f1d655807502f88027873a4509a50180fb1196

Note: since some of files including CMakeLists.txt,
packaging/deviced.spec are excluded for the technical reasons, you
cannot build it as deviced.

Signed-off-by: Wook Song <wook16.song@samsung.com>
7 years agoInitial empty repository master
Tizen Infrastructure [Mon, 16 Jan 2017 09:28:33 +0000 (01:28 -0800)]
Initial empty repository