Commit graph

889,574 commits

Author SHA1 Message Date
Harshdeep Dhatt
c832a7c974 msm: kgsl: Move rscc to a6xx gmu space
Rscc registers are only needed for gmu based targets. So move the
probe and snapshot to a6xx gmu probe and snapshot respectively.
Also, fix the rscc offset for targets which have rscc registers
part of the gmu register space.

Change-Id: I3f73e3c99838d01676f81df6bc7bd7ab3334a0fe
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-06-23 15:32:51 -06:00
Harshdeep Dhatt
2960707394 msm: kgsl: Get rid of gmu_core_snapshot and gmu_core_dev_snapshot
Assign the gmu specific snapshot function to gpudev->snapshot instead
of creating a gmu_core_snapshot. This function will send an nmi if we
hit a gmu fault. Then, it will capture gmu snapshot followed by the generic
a6xx_snapshot as against a6xx snapshot calling the gmu snapshot.
Do the same for rgmu. This helps get rid of gmu_core_snapshot and
gmu_core_dev_snapshot() functions.

Change-Id: I0f72a930633557260b59a76f0161bcde8c5a6da2
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-06-23 15:32:50 -06:00
Harshdeep Dhatt
efa44eb2e6 msm: kgsl: Pare down the gmu core and dev ops
Remove the ones that we don't need anymore. Also, remove
KGSL_STATE_RESET as it was only needed with gmu recovery, which
now is completely target specific. Also, remove unused adreno gmu
register defines.

Change-Id: I20b8bc04714e30cd7418d81e8634e4c5079fa175
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-06-23 15:32:49 -06:00
Harshdeep Dhatt
d2645d6205 msm: kgsl: Move gmu_fault from snapshot structure
Add gmu_fault member to kgsl device structure and remove it
from snapshot, a6xx gmu and rgmu structures. This helps in
removing snapshot function from the gmu core ops in the next
patch.

Change-Id: I5f2aba879ebf0330ef2c73d1d2fa4a2032bb6c9b
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-06-23 15:32:49 -06:00
Harshdeep Dhatt
97a10b9133 msm: kgsl: Do inline gmu and rgmu snapshot
This helps in ultimately getting rid of gmu_core_snapshot.

Change-Id: Ie72f851ddec6ddb70d3dfa763b6c638c2f0f8775
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-06-23 15:32:48 -06:00
Harshdeep Dhatt
1b6b3732fc msm: kgsl: Make kgsl_pwrctrl_axi return a value
On gmu targets, we may fail the boot bandwidth hfi, so
return the error all the way up.

Change-Id: I059fb18090ae6cb33af3c0b53f2a8fd5875b7e52
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-06-23 15:32:39 -06:00
John Stultz
c7535717e7 ANDROID: Update kabi for db845c (following moving pinctrl to a module)
Updated via the following method:
 $ ./build/abi/bootstrap
 <follow instructions for adding needed path variables>
 $ BUILD_CONFIG=common/build.config.db845c build/build.sh
 $ ./build/abi/extract_symbols out/android-5.4-stable/ --whitelist common/abi_gki_aarch64_db845c_whitelist
 $ BUILD_CONFIG=common/build.config.gki.aarch64 build/build_abi.sh --update --print-report

 The detailed report is available in the same directory.
 ABI DIFFERENCES HAVE BEEN DETECTED! (RC=8)
========================================================
Leaf changes summary: 5 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 4 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added variable

4 Added functions:

  [A] 'function int device_property_read_u16_array(device*, const char*, u16*, size_t)'
  [A] 'function bool gpiochip_line_is_valid(const gpio_chip*, unsigned int)'
  [A] 'function void gpiochip_set_chained_irqchip(gpio_chip*, irq_chip*, unsigned int, irq_flow_handler_t)'
  [A] 'function int pinctrl_force_default(pinctrl_dev*)'

1 Added variable:

  [A] 'unsigned long int usb_hcds_loaded'

========================================================

Bug: 158125476
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I1c0d767d136c931b5836982cc3da4fb7fc43fb60
2020-06-23 18:55:54 +00:00
Prasad Sodagudi
4a56fb71ed ANDROID: GKI: Remove msm_pinctrl-* symbols from the abi lists
Remove msm_pinctrl-* symbols from the abi list.

