Commit graph

891,994 commits

Author SHA1 Message Date
Namjae Jeon
fdb249bc26 exfat: add misc operations
This adds the implementation of misc operations for exfat.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Git-commit: 772b29cca528fcb21374bb3e597d848779938d16
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I1a472cbba93f6053716e1f9c7ba2e82352eda796
Signed-off-by: lixiang <lixiang@codeaurora.org>
2020-11-10 22:13:19 -08:00
Namjae Jeon
ca391a8c0a exfat: add inode operations
This adds the implementation of inode operations for exfat.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Git-commit: 5f2aa075070cf5b2e6aae011d5a3390408d7d913
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I7d8ebe0efdb7cff447b7303d890fbbbdbe911d02
Signed-off-by: lixiang <lixiang@codeaurora.org>
2020-11-10 22:13:05 -08:00
Namjae Jeon
616c0e5a65 exfat: add file operations
This adds the implementation of file operations for exfat.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Git-commit: 98d917047e8b7f4bb2ff61d81b0ccd94a00444f9
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I11d7ba143f67f698995b7a91e52ce26272ac9ff4
Signed-off-by: lixiang <lixiang@codeaurora.org>
2020-11-10 22:12:48 -08:00
Namjae Jeon
b196461f14 exfat: add fat entry operations
This adds the implementation of fat entry operations for exfat.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Git-commit: 31023864e67a5f390cefbe92f72343027dc3aa33
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I797356380a952b820e57195d4ba04e7ddc0cb7a7
Signed-off-by: lixiang <lixiang@codeaurora.org>
2020-11-10 22:12:21 -08:00
Namjae Jeon
53f9754809 exfat: add in-memory and on-disk structures and headers
This adds in-memory and on-disk structures and headers.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Git-commit: 1acf1a564b6034b5af1e7fb23cb98cb3bb4f6003
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: Ibe7d599033d32965f9410cd58b5643704b0de46b
Signed-off-by: lixiang <lixiang@codeaurora.org>
2020-11-10 22:12:01 -08:00
Namjae Jeon
1f80c5e9f7 exfat: add directory operations
This adds the implementation of directory operations for exfat.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Git-commit: ca06197382bde0a3bc20215595d1c9ce20c6e341
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I7dfcff9934c3cf0a048a8b754f9f934f3b441dfe
Signed-off-by: lixiang <lixiang@codeaurora.org>
2020-11-10 22:11:48 -08:00
Namjae Jeon
38b3d335d4 exfat: add exfat cache
This adds the implementation of exfat cache.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Git-commit: c35b6810c4952ae5776607e2c1d6a587425d5834
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I0c7fee26fbd277f4e2987c5bc11102b05194bd12
Signed-off-by: lixiang <lixiang@codeaurora.org>
2020-11-10 22:11:16 -08:00
Namjae Jeon
155505c15f exfat: add bitmap operations
This adds the implementation of bitmap operations for exfat.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Git-commit: 1e49a94cf707204b66a3fb242f2814712c941f52
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
Change-Id: I6b3f723d89f772d70ff8468ef7bc5d944c25d21f
Signed-off-by: lixiang <lixiang@codeaurora.org>
2020-11-11 11:33:14 +08:00
Namjae Jeon
5868025897 exfat: add Kconfig and Makefile
This adds the Kconfig and Makefile for exfat.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Git-commit: b9d1e2e6265f5dc25e9f5dbfbde3e53d8a4958ac
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
Change-Id: I8730b0a0eb0d7d55f58cdf79094962540cc8d874
Signed-off-by: lixiang <lixiang@codeaurora.org>
2020-11-10 14:30:28 +08:00
qctecmdr
8c86f95982 Merge "drm/bridge: lt9611uxc: add hpd support for lt9611uxc" 2020-11-02 20:59:38 -08:00
qctecmdr
c0d9738fcd Merge "Merge android11-5.4.61+ (874de1d) into msm-5.4" 2020-11-02 20:59:38 -08:00
qctecmdr
160bf6e6d6 Merge "pci: msm: Add support to handle DRV power collapse" 2020-11-02 20:59:38 -08:00
qctecmdr
770c7141e8 Merge "arm: defconfig: Enable TSENS driver for sdxlemur" 2020-11-02 20:59:37 -08:00
qctecmdr
6da09c4559 Merge "clk: qcom: gdsc-regulator: Extend the support for ACD reset" 2020-11-02 20:59:37 -08:00
qctecmdr
e43996e3bb Merge "msm: kgsl: Don't skip gmufw preallocations during firmware read" 2020-11-02 20:59:37 -08:00
qctecmdr
69a33a0555 Merge "mtd: msm_qpic_nand: Add a check to read an ONFI parameter page" 2020-11-02 20:59:36 -08:00
qctecmdr
b728422299 Merge "usb: gadget: configfs: Correct usb functions order for UDC gadget bind" 2020-11-02 17:15:19 -08:00
qctecmdr
19a1e02a64 Merge "coresight-tmc-etr: Check if page is valid before dma_map_page" 2020-11-02 17:15:19 -08:00
qctecmdr
c648646142 Merge "msm: kgsl: Granule Fill Override Enable" 2020-11-02 17:15:18 -08:00
qctecmdr
244ab508be Merge "cnss2: Donot reserve TCS register space for WLAN" 2020-11-02 14:03:14 -08:00
qctecmdr
bad0254793 Merge "Bluetooth: Don't reserve TCS register address" 2020-11-02 14:03:12 -08:00
qctecmdr
eb72ab27a7 Merge "mmc: core: Fix clk scaling deadlock with irqsave" 2020-11-02 07:48:27 -08:00
qctecmdr
b5b0299091 Merge "usb: dwc3: Stop active transfer on control endpoints" 2020-11-02 07:48:27 -08:00
qctecmdr
30a9d161da Merge "qcom: qcom_ipcc: request ipcc irq IRQF_NO_SUSPEND" 2020-11-02 07:48:27 -08:00
qctecmdr
a40869b2ca Merge "defconfig: holi: Enable Incremental FS as module" 2020-11-02 07:48:26 -08:00
qctecmdr
6e0ca20610 Merge "serial: msm_geni_serial: memset RX buffer to Zero" 2020-11-02 07:48:26 -08:00
qctecmdr
bf4800b509 Merge "input: qcom-hv-haptics: switch API to trigger PBS for ISC configuration" 2020-11-02 07:48:26 -08:00
qctecmdr
67a8905131 Merge "mm: oom: wait for exit of killed current task" 2020-11-02 07:48:26 -08:00
qctecmdr
e2ad70a354 Merge "NFC: Add fix for CTS issue of IPC log file creation failed" 2020-11-02 07:48:25 -08:00
qctecmdr
b1189d1d9c Merge "msm: kgsl: Call dma_buf_unmap_attachment() early" 2020-11-02 02:18:44 -08:00
qctecmdr
e350f2d4e0 Merge "f2fs: fix indefinite loop scanning for free nid" 2020-11-02 02:18:44 -08:00
qctecmdr
621f4c9069 Merge "uapi: ipa: Support uc header proc ctx for DSCP insertion" 2020-11-02 02:18:44 -08:00
qctecmdr
bb2468e73f Merge "icnss2: Avoid race between SOC WAKE REQ/RESP" 2020-11-02 02:18:44 -08:00
qctecmdr
e6c07194da Merge "msm: kgsl: Store power_interval_timeout in msec" 2020-11-02 02:18:43 -08:00
qctecmdr
b3a0fafb1c Merge "clk: qcom: Add sync-state callback for clk-aop-qmp" 2020-11-02 02:18:43 -08:00
Taniya Das
2cc43ca942 clk: qcom: gdsc-regulator: Extend the support for ACD reset
In the case where the SW reset requires an additional ACD block reset or
misc reset, the support is added for the same.

