android_kernel_xiaomi_sm8450/init/Kconfig.gki
Blagovest Kolenichev 72fdae88b0 Merge android-5.4-stable.32 (724ffa0) into msm-5.4
* refs/heads/tmp-724ffa0:
  Linux 5.4.32
  iommu/vt-d: Allow devices with RMRRs to use identity domain
  drm/i915: Fix ref->mutex deadlock in i915_active_wait()
  fbcon: fix null-ptr-deref in fbcon_switch
  blk-mq: Keep set->nr_hw_queues and set->map[].nr_queues in sync
  RDMA/cm: Update num_paths in cma_resolve_iboe_route error flow
  Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl
  RDMA/siw: Fix passive connection establishment
  RDMA/cma: Teach lockdep about the order of rtnl and lock
  RDMA/ucma: Put a lock around every call to the rdma_cm layer
  include/uapi/linux/swab.h: fix userspace breakage, use __BITS_PER_LONG for swap
  ceph: canonicalize server path in place
  ceph: remove the extra slashes in the server path
  ARM: imx: only select ARM_ERRATA_814220 for ARMv7-A
  ARM: imx: Enable ARM_ERRATA_814220 for i.MX6UL and i.MX7D
  IB/mlx5: Replace tunnel mpls capability bits for tunnel_offloads
  IB/hfi1: Fix memory leaks in sysfs registration and unregistration
  IB/hfi1: Call kobject_put() when kobject_init_and_add() fails
  ASoC: jz4740-i2s: Fix divider written at incorrect offset in register
  platform/x86: intel_int0002_vgpio: Use acpi_register_wakeup_handler()
  ACPI: PM: Add acpi_[un]register_wakeup_handler()
  hwrng: imx-rngc - fix an error path
  tools/accounting/getdelays.c: fix netlink attribute length
  slub: improve bit diffusion for freelist ptr obfuscation
  uapi: rename ext2_swab() to swab() and share globally in swab.h
  usb: dwc3: gadget: Wrap around when skip TRBs
  random: always use batched entropy for get_random_u{32,64}
  s390: prevent leaking kernel address in BEAR
  r8169: change back SG and TSO to be disabled by default
  mlxsw: spectrum_flower: Do not stop at FLOW_ACTION_VLAN_MANGLE
  tun: Don't put_page() for all negative return values from XDP program
  slcan: Don't transmit uninitialized stack data in padding
  net: stmmac: dwmac1000: fix out-of-bounds mac address reg setting
  net_sched: fix a missing refcnt in tcindex_init()
  net_sched: add a temporary refcnt for struct tcindex_data
  net: phy: micrel: kszphy_resume(): add delay after genphy_resume() before accessing PHY registers
  net: dsa: mt7530: fix null pointer dereferencing in port5 setup
  net: dsa: bcm_sf2: Ensure correct sub-node is parsed
  net: dsa: bcm_sf2: Do not register slave MDIO bus with OF
  ipv6: don't auto-add link-local address to lag ports
  cxgb4: fix MPS index overwrite when setting MAC address
  net: phy: realtek: fix handling of RTL8105e-integrated PHY
  ANDROID: ABI/Whitelist: add display whitelist to unisoc whitelist
  ANDROID: Kconfig.gki Add SND_SOC_TOPOLOGY
  ANDROID: GKI: enable CONFIG_ARM_PSCI_CPUIDLE
  ANDROID: power: wakeup_reason: wake reason enhancements
  UPSTREAM: cpufreq: Make cpufreq_global_kobject static
  ANDROID: staging: ion: implement vmap for built-in heaps
  ANDROID: KABI: Update kABI after dropping CONFIG_PCIEPORTBUS from gki_defconfig
  ANDROID: gki_defconfig: Drop CONFIG_PCIEPORTBUS
  FROMLIST: power_supply: Add additional health properties to the header
  UPSTREAM: power: supply: core: Update sysfs-class-power ABI document
  ANDROID: GKI: update ABI for mmc changes
  UPSTREAM: mmc: sdhci-sprd: Set the missing MMC_CAP_WAIT_WHILE_BUSY flag
  UPSTREAM: mmc: host: hsq: Add missing MODULE_LICENSE() and MODULE_DESCRIPTION()
  UPSTREAM: mmc: host: sdhci-sprd: Add software queue support
  UPSTREAM: mmc: host: sdhci: Add a variable to defer to complete requests if needed
  UPSTREAM: mmc: host: sdhci: Add request_done ops for struct sdhci_ops
  UPSTREAM: mmc: core: Enable the MMC host software queue for the SD card
  UPSTREAM: mmc: Add MMC host software queue support
  FROMGIT: kbuild: mkcompile_h: Include $LD version in /proc/version
  ANDROID: ignore compiler tag __must_check for GENKSYMS
  UPSTREAM: mfd: sc27xx: Add USB charger type detection support
  UPSTREAM: Revert "gpio: eic-sprd: Use devm_platform_ioremap_resource()"
  UPSTREAM: pinctrl: sprd: Add pin high impedance mode support
  UPSTREAM: pinctrl: sprd: Use the correct pin output configuration
  UPSTREAM: nvmem: sprd: Determine double data programming from device data
  UPSTREAM: nvmem: sprd: Optimize the block lock operation
  UPSTREAM: nvmem: sprd: Fix the block lock operation
  UPSTREAM: dmaengine: sprd: Set request pending flag when DMA controller is active
  Linux 5.4.31
  mm: mempolicy: require at least one nodeid for MPOL_PREFERRED
  padata: always acquire cpu_hotplug_lock before pinst->lock
  net: Fix Tx hash bound checking
  i2c: i801: Do not add ICH_RES_IO_SMI for the iTCO_wdt device
  watchdog: iTCO_wdt: Make ICH_RES_IO_SMI optional
  watchdog: iTCO_wdt: Export vendorsupport
  tcp: fix TFO SYNACK undo to avoid double-timestamp-undo
  IB/hfi1: Ensure pq is not left on waitlist
  rxrpc: Fix sendmsg(MSG_WAITALL) handling
  iwlwifi: dbg: don't abort if sending DBGC_SUSPEND_RESUME fails
  iwlwifi: yoyo: don't add TLV offset when reading FIFOs
  iwlwifi: consider HE capability when setting LDPC
  net/mlx5e: kTLS, Fix wrong value in record tracker enum
  soc: mediatek: knows_txdone needs to be set in Mediatek CMDQ helper
  ALSA: hda/ca0132 - Add Recon3Di quirk to handle integrated sound on EVGA X99 Classified motherboard
  Revert "dm: always call blk_queue_split() in dm_process_bio()"
  power: supply: axp288_charger: Add special handling for HP Pavilion x2 10
  extcon: axp288: Add wakeup support
  nvmem: check for NULL reg_read and reg_write before dereferencing
  mei: me: add cedar fork device ids
  coresight: do not use the BIT() macro in the UAPI header
  PCI: sysfs: Revert "rescan" file renames
  misc: pci_endpoint_test: Avoid using module parameter to determine irqtype
  misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devices
  misc: rtsx: set correct pcr_ops for rts522A
  brcmfmac: abort and release host after error
  padata: fix uninitialized return value in padata_replace()
  XArray: Fix xa_find_next for large multi-index entries
  net/mlx5e: kTLS, Fix TCP seq off-by-1 issue in TX resync flow
  tools/power turbostat: Fix 32-bit capabilities warning
  tools/power turbostat: Fix missing SYS_LPI counter on some Chromebooks
  tools/power turbostat: Fix gcc build warnings
  drm/amdgpu: fix typo for vcn1 idle check
  initramfs: restore default compression behavior
  drm/bochs: downgrade pci_request_region failure from error to warning
  drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017
  kconfig: introduce m32-flag and m64-flag
  nvme-rdma: Avoid double freeing of async event data
  ANDROID: GKI: update ABI for SCHED_AUTOGROUP removal
  ANDROID: GKI: Remove SCHED_AUTOGROUP
  ANDROID: fscrypt: fall back to filesystem-layer crypto when needed
  ANDROID: block: require drivers to declare supported crypto key type(s)
  ANDROID: block: make blk_crypto_start_using_mode() properly check for support
  ANDROID: GKI: defconfig: modify debug configs
  ANDROID: kbuild: ensure __cfi_check is correctly aligned
  FROMLIST: kmod: make request_module() return an error when autoloading is disabled
  UPSTREAM: loop: Only freeze block queue when needed.
  UPSTREAM: loop: Only change blocksize when needed.
  ANDROID: GKI: Fix ABI for CMA page allocation
  ANDROID: GKI: mm: add cma pcp list
  ANDROID: GKI: cma: redirect page allocation to CMA
  ANDROID: Fix wq fp check for CFI builds
  ANDROID: Incremental fs: Fix remount
  ANDROID: Incremental fs: Protect get_fill_block, and add a field
  ANDROID: Incremental fs: Fix crash polling 0 size read_log
  ANDROID: Incremental fs: get_filled_blocks: better index_out
  UPSTREAM: sched/rt: cpupri_find: Trigger a full search as fallback
  UPSTREAM: sched/rt: Remove unnecessary push for unfit tasks
  UPSTREAM: sched/rt: Allow pulling unfitting task
  UPSTREAM: sched/rt: Optimize cpupri_find() on non-heterogenous systems
  UPSTREAM: sched/rt: Re-instate old behavior in select_task_rq_rt()
  UPSTREAM: sched/rt: cpupri_find: Implement fallback mechanism for !fit case
  ANDROID: staging: ion: move definition of attachment
  ANDROID: Incremental fs: Fix four resource bugs
  ANDROID: GKI: Removed cuttlefish configs

