Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
Merge tag 'LV.AU.0.0.1-13310-gen3meta.0' into neutrino/SM8150_Q_10.0
Browse files Browse the repository at this point in the history
"LV.AU.0.0.1-13310-gen3meta.0"

* tag 'LV.AU.0.0.1-13310-gen3meta.0':
  UPSTREAM: virt_wifi: Remove REGULATORY_WIPHY_SELF_MANAGED
  ANDROID: cuttlefish: enable CONFIG_NET_SCH_INGRESS=y
  ANDROID: cuttlefish_defconfig: Enable CONFIG_OVERLAY_FS
  ext4, dax: set ext4_dax_aops for dax files
  ext4: switch to fscrypt_file_open()
  ext4: switch to fscrypt_prepare_link()
  ext4: switch to fscrypt_prepare_rename()
  ext4: switch to fscrypt_prepare_setattr()
  ANDROID: cuttlefish_defconfig: Enable CONFIG_FUSE_FS
  Revert "ANDROID: dm: do_mounts_dm: Update init/do_mounts_dm.c to the latest ChromiumOS version."
  Revert "ANDROID: dm: do_mounts_dm: fix dm_substitute_devices()"
  Revert "ANDROID: dm: do_mounts_dm: Rebase on top of 4.9"
  Revert "CHROMIUM: dm: boot time specification of dm="
  drm: increase drm open count to 1024
  msm: camera: core : Validate the dev name during the node ioctl handler
  msm: ais: resync ais to PC365 camera kernel
  fscrypt: add Adiantum support / removed speck
  fscrypt: remove CRYPTO_CTR dependency
  fscrypt: return -EXDEV for incompatible rename or link into encrypted dir
  ext4: use IS_ENCRYPTED() to check encryption status
  f2fs: use IS_ENCRYPTED() to check encryption status
  fscrypt: remove filesystem specific build config option
  ANDROID: Makefile: Properly resolve 4.14.112 merge
  Make arm64 serial port config compatible with crosvm
  ARM: dts: fix snd card probe error for sa8155 lv
  ANDROID: cuttlefish_defconfig: Enable L2TP/PPTP
  msm: ais: Validate packet params against cpu buffer length
  fix blacklist issue
  Clean unused files: cam_cdm_hw_core.c/cam_cdm_virtual_core.c/cam_fd_hw_mgr.c/cam_icp_context.c.
  ANDROID: cuttlefish_defconfig: Enable CONFIG_XFRM_STATISTICS
  ANDROID: cuttlefish_defconfig: Enable CONFIG_CPUSETS and CONFIG_CGROUP_SCHEDTUNE
  ANDROID: cuttlefish_defconfig: Enable CONFIG_CPUSETS and CONFIG_CGROUP_SCHEDTUNE
  ANDROID: block/cfq-iosched: make group_idle per io cgroup tunable
  f2fs: Fix use of number of devices
  f2fs: Reduce zoned block device memory usage
  f2fs: improve discard handling with multi-device volumes
  f2fs: fix potential recursive call when enabling data_flush
  f2fs: add comment for conditional compilation statement
  f2fs: add tracepoint for f2fs_file_write_iter()
  f2fs: data: fix warning Using plain integer as NULL pointer
  f2fs: fix to avoid deadloop in foreground GC
  f2fs: fix error path of recovery
  f2fs: fix to retrieve inline xattr space
  f2fs: fix to use inline space only if inline_xattr is enable
  f2fs: fix to avoid panic in dec_valid_block_count()
  f2fs: fix to avoid panic in dec_valid_node_count()
  f2fs: fix wrong __is_meta_io() macro
  f2fs: remove new blank line of f2fs kernel message
  f2fs: fix to clear dirty inode in error path of f2fs_iget()
  f2fs: fix to avoid panic in f2fs_remove_inode_page()
  f2fs: fix to do checksum even if inode page is uptodate
  f2fs: fix to do sanity check on free nid
  f2fs: fix to avoid panic in do_recover_data()
  f2fs: fix to do sanity check on valid node/block count
  f2fs: fix to do sanity check on valid block count of segment
  f2fs: fix to avoid panic in f2fs_inplace_write_data()
  f2fs: fix to set FI_UPDATE_WRITE correctly
  f2fs: mark is_extension_exist() inline
  f2fs: introduce f2fs_read_single_page() for cleanup
  f2fs: allow address pointer number of dnode aligning to specified size
  f2fs: insert space before the open parenthesis '('
  f2fs: Replace spaces with tab
  f2fs: allow unfixed f2fs_checkpoint.checksum_offset
  f2fs: relocate chksum_offset for large_nat_bitmap feature
  f2fs: fix to consider multiple device for readonly check
  f2fs: fix to skip recovery on readonly device
  f2fs: fix to be aware of readonly device in write_checkpoint()
  f2fs: remove redundant check in f2fs_file_write_iter()
  f2fs: fix to handle error in f2fs_disable_checkpoint()
  f2fs: introduce DATA_GENERIC_ENHANCE
  f2fs: add tracepoint for f2fs_filemap_fault()
  f2fs: fix to avoid potential race on sbi->unusable_block_count access/update
  f2fs: fix to avoid accessing xattr across the boundary
  ANDROID: Move from clang r349610 to r353983c.
  ANDROID: Move from clang r349610 to r353983c.
  ANDROID: block/cfq-iosched: make group_idle per io cgroup tunable
  ANDROID: cuttlefish_defconfig: Disable DEVTMPFS
  ANDROID: cuttlefish_defconfig: Disable DEVTMPFS
  BACKPORT: fix "netfilter: xt_bpf: Fix XT_BPF_MODE_FD_PINNED mode of 'xt_bpf_info_v1'"
  BACKPORT: fix "netfilter: xt_bpf: Fix XT_BPF_MODE_FD_PINNED mode of 'xt_bpf_info_v1'"
  UPSTREAM: bpf: relax inode permission check for retrieving bpf program
  ANDROID: cuttlefish 4.14: enable CONFIG_CRYPTO_AES_NI_INTEL=y
  UPSTREAM: bpf: relax inode permission check for retrieving bpf program
  UPSTREAM: fib_rules: fix error in backport of e9919a24d302 ("fib_rules: return 0...")
  UPSTREAM: fib_rules: fix error in backport of e9919a24d302 ("fib_rules: return 0...")
  fs: sdcardfs: Add missing option to show_options
  BACKPORT: kbuild: gcov: enable -fno-tree-loop-im if supported
  UPSTREAM: gcov: remove CONFIG_GCOV_FORMAT_AUTODETECT
  UPSTREAM: module: add stubs for within_module functions
  UPSTREAM: gcov: clang: move common GCC code into gcc_base.c
  UPSTREAM: gcov: docs: add a note on GCC vs Clang differences
  BACKPORT: gcov: clang support
  Enable CONFIG_ION_SYSTEM_HEAP
  Enable CONFIG_ION_SYSTEM_HEAP
  f2fs: link f2fs quota ops for sysfile
  Revert "msm: ais: Validate packet params against cpu buffer length"
  x86: Hide the int3_emulate_call/jmp functions from UML
  x86: Hide the int3_emulate_call/jmp functions from UML
  net: sockev: avoid races between sockev and socket_close
  msm: kgsl: Fix race condition while making page as dirty
  msm: camera : Lock Implementation for avoid race condition
  Revert "msm: adsprpc: API to get DSP capability"
  Revert "x86/build: Move _etext to actual end of .text"
  Revert "x86/build: Move _etext to actual end of .text"
  Revert "UPSTREAM: fib_rules: fix error in backport of e9919a24d302 ("fib_rules: return 0...")"
  Revert "fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied"
  Revert "UPSTREAM: fib_rules: fix error in backport of e9919a24d302 ("fib_rules: return 0...")"
  Revert "fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied"
  ANDROID: uid_sys_stats: report uid_cputime stats in microseconds
  UPSTREAM: binder: check for overflow when alloc for security context
  BACKPORT: Provide in-kernel headers to make extending kernel easier
  BACKPORT: kheaders: Move from proc to sysfs
  BACKPORT: kheaders: Do not regenerate archive if config is not changed
  Revert "binder: fix handling of misaligned binder object"
  binder: fix race between munmap() and direct reclaim
  UPSTREAM: binder: check for overflow when alloc for security context
  BACKPORT: security: Create "kernel hardening" config area
  BACKPORT: security: Implement Clang's stack initialization
  ANDROID: kernel: cgroup: cpuset: Add missing allocation of cpus_requested in alloc_trial_cpuset
  ANDROID: kernel: cgroup: cpuset: Clear cpus_requested for empty buf
  BACKPORT: security: Create "kernel hardening" config area
  BACKPORT: security: Implement Clang's stack initialization
  Dm: init: Enable rootfs mount as dm-verity during boot without ramdisk.
  mhi: Don't do memset_io with RXVEC for qcn7605
  drm: squash changes for drm lease from upstream
  drm/msm-lease: create DRM MSM LEASE driver
  Revert "arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable"
  Revert "scsi: ufs: Avoid runtime suspend possibly being blocked forever"
  soc: qcom: wda: Safe traversal of PS list
  ARM: dts: msm: Add icnss node on atoll
  UPSTREAM: binder: Set end of SG buffer area properly.
  msm: ais: reset software register for each CSID
  ANDROID: xfrm: remove in_compat_syscall() checks
  mailbox: msm_qmp: Fix aop message failure
  ANDROID: cuttlefish_defconfig: enable CONFIG_CPU_FREQ_TIMES
  ANDROID: enable CONFIG_RTC_DRV_TEST on cuttlefish
  defconfig: msm: disable PM_AUTOSLEEP for sm6150
  defconfig: msm: enable CONFIG_USB_RTL8152 for sm6150
  defconfig: change BLK_DEV_LOOP_MIN_COUNT's value for SM6150
  msm: isp: update the software irq mask
  dm: Restore reverted changes
  usb: dwc3: Queue sm_work only on sm_usb_wq
  msm: kgsl: Update the sequence to resume stalled SMMU
  defconfig: msm: remove unnecessary configs for sa8155
  msm: kgsl: Remove ADRENO_DEVICE_HARD_RESET flag
  msm: kgsl: Improve rGMU firmware loading time
  ARM: dts: msm: Add QG profile for ATL466271_3300mAh battery
  Revert "net: qrtr: Send HELLO message on endpoint register"
  msm: ipa: ADPL over ODL support on MHI Prime channels
  msm: ep_pcie: Increase BME timeout
  of_batterydata: Add function declarations
  of_batterydata: add functions to support SOH based profile loading
  power: fg-alg: add support for SOH profile loading
  power: qpnp-fg-gen4: add support for SOH based profile loading
  msm: ipa: Page recycling on WAN DL data path
  phy: msm: qusb: Support reading of efuse value from two regs
  msm: ipa: Enable support for dynamic loading of clients
  Arm: dts: Add devfreq node for Atoll
  ARM: dts: msm: Add video device node SIDs for sdmshrike v2
  iommu/io-pgtable-arm: Convert to IOMMU API TLB sync
  iommu: arm-smmu: iommu_unmap_fast support
  ARM: dts: msm: Add charger, QG and VOL_UP configuration for atoll
  ARM: dts: msm: Add thermal zones for SA8195P
  ARM: dts: qcom: Add cci, sensor pinctrl gpio for atoll
  msm: ipa4: null terminate FST dev name
  diag: Initialize peripheral mask properly before log switch
  diag: dci: Prevent using uninitialized variables
  ARM: dts: msm: Disable IO-Coherent allocation for SDXPRAIRIE
  power: smb5-lib: unify wdog timer for SW step-charging
  ARM: dts: msm: Add audio support for atoll target
  atlantic-forwarding driver v1.0.20
  diag: Donot queue read in error case during mhi diag open
  net: qualcomm: rmnet: Only update headers for coalesced scenarios
  ARM: dts: msm: Add pcie_0 for sa8195 virtual machine
  msm: ipa3: Cleanup MHIP Dl rules condition fix
  ARM: dts: msm: Add sdcard support for sa8155 vm
  msm: ipa3: Change smmu mapping logs to low priority
  ARM: dts: msm: Correct USB audio stream iommu SID for atoll
  defconfig: Enable PM8008 regulator driver for atoll
  power: smb5: Update USBIN allowance only for USBPD charger
  ARM: dts: msm: Add ATP platform support for atoll
  arm64: arch_timer: Add workaround for ARM erratum 1188873
  arm64: cpu_errata: Add ARM erratum 1188873 for Kryo 4G
  msm: kgsl: Correctly identify page faulting process
  ARM: dts: msm: Add PPI clock sources to bring up v150_110 camera
  ARM: dts: msm: Add AHB-IB voting bandwidth to bring up v150_110 camera
  dt-bindings: qpnp-fg-gen4: Add ki current threshold properties
  power: qpnp-fg-gen4: Add DT support for Ki current thresh coefficients
  power: qpnp-fg-gen4: Modify Full SoC Ki coefficients
  dt-bindings: qpnp-fg-gen4: Set defaults for {dis}charging Ki coefficients
  power: qpnp-fg-gen4: Set default values for {dis}charging Ki coefficients
  msm: kgsl: Enable GPU features for SC8180
  ARM: dts: qcom: enable audio on QCS404
  clk: qcom: gcc-qcs405: Add support for vdd_sr_pll regulator
  Revert "ARM: dts: msm: Enable lpm and modify boot option for QCS405"
  defconfig: msm: Enable serial console driver for SA2150P perf
  defconfig: msm: Enable RNDIS and ECM configs for SA515M
  defconfig: msm: Enable CONFIG_DM_BOW for SM6150
  ARM: dts: msm: Correct node name of reserved-memory
  msm: kgsl: Wait for pending irqs completion in gmu suspend
  msm: ipa3: Update channel start as success in flow control state
  soc: qcom: hab: Add vmap to fd mode
  pinctrl: qcom: Add EGPIO feature support for sdmshrike
  msm: ipa: Fix the missing page recycling cleanup on ssr
  cnss2: set iova_stop to U64_MAX
  msm: kgsl: Fix NULL pointer dereference in gmu_kmem_close()
  power: qpnp-qg: Add logic to sanitize SDAM
  ARM: dts: msm: add display dt node for atoll target
  qcom: minidump: Run minidump initialization asynchronous
  msm: npu: Allow sys cache activation failure
  power: smb5: handle role-switch failure
  pinctrl: qcom: Update direct connect configuration for atoll
  ARM: dts: qcom: Add csiphy, cci for atoll
  ARM: dts: msm: Include dtsi file for v150_110 camera
  ARM: dts: msm: Enable UFS, eMMC and SDcard drivers on ATOLL
  power: qpnp-qg: Fix kernel memory corruption error in qg_device_read
  ARM: dts: msm: update PCIe0 PHY setting to v1.00 for sdxprairie v2
  msm: ipa4: Fix to update aggregation byte limit for coalescing pipe
  msm: camera: isp: Added PPI driver functionality
  ARM: dts: msm: Change sensor names as per floor plan for sdxprairie
  ARM: dts: qcom: Enable phy regulators for atoll
  net: aquantia: Zero initialize forward ring descriptors
  net: aquantia: Detach SMMU during PCI device removal
  net: aquantia: Fix for missing atl_unlock_fw()
  defconfig: QCS403: Disable USB diag_bridge, QRTR and RMNET host drivers
  ARM: dts: msm: Add touch support for atoll target
  Revert "msm: ais: support setting framedrop by io config"
  ARM: dts: msm: Add qfprom device node for Atoll
  ARM: dts: msm: Update the min voltage of LDO11A for sdmmagpie
  ARM: dts: msm: Add camera sensor nodes for atoll
  Revert "defconfig: qcs405: enable MHI host stack for qcs405"
  staging: android: ion: rate limit warning in ion_sgl_sync_range
  ARM: dts: msm: Add support for BT in atoll platform
  net: qualcomm: rmnet: segment linear skb with correct size
  drivers: iio: imu: Add fix in asm330 driver to support VMAP_STACK
  Revert "clk: qcom: gcc-qcs405: Add support for vdd_sr_pll regulator"
  ARM: dts: msm: Disable PCIe enumeration on boot for QCS405
  msm: ais: fastforward to PC398
  defconfig: msm: Disable serial console for QTI Quin GVM perf
  ARM: dts: msm: add regulators in Bluetooth node for SA8155VM
  dts: sa8195: fix display can't work in DP_MST mode
  Fix sa8195p boot panic.
  scsi: ufs: sysfs: health descriptor
  cnss2: set iova_start and iova_stop to physical RAM range
  drm/msm-lease: fix for markings
  msm: ais: Remove the active_req_cnt < 2 limitation
  Increase stabilize for multiple camera
  msm: ais: specify CPU for IFE interrupt
  msm: ais: change maximum context numbers to 32
  mhi: Don't do memset_io with RXVEC for qcn7605
  ais: refine gerrit 2840559 to fix its side effects
  Revert "msm: ais: fastforward to PC398"
  drm/msm/shd: add dsi_display base in shd_display
  drm/msm/sde: change backlight setup to support shared dsi display

Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>

