- Feb 19, 2020
-
-
Tony Truong authored
Each Synopsys MSI group (32 MSIs) is mapped to a dedicated PCIe IRQ. Current MSI driver handles only 1 PCIe IRQ. Add support in PCIe MSI driver to correctly handle multiple Synopsys MSI groups. Change-Id: I7327ae49d03503f4dada7726ee0969bf79fe3b45 Signed-off-by:
Tony Truong <truong@codeaurora.org>
-
Tony Truong authored
Accessing device MSI registers is also needed when using QGIC mask/unmask. Allow PCIe bus driver to configure device MSI registers. Change-Id: I2c9247f69149f37ae015e1271eac3854bda24549 Signed-off-by:
Tony Truong <truong@codeaurora.org>
-
qctecmdr authored
-
qctecmdr authored
-
- Feb 18, 2020
-
-
Kiran Gunda authored
Some times the SOC value reported as increasing even though there is no charger connected to the device. Fix it by correcting maintenance SOC reporting logic. Change-Id: I0fb897616c72467f68b9be9a193c28a9008765ea Signed-off-by:
Kiran Gunda <kgunda@codeaurora.org>
-
qctecmdr authored
-
- Feb 17, 2020
-
-
qctecmdr authored
-
qctecmdr authored
-
qctecmdr authored
-
qctecmdr authored
-
Vijayanand Jitta authored
Random sequence cache is precomputed during slab object creation based up on the object size and no of objects per slab. These could be changed when flags like SLAB_STORE_USER, SLAB_POISON are updated from sysfs. So when shuffle_freelist is called during slab_alloc it uses updated object count to access the precomputed random sequence cache. This could result in incorrect access of the random sequence cache which could further result in slab corruption. Fix this by reinitializing the random sequence cache up on slab object update. A sample panic trace when write to slab_store_user was attempted. Call trace0: exception set_freepointer(inline) shuffle_freelist(inline) new_slab+0x688/0x690 ___slab_alloc+0x548/0x6f8 kmem_cache_alloc+0x3dc/0x418 zs_malloc+0x60/0x578 zram_bvec_rw+0x66c/0xaa0 zram_make_request+0x190/0x2c8 generic_make_request+0x1f8/0x420 submit_bio+0x140/0x1d8 submit_bh_wbc+0x1a0/0x1e0 __block_write_full_page+0x3a0/0x5e8 block_write_full_page+0xec/0x108 blkdev_writepage+0x2c/0x38 __writepage+0x34/0x98 write_cache_pages+0x33c/0x598 generic_writepages+0x54/0x98 blkdev_writepages+0x24/0x30 do_writepages+0x90/0x138 __filemap_fdatawrite_range+0xc0/0x128 file_write_and_wait_range+0x44/0xa0 blkdev_fsync+0x38/0x68 __arm64_sys_fsync+0x6c/0xb8. Change-Id: Ia87ff808d23ff8dbb721d3cc3e3b29771200ec5a Signed-off-by:
Vijayanand Jitta <vjitta@codeaurora.org> Signed-off-by:
Marco Zhang <zhangx@codeaurora.org>
-
Shubham Aggarwal authored
Add configs of THUMB2 on 32 bit QCS405 and QCS403. Enabled modules to load in vmalloc area CONFIG_SQUASHFS_FILE_DIRECT enable to reduce decompression buffers. Change-Id: I2890dd54080c078c9b2fe2c2ea4ce8569b1199e2 Signed-off-by:
Shubham Aggarwal <shubagga@codeaurora.org>
-
Konstantin Khlebnikov authored
Usually modules are loaded into small area prior to the kernel text because they are linked with the kernel using short calls. Compile-time instrumentation like GCOV or KASAN bloats code a lot, and as a result huge modules no longer fit into reserved area. This patch adds option CONFIG_MODULES_USE_VMALLOC which lifts limitation on amount of loaded modules. It links modules using long-calls (option -mlong-calls) and loads them into vmalloc area. In few places exported symbols are called from inline assembly. This patch adds macro for such call sites: __asmbl and __asmbl_clobber. Call turns into single 'bl' or sequence 'movw; movt; blx' depending on context and state of config option. Unfortunately this option isn't compatible with CONFIG_FUNCTION_TRACER. Compiler emits short calls to profiling function despite of -mlong-calls. This is a bug in GCC, but ftrace anyway needs an update to handle this. Signed-off-by:
Konstantin Khlebnikov <k.khlebnikov@samsung.com> Patch-mainline: linux-arm-kernel @ 18/11/2014, 20:21:46 Change-Id: Iea7990a033c060c26f5782125fb63d6f96a9d218 Signed-off-by:
Shubham Aggarwal <shubagga@codeaurora.org>
-
Archit Saxena authored
Add correct jump point for secondary cores in case THUMB2 mode of operation is enabled.The jump point allows HLOS to program the cores to first run in THUMB2 mode. Change-Id: Iecef92790fa37781f6a800a40d71a6a07d4fa6c5 Signed-off-by:
Archit Saxena <archsaxe@codeaurora.org> Signed-off-by:
Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
-
qctecmdr authored
-
- Feb 16, 2020
-
-
Prateek Sood authored
Add support for sm8150+sdxprairie v3 target. Change-Id: I366d1310d97c4b45324a1ac0889d5c36b714b676 Signed-off-by:
Prateek Sood <prsood@codeaurora.org>
-
- Feb 15, 2020
-
-
qctecmdr authored
-
qctecmdr authored
-
qctecmdr authored
-
Ashay Jaiswal authored
For some parallel chargers(SMB1390/SMB1395) temperature and current reporting is done via same h/w line, this sometimes leads to an unreliable reporting of SMB DIE health via main charger. Fix this by moving to s/w based reporting of SMB health by reading the SMB temperature via ADC channel and comparing it with the predefined thresholds. Change-Id: Ifc42a630d4fb6800b6d4f96656f03936d81abe8f Signed-off-by:
Ashay Jaiswal <ashayj@codeaurora.org>
-
qctecmdr authored
-
qctecmdr authored
-
qctecmdr authored
-
qctecmdr authored
-
qctecmdr authored
-
qctecmdr authored
-
qctecmdr authored
-
qctecmdr authored
-
- Feb 14, 2020
-
-
qctecmdr authored
-
Tingting Lin authored
Revise db.txt for some countries according to latest regdomin 30 doc. Change-Id: I58200d0427571e22948a9e5b745d182f6b57745d CRs-Fixed: 2573411 Signed-off-by:
Tingting Lin <tinlin@codeaurora.org>
-
Vijayavardhan Vennapusa authored
Enable UAC1 config for qcs405/403 for audio over USB in device mode. Change-Id: I5a7936d3b0df9920ff76f4478178b8c76c743870 Signed-off-by:
Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
-
Sriharsha Allenki authored
For isochronous endpoints with mult less than 2, the PCM value of the trb->size is set incorrectly. For case of mult = 1, this is set to 0/-1 and for mult = 0, this is set to -2. This is because the initial mult is set to ep->mult - 1. Fix this by setting the value of initial value of mult to 2. Change-Id: Ifa63d8c65564108303ce7c0d6e0cafeccf2ba47d Signed-off-by:
Sriharsha Allenki <sallenki@codeaurora.org> Signed-off-by:
Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
-
Ajay Agarwal authored
Add support for the UAC1 function with the configfs framework along with following other changes: - Add dynamic updation of AudioStreaming interface numbers in the AudioControl interface descriptor. - Add superspeed support. - Stop playback on func disable so that pending request's completion is called before request has been freed in unbind. - Fix minor compilation issue. Change-Id: I5f60680c5795d77cf37f6db37cf5a8c8d3648b4b Signed-off-by:
Ajay Agarwal <ajaya@codeaurora.org> Signed-off-by:
Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
-
Dinesh K Garg authored
There could be a race condition between invoke and accept threads of CB server. If exit for some reason, accept threads would exit and invoke thread may be processing a CB req that lands up on wait Q after accept threads have exited. This could cause invoke thread ot hang on wait Q. Adding a notification mechanism that would set flag if system is either shutting down or going to reboot. This would help invoke thread to avoid wait on Q if system was under shutdown when it was about to land on Q. Change-Id: I8ba942f4ff6284a2ac72e30cec4107ce36e9522f Signed-off-by:
Dinesh K Garg <dineshg@codeaurora.org>
-
- Feb 13, 2020
-
-
qctecmdr authored
-
qctecmdr authored
-
qctecmdr authored
-
Ashish Chavan authored
Do not read the charge pump registers before the driver resume which is invoked during the system resume process. This prevents from flagging unnecessary errors due to power_supply_events during the early resume of the system While at it, reset rc to 0 after reading suspend_props in smb1390 driver. Change-Id: I84d2203f6ec833033386797792c80cd1781dbf58 Signed-off-by:
Ashish Chavan <ashichav@codeaurora.org>
-
- Feb 12, 2020