sdk/emulator/emulator-kernel.git
11 years agoSmack: applied network-label-match patch.
Kitae Kim [Fri, 28 Jun 2013 01:42:43 +0000 (10:42 +0900)]
Smack: applied network-label-match patch.

This patch solved the problem that Smack recognizes incorrectly subject object pair
when checking IP packet access.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Tested-by: Bumjin Im <bj.im@samsung.com>
Change-Id: I8b702adc78f52f03629a2b951af6040147366a5b

12 years agoUnset CROSS_COMPILE env because it might be set.
SeokYeon Hwang [Tue, 4 Jun 2013 07:43:58 +0000 (16:43 +0900)]
Unset CROSS_COMPILE env because it might be set.

Change-Id: I8f11c621e5ca864002b57195e64dc84e19a10e28
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agopackage: version up
Kitae Kim [Wed, 29 May 2013 04:59:28 +0000 (13:59 +0900)]
package: version up

update package version to apply smack patches.

Change-Id: I531704d63b9f7bbea1068fd5c4de9884d09751d7
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agopackage: modify dibs build script.
Kitae Kim [Wed, 29 May 2013 04:58:17 +0000 (13:58 +0900)]
package: modify dibs build script.

disable to build kernel for arm

Change-Id: I9d09b065e1cef20c4e62976fd264b201fbc3f445
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agotouch: modified the maximum tracking count of fingers
giwoong.kim [Thu, 23 May 2013 01:40:55 +0000 (10:40 +0900)]
touch: modified the maximum tracking count of fingers

Modified the maximum tracking count of fingers
in touch device driver.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoPackage version up.
sungmin ha [Tue, 21 May 2013 09:09:49 +0000 (18:09 +0900)]
Package version up.

12 years agoMerge "virtio-keyboard: added initializing vqidx when the host keyboard is turned...
Yeongkyoon Lee [Tue, 21 May 2013 08:45:58 +0000 (17:45 +0900)]
Merge "virtio-keyboard: added initializing vqidx when the host keyboard is turned on." into develop

12 years agovirtio-keyboard: added initializing vqidx when the host keyboard is turned on.
sungmin ha [Tue, 21 May 2013 06:45:09 +0000 (15:45 +0900)]
virtio-keyboard: added initializing vqidx when the host keyboard is turned on.

Signed-off-by: Sungmin Ha <sungmin82.ha@samsung.com>
12 years agoMerge "Package version up." into develop
Yeongkyoon Lee [Tue, 21 May 2013 06:25:04 +0000 (15:25 +0900)]
Merge "Package version up." into develop

12 years agoPackage version up.
SeokYeon Hwang [Tue, 21 May 2013 06:34:28 +0000 (15:34 +0900)]
Package version up.

Change-Id: I0bfa2666dd8d65da8eef1fda7450ccc1a5857f67
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agoSmack: include magic.h in smackfs.c
Casey Schaufler [Tue, 2 Apr 2013 18:41:18 +0000 (11:41 -0700)]
Smack: include magic.h in smackfs.c

commit 958d2c2f4ad905e3ffa1711d19184d21d9b00cc1 upstream

As reported for linux-next: Tree for Apr 2 (smack)
Add the required include for smackfs.c

Change-Id: I0fcf02693b9f5a0627edb3dfd79eeb671982cc5d
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Reviewed-on: http://165.213.202.130:8080/53907
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Kyungmin Park <kyungmin.park@samsung.com>
12 years agoSmack: add support for modification of existing rules
Rafal Krypa [Thu, 10 Jan 2013 18:42:00 +0000 (19:42 +0100)]
Smack: add support for modification of existing rules

commit e05b6f982a049113a88a1750e13fdb15298cbed4 upstream

Rule modifications are enabled via /smack/change-rule. Format is as follows:
"Subject Object rwaxt rwaxt"

First two strings are subject and object labels up to 255 characters.
Third string contains permissions to enable.
Fourth string contains permissions to disable.

All unmentioned permissions will be left unchanged.
If no rule previously existed, it will be created.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Change-Id: If70a8b8a88ce2abc6b10bdd7bc7791996e70c8cd
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Reviewed-on: http://165.213.202.130:8080/53906
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Kyungmin Park <kyungmin.park@samsung.com>
12 years agoRevert "Smack: add support for modification of existing rules"
Rafal Krypa [Thu, 13 Dec 2012 18:02:09 +0000 (19:02 +0100)]
Revert "Smack: add support for modification of existing rules"

This reverts commit 3cf5b164d32a648a627506a21d2fc6a6c24a2808.