Conflicts:
	drivers/base/power/wakeup.c
	drivers/irqchip/irq-gic-v3.c
	include/linux/gfp.h
	include/linux/highmem.h
	include/linux/mmc/host.h
	include/linux/mmzone.h
	include/uapi/linux/coresight-stm.h
	kernel/sched/cpupri.c
	kernel/sched/rt.c
	mm/page_alloc.c
	scripts/module-lto.lds.S

Change-Id: I1845fe7d1d0cd48d91f689565324a794b1a29f10
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2020-06-24 11:39:32 -07:00

199 lines
6.7 KiB
Plaintext

config GKI_HIDDEN_DRM_CONFIGS
bool "Hidden DRM configs needed for GKI"
select DRM_KMS_HELPER if (HAS_IOMEM && DRM)
select DRM_GEM_CMA_HELPER
select DRM_KMS_CMA_HELPER
select DRM_MIPI_DSI
select VIDEOMODE_HELPERS
select WANT_DEV_COREDUMP
help
Dummy config option used to enable hidden DRM configs.
These are normally selected implicitly when including a
DRM module, but for GKI, the modules are built out-of-tree.
config GKI_HIDDEN_REGMAP_CONFIGS
bool "Hidden Regmap configs needed for GKI"
select REGMAP_IRQ
select REGMAP_MMIO
help
Dummy config option used to enable hidden regmap configs.
These are normally selected implicitly when a module
that relies on it is configured.
config GKI_HIDDEN_CRYPTO_CONFIGS
bool "Hidden CRYPTO configs needed for GKI"
select CRYPTO_ENGINE
help
Dummy config option used to enable hidden CRYPTO configs.
These are normally selected implicitly when a module
that relies on it is configured.
config GKI_HIDDEN_SND_CONFIGS
bool "Hidden SND configs needed for GKI"
select SND_VMASTER
select SND_PCM_ELD
select SND_JACK
select SND_JACK_INPUT_DEV
help
Dummy config option used to enable hidden SND configs.
These are normally selected implicitly when a module
that relies on it is configured.
config GKI_HIDDEN_SND_SOC_CONFIGS
bool "Hidden SND_SOC configs needed for GKI"
select SND_SOC_GENERIC_DMAENGINE_PCM if (SND_SOC && SND)
select SND_PCM_IEC958
select SND_SOC_COMPRESS if (SND_SOC && SND)
select SND_SOC_TOPOLOGY if (SND_SOC && SND)
help
Dummy config option used to enable hidden SND_SOC configs.
These are normally selected implicitly when a module
that relies on it is configured.
config GKI_HIDDEN_MMC_CONFIGS
bool "Hidden MMC configs needed for GKI"
select MMC_SDHCI_IO_ACCESSORS if (MMC_SDHCI)
help
Dummy config option used to enable hidden MMC configs.
These are normally selected implicitly when a module
that relies on it is configured.
config GKI_HIDDEN_GPIO_CONFIGS
bool "Hidden GPIO configs needed for GKI"
select PINCTRL_SINGLE if (PINCTRL && OF && HAS_IOMEM)
select GPIO_PL061 if (HAS_IOMEM && ARM_AMBA && GPIOLIB)
help
Dummy config option used to enable hidden GPIO configs.
These are normally selected implicitly when a module
that relies on it is configured.
config GKI_HIDDEN_QCOM_CONFIGS
bool "Hidden QCOM configs needed for GKI"
select QCOM_SMEM_STATE
select QCOM_GDSC if (ARCH_QCOM)
select QCOM_SCM if (ARM64)
select QCOM_GDSC if (ARCH_QCOM)
select PINCTRL_MSM if (PINCTRL && ARCH_QCOM)
help
Dummy config option used to enable hidden QCOM configs.
These are normally selected implicitly when a module
that relies on it is configured.
config GKI_QCOM_CLKS_CONFIGS
bool "QCOM clk drivers needed for GKI due to powerdomain restrictions"
select QCOM_RPMHPD if (ARCH_QCOM)
help
This config option selects various QCOM clk drivers that
cannot be built as a module currently due to power-domain
deferred probing limitations.
See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e01afc32502555beb2057ddd74401be38475d851
config GKI_HIDDEN_MEDIA_CONFIGS
bool "Hidden Media configs needed for GKI"
select VIDEOBUF2_CORE
select MEDIA_SUPPORT
select FRAME_VECTOR
help
Dummy config option used to enable hidden media configs.
These are normally selected implicitly when a module
that relies on it is configured.
config GKI_HIDDEN_VIRTUAL_CONFIGS
bool "Hidden Virtual configs needed for GKI"
select HVC_DRIVER
help
Dummy config option used to enable hidden virtual device configs.
These are normally selected implicitly when a module
that relies on it is configured.
# LEGACY_WEXT_ALLCONFIG Discussed upstream, soundly rejected as a unique
# problem for GKI to solve. It should be noted that these extensions are
# in-effect deprecated and generally unsupported and we should pressure
# the SOC vendors to drop any modules that require these extensions.
config GKI_LEGACY_WEXT_ALLCONFIG
bool "Hidden wireless extension configs needed for GKI"
select WIRELESS_EXT
select WEXT_CORE
select WEXT_PROC
select WEXT_SPY
select WEXT_PRIV
help
Dummy config option used to enable all the hidden legacy wireless
extensions to the core wireless network functionality used by
add-in modules.
If you are not building a kernel to be used for a variety of
out-of-kernel built wireless modules, say N here.
config GKI_HIDDEN_USB_CONFIGS
bool "Hiddel USB configurations needed for GKI"
select USB_PHY
help
Dummy config option used to enable all USB related hidden configs.
These configurations are usually only selected by another config
option or a combination of them.
If you are not building a kernel to be used for a variety of
out-of-kernel build USB drivers, say N here.
config GKI_HIDDEN_SOC_BUS_CONFIGS
bool "Hidden SoC bus configuration needed for GKI"
select SOC_BUS
help
Dummy config option used to enable SOC_BUS hidden Kconfig.
The configuration is required for SoCs to register themselves to the bus.
If you are not building a kernel to be used for a variety of SoCs and
out-of-tree drivers, say N here.
config GKI_HIDDEN_RPMSG_CONFIGS
bool "Hidden RPMSG configuration needed for GKI"
select RPMSG
help
Dummy config option used to enable the hidden RPMSG config.
This configuration is usually only selected by another config
option or a combination of them.
If you are not building a kernel to be used for a variety of
out-of-kernel build RPMSG drivers, say N here.
config GKI_HIDDEN_HYPERVISOR_CONFIGS
bool "Hidden hypervisor configuration needed for GKI"
select SYS_HYPERVISOR
help
Dummy config option used to enable the SYS_HYPERVISOR hidden
config, required by various SoC platforms. This is usually
selected by XEN or S390.
# Atrocities needed for
# a) building GKI modules in separate tree, or
# b) building drivers that are not modularizable
#
# All of these should be reworked into an upstream solution
# if possible.
#
config GKI_HACKS_TO_FIX
bool "GKI Dummy config options"
select GKI_HIDDEN_CRYPTO_CONFIGS
select GKI_HIDDEN_DRM_CONFIGS
select GKI_HIDDEN_REGMAP_CONFIGS
select GKI_HIDDEN_SND_CONFIGS
select GKI_HIDDEN_SND_SOC_CONFIGS
select GKI_HIDDEN_MMC_CONFIGS
select GKI_HIDDEN_GPIO_CONFIGS
select GKI_HIDDEN_QCOM_CONFIGS
select GKI_LEGACY_WEXT_ALLCONFIG
select GKI_HIDDEN_MEDIA_CONFIGS
select GKI_HIDDEN_VIRTUAL_CONFIGS
select GKI_QCOM_CLKS_CONFIGS
select GKI_HIDDEN_USB_CONFIGS
select GKI_HIDDEN_SOC_BUS_CONFIGS
select GKI_HIDDEN_RPMSG_CONFIGS
select GKI_HIDDEN_HYPERVISOR_CONFIGS
help
Dummy config option used to enable core functionality used by
modules that may not be selectable in this config.
Unless you are building a GKI kernel to be used with modules
built from a different config, say N here.