IPCC module is never unloaded on GKI based build, so clearing of the IRQ
mappings are not needed. Remove it's implementation and usage.
This reverts commit 2fd144aa1b.
Change-Id: Iff747c574cced63425da3ab5adefd229d43d3ed6
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Currently, geni driver is depending on header inclusion tree for symbol
and prototypes of irq.h. If the dependent header removes the header, geni
driver is failing to compile. To fix the compilation error, include the
header(irq.h) in geni i2c driver.
Change-Id: Ic0f2d6f541a7816e293e230710ae121712510602
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Disable SDCARD_FS for Android compliance for full switchover
to fusefs.
Change-Id: I54921f9651dec266b1aae51f075c95c71e670f34
Signed-off-by: David Ng <dave@codeaurora.org>
Common change to add required symbols to the whitelist.
Change-Id: I799bb1b8b2e637d6a5570ff82b8040447a9bf0e7
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Enable system_pm_violators debug driver to read and report DRVs that are
preventing system low power modes.
Change-Id: I0e10010b6df3670c05d3d7aa5aed3581f664ec81
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Use lock_device_hotplug() inplace of lock_device_hotplug_sysfs() as the
latter can return immediately if there are any parallel
onlining/offlining of memory blocks.
Change-Id: Ica3cc286b7d4f87310f86e8c9e6db2157e511419
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
fault_around aims to reduce minor faults of file-backed pages via
speculative ahead pte mapping and relying on readahead logic. However,
on non-HW access bit architecture the benefit is highly limited because
they should emulate the young bit with minor faults for reclaim's page
aging algorithm. IOW, we cannot reduce minor faults on those
architectures.
I did quick a test on my ARM machine.
512M file mmap sequential every word read on eSATA drive 4 times.
stddev is stable.
= fault_around 4096 =
elapsed time(usec): 6747645
= fault_around 65536 =
elapsed time(usec): 6709263
0.5% gain.
Even when I tested it with eMMC there is no gain because I guess with
slow storage the major fault is the dominant factor.
Also, fault_around has the side effect of shrinking slab more
aggressively and causes higher vmpressure, so if such speculation fails,
it can evict slab more which can result in page I/O (e.g., inode cache).
In the end, it would make void any benefit of fault_around.
So let's make the default "disabled" on those architectures.
Change-Id: I5e6b74943c95f6779b3a6e463b4d0a8b27eaac01
Link: http://lkml.kernel.org/r/20160518014229.GB21538@bbox
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: d0834a6c2c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
[vinmenon@codeaurora.org: trivial merge conflict fixes]
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Add clock IDs for GCC and APSSCC clients to be able to request
for clocks from these clock controllers.
Change-Id: Ifc6acdbd05398e2f501cdc2cfb8694b16eb9b866
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
DEBUGFS will be disabled on android R perf builds. Since tz logs
are dependent on debugfs, CONFIG_MSM_TZ_LOG needs to be removed
as well.
Change-Id: I88211eb98cfbf64b2fe444c8fc0d4e122bebf7cb
Signed-off-by: Prerna Kalla <prernak@codeaurora.org>
iommu_debugfs_top was introduced in earlier kernel versions when
IOMMU_DEBUGFS was not present. Now that IOMMU_DEBUGFS is present,
and exposes iommu_debugfs_dir, which is logically equivalent to
iommu_debugfs_top, there is no point in keeping it around, so
remove it.
Change-Id: I7032e370ccfd32f9d2b9046fecd98b4c6388450f
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Refactor IOMMU pagetable page accounting code into a config option
so that it only includes additional headers in configurations where
the page accounting feature is needed. Doing so prevents the
definition of certain structures from being expanded, which can
affect the CRC value generated for exported symbols in module.symvers.
Change-Id: Idd6fc0e1cbb46ace211971ac142be491d0a5ab09
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
1. Fix to format context correctly as expected by
hardware for system KDF.
HWKM reverses bytes at a 8-byte boundary while getting
the context from cryptolib. Reformat the context in the
command packet in such a way that HWKM receives it in the
correct order. Also, pad the context to a 8-byte multiple
as the way HW would pad it is not expected.
2. Use context for FBE to match with the one
for VTS test cases.
Change-Id: I3c13c91b0dfc85aef406b05694dbd22afb0b2e0b
Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
Currently when a flash/torch device is disabled, ITARGET of the channel
is programmed to 0 by qti_flash_led_disable() before the channel is
de-strobed. This is causing a ramp down of the flash LED channel during
disable. Fix this by programming target current to 0 only after channel
is de-strobed.
Change-Id: Ie566f4e75b8af8c27b7b9a828823a9bfddc48bb6
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
Disable the flash LED channel when a brightness of 0 is set.
As flash/torch devices can be enabled and disabled using switch as well
as from sysfs, reset the state of flash/torch devices when they are
disabled instead of doing it in switch disable.
Change-Id: If8ffb22d8c72a94325a1e9237778b810a152a293
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>