summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Chanwoo Choi [Mon, 23 Jan 2017 01:22:40 +0000 (10:22 +0900)]
pass: hal: Add new hal interface to handle the h/w resource
The pass handle the h/w resources such as CPU, Memory Bus and GPU.
This patch adds the new HAL (Hardware Abstract Layer) interface
to support the pass on all h/w boards. This patch defines the
three type of resources.
- struct pass_resrouce_cpu for CPU h/w.
- struct pass_resrouce_bus for Memory bus h/w.
- struct pass_resrouce_gpu for GPU h/w.
The hal-cpu-example.c is just example to help the implementation
of he real HAL.
Change-Id: I09035678cdeac185a67b79492176986f5e01e23b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Tue, 17 Jan 2017 10:53:29 +0000 (19:53 +0900)]
pass: Remove unused structure definitions
This patch removes the unused structure definitions.
Change-Id: I7b68bce746f6410bcf2d91df671e9318bbf6e7d1
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 19 Jan 2017 09:46:29 +0000 (18:46 +0900)]
pass: gov: Fix bug radiation governor when the number of load entry is zero
The radiation governor uses the history of CPU utilization
in order to decide the proper pass level. If CPU idle time
is over period time (default 400ms), there is no any history
of cpu utilization. If the number of history is zero,
the governor have to return with previous pass level.
So, this patch handle the error case if the number
of load entry is zero.
Change-Id: If32d334b21059a5c889c866a0e70f41181133ebd
Reported-by: Eunki Hong <eunkiki.hong@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 19 Jan 2017 02:52:16 +0000 (11:52 +0900)]
pass: Remove unneeded pass-util.h
This patch removes the unneeded pass-util.h. Instead, pass-core.c
includes "core/log.h" header file.
Change-Id: Ide03d8159575fdae9ce4c178742a6b544b0c4b4b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Mon, 16 Jan 2017 07:27:12 +0000 (16:27 +0900)]
pass: Remove unused code and modify the prefix for pass
The pass is developed based on deviced source. There are the specific
features and codes for deviced. This patch removes the unused
features and if there is the used feature for pass, this patch
modifies the naming prefix for pass.
Change-Id: Id078a9070e30b2a1ee87e374bbceaf731ebc7036
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 12 Jan 2017 11:27:38 +0000 (20:27 +0900)]
pass: Split out parser feature from plugin module
This patch split out the parser feature to parse the configuration
from plugin module because plugin module will be removed and renames
the pmqos-plugin.c to pmqos-parser.c.
Change-Id: Iba89a1293678714114846234c303b5e36570408a
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Thu, 12 Jan 2017 08:27:51 +0000 (17:27 +0900)]
pass: Fix the build warnings
This patch fixes the build warnings about following issues:
- pass-plugin.c: warning: unused variable 'level' [-Wunused-variable]
- pass-pmqos.c: warning: implicit declaration of function 'get_time_ms' [-Wimplicit-function-declaration]
- pass-pmqos.c: warning: unused variable 'locked_time' [-Wunused-variable]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Mon, 9 Jan 2017 07:16:20 +0000 (16:16 +0900)]
pass: conf: Modify the pass_compatible name to support TM2 board
This patch modifies the pass_compatible name for TM2 board as following:
- "draco" -> "tm2" : tm2 is official name for TM2 board.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Wook Song [Thu, 22 Dec 2016 04:41:00 +0000 (13:41 +0900)]
pmqos: Make PMQoS feature work using EDbus
This patch makes the PMQoS feature work on PASS. In order to receive
DBus method call messages related to the PMQoS scenarios, the PMQoS
feature currently relies on EDbus (EFL D-BUS wrapper).
Signed-off-by: Wook Song <wook16.song@samsung.com>
Wook Song [Tue, 20 Dec 2016 06:52:57 +0000 (15:52 +0900)]
pass: Fix bug in initializing pass_table
This patch fixes following issue:
I/PASS (28120): pass-core.c: pass_governor_core_timer(453) > Change
the period of governor timer from 0.400000s to
28684447001453215729166007156692003357432084613448073247205944301959706
06648226909257285691507618049531741760802643920937127227407207970809900
37736192679308348770424336630500142586913989268043480145518076661186128
31491039131628038411330434453835782245089155343230483828779371137532403
45772032.000000s
TODO: This is a temporary patch, which uses a dangerous way to
initialize the dynamically allocated structure array, pass_table.
Signed-off-by: Wook Song <wook16.song@samsung.com>
Chanwoo Choi [Tue, 6 Dec 2016 05:37:46 +0000 (14:37 +0900)]
pass: Initialize the policy->governor instance
This patch initializes the policy->governor instance to prevenet
the starting issue because policy->governor might have the garbage data.
It cause that pass could not start.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Fri, 19 Aug 2016 05:54:05 +0000 (14:54 +0900)]
pass: conf: Modify the min_level of cluster0/1 from 0 to 4 for performance
Change-Id: I1ebaff9aaea369ca411c88f7b2c5277b43d3e552
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Tizen Infrastructure [Mon, 16 Jan 2017 09:28:33 +0000 (01:28 -0800)]
Initial empty repository