-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oneplus/qc8996 o 8.0.0 beta #38
Open
darkdawn29
wants to merge
10,000
commits into
oneplus3/6.0.1
Choose a base branch
from
oneplus/QC8996_O_8.0.0_Beta
base: oneplus3/6.0.1
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Based on dmic characteristics the initial pop time that is observed in TX path is varying. Configure PGA unmute delay based on DT value. CRs-Fixed: 2085659 Change-Id: I80eae5c2cf384e39c2da0e6555e549a34f593448 Signed-off-by: Surendar karka <sukark@codeaurora.org>
Update VADC_HC_BTM peripheral support. This snapshot is taken as of msm-4.4 commit 9b3e8a8 ("Merge "qcom: smb2: ensure QC adapter is at 5V at shutdown"") Change-Id: Ide9f9d98a85b0d084a7a8722219912dfbff79d38 Signed-off-by: Lakshmi Sunkara <lakshmis@codeaurora.org>
During handoff from bootloader to kernel, ensure the pmic gpio is not turned off to keep the bob regulator ON. Change-Id: I751fa7c249de95dc16ce299b31a4280db7002643 Signed-off-by: Ashish Garg <ashigarg@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: I5686c2ecbc805a442e9ea67444c0a4b692e66c32 Signed-off-by: Ramakrishna Gottimukkula <rgottimu@codeaurora.org>
ADC_TM provides support for clients to set thresholds and receive notifications when thresholds are crossed. Add ADC_TM channel nodes for PM660. Change-Id: I751bff6beff9d2b018c6a644b77120d07e11ccf0 Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
Add new PHY address item to Neutrino for mdio operations. Change-Id: If978d269de804b486a85678342f54d6d11dc5f0a CRs-fixed: 2087482 Signed-off-by: Sachin Prakash Gejji <sgejji@codeaurora.org>
Enable GPIO LEDs to allow controlling LEDs via GPIO pins on mdm9650. Change-Id: I6b7f43e415cc14d54db97778ea0510b1ba95ac14 Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
Add support for the mdm9650 CV2X board that functions as a PCIe endpoint paired with an MSM8996 for CV2X applications. Change-Id: I5166118d79d32184e104e209840d699e65daee7a Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
Change-Id: I723d194307e585aa12ffbefaa072e933eff51360 Signed-off-by: Stoica Cosmin-Stefan <cosmin.stoica@nxp.com> Git-commit: b7dc5dda99f8e3412ee2eb8546f924c2e032cdba Git-repo: git://git.freescale.com/auto/linux.git [gustavos@codeaurora.org: ommitting defconfig change] Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
Enable Micrel and TJA110X PHY drivers for auto-detection of the PHY in MDM platforms. Change-Id: Ifce43dc6790971d01123131aa6a468bf5c871aee Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
Driver should directly call PCI ioremap API, and not customize it with wrapper function which is only a WAR for QCA6290 chipset emulation. Change-Id: Icba3ce0ebbcef94d75a1713f4776524b909e5552 CRs-fixed: 2059087 Signed-off-by: Yue Ma <yuem@codeaurora.org>
After finishing initialization during PCIe probe, there is no need to keep PCIe link up. Hence suspend PCIe link and power off device after PCIe probe for QCA6290 chipset. Change-Id: I1b07d7c9ef4c3a15ba1eb409a4c64f905e83dae4 Signed-off-by: Yue Ma <yuem@codeaurora.org>
Increase the Tx Power for ETSI1 regulatory domain countries by 3dB; Change upper bound for 5GHz channels of country MY from 5835 to 5815; Change Tx Power for 2.4GHz channels of country VE from 30dBm to 20dBm; Change max BW for 5GHz channels of country EG from 20MHz to 40MHz; Change max BW for 5GHz channels of country KR from 80MHz to 160MHz; Remove U.S. Embargoed Countries KP/SY/IR. Change-Id: I270343972043a27f5ba1847458718a3c7f8e9fad CRs-Fixed: 2088985 Signed-off-by: Will Huang <wilhuang@codeaurora.org>
Some of the device configurations support multiple external SOCs. To differentiate physical links, add support for additonal info about the physical link. CRs-Fixed: 2024578 Change-Id: If71bf23d798f8bf0b6594a686415fe9b806e4226 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Update phy address in neutrino device to perform mdio operations. Change-Id: Icb36a8e61bab2266d7b032e9db76edbf8574ed4b CRs-fixed: 2087482 Signed-off-by: Sachin Prakash Gejji <sgejji@codeaurora.org>
The WLAN host driver use device serial number to generate MAC address. The wcnss platform driver export symbol for WLAN host driver to read the device serial number to generate the MAC address. Add updated SOC API to get the device serial number in the wcnss platform driver. CRs-Fixed: 2089225 Change-Id: Ic540f2e6e705131f18b59e8f139087d5d99024f6 Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- Ica20fdc1d2f2303168e61feaba45b9d260ae698b BACKPORT: UPSTREAM: sysctl: Drop reference added by grab ipv6: sctp: fix lockdep splat in sctp_v6_get_dst() Ia40312601bc15570de3dd84bd72dc9c6000ee19c DEBUG: sched: add tracepoint for task load/util signals mtd: bcm47xxpart: fix parsing first block after aligned netem: fix skb_orphan_partial() I4a686d64b6de37decf60019be1718e1d820193e6 vfs: change d_canonical_path to take two paths f2fs: fix wrong error number of fill_super I21e88a339dca8cada2c0b5f71ab0e52141b1ce39 UPSTREAM: arm64: add Cortex-A57 erratum 832075 workaroun I431434e48f96728efa64f324974825848f34718a ext4 crypto: Do not select from EXT4_FS_ENCRYPTION f2fs: don't need to check encrypted inode for partial tr Ic38b8e3ef0a21de4e38e58b4bb942535fe671ae5 UPSTREAM staging: ion: Fix error handling in ion_buffer_ I84f43c599209d23737c7e28b499dd121cb43636d ANDROID: sdcardfs: fix sdcardfs_destroy_inode for the in I7c222d4b7ba8be500f228d24598ec4f402baffd3 ext4 crypto: insert encrypted filenames into a leaf dire vfio: Fix group release deadlock Input: gscps2 - fix MODULE_DEVICE_TABLE invocation xfs: fix up quotacheck buffer list error handling af_key: Fix sadb_x_ipsecrequest parsing I100bf7a09c5ace12a161c11883b554c87bb7d9d7 UPSTREAM: arm64: cpufeature: Track unsigned fields Revert "mmc: core: Hold a wake lock accross delayed work I2477b6a2cfdded5c0ebf6ffbb6150b0e5fe2ba12 ANDROID: base-cfg: enable SECCOMP config 2087649 I03e5b8de30c77da140e9575c2315b0878cf5363c msm: ipa3: Fix to avoid accessing of uninitialized struc I78b842ee68162df542ad43b8fd5ab21856ddd248 net: inet: diag: expose the socket mark to privileged pr rtc: s35390a: improve irq handling pvrusb2: reduce stack usage pvr2_eeprom_analyze() 2081806 I8a918dc306e639d50a896c8d77f8eb7a72fcb195 msm: sensor: Add mutex lock during ois power down operat Ia3a6e56c24c6e19b3b01c1827e46403bb71c2f4c sdcardfs: override umask on mkdir and create Ib80b1eb1bf18b26df238808c4e495d53600348a8 BACKPORT [UPSTREAM] net: add real socket cookies 2092439 I327516ff68b3ff2542f6998886c572a6b908faa6 ARM: dts: msm: reset row and column start address for AU Idd0bbe6960aad2c557376e4a24827d7e1df8e023 CHROMIUM: usb: gadget: f_accessory: add .raw_request cal usercopy: Adjust tests to deal with SMAP/PAN clk: at91: usb: fix determine_rate prototype again powerpc/slb: Force a full SLB flush when we insert for a Ib46ba66f5e4a5a7c81bfccd7b0aa83c3d9e1b3bb BACKPORT: tcp: make challenge acks less predictable I0d0d8d5c107a2e0bd219819e036091106bb40e11 FIXUP: sched/fair: Fix hang during suspend in sched_grou I7e99644a0960ac8279f02c0158ed20999510ea97 ANDROID: dm: Add android verity target I25e65769ac98e5c0aa0d1a8b9ad765fcd300e8eb ext4 crypto: enable filename encryption Ib43ec5edb156985a9db941785a313f6801df092a UPSTREAM: USB: usb_driver_claim_interface: add sanity ch I4621243c8a21a25450ee06b7e64304e9cbdfae7d UPSTREAM: fscrypto: add authorization check for setting xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_ I85a49f70e13b153b9903851edf56f6531c14e6de BACKPORT: arm64: Disable TTBR0_EL1 during normal kernel KVM: PPC: Book3S HV: Context-switch EBB registers proper MIPS: UAPI: Ignore __arch_swab{16,32,64} when using MIPS sched/fair: Remove task and group entity load when they I6371df72d79c7ad0f0c08e6ebf7e16f1b0970761 ANDROID: Skip building uid_sys_stats and keyreset driver parisc/mm: Ensure IRQs are off in switch_mm() usb: dwc3: gadget: make Set Endpoint Configuration macro sched/fair: Avoid redundant idle_cpu() call in update_sg 2087017 I021dff8979c0ba43a249099447958533934c88b1 defconfig: msm: Enable PAN emulation arm/arm64: KVM: Take mmap_sem in kvm_arch_prepare_memory igmp: acquire pmc lock for ip_mc_clear_src() ACPI / power: Avoid maybe-uninitialized warning net: phy: fix marvell phy status reading I7ce9f38d8c7a62361392c5a8ccebb288f8a3a2ea ANDROID: dm: allow adb disable-verity only in userdebug PCI: xilinx: Fix harmless format string warning I51816fe08dd19bf9a5d5fc106843c85d514501e6 BACKPORT: Input: xpad - validate USB endpoint count duri I32fdc4fd0cd3b7b735dcfd82f60a2516fd8272a5 ANDROID: sdcardfs: Switch strcasecmp for internal call 2095905 Ifd641099dd55e57fc2bed0fd46c1012fc1894636 msm: ipa: API changes Don't show empty tag stats for unprivileged uids net: neigh: guard against NULL solicit() method Id477ec311275434f46ed8930f19502b04ef4d04d UPSTREAM: debugfs_{mkdir,create,link}(): get rid of redu staging: vt6656: use off stack for in buffer USB transfe I0395c86e01cd49c348fda8f93087d26f88557c91 cpu: send KOBJ_ONLINE event when enabling cpus cdc_ncm: do not call usbnet_link_change from cdc_ncm_bin I51033a2649eb39451862b35b6358fe5cfe25c5f5 ANDROID: sdcardfs: fix itnull.cocci warnings I7431967982d93a6718497892720290e71998a542 UPSTREAM: fscrypto: require write access to mount to set 2072233 Iae2c2d650efc638c0c3ff39a6576f75ba1e2615e defconfig: enable task io stats Revert "stackprotector: Increase the per-task stack cana I9b4109997b2d53ba661867b14d7336cd076be06d FROMLIST: binder: refactor queue management in binder_th uwb: i1480-dfu: fix NULL-deref at probe I64444bd26a8d603a9e2b06c994aff94b27061139 BACKPORT: arm64: kernel: Adopt new alternative assembler USB: gadget: dummy_hcd: fix hub-descriptor removable fie I73c9b0ae5ca7eb27f4ebef3e6807f088b512d539 ANDROID: sdcardfs: Refactor configfs interface MIPS: jz4740: fix build error in irq.h I9d1158536783763e0fa93b18e19fba2c488d8cfc FROMLIST: binder: add protection for non-perf cases Ibbaec51819ddad8d38a169237390077b4307022d power: Refactors the code which prints suspend time. mfd: omap-usb-tll: Fix inverted bit use for USB TLL mode usb: gadget: f_fs: avoid out of bounds access on comp_de Ia215ae7812afde2f05c6f072476f906f82f4f84f sched: Highest energy aware balancing sched_domain level ftrace/x86: Fix triple fault with graph tracing and susp iio: proximity: as3935: recalibrate RCO after resume f2fs: fix to show injection rate in ->show_options f2fs: relax migratepage for atomic written page Ibfb06a96d5e62ed6f7f8a5bd7c717e0e7d720f8b UPSTREAM: ARM: domains: switch to keeping domain value i ARM: 8685/1: ensure memblock-limit is pmd-aligned f2fs: skip ->writepages for {mete,node}_inode during rec Ibb5b57f98d6d6111cbc96bd7fe72caac629290b1 BACKPORT: arm64: lse: use generic cpufeature detection f usb: gadget: function: f_fs: pass companion descriptor a ARM: 8452/3: PJ4: make coprocessor access sequences buil I3ea677be301244638e3843834c46988ad999ed88 misc: uidstat: change release handler for stat read oper FIXUP: sched: fix build for non-SMP target osf_wait4(): fix infoleak MIPS: ralink: Cosmetic change to prom_init(). I939d1c4192fafc1e21678aeab43fe3d588b8e2f4 ANDROID: sdcardfs: Call lower fs's revalidate mtd: bcm47xxpart: limit scanned flash area on BCM47XX (M ALSA: ppc/awacs: shut up maybe-uninitialized warning I57ea54cac8b50b45fd562beb1e4b6cdc4201435b UPSTREAM: arm64: kernel: Add optional CONFIG_ parameter If62df53e2652e1ec3273c3bc2dbf03b448f92f61 UPSTREAM: l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ MIPS: Send SIGILL for BPOSGE32 in `__compute_return_epc_ I6b326fb2432bba5f658f522f2c555ad5d2bb65b8 UPSTREAM: dm crypt: avoid deadlock in mempools I333d2e3989411cb47e7b1e10250f00e973c08c6c ext4 crypto: don't allocate a page when encrypting/decry I0ac7ae3ab5d8f2f5a5838c29bb6da2c3e8ef44e8 sched: use util instead of capacity to select busy cpu perf: Tighten (and fix) the grouping condition 2045491 Ib364a82e883de7ea642bdd1d85c44eef1f54a086 net: Kernel changes for Generic Software Bridge(GSB) kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd I81c503219e93dcfe83f4ce7d56b00b78150dfeb4 UPSTREAM: arm64: kernel: Move config_sctlr_el1 iommu/vt-d: Remove unused variable ARM: dts: at91: sama5d3_xplained: not all ADC channels a cfg80211: Check if PMKID attribute is of expected size USB: ene_usb6250: fix DMA to the stack Ia0bc7fcd00f4116b8d5b003d4271c2a0e6a9a134 BACKPORT: FROMLIST: mm: ASLR: use get_random_long() I6d9458e64ae2b8d16793d979baf1ac71f5d7a520 UPSTREAM: arm64: alternatives: add enable parameter to c Ica137043879b4305b70401cf7e8efda24405e3ff net: tcp: fix rtable leak in tcp_is_local[6] I28d8aae073e113048577c41cfe27c91215fb4cf3 UPSTREAM: arm64: alternative: add auto-nop infrastructur usb: r8a66597-hcd: decrease timeout USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee st I18ccb9c55d2397a36c8eaa0d2621f784335a3df2 UPSTREAM: tracefs: Add directory /sys/kernel/tracing I6e07a43188f1e9666479cdc73f97755fdeb2e7a2 UPSTREAM: sched: Export sched_setscheduler_nocheck Call echo service immediately after socket reconnect I0ccb4d35c790d8ac357c82a98a2ea78a40c0fbf5 BACKPORT: arm64: mm: rewrite ASID allocator and MM conte dccp: fix memory leak during tear-down of unsuccessful c crypto: algif_hash - avoid zero-sized array staging: rtl8188eu: add TL-WN722N v2 support ASoC: cs4270: fix DAPM stream name mismatch I9a5f7f3c704b65e866335054f470451fcfae9d1c UPSTREAM: USB: cdc-acm: more sanity checking sched/deadline: Fix migration of SCHED_DEADLINE tasks Ife0f1635cea5afb006dc57e99e6dd616b6ae8c34 UPSTREAM: x86/uaccess: fix sparse errors FIXUP: sched/tune: fix accounting for runnable tasks I5a17eb68812702f803d4e2806e7887de0b3af18e FROMLIST: binder: use inner lock to protect thread accou Ie769d7b3bb2f5972afe05c1bf16cf88c91647ab2 mnt: Add filesystem private data to mount points If754fc6e3ae821cf21d0cc79fb3932cf36635d67 UPSTREAM: arm64: kernel: Add cpuid_feature_extract_field f2fs: use spin_{,un}lock_irq{save,restore} ANDROID: Refactor fs readpage/write tracepoints. Ib34d25c0854202f3e70df0a6d0ef1d96f0250c8e ANDROID: dm: android-verity: Verify header before fetchi ring-buffer: Have ring_buffer_iter_empty() return true w USB: serial: digi_acceleport: fix OOB-event processing I8ecb2f63f81fd798916074848d36c1a3d70cc5c1 Squashfs: optimize reading uncompressed data I2696517eb69397b3d9f979e38d4307a96342a3d6 ANDROID: android-base.cfg: remove NETFILTER_XT_MATCH_QUO usb: hub: Wait for connection to be reestablished after kernel: kcov: include missing header for ‘struct task_st I9cf0bbe4b8ffc5add77f2160dfa446c53877cfa8 UPSTREAM: arm64: Clean up __flush_tlb(_kernel)_range fun I13e73cfb2ad761c94762d0c8196df7725abdf5c5 BACKPORT: perf tools: Document the perf sysctls Id87d6e8b1874f7976e0e48e4b8bb0e65856b4382 BACKPORT: ARM: 8235/1: Support for the PXN CPU feature o Drivers: hv: balloon: don't crash when memory is added i sched/fair: Fix the dealing with decay_count in __synchr I4db9fa1abf8fbec369124d54c7aae4ee823c70b9 UPSTREAM: arm64: Invalidate the TLB corresponding to int I556eab62bc545f4382f93d0c721df342bbe76787 UPSTREAM: net: validate the range we feed to iov_iter_in config/android: Remove CONFIG_IPV6_PRIVACY Ib806649e5c166f6919ea52accd93fb0271356de5 ext4 crypto: allocate the right amount of memory for the Iedd358ff4f5d5723c70ff480ca5d320748f6a05d sched: Relocated cpu_util() and change return type I2a2d45d52f891332174c3000e8681c5167c1564f sdcardfs: remove unneeded __init and __exit mmc: sdhci: Do not disable interrupts while waiting for I5962ff5fabce21406bad76e7be92287e66df6ebe UPSTREAM: fscrypt: avoid collisions when presenting long metag/ptrace: Preserve previous registers for short regs Id4838948c19f031a66af1654a4c47668288a0037 UPSTREAM: ARM: 8476/1: VDSO: use PTR_ERR_OR_ZERO for vma sparc64: kern_addr_valid regression iommu/vt-d: Don't over-free page table directories Bluetooth: Fix user channel for 32bit userspace on 64bit USB: hub: fix non-SS hub-descriptor handling f2fs: move sysfs code from super.c to fs/f2fs/sysfs.c crypto: ahash - Fix EINPROGRESS notification callback alarmtimer: don't rate limit one-shot timers Id8d91d9229911d8df9febe86255a5442ad6ce7a8 UPSTREAM: tracing: Make tracing_init_dentry_tr() static Ib3a73ed49a983e7de2a149adf4a971234e6161ef ANDROID: fs: FS tracepoints to track IO. net: use a work queue to defer net_disable_timestamp() w Ia820c8daae53fefd185d5f0d757d4279c78676d8 ext4 crypto: use slab caches ftrace: Fix removing of second function probe ipv4: mask tos for input route I9f76da5e5bad337794ee8b84ccaa283904a12233 UPSTREAM: sched: Add SD_PREFER_SIBLING for SMT level I2132441b1865880c3c0177db12eb3817e7e365d8 UPSTREAM: arm64: Store struct thread_info in sp_el0 fs/block_dev: always invalidate cleancache in invalidate infiniband: mlx5: avoid a compile-time warning crypto: talitos - Extend max key length for SHA384/512-H sched/fair: Have task_move_group_fair() also detach enti brcmfmac: fix possible buffer overflow in brcmf_cfg80211 I3f4886a2133c7be1d67e85bac5f5b44281ffd015 UPSTREAM: arm64: efi: don't restore TTBR0 if active_mm p scsi: sd: Fix capacity calculation with 32-bit sector_t 2097296 Ib4fe41ff87ecb9746617b1ed3e32cae740de0c7e msm: ipa3: Vote to IPA clocks when destroying MHI channe arm: vdso: Rename timekeeper::tkr to timekeeper::tkr_mon MIPS: ip27: Disable qlge driver in defconfig I8f5c2289b842b820ca04f5773525e5449bb3f355 ANDROID: dm: mount as linear target if eng build Ib294e81724c73fb5e5a6e704137749437fb6c22a ext4 crypto: allocate bounce pages using GFP_NOWAIT ANDROID: f2fs: fix location fo android tracepoint UPSTREAM: procfs: fixes pthread cross-thread naming if ! Ibff61b0c34b725b024a050169047a415bc90f0d8 ANDROID: sdcardfs: Use d_invalidate instead of drop_recu I440bdcce4dd4266ecbc8b7b400fa589b27b0db77 UPSTREAM: arm64: sanity checks: add ID_AA64DFR{0,1}_EL1 ext4: fix potential use after free in __ext4_journal_sto swap: cond_resched in swap_cgroup_prepare() I1951c737742420b10c80eb616abb92af467d80d9 ext4 crypto: fix memory leak in ext4_bio_write_page() If5e9e0ba8ff5a5d3236b373dbce8c72ea71b5e18 arm: Enable max freq invariant scheduler load-tracking a rtc: s35390a: implement reset routine as suggested by th f2fs: wake up all waiters in f2fs_submit_discard_endio sched/topology: Optimize build_group_mask() Ia78da401e6fd1bfd569653bd2cd0ebd3f9c737a0 UPSTREAM: FROMLIST: 9p: fix a potential acl leak cifs: Do not send echoes before Negotiate is complete Id2710a5fa2694da66d3f34cbcc0c2a58a006cec5 ANDROID: android-recommended.cfg: CONFIG_CPU_SW_DOMAIN_P f2fs: make sure f2fs_gc returns consistent errno ... Change-Id: Id4c6fc4df71ab1044da7ee4686ae81a553169d5c CRs-Fixed: 2087017, 2072233, 2092439, 2094357, 2082547, 2067220, 2099888, 2074415, 2090289, 2085767, 2060284, 2095905, 2053545, 2099823, 2044341, 2045491, 2063888, 2090032, 2084911, 2089152, 2081421, 2024578, 2087893, 2044242, 2098447, 2091948, 2090797, 2085451, 2101278, 2095549, 2096893, 2081806, 2068899, 2088612, 2089045, 2102455, 2087649, 2100638, 2097296, 2031705, 2085659, 2095178, 2064678, 2100792, 2089161, 2054610, 2093060, 2078155, 2090459, 2079508, 2071877, 2096740, 2012063, 2090525, 2080421, 2098533, 2090483, 2067859, 2030960, 2095022, 2092042, 2056955, 2091953
Change-Id: Id4737700ba2941acfec946f6ee0a780ed3a7db9c
Secure decode doesn't need userptr and uses ion fd instead. We were conducting userptr validation regardless of the decode mode (secure/ unsecure). This forced user to populate userptr with a dummy value during QBUF in secure mode decode on both output and capture ports to avoid a userptr validation fail. CRs-Fixed: 2049213 Change-Id: I0060efb52792201a2634072f648a537ebb02d17c Signed-off-by: Prabhakar Reddy Krishnappa <prkrishn@codeaurora.org> Signed-off-by: Vasantha Balla <vballa@codeaurora.org>
Android SELinux policies block SysV IPC. New kernels should not be built with it. Change-Id: I64296bd66b4297d550071fb8292726ca57a2ae15 Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
Disable CONFIG_DEVPORT config for msm8937 and msm8996. As selinux policy requires this node to be not accessible to userspace. CRs-Fixed: 2077590 Change-Id: I302d71a56764504ec246ddb6a98d8c07094846e4 Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org> Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
The recent Android upgrade mandates disk quota feature to be enabled by default on /data. Hence, enable the required kernel config options to support the same. Change-Id: I5d50c71a1758f43ec4312081f5944cb758b927b5 Signed-off-by: Ankit Jain <jankit@codeaurora.org>
Expose CURRENT_MAX property as it is a required battery power supply property. CRs-Fixed: 2068899 Change-Id: Ib46c0c73e0e298d35b7d671f87c8cd67e328e017 Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Add NULL pointer check for vfe_base of VFE0. CRs-Fixed: 1032715 Change-Id: I540d9ff831fc9447ecf145f75ea84da3668c4f6f Signed-off-by: Haibin Liu <haibinl@codeaurora.org> Signed-off-by: VijayaKumar T M <vtmuni@codeaurora.org>
…into kernel.lnx.3.18.r22-rel
…l.lnx.3.18.r22-rel
kernel device tree source code for 8996 O 8.0.0 Change-Id: I9e03b6d5c4f478434509deb2bd51b60fb0c245a0
The changes list: 1.General bug fixed 2.Improved the performance of NFC 3.Improved fingerprint unlock speed 4.Improved the stability of device Change-Id: Ie5e98f6a934080178d4da1f9c08f5c9f636ae0df
The changes list: 1. New UI for Do Not Disturb 2. Optimized standby battery usage 3. Smart Text Selection improvements 4. General performance improvements 5. Updated OnePlus and GMS applications 6. Updated Google security patch (October 2017) 7. Other bug fixes and optimizations Change-Id: I0e0565ed5dcc511a59196f411bc786de5ee40ba0
The changes list: Launcher 1. Optimizations for app shortcuts 2. Optimizations for Shelf Gallery 1. Added “Places” tab for viewing photos on a map 2. New bottom navigation design 3. Other general optimizations System 1. Added shortcut for audio recording 2. Optimizations for Wi-Fi 3. Fixed UI issues of Quick Settings 4. Updated Android security patch to November 5. General optimizations and bug fixes Change-Id: I8fe7d535c4d25e034568a1b667e517758225eb45
The changes list: System - No need to confirm after using PIN to unlock - Added OTG toggle in Quick Settings - Added notification when 3rd party apps delete contacts - Updated Android security patch to December - General bug fixes and improvement Change-Id: I54428f08039d80d9eae01498e7996658caf282f0
The changes list: 1. Added face unlock function 2. Added OnePlus Switch application for backup & restore 3. Upgraded OnePlus Launcher to V2.3 - New application drawer design - Auto-naming folder - Dynamic icon function for desktop clock icon 4.Supported Airtel VoLTE in India 5. General bug fixes and stability improvements Change-Id: I2f2a577eadf4335809bb262455a0d258616bc5a3
The changes list: 1.Phone - Added pick-up gesture switcher - Added SMS categorized function in India - Removed phone recognized function in India 2. System - General bug fixes and improvements Change-Id: Ie7c6d2f4f9cccb70c527709ee1ff3f9bceff547f
kernel device tree source code for OnePlus 3 & 3T O device tree Change-Id: Id891f2a5bf6298be6805bc5821e85cf61b2f2a47
ppajda
pushed a commit
to ppajda/android_kernel_oneplus_msm8996
that referenced
this pull request
Sep 25, 2018
Configure io_bits with 2 and enable LFS mode, generic/013 reports below dmesg: BUG: unable to handle kernel NULL pointer dereference at 00000104 *pdpt = 0000000029b7b001 *pde = 0000000000000000 Oops: 0002 [OnePlusOSS#1] PREEMPT SMP Modules linked in: crc32_generic zram f2fs(O) rfcomm bnep bluetooth ecdh_generic snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq pcbc joydev snd_seq_device aesni_intel snd_timer aes_i586 snd crypto_simd cryptd soundcore i2c_piix4 serio_raw mac_hid video parport_pc ppdev lp parport hid_generic psmouse usbhid hid e1000 CPU: 0 PID: 11161 Comm: fsstress Tainted: G O 4.17.0-rc2 OnePlusOSS#38 Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006 EIP: f2fs_submit_page_write+0x28d/0x550 [f2fs] EFLAGS: 00010206 CPU: 0 EAX: e863dcd8 EBX: 00000000 ECX: 00000100 EDX: 00000200 ESI: e863dcf4 EDI: f6f82768 EBP: e863dbb0 ESP: e863db74 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 CR0: 80050033 CR2: 00000104 CR3: 29a62020 CR4: 000406f0 Call Trace: do_write_page+0x6f/0xc0 [f2fs] write_data_page+0x4a/0xd0 [f2fs] do_write_data_page+0x327/0x630 [f2fs] __write_data_page+0x34b/0x820 [f2fs] __f2fs_write_data_pages+0x42d/0x8c0 [f2fs] f2fs_write_data_pages+0x27/0x30 [f2fs] do_writepages+0x1a/0x70 __filemap_fdatawrite_range+0x94/0xd0 filemap_write_and_wait_range+0x3d/0xa0 __generic_file_write_iter+0x11a/0x1f0 f2fs_file_write_iter+0xdd/0x3b0 [f2fs] __vfs_write+0xd2/0x150 vfs_write+0x9b/0x190 ksys_write+0x45/0x90 sys_write+0x16/0x20 do_fast_syscall_32+0xaa/0x22c entry_SYSENTER_32+0x4c/0x7b EIP: 0xb7fc8c51 EFLAGS: 00000246 CPU: 0 EAX: ffffffda EBX: 00000003 ECX: 09cde000 EDX: 00001000 ESI: 00000003 EDI: 00001000 EBP: 00000000 ESP: bfbded38 DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b Code: e8 f9 77 34 c9 8b 45 e0 8b 80 b8 00 00 00 39 45 d8 0f 84 bb 02 00 00 8b 45 e0 8b 80 b8 00 00 00 8d 50 d8 8b 08 89 55 f0 8b 50 04 <89> 51 04 89 0a c7 00 00 01 00 00 c7 40 04 00 02 00 00 8b 45 dc EIP: f2fs_submit_page_write+0x28d/0x550 [f2fs] SS:ESP: 0068:e863db74 CR2: 0000000000000104 ---[ end trace 4cac79c0d1305ee6 ]--- allocate_data_block will submit all sequential pending IOs sorted by a FIFO list, If we failed to submit other user's IO due to unaligned write, we will retry to allocate new block address for current IO, then it will initialize fio.list again, if fio was in the list before, it can break FIFO list, result in above panic. Thread A Thread B - do_write_page - allocate_data_block - list_add_tail : fioA cached in FIFO list. - do_write_page - allocate_data_block - list_add_tail : fioB cached in FIFO list. - f2fs_submit_page_write : fail to submit IO - allocate_data_block - INIT_LIST_HEAD - f2fs_submit_page_write - list_del <-- NULL pointer dereference This patch adds fio.retry parameter to indicate failure status for each IO, and avoid bailing out if there is still pending IO in FIFO list for fixing. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
ppajda
pushed a commit
to ppajda/android_kernel_oneplus_msm8996
that referenced
this pull request
Sep 25, 2018
Configure io_bits with 2 and enable LFS mode, generic/017 reports below dmesg: BUG: unable to handle kernel NULL pointer dereference at 00000039 *pdpt = 000000002fcb2001 *pde = 0000000000000000 Oops: 0000 [OnePlusOSS#1] PREEMPT SMP Modules linked in: crc32_generic zram f2fs(O) bnep rfcomm bluetooth ecdh_generic snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi pcbc snd_seq joydev aesni_intel aes_i586 snd_seq_device snd_timer crypto_simd cryptd snd soundcore i2c_piix4 serio_raw mac_hid video parport_pc ppdev lp parport hid_generic usbhid psmouse hid e1000 CPU: 2 PID: 20779 Comm: xfs_io Tainted: G O 4.17.0-rc2 OnePlusOSS#38 Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006 EIP: is_checkpointed_data+0x84/0xd0 [f2fs] EFLAGS: 00010207 CPU: 2 EAX: 00000000 EBX: f5cd7000 ECX: fffffe32 EDX: 00000039 ESI: 000001cd EDI: ec95fb6c EBP: e264bd80 ESP: e264bd6c DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 CR0: 80050033 CR2: 00000039 CR3: 2fe55660 CR4: 000406f0 Call Trace: __exchange_data_block+0xb3f/0x1000 [f2fs] f2fs_fallocate+0xab9/0x16b0 [f2fs] vfs_fallocate+0x17c/0x2d0 ksys_fallocate+0x42/0x70 sys_fallocate+0x31/0x40 do_fast_syscall_32+0xaa/0x22c entry_SYSENTER_32+0x4c/0x7b EIP: 0xb7f98c51 EFLAGS: 00000293 CPU: 2 EAX: ffffffda EBX: 00000003 ECX: 00000008 EDX: 01001000 ESI: 00000000 EDI: 00001000 EBP: 00000000 ESP: bfc0357c DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b Code: 00 00 d3 e8 8b 4d ec 2b 02 8b 55 f0 6b c0 1c 03 41 70 29 d6 8b 93 d0 06 00 00 8b 40 0c 83 ea 01 21 d6 89 f2 89 f1 c1 ea 03 f7 d1 <0f> be 14 10 83 e1 07 b8 01 00 00 00 d3 e0 85 c2 89 f8 0f 95 c3 EIP: is_checkpointed_data+0x84/0xd0 [f2fs] SS:ESP: 0068:e264bd6c CR2: 0000000000000039 ---[ end trace 9a4d4087cce6080a ]--- This is because in recovery flow of __exchange_data_block, we didn't pass olen to __roll_back_blkaddrs, instead we passed len, which indicates wrong array size, result in copying random block address into dnode page. Later, once that random block address was accessed by is_checkpointed_data, it can cause NULL pointer dereference. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
ppajda
pushed a commit
to ppajda/android_kernel_oneplus_msm8996
that referenced
this pull request
Sep 30, 2018
Configure io_bits with 2 and enable LFS mode, generic/013 reports below dmesg: BUG: unable to handle kernel NULL pointer dereference at 00000104 *pdpt = 0000000029b7b001 *pde = 0000000000000000 Oops: 0002 [OnePlusOSS#1] PREEMPT SMP Modules linked in: crc32_generic zram f2fs(O) rfcomm bnep bluetooth ecdh_generic snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq pcbc joydev snd_seq_device aesni_intel snd_timer aes_i586 snd crypto_simd cryptd soundcore i2c_piix4 serio_raw mac_hid video parport_pc ppdev lp parport hid_generic psmouse usbhid hid e1000 CPU: 0 PID: 11161 Comm: fsstress Tainted: G O 4.17.0-rc2 OnePlusOSS#38 Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006 EIP: f2fs_submit_page_write+0x28d/0x550 [f2fs] EFLAGS: 00010206 CPU: 0 EAX: e863dcd8 EBX: 00000000 ECX: 00000100 EDX: 00000200 ESI: e863dcf4 EDI: f6f82768 EBP: e863dbb0 ESP: e863db74 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 CR0: 80050033 CR2: 00000104 CR3: 29a62020 CR4: 000406f0 Call Trace: do_write_page+0x6f/0xc0 [f2fs] write_data_page+0x4a/0xd0 [f2fs] do_write_data_page+0x327/0x630 [f2fs] __write_data_page+0x34b/0x820 [f2fs] __f2fs_write_data_pages+0x42d/0x8c0 [f2fs] f2fs_write_data_pages+0x27/0x30 [f2fs] do_writepages+0x1a/0x70 __filemap_fdatawrite_range+0x94/0xd0 filemap_write_and_wait_range+0x3d/0xa0 __generic_file_write_iter+0x11a/0x1f0 f2fs_file_write_iter+0xdd/0x3b0 [f2fs] __vfs_write+0xd2/0x150 vfs_write+0x9b/0x190 ksys_write+0x45/0x90 sys_write+0x16/0x20 do_fast_syscall_32+0xaa/0x22c entry_SYSENTER_32+0x4c/0x7b EIP: 0xb7fc8c51 EFLAGS: 00000246 CPU: 0 EAX: ffffffda EBX: 00000003 ECX: 09cde000 EDX: 00001000 ESI: 00000003 EDI: 00001000 EBP: 00000000 ESP: bfbded38 DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b Code: e8 f9 77 34 c9 8b 45 e0 8b 80 b8 00 00 00 39 45 d8 0f 84 bb 02 00 00 8b 45 e0 8b 80 b8 00 00 00 8d 50 d8 8b 08 89 55 f0 8b 50 04 <89> 51 04 89 0a c7 00 00 01 00 00 c7 40 04 00 02 00 00 8b 45 dc EIP: f2fs_submit_page_write+0x28d/0x550 [f2fs] SS:ESP: 0068:e863db74 CR2: 0000000000000104 ---[ end trace 4cac79c0d1305ee6 ]--- allocate_data_block will submit all sequential pending IOs sorted by a FIFO list, If we failed to submit other user's IO due to unaligned write, we will retry to allocate new block address for current IO, then it will initialize fio.list again, if fio was in the list before, it can break FIFO list, result in above panic. Thread A Thread B - do_write_page - allocate_data_block - list_add_tail : fioA cached in FIFO list. - do_write_page - allocate_data_block - list_add_tail : fioB cached in FIFO list. - f2fs_submit_page_write : fail to submit IO - allocate_data_block - INIT_LIST_HEAD - f2fs_submit_page_write - list_del <-- NULL pointer dereference This patch adds fio.retry parameter to indicate failure status for each IO, and avoid bailing out if there is still pending IO in FIFO list for fixing. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Harsh Shandilya <harsh@prjkt.io> Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
ppajda
pushed a commit
to ppajda/android_kernel_oneplus_msm8996
that referenced
this pull request
Sep 30, 2018
Configure io_bits with 2 and enable LFS mode, generic/017 reports below dmesg: BUG: unable to handle kernel NULL pointer dereference at 00000039 *pdpt = 000000002fcb2001 *pde = 0000000000000000 Oops: 0000 [OnePlusOSS#1] PREEMPT SMP Modules linked in: crc32_generic zram f2fs(O) bnep rfcomm bluetooth ecdh_generic snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi pcbc snd_seq joydev aesni_intel aes_i586 snd_seq_device snd_timer crypto_simd cryptd snd soundcore i2c_piix4 serio_raw mac_hid video parport_pc ppdev lp parport hid_generic usbhid psmouse hid e1000 CPU: 2 PID: 20779 Comm: xfs_io Tainted: G O 4.17.0-rc2 OnePlusOSS#38 Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006 EIP: is_checkpointed_data+0x84/0xd0 [f2fs] EFLAGS: 00010207 CPU: 2 EAX: 00000000 EBX: f5cd7000 ECX: fffffe32 EDX: 00000039 ESI: 000001cd EDI: ec95fb6c EBP: e264bd80 ESP: e264bd6c DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 CR0: 80050033 CR2: 00000039 CR3: 2fe55660 CR4: 000406f0 Call Trace: __exchange_data_block+0xb3f/0x1000 [f2fs] f2fs_fallocate+0xab9/0x16b0 [f2fs] vfs_fallocate+0x17c/0x2d0 ksys_fallocate+0x42/0x70 sys_fallocate+0x31/0x40 do_fast_syscall_32+0xaa/0x22c entry_SYSENTER_32+0x4c/0x7b EIP: 0xb7f98c51 EFLAGS: 00000293 CPU: 2 EAX: ffffffda EBX: 00000003 ECX: 00000008 EDX: 01001000 ESI: 00000000 EDI: 00001000 EBP: 00000000 ESP: bfc0357c DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b Code: 00 00 d3 e8 8b 4d ec 2b 02 8b 55 f0 6b c0 1c 03 41 70 29 d6 8b 93 d0 06 00 00 8b 40 0c 83 ea 01 21 d6 89 f2 89 f1 c1 ea 03 f7 d1 <0f> be 14 10 83 e1 07 b8 01 00 00 00 d3 e0 85 c2 89 f8 0f 95 c3 EIP: is_checkpointed_data+0x84/0xd0 [f2fs] SS:ESP: 0068:e264bd6c CR2: 0000000000000039 ---[ end trace 9a4d4087cce6080a ]--- This is because in recovery flow of __exchange_data_block, we didn't pass olen to __roll_back_blkaddrs, instead we passed len, which indicates wrong array size, result in copying random block address into dnode page. Later, once that random block address was accessed by is_checkpointed_data, it can cause NULL pointer dereference. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Harsh Shandilya <harsh@prjkt.io> Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.