platform/kernel/linux-rpi.git
2 years agokdbus: drop collected mounts 11/266911/1
Łukasz Stelmach [Mon, 22 Nov 2021 09:03:00 +0000 (10:03 +0100)]
kdbus: drop collected mounts

According to commit 8aec08094570 ("[PATCH] new helpers - collect_mounts()
and release_collected_mounts()") collect_mounts() needs to be followed
by drop_collected_mounts().

Change-Id: Ib00219da5dbe3ae5aad56d967bd8441ac46746d4
Fixes: c86613173f35 ("kdbus: read hide_pid and pid_gid from mounted proc")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2 years agomm: thp: add missing pte_unmap() calls 79/266279/1 accepted/tizen/6.5/unified/20211111.224635 accepted/tizen/unified/20211112.135639 submit/tizen/20211111.012243 submit/tizen_6.5/20211111.012236
Marek Szyprowski [Wed, 10 Nov 2021 07:39:34 +0000 (08:39 +0100)]
mm: thp: add missing pte_unmap() calls

pte_offset_map() requires to call pte_unmap() after using the returned
pte pointer. Add missing calls.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I1d883c10f627334feec4be4e6d6efce0a3fde38f

2 years agomm: thp: fix split_huge_pte() operation on non-THP aligned address 49/266249/2
Marek Szyprowski [Tue, 9 Nov 2021 14:34:52 +0000 (15:34 +0100)]
mm: thp: fix split_huge_pte() operation on non-THP aligned address

When split_huge_pte() has been called on the address, which is not THP
aligned, the pte ptr should also be adjusted to the beginning of the THP
page.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Idf1ddf95b3f5a5a790fd2b0eb85ac4c22e561a48

3 years agomm, thp: preventing hugepage creation for read-write file pages 82/265082/3 accepted/tizen/6.5/unified/20211103.015137 accepted/tizen/unified/20211028.122206 submit/tizen/20211013.042847 submit/tizen/20211027.044930 submit/tizen_6.5/20211027.044719 submit/tizen_6.5/20211101.045952
Sung-hun Kim [Thu, 7 Oct 2021 07:57:39 +0000 (16:57 +0900)]
mm, thp: preventing hugepage creation for read-write file pages

Sometimes, an user process incurs writes on file pages
which has VM_DENYWRITE flag in its vma->vm_flags (of
course, the vma has VM_WRITE flags too). In this case,
the kernel creates a new page by a COW fault, but it is
an unexpected behaviour for 64KB file hugepages.

This patch disallows scanning of read-write file pages
to prevent unexpected buggy behaviours.

Change-Id: I28c1da7f7ad4be55be5607316b29a2978896fcb9
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agothp, khugepaged: skip retracting page table if a 64KB hugepage mapping is already... 81/265081/3
Sung-hun Kim [Wed, 6 Oct 2021 04:33:00 +0000 (13:33 +0900)]
thp, khugepaged: skip retracting page table if a 64KB hugepage mapping is already established

When khugepaged tries to retract page table entries,
an user can try to handle a page fault. To prevent
concurrent modifications for an address space, an
mmap_lock is used.

If khugepaged failed to get lock, it delays page
table retraction to the next interation. Previously,
however, khugepaged assumes that page table entries
have normal mapping, especially for 64KB hugepages.

This patch checks that a mapping is already
established for 64KB hugepage appropriately. If it is
khugepaged just skips a retraction.

Change-Id: I961e21e65e2ae09df43488582d1469e250059909
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agomm: thp: khugepaged: flush tlb range to prevent concurrent memory accesses 80/265080/3
Sung-hun Kim [Fri, 1 Oct 2021 05:15:51 +0000 (14:15 +0900)]
mm: thp: khugepaged: flush tlb range to prevent concurrent memory accesses

When khugepaged creates a hugepage while a user accesses memory,
khugepaged should prohibit current accesses to scanning area
because it can make a race condition.

Before creating a hugepage, khugepaged holds a lock of mm_struct
then flushes tlbs of scanning range. For 64KB hugepage, however,
it does not flush tlbs before it installs a new hugepage into the
page table. In this case, the user can lose their progress because
the user process still have memory map in its TLB entries.

By flushing TLBs right after acquiring mmap_lock, the process can
stall before reusing their memory contents.

Change-Id: I408662d69fa68e6210be8ad0b585943bfb8894e8
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agomm, thp: do not set PTE_SPECIAL for huge zero page 79/265079/3
Sung-hun Kim [Fri, 1 Oct 2021 04:06:07 +0000 (13:06 +0900)]
mm, thp: do not set PTE_SPECIAL for huge zero page

In previous version of the kernel, a huge zero page is remapped
to normal pte mappings with PTE_SPECIAL flag when the split of
hugepage is requested. It makes a buggy situation when the
kernel tries to find a page with vm_normal_page.

This patch resolves this problem by adding a condition to if-
statement.

Change-Id: I62946d3c3e92be309ccbe987f24a33503a7e23dc
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agomm: thp: add acquisition/release of a lock to guarantee consistent locking state 78/265078/3
Sung-hun Kim [Fri, 1 Oct 2021 04:01:01 +0000 (13:01 +0900)]
mm: thp: add acquisition/release of a lock to guarantee consistent locking state

arm64_wp_huge_pte should acquire a lock before return
to keep the lock semantics of the caller.
To guarantee this, add a new lock acquisition and a
new lock release statements in proper positions.

Change-Id: I81fb8afc37f54bce83f353ca6b6894e70ef86934
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agomm, thp: modify coverage of CONFIG_FINEGRAINED_THP macro 77/265077/3
Sung-hun Kim [Thu, 30 Sep 2021 03:28:56 +0000 (12:28 +0900)]
mm, thp: modify coverage of CONFIG_FINEGRAINED_THP macro

Some codes should be applied only in fTHP-enabled
kernel. This patch rearranges the coverage of
CONFIG_FINEGRAINED_THP macro.

Change-Id: I0541c36369f8bd7a8fe4b8868c51dc0e6879f100
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agomeminfo, thp: modify ifdef coverage to remove unexpected variable printing 76/265076/3
Sung-hun Kim [Thu, 30 Sep 2021 00:37:45 +0000 (09:37 +0900)]
meminfo, thp: modify ifdef coverage to remove unexpected variable printing

If the system uses fTHP, the user can show statistics of
hugepage-mapped CMA pages via /proc/meminfo.
Otherwise, the user does not need to aware of such variables.
This patch removes such exported variables when fTHP-disabled
kernel is used.

Change-Id: Iaff9dd8d81da1a3caa60959b9c5c1f44544f30d4
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agokdbus: don't unlink _synchronous_ replies 32/265032/1
Adrian Szyndela [Thu, 7 Oct 2021 09:27:38 +0000 (11:27 +0200)]
kdbus: don't unlink _synchronous_ replies

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 unlinked and the restarted call
can't pick it up anymore.

This commit leaves all synchronous replies linked.

This way:
- non-synchronous 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: If162f96a14d51d6a4475fe5c55039dc92236b19a
Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
3 years agokdbus: don't unlink interrupted replies 23/264823/3
Adrian Szyndela [Thu, 30 Sep 2021 06:44:57 +0000 (15:44 +0900)]
kdbus: don't unlink interrupted replies

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.

This commit leaves replies linked if they were interrupted.

Change-Id: I89c353ecc2bae83f7c12bb199480423d743ed5bc
Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
3 years agomm: thp: count 64k shmem pages separately 72/264772/1
Marek Szyprowski [Wed, 22 Sep 2021 13:29:33 +0000 (15:29 +0200)]
mm: thp: count 64k shmem pages separately

64k THP for shmem needs separate counters, otherwise ShmemHugePages entry
in /proc/meminfo incorrectly shows both 2M and 64k THPs as 2M ones.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I460ea9f4e9c2f84bb066f68bfb6a291183416bb1

3 years agomm, thp, migrate: handling migration of 64KB hugepages 84/264384/2 accepted/tizen/6.5/unified/20211028.115906 accepted/tizen/unified/20210917.124840 submit/tizen/20210917.055514 submit/tizen_6.5/20211028.163201 tizen_6.5.m2_release
Sung-hun Kim [Thu, 16 Sep 2021 04:44:25 +0000 (13:44 +0900)]
mm, thp, migrate: handling migration of 64KB hugepages

When a 64KB hugepage is migrated, it should be properly
handled since it is different from other normal page
mappings. The kernel should handle a set of sequential
16 page mappings at once. If not, the kernel can mishandle
map counts of a compound page (that is, a set of pages).
It can be a source of kernel bugs and the bug is easily
reproduced on low-memory devices.

This patch deals with the migration of 64KB hugepages.

Fixes: 7d5372737d34 ('mm: THP: introducing a fine-grained transparent hugepage technique for ARM64 architecture')
Change-Id: I50a5d4e9a263e7dcbded15c982f57c15a3a48f39
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agomm, thp: hide remap_try_huge_pmd for the THP-disabled kernel 65/264265/1 accepted/tizen/unified/20210916.005836 submit/tizen/20210915.075337 submit/tizen/20210915.095105
Sung-hun Kim [Wed, 15 Sep 2021 07:39:13 +0000 (16:39 +0900)]
mm, thp: hide remap_try_huge_pmd for the THP-disabled kernel

Since remap_try_huge_pmd is dependent on the kernel
configuration CONFIG_TRANSPARENT_HUGEPAGE, it should be
hidden when the kernel configuration is disabled.

Fixes: 8690fa3fc22a ('mm, meminfo: modify page counting')
Change-Id: Iae9efb2edf6cd563c794af68bea7987110a5b2da
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agoPartially Revert "brcmfmac: p2p: Deal with set but unused variables" 60/264260/2 submit/tizen/20210915.063126
Seung-Woo Kim [Wed, 15 Sep 2021 06:07:00 +0000 (15:07 +0900)]
Partially Revert "brcmfmac: p2p: Deal with set but unused variables"

This partially reverts commit 2de64ca7c9fadd32b261530592db4a6adbfcb53f.

The commit 61325dc073e2 ("Revert "brcmfmac: move configuration of
probe request IEs"") requires vif set with p2p interface, but commit
2de64ca7c9fa removes setting. Partially revert the commit to support
p2p usage with p2p interface.

Change-Id: Ia90e256c3d10396b1018e3aec8145139accfb39e
Reported-by: Jiung Yu <jiung.yu@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agomm, meminfo: modify page counting 49/264249/2
Sung-hun Kim [Wed, 15 Sep 2021 04:28:04 +0000 (13:28 +0900)]
mm, meminfo: modify page counting

Two counters, nr_phys_huge_pmd_pages and nr_phys_cont_pte_pages, are
counted by different units.
This patch enforces two counters counted by pages, not huge pages.

Change-Id: I1fcb6a1a9c3a60c956b861e79ec3714a33004991
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agomm: THP: workaround: fix a build error occurred if FINEGRAINED_THP is disabled 48/264248/1
Sung-hun Kim [Mon, 13 Sep 2021 03:19:39 +0000 (12:19 +0900)]
mm: THP: workaround: fix a build error occurred if FINEGRAINED_THP is disabled

Fixes: 04519e317c60 ('mm: THP: workaround: only allow including specific headers for FINEGRAINED_THP configured cases')
Change-Id: Iec1678cb5c45708865a1d18fef88807e7fd47870
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agomm: THP: workaround: only allow including specific headers for FINEGRAINED_THP config... 99/263699/1 accepted/tizen/unified/20210909.101207 submit/tizen/20210908.082952
Sung-hun Kim [Wed, 8 Sep 2021 08:18:37 +0000 (17:18 +0900)]
mm: THP: workaround: only allow including specific headers for FINEGRAINED_THP configured cases

asm/huge_mm.h and asm/finegrained_thp.h are only used for
FINEGRAINED_THP-enabled kernel. Otherwise, such as arm which does
not support contiguous PTE bit, disallow including them.

Fixes: 7d5372737d34 ("mm: THP: introducing a fine-grained transparent hugepage technique for ARM64 architecture")
Change-Id: I37c2bc46106711f4b7ee33a6838d87e929e13247
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agoasm-generic: THP: fix bugs in asm-generic headers 98/263698/1
Sung-hun Kim [Wed, 8 Sep 2021 08:07:36 +0000 (17:07 +0900)]
asm-generic: THP: fix bugs in asm-generic headers

Since a function is defined in two headers at the same time,
the kernel build is failed.

And, a vm_fault_t-typed function does not return any values.

This patch fixes two bugs in asm-generic headers.

Fixes: 7d5372737d34 ("mm: THP: introducing a fine-grained transparent hugepage technique for ARM64 architecture")
Change-Id: I84110bbb6c7f5b0794c55b3aca98419f12469eca
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agomm: THP: memory: remove unnecessary function calls 97/263697/1
Sung-hun Kim [Wed, 8 Sep 2021 08:05:14 +0000 (17:05 +0900)]
mm: THP: memory: remove unnecessary function calls

The called function is only used for finegrained-THP, so remove it
for unconfigured cases.

Fixes: 7d5372737d34 ("mm: THP: introducing a fine-grained transparent hugepage technique for ARM64 architecture")
Change-Id: I138b135980acf79e695731f4d42399ca203c4ca6
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agomm: THP: meminfo: modify areas of kernel configurations 96/263696/1
Sung-hun Kim [Wed, 8 Sep 2021 07:59:12 +0000 (16:59 +0900)]
mm: THP: meminfo: modify areas of kernel configurations

This commit modifies coverages of ifdef macros of
CONFIG_TRANSPARENT_HUGEPAGE and CONFIG_FINEGRAINED_THP to
build properly by removing dependency problems.

Fixes: 7d5372737d34 ("mm: THP: introducing a fine-grained transparent hugepage technique for ARM64 architecture")
Change-Id: Id5e692eb2f89a0f93c696e9c20339940f7107874
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agouapi: THP: remove possible leak of CONFIG_FINEGRAINED_THP to user-space 89/263689/1 submit/tizen/20210908.070735
Sung-hun Kim [Wed, 8 Sep 2021 06:58:07 +0000 (15:58 +0900)]
uapi: THP: remove possible leak of CONFIG_FINEGRAINED_THP to user-space

CONFIG_FINEGRAINED_THP is presented in a header file
(asm-generic/mman-common.h) of uapi. It generates a build
error for headers with leak CONFIG to user-space message.
This patch remove a possible leak of the kernel configuration.

Change-Id: I16173eaf5094cc07312f10fb33a22dd73d67ff88
Fixes: 7d5372737d34 ("mm: THP: introducing a fine-grained transparent hugepage technique for ARM64 architecture")
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agoarm64: defconfig: enable finegrained-THP configuration 47/263547/6 submit/tizen/20210908.063016
Sung-hun Kim [Mon, 30 Aug 2021 06:16:52 +0000 (15:16 +0900)]
arm64: defconfig: enable finegrained-THP configuration

Enable finegrained-THP to allow creation of 64KB hugepages.

Change-Id: If23d2489571ac0a5c367db54126b7b6abf42eebc
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agoarm64: defconfig: enable default THP configurations 46/263546/6
Sung-hun Kim [Mon, 30 Aug 2021 06:15:54 +0000 (15:15 +0900)]
arm64: defconfig: enable default THP configurations

Enable default THP in Linux.
With this configuration, the Linux kernel can make 2MB hugepages
without user intervention.

Change-Id: Ifdfc472a78edf76be32c359b2b15c0ca28a2bc8b
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agomm: THP: introducing a fine-grained transparent hugepage technique for ARM64 architecture 45/263545/5
Sung-hun Kim [Fri, 2 Jul 2021 09:43:36 +0000 (18:43 +0900)]
mm: THP: introducing a fine-grained transparent hugepage technique for ARM64 architecture

Transparent hugepage (THP) is one of promise solutions to deal with
increased memory footprints, but it mostly focused on server-side
environments.

This patch claims that embedded systems also get benefits by using
THP to deal with increased but still small-sized memory footprints
in applications on the embedded system.

An ARM64 architecture featured a fine-grained hugepage which support
64KB sized hugepages while the size of commonly used hugepage is 2MB.
We used these two kinds of hugepages corresponding to required size
of virtual memory.

In this patch, we developed an eager-and-conservative policy. With
this policy, the kernel do not allow to allocate 2MB hugepages on
page faults to decrease enlarged page fault latencies. Instead, the
kernel allocates 64KB hugepages to deal with hugepage allocation.
Since 64KB hugepages require the smaller order pages than 2MB
hugepages, it does not severely affect to user-noticed memory latency
due to the memory management tasks such as memory compaction.

On the other hand, khugepaged makes both 64KB hugepages and 2MB
hugepages for both anonymous pages and file pages corresponding to
virtual memory sizes.

Moreover, our proposed finegrained THP (fTHP) supports hugepage
mappings on pages in CMA. Since pages in CMA already contiguous, fTHP
just allows hugepage mappings for 64KB or 2MB aligned memory areas.

The proposed method achieves upto 32% of throughput improvement
against Linux kernel with default THP that the system runs a read
workload in lmbench [1] when the buffer is fitted in the CPU
last-level-cache. For the large-sized buffer (bigger than 2MB),
the proposed method shows similar throughput to default THP in Linux
kernel.

[1] LMbench - Tools for peformance analysis:
http://lmbench.sourceforge.net

Change-Id: I750528db8f04b37fda39052bea775d18ca5d53fb
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
3 years agomm: use proper type for cma_[alloc|release] 28/262728/3 accepted/tizen/unified/20210825.085451 submit/tizen/20210825.044457
Minchan Kim [Wed, 21 Apr 2021 04:44:12 +0000 (14:44 +1000)]
mm: use proper type for cma_[alloc|release]

size_t in cma_alloc is confusing since it makes people think it's byte
count, not pages.  Change it to unsigned long[1].

The unsigned int in cma_release is also not right so change it.  Since we
have unsigned long in cma_release, free_contig_range should also respect
it.

[1] 67a2e213e7e9, mm: cma: fix incorrect type conversion for size during dma allocation

Link: https://lore.kernel.org/linux-mm/20210324043434.GP1719932@casper.infradead.org/
Link: https://lkml.kernel.org/r/20210331164018.710560-1-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Origin: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=78fa51503fdbe463c96eef4c3cf69ca54032647a
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Change-Id: Ie6de7e88bdae134120d2d88178e5a71cd00bd460

3 years agomm: cma: support sysfs 27/262727/3
Minchan Kim [Wed, 21 Apr 2021 04:44:12 +0000 (14:44 +1000)]
mm: cma: support sysfs

Since CMA is getting used more widely, it's more important to keep
monitoring CMA statistics for system health since it's directly related to
user experience.

This patch introduces sysfs statistics for CMA, in order to provide some
basic monitoring of the CMA allocator.

 * the number of CMA page successful allocations
 * the number of CMA page allocation failures

These two values allow the user to calcuate the allocation
failure rate for each CMA area.

e.g.)
  /sys/kernel/mm/cma/WIFI/alloc_pages_[success|fail]
  /sys/kernel/mm/cma/SENSOR/alloc_pages_[success|fail]
  /sys/kernel/mm/cma/BLUETOOTH/alloc_pages_[success|fail]