Change-Id: Ia099ccd24faf7556771e0fd08184bc6065db92a8
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Reviewed-on: http://165.213.202.130:8080/53905
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Kyungmin Park <kyungmin.park@samsung.com>
12 years agoSmack: prevent revoke-subject from failing when unseen label is written to it
Rafal Krypa [Mon, 17 Sep 2012 13:38:30 +0000 (15:38 +0200)]
Smack: prevent revoke-subject from failing when unseen label is written to it

commit d15d9fad16f6aa459cf4926a1d3aba36b004e9a2 upstream

Special file /smack/revoke-subject will silently accept labels, that are not
present on the subject label list. Nothing has to be done for such labels,
as there are no rules for them to revoke.

Change-Id: I326e1fad79a99a48839de8c35abfe709391e0f30
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Reviewed-on: http://165.213.202.130:8080/53903
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Kyungmin Park <kyungmin.park@samsung.com>
12 years agoSmack: create a sysfs mount point for smackfs
Casey Schaufler [Fri, 2 Nov 2012 01:14:32 +0000 (18:14 -0700)]
Smack: create a sysfs mount point for smackfs

commit e93072374112db9dc86635934ee761249be28370 upstream

There are a number of "conventions" for where to put LSM filesystems.
Smack adheres to none of them. Create a mount point at /sys/fs/smackfs
for mounting smackfs so that Smack can be conventional.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Change-Id: Ibdb521f61147545376f3e62b80905c8751ea0fc8
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Reviewed-on: http://165.213.202.130:8080/53902
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Kyungmin Park <kyungmin.park@samsung.com>
12 years agoSmack: use select not depends in Kconfig
Casey Schaufler [Fri, 2 Nov 2012 18:28:11 +0000 (11:28 -0700)]
Smack: use select not depends in Kconfig

commit 111fe8bd65e473d5fc6a0478cf1e2c8c6a77489a upstream

The components NETLABEL and SECURITY_NETWORK are required by
Smack. Using "depends" in Kconfig hides the Smack option
if the user hasn't figured out that they need to be enabled
while using make menuconfig. Using select is a better choice.
Because select is not recursive depends on NET and SECURITY
are added. The reflects similar usage in TOMOYO and AppArmor.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Change-Id: I375867a1c1ec6958ae4b579823f651b6431e5cc6
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-on: http://165.213.202.130:8080/53901
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Kyungmin Park <kyungmin.park@samsung.com>
12 years agoSmack: setprocattr memory leak fix
Casey Schaufler [Wed, 22 Aug 2012 18:44:03 +0000 (11:44 -0700)]
Smack: setprocattr memory leak fix

commit 46a2f3b9e99353cc63e15563e8abee71162330f7 upstream

The data structure allocations being done in prepare_creds
are duplicated in smack_setprocattr. This results in the
structure allocated in prepare_creds being orphaned and
never freed. The duplicate code is removed from
smack_setprocattr.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Change-Id: I192cdad82cbdb3a57cb8f4df06d5df9a5ac36c82
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Reviewed-on: http://165.213.202.130:8080/53900
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Kyungmin Park <kyungmin.park@samsung.com>
12 years agoSmack: remove task_wait() hook.
Casey Schaufler [Fri, 10 Aug 2012 00:46:38 +0000 (17:46 -0700)]
Smack: remove task_wait() hook.

commit c00bedb368ae02a066aed8a888afc286c1df2e60 upstream

On 12/20/2011 11:20 PM, Jarkko Sakkinen wrote:
> Allow SIGCHLD to be passed to child process without
> explicit policy. This will help to keep the access
> control policy simple and easily maintainable with
> complex applications that require use of multiple
> security contexts. It will also help to keep them
> as isolated as possible.
>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com>

I have a slightly different version that applies to the
current smack-next tree.

Allow SIGCHLD to be passed to child process without
explicit policy. This will help to keep the access
control policy simple and easily maintainable with
complex applications that require use of multiple
security contexts. It will also help to keep them
as isolated as possible.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
 security/smack/smack_lsm.c |   37 ++++++++-----------------------------
 1 files changed, 8 insertions(+), 29 deletions(-)

Change-Id: If37564a178a336b0097d314f4915c65a19c29c91
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Reviewed-on: http://165.213.202.130:8080/53899
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Kyungmin Park <kyungmin.park@samsung.com>
12 years agosmack: off by one error
Alan Cox [Thu, 26 Jul 2012 21:47:11 +0000 (14:47 -0700)]
smack: off by one error

commit 3b9fc37280c521b086943f9aedda767f5bf3b2d3 upstream