Conflicts:
	arch/arm64/boot/dts/qcom/atoll-atp-overlay.dts
	arch/arm64/boot/dts/qcom/atoll-atp.dts
	arch/arm64/boot/dts/qcom/atoll-atp.dtsi
	arch/arm64/boot/dts/qcom/atoll-audio-overlay.dtsi
	arch/arm64/boot/dts/qcom/atoll-audio.dtsi
	arch/arm64/boot/dts/qcom/atoll-camera-sensor-idp.dtsi
	arch/arm64/boot/dts/qcom/atoll-camera.dtsi
	arch/arm64/boot/dts/qcom/atoll-idp.dtsi
	arch/arm64/boot/dts/qcom/atoll-pinctrl.dtsi
	arch/arm64/boot/dts/qcom/atoll-qrd.dtsi
	arch/arm64/boot/dts/qcom/atoll-sde.dtsi
	arch/arm64/boot/dts/qcom/atoll.dtsi
	arch/arm64/boot/dts/qcom/qg-batterydata-atl466271_3300mAh.dtsi
	arch/arm64/include/asm/cpucaps.h
	drivers/iommu/arm-smmu.c
	drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.h
	drivers/misc/uid_sys_stats.c
	drivers/net/ethernet/aquantia/atlantic-fwd/atl_common.h
	drivers/net/ethernet/aquantia/atlantic-fwd/atl_fw.c
	drivers/net/ethernet/aquantia/atlantic-fwd/atl_fw.h
	drivers/net/ethernet/aquantia/atlantic-fwd/atl_hw.c
	drivers/net/ethernet/aquantia/atlantic-fwd/atl_hw.h
	drivers/net/ethernet/aquantia/atlantic-fwd/atl_main.c
	drivers/net/ethernet/aquantia/atlantic-fwd/atl_of.h
	drivers/net/ethernet/aquantia/atlantic-fwd/atl_ring.c
	drivers/net/ethernet/aquantia/atlantic-fwd/release_notes.txt
	drivers/net/ethernet/qualcomm/rmnet/rmnet_descriptor.c
	drivers/net/wireless/cnss2/pci.c
	drivers/oneplus/coretech/coretech_helper.c
	drivers/platform/msm/ipa/ipa_v3/ipa_dp.c
	drivers/platform/msm/ipa/ipa_v3/ipa_mpm.c
	drivers/power/supply/qcom/qg-reg.h
	drivers/power/supply/qcom/qg-sdam.c
	drivers/power/supply/qcom/qg-sdam.h
	drivers/power/supply/qcom/smb5-lib.c
	drivers/scsi/ufs/ufshcd-pltfrm.c
	kernel/cpu.c
  • Loading branch information