The cma_stat was intentionally allocated by dynamic allocation
to harmonize with kobject lifetime management.
https://lore.kernel.org/linux-mm/YCOAmXqt6dZkCQYs@kroah.com/

Link: https://lkml.kernel.org/r/20210324230759.2213957-1-minchan@kernel.org
Link: https://lore.kernel.org/linux-mm/20210316100433.17665-1-colin.king@canonical.com/
Signed-off-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Tested-by: Anders Roxell <anders.roxell@linaro.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: John Dias <joaodias@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Origin: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=43ca106fa8ec7d684776fbe561214d3b2b7cb9cb
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Change-Id: I80c0f2c8d60d250418002260b0a20e5a796a9823

3 years agomm: cma: add the CMA instance name to cma trace events 26/262726/3
Minchan Kim [Wed, 5 May 2021 01:37:31 +0000 (18:37 -0700)]
mm: cma: add the CMA instance name to cma trace events

There were missing places to add cma instance name.  To identify each CMA
instance, let's add the name for every cma trace.  This patch also changes
the existing cma_trace_alloc to cma_trace_finish since we have
cma_alloc_start[1].

[1] https://lore.kernel.org/linux-mm/20210324160740.15901-1-georgi.djakov@linaro.org

Link: https://lkml.kernel.org/r/20210330220237.748899-1-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Liam Mark <lmark@codeaurora.org>
Cc: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Origin: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=3aab8ae7aace3388da319a233edf48f0f5d26a44
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Change-Id: I94fb2a7925f56e467c954f4d07d492cbd1b1c4e4