Bug: 158125476
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
[jstultz: Simplified to just removing the pinctrl symbols]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I13a1d66c63b9230333fb7d96f378bf98af4a02b6
2020-06-23 18:55:32 +00:00
John Stultz
f3cc55c9dd ANDROID: db845c_gki.fragment: Add PINCTRL_MSM=m
PINCTRL_MSM has been disabled in the GKI, as
patches to enable it as a module were added.

Thus, we need to re-add the PINCTRL_MSM=m to
the db845c_gki.fragment to keep things working.

(An ABI list update will also be needed)

Bug: 158125476
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I52c3dcfed6abf0d313eae764b05bf80faea8b379
2020-06-23 18:53:22 +00:00
Prasad Sodagudi
8bd3ec8eab ANDROID: GKI: Remove PINCTRL_MSM as built in driver
PINCTRL_MSM driver can be enabled as module, so remove
PINCTRL_MSM from hidden configs.

Bug: 158125476
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I11c5f0265e0068a0d21711344b9a44e1b41266e1
2020-06-23 18:41:42 +00:00
John Stultz
5edcc7517c ANDROID: pinctrl: qcom: Allow pinctrl-msm code to be loadable as a module
Tweaks to allow pinctrl-msm code to be loadable as a module.
This is needed in order to support having the qcom-scm driver,
which pinctrl-msm calls into, configured as a module.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Bug: 153049053
Bug: 158125476
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Ie5dac6955af029f0d57ad0bbcad2e235f8d5a52c
2020-06-23 18:41:30 +00:00
Harshdeep Dhatt
d7784ea62c msm: kgsl: Add target specific clock and bus scaling
This allows us to define target specific clock and bus scaling
functions. Also, get rid of the dcvs_set function pointer
from gmu core ops.

Change-Id: I137ea0071958bfdd73a266d734e278703f0dc722
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-06-23 12:16:34 -06:00
Jeevan Shriram
ba9cc6ab08 config: Enable module signature in generic defconfig
Enale CONFIG_MODULE_SIG for support module authentication.

Change-Id: Iabb27d44be3affe8f2e01dd0c090485aadf5420d
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2020-06-23 10:38:04 -07:00
Amir Levy
2926b2b8d0 msm: ipa: Add more ipa API to ipa framework
Add IPA framework support for the following ipa clients:
ipa_wdi3
ipa_gsb
ipa_uc_offload
ipa_mhi
ipa_wigig
this comes as an addition to ipa_usb support.

Add all remaining IPA core driver API functions.
remove internal functions from ipa.h header file.

Change-Id: I03ac94c351649c7c59a3894e6e18bb504d488af9
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2020-06-23 09:41:56 -07:00
Akash Asthana
c2ca8e5398 serial: msm_geni_serial: Fix DMA TX FSM reset sequence
TX FSM reset command generates TX_RESET_DONE & TX_DMA_DONE interrupt bits.
Upon receiving TX_DMA_DONE we initiate new TX transfer for the pending
bytes present in tty uart circular buffer. That leaves TX sequencer active
after reset sequence. That can result into all kinds of SMMU crash where
client initiates new TX DMA transfer without knowing that we have already
a transfer queued. This is unexpected behaviour because we expect TX
sequencer and DMA engine to go IDLE after reset.

To fix above scenario, don't handle TX_DMA_DONE upon reciving
TX_RESET_DONE.

Also, add IPC logs to get_mctrl function to get the IOS status.

Change-Id: Ib76750b5e2c6ec5bf993c341c258791e471672d2
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2020-06-23 05:58:14 -07:00
Akash Asthana
1c701bd680 serial: msm-geni-serial: Fix possible null pointer access with handle_rx
Some customers are using UART node in UFFI for console and using
the same node for HSUART in kernel but not as console. In this
scenario there is a possibility for null pointer access
with handle_rx while trying to stop secondary sequencer.
This change will move handle_rx initialization from port_startup to
probe function. This will help to avoid null pointer access issues.

Change-Id: Ibda592b375d14ba0c23c4b99223006b1fa53c211
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2020-06-23 05:57:52 -07:00
qctecmdr
b318939c3f Merge "trace: increase caller depth for preempt/irqs disable events" 2020-06-23 05:16:32 -07:00
qctecmdr
3d7e7985de Merge "dt-bindings: clock: Add support for GPUCC PLL0" 2020-06-23 05:16:32 -07:00
qctecmdr
db62dd6887 Merge "clk: qcom: Add clk_list_rates support for divider clocks" 2020-06-23 05:16:31 -07:00
Harshitha Sai Neelati
48efc39ee4 msm: kgsl: Fix datatype of count in kgsl_alloc_secure_pages
Change the data type of count in kgsl_alloc_secure_pages to
correctly handle the errors from kgsl_pool_alloc_pages.

