Commit graph

814063 commits

Author SHA1 Message Date
Srinivasarao P
18ffdaaa38 Merge android-4.19-stable.113 (2b82910d) into msm-4.19
* refs/heads/tmp-2b82910d:
  Reverting incrementalfs, power,usb and scheduler changes
  ANDROID: Incremental fs: Fix four resource bugs
  ANDROID: Bulk update the ABI xml based on the referenced bugs.
  ANDROID: GKI: block: resolve ABI diff when CONFIG_BLK_DEV_BSG is unset
  ANDROID: GKI: bfq-iosched: update struct elevator_mq_ops ABI
  ANDROID: GKI: locking/rwsem: add vendor field to struct rw_semaphore
  ANDROID: GKI: fs: add umount_end() function to struct super_operations
  ANDROID: GKI: perf: Add fields for CPU hotplug feature
  ANDROID: GKI: perf: Add field for struct perf_event
  ANDROID: GKI: cpuset: add field for task affinity for cpusets
  UPSTREAM: ubifs: wire up FS_IOC_GET_ENCRYPTION_NONCE
  UPSTREAM: f2fs: wire up FS_IOC_GET_ENCRYPTION_NONCE
  UPSTREAM: ext4: wire up FS_IOC_GET_ENCRYPTION_NONCE
  UPSTREAM: fscrypt: add FS_IOC_GET_ENCRYPTION_NONCE ioctl
  UPSTREAM: usb: raw_gadget: fix compilation warnings in uapi headers
  BACKPORT: usb: gadget: add raw-gadget interface
  UPSTREAM: usb: gadget: move choice ... endchoice to legacy/Kconfig
  UPSTREAM: ipv6: ndisc: add support for 'PREF64' dns64 prefix identifier
  ANDROID: GKI: Removed cuttlefish configs
  ANDROID: GKI: Removed cuttlefish configs
  ANDROID: clang: update to 10.0.5
  FROMLIST: arm64: define __alloc_zeroed_user_highpage
  ANDROID: Incremental fs: Add INCFS_IOC_GET_FILLED_BLOCKS
  ANDROID: Incremental fs: Fix two typos
  ANDROID: GKI: Update ABI
  ANDROID: GKI: power_supply: add more soc properties
  ANDROID: GKI: Update ABI
  ANDROID: GKI: google_battery: return string type for serial_number property
  ANDROID: GKI: power: supply: Add APSD based power-supply properties
  ANDROID: GKI: power: supply: Remove "Wipower" PSY type
  ANDROID: GKI: power: supply: Add support for HVDCP_3P5
  ANDROID: GKI: power_supply: Define Debug Accessory Mode
  ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_AICL_*
  ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_ALIGNMENT
  ANDROID: GKI: power_supply: Add CP_ISNS_SLAVE power supply property
  ANDROID: GKI: power_supply: add properties to report parallel connection topology
  ANDROID: GKI: power_supply: add POWER_SUPPLY_PROP_IRQ_STATUS property
  ANDROID: GKI: power: supply: add CHARGE_CHARGER_STATE property
  ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_PTMC_ID
  ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_OTG_FASTROLESWAP
  ANDROID: GKI: power: supply: Add VOLTAGE_STEP property
  ANDROID: GKI: power: supply: Add AICL_DONE parameter
  ANDROID: GKI: power_supply: Add operating frequency property
  ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_CC_UAH
  ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_VOLTAGE_FIFO
  ANDROID: GKI: power: supply: Add capacity and resistance estimates
  ANDROID: GKI: power_supply: Add vendor specific dead battery property
  ANDROID: GKI: power-supply: add ADAPTER_DETAILS power supply property
  ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_CHARGE_DISABLE
  ANDROID: GKI: power: power_supply: Add property to display skin thermal status
  ANDROID: GKI: power_supply: Add properties to support PPS constant current(CC) mode
  ANDROID: GKI: power: power_supply: Add REAL_CAPACITY property
  ANDROID: GKI: power_supply: Add VOLTAGE_MAX_LIMIT power supply property
  ANDROID: GKI: power_supply: Add DC_RESET power-supply property
  ANDROID: GKI: power_supply: Add "THERM_ICL_LIMIT" property
  ANDROID: GKI: power_supply: add CHIP_VERSION property
  ANDROID: GKI: power-supply: Add VOLTAGE_VPH power supply property
  ANDROID: GKI: power_supply: Add SCALE_MODE_EN power-supply property
  ANDROID: GKI: power_supply: Add local extensions of string property names properly
  ANDROID: GKI: power_supply: add batt_age_level property
  ANDROID: GKI: power-supply: Add CC_SOC power supply property
  ANDROID: GKI: power_supply: add property to disable QC userspace optimizations
  ANDROID: GKI: power: power_supply: Add FG_RESET power supply property
  ANDROID: GKI: power_supply: Add power supply type "Charge Pump"
  ANDROID: GKI: power: supply: Add snapshot of power supply framework files
  ANDROID: GKI: power: power_supply: Add property CHARGE_COUNTER_EXT and 64-bit precision properties
  ANDROID: GKI: power: power_supply: add POWER_SUPPLY_PROP_CHARGE_ENABLED
  ANDROID: GKI: power: power_supply: add POWER_SUPPLY_PROP_USB_OTG
  ANDROID: GKI: power: power_supply: Add custom property for USB High Current mode
  UPSTREAM: coresight: Potential uninitialized variable in probe()
  ANDROID: GKI: Update ABI.
  ANDROID: GKI: Add API to create pagetable mappings.
  ANDROID: GKI: drivers: usb: Add functions usb_func_ep_queue/usb_func_wakeup
  ANDROID: GKI: Add API usb_ep_autoconfig_by_name
  ANDROID: GKI: usb: core: Add helper function to return controller id
  ANDROID: dm-bow: Fix free_show value is incorrect
  ANDROID: GKI: update ABI after fixing cfg80211_chan_def diff
  BACKPORT: nl80211: Add support for EDMG channels
  FROMGIT: sched/rt: cpupri_find: Trigger a full search as fallback
  FROMGIT: sched/rt: Remove unnecessary push for unfit tasks
  BACKPORT: FROMGIT: sched/rt: Allow pulling unfitting task
  FROMGIT: sched/rt: Optimize cpupri_find() on non-heterogenous systems
  FROMGIT: sched/rt: Re-instate old behavior in select_task_rq_rt()
  BACKPORT: FROMGIT: sched/rt: cpupri_find: Implement fallback mechanism for !fit case
  ANDROID: GKI: re-enable LTO, CFI and SCS

 Conflicts:
	arch/arm64/mm/mmu.c
	drivers/net/wireless/ath/wil6210/cfg80211.c
	drivers/usb/gadget/Kconfig
	include/linux/memblock.h
	include/linux/perf_event.h
	include/linux/rwsem.h
	include/uapi/linux/nl80211.h

