* refs/heads/tmp-f057ff9
Linux 4.4.148
x86/speculation/l1tf: Unbreak !__HAVE_ARCH_PFN_MODIFY_ALLOWED architectures
x86/init: fix build with CONFIG_SWAP=n
x86/speculation/l1tf: Fix up CPU feature flags
x86/mm/kmmio: Make the tracer robust against L1TF
x86/mm/pat: Make set_memory_np() L1TF safe
x86/speculation/l1tf: Make pmd/pud_mknotpresent() invert
x86/speculation/l1tf: Invert all not present mappings
x86/speculation/l1tf: Fix up pte->pfn conversion for PAE
x86/speculation/l1tf: Protect PAE swap entries against L1TF
x86/cpufeatures: Add detection of L1D cache flush support.
x86/speculation/l1tf: Extend 64bit swap file size limit
x86/bugs: Move the l1tf function and define pr_fmt properly
x86/speculation/l1tf: Limit swap file size to MAX_PA/2
x86/speculation/l1tf: Disallow non privileged high MMIO PROT_NONE mappings
mm: fix cache mode tracking in vm_insert_mixed()
mm: Add vm_insert_pfn_prot()
x86/speculation/l1tf: Add sysfs reporting for l1tf
x86/speculation/l1tf: Make sure the first page is always reserved
x86/speculation/l1tf: Protect PROT_NONE PTEs against speculation
x86/speculation/l1tf: Protect swap entries against L1TF
x86/speculation/l1tf: Change order of offset/type in swap entry
mm: x86: move _PAGE_SWP_SOFT_DIRTY from bit 7 to bit 1
x86/mm: Fix swap entry comment and macro
x86/mm: Move swap offset/type up in PTE to work around erratum
x86/speculation/l1tf: Increase 32bit PAE __PHYSICAL_PAGE_SHIFT
x86/irqflags: Provide a declaration for native_save_fl
kprobes/x86: Fix %p uses in error messages
x86/speculation: Protect against userspace-userspace spectreRSB
x86/paravirt: Fix spectre-v2 mitigations for paravirt guests
ARM: dts: imx6sx: fix irq for pcie bridge
IB/ocrdma: fix out of bounds access to local buffer
IB/mlx4: Mark user MR as writable if actual virtual memory is writable
IB/core: Make testing MR flags for writability a static inline function
fix __legitimize_mnt()/mntput() race
fix mntput/mntput race
root dentries need RCU-delayed freeing
scsi: sr: Avoid that opening a CD-ROM hangs with runtime power management enabled
ACPI / LPSS: Add missing prv_offset setting for byt/cht PWM devices
xen/netfront: don't cache skb_shinfo()
parisc: Define mb() and add memory barriers to assembler unlock sequences
parisc: Enable CONFIG_MLONGCALLS by default
fork: unconditionally clear stack on fork
ipv4+ipv6: Make INET*_ESP select CRYPTO_ECHAINIV
tpm: fix race condition in tpm_common_write()
ext4: fix check to prevent initializing reserved inodes
Linux 4.4.147
jfs: Fix inconsistency between memory allocation and ea_buf->max_size
i2c: imx: Fix reinit_completion() use
ring_buffer: tracing: Inherit the tracing setting to next ring buffer
ACPI / PCI: Bail early in acpi_pci_add_bus() if there is no ACPI handle
ext4: fix false negatives *and* false positives in ext4_check_descriptors()
netlink: Don't shift on 64 for ngroups
netlink: Don't shift with UB on nlk->ngroups
netlink: Do not subscribe to non-existent groups
nohz: Fix local_timer_softirq_pending()
genirq: Make force irq threading setup more robust
scsi: qla2xxx: Return error when TMF returns
scsi: qla2xxx: Fix ISP recovery on unload
Conflicts:
include/linux/swapfile.h
Removed CONFIG_CRYPTO_ECHAINIV from defconfig files since this upmerge is
adding this config to Kconfig file.
Change-Id: Ide96c29f919d76590c2bdccf356d1d464a892fd7
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
Memory cgroups is an unused feature on sdm660. But
enabling it in kernel means that user space can
configure it. Avoid such user configurations until
the feature is decided to be deployed.
Change-Id: Ie77a4de51a59179ff3cb543e3cc955ce48412a59
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
This change enables below list of configs to
address the VTS KernelConfig and KernelProcFileApiTest
test case failures for SDM660.
Enable configs:
CONFIG_QUOTA
CONFIG_QUOTA_NETLINK_INTERFACE
CONFIG_QFMT_V2
CONFIG_SECURITY_PERF_EVENTS_RESTRICT
CONFIG_TASKSTATS
CONFIG_TASK_XACCT
CONFIG_TASK_IO_ACCOUNTING
CONFIG_UID_SYS_STATS
Change-Id: I5aa724988c21fa02cdc88c89d9663d2939198943
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
This feature enables to test Privilege Access Never (PAN) feature from
user space through ACCESS_USERSPACE interface supported by LKDTM.
Enable it only in debug defconfig.
Change-Id: I2723e5d8b27d1c0abcab42e9c907c3cbf6501673
Signed-off-by: Ramakrishna Gottimukkula <rgottimu@codeaurora.org>
Hardened user copy provides an extra layer of security checks when
copy_to_user/copy_from_user APIs are used to ensure data accesses are
valid. When invalid accesses are detected the kernel will forcibly
crash.
Change-Id: Ie13ef8a6ee1a3431d43c57a4b7d6e14985e5c33a
Signed-off-by: Ramakrishna Gottimukkula <rgottimu@codeaurora.org>
CONFIG_TIMER_STATS is no longer needed and the kconfig option
will be removed in subsequent commits.
Change-Id: I380f9f925332c594c9d500312a06713170e48505
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
We recently renamed CONFIG_UID_CPUTIME, but didn't update all the
defconfigs.
Change-Id: Ic52f904d6ada3d0e32a8278ec95f7b34b29f96b9
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Disable default enablement of slub debug on sdm660
debug defconfig to prevent skb allocation failure
due to increase in order of allocation.
Change-Id: If63822a5abf3b297a34b95e5e5f973556631bd68
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
'commit 6a61b529b4 ("ANDROID: uid_sys_stats: rename
uid_cputime.c to uid_sys_stats.c")' renamed CONFIG_UID_CPUTIME
to CONFIG_UID_SYS_STATS and enabled the new config on relevant
defconfigs except sdm660. Enable it and sync the config to
remove the reference to CONFIG_UID_CPUTIME. Task IO accounting
is enabled as CONFIG_UID_SYS_STATS depends on it.
Change-Id: Ib7163cf090c4fe86030469a257c49be1f6558984
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Enable page poisoning by default on MSM8998
and SDM660.
Change-Id: If0b873888f21fd7e7057df43cf223e3c50372bed
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
When CONFIG_USB_F_QCRNDIS is enabled to support RNDIS over BAM2BAM
to IPA, it needs to compile rndis.c driver as well. Otherwise
will see compilation error. Hence compile rndis.c along with f_qc_rndis.c
when CONFIG_USB_F_QCRNDIS is enabled. Disable CONFIG_USB_F_GSI as both
configs can't be enabled at a time as that would cause compilation errors
and warnings seen due to same misc device name registration.
Change-Id: Ie11fba25be53e158811b05c7054bbdf126689c36
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
QPNP_MISC driver provides support to read the registers or
support functions required on certain PMICs. Enable it.
Change-Id: Ib496506e60dc94dec1b2292bf0e6fd01583e2f75
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Enable camera in the kernel by enabling camera
specific CONFIG_* macros in the kernel defconfig.
Change-Id: I875846e948363283fcde2ebeeee913059771325a
Signed-off-by: Manish Poddar <mpoddar@codeaurora.org>
Enable common Cx ipeak driver for various multimedia
clients like GPU, MDP, Venus and Camera modules.
This is needed to handle Cx ipeak limit on SDM660.
Change-Id: I95a46964fdf9df48cc0aeb2891426f88c1ff72f9
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
PBS driver triggers the PBS event specified by the client
driver to execute the PBS RAM configuration. Enable it for
sdm660 targets.
Change-Id: I95c70295805d31506c864546b763bef8a5e7b4bf
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Enable it in the debug defconfig only, to allow REGMAP write
through debugfs.
CRs-Fixed: 2012079
Change-Id: I72e709a6e48698ff339dcf0e53cfac29b6d798ba
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
BALANCE_ANON_FILE_RECLAIM treats anonymous and file backed
pages equally while performing memory reclaim.
It is already enabled for sdm660 arm64 perf defconfig.
Enable it for rest of sdm660 related defconfigs.
Change-Id: I3914bbdbc162cce020d6265f8297ac728621c84d
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Fastmap feature is used in the cases where it required reduced time for
dma_map/unmap().
Change-Id: Ic1c1fd0bbd95d849eaf6ee13569e345117a988b6
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Enable CONFIG_MMC_RING_BUFFER to support ring buffer
logging of legacy and CQ events for sdm660.
Change-Id: I91e7dc68b929c0bf03d76510a084ee89ca4cd030
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Enable CONFIG_FREE_PAGES_RDONLY for 32bit sdm660, that
marks freed kernel pages as read-only.
Change-Id: I532dc10fc6aee5200275550eb1df7d1e6cf195e9
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Align arm32 and arm64 sdm660 defconfig with respect to
iommu configs and remove cma size selection as it is to be
moved to device tree.
Change-Id: I5c5f88c05dce9f58d29d56d9cfea2b0d785d665a
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
CTS malloc tests on Android 'N' expects higher entropy in
mmap returned address. Present value of mmap random bits
is not providing enough variations for 32 bit tasks.
Increase mmap_rnd_bits for 32bit and mmap_rnd_compat_bits
for 64bit targets to value of 16.
Change-Id: I1cb88cb1f1fc2a8dc7e27eb54b8c0b2a3eb37843
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
This config is already enabled in all other variants but missed
in the 32 bit debug defconfig.
Change-Id: I7b1cb538eaf63305eba171c7453c1459c802eb41
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Enable CONFIG_MMC_SDHCI_MSM_ICE flag for encrypting/decrypting
the eMMC data transfers.
Change-Id: Iab391bf51233aff69f5217cf2f1b19cbeed69446
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Enable the android verity device and support for
forward error correction.
Change-Id: I37c74d748f45bd5b5a0ac6b55c6709f662498433
Signed-off-by: Adinarayana Gupta Grandhi <agrandhi@codeaurora.org>