Consider the input case of a rule that consists entirely of non space
symbols followed by a \0. Say 64 + \0

In this case strlen(data) = 64
kzalloc of subject and object are 64 byte objects
sscanfdata, "%s %s %s", subject, ...)

will put 65 bytes into subject.

Change-Id: I23f9eddde5747bb1dde6e3fd5a4fbe08fd152ff2
Signed-off-by: Alan Cox <alan@linux.intel.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Cc: stable@vger.kernel.org
Signed-off-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Reviewed-on: http://165.213.202.130:8080/53898
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Kyungmin Park <kyungmin.park@samsung.com>
12 years agoFix common_audit_data type for smack_inode_unlink() and smack_inode_rmdir()
Dongsu Kim [Fri, 8 Mar 2013 05:20:39 +0000 (14:20 +0900)]
Fix common_audit_data type for smack_inode_unlink() and smack_inode_rmdir()

Change-Id: I39afcae6eeff869733b820f8f654fae5bf47f7e7
Signed-off-by: Dongsu Kim <dongsu17.kim@samsung.com>
Reviewed-on: http://165.213.202.130:8080/52126
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Kyungmin Park <kyungmin.park@samsung.com>
12 years agovirtio-keyboard: modified process of using virtio keyboard queue
sungmin ha [Tue, 14 May 2013 07:37:51 +0000 (16:37 +0900)]
virtio-keyboard: modified process of using virtio keyboard queue

Signed-off-by: Sungmin Ha <sungmin82.ha@samsung.com>
12 years agoevdi : remove unused log
DaiYoung Kim [Wed, 24 Apr 2013 12:40:42 +0000 (21:40 +0900)]
evdi : remove unused log

Signed-off-by: DaiYoung, Kim <daiyoung777.kim@samsung.com>
12 years agosdcard: Prepare mmcblk index more than 0
SeokYeon Hwang [Thu, 18 Apr 2013 06:10:02 +0000 (15:10 +0900)]
sdcard: Prepare mmcblk index more than 0

Change-Id: I7907abbe6906f569b4d981d85149e87fd15154e1
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agovirtio-blk: Don't free ida when disk is in use
Alexander Graf [Wed, 2 Jan 2013 05:07:17 +0000 (05:07 +0000)]
virtio-blk: Don't free ida when disk is in use

When a file system is mounted on a virtio-blk disk, we then remove it
and then reattach it, the reattached disk gets the same disk name and
ids as the hot removed one.

This leads to very nasty effects - mostly rendering the newly attached
device completely unusable.

Trying what happens when I do the same thing with a USB device, I saw
that the sd node simply doesn't get free'd when a device gets forcefully
removed.

Imitate the same behavior for vd devices. This way broken vd devices
simply are never free'd and newly attached ones keep working just fine.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: stable@kernel.org
12 years agovirtio-blk: Reset device after blk_cleanup_queue()
Asias He [Fri, 25 May 2012 02:34:48 +0000 (02:34 +0000)]
virtio-blk: Reset device after blk_cleanup_queue()

blk_cleanup_queue() will call blk_drian_queue() to drain all the
requests before queue DEAD marking. If we reset the device before
blk_cleanup_queue() the drain would fail.

1) if the queue is stopped in do_virtblk_request() because device is
full, the q->request_fn() will not be called.

blk_drain_queue() {
   while(true) {
      ...
      if (!list_empty(&q->queue_head))
        __blk_run_queue(q) {
    if (queue is not stoped)
q->request_fn()
}
      ...
   }
}

Do no reset the device before blk_cleanup_queue() gives the chance to
start the queue in interrupt handler blk_done().

2) In commit b79d866c8b7014a51f611a64c40546109beaf24a, We abort requests
dispatched to driver before blk_cleanup_queue(). There is a race if
requests are dispatched to driver after the abort and before the queue
DEAD mark. To fix this, instead of aborting the requests explicitly, we
can just reset the device after after blk_cleanup_queue so that the
device can complete all the requests before queue DEAD marking in the
drain process.

Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: virtualization@lists.linux-foundation.org
Cc: kvm@vger.kernel.org
Cc: stable@kernel.org
Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
12 years agovirtio-blk: Call del_gendisk() before disable guest kick
Asias He [Fri, 25 May 2012 02:34:47 +0000 (02:34 +0000)]
virtio-blk: Call del_gendisk() before disable guest kick

del_gendisk() might not return due to failing to remove the
/sys/block/vda/serial sysfs entry when another thread (udev) is
trying to read it.