Change-Id: I7aa8a1712c323fc5a2eced52a07bfb6df6996ba0
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2020-07-16 20:55:24 +05:30
Srinivasarao P
de3445c0b9 Reverting incrementalfs, power,usb and scheduler changes
Reverting below changes from android-4.19-stable.113

	8794e1e ANDROID: Incremental fs: Fix four resource bugs
	05cf04f ANDROID: Incremental fs: Add INCFS_IOC_GET_FILLED_BLOCKS
	f2e257e ANDROID: Incremental fs: Fix two typos
	5635d76 ANDROID: GKI: power_supply: add more soc properties
	363ef6d ANDROID: GKI: google_battery: return string type for serial_number property
	0de5e99 ANDROID: GKI: power: supply: Add APSD based power-supply properties
	c5bdb84 ANDROID: GKI: power: supply: Remove "Wipower" PSY type
	8eb8836 ANDROID: GKI: power: supply: Add support for HVDCP_3P5
	4c6b35a ANDROID: GKI: power_supply: Define Debug Accessory Mode
	f022b12 ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_AICL_*
	caaeb5f ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_ALIGNMENT
	63ea9d3 ANDROID: GKI: power_supply: Add CP_ISNS_SLAVE power supply property
	cb77fe7 ANDROID: GKI: power_supply: add properties to report parallel connection topology
	f7b1631 ANDROID: GKI: power_supply: add POWER_SUPPLY_PROP_IRQ_STATUS property
	3eef557 ANDROID: GKI: power: supply: add CHARGE_CHARGER_STATE property
	aadbdee ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_PTMC_ID
	4f70929 ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_OTG_FASTROLESWAP
	d46562a ANDROID: GKI: power: supply: Add VOLTAGE_STEP property
	abcee9a ANDROID: GKI: power: supply: Add AICL_DONE parameter
	c4bb7e5 ANDROID: GKI: power_supply: Add operating frequency property
	958192f ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_CC_UAH
	c4b94d4 ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_VOLTAGE_FIFO
	d8fb4a9 ANDROID: GKI: power: supply: Add capacity and resistance estimates
	cd5c0c7 ANDROID: GKI: power_supply: Add vendor specific dead battery property
	6c9a854 ANDROID: GKI: power-supply: add ADAPTER_DETAILS power supply property
	e90672c ANDROID: GKI: power: supply: Add POWER_SUPPLY_PROP_CHARGE_DISABLE
	554dd9d ANDROID: GKI: power: power_supply: Add property to display skin thermal status
	55d9887 ANDROID: GKI: power_supply: Add properties to support PPS constant current(CC) mode
	954e48c ANDROID: GKI: power: power_supply: Add REAL_CAPACITY property
	913ef30 ANDROID: GKI: power_supply: Add VOLTAGE_MAX_LIMIT power supply property
	1b3d52f ANDROID: GKI: power_supply: Add DC_RESET power-supply property
	1dbd6b4 ANDROID: GKI: power_supply: Add "THERM_ICL_LIMIT" property
	8b94d07 ANDROID: GKI: power_supply: add CHIP_VERSION property
	d4ce1e6 ANDROID: GKI: power-supply: Add VOLTAGE_VPH power supply property
	2193e75 ANDROID: GKI: power_supply: Add SCALE_MODE_EN power-supply property
	e419098 ANDROID: GKI: power_supply: Add local extensions of string property names properly
	e58a053 ANDROID: GKI: power_supply: add batt_age_level property
	eecc3db ANDROID: GKI: power-supply: Add CC_SOC power supply property
	48c932a ANDROID: GKI: power_supply: add property to disable QC userspace optimizations
	2c0ee0e ANDROID: GKI: power: power_supply: Add FG_RESET power supply property
	ab63e51 ANDROID: GKI: power_supply: Add power supply type "Charge Pump"
	7c08ec15 ANDROID: GKI: power: supply: Add snapshot of power supply framework files
	8e68102 ANDROID: GKI: power: power_supply: Add property CHARGE_COUNTER_EXT and 64-bit precision properties
	1d4485a ANDROID: GKI: power: power_supply: add POWER_SUPPLY_PROP_CHARGE_ENABLED
	d50f384 ANDROID: GKI: power: power_supply: add POWER_SUPPLY_PROP_USB_OTG
	76daf69 ANDROID: GKI: power: power_supply: Add custom property for USB High Current mode
	b582ef5b ANDROID: GKI: drivers: usb: Add functions usb_func_ep_queue/usb_func_wakeup
	34f6bfd ANDROID: GKI: Add API usb_ep_autoconfig_by_name
	7ff8c34 ANDROID: GKI: usb: core: Add helper function to return controller id
	b38208f FROMGIT: sched/rt: cpupri_find: Trigger a full search as fallback
	32061ff FROMGIT: sched/rt: Remove unnecessary push for unfit tasks
	8efce17 BACKPORT: FROMGIT: sched/rt: Allow pulling unfitting task
	2bf4a52 FROMGIT: sched/rt: Optimize cpupri_find() on non-heterogenous systems
	27d84b6 FROMGIT: sched/rt: Re-instate old behavior in select_task_rq_rt()
	ca79ac3 BACKPORT: FROMGIT: sched/rt: cpupri_find: Implement fallback mechanism for !fit case