0ctobot committed Nov 16, 2019
2 parents 5e12673 + 3ffcd68 commit 0be130a
Show file tree
Hide file tree
Showing 174 changed files with 4,174 additions and 1,772 deletions.
18 changes: 14 additions & 4 deletions Documentation/dev-tools/gcov.rst
Expand Up @@ -34,10 +34,6 @@ Configure the kernel with::
CONFIG_DEBUG_FS=y
CONFIG_GCOV_KERNEL=y

select the gcc's gcov format, default is autodetect based on gcc version::

CONFIG_GCOV_FORMAT_AUTODETECT=y

and to get coverage data for the entire kernel::

CONFIG_GCOV_PROFILE_ALL=y
Expand Down Expand Up @@ -169,6 +165,20 @@ b) gcov is run on the BUILD machine
[user@build] gcov -o /tmp/coverage/tmp/out/init main.c


Note on compilers
-----------------

GCC and LLVM gcov tools are not necessarily compatible. Use gcov_ to work with
GCC-generated .gcno and .gcda files, and use llvm-cov_ for Clang.

.. _gcov: http://gcc.gnu.org/onlinedocs/gcc/Gcov.html
.. _llvm-cov: https://llvm.org/docs/CommandGuide/llvm-cov.html

Build differences between GCC and Clang gcov are handled by Kconfig. It
automatically selects the appropriate gcov format depending on the detected
toolchain.