Change-Id: I29b69f2a4ccc33a896ec8e201cbe761cca6800ea
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-11-02 15:36:40 +05:30
Wenjun Zhang
85cee8cd34 drm/bridge: lt9611uxc: add hpd support for lt9611uxc
When HDMI cable was pluged in/out, it could trigger an irq,
MSM can get HPD status from LT9611, and report the HPD status
using kernel uevent to userspace.

Change-Id: I47c148d92e877a80147ee81498513ead0e4afcf0
Signed-off-by: Wenjun Zhang <wjzhan@codeaurora.org>
2020-11-01 23:16:16 -08:00
Chandana Kishori Chiluveru
fbf383ace3 usb: gadget: configfs: Correct usb functions order for UDC gadget bind
During multiple adb reboots test case, adbd is taking time to start
and write the descriptors from the userspace. If adb is their in the
composition and its not ready when bind happens, UDC bind for ffs will
fail and adding the function back to the func_list in failure path and
calling purge_configs_funcs.

In purge_func adb driver unbind the functions from config->functions list
and add back to the tail of the func_list. With this order of the functions
in func_list got changed and next time when bind happens from adbd start
usb does not working.

Fix this issue by changing the order of the functions while adding the
functions back to the list in purge_configs_funcs.

Change-Id: I50c2362062130836d66edfcf8e1f020134248cb4
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2020-11-01 21:12:07 -08:00
Karthik Poosa
33d50bb739 NFC: Add fix for CTS issue of IPC log file creation failed
Checking IPC log handle during usage rather than after creation.
This is because IPC logging is not available with boot image of
of GKI.