virtblk_remove()
  vdev->config->reset() : guest will not kick us through interrupt
    del_gendisk()
      device_del()
        kobject_del(): got stuck, sysfs entry ref count non zero

sysfs_open_file(): user space process read /sys/block/vda/serial
   sysfs_get_active() : got sysfs entry ref count
      dev_attr_show()
        virtblk_serial_show()
           blk_execute_rq() : got stuck, interrupt is disabled
                              request cannot be finished

This patch fixes it by calling del_gendisk() before we disable guest's
interrupt so that the request sent in virtblk_serial_show() will be
finished and del_gendisk() will success.

This fixes another race in hot-unplug process.

It is save to call del_gendisk(vblk->disk) before
flush_work(&vblk->config_work) which might access vblk->disk, because
vblk->disk is not freed until put_disk(vblk->disk).

Cc: virtualization@lists.linux-foundation.org
Cc: kvm@vger.kernel.org
Cc: stable@kernel.org
Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
12 years agovirtio_blk: Drop unused request tracking list
Asias He [Fri, 30 Mar 2012 03:24:10 +0000 (03:24 +0000)]
virtio_blk: Drop unused request tracking list

Benchmark shows small performance improvement on fusion io device.

Before:
  seq-read : io=1,024MB, bw=19,982KB/s, iops=39,964, runt= 52475msec
  seq-write: io=1,024MB, bw=20,321KB/s, iops=40,641, runt= 51601msec
  rnd-read : io=1,024MB, bw=15,404KB/s, iops=30,808, runt= 68070msec
  rnd-write: io=1,024MB, bw=14,776KB/s, iops=29,552, runt= 70963msec

After:
  seq-read : io=1,024MB, bw=20,343KB/s, iops=40,685, runt= 51546msec
  seq-write: io=1,024MB, bw=20,803KB/s, iops=41,606, runt= 50404msec
  rnd-read : io=1,024MB, bw=16,221KB/s, iops=32,442, runt= 64642msec
  rnd-write: io=1,024MB, bw=15,199KB/s, iops=30,397, runt= 68991msec

Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
12 years agovirtio-blk: Fix hot-unplug race in remove method
Asias He [Fri, 4 May 2012 12:22:04 +0000 (12:22 +0000)]
virtio-blk: Fix hot-unplug race in remove method

If we reset the virtio-blk device before the requests already dispatched
to the virtio-blk driver from the block layer are finised, we will stuck
in blk_cleanup_queue() and the remove will fail.

blk_cleanup_queue() calls blk_drain_queue() to drain all requests queued
before DEAD marking. However it will never success if the device is
already stopped. We'll have q->in_flight[] > 0, so the drain will not
finish.

How to reproduce the race:
1. hot-plug a virtio-blk device
2. keep reading/writing the device in guest
3. hot-unplug while the device is busy serving I/O

Test:
~1000 rounds of hot-plug/hot-unplug test passed with this patch.

Changes in v3:
- Drop blk_abort_queue and blk_abort_request
- Use __blk_end_request_all to complete request dispatched to driver

Changes in v2:
- Drop req_in_flight
- Use virtqueue_detach_unused_buf to get request dispatched to driver

Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
12 years agoAdd *.builtin files to .gitignore for convenience.
SeokYeon Hwang [Wed, 17 Apr 2013 08:38:20 +0000 (17:38 +0900)]
Add *.builtin files to .gitignore for convenience.

Change-Id: I42bd0704b46463e7627d7a6e68cd50b8169e002b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agoMerge "evdi : evdi protocol was changed" into develop
Yeongkyoon Lee [Wed, 17 Apr 2013 07:36:01 +0000 (16:36 +0900)]
Merge "evdi : evdi protocol was changed" into develop

12 years agoevdi : evdi protocol was changed
DaiYoung Kim [Tue, 16 Apr 2013 09:22:15 +0000 (18:22 +0900)]
evdi : evdi protocol was changed

Signed-off-by: DaiYoung, Kim <daiyoung777.kim@samsung.com>
12 years agosdcard: Prepare virtio sdcard
SeokYeon Hwang [Mon, 15 Apr 2013 13:58:58 +0000 (22:58 +0900)]
sdcard: Prepare virtio sdcard

For higher performance and mount support by Tizen system framework.

Change-Id: I05878ec01983c7dda65975f3135ebcf05442d788
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agoevdi : kconfig is modified for evdi driver
DaiYoung Kim [Mon, 8 Apr 2013 04:39:50 +0000 (13:39 +0900)]
evdi : kconfig is modified for evdi driver

Signed-off-by : DaiYoung, Kim <daiyoung777.kim@samsung.com>