Troubleshooting
---------------

Expand Down
Expand Up @@ -342,7 +342,8 @@ First Level Node - FG Gen4 device
qcom,ki-coeff-soc-dischg. Array limit is set to 3. This
property should be specified if qcom,ki-coeff-soc-dischg
is specified to make it fully functional. Value has no
unit. Allowed range is 62 to 15564 in micro units.
unit. Allowed range is 0 to 15564 in micro units. If this
is not specified, the default value used will be 122.

- qcom,ki-coeff-med-dischg
Usage: optional
Expand All @@ -353,7 +354,8 @@ First Level Node - FG Gen4 device
qcom,ki-coeff-soc-dischg. Array limit is set to 3. This
property should be specified if qcom,ki-coeff-soc-dischg
is specified to make it fully functional. Value has no
unit. Allowed range is 62 to 15564 in micro units.
unit. Allowed range is 0 to 15564 in micro units. If this
is not specified, the default value used will be 62.

- qcom,ki-coeff-hi-dischg
Usage: optional
Expand All @@ -364,28 +366,71 @@ First Level Node - FG Gen4 device
qcom,ki-coeff-soc-dischg. Array limit is set to 3. This
property should be specified if qcom,ki-coeff-soc-dischg
is specified to make it fully functional. Value has no
unit. Allowed range is 62 to 15564 in micro units.
unit. Allowed range is 0 to 15564 in micro units. If this
is not specified, the default value used will be 0.