Change-Id: Ifa8ee358e5b368f18e04cb762cf594c7c240bbf6
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2020-07-16 19:29:29 +05:30
Srinivasarao P
c161b2d152 Merge android-4.19.113 (248555d) into msm-4.19
* refs/heads/tmp-248555d:
  Linux 4.19.113
  staging: greybus: loopback_test: fix potential path truncations
  staging: greybus: loopback_test: fix potential path truncation
  drm/bridge: dw-hdmi: fix AVI frame colorimetry
  arm64: smp: fix crash_smp_send_stop() behaviour
  arm64: smp: fix smp_send_stop() behaviour
  ALSA: hda/realtek: Fix pop noise on ALC225
  Revert "ipv6: Fix handling of LLA with VRF and sockets bound to VRF"
  Revert "vrf: mark skb for multicast or link-local as enslaved to VRF"
  futex: Unbreak futex hashing
  futex: Fix inode life-time issue
  kbuild: Disable -Wpointer-to-enum-cast
  iio: light: vcnl4000: update sampling periods for vcnl4200
  USB: cdc-acm: fix rounding error in TIOCSSERIAL
  USB: cdc-acm: fix close_delay and closing_wait units in TIOCSSERIAL
  x86/mm: split vmalloc_sync_all()
  page-flags: fix a crash at SetPageError(THP_SWAP)
  mm, slub: prevent kmalloc_node crashes and memory leaks
  mm: slub: be more careful about the double cmpxchg of freelist
  memcg: fix NULL pointer dereference in __mem_cgroup_usage_unregister_event
  drm/lease: fix WARNING in idr_destroy
  drm/amd/amdgpu: Fix GPR read from debugfs (v2)
  btrfs: fix log context list corruption after rename whiteout error
  xhci: Do not open code __print_symbolic() in xhci trace events
  rtc: max8907: add missing select REGMAP_IRQ
  intel_th: pci: Add Elkhart Lake CPU support
  intel_th: Fix user-visible error codes
  staging/speakup: fix get_word non-space look-ahead
  staging: greybus: loopback_test: fix poll-mask build breakage
  staging: rtl8188eu: Add device id for MERCUSYS MW150US v2
  mmc: sdhci-of-at91: fix cd-gpios for SAMA5D2
  mmc: rtsx_pci: Fix support for speed-modes that relies on tuning
  iio: adc: at91-sama5d2_adc: fix differential channels in triggered mode
  iio: magnetometer: ak8974: Fix negative raw values in sysfs
  iio: trigger: stm32-timer: disable master mode when stopping
  iio: st_sensors: remap SMO8840 to LIS2DH12
  ALSA: pcm: oss: Remove WARNING from snd_pcm_plug_alloc() checks
  ALSA: pcm: oss: Avoid plugin buffer overflow
  ALSA: seq: oss: Fix running status after receiving sysex
  ALSA: seq: virmidi: Fix running status after receiving sysex
  ALSA: line6: Fix endless MIDI read loop
  usb: xhci: apply XHCI_SUSPEND_DELAY to AMD XHCI controller 1022:145c
  USB: serial: pl2303: add device-id for HP LD381
  usb: host: xhci-plat: add a shutdown
  USB: serial: option: add ME910G1 ECM composition 0x110b
  usb: quirks: add NO_LPM quirk for RTL8153 based ethernet adapters
  USB: Disable LPM on WD19's Realtek Hub
  parse-maintainers: Mark as executable
  block, bfq: fix overwrite of bfq_group pointer in bfq_find_set_group()
  xenbus: req->err should be updated before req->state
  xenbus: req->body should be updated before req->state
  drm/amd/display: fix dcc swath size calculations on dcn1
  drm/amd/display: Clear link settings on MST disable connector
  riscv: avoid the PIC offset of static percpu data in module beyond 2G limits
  dm integrity: use dm_bio_record and dm_bio_restore
  dm bio record: save/restore bi_end_io and bi_integrity
  altera-stapl: altera_get_note: prevent write beyond end of 'key'
  drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer
  drm/exynos: dsi: fix workaround for the legacy clock name
  drm/exynos: dsi: propagate error value and silence meaningless warning
  spi/zynqmp: remove entry that causes a cs glitch
  spi: pxa2xx: Add CS control clock quirk
  ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes
  powerpc: Include .BTF section
  spi: qup: call spi_qup_pm_resume_runtime before suspending
  drm/mediatek: Find the cursor plane instead of hard coding it
  ANDROID: ABI: Update ABI with CONFIG_SOC_BUS enabled
  ANDROID: GKI: Add CONFIG_SOC_BUS to gki_defconfig
  ANDROID: kbuild: do not merge .section..* into .section in modules
  ANDROID: scsi: ufs: add ->map_sg_crypto() variant op
  ANDROID: GKI: Update ABI after fixing vm_event_item diffs
  ANDROID: GKI: mm: vmstat: add pageoutclean
  ANDROID: GKI: mm: add struct/enum fields for SPECULATIVE_PAGE_FAULTS
  ANDROID: GKI: Update ABI after fixing mm diffs
  ANDROID: GKI: Add write_pending and max_writes fields to swap_info_struct
  ANDROID: GKI: memblock: Add memblock_overlaps_memory() to fix ABI diff
  ANDROID: GKI: net: remove conditional members causing ABI diffs
  ANDROID: GKI: mm: introduce NR_UNRECLAIMABLE_PAGES
  ANDROID: GKI: Update ABI
  ANDROID: GKI: sound: soc: Resolve ABI diff for struct snd_compr_stream
  ANDROID: GKI: sound: pcm: Add field hw_no_buffer to snd_pcm_substream
  ANDROID: GKI: ALSA: core: Add snd_soc_card_change_online_state() API
  ANDROID: GKI: SoC: core: Introduce macro SOC_SINGLE_MULTI_EXT
  ANDROID: GKI: ALSA: PCM: User control API implementation
  ANDROID: GKI: ALSA: PCM: volume API implementation
  ANDROID: GKI: kernel: tick-sched: Add API to get the next wakeup for a CPU
  ANDROID: GKI: extcon: Add extcon_register_blocking_notifier API.
  UPSTREAM: bpf: Explicitly memset some bpf info structures declared on the stack
  UPSTREAM: bpf: Explicitly memset the bpf_attr structure
  ANDROID: ABI: Update abi after enabling CONFIG_USB_PHY
  ANDROID: GKI: Enable CONFIG_USB_PHY for usb drivers like dwc3
  UPSTREAM: driver core: Add device link support for SYNC_STATE_ONLY flag
  ANDROID: Conflict fix for merging 4.19.112

 Conflicts:
	arch/arm64/kernel/smp.c
	drivers/extcon/extcon.c
	include/linux/extcon.h
	include/linux/mm.h
	include/linux/mm_types.h
	include/linux/vm_event_item.h
	include/sound/core.h
	kernel/time/tick-sched.c
	mm/vmstat.c
	sound/core/init.c
	sound/soc/soc-core.c