12 years agoevdi : evdi driver is added
DaiYoung Kim [Mon, 8 Apr 2013 04:37:23 +0000 (13:37 +0900)]
evdi : evdi driver is added

emulator virtual device interface driver added

Signed-off-by : DaiYoung, Kim <daiyoung777.kim@samsung.com>

12 years agovirtio-kbd: increased virtio keyboard queue
sungmin ha [Sat, 6 Apr 2013 09:08:16 +0000 (18:08 +0900)]
virtio-kbd: increased virtio keyboard queue

Signed-off-by: SungMin Ha <sungmin82.ha@samsung.com>
12 years agohwkey: added virtio hwkey driver
sungmin ha [Wed, 20 Mar 2013 03:22:51 +0000 (12:22 +0900)]
hwkey: added virtio hwkey driver

improve hwkey mapping

Signed-off-by: Sungmin Ha <sungmin82.ha@samsung.com>
12 years ago[package] version up.
SeokYeon Hwang [Fri, 15 Mar 2013 07:51:36 +0000 (16:51 +0900)]
[package] version up.

Change-Id: I2bf33cb7cc131d9d01f1a83f8c01f722143d66c8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agokernel: Enable ext4 filesystem
SeokYeon Hwang [Thu, 14 Mar 2013 06:19:27 +0000 (15:19 +0900)]
kernel: Enable ext4 filesystem

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agopackage: version up.
Kitae Kim [Fri, 8 Mar 2013 05:52:06 +0000 (14:52 +0900)]
package: version up.

Update package version.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agoRevert "initframfs: W/A for boot with current platform images"
SeokYeon Hwang [Wed, 20 Feb 2013 08:12:13 +0000 (17:12 +0900)]
Revert "initframfs: W/A for boot with current platform images"

This reverts commit be2ebbd086012b814820768d5e2d8aa9cadcdd04.

12 years agomaru_overlay : source clean up
jinhyung.jo [Thu, 31 Jan 2013 06:51:21 +0000 (15:51 +0900)]
maru_overlay : source clean up

Modified the boilerplates.
removed an unnecessary log.

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agomaru_backlight : source clean up
jinhyung.jo [Thu, 31 Jan 2013 06:40:52 +0000 (15:40 +0900)]
maru_backlight : source clean up

Modified the boilerplates.
Chaneged the MODULE_AUTHOR from Dohyung Hong to Jinhyung Jo.
Modified to suit the QEMU coding conventions.
Removed the pci device id, because it is included in the <linux/pci_ids.h>.

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agopackage: version up
Kitae Kim [Thu, 24 Jan 2013 08:16:10 +0000 (17:16 +0900)]
package: version up

Update package version to apply BLK_DEV_CRYPTOLOOP.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agoconfig: enable BLK_DEV_CRYPTOLOOP.
Kitae Kim [Thu, 24 Jan 2013 06:27:54 +0000 (15:27 +0900)]
config: enable BLK_DEV_CRYPTOLOOP.

It is required to install applications into sdcard.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agokernel: Fix compilation warning.
SeokYeon Hwang [Thu, 24 Jan 2013 05:33:33 +0000 (14:33 +0900)]
kernel: Fix compilation warning.

Fix warnings at virtio-gl.

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agoinitframfs: W/A for boot with current platform images
SeokYeon Hwang [Wed, 23 Jan 2013 10:33:39 +0000 (19:33 +0900)]
initframfs: W/A for boot with current platform images

Until vdpram compatibility symlink - udev rules - is added on platform image, we should populate dpram manually.

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agoinitramfs: Don't try to populate /dev
Karol Lewandowski [Thu, 17 Jan 2013 13:28:51 +0000 (14:28 +0100)]
initramfs: Don't try to populate /dev

Recent udev (>= 182) depend on devtmpfs filesystem mounted in /dev.

Images using sysvinit as /sbin/init mount /dev/ as devtmpfs from
/etc/rc.d/rc.sysinit (which happens before udevd(8) is launched).

Images using systemd as /sbin/init doesn't use rc.sysinit or similar
script run before udevd(8), and thus, require devtmpfs to be mounted
earlier.

Change-Id: Ib3f884573d6f1d4fc11b84f5940daa9c708ae0bd

12 years agovdpram: Export device node details to userspace
Karol Lewandowski [Thu, 17 Jan 2013 11:59:23 +0000 (12:59 +0100)]
vdpram: Export device node details to userspace

This will allow udevd(8) or similar program to automatically
create correct device nodes for us.

Change-Id: I9815b5ff9ba3842515ac7020254265188ab90feb