3 years agomm: cma: add trace events for CMA alloc perf testing 25/262725/3
Liam Mark [Wed, 5 May 2021 01:37:25 +0000 (18:37 -0700)]
mm: cma: add trace events for CMA alloc perf testing

Add cma and migrate trace events to enable CMA allocation performance to
be measured via ftrace.

[georgi.djakov@linaro.org: add the CMA instance name to the cma_alloc_start trace event]
Link: https://lkml.kernel.org/r/20210326155414.25006-1-georgi.djakov@linaro.org
Link: https://lkml.kernel.org/r/20210324160740.15901-1-georgi.djakov@linaro.org
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Origin: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=7bc1aec5e28765ad18742824b3b972471807a632
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Change-Id: I61b2cdb2a7416c69fc577080c08be50255921305

3 years agomm: cma: use pr_err_ratelimited for CMA warning 24/262724/3
Baolin Wang [Wed, 21 Apr 2021 04:44:11 +0000 (14:44 +1000)]
mm: cma: use pr_err_ratelimited for CMA warning

If we did not reserve extra CMA memory, the log buffer can be easily
filled up by CMA failure warning when the devices calling
dmam_alloc_coherent() to alloc DMA memory.  Thus we can use
pr_err_ratelimited() instead to reduce the duplicate CMA warning.