Change-Id: Ibffc219e0859b7d5c9580c930664eea5b822a704
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2020-07-16 18:45:03 +05:30
Srinivasarao P
d120fe2157 Merge android-4.19.112 (417d28a) into msm-4.19
* refs/heads/tmp-417d28a:
  Reverting rmnet, incrementalfs changes from android-4.19.112
  UPSTREAM: driver core: Add device link support for SYNC_STATE_ONLY flag
  Revert "ANDROID: driver core: Add device link support for SYNC_STATE_ONLY flag"
  ANDROID: update the ABI xml representation
  ANDROID: GKI: Enable V4L2 hidden configs
  Linux 4.19.112
  ipv4: ensure rcu_read_lock() in cipso_v4_error()
  efi: Fix debugobjects warning on 'efi_rts_work'
  HID: google: add moonball USB id
  mm: slub: add missing TID bump in kmem_cache_alloc_bulk()
  ARM: 8958/1: rename missed uaccess .fixup section
  ARM: 8957/1: VDSO: Match ARMv8 timer in cntvct_functional()
  net: qrtr: fix len of skb_put_padto in qrtr_node_enqueue
  driver core: Fix creation of device links with PM-runtime flags
  driver core: Remove device link creation limitation
  driver core: Add device link flag DL_FLAG_AUTOPROBE_CONSUMER
  driver core: Make driver core own stateful device links
  driver core: Fix adding device links to probing suppliers
  driver core: Remove the link if there is no driver with AUTO flag
  mmc: sdhci-omap: Fix Tuning procedure for temperatures < -20C
  mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning
  wimax: i2400: Fix memory leak in i2400m_op_rfkill_sw_toggle
  wimax: i2400: fix memory leak
  jbd2: fix data races at struct journal_head
  sfc: fix timestamp reconstruction at 16-bit rollover points
  net: rmnet: fix packet forwarding in rmnet bridge mode
  net: rmnet: fix bridge mode bugs
  net: rmnet: use upper/lower device infrastructure
  net: rmnet: do not allow to change mux id if mux id is duplicated
  net: rmnet: remove rcu_read_lock in rmnet_force_unassociate_device()
  net: rmnet: fix suspicious RCU usage
  net: rmnet: fix NULL pointer dereference in rmnet_changelink()
  net: rmnet: fix NULL pointer dereference in rmnet_newlink()
  hinic: fix a bug of setting hw_ioctxt
  hinic: fix a irq affinity bug
  slip: not call free_netdev before rtnl_unlock in slip_open
  signal: avoid double atomic counter increments for user accounting
  mac80211: rx: avoid RCU list traversal under mutex
  net: ks8851-ml: Fix IRQ handling and locking
  net: usb: qmi_wwan: restore mtu min/max values after raw_ip switch
  scsi: libfc: free response frame from GPN_ID
  cfg80211: check reg_rule for NULL in handle_channel_custom()
  HID: i2c-hid: add Trekstor Surfbook E11B to descriptor override
  HID: apple: Add support for recent firmware on Magic Keyboards
  ACPI: watchdog: Allow disabling WDAT at boot
  mmc: host: Fix Kconfig warnings on keystone_defconfig
  mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)
  mmc: sdhci-omap: Add platform specific reset callback
  perf/amd/uncore: Replace manual sampling check with CAP_NO_INTERRUPT flag
  ANDROID: GKI: Enable CONFIG_BACKLIGHT_CLASS_DEVICE in gki_defconfig
  ANDROID: Incremental fs: Add INCFS_IOC_PERMIT_FILL
  ANDROID: Incremental fs: Remove signature checks from kernel
  ANDROID: Incremental fs: Pad hash blocks
  ANDROID: Incremental fs: Make fill block an ioctl
  ANDROID: Incremental fs: Remove all access_ok checks

 Conflicts:
	net/qrtr/qrtr.c

