Age | Commit message (Collapse) | Author | Files | Lines |
|
No u-boot-tools usage in rpi3 kernel build. Remove unnecessary
u-boot-tools dependency.
Change-Id: I1d6046854fc42099a2372f48f339b00c453b2b0c
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
logger and kdbus modles are maintained in the linux-tizen-modules-source
package. Current versions of their headers are available in the
linux-tizen-modules-source-headers package.
Change-Id: I497a7e0b17dd0b1d0214320fc8a6afcdbd9ca916
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
When a signal breaks a synchronous call, and a reply is received
before restart is executed, then the reply is unlinked and the restarted
call can't pick it up anymore.
But keeping only interrupted synchronous calls linked is not enough.
If a reply comes just after the signal, before marking the reply structure
as interrupted, then the reply is - again - unlinked and the restarted call
can't pick it up anymore.
This commit leaves all synchronous replies linked.
This way:
- asynchronous calls work as before the changes - replies are unlinked
by the replier in kdbus_conn_reply();
- replies for synchronous calls are unlinked by the caller in
kdbus_conn_wait_reply().
Change-Id: I0e3d8f53cf24a0aa8c59244e0768eebeb3fee110
Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
|
|
This enables device mapper driver to allow checkpoint & restore on ext4
partitions.
Change-Id: Id682e9f9bdb6d856da35dd65480d40dc85ff4d3b
Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
|
|
This enables device mapper driver to allow checkpoint & restore on ext4
partitions.
Change-Id: I247516b3483b94c3d857216daac8b272fdc5d782
Signed-off-by: Ernest Borowski <e.borowski@samsung.com>
|
|
dm-bow is a device mapper driver that allows to create a checkpoint on
the volume so that it is possible to restore the state if necessary.
This is needed to protect the ext4 partition during a system upgrade in
case of a power failure.
Change-Id: Ic62e83dc5b04cfa250d1b7eaa3721546782e88eb
Originally-by: Paul Lawrence <paullawrence@google.com>
Origin: https://android.googlesource.com/kernel/common/+/refs/heads/android-mainline/drivers/md/dm-bow.c
Signed-off-by: Mateusz Moscicki <m.moscicki2@samsung.com>
|
|
This fixes to synchronize current defconfig with savedefconfig
Change-Id: Ia899b3b87dc4232e4eb09e84e8e6d29352d115e6
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
|
|
This fixes to synchronize current defconfig with savedefconfig
Change-Id: Ia3746fef04296097ca0173794c374d5b578ced72
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
|
|
Disable android logger.
The android logger has been moved to the kernel module of the linux-tizen-modules package.
Change-Id: Ie85ea5eb84ab489cd4ef76b97eb84aeab2d89c18
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
|
|
This fixes an issue pointed out with SVACE warning:
* UNREACHABLE_CODE: This statement in the source code might be unreachable
during program execution.
[unreachable] unreachable at linux-rpi3/ipc/kdbus/message.c:346
[vec_size > vec_size + size (0 > ANY) is always false] vec_size >
vec_size + size (0 > ANY) is always false at linux-rpi3/ipc/kdbus/message.c:345
Change-Id: Ic154b2dbb0740f9e49b68ef273f19cd89e90c200
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
|
|
This patch suppresses SVACE warnings shown below and makes the code more
robust. The actual sign extension issue cannot happen in current code as
value of the len variable in function logger_set_tag() is limited to
LOGGER_ENTRY_MAX_PAYLOAD and create_log() is being called only with fixed
size argument values.
* SIGNED_TO_BIGGER_UNSIGNED: Assignment of a signed value which has type 'int' to a variable of a bigger integer type 'size_t'
Sign extension at linux-rpi3/drivers/staging/android/logger.c:898
* SIGNED_TO_BIGGER_UNSIGNED: Assignment of a signed value which has type 'int' to a variable of a bigger integer type 'size_t'
Sign extension at linux-rpi3/drivers/staging/android/logger.c:1045
Change-Id: I8646555e1a09fb0feb4c12961965aea36c80cd38
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
|
|
To support smack on f2fs, this enables security label for f2fs
filesystem.
Change-Id: Ie9fee58880b35057b0732bc434e03a55baa188e6
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
|
|
To support smack on f2fs, this enables security label for f2fs
filesystem.
Change-Id: I37ba6a2e1b872116fa7ef1283d8901d497434a2e
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
|
|
Send enough data to logger to fill the whole ring buffer.
Test assembly of large messages without newline characters.
Check return value from write(2).
Remove some dead code.
Change-Id: I165458f5c7831bd925164aa087f28fd319c9872f
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Introduce dedicated structure for LOGGER_SET_TAG ioctl,
instead of packing and unpacking arguments by hand.
Change-Id: Ic3399ab37f55ba2b8a9a976f8c9495fc487fe7f3
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Move logger.h to uapi so it can be exported for userland
software to use.
Change-Id: I64dca69f3442edc246562485b0b29b43615ae881
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Return amount of data written by a process to a logger via STDIO
interface.
Change-Id: I9c77a312d09f3d796a7ec64d5909af193bcc8bc2
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Prevent writing beyond temporary buffer and improve accumulation of data
before receiving a newline character or filling the buffer.
Change-Id: I8e0591c90914dbd4c2addde4247157831fa4843a
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Allow setting the tag and the priority only for files opened O_WRONLY.
Change-Id: Icc9d7a8eb96f8f1b1aa00717aae1f32f7a2e52e4
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Fix crash caused by accessing memory beyond log->buffer
Change-Id: I528b62e34e9fb5f92f62f6b218718e15cd5f7d31
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Change-Id: I029a7def836b317a4e059c7a56301e169910a830
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Add support for writing untagged log messages to /dev/log_* nodes. The
logger shall accept untagget messages after setting the tag and
the priority with appropriate ioctl() commands for particular file
descriptors.
Change-Id: I02bd7bfd843eaf316692413a48747009c42756f6
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Change-Id: Icfcecc2780e6c5cdddaad0440b731ebb9dc49446
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
This commit adapts the kdbus test suite to use with
dbus-integration-tests.
Change-Id: Ifee21253f4e3c732b27517a0c566d4b9a569d5af
Origin: commit:2c0f308e6d963987fcb4e5754f504028d4511629
Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Change-Id: Ib1680e530acf3cb9161cdb53b5db5ef87f51df8c
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
The following changes were made to adapt kdbus driver to 4.19 kernel
- use memfd_fcntl() instead of shmem_get_seals()
Change-Id: Iff24cd3c429310c3af748657a24a5e35db738635
Fixes: 5aadc431a593 ("shmem: rename functions that are memfd-related")
Fixes: 5d752600a8c3 ("mm: restructure memfd code")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
This reverts commit 8f546ae1fc5ce8396827d4868c7eee1f1cc6947a.
Change-Id: I5429471eeb092c55a50e37c0b642d50d69daebc7
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
This commit makes kdbus driver working with kernel 4.14.
It also enabled compilation of the driver if enabled in config.
The list of changes needed to make it compile with kernel 4.14:
- Add missing includes for <linux/cred.h>
- put inode_lock()/inode_unlock() in place of explicit mutex locking
- replace CURRENT_TIME with proper call to current_time()
- replace PAGE_CACHE_* with PAGE_*
- replace GFP_TEMPORARY with GFP_KERNEL
- use kvecs for kernel memory, iovec for user memory instead of only iovec
for both
- fix usage of task_cgroup_path()
- replace GROUP_AT usage with 'gid' field dereference
- add 0 as an argument to init_name_hash
- add 0 as flags as an argument to vfs_iter_write
- replace __vfs_read with kernel_read to allow compilation into module
Change-Id: Ifed3a6d3a37082a900a64316af1c8a21ab30e84e
Origin: commit:846051292431cc81adb852c2b0cbbfddac4a3d48
Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
[based on commit 216823ac83c0ab89348e2ed6f66179f53626586e]
Introduce the kdbus driver again. This driver worked previously
on kernel 4.1. This is the source code taken from the working driver.
It is non-working and disabled. It is a base for porting.
The documentation is moved from Documentation to ipc/kdbus/Documentation.
The references to kdbus source code are commented out or removed in Makefiles.
Original authors of the files are those from commit 216823ac83c0ab8934.
Cherry-picked from 5.4 commit e2d621efdb4f1c1a6e782121d95b62ea249828f2
Change-Id: If8baeb585b5ecedd4286553405c3a8d24fed9c3a
Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Set CONFIG_LOCALVERSION insetad of EXTRAVERSION in Makefile to carry
information about the platform variant.
Change-Id: I72986cb618b998983f1e9f6eccba7d6e4603248f
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
gbs(1) enable incremental builds that are significantly faster, hoewever,
spec files need some adjustments.
+ You can't use -n <name> with %setup
+ use rsync(1) instead of cp(1)+find(1) to copy devel files
Other changes are:
+ add _smp_mflags to make(1) things faster
Change-Id: I18c47b59b1bfef17501ab57f39f93d7185592f13
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Change-Id: Ia37a450bccf93ddf3daaca442be4d221df0d4036
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Reformat the script to bring it into alignment with build-rpi4.sh for
easier maintenance.
Change-Id: Ie97a1acc28486e62630062587a30689a9f19e085
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Automatically determine the number of parallel make(1) processes to run.
Change-Id: I0ce778e5c15ceb8cf80bbfc2f4bb58c937630ba3
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
To debug with T32, it needs to use vmlinux file.
Incldue its file in devel package.
Change-Id: Ib01d80a99e08e99ecbdaa3a6e0787ac5dbe0e372
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Disable SECURITY_SMACK_NETFILTER configuration.
Change-Id: Idcc1175672ea2c86c232d834589c1a7c364636aa
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Enable CONFIG_OVERLAY_FS for tizen application space.
Change-Id: I79add9d8b79281074ae1dd1d12a9c65fa422410b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Enable CONFIG_OVERLAY_FS for tizen application space.
Change-Id: I8c61e997c504467c0204d6e29b1c1f3ebac1c379
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Enable userland broadcom mailbox support, CONFIG_BCM_VCIO, as like
32bit config.
Change-Id: Ic0e33aaa2ed4040db57e8e48e2dabb2197cf9e4e
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
onlycap set"
This reverts commit 718567d336d0b0943385905bb12707552d8bef66.
Now crash-worker has System::Privileged privilege, so not anymore
ptrace related workaround is necessary. So revert the workaround.
Change-Id: I42b535e4152eb742df011a5a08324764b49f989a
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Change-Id: I708d19703da0f1b83950454fda1362bec7369b5c
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
This reverts commit bd99a3013bdc00f8fc7534c657b39616792b4467.
It doesn't find any p2p-device with wpa_supplicant on Tien.
- After reverted this, it's working fine.
Change-Id: I1cd77e65ad17078370116473dd46adc7338d6695
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Tizen requires CONFIG_FUSE_FS for user space filesystem. Enable
the option.
Change-Id: Ia4eefdcd95b5be4944a9717e69a4ce2deb31a081
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Tizen requires CONFIG_FUSE_FS for user space filesystem. Enable
the option.
Change-Id: Icf66feb085fee5ab30e3b680d1914a51f276d9bd
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Revert BLK_DEV_RAM_COUNT to 16 - default value.
Becaues there is timing issue about booting fail, use default value.
Change-Id: Ida3985e9a48863abbc2bd14476edb146c3f5744f
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Revert BLK_DEV_RAM_COUNT to 16 - default value.
Becaues there is timing issue about booting fail, use default value.
Change-Id: I1bec8f42fc719522510971ad5ec25512e57ee8aa
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Change BLK_DEV_RAM_SIZE from 12MB to 32MB.
And also change BLK_DEV_RAM_COUNT from 16 to 2.
It doesn't need to keep /dev/ram0-16.
Change-Id: If6acb3813061827a260e5b6414a34e06cfc0965b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Change BLK_DEV_RAM_SIZE from 12MB to 32MB.
And also change BLK_DEV_RAM_COUNT from 16 to 2.
It doesn't need to keep /dev/ram0-16.
Change-Id: I598dba4abc102a7ba51f5419ad6871875b73165c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
To support perf unwind call-graph, add BuildRequires for unwind,
dw, elfutils and other related devel packages. Also add definition
to remove not necessary perl dependency
Change-Id: I8e94ec4642026841255bbec08ae3dea2a8f5b531
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
'perf version' on powerpc segfaults when used with non-supported
option:
# perf version -a
Segmentation fault (core dumped)
Fix this.
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Tested-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20190611030109.20228-1-ravi.bangoria@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
[sw0312.kim: cherry-pick mainline commit 916c31fff946 to fix possible seg.fault in Tizen armv7l]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: If19720350e2992d1f5e58711f1f708a4d4ec5683
|