12 years agovdpram: Rework error handling in module initialization function
Karol Lewandowski [Thu, 17 Jan 2013 11:58:49 +0000 (12:58 +0100)]
vdpram: Rework error handling in module initialization function

Change-Id: I1d3584220e5b94921a7fcf143cadf2b3a16c9a1f

12 years agovdpram: Simplify cdev operations
Karol Lewandowski [Wed, 16 Jan 2013 10:36:08 +0000 (11:36 +0100)]
vdpram: Simplify cdev operations

Change-Id: I0d4a5f211997f69111ed79b1192e17fa38bb555e

12 years agokernel: remove compile warnings.
Kitae Kim [Tue, 22 Jan 2013 11:04:52 +0000 (20:04 +0900)]
kernel: remove compile warnings.

remove warnings at virtio-keyboard, virtio-esm, virtio-gl, maru_codec.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agomodified block device name for sdcard
sungmin ha [Mon, 21 Jan 2013 11:17:44 +0000 (20:17 +0900)]
modified block device name for sdcard

12 years agopackage : version up
jinhyung.jo [Tue, 15 Jan 2013 08:10:12 +0000 (17:10 +0900)]
package : version up

1.4.11 -> 1.4.12

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agomaru_camera : fixed a bug
jinhyung.jo [Fri, 4 Jan 2013 07:31:57 +0000 (16:31 +0900)]
maru_camera : fixed a bug

fixed a bug does not close when the device has been shut down with no streaming data.

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agomaru_camera : remove the violations of sonar
jinhyung.jo [Wed, 26 Dec 2012 10:46:06 +0000 (19:46 +0900)]
maru_camera : remove the violations of sonar

remove 3 violations (MISRA 5.2)

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agotouch: removed sonar violation
giwoong.kim [Wed, 26 Dec 2012 01:24:37 +0000 (10:24 +0900)]
touch: removed sonar violation

it is redundant to check it against null

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agopackage: version up
Kitae Kim [Thu, 20 Dec 2012 06:41:21 +0000 (15:41 +0900)]
package: version up

Update package version to upload the newest binary.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agovirtio-esm: Clean-up source code.
syeon.hwang [Thu, 20 Dec 2012 02:14:50 +0000 (11:14 +0900)]
virtio-esm: Clean-up source code.

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agomaru_camera : remove sonar violation
jinhyung.jo [Thu, 20 Dec 2012 01:49:10 +0000 (10:49 +0900)]
maru_camera : remove sonar violation

remove sonar violation

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agotouch: remove 'goto' statement
giwoong.kim [Tue, 18 Dec 2012 10:52:39 +0000 (19:52 +0900)]
touch: remove 'goto' statement

Goto statement must not be used.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoMerge "[Title]modified for removing sonar violation [Desc.] [Issue]Numeric variables...
Yeongkyoon Lee [Tue, 18 Dec 2012 01:21:37 +0000 (10:21 +0900)]
Merge "[Title]modified for removing sonar violation [Desc.] [Issue]Numeric variables being used within a for loop for iteration counting shall not be modified in the body of the loop" into develop

12 years ago[Title]modified for removing sonar violation
sungmin ha [Tue, 18 Dec 2012 01:15:33 +0000 (10:15 +0900)]
[Title]modified for removing sonar violation
[Desc.]
[Issue]Numeric variables being used within a for loop for iteration counting shall not be modified in the body of the loop

12 years agomaru_codec : Fixed a bug when audio some codecs are decoded simultaneously.
Kitae Kim [Mon, 17 Dec 2012 17:02:50 +0000 (02:02 +0900)]
maru_codec : Fixed a bug when audio some codecs are decoded simultaneously.

Source cleanup and codec driver can get and set offset of device memory for audio type.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years ago[Title]modified for removing sonar violation
sungmin ha [Mon, 17 Dec 2012 08:26:34 +0000 (17:26 +0900)]
[Title]modified for removing sonar violation
[Desc.]
[Issue]

12 years agomaru_virtio_keyboard : Modified virtio_keyboard driver.
Kitae Kim [Mon, 17 Dec 2012 06:02:25 +0000 (15:02 +0900)]
maru_virtio_keyboard : Modified virtio_keyboard driver.

Goto statement, comment and etc. in this driver break the sonar rules in C.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agomaru_camera : fixed a bug locking up
jinhyung.jo [Mon, 17 Dec 2012 04:19:13 +0000 (13:19 +0900)]
maru_camera : fixed a bug locking up