Change-Id: I8148fa8ed43dfc13b2ee6333573df1d93b14db87
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2020-07-16 16:22:32 +05:30
Srinivasarao P
9d9282156f Reverting rmnet, incrementalfs changes from android-4.19.112
5043d35 net: rmnet: fix packet forwarding in rmnet bridge mode
8cf81bf net: rmnet: fix bridge mode bugs
7997816 net: rmnet: use upper/lower device infrastructure
48c5bfb net: rmnet: do not allow to change mux id if mux id is duplicated
7111ec0 net: rmnet: remove rcu_read_lock in rmnet_force_unassociate_device()
5cd211a net: rmnet: fix suspicious RCU usage
be04535 net: rmnet: fix NULL pointer dereference in rmnet_changelink()
71ae5b6 net: rmnet: fix NULL pointer dereference in rmnet_newlink()
1530be5 ANDROID: Incremental fs: Add INCFS_IOC_PERMIT_FILL
73e7d65 ANDROID: Incremental fs: Remove signature checks from kernel
5380963 ANDROID: Incremental fs: Pad hash blocks
70539f7 ANDROID: Incremental fs: Make fill block an ioctl
e2999b3 ANDROID: Incremental fs: Remove all access_ok checks

Change-Id: I4d874a3e4f146064031bfa63a611b0832e9ec82a
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2020-07-16 16:14:01 +05:30
Srinivasarao P
bf97791c2c Merge android-4.19.111 (bfe2901) into msm-4.19
* refs/heads/tmp-bfe2901:
  Linux 4.19.111
  batman-adv: Avoid free/alloc race when handling OGM2 buffer
  efi: Add a sanity check to efivar_store_raw()
  net/smc: cancel event worker during device removal
  net/smc: check for valid ib_client_data
  ipv6: restrict IPV6_ADDRFORM operation
  i2c: acpi: put device when verifying client fails
  iommu/vt-d: Ignore devices with out-of-spec domain number
  iommu/vt-d: Fix the wrong printing in RHSA parsing
  netfilter: nft_tunnel: add missing attribute validation for tunnels
  netfilter: nft_payload: add missing attribute validation for payload csum flags
  netfilter: cthelper: add missing attribute validation for cthelper
  perf bench futex-wake: Restore thread count default to online CPU count
  nl80211: add missing attribute validation for channel switch
  nl80211: add missing attribute validation for beacon report scanning
  nl80211: add missing attribute validation for critical protocol indication
  i2c: gpio: suppress error on probe defer
  drm/i915/gvt: Fix unnecessary schedule timer when no vGPU exits
  pinctrl: core: Remove extra kref_get which blocks hogs being freed
  pinctrl: meson-gxl: fix GPIOX sdio pins
  batman-adv: Don't schedule OGM for disabled interface
  iommu/vt-d: Fix a bug in intel_iommu_iova_to_phys() for huge page
  iommu/vt-d: dmar: replace WARN_TAINT with pr_warn + add_taint
  iommu/dma: Fix MSI reservation allocation
  x86/mce: Fix logic and comments around MSR_PPIN_CTL
  mt76: fix array overflow on receiving too many fragments for a packet
  efi: Make efi_rts_work accessible to efi page fault handler
  efi: Fix a race and a buffer overflow while reading efivars via sysfs
  macintosh: windfarm: fix MODINFO regression
  ARC: define __ALIGN_STR and __ALIGN symbols for ARC
  KVM: x86: clear stale x86_emulate_ctxt->intercept value
  gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache
  cifs_atomic_open(): fix double-put on late allocation failure
  ktest: Add timeout for ssh sync testing
  drm/amd/display: remove duplicated assignment to grph_obj_type
  workqueue: don't use wq_select_unbound_cpu() for bound works
  netfilter: x_tables: xt_mttg_seq_next should increase position index
  netfilter: xt_recent: recent_seq_next should increase position index
  netfilter: synproxy: synproxy_cpu_seq_next should increase position index
  netfilter: nf_conntrack: ct_cpu_seq_next should increase position index
  iommu/vt-d: quirk_ioat_snb_local_iommu: replace WARN_TAINT with pr_warn + add_taint
  virtio-blk: fix hw_queue stopped on arbitrary error
  iwlwifi: mvm: Do not require PHY_SKU NVM section for 3168 devices
  cgroup: Iterate tasks that did not finish do_exit()
  cgroup: cgroup_procs_next should increase position index
  macvlan: add cond_resched() during multicast processing
  net: fec: validate the new settings in fec_enet_set_coalesce()
  slip: make slhc_compress() more robust against malicious packets
  bonding/alb: make sure arp header is pulled before accessing it
  devlink: validate length of region addr/len
  tipc: add missing attribute validation for MTU property
  net/ipv6: remove the old peer route if change it to a new one
  net/ipv6: need update peer route when modify metric
  selftests/net/fib_tests: update addr_metric_test for peer route testing
  net: phy: fix MDIO bus PM PHY resuming
  nfc: add missing attribute validation for vendor subcommand
  nfc: add missing attribute validation for deactivate target
  nfc: add missing attribute validation for SE API
  team: add missing attribute validation for array index
  team: add missing attribute validation for port ifindex
  net: fq: add missing attribute validation for orphan mask
  macsec: add missing attribute validation for port
  can: add missing attribute validation for termination
  nl802154: add missing attribute validation for dev_type
  nl802154: add missing attribute validation
  fib: add missing attribute validation for tun_id
  devlink: validate length of param values
  net: memcg: fix lockdep splat in inet_csk_accept()
  net: memcg: late association of sock to memcg
  cgroup: memcg: net: do not associate sock with unrelated cgroup
  bnxt_en: reinitialize IRQs when MTU is modified
  sfc: detach from cb_page in efx_copy_channel()
  r8152: check disconnect status after long sleep
  net: systemport: fix index check to avoid an array out of bounds access
  net: stmmac: dwmac1000: Disable ACS if enhanced descs are not used
  net/packet: tpacket_rcv: do not increment ring index on drop
  net: nfc: fix bounds checking bugs on "pipe"
  net: macsec: update SCI upon MAC address change.
  netlink: Use netlink header as base to calculate bad attribute offset
  net/ipv6: use configured metric when add peer route
  ipvlan: don't deref eth hdr before checking it's set
  ipvlan: do not use cond_resched_rcu() in ipvlan_process_multicast()
  ipvlan: do not add hardware address of master to its unicast filter list
  ipvlan: add cond_resched_rcu() while processing muticast backlog
  ipv6/addrconf: call ipv6_mc_up() for non-Ethernet interface
  inet_diag: return classid for all socket types
  gre: fix uninit-value in __iptunnel_pull_header
  cgroup, netclassid: periodically release file_lock on classid updating
  net: phy: Avoid multiple suspends
  phy: Revert toggling reset changes.
  ANDROID: kbuild: fix module linker script flags for LTO
  ANDROID: kbuild: avoid excessively long argument lists
  UPSTREAM: cgroup: Iterate tasks that did not finish do_exit()
  ANDROID: update the ABI xml representation
  Revert "ANDROID: gki_defconfig: Temporarily disable CFI"
  ANDROID: GKI: dma-buf: Add support for XXX_cpu_access_umapped ops
  ANDROID: GKI: dma-buf: Add support to set a destructor on a dma-buf
  ANDROID: GKI: dma-buf: use spinlock to protect set/get name operation
  ANDROID: GKI: dma-buf: Add support to get flags associated with a buffer
  ANDROID: GKI: dma-buf: Add support for mapping buffers with DMA attributes
  ANDROID: GKI: dma-buf: Add support for partial cache maintenance
  ANDROID: GKI: arm64: mm: Support setting removed_dma_ops in arch_setup_dma_ops
  ANDROID: GKI: drivers: Add dma removed ops
  ANDROID: GKI: add dma_map_ops remap/unremap operations
  ANDROID: Add build.config files for ARM 32-bit
  ANDROID: GKI: update abi due to CONFIG_JUMP_LABEL being enabled
  ANDROID: GKI: enable CONFIG_JUMP_LABEL
  ANDROID: Add build.config.gki-debug.x86_64
  ANDROID: Add build.config.gki-debug.aarch64

 Conflicts:
	arch/arm64/mm/dma-mapping.c
	drivers/dma-buf/dma-buf.c
	include/linux/dma-buf.h
	include/linux/dma-mapping.h
	kernel/dma/removed.c