Link: https://lkml.kernel.org/r/ce2251ef49e1727a9a40531d1996660b05462bd2.1615279825.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Origin: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=63f83b31f4f36d933e13bd8b9a25d6d9a0cf89dd
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Change-Id: I24e03acb8288fc60e22dddfd409d56b50f3ac12f

3 years agomm: vmstat: add cma statistics 23/262723/3
Minchan Kim [Wed, 21 Apr 2021 04:44:11 +0000 (14:44 +1000)]
mm: vmstat: add cma statistics

Since CMA is used more widely, it's worth to have CMA allocation
statistics into vmstat.  With it, we could know how agressively system
uses cma allocation and how often it fails.

Link: https://lkml.kernel.org/r/20210302183346.3707237-1-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Cc: John Dias <joaodias@google.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Origin: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=bbb269206f3c914d4f23e023de4ec020abea6d1b
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Change-Id: Iadf5fef76fe6dfa41177cfccf022ea39ae1cb19e

3 years agomm: cma: print region name on failure 22/262722/3
Patrick Daly [Fri, 26 Feb 2021 01:16:44 +0000 (17:16 -0800)]
mm: cma: print region name on failure

Print the name of the CMA region for convenience.  This is useful
information to have when cma_alloc() fails.

[pdaly@codeaurora.org: print the "count" variable]
Link: https://lkml.kernel.org/r/20210209142414.12768-1-georgi.djakov@linaro.org
Link: https://lkml.kernel.org/r/20210208115200.20286-1-georgi.djakov@linaro.org
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Acked-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Origin: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=a052d4d13d88c2073d1339d9dce02cba7b4dc609
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Change-Id: Id498bfa25916823d7e3d804db01691916fc8fac4

3 years agomm: cma: improve pr_debug log in cma_release() 21/262721/2
Charan Teja Reddy [Tue, 15 Dec 2020 03:13:26 +0000 (19:13 -0800)]
mm: cma: improve pr_debug log in cma_release()

It is required to print 'count' of pages, along with the pages, passed to
cma_release to debug the cases of mismatched count value passed between
cma_alloc() and cma_release() from a code path.

As an example, consider the below scenario:

1) CMA pool size is 4MB and

2) User doing the erroneous step of allocating 2 pages but freeing 1
   page in a loop from this CMA pool.  The step 2 causes cma_alloc() to
   return NULL at one point of time because of -ENOMEM condition.

And the current pr_debug logs is not giving the info about these types of
allocation patterns because of count value not being printed in
cma_release().

We are printing the count value in the trace logs, just extend the same to
pr_debug logs too.

[akpm@linux-foundation.org: fix printk warning]

Link: https://lkml.kernel.org/r/1606318341-29521-1-git-send-email-charante@codeaurora.org
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Reviewed-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Vinayak Menon <vinmenon@codeaurora.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Origin: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=b8ca396f984295ba09f25f6982f9abd0bb7f5a29
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Change-Id: Ic44cb49df247f690145a2d9dc8279aa94de4205f

3 years agotizen_bcm2711_defconfig: Enable configs for docker 38/262238/5 accepted/tizen/unified/20210805.131603 submit/tizen/20210805.061927
Kiwoong Ha [Mon, 8 Mar 2021 21:41:17 +0000 (06:41 +0900)]
tizen_bcm2711_defconfig: Enable configs for docker

Enable below configs for docker-engine
CONFIG_IP_VS=y
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y
CONFIG_NETFILTER_XT_MATCH_IPVS=y
CONFIG_VETH=y

Change-Id: I49c809b50d40eb653cb3cb6da12c5655788cd0f9
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
3 years agoovl: do not fail because of O_NOATIME 49/261549/1 accepted/tizen/unified/20210723.122825 submit/tizen/20210722.021258
Miklos Szeredi [Mon, 14 Dec 2020 14:26:14 +0000 (15:26 +0100)]
ovl: do not fail because of O_NOATIME

In case the file cannot be opened with O_NOATIME because of lack of
capabilities, then clear O_NOATIME instead of failing.

Remove WARN_ON(), since it would now trigger if O_NOATIME was cleared.
Noticed by Amir Goldstein.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
[sw0312.kim: backport v5.11 mainline commit b6650dab404c to resolve overlayfs file open EPERM fail issue in v5.10]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I9c0c74747bb4a208fc68ca561f740281b2b553fe

3 years agotizen_bcm2711_defconfig: Enable dm-bow 29/261029/4 accepted/tizen/unified/20210716.131302 submit/tizen/20210716.010546
Mateusz Moscicki [Thu, 8 Jul 2021 13:40:21 +0000 (15:40 +0200)]
tizen_bcm2711_defconfig: Enable dm-bow

This enables device mapper driver to allow checkpoint & restore on ext4
partitions.

Change-Id: Ic88811b4e9b66bc42e12e220e420c75464cf6ea8
Signed-off-by: Mateusz Moscicki <m.moscicki2@samsung.com>
[sw0312.kim: sync with savedefconfig]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agodevice-mapper: Add dm-bow 82/260782/3
Mateusz Moscicki [Thu, 8 Jul 2021 13:36:25 +0000 (15:36 +0200)]
device-mapper: Add dm-bow

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: Ifb0b9e3cadd84b0e01bc5c7e80dd296be48516c2
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>
3 years agoARM64: tizen_bcm2711_defconfig: Sync with savedefconfig 26/260926/1
Dongwoo Lee [Wed, 7 Jul 2021 03:33:21 +0000 (12:33 +0900)]
ARM64: tizen_bcm2711_defconfig: Sync with savedefconfig

This fixes to synchronize current defconfig with savedefconfig

Change-Id: I195f05429a15e424834a590df72b73547126d529
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
3 years agoARM: tizen_bcm2711_defconfig: Sync with savedefconfig 25/260925/1
Dongwoo Lee [Wed, 7 Jul 2021 03:31:01 +0000 (12:31 +0900)]
ARM: tizen_bcm2711_defconfig: Sync with savedefconfig

This fixes to synchronize current defconfig with savedefconfig

Change-Id: Ia99f98f2d675ae424e796ddbbd087175d9ad3cae
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
3 years agoARM/ARM64: tizen_bcm2711_defconfig: disable ANDROID_LOGGER config 25/260625/2 accepted/tizen/unified/20210630.144030 accepted/tizen/unified/20210701.122835 submit/tizen/20210630.013220 submit/tizen/20210701.005715
INSUN PYO [Wed, 30 Jun 2021 02:35:05 +0000 (11:35 +0900)]
ARM/ARM64: tizen_bcm2711_defconfig: disable ANDROID_LOGGER config

Disable android logger.
The android logger has been moved to the kernel module of the linux-tizen-modules package.