fixed a bug locking up when the camera is starting.

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agomaru_brightness : remove Sonar violations
jinhyung.jo [Fri, 14 Dec 2012 09:38:35 +0000 (18:38 +0900)]
maru_brightness : remove Sonar violations

remove Sonar violations

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agomaru_overlay : remove Sonar violations
jinhyung.jo [Fri, 14 Dec 2012 09:38:07 +0000 (18:38 +0900)]
maru_overlay : remove Sonar violations

remove Sonar violations

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agomaru_camera : remove Sonar violations
jinhyung.jo [Fri, 14 Dec 2012 09:37:09 +0000 (18:37 +0900)]
maru_camera : remove Sonar violations

remove Sonar violations

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agomodified maru_usb_mass_storage for removing remanent sonar violations
sungmin ha [Thu, 13 Dec 2012 10:52:12 +0000 (19:52 +0900)]
modified maru_usb_mass_storage for removing remanent sonar violations

12 years agomodified maru usb, jack and power supply for removing sonar violations
sungmin ha [Thu, 13 Dec 2012 10:38:26 +0000 (19:38 +0900)]
modified maru usb, jack and power supply for removing sonar violations

12 years agovirtio-esm: Add missing source file
syeon.hwang [Thu, 13 Dec 2012 08:30:55 +0000 (17:30 +0900)]
virtio-esm: Add missing source file

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agopackage: version up
syeon.hwang [Thu, 13 Dec 2012 07:43:56 +0000 (16:43 +0900)]
package: version up

1.4.6

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agovirtio-esm: First introduce of virtio-esm
syeon.hwang [Wed, 12 Dec 2012 08:04:04 +0000 (17:04 +0900)]
virtio-esm: First introduce of virtio-esm

Introduce "Maru VirtIO EmulatorStatusMedium" for represent boot up progress.

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agopackage: version up
giwoong.kim [Tue, 27 Nov 2012 07:42:39 +0000 (16:42 +0900)]
package: version up

1.4.5

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agotouchscreen: modified touch device range for ABS_X/Y
giwoong.kim [Tue, 27 Nov 2012 07:39:39 +0000 (16:39 +0900)]
touchscreen: modified touch device range for ABS_X/Y

temporary patch

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agopackage: version up
Kitae Kim [Wed, 14 Nov 2012 13:18:40 +0000 (22:18 +0900)]
package: version up

1.4.3

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agomaru_virtio_keyboard : a bug for free corruption fixed when virtio-keyboard driver...
Kitae Kim [Wed, 14 Nov 2012 13:10:15 +0000 (22:10 +0900)]
maru_virtio_keyboard : a bug for free corruption fixed when virtio-keyboard driver is removed.

When virtio-keyboard driver is removed, the bug is rarely happend.
The reason why the bug is happend is that virtio-keyboard driver uses
wrong input APIs. input_free_device cannot use after input_unregister_device func.

Signed-off-by : Kitae Kim <kt920.kim@samsung.com>

12 years agoinit: removed an invalid symbolic-link
giwoong.kim [Mon, 12 Nov 2012 08:37:06 +0000 (17:37 +0900)]
init: removed an invalid symbolic-link

touchscreen0, keyboard0, smotion node

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoarm_tizen_emul_config : enable virtio-pci, virtio-touchscreen, net-9p, 9pfs and cifs...
Kitae Kim [Fri, 9 Nov 2012 06:03:40 +0000 (15:03 +0900)]
arm_tizen_emul_config : enable virtio-pci, virtio-touchscreen, net-9p, 9pfs and cifs drivers.

Since virtio-touchscreen and virtio-9p devices of qemu are consist of pci device,
arm config is needed to enable virtio-pci driver. In addition to this, net-9p, 9pfs and
cifs drivers are required to support fileshare between emulator and users's desktop.

Signed-off-by : Kitae Kim <kt920.kim@samsung.com>

12 years agomaru_virtio_keyboard : change a way to transfer data between qemu and kernel.
Kitae Kim [Wed, 7 Nov 2012 13:30:25 +0000 (22:30 +0900)]
maru_virtio_keyboard : change a way to transfer data between qemu and kernel.

The previous way to transfer data between qemu and kernel had a problem,
when key events were copied concurrently. So, add a queue for key event.

Signed-off-by : Kitae Kim <kt920.kim@samsung.com>

12 years agopackage: version up
giwoong.kim [Mon, 5 Nov 2012 08:56:29 +0000 (17:56 +0900)]
package: version up

1.4.1

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoinput: do not ignore a touch event on emulator
giwoong.kim [Mon, 5 Nov 2012 08:08:10 +0000 (17:08 +0900)]
input: do not ignore a touch event on emulator