Change-Id: Ib51bde74d4edba43447c670e9a8d5f9fd3691db2
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2020-07-16 13:51:27 +05:30
qctecmdr
26fe55336f Merge "defconfig: msm: Sync Lito with Android-4.19 configs" 2020-07-15 18:08:28 -07:00
Sharath Chandra Vurukala
f64a317022 config: enable VETH support for lito
enable support for VETH on lito

Change-Id: I73a94fdf88fe28e02954729f8007b32e700c54e5
Signed-off-by: Sharath Chandra Vurukala <sharathv@codeaurora.org>
2020-07-13 05:23:50 -07:00
Neeraj Upadhyay
2488f10ef4 defconfig: msm: Sync Lito with Android-4.19 configs
Update Lito configuration to be in sync with latest
Android-4.19 configs.

Change-Id: I823d835b47c1479297c1ec3f2d6441454cf53831
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2020-07-13 03:52:24 -07:00
qctecmdr
74de771171 Merge "defconfig: msm: Sync Kona with Android-4.19 configs" 2020-07-10 06:06:33 -07:00
qctecmdr
c59444ae56 Merge "soc: qcom: pil: Add support for sequential loading property" 2020-07-10 06:06:33 -07:00
qctecmdr
299339a73b Merge "defconfig: msm: Enable dynamic stack registration for Lito" 2020-07-10 06:06:32 -07:00
qctecmdr
cbaa1553cc Merge "soc: qcom: Add support to enable eud if enabled in xbl" 2020-07-10 06:06:32 -07:00
qctecmdr
b13542950e Merge "sched: Improve the scheduler" 2020-07-09 23:56:48 -07:00
qctecmdr
e04e04f912 Merge "sched/fair: skip 6% energy check when best_energy_cpu is idle" 2020-07-09 23:56:48 -07:00
qctecmdr
6b31883f23 Merge "power: qpnp-smblite: Add support for torch and charger concurrences" 2020-07-09 23:56:48 -07:00
qctecmdr
3a4bfe3581 Merge "drm/msm: Update UAPI flags for PCC to support L/R configuration" 2020-07-09 23:56:46 -07:00
Komal Bajaj
85b5da7b1c soc: qcom: Add support to enable eud if enabled in xbl
If eud driver is enabled in xbl, there was a explicit need
to enable eud from hlos side also. This change enables eud
if eud_mode_manager2 register is set.