Change-Id: Ib24c351304ab864d5884be8f8bddc7f74a487031
Signed-off-by: Harshitha Sai Neelati <hsaine@codeaurora.org>
2020-06-23 17:38:01 +05:30
Jishnu Prakash
269ef17387 power: smb1398: Add snapshot of driver
Add snapshot of the SMB1398 driver as of msm-4.19
'commit 94b7d70cfe4f7 ("power: qpnp-smb5: Do not set BC1P2_START_ON_CC
on DAM")'.

Change-Id: I70f066f8b330630ad2777bb5c9a7ecc8dbd8b9ee
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-06-23 16:20:53 +05:30
Lingutla Chandrasekhar
9f2b8d8b1a trace: increase caller depth for preempt/irqs disable events
preempt/irq disable events tracks and prints 4 callers (3 actual callers
and current trace event caller), who disables irqs and preemption for
longer duration. It may not be sufficient for all scenarios, so extend
these events to track 5 callers and exclude current trace event caller.

Change-Id: I464dd738a78d3a89fea62fcf4aaee9897bb03c37
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
2020-06-23 11:51:51 +05:30
Akash Asthana
1b85a9865b serial: Refactor code to reduce cyclomatic complexity
Resolve the cyclomatic complexity numbers by refactoring the code.

Fixes: 39fc927ed715 ("serial: Propagate missing UART fix 4.19 to 5.4")
Change-Id: I599900246852e002d68364affc8ff032a6231324
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2020-06-23 10:39:13 +05:30
qctecmdr
8be0640752 Merge "net: qrtr: ns: Add ipc logging to ns" 2020-06-22 20:50:37 -07:00
qctecmdr
a9e028c82c Merge "ANDROID: kbuild: ensure __cfi_check is correctly aligned" 2020-06-22 20:50:37 -07:00
qctecmdr
5f30feb7a6 Merge "sched: use wake_q length only when WALT is enabled" 2020-06-22 20:50:36 -07:00
Shashank Babu Chinta Venkata
d5c077b099 input: touchscreen: st: add trusted touch support
Add Trusted touch support to lahaina MTP
Touchscreen driver. This feature enables driver to
operate in trusted touch mode in trusted virtual machine(TVM).
The primary virtual machine(PVM) lends resources such
as IO memory and touch irq to TVM prior to trusted touch
is initiated and reclaims those resources back after trusted
touch usecase finishes.The resource requirements of TVM
such as clock, regulators etc are taken care by PVM.

Change-Id: I584fa3c96796b8a34f1948847e83aac7ce913d94
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
2020-06-22 19:39:14 -07:00
Himateja Reddy
cd9be96ba8 msm: adsprpc: limit number of pending invocations to DSP
Current code doesn't have any limit on the number of invocations
to DSP. In case of Async RPC pending invocations could be large
enough to exhaust the context table. Limit number of pending
invocations to DSP per process.

