The format specifier %p can leak kernel addresses. Use "%pK" instead.
The behaviour of "%pK" depends on the 'kptr_restrict sysctl'.
Change-Id: I65882067783100e7b9ecdc1e697b93948945b4ea
CRs-Fixed: 2616581
Signed-off-by: Mahesh Kumar Kalikot Veetil <[email protected]>
Change ADC7 die_temp output unit from C to mC, as thermal
framework expects temperatures to be reported in mC.
Change-Id: Ie14b745f7db625f399ac5f79b3467a1654ea4a21
Signed-off-by: Jishnu Prakash <[email protected]>
Add ARCH_QCOM to genericarmv8-64_defconfig. ARCH_QCOM selects GPIOLIB
and PINCTRL, so those options get removed from defconfig.
Change-Id: I25d7e5e36ecd115679f623ec5cb91a2134da0705
Signed-off-by: Elliot Berman <[email protected]>
Clients may need irq number to handle doorbell, e.g. to use a common irq
handler framework.
Change-Id: Iab64a0ce3330eab2b8fa052e9d8b9b9856510e6a
Signed-off-by: Elliot Berman <[email protected]>
When the buffer pointed to by test_virt_addr is allocated, there
is no synchronization with respect to checking if it is necessary
to allocate the buffer. This can lead to various adversarial
scenarios, where multiple concurrent allocations of the same
buffer can occur, resulting in memory leaks.
To avoid these scenarios, make the check and allocation of the
buffer atomic with respect to other accesses to test_virt_addr.
Change-Id: Ie7e05930042b0bbf4bec0a4f1f5b325970023a5a
Signed-off-by: Isaac J. Manjarres <[email protected]>
Add a new module to track iommu domains, including those which
may not currently be active. Supports multiple types of smmu
drivers.
Change-Id: Iacb98d823db8a87a2cf0868c467914847351950b
Signed-off-by: Patrick Daly <[email protected]>
[[email protected]: resolved trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <[email protected]>
Remove this interface in preparation for a more modern replacement.
Change-Id: I84e6827167be54366bb78c6389131119ca6ccd33
Signed-off-by: Patrick Daly <[email protected]>
[[email protected]: resolved trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <[email protected]>
Disable this Kconfig in preparation for its removal.
Change-Id: Ifff0c6d2f92b56b67b31a9c4caa8dc4d42e1ee5c
Signed-off-by: Isaac J. Manjarres <[email protected]>
This change adds snapshot of the db.txt.
This snapshot is taken as of commit <d8a1c5fd0d2d8>
(net: wireless: update db.txt for 60GHz band).
Change-Id: Ibadad5ccdb006fda79b4d494a1995fb77995b953
Signed-off-by: Dedy Lansky <[email protected]>
Signed-off-by: Alexei Avshalom Lazar <[email protected]>
This reverts commit c8c240e284.
Restore support for internal regulatory database. It is
needed since Android does not have CRDA.
Change-Id: Ie60e0f4dd450c6efbbc8643e01c946bc11b557ee
Signed-off-by: Lior David <[email protected]>
Signed-off-by: Alexei Avshalom Lazar <[email protected]>
Enable QUPv3(Common driver, I2C, SPI, UART, I3C and GSI) drivers
support on Lahaina QGKI defconfig for perf image.
In addition also enable Slimbus satellite driver called NGD.
Change-Id: I0201cc33e98b06f56ce57e2be83a9e3466039c98
Signed-off-by: Mukesh Kumar Savaliya <[email protected]>
Enable CPUFREQ-HW for enabling cpu frequency scaling.
Change-Id: I8fadd29676063361d8d4ea2237e9ec0e94ce8c85
Signed-off-by: Naveen Yadav <[email protected]>
qti_flash_led_prepare() API is used by flash clients (E.g. Camera) to
query maximum current available for flash. Add support for this API
which initially returns maximum current that is supported for flash
LED module (2000 mA). Also, add a sysfs parameter under switch devices
to show max available flash current.
Change-Id: I3aed009a0d7e0f34a6d05a45af34fcd0f37a6fe7
Signed-off-by: Shyam Kumar Thella <[email protected]>
Signed-off-by: Guru Das Srinagesh <[email protected]>
Avoid double invalidate operation by changing flags in cache
maintenance apis. Instead of invalidating whole buffer use
partial cache maintenance apis to invalidate only for length
user passed. Introducing offset based invalidate, when buffers
have partial or full overlap, avoid invalidation for overlap.
Cleaning inv_args_pre as there is no need for handling unaligned
buffers separately.
Change-Id: I7b38c3cfd924ab4f327c6dd664a087a4c9055dbb
Acked-by: Deepika Singh <[email protected]>
Signed-off-by: Merugu Tharun Kumar <[email protected]>
Signed-off-by: Edgar Flores <[email protected]>
This reverts commit fe2731211e.
By default the commit muxes the pin to a GPIO upon a request_irq()
call from the client driver. This is incorrect as the client driver
could have muxed the pin already for a different purpose. Hence,
revert this default behavior to not enforce this on the clients.
Change-Id: Ib2500f57cf7e49a7bffd3309801e42166b748db9
Signed-off-by: Raghavendra Rao Ananta <[email protected]>
Instead of flushing whole buffer use partial cache maintenance apis
to flush only for length user passed. Introducing offset based flush,
when buffers have partial or full overlap, avoiding flush for overlap.
Change-Id: Ifcdcaab112522ee3abf842e9e305665f9a7ddd7e
Acked-by: Deepika Singh <[email protected]>
Signed-off-by: Merugu Tharun Kumar <[email protected]>
Signed-off-by: Mohammed Nayeem Ur Rahman <[email protected]>
Signed-off-by: Edgar Flores <[email protected]>
Enable the mem-buf driver on Lahaina for QGKI configurations.
Change-Id: I97fd90588130d0b18efba946ece5e72926904e20
Signed-off-by: Isaac J. Manjarres <[email protected]>
Add the initial support required to share memory buffers
between VMs. This driver exposes an interface to userspace
clients to request memory to be allocated from another VM,
and added to the current VM. The VMs communicate with each
other via the use of the hypervisor message queues, as well
as utilize various facilities offered by the Haven resource
manager to manage memory that is transferred from one VM
to another.
Change-Id: I3181a1b14e61db30ed6b86752750722e24fd62e0
Signed-off-by: Isaac J. Manjarres <[email protected]>
Add a check to mark only cached buffers as iocoherent.
We can't enable io-coherency for uncached buffers because
of situations where hardware might snoop the cpu caches
which can have stale data.This happens primarily due to the
limitations of dma caching APIs available on arm64.
Change-Id: Iafad086d38559139cb45f6a290071ec6d58ad3a3
Signed-off-by: Urvashi Agrawal <[email protected]>
Enable the flag so that kernel panics on oops.
Change-Id: I92378f74edcfa6e6ddd1c72b387c7cf059141e13
Signed-off-by: Prakruthi Deepak Heragu <[email protected]>
Add the LOCALVERSION strings for qgki, and qgki-debug
variants of Lahaina platform.
Change-Id: I95af815e9de3b906f6740b10ce4bd41de015b80d
Signed-off-by: Raghavendra Rao Ananta <[email protected]>
When set_rate is called on unprepared clocks new vdd_level
requirement is not cached, which leads to incorrect votes
when later clk_prepare is called. Clocks may not be prepared
when clk pre change rate is called for set_rate change request,
thus cache vdd level and only apply vote during clk prepare.
Change-Id: I54d9a3c75034cd9e67e683c3f71088f2c7cd3db1
Signed-off-by: Vivek Aknurwar <[email protected]>