Change-Id: I4f99d2fddb36f196514296302c67b75e73545632
Signed-off-by: Komal Bajaj <kbajaj@codeaurora.org>
2020-07-09 23:05:42 -07:00
Satya Durga Srinivasu Prabhala
cf91ab5170 sched/fair: skip 6% energy check when best_energy_cpu is idle
Even though best_energy_cpu is idle and which would consume
same amount of enery as prev cpu, due to 6% check with prev cpu,
we end up chosing prev cpu over best_energy_cpu for the tasks.
This leads to increase in runnables. Choose best_energy_cpu when
it is idle and shallowest c-state over prev cpu in such scenarios
to avoid runnables.

Change-Id: Ib9eee263640bcd43bd80f8f777a8312585991bc5
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-07-09 14:13:57 -07:00
Satya Durga Srinivasu Prabhala
e02e81003a sched: Improve the scheduler
This change is for general scheduler improvements.

Change-Id: Iaefb893a84055748be7f2108179e3b869ac00318
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-07-09 13:54:51 -07:00
Gaurav Kohli
7d6488dd6c soc: qcom: pil: Add support for sequential loading property
Add support for sequential loading property to be read from
device-tree.

Change-Id: I005293bc369328ee07de671d3fe08e7f26e285b8
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
Signed-off-by: Shadab Naseem <snaseem@codeaurora.org>
2020-07-09 23:23:24 +05:30
qctecmdr
a80a92ab40 Merge "scsi: ufs: Fix imbalanced scsi_block_reqs_cnt caused by ufshcd_hold()" 2020-07-09 05:16:22 -07:00
qctecmdr
9f3a37c326 Merge "defconfig: Enable Incremental FS support" 2020-07-09 05:16:21 -07:00
qctecmdr
d5f0493e44 Merge "scsi: ufs: Resume ufs host before accessing controller register" 2020-07-09 05:16:21 -07:00
qctecmdr
ff5b299ac2 Merge "crypto: msm: Support SHA384 & SHA512" 2020-07-09 05:16:21 -07:00
qctecmdr
857969df14 Merge "devfreq: Add support to configure bus dcvs sampling interval" 2020-07-09 05:16:21 -07:00
qctecmdr
22fbd3733f Merge "drivers: net: rmnet: Fix printk related warnings" 2020-07-09 05:16:20 -07:00
qctecmdr
08fea21df1 Merge "msm: kgsl: Set correct values for SMMU protect register for A5xx" 2020-07-09 05:16:20 -07:00
qctecmdr
151407000c Merge "config: enable VETH support for kona" 2020-07-09 05:16:19 -07:00
Kavya Nunna
604cfc2503 power: qpnp-smblite: Add support for torch and charger concurrences
Reduce the ICL value by 300ma for charger and torch concurrences,
to avoid surge on USBIN due to the extra current drawn by torch.