Change-Id: I2ae1cbeb90381de6f00f05560aa3a71118db0cf6
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-06-22 18:50:01 -07:00
qctecmdr
a543b4c83b Merge "drivers: soc: Add devcoredump based ramdump APIs" 2020-06-22 18:20:36 -07:00
qctecmdr
888edf7bb4 Merge "clk: qcom: lahaina: Lucid PLL 5LPE config and frequency plan update" 2020-06-22 18:20:36 -07:00
Jeevan Shriram
7bd4f1b732 sched: use wake_q length only when WALT is enabled
Upstream commit aa8b37baac ("FROMLIST: sched/fair: Use wake_q
length as a hint for wake_wide") that is being carried in msm-5.4
kernel caused CRC checks failures when GKI boot image is used for
verification as the commit adds extra argument to select_task_rq().
Fix this issue by wrapping extra argument under CONFIG_SCHED_WALT.

Change-Id: Ie41a36a334efbcd2030f7c3caee31883ee84718e
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2020-06-22 17:33:30 -07:00
Suren Baghdasaryan
16e0b6d5b2 ANDROID: GKI: update ABI after struct vm_fault changes
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 1 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

'struct vm_fault at mm.h:418:1' changed:
  type size changed from 832 to 960 (in bits)
  2 data member insertions:
    'unsigned long int vm_fault::vma_flags', at offset 832 (in bits) at mm.h:454:1
    'pgprot_t vm_fault::vma_page_prot', at offset 896 (in bits) at mm.h:455:1
  2751 impacted interfaces

Bug: 153715905
Test: build
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Id2ba5e98a32bf00750fbbdd8f2dac2c67a6060fb
2020-06-22 16:16:48 -07:00
Suren Baghdasaryan
f63dfd804b ANDROID: GKI: mm: add struct vm_fault fields for SPECULATIVE_PAGE_FAULTS
Two new fields in the struct vm_fault can't easily be excluded using
CONFIG_SPECULATIVE_PAGE_FAULTS. Add them as padding to reduce the
ABI diff between vendors which use SPECULATIVE_PAGE_FAULTS and ACK. This
allows vendors to pick the SPECULATIVE_PAGE_FAULTS feature and still be
ABI compatible with ACK.

Bug: 153715905
Test: build
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
(cherry picked from commit 47e3eb155848872a13ab6ef73a4d0eecac36ce66)
[surenb: kept only struct vm_fault changes and dropped the rest]
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I08dbe38f37fa3e8a0f96f71cb6b2dd8737221da5
2020-06-22 16:10:25 -07:00
qctecmdr
6a5a6eb724 Merge "usb: gadget: Fix double free of device descriptor pointers" 2020-06-22 15:53:18 -07:00
Jay Jayanna
65b0fd0c9a net: qrtr: ns: Add ipc logging to ns
Log packets processed by ns using ipc logging framework.

Change-Id: I08e9b8551efb4a58cf899835cfac25c1952bd4b8
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
2020-06-22 15:10:14 -07:00
Jay Jayanna
a51b58c8e7 net: qrtr: Fix early exit in del client and bye cmds
When del client and bye command packets are sent out, if there
is an error in sending, continue with the loop to send to the
rest of the clients. The current implementation bails out when
the send fails. This is causing dropping of these packets to
the rest of the clients.

Change-Id: If9111216061e64ba1777590edba128b011625250
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
2020-06-22 15:04:35 -07:00
Himateja Reddy
43cfe68b5a msm: adsprpc: limit number of cached buffers
Current code allocates new buffer during invoke, if no free buffer
found in cached buffer list. During invoke return new buffer is
added to the cached buffer list. In Async RPC as many invocations
come in short duration, there is a chance of buffers piling up in
cached buffer list. Limit the number of buffers cached under
cached buffer list to MAX_CACHED_BUFS.

Change-Id: If62406f35397843986ae033ab2cb027ed2356fd1
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-06-22 14:32:24 -07:00
Eric Biggers
d32db25eea Merge remote-tracking branch 'aosp/upstream-f2fs-stable-linux-5.4.y' into android-5.4-stable
* aosp/upstream-f2fs-stable-linux-5.4.y:
  fs-verity: remove unnecessary extern keywords
  fs-verity: fix all kerneldoc warnings
  fscrypt: add support for IV_INO_LBLK_32 policies
  fscrypt: make test_dummy_encryption use v2 by default
  fscrypt: support test_dummy_encryption=v2
  fscrypt: add fscrypt_add_test_dummy_key()
  linux/parser.h: add include guards
  fscrypt: remove unnecessary extern keywords
  fscrypt: name all function parameters
  fscrypt: fix all kerneldoc warnings

Conflicts:
	fs/crypto/fscrypt_private.h
	fs/crypto/keyring.c
	fs/crypto/keysetup.c
	fs/ext4/ext4.h
	fs/ext4/super.c
	fs/f2fs/f2fs.h
	fs/f2fs/super.c
	include/linux/fscrypt.h

Resolved the conflicts as per the corresponding android-mainline change,
I7198edbca759839aceeec2598e7a81305756c4d7.

Bug: 154167995
Test: kvm-xfstests -c ext4,f2fs,ext4/encrypt,f2fs/encrypt \
        -g encrypt -g verity -g casefold
      kvm-xfstests -c ext4,f2fs,ext4/encrypt,f2fs/encrypt \
        -g encrypt -g verity -g casefold -m inlinecrypt
Change-Id: Id12839f7948374575f9d15eee6a9c6a9382eacf3
Signed-off-by: Eric Biggers <ebiggers@google.com>
2020-06-22 13:32:36 -07:00
Sahitya Tummala
ec877350d0 FROMLIST: f2fs: fix use-after-free when accessing bio->bi_crypt_context
There could be a potential race between these two paths below,
leading to use-after-free when accessing bio->bi_crypt_context.

f2fs_write_cache_pages
->f2fs_do_write_data_page on page#1
  ->f2fs_inplace_write_data
    ->f2fs_merge_page_bio
      ->add_bio_entry
->f2fs_do_write_data_page on page#2
  ->f2fs_inplace_write_data
    ->f2fs_merge_page_bio
      ->f2fs_crypt_mergeable_bio
        ->fscrypt_mergeable_bio
                                       f2fs_write_begin on page#1
                                       ->f2fs_wait_on_page_writeback
                                         ->f2fs_submit_merged_ipu_write
                                           ->__submit_bio
                                        The bio gets completed, calling
                                        bio_endio
                                        ->bio_uninit
                                          ->bio_crypt_free_ctx
          ->use-after-free issue

Fix this by moving f2fs_crypt_mergeable_bio() check within
add_ipu_page() so that it's done under bio_list_lock to prevent
the above race.

Bug: 137270441
Link: https://lore.kernel.org/linux-f2fs-devel/1592193588-21701-1-git-send-email-stummala@codeaurora.org/
Fixes: fb710731b6 ("f2fs: add inline encryption support")
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Satya Tangirala <satyat@google.com>
Change-Id: I1bd2cfa430423ba2a8d7c1da505322ded097cd9e
2020-06-22 20:30:51 +00:00
Paul Lawrence
9acda3388b ANDROID: GKI: Update ABI for incremental fs
Leaf changes summary: 43 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 42 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added variable

42 Added functions:

  [A] 'function int LZ4_decompress_safe(const char*, char*, int, int)'
  [A] 'function int __break_lease(inode*, unsigned int, unsigned int)'
  [A] 'function void clear_inode(inode*)'
  [A] 'function void d_drop(dentry*)'
  [A] 'function void deactivate_locked_super(super_block*)'
  [A] 'function file* dentry_open(const path*, int, const cred*)'
  [A] 'function dentry* dget_parent(dentry*)'
  [A] 'function void flush_dcache_page(page*)'
  [A] 'function void fsstack_copy_attr_all(inode*, const inode*)'
  [A] 'function ssize_t generic_read_dir(file*, char*, size_t, loff_t*)'
  [A] 'function void generic_shutdown_super(super_block*)'
  [A] 'function inode* iget5_locked(super_block*, unsigned long int, int (inode*, void*)*, int (inode*, void*)*, void*)'
  [A] 'function void inode_init_once(inode*)'
  [A] 'function void inode_init_owner(inode*, const inode*, unsigned short int)'
  [A] 'function void iput(inode*)'
  [A] 'function int iterate_dir(file*, dir_context*)'
  [A] 'function int kern_path(const char*, unsigned int, path*)'
  [A] 'function long int kernel_read(file*, void*, unsigned long int, long long int*)'
  [A] 'function dentry* lock_rename(dentry*, dentry*)'
  [A] 'function void lockref_get(lockref*)'
  [A] 'function void nf_conntrack_destroy(nf_conntrack*)'
  [A] 'function int notify_change(dentry*, iattr*, inode**)'
  [A] 'function void path_get(const path*)'
  [A] 'function void path_put(const path*)'
  [A] 'function int set_anon_super(super_block*, void*)'
  [A] 'function super_block* sget(file_system_type*, int (super_block*, void*)*, int (super_block*, void*)*, int, void*)'
  [A] 'function int simple_getattr(const path*, kstat*, u32, unsigned int)'
  [A] 'function int simple_setattr(dentry*, iattr*)'
  [A] 'function char* strndup_user(const char*, long int)'
  [A] 'function void truncate_inode_pages(address_space*, loff_t)'
  [A] 'function void unlock_new_inode(inode*)'
  [A] 'function void unlock_rename(dentry*, dentry*)'
  [A] 'function int user_path_at_empty(int, const char*, unsigned int, path*, int*)'
  [A] 'function int vfs_create(inode*, dentry*, umode_t, bool)'
  [A] 'function ssize_t vfs_getxattr(dentry*, const char*, void*, size_t)'
  [A] 'function int vfs_link(dentry*, inode*, dentry*, inode**)'
  [A] 'function ssize_t vfs_listxattr(dentry*, char*, size_t)'
  [A] 'function int vfs_mkdir(inode*, dentry*, umode_t)'
  [A] 'function int vfs_rename(inode*, dentry*, inode*, dentry*, inode**, unsigned int)'
  [A] 'function int vfs_rmdir(inode*, dentry*)'
  [A] 'function int vfs_setxattr(dentry*, const char*, void*, unsigned long int, int)'
  [A] 'function int vfs_unlink(inode*, dentry*, inode**)'

1 Added variable:

  [A] 'kobject* fs_kobj'

Bug: 156527199
Test: GKI boots, and incrementalfs.ko can be loaded
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: Ibfea353ebbdc266b28e4c61f9433855e128fc510
2020-06-22 18:56:07 +00:00
Paul Lawrence
e3621d385b ANDROID: GKI: Update whitelist and defconfig for incfs
Bug: 156527199
Test: GKI boots, and incrementalfs.ko can be loaded
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Change-Id: I23ce9e34fa25ae596298b4c03a7b36dd71adba68
2020-06-22 11:43:42 -07:00
Asutosh Das
cc56124585 sysfs: ufs-qcom: Add sysfs entries for flashpvl
Added entries are bus_speed_mode, clk_status and
err_count.

Change-Id: I459c75048d737651d977f5a5c6aa5dd84553156c
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2020-06-22 11:31:09 -07:00
Alistair Delva
a48f762960 ANDROID: gki_defconfig: x86: Enable KERNEL_LZ4
Compress the kernel with lz4 instead of gzip. On x86 this must be
controlled explicitly by kbuild, as decompressor code is prepended
to the compressed kernel artifact.

On arm64 this option is not needed as "make Image.lz4" can be used
instead, or the Image can be compressed in a separate step.

Bug: 150391496
Change-Id: I2d0ce7f937f2a952b4310f53c8b03dc8d721b050
Signed-off-by: Alistair Delva <adelva@google.com>
2020-06-22 16:42:49 +00:00
Alistair Delva
f5a506d175 ANDROID: GKI: scripts: Makefile: update the lz4 command
Use 'lz4' instead of 'lz4c' and increase the compression level. This
also optimizes for decompression speed at this higher level.

Bug: 159285792
Test: launch_cvd -kernel_path bzImage
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: I9604cc7d1f3600dec27ceb460f7c29d977a919b1
2020-06-22 16:42:29 +00:00
Pankaj Gupta
e7cfb4d38d msm: kgsl: Do not clear dispatcher fault when adreno reset fails
When adreno_reset fails, BUG_ON gets triggered to collect ram dump.
Do not clear dispatcher fault bits in such case to get correct fault
information from ram dump. Clear dispatcher fault when adreno_reset
returns success.

Change-Id: I6f54d48201d5e4ea5e3358b18d2f09ec7b285624
Signed-off-by: Pankaj Gupta <gpankaj@codeaurora.org>
2020-06-22 06:18:02 -07:00
Matthias Maennich
24200c344d ANDROID: Use depmod from the hermetic toolchain
DEPMOD=depmod overwrites the default DEPMOD=/sbin/depmod and uses the
depmod version from PATH (coming from the hermetic toolchain).

Bug: 130657633
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I73eefaa5508298bc61e9e586f981c5ddabed7656
(cherry picked from commit 82ce726a3f8d53533203189a0f2a5fa20ae4eabd)
2020-06-22 12:54:32 +00:00
qctecmdr
3ddd3c6ec2 Merge "cnss2: Add synchronized force wake support" 2020-06-22 04:57:01 -07:00
qctecmdr
cfd44d03d1 Merge "ABI: Add cnss2 symbol" 2020-06-22 04:57:00 -07:00
qctecmdr
589098c6c2 Merge "clk: qcom: gcc: Make gcc_ddrss_gpu_axi_clk as always ON" 2020-06-22 04:57:00 -07:00
qctecmdr
699da85287 Merge "clk: qcom: alpha-pll: Add odd/even support for Trion PLL" 2020-06-22 04:57:00 -07:00