A click event of host mouse is a touch event on emulator.
The current touch event may be same as the previous coordinate data.
In this case, do not ignore a touch event.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoMerge "package : update changelog and package version" into develop
Yeongkyoon Lee [Wed, 31 Oct 2012 11:47:43 +0000 (20:47 +0900)]
Merge "package : update changelog and package version" into develop

12 years agopackage : update changelog and package version
jinhyung.jo [Wed, 31 Oct 2012 10:41:15 +0000 (19:41 +0900)]
package : update changelog and package version

update version to 1.3.24

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agoarm_kernel : disable Linux logo config.
Kitae Kim [Wed, 31 Oct 2012 10:34:08 +0000 (19:34 +0900)]
arm_kernel : disable Linux logo config.

As x86 emulator does not display the Linux logo during booting,
arm emulator need to be the same as it.

12 years agopackage: enable to build arm packages.
Kitae Kim [Wed, 31 Oct 2012 10:26:49 +0000 (19:26 +0900)]
package: enable to build arm packages.

Since build environment has been set, enable to build arm package.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agomaru_bl : modified the range of the brightness level
jinhyung.jo [Wed, 31 Oct 2012 04:51:15 +0000 (13:51 +0900)]
maru_bl : modified the range of the brightness level

original range : 1 ~ 24
modified range : 0 ~ 100

Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
12 years agopackage: update changelog
Kitae Kim [Tue, 30 Oct 2012 12:21:46 +0000 (21:21 +0900)]
package: update changelog

Update changelog for 1.3.22 package.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agopackage: Comment out build routine for arm packages.
Kitae Kim [Tue, 30 Oct 2012 12:01:08 +0000 (21:01 +0900)]
package: Comment out build routine for arm packages.

Prevents kernel from compiling arm arch temporarily.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
12 years agobuild: Refining build script
syeon.hwang [Tue, 30 Oct 2012 06:02:21 +0000 (15:02 +0900)]
build: Refining build script

Make build script for arm kernel.
Modify build script for x86 kernel avoid mis-build on x86_64

Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
12 years agoMerge branch 'tizen-arm' into develop
syeon.hwang [Tue, 30 Oct 2012 05:34:36 +0000 (14:34 +0900)]
Merge branch 'tizen-arm' into develop

12 years agomaru_virtio_keyboard : add virtio-keyboard driver.
Kitae Kim [Fri, 26 Oct 2012 06:45:19 +0000 (15:45 +0900)]
maru_virtio_keyboard : add virtio-keyboard driver.

Implement a driver for virtio-keyboard device.
In addition to this, enable CONFIG_HOTPLUG_PCI_ACPI to support pci hotplug feature.

Signed-off-by : Kitae Kim <kt920.kim@samsung.com>

12 years agopackage: version up
giwoong.kim [Wed, 24 Oct 2012 07:24:15 +0000 (16:24 +0900)]
package: version up

1.3.21

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agoinput-bridge: modified dump key command
giwoong.kim [Wed, 24 Oct 2012 03:14:25 +0000 (12:14 +0900)]
input-bridge: modified dump key command

KEY_FRONT -> KEY_MENU
Since X key map has been changed, bridge key has to be changed.

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agokeysym: modified kernel keycode of menu
giwoong.kim [Tue, 23 Oct 2012 13:54:16 +0000 (22:54 +0900)]
keysym: modified kernel keycode of menu

132 -> 139

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
12 years agomaru_codec : change a way to register device from chrdrv to misc.
Kitae Kim [Thu, 18 Oct 2012 02:35:49 +0000 (11:35 +0900)]
maru_codec : change a way to register device from chrdrv to misc.

As codec device changed a way to register device from chrdev to misc,
codec device does not need to use fixed major and minor numbers.

Signed-off-by : Kitae Kim <kt920.kim@samsung.com>

12 years agoTizen: For correct work of security server
Oleg Ogurtsov [Thu, 18 Oct 2012 12:33:58 +0000 (16:33 +0400)]
Tizen: For correct work of security server

12 years agoMerge "Kconfig : Enable devtmpfs config." into develop
Yeongkyoon Lee [Thu, 18 Oct 2012 03:03:06 +0000 (12:03 +0900)]
Merge "Kconfig : Enable devtmpfs config." into develop

12 years agoKconfig : Enable devtmpfs config.
Sooyoung Ha [Thu, 18 Oct 2012 02:45:58 +0000 (11:45 +0900)]
Kconfig : Enable devtmpfs config.

Enable devtmpfs config on arch/x86/configs/i386_emul_defconfig

Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>