- qcom,ki-coeff-dischg-low-med-thresh-ma
Usage: optional
Value type: <u32>
Definition: Threshold value of discharging current that decides which ki
coefficient will be applied: qcom,ki-coeff-low-dischg if the
threshold is not breached, and qcom,ki-coeff-med-dischg
otherwise. Allowed range is 0 to 3984 milliamperes. If this
is not specified, the default value used will be 50 (50 mA).

- qcom,ki-coeff-dischg-med-hi-thresh-ma
Usage: optional
Value type: <u32>
Definition: Threshold value of discharging current that decides which ki
coefficient will be applied: qcom,ki-coeff-med-dischg if the
threshold is not breached, and qcom,ki-coeff-hi-dischg
otherwise. Allowed range is 0 to 3984 milliamperes. If this
is not specified, the default value used will be 100
(100 mA).

- qcom,ki-coeff-low-chg
Usage: optional
Value type: <u32>
Definition: ki coefficient value for low charge current during
charging. Value has no unit. Allowed range is 62 to 15564
in micro units.
charging. Value has no unit. Allowed range is 0 to 15564
in micro units. If this is not specified, the default value
used will be 183.

- qcom,ki-coeff-med-chg
Usage: optional
Value type: <u32>
Definition: ki coefficient value for medium charge current during
charging. Value has no unit. Allowed range is 62 to 15564
in micro units.
charging. Value has no unit. Allowed range is 0 to 15564
in micro units. If this is not specified, the default value
used will be 62.