Change-Id: I64c5207ce00a818795e307b79d4bf540a88fe120
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
3 years agomm: LKSM: bug fix for kernel memory leak 82/260582/1 accepted/tizen/unified/20210630.144015 submit/tizen/20210629.110730
Sung-hun Kim [Tue, 27 Oct 2020 11:48:36 +0000 (20:48 +0900)]
mm: LKSM: bug fix for kernel memory leak

For efficiency, LKSM cleans exited processes in a batched manner when it
finishes a scanning iteration. When it finds exited process while it is in
the scanning iteration, it just pends the mm_slot of the exited process to
the internal list.

On the other hend, when KSM daemon cleans mm_slots of exited processes, it
should care regions of exited processes to remove unreferenced lksm_region
objects.

Previously, most regions are maintained properly but only regions in "head"
of the exited process list does not be cleaned due to the buggy implementation.
At last, uncleaned objects are remained as unreferenced garbages.

Follow message is detected by kmemleak (reported by sw0312.kim@samsung.com):
=========================================================================
unreferenced object 0xffffff80c7083600 (size 128):
  comm "ksm_crawld", pid 41, jiffies 4294918362 (age 95.632s)
  hex dump (first 32 bytes):
    00 37 08 c7 80 ff ff ff 60 82 19 bd 80 ff ff ff  .7......`.......
    00 35 08 c7 80 ff ff ff 00 00 00 00 00 00 00 00  .5..............
  backtrace:
    [<0000000048313958>] kmem_cache_alloc_trace+0x1e0/0x348
    [<00000000fd246822>] lksm_region_ref_append+0x48/0xf8
    [<00000000c5a818a0>] ksm_join+0x3a0/0x498
    [<00000000b2c3f36a>] lksm_prepare_full_scan+0xe8/0x390
    [<00000000013943b5>] lksm_crawl_thread+0x214/0xbf8
    [<00000000b4ce0593>] kthread+0x1b0/0x1b8
    [<000000002a3f7216>] ret_from_fork+0x10/0x18
unreferenced object 0xffffff80c7083700 (size 128):
  comm "ksm_crawld", pid 41, jiffies 4294918362 (age 95.632s)
  hex dump (first 32 bytes):
    00 39 08 c7 80 ff ff ff 00 36 08 c7 80 ff ff ff  .9.......6......
    00 35 08 c7 80 ff ff ff 00 00 00 00 00 00 00 00  .5..............
  backtrace:
    [<0000000048313958>] kmem_cache_alloc_trace+0x1e0/0x348
    [<00000000fd246822>] lksm_region_ref_append+0x48/0xf8
    [<00000000c5a818a0>] ksm_join+0x3a0/0x498
    [<00000000b2c3f36a>] lksm_prepare_full_scan+0xe8/0x390
    [<00000000013943b5>] lksm_crawl_thread+0x214/0xbf8
    [<00000000b4ce0593>] kthread+0x1b0/0x1b8
    [<000000002a3f7216>] ret_from_fork+0x10/0x18
...
=========================================================================

This patch takes care of such possible kernel memory leak problem.

Change-Id: I3e4b299e02018ece1c19ba53e4f10a68520a807b
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agoARM64: tizen_bcm2711_defconfig: Enable WireGuard 88/259188/1 accepted/tizen/unified/20210603.130735 submit/tizen/20210602.045809
Dongwoo Lee [Wed, 2 Jun 2021 02:48:28 +0000 (11:48 +0900)]
ARM64: tizen_bcm2711_defconfig: Enable WireGuard

This enables WireGuard VPN feature.

Change-Id: I2e63427ed5f667858bd3abddb73e5018dc16ac7e
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
3 years agoARM: tizen_bcm2711_defconfig: Enable WireGuard 87/259187/1
Dongwoo Lee [Wed, 2 Jun 2021 02:36:45 +0000 (11:36 +0900)]
ARM: tizen_bcm2711_defconfig: Enable WireGuard

This enables WireGuard VPN feature.

Change-Id: Ia88f99d110c65120f1e55a1bca2e59b9fe35324f
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
3 years agokdbus: Remove unreachable code from kdbus_msg_examine 65/258665/1 accepted/tizen/unified/20210602.122622 submit/tizen/20210531.013858
Sylwester Nawrocki [Tue, 18 May 2021 12:56:13 +0000 (14:56 +0200)]
kdbus: Remove unreachable code from kdbus_msg_examine

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: Ia5204bbaad863f88c470e198a081fe58ffb4f208
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agologger: Suppress SVACE sign extension warnings 64/258664/1
Sylwester Nawrocki [Tue, 18 May 2021 12:26:51 +0000 (14:26 +0200)]
logger: Suppress SVACE sign extension warnings

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: I8286e1a7fdd4cc051efc8136970a560cc8cde794
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agoRevert "sched: Remove sched_setscheduler*() EXPORTs" 49/258349/2
Seung-Woo Kim [Fri, 14 May 2021 01:56:44 +0000 (10:56 +0900)]
Revert "sched: Remove sched_setscheduler*() EXPORTs"

This reverts commit 616d91b68cd56bcb1954b6a5af7d542401fde772.

Some out-of-tree module still uses sched_setscheduler(), so for
build, revert removing export symbol for it.

Change-Id: Ic2dbfc04e03e91c5d8daf52039f06149ae0d5fb1
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agologger-test: more intensive tests 32/256832/3 accepted/tizen/unified/20210419.153507 submit/tizen/20210419.020922
Łukasz Stelmach [Thu, 8 Apr 2021 13:36:04 +0000 (15:36 +0200)]
logger-test: more intensive tests

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>
3 years agologger: introduce struct logger_set_tag 67/256967/2
Łukasz Stelmach [Wed, 14 Apr 2021 15:50:51 +0000 (17:50 +0200)]
logger: introduce struct logger_set_tag

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>
3 years agologger: move logger.h to uapi 31/256831/3
Łukasz Stelmach [Fri, 19 Mar 2021 14:20:06 +0000 (15:20 +0100)]
logger: move logger.h to uapi

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>
3 years agologger: return amount of data written to stdio 30/256830/3
Łukasz Stelmach [Tue, 13 Apr 2021 10:24:38 +0000 (12:24 +0200)]
logger: return amount of data written to stdio

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>
3 years agologger: fix temporary buffer handling 29/256829/3
Łukasz Stelmach [Fri, 9 Apr 2021 15:20:07 +0000 (17:20 +0200)]
logger: fix temporary buffer handling

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>
3 years agologger: adapt access mode checks 28/256828/3
Łukasz Stelmach [Fri, 9 Apr 2021 14:59:56 +0000 (16:59 +0200)]
logger: adapt access mode checks

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>
3 years agomisc: tizen-inform-reboot: fix a potential NULL pointer dereference 81/256981/1 accepted/tizen/unified/20210416.143418 submit/tizen/20210416.024334
Jaehoon Chung [Fri, 16 Apr 2021 02:18:41 +0000 (11:18 +0900)]
misc: tizen-inform-reboot: fix a potential NULL pointer dereference

Fix a potential NULL pointer dereference.
If there is no file or directory, it has to check whether it's error or
not.

Change-Id: Ia6e7280c1901ae772a5f890c312b7a741fbac0a1
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agof2fs: Change default mount options 48/256848/1 submit/tizen/20210416.022438
Dongwoo Lee [Wed, 14 Apr 2021 02:52:25 +0000 (11:52 +0900)]
f2fs: Change default mount options

As adjusting mount options for increasing performance and reducing data
move due to bggc, this changes default mount options about fsync mode
and bggc algorithm as below:
fsync_mode: from 'posix' to 'nobarrier'
bggc_algorithm: from 'default' to 'atgc'

Change-Id: I124ced2ef824832df280de74120612dc72167b36
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
3 years agoARM: tizen_bcm2711_defconfig: Enable security labels for f2fs 26/256726/1 accepted/tizen/unified/20210412.091006 submit/tizen/20210412.040620
Dongwoo Lee [Mon, 12 Apr 2021 03:56:59 +0000 (12:56 +0900)]
ARM: tizen_bcm2711_defconfig: Enable security labels for f2fs

To support smack on f2fs, this enables security label for f2fs
filesystem.

Change-Id: I834d81cec7d861ab2fbfcaf58ad51688216f4b2d
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
3 years agoARM64: tizen_bcm2711_defconfig: Enable security labels for f2fs 23/256723/2
Dongwoo Lee [Mon, 12 Apr 2021 03:47:07 +0000 (12:47 +0900)]
ARM64: tizen_bcm2711_defconfig: Enable security labels for f2fs

To support smack on f2fs, this enables security label for f2fs
filesystem.

Change-Id: Idb151191387c762fb238d5ad0f78d2710cbc7674
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
3 years agologger: Fix incorrect buffer access when writing data 55/256655/2 accepted/tizen/unified/20210412.012045 submit/tizen/20210409.113436
Łukasz Stelmach [Thu, 8 Apr 2021 12:09:24 +0000 (14:09 +0200)]
logger: Fix incorrect buffer access when writing data

Fix crash caused by accessing memory beyond log->buffer

Change-Id: I528b62e34e9fb5f92f62f6b218718e15cd5f7d31
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agostaging: android: logger: remove build warnings 20/256520/1 accepted/tizen/unified/20210407.010219 submit/tizen/20210406.091526
Seung-Woo Kim [Tue, 6 Apr 2021 07:56:45 +0000 (16:56 +0900)]
staging: android: logger: remove build warnings

Remove build warnings including unused variable and
cast from pointer to integer of different size in
64bit.

Change-Id: Id66e111364edb86d6bf74ae3b3414abd6e418a5e
Fixes: commit db906a57d268 ("logger: accept untagged log entries")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agologger: testing tool for STDIO logger 24/255624/7 submit/tizen/20210406.071611
Łukasz Stelmach [Mon, 15 Feb 2021 14:41:27 +0000 (15:41 +0100)]
logger: testing tool for STDIO logger

Change-Id: I029a7def836b317a4e059c7a56301e169910a830
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agologger: accept untagged log entries 23/255623/7
Łukasz Stelmach [Fri, 12 Feb 2021 17:41:09 +0000 (18:41 +0100)]
logger: accept untagged log entries

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>
3 years agoARM: tizen_bcm2711_defconfig: Enable ARM_MODULE_PLTS config 11/256311/2 accepted/tizen/unified/20210401.110051 submit/tizen/20210401.053612
Hoegeun Kwon [Thu, 1 Apr 2021 05:25:00 +0000 (14:25 +0900)]
ARM: tizen_bcm2711_defconfig: Enable ARM_MODULE_PLTS config

Fixes the problem of not loading kernel modules

Change-Id: I3eeed53c510610b69e2ab8b6ddc09a5680fb54c9
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agopackaging: Change the kernel version of the spec file accepted/tizen/unified/20210330.111217 submit/tizen/20210330.072949
Hoegeun Kwon [Tue, 30 Mar 2021 02:04:39 +0000 (11:04 +0900)]
packaging: Change the kernel version of the spec file

Change the kernel version to 5.10.25

Change-Id: Ibe698990fefa9e336212788089d7e2503726da88
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agoARM64: tizen_bcm2711_defconfig: Enable USB_PRINTER config
Chanwoo Choi [Wed, 24 Mar 2021 03:45:52 +0000 (12:45 +0900)]
ARM64: tizen_bcm2711_defconfig: Enable USB_PRINTER config

Enable USB_PRINTER config to suppot USB printer device.

Change-Id: I2068a283928c8f3c85d5f31b25a13300cdc52783
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agoARM: tizen_bcm2711_defconfig: Enable USB_PRINTER config
Chanwoo Choi [Wed, 24 Mar 2021 03:44:24 +0000 (12:44 +0900)]
ARM: tizen_bcm2711_defconfig: Enable USB_PRINTER config

Enable USB_PRINTER config to suppot USB printer device.

Change-Id: Ic63797d93520e4bc50175c53c7e7328b55a0f724
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agoARM64: tizen_bcm2711_defconfig: Enable CONFIG_CFG80211_CRDA_SUPPORT
Jaehoon Chung [Mon, 22 Mar 2021 08:06:33 +0000 (17:06 +0900)]
ARM64: tizen_bcm2711_defconfig: Enable CONFIG_CFG80211_CRDA_SUPPORT

Enable CONFIG_CFG80211_CRDA_SUPPORT.

Change-Id: If60cab97a05ca8bc01633255ede56279fcc599a8
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoRevert "ARM: configs: tizen_bcm2711_defconfig: Disable CONFIG_CFG80211_CRDA_SUPPORT"
Jaehoon Chung [Mon, 22 Mar 2021 07:56:08 +0000 (16:56 +0900)]
Revert "ARM: configs: tizen_bcm2711_defconfig: Disable CONFIG_CFG80211_CRDA_SUPPORT"

This reverts commit 6485924bd76b70c8ed6ba334ef9b5045f4a3686d.
- Enable CONFIG_CFG80211_CRDA_SUPPORT to use country code.

Change-Id: I951b32c86611b6240991e9bb8b362c98bb56b72c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agomedia: uvcvideo: Add a probe quirk to Jieli Technology USB PHY 2.0 (1224:2a25)
Seung-Woo Kim [Thu, 25 Feb 2021 08:17:12 +0000 (17:17 +0900)]
media: uvcvideo: Add a probe quirk to Jieli Technology USB PHY 2.0 (1224:2a25)

Repeated video request on Jieli Technology USB PHY 2.0 (1224:2a25)
device causes data stall with below error until reconnection:
  uvcvideo: Failed to set UVC probe control : -32 (exp. 26).

To resolve the wrong state, add PROBE quirk bits.

Change-Id: I5efba6ac26d5eea70e2227f9ff9801dd5d8d4790
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoARM/ARM64: defconfig: disable SECURITY_SMACK_NETFILTER config
Jaehoon Chung [Wed, 17 Feb 2021 01:02:48 +0000 (10:02 +0900)]
ARM/ARM64: defconfig: disable SECURITY_SMACK_NETFILTER config

Disable SECURITY_SMACK_NETFILTER configuration.

Change-Id: Id95847392ac2bf53b92dae5ee2c0d4b5c1e41ece
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoARM: tizen_bcm2711_defconfig: Enable OVERLAY_FS
Seung-Woo Kim [Mon, 25 Jan 2021 07:24:54 +0000 (16:24 +0900)]
ARM: tizen_bcm2711_defconfig: Enable OVERLAY_FS

Enable CONFIG_OVERLAY_FS for tizen application space.

Change-Id: I46b011effa26e1f7ef9acf5f18d52bc7b54452c5
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoARM64: tizen_bcm2711_defconfig: Enable OVERLAY_FS
Seung-Woo Kim [Mon, 25 Jan 2021 07:24:03 +0000 (16:24 +0900)]
ARM64: tizen_bcm2711_defconfig: Enable OVERLAY_FS

Enable CONFIG_OVERLAY_FS for tizen application space.

Change-Id: I1b2aafaeea24b6ef6b07d3c57d542dce13c53b8f
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agousb: gadget: f_fs: Fix use-after-free for unbind with remaining io
Dongwoo Lee [Fri, 22 Jan 2021 03:40:18 +0000 (12:40 +0900)]
usb: gadget: f_fs: Fix use-after-free for unbind with remaining io

If usb has stall, then there can be remaining submitted io and
unbinding f_fs with the remaining io, there is use-after-free.
Fix the use-after-free by checking endpoint after wait.

This fixes following kasan warning:
   BUG: KASAN: use-after-free in ffs_epfile_io+0x654/0xb58
   Read of size 4 at addr ffffffc0a44e65dc by task mtp-responder/5117
   ...
   [<ffffff900a037794>] ffs_epfile_io+0x654/0xb58
   [<ffffff900a03818c>] ffs_epfile_read_iter+0x1ac/0x3e0
   ...

   Allocated by task 3869:
   ...
    __kmalloc+0x234/0x760
    _ffs_func_bind+0x264/0x7c8
    ffs_func_bind+0xe8/0x650
    usb_add_function+0x13c/0x378
   ...
   Freed by task 3869:
   ...
    kfree+0xa4/0x750
    ffs_func_unbind+0x150/0x248
    purge_configs_funcs+0x1a0/0x310
   ...

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
[dwoo08.lee: cherry-picked from linux-amlogic commit 5dd3ffecd46f to prevent use-after-free when f_fs is unbound before all requests are over]
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Change-Id: Idf2391c53ca0f90fc9484d725304b88fc57fa8a6

3 years agokdbus: read hide_pid and pid_gid from mounted proc
Łukasz Stelmach [Thu, 4 Feb 2021 14:35:27 +0000 (15:35 +0100)]
kdbus: read hide_pid and pid_gid from mounted proc

Since commit fa10fed30f25 ("proc: allow to mount many instances of proc
in one pid namespace") there may be more than one instance of procfs
mounted in a single namespace. Each instance can have different hide_pid
and pid_gid parameters. The highest value of hide_pid (most restrictive)
of all mounted procfs instances is used to check permissions.

Change-Id: Ifc8db04eaa3e21973bc647e1e7768a561f40db99
Fixes: fa10fed30f25 ("proc: allow to mount many instances of proc in one pid namespace")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agopid: mark struct pid* argument as const
Łukasz Stelmach [Tue, 2 Feb 2021 18:52:58 +0000 (19:52 +0100)]
pid: mark struct pid* argument as const

Change-Id: I17a358ccbae656561e9e1df4ff3fe0055e4eaf20
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agokdbus: Use sizeof_field() macro
Łukasz Stelmach [Thu, 28 Jan 2021 16:31:15 +0000 (17:31 +0100)]
kdbus: Use sizeof_field() macro

Replace of FIELD_SIZEOF() with sizeof_field().

Change-Id: I6647be8fa77ca24bfa3b8d1ed57e8fc6a5a4c98a
Fixes: c593642c8be0 ("treewide: Use sizeof_field() macro")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agokdbus: build and package kdbus-tests
Łukasz Stelmach [Tue, 22 Dec 2020 11:56:00 +0000 (12:56 +0100)]
kdbus: build and package kdbus-tests

Change-Id: Ie5a32cb744a28b242aac1f43e879306a43795bb5
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agokdbus: test suite changed to common format
Konrad Lipinski [Wed, 11 Sep 2019 13:42:10 +0000 (15:42 +0200)]
kdbus: test suite changed to common format

This commit adapts the kdbus test suite to use with
dbus-integration-tests.

Change-Id: Ifee21253f4e3c732b27517a0c566d4b9a569d5af
Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agoARM/ARM64: tizen_bcm2711_defconfig: Enable KDBUS
Łukasz Stelmach [Thu, 14 Jan 2021 06:02:02 +0000 (15:02 +0900)]
ARM/ARM64: tizen_bcm2711_defconfig: Enable KDBUS

Change-Id: I3f40022fa9bbb04a0cbcca1fde45a569ca2c4538
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agokdbus: porting to to 5.4
Łukasz Stelmach [Mon, 21 Dec 2020 15:34:08 +0000 (16:34 +0100)]
kdbus: porting to to 5.4

The following changes were made to adapt kdbus driver to 5.4 kernel

- use KERNEL_DS instead of get_ds()
- remove ITER_KVEC flag
- remove 'type' argument from access_ok()
- use memfd_fcntl() instead of shmem_get_seals()
- use uapi/linux/mount.h

Fixes: 736706bee329 ("get rid of legacy 'get_ds()' function")
Fixes: aa563d7bca6e ("iov_iter: Separate type from direction and use accessor functions")
Fixes: 96d4f267e40f ("Remove 'type' argument from access_ok() function")
Fixes: 5aadc431a593 ("shmem: rename functions that are memfd-related")
Fixes: 5d752600a8c3 ("mm: restructure memfd code")
Fixes: e262e32d6bde ("vfs: Suppress MS_* flag defs within the kernel unless explicitly enabled")
Change-Id: I8d2b3db1c83bb21114554ba9eb38e5e439f5c141
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agokdbus: Revert "fs: unexport poll_schedule_timeout"
Łukasz Stelmach [Mon, 21 Dec 2020 11:40:27 +0000 (12:40 +0100)]
kdbus: Revert "fs: unexport poll_schedule_timeout"

This reverts commit 8f546ae1fc5ce8396827d4868c7eee1f1cc6947a.

Change-Id: I5429471eeb092c55a50e37c0b642d50d69daebc7
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agokdbus: porting to 4.14
Adrian Szyndela [Wed, 11 Sep 2019 13:34:33 +0000 (15:34 +0200)]
kdbus: porting to 4.14

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: I3dd066ab531d0d3f7082556e4d38381961998015
Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agokdbus: the driver, original and non-working
Adrian Szyndela [Fri, 9 Sep 2016 11:35:49 +0000 (13:35 +0200)]
kdbus: the driver, original and non-working

[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 4.14 commit 970070c4f68f113284f86cf7b6fbd23d6b35b511.

Change-Id: Id60af5faf794fc4ae7122976621076f1021f6c38
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>
3 years agoARM: tizen_bcm2711_defconfig: Sync with .config with v5.10.y
Hoegeun Kwon [Thu, 21 Jan 2021 10:10:27 +0000 (19:10 +0900)]
ARM: tizen_bcm2711_defconfig: Sync with .config with v5.10.y

Sync with .config with v5.10.y

Change-Id: I4259a2c39383c96db46a6e0e3b743227678a6d8f
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agoarm64: tizen_bcm2711_defconfig: Sync with .config with v5.10.y
Hoegeun Kwon [Thu, 21 Jan 2021 07:33:01 +0000 (16:33 +0900)]
arm64: tizen_bcm2711_defconfig: Sync with .config with v5.10.y

Sync with .config with v5.10.y

Change-Id: I1291e11f4fb9dd1d855d70f18d5046a0a6492b52
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agoARM: dts: bcm2711-rpi-4-b: Support for drm vc4 and v3d
Hoegeun Kwon [Wed, 20 Jan 2021 12:02:08 +0000 (21:02 +0900)]
ARM: dts: bcm2711-rpi-4-b: Support for drm vc4 and v3d

Support for drm vc4 and v3d driver, apply vc4-kms-v3d-pi4-overlay dt
overlay.

Change-Id: I071af70b97abd9e8bb17d0ec6764a005a16284e2
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agoRevert "block: make function 'kill_bdev' static"
Hoegeun Kwon [Wed, 20 Jan 2021 04:52:50 +0000 (13:52 +0900)]
Revert "block: make function 'kill_bdev' static"

This reverts commit 3373a3461aa15b7f9a871fa4cb2c9ef21ac20b47.

To free ramdisk memory, BLKFLSBUF support is required.

Change-Id: I921098c20cc6cad96d2c418a8bd525428e504c70
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agomm: LKSM: Fix to use mmap_lock instead of mmap_sem.
Hoegeun Kwon [Wed, 20 Jan 2021 06:15:09 +0000 (15:15 +0900)]
mm: LKSM: Fix to use mmap_lock instead of mmap_sem.

Fix changed interface and incorrectly used structure member names.

Change-Id: I40c50fd7f20799e30dddb752aba464ac9aace28c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agoASoC: ac108: Fix changed interface
Hoegeun Kwon [Wed, 20 Jan 2021 07:33:20 +0000 (16:33 +0900)]
ASoC: ac108: Fix changed interface

Fix changed interface and incorrectly used structure member names.

Change-Id: Ie6fd41392069fc264499b449fe1fbe45f3458a83
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agostaging: android: logger: Fix to use ktime_get_ts64
Hoegeun Kwon [Tue, 19 Jan 2021 07:50:32 +0000 (16:50 +0900)]
staging: android: logger: Fix to use ktime_get_ts64

We should use timespec64 instead of timespec, fix to use
ktime_get_ts64.

Change-Id: Id767b9e011443373ffc8f3a3df28b30dde0f0680
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agomisc: tizen-inform-reboot: Fix to use filp_open.
Hoegeun Kwon [Tue, 19 Jan 2021 07:28:41 +0000 (16:28 +0900)]
misc: tizen-inform-reboot: Fix to use filp_open.

Modify to use filp_open instead of ksys_open.

Change-Id: I49c8e883d8fd0d76b9ca6c7449303f2859f756b5
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agospec: set CONFIG_LOCALVERSION
Łukasz Stelmach [Mon, 4 Jan 2021 19:23:41 +0000 (20:23 +0100)]
spec: set CONFIG_LOCALVERSION

Set CONFIG_LOCALVERSION insetad of EXTRAVERSION in Makefile to carry
information about the platform variant.

Change-Id: If1650692162832ea86988e4adb610ce0148edde3
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agospec: support gbs(1) incremental builds
Łukasz Stelmach [Mon, 4 Jan 2021 13:41:58 +0000 (14:41 +0100)]
spec: support gbs(1) incremental builds

gbs(1) enable incremental builds that are significantly faster, hoewever,
spec files need some adjustments.

+ You can't use -n <name> with %setup
+ There is no point in making mrproper
+ use rsync(1) instead of cp(1)+find(1) to copy devel files

Other changes are:
+ use make headers_install to install headers in the buildroot
+ add _smp_mflags to make(1) things faster

Change-Id: Ia14fbe7acab8b83683f9e07757b4f62a7657b2a5
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agoscript: adjust ccache support
Łukasz Stelmach [Mon, 21 Dec 2020 12:46:37 +0000 (13:46 +0100)]
script: adjust ccache support

Change-Id: I735295fc21cf7caa29b84548a8f21449ed97800e
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agoscript: increase the number of concurrent compilers
Łukasz Stelmach [Wed, 13 Jan 2021 10:24:40 +0000 (11:24 +0100)]
script: increase the number of concurrent compilers

It is safe to run as many compilation processes as twice the number of
CPUs. This is the default settings of RPM building process in Tizen.

Change-Id: Id68d9d31bc54da11c8732689645408241a517887
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agoscript: use $NCPUS for arm64 builds too
Łukasz Stelmach [Wed, 13 Jan 2021 10:12:04 +0000 (11:12 +0100)]
script: use $NCPUS for arm64 builds too

Fixes: b371be68152e ("script: Fix to use NCPUS dynamically")
Change-Id: I32b5c08f4b00ca24032a2f9355d308f3df825fbd
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years agoARM: mm: Free memblock from free_initrd_mem()
Seung-Woo Kim [Thu, 7 Jan 2021 09:09:20 +0000 (18:09 +0900)]
ARM: mm: Free memblock from free_initrd_mem()

Even after free_initrd_mem(), memblock for initrd remains. Free
memblock for initrd from free_initrd_mem().

Reported-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
[sw0312.kim: port mainline posted patch to 5.4.y]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I42a7461558868cdfdc559959112c81bc4c8b10c5

3 years agoARM: dts: bcm2711-rpi-4-b: Adjust CMA size due to the OOM issue
Sung-hun Kim [Thu, 7 Jan 2021 04:01:01 +0000 (13:01 +0900)]
ARM: dts: bcm2711-rpi-4-b: Adjust CMA size due to the OOM issue

Since 32-bit kernel has a limitation in the lowmem size, big CMA size
severely affect on available memory for kernel. Because of that, some test
cases make OOM kills due to the exhaustion in kernel available memory that
was reported by Jaehoon Chung (jh80.chung@samsung.com).

To handle this, I adjusted CMA size to 400MB while it meets the requirement
for UHD resolution.

Change-Id: I189699d4ce5f2866c01edf68c8138e9278679188
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
3 years agoARM: dts: bcm2711-rpi-4-b: Fix CMA size to 512M
Hoegeun Kwon [Mon, 21 Dec 2020 04:54:55 +0000 (13:54 +0900)]
ARM: dts: bcm2711-rpi-4-b: Fix CMA size to 512M

Increase cma size to 512 for use 4k GL on tizen platform.

When using RPI4 1GB model + 4k UHD, reclaim occurs a lot and it is slow.

Change-Id: Iac60a9fa0d5f76085e60cbf3db9a90585597de57
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agoscript: Fix to use NCPUS dynamically
Hoegeun Kwon [Mon, 14 Dec 2020 14:24:34 +0000 (23:24 +0900)]
script: Fix to use NCPUS dynamically

It uses NCPUS dynamically.

Change-Id: Ib7b1229f387b9c91f4eb2b29cc8f3bfe207fcaaa
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@gmail.com>
3 years agoARM: tizen_bcm2711_defconfig: Fix console loglevel for logo display
Hoegeun Kwon [Mon, 9 Nov 2020 07:44:46 +0000 (16:44 +0900)]
ARM: tizen_bcm2711_defconfig: Fix console loglevel for logo display

Modifiy CONSOLE_LOGLEVEL_QUIET defconfig to 3 for logo display.

Change-Id: Idae234c40304fbe8fd5f02941e53505a6bd189fa
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>