You need to sign in or sign up before continuing.
- 26 Jan, 2021 11 commits
-
-
Ramii Ahmed authored
Merge tag 'LA.UM.9.1.r1-08300-SMxxx0.0' of https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0 into fluid-11 "LA.UM.9.1.r1-08300-SMxxx0.0"
-
Ramii Ahmed authored
Merge tag 'LA.UM.9.1.r1-08300-SMxxx0.0' of https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qca-wifi-host-cmn into fluid-11 "LA.UM.9.1.r1-08300-SMxxx0.0"
-
Ramii Ahmed authored
Merge tag 'LA.UM.9.1.r1-08300-SMxxx0.0' of https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/fw-api into fluid-11 "LA.UM.9.1.r1-08300-SMxxx0.0"
-
Ramii Ahmed authored
Merge tag 'LA.UM.9.1.r1-08300-SMxxx0.0' of https://source.codeaurora.org/quic/la/platform/vendor/opensource/audio-kernel into fluid-11 "LA.UM.9.1.r1-08300-SMxxx0.0"
-
Ramii Ahmed authored
Merge tag 'LA.UM.9.1.r1-08300-SMxxx0.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.14 into fluid-11 "LA.UM.9.1.r1-08300-SMxxx0.0"
-
Wilson Sung authored
File list: kernel/sched/ include/linux/sched/ Bug: 150756696 Bug: 149660093 Change-Id: Ia90f5123ef3ab0d3322e974d174b915e80ed642e Signed-off-by:Wilson Sung <wilsonsung@google.com>
-
Lingutla Chandrasekhar authored
sched_avg stats enabled for SMP, but it is used only in WALT. So move sched_avg under WALT. Change-Id: I19b558833e12b80f02fea27c9a9fc8b7630d8689 Signed-off-by:
Lingutla Chandrasekhar <clingutla@codeaurora.org> Signed-off-by:
celtare21 <celtare21@gmail.com>
-
Alex Winkowski authored
../drivers/nfc/nq-nci.c:1624:12: error: function declaration isn't a prototype [-Werror=strict-prototypes] 1624 | static int lct_check_hwversion() | ^~~~~~~~~~~~~~~~~~~ -
Alex Winkowski authored
../techpack/audio/4.0/dsp/digital-cdc-rsc-mgr.c:90:6: error: function declaration isn't a prototype [-Werror=strict-prototypes] 90 | void digital_cdc_rsc_mgr_init() | ^~~~~~~~~~~~~~~~~~~~~~~~ ../techpack/audio/4.0/dsp/digital-cdc-rsc-mgr.c:96:6: error: function declaration isn't a prototype [-Werror=strict-prototypes] 96 | void digital_cdc_rsc_mgr_exit() | ^~~~~~~~~~~~~~~~~~~~~~~~ -
Park Ju Hyung authored
Signed-off-by:Park Ju Hyung <qkrwngud825@gmail.com>
-
- 25 Jan, 2021 24 commits
-
-
Alex Winkowski authored
-
Albert I authored
Use global .gitignore instead. Signed-off-by:Albert I <kras@raphielgang.org>
-
Tetsuhiro Kohada authored
In exfat_move_file(), the identity of source and target directory has been checked by the caller. Also, it gets stream.start_clu from file dir-entry, which is an invalid determination. Signed-off-by:
Tetsuhiro Kohada <kohada.t2@gmail.com> Acked-by:
Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit eae503f7eb0509594076a951e422e29082385c96) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Tetsuhiro Kohada authored
Remove 'rwoffset' in exfat_inode_info and replace it with the parameter of exfat_readdir(). Since rwoffset is referenced only by exfat_readdir(), it is not necessary a exfat_inode_info's member. Also, change cpos to point to the next of entry-set, and return the index of dir-entry via dir_entry->entry. Signed-off-by:
Tetsuhiro Kohada <kohada.t2@gmail.com> Acked-by:
Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 04cee52fb8bdbdb0506460f191ed6fd9e6faf00b) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Tetsuhiro Kohada authored
Use structure assignment instead of memcpy. Signed-off-by:
Tetsuhiro Kohada <kohada.t2@gmail.com> Acked-by:
Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit a7a241686c8f8142afafbd5fa5b9b9b6ea1aa173) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Tetsuhiro Kohada authored
There is nothing in directory just created, so there is no need to scan. Signed-off-by:
Tetsuhiro Kohada <kohada.t2@gmail.com> Acked-by:
Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 6c958a09555515684947d94bfcfa8e8a414f0572) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Tetsuhiro Kohada authored
The exfat_find_dir_entry() called by exfat_find() doesn't return -EEXIST. Therefore, the root-dir information setting is never executed. Signed-off-by:
Tetsuhiro Kohada <kohada.t2@gmail.com> Acked-by:
Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 188df41f212c9282f6cb05b832383ffca3c66893) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Xianting Tian authored
We alreday has the interface i_blocksize() to get blocksize, so use it. Signed-off-by:
Xianting Tian <tian.xianting@h3c.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 45882a6a0dbd1189defae1a449152f8a8168c274) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Namjae Jeon authored
Sedat reported typos using codespell tool. $ codespell fs/exfat/*.c | grep -v iput fs/exfat/namei.c:293: upto ==> up to fs/exfat/nls.c:14: tabel ==> table $ codespell fs/exfat/*.h fs/exfat/exfat_fs.h:133: usally ==> usually Fix typos found by codespell. Reported-by:
Sedat Dilek <sedat.dilek@gmail.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 9e456aeaacb6b44c5d8f858800d53c1958daad3d) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Namjae Jeon authored
syzbot reported warning message: Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d6/0x29e lib/dump_stack.c:118 register_lock_class+0xf06/0x1520 kernel/locking/lockdep.c:893 __lock_acquire+0xfd/0x2ae0 kernel/locking/lockdep.c:4320 lock_acquire+0x148/0x720 kernel/locking/lockdep.c:5029 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:354 [inline] exfat_cache_inval_inode+0x30/0x280 fs/exfat/cache.c:226 exfat_evict_inode+0x124/0x270 fs/exfat/inode.c:660 evict+0x2bb/0x6d0 fs/inode.c:576 exfat_fill_super+0x1e07/0x27d0 fs/exfat/super.c:681 get_tree_bdev+0x3e9/0x5f0 fs/super.c:1342 vfs_get_tree+0x88/0x270 fs/super.c:1547 do_new_mount fs/namespace.c:2875 [inline] path_mount+0x179d/0x29e0 fs/namespace.c:3192 do_mount fs/namespace.c:3205 [inline] __do_sys_mount fs/namespace.c:3413 [inline] __se_sys_mount+0x126/0x180 fs/namespace.c:3390 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 If exfat_read_root() returns an error, spinlock is used in exfat_evict_inode() without initialization. This patch combines exfat_cache_init_inode() with exfat_inode_init_once() to initialize spinlock by slab constructor. Fixes: c35b6810c495 ("exfat: add exfat cache") Cc: stable@vger.kernel.org # v5.7+ Reported-by:syzbot <syzbot+b91107320911a26c9a95@syzkaller.appspotmail.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 8ff006e57ad3a25f909c456d053aa498b6673a39) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Tetsuhiro Kohada authored
Fix missing result check of exfat_build_inode(). And use PTR_ERR_OR_ZERO instead of PTR_ERR. Signed-off-by:
Tetsuhiro Kohada <kohada.t2@gmail.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit d6c9efd92443b23307995f34246c2374056ebbd8) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Tetsuhiro Kohada authored
MediaFailure and VolumeDirty should be retained if these are set before mounting. In '3.1.13.3 Media Failure Field' of exfat specification describe: If, upon mounting a volume, the value of this field is 1, implementations which scan the entire volume for media failures and record all failures as "bad" clusters in the FAT (or otherwise resolve media failures) may clear the value of this field to 0. Therefore, We should not clear MediaFailure without scanning volume. In '8.1 Recommended Write Ordering' of exfat specification describe: Clear the value of the VolumeDirty field to 0, if its value prior to the first step was 0. Therefore, We should not clear VolumeDirty after mounting. Also rename ERR_MEDIUM to MEDIA_FAILURE. Signed-off-by:
Tetsuhiro Kohada <kohada.t2@gmail.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 7018ec68f08249de17cb131b324d5a48e89ed898) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Tetsuhiro Kohada authored
Replace part of exfat_zeroed_cluster() with exfat_update_bhs(). And remove exfat_sync_bhs(). Signed-off-by:
Tetsuhiro Kohada <kohada.t2@gmail.com> Reviewed-by:
Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 4dc7d35e09ba78aa0a3bcaa9fad1c19952e018a7) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Tetsuhiro Kohada authored
Add error check when synchronously updating dir-entries. Suggested-by:
Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Tetsuhiro Kohada <kohada.t2@gmail.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 8b0c471773819c8201dc0b0123e1580639ee1570) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Tetsuhiro Kohada authored
Write multiple sectors at once when updating dir-entries. Add exfat_update_bhs() for that. It wait for write completion once instead of sector by sector. It's only effective if sync enabled. Signed-off-by:
Tetsuhiro Kohada <kohada.t2@gmail.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by:
Albert I <kras@raphielgang.org>
-
Tetsuhiro Kohada authored
This flag is set/reset in exfat_put_super()/exfat_sync_fs() to avoid sync_blockdev(). - exfat_put_super(): Before calling this, the VFS has already called sync_filesystem(), so sync is never performed here. - exfat_sync_fs(): After calling this, the VFS calls sync_blockdev(), so, it is meaningless to check EXFAT_SB_DIRTY or to bypass sync_blockdev() here. Remove the EXFAT_SB_DIRTY check to ensure synchronization. And remove the code related to the flag. Signed-off-by:
Tetsuhiro Kohada <kohada.t2@gmail.com> Reviewed-by:
Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 2c7f8937ef91520a8a4bd700d5817b5e9c99803c) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Ilya Ponetayev authored
On-disk format for name_hash field is LE, so it must be explicitly transformed on BE system for proper result. Fixes: 370e812b3ec1 ("exfat: add nls operations") Cc: stable@vger.kernel.org # v5.7 Signed-off-by:Chen Minqiang <ptpt52@gmail.com> Signed-off-by:
Ilya Ponetayev <i.ponetaev@ndmsystems.com> Reviewed-by:
Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit db415f7aae07cadcabd5d2a659f8ad825c905299) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Hyeongseok Kim authored
The stream.size field is updated to the value of create timestamp of the file entry. Fix this to use correct stream entry pointer. Fixes: 29bbb14bfc80 ("exfat: fix incorrect update of stream entry in __exfat_truncate()") Signed-off-by:Hyeongseok Kim <hyeongseok@gmail.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 41e3928f8c58184fcf0bb22e822af39a436370c7) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Namjae Jeon authored
We found the wrong hint_stat initialization in exfat_find_dir_entry(). It should be initialized when cluster is EXFAT_EOF_CLUSTER. Fixes: ca06197382bd ("exfat: add directory operations") Cc: stable@vger.kernel.org # v5.7 Reviewed-by:Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit d2fa0c337d97a5490190b9f3b9c73c8f9f3602a1) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Namjae Jeon authored
An overflow issue can occur while calculating sector in exfat_cluster_to_sector(). It needs to cast clus's type to sector_t before left shifting. Fixes: 1acf1a564b60 ("exfat: add in-memory and on-disk structures and headers") Cc: stable@vger.kernel.org # v5.7 Reviewed-by:Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by:
Namjae Jeon <namjae.jeon@samsung.com> (cherry-picked from commit 43946b70494beefe40ec1b2ba4744c0f294d7736) Signed-off-by:
Albert I <kras@raphielgang.org>
-
Albert I authored
Signed-off-by:Albert I <kras@raphielgang.org>
-
Albert I authored
Signed-off-by:Albert I <kras@raphielgang.org>
-
Alex Winkowski authored
-
Alex Winkowski authored
-
- 22 Jan, 2021 5 commits
-
-
Sultan Alsawaf authored
The IRQ subsystem allocates a domain name dynamically on its own. By overwriting it, there is not only a memory leak created, but also a kfree() on a non-allocated pointer when the IRQ is freed. We can remedy all of this by simply not overwriting the IRQ domain name. Signed-off-by:Sultan Alsawaf <sultan@kerneltoast.com>
-
Sultan Alsawaf authored
Since we have multiple CCIs with qcom,cam-res-mgr defined, the global cam_res pointer gets overwritten each time a CCI probes, causing memory to be leaked. Since it appears that the single global cam_res pointer is intentional, let's just skip superfluous cam_res allocations to fix the leak. Signed-off-by:Sultan Alsawaf <sultan@kerneltoast.com>
-
Sultan Alsawaf authored
Secure DMA attachments are never freed, leaking memory. Fix it by adding a complementary dma_buf_unmap_attachment() and dma_buf_detach() when a DMA buffer is done being used. Signed-off-by:Sultan Alsawaf <sultan@kerneltoast.com>
-
Ramii Ahmed authored
-
Ramii Ahmed authored
This reverts commit 17d3c640009dd4ede945f1450c0ecdf12d6470bb.
-