Change-Id: I81f4d5910bf721fd94f5858a2b7aba675a7be931
Signed-off-by: Karthik Poosa <kpoosa2@codeaurora.org>
2020-11-02 10:01:39 +05:30
qctecmdr
4059648ed9 Merge "coresight: tmc: Configure cti trigger number in device tree" 2020-11-01 20:06:46 -08:00
qctecmdr
878a2ef45f Merge "coresight: tmc: fix spinlock bad magic/usb_qdss_close" 2020-11-01 20:06:46 -08:00
qctecmdr
3064610aa0 Merge "soc/qcom/hyp_core_ctl: Track VPM Group state for VM" 2020-11-01 20:06:45 -08:00
qctecmdr
8efb1e6396 Merge "qbt_handler: Memset userspace struct to zero" 2020-11-01 20:06:45 -08:00
Fenglin Wu
20a1939587 input: qcom-hv-haptics: switch API to trigger PBS for ISC configuration
SW trigger for PBS to configure ISC in LRA detection doesn't need to
pass any parameter or wait on any condition including checking status.
Hence switch using qpnp_pbs_trigger_single_event() instead of
qpnp_pbs_trigger_event() to trigger PBS.

Change-Id: I8b252e293265994976924435f8a6a11d9b463119
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-11-02 09:50:43 +08:00
Fenglin Wu
1d2e35e74e soc: qcom: qpnp-pbs: add an API to trigger single PBS event
A simple PBS can be triggered by SW writing to SW_TRIGGER (bit 7) in
TRIG_CTL register without passing any parameters through SCRATCH1
register and not waiting on any condition. Also, this simple PBS is more
like a fire and forget and doesn't even need to check on the status
through SCRATCH2 register. Add support for this simple PBS through an
API qpnp_pbs_trigger_single_event().

Change-Id: I8a6448f9be8f84269c6ba5672bead01a152185ad
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-11-02 09:50:31 +08:00
Deepak Kumar
7b9fd1956e msm: kgsl: Don't skip gmufw preallocations during firmware read
In scenario where GMU request firmware succeeded but preallocation
failed, a6xx_gmu_load_firmware returns error but during next open
call it return success only based on whether request_firmware was
successful or not. This results in issue during GMU start while
copying firmware to respective GMU memory blocks as some of the
memory blocks were not allocated.

Update the check in a6xx_gmu_load_firmware to ensure only request
firmware is skipped if it passed earlier.

Change-Id: I92920215aa9f47726c4470968ca804e1cee13468
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Signed-off-by: Pranav Patel <pranavp@codeaurora.org>
2020-10-30 21:45:19 +05:30
Pradeep P V K
c807ca798f mtd: msm_qpic_nand: Add a check to read an ONFI parameter page
Add support to read an ONFI parameter page from the device on
QPIC 2.0 controllers.

Change-Id: I30e8696c17733dc745c6857c0dcb436764f229e2
Signed-off-by: Pradeep P V K <ppvk@codeaurora.org>
2020-10-30 07:47:40 -07:00
Sarthak Garg
9c6d556e10 mmc: core: Fix clk scaling deadlock with irqsave
Consider the following dump stack :

do_raw_spin_lock+0xf0
_raw_spin_lock_irqsave+0x80
mmc_request_done+0x48
sdhci_irq+0x954
__handle_irq_event_percpu+0x9c
handle_irq_event+0x60
handle_fasteoi_irq+0x140
__handle_domain_irq+0xc0
gic_handle_irq+0xcc
el1_irq+0x108
ktime_get+0xc0
mmc_cqe_clk_scaling_stop_busy+0x58
mmc_blk_cqe_complete_rq+0x138
mmc_blk_mq_complete+0x24
blk_done_softirq+0xe0

Here mmc_cqe_clk_scaling_stop_busy is being called from the soft irq
context and it acquires the clock_scaling lock.
Before it could unlock, a H/W irq gets triggered on the same core which
switches the context and starts execution but since lock is already held
in the softirq context, irq context ends up waiting for the same lock,
leading to a deadlock.

Use spin_lock_irqsave to avoid above explained deadlock.

Change-Id: I7684f4e349648414038cd6601cca58ac11b9409b
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
2020-10-30 18:10:53 +05:30
Manaf Meethalavalappu Pallikunhi
e831c3aa53 arm: defconfig: Enable TSENS driver for sdxlemur
Enable TSENS device driver for sdxlemur to monitor
different junction temperatures.

Change-Id: I2d130d3b4c9fe6f506e2704e67f9ba91a6f14d84
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2020-10-30 15:56:33 +05:30
Sayali Lokhande
804e7d5baa defconfig: holi: Enable Incremental FS as module
This change enables Incremental FS as module for holi.

Change-Id: Ie18a8877ed601197312adc3b6782d0b0e1f663d8
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2020-10-30 14:07:49 +05:30