- qcom,ki-coeff-hi-chg
Usage: optional
Value type: <u32>
Definition: ki coefficient value for high charge current during
charging. Value has no unit. Allowed range is 62 to 15564
in micro units.
charging. Value has no unit. Allowed range is 0 to 15564
in micro units. If this is not specified, the default value
used will be 0.

- qcom,ki-coeff-chg-low-med-thresh-ma
Usage: optional
Value type: <u32>
Definition: Threshold value of charging current that decides which ki
coefficient will be applied: qcom,ki-coeff-low-chg if the
threshold is not breached, and qcom,ki-coeff-med-chg
otherwise. Allowed range is 0 to 3984 milliamperes. If this
is not specified, the default value used will be 1000
(1000 mA).

- qcom,ki-coeff-chg-med-hi-thresh-ma
Usage: optional
Value type: <u32>
Definition: Threshold value of charging current that decides which ki
coefficient will be applied: qcom,ki-coeff-med-chg if the
threshold is not breached, and qcom,ki-coeff-hi-chg
otherwise. Allowed range is 0 to 3984 milliamperes. If this
is not specified, the default value used will be 1500
(1500 mA).

- qcom,ki-coeff-cutoff
Usage: optional
Expand Down
16 changes: 12 additions & 4 deletions Documentation/filesystems/fscrypt.rst
Expand Up @@ -343,9 +343,9 @@ FS_IOC_SET_ENCRYPTION_POLICY can fail with the following errors:
- ``ENOTEMPTY``: the file is unencrypted and is a nonempty directory
- ``ENOTTY``: this type of filesystem does not implement encryption
- ``EOPNOTSUPP``: the kernel was not configured with encryption
support for this filesystem, or the filesystem superblock has not
support for filesystems, or the filesystem superblock has not
had encryption enabled on it. (For example, to use encryption on an
ext4 filesystem, CONFIG_EXT4_ENCRYPTION must be enabled in the
ext4 filesystem, CONFIG_FS_ENCRYPTION must be enabled in the
kernel config, and the superblock must have had the "encrypt"
feature flag enabled using ``tune2fs -O encrypt`` or ``mkfs.ext4 -O
encrypt``.)
Expand Down Expand Up @@ -451,10 +451,18 @@ astute users may notice some differences in behavior:
- Unencrypted files, or files encrypted with a different encryption
policy (i.e. different key, modes, or flags), cannot be renamed or
linked into an encrypted directory; see `Encryption policy
enforcement`_. Attempts to do so will fail with EPERM. However,
enforcement`_. Attempts to do so will fail with EXDEV. However,
encrypted files can be renamed within an encrypted directory, or
into an unencrypted directory.

Note: "moving" an unencrypted file into an encrypted directory, e.g.
with the `mv` program, is implemented in userspace by a copy
followed by a delete. Be aware that the original unencrypted data
may remain recoverable from free space on the disk; prefer to keep
all files encrypted from the very beginning. The `shred` program
may be used to overwrite the source files but isn't guaranteed to be
effective on all filesystems and storage devices.

- Direct I/O is not supported on encrypted files. Attempts to use
direct I/O on such files will fall back to buffered I/O.

Expand Down Expand Up @@ -541,7 +549,7 @@ not be encrypted.
Except for those special files, it is forbidden to have unencrypted
files, or files encrypted with a different encryption policy, in an
encrypted directory tree. Attempts to link or rename such a file into
an encrypted directory will fail with EPERM. This is also enforced
an encrypted directory will fail with EXDEV. This is also enforced
during ->lookup() to provide limited protection against offline
attacks that try to disable or downgrade encryption in known locations
where applications may later write sensitive data. It is recommended
Expand Down
9 changes: 7 additions & 2 deletions Makefile
Expand Up @@ -651,8 +651,8 @@ all: vmlinux
KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
KBUILD_AFLAGS += $(call cc-option,-fno-PIE)
CFLAGS_GCOV := -fprofile-arcs -ftest-coverage \
$(call cc-option,-fno-tree-loop-im) \
$(call cc-disable-warning,maybe-uninitialized,)
$(call cc-option,-fno-tree-loop-im) \
$(call cc-disable-warning,maybe-uninitialized,)
CFLAGS_KCOV := $(call cc-option,-fsanitize-coverage=trace-pc,)
export CFLAGS_GCOV CFLAGS_KCOV

Expand Down Expand Up @@ -786,6 +786,11 @@ KBUILD_CFLAGS += -fomit-frame-pointer
endif
endif

# Initialize all stack variables with a pattern, if desired.
ifdef CONFIG_INIT_STACK_ALL
KBUILD_CFLAGS += -ftrivial-auto-var-init=pattern
endif

KBUILD_CFLAGS += $(call cc-option, -fno-var-tracking-assignments)

ifdef CONFIG_DEBUG_INFO
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/configs/vendor/sa515m-perf_defconfig
Expand Up @@ -321,6 +321,8 @@ CONFIG_USB_GADGET_DEBUG_FILES=y
CONFIG_USB_GADGET_VBUS_DRAW=900
CONFIG_USB_CONFIGFS=y
CONFIG_USB_CONFIGFS_SERIAL=y
CONFIG_USB_CONFIGFS_ECM=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_CONFIGFS_UEVENT=y
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/configs/vendor/sa515m_defconfig
Expand Up @@ -322,6 +322,8 @@ CONFIG_USB_GADGET_DEBUG_FS=y
CONFIG_USB_GADGET_VBUS_DRAW=900
CONFIG_USB_CONFIGFS=y
CONFIG_USB_CONFIGFS_SERIAL=y
CONFIG_USB_CONFIGFS_ECM=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_CONFIGFS_UEVENT=y
Expand Down
57 changes: 1 addition & 56 deletions arch/arm64/boot/dts/qcom/atoll-audio-overlay.dtsi
Expand Up @@ -12,7 +12,7 @@
*/

#include "atoll-lpi.dtsi"
#include <dt-bindings/clock/qcom,audio-ext-clk-v2.h>
#include <dt-bindings/clock/qcom,audio-ext-clk.h>
#include <dt-bindings/sound/audio-codec-port-types.h>
#include <dt-bindings/sound/qcom,bolero-clk-rsc.h>

Expand Down Expand Up @@ -70,11 +70,6 @@
compatible = "qcom,wcd938x-slave";
reg = <0x0 0x01170223>;
};
wcd937x_tx_slave: wcd937x-tx-slave {
status = "disabled";
compatible = "qcom,wcd937x-slave";
reg = <0x0 0x01170223>;
};
};
};

Expand Down Expand Up @@ -112,11 +107,6 @@
compatible = "qcom,wcd938x-slave";
reg = <0x0 0x01170224>;
};
wcd937x_rx_slave: wcd937x-rx-slave {
status = "disabled";
compatible = "qcom,wcd937x-slave";
reg = <0x0 0x01170224>;
};
};
};

Expand Down Expand Up @@ -234,51 +224,6 @@
"cdc-vdd-mic-bias";
};

wcd937x_codec: wcd937x-codec {
status = "disabled";
compatible = "qcom,wcd937x-codec";
qcom,split-codec = <1>;
qcom,rx_swr_ch_map = <0 HPH_L 0x1 0 HPH_L>,
<0 HPH_R 0x2 0 HPH_R>, <1 CLSH 0x1 0 CLSH>,
<2 COMP_L 0x1 0 COMP_L>, <2 COMP_R 0x2 0 COMP_R>,
<3 LO 0x1 0 LO>, <4 DSD_L 0x1 0 DSD_L>,
<4 DSD_R 0x2 0 DSD_R>;
qcom,tx_swr_ch_map = <0 ADC1 0x1 0 ADC1>,
<1 ADC2 0x1 0 ADC3>, <1 ADC3 0x2 0 ADC4>,
<2 DMIC0 0x1 0 DMIC0>, <2 DMIC1 0x2 0 DMIC1>,
<2 MBHC 0x4 0 DMIC2>, <3 DMIC2 0x1 0 DMIC4>,
<3 DMIC3 0x2 0 DMIC5>, <3 DMIC4 0x4 0 DMIC6>,
<3 DMIC5 0x8 0 DMIC7>;

qcom,wcd-rst-gpio-node = <&wcd_rst_gpio>;
qcom,rx-slave = <&wcd937x_rx_slave>;
qcom,tx-slave = <&wcd937x_tx_slave>;

cdc-vdd-ldo-rxtx-supply = <&L10A>;
qcom,cdc-vdd-ldo-rxtx-voltage = <1800000 1800000>;
qcom,cdc-vdd-ldo-rxtx-current = <25000>;

cdc-vddpx-1-supply = <&L10A>;
qcom,cdc-vddpx-1-voltage = <1800000 1800000>;
qcom,cdc-vddpx-1-current = <10000>;

cdc-vdd-buck-supply = <&L15A>;
qcom,cdc-vdd-buck-voltage = <1800000 1800000>;
qcom,cdc-vdd-buck-current = <650000>;

cdc-vdd-mic-bias-supply = <&BOB>;
qcom,cdc-vdd-mic-bias-voltage = <3300000 3300000>;
qcom,cdc-vdd-mic-bias-current = <30000>;

qcom,cdc-micbias1-mv = <1800>;
qcom,cdc-micbias2-mv = <1800>;
qcom,cdc-micbias3-mv = <1800>;

qcom,cdc-static-supplies = "cdc-vdd-ldo-rxtx",
"cdc-vddpx-1",
"cdc-vdd-mic-bias";
qcom,cdc-on-demand-supplies = "cdc-vdd-buck";
};
};

&atoll_snd {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/qcom/atoll-audio.dtsi
Expand Up @@ -94,7 +94,7 @@
"msm-pcm-afe", "msm-lsm-client",
"msm-pcm-routing", "msm-compr-dsp",
"msm-pcm-dsp-noirq";
asoc-cpu = <&dai_dp>,
asoc-cpu = <&dai_dp>, <&dai_dp1>,
<&dai_mi2s0>, <&dai_mi2s1>,
<&dai_mi2s2>, <&dai_mi2s3>,
<&dai_mi2s4>, <&dai_mi2s5>, <&dai_pri_auxpcm>,
Expand Down Expand Up @@ -126,7 +126,7 @@
<&rx_cdc_dma_5_rx>, <&tx_cdc_dma_5_tx>,
<&rx_cdc_dma_6_rx>, <&rx_cdc_dma_7_rx>,
<&afe_loopback_tx>;
asoc-cpu-names = "msm-dai-q6-dp.24608",
asoc-cpu-names = "msm-dai-q6-dp.0", "msm-dai-q6-dp.1",
"msm-dai-q6-mi2s.0", "msm-dai-q6-mi2s.1",
"msm-dai-q6-mi2s.2", "msm-dai-q6-mi2s.3",
"msm-dai-q6-mi2s.4", "msm-dai-q6-mi2s.5",
Expand Down
42 changes: 0 additions & 42 deletions arch/arm64/boot/dts/qcom/atoll-camera.dtsi
Expand Up @@ -1244,46 +1244,4 @@
clock-rates = <0>;
status = "ok";
};

qcom,cam-lrme {
compatible = "qcom,cam-lrme";
arch-compat = "lrme";
status = "ok";
};

cam_lrme: qcom,lrme@ac6b000 {
cell-index = <0>;
compatible = "qcom,lrme";
reg-names = "lrme";
reg = <0xac6b000 0x1000>;
reg-cam-base = <0x6b000>;
interrupt-names = "lrme";
interrupts = <0 476 0>;
regulator-names = "camss";
camss-supply = <&titan_top_gdsc>;
clock-names = "camera_ahb",
"camera_axi",
"soc_ahb_clk",
"cpas_ahb_clk",
"camnoc_axi_clk",
"lrme_clk_src",
"lrme_clk";
clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>,
<&clock_gcc GCC_CAMERA_HF_AXI_CLK>,
<&clock_camcc CAM_CC_SOC_AHB_CLK>,
<&clock_camcc CAM_CC_CPAS_AHB_CLK>,
<&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
<&clock_camcc CAM_CC_LRME_CLK_SRC>,
<&clock_camcc CAM_CC_LRME_CLK>;
clock-rates = <0 0 0 0 0 200000000 200000000>,
<0 0 0 0 0 216000000 216000000>,
<0 0 0 0 0 300000000 300000000>,
<0 0 0 0 0 404000000 404000000>,
<0 0 0 0 0 404000000 404000000>,
<0 0 0 0 0 404000000 404000000>;
clock-cntl-level = "lowsvs", "svs", "svs_l1", "nominal",
"nominal_l1", "turbo";
src-clock-name = "lrme_clk_src";
status = "ok";
};
};
4 changes: 0 additions & 4 deletions arch/arm64/boot/dts/qcom/atoll-idp-overlay.dts
Expand Up @@ -24,7 +24,3 @@
qcom,msm-id = <407 0x0>;
qcom,board-id = <34 0>;
};

&dsi_rm69299_visionox_amoled_vid_display {
qcom,dsi-display-active;
};
4 changes: 0 additions & 4 deletions arch/arm64/boot/dts/qcom/atoll-idp.dts
Expand Up @@ -20,7 +20,3 @@
compatible = "qcom,atoll-idp", "qcom,atoll", "qcom,idp";
qcom,board-id = <34 0>;
};

&dsi_rm69299_visionox_amoled_vid_display {
qcom,dsi-display-active;
};

0 comments on commit 0be130a

Please sign in to comment.