Change-Id: I77936db266f4e5309fcd7827efdfea3c1cced62d
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
2020-07-09 14:01:16 +05:30
Gaurav Kohli
7991612c47 defconfig: msm: Sync Kona with Android-4.19 configs
Update Kona configuration to be in sync with Android-4.19
configs.

Change-Id: I8e82740a81389b2ad92023f519a549d570ed4c2d
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2020-07-09 13:38:07 +05:30
qctecmdr
702cade008 Merge "msm:npu: prevent fmax_pwrlvl to be used uninitialized" 2020-07-09 01:03:28 -07:00
qctecmdr
6db16a94e2 Merge "soc: qcom: spcom: pr_fmt to print function name" 2020-07-09 01:03:27 -07:00
qctecmdr
8a288d6ab7 Merge "power: smb5-lib: Report the CURRENT_MAX as 1A in CC-mode" 2020-07-09 01:03:27 -07:00
qctecmdr
ff9ea4efbc Merge "msm: kgsl: Put a keep alive vote before updating CP_RB_WPTR" 2020-07-09 01:03:26 -07:00
qctecmdr
806d3879eb Merge "genetlink: remove genl_bind" 2020-07-09 01:03:26 -07:00
qctecmdr
9d7d9ab11f Merge "msm: ipa: Fix updating the doobell for WDI3" 2020-07-09 01:03:26 -07:00
qctecmdr
59a73548f3 Merge "mhi: core: Move to error state as soon as RDDM is detected" 2020-07-09 01:03:25 -07:00
qctecmdr
03161634b1 Merge "arm64: break while loop if task had been rescheduled" 2020-07-09 01:03:25 -07:00
qctecmdr
b90fc42a37 Merge "scsi: ufs: fix race b/w resume and err_handler" 2020-07-09 01:03:24 -07:00
Prashant Beniwal
228f5b1797 drm/msm: Update UAPI flags for PCC to support L/R configuration
Add mask to fetch number of PCC configs from UAPI flags

Change-Id: Iaaa10474fd32053241411d76229e1431aa657c85
Signed-off-by: Prashant Beniwal <pbeniw@codeaurora.org>
2020-07-09 00:59:17 -07:00
Gaurav Kohli
fa47f10173 binder: fix braces warning in binderfs
Add braces to avoid compile time warning of
missing braces.

Change-Id: I9e9e26bfcf7cdb7ea24a8530989ff4480b6eb757
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2020-07-09 12:56:54 +05:30
Sharath Chandra Vurukala
8d9841dc6c config: enable VETH support for kona
enable support for VETH on kona

Change-Id: I691887208a26cf86274dfdbb2ac3c7db6a7b0f3b
Signed-off-by: Sharath Chandra Vurukala <sharathv@codeaurora.org>
2020-07-08 23:16:13 -07:00
qctecmdr
5200784e33 Merge "clk: qcom: Add the clock controllers DT support for SDM660" 2020-07-08 20:57:00 -07:00
qctecmdr
319d672fd6 Merge "defconfig: sdm: Enable PMIC related configs for SDM660" 2020-07-08 20:57:00 -07:00
qctecmdr
c8bd325950 Merge "regulator: add snapshot of cpr3-regulator and dependent drivers" 2020-07-08 20:57:00 -07:00
qctecmdr
095d3145d8 Merge "dwc3: Remove check for HWO flag in dwc3_gadget_ep_reclaim_trb_sg()" 2020-07-08 20:57:00 -07:00
qctecmdr
51a41c6e69 Merge "defconfig: msm: Enable FS related configs for Android R" 2020-07-08 20:56:59 -07:00
qctecmdr
7b1dc6d058 Merge "diag: Initialize per proc hdlc status flag when switching modes" 2020-07-08 20:56:59 -07:00
qctecmdr
47cd50492c Merge "serail: msm_geni_serial: Stop TX Engine during port close" 2020-07-08 20:56:59 -07:00